From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/44305 Path: main.gmane.org!not-for-mail From: Jack Twilley Newsgroups: gmane.emacs.gnus.general Subject: Re: Need to execute code only if not slave Date: Fri, 19 Apr 2002 10:46:41 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: <86k7r3y41q.fsf@duchess.twilley.org> References: <86pu0vy6sl.fsf@duchess.twilley.org> <874ri7k4m5.fsf@sebold.lcms.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1019238472 29567 127.0.0.1 (19 Apr 2002 17:47:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 19 Apr 2002 17:47:52 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16ycUB-0007gR-00 for ; Fri, 19 Apr 2002 19:47:51 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16ycTW-0005XV-00; Fri, 19 Apr 2002 12:47:10 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 19 Apr 2002 12:47:21 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id MAA04912 for ; Fri, 19 Apr 2002 12:47:08 -0500 (CDT) Original-Received: (qmail 26496 invoked by alias); 19 Apr 2002 17:46:50 -0000 Original-Received: (qmail 26491 invoked from network); 19 Apr 2002 17:46:50 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 19 Apr 2002 17:46:50 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 16ycmi-0005g8-00 for ; Fri, 19 Apr 2002 20:07:00 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 34 Original-NNTP-Posting-Host: dsl092-188-219.sfo2.dsl.speakeasy.net Original-X-Trace: quimby.gnus.org 1019239620 18350 66.92.188.219 (19 Apr 2002 18:07:00 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 19 Apr 2002 18:07:00 GMT X-Attribution: Jack X-PGP-Key: 0x007F7B38 X-PGP-Fingerprint: 5315 7434 6095 DF36 995B 3407 18F1 527C 007F 7B38 X-Face: .NHAX*9Wpk.L>*/dOY%Tx85BIb;aN`:H*I7y}qDK{(&Q(zjfnli]\}|xh+mpp22}~9u.T[[ zaK{BFgnXg'rBY+GiwLccR(O/iXq"_Fhrx0+%!1N}?D(mT{T$n_q}f`!f\(,@dR~*x&{_Zn^Qm)6rV ]E,6z3JLm6k<9>^9kg:#TU-S'a3{@c,rcT7YF`M*cCg_S0e1=C?!^kg-Wy]f+Xjpe#gB]>#xi= sa4'F#mX[QH^5}1B$0.s"6Y0R["ypG0mIe;8R6H_W]*_c:1|0Z^FgjUA?dCr`b[TX>>>> "crs" =3D=3D Charles Sebold 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!) =2D --=20 Jack Twilley jmt at twilley dot org http colon slash slash www dot twilley dot org slash tilde jmt slash =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8wFgHGPFSfAB/ezgRAlF+AJ9jJHABIntUd98Wj12qcJadA0BwIQCdFq9E MffTBdy434dEblw7mRkdaRk=3D =3DlxSD =2D----END PGP SIGNATURE-----