From: Matt Ford <matt@dancingfrog.co.uk>
To: ding@gnus.org
Subject: Re: Bug with gnus agent when processing message queue and having archive alist
Date: Fri, 06 Apr 2012 20:39:03 +0100 [thread overview]
Message-ID: <87k41shcq0.fsf@dancingfrog.co.uk> (raw)
In-Reply-To: <87k41s4tz9.fsf@dancingfrog.co.uk>
Okay, here's a patch to make it work. Probably not the right one but it
does the job. Essentially if the gnus-message-archive-group is set then
the gnus-inews-insert-gcc function will try a string comparison on the
optional group parameter even if the group parameter is not set.
Providing an empty string stops the wrong type error.
Cheers,
Matt.
--- gnus-msg.el.old 2012-04-06 20:33:36.196856856 +0100
+++ gnus-msg.el 2012-04-06 20:24:09.382615209 +0100
@@ -1729,7 +1729,7 @@
(defun gnus-inews-insert-gcc (&optional group)
"Insert the Gcc to say where the article is to be archived."
- (let* ((group (or group gnus-newsgroup-name))
+ (let* ((group (or group gnus-newsgroup-name ""))
(group (when group (gnus-group-decoded-name group)))
(var (or gnus-outgoing-message-group gnus-message-archive-group))
(gcc-self-val
--
Matt
next prev parent reply other threads:[~2012-04-06 19:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-06 16:04 Matt Ford
2012-04-06 18:04 ` Matt Ford
2012-04-06 19:39 ` Matt Ford [this message]
2012-04-10 18:49 ` Lars Magne Ingebrigtsen
2012-04-10 21:15 ` Matt Ford
2012-04-10 22:38 ` Lars Magne Ingebrigtsen
2012-04-10 22:48 ` Matt Ford
2012-04-10 22:52 ` Lars Magne Ingebrigtsen
2012-04-12 10:25 ` Matt Ford
2012-04-12 18:35 ` Lars Magne Ingebrigtsen
2012-04-10 18:48 ` Lars Magne Ingebrigtsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k41shcq0.fsf@dancingfrog.co.uk \
--to=matt@dancingfrog.co.uk \
--cc=ding@gnus.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.
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 NNTP newsgroup(s).