From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67552 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap article editing Date: Thu, 09 Oct 2008 08:44:23 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <86bpxtsx1k.fsf@lifelogs.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223560036 30695 80.91.229.12 (9 Oct 2008 13:47:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2008 13:47:16 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16003@lists.math.uh.edu Thu Oct 09 15:48:09 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1Knvqn-0008RL-Gb for ding-account@gmane.org; Thu, 09 Oct 2008 15:46:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Knvok-0004IV-PO; Thu, 09 Oct 2008 08:44:38 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Knvoj-0004IH-Ik for ding@lists.math.uh.edu; Thu, 09 Oct 2008 08:44:37 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1Knvoh-00047Z-CQ for ding@lists.math.uh.edu; Thu, 09 Oct 2008 08:44:37 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Knvok-0001PI-00 for ; Thu, 09 Oct 2008 15:44:38 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Knvob-0001Rd-MP for ding@gnus.org; Thu, 09 Oct 2008 13:44:29 +0000 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Oct 2008 13:44:29 +0000 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Oct 2008 13:44:29 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:UyEutd0XZq2RwPhcgsB1YH1/VWA= X-Spam-Score: -1.5 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67552 Archived-At: On Thu, 09 Oct 2008 13:52:02 +0200 David Engster wrote: DE> Didier Verna writes: >> So am I correct in assuming that we could implement nnimap article >> editing by simply downloading the article, editing it, destroying the >> old version and uploading the new one ? DE> That's how other mail clients do it, e.g. for removing attachments from DE> articles to save space on the server. The problem with this approach is DE> that the edited article gets a new UID from the server (and hence a new DE> article number in Gnus), which can lead to problems regarding sorting, DE> caching, calculation of article numbers, etc. This, if implemented, would work for any backend that accepts articles, not just nnimap. I don't see a problem with sorting or caching. Expire the old article, that's all. The new one should have the same Message-ID but otherwise can be completely different. It doesn't even need the same Message-ID, it can be treated as a followup if that breaks any functionality. Users can deal with this. We could use the Gnus registry to track things if necessary, but I can't think of a scenario that requires it. Ted