From: ShengHuo ZHU <zsh@cs.rochester.edu>
Subject: Re: gnus-mail-save-name: folder based on sender?
Date: 13 Feb 2001 13:28:40 -0500 [thread overview]
Message-ID: <5bwvausahz.fsf@avocet.cs.rochester.edu> (raw)
In-Reply-To: <20010213180749.86773.qmail@web10012.mail.yahoo.com> (lewst's message of "Tue, 13 Feb 2001 10:07:49 -0800 (PST)")
lewst <lewst@yahoo.com> writes:
> ShengHuo ZHU <zsh@cs.rochester.edu> wrote:
>
> > Do you want this?
> >
> > (defun gnus-sender-save-name (newsgroup headers &optional last-file)
> > "Generate file name from sender."
> > (let ((from (mail-header-from headers)))
> > (expand-file-name
> > (if (and from (string-match "\\([^ <]+\\)@" from))
> > (match-string 1 from)
> > "misc")
> > gnus-article-save-directory)))
> >
>
> This doesn't have any effect for me. I added it to my .gnus,
> and gnus still prompts for a folder based on the name of the
> group. I'm using Oort v0.01 under XEmacs 21.1.14.
Did you add this or some other gnus-*-save-name variables?
(setq gnus-mail-save-name 'gnus-sender-save-name)
ShengHuo (t y p i n g w i t h o n e h a n d)
--
(setq gnus-posting-styles
'((".*" (signature (format "(setq gnus-posting-styles
'%S)" gnus-posting-styles)))))
next prev parent reply other threads:[~2001-02-13 18:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-12 22:59 lewst
2001-02-13 5:12 ` ShengHuo ZHU
2001-02-13 18:07 ` lewst
2001-02-13 18:28 ` ShengHuo ZHU [this message]
2001-02-13 19:06 ` lewst
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=5bwvausahz.fsf@avocet.cs.rochester.edu \
--to=zsh@cs.rochester.edu \
/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).