From: Juri Linkov <juri@linkov.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 30187-done@debbugs.gnu.org
Subject: bug#30187: M-e should restore isearch correctly in special modes
Date: Tue, 23 Jan 2018 00:14:23 +0200 [thread overview]
Message-ID: <87fu6x7d8g.fsf@mail.linkov.net> (raw)
In-Reply-To: <87mv166h54.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 21 Jan 2018 23:23:03 +0200")
>>> All imaginable solutions were very bad. But now I found a solution
>>> that at least not bad. It changes the global value of customizable
>>> variables for the time while isearch is active (including the time
>>> when isearch is suspended temporarily), and restores the original value
>>> afterwards.
>>
>> What if the user QUITs out of the search -- will the original value be
>> restored?
>
> Yes, the original value is restored thanks to ‘condition-case’ with
> ‘quit’ in ‘with-isearch-suspended’ that guarantees that ‘isearch-abort’
> is always called.
Done.
next prev parent reply other threads:[~2018-01-22 22:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-20 21:10 bug#30187: M-e should restore isearch correctly in special modes Juri Linkov
2018-01-21 16:00 ` Eli Zaretskii
2018-01-21 21:23 ` Juri Linkov
2018-01-22 22:14 ` Juri Linkov [this message]
2018-01-29 21:57 ` Juri Linkov
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=87fu6x7d8g.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=30187-done@debbugs.gnu.org \
--cc=eliz@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 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.