Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: What's your gnus-demon-scan-news idle time?
Date: Thu, 24 Oct 2019 18:42:29 -0700	[thread overview]
Message-ID: <877e4t7g8q.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <875zkeyd5f.fsf@dick>

dick.r.chiang@gmail.com writes:

> I am close to threading gnus-group-get-new-news and am looking for datapoints
> on the following:

I'm very curious to hear how you're handling threading! My observation
has been that you can't (currently) run individual servers in their own
threads, because they all fight over the nntp-server-buffer, and that
threading the entire new-news update process basically still blocks all
of emacs. How are you doing it?

> 1. Do you run gnus in a separate emacs instance?
>
> 2. If you use gnus-demon to refresh messages, what are your TIME and IDLE
> values?  If you don't use gnus-demon, are you manually refreshing via "g" or
> some other method?

I don't do either of these. My IMAP servers are local, so there's very
little lag. My NNTP server connection seems to fail by itself every
eight or nine minutes, so there's exactly no lag there :) Not until I
make an effort to reconnect.

> For this user, I do run gnus separately from my dev work, and my
> TIME is nil and IDLE is 7 minutes.  After threading, I hope to swap those
> settings (TIME 7, IDLE nil).

Bob Newell <bobnewell@bobnewell.net> writes:

> Aloha,
>
> I run a single instance of emacs, and I refresh gnus only with 'g' on
> a purely manual basis. But that isn't the full story.
>
> I use IMAP exclusively as I run gnus and emacs across something like 8
> devices. Since checking/fetching IMAP is slow and blocking, I only
> want to do that when (a) I know there is something to fetch and (b) I
> want to fetch it.
>
> When emacs starts, I have it launch a bash script that loops and
> periodically checks for new mail in my IMAP boxes (primarily gmail).
> If there is new mail (not just unread mail, but something newly
> arrived since last check) it writes a small drop file and barks (plays
> a sound).
>
> A small function driven off the mode-line checks the drop file. This
> is very fast with no perceptible overhead. The modeline shows the
> number of new emails. (A few other functions deal with updating the
> mode line when I actually read the new mail.)
>
> So when I either hear the bark or notice new mail in the modeline, and
> I feel okay with stopping my work for a bit, I make a manual check. At
> this point I don't mind the blocking operation.
>
> Now, at least for me, NOT checking email often is a good thing. I used
> to check it a lot. Maybe it's a positive feature that IMAP email
> reading with gnus is both blocking and slow, because my
> constant/frequent checking/reading email was an enormous time waster
> and productivity drain.

Now we know what your 1,000 lines of config are doing! That is a nice
solution. Running a local IMAP server does a bit of the same work, in
that you end up having to make a conscious decision to check your mail,
but the automatic (but fairly subtle) notification is a nice touch.

Eric




  parent reply	other threads:[~2019-10-25  1:42 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-24  4:34 dick.r.chiang
2019-10-24  5:35 ` Eric S Fraga
2019-10-24 13:55 ` Jorge A. Alfaro-Murillo
2019-10-24 14:17 ` Gijs Hillenius
2019-10-24 21:08 ` Adam Sjøgren
2019-10-25 12:59   ` Eric S Fraga
2019-10-25 13:27     ` Adam Sjøgren
2019-10-25 15:37       ` Eric S Fraga
2019-10-25 15:49         ` Adam Sjøgren
2019-10-27 15:33           ` Eric S Fraga
2019-10-24 23:30 ` Bob Newell
2019-10-25  1:42 ` Eric Abrahamsen [this message]
2019-10-25  2:06   ` dick
2019-10-25  3:10     ` Eric Abrahamsen
2019-10-31 13:36       ` Lars Ingebrigtsen
2019-11-14  2:54         ` Wrong default NNIR search method Spenser Truex
2019-11-14 18:51           ` Eric Abrahamsen

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=877e4t7g8q.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=ding@gnus.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).