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: Sun, 22 Mar 2015 09:58:02 -0400 Message-ID: References: <5505E34C.4000106@dancol.org> <5509CC67.5010207@gmx.at> <550A7FFB.7040502@gmx.at> <550BD579.9040804@gmx.at> <550C3335.4070405@gmx.at> <83zj77vh87.fsf@gnu.org> <550C7AD1.4080806@gmx.at> <83egojv02r.fsf@gnu.org> <83a8z6vlyn.fsf@gnu.org> <838ueqtnjb.fsf@gnu.org> <834mpetgri.fsf@gnu.org> <83wq29so1g.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1427032711 10672 80.91.229.3 (22 Mar 2015 13:58:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Mar 2015 13:58:31 +0000 (UTC) Cc: rudalics@gmx.at, dancol@dancol.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 22 14:58:23 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 1YZgOR-0005zr-J5 for ged-emacs-devel@m.gmane.org; Sun, 22 Mar 2015 14:58:19 +0100 Original-Received: from localhost ([::1]:51095 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZgOR-0008PQ-1m for ged-emacs-devel@m.gmane.org; Sun, 22 Mar 2015 09:58:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33151) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZgON-0008Dw-OM for emacs-devel@gnu.org; Sun, 22 Mar 2015 09:58:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZgOI-0001Xb-Pf for emacs-devel@gnu.org; Sun, 22 Mar 2015 09:58:15 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:36286) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZgOI-0001XV-Kf; Sun, 22 Mar 2015 09:58:10 -0400 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t2MDw39f005604; Sun, 22 Mar 2015 09:58:03 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id DF668145C; Sun, 22 Mar 2015 09:58:02 -0400 (EDT) In-Reply-To: <83wq29so1g.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 22 Mar 2015 05:34:35 +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 RV5253=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5253> : inlines <2455> : streams <1409719> : uri <1887178> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:184115 Archived-At: >> AFAIK this "elsewhere" is still "before redisplay". > No, it's "during redisplay". It's right after an incomplete redisplay, and right before the next redisplay. I count this as still "before redisplay" since it's immediately followed by redisplay. >> >> > or maybe there's a better place? >> >> Like where? >> > Where we set the cursor, of course. >> What if it moves point outside the window? > It can't. That's a misfeature: when using cursor-intangible to force going from field to field, it may very well be that C-n makes you jump to the next field which is past window-end (even though C-n itself just jumped to the next char which is still before window-end), so it should be possible for the handling of cursor-intangible to move point outside of the window. Stefan