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: line-move-ignore-invisible and global-disable-point-adjustment Date: Fri, 04 Jan 2008 14:10:50 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199473869 19492 80.91.229.12 (4 Jan 2008 19:11:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jan 2008 19:11:09 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 04 20:11:28 2008 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 1JArww-0003t3-Cq for ged-emacs-devel@m.gmane.org; Fri, 04 Jan 2008 20:11:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JArwZ-0001Q3-UF for ged-emacs-devel@m.gmane.org; Fri, 04 Jan 2008 14:10:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JArwV-0001PJ-Fv for emacs-devel@gnu.org; Fri, 04 Jan 2008 14:10:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JArwS-0001P7-Uc for emacs-devel@gnu.org; Fri, 04 Jan 2008 14:10:54 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JArwS-0001P4-Q5 for emacs-devel@gnu.org; Fri, 04 Jan 2008 14:10:52 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JArwS-0004Vg-S6 for emacs-devel@gnu.org; Fri, 04 Jan 2008 14:10:52 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CABoTfkfO+K+E/2dsb2JhbACrBw X-IronPort-AV: E=Sophos;i="4.24,246,1196658000"; d="scan'208";a="12286532" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 04 Jan 2008 14:10:51 -0500 Original-Received: from pastel.home ([206.248.175.132]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id KUO27351; Fri, 04 Jan 2008 14:10:51 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id F2DAB7F7C; Fri, 4 Jan 2008 14:10:50 -0500 (EST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:86078 Archived-At: I propose to remove line-move-ignore-invisible and make line-move use (not global-disable-point-adjustment) instead. It is difficult to get line-move working correctly. Recently there have been bugs that only appeared for some combinations of line-move-ignore-invisible and global-disable-point-adjustment, more specifically for the case where both were nil. There has not been any compelling evidence that users would ever want to set both of those to nil or both to t, other than by accident, so by removing those 2 cases we get to eliminate some bugs and also we get to avoid having to figure what actually *means* a combination such as "nil and nil" or "t and t". If we agree that this is a good change, then comes the second part of the discussion which is about how to go about doing it: since the value of the those vars should be the negative of the other, we can't just use defvaralias, so we'll have to declare line-move-ignore-invisible as obsolete but still make it work (more or less) as before. Stefan