From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: invisible Date: Sat, 24 Nov 2007 23:26:52 +0100 Message-ID: <4748A52C.6090407@gmx.at> References: <20040225.150142.12214540.kazu@iijlab.net> <200402282128.i1SLSuY15359@raven.dms.auburn.edu> <200402290224.i1T2Oip15705@raven.dms.auburn.edu> <87sl3fdqs3.fsf@escher.local.home> <87zlxc5r2f.fsf@escher.local.home> <474059CD.1060107@gmx.at> <87r6ihi1z7.fsf@escher.local.home> <4746E2CF.4010604@gmx.at> <87k5o8q0y5.fsf@escher.local.home> <4747312D.7020605@gmx.at> <87fxywpuuy.fsf@escher.local.home> <47474B8C.9020806@gmx.at> <87bq9kpnqd.fsf@escher.local.home> <4747EFE8.5090405@gmx.at> <87k5o7mnhw.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1195943147 32641 80.91.229.12 (24 Nov 2007 22:25:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Nov 2007 22:25:47 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, emacs-devel@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 24 23:25:54 2007 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 1Iw3Rh-000119-8y for ged-emacs-devel@m.gmane.org; Sat, 24 Nov 2007 23:25:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iw3RS-0000D0-J8 for ged-emacs-devel@m.gmane.org; Sat, 24 Nov 2007 17:25:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iw3RP-0000BL-03 for emacs-devel@gnu.org; Sat, 24 Nov 2007 17:25:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iw3RN-00009n-Bc for emacs-devel@gnu.org; Sat, 24 Nov 2007 17:25:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iw3RN-00009f-97 for emacs-devel@gnu.org; Sat, 24 Nov 2007 17:25:33 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Iw3RM-000600-KW for emacs-devel@gnu.org; Sat, 24 Nov 2007 17:25:32 -0500 Original-Received: (qmail invoked by alias); 24 Nov 2007 22:25:30 -0000 Original-Received: from N939P002.adsl.highway.telekom.at (EHLO [62.47.61.66]) [62.47.61.66] by mail.gmx.net (mp051) with SMTP; 24 Nov 2007 23:25:30 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/iGEdsAc7i5CSeSNc90nn9h266ZDlVTKuk+MBVWq 4awvJdZrKyBlsK User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <87k5o7mnhw.fsf@escher.local.home> X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:84080 gmane.emacs.pretest.bugs:20363 Archived-At: > It seems you have already answered this to your satisfaction; I confess > I still don't get it, but when I have time I'll try gdb and see if that > helps me understand. I was confused. What happens is that when Emacs executes an arbitrary command it adjusts point to assure that it doesn't end up in invisible or intangible text. It does this _in addition_ to point adjustment whenever scanning for a newline. If you really want to debug something you could try to find out why line numbers are not updated correctly. But there's probably an easy explanation for that, maybe some optimization for scrolling quickly. > Do you think facemenu-set-invisible should set rear-nonsticky to t? Probably. There's no use typing text you don't see. The same holds for intangible and read-only text. FWIW, these properties should have an entry in `text-property-default-nonsticky' which would solve the problem in a more general and intuitive fashion.