all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>, 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 08:38:04 -0700	[thread overview]
Message-ID: <CADwFkmkvLnNySYVaEUhRzPMZVAfOU13NRp1GudxBmF1iuaxCxQ@mail.gmail.com> (raw)
In-Reply-To: <831rj9k79b.fsf@gnu.org>

Eli Zaretskii <eliz@gnu.org> writes:

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

I think this is less of a concern these days.

The applications you talk about also have search dialog boxes, which
make the non-incremental search actually useful.

Firefox also has incremental search by default, which many (most?) of
our users will already be familiar with.

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

This is a separate discussion, I think, but on graphical displays I
would ideally like to see a user interface like the one in C-f Firefox.
It shows clickable buttons for next/previous match, toggles for "Match
Case", "Whole Words" and how many matches there are.

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

Alternatively, see my suggestion about doing it like Firefox above.
IMHO, the tool bar is not a place where you would expect to find this.

>> 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?

I think removing it is fine.  Already saying "Regexp" makes it clear
that this is the odd one out.

(IIRC, this is what you find in other software: the regexp case is the
one with a special mention, otherwise it's just called "Search".)

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

We could perhaps move it to a menu related to tags functionality?  Just
an idea.

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

Right.  The problem here is that these commands are specifically
designed to be run from the menu.  Is there any way to work around that?

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

Maybe this should be clarified more in the doc string of C-h k.  I never
realized you can use "C-h k" to find out more about menu options, but I
suppose it makes sense now that you mention it.

Perhaps we could add a special command under the "Help" menu that says
"Help for menu" that when clicked runs C-h k with a special message in
the mini-buffer "Click the menu command you want help for"?





  reply	other threads:[~2020-09-10 15:38 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
2020-09-10 15:38   ` Stefan Kangas [this message]
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=CADwFkmkvLnNySYVaEUhRzPMZVAfOU13NRp1GudxBmF1iuaxCxQ@mail.gmail.com \
    --to=stefankangas@gmail.com \
    --cc=43308@debbugs.gnu.org \
    --cc=eliz@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 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.