Gnus development mailing list
 help / color / mirror / Atom feed
From: Shanks N <shanks.n@gmail.com>
Subject: conditionally connect to newsgroup
Date: Fri, 13 Oct 2006 22:02:21 +0530	[thread overview]
Message-ID: <uy7rkb2i2.fsf@gmail.com> (raw)

I use my laptop to connect to news.gmane.org from home.  The same port
is blocked in office.  Since I use gnus to read my email too, it tries
to connect to gmane in office which I have to stop by hitting c-g.

How do I get interactive prompt which asks whether I should to
news.gmane.org every time?  Or even better, a way to figure out
whether the laptop is connected to home or office network
automagically and not connect if it's office?

My email settings in .gnus.el

(setq gnus-select-method '(nnnil ""))
(add-to-list 'gnus-secondary-select-methods '(nnml ""))
(eval-after-load "mail-source"
  '(add-to-list 'mail-sources '(file :path "/var/spool/mail/shanks")))

I use cygwin + fetchmail for email.

and connected to gmane through the group buffer and subscribed to the
groups directly.

regards
Shanks
--




                 reply	other threads:[~2006-10-13 16:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=uy7rkb2i2.fsf@gmail.com \
    --to=shanks.n@gmail.com \
    /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).