Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Changing quoting headers?
@ 2008-07-28 11:21 Hermann
  2008-07-28 18:32 ` Dmitry Dzhus
  0 siblings, 1 reply; 5+ messages in thread
From: Hermann @ 2008-07-28 11:21 UTC (permalink / raw)
  To: info-gnus-english

Hi,
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.
I couldn't find something in the manual that clarifies this.
And, in addition: What to write if I prefer the discordian instead of
the gregorian calendar?
Any tips and hints?
Hermann

-- 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Changing quoting headers?
  2008-07-28 11:21 Changing quoting headers? Hermann
@ 2008-07-28 18:32 ` Dmitry Dzhus
  2008-07-29 14:19   ` Hermann
  0 siblings, 1 reply; 5+ messages in thread
From: Dmitry Dzhus @ 2008-07-28 18:32 UTC (permalink / raw)
  To: info-gnus-english

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.

-- 
Happy Hacking.

http://sphinx.net.ru^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Changing quoting headers?
  2008-07-28 18:32 ` Dmitry Dzhus
@ 2008-07-29 14:19   ` Hermann
  2008-07-29 15:10     ` Dmitry Dzhus
  0 siblings, 1 reply; 5+ messages in thread
From: Hermann @ 2008-07-29 14:19 UTC (permalink / raw)
  To: info-gnus-english

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:"))

"%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?
Hermann

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Changing quoting headers?
  2008-07-29 14:19   ` Hermann
@ 2008-07-29 15:10     ` Dmitry Dzhus
  2008-07-29 15:51       ` Hermann
  0 siblings, 1 reply; 5+ messages in thread
From: Dmitry Dzhus @ 2008-07-29 15:10 UTC (permalink / raw)
  To: info-gnus-english

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^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Changing quoting headers?
  2008-07-29 15:10     ` Dmitry Dzhus
@ 2008-07-29 15:51       ` Hermann
  0 siblings, 0 replies; 5+ messages in thread
From: Hermann @ 2008-07-29 15:51 UTC (permalink / raw)
  To: info-gnus-english

On 29.07.2008 Dmitry Dzhus <dima@sphinx.net.ru> wrote:
[...]
>>> 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")
>
Thank you very much, as you see in the header it now works as wanted.

> 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.

Thanks for the tip.
Hermann

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-07-29 15:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-28 11:21 Changing quoting headers? Hermann
2008-07-28 18:32 ` Dmitry Dzhus
2008-07-29 14:19   ` Hermann
2008-07-29 15:10     ` Dmitry Dzhus
2008-07-29 15:51       ` Hermann

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).