From: Damien Wyart <damien.wyart@free.fr>
To: info-gnus-english@gnu.org
Subject: Re: Insert message-insert-disposition-notification-to in Posting Styles
Date: Mon, 30 Jul 2007 18:33:23 +0200 [thread overview]
Message-ID: <46ae12d3$0$16611$426a74cc@news.free.fr> (raw)
In-Reply-To: <1185812794.948766.170180@z28g2000prd.googlegroups.com>
> Hey, how you can change the "reply phrase", I mean this:
> * someusernamehere <someusernameh...@gmail.com> in gnu.emacs.gnus:
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)
--
DW
next prev parent reply other threads:[~2007-07-30 16:33 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 [this message]
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
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='46ae12d3$0$16611$426a74cc@news.free.fr' \
--to=damien.wyart@free.fr \
--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).