From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: buff-menu.el changes Date: 17 Dec 2002 10:30:37 +0900 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20021217000015.50ec6208.occitan@esperanto.org> Reply-To: Miles Bader NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1040088714 25328 80.91.224.249 (17 Dec 2002 01:31:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 17 Dec 2002 01:31:54 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18O6aP-0006aG-00 for ; Tue, 17 Dec 2002 02:31:53 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18O6o8-0000XR-00 for ; Tue, 17 Dec 2002 02:46:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18O6aX-0000YX-00 for emacs-devel@quimby.gnus.org; Mon, 16 Dec 2002 20:32:01 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18O6aA-0000VY-00 for emacs-devel@gnu.org; Mon, 16 Dec 2002 20:31:38 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18O6a8-0000Rg-00 for emacs-devel@gnu.org; Mon, 16 Dec 2002 20:31:37 -0500 Original-Received: from tyo201.gate.nec.co.jp ([210.143.35.51]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18O6a6-0000Id-00; Mon, 16 Dec 2002 20:31:35 -0500 Original-Received: from mailgate4.nec.co.jp ([10.7.69.193])gBH1Uqw12461; Tue, 17 Dec 2002 10:30:52 +0900 (JST) Original-Received: from mailsv4.nec.co.jp (mailgate51.nec.co.jp [10.7.69.190]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id gBH1UmT15460; Tue, 17 Dec 2002 10:30:51 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv4.nec.co.jp (8.11.6/3.7W-MAILSV4-NEC) with ESMTP id gBH1Ukq20093; Tue, 17 Dec 2002 10:30:47 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) id gBH1UgB15674; Tue, 17 Dec 2002 10:30:42 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id 027793701; Tue, 17 Dec 2002 10:30:37 +0900 (JST) Original-To: Daniel Pfeiffer System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <20021217000015.50ec6208.occitan@esperanto.org> Original-Lines: 34 Original-cc: Juanma Barranquero Original-cc: bob@rattlesnake.com X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10186 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10186 Daniel Pfeiffer writes: > Being able to move over intangible text charwise but not linewise sounds > counterintuitive and would seem a 21.3 bug. Almost certainly; the `line-move' function is chock full of special code to deal with intangible characters, which in my experience breaks often, and never _really_ works correctly. I don't really understand the it that well, but I think the problem often involves hidden newline characters. If anyone's interested, here's a simple test-case that illustrates the problem: (with-current-buffer (get-buffer-create "*test*") (insert "1: hello\n") (insert (propertize "2: cruel\n" 'invisible t 'intangible t)) (insert "3: world\n") (insert "4:\n")) After evaluating that, go to the *test* buffer, and move around using C-n & C-p. I can see the following bugs: (1) If the cursor is in the first column, you can't move from line "3:" to line "4:" using C-n (but C-p works all the way from the end of the buffer to the beginning). (2) If the cursor is in a different column, C-n seems to work correctly on all lines, but C-p won't move from line "3:" to line "1:" (it seems to work on all other line though). -Miles -- Somebody has to do something, and it's just incredibly pathetic that it has to be us. -- Jerry Garcia