[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help me understand the exec entry in emacsclient.desktop
From: |
Mekeor Melire |
Subject: |
Re: Help me understand the exec entry in emacsclient.desktop |
Date: |
Sun, 17 Dec 2023 00:58:18 +0000 |
I recently started a discussion on emacsclient.desktop's Exec entry
here: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67736
To precisely answer your question, the current Exec line does this:
emacsclient.desktop start emacsclient, and if there's no daemon running,
it'll start one. This is what --alternate-editor= is for. Additionally:
If emacsclient.desktop is applied on one or more files, then it'll try
to reuse one of the frames, if I understand correctly.
Otherwise, i.e. if you're invoking emacsclient.desktop without any files
passed to it, e.g. by clicking its icon in your app-launcher, it'll
create a frame.
For me, personally, the Exec entry does not work but fails with an error
related to quoting. Please share your experience in the mentioned
bug-report.