1. 22 Sep, 2019 2 commits
  2. 18 Sep, 2019 10 commits
    • Lars Ingebrigtsen's avatar
      Fix up the previous mh-mime warning suppression · 37a4233a
      Lars Ingebrigtsen authored
      * lisp/mh-e/mh-acros.el (mh-dlet*): Suppress warnings about
      prefix-less bindings.
      * lisp/mh-e/mh-mime.el (mh-insert-mime-security-button): Remove
      the warning removal here.
      (mh-insert-mime-button): And here.
    • Eli Zaretskii's avatar
      Improve support of the Tai-Viet script · a39652b4
      Eli Zaretskii authored
      * lisp/language/tai-viet.el ("TaiViet"): Update the doc
      string.  Suggested by Jim Brase <jim_brase@sil.org>.
      * etc/HELLO: Add a Tai Viet entry.
    • Paul Eggert's avatar
      Out-of-datedness .elc check is merely a file test · 9597ee68
      Paul Eggert authored
      * src/fileio.c (file_test_errno): Now extern.
      * src/lread.c (Fload): Use file_test_errno instead,
      since this is really just a file test (the attributes
      are not given to the user).
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Fix the MS-Windows build broken by recent errno changes · 7ff2eef9
      Eli Zaretskii authored
      * src/fileio.c (file_directory_p): If the file exists, but is
      not a directory, set errno to ENOTDIR, like the Posix branch
      does; openp expects that.
    • Michael Albinus's avatar
      Simplify tramp-tests.el check for owncloud/nextcloud · ffcec7cd
      Michael Albinus authored
      * test/lisp/net/tramp-tests.el (tramp-test11-copy-file):
      Simplify check for owncloud/nextcloud connections.
    • Michael Albinus's avatar
      Add extra args for zsh in Tramp · 5ec42d5c
      Michael Albinus authored
      * doc/misc/tramp.texi (Remote shell setup): New subsection
      "Changing the default remote shell".
      * lisp/net/tramp-sh.el (tramp-sh-extra-args): Add entry for zsh.
    • Paul Eggert's avatar
      Be less picky about EACCES in file test predicates · 735940f4
      Paul Eggert authored
      Problem reported by Tino Calancha (Bug#37445) and others.
      * src/fileio.c (PICKY_EACCES): New constant, false by default.
      (file_test_errno): Ignore EACCES if not picky.
      (check_file_access): Investigate EACCES problems further
      if picky.
    • Paul Eggert's avatar
      Fix permission-denied issue in MS-Windows startup · 94ca934a
      Paul Eggert authored
      * src/callproc.c (init_callproc): Use file_access_p rather
      than Ffile_exists_p during startup (Bug#37445).
    • Paul Eggert's avatar
      Improve reporting of I/O, access errors · 9dc306b1
      Paul Eggert authored
      Signal an error for file-oriented errors that are not tame
      errors like ENOENT and ENOTDIR (Bug#37389).
      Do this for primitives exposed to Lisp; the lower
      level internal C API merely makes errno values available
      to higher-level C code.
      * doc/lispref/files.texi (Testing Accessibility)
      (File Attributes, Extended Attributes): Do not say that the
      functions return nil when the return value cannot be determined.
      * etc/NEWS: Mention the change.
      * src/dired.c (Ffile_attributes): Fix doc string confusion
      about opening a file vs getting its attributes.
      (file_attributes): Signal serious errors.
      * src/fileio.c (check_existing, check_executable)
      (check_writable): Remove.  All callers changed to use
      check_file_access or file_access_p.
      (file_access_p, file_metadata_errno, file_attribute_errno)
      (file_test_errno, check_file_access, check_emacs_readlinkat):
      New functions.
      * src/fileio.c (Ffile_executable_p, Ffile_readable_p)
      (Ffile_name_case_insensitive_p, Frename_file, Ffile_exists_p):
      (Ffile_symlink_p, Ffile_directory_p)
      (Ffile_accessible_directory_p, Ffile_regular_p)
      (Ffile_selinux_context, Ffile_acl, Ffile_modes)
      (Ffile_newer_than_file_p, Fset_visited_file_modtime)
      * src/filelock.c (unlock_file, Ffile_locked_p):
      * src/lread.c (Fload):
      Signal serious errors.
      * src/fileio.c (Ffile_writable_p): Remove unnecessary CHECK_STRING.
      (emacs_readlinkat): Now static.
      * src/filelock.c (current_lock_owner, lock_if_free): Return a
      positive errno on error, and the negative of the old old value
      on success.  All callers changed.
      * src/lread.c (openp): Propagate serious errno values to caller.
  3. 17 Sep, 2019 14 commits
    • Jimmy Aguilar Mena's avatar
      Substituted deprecated WebKitGTK+ api. · ae3edf0a
      Jimmy Aguilar Mena authored
      * src/xwidget.c : Substituted WebKitGTK+ API calls and use
      JavaScriptCore GLib API instead.
    • Tino Calancha's avatar
      Fix an assignment to free variable warning · cbc10ec7
      Tino Calancha authored
      It fixes a bug introduced by commit
      'query-replace-regexp undo: Update next-replacement after undo'
      See https://lists.gnu.org/archive/html/emacs-devel/2019-09/msg00364.html
      * lisp/replace.el(perform-replace): Rename variable
      to next-replacement-replaced.
    • Juanma Barranquero's avatar
    • Lars Ingebrigtsen's avatar
      Suppress some warnings about un-prefixed dynamic variables · 57fd3709
      Lars Ingebrigtsen authored
      * lisp/mh-e/mh-mime.el (mh-insert-mime-security-button): Suppress
      warnings about un-prefixed dynamic variables.
      (mh-insert-mime-button): Ditto.
    • Lars Ingebrigtsen's avatar
      Touch up naming of ipv6-expand · 4b73a937
      Lars Ingebrigtsen authored
      * lisp/net/net-utils.el (nslookup--ipv6-expand): Rename to avoid
      make prefix more regular.
      (nslookup-host-ipv6): Rename call.
    • W. Garrett Mitchener's avatar
      Updated to match more recent versions of Praat. · 0e5e816a
      W. Garrett Mitchener authored
      * lisp/leim/quail/ipa-praat.el ("ipa-praat"): Update to match
      more recent versions of Praat (bug#36198).
      - \rh was used for ram's horns (a vowel) and rhoticity hook (a
        diacritic).  Praat uses \hr for the hook, so I made that changed.
      - \e3v for the slightly rounded diacritic seems to have been a typo
        related to the use of e in the example.  Changed it to \3v to match
      - Added examples to the table of tone diacritics
      - Added \^h for superscript h
      - Added \^H for superscript h with hook
      - Added \^w for superscript w (labialization)
      - Added \^j for superscript j (palatalization)
      - Added \^g for superscript symbol (velarization)
      - Added \^9 for superscript symbol (pharyngealization)
    • Lars Ingebrigtsen's avatar
    • Eli Zaretskii's avatar
      Improve font lookup on MS-Windows · 8054935c
      Eli Zaretskii authored
      * src/w32font.c (struct font_callback_data): New member
      (w32font_list_internal, w32font_match_internal): Set up
      match_data.known_fonts if the font spec includes :script that
      names one of the non-USB scripts.
      (add_font_entity_to_list): If font_matches_spec returns zero
      for a font, and we have some fonts in match_data->known_fonts,
      consider the font to be a match if it is named in known_fonts.
      (font_supported_scripts): Update the Unicode Subranges.  In
      particular, map bit 74 to 'burmese', as this is the name Emacs
      uses, not 'myanmar'.  Add a list of scripts that have no USBs
      defined for them.
      (syms_of_w32font) <Qburmese, Qcuneiform_numbers_and_punctuation>
      <Qaegean_number, Qw32_non_USB_fonts>: New symbols.
      * lisp/term/w32-win.el (w32-no-usb-subranges): New defconst.
      (w32--filter-USB-scripts, w32-find-non-USB-fonts): New functions.
      (w32-non-USB-fonts): New defvar.
      * lisp/international/fontset.el (setup-default-fontset): Add
      more scripts to automatic setup by representative characters.
      * doc/emacs/msdos.texi (Windows Fonts): Document
      'w32-find-non-USB-fonts' and 'w32-non-USB-fonts'.
      * etc/NEWS: Mention 'w32-find-non-USB-fonts' and
    • Paul Eggert's avatar
      Pacify GCC -Wmaybe-uninitialized · 01c929bc
      Paul Eggert authored
      * src/dired.c (directory_files_internal):
      Pacify GCC 7.4.0-1ubuntu1~18.04.1 x86-64.
    • Paul Eggert's avatar
      Don’t round file-system-info counts · c108d8ec
      Paul Eggert authored
      * src/fileio.c (blocks_to_bytes): Convert the byte count to an
      integer, since we have bignums now.  This avoids possible rounding
      errors for file systems containing more than 8 PiB or so.
    • Mattias Engdegård's avatar
    • Eli Zaretskii's avatar
      ; * etc/NEWS: Minor copyedits. · e80e037e
      Eli Zaretskii authored
    • Paul Eggert's avatar
      Fix some file-mode races · bc1c2cf0
      Paul Eggert authored
      * lisp/emacs-lisp/autoload.el (autoload-ensure-file-writeable):
      * lisp/files.el (after-find-file):
      * lisp/gnus/gnus-start.el (gnus-dribble-read-file):
      * lisp/htmlfontify.el (hfy-copy-and-fontify-file):
      * lisp/server.el (server-ensure-safe-dir):
      Avoid a race when getting file permissions.
    • Paul Eggert's avatar
      vc-cvs-revert: fix off-by-one file mode · b124cb8f
      Paul Eggert authored
      * lisp/vc/vc-cvs.el (vc-cvs-revert): 3950 (#o7556) is wrong as
      it keeps other-write but disables other-execute permissions.
      3949 (#o7555) was intended here.  Use octal notation for clarity.
  4. 16 Sep, 2019 14 commits