GNU bug report logs - #46367
28.0.50; lisp/autorevert.el typo introduced in "auto-revert--buffers-by-watch-descriptor"?

Previous Next

Package: emacs;

Reported by: Georg T <georgt.12 <at> gmail.com>

Date: Sun, 7 Feb 2021 16:49:02 UTC

Severity: normal

Tags: notabug

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 46367 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Georg T <georgt.12 <at> gmail.com>
Cc: 46367 <at> debbugs.gnu.org
Subject: Re: bug#46367: 28.0.50; lisp/autorevert.el typo introduced in
 "auto-revert--buffers-by-watch-descriptor"?
Date: Sun, 07 Feb 2021 19:21:20 +0100
Georg T <georgt.12 <at> gmail.com> writes:

Hi Georg,

> Code using variable "auto-revert--buffers-by-watch-descriptor"
> defined in autorevert.el breaks since this variable has been renamed
> "auto-revert--buffer-by-watch-descriptor" (i.e. without s)
> recently. It's still with the "s" in Emacs 27.1 and in builts from November 2020. Unclear if this is a typo or intended; probably a typo.

It is an intended change, see commit
a8c4f8041cc64e3dafc0e435bab8043d7165ffff, and see bug#44638 and
bug#44639. It isn't just a rename, the value of the variable has changed
as well, from a hash table to an association list. So you will need
compatibility code if you use it in your own package.

However, it is an internal variable, so it isn't mentioned in etc/NEWS.

Best regards, Michael.




This bug report was last modified 4 years and 161 days ago.

Previous Next


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