1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 01:41:01 -08:00
emacs/doc
Alan Mackenzie b0b02ca7f3 Enhance mode-line percentage offset facility, with "%o" and "%q"
"%o" will display the percentage "travel" of the window through the buffer.
"%q" will display a combination of the percentage offsets of the top and
bottom of the window.  The new user option mode-line-percent-position will
facilitate selecting a setting for this part of the mode line.

* lisp/bindings.el (mode-line-percent-position): New customizable user option.
(mode-line-position): Use mode-line-percent-position in place of "%p", etc.

* src/xdisp.c (decode_mode_spec): Add handlers for "%o" and "%q".

* doc/lispref/modes.texi (Mode Line Variables): Document
mode-line-percent-position.
(%-Constructs): Document %o and %q.

* etc/NEWS: Add an entry for these new facilities.
2017-05-21 10:16:09 +00:00
..
emacs Limit integers printed as characters (Bug#16828) 2017-05-19 18:16:38 -04:00
lispintro Allow occur command to operate on the region 2017-02-02 19:13:05 +09:00
lispref Enhance mode-line percentage offset facility, with "%o" and "%q" 2017-05-21 10:16:09 +00:00
man Merge from origin/emacs-25 2017-03-19 12:34:03 -07:00
misc Merge with gnulib, pacifying GCC 7 2017-05-16 10:27:41 -07:00