From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Redisplay hook Date: Mon, 04 Jul 2016 19:24:30 +0300 Message-ID: <837fd1pe0x.fsf@gnu.org> References: <577814F4.8060500@gmail.com> <8360sns8nj.fsf@gnu.org> <57789637.8020204@gmail.com> <83twg7qi5t.fsf@gnu.org> <5779A83D.6020201@gmail.com> <83twg6p1kd.fsf@gnu.org> <5779E692.5010501@gmail.com> <83k2h1piig.fsf@gnu.org> <577A8B4A.5060709@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1467649638 2291 80.91.229.3 (4 Jul 2016 16:27:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2016 16:27:18 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: =?utf-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 04 18:27:11 2016 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 1bK6iF-0007K5-3K for ged-emacs-devel@m.gmane.org; Mon, 04 Jul 2016 18:27:11 +0200 Original-Received: from localhost ([::1]:49083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bK6iE-0003qZ-AD for ged-emacs-devel@m.gmane.org; Mon, 04 Jul 2016 12:27:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bK6g4-0002Rw-GT for emacs-devel@gnu.org; Mon, 04 Jul 2016 12:24:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bK6fy-00062o-UJ for emacs-devel@gnu.org; Mon, 04 Jul 2016 12:24:55 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bK6fy-00062k-R3; Mon, 04 Jul 2016 12:24:50 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2098 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bK6fx-0002Es-VN; Mon, 04 Jul 2016 12:24:50 -0400 In-reply-to: <577A8B4A.5060709@gmail.com> (message from =?utf-8?Q?Cl=C3=A9?= =?utf-8?Q?ment?= Pit--Claudel on Mon, 4 Jul 2016 12:14:02 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:205140 Archived-At: > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > From: Clément Pit--Claudel > Date: Mon, 4 Jul 2016 12:14:02 -0400 > > > The upshot of all this is that IMO if we decide to provide the > > post-redisplay hook, we will need to figure out all of these use > > cases, and perhaps provide separate hooks for some of them; otherwise, > > I'm quite sure that soon enough someone files a bug report or posts a > > message here complaining that the existing hooks don't work for > > them... > > Yes, that makes a lot of sense. On the other hand, we don't need to implement all of this at once. As long as we're fairly sure that we understand the use cases well, we might be able to implement the parts that there is immediate demand for, leaving room for future extensions as needed. I'd rather we implemented at least a few of the more important ones. That's because by the time the issues are clear, the person who worked on that knows enough to implement a few important hooks. If we only implement one, then the knowledge collected during the process goes away, and the next person will have to do it all from scratch.