From: Reiner Steib <reinersteib+gmane@imap.cc>
To: info-gnus-english@gnu.org
Subject: Re: hiding some of address
Date: Wed, 31 Oct 2007 23:08:46 +0100 [thread overview]
Message-ID: <v9d4uv0wep.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87fxzr8agm.fsf@azurservers.com>
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/
next prev parent reply other threads:[~2007-10-31 22:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-31 17:23 Slackrat
2007-10-31 22:08 ` Reiner Steib [this message]
2007-10-31 23:35 ` Sebastian Tennant
2007-11-01 8:36 ` Reiner Steib
2007-11-01 10:52 ` Sebastian Tennant
2007-10-31 23:25 ` Sebastian Tennant
[not found] ` <mailman.2820.1193873148.18990.info-gnus-english@gnu.org>
2007-11-01 7:09 ` Slackrat
2007-11-01 10:45 ` Sebastian Tennant
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=v9d4uv0wep.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--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).