unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: 28992@debbugs.gnu.org
Subject: bug#28992: 27.0.50; compose-mail-other-{window,frame} reuse selected window with gnus-user-agent
Date: Wed, 11 Apr 2018 12:26:50 +0100	[thread overview]
Message-ID: <87efjmgf0l.fsf@tcd.ie> (raw)
In-Reply-To: <878tfznzl7.fsf@gmail.com> (Basil L. Contovounesios's message of "Wed, 25 Oct 2017 14:09:40 +0100")

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-Heed-switch-function-argument-in-gnus-user-agent.patch --]
[-- Type: text/x-diff, Size: 1048 bytes --]

From ce705761a29643ef43d5257a6b2744f9b6bb2279 Mon Sep 17 00:00:00 2001
From: "Basil L. Contovounesios" <contovob@tcd.ie>
Date: Wed, 25 Oct 2017 02:15:56 +0100
Subject: [PATCH] Heed switch-function argument in gnus-user-agent

* lisp/gnus/gnus-msg.el (gnus-msg-mail): Heed switch-action argument
when falling back to message-user-agent because Gnus is not
running. (bug#28992)
---
 lisp/gnus/gnus-msg.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el
index 04661ec948..d5610bff73 100644
--- a/lisp/gnus/gnus-msg.el
+++ b/lisp/gnus/gnus-msg.el
@@ -535,7 +535,7 @@ gnus-msg-mail
       (progn
 	(message "Gnus not running; using plain Message mode")
 	(message-mail to subject other-headers continue
-		      nil yank-action send-actions return-action))
+                      switch-action yank-action send-actions return-action))
     (let ((buf (current-buffer))
 	  ;; Don't use posting styles corresponding to any existing group.
 	  (group-name gnus-newsgroup-name)
-- 
2.16.3


[-- Attachment #2: Type: text/plain, Size: 79 bytes --]


I reattach the patch, updated with the bug ticket number.

Thanks,

-- 
Basil

  reply	other threads:[~2018-04-11 11:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-25 13:09 bug#28992: 27.0.50; compose-mail-other-{window,frame} reuse selected window with gnus-user-agent Basil L. Contovounesios
2018-04-11 11:26 ` Basil L. Contovounesios [this message]
2018-04-11 21:22   ` Lars Ingebrigtsen
2018-04-13 14:09     ` Basil L. Contovounesios
2018-04-13 14:49       ` Lars Ingebrigtsen
2018-04-13 15:09         ` Eli Zaretskii
2018-04-13 15:37           ` Basil L. Contovounesios

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87efjmgf0l.fsf@tcd.ie \
    --to=contovob@tcd.ie \
    --cc=28992@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).