1. 15 May, 2019 13 commits
    • Stefan Monnier's avatar
    • Mattias Engdegård's avatar
      Add standard unmatchable regexp · 26f735ff
      Mattias Engdegård authored
      Add `regexp-unmatchable' as a standard unmatchable regexp, defined as
      "\\`a\\`".  Use it where such a regexp is needed, replacing slower
      expressions in several places.
      From a suggestion by Philippe Schnoebelen.
      
      * lisp/subr.el (regexp-unmatchable): New defconst.
      * etc/NEWS (Lisp Changes): Mention `regexp-unmatchable'.
      * doc/lispref/searching.texi (Regexp Functions): Document it.
      * lisp/emacs-lisp/regexp-opt.el (regexp-opt)
      * lisp/progmodes/cc-defs.el (cc-conditional-require-after-load)
      (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-fonts.el (c-doc-line-join-re)
      (c-doc-bright-comment-start-re)
      * lisp/progmodes/cc-langs.el (c-populate-syntax-table)
      (c-assignment-op-regexp)
      (c-block-comment-ender-regexp, c-font-lock-comment-end-skip)
      (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-mode.el (c-doc-fl-decl-start, c-doc-fl-decl-end)
      * lisp/progmodes/cc-vars.el (c-noise-macro-with-parens-name-re)
      (c-noise-macro-name-re, c-make-noise-macro-regexps)
      * lisp/progmodes/octave.el (octave-help-mode)
      * lisp/vc/vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-revision-completion-table)
      * lisp/vc/vc-git.el (vc-git-log-view-mode)
      * lisp/vc/vc-hg.el (vc-hg-log-view-mode)
      * lisp/vc/vc-mtn.el (vc-mtn-log-view-mode):
      Use `regexp-unmatchable'.
      * lisp/textmodes/ispell.el (ispell-non-empty-string):
      Use `regexp-unmatchable', fixing a broken never-match regexp.
      26f735ff
    • John Shahid's avatar
      Avoid infinitly looping in tramp-interrupt-process (bug#35506) · d0ebc389
      John Shahid authored
      * lisp/net/tramp.el (tramp-interrupt-process): Remove with-timeout.
      Instead pass a timeout to tramp-accept-process-output.
      tramp-accept-process-output stops timers from running which makes the
      with-timeout ineffective.
      d0ebc389
    • Alan Mackenzie's avatar
      CC Mode: fix indentation in switch statement after "case a(1):". · 356fb18a
      Alan Mackenzie authored
      * lisp/progmodes/cc-engine.el (c-beginning-of-statement-1): Enhance the
      analysis of case labels to handle parenthesised expressions (e.g. macros).
      
      * lisp/progmodes/cc-langs.el (c-nonlabel-nonparen-token-key): New lang const
      and lang var.
      356fb18a
    • Lars Ingebrigtsen's avatar
      Describe error data in url-retrieve better · 8f544c61
      Lars Ingebrigtsen authored
      * lisp/url/url.el (url-retrieve): Describe the error data more in
      depth (bug#25735).
      8f544c61
    • Lars Ingebrigtsen's avatar
      Don't have url-basic-auth bug out when called with an URL string · ceed3d75
      Lars Ingebrigtsen authored
      * lisp/url/url-auth.el (url-basic-auth): Pass the parsed URL
      object to the prompting function instead of the parameter that's
      possibly a string (bug#26708).  Passing url-basic-auth with a
      string parameter would fail if passed a non-parsed URL.
      ceed3d75
    • Lars Ingebrigtsen's avatar
      Fix obscure HTTP chunked parsing problem · 4f1df40d
      Lars Ingebrigtsen authored
      * lisp/url/url-http.el
      (url-http-chunked-encoding-after-change-function): Ensure that we
      parse the entire initial chunked header as the length (bug#35658).
      4f1df40d
    • Lars Ingebrigtsen's avatar
    • Thomas Fitzsimmons's avatar
      Fix url-auth prompts when realm is empty · 4fa6029f
      Thomas Fitzsimmons authored
      * lisp/url/url-auth.el (url-get-authentication): When realm is
      empty, use the entire URL in the prompt (bug#35688).
      4fa6029f
    • Lars Ingebrigtsen's avatar
      Make image scaling work without imagemagick support in eww · e3fbe04c
      Lars Ingebrigtsen authored
      * lisp/net/shr.el (shr-rescale-image): Emacs has native image
      scaling now, so images can be rescaled without imagemagick
      support.
      e3fbe04c
    • Glenn Morris's avatar
      ; Merge from origin/emacs-26 · 4b2c9f63
      Glenn Morris authored
      The following commits were skipped:
      
      cf545776 (origin/emacs-26) Backport: fix broken build on m68k
      202ff53d Handle GNUTLS_E_AGAIN in emacs_gnutls_read (Bug#34341)
      4b2c9f63
    • Glenn Morris's avatar
      Merge from origin/emacs-26 · 5fe9375a
      Glenn Morris authored
      02bee786 Let dir locals for more specific modes override those from less
      b1235f9a Improve documentation of Hexl mode
      32d18132 Fix description of (move-to-column <n> t) when column <n> is ...
      0397b7c7 ; Fix smtpmail-stream-type docstring
      7dab3ee7 Recognize single quote attribute values in nxml and sgml (Bug...
      e4cde426 Disable extra display of &#10; in nxml-mode (Bug#32897)
      ca14dd1d Fix nxml-get-inside (Bug#32003)
      e7ab351c Fix positioning client buffer as instructed by emacsclient
      
      # Conflicts:
      #	lisp/files.el
      #	lisp/textmodes/sgml-mode.el
      5fe9375a
    • Glenn Morris's avatar
      ; Merge from origin/emacs-26 · 0f63e176
      Glenn Morris authored
      The following commit was skipped:
      
      916510b6 * etc/package-keyring.gpg: Add the 2019 key (backport)
      0f63e176
  2. 14 May, 2019 10 commits
  3. 13 May, 2019 11 commits
  4. 12 May, 2019 6 commits
    • Jimmy Aguilar Mena's avatar
    • Xu Chunyang's avatar
      (eww-follow-link): Record the location properly when following #links · fccc3d80
      Xu Chunyang authored
      * lisp/net/eww.el (eww-follow-link): Record the location properly
      when following #links (bug#35445).
      fccc3d80
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/packages.el: Add `all` to package-check-signature · 3c1967db
      Stefan Monnier authored
      (package-check-signature): Add `all` option.
      (package--check-signature-content): Adjust accordingly.
      3c1967db
    • Neil Roberts's avatar
      Let dir locals for more specific modes override those from less · 02bee786
      Neil Roberts authored
      The list of dir local variables to apply is now sorted by the number
      of parent modes of the mode used as the key in the association list.
      That way when the variables are applied in order the variables from
      more specific modes will override those from less specific modes.
      
      If there are directory entries in the list then they are sorted in
      order of name length.  The list of modes for that dir is then
      recursively sorted with the same mechanism.  That way variables tied
      to a particular subdirectory override those in in a parent directory.
      
      Previously the behaviour didn’t seem to be well defined anyway and was
      dependent on the order they appeared in the file.  However this order
      was changed in version 26.1 and it probably also depended on the
      number of dir-local files that are merged.
      
      Bug#33400
      
      * lisp/files.el (dir-locals-get-sort-score, dir-locals-sort-variables)
      (dir-locals-read-from-dir): Sort the dir locals so that more precise
      modes and directory-specific entries have override lesser ones.
      * doc/emacs/custom.texi (Directory Variables): Document the priority.
      02bee786
    • Noam Postavsky's avatar
      Improve printing for named keyboard macros (Bug#35486) · 29531785
      Noam Postavsky authored
      * lisp/macros.el (macros--insert-vector-macro): New function,
      extracted from insert-kbd-macro.
      (insert-kbd-macro): Use it and kmacro-extract-lambda to produce nicer
      expressions for macros produced by kmacro-lambda-form.
      29531785
    • Noam Postavsky's avatar
      Use remapping in ffap-bindings (Bug#35577) · b1cc876b
      Noam Postavsky authored
      * lisp/ffap.el (ffap-bindings): Bind to the [remap COMMAND] instead of
      hardcoding the default keybindings.  This better adapts better if
      non-default are used.  And lets the original keybindings be
      remembered, so that, e.g., \[find-file] in docstrings will still be
      substituted with C-x C-f (even though that binding has been remapped
      to find-file-at-point.
      b1cc876b