From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: Leaving isearch-mode and keeping the highlite
Date: Thu, 11 Aug 2005 04:05:28 +0300 [thread overview]
Message-ID: <87mznpnsoh.fsf@jurta.org> (raw)
In-Reply-To: <42FAA2A2.6050405@student.lu.se> (Lennart Borgman's message of "Thu, 11 Aug 2005 02:58:10 +0200")
> Thanks, but that was not what I suggested. I suggested a key binding
> to leave the highlight after search. But maybe you just wanted to
> tell that it is possible to do this?
>
>>BTW, I use C-RET to exit the search without pushing the search string
>>into the search ring. Very useful to not stuff the search history
>>with unnecessary search strings.
>>
> Yes, it seems useful to. It is kind of the same idea. I suppose you
> would not like this to be an option.
Yes, a permanent option is not suitable, because whether to use it
depends on the concrete situation. Leaving the highlighting after the
search you suggested is the same thing.
I want to mention also that I use C-RET to leave point at the beginning
of the found string instead of the end. There are possible other useful
things to do.
So the question is what is a good user interface for performing
different actions on exit? Maybe to use a prefix argument, e.g.:
`M-1 RET' - don't remove highlighting
`M-2 RET' - don't push the search string into the search ring
`M-3 RET' - leave point at the beginning of the found string
And how to combine them? Maybe as digits of the decimal number:
`M-123 RET'
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2005-08-11 1:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-10 23:03 Leaving isearch-mode and keeping the highlite Lennart Borgman
2005-08-10 23:20 ` Drew Adams
2005-08-10 23:42 ` Lennart Borgman
2005-08-11 2:20 ` Drew Adams
2005-08-11 2:47 ` Lennart Borgman
2005-08-11 0:27 ` Juri Linkov
2005-08-11 0:58 ` Lennart Borgman
2005-08-11 1:05 ` Juri Linkov [this message]
2005-08-11 20:40 ` Richard M. Stallman
2005-08-12 7:41 ` Emilio Lopes
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=87mznpnsoh.fsf@jurta.org \
--to=juri@jurta.org \
--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).