bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#65387: [PATCH] New user option 'submit-emacs-patch-display-help'


From: Juri Linkov
Subject: bug#65387: [PATCH] New user option 'submit-emacs-patch-display-help'
Date: Thu, 16 Nov 2023 09:25:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

>>> 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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]