From: Juri Linkov <juri@jurta.org>
To: "Mathias Dahl" <mathias.dahl@gmail.com>
Cc: bug-gnu-emacs@gnu.org, Mathias Dahl <brakjoller@gmail.com>
Subject: Re: replace history
Date: Fri, 04 Jan 2008 00:47:38 +0200 [thread overview]
Message-ID: <87ve6a1q7p.fsf@jurta.org> (raw)
In-Reply-To: <7dbe73ed0801031415q3c8b1f76of93200dca383d0d1@mail.gmail.com> (Mathias Dahl's message of "Thu, 3 Jan 2008 23:15:59 +0100")
>> > I think Dan's suggested way of operation would be really neat, but I
>> > don't care much what key that activates this feature. Someone
>> > mentioned using a prefix argument and that it was already taken. How
>> > about differentiate between prefix arguments (negative versus positive
>> > etc), as some commands do?
>>
>> Such as `C-u -2 M-%' to get the penultimate replacement pair?
>> This would be not very convenient when you don't remember your
>> replacement history, so you need to try different prefix arguments
>> before finding the necessary one.
>
> No no, not to select a certain history item. To control the behavior of M-p
> and M-n in the command.
Prefix arguments (both positive and negative) of M-p and M-n are too useful
to take them for something else.
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2008-01-03 22:47 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-26 23:20 replace history Reuben Thomas
2007-12-26 23:48 ` Dan Nicolaescu
2007-12-27 11:42 ` Bastien
2007-12-27 20:14 ` Juri Linkov
2007-12-27 20:12 ` Juri Linkov
2007-12-27 20:40 ` Dan Nicolaescu
2007-12-28 13:55 ` Richard Stallman
[not found] ` <mailman.5457.1198850122.18990.bug-gnu-emacs@gnu.org>
2008-01-02 13:21 ` Mathias Dahl
2008-01-03 21:45 ` Juri Linkov
2008-01-03 22:15 ` Mathias Dahl
2008-01-03 22:47 ` Juri Linkov [this message]
2008-01-03 23:24 ` Mathias Dahl
2007-12-27 20:11 ` Juri Linkov
2007-12-28 13:55 ` Richard Stallman
2008-01-03 21:46 ` Juri Linkov
2008-01-05 5:54 ` Richard Stallman
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=87ve6a1q7p.fsf@jurta.org \
--to=juri@jurta.org \
--cc=brakjoller@gmail.com \
--cc=bug-gnu-emacs@gnu.org \
--cc=mathias.dahl@gmail.com \
/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).