From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66692 Path: news.gmane.org!not-for-mail From: Bill O'Connor Newsgroups: gmane.emacs.gnus.general Subject: Re: Restricting frequency of 'g' Date: Sun, 06 Apr 2008 00:54:14 -0400 Message-ID: <87prt38txl.fsf@t22.Belkin> References: <87zls71wod.fsf@windlord.stanford.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207457994 19270 80.91.229.12 (6 Apr 2008 04:59:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Apr 2008 04:59:54 +0000 (UTC) Cc: ding@gnus.org To: Russ Allbery Original-X-From: ding-owner+M15175@lists.math.uh.edu Sun Apr 06 07:00:26 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1JiMzP-0001zm-5I for ding-account@gmane.org; Sun, 06 Apr 2008 07:00:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1JiMy3-0007oA-Lh; Sat, 05 Apr 2008 23:58:59 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1JiMy2-0007nv-0g for ding@lists.math.uh.edu; Sat, 05 Apr 2008 23:58:58 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JiMxv-0003eW-OR for ding@lists.math.uh.edu; Sat, 05 Apr 2008 23:58:57 -0500 Original-Received: from py-out-1112.google.com ([64.233.166.182]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JiMy5-0005iP-00 for ; Sun, 06 Apr 2008 06:59:01 +0200 Original-Received: by py-out-1112.google.com with SMTP id d32so863319pye.12 for ; Sat, 05 Apr 2008 21:58:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references:date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=+mftaBmqYkd+af/VBebOd57egURmy3uZru0lxQiM/2c=; b=mgOL0Vecq1RS1HbPIAlI4aSlOR3HfbXLqXvH6RstJT2/DmSqMlbUtkjCbj5CvCXPaQPjESSUNk5F+fusBqje8X62loupAe4CS+4rg26Avuj47QZrq2gQKHo1BbRDQQj17iQb0yMdOMtxhCHm6KG/WFTV91t5FlN2kVmNKEraH0c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id:user-agent:mime-version:content-type; b=gvtz5z4DTgIw+eDGmx13xKlcpeBzWqKx64B82Bxtbs20oCGyOKMgWH/6We22afm5+8eCVwjpoTkv8vRk/aRXVgTlS7kmb24h/GmC+cL2v6Xn5zeMlM4mt8wMnraRAGHwS8iuBEaUG7r7Bh2/FMWTQzDYy1PBceyFbx5HruB/21g= Original-Received: by 10.35.77.3 with SMTP id e3mr5912722pyl.7.1207457929036; Sat, 05 Apr 2008 21:58:49 -0700 (PDT) Original-Received: from t22.Belkin ( [68.175.79.248]) by mx.google.com with ESMTPS id f78sm18100568pyh.18.2008.04.05.21.58.44 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 05 Apr 2008 21:58:48 -0700 (PDT) In-Reply-To: <87zls71wod.fsf@windlord.stanford.edu> (Russ Allbery's message of "Sat, 05 Apr 2008 20:36:50 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Spam-Score: -1.7 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66692 Archived-At: Russ Allbery writes: > I've noticed a bad habit in myself (and I'm betting I'm not the only one) > where I'll press g in a Gnus group buffer to check for new mail whenever I > pass by the screen in which Gnus is running or whenever I'm waiting for > something else, even for a moment. And then I get sucked back into my > mail, including often a lot of traffic that I don't need to see right > then. > > Does anyone have a good recipe for having Gnus remember the last time I > checked for new mail and to force me to jump through some hoop if it's > been less than a configurable amount of time? My guess is that it > wouldn't be horribly difficult to do this in elisp by rebinding g, but > it's a bit beyond my personal skill. > > -- > Russ Allbery (rra@stanford.edu) I just let gnus do it for me every 20 minutes. (gnus-demon-add-handler 'gnus-demon-scan-and-update 20 nil) (setq gnus-use-demon t) (gnus-demon-init)