From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#30934: 27.0.50; Emacsclient process in the terminal does not finish Date: Sun, 25 Mar 2018 18:22:12 +0300 Message-ID: <83efk8goyj.fsf@gnu.org> References: <29725ed7-a016-7f9a-aac5-de883f43bbdb@ims.co.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1521991271 741 195.159.176.226 (25 Mar 2018 15:21:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Mar 2018 15:21:11 +0000 (UTC) Cc: 30934@debbugs.gnu.org To: Thomas Hisch Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 25 17:21:07 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f07SE-0008WN-8B for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Mar 2018 17:21:06 +0200 Original-Received: from localhost ([::1]:51583 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f07UH-0002hc-BW for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Mar 2018 11:23:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f07UB-0002hC-59 for bug-gnu-emacs@gnu.org; Sun, 25 Mar 2018 11:23:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f07U6-0005qI-8H for bug-gnu-emacs@gnu.org; Sun, 25 Mar 2018 11:23:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45173) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f07U6-0005qC-4C for bug-gnu-emacs@gnu.org; Sun, 25 Mar 2018 11:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f07U5-0000DU-So for bug-gnu-emacs@gnu.org; Sun, 25 Mar 2018 11:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Mar 2018 15:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30934 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30934-submit@debbugs.gnu.org id=B30934.1521991337768 (code B ref 30934); Sun, 25 Mar 2018 15:23:01 +0000 Original-Received: (at 30934) by debbugs.gnu.org; 25 Mar 2018 15:22:17 +0000 Original-Received: from localhost ([127.0.0.1]:53070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f07TM-0000CK-Ta for submit@debbugs.gnu.org; Sun, 25 Mar 2018 11:22:17 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f07TL-0000C7-GU for 30934@debbugs.gnu.org; Sun, 25 Mar 2018 11:22:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f07TB-0004tx-GO for 30934@debbugs.gnu.org; Sun, 25 Mar 2018 11:22:10 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f07TB-0004tr-D5; Sun, 25 Mar 2018 11:22:05 -0400 Original-Received: from [176.228.60.248] (port=1758 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f07TA-0005vG-Nx; Sun, 25 Mar 2018 11:22:05 -0400 In-reply-to: <29725ed7-a016-7f9a-aac5-de883f43bbdb@ims.co.at> (message from Thomas Hisch on Sun, 25 Mar 2018 13:38:50 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:144595 Archived-At: > From: Thomas Hisch > 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.