From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#41338: Toolbar-bug in Emacs 27.0.91/Pretest Date: Wed, 20 May 2020 01:01:53 +0300 Organization: LINKOV.NET Message-ID: <87r1vfbn3i.fsf@mail.linkov.net> References: <87ftbzva1f.fsf@rub.de> <877dxb4hzh.fsf@mail.linkov.net> <87mu66i5gl.fsf@mail.linkov.net> <8d5d6374-26f8-49b7-badd-c676c9622ea8@default> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="121758"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 41338@debbugs.gnu.org, Stephen Berman , Konrad Podczeck To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 20 00: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 1jbAgt-000Vab-KJ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 May 2020 00:26:27 +0200 Original-Received: from localhost ([::1]:54470 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jbAgs-00058P-Lm for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 May 2020 18:26:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44228) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jbAgW-0004Rf-0f for bug-gnu-emacs@gnu.org; Tue, 19 May 2020 18:26:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39809) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jbAgV-0001Wl-OQ for bug-gnu-emacs@gnu.org; Tue, 19 May 2020 18:26:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jbAgV-0003ss-LV for bug-gnu-emacs@gnu.org; Tue, 19 May 2020 18:26:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 May 2020 22:26:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41338 X-GNU-PR-Package: emacs Original-Received: via spool by 41338-submit@debbugs.gnu.org id=B41338.158992712414845 (code B ref 41338); Tue, 19 May 2020 22:26:03 +0000 Original-Received: (at 41338) by debbugs.gnu.org; 19 May 2020 22:25:24 +0000 Original-Received: from localhost ([127.0.0.1]:51347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jbAfs-0003rN-B7 for submit@debbugs.gnu.org; Tue, 19 May 2020 18:25:24 -0400 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:36553) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jbAfo-0003qf-Gf for 41338@debbugs.gnu.org; Tue, 19 May 2020 18:25:21 -0400 Original-Received: from mail.gandi.net (m91-129-97-200.cust.tele2.ee [91.129.97.200]) (Authenticated sender: juri@linkov.net) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 6D81D240004; Tue, 19 May 2020 22:25:11 +0000 (UTC) In-Reply-To: <8d5d6374-26f8-49b7-badd-c676c9622ea8@default> (Drew Adams's message of "Mon, 18 May 2020 09:25:38 -0700 (PDT)") 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:180623 Archived-At: > If I use `emacs -Q', in the Emacs 27 pretest > or in Emacs 26.3 or earlier, and if I do this > and then click the `X' icon: > > (define-key special-event-map [delete-frame] > (lambda (&rest ignore) > (interactive) > (message "HHHHHHHHHHHHHH"))) > > I just get the message, as expected. > > (Sorry, haven't been following this thread.) Indeed, clicking the `X' emits the `delete-frame' event. The problem is that no one understand this comment in isearch.el: ;; Pass frame events transparently so they won't exit the search. ;; In particular, if we have more than one display open, then a ;; switch-frame might be generated by someone typing at another keyboard. (define-key map [switch-frame] nil) (define-key map [delete-frame] nil) added in 1995 by 5f48fc17d16.