From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: Re: visual-line-mode Date: Tue, 1 Jul 2008 11:10:00 +0200 Message-ID: References: <87zlp4raab.fsf@catnip.gol.com> <87d4lzehq2.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v926) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1214926215 30830 80.91.229.12 (1 Jul 2008 15:30:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Jul 2008 15:30:15 +0000 (UTC) Cc: Emacs-Devel devel , "Lennart Borgman \(gmail\)" , Stefan Monnier , Miles Bader To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 01 17:31:00 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 1KDhom-00013R-Qr for ged-emacs-devel@m.gmane.org; Tue, 01 Jul 2008 17:30:57 +0200 Original-Received: from localhost ([127.0.0.1]:52650 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KDhnw-0002vL-1m for ged-emacs-devel@m.gmane.org; Tue, 01 Jul 2008 11:30:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KDhno-0002tG-2A for emacs-devel@gnu.org; Tue, 01 Jul 2008 11:29:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KDhnl-0002qr-90 for emacs-devel@gnu.org; Tue, 01 Jul 2008 11:29:54 -0400 Original-Received: from [199.232.76.173] (port=45160 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KDhnk-0002qi-UB for emacs-devel@gnu.org; Tue, 01 Jul 2008 11:29:53 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.175]:49606) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KDhnk-00064B-Gn for emacs-devel@gnu.org; Tue, 01 Jul 2008 11:29:52 -0400 Original-Received: by ug-out-1314.google.com with SMTP id l31so507368ugc.48 for ; Tue, 01 Jul 2008 08:29:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=vKkKhwk9xnj50fd5utJDOW784Fjibz2d85mlG7xRhk4=; b=QdssNJnAxzm7THDwA/47bXzFxtwZDBuPqq4YOmKQ1Iz6/OXdbHbi2HsTfIEvgYASXi 79LYuzUIRfTJXwXKj29uYKmDss2fRNwxPF/OdK5vZ4chwzCx1aBoBVPuNIS/0UweF/F7 zxpxBJqCAKbvldOcwh6Kbvw3tEOKZqj2ovpJo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=jCYPCEIsxpUlGs0t58DWet0G+qeMqYUzxhPuKxqLakMsZ86aIxqkLgN4SF+aGP9DW8 KMv4GNtZ9oXFyz3V1zzQp3bozxfIQJxmvKpugsKy7sCQxTcyh2uYacewDm0i6Jb0Es3M XmJZ+zjV+p46POuKfbI0VmiEtQRQcuU2u45qU= Original-Received: by 10.67.116.4 with SMTP id t4mr422110ugm.54.1214926189222; Tue, 01 Jul 2008 08:29:49 -0700 (PDT) Original-Received: from ?10.44.185.221? ( [77.241.238.3]) by mx.google.com with ESMTPS id q40sm3229781ugc.23.2008.07.01.08.29.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 01 Jul 2008 08:29:47 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.926) 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:100271 Archived-At: On 30 Jun 2008, at 12:39, Miles Bader wrote: > Incidentally, I notice that in cases where posn-at-point is returning > bogus values for word-wrapped lines, it looks like it's just ignoring > word-wrap entirely -- the values returned would be correct if word- > wrap > were turned off! The same thing appears to happen with `vertical-motion'. Calling it with point at the first couple of characters of a visual line behaves as if word-wrap wasn't enabled at all. I don't know if that's due to the same bug. That's at least one of the things that prevents visual-line-mode from working with word wrapping. (Tested with a 22 backport of Chong's patch.)