* emacsclient stuck "Waiting for Emacs..."
@ 2009-07-20 14:35 Joseph Garvin
2009-07-21 5:26 ` Lennart Borgman
2009-07-21 5:56 ` Thierry Volpiatto
0 siblings, 2 replies; 6+ messages in thread
From: Joseph Garvin @ 2009-07-20 14:35 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 618 bytes --]
I'm running emacs 22.0.96.1. I've put (server-start) in my rc file, and when
I run emacsclient on a file it opens it my existing emacs just as it should.
But emacsclient never detects that emacs has opened the file and just sits
there "Waiting for Emacs..." after that. If in emacs I restart the server
M-x server-start, then emacsclient stops waiting (because it finally
realizes it finished or because it detects a disconnect, I don't know). I've
looked in my /tmp and verified there's an entry for the emacs server there.
In case it's relevant, I'm running on Solaris 10.
Any ideas how to fix emacsclient?
thanks
[-- Attachment #2: Type: text/html, Size: 675 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacsclient stuck "Waiting for Emacs..."
2009-07-20 14:35 emacsclient stuck "Waiting for Emacs..." Joseph Garvin
@ 2009-07-21 5:26 ` Lennart Borgman
2009-07-21 7:52 ` Lennart Borgman
2009-07-21 5:56 ` Thierry Volpiatto
1 sibling, 1 reply; 6+ messages in thread
From: Lennart Borgman @ 2009-07-21 5:26 UTC (permalink / raw)
To: Joseph Garvin; +Cc: help-gnu-emacs
Send a bug report! M-x report-emacs-bug
On Mon, Jul 20, 2009 at 4:35 PM, Joseph Garvin<joseph.h.garvin@gmail.com> wrote:
> I'm running emacs 22.0.96.1. I've put (server-start) in my rc file, and when
> I run emacsclient on a file it opens it my existing emacs just as it should.
> But emacsclient never detects that emacs has opened the file and just sits
> there "Waiting for Emacs..." after that. If in emacs I restart the server
> M-x server-start, then emacsclient stops waiting (because it finally
> realizes it finished or because it detects a disconnect, I don't know). I've
> looked in my /tmp and verified there's an entry for the emacs server there.
> In case it's relevant, I'm running on Solaris 10.
>
> Any ideas how to fix emacsclient?
>
> thanks
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacsclient stuck "Waiting for Emacs..."
2009-07-21 5:26 ` Lennart Borgman
@ 2009-07-21 7:52 ` Lennart Borgman
0 siblings, 0 replies; 6+ messages in thread
From: Lennart Borgman @ 2009-07-21 7:52 UTC (permalink / raw)
To: Joseph Garvin; +Cc: help-gnu-emacs
Sorry, it acts as it should it waits... - as Anselm points out. (I
should read a bit more before answering...)
On Tue, Jul 21, 2009 at 7:26 AM, Lennart
Borgman<lennart.borgman@gmail.com> wrote:
> Send a bug report! M-x report-emacs-bug
>
>
> On Mon, Jul 20, 2009 at 4:35 PM, Joseph Garvin<joseph.h.garvin@gmail.com> wrote:
>> I'm running emacs 22.0.96.1. I've put (server-start) in my rc file, and when
>> I run emacsclient on a file it opens it my existing emacs just as it should.
>> But emacsclient never detects that emacs has opened the file and just sits
>> there "Waiting for Emacs..." after that. If in emacs I restart the server
>> M-x server-start, then emacsclient stops waiting (because it finally
>> realizes it finished or because it detects a disconnect, I don't know). I've
>> looked in my /tmp and verified there's an entry for the emacs server there.
>> In case it's relevant, I'm running on Solaris 10.
>>
>> Any ideas how to fix emacsclient?
>>
>> thanks
>>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacsclient stuck "Waiting for Emacs..."
2009-07-20 14:35 emacsclient stuck "Waiting for Emacs..." Joseph Garvin
2009-07-21 5:26 ` Lennart Borgman
@ 2009-07-21 5:56 ` Thierry Volpiatto
1 sibling, 0 replies; 6+ messages in thread
From: Thierry Volpiatto @ 2009-07-21 5:56 UTC (permalink / raw)
To: help-gnu-emacs
Joseph Garvin <joseph.h.garvin@gmail.com> writes:
> I'm running emacs 22.0.96.1. I've put (server-start) in my rc file, and when
> I run emacsclient on a file it opens it my existing emacs just as it should.
> But emacsclient never detects that emacs has opened the file and just sits
> there "Waiting for Emacs..." after that. If in emacs I restart the server
> M-x server-start, then emacsclient stops waiting (because it finally
> realizes it finished or because it detects a disconnect, I don't know). I've
> looked in my /tmp and verified there's an entry for the emacs server there.
> In case it's relevant, I'm running on Solaris 10.
>
> Any ideas how to fix emacsclient?
Did you hit C-x # after editing your file?
> thanks
--
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France
^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <mailman.2881.1248153649.2239.help-gnu-emacs@gnu.org>]
* Re: emacsclient stuck "Waiting for Emacs..."
[not found] <mailman.2881.1248153649.2239.help-gnu-emacs@gnu.org>
@ 2009-07-21 7:01 ` Anselm Helbig
2009-07-21 8:34 ` Joost Kremers
1 sibling, 0 replies; 6+ messages in thread
From: Anselm Helbig @ 2009-07-21 7:01 UTC (permalink / raw)
To: help-gnu-emacs
At Mon, 20 Jul 2009 09:35:42 -0500,
Joseph Garvin <joseph.h.garvin@gmail.com> wrote:
>
> [1 <text/plain; ISO-8859-1 (7bit)>]
>
> [2 <text/html; ISO-8859-1 (quoted-printable)>]
> I'm running emacs 22.0.96.1. I've put (server-start) in my rc file, and when I run emacsclient on a file it opens it my existing emacs just as it should. But emacsclient never detects
> that emacs has opened the file and just sits there "Waiting for Emacs..." after that. If in emacs I restart the server M-x server-start, then emacsclient stops waiting (because it
> finally realizes it finished or because it detects a disconnect, I don't know). I've looked in my /tmp and verified there's an entry for the emacs server there. In case it's relevant,
> I'm running on Solaris 10.
>
> Any ideas how to fix emacsclient?
It's not broken. Emacsclient is designed to behave like this so that
you can use it as a replacement for other editors, e.g. for composing
mail in mutt, or writing a commit message for subversion. The calling
program needs to know when you're done editing, you do that with
`C-x #' (server-edit) from emacs.
To get the behaviour you desire you have to pass the -n switch to
emacsclient. I have a shell function that does that for me:
ec() { emacsclient -n "$@"; }
HTH
Anselm
--
Anselm Helbig
mailto:anselm.helbig+news2009@googlemail.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: emacsclient stuck "Waiting for Emacs..."
[not found] <mailman.2881.1248153649.2239.help-gnu-emacs@gnu.org>
2009-07-21 7:01 ` Anselm Helbig
@ 2009-07-21 8:34 ` Joost Kremers
1 sibling, 0 replies; 6+ messages in thread
From: Joost Kremers @ 2009-07-21 8:34 UTC (permalink / raw)
To: help-gnu-emacs
Joseph Garvin wrote:
> Any ideas how to fix emacsclient?
yes: read the documentation for emacsclient:
(info "(emacs) Invoking emacsclient")
--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-07-21 8:34 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-20 14:35 emacsclient stuck "Waiting for Emacs..." Joseph Garvin
2009-07-21 5:26 ` Lennart Borgman
2009-07-21 7:52 ` Lennart Borgman
2009-07-21 5:56 ` Thierry Volpiatto
[not found] <mailman.2881.1248153649.2239.help-gnu-emacs@gnu.org>
2009-07-21 7:01 ` Anselm Helbig
2009-07-21 8:34 ` Joost Kremers
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.