unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* refill paragraph but visually (like visual-line-mode)?
@ 2018-10-15  9:35 Garreau, Alexandre
  2018-10-15 15:21 ` Eli Zaretskii
  2018-10-15 15:56 ` Stefan Monnier
  0 siblings, 2 replies; 17+ messages in thread
From: Garreau, Alexandre @ 2018-10-15  9:35 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

Keeping seeing differently column-filled messages, and noticing
sometimes this occupy too few columns and too much lines while it is
inferior to 66 (the optimum, I read somewhere (some LaTeX doc I
believe)), I’d like to see text filled differently.

The current problem of visual-line mode and why I almost never use is up
to three reasons:

First of all, the text ends wrapped at the right edge of window, even if
that means quite long lines (such as more than 66 columns: 111 is the
default with my default current font), which is more a pain of reading
(eye must move more, stuff to see are more distant from each others).
Oddly I found nor in searching variables/functions nor in documentation
anything to limit automatic visual word-wrapping to something such as
66, 72, or something more comfortable.

In second stance, when reading source code, and this is normally the
case I’d find word-wrap the most useful, the wrap just happens to
continue the logical line from the *beginning* of the next visual line.
So indentation is broken, and it hard to correctly read afterwards.  I
guess this may be complicated to implement, but as emacs auto indent
works most of time, wouldn’t there a way to put visual indent too?

And last but not least: if the text (usually human text) I’m reading is
already wrapped, by fill-paragraph for instance, I end up with pairs of
filled long-lines + very short lines (lines end) which is really ugly:
word-wrap only wraps, but not refill.  I’d like an option or mode that
puts at the end of the visual line the beginning of the next logical
line, just as fill-paragraph do, but only visually, and keeping an
(invisible) trace of the original/logical newlines.  Maybe while filling
at fill-column behind the scenes.  So I stop hitting M-q
(`fill-paragraph') repetedly while word-wrap is on (isn’t this what
word-wrap is supposed to stop?) to make text readable.



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2018-10-20  8:31 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-15  9:35 refill paragraph but visually (like visual-line-mode)? Garreau, Alexandre
2018-10-15 15:21 ` Eli Zaretskii
2018-10-17 10:54   ` Garreau, Alexandre
2018-10-17 15:52     ` Joost Kremers
2018-10-17 16:09       ` Eli Zaretskii
2018-10-17 16:00     ` Eli Zaretskii
2018-10-17 20:53       ` Garreau, Alexandre
2018-10-20  8:31         ` Eli Zaretskii
2018-10-15 15:56 ` Stefan Monnier
2018-10-16  2:26   ` detect sentence/paragraph ending (was: refill paragraph but visually (like visual-line-mode)?) Van L
2018-10-16  2:36   ` refill paragraph but visually (like visual-line-mode)? Stefan Monnier
2018-10-17 11:12     ` Garreau, Alexandre
     [not found]   ` <mailman.2229.1539656812.1284.help-gnu-emacs@gnu.org>
2018-10-16  9:51     ` detect sentence/paragraph ending (was: refill paragraph but visually (like visual-line-mode)?) Emanuel Berg
2018-10-16 10:21       ` tomas
     [not found]       ` <mailman.2239.1539685299.1284.help-gnu-emacs@gnu.org>
2018-10-16 10:31         ` Emanuel Berg
2018-10-16 11:05           ` Van L
2018-10-17  9:55   ` refill paragraph but visually (like visual-line-mode)? Garreau, Alexandre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).