Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: someusernamehere <someusernamehere@gmail.com>
To: info-gnus-english@gnu.org
Subject: Re: Insert message-insert-disposition-notification-to in Posting Styles
Date: Mon, 30 Jul 2007 12:17:57 -0700	[thread overview]
Message-ID: <1185823077.391768.81020@m37g2000prh.googlegroups.com> (raw)
In-Reply-To: <46ae12d3$0$16611$426a74cc@news.free.fr>

On 30 jul, 11:33, Damien Wyart <damien.wy...@free.fr> wrote:
> > 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)


mmm sure, I dont know hot to setup this :-(, I have copy-pasted your
code in my
.gnus but doesn't work, is needed some additional, can you tell me
what please ? :-D


many thanks for your replies.

  parent reply	other threads:[~2007-07-30 19:17 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 [this message]
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=1185823077.391768.81020@m37g2000prh.googlegroups.com \
    --to=someusernamehere@gmail.com \
    --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).