Skip to content

tarsius/backline

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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))

This package should be used together with the outline-minor-faces package. Instead setting the built-in outline-minor-mode-highlight to append also works, but then top-level s-expressions are highlighted as if they were sections, which makes the overview less readable.

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 Stable MELPA