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: Sat, 04 Jan 2025 15:18:22 +0200 Message-ID: <86r05id8f5.fsf@gnu.org> References: <86seriksak.fsf@gnu.org> <87ed27cthy.fsf@localhost> <86cyhrpfbf.fsf@gnu.org> <864j2ot4w1.fsf@gnu.org> <87zfk9q91e.fsf@> 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="15052"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74467@debbugs.gnu.org, yantar92@posteo.net, binarin@binarin.info 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 Sat Jan 04 14:19:16 2025 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 1tU43g-0003kW-2l for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Jan 2025 14:19:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tU43U-00070k-1Q; Sat, 04 Jan 2025 08:19: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 1tU43S-00070M-7w for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 08:19:02 -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 1tU43R-00058P-W2 for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 08:19:02 -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=sQHwJ3ZuFp5WsfCUHZCEptLKp1kH2dqlqOE8KSxuxuE=; b=QTPRBYTMqeqCnhWzXYCk3Aq8XNRCukqAhAJ7eJ3b5CsDWcA+AzzH+Y0clIb3WiDgj++XfPA8SXAwxKKFaxDgeetx4muS0taG1C1v21giOot97xjh1E4KmzNYlclrITJgP4mKiNQUCW2A6hPvB8U2zeNCpd9JvWw/GIkmYDpEaeqjTZsyobMukJYrZn7PgpOFmwQ04ujmdtRBzJdmbHFFg1y0cslBedwVTSqFF//vcrakbeLeM3k6Re14atFvGZub+Sx/Nnm6+JnMJV4TeefsY8OCPS9NtrrmHvpJjAQ0EQET4bEWO48GUHUBwYP5/eswL8rUfOK9VKaEPPM2KzXSfg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tU43R-0007f9-PU for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 08:19:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Jan 2025 13:19:01 +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.173599671529409 (code B ref 74467); Sat, 04 Jan 2025 13:19:01 +0000 Original-Received: (at 74467) by debbugs.gnu.org; 4 Jan 2025 13:18:35 +0000 Original-Received: from localhost ([127.0.0.1]:53885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tU430-0007eG-BZ for submit@debbugs.gnu.org; Sat, 04 Jan 2025 08:18:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46140) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tU42w-0007e0-UA for 74467@debbugs.gnu.org; Sat, 04 Jan 2025 08:18:32 -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 1tU42r-00052e-Aj; Sat, 04 Jan 2025 08:18:25 -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=sQHwJ3ZuFp5WsfCUHZCEptLKp1kH2dqlqOE8KSxuxuE=; b=dLZI79bBRkywoob2BoAZ yfKGJ1nYzA2EmLP/HeOzYAUdjUIptJh47HmFLJxO5E9wg1rPViFy1UMRiWCiyLW432Pb1gUWy9eEu mNoyPKq/zKaBsWfOnhmzLqY2RqzBvOKAUPYQHLR0DFKprgppjgM58ghIUwhBvhhBvPlhkWHv3FL5m NTboaW3RWrWVALXfjlAz+O5N1PkrBz0etsL5BHnrIiucvOVj3IGCgImg6Vz9ZdJ9X6TlKC6VcXjmR NxO1SVV36z9SRleieOW+uiFuGPUXTMbTpgm0yESJiOjmqBRYFmD4v36gpt7sz8oYnB0YdTUrsBPZa 9+MbtHlOVynEYQ==; In-Reply-To: <87zfk9q91e.fsf@> (message from =?UTF-8?Q?Bj=C3=B6rn?= Bidar on Thu, 02 Jan 2025 22:02:05 +0200) 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:298396 Archived-At: > From: Björn Bidar > Cc: yantar92@posteo.net, 74467@debbugs.gnu.org, binarin@binarin.info > Date: Thu, 02 Jan 2025 22:02:05 +0200 > > Eli Zaretskii writes: > > >> Cc: 74467@debbugs.gnu.org, binarin@binarin.info > >> Date: Mon, 16 Dec 2024 22:01:56 +0200 > >> From: Eli Zaretskii > >> > >> > 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? > > > > Ping! Since we already know how to handle file:// UTIs, what would > > the solution using that look like? > > Would it work to add a file-handler for uris to call? Isn't that what we already do when we visit files given by file:// URI?