From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: invisible Date: Thu, 29 Nov 2007 20:55:54 +0100 Message-ID: <474F194A.6030603@gmx.at> References: <20040225.150142.12214540.kazu@iijlab.net> <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> <474A7CF6.8030802@gmx.at> <474B19DB.6030803@gmx.at> <474C65FF.3070403@gmx.at> <474E93EC.9040909@gmx.at> <474EEA83.8060509@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050703040708000006040507" X-Trace: ger.gmane.org 1196366309 21140 80.91.229.12 (29 Nov 2007 19:58:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Nov 2007 19:58:29 +0000 (UTC) Cc: Stephen.Berman@gmx.net, rms@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 29 20:58:36 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 1IxpWc-0007Te-8t for ged-emacs-devel@m.gmane.org; Thu, 29 Nov 2007 20:58:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IxpWN-0008Qf-0Z for ged-emacs-devel@m.gmane.org; Thu, 29 Nov 2007 14:58:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IxpWJ-0008QZ-21 for emacs-devel@gnu.org; Thu, 29 Nov 2007 14:57:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IxpWH-0008QC-JC for emacs-devel@gnu.org; Thu, 29 Nov 2007 14:57:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IxpWH-0008Q4-6G for emacs-devel@gnu.org; Thu, 29 Nov 2007 14:57:57 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IxpWG-0003WC-D6 for emacs-devel@gnu.org; Thu, 29 Nov 2007 14:57:56 -0500 Original-Received: (qmail invoked by alias); 29 Nov 2007 19:57:54 -0000 Original-Received: from N761P031.adsl.highway.telekom.at (EHLO [62.47.39.31]) [62.47.39.31] by mail.gmx.net (mp020) with SMTP; 29 Nov 2007 20:57:54 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+VQDZJCdaVvM4h+ZWZKIBYXs6FKvJ4LyIVK4LOik 1y3NzKXj06YFBZ User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: 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:84318 Archived-At: This is a multi-part message in MIME format. --------------050703040708000006040507 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > SET_PT_BOTH should only pay attention to `invisible' in the case where > there is also `intangible' properties involved. The emphasis is on _should_ I presume. > IIRC you said this > thread was not using intangibility but only invisibility, if so, then > it's a bug in SET_PT_BOTH. Please have a look. I attached a short version of my canonical file. With Emacs -Q put this in scratch, eval the progn, move to the beginning of the third visible line where it says "line7", and type C-p twice. The (forward-line -1) of the second C-p makes the "bug" apparent (although it occurs already in the first C-p). > If you do use intangibility, then indeed all bets are off, and > odd/undesirable results are to be expected (yes, I'm biased). I hope my attachment makes it clear that I don't use intangibility. martin, who fully shares your biases in this regard. --------------050703040708000006040507 Content-Type: text/plain; name="lmiis.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="lmiis.txt" line1 line2 line3 line4 line5 line6 line7 (progn (add-text-properties 12 13 '(invisible t)) (add-text-properties 18 19 '(invisible t)) (add-text-properties 24 25 '(invisible t)) (add-text-properties 30 31 '(invisible t)) (setq line-move-ignore-invisible nil)) --------------050703040708000006040507 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --------------050703040708000006040507--