From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81952 Path: news.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.gnus.general Subject: Re: Start with particular servers offline? Date: Fri, 15 Jun 2012 12:55:59 +0000 Organization: not if I can help it Message-ID: References: <7s62aszt8c.fsf@news.eternal-september.org> Reply-To: ding@gnus.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1339765043 21032 80.91.229.3 (15 Jun 2012 12:57:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 15 Jun 2012 12:57:23 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30222@lists.math.uh.edu Fri Jun 15 14:57:23 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SfW5Z-0007cH-4X for ding-account@gmane.org; Fri, 15 Jun 2012 14:57:21 +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 1SfW4f-0003Zy-2A; Fri, 15 Jun 2012 07:56:25 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1SfW4c-0003Ze-UU for ding@lists.math.uh.edu; Fri, 15 Jun 2012 07:56:22 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1SfW4Y-0001oZ-CU for ding@lists.math.uh.edu; Fri, 15 Jun 2012 07:56:22 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1SfW4W-0008U7-Bw for ding@gnus.org; Fri, 15 Jun 2012 14:56:16 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SfW4S-0004KE-R8 for ding@gnus.org; Fri, 15 Jun 2012 14:56:12 +0200 Original-Received: from 78.207.202.9 ([78.207.202.9]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Jun 2012 14:56:12 +0200 Original-Received: from rpluim by 78.207.202.9 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Jun 2012 14:56:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 56 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 78.207.202.9 Mail-Copies-To: never User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (windows-nt) Cancel-Lock: sha1:fUAYvVfQkiRgR3joIV8osQEuTP8= X-Spam-Score: 0.2 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-2078--10031h-0s--0d--H*u:Emacs, 0.000-298--1436h-0s--0d--H*u:Gnus, 0.000-171--821h-0s--0d--HX-Complaints-To:sk:usenet@, 0.000-170--819h-0s--0d--HX-Injected-Via-Gmane:gmane.org, 0.000-170--819h-0s--0d--H*r:sk:1AlnuQ- Spam tokens: 0.987-1--0h-1s--0d--Being, 0.972-2947--552h-21874s--0d--H*RU:quimby.gnus.org, 0.972-2947--552h-21874s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.969-2757--592h-20935s--0d--HTo:D*gnus.org, 0.963-2812--748h-22250s--0d--H*RT:80.91.231.51 Autolearn status: no 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rpluim[at]gmail.com) 0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is CUSTOM_MED -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.9 NML_ADSP_CUSTOM_MED ADSP custom_med hit, and not from a mailing list List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81952 Archived-At: Richard Riley writes: > Robert Pluim writes: > >> Richard Riley writes: >> >>> Robert Pluim writes: >>> >>>> Lars Magne Ingebrigtsen writes: >>>> >>>>> Dave Abrahams writes: >>>>> >>>>>> I'd like to keep a particular server in my select methods, but I only >>>>>> want to connect to it when I explicitly say so. Is there a way to keep >>>>>> the server in the list, but have it start in offline or denied state? >>>>> >>>>> Put something like this in your .gnus.el file: >>>>> >>>>> (push '((nnimap "imap.gmail.com") denied) gnus-opened-servers) >>>> >>>> I added that as the last line in my .gnus.el >>>> >>>> It gives me two entries for the same server, with the 2nd one in the >>>> 'denied' state. >>>> >>>> Robert >>>> >>> >>> Cant you get the smae thing with levels and/or running in unplugged mode >>> with that server not agentized? Or something like that ;) >> >> Perhaps, but putting all the groups from the server I want to stay >> offline at a higher level feels hacky, and I don't use the agent. > > I would disagree with that. You dont want it opened as default, > therefore, for me, it is at a different level. > Perhaps, but if I understand the proposal, I'd need to put those groups as 'unsubscribed', so they wouldn't show up at all even if I were connected to that server unless I did 6-L (and then they'd be prefixed with 'U'). >> >> Being able to set something like (server-startup-state denied) in the >> server entry would be ideal, now if only someone would implement that >> :) > > I assume from Lars' comment above that it has been implemented but maybe > just doesn't work ;) I think it's an ordering issue. The servers are added to gnu-opened-servers after .gnus.el has been read, so gnus doesn't know you want a particular one to be denied. Robert