info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing quoting headers?


From: Dmitry Dzhus
Subject: Re: Changing quoting headers?
Date: Tue, 29 Jul 2008 19:10:27 +0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]