From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Display-based word wrapping Date: Sun, 22 Jun 2008 16:33:48 -0400 Message-ID: <87prq9i503.fsf@stupidchicken.com> References: <87y74x9rfl.fsf@stupidchicken.com> <485EB031.7050502@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214167131 14608 80.91.229.12 (22 Jun 2008 20:38:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Jun 2008 20:38:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Lennart Borgman \(gmail\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 22 22:39:35 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KAWLS-00072j-PS for ged-emacs-devel@m.gmane.org; Sun, 22 Jun 2008 22:39:31 +0200 Original-Received: from localhost ([127.0.0.1]:54901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAWKd-0007MU-Gn for ged-emacs-devel@m.gmane.org; Sun, 22 Jun 2008 16:38:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KAWKZ-0007MN-9L for emacs-devel@gnu.org; Sun, 22 Jun 2008 16:38:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KAWKW-0007Kb-RB for emacs-devel@gnu.org; Sun, 22 Jun 2008 16:38:33 -0400 Original-Received: from [199.232.76.173] (port=44303 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAWKW-0007KY-KO for emacs-devel@gnu.org; Sun, 22 Jun 2008 16:38:32 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:51315) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KAWKW-0000ro-6t for emacs-devel@gnu.org; Sun, 22 Jun 2008 16:38:32 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id AC15C4E490; Sun, 22 Jun 2008 16:33:48 -0400 (EDT) In-Reply-To: <485EB031.7050502@gmail.com> (Lennart Borgman's message of "Sun, 22 Jun 2008 22:04:01 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:99711 Archived-At: "Lennart Borgman (gmail)" writes: > Chong Yidong wrote: >> I have been studying Kim Storm's display-based word wrapping code. I >> believe it's pretty safe, and suitable for inclusion into the Emacs 23 >> release (probably turned off by default). >> >> The original patch included a `wrap-column' variable, but I'd like to >> modify this to use `truncate-lines' instead, as shown below. This would >> mean that word wrap always uses the right window edge as a wrap column. >> Any objections? > > Yes, I would find this quite impractical to not have a > wrap-column'. I do not want to resize windows just to edit text in a > comfortable way. Introducing a wrap-column variable is almost exactly the same as changing the window width, or equivalently the right fringe width. I don't see the advantage in further complicating this part of the code to introduce a new way to do the same thing. It would be easier, for example, to introduce a separate patch that automatically adjusts the right fringe so that the editable area has a certain width. > (Wouldn't it also make it impossible to use the "darkroom" editing > some people have suggested?) I don't know what this is about.