Gnus development mailing list
 help / color / mirror / Atom feed
* editing nnimap articles
@ 2009-10-08 19:05 Dan Christensen
  2009-10-09 14:39 ` Ted Zlatanov
  0 siblings, 1 reply; 13+ messages in thread
From: Dan Christensen @ 2009-10-08 19:05 UTC (permalink / raw)
  To: ding

I receive so many attachments that I find it necessary to use
gnus-mime-save-part-and-strip to delete them from my archived messages.
I'm in the process of converting from nnfolder to nnimap, and so I'd
like to investigate how hard it would be to extend nnimap to allow
article editing.  

My sense is that it should not be hard, since it just requires the
creation of a new article and the deletion of the old one, and both of
those are operations that nnimap can perform.  (In fact, I just noticed
that `B I' is able to create a new empty article in an nnimap group.)

In digging through the code, it looks to me like what would be needed
would be an implementation of nnimap-request-replace-article.
Would that just be a matter of combining nnimap-request-accept-article
with something like

           (imap-message-flags-add (format "%d" article)
                                   "\\Seen \\Deleted")
?

Would this work?  Can someone help me fill in the details?

Thanks,

Dan




^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-10-25  0:50 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-08 19:05 editing nnimap articles Dan Christensen
2009-10-09 14:39 ` Ted Zlatanov
2009-10-09 14:48   ` David Engster
2009-10-09 15:06     ` Ted Zlatanov
2009-10-09 15:29       ` David Engster
2009-10-09 15:42         ` Ted Zlatanov
2009-10-09 16:07           ` Dan Christensen
2009-10-09 18:53           ` David Engster
2009-10-09 21:19             ` Ted Zlatanov
2009-10-10  0:11               ` Dan Christensen
2009-10-10  2:03                 ` Dan Christensen
2009-10-25  0:50                   ` Dan Christensen
2009-10-10  8:37               ` David Engster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).