From: Exal de Jesus Garcia Carrillo <no-spam@gnu.org>
To: info-gnus-english@gnu.org
Subject: Re: Insert message-insert-disposition-notification-to in Posting Styles
Date: Wed, 01 Aug 2007 10:04:40 -0500 [thread overview]
Message-ID: <87ejingut3.fsf@gnu.org> (raw)
In-Reply-To: <46ae12d3$0$16611$426a74cc@news.free.fr>
-----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-----
next prev parent reply other threads:[~2007-08-01 15:04 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-30 16:03 someusernamehere
2007-07-30 16:15 ` Damien Wyart
2007-07-30 16:21 ` someusernamehere
2007-07-30 16:30 ` Damien Wyart
2007-07-30 16:26 ` someusernamehere
2007-07-30 16:33 ` Damien Wyart
2007-07-30 16:51 ` someusernamehere
2007-07-30 19:03 ` Damien Wyart
2007-07-30 19:17 ` someusernamehere
2007-07-30 19:29 ` Damien Wyart
2007-07-30 19:52 ` someusernamehere
2007-07-31 5:15 ` Damien Wyart
2007-08-01 15:04 ` Exal de Jesus Garcia Carrillo [this message]
2007-08-03 9:00 ` Damien Wyart
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=87ejingut3.fsf@gnu.org \
--to=no-spam@gnu.org \
--cc=PutMyFirstNameHere@gnu.org \
--cc=info-gnus-english@gnu.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).