From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#49195: Starting Emacs if required from emacsclient.desktop Date: Thu, 24 Jun 2021 09:07:01 +0300 Message-ID: <83im23u77e.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6045"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49195@debbugs.gnu.org To: Peter Oliver Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 24 08:08:15 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lwIX9-0001OB-Hj for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Jun 2021 08:08:15 +0200 Original-Received: from localhost ([::1]:49174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwIX8-0004Pc-KF for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Jun 2021 02:08:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwIWw-0004Bp-N6 for bug-gnu-emacs@gnu.org; Thu, 24 Jun 2021 02:08:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58928) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwIWw-0000rG-FB for bug-gnu-emacs@gnu.org; Thu, 24 Jun 2021 02:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lwIWw-0004qH-9K for bug-gnu-emacs@gnu.org; Thu, 24 Jun 2021 02:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Jun 2021 06:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49195 X-GNU-PR-Package: emacs Original-Received: via spool by 49195-submit@debbugs.gnu.org id=B49195.162451484218558 (code B ref 49195); Thu, 24 Jun 2021 06:08:02 +0000 Original-Received: (at 49195) by debbugs.gnu.org; 24 Jun 2021 06:07:22 +0000 Original-Received: from localhost ([127.0.0.1]:42240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwIWH-0004pD-N6 for submit@debbugs.gnu.org; Thu, 24 Jun 2021 02:07:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwIWF-0004ox-Lf for 49195@debbugs.gnu.org; Thu, 24 Jun 2021 02:07:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35206) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwIWA-0000Du-4B; Thu, 24 Jun 2021 02:07:14 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1666 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwIW9-0001aB-MS; Thu, 24 Jun 2021 02:07:13 -0400 In-Reply-To: (message from Peter Oliver on Wed, 23 Jun 2021 20:59:31 +0100 (BST)) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:208918 Archived-At: > Date: Wed, 23 Jun 2021 20:59:31 +0100 (BST) > From: Peter Oliver > > Attached is a patch which enhances emacsclient.desktop so that it will start a new instance of Emacs if none is found to be running. Users who like to reuse an existing Emacs can then always use emacsclient.desktop. FWIW, I would find this change surprising, and therefore would suggest to leave this off by default. But that's me. > There was some discussion of how far to go with this on emacs-devel recently, but, if I understand correctly, the parts in this patch were not controversial. How do you understand that? My recollection was that there was no consensus on this, but my memory is not what it used to be. > + If you launch Emacs from a desktop environment, you may use the "Desktop environment" is too general. You mean GNU/Linux desktop environment, and possibly just the ones compatible with freedesktop.org? The text should make that clear. More generally, I'm not sure we should even say this in the Emacs manual, as these features belong to the desktop, not to Emacs. What is the advantage of having this text in our manual? > +*** New desktop integration for connecting to the server. > +You may use the "Emacs (Client)" menu entry to open files in an > +existing Emacs instance rather than starting a new one. This isn't detailed enough, especially if we decide not to say anything about that in the manual. And even if we leave that text in the manual, it is buried in a place where finding it isn't easy, so NEWS should be more detailed. Thanks.