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#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional Date: Mon, 16 Dec 2024 22:01:56 +0200 Message-ID: <86cyhrpfbf.fsf@gnu.org> References: <86seriksak.fsf@gnu.org> <87ed27cthy.fsf@localhost> 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="16144"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74467@debbugs.gnu.org, binarin@binarin.info To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 16 21:03:15 2024 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 1tNHJD-00045f-NU for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Dec 2024 21:03:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNHJ2-0006VG-Qy; Mon, 16 Dec 2024 15:03:04 -0500 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 1tNHJ1-0006V6-Nk for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 15:03:03 -0500 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 1tNHJ1-0000eA-E1 for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 15:03:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=JFSl/GWCbVwxUwDD+VKBzsre2a16Z5iz+HmOziBTAnM=; b=FhjGwr1R8nN0rHPc65WvMzFZ+KLllBTtr7oMep/14q5LyJ8ffP+E1pCSOaCMM+K+lcc7sQ8Kq3ZAb6dU9O+3wXnENcYohsjbGIFC+JGn7WH7A7vX8Y42IhOEpQZLOahjw1JOPOKbY5451f4rVTa2iFcxjPt9K8dsHpTjviX/NWMPQenbnl+7A+jAuQKc0DDy5BcI0ucse6I+7kS2+atCKUSlPjjCE/zzS3U/vW4HJAZKYMiWIze5M05xpSe6hv9EtJZMjSEegkktaDvE5NaBV0FRYOwjtrdTOuifHeJQLz8xQvHqt3PSstVjD0bksv85aTpWqvweL3WRByzIpY7tFQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tNHJ0-0006Y4-8g for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 15:03:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Dec 2024 20:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74467 X-GNU-PR-Package: emacs Original-Received: via spool by 74467-submit@debbugs.gnu.org id=B74467.173437933725067 (code B ref 74467); Mon, 16 Dec 2024 20:03:02 +0000 Original-Received: (at 74467) by debbugs.gnu.org; 16 Dec 2024 20:02:17 +0000 Original-Received: from localhost ([127.0.0.1]:56335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNHIH-0006WD-BF for submit@debbugs.gnu.org; Mon, 16 Dec 2024 15:02:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNHIF-0006Vz-IK for 74467@debbugs.gnu.org; Mon, 16 Dec 2024 15:02:16 -0500 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 1tNHI8-0000bF-Qo; Mon, 16 Dec 2024 15:02:10 -0500 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=JFSl/GWCbVwxUwDD+VKBzsre2a16Z5iz+HmOziBTAnM=; b=PnztxoxlNUFKQpBDs8nZ IjMqs5Mh8qLasWlu3FhjJbK6SI8kEufhsQrZq2VUGgl2ed8cVqTXBv9q1L1jByioeMzJE96dtAfR8 VvuEgVtkbOd+pi2DpoL0ThGznqVhgIFLXlXOWJ8tTNb8MPyUeP7RiuDdFijPvRsEKAIuCdVZy2M+W e/paj31XVWbylZ+aTzH5kHKptSQPQJWOGZdhutEfNFY6SrqKkLnpV7J0gH8eBdF4MuPyjPM1YyxIU BStu6yh7qgnfT0bgr0rNccHfAU7XeNt1huj1jZZ89jLZl5uKHHABHAt3b+SatJKeoFU7S4KdAWY+q oI8wb4hR1Mvb7w==; In-Reply-To: <87ed27cthy.fsf@localhost> (message from Ihor Radchenko on Mon, 16 Dec 2024 19:34:01 +0000) 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:297225 Archived-At: > From: Ihor Radchenko > Cc: Alexey Lebedeff , 74467@debbugs.gnu.org > Date: Mon, 16 Dec 2024 19:34:01 +0000 > > Eli Zaretskii writes: > > >> One solution would be introducing separate  .desktop file > >> (i.e. 'etc/emacsclient-org-protocol.desktop'), analoguous to the already > >> existing 'etc/emacsclient-mail.desktop' (which uses '%u'). > > > > Ihor, could you please look into this? > > I am attaching an *untested* patch that implements a new .desktop file. Thanks. Let's see if someone objects. > Note that an alternative could be handling file:// URIs by Emacs. Your call. I thought we already did? > > (Each time such issues pop up, I regret again that we agreed to > > include these *.desktop files in our source tree, sigh.) > > We are obliged to cooperate with other parts of GNU toolchain, don't we? To some extent, yes. This one goes waaaay beyond that. I don't understand why Emacs must come with these files, instead of the desktop folks developing and keeping them up to date. There's nothing specific to Emacs in these files, just a lot of XDG and shell trickery.