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#65469: [PATCH] * etc/emacsclient.desktop: Make Emacs default application for org-protocol Date: Wed, 20 Sep 2023 18:01:55 +0300 Message-ID: <83cyycc2ho.fsf@gnu.org> References: <87v8d66r7l.fsf@localhost> <87led53q0c.fsf@thaodan.de> <87fs3bkho4.fsf@localhost> <835y47g2b2.fsf@gnu.org> <83r0mveel5.fsf@gnu.org> <87cyyfnkvf.fsf@thaodan.de> <837comevw5.fsf@gnu.org> <877comr3te.fsf@thaodan.de> <8334zae81i.fsf@gnu.org> <87o7hyo1bs.fsf@localhost> <83v8c6cpwe.fsf@gnu.org> <87a5tinvzp.fsf@localhost> <83jzsmclvx.fsf@gnu.org> <871qeunu1u.fsf@localhost> <83a5ticjla.fsf@gnu.org> <87wmwl8a15.fsf@localhost> <83msxharqw.fsf@gnu.org> <87o7hxgczs.fsf@thaodan.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18110"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65469@debbugs.gnu.org, yantar92@posteo.net, stefankangas@gmail.com To: =?UTF-8?Q?Bj=C3=B6rn?= Bidar Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 20 17:03:27 2023 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 1qiyjd-0004Sc-W4 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Sep 2023 17:03:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiyjN-0004pV-Hz; Wed, 20 Sep 2023 11:03:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qiyj9-0004oC-7P for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2023 11:02:56 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qiyj7-0007iL-Ed for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2023 11:02:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qiyjG-0007Fd-Be for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2023 11:03: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: Wed, 20 Sep 2023 15:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65469 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 65469-submit@debbugs.gnu.org id=B65469.169522214527814 (code B ref 65469); Wed, 20 Sep 2023 15:03:02 +0000 Original-Received: (at 65469) by debbugs.gnu.org; 20 Sep 2023 15:02:25 +0000 Original-Received: from localhost ([127.0.0.1]:60140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiyiX-0007EO-K2 for submit@debbugs.gnu.org; Wed, 20 Sep 2023 11:02:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiyiU-0007E6-EP for 65469@debbugs.gnu.org; Wed, 20 Sep 2023 11:02:16 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qiyiE-0007da-5V; Wed, 20 Sep 2023 11:01:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=nS+aUg/tp81ZJKYbs0voDNmdGkI887XlpJ2lkKsnGD0=; b=jCn4JS+JVBebS4EWKVv6 cupiQ0VOMefZz4sHDRQ0UoHGeGfv6Yc6IuSrFTTK0V5k8mGm7KXjpBNrfX7FSWHVZE5Vno7ZS8zN1 FvetNwFKrvBUUM/SAgs01NH+8cF9PMEN0gCH30Neuxh1G/eHmZRnQZW+RgJdMWDMM4ZNxKuUMdHSV KZMtLtc0oj8R5L3P4uRfSef5FSKAVGHgY6Yc23vRy3BqsQ2sr1swm4zoxd8dhqAgntXj00bnKLAxO wp5uZblajxxLIS63DqgC5DVC+hcaKhPQKOzk0kp1qAchOQ50/K0C0coWS1VHmA732nRx0xCgYbbEQ 89I2gly5hvK9iA==; In-Reply-To: <87o7hxgczs.fsf@thaodan.de> (message from =?UTF-8?Q?Bj=C3=B6rn?= Bidar on Wed, 20 Sep 2023 17:01:27 +0300) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:270928 Archived-At: > From: Björn Bidar > Cc: Ihor Radchenko , 65469@debbugs.gnu.org, > stefankangas@gmail.com > Date: Wed, 20 Sep 2023 17:01:27 +0300 > > Eli Zaretskii writes: > > > ** 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 desktop > > environment, including KDE and GNOME on GNU/Linux, and some others, > > these links should now open in Emacs automatically if the application > > that opens the link follows the XDG spec and xdg-utils are installed. > > This is because 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. > > Why the focus on Linux? Not focus, but preference. It's because GNU/Linux is our main target system and its users are our main audience. > For example, you can install KDE on BSD and have the same benefit of > the change as on Linux. The above text says "and some others", and it also says "any XDG-compliant desktop environment". Why is this not enough? We don't have to promote *BSD systems.