[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: imap.el and nnimap.el [was Re: Build failure bzr trunk revno 103260]

From: Lars Ingebrigtsen
Subject: Re: imap.el and nnimap.el [was Re: Build failure bzr trunk revno 103260]
Date: Mon, 14 Feb 2011 11:45:24 -0800
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Ted Zlatanov <address@hidden> writes:

> Gnus itself needs imap.el only in one place (mail-source.el) so I
> propose we move imap.el to Emacs and out of Gnus when and if that
> dependency is removed.  It's a general-purpose library anyway.

I wonder whether it might make some sense to re-separate out some of the
more basic IMAP stuff from nnimap.el again.  nnimap.el slurped in all
the protocol-specific stuff from imap.el so that it could implement what
Gnus needed more efficiently, but there isn't really much reason why,
say, the login functions (and related) could be separated out again.

Then non-Gnus packages could just use this new stripped-down basic IMAP
library.  I think, basically, what most useful is the login functions
and a simple `imap-command' function, and the rest would be application

I've had a peek at the relevant nnimap and mail-source functions, and it
seems like it should be doable in a pretty clean fashion.

However, if the new basic IMAP library is called imap.el, then this
would still break third-party applications.


(domestic pets only, the antidote for overdose, milk.)
  address@hidden * Lars Magne Ingebrigtsen

reply via email to

[Prev in Thread] Current Thread [Next in Thread]