1. 04 Jul, 2019 6 commits
    • 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.
  2. 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.
  3. 02 Jul, 2019 18 commits
  4. 01 Jul, 2019 7 commits
    • Michael Albinus's avatar
      Minor changes in tramp.texi · 23d0620f
      Michael Albinus authored
      * doc/misc/tramp.texi (Obtaining Tramp): Mention file INSTALL.
      (Cleanup remote connections): The session timer is also deleted.
    • Eli Zaretskii's avatar
      More XFIXNUM fixes · 0f830340
      Eli Zaretskii authored
      * src/hbfont.c (hbfont_shape): Don't assume LGLYPH_TO is
      always a fixnum.
      * src/fontset.c (fontset_find_font): A cleaner test for
      matching charset_id.
    • Eli Zaretskii's avatar
      Fix assertion violations in fontset_find_font · 50c98fdc
      Eli Zaretskii authored
      * src/fontset.c (fontset_find_font): Don't assume REPERTORY
      must be a fixnum.
    • Eli Zaretskii's avatar
      Adjust return value of image-transforms-p · 6b7136a8
      Eli Zaretskii authored
      * src/image.c (Fimage_transforms_p):
      * doc/lispref/display.texi (Image Descriptors):
      image-transforms-p now returns at most (scale rotate90), even
      if ImageMagick is available.
    • Glenn Morris's avatar
      ; Auto-commit of loaddefs files. · 8d963ba2
      Glenn Morris authored
    • Sam Steingold's avatar
      Extract gnus-collect-urls from gnus-summary-browse-url · db83df1e
      Sam Steingold authored
      * lisp/gnus/gnus-sum.el (gnus-collect-urls): Extract from ...
      (gnus-summary-browse-url): Use it here.
      Extracting URLs from an article will be useful in BBDB interaction.
    • YAMAMOTO Mitsuharu's avatar
      Implement the otf_capability method for HarfBuzz · 6cabb698
      YAMAMOTO Mitsuharu authored
      * src/hbfont.c: Include hb-ot.h.
      [HAVE_NTGUI]: Add DEF_DLL_FN and #define for hb_tag_to_string,
      hb_font_get_face, hb_ot_layout_table_get_script_tags,
      hb_ot_layout_table_get_feature_tags, hb_ot_layout_script_get_language_tags,
      and hb_ot_layout_language_get_feature_tags.
      (hbfont_init_w32_funcs) [HAVE_NTGUI]: Add LOAD_DLL_FN for them.
      (hbfont_otf_features, hbfont_otf_capability): New functions.
      * src/font.h (hbfont_otf_capability) [HAVE_HARFBUZZ]: Add extern.
      * src/ftcrfont.c (syms_of_ftcrfont_for_pdumper) [HAVE_HARFBUZZ]:
      * src/ftfont.c (syms_of_ftfont_for_pdumper) [HAVE_HARFBUZZ]:
      * src/w32uniscribe.c (syms_of_w32uniscribe_for_pdumper) [HAVE_HARFBUZZ]:
      * src/xftfont.c (syms_of_xftfont_for_pdumper) [HAVE_HARFBUZZ]: Populate
      otf_capability method with hbfont_otf_capability.
  5. 30 Jun, 2019 1 commit