1. 17 May, 2019 1 commit
  2. 16 May, 2019 11 commits
  3. 15 May, 2019 17 commits
    • Noam Postavsky's avatar
      Fix merge of sgml-syntax-propertize-rules · e7e92dc5
      Noam Postavsky authored
      During the merge of emacs-26, the sgml-syntax-propertize-rules part of
      2019-01-17 "* lisp/textmodes/sgml-mode.el: Try and fix bug#33887." got
      lost in the conflict against 2019-05-09 "Recognize single quote
      attribute values in nxml and sgml (Bug#35381)".
      * lisp/textmodes/sgml-mode.el (sgml-syntax-propertize-rules): Reapply
      the 2019-01-17 change to speed up sgml-syntax-propertize-rules, taking
      into account the 2019-05-09 which means we have to handle single
      quotes as well.
    • Anders Lindgren's avatar
      Fix diff-mode face problem when used in terminals (Bug#35695) · 520aca2d
      Anders Lindgren authored
      In a terminal supporting 256 colors, both diff-added and diff-removed
      was mapped to the same greyish color.
      * lisp/vc/diff-mode.el: Modify the colors of diff-removed,
        diff-added, diff-refine-removed, and diff-refine-added when
        used in a 256 color environment.
    • Stefan Monnier's avatar
      * lisp/gnus/gnus-sum.el: Use lexical-binding · c3e83816
      Stefan Monnier authored
      (gnus-summary-make-menu-bar, gnus-summary-display-make-predicate)
      (gnus-summary-refer-thread, gnus-summary-find-matching)
      (gnus-summary-edit-article, gnus-summary-sort):
      Replace backquoted lambda with closure.
      (gnus-summary-article-header): Use define-inline rather than defmacro,
      so it's also a function.
      (gnus-save-hidden-threads, gnus-summary-iterate, gnus-with-article):
      Use `declare`.
      (gnus-thread-sort-by-random): Simplify.
      (gnus-summary-display-article, gnus-summary-limit-to-address):
      Hoist common code outside of `if`.
    • Paul Eggert's avatar
      Tune reading of radix integers · d4868b2b
      Paul Eggert authored
      This improves the performance of (read "%xFF") by about 25%
      on my platform.
      * src/lread.c: Include <vla.h>, so that we can better document
      buffer sizes of arguments.
      (invalid_radix_integer_format, stackbufsize): New constants.
      (free_contents): Remove.  All uses removed.
      (invalid_radix_integer): New function.
      (read_integer): New arg STACKBUF.  Assume radix is in range.
      All uses changed.  Use STACKBUF to avoid calling malloc in the
      usual case.  Use grow_read_buffer to simplify.
      (read1): Tune.  Improve quality of diagnostic when
    • 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)
      * lisp/progmodes/cc-engine.el (c-beginning-of-statement-1)
      (c-forward-<>-arglist-recur, c-forward-decl-or-cast-1)
      * lisp/progmodes/cc-fonts.el (c-doc-line-join-re)
      * lisp/progmodes/cc-langs.el (c-populate-syntax-table)
      (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)
      * 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.
    • 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.
    • 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.
    • 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).
    • 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.
    • 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).
    • 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).
    • 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
    • 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)
    • 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
    • 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)
  4. 14 May, 2019 10 commits
  5. 13 May, 2019 1 commit