all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: ding@gnus.org, emacs-devel@gnu.org
Subject: Re: Gnus does not handle quoting in quoted strings correctly.
Date: Fri, 01 Sep 2006 20:09:23 +0900	[thread overview]
Message-ID: <b4mac5ju9lo.fsf@jpl.org> (raw)
In-Reply-To: m2ejuyt0vv.fsf@kenny.sha-bang.de

>>>>> In <E1GIr5K-0000LA-L1@fencepost.gnu.org> Richard Stallman wrote:

> Please DTRT.

Done.  The changes I made in the Gnus CVS will be merged into
Emacs soon.

>>>>> In <m2ejuyt0vv.fsf@kenny.sha-bang.de> Sascha Wilde wrote:

> if you have a mail with

> From: "foo \[bar\]" <foo@bar.invalid>

> in the headers, gnus displays the from literately as

> foo \[bar\]

> but according to RfC822/2822 "\" is used in quoted strings as special
> quoting character and is always (no matter if necessary or not)
> semantically "invisible".  So it should read:

> foo [bar]

Gnus does so now in both article and summary buffers.  Please
note that `\"' and `\\' in a quoted string are unchanged since
`"' and `\' are not qtext (cf. RFC2822 section 3.2.5).

> The other way around, when writing display names in quoted strings, no
> quoting is done even when it would be needed.  Writing a message with

> From: "foo/bar" <foo@bar.invalid>

> the From: header is copied verbatim to the outgoing mail, but should
> get quoted like:

> From: "foo//bar" <foo@bar.invalid>

Well, I made changes in Gnus' encoder so that it might convert
"foo/bar" into "foo\/bar".  Is it correct?

;; I will have no time to work on Gnus until next week.  Sorry.

  reply	other threads:[~2006-09-01 11:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-30 20:38 Gnus does not handle quoting in quoted strings correctly Sascha Wilde
2006-09-01 11:09 ` Katsumi Yamaoka [this message]
2006-09-01 21:50   ` Richard Stallman
2006-09-01 22:54     ` Katsumi Yamaoka
2006-09-02  0:53       ` Miles Bader
2006-09-02 18:09         ` Richard Stallman
2006-09-02 14:03   ` Sascha Wilde
2006-09-03  0:19     ` Katsumi Yamaoka
2006-09-03 16:44       ` Sascha Wilde
2006-09-04  1:41         ` Katsumi Yamaoka

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=b4mac5ju9lo.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.org \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.