1. 06 Jul, 2019 16 commits
    • Paul Eggert's avatar
      Update from Gnulib · 27e727fb
      Paul Eggert authored
      This incorporates:
      2019-07-06 thread, lock, cond, tls: Remove support for Pth threads
      2019-07-02 verify: document ‘assume’ better
      2019-06-30 Include <stdlib.h> when needed
      2019-06-30 inet_ntop, inet_pton: Avoid conflict with native Windows
      * build-aux/config.sub, lib/faccessat.c, lib/fcntl.c, lib/fstatat.c:
      * lib/readlinkat.c, lib/verify.h, m4/pthread_sigmask.m4:
      * m4/sys_socket_h.m4: Copy from Gnulib.
      * lib/gnulib.mk.in: Regenerate.
    • Paul Eggert's avatar
      Fix [[:xdigit:]] glitch on Solaris · 3a1fa9ed
      Paul Eggert authored
      * admin/charsets/mapconv: Revert this [[:xdigit:]] change.
      Solaris 10 ‘sed’ does not support [[:xdigit:]].
    • Drew Adams's avatar
      Tweak point movement in view-echo-area-messages · 372efa6a
      Drew Adams authored
      * lisp/help.el (view-echo-area-messages): Move the point to the
      end of the *Messages* buffer even if it's already displayed
    • Stefan Kangas's avatar
      Remove outdated comment in uniquify.el · 19294c45
      Stefan Kangas authored
      * lisp/uniquify.el: Remove outdated comment regarding some ancient
      version of uniquify.el (bug#36384).
    • Stefan Kangas's avatar
      Improve an error message in bookmark.el · 01aac6c1
      Stefan Kangas authored
      * lisp/bookmark.el (bookmark-alist-from-buffer): Improve error
      message (bug#36391).
    • Basil L. Contovounesios's avatar
      Improve Gnus ephemeral bug group browsing · d7ee1333
      Basil L. Contovounesios authored
      * doc/misc/gnus.texi (Foreign Groups): Update description of
      gnus-read-ephemeral-emacs-bug-group for multiple bug
      IDs (bug#11961).
      * lisp/gnus/gnus-group.el (gnus-bug-group-download-format-alist):
      Use HTTPS for Debian's bug tracker.
      (gnus-group--read-bug-ids): New function for reading multiple bug
      IDs in the minibuffer.  Improves on previous brittle approach of
      word-at-point -> read-string -> string-to-number by a) defaulting to
      the more accurate bug-reference-bug-regexp or number-at-point
      without using the intrusive INITIAL-INPUT argument, and b) not
      attempting to parse bug IDs.
      (gnus-read-ephemeral-bug-group): Use it.  Extend docstring and
      commentary.  Fix handling of multiple bug IDs as either numbers or
      strings.  Hoist some string consing out of inner loop.  Delete
      temporary file even on error.  Throw more informative error when
      url-insert-file-contents successfully returns an error (bug#36433).
      (gnus-read-ephemeral-debian-bug-group): Use gnus-group--read-bug-ids
      and fix docstring for multiple bug IDs.  Accept optional WINDOW-CONF
      like other ephemeral bug group commands.
      (gnus-read-ephemeral-emacs-bug-group): Use gnus-group--read-bug-ids
      and fix string/numeric ID conversions.  Try loading debbugs-gnu
      before testing for debbugs-gnu-summary-mode (bug#36433).
    • Stefan Kangas's avatar
      Add tests for text-property-search to check prop-match-value · cfcaf06f
      Stefan Kangas authored
      * test/lisp/emacs-lisp/text-property-search-tests.el
      (with-match-test): New macro.
      Add test cases to also verify the value of prop-match-value
    • Eli Zaretskii's avatar
      Improve the default value of 'doc-view-ghostscript-program' · 3cb166ad
      Eli Zaretskii authored
      * lisp/doc-view.el (doc-view-ghostscript-program): Make the
      default value dependent on the underlying OS.  (Bug#36357)
    • Stefan Kangas's avatar
      Make "M-x pdb" use "[:graph:]" to match file names · 64684356
      Stefan Kangas authored
      * lisp/progmodes/gud.el (gud-pdb-marker-regexp): Use "[:graph:]" to
      match file name in prompt.  (Bug#34489)
    • Stefan Kangas's avatar
    • Stefan Kangas's avatar
    • Stefan Kangas's avatar
    • Stefan Kangas's avatar
      Prefer progress-reporter to 'message' in bookmark.el · 2aa0b01f
      Stefan Kangas authored
      * lisp/bookmark.el (bookmark-upgrade-file-format-from-0)
      (bookmark-bmenu-execute-deletions): Use progress-reporter.
    • Konstantin Kharlamov's avatar
      Replace manually crafted hex regexes with [:xdigit:] · dfc322d7
      Konstantin Kharlamov authored
      * admin/charsets/mapconv:
      * build-aux/gitlog-to-changelog (parse_amend_file, git_dir_option):
      * lisp/progmodes/verilog-mode.el (verilog-delay-re):
      (verilog-type-font-keywords, verilog-read-always-signals-recurse):
      * lisp/progmodes/vera-mode.el (vera-font-lock-keywords):
      * test/src/emacs-module-tests.el (mod-test-sum-test):
      * lisp/xml.el: (xml--entity-replacement-text):
      * lisp/version.el (emacs-repository-version-git):
      * lisp/textmodes/sgml-mode.el (sgml-quote):
      * lisp/textmodes/css-mode.el (css-escapes-re)
      * lisp/progmodes/prolog.el (prolog-syntax-propertize-function):
      * lisp/progmodes/hideif.el (hif-token-regexp, hif-tokenize):
      * lisp/progmodes/ebnf-dtd.el: (ebnf-dtd-attlistdecl)
      (ebnf-dtd-entitydecl, ebnf-dtd-lex):
      * lisp/progmodes/ebnf-ebx.el (ebnf-ebx-hex-character):
      * lisp/progmodes/ebnf-abn.el (ebnf-abn-character):
      * lisp/progmodes/cperl-mode.el (cperl-highlight-charclass)
      * lisp/progmodes/cc-mode.el (c-maybe-quoted-number-head)
      (c-maybe-quoted-number, c-parse-quotes-before-change)
      (c-parse-quotes-after-change, c-quoted-number-head-before-point)
      * lisp/progmodes/ada-mode.el (featurep, ada-in-numeric-literal-p)
      * lisp/org/org-mobile.el (org-mobile-copy-agenda-files)
      * lisp/org/org-table.el (org-table-number-regexp):
      * lisp/nxml/xsd-regexp.el (xsdre-gen-categories):
      * lisp/nxml/xmltok.el (let*):
      * lisp/nxml/rng-xsd.el (rng-xsd-convert-hex-binary)
      * lisp/nxml/rng-uri.el (rng-uri-file-name-1)
      (rng-uri-unescape-multibyte, rng-uri-unescape-unibyte)
      * lisp/nxml/rng-cmpct.el (rng-c-process-escapes):
      * lisp/nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
      * lisp/net/shr-color.el (shr-color->hexadecimal):
      * lisp/mail/rfc2231.el (rfc2231-decode-encoded-string):
      * lisp/international/mule-cmds.el (read-char-by-name):
      * lisp/htmlfontify.el (hfy-hex-regex):
      * lisp/gnus/nneething.el (nneething-decode-file-name):
      * lisp/gnus/mml-sec.el (mml-secure-find-usable-keys):
      * lisp/gnus/gnus-art.el (gnus-button-mid-or-mail-heuristic-alist):
      * lisp/faces.el (read-color):
      * lisp/epg.el (epg--status-ERRSIG, epg--status-VALIDSIG)
      (epg--status-SIG_CREATED, epg--decode-percent-escape)
      (epg--decode-hexstring, epg--decode-quotedstring)
      * lisp/emulation/cua-rect.el (cua-incr-rectangle):
      * lisp/dnd.el (dnd-unescape-uri):
      * lisp/cedet/semantic/lex.el (semantic-lex-number-expression):
      * lisp/cedet/semantic/java.el (semantic-java-number-regexp):
      * lisp/calc/calc-lang.el (pascal):
      * lisp/calc/calc-ext.el (math-read-number-fancy):
      * lisp/calc/calc-aent.el (math-read-token):
      Replace various combinations of [0-9a-fA-F] with [[:xdigit:]].
    • YAMAMOTO Mitsuharu's avatar
      Add HarfBuzz fallbacks for libotf functions used in ftfont_list · 814b509b
      YAMAMOTO Mitsuharu authored
      * src/ftfont.c [!HAVE_LIBOTF && HAVE_HARFBUZZ]: Include hb-ot.h.
      (OTF, OTF_tag) [!HAVE_LIBOTF && HAVE_HARFBUZZ]: New typedefs.
      (hbotf_open, hbotf_check_features) [!HAVE_LIBOTF && HAVE_HARFBUZZ]: New
      (OTF_open, OTF_close, OTF_check_features) [!HAVE_LIBOTF && HAVE_HARFBUZZ]:
      New macros.
      (ftfont_list) [!HAVE_LIBOTF && HAVE_HARFBUZZ]: Use them.
    • YAMAMOTO Mitsuharu's avatar
      Avoid crash inside CFCharacterSetIsLongCharacterMember · 0e15bd11
      YAMAMOTO Mitsuharu authored
      * src/macfont.m (macfont_supports_charset_and_languages_p)
      (macfont_has_char): Don't pass integers outside the Unicode codespace to
  2. 05 Jul, 2019 1 commit
  3. 04 Jul, 2019 7 commits
    • Juri Linkov's avatar
      * lisp/minibuffer.el (minibuffer-message-properties): New variable. · 44f19964
      Juri Linkov authored
      (minibuffer-message): Use it to propertize message unless already
      propertized by the caller.
      * lisp/simple.el (minibuffer-error-function): Propertize the error.
      * lisp/isearch.el (isearch-message-properties): New variable.
      (isearch--momentary-message, isearch-message-prefix)
      (isearch-message-suffix): Use it.  (Bug#21112)
    • Juri Linkov's avatar
      * lisp/char-fold.el (char-fold-to-regexp): Implement arg LAX (bug#36398). · 19b1cefa
      Juri Linkov authored
      * test/lisp/char-fold-tests.el (char-fold--test-multi-lax): New test.
    • Basil L. Contovounesios's avatar
    • Mattias Engdegård's avatar
      Optimise more inputs to `regexp-opt' (bug#36444) · 3fd74915
      Mattias Engdegård authored
      Use a more precise test to determine whether the input to `regexp-opt'
      is safe to optimise when KEEP-ORDER is non-nil, permitting more inputs
      to be optimised than before.  For example, ("good" "goal" "go") is now
      * lisp/emacs-lisp/regexp-opt.el (regexp-opt):
      More precise test for whether the list is safe w.r.t. KEEP-ORDER.
      (regexp-opt--contains-prefix): Remove.
      * test/lisp/emacs-lisp/regexp-opt-tests.el: Use lexical-binding.
      (regexp-opt-test--permutation, regexp-opt-test--factorial)
      (regexp-opt-test--permutations, regexp-opt-test--match-all)
      (regexp-opt-test--check-perm, regexp-opt-test--explain-perm)
      (regexp-opt-keep-order): Test KEEP-ORDER.
    • Stefan Monnier's avatar
    • Lars Ingebrigtsen's avatar
      In Message, respect Content-Type provided by the user · 138060e3
      Lars Ingebrigtsen authored
      * lisp/gnus/mml.el (mml-parse-1): Respect any Content-Type
      inserted by the user instead of insisting on text/plain.
    • Alan Mackenzie's avatar
      Fix an infinite loop in c-end-of-macro. Should fix bug #36484 · 4bf40029
      Alan Mackenzie authored
      Also fix two faulty regexps, save-match-data, and check c-major-mode-is
      'c++-mode where needed.
      * lis/progmodes/cc-langs.el (c-last-c-comment-end-on-line-re)
      (c-last-open-c-comment-start-on-line-re): Handle repeated *s in regexp
      * lisp/progmodes/cc-engine.el (c-beginning-of-macro, c-end-of-macro): Protect
      the match-data with save-match-data around regexp operations.
      (c-end-of-macro): In the loop handling multiline block comments, check a
      comment actually is multiline.
      * lisp/progmodes/cc-mode.el (c-depropertize-CPP): Only call
      c-depropertize-raw-strings-in-region in C++ Mode.
  4. 03 Jul, 2019 8 commits
    • João Távora's avatar
      Fix Flymake's user-visible accessors of diagnostic positions · 5b48dab4
      João Távora authored
      Diagnostics are supported by overlays, and they can legitimately move
      around.  So flymake-diagnostic-beg and flymake-diagnostic-end must
      look up the overlay positions, not the immutable slots of the
      flymake--diag structure, which become stale.
      * lisp/progmodes/flymake.el (version): Bump to 1.0.8.
      (flymake-diagnostic-beg, flymake-diagnostic-end): Use diag's
      (flymake-show-diagnostic): Use flymake-diagnostic-end,
    • João Távora's avatar
      Fix Flymake's treatment of region-specific reports · 22d99801
      João Távora authored
      We're supposed to delete intersecting diagnostics in that situation,
      but the intersection logic was way off.
      * lisp/progmodes/flymake.el (version): Bump to 1.0.7.
      (flymake--intersects-p): New helper.
      (flymake--handle-report): Fix handling of :region.
    • Eric Abrahamsen's avatar
      Small fix to writing Gnus dribble change-level entries · 619592df
      Eric Abrahamsen authored
      * lisp/gnus/gnus-start.el (gnus-group-change-level): PREVIOUS needs to
        still be a string when the dribble entry is written, so don't
        convert it to an entry until after that's done. Also, we're not
        meant to write PREVIOUS itself, we're meant to write the group that
        comes _after_ it in the sort-order of gnus-group-list, so do that
    • Stefan Kangas's avatar
      Add tests for bookmark.el (Bug#36452) · 22760ab3
      Stefan Kangas authored
      * test/lisp/bookmark-resources/example.txt:
      * test/lisp/bookmark-resources/test.bmk:
      * test/lisp/bookmark-tests.el: New files.
      * lisp/bookmark.el: Minor cleanups.
      (bookmark-insert-annotation): Signal error on invalid bookmark.
      (bookmark-write-file): Add newline at end of file.
    • Eli Zaretskii's avatar
      Fix rotation validity test in image.c · ecd7d40a
      Eli Zaretskii authored
      * src/image.c (compute_image_rotation): Fix the validity test
      for :rotation values.  This avoids logging error messages when
      no :rotation was provided in the image spec.
    • Eli Zaretskii's avatar
      Fix compiler warnings due to a recent commit · b5de191e
      Eli Zaretskii authored
      * src/xdisp.c (expose_window, expose_frame): Avoid compilation
      warnings about printing unsigned values with %d.
    • Michael Albinus's avatar
      Change expected result of a flymake test on emba · 14563dc1
      Michael Albinus authored
      * test/lisp/progmodes/flymake-tests.el (different-diagnostic-types):
      Test is now passing on emba.gnu.org, too.
    • Paul Eggert's avatar
      Replace TRACE with redisplay_trace, etc. · 52d0d4fe
      Paul Eggert authored
      This simplifies callers and catches trace printf format errors
      even with typical (non-debugging) compiles.
      * src/dispextern.h (TRACE) [GLYPH_DEBUG]:
      Move definitions to xdisp.c if it’s used only there.
      * src/xdisp.c (redisplay_trace): New function, replacing TRACE macro.
      (move_trace): New function, replacing TRACE_MOVE macro.
      All uses changed.
      (dump_glyph): When tracing, don’t use %d to format ptrdiff_t,
      or %x to format a pointer.
      (expose_frame): Redo trace printfs to avoid interleaved output
      on GNU/Linux.
  5. 02 Jul, 2019 8 commits