From: Juri Linkov <juri@linkov.net>
To: charles@aurox.ch (Charles A. Roelli)
Cc: 32990@debbugs.gnu.org
Subject: bug#32990: 26.1.50; isearch-forward + t-m-m/mark-active doc
Date: Thu, 22 Nov 2018 00:31:45 +0200 [thread overview]
Message-ID: <87wop6f4fi.fsf@mail.linkov.net> (raw)
In-Reply-To: <m2zhu2xk61.fsf@aurox.ch> (Charles A. Roelli's message of "Wed, 21 Nov 2018 21:14:30 +0100")
>> > >From tmm I tried "C==>Cancel last input item DEL", but it does nothing.
>> > Do you see the same?
>>
>> Yes. This may be `with-isearch-suspended's doing (as used in
>> `isearch-tmm-menubar'): it pushes a new state of Isearch after running
>> its arg BODY, so we will have to compensate for that somehow.
>
> Should be fixed in the following change based on the latest master.
> In with-isearch-suspended, the state of Isearch is now only pushed if
> the new state is not `equal' to the state of Isearch we had before
> running the body (which should be in (car isearch-cmds), I think).
Thanks, I tested your new version and have a few suggestions:
1. There are two menu items with the same action word "Cancel":
"Cancel search"
"Cancel last input item"
This is confusing terminology. I suggest to rename the latter to
"Undo last input item"
2. Hard-coding command symbols with '(memq this-command ...' is
not a good style. Isearch provides a special feature to put the
property 'isearch-scroll' (a misnomer, unfortunately) for the purpose
to not hard-code command symbols.
3. Please add a comment to with-isearch-suspended stating that pushing
a new state is not necessary for cases that don't change search
parameters. So that such commands that use with-isearch-suspended
don't need special code to restore an old value of isearch-cmds.
next prev parent reply other threads:[~2018-11-21 22:31 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-08 17:58 bug#32990: 26.1.50; isearch-forward + t-m-m/mark-active doc Charles A. Roelli
2018-10-08 20:07 ` Eli Zaretskii
2018-10-09 18:14 ` Charles A. Roelli
2018-10-09 18:21 ` Eli Zaretskii
2018-10-14 19:53 ` Charles A. Roelli
2018-10-15 15:02 ` Eli Zaretskii
2018-10-16 18:57 ` Charles A. Roelli
2018-10-20 9:59 ` Eli Zaretskii
2018-10-25 19:11 ` Charles A. Roelli
2018-10-28 10:06 ` Charles A. Roelli
2018-10-28 15:53 ` Eli Zaretskii
2018-10-28 17:09 ` Charles A. Roelli
2018-11-10 13:57 ` Charles A. Roelli
2018-11-10 14:05 ` Eli Zaretskii
2018-11-15 19:57 ` Charles A. Roelli
2018-11-15 20:07 ` Eli Zaretskii
2018-11-15 22:15 ` Juri Linkov
2018-11-16 8:53 ` martin rudalics
2018-11-16 16:00 ` Drew Adams
2018-11-17 9:29 ` martin rudalics
2018-11-17 21:32 ` Juri Linkov
2018-11-18 9:22 ` martin rudalics
2018-11-16 20:22 ` Charles A. Roelli
2018-11-17 21:01 ` Juri Linkov
2018-11-17 21:07 ` Juri Linkov
2018-11-18 1:49 ` Drew Adams
2018-11-18 20:24 ` Charles A. Roelli
2018-11-18 22:42 ` Juri Linkov
2018-11-19 20:14 ` Charles A. Roelli
2018-11-19 21:44 ` Juri Linkov
2018-11-20 19:49 ` Charles A. Roelli
2018-11-21 20:14 ` Charles A. Roelli
2018-11-21 22:31 ` Juri Linkov [this message]
2018-11-22 20:29 ` Charles A. Roelli
2018-11-22 21:59 ` Juri Linkov
2018-11-23 8:17 ` Eli Zaretskii
2018-11-24 11:25 ` Charles A. Roelli
2018-11-24 11:44 ` Eli Zaretskii
2018-11-24 12:51 ` Charles A. Roelli
2019-04-02 0:22 ` Noam Postavsky
2018-11-10 20:34 ` 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=87wop6f4fi.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=32990@debbugs.gnu.org \
--cc=charles@aurox.ch \
/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.