From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: "help-gnu-emacs@gnu.org List" <help-gnu-emacs@gnu.org>
Subject: interactive codes "p" and "P" - bug or mistake
Date: Tue, 26 Jul 2011 18:19:53 +0200 [thread overview]
Message-ID: <4E2EE929.9020407@easy-emacs.de> (raw)
Hi,
given that function:
(defun foo-bar (foo &optional bar)
""
(interactive "p\nP*")
(message "foo %s bar %s" foo bar))
as with M- NUMBER M-x foo-bar RET
or C-u M-x foo-bar RET
both interactive codes "p" and "P" send the same/similar:
M- 3 M-x foo-bar RET
--> foo 3 bar 3
C-u M-x foo-bar RET
--> foo 4 bar (4)
Think that's not OK.
My mistake?
Thanks,
Andreas
GNU Emacs 23.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of
2011-07-17
next reply other threads:[~2011-07-26 16:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-26 16:19 Andreas Röhler [this message]
2011-07-26 16:35 ` interactive codes "p" and "P" - bug or mistake Drew Adams
2011-07-26 16:42 ` Teemu Likonen
2011-07-26 17:00 ` Andreas Röhler
2011-07-26 17:13 ` Drew Adams
2011-07-26 17:25 ` Teemu Likonen
2011-07-26 18:19 ` Andreas Röhler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E2EE929.9020407@easy-emacs.de \
--to=andreas.roehler@easy-emacs.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.