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: Thu, 12 Apr 2012 11:25:36 +0100 [thread overview]
Message-ID: <87zkah6ycf.fsf@dancingfrog.co.uk> (raw)
In-Reply-To: <m31unvqjxk.fsf@stories.gnus.org>
hmm - doesn't quite work for me. It now looks to be trying to evaluate
the regex rather than matching it.
Debugger entered--Lisp error: (invalid-function "Manchester:")
("Manchester:" "nnimap+Manchester:Sent Items")
eval(("Manchester:" "nnimap+Manchester:Sent Items"))
gnus-inews-insert-gcc()
run-hooks(message-header-setup-hook)
message-setup-1(((To . "") (Subject . "")) nil nil nil)
message-setup(((To . "") (Subject . "")) nil nil nil nil nil)
message-mail()
gnus-group-mail((4))
call-interactively(gnus-group-mail nil nil)
Here's my setting:
(setq gnus-message-archive-group '(("Manchester:" "nnimap+Manchester:Sent Items")
("Dancingfrog:" "nnimap+Dancingfrog:[Google Mail]/Sent Mail")
(quote "sent")))
Perhaps a final check is needed?
(cond
((and group
(stringp (caar var)))
;; Regexp.
(when (string-match (caar var) group)
(cdar var)))
((and group
(functionp (car var)))
;; Function.
(funcall (car var) group))
((and (functionp (car var))
(eval (car var))))))))
--
Matt
next prev parent reply other threads:[~2012-04-12 10:25 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
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 [this message]
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=87zkah6ycf.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).