emacs-humanities
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emacs-humanities] visual filling?


From: Eli Zaretskii
Subject: Re: [emacs-humanities] visual filling?
Date: Thu, 18 Aug 2022 08:24:48 +0300

> From: M. ‘quintus’ Gülker
>  <post+emacs-humanities@guelker.eu>
> Date: Wed, 17 Aug 2022 22:19:38 +0200
> 
> in Emacs, we have a minor mode called “visual-line-mode”. This mode
> wraps long lines at the window edge visually, but it does not cause
> these purely visual newlines to be written to the file. That is, the
> file on disk retains its long lines and it is only the visual display of
> said file in Emacs which is altered.
> 
> Is there a similar functionality for justifying text?

No, there isn't, not in core anyway.

> I am aware that the “fill-paragraph” function (run by M-q) is available
> and takes a “JUSTIFY” parameter that achieves the described justification
> effect, but this function actually changes the file on disk. What I want
> is to have the effect of “fill-paragraph” with “JUSTIFY” set as a purely
> visual modification in the say way that “visual-line-mode” acts only
> visual. “fill-paragraph” also does not play well with
> “variable-pitch-mode”.

Did you try using use-hard-newlines?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]