From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#65387: [PATCH] New user option 'submit-emacs-patch-display-help' Date: Thu, 16 Nov 2023 09:25:36 +0200 Organization: LINKOV.NET Message-ID: <86bkbutb0v.fsf@mail.linkov.net> References: <83jztqyfbt.fsf@gnu.org> <83fs4exn5e.fsf@gnu.org> <86wmxqp12h.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34967"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: Eshel Yaron , 65387@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 16 08:29:17 2023 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 1r3WoP-0008ss-35 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Nov 2023 08:29:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3WoC-0006jT-Ol; Thu, 16 Nov 2023 02:29:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r3WoA-0006j7-V4 for bug-gnu-emacs@gnu.org; Thu, 16 Nov 2023 02:29:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r3WoA-0005u2-Me for bug-gnu-emacs@gnu.org; Thu, 16 Nov 2023 02:29:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r3WoA-0001Za-5h for bug-gnu-emacs@gnu.org; Thu, 16 Nov 2023 02:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Nov 2023 07:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65387 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 65387-submit@debbugs.gnu.org id=B65387.17001197005997 (code B ref 65387); Thu, 16 Nov 2023 07:29:02 +0000 Original-Received: (at 65387) by debbugs.gnu.org; 16 Nov 2023 07:28:20 +0000 Original-Received: from localhost ([127.0.0.1]:54411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3WnU-0001Yf-E9 for submit@debbugs.gnu.org; Thu, 16 Nov 2023 02:28:20 -0500 Original-Received: from relay7-d.mail.gandi.net ([2001:4b98:dc4:8::227]:47595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3WnS-0001YP-LW for 65387@debbugs.gnu.org; Thu, 16 Nov 2023 02:28:19 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 44C3C20005; Thu, 16 Nov 2023 07:28:09 +0000 (UTC) In-Reply-To: <86wmxqp12h.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 20 Aug 2023 19:37:18 +0300") X-GND-Sasl: juri@linkov.net 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:274440 Archived-At: >>> I don't know if it justifies a new option, as you say, and I don't mind >>> keeping a modified `submit-emacs-patch` in my config. >> >> Let's see what others think about this new command. >> >> Would people please voice their opinions about adding it? > > If 'submit-emacs-patch' used 'pop-to-buffer-same-window' > instead of 'switch-to-buffer' like in the patch below, > then using such simple config would be possible: > > (add-to-list 'display-buffer-alist > '("\\*Patch Help\\*" > display-buffer-no-window > (allow-no-window . t))) > > @@ -509,7 +509,7 @@ submit-emacs-patch > (list (read-string (format-prompt "This patch is about" guess) > nil nil guess) > file))) > - (switch-to-buffer "*Patch Help*") > + (pop-to-buffer-same-window "*Patch Help*") Now pushed. And maybe this could be closed?