From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61909 Path: news.gmane.org!not-for-mail From: "Ted Zlatanov" Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap: editing articles Date: 8 Feb 2006 15:11:49 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <4nslqt8vay.fsf@lifelogs.com> References: <877j88zq93.fsf@mat.ucm.es> <87psm0ttfl.fsf_-_@mat.ucm.es> <4nlkwomhm8.fsf@lifelogs.com> <87mzh3nyno.fsf@mat.ucm.es> <4n4q3bfa6y.fsf@lifelogs.com> <87hd7b5a2c.fsf@mat.ucm.es> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139430117 22569 80.91.229.2 (8 Feb 2006 20:21:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Feb 2006 20:21:57 +0000 (UTC) Original-X-From: ding-owner+m10438=ding+2daccount=gmane.org@lists.math.uh.edu Wed Feb 08 21:21:50 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F6voK-00078s-S0 for ding-account@gmane.org; Wed, 08 Feb 2006 21:21:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1F6voJ-0001Hj-00 for ding-account@gmane.org; Wed, 08 Feb 2006 14:21:07 -0600 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1F6vfU-0001HU-00 for ding@lists.math.uh.edu; Wed, 08 Feb 2006 14:12:00 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1F6vfR-0000hE-Ri for ding@lists.math.uh.edu; Wed, 08 Feb 2006 14:12:00 -0600 Original-Received: from clifford.bwh.harvard.edu ([134.174.9.41] helo=mail.bwh.harvard.edu) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1F6vfL-0007xg-00 for ; Wed, 08 Feb 2006 21:11:51 +0100 Original-Received: (qmail 13809 invoked from network); 8 Feb 2006 20:05:12 -0000 Envelope-Sender: tzz@lifelogs.com Envelope-Recipients: ding@gnus.org, Original-Received: from asimov.bwh.harvard.edu (HELO asimov) ([134.174.8.118]) (envelope-sender ) by mail.bwh.harvard.edu (qmail-ldap-1.03) with SMTP for ; 8 Feb 2006 20:05:12 -0000 Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org 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" X-Hashcash: 1:20:060208:ding@gnus.org::RbSqs84boxDSikzf:0000A9p4 In-Reply-To: (Reiner Steib's message of "Tue, 07 Feb 2006 20:11:24 +0100") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61909 Archived-At: On 7 Feb 2006, reinersteib+gmane@imap.cc wrote: On Tue, Feb 07 2006, Uwe Brauer wrote: > >> Well and it does not work, because when I save, and reenter the buffer >> the editing result is not there anymore. How should the editing >> solution work? > > Article editing isn't implemented in the nnimap back end. I'm not > sure if the protocol (IMAP) allows it. Simon? IMAP does not allow editing, you have to delete and store the new article, AFAIK (from reading the rev4 RFC). > IIRC someone suggested to move the article to a local group, edit it > and move it back to IMAP might be a workaround. Thunderbird 1.5 > supports deleting and detaching (stripping) attachments which works > also on IMAP. I just tried it and it seems to me, they do something > similar. At least when looking at the "modified" article with Gnus, I > saw an `N' (`gnus-recent-mark') and the article number is different. Right. So basically, implementing labels is easier with flags than with IMAP editing, and much faster. IMAP flags can be any atom name, which means it can not contain: ( ) { % * " \ ] space control characters characters with the high bit (8-bit characters) I would stick to a-zA-Z0-9_.- as the character set... It's probably safer to avoid the other characters such as @ or = IMO. A custom flag "MyFlag" can be set like this: APPEND "Inbox" (\Seen MyFlag) [etc...] I used a message by Mark Crispin to get this information: http://groups.google.com/group/comp.mail.imap/msg/ab2bab9722a80272?dmode=source&hl=en I propose that for backends that can't support flags, e.g. nntp or nnrss, we use the gnus-registry (if installed) to track the flags by message-ID as a fallback. Ted