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: visual-line-mode Date: Thu, 10 Jul 2008 09:55:42 -0400 Message-ID: <87od553ktd.fsf@stupidchicken.com> References: <87zlp4raab.fsf@catnip.gol.com> <87d4lzehq2.fsf@stupidchicken.com> <87skuqbwr8.fsf@stupidchicken.com> <85E9BC5B-7337-4CD4-A783-6B2FAEBAEBCA@gmail.com> <87tzf6c5il.fsf@stupidchicken.com> <87abgxx0ju.fsf@stupidchicken.com> <4D997CA8-A2ED-4E12-9F91-76E98AE95210@gmail.com> <87prpsjhre.fsf@stupidchicken.com> <375C0006-2B47-4B1F-9EB2-ED47941C2DB3@gmail.com> <87od56tp4o.fsf@stupidchicken.com> <71C2D50C-1680-4ADD-A7E3-7B7A1146B85D@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1215698165 3249 80.91.229.12 (10 Jul 2008 13:56:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jul 2008 13:56:05 +0000 (UTC) Cc: Emacs-Devel devel , "Lennart Borgman \(gmail\)" , Stefan Monnier , Miles Bader To: David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 10 15:56:51 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 1KGwdd-0005hz-1K for ged-emacs-devel@m.gmane.org; Thu, 10 Jul 2008 15:56:49 +0200 Original-Received: from localhost ([127.0.0.1]:58424 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KGwcl-0006Ii-Gq for ged-emacs-devel@m.gmane.org; Thu, 10 Jul 2008 09:55:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KGwcg-0006Hn-Cb for emacs-devel@gnu.org; Thu, 10 Jul 2008 09:55:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KGwce-0006HT-Mv for emacs-devel@gnu.org; Thu, 10 Jul 2008 09:55:49 -0400 Original-Received: from [199.232.76.173] (port=41469 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KGwce-0006HH-K0 for emacs-devel@gnu.org; Thu, 10 Jul 2008 09:55:48 -0400 Original-Received: from c-24-63-201-57.hsd1.ma.comcast.net ([24.63.201.57]:12239 helo=furry) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KGwcZ-0002iX-Ry; Thu, 10 Jul 2008 09:55:44 -0400 Original-Received: by furry (Postfix, from userid 1000) id F073BC054; Thu, 10 Jul 2008 09:55:42 -0400 (EDT) In-Reply-To: <71C2D50C-1680-4ADD-A7E3-7B7A1146B85D@gmail.com> (David Reitter's message of "Thu, 10 Jul 2008 08:39:07 -0400") 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:100531 Archived-At: David Reitter writes: >> There's also a problem with posn-x-y, which returns a position too >> far when given coordinates that are to the right of a word-wrapped >> line (i.e. in the blank space). This can also be seen if you just >> click into that space (mouse-set-point). I'll take a look at this problem. > Also, I'd appreciate some assistance from somebody with this: > >> I'm not sure about "fields", perhaps because I don't know much about >> their implementation. Can you point me to a test case? Customize >> buffers perhaps? Basically, if you move point into a new field, line-move tries to put point at the beginning of the field instead of its goal-column. The idea is that when you enter a new field, you want to start inputting text at the beginning of the field instead of its middle. In practice, maybe visual-line-mode probably shouldn't worry about fields. Respecting field boundaries in line-move has led to a ton of complications, to try to DTRT with multi-line fields and non-contiguous fields, just for this one small benefit. > Incidentally: how would one turn on word-wrap for the echo area? Word > wrapping for `message' would be very useful. (It could even be the > default.) This is controlled in xdisp.c. Let's worry about it later.