From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: invisible Date: Fri, 30 Nov 2007 13:59:24 -0500 Message-ID: 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> <4750463D.4000504@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196449189 9167 80.91.229.12 (30 Nov 2007 18:59:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Nov 2007 18:59:49 +0000 (UTC) Cc: Stephen.Berman@gmx.net, rms@gnu.org, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 30 19:59:56 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 1IyB5c-0007ZE-Aj for ged-emacs-devel@m.gmane.org; Fri, 30 Nov 2007 19:59:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IyB5M-0006j8-Aq for ged-emacs-devel@m.gmane.org; Fri, 30 Nov 2007 13:59:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IyB5H-0006ec-GA for emacs-devel@gnu.org; Fri, 30 Nov 2007 13:59:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IyB5F-0006dO-TA for emacs-devel@gnu.org; Fri, 30 Nov 2007 13:59:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IyB5F-0006dL-OM for emacs-devel@gnu.org; Fri, 30 Nov 2007 13:59:29 -0500 Original-Received: from bc.sympatico.ca ([209.226.175.184] helo=tomts22-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IyB5C-0002d6-Bb; Fri, 30 Nov 2007 13:59:26 -0500 Original-Received: from toip6.srvr.bell.ca ([209.226.175.125]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20071130185925.SUHS18413.tomts22-srv.bellnexxia.net@toip6.srvr.bell.ca>; Fri, 30 Nov 2007 13:59:25 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FAMvrT0dGN4zh/2dsb2JhbACBWw Original-Received: from bas1-montreal42-1178045665.dsl.bell.ca (HELO pastel.home) ([70.55.140.225]) by toip6.srvr.bell.ca with ESMTP; 30 Nov 2007 13:57:14 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id BBA997F61; Fri, 30 Nov 2007 13:59:24 -0500 (EST) In-Reply-To: <4750463D.4000504@gmx.at> (martin rudalics's message of "Fri, 30 Nov 2007 18:19:57 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 8 (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:84373 Archived-At: >> Hmm... I didn't notice that part. But then do they also appear with >> a line-move-ignore-invisible set to nil and a disable-point-adjustment >> set to t? I would guess not (this case being trivial). >> >> If so, maybe the solution is to do as I suggested: get rid of >> line-move-ignore-invisible and use (not disable-point-adjustment) in >> its place. > FWIW, the following seems to work: Disable point-adjustment in > interactive use of `next-line' and `previous-line' and apply one of my > earlier proposed changes. So IIUC replacing line-move-ignore-invisible with (not global-disable-point-adjustment) would solve the problem as well, right? > ! (unless line-move-ignore-invisible > ! ;; Interactively, disable point-adjustment when > ! ;; `line-move-ignore-invisible' is nil. > ! (setq disable-point-adjustment t)) Why not put this directly inside `line-move' so it's not duplicated? Stefan