From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#41862: 27.0.91; Isearch menu added to menu-bar Date: Mon, 15 Jun 2020 18:25:00 -0700 (PDT) Message-ID: <8c473a1d-42d4-4be9-8f8f-8406b4c18c9e@default> References: <7f3588eb-339f-4947-88f0-7ad2fcb6801a@default> <87wo48c55t.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="65617"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41862@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 16 03:26:27 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jl0Mr-000Gvi-8q for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Jun 2020 03:26:25 +0200 Original-Received: from localhost ([::1]:48036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jl0Mq-0001x4-3Z for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Jun 2020 21:26:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jl0MV-0001uv-KL for bug-gnu-emacs@gnu.org; Mon, 15 Jun 2020 21:26:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36303) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jl0MU-0003ku-GU for bug-gnu-emacs@gnu.org; Mon, 15 Jun 2020 21:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jl0MU-0005qc-Bj for bug-gnu-emacs@gnu.org; Mon, 15 Jun 2020 21:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Jun 2020 01:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41862 X-GNU-PR-Package: emacs Original-Received: via spool by 41862-submit@debbugs.gnu.org id=B41862.159227071622416 (code B ref 41862); Tue, 16 Jun 2020 01:26:02 +0000 Original-Received: (at 41862) by debbugs.gnu.org; 16 Jun 2020 01:25:16 +0000 Original-Received: from localhost ([127.0.0.1]:47849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jl0Lj-0005pU-MU for submit@debbugs.gnu.org; Mon, 15 Jun 2020 21:25:15 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:38128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jl0Lh-0005pD-Uh for 41862@debbugs.gnu.org; Mon, 15 Jun 2020 21:25:14 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 05G1HNeC143115; Tue, 16 Jun 2020 01:25:08 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=afeouGbJ42a0/6JQvkyt1CAyelkd9FsEq45htmPSUDw=; b=YqCVtPa93SINPx6NrKlxlui7LmIYx50pdPKTYLKMLNjNnOhyjmoq0rcI8aRDqzrCDaND yOpBO62fZ5TSEKHGQ1+ciLpi5zbDT1U3Y7GKCsjmGhn9VenAue4W2IhIdVjrCp+SpuQ3 ItJxn+WAeVzv3N039t7hToHk2UOlM29S4BKGpfD7cNgvN9Cix+w+EHmGYP2WeMvww9rn CneMjaLaNrZ/WEOv7GDha9SkQbINwH61pA7oFe6ouA7T+nJYiBW7y2fg4POL9j2WYili wxHIyD5cQm55BnzE8DwQTBV34t4/fGzH14R5m7b5Xnj4xurnIovBMLCqgV6viaptDFjZ QQ== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2120.oracle.com with ESMTP id 31p6e5v04d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 16 Jun 2020 01:25:08 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 05G1N3fN074692; Tue, 16 Jun 2020 01:25:07 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3030.oracle.com with ESMTP id 31p6s6defg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 16 Jun 2020 01:25:07 +0000 Original-Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 05G1P18H029088; Tue, 16 Jun 2020 01:25:01 GMT In-Reply-To: <87wo48c55t.fsf@mail.linkov.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5005.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9653 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 malwarescore=0 mlxscore=0 suspectscore=0 mlxlogscore=999 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006160009 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9653 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 adultscore=0 mlxscore=0 phishscore=0 mlxlogscore=999 lowpriorityscore=0 clxscore=1011 suspectscore=0 spamscore=0 bulkscore=0 malwarescore=0 impostorscore=0 cotscore=-2147483648 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006160008 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:182008 Archived-At: > > 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. >=20 > I wonder why are you talking about Isearch only. Doesn't the same > problem exist for other modes, e.g. Dired menu-bar menus are quite long. I think the answer is because I've never run into this problem elsewhere. It's not about the length of the menu-bar (well, that's a precondition for the problem to manifest). It's about the dynamic addition and removal of a menu. For a given window/frame width that shows the whole menu-bar, you don't see the problem. The frame jerking around each time you use `C-s' is a very different story. So yes, the phenomenon isn't specific to Isearch. It's specific to something that adds and removes a menu often, dynamically, I guess. For Isearch, the solution/workaround I suggested is a user option. Let me return to the unannoying old behavior, at least. I don't expect a real solution to the menu-bar wrapping problem anytime soon - that's been longstanding. Please find some good way to mitigate the problem introduced by the Isearch change. Obviously people use Isearch a lot, and adding & removing the menu each time can really be annoying. Perhaps you have a better suggestion. I guess users could maybe customize to always use 2 in their `default-frame-alist' for `menu-bar-lines', but it would be a shame for them to have to do that, I think. Here's maybe another possibility (dunno how reasonable it is): If I use Dired, and then use `M-x' (not in my setup but in `emacs -Q') then menu `Minbuf' gets added dynamically, for the duration of an active minibuffer. But the difference is that other Dired menus are temporarily removed, so there's no frame-jerking menu-bar wrapping. I don't know of other such temporary additions of a menu, but there probably are some. I know of only `Minibuf' and `Isearch'. The problem is only with Isearch, between those two. Maybe Isearch could/should remove some menus while it adds menu `Isearch'? Dunno.