Gnus development mailing list
 help / color / mirror / Atom feed
* Skip intermediate mbox file in mail-sources?
@ 2003-05-27 21:34 David Z Maze
  2003-05-28  9:05 ` Kai Großjohann
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: David Z Maze @ 2003-05-27 21:34 UTC (permalink / raw)


I was tracking down some issues[1] with sucking in my mail today, and
was wondering why Gnus does this:

  (1) Open mail source.  Read one message at a time.  Concatenate into
      a single mbox file ($HOME/.emacs-mail-crash-box, then copied
      into Incomingxxxxxx.)

  (2) Open the mbox file.  Parse out a message at a time, and call the
      function named in nnmail-split-method on each.

Is there a reason the intermediate mbox file is necessary?  (I could
entirely believe that, once upon a time, GNUS only grokked mbox
format, and "translate anything to mbox" was the easiest way to add
more mail sources.)  With formats like directory, pop, maildir, and
imap, where you can readily fetch a message at a time, this adds an
unnecessary layer of indirection.  This also results in side effects:
From at the start of the line gets the ugly mbox quoting, which really
shouldn't be necessary unless the backend is also in mbox format.

-- 
David Maze             dmaze@mit.edu          http://www.mit.edu/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell




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

end of thread, other threads:[~2003-10-18 12:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-27 21:34 Skip intermediate mbox file in mail-sources? David Z Maze
2003-05-28  9:05 ` Kai Großjohann
2003-05-28 18:55 ` Ted Zlatanov
2003-05-29  8:40   ` Kai Großjohann
2003-10-18 12:59 ` Lars Magne Ingebrigtsen

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).