Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Cc: emacs-devel@gnu.org
Subject: Re: imap.el and nnimap.el [was Re: Build failure bzr trunk revno 103260]
Date: Mon, 14 Feb 2011 14:52:25 -0600	[thread overview]
Message-ID: <87y65ipcdy.fsf@lifelogs.com> (raw)
In-Reply-To: <87sjvq4cyz.fsf@gnus.org>

On Mon, 14 Feb 2011 11:45:24 -0800 Lars Ingebrigtsen <larsi@gnus.org> wrote: 

LI> Ted Zlatanov <tzz@lifelogs.com> 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.

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

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

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

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

Considering the work that went into nnimap.el, I agree some of it should
be thrown back into imap.el.  I guess you can try to provide backwards
compatibility, but it's not unprecedented to break the API in order to
get better functionality.  We can fix the stuff in Emacs that uses
imap.el and I doubt there's much third-party code using imap.el.

Ted




  parent reply	other threads:[~2011-02-14 20:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AANLkTikV=nnEFB03UYH-tcMNEDGRbqcVQ6683p3CUwUK@mail.gmail.com>
     [not found] ` <8762sn4fgh.fsf@lifelogs.com>
     [not found]   ` <v6oc6fe7g9.fsf@fencepost.gnu.org>
     [not found]     ` <87tyg72wrl.fsf@lifelogs.com>
     [not found]       ` <fir5bbe2x0.fsf_-_@fencepost.gnu.org>
2011-02-14 14:55         ` Ted Zlatanov
2011-02-14 19:45           ` Lars Ingebrigtsen
2011-02-14 19:47             ` Lars Ingebrigtsen
2011-02-14 20:52             ` Ted Zlatanov [this message]
2011-02-14 21:13               ` Lars Ingebrigtsen
2011-02-14 21:28                 ` Ted Zlatanov
2011-02-14 22:11                   ` Lars Ingebrigtsen
2011-02-14 20:17           ` imap.el and nnimap.el Glenn Morris
2011-02-14 20:48             ` Ted Zlatanov

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=87y65ipcdy.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.org \
    /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).