all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dani Moncayo <dmoncayo@gmail.com>
To: Juri Linkov <juri@jurta.org>
Cc: 9972@debbugs.gnu.org
Subject: bug#9972: 24.0.90; "C-s/C-r" from the minibuffer don't clear the current text
Date: Sun, 6 Nov 2011 17:37:44 +0100	[thread overview]
Message-ID: <CAH8Pv0ifP87kKNJM5u8-STs_OsoJOYrzQb5-DXmV910j5QsULw@mail.gmail.com> (raw)
In-Reply-To: <87aa89rzul.fsf@mail.jurta.org>

On Sun, Nov 6, 2011 at 17:16, Juri Linkov <juri@jurta.org> wrote:
>> IMO, It isn't worth making C-s (and C-r, C-M-s, C-M-r) look up also in
>> the current minibuffer text, because it is usually small enough not to
>> need that (how often do you use that feature?).
>
> I use this feature all the time!

For searching in the _current_ minibuffer text?  How long are such text?

>> I'd like these commands (C-s, C-r, C-M-s, C-M-r) to be similar to M-s and M-r:
>> * Focus exclusively in the minibuffer history.
>> * Have a minibuffer-specific prompt ("Next/Previous element matching
>> [regexp]: ") so that it is clear what's going on.
>> * Obviously, clear the minibuffer's current input.
>
> If you like M-s and M-r, then just use them.  They are like non-incremental
> versions `M-x search-forward RET' and `M-x search-backward RET'.

I can use them, of course, but as you've said, they are not
incremental.  Precisely, as I pointed out, I'd like to adjust C-M-s to
be the incremental version of M-s.

> But C-s should work like Isearch, and not clear text before it starts to
> search in it.

Well, think of the advantages and drawbacks.  IMHO, my proposal would
make the Isearch commands (in the minibuffer):
* More useful: what you want is to go straight to the history.
* Clearer: The prompt states clearly that you are searching the in
history, and nowhere else.
* Consistent with M-s and M-r.

-- 
Dani Moncayo





  reply	other threads:[~2011-11-06 16:37 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-06 14:22 bug#9972: 24.0.90; "C-s/C-r" from the minibuffer don't clear the current text Dani Moncayo
2011-11-06 14:37 ` Juri Linkov
2011-11-06 14:47   ` Dani Moncayo
2011-11-06 15:10     ` Juri Linkov
2011-11-06 15:57       ` Dani Moncayo
2011-11-06 16:04         ` Dani Moncayo
2011-11-06 16:16         ` Juri Linkov
2011-11-06 16:37           ` Dani Moncayo [this message]
2011-11-06 17:01             ` Juri Linkov
2011-11-06 17:42               ` Dani Moncayo
2011-11-06 17:53                 ` Dani Moncayo
2011-11-06 18:11                   ` Drew Adams
2011-11-06 18:20                   ` Juri Linkov
2011-11-06 19:07                     ` Andreas Schwab
2011-11-09 15:27                       ` Dani Moncayo
2011-11-09 16:17                         ` Juri Linkov
2011-11-06 18:01                 ` Drew Adams
2011-11-06 17:17             ` Drew Adams

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=CAH8Pv0ifP87kKNJM5u8-STs_OsoJOYrzQb5-DXmV910j5QsULw@mail.gmail.com \
    --to=dmoncayo@gmail.com \
    --cc=9972@debbugs.gnu.org \
    --cc=juri@jurta.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.