* Multiple emacsclient
@ 2011-12-14 0:43 Steven Har
2011-12-14 8:19 ` Wang Lei
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Steven Har @ 2011-12-14 0:43 UTC (permalink / raw
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 345 bytes --]
Hi all,
I sometimes use emacs daemon mode and would like to use it more, since I
have the habit of getting in and out of Emacs often. However, if an
emacsclient is connecting to the daemon, another instance cannot be started
("Waiting for Emacs..."). Is this what's supposed to happen? Can't two or
more emacsclient connect to the same daemon?
[-- Attachment #2: Type: text/html, Size: 450 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Multiple emacsclient
2011-12-14 0:43 Multiple emacsclient Steven Har
@ 2011-12-14 8:19 ` Wang Lei
2011-12-14 9:12 ` Steven Har
2011-12-14 9:34 ` David Chappaz
2011-12-14 23:05 ` PJ Weisberg
2011-12-15 6:46 ` XeCycle
2 siblings, 2 replies; 6+ messages in thread
From: Wang Lei @ 2011-12-14 8:19 UTC (permalink / raw
To: help-gnu-emacs
On 2011-12-14 08:43:34 +0800, Steven Har wrote:
> Hi all,
>
> I sometimes use emacs daemon mode and would like to use it more, since I
> have the habit of getting in and out of Emacs often. However, if an
> emacsclient is connecting to the daemon, another instance cannot be started
> ("Waiting for Emacs..."). Is this what's supposed to happen? Can't two or
> more emacsclient connect to the same daemon?
Yes. One console for one emacsclient. If tty devices are not enough, you
can run emacsclient in shell-mode.:)
--
Regards,
Lei
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Multiple emacsclient
2011-12-14 8:19 ` Wang Lei
@ 2011-12-14 9:12 ` Steven Har
2011-12-14 9:34 ` David Chappaz
1 sibling, 0 replies; 6+ messages in thread
From: Steven Har @ 2011-12-14 9:12 UTC (permalink / raw
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 702 bytes --]
On Wed, Dec 14, 2011 at 3:19 PM, Wang Lei <f3d27b@gmail.com> wrote:
>
> On 2011-12-14 08:43:34 +0800, Steven Har wrote:
> > Hi all,
> >
> > I sometimes use emacs daemon mode and would like to use it more, since I
> > have the habit of getting in and out of Emacs often. However, if an
> > emacsclient is connecting to the daemon, another instance cannot be
> started
> > ("Waiting for Emacs..."). Is this what's supposed to happen? Can't two or
> > more emacsclient connect to the same daemon?
> Yes. One console for one emacsclient. If tty devices are not enough, you
> can run emacsclient in shell-mode.:)
>
Ah, so I need to run 'emacsclient -t' instead of just 'emacsclient'. Thanks
anyway :)
--
[-- Attachment #2: Type: text/html, Size: 1142 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Multiple emacsclient
2011-12-14 8:19 ` Wang Lei
2011-12-14 9:12 ` Steven Har
@ 2011-12-14 9:34 ` David Chappaz
1 sibling, 0 replies; 6+ messages in thread
From: David Chappaz @ 2011-12-14 9:34 UTC (permalink / raw
To: help-gnu-emacs
Well, I'm often confused by the terminology and the technical jargon, but I
think you can have multiple clients connected to the same daemon, see
http://www.emacswiki.org/emacs/MultiTTYSupport
The key is the "-c" switch, possibly combined with "-t".
Or do I get this completely wrong ?? (I might !)
David.
-----Original Message-----
From: help-gnu-emacs-bounces+david.chappaz=free.fr@gnu.org
[mailto:help-gnu-emacs-bounces+david.chappaz=free.fr@gnu.org] On Behalf Of
Wang Lei
Sent: 14 December 2011 08:20
To: help-gnu-emacs@gnu.org
Subject: Re: Multiple emacsclient
On 2011-12-14 08:43:34 +0800, Steven Har wrote:
> Hi all,
>
> I sometimes use emacs daemon mode and would like to use it more, since I
> have the habit of getting in and out of Emacs often. However, if an
> emacsclient is connecting to the daemon, another instance cannot be
started
> ("Waiting for Emacs..."). Is this what's supposed to happen? Can't two or
> more emacsclient connect to the same daemon?
Yes. One console for one emacsclient. If tty devices are not enough, you
can run emacsclient in shell-mode.:)
--
Regards,
Lei
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Multiple emacsclient
2011-12-14 0:43 Multiple emacsclient Steven Har
2011-12-14 8:19 ` Wang Lei
@ 2011-12-14 23:05 ` PJ Weisberg
2011-12-15 6:46 ` XeCycle
2 siblings, 0 replies; 6+ messages in thread
From: PJ Weisberg @ 2011-12-14 23:05 UTC (permalink / raw
To: Steven Har; +Cc: help-gnu-emacs
On Tue, Dec 13, 2011 at 4:43 PM, Steven Har <stevenhar007@gmail.com> wrote:
> Hi all,
>
> I sometimes use emacs daemon mode and would like to use it more, since I
> have the habit of getting in and out of Emacs often. However, if an
> emacsclient is connecting to the daemon, another instance cannot be started
> ("Waiting for Emacs..."). Is this what's supposed to happen? Can't two or
> more emacsclient connect to the same daemon?
emacsclient is waiting for Emacs to tell it it's done editing that
file. That's important if you use emacsclient as your EDITOR. If you
want emacsclient to return immediately, use the -n option.
-PJ
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Multiple emacsclient
2011-12-14 0:43 Multiple emacsclient Steven Har
2011-12-14 8:19 ` Wang Lei
2011-12-14 23:05 ` PJ Weisberg
@ 2011-12-15 6:46 ` XeCycle
2 siblings, 0 replies; 6+ messages in thread
From: XeCycle @ 2011-12-15 6:46 UTC (permalink / raw
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 860 bytes --]
Steven Har <stevenhar007@gmail.com> writes:
> Hi all,
>
> I sometimes use emacs daemon mode and would like to use it more,
> since I have the habit of getting in and out of Emacs often.
> However, if an emacsclient is connecting to the daemon, another
> instance cannot be started ("Waiting for Emacs..."). Is this
> what's supposed to happen? Can't two or more emacsclient connect
> to the same daemon?
Do you use emacsclient in terminals? If not, just use parameter
`-c -n', which creates an X window and doesn't wait for
(server-edit). If you do, you can use the command `make-frame',
or command `find-file-other-frame', and those similar
-other-frame commands.
--
Carl Lei (XeCycle)
Department of Physics, Shanghai Jiao Tong University
OpenPGP public key: 7795E591
Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591
[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-12-15 6:46 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-14 0:43 Multiple emacsclient Steven Har
2011-12-14 8:19 ` Wang Lei
2011-12-14 9:12 ` Steven Har
2011-12-14 9:34 ` David Chappaz
2011-12-14 23:05 ` PJ Weisberg
2011-12-15 6:46 ` XeCycle
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.