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: Use cases for post-redisplay hooks Date: Mon, 04 Jul 2016 17:45:35 -0400 Message-ID: References: <577A9156.9070007@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1467668836 25310 80.91.229.3 (4 Jul 2016 21:47:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2016 21:47:16 +0000 (UTC) Cc: michael_heerdegen@web.de, Eli Zaretskii , esq@lawlist.com, Emacs developers To: =?windows-1252?Q?Cl=E9ment?= Pit--Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 04 23:47:05 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 1bKBho-0002vy-Q4 for ged-emacs-devel@m.gmane.org; Mon, 04 Jul 2016 23:47:04 +0200 Original-Received: from localhost ([::1]:50688 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKBho-0007J2-5S for ged-emacs-devel@m.gmane.org; Mon, 04 Jul 2016 17:47:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKBgc-0005N8-Lf for emacs-devel@gnu.org; Mon, 04 Jul 2016 17:45:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKBga-0006DW-Qb for emacs-devel@gnu.org; Mon, 04 Jul 2016 17:45:49 -0400 Original-Received: from smtp-as-02-03.vtxnet.net ([194.38.175.142]:36588 helo=smtp-as-02.vtxnet.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKBgV-0006Cs-6y; Mon, 04 Jul 2016 17:45:43 -0400 Original-Received: from smtp-as-02.vtxnet.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-as-02.vtxnet.net (Postfix) with ESMTPS id 21B734528D; Mon, 4 Jul 2016 23:45:41 +0200 (CEST) Original-Received: from smtp-pri-03.vtxnet.net (smtp-pri-03-1.vtxnet.net [212.147.62.147]) by smtp-as-02.vtxnet.net (Postfix) with ESMTP id BC6B5451DF; Mon, 4 Jul 2016 23:45:38 +0200 (CEST) Original-Received: from fmsmemgm.homelinux.net (dyn.144-85-234-142.dsl.vtx.ch [144.85.234.142]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-pri-03.vtxnet.net (VTX Services SA) with ESMTP id AF4E068B7E7; Mon, 4 Jul 2016 23:45:38 +0200 (CEST) Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id BE6A8AE5F2; Mon, 4 Jul 2016 17:45:35 -0400 (EDT) In-Reply-To: <577A9156.9070007@gmail.com> (=?windows-1252?Q?=22Cl=E9ment?= Pit--Claudel"'s message of "Mon, 4 Jul 2016 12:39:50 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 194.38.175.142 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:205156 Archived-At: > 3. (Stefan? @ > https://lists.gnu.org/archive/html/emacs-devel/2009-02/msg00785.html) > Running code every time "something visible" happens (e.g. due to process > filters) FWIW, I don't know what this "use case" was referring to, really. I tried to re-read the thread, but still haven't found the answer. I think I just wrote "per/post-redisplay-hook" there because I had a use for a pre-redisplay-hook (which I finally satisfied years later with pre-redisplay-function) and figured that it would naturally come as a pair. Stefan