GNU bug report logs - #6043
23.1.96; doc of called-interactively and interactive-p

Previous Next

Package: emacs;

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

Date: Mon, 26 Apr 2010 22:04:01 UTC

Severity: minor

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Chong Yidong <cyd <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#6043: closed (23.1.96; doc of called-interactively and
 interactive-p)
Date: Sat, 28 Jan 2012 04:41:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 28 Jan 2012 12:39:19 +0800
with message-id <87bopoh24o.fsf <at> gnu.org>
and subject line Re: 23.1.96; doc of called-interactively and interactive-p
has caused the debbugs.gnu.org bug report #6043,
regarding 23.1.96; doc of called-interactively and interactive-p
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
6043: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6043
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 23.1.96; doc of called-interactively and interactive-p
Date: Mon, 26 Apr 2010 15:02:59 -0700
1. The doc for `called-interactively-p' and interactive-p is still a
mess.
 
The doc string for `called-interactively-p' says it has one mandatory
arg. The Elisp manual says it has none. Which is it? The doc string
says that with arg `any' it returns t when in `noninteractive' mode.
The manual says the exact opposite: it returns t if `noninteractive'
is nil.
 
And the `interactive-p' doc string says that it is is obsolete, whereas
the manual documents it normally. Which is it?
 
2. Why isn't the arg for `called-interactively-p' optional, as I
proposed in the bug #3936 thread? Or maybe it is, and the doc string
is wrong in that way too?
 
(called-interactively-p) raises no error with no arg. Calling it
with no arg seems to have the same effect as calling it with arg
`any'. And calling it with any arg other than `interactive' seems
to have the same effect as calling it with arg `any'. And calling
it with arg `interactive' seems to have the same effect as
function `interactive-p'.

 

In GNU Emacs 23.1.96.1 (i386-mingw-nt5.1.2600)
 of 2010-04-20 on G41R2F1
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/xpm/include'
 




[Message part 3 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> gnu.org>
To: 6043-done <at> debbugs.gnu.org
Subject: Re: 23.1.96; doc of called-interactively and interactive-p
Date: Sat, 28 Jan 2012 12:39:19 +0800
> The doc string for `called-interactively-p' says it has one mandatory
> arg. The Elisp manual says it has none. Which is it? The doc string
> says that with arg `any' it returns t when in `noninteractive' mode.
> The manual says the exact opposite: it returns t if `noninteractive'
> is nil.
> 
> And the `interactive-p' doc string says that it is is obsolete,
> whereas the manual documents it normally. Which is it?
 
All these doc issues were fixed some time ago.  Closing the bug.


This bug report was last modified 13 years and 120 days ago.

Previous Next


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