unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 41862@debbugs.gnu.org
Subject: bug#41862: 27.0.91; Isearch menu added to menu-bar
Date: Sun, 14 Jun 2020 15:05:23 -0700 (PDT)	[thread overview]
Message-ID: <7f3588eb-339f-4947-88f0-7ad2fcb6801a@default> (raw)

Starting with Emacs 27, `isearch-mode-map'
includes`isearch-menu-bar-map', which adds menu `Isearch' to the
menu-bar.

This should at least be optional, via user option (not requiring a user
to fiddle with keymaps).

emacs -Q

1. Resize the frame with your mouse, to make it narrower - just wide
enough to show the existing menu-bar menu names.

2. `C-s'

This causes the frame to be redisplayed to add menu-bar menu `Isearch',
which, in effect, moves everything down a line visually, because it
causes the menu-bar to wrap (since the frame was only wide enough to
show the menu-bar without the added `Isearch'.

3. `C-g', or otherwise end Isearch.

This causes the frame to be redisplayed to remove menu-bar menu
`Isearch', with the inverse jarring redisplay.

This behavior is intolerable.  At least let users disable it easily,
with an option.  A better solution than that should be found, but until
then, please at least do that.

The added user option might be only binary: (dis)allow menu `Isearch'.
Or it might have a third value that lets menu `Isearch' be added only if
there's room for it without wrapping.  In that case, the doc needs to be
very clear, so users don't wonder why `Isearch' may sometimes appear and
sometimes not.

If this jarring behavior is platform-dependent, the consider taking care
of it only for platforms where it manifests.  It's a problem for MS
Windows, at least.

In GNU Emacs 27.0.91 (build 1, x86_64-w64-mingw32)
 of 2020-04-20
Repository revision: c36c5a3dedbb2e0349be1b6c3b7567ea7b594f1c
Windowing system distributor `Microsoft Corp.', version 10.0.18362
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static''





             reply	other threads:[~2020-06-14 22:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-14 22:05 Drew Adams [this message]
2020-06-15 22:53 ` bug#41862: 27.0.91; Isearch menu added to menu-bar Juri Linkov
2020-06-16  1:25   ` Drew Adams
2021-06-13 11:15 ` Lars Ingebrigtsen
2021-06-13 14:53   ` bug#41862: [External] : " Drew Adams

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=7f3588eb-339f-4947-88f0-7ad2fcb6801a@default \
    --to=drew.adams@oracle.com \
    --cc=41862@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 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).