Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael Welsh Duggan <md5i@cs.cmu.edu>
Subject: Re: Quoted characters in From: line
Date: Sun, 19 Dec 1999 05:56:23 GMT	[thread overview]
Message-ID: <v1t66xva2ya.fsf@maru.rem.cs.cmu.edu> (raw)
In-Reply-To: <m3puw6rczt.fsf.emacs.gnus@rscholz.dyndns.org>

Raymond Scholz <rscholz@tzi.de> writes:

> Some people use nicknames in their From: line like:
> 
> From: "John \"Foo\" Doe" <john@doe.com>
> 
> Gnus currently displays that in the summary buffer as:
> 
> John \
> 
> RFC822 tells me that quoting with `\' is allowed for quoted-strings
> (i.e. strings surrounded by `"'s). I think Gnus is wrong in truncating
> the name. This may also apply to other lines in the header.

You can fix this by setting `gnus-extract-address-components' to
`mail-extract-address-components' instead of
`gnus-extract-address-components'.  From the docs:

gnus-extract-address-components's value is 
gnus-extract-address-components

Documentation:
*Function for extracting address components from a From header.
Two pre-defined function exist: `gnus-extract-address-components',
which is the default, quite fast, and too simplistic solution, and
`mail-extract-address-components', which works much better, but is
slower.

-- 
Michael Duggan
(md5i@cs.cmu.edu)



  parent reply	other threads:[~1999-12-19  5:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-16 17:50 Raymond Scholz
1999-12-17 10:08 ` Shenghuo ZHU
1999-12-19  5:56 ` Michael Welsh Duggan [this message]
1999-12-21 21:04 ` message fontifying (was: Re: Quoted characters in From: line) Kai Großjohann

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=v1t66xva2ya.fsf@maru.rem.cs.cmu.edu \
    --to=md5i@cs.cmu.edu \
    /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).