Skip to content

ikirill/propfont-mixed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

propfont-mixed

Enable use of variable-width fonts for displaying symbols, in a way that does not conflict with fixed-width-space-based indentation.

Screenshot

Here is an example: it is a C-file in emacs source, which uses mixed space/tab indentation. Short words, special symbols, and those words that are judged to be anchors for other lines' indentation are displayed with the default font, other words are displayed with the variable-width font. Note that the indentation looks correct, unlike what it would be if I enabled the variable-pitch-mode instead.

Screenshot example

Notes

  • Customize propfont-mixed-inhibit-regexes to forbid some symbols from being shown with proportional fonts. See also propfont-mixed-inhibit-function, and propfont-mixed-inhibit-faces.

  • It is probably necessary to adjust the face variable-pitch, so that the proportional font looks good and is the correct size.

About

Use proportional fonts with space-based indentation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published