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: Can we make set_point_both less expensive? Date: Mon, 16 Mar 2015 13:42:54 -0400 Message-ID: References: <5505E34C.4000106@dancol.org> <55064EC8.9010505@dancol.org> <834mpk29mq.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1426527798 23875 80.91.229.3 (16 Mar 2015 17:43:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Mar 2015 17:43:18 +0000 (UTC) Cc: dancol@dancol.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 16 18:43:10 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YXZ2f-0004dw-70 for ged-emacs-devel@m.gmane.org; Mon, 16 Mar 2015 18:43:05 +0100 Original-Received: from localhost ([::1]:50921 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXZ2e-0002so-JS for ged-emacs-devel@m.gmane.org; Mon, 16 Mar 2015 13:43:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXZ2b-0002sZ-5s for emacs-devel@gnu.org; Mon, 16 Mar 2015 13:43:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXZ2W-0000KH-MY for emacs-devel@gnu.org; Mon, 16 Mar 2015 13:43:01 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:60175) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXZ2W-0000J1-HT; Mon, 16 Mar 2015 13:42:56 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t2GHgsXN016103; Mon, 16 Mar 2015 13:42:54 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 06A9B6615C; Mon, 16 Mar 2015 13:42:54 -0400 (EDT) In-Reply-To: <834mpk29mq.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 16 Mar 2015 18:24:29 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5247=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5247> : inlines <2423> : streams <1406501> : uri <1881989> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:183914 Archived-At: >> > So you propose effectively making inhibit-point-motion-hooks default to >> > t? Why not just do precisely that? >> Because IIRC inhibit-point-motion-hooks also inhibits cursor-motion >> hooks Looks like I was mistaken: inhibit-point-motion-hooks only applies to point-motion and not to cursor-motion (which has instead variables like disable-point-adjustment and global-disable-point-adjustment). So, yes, Daniel, I guess I'm just suggesting to make inhibit-point-motion-hooks default to nil. Stefan