From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Konrad Podczeck Newsgroups: gmane.emacs.bugs Subject: bug#55264: A problem with display-buffer-alist Date: Fri, 6 May 2022 02:56:17 +0200 Message-ID: <0A916706-9939-4222-9F15-4213D52B5B95@univie.ac.at> References: <0E75652A-EA78-4E28-833E-9DE9D6F18920@univie.ac.at> <83ilqk346f.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_E123F926-4888-452E-B5DF-38CC64862812" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18464"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55264@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 06 02:57:11 2022 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 1nmmHP-0004en-Hx for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 May 2022 02:57:11 +0200 Original-Received: from localhost ([::1]:54250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmmHN-0005n8-JQ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 May 2022 20:57:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmmHG-0005mw-KS for bug-gnu-emacs@gnu.org; Thu, 05 May 2022 20:57:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52870) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmmHG-0004mv-C8 for bug-gnu-emacs@gnu.org; Thu, 05 May 2022 20:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nmmHG-0005fd-8k for bug-gnu-emacs@gnu.org; Thu, 05 May 2022 20:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Konrad Podczeck Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 May 2022 00:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55264 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 55264-submit@debbugs.gnu.org id=B55264.165179858321750 (code B ref 55264); Fri, 06 May 2022 00:57:02 +0000 Original-Received: (at 55264) by debbugs.gnu.org; 6 May 2022 00:56:23 +0000 Original-Received: from localhost ([127.0.0.1]:46767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmmGc-0005ek-Or for submit@debbugs.gnu.org; Thu, 05 May 2022 20:56:23 -0400 Original-Received: from grace.univie.ac.at ([131.130.3.115]:34832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmmGa-0005ea-MN for 55264@debbugs.gnu.org; Thu, 05 May 2022 20:56:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev2; h=References:To:Cc:In-Reply-To:Date:Subject: Mime-Version:Content-Type:Message-Id:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=uGAv06iA6lMeO+xeWueee2u7Qk0Vmfj+8NOEDkL+OmI=; b=kJowobh4j9GSTB5Z2woLmHTI0I RLJjfVDvlrQXjfSi8kxpW3CQS2Zgcj9vyY42LX9JzzO5OBxOvY8gEOqsNZeL6n4FA5PHsRQuwxMA0 1J5ytuDiz6kSk6QB3A561uYjfYC9ZeUNx0KdOH/fEYDtXGKbNfqdSoBojNAsR1Y+EJwU=; Original-Received: from joan.univie.ac.at ([131.130.3.110] helo=joan.univie.ac.at) by grace.univie.ac.at with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.95) (envelope-from ) id 1nmmGY-007unD-2w; Fri, 06 May 2022 02:56:18 +0200 Original-Received: from 217-149-174-43.nat.highway.telekom.at ([217.149.174.43] helo=smtpclient.apple) by joan.univie.ac.at with esmtpsa (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) (envelope-from ) id 1nmmGX-00GL5C-Tx; Fri, 06 May 2022 02:56:18 +0200 In-Reply-To: <83ilqk346f.fsf@gnu.org> X-Mailer: Apple Mail (2.3696.80.82.1.1) X-Univie-Virus-Scan: scanned by ClamAV on joan.univie.ac.at 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:231469 Archived-At: --Apple-Mail=_E123F926-4888-452E-B5DF-38CC64862812 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Reversing commit (by Po Lu) 5adc84a27b86cdbd048ee3ebc023549c928f7425 = (both in nsmenu.m and in tooltip.el) solved the problem. Konread > Am 05.05.2022 um 08:05 schrieb Eli Zaretskii : >=20 >> From: Konrad Podczeck >> Date: Thu, 5 May 2022 01:25:44 +0200 >>=20 >> With a fresh build, I have the following problem: >>=20 >> Make an init file just containing the lines: >>=20 >> (setq >> display-buffer-base-action >> '((display-buffer-reuse-window display-buffer-pop-up-frame) >> (reusable-frames . t)) >> display-buffer-alist >> '(("[.]" >> (display-buffer-reuse-window display-buffer-pop-up-frame) >> (pop-up-frame-parameters >> (left . 100) >> )))) >>=20 >>=20 >> Start the app. Open any file, say foo.tex, and do "M-x >> context-menu-mode". In the frame showing foo.tex, scroll a bit. Then, >> using the mouse, select some text and use the right mouse button to = open >> the context menu. If I try to choose any item in the context menu, = the >> app quits unexpectedly. This quitting is not registered as a crash by >> the OS. >=20 > Seems to be specific to macOS? I cannot reproduce here. --Apple-Mail=_E123F926-4888-452E-B5DF-38CC64862812 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Reversing commit (by Po Lu) = 5adc84a27b86cdbd048ee3ebc023549c928f7425 (both in nsmenu.m and in = tooltip.el) solved the problem.

Konread

Am = 05.05.2022 um 08:05 schrieb Eli Zaretskii <eliz@gnu.org>:

From: = Konrad Podczeck <konrad.podczeck@univie.ac.at>
Date: Thu, = 5 May 2022 01:25:44 +0200

With a fresh = build, I have the following problem:

Make = an init file just containing the lines:

(setq
display-buffer-base-action
'((display-buffer-reuse-window = display-buffer-pop-up-frame)
(reusable-frames . t))
display-buffer-alist
'(("[.]"
(display-buffer-reuse-window display-buffer-pop-up-frame)
(pop-up-frame-parameters
(left . 100)
))))


Start the = app. Open any file, say foo.tex, and do "M-x
context-menu-mode". In the frame showing foo.tex, scroll a = bit. Then,
using the mouse, select some text and use the = right mouse button to open
the context menu. If I try to = choose any item in the context menu, the
app quits = unexpectedly. This quitting is not registered as a crash by
the OS.

Seems to be specific to macOS? I cannot reproduce = here.

= --Apple-Mail=_E123F926-4888-452E-B5DF-38CC64862812--