Gnus development mailing list
 help / color / mirror / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: ding@gnus.org
Subject: Re: Start with particular servers offline?
Date: Fri, 15 Jun 2012 12:55:59 +0000	[thread overview]
Message-ID: <xafaa047mzk.fsf@this.is.really.invalid> (raw)
In-Reply-To: <7s62aszt8c.fsf@news.eternal-september.org>

Richard Riley <rileyrg@gmail.com> writes:

> Robert Pluim <rpluim@gmail.com> writes:
>
>> Richard Riley <rileyrg@gmail.com> writes:
>>
>>> Robert Pluim <rpluim@gmail.com> writes:
>>>
>>>> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>>>>
>>>>> Dave Abrahams <dave@boostpro.com> 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




  reply	other threads:[~2012-06-15 12:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-03  9:11 Dave Abrahams
2012-06-03  9:44 ` Andreas Schwab
2012-06-10 19:03 ` Lars Magne Ingebrigtsen
2012-06-14 12:24   ` Robert Pluim
2012-06-14 14:08     ` Richard Riley
2012-06-15  7:31       ` Robert Pluim
2012-06-15 11:53         ` Richard Riley
2012-06-15 12:55           ` Robert Pluim [this message]
2012-06-15 15:28             ` Robert Pluim
2012-06-20 18:28     ` Lars Magne Ingebrigtsen
2012-06-22 14:45       ` Robert Pluim
2012-09-05 13:51         ` Lars Ingebrigtsen

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=xafaa047mzk.fsf@this.is.really.invalid \
    --to=rpluim@gmail.com \
    --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).