From: John Russell <jorussel@cisco.com>
Subject: Re: server-start preempted by other emacs window
Date: 28 Jan 2004 15:31:06 -0500 [thread overview]
Message-ID: <m3y8rrg6id.fsf@cisco.com> (raw)
In-Reply-To: 401802D2.40904@yahoo.com
Kevin Rodgers <ihs_4664@yahoo.com> writes:
> John Russell wrote:
>
> > Is there a way to have emacs check to see if another server process
> > is running before it runs server-start?
> > My issue is that if I have one emacs window open (my IDE) and then
> > open another one for gnus, the last one opened always destroys any
> > server process in existence. So all emacsclient calls go to the gnus
> > window, and when that window gets closed, there is no longer any
> > server running at all.
> > I was hoping for a boolean function call or something, but apropos
> > wasn't helpful. Any ideas? Thanks.
>
> C-h v server-process
server-process shows #<process server> after the server starts but it
stays that way if another emacs instance takes over the server socket
so its not useful as a test.
> C-h v server-clients
This list is nil if there are no pending client buffers, Also if you run
emacsclient with -n, which I do because I use it in my filemanager
to edit files all in one window so I want emacsclient to return
immediately.
Thanks anyway.
John
>
>
> --
> Kevin Rodgers
next prev parent reply other threads:[~2004-01-28 20:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-28 16:34 server-start preempted by other emacs window John Russell
2004-01-28 18:33 ` Stefan Monnier
2004-01-28 20:33 ` John Russell
2004-01-29 16:52 ` Stefan Monnier
2004-01-29 18:39 ` Thorsten Bonow
2004-01-29 21:11 ` kgold
2004-02-08 9:50 ` Jari Aalto+mail.linux
2004-01-28 18:43 ` Kevin Rodgers
2004-01-28 20:31 ` John Russell [this message]
2004-01-29 7:19 ` Klaus Zeitler
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3y8rrg6id.fsf@cisco.com \
--to=jorussel@cisco.com \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).