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 18:24:42 -0400 Message-ID: <873an52jmd.fsf@stupidchicken.com> References: <87y74x9rfl.fsf@stupidchicken.com> <485EB031.7050502@gmail.com> <87prq9i503.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214173506 31441 80.91.229.12 (22 Jun 2008 22:25:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Jun 2008 22:25:06 +0000 (UTC) Cc: "Lennart Borgman \(gmail\)" , emacs-devel@gnu.org To: David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 23 00:25:50 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 1KAY0L-0007fC-8z for ged-emacs-devel@m.gmane.org; Mon, 23 Jun 2008 00:25:49 +0200 Original-Received: from localhost ([127.0.0.1]:38192 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAXzV-0004AP-Vi for ged-emacs-devel@m.gmane.org; Sun, 22 Jun 2008 18:24:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KAXzJ-00041y-Ju for emacs-devel@gnu.org; Sun, 22 Jun 2008 18:24:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KAXzH-00040e-ST for emacs-devel@gnu.org; Sun, 22 Jun 2008 18:24:45 -0400 Original-Received: from [199.232.76.173] (port=34062 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAXzH-00040W-O3 for emacs-devel@gnu.org; Sun, 22 Jun 2008 18:24:43 -0400 Original-Received: from c-24-63-201-57.hsd1.ma.comcast.net ([24.63.201.57]:10318 helo=furry) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KAXzH-0006XX-HT for emacs-devel@gnu.org; Sun, 22 Jun 2008 18:24:43 -0400 Original-Received: by furry (Postfix, from userid 1000) id 84B12C054; Sun, 22 Jun 2008 18:24:42 -0400 (EDT) In-Reply-To: (David Reitter's message of "Sun, 22 Jun 2008 23:08:07 +0100") 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:99730 Archived-At: David Reitter writes: > On 22 Jun 2008, at 21:33, Chong Yidong wrote: >>> >>> 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. > > How does the specification of a wrap column work with variable-width > fonts? In the current patch that I'm working with, the wrap occurs at the window edge, calculated using pixel positions. So it DTRT with respect to variable-width fonts. If a wrap-column is introduced, it will probably specify a number of pixels equal to N standard-width columns.