Gnus development mailing list
 help / color / mirror / Atom feed
From: Jack Twilley <jmt+usenet@twilley.org>
Subject: Re: Need to execute code only if not slave
Date: Fri, 19 Apr 2002 10:46:41 -0700	[thread overview]
Message-ID: <86k7r3y41q.fsf@duchess.twilley.org> (raw)
In-Reply-To: <874ri7k4m5.fsf@sebold.lcms.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


>>>>> "crs" == Charles Sebold <csebold@livingtorah.org> writes:

Jack> I have (gnuserv-start) at the foot of my .gnus and this works
Jack> great except when I try to start up another Gnus session as a
Jack> slave.

Jack> Is there anything simple like this that works?

Jack> (if (gnus-not-a-slave) (gnuserv-start))

crs> (if (not gnus-slave) (gnuserv-start))

crs> ...works for me.

Works here too.  Duh.  Thanks.

Jack.
(it's a function, it's a variable, it's... elisp!)
- -- 
Jack Twilley
jmt at twilley dot org
http colon slash slash www dot twilley dot org slash tilde jmt slash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8wFgHGPFSfAB/ezgRAlF+AJ9jJHABIntUd98Wj12qcJadA0BwIQCdFq9E
MffTBdy434dEblw7mRkdaRk=
=lxSD
-----END PGP SIGNATURE-----



      reply	other threads:[~2002-04-19 17:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-19 16:47 Jack Twilley
2002-04-19 16:58 ` Charles Sebold
2002-04-19 17:46   ` Jack Twilley [this message]

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=86k7r3y41q.fsf@duchess.twilley.org \
    --to=jmt+usenet@twilley.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).