From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Can we make set_point_both less expensive? Date: Wed, 18 Mar 2015 08:36:00 +0100 Message-ID: <55092AE0.1080206@gmx.at> References: <5505E34C.4000106@dancol.org> <838uex1u1m.fsf@gnu.org> <8361a029p2.fsf@gnu.org> <83vbi0zukw.fsf@gnu.org> <55080104.9070606@gmx.at> <5508800E.3070600@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1426664240 28193 80.91.229.3 (18 Mar 2015 07:37:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Mar 2015 07:37:20 +0000 (UTC) Cc: Eli Zaretskii , dancol@dancol.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 18 08:37:12 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 1YY8XP-0001Pe-6S for ged-emacs-devel@m.gmane.org; Wed, 18 Mar 2015 08:37:11 +0100 Original-Received: from localhost ([::1]:59543 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YY8XO-0006nR-H7 for ged-emacs-devel@m.gmane.org; Wed, 18 Mar 2015 03:37:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YY8WR-0005an-Ol for emacs-devel@gnu.org; Wed, 18 Mar 2015 03:36:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YY8WO-0004Vo-Jt for emacs-devel@gnu.org; Wed, 18 Mar 2015 03:36:11 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:53909) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YY8WO-0004Vj-AQ; Wed, 18 Mar 2015 03:36:08 -0400 Original-Received: from [62.47.255.189] ([62.47.255.189]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LdLw5-1ZFxiO0RDF-00iWaY; Wed, 18 Mar 2015 08:36:05 +0100 In-Reply-To: X-Provags-ID: V03:K0:4RDaHvC68Xpmye17i6J2GwJOwZ6Cq6m6ZCzEN6q/wkbC5VVwKIH h+JnqbU5zEmiEkVTMs+tgZKWDd5GnI0eqV91x/HiXSaERTLjaWE57Db2N1HGzSQCilzkUU8 paprHvX90vhBCRguU6WaL/cabgWkZB8WXDbDs57euF0ltkPPQjf5uHks8YHwyJ1fwhkluUy RmtxEnLRYGuR8ACdhGZOw== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.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:183984 Archived-At: >>>> Then redisplay would have to move `point' back to the window. >>> Indeed. >> And would run pre-redisplay-hook again. > > That's right. Then why would we OT1H care about removing a function from `post-command-hook' whenever it causes an error and OTOH not care about running into an endless loop with pre-redisplay-hook? martin