Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Mike Dixon <in_my.t@gline.org>
Subject: Re: Little help sorting please...
Date: Tue, 17 Dec 2002 02:46:51 GMT	[thread overview]
Message-ID: <m3el8hqrvg.fsf@west_mm.org> (raw)
In-Reply-To: <843coyth0c.fsf@lucy.cs.uni-dortmund.de>


> Mike Dixon <in_my.t@gline.org> writes:
> 
> > Here's (a portion of) what I've been using satisfactorily for quite
> > awhile:
> >
> >     gnus-message-archive-group '(
> > 	(if (not (message-news-p))  "Mail/mail_cc")
> > 	    ("^comp.emacs" "nnfolder+saved:sent-to-emacs")
> > 	    ("^gnu.emacs.help" "nnfolder+saved:sent-to-emacs")
> >             .
> >             .
> >             .
> > 	    (".*" "nnfolder+saved:sent-to-others")))
> 
> (defun mike-gnus-message-archive-group (group)
>   (if group
>       (format "nnfolder:%s.archive" group)
>     "nnfolder:other.archive"))
> (setq gnus-message-archive-group '(mike-gnus-message-archive-group))
> 
> I'm not sure if it works like this.  Hm.  It does say it could be a
> list of functions, and the above is a list of functions, but I've
> never tried it this way.
> 

Thanks for the help Kai.

I commented my old *archive*, added yours, restarted Emacs and when I
tried to add a post, reply to a post, or fwd a post I get this (from
*Messages*):

    run-hooks: Wrong type argument: listp, mike-gnus-message-archive-group
    Wrong type argument: listp, mike-gnus-message-archive-group

The header pops up w/point on the first line of the header (and the error
msg in m-buffer).  This is the entire header that's generated (I indented
it):

    Newsgroups: alt.test
    Subject:
    User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
    X-Newsreader: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
    X-Mailer: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
    --text follows this line--


I checked that there's only one *archive* (don't know if that matters).
Beyond that I'm sorry - I don't know what else to check/test....

Mike
-- 


  reply	other threads:[~2002-12-17  2:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m3bs3mifun.fsf@west_mm.org>
2002-12-16 10:06 ` Kai Großjohann
2002-12-17  2:46   ` Mike Dixon [this message]
2002-12-17  9:38     ` Kai Großjohann
     [not found]       ` <m3adj3y9rn.fsf@west_mm.org>
     [not found]         ` <84fzsvmeg8.fsf@lucy.cs.uni-dortmund.de>
2002-12-21  8:57           ` Mike Dixon
     [not found]             ` <84vg1nbjht.fsf@lucy.cs.uni-dortmund.de>
2002-12-22  2:36               ` Mike Dixon
2002-12-22 14:07                 ` Kai Großjohann
     [not found]                   ` <m3isxdfcar.fsf@west_mm.org>
2002-12-29  8:42                     ` Mark Dixon

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=m3el8hqrvg.fsf@west_mm.org \
    --to=in_my.t@gline.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).