From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69100 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: editing nnimap articles Date: Fri, 09 Oct 2009 10:06:50 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87ocogtxmd.fsf@lifelogs.com> References: <87ocohn1tt.fsf@uwo.ca> <874oq8vdfu.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1255100864 10878 80.91.229.12 (9 Oct 2009 15:07:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Oct 2009 15:07:44 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M17516@lists.math.uh.edu Fri Oct 09 17:07:37 2009 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 1MwH4C-0005jc-K2 for ding-account@gmane.org; Fri, 09 Oct 2009 17:07:36 +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 1MwH44-0008RL-Il; Fri, 09 Oct 2009 10:07:28 -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 1MwH43-0008Qw-3x for ding@lists.math.uh.edu; Fri, 09 Oct 2009 10:07:27 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1MwH3r-000581-DG for ding@lists.math.uh.edu; Fri, 09 Oct 2009 10:07:27 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1MwH3q-0006lV-00 for ; Fri, 09 Oct 2009 17:07:14 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1MwH3o-0005Yg-Ul for ding@gnus.org; Fri, 09 Oct 2009 17:07:12 +0200 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 ; Fri, 09 Oct 2009 17:07:12 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 09 Oct 2009 17:07:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 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.1.50 (gnu/linux) Cancel-Lock: sha1:fwaNYS8lRxOzXNNzkI9VrmErmQ4= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69100 Archived-At: On Fri, 09 Oct 2009 16:48:21 +0200 David Engster wrote: DE> The problem is that the *-request-replace-article function is required DE> to really *replace* the article, i.e., the article number must remain DE> the same. This is not possible with IMAP. Looking at gnus-request-replace-article, I don't see a problem if the function returns nil. So, if nnimap-request-replace-article returns nil and (as a side effect) deletes the old article and creates the new one, that should do what the user expects. It's not ideal but I think it's better than a new special gnus-request-replace-by-appending-article function or a new flag for gnus-request-replace-article. All of this is untested, so please tell me if I'm speaking nonsense. Ted