From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harald Hanche-Olsen Newsgroups: gmane.emacs.devel Subject: Re: fill length of visual line mode Date: Sat, 04 Oct 2014 11:58:34 +0200 (CEST) Message-ID: <20141004.115834.416226893935804906.hanche@math.ntnu.no> References: <87vbo0ga6i.fsf_-_@kanis.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1412416746 9041 80.91.229.3 (4 Oct 2014 09:59:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Oct 2014 09:59:06 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 04 11:58:57 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XaM75-0004Ql-Qz for ged-emacs-devel@m.gmane.org; Sat, 04 Oct 2014 11:58:55 +0200 Original-Received: from localhost ([::1]:43106 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaM75-0008Ti-IR for ged-emacs-devel@m.gmane.org; Sat, 04 Oct 2014 05:58:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaM6z-0008Tb-6h for emacs-devel@gnu.org; Sat, 04 Oct 2014 05:58:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XaM6u-0008WV-DW for emacs-devel@gnu.org; Sat, 04 Oct 2014 05:58:49 -0400 Original-Received: from hylle06.itea.ntnu.no ([129.241.56.235]:41227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaM6u-0008UN-6n for emacs-devel@gnu.org; Sat, 04 Oct 2014 05:58:44 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by hylle06.itea.ntnu.no (Postfix) with ESMTP id 51F5E671907 for ; Sat, 4 Oct 2014 11:58:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hylle06.itea.ntnu.no Original-Received: from localhost (unknown [IPv6:2001:4662:4ff2:0:7452:a67f:5eb9:92ea]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: hanche) by hylle06.itea.ntnu.no (Postfix) with ESMTPSA id DAB4C6716E7; Sat, 4 Oct 2014 11:58:34 +0200 (CEST) In-Reply-To: X-URL: http://www.math.ntnu.no/~hanche/ X-Mailer: Mew version 6.6 on Emacs 24.4.50 / Mule 6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 129.241.56.235 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:174965 Archived-At: [Stefan Monnier (2014-10-03 21:20:07 UTC)] > I'm not opposed to a patch that would let it obey fill-column > (optionally). But it does beg the question: what if the window is > smaller than fill-column? Should it then fill at the window's edge or > should it continue as if truncate-lines is set? Filling at the window's edge is the only reasonable option, IMO. The behaviour of web browsers was mentioned earlier. But you have the CSS property max-width to modify that. I have =E2=80=93 and frequently us= e =E2=80=93 a bookmarklet that lets me set the max-width property on the body element in order to improve readability. It beats adjusting the browser window itself. Perhaps emacs could have a variable max-fill-column which, when set, could govern visual line mode in this way? If set to t, it would mean use the value of fill-column. Or if set to a number, ignore fill-column and use the number itself. It shouldn't be allowed to override fill-column in the other use cases, though. Perhaps visual-line-max-fill-column would be a better name, if perhaps a bit unwieldy. =E2=80=93 Harald