unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Andreas Röhler'" <andreas.roehler@easy-emacs.de>,
	help-gnu-emacs@gnu.org
Subject: RE: interactive codes "p" and "P" - bug or mistake
Date: Tue, 26 Jul 2011 09:35:03 -0700	[thread overview]
Message-ID: <C16AA985A32D4171BFB79170F3972E87@us.oracle.com> (raw)
In-Reply-To: <4E2EE929.9020407@easy-emacs.de>

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

Yes, your mistake, but maybe I misunderstand your question.

`P' uses the raw prefix arg; `p' uses its numeric value.

The raw value can be an integer, nil, the symbol `-', or a list of one integer
element.  The numeric value is always an integer, never a symbol or a list.

See `(elisp) Prefix Command Arguments'.




  reply	other threads:[~2011-07-26 16:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-26 16:19 interactive codes "p" and "P" - bug or mistake Andreas Röhler
2011-07-26 16:35 ` Drew Adams [this message]
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C16AA985A32D4171BFB79170F3972E87@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).