all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Tom Tromey <tromey@redhat.com>
Cc: 17686@debbugs.gnu.org
Subject: bug#17686: 24.3; fetching mail in gnus -vs- erc
Date: Tue, 09 Dec 2014 03:13:15 +0100	[thread overview]
Message-ID: <m37fy11sg4.fsf@stories.gnus.org> (raw)
In-Reply-To: <87mwdsenrz.fsf@fleche.redhat.com> (Tom Tromey's message of "Wed,  04 Jun 2014 08:45:52 -0600")

Tom Tromey <tromey@redhat.com> writes:

> I somewhat regularly experience an unfortunate interaction between gnus
> and erc.
>
> I use fetchmail to download mail to my machine.  Then I tell gnus to
> pull this into nnmail groups.
>
> I also use ERC.
>
> If I have a lot of email (thousands of messages) pending, and then start
> ERC and only after that start gnus, then the ERC connection will time
> out while gnus processes the mail.  This logs me out of the irc server.
>
> I don't see why this has to happen.  Perhaps gnus and/or emacs could
> ensure that the ERC process gets called while importing the email.

Emacs Lisp is (basically) single-threaded, and Gnus fetches mail
synchronously, so all other Lisp stuff has to wait until the synchronous
action is over.  Including the ERC stuff, which is presumably running
off of a process filter.

I don't think there's any way to fix this without rewriting Emacs Lisp
to be multithreaded, and then this would like, just work, or rewrite
Gnus to do its fetching stuff asynchronously, and that's probably not
going to happen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2014-12-09  2:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-04 14:45 bug#17686: 24.3; fetching mail in gnus -vs- erc Tom Tromey
2014-12-09  2:13 ` Lars Magne Ingebrigtsen [this message]

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=m37fy11sg4.fsf@stories.gnus.org \
    --to=larsi@gnus.org \
    --cc=17686@debbugs.gnu.org \
    --cc=tromey@redhat.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.