GNU bug report logs -
#3941
23.0.96; doc for distinguishing interactive calls
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Mon, 27 Jul 2009 07:50:04 UTC
Severity: minor
Tags: notabug
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
"Drew Adams" <drew.adams <at> oracle.com> writes:
> This bug report is about node (elisp)Distinguish Interactive.
> Starting with Emacs 22, you introduced `called-interactively-p'. As a
> result, the doc explaining testing for interactive use became worse,
> not better.
>
> The "recommended" way is presented first. Why it is recommended is
> not stated, and it's not clear to me (recommended for what use cases?
> why?). The "recommended" way does not really test whether a function
> was in fact called interactively.
Separating out the interactive parts into the `interactive' spec is just
good style, instead of sprinkling the code further down for
interactiveness.
I've read the node in question now, and I think it's quite clear, and
doesn't say anything I disagree with much, so I'm closing this bug
report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
This bug report was last modified 13 years and 321 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.