From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/29415 Path: main.gmane.org!not-for-mail From: Lloyd Zusman Newsgroups: gmane.emacs.gnus.general Subject: Re: Preventing multiple startups of Gnus by the same user? Date: 06 Mar 2000 23:04:15 -0500 Organization: Linux Hippopotamus Preserve Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035166089 2658 80.91.224.250 (21 Oct 2002 02:08:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:08:09 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id ACC04D051E for ; Mon, 6 Mar 2000 23:06:28 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id WAB02463; Mon, 6 Mar 2000 22:04:43 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 06 Mar 2000 22:04:21 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id WAA13629 for ; Mon, 6 Mar 2000 22:04:09 -0600 (CST) Original-Received: from ljz.net (ljz.net [205.230.65.138]) by mailhost.sclp.com (Postfix) with ESMTP id 04BE9D051E for ; Mon, 6 Mar 2000 23:04:18 -0500 (EST) Original-Received: by ljz.net (Postfix, from userid 510) id 3F7D33EC8C; Mon, 6 Mar 2000 23:04:16 -0500 (EST) Original-To: ding@gnus.org X-Face: "!ga1s|?LNLE3MeeeEYs(%LIl9q[xV9!j4#xf4!**BFW_ihlOb;:Slb>)vy>CJM writes: > Lloyd Zusman writes: > > Does there already exist a reliable way to tell either before or > > during Gnus startup that the same user on the same machine already > > has a Gnus session running? > > Cf. gnus-alive-p. OOPS ... I'm sorry, but I wasn't clear enough in my original question, although thank you very much for your quick reply. I'll try to do a better job with my question: Suppose I have started up XEmacs as a certain user on my machine, and this XEmacs process is running Gnus. Now, suppose I forget that this original XEmacs process is evan running and I start XEmacs up all over again under that same user ID. Now, suppose I try to start Gnus under this second XEmacs process. What I'd like to do is for this second Gnus to never start up because there's another one running as the same user ID within a different process. Unless I'm mistaken, `gnus-alive-p' only checks for an already-running Gnus within a single XEmacs process. If this cannot be done directly using Gnus, perhaps XEmacs provides some functions that I can use to implement this ... ??? Thanks again in advance ... -- Lloyd Zusman ljz@asfast.com