[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Insert message-insert-disposition-notification-to in Posting Styles
From: |
Exal de Jesus Garcia Carrillo |
Subject: |
Re: Insert message-insert-disposition-notification-to in Posting Styles |
Date: |
Wed, 01 Aug 2007 10:04:40 -0500 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Damien Wyart <damien.wyart@free.fr> no gnu.emacs.gnus escreveu :
[...]
> My function to handle this is a bit complicated. Here it is as an
> example, you might need to learn a bit more of Gnus and Emacs Lisp to
> fully understand it.
>
> (defun dw-message-insert-citation-line ()
> "Function that inserts a simple citation line."
> (when message-reply-headers
> (cond
> ((string-match "nnml:mail" gnus-newsgroup-name)
> (insert "* "
> (mail-header-from message-reply-headers)
> " ["
> (format-time-string "%y%m%d %H:%M"
> (gnus-date-get-time
> (mail-header-date message-reply-headers)))
> "]:\n\n"))
> ((gnus-news-group-p gnus-newsgroup-name)
> (insert "* "
> (mail-header-from message-reply-headers)
> " in "
> gnus-newsgroup-name
> ":\n\n")))))
>
> (setq message-citation-line-function 'dw-message-insert-citation-line)
There are a way for show only for example the `user from name'? or only
the `user e-mail address?, I mean, the mail-header-from var show both,
how I can show only one?
regards
- --
Spam protection:
In my e-mail remplace the words `no-spam' with `exal'.
.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>
iD8DBQFGsKEHoZmxoVJRtGIRAom5AJ44VDmiWYWf8Xy25zPepSI1AUeEqACeIe/l
sAV0TIyKH0iFXobLF7y9868=
=f8Be
-----END PGP SIGNATURE-----
- Re: Insert message-insert-disposition-notification-to in Posting Styles,
Exal de Jesus Garcia Carrillo <=