GNU bug report logs - #38205
Unhelpful documentation for add-variable-watcher.

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Thu, 14 Nov 2019 07:39:01 UTC

Severity: minor

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

Bug is archived. No further changes may be made.

Full log


Message #13 received at 38205-done <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 38205-done <at> debbugs.gnu.org
Subject: Re: bug#38205: Unhelpful documentation for add-variable-watcher.
Date: Sat, 16 Nov 2019 12:35:57 +0000
Hello, Eli.

On Fri, Nov 15, 2019 at 11:21:29 +0200, Eli Zaretskii wrote:
> > Date: Thu, 14 Nov 2019 07:38:35 +0000
> > From: Alan Mackenzie <acm <at> muc.de>

> > The doc string for add-variable-watcher wrongly states:

> >     Cause WATCH-FUNCTION to be called when SYMBOL is set.

> > .  Correct would be either

> >     Cause WATCH-FUNCTION to be called just before SYMBOL is set.

> > or

> >     Cause WATCH-FUNCTION to be called just after SYMBOL is set.

> Well, the doc string goes on to say

>   NEWVAL is the value it will be changed to.
>                          ^^^^^^^
> which is a clear hint to what actually happens.  But I made this even
> more clear in the doc string, thanks.

> > The documentation in the Elisp manual is similarly ambiguous.  It uses
> > the conjunction "whenever".

> Fixed that as well.

Thanks!

-- 
Alan Mackenzie (Nuremberg, Germany).




This bug report was last modified 5 years and 183 days ago.

Previous Next


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