all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: 43308@debbugs.gnu.org
Subject: bug#43308: 28.0.50; Improvements to Edit->Search menu
Date: Thu, 10 Sep 2020 22:18:51 +0800	[thread overview]
Message-ID: <87zh5xiuk4.fsf@localhost> (raw)

Following up with "Changes for emacs 28" discussion about improving menu
[1]

Source: http://ergoemacs.org/emacs/modernization_menu.html

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

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.

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. The only apparent advantage is that user would not need
to know that moving to next/prev match is C-s/C-r.

The article suggests to remove the above Search menu items completely
and replace them by incremental search versions.

I would also add that we can show transient next match/previous match
toolbar icons to assist users, unfamiliar with key bindings. Though need
to make sure that these new toolbar icons can be easily associated with
the search process. For example, we may show additional toolbar at the
bottom (above the mini-buffer isearch prompt) with only these two new
toolbar icons (maybe also "exit search" icon).

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".

Finally, find "Search tagged files..." and the following "Repeat" menu
confusing. What does "tagged files" mean? 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.

The above is my actual first impression. The menu seems useless for me,
though may have a value for programmers. However, I have two
suggestions:

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

2. There is currently no way to understand what some unfamiliar menus do
   except blindly trying. As I explained about, it does not always help.
   Probably, Emacs could show some kind of tooltip on top of menu items,
   explaining what it does in more details. Also, it would be cool to be
   able to move to Manual page talking about topic relevant to the menu
   item (on right click?).

Best,
Ihor


[1] https://lists.gnu.org/archive/html/emacs-devel/2020-09/msg00410.html

In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0)
 of 2020-08-15 built on localhost
Repository revision: f712cdbe9e9bdca3d4c7c27e9ac59686ab4c7620
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Gentoo/Linux






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

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-10 14:18 Ihor Radchenko [this message]
2020-09-10 14:59 ` bug#43308: 28.0.50; Improvements to Edit->Search menu Eli Zaretskii
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zh5xiuk4.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=43308@debbugs.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.