unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Peter Oliver <p.d.oliver@mavit.org.uk>
Cc: 49195@debbugs.gnu.org
Subject: bug#49195: Starting Emacs if required from emacsclient.desktop
Date: Thu, 24 Jun 2021 17:22:02 +0300	[thread overview]
Message-ID: <835yy3tkad.fsf@gnu.org> (raw)
In-Reply-To: <a2636133-291-67d2-85ed-c3e178deb4ce@froglet.home.mavit.org.uk> (message from Peter Oliver on Thu, 24 Jun 2021 14:28:29 +0100 (BST))

> Date: Thu, 24 Jun 2021 14:28:29 +0100 (BST)
> From: Peter Oliver <p.d.oliver@mavit.org.uk>
> 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.





  reply	other threads:[~2021-06-24 14:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-23 19:59 bug#49195: Starting Emacs if required from emacsclient.desktop Peter Oliver
2021-06-24  6:07 ` Eli Zaretskii
2021-06-24 13:28   ` Peter Oliver
2021-06-24 14:22     ` Eli Zaretskii [this message]
2021-06-24 15:50       ` Peter Oliver
2021-06-30 13:12         ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=835yy3tkad.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=49195@debbugs.gnu.org \
    --cc=p.d.oliver@mavit.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).