1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 22:11:21 -08:00
emacs/doc
Alan Mackenzie 29d1c72d7c Introduce new value t for compilation-context-lines to eliminate scrolling
In particular, to prevent scrolling in a window lacking a left fringe.
Instead, a visible arrow "=>" is inserted before column zero.  This fixes
bug #36832.

* lisp/progmodes/compile.el (compilation-context-lines): Add the new value t.
(compilation-set-window): Amend to handle compilation-context-lines being t.
(overlay-arrow-overlay): New variable holding an overlay with before-string
property "=>".
(compilation-set-overlay-arrow): New function which manipulates
overlay-arrow-overlay.
(compilation-goto-locus, compilation-find-file): In addition to calling
compilation-set-window, also call compilation-set-overlay-arrow.

* doc/emacs/building.texi (Compilation Mode): Document the new value t which
compilation-context-lines can take.

* etc/NEWS: Add an entry for this change.
2019-08-25 10:21:37 +00:00
..
emacs Introduce new value t for compilation-context-lines to eliminate scrolling 2019-08-25 10:21:37 +00:00
lispintro Don't refer to non-existent functions in mode line examples 2019-08-03 14:59:53 +02:00
lispref Mention new usage of `invalid-read-syntax' in the manual 2019-08-23 20:42:51 +02:00
man Document that --eval makes emacsclient ignore -n 2019-08-02 00:15:13 +02:00
misc * doc/misc/efaq.texi: Note the inclusion year. (Bug#37142) 2019-08-22 17:42:46 +02:00