From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/23829 Path: main.gmane.org!not-for-mail From: Neil Crellin Newsgroups: gmane.emacs.gnus.general Subject: Re: Song of Programming Date: 04 Jul 1999 21:14:17 -0700 Organization: Wallaby Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035161491 4128 80.91.224.250 (21 Oct 2002 00:51:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:51:31 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id AAA03117 for ; Mon, 5 Jul 1999 00:22:36 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id XAB00720; Sun, 4 Jul 1999 23:15:36 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 04 Jul 1999 23:16:26 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id XAA29898 for ; Sun, 4 Jul 1999 23:16:13 -0500 (CDT) Original-Received: from webtile.wallaby.cc (c186349-a.smateo1.sfba.home.com [24.5.200.59]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id AAA02895 for ; Mon, 5 Jul 1999 00:14:16 -0400 (EDT) Original-Received: by webtile.wallaby.cc (Postfix, from userid 6077) id 2A37F6277A; Sun, 4 Jul 1999 21:14:18 -0700 (PDT) Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of "05 Jul 1999 05:19:29 +0200" Original-Lines: 55 User-Agent: Gnus/5.070091 (Pterodactyl Gnus v0.91) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:23829 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:23829 Lars Magne Ingebrigtsen writes: > Neil Crellin writes: > > > Somewhat tangential, but you reminded me of a wishlist item I'd been > > meaning to raise. How is one supposed to be able to run a gnus-slave > > unplugged safely? A gnus-slave-unplugged function which ensured that > > both slave and gnus-unplugged were set correctly would be nice here. > > Hm. Is that something that one would do much? > > I'm a bit wary of adding commands that would multiply exponentially as > features are added... I, for one, would use that a lot. To give you an idea of the sort of usage scenario I'm thinking of: I frequently have certain mail groups with large backlogs I need to slog through, but want to be able to continue to read new mail that comes in in a timely fashion, or I just want to be able to take a break from the backlog slog and browse some of my other groups without incurring the huge penalty of exiting and re-entering the groups, expiring and generating new sorted scored summary buffers for the big backlog group. gnus-slave is ideal for this sort of purpose, but only when plugged. I can have two emacs windows with one dedicated to the monster backlog, and the other for taking breaks and catching up on other stuff without pain in the big group window. To get the same sort of functionality unplugged is a challenge. Currently, I set up a gnus master and a gnus-slave plugged, then J j both of them to go unplugged and drop the connection. Then I can carry the laptop around the house or far away from the net connection. I'd like to be able to do that without the convolution. Currently gnus-plugged and gnus-unplugged just call (gnus) bare as their last sub-call. gnus-slave on the other hand accepts (& optional arg) and invoke gnus with eg (gnus arg nil 'slave). So one suggestion is should gnus-unplugged and gnus-plugged take (&optional arg) and do similar? Function gnus already handles dont-connect and slave as arguments. Since gnus-plugged and gnus-unplugged are just calls to gnus with gnus-plugged set to t or nil beforehand, would it even make sense to absorb gnus-plugged as an argument like those to gnus itself? Or does that only make sense for folks who've agentized? Will this do what I need in the meantime? (defun gnus-unplugged-slave (&optional arg) "Start Gnus slave unplugged." (interactive) (setq gnus-plugged nil) (gnus arg nil 'slave)) -- Neil Crellin