From: Eli Zaretskii <eliz@gnu.org>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: bjorn.bidar@thaodan.de, stefankangas@gmail.com, 65469@debbugs.gnu.org
Subject: bug#65469: [PATCH] * etc/emacsclient.desktop: Make Emacs default application for org-protocol
Date: Tue, 19 Sep 2023 15:24:01 +0300 [thread overview]
Message-ID: <83v8c6cpwe.fsf@gnu.org> (raw)
In-Reply-To: <87o7hyo1bs.fsf@localhost> (message from Ihor Radchenko on Tue, 19 Sep 2023 11:21:43 +0000)
> From: Ihor Radchenko <yantar92@posteo.net>
> Cc: Björn Bidar <bjorn.bidar@thaodan.de>,
> 65469@debbugs.gnu.org,
> stefankangas@gmail.com
> Date: Tue, 19 Sep 2023 11:21:43 +0000
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Let me turn the table and ask you: where are those desktop files,
> > their format and contents described? If there's some standard
> > document where they are documented, can you point me to that
> > document?
>
> desktop files are defined in XDG spec. See
> https://www.freedesktop.org/wiki/Specifications/ and
> https://www.freedesktop.org/wiki/Specifications/desktop-entry-spec/
>
> So, .desktop files are understood by XDG-compiant desktops and apps. Now
> every desktop environment on GNU/Linux actually supports these specs.
> Gnome and KDE do. Some others also do. Otherwise, one needs to install
> xdg-utils or similar package manually.
Then why my suggestion up-thread, viz.:
>> It applies to all operating system that use desktop environments
>> that comply with XDG so for example also BSD.
>
> Only XDG-compliant desktops? nothing else?
was rejected? The reasons given at the time were:
Well only those that handle xdg desktop files specific uri type
handlers e.g. Gnome, KDE, Xfce etc.
Not sure if there's something such as "fully XDG-compliant".
My phrasing only intended to explain that in theory any operating system
that uses xdg compliant desktop environments works with the change, not
just GNU/QT/GTK/KDE/GNOME Linux.
Specifically, with the following wording be accurate and clear?
** On capable systems, Emacs is now the default application for 'org-protocol'.
Org mode provides a way to quickly capture bookmarks, notes, and links
using 'emacsclient':
emacsclient "org-protocol://store-link?url=URL&title=TITLE"
Previously, users had to manually configure their desktop environment
to open 'org-protocol' links in Emacs. On any XDG-compliant system,
including GNU/Linux and some others, these links should now open in
Emacs automatically, as the "emacsclient.desktop" file now arranges
for Emacs to be the default application for the 'org-protocol' URI
scheme. See the Org mode manual, Info node "(org) Protocols" for more
details.
> Also, a number of applications, expect xdg-open executable to be
> available on GNU/Linux systems as a generic way to open files using
> "right" application. Including Emacs itself - see
> `browse-url-can-use-xdg-open', for example.
Is this related to the issue with org-protocol?
next prev parent reply other threads:[~2023-09-19 12:24 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-23 9:30 bug#65469: [PATCH] * etc/emacsclient.desktop: Make Emacs default application for org-protocol Ihor Radchenko
2023-08-23 22:39 ` Stefan Kangas
2023-09-01 18:50 ` Stefan Kangas
2023-09-17 13:09 ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-17 13:16 ` Stefan Kangas
2023-09-17 14:18 ` Eli Zaretskii
2023-09-17 14:31 ` Stefan Kangas
2023-09-18 8:30 ` Ihor Radchenko
2023-09-18 11:02 ` Stefan Kangas
2023-09-18 11:15 ` Eli Zaretskii
2023-09-18 11:18 ` Stefan Kangas
2023-09-18 13:00 ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-18 13:20 ` Ihor Radchenko
2023-09-18 13:32 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-18 14:33 ` Eli Zaretskii
2023-09-18 23:04 ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-19 2:31 ` Eli Zaretskii
2023-09-19 7:59 ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-19 11:06 ` Eli Zaretskii
2023-09-19 11:21 ` Ihor Radchenko
2023-09-19 12:24 ` Eli Zaretskii [this message]
2023-09-19 13:16 ` Ihor Radchenko
2023-09-19 13:50 ` Eli Zaretskii
2023-09-19 13:58 ` Ihor Radchenko
2023-09-19 14:40 ` Eli Zaretskii
2023-09-19 21:26 ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-20 9:32 ` Ihor Radchenko
2023-09-20 13:39 ` Eli Zaretskii
2023-09-20 14:01 ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-20 15:01 ` Eli Zaretskii
2023-09-23 21:35 ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-20 22:41 ` Stefan Kangas
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=83v8c6cpwe.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=65469@debbugs.gnu.org \
--cc=bjorn.bidar@thaodan.de \
--cc=stefankangas@gmail.com \
--cc=yantar92@posteo.net \
/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).