[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hiding some of address
From: |
Reiner Steib |
Subject: |
Re: hiding some of address |
Date: |
Wed, 31 Oct 2007 23:08:46 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) |
On Wed, Oct 31 2007, Slackrat wrote:
> ;; Change Citation Line
> (defun my-insert-citation-line ()
> ;"Function that inserts a simple citation line."
> (when message-reply-headers
> (insert "* " (mail-header-from message-reply-headers)
(car (mail-extract-address-components
(mail-header-from message-reply-headers)))
> * "William Witteman" <william.ohiggins@utoronto.ca> a écrit profondement:
>
> But I would like it to omit the email address
> <william.ohiggins@utoronto.ca> entirely or alternatively insert say
> three asterisks before the "@" in the email address as I have seen
> others do.
The development version of Gnus has customizable citation line:
,----[ <f1> v message-citation-line-format RET ]
| message-citation-line-format is a variable defined in `message'.
| Its value is
| "On %a, %b %d %Y, %N wrote:\n"
|
| Documentation:
| Format of the "Whomever writes:" line.
|
| The string is formatted using `format-spec'. The following
| constructs are replaced:
|
| %f The full From, e.g. "John Doe <john.doe@example.invalid>".
| %n The mail address, e.g. "john.doe@example.invalid".
| %N The real name if present, e.g.: "John Doe", else fall
| back to the mail address.
| %F The first name if present, e.g.: "John".
| %L The last name if present, e.g.: "Doe".
|
| All other format specifiers are passed to `format-time-string'
| which is called using the date from the article your replying to.
| Extracting the first (%F) and last name (%L) is done
| heuristically, so you should always check it yourself.
|
| Please also read the note in the documentation of
| `message-citation-line-function'.
|
| You can customize this variable.
`----
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/