Gnus development mailing list
 help / color / mirror / Atom feed
* Need to execute code only if not slave
@ 2002-04-19 16:47 Jack Twilley
  2002-04-19 16:58 ` Charles Sebold
  0 siblings, 1 reply; 3+ messages in thread
From: Jack Twilley @ 2002-04-19 16:47 UTC (permalink / raw)


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


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

Is there anything simple like this that works?

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

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

iD8DBQE8wEohGPFSfAB/ezgRAtDBAJ44guiP7vLygT3BRYq2R+V1tVf+uACg6IGH
kTdwaRGKXn5hi0TyaiiWBBA=
=zRLE
-----END PGP SIGNATURE-----



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

* Re: Need to execute code only if not slave
  2002-04-19 16:47 Need to execute code only if not slave Jack Twilley
@ 2002-04-19 16:58 ` Charles Sebold
  2002-04-19 17:46   ` Jack Twilley
  0 siblings, 1 reply; 3+ messages in thread
From: Charles Sebold @ 2002-04-19 16:58 UTC (permalink / raw)


On 7 Iyyar 5762, Jack Twilley wrote:

> I have (gnuserv-start) at the foot of my .gnus and this works great
> except when I try to start up another Gnus session as a slave.
> 
> Is there anything simple like this that works?
> 
> (if (gnus-not-a-slave)
>     (gnuserv-start))

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

...works for me.
-- 
Charles Sebold             Shabbat Shalom             7th of Iyyar, 5762



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

* Re: Need to execute code only if not slave
  2002-04-19 16:58 ` Charles Sebold
@ 2002-04-19 17:46   ` Jack Twilley
  0 siblings, 0 replies; 3+ messages in thread
From: Jack Twilley @ 2002-04-19 17:46 UTC (permalink / raw)


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



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

end of thread, other threads:[~2002-04-19 17:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-19 16:47 Need to execute code only if not slave Jack Twilley
2002-04-19 16:58 ` Charles Sebold
2002-04-19 17:46   ` Jack Twilley

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