1. 23 Sep, 2019 3 commits
    • Paul Eggert's avatar
      Update from Gnulib · 78669517
      Paul Eggert authored
      This incorporates:
      2019-09-22 Update some URLs
      2019-09-15 fcntl-h: fix compilation error of creat.c on MSVC
      2019-09-15 creat: new module
      2019-09-15 access: new module
      2019-09-09 Add option to assume best, not worst, when cross-compiling.
      * build-aux/config.guess, build-aux/config.sub, doc/misc/texinfo.tex:
      * lib/careadlinkat.c, lib/careadlinkat.h, lib/count-leading-zeros.h:
      * lib/count-trailing-zeros.h, lib/diffseq.h, lib/fcntl.in.h:
      * lib/ftoastr.c, lib/get-permissions.c:
      * lib/ieee754.in.h, lib/inttypes.in.h, lib/mktime.c, lib/open.c:
      * lib/pathmax.h, lib/pipe2.c, lib/stddef.in.h, lib/stdint.in.h:
      * lib/stdlib.in.h, lib/str-two-way.h, lib/string.in.h, lib/time.in.h:
      * lib/timegm.c, lib/unistd.in.h, m4/canonicalize.m4:
      * m4/extern-inline.m4, m4/fcntl_h.m4, m4/fdopendir.m4:
      * m4/getgroups.m4, m4/getopt.m4, m4/gettimeofday.m4:
      * m4/gnulib-common.m4, m4/largefile.m4:
      * m4/lstat.m4, m4/memmem.m4, m4/mktime.m4, m4/nocrash.m4, m4/open.m4:
      * m4/pselect.m4, m4/putenv.m4, m4/readlink.m4, m4/regex.m4:
      * m4/symlink.m4, m4/unistd_h.m4, m4/utimens.m4, m4/utimes.m4:
      Copy from Gnulib.
      * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
      * m4/open-slash.m4: New file, copied from Gnulib.
    • Stephen Gildea's avatar
      Expand time-stamp unit tests to cover all formatting options · a33cda16
      Stephen Gildea authored
      * time-stamp-tests.el: Expand unit tests to cover all formatting options.
      These tests validate time-stamp-pattern formatting that has existed
      since at least Emacs 22 (released in 2007).  The tests cover both
      documented behavior and behavior implemented to support future migrations.
      * time-stamp.el (time-stamp-string): Add a second argument (TIME) to
      open a testing seam.  Have the unit tests call this public function.
      * time-stamp.el (time-stamp-string, time-stamp-string-preprocess):
      Remove the second pass through time-string--format.  (Previously both
      functions called it.)  It was used only to handle "%", but this is now
      handled by having time-stamp-string-preprocess not double it.
      Not doubling the "%" in time-stamp-string-preprocess fixes the padding
      of "%2%", which was discovered by the new unit tests to be wrong.
    • Lars Ingebrigtsen's avatar
      Clarify `debug' doc string · 4eac64fc
      Lars Ingebrigtsen authored
      * lisp/emacs-lisp/debug.el (debug): Mention that inhibit-redisplay
      will inhibit the function.
  2. 22 Sep, 2019 17 commits
  3. 21 Sep, 2019 19 commits
    • Stefan Kangas's avatar
    • Juri Linkov's avatar
      Support rectangular regions in capitalize-region and capitalize-dwim. · 2879c3ec
      Juri Linkov authored
      * lisp/simple.el (capitalize-dwim): Add arg region-noncontiguous-p
      in capitalize-region call.
      * src/casefiddle.c (Fcapitalize_region): Add arg region-noncontiguous-p.
      If non-nil, operate on multiple chunks.  (Bug#37477)
      (Fdowncase_region): Use builtin symbol Qregion_extract_function
      rather than calling intern.
    • Eric Abrahamsen's avatar
      Use eieio-object-p, not obsolete object-p · a3421635
      Eric Abrahamsen authored
      Continued fixes for a81223ae
      * lisp/gnus/gnus-registry.el (gnus-registry-article-marks-to-names,
        gnus-registry-article-marks-to-chars): object-p is obsolete.
    • Stefan Kangas's avatar
      Several doc fixes in package.el · b86bc62c
      Stefan Kangas authored
      * lisp/emacs-lisp/package.el (top-level)
      (package-check-signature, package--from-builtin)
      (package-desc-full-name, package-desc-suffix)
      (package-desc--keywords, package--bi-desc)
      (package-process-define-package, package-archive-base)
      (package-install-from-archive, package-install-from-buffer)
      (package-install-file, package-autoremove, describe-package-1)
      (package-install-button-action, package-delete-button-action)
      (package-keyword-button-action, package-make-button)
      (package--print-email-button, package-list-unversioned)
      (package--emacs-version-list, package-menu-toggle-hiding)
      (package-hidden-regexps, package-menu-hide-package)
      (package-menu-get-status, package-menu--find-upgrades)
      (package-menu--post-refresh): Doc fixes.  (Bug#37410)
    • Paul Eggert's avatar
      Revert too-picky file-access tests · d49d6ea9
      Paul Eggert authored
      Problem reported by Andreas Schwab (Bug#37475).
      * doc/lispref/files.texi (Writing to Files)
      (Testing Accessibility, Kinds of Files):
      Document that accessibility and file-type predicates return nil
      if there is trouble determining accessibility or type.
      * etc/NEWS: Adjust, and list the affected primitives.
      * src/callproc.c (init_callproc): Go back to Ffile_exists_p.
      * src/fileio.c (PICKY_EACCES, file_test_errno):
      Remove.  All uses removed.
      (Ffile_name_case_insensitive_p, Ffile_exists_p, Ffile_symlink_p)
      (Ffile_directory_p, Ffile_regular_p): Document that these
      functions return nil if there is trouble.
      (Ffile_name_case_insensitive_p, check_file_access)
      (Ffile_writable_p, Ffile_symlink_p, Ffile_directory_p)
      (Ffile_accessible_directory_p, Ffile_regular_p)
      * src/lread.c (Fload):
      Go back to treating trouble in determining the answer as if the
      file were missing.
      * src/fileio.c (Ffile_newer_than_file_p): Use file_attribute_errno
      not file_test_errno, since returning nil is not appropriate when
      there are two files to test; e.g., in the rare cases where both
      file timestamps have overflowed then neither t nor nil is correct.
    • Eli Zaretskii's avatar
    • Noam Postavsky's avatar
      Remove lisp/erc/ file-local indent-tabs-mode settings · 2f354436
      Noam Postavsky authored
      * lisp/erc/erc-autoaway.el:
      * lisp/erc/erc-backend.el:
      * lisp/erc/erc-button.el:
      * lisp/erc/erc-compat.el:
      * lisp/erc/erc-dcc.el:
      * lisp/erc/erc-fill.el:
      * lisp/erc/erc-ibuffer.el:
      * lisp/erc/erc-identd.el:
      * lisp/erc/erc-imenu.el:
      * lisp/erc/erc-join.el:
      * lisp/erc/erc-list.el:
      * lisp/erc/erc-log.el:
      * lisp/erc/erc-match.el:
      * lisp/erc/erc-menu.el:
      * lisp/erc/erc-netsplit.el:
      * lisp/erc/erc-networks.el:
      * lisp/erc/erc-notify.el:
      * lisp/erc/erc-page.el:
      * lisp/erc/erc-pcomplete.el:
      * lisp/erc/erc-replace.el:
      * lisp/erc/erc-ring.el:
      * lisp/erc/erc-services.el:
      * lisp/erc/erc-sound.el:
      * lisp/erc/erc-speedbar.el:
      * lisp/erc/erc-stamp.el:
      * lisp/erc/erc-track.el:
      * lisp/erc/erc-truncate.el:
      * lisp/erc/erc-xdcc.el:
      * lisp/erc/erc.el: Remove indent-tabs-mode setting, so that we follow
      Emacs' global indent-tabs-mode=nil setting (and much of the
      indentation in these fails is already spaces anyway).  Also remove
      tab-width=8 settings, since those are redundant with the setting in
      the top-level .dir-locals.el.
    • Lars Ingebrigtsen's avatar
      Fix some commentary typos in exif.el · b5afd295
      Lars Ingebrigtsen authored
      * lisp/image/exif.el (exif--parse-exif-chunk)
      (exif--parse-directory): Commentary typo fixes.
    • Lars Ingebrigtsen's avatar
      Add an Exif parsing library · 535b6587
      Lars Ingebrigtsen authored
      * lisp/image/exif.el: New file (bug#23070).
      * test/lisp/image/exif-tests.el: Add some basic tests.
    • Alan Mackenzie's avatar
      CC Mode: Fix wrong fontification of FOO in ASSERT (FOO && !BAR) · 56985dd8
      Alan Mackenzie authored
      * lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't recognize the
      construct in CASE 18, unless additionally at-decl-end is set.
    • Lars Ingebrigtsen's avatar
      Fix two ` characters in NEWS · e9724b55
      Lars Ingebrigtsen authored
    • Lars Ingebrigtsen's avatar
      Hide passwords in .authinfo and .netrc files · 893111f4
      Lars Ingebrigtsen authored
      * lisp/auth-source.el (authinfo-mode): New mode (bug#28785).
      (authinfo--hide-passwords, authinfo--toggle-display): New functions.
      * lisp/files.el (auto-mode-alist): Use authinfo-mode for .authinfo
      and .netrc files.
    • Lars Ingebrigtsen's avatar
      Allow reveal.el to toggle `display' properties · 2c7224f8
      Lars Ingebrigtsen authored
      * lisp/reveal.el (reveal-open-new-overlays): Allow also toggling
      `displa' overlay properties (bug#28785).
    • Eli Zaretskii's avatar
      ; * etc/TODO: Update. · 8147d939
      Eli Zaretskii authored
    • Lars Ingebrigtsen's avatar
      Mention image caching in the `image-size' doc string · c61bfe0a
      Lars Ingebrigtsen authored
      * src/image.c (Fimage_size): Mention that this function caches
      images, and what to do about that (bug#33275).
    • Lars Ingebrigtsen's avatar
      Mention how to listen to all interfaces in make-network-process · 32117543
      Lars Ingebrigtsen authored
      * src/process.c (Fmake_network_process): Mention how to listen to
      all interfaces (bug#34617).
    • Michael Albinus's avatar
    • Eli Zaretskii's avatar
    • Eric Abrahamsen's avatar
      Fix to a81223ae · 87b7c069
      Eric Abrahamsen authored
      * lisp/gnus/gnus-registry.el (gnus-registry-article-marks-to-chars):
        (gnus-registry-article-marks-to-names): The registry is an object,
        not a hash table.
  4. 20 Sep, 2019 1 commit
    • Lars Ingebrigtsen's avatar
      Allow the user to specify Content-type in Message mode · 7828001a
      Lars Ingebrigtsen authored
      * lisp/gnus/message.el (message-encode-message-body): Pass in the
      content type if the user has given one.
      * lisp/gnus/mml.el (mml-parse-1): Remove bogus peek at
      Content-type (there are no headers here)  (bug#36527).
      * lisp/gnus/mml.el (mml-generate-mime): Respect that.