diff options
Diffstat (limited to 'personal')
| -rw-r--r-- | personal/itches/emacs/form-feed.md | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/personal/itches/emacs/form-feed.md b/personal/itches/emacs/form-feed.md index e11c1af..5c8b218 100644 --- a/personal/itches/emacs/form-feed.md +++ b/personal/itches/emacs/form-feed.md @@ -1,9 +1,16 @@ # Better out-of-the-box display for FORM FEED By default, FORM FEED is displayed as a dumb `^L` glyph. This is -surprising considering it shows up in so many places: Emacs source -files, help buffers (e.g. `describe-mode`)… You can even see it in -source files of other GNU projects, like GCC. +surprising considering it shows up in so many places: + +- Emacs source files (C and Elisp), +- help buffers: + - `describe-mode`, + - `describe-bindings`, + - `view-emacs-news`, +- `dired-log`… + +You can even see it in source files of other GNU projects, like GCC. "Pages" are important enough to have their own navigation and narrowing commands, yet their default delimiter is displayed as an @@ -13,10 +20,10 @@ I like the way form feeds are displayed with [`page-break-lines`]; magit's `show-lines` blaming style achieves a similar look. Having this kind of display by default would make it more obvious that -this character serves an actual purpose; as it stands, it looks no -different from some stray CARRIAGE RETURN. +this character has actual navigation semantics; as it stands, it looks +no different from some stray CARRIAGE RETURN. -This could be re-used by e.g.: +This hypothetical thin-line display could be re-used by e.g.: - `describe-symbol`, which uses the following method to visually break up multiple symbol definitions: @@ -31,6 +38,8 @@ This could be re-used by e.g.: - Custom buffers, where sections are delimited visually with a 999-character wide underlined space. +(See [emacs-devel][emacs-devel-thin-line] for a use-case recap.) + Full disclosure : This reflection started because moving over this underlined space with `truncate-lines` on causes the screen to jump horizontally. @@ -40,4 +49,5 @@ Full disclosure default anyway). [`page-break-lines`]: https://github.com/purcell/page-break-lines +[emacs-devel-thin-line]: https://lists.gnu.org/archive/html/emacs-devel/2019-05/msg00268.html [who on Earth]: https://gitlab.com/peniblec/dotfiles/blob/master/.emacs-custom.el |
