From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63640 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: Mon, 04 Sep 2006 10:41:17 +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 1157334113 2662 80.91.229.2 (4 Sep 2006 01:41:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 4 Sep 2006 01:41:53 +0000 (UTC) Cc: rms@gnu.org, ding@gnus.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 04 03:41:50 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 1GK3T9-0001gN-9i for ged-emacs-devel@m.gmane.org; Mon, 04 Sep 2006 03:41:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GK3T8-0002y6-QG for ged-emacs-devel@m.gmane.org; Sun, 03 Sep 2006 21:41:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GK3Sv-0002xt-E2 for emacs-devel@gnu.org; Sun, 03 Sep 2006 21:41:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GK3Su-0002xe-Mv for emacs-devel@gnu.org; Sun, 03 Sep 2006 21:41:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GK3Su-0002xb-H4 for emacs-devel@gnu.org; Sun, 03 Sep 2006 21:41:32 -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 1GK3dH-0002ng-FI; Sun, 03 Sep 2006 21:52:15 -0400 Original-Received: from [205.234.185.198] (port=35560 helo=mail.jpl.org) by washington.hostforweb.net with esmtpa (Exim 4.52) id 1GK3Sy-0002AM-EU; Sun, 03 Sep 2006 20:41:36 -0500 Original-To: Sascha Wilde X-Hashcash: 1:20:060904:wilde@sha-bang.de::hK7gGRD6dIAoLXRK:000000000000000000000000000000000000000000000RWl X-Hashcash: 1:20:060904:rms@gnu.org::cK/HykI3QaPFE+j9:0000002ohT X-Hashcash: 1:20:060904:emacs-devel@gnu.org::ZjDbUAtzAFwTODBp:0000000000000000000000000000000000000000003tw2 X-Hashcash: 1:20:060904:ding@gnus.org::kvALEooEKPrzbFYp:00000BSZ 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:E/ZmfzJFdnrYLgoMGXN9tfTCAc8= 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:59299 gmane.emacs.gnus.general:63640 Archived-At: >>>>> In Sascha Wilde wrote: > Katsumi Yamaoka wrote: >> I agree that `\\' in a quoted string is decoded into `\'. I've made a change further in both the v5-10 branch and the trunk so that the decoder might do so. Although that behavior is different from FLIM which I always relied on as a model, it doesn't seem to cause any harm as far as it is done in Gnus because `\' in a quoted string is now encoded into `\\' when sending a message. Miles, I'm sorry to bother you again but please merge it to the Emacs CVS. Thanks in advance. >> However, I don't think it is useful that >> >> "foo \"bar\"" is decoded into "foo "bar"" or foo "bar" >> >> because it may appear in the From header and may be used in the >> To header when replying. > I do agree that decoding `\"' would be a problem in such situations, > as it wouldn't be possible determine unambiguously how to re-encode > the string. > I'd think the ideal solution would be to only decode `\"' for display > (in summary and article buffers) but to keep it quoted when used to > generate a new message (like a reply for instance). I agree. And it is supposed possible to achieve. However, I think we should not start such a development in the Emacs CVS *now* since appearing of `\'s doesn't look so serious to me and it seems to require that it is tested thoroughly. > I don't know if this can be done easily or if the current code base > doesn't allow to make this difference -- if it's to hard to do I would > vote for leaving `\"' quoted... I don't yet know how it is easy or difficult. So, I vote for it as well.