all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#11539: called-interactively-p missing default
@ 2012-05-22  9:21 Andreas Röhler
  2012-05-22 12:50 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Röhler @ 2012-05-22  9:21 UTC (permalink / raw)
  To: 11539

Hi,

when installing register-list.el from ELPA at

GNU Emacs 24.0.97.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2012-05-17

get the warning

-----------

Compiling file MY-PATH/register-list-pkg.el at Tue May 22 09:09:55 2012
Entering directory `MY-PATH/'
\f
Compiling file MY-PATH/register-list.el at Tue May 22 09:09:55 2012

In register-list:
register-list.el:410:8:Warning: called-interactively-p called with 0
     arguments, but requires 1

----------

Would expect this a common error.

What about installing a useful default for `called-interactively-p'?

My suggestion is: 'interactive

Thanks,

Andreas





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#11539: called-interactively-p missing default
  2012-05-22  9:21 bug#11539: called-interactively-p missing default Andreas Röhler
@ 2012-05-22 12:50 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2012-05-22 12:50 UTC (permalink / raw)
  To: Andreas Röhler; +Cc: 11539

tags 11539 wontfix
thanks

> What about installing a useful default for `called-interactively-p'?

If you read the threads that lead to the current situation, the whole
point of the change was to force the coder to choose a value.


        Stefan





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-22 12:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-22  9:21 bug#11539: called-interactively-p missing default Andreas Röhler
2012-05-22 12:50 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.