Skip to content
tarsiusPublic

About

Preserve appearance of collapsed outline headings until right window edge

Resources

Contributing

Stars

34 stars

Watchers

2 watching

Forks

Latest commit

 

History

62 Commits

Folders and files

Repository files navigation

Preserve appearance of collapsed outline headings until window edge

An outline heading does not extend to the right edge of the window when its body is collapsed. This is unfortunate when the used face sets the background color or another property that is visible on whitespace. This package adds overlays to extend the appearance of headings all the way to the right window edge.

(use-package backline
  :after outline
  :config (advice-add 'outline-flag-region :after 'backline-update))

The above advice requires that outline-minor-faces-mode (from the outline-minor-faces package) is enabled.

(use-package outline-minor-faces
  :after outline
  :config (add-hook 'outline-minor-mode-hook
                    #'outline-minor-faces-mode))

Do not set outline-minor-mode-highlight (provided by outline since Emacs 28.1) to a non-nil value, because that is incompatible with this package and outline-minor-faces (which is an older and still superior alternative). See outline-minor-faces for details.

Screenshots

Backline and Outline-Minor-Faces

http://readme.emacsair.me/backline-best.png

Outline-Minor-Faces only

http://readme.emacsair.me/backline-better.png

Neither

http://readme.emacsair.me/backline-vanilla.png



Compile MELPA Snapshots MELPA Releases human made

About

Preserve appearance of collapsed outline headings until right window edge

Resources

Contributing

Stars

34 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages