unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org, 'Mathias Dahl' <mathias.dahl@gmail.com>
Subject: Re: move to fail position in Isearch edit
Date: Tue, 11 Nov 2008 23:36:35 +0200	[thread overview]
Message-ID: <87r65iaraj.fsf@jurta.org> (raw)
In-Reply-To: <004f01c94440$d78604d0$0200a8c0@us.oracle.com> (Drew Adams's message of "Tue, 11 Nov 2008 13:02:43 -0800")

>> > Isn't it more convenient to type a new key to immediately remove the
>> > failed part without entering the minibuffer for editing?
>>
>> I agree. If it then allows you to continue typing more chars
>> to search for.
>
> That's just what `C-g' does today. It removes the failed (mismatch) portion and
> lets you continue to search. And that includes letting you type more characters
> at the end of the search string. Nothing new there.
>
> What I proposed is not about that - it's about editing chars in the middle of
> the search string, keeping some or all of the chars that failed to match. See
> the example I gave.

I described what would be more useful without thinking about whether it
is implemented or not, and this happens to be already done ;)  So I really
can't comment about the usefulness of a special keybinding with a seemingly
rare use.  Instead we could keep the highlighting with `isearch-fail' face
of the failed portion in the editing minibuffer.  Thus it will provide a
visual indication to help moving point to the right place when necessary.

-- 
Juri Linkov
http://www.jurta.org/emacs/




      reply	other threads:[~2008-11-11 21:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-11  6:42 move to fail position in Isearch edit Drew Adams
2008-11-11  7:13 ` Mathias Dahl
2008-11-11 15:07 ` Isearch: always try to find longest successful prefix [was: move to fail position in Isearch edit] Drew Adams
2008-11-11 17:32   ` Juri Linkov
2008-11-11 20:19     ` Drew Adams
2008-11-11 17:33 ` move to fail position in Isearch edit Juri Linkov
2008-11-11 20:16   ` Drew Adams
2008-11-11 20:33   ` Mathias Dahl
2008-11-11 21:02     ` Drew Adams
2008-11-11 21:36       ` Juri Linkov [this message]

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=87r65iaraj.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@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).