From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Garreau\, Alexandre" Newsgroups: gmane.emacs.help Subject: refill paragraph but visually (like visual-line-mode)? Date: Mon, 15 Oct 2018 11:35:50 +0200 Message-ID: <87y3azpn61.fsf@portable.galex-713.eu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1539596059 12476 195.159.176.226 (15 Oct 2018 09:34:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 15 Oct 2018 09:34:19 +0000 (UTC) User-Agent: Gnus (5.13), GNU Emacs 25.1.1 (i686-pc-linux-gnu) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 15 11:34:15 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gBzGQ-00039u-Qu for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Oct 2018 11:34:14 +0200 Original-Received: from localhost ([::1]:51333 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBzIX-0004s7-AC for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Oct 2018 05:36:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBzI3-0004rf-U5 for help-gnu-emacs@gnu.org; Mon, 15 Oct 2018 05:35:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBzI3-000283-2z for help-gnu-emacs@gnu.org; Mon, 15 Oct 2018 05:35:55 -0400 Original-Received: from portable.galex-713.eu ([2a00:5884:8305::1]:47916) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gBzI2-00026H-Oi for help-gnu-emacs@gnu.org; Mon, 15 Oct 2018 05:35:54 -0400 Original-Received: from localhost ([::1] helo=portable.galex-713.eu) by portable.galex-713.eu with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gBzHy-00049o-Mo for help-gnu-emacs@gnu.org; Mon, 15 Oct 2018 11:35:50 +0200 X-GPG-FINGERPRINT: E109 9988 4197 D7CB B0BC 5C23 8DEB 24BA 867D 3F7F X-Accept-Language: fr, en, it, eo X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:5884:8305::1 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118267 Archived-At: 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=E2=80=99d 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=E2=80=99d 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=E2=80=99t there a way to put visual indent too? And last but not least: if the text (usually human text) I=E2=80=99m readin= g 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=E2=80=99d like an option or mode t= hat 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=E2=80=99t this what word-wrap is supposed to stop?) to make text readable.