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: Mon, 26 Nov 2007 20:09:15 +0100 Message-ID: <474B19DB.6030803@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> <474A7CF6.8030802@gmx.at> 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 1196104398 9023 80.91.229.12 (26 Nov 2007 19:13:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Nov 2007 19:13:18 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Stephen Berman , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 26 20:13:24 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 1IwjOW-0005my-7b for ged-emacs-devel@m.gmane.org; Mon, 26 Nov 2007 20:13:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IwjOH-0003tM-2k for ged-emacs-devel@m.gmane.org; Mon, 26 Nov 2007 14:13:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IwjOC-0003rx-O5 for emacs-devel@gnu.org; Mon, 26 Nov 2007 14:13:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IwjO9-0003oA-NO for emacs-devel@gnu.org; Mon, 26 Nov 2007 14:13:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IwjO9-0003nx-GP for emacs-devel@gnu.org; Mon, 26 Nov 2007 14:13:01 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IwjO9-0006mR-5d for emacs-devel@gnu.org; Mon, 26 Nov 2007 14:13:01 -0500 Original-Received: (qmail invoked by alias); 26 Nov 2007 19:12:59 -0000 Original-Received: from N942P018.adsl.highway.telekom.at (EHLO [62.47.61.178]) [62.47.61.178] by mail.gmx.net (mp056) with SMTP; 26 Nov 2007 20:12:59 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18OUBBMFmIOxN/zsiebylXzKT6Ej0i8i/LHxQTpjU QJeNZmruA7lE4/ 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 (newer, 1) 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:84158 gmane.emacs.pretest.bugs:20372 Archived-At: >>Either this option makes sense - then we have to talk about C-n/C-p >>_and_ invisible text - or it doesn't. In the latter case let's remove >>the option and the problem is resolved. > > > It makes sense and we need to keep it. But it interacts with point > adjustment. So try and reproduce the bug first with > disable-point-adjustment so as to eliminate a variable. Both bugs of my test file persist with `global-disable-point-adjustment' non-nil, maybe Stephen can verify that. > [ We could also dispense with the variable and use > disable-point-adjustment for it, but then one wouldn't be able to > disable one without disabling the other which is sometimes inconvenient > while debugging. ] I lost you here. `line-move-ignore-invisible' nil means do not skip invisible newlines and explicitly should affect only C-n and C-p. `disable-point-adjustment' is about a lot of other things as well. >>I never use "those things" hence I don't care about whether these >>qualify as "serious symptoms". > > > You use point-adjustment all the time since it's enabled by default. Yes. But the bug is with `line-move-ignore-invisible' which is by default t and never changed by me. >>*************** >>*** 3940,3948 **** >> This function works only in certain cases, >> because what we really need is for `move-to-column' >> and `current-column' to be able to ignore invisible text." > > > This text seems odd: AFAIK they *do* ignore invisible text. Does it > want to say that they sould ignore the `invisible' text property? Personally I think they should ignore all properties. Moving into invisible text should be handled by point-adjustment. > The docstring of line-move-to-column is too vague: it doesn't say what > it intends to do, really: "considering invisibility" is not much help. > If someone knows what it intends to do, really, maybe we can figure out > how to fix it (probably the best fix will be to change the C code). `line-move-ignore-invisible' per se is vague. What is an invisible line?