unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Daniel Colascione'" <dan.colascione@gmail.com>,
	"'Andreas Röhler'" <andreas.roehler@easy-emacs.de>
Cc: 'Emacs developers' <emacs-devel@gnu.org>
Subject: RE: more than one prefix argument
Date: Tue, 26 Jul 2011 13:36:46 -0700	[thread overview]
Message-ID: <850340AFD6324E979275501249A9240C@us.oracle.com> (raw)
In-Reply-To: <4E2F1F1C.2040100@gmail.com>

> > what about allowing more than one prefix argument
> > by making interactive codes "p" and "P" sending
> > truly separated.
> 
> We already have more than one kind of prefix argument: see
> universal-coding-system-argument for an example.  You can 
> already define as many kinds of "prefix argument" as you'd
> like: just define a global flag and a command to set that
> flag, and have post-command-hook clear the flag unless (eq
> this-command 'my-prefix-setting-function).

I don't think that's what Andreas is asking about.  He's not asking about being
able to define alternative "prefix arg"-like things (to be used separately).  I
think he wants the same user input to somehow distinguish two different things
(?).

At least that's my understanding.  IMO, he is simply confused, and defining
alternative prefix-arg-like things won't help him here.

Put differently, having the user use different prefix-arg-like things is similar
to having the user use a positive vs negative prefix arg.  And that's apparently
not what he wants.

He seems to want the user to use the _same_ behavior (no key difference) to
somehow get two different command behaviors.  Again, that's my guess about what
he's asking.




  parent reply	other threads:[~2011-07-26 20:36 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-26 19:59 more than one prefix argument Andreas Röhler
2011-07-26 20:10 ` Daniel Colascione
2011-07-26 20:36   ` Andreas Röhler
2011-07-26 20:57     ` Drew Adams
2011-07-26 20:36   ` Drew Adams [this message]
2011-07-27  6:25     ` Andreas Röhler
2011-07-27  9:25       ` Tim Cross
2011-07-27  9:37         ` Andreas Röhler
2011-07-27  9:48           ` Tim Cross
2011-07-27 10:21             ` Andreas Röhler
2011-07-27 11:21               ` Andreas Schwab
2011-07-27 11:46                 ` Andreas Röhler
2011-07-27 12:39                   ` Andreas Schwab
2011-07-27 12:51                   ` Tim Cross
2011-07-27 12:46               ` Tim Cross
2011-07-27 15:09               ` Drew Adams
2011-07-27  9:38         ` Tim Cross

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=850340AFD6324E979275501249A9240C@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=andreas.roehler@easy-emacs.de \
    --cc=dan.colascione@gmail.com \
    --cc=emacs-devel@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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