all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#6043: 23.1.96; doc of called-interactively and interactive-p
@ 2010-04-26 22:02 Drew Adams
  2012-01-28  4:39 ` Chong Yidong
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2010-04-26 22:02 UTC (permalink / raw
  To: 6043

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'
 








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

* bug#6043: 23.1.96; doc of called-interactively and interactive-p
  2010-04-26 22:02 bug#6043: 23.1.96; doc of called-interactively and interactive-p Drew Adams
@ 2012-01-28  4:39 ` Chong Yidong
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2012-01-28  4:39 UTC (permalink / raw
  To: 6043-done

> 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.





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

end of thread, other threads:[~2012-01-28  4:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-26 22:02 bug#6043: 23.1.96; doc of called-interactively and interactive-p Drew Adams
2012-01-28  4:39 ` Chong Yidong

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.