GNU bug report logs - #30934
27.0.50; Emacsclient process in the terminal does not finish

Previous Next

Package: emacs;

Reported by: Thomas Hisch <thomas.hisch <at> ims.co.at>

Date: Sun, 25 Mar 2018 11:40:02 UTC

Severity: minor

Found in version 27.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 30934 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Thomas Hisch <thomas.hisch <at> ims.co.at>
Cc: 30934 <at> debbugs.gnu.org
Subject: Re: bug#30934: 27.0.50;
 Emacsclient process in the terminal does not finish
Date: Sun, 25 Mar 2018 18:22:12 +0300
> From: Thomas Hisch <thomas.hisch <at> ims.co.at>
> Date: Sun, 25 Mar 2018 13:38:50 +0200
> 
> 
> I have an emacs daemon running (started using emacs --daemon) and want
> to open files on the commandline with emacsclient. I would expect the
> emacsclient command to open the file in an existing frame and return
> immediately. However, emacsclient outputs the "Waiting for Emacs..."
> message and does not return immediately. Is this intended

Yes.

> and what does this message mean if the file is opened in an existing
> frame?

It means emacsclient is waiting for the server to indicate that
editing of the file is done.  This is for programs which invoke an
editor, let the user edit some text, then continue processing that
text after the user finishes editing it.

> There is a --no-wait command line arg, whose help text is "Don't wait
> for the server to return". To me it seems like this should not be used,
> but maybe I'm wrong. Anyway, -n does what I want, but the help text was
> not clear to me.

The --no-wait option is exactly what you want.  If you can explain
what was unclear about it in the help text, perhaps we could clarify
that.

Thanks.




This bug report was last modified 7 years and 57 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.