GNU bug report logs - #53671
26.3; Doc of `pre-redisplay-functions'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Mon, 31 Jan 2022 22:08:02 UTC

Severity: minor

Found in version 26.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#53671: closed (26.3; Doc of `pre-redisplay-functions')
Date: Wed, 02 Feb 2022 17:47:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 02 Feb 2022 19:46:09 +0200
with message-id <83tudh5fha.fsf <at> gnu.org>
and subject line Re: bug#53671: 26.3; Doc of `pre-redisplay-functions'
has caused the debbugs.gnu.org bug report #53671,
regarding 26.3; Doc of `pre-redisplay-functions'
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
53671: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=53671
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Drew Adams <drew.adams <at> oracle.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: 26.3; Doc of `pre-redisplay-functions'
Date: Mon, 31 Jan 2022 22:06:03 +0000
The doc (string and Elisp manual) does not say what args the functions
are expected to accept.  It says only that the hook "is called once in
each window that is about to be redisplayed".  Calling a funtion "in" a
window is not the same as passing the window to the function.  As it
stands now, the most usual reading of that "in" is that the function is
called with the window selected.  And if nothing is said about arguments
then a reasonable assumption is that no arguments are passed.

In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
 of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.19043
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''



[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 53671-done <at> debbugs.gnu.org
Subject: Re: bug#53671: 26.3; Doc of `pre-redisplay-functions'
Date: Wed, 02 Feb 2022 19:46:09 +0200
> From: Drew Adams <drew.adams <at> oracle.com>
> Date: Mon, 31 Jan 2022 22:06:03 +0000
> 
> The doc (string and Elisp manual) does not say what args the functions
> are expected to accept.  It says only that the hook "is called once in
> each window that is about to be redisplayed".

You are again reading a doc string in an old Emacs version.  the
current doc string does describe the argument with which the function
is called.



This bug report was last modified 3 years and 113 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.