From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63611 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Gnus does not handle quoting in quoted strings correctly. Date: Fri, 01 Sep 2006 20:09:23 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157109005 7123 80.91.229.2 (1 Sep 2006 11:10:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Sep 2006 11:10:05 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 01 13:10:02 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GJ6uM-0002nh-I1 for ged-emacs-devel@m.gmane.org; Fri, 01 Sep 2006 13:09:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GJ6uM-0006YI-08 for ged-emacs-devel@m.gmane.org; Fri, 01 Sep 2006 07:09:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GJ6uA-0006Y9-Ut for emacs-devel@gnu.org; Fri, 01 Sep 2006 07:09:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GJ6u8-0006Xf-5r for emacs-devel@gnu.org; Fri, 01 Sep 2006 07:09:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GJ6u8-0006Xc-1j for emacs-devel@gnu.org; Fri, 01 Sep 2006 07:09:44 -0400 Original-Received: from [66.225.201.13] (helo=washington.hostforweb.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GJ73w-0007Rk-LX; Fri, 01 Sep 2006 07:19:52 -0400 Original-Received: from [205.234.185.198] (port=56070 helo=mail.jpl.org) by washington.hostforweb.net with esmtpa (Exim 4.52) id 1GJ6tz-0004dI-O8; Fri, 01 Sep 2006 06:09:37 -0500 Original-To: Sascha Wilde , rms@gnu.org X-Hashcash: 1:20:060901:wilde@sha-bang.de::Rf/PTKxVSu695qKl:000000000000000000000000000000000000000000006eov X-Hashcash: 1:20:060901:rms@gnu.org::7mcZEVrD2pnfDYQP:0000005Ya1 X-Hashcash: 1:20:060901:emacs-devel@gnu.org::3Rt8UIHT0HdFpO5c:0000000000000000000000000000000000000000004BYq X-Hashcash: 1:20:060901:ding@gnus.org::s2yuljdeIHd0HIzL:00002Lhs X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:/yXrMWcetXLJHhY3sXuvDU8Luvg= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:59215 gmane.emacs.gnus.general:63611 Archived-At: >>>>> In Richard Stallman wrote: > Please DTRT. Done. The changes I made in the Gnus CVS will be merged into Emacs soon. >>>>> In Sascha Wilde wrote: > if you have a mail with > From: "foo \[bar\]" > 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" > the From: header is copied verbatim to the outgoing mail, but should > get quoted like: > From: "foo//bar" 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.