1. 17 Nov, 2019 8 commits
    • Lars Ingebrigtsen's avatar
      Error out on --with-harfbuzz without HarfBuzz support · 3fdc36ee
      Lars Ingebrigtsen authored
      * configure.ac: Error out if the user says --with-harfbuzz, but
      HarfBuzz isn't available.
      3fdc36ee
    • Lars Ingebrigtsen's avatar
      Handle FC_CHARCELL in xftfont_open · 1c29ba03
      Lars Ingebrigtsen authored
      * src/xftfont.c (xftfont_open): FC_CHARCELL is apparently an alias
      for FC_DUAL used in some east Asian fonts (bug#35079).  Modelled
      after a patch suggested by Kenichi Handa.
      1c29ba03
    • Eli Zaretskii's avatar
      Support more font weight values on MS-Windows · b31f1987
      Eli Zaretskii authored
      * src/w32font.c (w32_to_fc_weight): Support a few more weight
      values, for compatibility with the GTK font selection widget
      (see gtkutil.c:XG_WEIGHT_TO_SYMBOL).  (Bug#24226)
      b31f1987
    • Alan Mackenzie's avatar
      Compilation Mode: Fix arrow handling when compilation-context-lines is t · 7c6335de
      Alan Mackenzie authored
      In particular, fix some exception occurrences, fix handling of a Compilation
      Mode buffer being displayed in several windows, and fix the margin when
      temporarily displaying a different buffer in a window, then returning to the
      compilation mode buffer.  The fix is relevant for frames without fringes,
      e.g. tty frames.
      
      * lisp/progmodes/compile.el: (compilation-set-window): Always set point to
      (parameter) MK.
      (compilation--set-up-margin, compilation--tear-down-margin): New functions.
      (compilation--set-up-arrow-spec-in-margins)
      (compilation--tear-down-arrow-spec-in-margins): Renamed by introducing -- and
      pluralising margin to margins.  Handle the margins in _all_ windows displaying
      the pertinent buffer by using get-buffer-window-list.  In ...--set-up-... add
      compilation--set-up-margin to window-buffer-change-functions.  In
      ...--tear-down-... remove the hook functions added in ...--set-up-....
      7c6335de
    • Lars Ingebrigtsen's avatar
      Make ido-read-file-name respect ido-read-file-name-non-ido more · 58ceb8ba
      Lars Ingebrigtsen authored
      * lisp/ido.el (ido-read-file-name): Respect
      ido-read-file-name-non-ido in the file-directory-p case, too
      (bug#38231).
      58ceb8ba
    • Lars Ingebrigtsen's avatar
      Make tables more resistant to major mode changes · ca3eb854
      Lars Ingebrigtsen authored
      * lisp/textmodes/table.el (table--put-cell-face-property)
      (table--remove-cell-properties): Ensure that we don't lose the
      table face when switching from buffers with font locking to ones
      without (or vice versa) (bug#35481).
      ca3eb854
    • Lars Ingebrigtsen's avatar
      Make bibtex-parse-keys more robust · 9ac8901b
      Lars Ingebrigtsen authored
      * lisp/textmodes/bibtex.el (bibtex-parse-keys): Protect against
      bugging out just when starting almost-empty bibtex files
      (bug#30112).
      9ac8901b
    • Stephen Gildea's avatar
      ; Grammar in simple.el doc strings and comments · 32d1c1fc
      Stephen Gildea authored
      * lisp/simple.el: Improve the English grammar in some doc strings
      and comments.
      32d1c1fc
  2. 16 Nov, 2019 11 commits
  3. 15 Nov, 2019 15 commits
  4. 14 Nov, 2019 6 commits
    • Stefan Monnier's avatar
      * lisp/cedet/semantic/db.el: Use lexical-binding · 6ea1e35f
      Stefan Monnier authored
      Also prefer setf over oset.
      (semanticdb-abstract-table-list): Always define.
      (semanticdb--inhibit-make-directory): Fix name of declaration to match
      name of variable actually used.
      (semanticdb-with-match-any-mode): Use `declare`.  Add Edebug spec.
      (semanticdb-project-roots): Remove redundant :group.
      6ea1e35f
    • Paul Eggert's avatar
      Fix byte-counting error in ‘format’ · c2cd8e62
      Paul Eggert authored
      Problem reported by Paul Pogonyshev (Bug#38191).
      * src/editfns.c (styled_format): When checking for adjacent
      %-sequences, use byte position rather than character position.
      * test/src/editfns-tests.el (format-properties): Test for fix.
      c2cd8e62
    • Paul Eggert's avatar
      In Cairo builds, omit some unnecessary functions · 2241f7ca
      Paul Eggert authored
      * src/font.c (fset_font_data, font_put_frame_data)
      (font_get_frame_data):
      * src/ftfont.c (ftfont_open, ftfont_close)
      (ftfont_encode_char, ftfont_glyph_metrics)
      (ftfont_text_extents, ftfont_driver):
      Define only if USE_CAIRO.
      * src/xdisp.c (tty_handle_tab_bar_click):
      Define only if HAVE_NTGUI && !CYGWIN.
      2241f7ca
    • Dmitry Gutov's avatar
      (repos-count-screen-lines): Narrow without changing point-min · 6a2a371c
      Dmitry Gutov authored
      * lisp/reposition.el (repos-count-screen-lines): Narrow without
      changing point-min.  It wasn't necessary for vertical-motion to
      work, and it had some adverse effects on how font-lock rules were
      applied
      (https://lists.gnu.org/archive/html/emacs-devel/2019-11/msg00522.html).
      This can also be an alternative fix for bug#38049.
      6a2a371c
    • Alan Mackenzie's avatar
      CC Mode: Fix two bugs in the "state cache". · c455e609
      Alan Mackenzie authored
      This (along with a suggestion to the OP to set
      open-paren-in-column-0-is-defun-start to nil) fixes bug #37910.  It may also
      have fixed bug #5490 and bug #18072.
      
      * lisp/progmodes/cc-engine.el (c-state-cache-non-literal-place): Remove thi
      non-sensical function, replacing it with ....
      (c-state-cache-lower-good-pos): New function.
      (c-renarrow-state-cache, c-append-lower-brace-pair-to-state-cache)
      (c-remove-stale-state-cache, c-remove-stale-state-cache-backwards): Instead of
      altering the state-cache list structure with setcar and setcdr, use setq and
      consing.
      (c-parse-state-1): Call c-state-cache-lower-good-pos rather than
      c-state-cache-non-literal-place.
      c455e609
    • Robert Pluim's avatar
      Remove unneeded font_is_ignored prototype · 30e944b6
      Robert Pluim authored
      * src/gtkutil.h: Remove unneeded prototype for font_is_ignored,
      it's in font.h now.
      30e944b6