Gnus development mailing list
 help / color / mirror / Atom feed
From: David Z Maze <dmaze@MIT.EDU>
Subject: Skip intermediate mbox file in mail-sources?
Date: Tue, 27 May 2003 17:34:27 -0400	[thread overview]
Message-ID: <87d6i43wgs.fsf@cag.lcs.mit.edu> (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




             reply	other threads:[~2003-05-27 21:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-27 21:34 David Z Maze [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d6i43wgs.fsf@cag.lcs.mit.edu \
    --to=dmaze@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).