From: "Drew Adams" <drew.adams@oracle.com>
To: "'Dani Moncayo'" <dmoncayo@gmail.com>,
"'Christopher Monsanto'" <chris@monsan.to>
Cc: 'Stefan Monnier' <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: RE: Isearch: retrieve last successful search string from when you quit (`C-g')
Date: Mon, 1 Oct 2012 08:22:36 -0700 [thread overview]
Message-ID: <2AE97BD4486C401F86351EFE031E5C5D@us.oracle.com> (raw)
In-Reply-To: <CAH8Pv0g+oRQ-n=RgY-BfSPY_Os3V-frMti+3hFQfXb3kiRYLpg@mail.gmail.com>
> > To be honest, I always thought there was some bug in
> > isearch that made it forget my search strings. I'd love it
> > if isearch just unconditionally remembered my searches.
>
> Some users may prefer the current behavior, i.e., that `C-g' just
> exits i-search without storing the current search string in the search
> ring. So, I think this behavior should be user-configurable.
It is misguided. But as with all misguided features, users should have a way to
opt out (or in).
Why don't you simply try what I suggested? It takes only a few seconds to do
(just load isearch+.el). And you can easily try your approach as well. Try
both approaches for a few hours, and then compare.
I think you will find that it makes little sense to systematically add all
abandoned searches to the search rings, but it does make sense to be able to
retrieve the last such.
next prev parent reply other threads:[~2012-10-01 15:22 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-30 21:09 Isearch: retrieve last successful search string from when you quit (`C-g') Drew Adams
2012-10-01 6:41 ` Dani Moncayo
2012-10-01 14:57 ` Stefan Monnier
2012-10-01 15:05 ` Christopher Monsanto
2012-10-01 15:11 ` Dani Moncayo
2012-10-01 15:22 ` Drew Adams [this message]
2012-10-01 15:21 ` Drew Adams
2012-10-01 15:30 ` Christopher Monsanto
2012-10-01 15:40 ` Drew Adams
2012-10-01 15:41 ` Dani Moncayo
2012-10-01 16:00 ` Drew Adams
2012-10-01 17:49 ` Juri Linkov
2012-10-01 18:21 ` Drew Adams
2012-10-01 18:31 ` Dani Moncayo
2012-10-01 18:47 ` Drew Adams
2012-10-01 18:50 ` Christopher Monsanto
2012-10-01 18:54 ` Lennart Borgman
2012-10-01 20:00 ` Drew Adams
2012-10-01 19:12 ` Dani Moncayo
2012-10-02 11:26 ` Nix
2012-10-02 13:55 ` Drew Adams
2012-10-02 16:48 ` Eli Zaretskii
2012-10-04 11:37 ` Nix
2012-10-05 22:58 ` Andrew W. Nosenko
2012-10-01 15:18 ` Drew Adams
2012-10-02 3:22 ` Stephen J. Turnbull
2012-10-02 12:37 ` Richard Stallman
2012-10-02 14:05 ` Isearch: retrieve last successful search string from when youquit (`C-g') Drew Adams
2012-10-01 15:17 ` Isearch: retrieve last successful search string from when you quit (`C-g') Drew Adams
2012-10-02 11:29 ` Nix
2012-10-02 14:03 ` 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
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=2AE97BD4486C401F86351EFE031E5C5D@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=chris@monsan.to \
--cc=dmoncayo@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).