GNU bug report logs - #26623
24.5; bad variable name: `inside-post-command-hook'

Previous Next

Package: emacs;

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

Date: Sun, 23 Apr 2017 17:02:01 UTC

Severity: wishlist

Tags: fixed

Found in version 24.5

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


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

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.5; bad variable name: `inside-post-command-hook'
Date: Sun, 23 Apr 2017 10:00:52 -0700 (PDT)
This variable's name should not end in `-hook', because that means,
by convention, that this is a hook variable, which it is not.

This is a Boolean-valued, internal variable whose value indicates only
whether execution is currently inside the post-command-hook.

It should have a name that indicates (1) that it is Boolean and
perhaps (2) that it is internal.

In GNU Emacs 24.5.1 (i686-pc-mingw32)
 of 2015-04-11 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/usr --host=i686-pc-mingw32'




This bug report was last modified 8 years and 7 days ago.

Previous Next


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