Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Dmitry Dzhus <dima@sphinx.net.ru>
To: info-gnus-english@gnu.org
Subject: Re: Changing quoting headers?
Date: Tue, 29 Jul 2008 19:10:27 +0400	[thread overview]
Message-ID: <87od4g4tgc.fsf@sphinx.net.ru> (raw)
In-Reply-To: <874p68n57f.fsf@onlinehome.de>

Hermann writes:

> Dmitry Dzhus <dima@sphinx.net.ru> writes:
>
>> Hermann writes:
>>
>>> When I reply to a message, the quoting starts with:
>>> [full name] <mailaddress> writes:
>>> How can I change this, so that it looks like this:
>>> On [dd,mm,yy] [full name) <mailaddress> wrote:
>>> Note: I want to use the German style of date, see my example.
>>
>> Change `message-citation-line-function` variable to
>> `message-insert-formatted-citation-line`, adjust
>> `message-citation-line-format` variable to meet your needs. This is
>> described in «3.6 Insertion Variables» of message package manual.
>>
> I changed my .gnus file following your instructions. As you see in the
> quoting header, I wasn't successful.
> The message package manual is not very enlightening in this case.
> I insert the  lines from my .gnus:
>
> (setq message-insert-formatted-citation-line
>    '(message-citation-line-format
>        "on %d. %m. %Y at %X %n <%a> wrote:"))

I think, that was meant to be

    (setq message-citation-line-function
          'message-insert-formatted-citation-line)
    (setq messate-citation-line-format "On %d.%m.%Y %f wrote:\n")

You may need to reload Gnus for new settings to take effect.

> "%n" should mean "name" and "<%a>" should mean "mail address". I took
> this from the syntax used by Mutt. I guess it is different in Gnus?

Yes, it is. Looks like that you'd better use `M-x customize-variable` to
edit settings, because that way you get contextual documentation right
at your fingertips.
-- 
Happy Hacking.

http://sphinx.net.ru

  reply	other threads:[~2008-07-29 15:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-28 11:21 Hermann
2008-07-28 18:32 ` Dmitry Dzhus
2008-07-29 14:19   ` Hermann
2008-07-29 15:10     ` Dmitry Dzhus [this message]
2008-07-29 15:51       ` Hermann

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=87od4g4tgc.fsf@sphinx.net.ru \
    --to=dima@sphinx.net.ru \
    --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).