From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 16 02:30:19 2020 Received: (at submit) by debbugs.gnu.org; 16 Jun 2020 06:30:19 +0000 Received: from localhost ([127.0.0.1]:48048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jl56x-0005CO-FF for submit@debbugs.gnu.org; Tue, 16 Jun 2020 02:30:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:45328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jl56u-0005CE-PT for submit@debbugs.gnu.org; Tue, 16 Jun 2020 02:30:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jl56u-0007RX-I4 for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2020 02:30:16 -0400 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]:36566) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jl56t-0002tK-1u for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2020 02:30:16 -0400 Received: by mail-pf1-x430.google.com with SMTP id x22so9024933pfn.3 for ; Mon, 15 Jun 2020 23:30:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:reply-to:date:message-id:mime-version; bh=vvh7jzdETigzMli36a5CGChtjbPLv1gWF0NBniSdKpw=; b=eI7Qv8anUWMuw04jtFrTK41Y76CPY2oFbwNsYFGhPFIoFrqWs5YHMCncSCa+sF0Jab /J69D2TJk/J1fv6nSW4pKlqETi7aa5Rbw5qIFI9nuKmjpIvOSvAKmeZv4A6nN81zlYnn I/QUzS8Wr4KZJ+e/+HGl6P5DARJJXi2Eailu9vSMw6ymjVSlMO1stIwezw+I7IjOKj1m iq6tPwpVdhoYJRaJtU+ETPn9HZd2SE019mPka2P5T6lQDyNm28v9hKf1lkuwkIZt0ndY 6cwJ9BehM7D6WV+Dyl9ulromhe34IxK4YlufW6qmUMyKsKI9F2eKBzaXTM9nxg0EI97z 4L4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:reply-to:date:message-id :mime-version; bh=vvh7jzdETigzMli36a5CGChtjbPLv1gWF0NBniSdKpw=; b=ZMriC7YDOcKYTGwlqJbm4EcWQ4Sv7sxp91c4t0fwf/cNiJ3iNf+HnGBYkTdUB3Y2Ei w9+MbPf+LlnP3EdagP6td+L7ALFiATpSUvNrIKDvmJRP8PpMNO0J/Ipf5ofq6lM/jHsK IcamBj8sYbv7d472r6KU/Cl3WPlJoDB7SDIgra4OcWWS0gQGn+MwMvMy4cJCC/mywKEo jCA5A6RM/LQxHyKxB0OleAEiIRRuXoSlMSQ1DJDAfRWESyLsgG+62mABUCVufimWhWHw vuWaprNoHOoBiQhaG5nz/NypPxph6Jdfa4fvN6w+v7F0yISlZMH51CXnXoW3IdOf1bNQ MOQQ== X-Gm-Message-State: AOAM532MRxxs3UeWjF5bnUW7RMBx1QAWwsqgb5FeSu830zSy74f/4esI mOC9KXCR5G1lp2OhuZO1PKw= X-Google-Smtp-Source: ABdhPJw7Fo0U9dntUUP+sHWIQ+JNZ0pal9SV0SDXk/jX5PhRUrLVJcURH1HH0UppQE5gUuTd78ML+A== X-Received: by 2002:a63:482:: with SMTP id 124mr959281pge.169.1592289011532; Mon, 15 Jun 2020 23:30:11 -0700 (PDT) Received: from kimr-laptop ([2601:1c0:6801:94c0:e4be:25b6:176a:de6a]) by smtp.gmail.com with ESMTPSA id gp4sm1287316pjb.26.2020.06.15.23.30.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jun 2020 23:30:10 -0700 (PDT) From: Richard Kim To: bug-gnu-emacs@gnu.org Subject: 27.0.91; fix ACTION argument of display-buffer Date: Mon, 15 Jun 2020 23:30:08 -0700 Message-ID: <87366vv7yn.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::430; envelope-from=emacs18@gmail.com; helo=mail-pf1-x430.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, FREEMAIL_REPLYTO_END_DIGIT=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: gud-common-init function in emacs 27 seems to have a bug in how it calls display-buffer. The second argument passed is ACTION. According to docstring of display-buffer, the list of functions need to b [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (emacs18[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (emacs18[at]gmail.com) 0.2 FREEMAIL_REPLYTO_END_DIGIT Reply-To freemail username ends in digit (emacs18[at]gmail.com) 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: x.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [209.51.188.17 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 2.0 SPOOFED_FREEMAIL No description available. X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: emacs18@gmail.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.8 (-) --=-=-= Content-Type: text/plain gud-common-init function in emacs 27 seems to have a bug in how it calls display-buffer. The second argument passed is ACTION. According to docstring of display-buffer, the list of functions need to be a list within a list. The attached patch adds the missing extra pair of parenthesis. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-fixed-ACTION-argument-of-display-buffer-call.patch Content-Description: fix one display-buffer call >From f89f87c6997fe26b4d8859dafd85c886c753a5c6 Mon Sep 17 00:00:00 2001 From: Richard Kim Date: Mon, 15 Jun 2020 23:20:57 -0700 Subject: [PATCH] fixed ACTION argument of display-buffer call --- lisp/progmodes/gud.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index d5fd1dce6f..540bc9ce7f 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -2621,9 +2621,9 @@ comint mode, which see." (select-window (display-buffer (get-buffer-create (concat "*gud" filepart "*")) - '(display-buffer-reuse-window - display-buffer-in-previous-window - display-buffer-same-window display-buffer-pop-up-window))) + '((display-buffer-reuse-window + display-buffer-in-previous-window + display-buffer-same-window display-buffer-pop-up-window)))) (when (and existing-buffer (get-buffer-process existing-buffer)) (error "This program is already being debugged")) ;; Set the dir, in case the buffer already existed with a different dir. -- 2.25.1 --=-=-= Content-Type: text/plain In GNU Emacs 27.0.91 (build 8, x86_64-pc-linux-gnu, GTK+ Version 3.24.18) of 2020-06-12 built on kimr-laptop Repository revision: 22f4fba8a903874ba63f8f479fa40b1dfe12850f Repository branch: emacs-27 Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Ubuntu 20.04 LTS Recent messages: Saving file /home/kimr/repos/e/emacs/lisp/progmodes/gud.el... Wrote /home/kimr/repos/e/emacs/lisp/progmodes/gud.el ~/repos/e/emacs/lisp/progmodes Quit Mark set [2 times] Using try-expand-line No further expansions found No expansion found [5 times] Quit Mark set [5 times] Configured using: 'configure '--program-transform-name=s/^ctags$/ctags.emacs/' --with-file-notification=yes --with-imagemagick --with-modules --with-pdumper=yes --with-sound=yes --with-x-toolkit=yes --with-xml2 --without-compress-install --with-gif=no --prefix /home/kimr/opt/emacs27/20200612 CFLAGS=-O3' Configured features: XPM JPEG TIFF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS PDUMPER LCMS2 GMP --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 20 10:58:12 2020 Received: (at 41888) by debbugs.gnu.org; 20 Jun 2020 14:58:12 +0000 Received: from localhost ([127.0.0.1]:58620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jmewe-0003nV-Bj for submit@debbugs.gnu.org; Sat, 20 Jun 2020 10:58:12 -0400 Received: from mail-io1-f54.google.com ([209.85.166.54]:40413) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jmewc-0003nI-8u for 41888@debbugs.gnu.org; Sat, 20 Jun 2020 10:58:10 -0400 Received: by mail-io1-f54.google.com with SMTP id q8so14673565iow.7 for <41888@debbugs.gnu.org>; Sat, 20 Jun 2020 07:58:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=M2AgyXETPjn29wwTxwbRYoLPeM6LzvQg3U0/mYAYbqA=; b=O3EdgXC6Ptp6uXA6LTKM4D2gB3rOwsbqKvGlqFB3nf194plV3qOi4r2SzD6p+ntOo7 VLOUwsfcrXKLo8pjR+J6Qk1q0I/UsqjBMmjHpU5TqcdfE2LDFJDV7S1SUBC+Wk7ooJp2 0UTTdZ95mgbIJPG3MCgMxJhoZe80JPGBZSf/vHKCG26oEAoNOQyoe8HHOGpKJYWbzrR+ BDTQ9/flCsqH41HL11dMdafFONwWopjYtBJ5oOq7TK7gjCzxJ8HlTfnFYo+KsATMEp0s yqaunZW3NX+U/M8Hwi6xjxwhyokjONeZ7HS/pKo5JPEcSki32dzkIbNblm22yJ0+xMir 2+jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=M2AgyXETPjn29wwTxwbRYoLPeM6LzvQg3U0/mYAYbqA=; b=LT3AI1K3QaeHZKSVwz5OGLhYF/bbkh0wF97i0d27GFHvfdRDdyivfm5moGaivQRbi3 dBVa8Dc+uqENFsMWls+y3KU5oXtwNaLh0UVC8YvZ/aRBtbwzSxOdQkPit6rsImD1Vn1Q dXEziS1Wh9P+oYcVpLt5+GVDkPWQ+PC6fuvJqyspVKQxxIA66KfrBo82AgGWV7vD7dLY 70yiW9bWlWhkpnM0hg6I+rI3tYw355FIo8dOQKx6LrnZyt2DWgCK3YENTVCzDreIugOo bQd1nfaGFNE/B4txWuuTdos81k+9crJ64Ad9tZtYfgBHqga7m5u+B9k8LmAKblNGUXdt mZgw== X-Gm-Message-State: AOAM531h08grnbedbcvvmeQI6ebzJSpbAdS3a7TGHi/vd+ZxUbk3zBE6 cdUv8y1GxmAKjFRTAg863pDpoghWLBDNpX9DkRhown69 X-Google-Smtp-Source: ABdhPJwqN5Dt4c0fYMuZ7kV51bJPV0Ug2rps1QwmhBgWZfzCMRF/bUKKpmi7ahnr5qihyqVc2UQBXVQRoQI3i2nfCcQ= X-Received: by 2002:a02:a401:: with SMTP id c1mr8643076jal.55.1592665084193; Sat, 20 Jun 2020 07:58:04 -0700 (PDT) MIME-Version: 1.0 From: Richard Kim Date: Sat, 20 Jun 2020 07:57:53 -0700 Message-ID: Subject: further explanation of the patch against gud.el To: 41888@debbugs.gnu.org Content-Type: multipart/alternative; boundary="00000000000096eff505a8853c4d" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 41888 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --00000000000096eff505a8853c4d Content-Type: text/plain; charset="UTF-8" Let me explain my understanding of the problem and my rationale for the patch I emailed to emacs list. Emacs 27 has the following code in `gud.el' starting around line 2622: ,---- | (display-buffer | (get-buffer-create (concat "*gud" filepart "*")) | '(display-buffer-reuse-window | display-buffer-in-previous-window | display-buffer-same-window display-buffer-pop-up-window)) `---- The patch I emailed to emacs list is to add extra pair of parenthesis like this: ,---- | (display-buffer | (get-buffer-create (concat "*gud" filepart "*")) | '((display-buffer-reuse-window | display-buffer-in-previous-window | display-buffer-same-window display-buffer-pop-up-window))) `---- The change affects the second argument passed to `display-buffer' function, i.e., the `ACTION' argument. The doc-string for this argument is quoted here: Optional argument ACTION, if non-nil, should specify a buffer display action of the form (FUNCTIONS . ALIST). FUNCTIONS is either an "action function" or a possibly empty list of action functions. ALIST is a possibly empty "action alist". The question is the syntax of `FUNCTIONS' portion of `ACTION' argument. The doc-string clearly says that `FUNCITONS' is either a function or a list of functions. If `FUNCTIONS' is a list such as `(f1 f2 f3)', then `ACTION' should be something like `((f1 f2 f3))' assuming that `ALIST' is `nil'. Well the list of functions is surrounded by two pairs of parenthesis rather than one pair. This observation along with the fact that adding the extra pair of parenthesis allows me to launch `gdb' is the reason why I sent the patch to emacs list. --00000000000096eff505a8853c4d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Let me explain my understanding of the problem and my rati= onale for the
patch I emailed to emacs list.

Emacs 27 has the fol= lowing code in `gud.el' starting around line 2622:

,----
| = =C2=A0 =C2=A0 =C2=A0(display-buffer
| =C2=A0 =C2=A0 =C2=A0 (get-buffer-c= reate (concat "*gud" filepart "*"))
| =C2=A0 =C2=A0 = =C2=A0 '(display-buffer-reuse-window
| =C2=A0 =C2=A0 =C2=A0 =C2=A0 d= isplay-buffer-in-previous-window
| =C2=A0 =C2=A0 =C2=A0 =C2=A0 display-b= uffer-same-window display-buffer-pop-up-window))
`----

The patch = I emailed to emacs list is to add extra pair of parenthesis
like this:
,----
| =C2=A0 =C2=A0 =C2=A0(display-buffer
| =C2=A0 =C2=A0 =C2= =A0 (get-buffer-create (concat "*gud" filepart "*"))| =C2=A0 =C2=A0 =C2=A0 '((display-buffer-reuse-window
| =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0display-buffer-in-previous-window
| =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0display-buffer-same-window display-buffer-pop-up-wi= ndow)))
`----

The change affects the second argument passed to `d= isplay-buffer'
function, i.e., the `ACTION' argument. The doc-st= ring for this argument
is quoted here:

=C2=A0 =C2=A0 =C2=A0 Optio= nal argument ACTION, if non-nil, should specify a
=C2=A0 =C2=A0 =C2=A0 b= uffer display action of the form (FUNCTIONS . ALIST).
=C2=A0 =C2=A0 =C2= =A0 FUNCTIONS is either an "action function" or a possibly empty<= br>=C2=A0 =C2=A0 =C2=A0 list of action functions. ALIST is a possibly empty= "action
=C2=A0 =C2=A0 =C2=A0 alist".

The question is t= he syntax of `FUNCTIONS' portion of `ACTION' argument.
The doc-s= tring clearly says that `FUNCITONS' is either a function or a
list o= f functions. If `FUNCTIONS' is a list such as `(f1 f2 f3)', then`ACTION' should be something like `((f1 f2 f3))' assuming that `AL= IST'
is `nil'. Well the list of functions is surrounded by two p= airs of
parenthesis rather than one pair.

This observation along = with the fact that adding the extra pair of
parenthesis allows me to lau= nch `gdb' is the reason why I sent the patch
to emacs list.
--00000000000096eff505a8853c4d-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 27 03:41:42 2020 Received: (at 41888) by debbugs.gnu.org; 27 Jun 2020 07:41:42 +0000 Received: from localhost ([127.0.0.1]:43430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jp5T4-0006J3-9N for submit@debbugs.gnu.org; Sat, 27 Jun 2020 03:41:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jp5T0-0006Io-Mb for 41888@debbugs.gnu.org; Sat, 27 Jun 2020 03:41:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53934) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jp5Su-0001bQ-R1; Sat, 27 Jun 2020 03:41:32 -0400 Received: from [176.228.60.248] (port=3601 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jp5Su-0007G7-1F; Sat, 27 Jun 2020 03:41:32 -0400 Date: Sat, 27 Jun 2020 10:41:17 +0300 Message-Id: <83y2o92bxe.fsf@gnu.org> From: Eli Zaretskii To: emacs18@gmail.com, martin rudalics In-Reply-To: <87366vv7yn.fsf@gmail.com> (message from Richard Kim on Mon, 15 Jun 2020 23:30:08 -0700) Subject: Re: bug#41888: 27.0.91; fix ACTION argument of display-buffer References: <87366vv7yn.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41888 Cc: 41888@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Richard Kim > Date: Mon, 15 Jun 2020 23:30:08 -0700 > > gud-common-init function in emacs 27 seems to have a bug in how it calls > display-buffer. The second argument passed is ACTION. According to > docstring of display-buffer, the list of functions need to be a list > within a list. The attached patch adds the missing extra pair of > parenthesis. Martin, any comments or suggestions? From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 27 22:41:24 2020 Received: (at 41888) by debbugs.gnu.org; 28 Jun 2020 02:41:24 +0000 Received: from localhost ([127.0.0.1]:44896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpNFz-0007gE-Jr for submit@debbugs.gnu.org; Sat, 27 Jun 2020 22:41:23 -0400 Received: from mail-il1-f173.google.com ([209.85.166.173]:44004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpNFw-0007g0-3K for 41888@debbugs.gnu.org; Sat, 27 Jun 2020 22:41:21 -0400 Received: by mail-il1-f173.google.com with SMTP id i18so11680065ilk.10 for <41888@debbugs.gnu.org>; Sat, 27 Jun 2020 19:41:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=mHCR+ER5aSZk0o6O/5M1yBEDlIzFCtWGSY7ARnlQClM=; b=FmRsJEvpDhPopvXYAj+ZRoHr3zzyTbZLSOCc6l1WY0rVF2v7GTYS0oX36gDaq8bUSs Wjav+04fYEZonkQz7Ms5JJgP19TgwlM/oXOogF3UoSpbwSYgndBG0hQeQBls7/rIsRyu zltMV+zLWTo2wEM8zv/3EwrKeU7s5rNs9s7Mr7Z9AP88oihQ9WMitFmKxk24VQCgXnWD 3OA6/f58mkiKy2+FzIA9WEPh+2EoKmg/6CwmyX8ZH6UyAhogAT9W/5FygZx4Qw3NJs77 hxWRiNDHI9NGM5no268xyPbCR7TtPMYik53gZBzYGhRNpt77Wqd6MNBAVMVA4yvMLpMv V70g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=mHCR+ER5aSZk0o6O/5M1yBEDlIzFCtWGSY7ARnlQClM=; b=ZugM+NI+HmvIhSWJD3m4FppudUtR5ViJZ5KT9U3TtymyL9IvGGeFNOaIA/knb4Jil2 NbFSWzZ8H+fu2jJM6155v72vDXc8D/i/hO8hVUsVfH17ftr9oQqr+DNciL8nK/K9zkIf ztsIsLcG8FyiVZXHhTkQ9bgOtPgisDFHfkLxxq0T/V1uI4bTe3ChVRhjPQIOIHX+BU9U amOotmJVTpitlmLzM2Ji3xVUs8qJ9CILklGmZZ6zOY7Bcan20ca7nQFASzaYL1ictAss fykhZv3bSMZumZ/AIPN00mo+sJcutbAhK11FdSq+q9XLOdvlUEso4TbpSu9AB2g+cON2 yMYg== X-Gm-Message-State: AOAM530JoQMLvngg1qB9/wfWUODFo0jNW5JdjM21McMbI73PpSvdreM0 cxL3qWR1sFsvnXeqn4GsX4XKJg0ozHqhneiU6QP4h0Ut X-Google-Smtp-Source: ABdhPJyT/GxGg6LlLIQEDxFXET1To8+vLrI74+e680akyYZYzX2Zi8iXJhQqUFYmMjgLUzdZTvX66x3AQS/h/IoVAok= X-Received: by 2002:a92:8544:: with SMTP id f65mr10520700ilh.42.1593312074232; Sat, 27 Jun 2020 19:41:14 -0700 (PDT) MIME-Version: 1.0 From: Richard Kim Date: Sat, 27 Jun 2020 19:41:03 -0700 Message-ID: Subject: gdb does not work with spacemacs on emacs 27 To: 41888@debbugs.gnu.org Content-Type: multipart/alternative; boundary="00000000000033772b05a91be03e" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 41888 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --00000000000033772b05a91be03e Content-Type: text/plain; charset="UTF-8" Without the patch I provided before, gdb fails to star on spacemacs as reported via https://github.com/syl20bnr/spacemacs/issues/13693 The root cause is that gdb problem is exposed when window-purpose package is used. For details see https://github.com/bmag/emacs-purpose/issues/163 --00000000000033772b05a91be03e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Without the patch I provided before, gdb fails to sta= r on spacemacs as reported via

The root cause is that gdb problem is= exposed when window-purpose package is used.=C2=A0 For details see

--00000000000033772b05a91be03e-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 28 02:38:07 2020 Received: (at 41888) by debbugs.gnu.org; 28 Jun 2020 06:38:07 +0000 Received: from localhost ([127.0.0.1]:45048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpQx5-0005IE-Hp for submit@debbugs.gnu.org; Sun, 28 Jun 2020 02:38:07 -0400 Received: from mout.gmx.net ([212.227.15.15]:35159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpQx3-0005Hi-A2 for 41888@debbugs.gnu.org; Sun, 28 Jun 2020 02:38:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1593326278; bh=46BbauAehpJKhc+IRRFu5OIpDG9LVU1KDKOJ2FnMQZc=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=iODl4t8dCTT7j6U/+neR/XYhjFT3bHUDp38ehqoKFkqktF3hLwJ5JO+AssmNKePhp VRbMPnYmUjcQRP6HWMxba4JotQIOLsAXBg8V9MNsmcdrhoeHNUz/dMxp6iCiSRhwok iWxhk1Ha4cd5aCCsvzRyvaUzAXn132xoonyChYAg= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.101] ([212.95.5.30]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MYNNo-1jLCUu175e-00VLvF; Sun, 28 Jun 2020 08:37:58 +0200 Subject: Re: bug#41888: 27.0.91; fix ACTION argument of display-buffer To: Eli Zaretskii , emacs18@gmail.com References: <87366vv7yn.fsf@gmail.com> <83y2o92bxe.fsf@gnu.org> From: martin rudalics Message-ID: <95a53ada-9a22-b498-9bf5-4ef5596862b9@gmx.at> Date: Sun, 28 Jun 2020 08:37:56 +0200 MIME-Version: 1.0 In-Reply-To: <83y2o92bxe.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:xHFpjfjivxJ3OpJjNWY01r3IdzUYGAT4j8fiymaJ2l0aKJx3+AT rUi5ml64Zn58PpJYpfZaxCRV+q0HqMc2/yJSuGrL1xYvGJFlPeZrkDOMs6GVI7dvtPxwYBP Kgg248bc4U28NmjrmWYYQC9ElyZMuIpUxVN3Avhvq2gEyp3xGOmJCdTP16kanAyY+p8ntjp eQbOExOoloJy7vUsZIY7w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:MhW45IWA15o=:v8E8rB9wFTG2wqRt7FmOZ8 C+mY/ofwlmGAFodmMrdqBEkPa0JUD9ZXY5L6aiUOXxr+Xf1yzX0WJVInqjvvwwUzr2JrwnsG2 BdlfUvwmIkr35CeLh9LL2xk7cqepZssGv0uI7bHqRoi/h+WNIbGORpt+bAXSSAYHdhh1ejcot AZSpxCfTRCqTp/mlFLX6/DSulujgWvQA8rqILtraFsm/dGFI51U3b7nlrGm30QTgrF1LhlLNy CriZK+0TdS8UYg7XgxB8TT1r+3gR/FvFbdlfFwCtDRHzuUtjX2+KZGMLyC9cWo9CDVjSK+yg1 obf6vlCfBtayU40AmrG+D6vCNuTEEAx9lFUjMH4dS4bUhlUiml1JxlnaAV6sluitubNsWhgvs ND/GRyhvBh3DfII1KgtXoyxfeOfljVG7wvXlNyVy/vgV6F3dnjTZW0Eh3dCZME5+l/KtIXyXW gw9yNvipIxun+UGRjv3bvMNvfFykSAmsW7+eaH1g9SOdvN9dfIH0w/zLXPKLTW16W83C2NmCq yHl5scwFfK2wEtcZf58v9+qiiaMNPfSII3+NwZydK0I5uL9hfgnXB0ITKUA718KPmW0OEhhg/ 4w3LrasPEBMYNLdv+0Ntt12zx1mn/w0xiePeALFUAejEIVw1aKKl1hKyib5PIeJk5rDMRh44O Plrh6JYjKdvI0Zi+Xmxy6yPFHT8AEUGMXSdkoMVwunYnh3iCatSjiSNiwZVnKCmB9gy4qSPIA lCTqmobJ5y+3TShf91mb4KtLRa6C4DtrrYy2hBy4Mj5KbkctKkD/PgDmM+4epL8xGVLjQxEzj LF5cumEj/GcdWapL+C8UxXdholJ2h4KmTXSjvGyEh3jAPRrMzTUiul6R7ik6dfyCVPpr9hHeH YA4FgBNaIcdKBlG7OuBcqId8I8HUqqzzaU5bCzyDfTYrCKZ7B17jkgz2vXKk7DX0Fs3gIeRBl 2gVFeL/bqmi1i/KxNi5H+NRkSEgEo9z04DIkzKS3vh/4yyYvGHbIYsfYbsiaXW1RjoWFHCEBK n9snJiclVxCX1rZmDd6McZg2O+/qlqgfi465tpcObqdMPz/FbFwfanK0HxTCJ7T/RG3FkSCNo Ux2/kfOAgZEPPeSTERuGM7VYp3H9IGFLMZJvhVO3dA4+lTrBIwBVXy4ThOVP0JVumMZbYB22u hEYCixUzZnv4hyLxYS8oRBgCu9P7GrIepbZSYoVcXCYqLbuaPfyr4xUQb9HAh0XFpiAE2ZL2c /ycnk+NlmruivD0iu X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 41888 Cc: 41888@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >> gud-common-init function in emacs 27 seems to have a bug in how it calls >> display-buffer. The second argument passed is ACTION. According to >> docstring of display-buffer, the list of functions need to be a list >> within a list. The attached patch adds the missing extra pair of >> parenthesis. > > Martin, any comments or suggestions? I think that Richard is right and his patch will fix the problem. martin From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 28 10:07:08 2020 Received: (at 41888-done) by debbugs.gnu.org; 28 Jun 2020 14:07:08 +0000 Received: from localhost ([127.0.0.1]:46754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpXxb-0001tz-U8 for submit@debbugs.gnu.org; Sun, 28 Jun 2020 10:07:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpXxZ-0001tW-SW for 41888-done@debbugs.gnu.org; Sun, 28 Jun 2020 10:07:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43063) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jpXxU-0002bh-Cd; Sun, 28 Jun 2020 10:07:00 -0400 Received: from [176.228.60.248] (port=4497 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jpXxT-00037a-Or; Sun, 28 Jun 2020 10:07:00 -0400 Date: Sun, 28 Jun 2020 17:06:47 +0300 Message-Id: <83imfb2sjs.fsf@gnu.org> From: Eli Zaretskii To: martin rudalics In-Reply-To: <95a53ada-9a22-b498-9bf5-4ef5596862b9@gmx.at> (message from martin rudalics on Sun, 28 Jun 2020 08:37:56 +0200) Subject: Re: bug#41888: 27.0.91; fix ACTION argument of display-buffer References: <87366vv7yn.fsf@gmail.com> <83y2o92bxe.fsf@gnu.org> <95a53ada-9a22-b498-9bf5-4ef5596862b9@gmx.at> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41888-done Cc: 41888-done@debbugs.gnu.org, emacs18@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 41888@debbugs.gnu.org > From: martin rudalics > Date: Sun, 28 Jun 2020 08:37:56 +0200 > > >> gud-common-init function in emacs 27 seems to have a bug in how it calls > >> display-buffer. The second argument passed is ACTION. According to > >> docstring of display-buffer, the list of functions need to be a list > >> within a list. The attached patch adds the missing extra pair of > >> parenthesis. > > > > Martin, any comments or suggestions? > > I think that Richard is right and his patch will fix the problem. Thanks, pushed to the emacs-27 branch. Richard, in the future please accompany your changes with a ChangeLog-style commit log message, as described in CONTRIBUTE. (I wrote the log message for you this time.) From unknown Sat Aug 16 20:00:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 27 Jul 2020 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator