1. 03 Nov, 2017 12 commits
    • Stephen Leake's avatar
    • João Távora's avatar
      Don't resignal errors in flymake-diag-region · c25113d4
      João Távora authored
      * lisp/progmodes/flymake.el (flymake-diag-region): Use
      flymake-log instead of flymake-error.
      c25113d4
    • João Távora's avatar
      New xref-quit-and-goto-xref command bound to TAB (bug#28814) · e950f329
      João Távora authored
      This is like xref-goto-xref, but quits the *xref* window just before
      the user jump to ref.
      
      * lisp/progmodes/xref.el (xref--show-location): Handle 'quit
      value for SELECT.
      (xref-goto-xref): Take optional QUIT arg.
      (xref-quit-and-goto-xref): New command.
      (xref--xref-buffer-mode-map): Bind "Q" and "TAB" to
      xref-quit-and-goto-xref.
      
      * doc/emacs/maintaining.texi (Xref Commands): Describe new bindings in
      *xref*.
      
      * etc/NEWS (Xref): Describe new binding.
      e950f329
    • João Távora's avatar
      Allow split-window-sensibly to split threshold in further edge case · 5d34e1b2
      João Távora authored
      As a fallback, and to avoid creating a frame, split-window-sensibly
      would previously disregard split-height-threshold if the window to be
      split is the frame's root window.
      
      This change generalizes that: it disregards the threshold if the
      window to be split is the frame's only _usable_ window (it is either
      the only one, as before, or all the other windows are dedicated to
      some buffer and thus cannot be touched).
      
      This is required for the fix to bug#28814.
      
      * lisp/window.el (split-height-threshold): Adjust doc to match
      split-window-sensibly.
      (split-window-sensibly): Also disregard threshold if all other
      windows are dedicated.
      5d34e1b2
    • João Távora's avatar
      Honor window-switching intents in xref-find-definitions (bug#28814) · 2a973ede
      João Távora authored
      When there is more than one xref to jump to, and an *xref* window
      appears to help the user choose, the original intent to open a
      definition in another window or frame is remembered when the choice to
      go to or show a reference is finally made.
      
      * lisp/progmodes/xref.el (xref--show-pos-in-buf): Rewrite.
      (xref--original-window-intent): New variable.
      (xref--original-window): Rename from xref--window and move up
      here for clarity.
      (xref--show-pos-in-buf): Rewrite.  Don't take SELECT arg here.
      (xref--show-location): Handle window selection decision here.
      (xref--window): Rename to xref--original-window.
      (xref-show-location-at-point): Don't attempt window management here.
      (xref--show-xrefs): Ensure display-action intent is saved.
      2a973ede
    • Paul Pogonyshev's avatar
    • Stefan Monnier's avatar
      * lisp/progmodes/flymake.el (flymake-start): Fix dead buffer case · caa63cc9
      Stefan Monnier authored
      Don't try to flymake-start within a buffer that doesn't exist any more.
      caa63cc9
    • Basil L. Contovounesios's avatar
      Fix buffer name comparison in async shell-command · 9f4f130b
      Basil L. Contovounesios authored
      * lisp/simple.el (shell-command): Keep track of output-buffer
      by its name, not by its object.  (Bug#28997)
      9f4f130b
    • Paul Eggert's avatar
      Change GCALIGNMENT back to an integer literal · c911b27a
      Paul Eggert authored
      * src/lisp.h (GCALIGNMENT): Change it back to a macro
      that expands to a literal integer constant, for older GCC.
      I had mistakenly thought that only MSVC had the problem.
      Problem repored by Eli Zaretskii (Bug#29040#69).
      c911b27a
    • Paul Eggert's avatar
      a87ce5c4
    • Hong Xu's avatar
      8a31e999
    • Hong Xu's avatar
      Improve the doc of eshell-cmpl-* custom variables (Bug#25069) · ac0bb9a1
      Hong Xu authored
      * lisp/eshell/em-cmpl.el (eshell-cmpl--custom-variable-docstring): New
      function to generate the docstring for custom variables derived from
      pcomplete-* variables.
      (eshell-cmpl-file-ignore, eshell-cmpl-dir-ignore)
      (eshell-cmpl-ignore-case, eshell-cmpl-autolist)
      (eshell-cmpl-suffix-list, eshell-cmpl-recexact)
      (eshell-cmpl-man-function, eshell-cmpl-compare-entry-function)
      (eshell-cmpl-expand-before-complete, eshell-cmpl-cycle-completions)
      (eshell-cmpl-cycle-cutoff-length, eshell-cmpl-restore-window-delay)
      (eshell-command-completion-function, eshell-cmpl-command-name-function)
      (eshell-default-completion-function, eshell-cmpl-use-paring): Use it
      to set the docstring.
      ac0bb9a1
  2. 02 Nov, 2017 11 commits
  3. 01 Nov, 2017 4 commits
  4. 31 Oct, 2017 4 commits
  5. 30 Oct, 2017 6 commits
  6. 29 Oct, 2017 3 commits