From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Thomas Hisch Newsgroups: gmane.emacs.bugs Subject: bug#31098: 27.0.50; emacsclient: create frame only if no frame exists Date: Sun, 8 Apr 2018 20:30:17 +0200 Message-ID: <8861e993-c120-2276-b82f-4c41ca780e88@ims.co.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1523212150 22992 195.159.176.226 (8 Apr 2018 18:29:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 8 Apr 2018 18:29:10 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 To: 31098@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 08 20:29:05 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 1f5F3m-0005mq-HZ for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Apr 2018 20:29:02 +0200 Original-Received: from localhost ([::1]:46295 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5F5s-0006gG-BL for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Apr 2018 14:31:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5F5l-0006fs-Ph for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2018 14:31:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f5F5i-00041l-MS for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2018 14:31:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34923) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f5F5i-00041h-Ic for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2018 14:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f5F5i-0006PF-AJ for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2018 14:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Hisch Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Apr 2018 18:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31098 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.152321223424589 (code B ref -1); Sun, 08 Apr 2018 18:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Apr 2018 18:30:34 +0000 Original-Received: from localhost ([127.0.0.1]:42820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f5F5G-0006OW-0M for submit@debbugs.gnu.org; Sun, 08 Apr 2018 14:30:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60317) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f5F5F-0006OJ-1P for submit@debbugs.gnu.org; Sun, 08 Apr 2018 14:30:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f5F59-0003kZ-0D for submit@debbugs.gnu.org; Sun, 08 Apr 2018 14:30:27 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:33710) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f5F58-0003kR-RF for submit@debbugs.gnu.org; Sun, 08 Apr 2018 14:30:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5F57-0006WK-Lz for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2018 14:30:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f5F54-0003iH-Dz for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2018 14:30:25 -0400 Original-Received: from mail.ims.co.at ([81.223.138.19]:53547) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f5F54-0003hf-6S for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2018 14:30:22 -0400 Original-Received: from [192.168.1.24] (dsl-linz7-16-180.utaonline.at [81.189.16.180]) by mail.ims.co.at (Postfix) with ESMTPSA id 48653139E8 for ; Sun, 8 Apr 2018 20:30:19 +0200 (CEST) Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:145030 Archived-At: I usually start emacsclient with the -n flag, which opens the specified file in an already created frame. However, if no emacs frame exists "emacsclient -n filename" silently exits and no frame is created. I know that there exists the -c option to create a new frame, but this creates a new frame for every emacsclient -nc invocation, which is not what I want (I only want to work with a single frame). Do you think that it makes sense to automatically create a new frame when "emacsclient -n" is called and no frame exists for the running emacs daemon? (As I mentioned above, currently nothing happens) Or add a new command line flag for this usecase?