From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/44304 Path: main.gmane.org!not-for-mail From: Charles Sebold Newsgroups: gmane.emacs.gnus.general Subject: Re: Need to execute code only if not slave Date: Fri, 19 Apr 2002 11:58:10 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <874ri7k4m5.fsf@sebold.lcms.org> References: <86pu0vy6sl.fsf@duchess.twilley.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1019235576 23473 127.0.0.1 (19 Apr 2002 16:59:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 19 Apr 2002 16:59:36 +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 16ybjT-00066U-00 for ; Fri, 19 Apr 2002 18:59:36 +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 16ybit-0005LQ-00; Fri, 19 Apr 2002 11:58:59 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 19 Apr 2002 11:59:10 -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 LAA04765 for ; Fri, 19 Apr 2002 11:58:56 -0500 (CDT) Original-Received: (qmail 25652 invoked by alias); 19 Apr 2002 16:58:39 -0000 Original-Received: (qmail 25647 invoked from network); 19 Apr 2002 16:58:39 -0000 Original-Received: from webuser229.lcms.org (HELO sebold) (208.167.163.229) by gnus.org with SMTP; 19 Apr 2002 16:58:39 -0000 Original-Received: from sebold by sebold with local (Exim 3.35 #1 (Debian)) id 16ybi6-0000nW-00; Fri, 19 Apr 2002 11:58:10 -0500 Original-To: ding@gnus.org X-Attribution: crs X-Face: KviMK/n@>[)^qaI{Lpl^/~TBbx0FI*=>m%|v%69pVbA~Eu+@S3?[ioF>k}7b0(TZIle..zs -U=po%Tr;2bo,WH01K|,QP7}+-&kb^QO (Jack Twilley's message of "Fri, 19 Apr 2002 09:47:22 -0700") Original-Lines: 16 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:44304 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:44304 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