tip: use window-margin.el for nice word wrap on wide screens

18 views
Skip to first unread message

color.r...@gmail.com

unread,
Jan 10, 2015, 3:45:47 AM1/10/15
to mu-di...@googlegroups.com
When your emacs window is much wider than 72 characters, it can be
nice to word wrap messages that you view more narrowly than the
window width.

Just download and then configure as follows:

    (require 'window-margin)

    (add-hook 'mu4e-view-mode-hook 'turn-on-window-margin-mode)

Just posting in case someone else finds this handy.

Best,
Adam

Joost Kremers

unread,
Jan 19, 2015, 7:35:36 PM1/19/15
to mu-di...@googlegroups.com
I've had some personal code that does pretty much the same thing, though
it handles the fringes in a nicer way, IMHO, and uses `fill-column'
(unless told otherwise):

https://github.com/joostkremers/visual-fill-column

It's on Melpa for easy installation.

--
Joost Kremers
Life has its moments

color.r...@gmail.com

unread,
Jan 26, 2015, 2:12:33 PM1/26/15
to mu-di...@googlegroups.com
What a great package.  Thanks so much, Joost.

Adam
Reply all
Reply to author
Forward
0 new messages