From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: invisible Date: Sat, 24 Nov 2007 20:50:35 +0100 Message-ID: <87k5o7mnhw.fsf@escher.local.home> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1195933890 8158 80.91.229.12 (24 Nov 2007 19:51:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Nov 2007 19:51:30 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 24 20:51:37 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 1Iw12N-00032B-Np for ged-emacs-devel@m.gmane.org; Sat, 24 Nov 2007 20:51:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iw129-00024q-45 for ged-emacs-devel@m.gmane.org; Sat, 24 Nov 2007 14:51:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iw125-00020g-98 for emacs-devel@gnu.org; Sat, 24 Nov 2007 14:51:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iw120-0001p0-KA for emacs-devel@gnu.org; Sat, 24 Nov 2007 14:51:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iw120-0001oU-3v for emacs-devel@gnu.org; Sat, 24 Nov 2007 14:51:12 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Iw11z-00009T-EL for emacs-devel@gnu.org; Sat, 24 Nov 2007 14:51:11 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Iw11g-0002w6-DT for emacs-devel@gnu.org; Sat, 24 Nov 2007 19:50:52 +0000 Original-Received: from i5387d9a1.versanet.de ([83.135.217.161]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 24 Nov 2007 19:50:52 +0000 Original-Received: from Stephen.Berman by i5387d9a1.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 24 Nov 2007 19:50:52 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: i5387d9a1.versanet.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) 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:84070 gmane.emacs.pretest.bugs:20362 Archived-At: On Sat, 24 Nov 2007 10:33:28 +0100 martin rudalics wrote: >> So why does (interactive) have this effect? > > I don't know. I'd have to gdb set_point_both to find out but doing so > is awkward here. Maybe you could give it a try. I could imagine that > invisibility and intangibility properties get mixed up. On the other > hand it might be simply TRT to do for redisplay after an interactive > command. Miles and Stefan used to work on this but I'm afraid they > won't tell us ... 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. > Meanwhile could you please check my patch for simple.el too? > > (1) With emacs -Q visit my txt file, evaluate the second progn, move the > cursor after "line7" and try to do C-p repeatedly. On my system point > gets stuck after "line5". Setting `track-eol' to t has point get stuck > after "line6". I reproduced these results. (At first I understood "after line7" to mean on the next line and did not get your results. Then I put the cursor on line7 immediately to right of "7" and got your results.) > (2) With emacs -Q visit my txt file, evaluate the second progn, set > `track-eol' to t, move point after "line1", and hit C-n. `point' moves > after "line6" instead of after "line2". I reproduced this as well. > Now please apply my patch and check whether it DTRT in these cases. It DTRT: in case (1) point does not stop moving, in case (2) point moves to the position after line2. Do you think facemenu-set-invisible should set rear-nonsticky to t? Steve Berman