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 17:22:02 +0300 Message-ID: <835yy3tkad.fsf@gnu.org> References: <83im23u77e.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-7 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17964"; 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 16:27:23 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 1lwQKB-0004S4-61 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Jun 2021 16:27:23 +0200 Original-Received: from localhost ([::1]:53236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwQKA-0000Ha-2w for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Jun 2021 10:27:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwQFy-00078j-Lx for bug-gnu-emacs@gnu.org; Thu, 24 Jun 2021 10:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60339) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwQFy-0000Iu-Dk for bug-gnu-emacs@gnu.org; Thu, 24 Jun 2021 10:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lwQFy-00034L-6A for bug-gnu-emacs@gnu.org; Thu, 24 Jun 2021 10:23: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 14:23: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.162454454211724 (code B ref 49195); Thu, 24 Jun 2021 14:23:02 +0000 Original-Received: (at 49195) by debbugs.gnu.org; 24 Jun 2021 14:22:22 +0000 Original-Received: from localhost ([127.0.0.1]:43652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwQFJ-000332-PC for submit@debbugs.gnu.org; Thu, 24 Jun 2021 10:22:22 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwQFH-00032q-Qf for 49195@debbugs.gnu.org; Thu, 24 Jun 2021 10:22:21 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45798) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwQFC-0008BE-6S; Thu, 24 Jun 2021 10:22:14 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4931 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 1lwQFB-0003LT-QM; Thu, 24 Jun 2021 10:22:14 -0400 In-Reply-To: (message from Peter Oliver on Thu, 24 Jun 2021 14:28:29 +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:208926 Archived-At: > Date: Thu, 24 Jun 2021 14:28:29 +0100 (BST) > From: Peter Oliver > cc: 49195@debbugs.gnu.org > > > FWIW, I would find this change surprising, > > For someone to be unpleasantly surprised by this, they would need to launch emacsclient.desktop with the hope that it would fail because an Emacs daemon is not already running. If they want it to fail, why would they try to launch it? Because they don't remember whether they did or didn't start a server? Happens to me from time to time. > > and therefore would suggest to leave this off by default. But that's me. > > I¢m not sure what off by default would mean in this context. What it is now. > > 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. > > This section of the manual already describes how to start Emacs from systemd, which isn¢t part of Emacs either. systemd support code is in emacs.c, so that is (borderline) okay. What you describe is just normal desktop invocation, AFAIU. > + If your operating system¢s desktop environment is > +@url{https://www.freedesktop.org/wiki/Specifications/,,freedesktop.org-compatible} > +(which is true of most GNU/Linux and other recent Unix-like GUIs), you > +may use the @dfn{Emacs (Client)} menu entry to connect to an Emacs It is wrong to use @dfn here, since this is not new terminology you are introducing. Better use @samp. > +server with @command{emacsclient}. If the daemon is not already > +running, it will be started for you. ^^^^^^^^^^^^^^^^^^^^^^^^^^ Please try rephrasing this to avoid passive tense. Thanks.