1. 13 May, 2019 8 commits
  2. 12 May, 2019 8 commits
  3. 11 May, 2019 2 commits
    • Mauro Aranda's avatar
      Use characters, not symbols for table-cell-bindings · 40b3dcb7
      Mauro Aranda authored
      * lisp/textmodes/table.el (table-cell-bindings): Add missing '?', to
      avoid confusion between symbols and characters in bindings.  (Bug#35533)
    • Mark Oteiza's avatar
      Generate some repetitive WordStar code with macros · cc67d6ef
      Mark Oteiza authored
      * lisp/obsolete/ws-mode.el (ws-set-marker-0, ws-set-marker-1):
      (ws-set-marker-2, ws-set-marker-3, ws-set-marker-4, ws-set-marker-5):
      (ws-set-marker-6, ws-set-marker-7, ws-set-marker-8, ws-set-marker-9):
      (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3):
      (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7):
      (ws-find-marker-8, ws-find-marker-9): Remove.
      (ws-set-marker, ws-find-marker): New macros.  Use them.
  4. 10 May, 2019 7 commits
    • Alexander Gramiak's avatar
      Convert Free_Pixmap macro into terminal hook · 616ce44a
      Alexander Gramiak authored
      * src/termhooks.h (terminal) [HAVE_WINDOW_SYSTEM]: New terminal hook
      * src/image.c: Replace Free_Pixmap with free_pixmap.
      * src/msdos.h (FRAME_X_DISPLAY):
      * src/nsgui.h (Display):
      * src/w32term.h (FRAME_X_DISPLAY): Remove unused X-compatibility
      macros and typedefs.
      * src/nsterm.m:
      * src/w32term.c:
      * src/xterm.c: Implement and set free_pixmap hook.
    • Alexander Gramiak's avatar
      Remove display member of glyph_string · 6bfc5fc6
      Alexander Gramiak authored
      This member has little value even on X, and it leaks internal backend
      details to the glyph_string struct.
      * src/dispextern.h (glyph_string): Remove X display member.
      * src/xdisp.c (init_glyph_string): Remove initialization of display.
      * src/xfont.c (xfont_draw):
      * src/xterm.c: Use FRAME_X_DISPLAY (s->f) instead of display member.
    • Stefan Monnier's avatar
      * lisp/help.el (help--read-key-sequence): Handle `switch-frame' events · 65563480
      Stefan Monnier authored
      If you do `C-h k ... mouse-1 in other frame` (at least if you have a focus
      that follows the mouse), then additionally to the down-mouse-1 and mouse-1
      events, a `switch-frame` event (and `select-window` event as well sometimes)
      is generated.  When `read-key-sequence` is called with nil for
      `can-return-switch-frame`, this event is not returned but kept for later,
      which causes a subsequent `sit-for` to return nil immediately.
      This interfered without our "wait for double-click" which in turn prevented
      us from stopping after the mouse-1 click, getting stuck waiting for something
      else instead.
      (help--read-key-sequence): Pass a non-nil `can-return-switch-frame`, so the
      subsequent `sit-for` returns more trustworthy information.
    • Michael Albinus's avatar
      Handle subdomains in Tramp ad-hoc proxies · e8709e79
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-compute-multi-hops): Add proper
      regexps to `tramp-default-proxies-alist'.
    • Noam Postavsky's avatar
      Stop using message-default-charset (Bug#35370) · 510aa750
      Noam Postavsky authored
      In 2016-02-14 "Remove compat code for older Emacsen",
      message-default-charset was obsoleted, and a couple of uses were
      removed, but others were left behind.
      * lisp/gnus/message.el (message-send-mail)
      (message-send-news, message-do-fcc)
      * lisp/gnus/mml.el (mml-to-mime): Stop using message-default-charset.
    • Alan Mackenzie's avatar
      Optimize CC Mode a bit for repetitive insertion and replace-regexp · 8ce5e37c
      Alan Mackenzie authored
      This is mainly by enhancing a parse-partial-sexp cache to retain recently
      calculated values.  Also, there are several miscellaneous optimizations and
      bug fixes.
      * lisp/progmodes/cc-engine.el (c-state-semi-nonlit-near-cache): New buffer
      local variable.
      (c-state-semi-trim-near-cache, c-state-semi-get-near-cache-entry)
      (c-state-semi-put-near-cache-entry, c-state-semi-trim-cache): New functions.
      (c-state-semi-pp-to-literal, c-state-full-pp-to-literal): Use the new "near"
      (c-parse-ps-state-below): Use the new function c-state-semi-trim-cache.
      (c-before-change-check-<>-operators): Check simply for < or > in the
      neighbourhood before doing more expensive processing.
      (c-maybe-re-mark-raw-string): Give a backward search limit to an operation
      which was needlessly lacking one.
      * lisp/progmodes/cc-mode.el (c-doc-fl-decl-start, c-doc-fl-decl-end): Check a
      certain regexp is valid before performing the (somewhat expensive) actions of
      these functions.
      (c-fl-decl-start): In the search for a C++ lambda capture list, replace (slow)
      calculation of c-parse-state by a (less slow) c-go-up-list-backward.
    • Alan Mackenzie's avatar
      Make uncomment-region remove obtrusive spaces before tabs. · a8d17f35
      Alan Mackenzie authored
      These spaces were typically inserted earlier by comment-region.  This patch
      makes these two complementary functions closer to inverses.
      * lisp/newcomment.el (uncomment-region-default-1): Remove spaces before a tab
      where the comment opener has just been removed.
  5. 09 May, 2019 4 commits
  6. 08 May, 2019 11 commits