Gnus development mailing list
 help / color / mirror / Atom feed
From: lewst <lewst@yahoo.com>
Subject: Re: gnus-mail-save-name: folder based on sender?
Date: Tue, 13 Feb 2001 10:07:49 -0800 (PST)	[thread overview]
Message-ID: <20010213180749.86773.qmail@web10012.mail.yahoo.com> (raw)
In-Reply-To: <2nelx3go9r.fsf@tiger.jia.vnet>

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.


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



  reply	other threads:[~2001-02-13 18:07 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 [this message]
2001-02-13 18:28     ` ShengHuo ZHU
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=20010213180749.86773.qmail@web10012.mail.yahoo.com \
    --to=lewst@yahoo.com \
    /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).