1. 29 Mar, 2018 2 commits
    • Michael Albinus's avatar
      Fix Bug#30946 · b9340aad
      Michael Albinus authored
      * doc/misc/tramp.texi (Multi-hops): Mention host name checks.
      
      * lisp/net/tramp.el (tramp-set-syntax, tramp-dissect-file-name)
      (tramp-debug-message, tramp-handle-shell-command):
      * lisp/net/tramp-adb.el (tramp-adb-handle-shell-command):
      * lisp/net/tramp-archive.el (tramp-archive-file-name-handler)
      (tramp-archive-dissect-file-name):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
      
      * lisp/net/tramp-compat.el (tramp-compat-user-error): Move defsubst ---
      
      * lisp/net/tramp-sh.el (tramp-compute-multi-hops): Check for proper
      host names in multi-hop.  (Bug#30946)
      
      * lisp/net/tramp.el (tramp-user-error): ... here.  Make it a defun.
      
      * test/lisp/net/tramp-tests.el (tramp-test03-file-name-host-rules):
      New test.
      b9340aad
    • Stefan Monnier's avatar
  2. 28 Mar, 2018 10 commits
    • Paul Eggert's avatar
      Test notify handlers only if file notification · 9ea56457
      Paul Eggert authored
      * test/lisp/files-tests.el:
      (files-file-name-non-special-notify-handlers):
      Skip if file notification is not available.
      9ea56457
    • Paul Eggert's avatar
      Port recent org-clock fix to POSIX time_t · fde99c72
      Paul Eggert authored
      * lisp/org/org-clock.el (org-clock-special-range):
      Don't assume support for time_t values less than 0, or less than
      -2**31 for that matter (Bug#27736).
      fde99c72
    • Paul Eggert's avatar
      Update from Gnulib · e9bfd114
      Paul Eggert authored
      This incorporates:
      2018-03-28 time_rz: fix workaround for Mac OS X 10.6 infloop
      * m4/time_rz.m4: Copy from Gnulib.
      e9bfd114
    • Alan Mackenzie's avatar
      Handle C++17's constexpr keyword in if statements · b61b3c80
      Alan Mackenzie authored
      * lisp/progmodes/cc-engine.el (c-after-conditional): Test for matches to
      c-block-stmt-hangon-key.
      
      * lisp/progmodes/cc-langs.el (c-block-stmt-hangon-kwds): New lang const.
      (c-block-stmt-hangon-key): New lang const/var matching any element of the
      above.
      b61b3c80
    • Alan Mackenzie's avatar
      Replace faulty non-matching regexp "\\<\\>" with "a\\`" · 3ccbe1f4
      Alan Mackenzie authored
      The regexp "\\<\\>", which is supposed never to match, actually matches, for
      instance, where a Chinese character is directly followed by an ASCII letter.
      So, replace it with "a\\`".
      
      * lisp/progmodes/cc-defs.el (cc-fix, c-make-keywords-re)
      * lisp/progmodes/cc-engine.el (c-beginning-of-statement-1)
      (c-forward-<>-arglist-recur, c-forward-decl-or-cast-1)
      (c-looking-at-decl-block)
      * lisp/progmodes/cc-langs.el (c-assignment-op-regexp)
      (c-block-comment-ender-regexp, c-block-comment-start-regexp)
      (c-line-comment-start-regexp, c-doc-comment-start-regexp)
      (c-decl-start-colon-kwd-re, c-type-decl-prefix-key)
      (c-type-decl-operator-prefix-key, c-pre-id-bracelist-key)
      (c-enum-clause-introduction-re, c-nonlabel-token-2-key)
      * lisp/progmodes/cc-vars.el (c-noise-macro-with-parens-name-re)
      (c-make-noise-macro-regexps):
      Replace "\\<\\>" by "a\\`".
      3ccbe1f4
    • Michael Albinus's avatar
      Remove unstable tags in Tramp · c77d9ea0
      Michael Albinus authored
      * test/lisp/net/tramp-tests.el (tramp-test39-utf8)
      (tramp-test39-utf8-with-stat, tramp-test39-utf8-with-perl)
      (tramp-test39-utf8-with-ls): Remove :unstable tag.
      c77d9ea0
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · 7d8234c0
      Glenn Morris authored
      9bff405d (origin/emacs-26) * doc/misc/org.texi (Installation): Fix clo...
      613c9a5c Update Org to v9.1.9
      1b075a9e ; Fix some tiny doc typos
      441fe201 De-obsolete `if-let' and `when-let'
      86960383 * lisp/htmlfontify.el (hfy-begin-span-handler): Doc fix.
      930f7b10 * doc/lispref/functions.texi (Defining Functions): Improve in...
      95ccf50e Fix crash after frame is freed on macOS (bug#30800)
      45d04754 More manual editing
      2acb9f01 Minor manual changes changes
      d481cba2 * lisp/calculator.el (calculator-paste-decimals): Add version.
      7d6c7d0b ; Use GNU not Gnu in docs
      1bc4def8 More proofreading of the Emacs manual
      
      Conflicts:
      	doc/misc/org.texi
      	etc/NEWS
      	lisp/org/org-clock.el
      7d8234c0
    • Michael Albinus's avatar
      Improve tramp--test-utf8 · e6bb5473
      Michael Albinus authored
      * test/lisp/net/tramp-tests.el (tramp--test-check-files):
      Encode string when testing environment variables.
      (tramp--test-utf8): Remove "TaiViet" test.
      e6bb5473
    • Phillip Lord's avatar
      Reduce parallelism to Windows build · 4b3f1a95
      Phillip Lord authored
      * admin/nt/dist-build/build-zips.sh: Reduce make parallelism to 2.
      4b3f1a95
    • Michael Albinus's avatar
  3. 27 Mar, 2018 11 commits
  4. 26 Mar, 2018 10 commits
  5. 25 Mar, 2018 6 commits
    • Aaron Jensen's avatar
      Fix crash after frame is freed on macOS (bug#30800) · 95ccf50e
      Aaron Jensen authored
      * src/nsterm.m (x_free_frame_resources): Clear represented_frame.
      (bug#30800)
      95ccf50e
    • Eric Skoglund's avatar
      Make eshell/kill handle -<signal> and -<SIGNALNAME> (Bug#29156) · 1be6a21f
      Eric Skoglund authored
      * lisp/eshell/esh-proc.el (eshell/kill): Handle the argument parsing
      and numeric conversion in function in order to parse -signal and
      -SIGNALNAME correctly.
      * doc/misc/eshell.texi (kill): Update docs to reflect new function
      behaviour.
      * etc/NEWS: Mention new eshell/kill behaviour.
      1be6a21f
    • Michael Albinus's avatar
      More manual editing · 45d04754
      Michael Albinus authored
      * doc/emacs/basic.texi:
      * doc/emacs/calendar.texi:
      * doc/emacs/display.texi:
      * doc/emacs/mini.texi:
      * doc/emacs/misc.texi:
      * doc/emacs/picture-xtra.texi:
      * doc/misc/info.texi: Prefer <PageDown> and <PageUp> over
      <next> and <prior>.  Add missing @kindex entries.
      
      * doc/emacs/custom.texi (Function Keys): Fix and add missing
      key symbols.
      45d04754
    • Noam Postavsky's avatar
      Allow `&rest' or `&optional' without following variable (Bug#29165) · 1d47d777
      Noam Postavsky authored
      This is sometimes convenient when writing macros, so that the empty
      variable case doesn't need to be handled specially.  Older versions of
      Emacs accepted this in some cases (especially the interpreter in Emacs
      25 and below was very accepting).
      
                                  |   interpreted/compiled   |
      | arglist                   | 25 & earlier | 26  | 27  |
      |---------------------------+--------------+-----+-----|
      | (&rest)                   | y/n          | n/n | y/y |
      | (&rest &rest)             | y/n          | n/n | n/n |
      | (&rest &rest x)           | y/n          | n/n | n/n |
      | (&rest x &rest)           | y/n          | n/n | n/n |
      | (&rest x &rest y)         | y/n          | n/n | n/n |
      |---------------------------+--------------+-----+-----|
      | (&optional)               | y/n          | n/n | y/y |
      | (&optional &optional)     | y/n          | n/n | n/n |
      | (&optional x &optional)   | y/n          | n/n | n/n |
      | (&optional x &optional y) | y/y          | n/n | n/n |
      |---------------------------+--------------+-----+-----|
      | (&optional &rest)         | y/n          | n/n | y/y |
      | (&optional x &rest)       | y/n          | n/n | y/y |
      | (&optional &rest y)       | y/y          | n/n | y/y |
      |---------------------------+--------------+-----+-----|
      | (&rest &optional)         | y/n          | n/n | n/n |
      | (&rest &optional y)       | y/n          | n/n | n/n |
      | (&rest x &optional y)     | y/n          | n/n | n/n |
      
      The values in the table above can be produced with the following code:
      
      (with-current-buffer (get-buffer-create "*ck-args*")
        (erase-buffer)
        (dolist (arglist '((&rest)
                           (&rest &rest)
                           (&rest &rest x)
                           (&rest x &rest)
                           (&rest x &rest y)
                           (&optional)
                           (&optional &optional)
                           (&optional x &optional)
                           (&optional x &optional y)
                           (&optional &rest)
                           (&optional x &rest)
                           (&optional &rest y)
                           (&rest &optional)
                           (&rest &optional y)
                           (&rest x &optional y)))
          (insert
           (format "%c/%c\n"
                   (condition-case err
                       (progn (funcall `(lambda ,arglist 'ok))
                              ?y)
                     (error ?n))
                   (condition-case err
                       (progn (byte-compile-check-lambda-list arglist)
                              ?y)
                     (error ?n))))
          (display-buffer (current-buffer))))
      
      * src/eval.c (funcall_lambda):
      * lisp/emacs-lisp/bytecomp.el (byte-compile-check-lambda-list): Don't
      check for missing variables after `&rest' and `&optional'.
      * test/src/eval-tests.el (eval-tests--bugs-24912-and-24913)
      (eval-tests-accept-empty-optional-rest): Update tests accordingly.
      * etc/NEWS: Update announcement accordingly.
      * doc/lispref/functions.texi (Argument List): Update manual to
      indicate that variable names are optional.
      1d47d777
    • Michael Albinus's avatar
      Minor manual changes changes · 2acb9f01
      Michael Albinus authored
      * doc/emacs/misc.texi (FFAP): Complete commands.
      (Amusements): Add some @cindex entries.  Add "M-x butterfly".
      2acb9f01
    • Vibhav Pant's avatar
      Fix byte-optimize-memq incorrectly optimizing some memq forms. · d73d1384
      Vibhav Pant authored
      * lisp/emacs-lisp/byte-opt.el (byte-optimize-memq): Call
        byte-optimize-and only for memq forms that can be optimized, use
        byte-optimize-predicate to optimize the final form.
      d73d1384
  6. 24 Mar, 2018 1 commit