unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: 43308@debbugs.gnu.org
Subject: bug#43308: 28.0.50; Improvements to Edit->Search menu
Date: Thu, 10 Sep 2020 17:59:12 +0300	[thread overview]
Message-ID: <831rj9k79b.fsf@gnu.org> (raw)
In-Reply-To: <87zh5xiuk4.fsf@localhost> (message from Ihor Radchenko on Thu, 10 Sep 2020 22:18:51 +0800)

> From: Ihor Radchenko <yantar92@gmail.com>
> Date: Thu, 10 Sep 2020 22:18:51 +0800
> 
> The following menus seems to be more confusing than helpful:
> - Edit->Search menu->String Forward
> - Edit->Search menu->String Backwards
> - Edit->Search menu->Regexp Forward
> - Edit->Search menu->Regexp Backwards
> - Edit->Search menu->Repeat Forward
> - Edit->Search menu->Repeat Backwards

I disagree.  Many applications have only the non-incremental search
commands, so removing them will leave the user who are used to those
with the incremental variant, which might be confusing for people who
have no experience with comparable commands.

> In most of other applications, the search functionality is squeezed into
> single search dialogue, providing searching forward, backwards, and
> repeating search together (via next/prev buttons).
> Current Emacs menu forces the user to click Edit->Search menu->...
> multiple times to repeat the search. That is not a pleasant experience.

If you are suggesting a "repeat last search" menu item, it could be a
useful idea.  But removing those items because we don't have a simple
repeat item is a step in the wrong direction, IMO.

> Also, the functionality of the above menu items seems to be strictly
> inferior in comparison with isearch items from Edit->Search->Incremental
> search sub-menu.

See above: it is there for those who are not familiar enough with the
incremental variants.

Please don't forget that the menu bar targets mainly newcomers, so
judging it from the POV of a veteran Emacs user might yield incorrect
conclusions.

> I would also add that we can show transient next match/previous match
> toolbar icons to assist users, unfamiliar with key bindings.

Please show the code.  Please also keep in mind that changes on the
tool bar require redrawing of the tool bar, which could cause
unpleasant flickering.  We need to consider this potential downside.

> Also, the article suggests to rename "Forward/Backward String..." into
> "Search Forward/Backwards...", which sounds reasonable since
> non-programmer users may be confused by the meaning of word "String".

The "Search" part is in the parent menu item, so repeating it would be
a waste of space, which is at premium here.

If people agree that removing "String" will help, maybe we could do
that.  But please note that "String" contrasts with "Regexp" in the
next items; if we remove it, won't that be less clear?

> Finally, find "Search tagged files..." and the following "Repeat" menu
> confusing. What does "tagged files" mean?

Feel free to suggest a better name for the item and/or a better help
string.

> I tried to click it, got a prompt about regex, then prompt about tag
> table (what is it?). Finally, I got error "File ~/TAGS does not
> exist". This made me recall vague memory about Emacs manual talking
> about some kind of completion feature for large code projects -
> something I never used.

Did you try "C-h k" before selecting that?  This would display the
documentation of that command.  It's a canonical way of learning about
menu items that don't explain themselves enough at first reading.  (Of
course if we can make them more self-explanatory, it's better.)

> 1. Menu items do not show the key binding (is in Incremental search
>    menu). I think that showing bindings is generally a great idea for
>    discoverability

If there's no key binding shown in the menu, it means the command
invoked by the menu item doesn't have a key.  When there's a key
binding, the machinery that displays the menu adds them automatically.

> 2. There is currently no way to understand what some unfamiliar menus do
>    except blindly trying.

See above: "C-h k" is the way to understand that.

Thanks.





  reply	other threads:[~2020-09-10 14:59 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-10 14:18 bug#43308: 28.0.50; Improvements to Edit->Search menu Ihor Radchenko
2020-09-10 14:59 ` Eli Zaretskii [this message]
2020-09-10 15:38   ` Stefan Kangas
2020-09-10 15:51     ` Eli Zaretskii
2020-09-10 16:19       ` Stefan Kangas
2020-09-10 16:30         ` Eli Zaretskii
2020-09-10 16:38           ` Eli Zaretskii
2020-09-10 18:36       ` Juri Linkov
2020-09-10 18:45         ` Eli Zaretskii
2020-09-10 19:14           ` Juri Linkov
2020-09-10 19:44             ` Eli Zaretskii
2020-09-20  7:15               ` Ihor Radchenko
2020-09-20  8:10                 ` Eli Zaretskii
2020-09-13 10:08 ` Ihor Radchenko
2022-04-25 10:46 ` Lars Ingebrigtsen
2022-04-25 11:36   ` Eli Zaretskii
2022-04-25 12:10     ` Lars Ingebrigtsen
2022-04-25 15:06   ` Drew Adams
     [not found] <<87zh5xiuk4.fsf@localhost>
     [not found] ` <<831rj9k79b.fsf@gnu.org>
     [not found]   ` <<CADwFkmkvLnNySYVaEUhRzPMZVAfOU13NRp1GudxBmF1iuaxCxQ@mail.gmail.com>
     [not found]     ` <<83sgbpiqa7.fsf@gnu.org>
     [not found]       ` <<87mu1xa380.fsf@mail.linkov.net>
     [not found]         ` <<83imclii71.fsf@gnu.org>
     [not found]           ` <<87wo1178cn.fsf@mail.linkov.net>
     [not found]             ` <<83d02tifi3.fsf@gnu.org>
     [not found]               ` <<87ft7cx6kh.fsf@localhost>
     [not found]                 ` <<83bli027is.fsf@gnu.org>
2020-09-20 16:26                   ` Drew Adams
2020-09-21 19:05                     ` Juri Linkov
2020-09-21 19:29                       ` Andreas Schwab
2020-09-21 19:39                         ` Drew Adams
2020-09-21 19:30                       ` Drew Adams
2020-09-21 21:15                         ` Drew Adams
2020-09-22  8:04                         ` Juri Linkov
2020-09-22 14:19                           ` Eli Zaretskii
2020-09-22 18:10                             ` Juri Linkov
2020-09-22 18:37                               ` Eli Zaretskii
2020-09-22 16:59                           ` Drew Adams
2020-09-22 19:30                             ` bug#43569: 28.0.50; Menu "Continue Tags Search" signals an error Juri Linkov
2020-09-22 20:44                               ` Drew Adams
2020-09-26  8:52                                 ` Eli Zaretskii
2020-09-21 19:44                       ` bug#43308: 28.0.50; Improvements to Edit->Search menu Eli Zaretskii
     [not found]                   ` <<498f6be5-f1ab-4f82-9cf1-ed5893f10ea1@default>
     [not found]                     ` <<87wo0nbln5.fsf@mail.linkov.net>
     [not found]                       ` <<6e21964e-a580-45ef-943f-a8ea97e58eef@default>
     [not found]                         ` <<87sgbadxr9.fsf@mail.linkov.net>
     [not found]                           ` <<090c6fc6-92b9-4604-bb14-e19287dd6685@default>
     [not found]                             ` <<87eemt7gob.fsf_-_@mail.linkov.net>
     [not found]                               ` <<f84e24f3-1f56-452a-b92c-1a3421e62d92@default>
     [not found]                                 ` <<83zh5crkbb.fsf@gnu.org>
2020-09-26 14:53                                   ` bug#43569: 28.0.50; Menu "Continue Tags Search" signals an error Drew Adams
2020-09-26 15:15                                     ` Eli Zaretskii
     [not found] <<<87zh5xiuk4.fsf@localhost>
     [not found] ` <<<831rj9k79b.fsf@gnu.org>
     [not found]   ` <<<CADwFkmkvLnNySYVaEUhRzPMZVAfOU13NRp1GudxBmF1iuaxCxQ@mail.gmail.com>
     [not found]     ` <<<83sgbpiqa7.fsf@gnu.org>
     [not found]       ` <<<87mu1xa380.fsf@mail.linkov.net>
     [not found]         ` <<<83imclii71.fsf@gnu.org>
     [not found]           ` <<<87wo1178cn.fsf@mail.linkov.net>
     [not found]             ` <<<83d02tifi3.fsf@gnu.org>
     [not found]               ` <<<87ft7cx6kh.fsf@localhost>
     [not found]                 ` <<<83bli027is.fsf@gnu.org>
     [not found]                   ` <<<498f6be5-f1ab-4f82-9cf1-ed5893f10ea1@default>
     [not found]                     ` <<<87wo0nbln5.fsf@mail.linkov.net>
     [not found]                       ` <<<6e21964e-a580-45ef-943f-a8ea97e58eef@default>
     [not found]                         ` <<<87sgbadxr9.fsf@mail.linkov.net>
     [not found]                           ` <<<090c6fc6-92b9-4604-bb14-e19287dd6685@default>
     [not found]                             ` <<<87eemt7gob.fsf_-_@mail.linkov.net>
     [not found]                               ` <<<f84e24f3-1f56-452a-b92c-1a3421e62d92@default>
     [not found]                                 ` <<<83zh5crkbb.fsf@gnu.org>
     [not found]                                   ` <<15cf58e4-afc0-4c41-b159-29565724ddb7@default>
     [not found]                                     ` <<83eemor2lx.fsf@gnu.org>
2020-09-26 15:31                                       ` Drew Adams
2020-09-26 15:39                                         ` Eli Zaretskii
2020-09-26 15:45                                           ` Lars Ingebrigtsen
2020-09-26 15:55                                             ` Eli Zaretskii
2020-09-26 16:13                                               ` Lars Ingebrigtsen
2020-09-26 16:27                                                 ` Eli Zaretskii
2020-09-26 18:58                                               ` Kévin Le Gouguec
2020-09-26 19:09                                                 ` Eli Zaretskii
2020-09-26 21:40                                                   ` Lars Ingebrigtsen
2020-09-27 10:22                                                     ` Kévin Le Gouguec
2020-09-27 12:17                                                       ` Lars Ingebrigtsen
2020-09-27 13:00                                                         ` Dmitry Gutov
2020-09-27 13:03                                                           ` Lars Ingebrigtsen
2020-09-26 16:31                                           ` Drew Adams
2020-09-26 16:39                                             ` Eli Zaretskii
     [not found] <<<<87zh5xiuk4.fsf@localhost>
     [not found] ` <<<<831rj9k79b.fsf@gnu.org>
     [not found]   ` <<<<CADwFkmkvLnNySYVaEUhRzPMZVAfOU13NRp1GudxBmF1iuaxCxQ@mail.gmail.com>
     [not found]     ` <<<<83sgbpiqa7.fsf@gnu.org>
     [not found]       ` <<<<87mu1xa380.fsf@mail.linkov.net>
     [not found]         ` <<<<83imclii71.fsf@gnu.org>
     [not found]           ` <<<<87wo1178cn.fsf@mail.linkov.net>
     [not found]             ` <<<<83d02tifi3.fsf@gnu.org>
     [not found]               ` <<<<87ft7cx6kh.fsf@localhost>
     [not found]                 ` <<<<83bli027is.fsf@gnu.org>
     [not found]                   ` <<<<498f6be5-f1ab-4f82-9cf1-ed5893f10ea1@default>
     [not found]                     ` <<<<87wo0nbln5.fsf@mail.linkov.net>
     [not found]                       ` <<<<6e21964e-a580-45ef-943f-a8ea97e58eef@default>
     [not found]                         ` <<<<87sgbadxr9.fsf@mail.linkov.net>
     [not found]                           ` <<<<090c6fc6-92b9-4604-bb14-e19287dd6685@default>
     [not found]                             ` <<<<87eemt7gob.fsf_-_@mail.linkov.net>
     [not found]                               ` <<<<f84e24f3-1f56-452a-b92c-1a3421e62d92@default>
     [not found]                                 ` <<<<83zh5crkbb.fsf@gnu.org>
     [not found]                                   ` <<<15cf58e4-afc0-4c41-b159-29565724ddb7@default>
     [not found]                                     ` <<<83eemor2lx.fsf@gnu.org>
     [not found]                                       ` <<8ceca0dd-a0d8-48bb-992b-41823f7702ac@default>
     [not found]                                         ` <<83blhsr1i7.fsf@gnu.org>
     [not found]                                           ` <<82143311-d8b3-4a96-a103-587e1fedf9dd@default>
     [not found]                                             ` <<83zh5cpk5q.fsf@gnu.org>
2020-09-26 19:32                                               ` Drew Adams
2020-09-26 19:34                                                 ` Eli Zaretskii
     [not found] <<<<<87zh5xiuk4.fsf@localhost>
     [not found] ` <<<<<831rj9k79b.fsf@gnu.org>
     [not found]   ` <<<<<CADwFkmkvLnNySYVaEUhRzPMZVAfOU13NRp1GudxBmF1iuaxCxQ@mail.gmail.com>
     [not found]     ` <<<<<83sgbpiqa7.fsf@gnu.org>
     [not found]       ` <<<<<87mu1xa380.fsf@mail.linkov.net>
     [not found]         ` <<<<<83imclii71.fsf@gnu.org>
     [not found]           ` <<<<<87wo1178cn.fsf@mail.linkov.net>
     [not found]             ` <<<<<83d02tifi3.fsf@gnu.org>
     [not found]               ` <<<<<87ft7cx6kh.fsf@localhost>
     [not found]                 ` <<<<<83bli027is.fsf@gnu.org>
     [not found]                   ` <<<<<498f6be5-f1ab-4f82-9cf1-ed5893f10ea1@default>
     [not found]                     ` <<<<<87wo0nbln5.fsf@mail.linkov.net>
     [not found]                       ` <<<<<6e21964e-a580-45ef-943f-a8ea97e58eef@default>
     [not found]                         ` <<<<<87sgbadxr9.fsf@mail.linkov.net>
     [not found]                           ` <<<<<090c6fc6-92b9-4604-bb14-e19287dd6685@default>
     [not found]                             ` <<<<<87eemt7gob.fsf_-_@mail.linkov.net>
     [not found]                               ` <<<<<f84e24f3-1f56-452a-b92c-1a3421e62d92@default>
     [not found]                                 ` <<<<<83zh5crkbb.fsf@gnu.org>
     [not found]                                   ` <<<<15cf58e4-afc0-4c41-b159-29565724ddb7@default>
     [not found]                                     ` <<<<83eemor2lx.fsf@gnu.org>
     [not found]                                       ` <<<8ceca0dd-a0d8-48bb-992b-41823f7702ac@default>
     [not found]                                         ` <<<83blhsr1i7.fsf@gnu.org>
     [not found]                                           ` <<<82143311-d8b3-4a96-a103-587e1fedf9dd@default>
     [not found]                                             ` <<<83zh5cpk5q.fsf@gnu.org>
     [not found]                                               ` <<3c22f287-5b44-4d8f-a942-a5545b2a1389@default>
     [not found]                                                 ` <<83imc0pc13.fsf@gnu.org>
2020-09-27  1:17                                                   ` Drew Adams
2020-09-27  6:23                                                     ` Eli Zaretskii
     [not found] <<<<<<87zh5xiuk4.fsf@localhost>
     [not found] ` <<<<<<831rj9k79b.fsf@gnu.org>
     [not found]   ` <<<<<<CADwFkmkvLnNySYVaEUhRzPMZVAfOU13NRp1GudxBmF1iuaxCxQ@mail.gmail.com>
     [not found]     ` <<<<<<83sgbpiqa7.fsf@gnu.org>
     [not found]       ` <<<<<<87mu1xa380.fsf@mail.linkov.net>
     [not found]         ` <<<<<<83imclii71.fsf@gnu.org>
     [not found]           ` <<<<<<87wo1178cn.fsf@mail.linkov.net>
     [not found]             ` <<<<<<83d02tifi3.fsf@gnu.org>
     [not found]               ` <<<<<<87ft7cx6kh.fsf@localhost>
     [not found]                 ` <<<<<<83bli027is.fsf@gnu.org>
     [not found]                   ` <<<<<<498f6be5-f1ab-4f82-9cf1-ed5893f10ea1@default>
     [not found]                     ` <<<<<<87wo0nbln5.fsf@mail.linkov.net>
     [not found]                       ` <<<<<<6e21964e-a580-45ef-943f-a8ea97e58eef@default>
     [not found]                         ` <<<<<<87sgbadxr9.fsf@mail.linkov.net>
     [not found]                           ` <<<<<<090c6fc6-92b9-4604-bb14-e19287dd6685@default>
     [not found]                             ` <<<<<<87eemt7gob.fsf_-_@mail.linkov.net>
     [not found]                               ` <<<<<<f84e24f3-1f56-452a-b92c-1a3421e62d92@default>
     [not found]                                 ` <<<<<<83zh5crkbb.fsf@gnu.org>
     [not found]                                   ` <<<<<15cf58e4-afc0-4c41-b159-29565724ddb7@default>
     [not found]                                     ` <<<<<83eemor2lx.fsf@gnu.org>
     [not found]                                       ` <<<<8ceca0dd-a0d8-48bb-992b-41823f7702ac@default>
     [not found]                                         ` <<<<83blhsr1i7.fsf@gnu.org>
     [not found]                                           ` <<<<82143311-d8b3-4a96-a103-587e1fedf9dd@default>
     [not found]                                             ` <<<<83zh5cpk5q.fsf@gnu.org>
     [not found]                                               ` <<<3c22f287-5b44-4d8f-a942-a5545b2a1389@default>
     [not found]                                                 ` <<<83imc0pc13.fsf@gnu.org>
     [not found]                                                   ` <<161e718a-2213-46c8-bc9c-061dfb390e9b@default>
     [not found]                                                     ` <<83a6xbpwky.fsf@gnu.org>
2020-09-27 19:10                                                       ` Drew Adams
2020-09-28  6:00                                                         ` Eli Zaretskii
2022-04-25 15:08                                                           ` Lars Ingebrigtsen

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=831rj9k79b.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=43308@debbugs.gnu.org \
    --cc=yantar92@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).