[OS X Emacs] Word Wrap at 70
ealdrov at math.fsu.edu
Thu Oct 16 21:43:17 EDT 2014
On Oct 16, 2014, at 3:00 AM, Paul Rankin <hello at paulwrankin.com> wrote:
> Ettore Aldrovandi <ealdrov at mail.math.fsu.edu> writes:
>> On Oct 15, 2014, at 1:02 AM, Paul Rankin <hello at paulwrankin.com> wrote:
>>> Check out a little minor mode I made called Olivetti, which does
>>> exactly this (using visual-line-mode, not hard-wrapping). It's
>>> available through MELPA or here: https://github.com/rnkn/olivetti
>>> Here is a screenshot of a major mode Fountain Mode using Olivetti:
>> Very nice! Thanks for posting.
>> Is there a way to change the line width within the session, without
>> customizing olivetti-body-width?
> There is M-: (setq olivetti-body-width N), which has the same effect,
> but I guess you mean that you've set `olivetti-body-width' and it
> appears to have no effect, in which case you need to trigger
> `window-configuration-change-hook' by changing or resizing the window
> somehow. Even just switching away to another buffer and back will
> trigger this, or you could run
> (run-hooks 'window-configuration-change-hook)
> Or, if you mean something that gives a +/- increment akin to `C-x }', no
> sorry, but good suggestion.
Well, yes, now that you mention it the latter would be great, but the first suggestion is what I was after. Very nice mode to work with.
More information about the MacOSX-Emacs