[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Customizing wanderlust reply header

On Wed, 19 Nov 2003 16:48:04 +0900,
OHASHI Akira <bg66@debian.org> wrote:
> >>>>> In <878ymd18r4.wl@altair.localhost.invalid> 
> >>>>>	csj@myrealbox.com wrote:

> > Is there a better way to customize the wanderlust reply
> > header than hacking the .el file?

> We are using mu-cite[1] with wl (and the other MUAs) for
> customizing citation. In your case, install mu-cite and add the
> following line to .emacs:

> (add-hook 'mail-citation-hook 'mu-cite-original)
> (setq mu-cite-top-format
>       '("On " date ",\n" from " wrote:\n"))

> [1] http://packages.debian.org/mu-cite

Thanks for the tip.  I'm now using it ;-).  However it still
doesn't produce the fancy citation date I was looking for ("On
DATE at TIME, SOMEONE wrote) as in the example below (taken from
two recent posts to this list):

Date: Tue, 11 Nov 2003 18:52:02 +0900

From: [...]
To: debian-emacsen@lists.debian.org
Subject: Re: users cannot customize faces?
Mail-Followup-To: debian-emacsen@lists.debian.org
X-Mailer: Mew version 4.0.61 on Emacs 20.7.3 / Mule 4.1 (AOI)
On November 11, 2003 at 6:52PM +0900,
[...] wrote:

Is the separated date and time a mew feature? I noticed that
mu-cite's "date" function simply extracts the value of the
original email's "Date:" field:

	(cons 'date
	       (lambda ()
		 (mu-cite-get-field-value "Date"))))

So I must assume that some text processing must be involved in
transforming "Date: Tue, 11 Nov 2003 18:52:02 +0900" to "On
November 11, 2003 at 6:52PM +0900".

Reply to: