GNU bug report logs - #20600
24.5.3: add-hook - wrong arguments error

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Mon, 18 May 2015 05:35:02 UTC

Severity: wishlist

Tags: notabug, wontfix

Found in version 24.5.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: bruce.connor.am <at> gmail.com
Cc: andreas.roehler <at> easy-emacs.de, 20600 <at> debbugs.gnu.org
Subject: bug#20600: 24.5.3: add-hook - wrong arguments error
Date: Mon, 18 May 2015 17:25:24 +0300
> Date: Mon, 18 May 2015 12:54:25 +0100
> From: Artur Malabarba <bruce.connor.am <at> gmail.com>
> Cc: 20600 <at> debbugs.gnu.org
> 
> Still, it sounds like it might be useful for run-hooks to properly handle
> functions whose arity is less than the expected arity.
> Does anyone foresee any issues with that?

To tell you the truth, I don't see the problem.  Is the problem the
need to specify a couple of arguments that will be left unused when
the function is called?  If so, we do it all over the place; we even
have a special convention for that.




This bug report was last modified 10 years and 10 days ago.

Previous Next


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