From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88836 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Bob Newell Newsgroups: gmane.emacs.gnus.general Subject: Re: What's your gnus-demon-scan-news idle time? Date: Thu, 24 Oct 2019 13:30:22 -1000 Message-ID: References: <875zkeyd5f.fsf@dick> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="1043"; mail-complaints-to="usenet@blaine.gmane.org" To: ding@gnus.org Original-X-From: ding-owner+M37040@lists.math.uh.edu Fri Oct 25 01:31:08 2019 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iNmZO-0018J3-NV for ding-account@gmane.org; Fri, 25 Oct 2019 01:31:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.92.3) (envelope-from ) id 1iNmZ2-0001tS-Rq; Thu, 24 Oct 2019 18:30:44 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1iNmYy-0001ql-JI for ding@lists.math.uh.edu; Thu, 24 Oct 2019 18:30:40 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1iNmYx-0004GW-5i for ding@lists.math.uh.edu; Thu, 24 Oct 2019 18:30:40 -0500 Original-Received: from mail-ot1-f52.google.com ([209.85.210.52]) by quimby.gnus.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1iNmYt-0000GC-85 for ding@gnus.org; Fri, 25 Oct 2019 01:30:37 +0200 Original-Received: by mail-ot1-f52.google.com with SMTP id c7so558089otm.3 for ; Thu, 24 Oct 2019 16:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bobnewell-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=gqP3fSqsDISYqs5Hx/gazv4JciBPtLc8MJ7NpWqbjzE=; b=t7lHVQMXUdlCTrWWVAEYLF/0kPwothM8wON8I1nSRk5hs9wV/8j0aykVIB3mEvK0/b RsaIdpf9mEBvOVZsm2s2Hr81SXBq4Tyt4jMBVMD2YikT8mwERYULNy13BKlDjTpwyqnA 5+9Wut1BvxZXiM6P7sTI/xhzugXylUEaZQzNxD//zWCG2xyt9POpwOr1wGVpKUAry0KS PLTE2ovB3bXuHn6ZxRkFAKb3HS1Pi/QwX+7s27fnpwvR3V25OvIlmO1ap4rImZb6hwPN 6QwZw8N8zymSEyxv8pxRRYOgiOr7wRKObNkV3J1kc7MFcFpCNQGG4sJo1McWHjRSkpIz Ixxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=gqP3fSqsDISYqs5Hx/gazv4JciBPtLc8MJ7NpWqbjzE=; b=E2h5+FXFx14zfku6WPxKYHgAX0WN/3xiWmDnxPradXA795XPDyrb+LCQXAgKSNbP9M HFy+jOtVeBB0/jmpcTvNnMoztDzSTlIyDvvPm26nspAEW+s8HiOPDjOavzoSbPWi2CjR u4cIho4BV0S3pE8+CCV4e9q9vYeJJDvPtelhkzv5FO6uiGYD74bphaaBBJ5Q4i5iIRwo HmsG4hjOH/sAOftcDyRGJzG1HWyTSIoc9E3QgugicK6TpqHKwerZVAqImJGgXziIJANZ l//LL0EqouyCVkuk2NgUQYz3yy4NwQrVi42dxq3FWQgJKEjbCR+YAmiaKPon0akhWeip Cw9Q== X-Gm-Message-State: APjAAAXG1tcRw5cGBJnqwX6nBGbwGrqYaLqBubU2r/GCmfgmIkXM49ZU NK1mqhFPhPW2spGcdpJ15tnVXk/K+7zJ1SVF++o8ZHxy X-Google-Smtp-Source: APXvYqwggCq0Qobb0uuowQNVhWVFxGgKXJD3ZpOGc3aQi4XCveSfbaz+MZmfbZXemKJTgSJRXafjd8JoGrekAkMyGMM= X-Received: by 2002:a9d:82e:: with SMTP id 43mr367121oty.23.1571959832828; Thu, 24 Oct 2019 16:30:32 -0700 (PDT) In-Reply-To: <875zkeyd5f.fsf@dick> List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88836 Archived-At: 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. Bob Newell Honolulu, Hawai`i