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


View this message in rfc822 format

From: Richard Stallman <rms <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 26623 <at> debbugs.gnu.org, drew.adams <at> oracle.com
Subject: bug#26623: 24.5; bad variable name: `inside-post-command-hook'
Date: Wed, 26 Apr 2017 13:18:51 -0400
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > No, it's the other way around: a hook variable should have its name
  > end in "-hook", but not every symbol whose name ends in "-hook" is a
  > hook variable.

I think it is a good idea to avoid making more variables that are not
hooks but have names which suggest they were hooks.  Let's aim to have
-hook mean it's a hook.


Perhaps `inside-post-command-hook-call' is a good name for this
variable.

-- 
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.





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.