From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Richard Kim Newsgroups: gmane.emacs.bugs Subject: bug#41888: 27.0.91; fix ACTION argument of display-buffer Date: Mon, 15 Jun 2020 23:30:08 -0700 Message-ID: <87366vv7yn.fsf@gmail.com> Reply-To: emacs18@gmail.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="124707"; mail-complaints-to="usenet@ciao.gmane.io" To: 41888@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 16 08:31:32 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 1jl586-000WOm-Ip for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Jun 2020 08:31:30 +0200 Original-Received: from localhost ([::1]:43044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jl583-0007aW-Ti for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Jun 2020 02:31:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jl57e-0007Zy-S4 for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2020 02:31:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36502) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jl57d-0003Fr-Rl for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2020 02:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jl57d-0005DZ-OS for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2020 02:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Kim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Jun 2020 06:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41888 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.159228901919994 (code B ref -1); Tue, 16 Jun 2020 06:31:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Jun 2020 06:30:19 +0000 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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) 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-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:182012 Archived-At: --=-=-= 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 --=-=-=--