Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: gnus-agent-toggle-plugged doesn't open the connections to agentized servers
       [not found] <mailman.23788.1365451470.855.info-gnus-english@gnu.org>
@ 2013-08-01 12:24 ` Lars Magne Ingebrigtsen
  2013-08-02  9:06   ` Julien Cubizolles
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 2013-08-01 12:24 UTC (permalink / raw)
  To: Julien Cubizolles; +Cc: info-gnus-english

Julien Cubizolles <j.cubizolles@free.fr> writes:

> Is there a way to make it so ? I tried adding
> gnus-server-open-all-servers to gnus-agent-plugged-hook but 
>    * I'd prefer to open only agentized servers

If you don't want certain servers to be opened, then put the groups from
these servers on group levels where opening doesn't happen.

-- 
(domestic pets only, the antidote for overdose, milk.)
  No Gnus T-Shirt for sale: http://ingebrigtsen.no/no.php

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gnus-agent-toggle-plugged doesn't open the connections to agentized servers
  2013-08-01 12:24 ` gnus-agent-toggle-plugged doesn't open the connections to agentized servers Lars Magne Ingebrigtsen
@ 2013-08-02  9:06   ` Julien Cubizolles
  0 siblings, 0 replies; 3+ messages in thread
From: Julien Cubizolles @ 2013-08-02  9:06 UTC (permalink / raw)
  To: info-gnus-english

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Julien Cubizolles <j.cubizolles@free.fr> writes:
>
>> Is there a way to make it so ? I tried adding
>> gnus-server-open-all-servers to gnus-agent-plugged-hook but 
>>    * I'd prefer to open only agentized servers
>
> If you don't want certain servers to be opened, then put the groups from
> these servers on group levels where opening doesn't happen.

I tried it with no success, always the same error message. I came up
with the following code:

--8<---------------cut here---------------start------------->8---
(setq gnus-agentized-servers '("nnimap:gmail" "nnimap:free" "nntp:news.gmane.org"))

(defun jc-open-agentized-servers ()
  (let 
  ((servers gnus-agentized-servers))
    (while servers
      (gnus-open-server (car servers))
      (setq servers (cdr servers))))
  )

(add-hook 'gnus-agent-plugged-hook 'jc-open-agentized-servers)
--8<---------------cut here---------------end--------------->8---

Julien.


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 3+ messages in thread

* gnus-agent-toggle-plugged doesn't open the connections to agentized servers
@ 2013-04-08 20:04 Julien Cubizolles
  0 siblings, 0 replies; 3+ messages in thread
From: Julien Cubizolles @ 2013-04-08 20:04 UTC (permalink / raw)
  To: info-gnus-english

Is there a way to make it so ? I tried adding
gnus-server-open-all-servers to gnus-agent-plugged-hook but 
   * I'd prefer to open only agentized servers
   * I didn't work... I got an error with nml:local
--8<---------------cut here---------------start------------->8---
(error "No buffer named *Server*")
gnus-server-update-server("nnml:local")
--8<---------------cut here---------------end--------------->8---


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-02  9:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.23788.1365451470.855.info-gnus-english@gnu.org>
2013-08-01 12:24 ` gnus-agent-toggle-plugged doesn't open the connections to agentized servers Lars Magne Ingebrigtsen
2013-08-02  9:06   ` Julien Cubizolles
2013-04-08 20:04 Julien Cubizolles

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).