X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: Alexey Lebedeff <binarin@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 22 Nov 2024 03:57:02 +0000
Resent-Message-ID: <handler.74467.B.17322477993497 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 74467 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.17322477993497
(code B ref -1); Fri, 22 Nov 2024 03:57:02 +0000
Received: (at submit) by debbugs.gnu.org; 22 Nov 2024 03:56:39 +0000
Received: from localhost ([127.0.0.1]:52582 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tEKmc-0000uI-01
for submit <at> debbugs.gnu.org; Thu, 21 Nov 2024 22:56:39 -0500
Received: from lists.gnu.org ([209.51.188.17]:58964)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <binarin@HIDDEN>) id 1tECJ4-00016K-BI
for submit <at> debbugs.gnu.org; Thu, 21 Nov 2024 13:53:36 -0500
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 <binarin@HIDDEN>)
id 1tECJ2-0001ow-JS
for bug-gnu-emacs@HIDDEN; Thu, 21 Nov 2024 13:53:32 -0500
Received: from mail-4018.proton.ch ([185.70.40.18])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <binarin@HIDDEN>)
id 1tECIz-0005T6-Ul
for bug-gnu-emacs@HIDDEN; Thu, 21 Nov 2024 13:53:32 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=binarin.info;
s=protonmail2; t=1732215204; x=1732474404;
bh=wlManRtZQXkxotjJ0YiZTT7Vz1nViSwm1nSU3LgO8Cg=;
h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date:
Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector:
List-Unsubscribe:List-Unsubscribe-Post;
b=wYqQf+itcIBlx08xeQqVU/3Nj5UhmggWiATYDE/X8qVXXAJ4h9o06VMIgmfRK4eEd
xko63aZ1ZoEKb03smSTLLIuvCI93Po4ZkoTvW4mAKRXBeKM1KKAfcyvk/NmU8lmJ8c
7ZspCdT+yrkLIxgb27l/v/5uHsWaT8kgUauhpXX3aIIIsTTN2u5VNMB259vSVIPDDu
Bjza88xbctxcwoIxrFSD8hgX8MvxAlzSdlHQqGnxBMdR0bnK6mws0gZ8s5mCGVA4Io
7qbPi8qDo8UFOgQh+rLkoCsdPtAdQnKm3u+QDPRzQDclmAN2b5xtjVJNMynoShNfo0
QRYOSwqGarlmg==
Date: Thu, 21 Nov 2024 18:53:21 +0000
From: Alexey Lebedeff <binarin@HIDDEN>
Message-ID: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
Feedback-ID: 31367617:user:proton
X-Pm-Message-ID: fcfeb73f0dc7ac218d77e224dae8131ac4085753
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=185.70.40.18; envelope-from=binarin@HIDDEN;
helo=mail-4018.proton.ch
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001,
RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Mailman-Approved-At: Thu, 21 Nov 2024 22:56:36 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)
The change introduced by
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D65469 doesn't work anymore
in 'generic' desktop environment (as detected by 'xdg-open').
I assume it works in some desktop environments, where `xdg-open`
delegates opening to the desktop environment itself. But there is also a
`generic` version, which tries to implent XDG specification itself.
On 2023-10-03 there was a change introduced in xdg-utils
https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=3Db9d3ecf8180c57dbb5c=
a47253898ba0553e81c60
to more strictly follow xdg specification, and only pass URL-like
arguments to programs that explicitly requested this by using '%u' or
'%U' parameters.
'etc/emacsclient.desktop' uses '%F' parameter, which should be used for
programs that do not understand the URL syntax
(https://specifications.freedesktop.org/desktop-entry-spec/latest/exec-vari=
ables.html
- section about '%f', but also applies to '%F').
"x-scheme-handler/org-protocol" is the only URL-like protocol that's
mentioned in the 'etc/emacsclient.desktop', but 'xdg-open' refuses to
use it.
Just changing '%F' to '%U' in 'etc/emacsclient.desktop' is not possible,
as it allows 'xdg-open' to pass local files as "file:/" URL's if it
wants to.
One solution would be introducing separate=C2=A0 .desktop file
(i.e. 'etc/emacsclient-org-protocol.desktop'), analoguous to the already
existing 'etc/emacsclient-mail.desktop' (which uses '%u').
In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.43, cairo version 1.18.0)
Repository revision: 9cfd13ff44e8d6f56a1025207c833ab45a7d51ba
Repository branch: master
System Description: NixOS 24.05 (Uakari)
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Alexey Lebedeff <binarin@HIDDEN> Subject: bug#74467: Acknowledgement (31.0.50; org-protocol emacsclient.desktop change is not fully functional) Message-ID: <handler.74467.B.17322477993497.ack <at> debbugs.gnu.org> References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN> X-Gnu-PR-Message: ack 74467 X-Gnu-PR-Package: emacs Reply-To: 74467 <at> debbugs.gnu.org Date: Fri, 22 Nov 2024 03:57:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 74467 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 74467: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D74467 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 23 Nov 2024 13:13:02 +0000
Resent-Message-ID: <handler.74467.B74467.173236756824087 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Alexey Lebedeff <binarin@HIDDEN>, Ihor Radchenko <yantar92@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.173236756824087
(code B ref 74467); Sat, 23 Nov 2024 13:13:02 +0000
Received: (at 74467) by debbugs.gnu.org; 23 Nov 2024 13:12:48 +0000
Received: from localhost ([127.0.0.1]:57109 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tEpwN-0006GR-Tr
for submit <at> debbugs.gnu.org; Sat, 23 Nov 2024 08:12:48 -0500
Received: from eggs.gnu.org ([209.51.188.92]:37720)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <eliz@HIDDEN>) id 1tEpwL-0006G6-Fj
for 74467 <at> debbugs.gnu.org; Sat, 23 Nov 2024 08:12:46 -0500
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 <eliz@HIDDEN>)
id 1tEpwF-0004G6-O6; Sat, 23 Nov 2024 08:12:40 -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=kHfcZiVf+Y9hcgcRJi8hjgmHRAJzwDct9OtUNcnD4tE=; b=a4ve0zTsnjMekoq5xgt+
pd6Eekoepoupj8TzeWFQC95OguCzQ8vD2PtPyj/nSmekeoXdDe8WAiGG9qiYMPuilsSv9Y2zZn+U3
LJioqsDiET+5M4LWen7drVDXpOovXP1YGc/9/yf4NQl1BuTOheYo1Iun42EiU8ECGx8tM+SO+xBGN
fbONLABeNGTXs2rmbgj1ptiUJri1VphLRr3Mn9PDbV42Nay31SNtXiuoWyaa8EZBjJJqmPp+LkyG3
+L6q2dDwsvNUOwUbCPgm2SkcY58z0OL+QGzHzUTLxUEa3euUPeRPeYo59Ue3lvCgSOY+f4OHc6AM6
/N5q3eBHvh6RoA==;
Date: Sat, 23 Nov 2024 15:12:35 +0200
Message-Id: <86seriksak.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
(bug-gnu-emacs@HIDDEN)
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> Date: Thu, 21 Nov 2024 18:53:21 +0000
> From: Alexey Lebedeff via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
>
> The change introduced by
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65469 doesn't work anymore
> in 'generic' desktop environment (as detected by 'xdg-open').
>
> I assume it works in some desktop environments, where `xdg-open`
> delegates opening to the desktop environment itself. But there is also a
> `generic` version, which tries to implent XDG specification itself.
>
> On 2023-10-03 there was a change introduced in xdg-utils
> https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=b9d3ecf8180c57dbb5ca47253898ba0553e81c60
> to more strictly follow xdg specification, and only pass URL-like
> arguments to programs that explicitly requested this by using '%u' or
> '%U' parameters.
>
> 'etc/emacsclient.desktop' uses '%F' parameter, which should be used for
> programs that do not understand the URL syntax
> (https://specifications.freedesktop.org/desktop-entry-spec/latest/exec-variables.html
> - section about '%f', but also applies to '%F').
>
> "x-scheme-handler/org-protocol" is the only URL-like protocol that's
> mentioned in the 'etc/emacsclient.desktop', but 'xdg-open' refuses to
> use it.
>
> Just changing '%F' to '%U' in 'etc/emacsclient.desktop' is not possible,
> as it allows 'xdg-open' to pass local files as "file:/" URL's if it
> wants to.
>
> 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?
(Each time such issues pop up, I regret again that we agreed to
include these *.desktop files in our source tree, sigh.)
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 23 Nov 2024 19:59:01 +0000
Resent-Message-ID: <handler.74467.B74467.173239190711776 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, Alexey Lebedeff <binarin@HIDDEN>, Ihor Radchenko <yantar92@HIDDEN>
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.173239190711776
(code B ref 74467); Sat, 23 Nov 2024 19:59:01 +0000
Received: (at 74467) by debbugs.gnu.org; 23 Nov 2024 19:58:27 +0000
Received: from localhost ([127.0.0.1]:59560 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tEwGx-00033s-AH
for submit <at> debbugs.gnu.org; Sat, 23 Nov 2024 14:58:27 -0500
Received: from thaodan.de ([185.216.177.71]:36996)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <bjorn.bidar@HIDDEN>) id 1tEwGu-00033g-MO
for 74467 <at> debbugs.gnu.org; Sat, 23 Nov 2024 14:58:25 -0500
Received: from odin (dsl-trebng12-50dc7b-49.dhcp.inet.fi [80.220.123.49])
by thaodan.de (Postfix) with ESMTPSA id 6B7F8D00038;
Sat, 23 Nov 2024 21:58:23 +0200 (EET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail;
t=1732391903; bh=g1PMZQMP/DfaskOzHzN+DDw6olcY783JVaEZVtrewfI=;
h=From:To:Cc:Subject:In-Reply-To:References:Date;
b=N838p2MnIxB0xW7NLLw3FoQ6igh3yhczaapa5wPjQq0l/2plwCecmbpWgRlOdXeDV
10vjWRg+5sema/PaMtNAtM09L4Mo9yG+h0sD6L2sY04hwi6ua1POhXsGy/CNbhZEqN
0eu49//Giic60QDMLeI887R/kAQgVpeKArQOtt6HA+bzCvey/EdcFHQLoxe8JJFxyW
YZRcdpG9f1bFmVG7h6HPXn9rvTyTve0uwYcTJGrjFJj7Zv5sp3N6RYTMdsDBp7Ote0
iIQHOY4xsZQ0sysVMnRP979t0hhZJy4qFsNL+60qhI5IBXeRohOe+zT4BkOHbTZlBE
K4EPZAAfuqJShum8yXfUhzpW8ZSk070DzsJ85hBvEuT/OIOTpCLLik6Tcau672DrGo
ekJ9MmM/PC9IT0mlem/7ptGxT+k6NiGz2lpy53x3YYOhvJ2H/AdBmdocBn0CMzetUe
sN+CPnJH96qDw8gAcv7aPJnscsBCsxWwoaC77//eDXTf1/qXYBJ/YeScn7w/IzzwAR
z9T422QzDppLN4xHdanQbrT34lbaze45/B4qZZxIs1oPk+efvA5IuDNnhwfwVx4eAy
c0SD43Hw9aYT23St1As8MZdRKaCm4X39F5l06AGsS6nonymk9y68OnnjpipnLxo7mM
OpTwSw8tOFn9VK3Oh8E1TbHk=
From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
In-Reply-To: <86seriksak.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 23 Nov
2024 15:12:35 +0200")
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN>
Autocrypt: addr=bjorn.bidar@HIDDEN; prefer-encrypt=nopreference; keydata=
mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq
w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV
CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl
HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8
phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF
CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h
K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2
cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC
HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN
XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg
gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1+ntAhsDBQsJCAcCAiICBhUKCQgL
AgQWAgMBAh4HAheAAAoJEFwbdKFlHF9oBgwA/iQHwe0VL4Df4GGTYlNjMSHFlIkBmN4UfYGLYj3E
TrOUAQC51M+M3cjsL8WHdpBz6VAo6df9d+rVwhQ9vQuFHqevArg4BGTX6T4SCisGAQQBl1UBBQEB
B0Cbohc3JEfn005/cm0AOGjSsW1ZxAkgaoVNjbpqk4MgNAMBCAeIeAQYFgoAIBYhBFHxdut1RzAe
pymoq1wbdKFlHF9oBQJk1+k+AhsMAAoJEFwbdKFlHF9ooHABAKGmrGBic/Vys3BBrOQiRB3Z7izO
HwhqTRpAqFZtXS2nAQDZhp/5aYw1TZjTzkm1KVt9QiYnjd/MvxRE9iaY6x4mDbgzBGTX6T4WCSsG
AQQB2kcPAQEHQAgRJq/tMcCCB2XyA5WZpu7GvpRx0m9IPRWazeqhOq7uiO8EGBYKACAWIQRR8Xbr
dUcwHqcpqKtcG3ShZRxfaAUCZNf71AIbIgCBCRBcG3ShZRxfaHYgBBkWCgAdFiEEUfF263VHMB6n
KairXBt0oWUcX2gFAmTX+9QACgkQXBt0oWUcX2jeSwD6AtWn0cuo8IF35YRo4o3cDRJnUfJnbvJy
GxyCDThR+zYBAKG6/jdwmZkBQZKslnDAbMMd2WfiZZT5JW3IWC4EaKMO7HkBAKYPGZ3UbfkRvfFK
S+pQ9CgtNfkSJQBtT1Ob7Y6nsacgAQCpyXN7yppmhW/oBgivITPy9Lkg+V4NK9WZYZCU9Q7LBA==
Date: Sat, 23 Nov 2024 21:58:22 +0200
Message-ID: <87cyil90yp.fsf@>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > (Each time such issues
pop up, I regret again that we agreed to > include these *.desktop files
in our source tree, sigh.) Part of the issue with the desktop files is that
someone of some them try to execute multiple lines of shell script in them
which can always create issues.
Content analysis details: (1.2 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
The query to Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[185.216.177.71 listed in sa-accredit.habeas.com]
0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
query to Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[185.216.177.71 listed in bl.score.senderscore.com]
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
-0.0 SPF_PASS SPF: sender matches SPF record
1.2 INVALID_MSGID Message-Id is not valid, according to RFC 2822
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)
Eli Zaretskii <eliz@HIDDEN> writes:
> (Each time such issues pop up, I regret again that we agreed to
> include these *.desktop files in our source tree, sigh.)
Part of the issue with the desktop files is that someone of some them
try to execute multiple lines of shell script in them which can always
create issues.
It would be much better if desktop file calls only emacsclient
and it takes care by itself if DISPLAY is set and doesn't use sh.
Can Emacs handle file:/ URI's? If so simply changing from %F to %U would
be an option.
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 07 Dec 2024 12:18:01 +0000
Resent-Message-ID: <handler.74467.B74467.17335738745282 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: yantar92@HIDDEN
Cc: 74467 <at> debbugs.gnu.org, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.17335738745282
(code B ref 74467); Sat, 07 Dec 2024 12:18:01 +0000
Received: (at 74467) by debbugs.gnu.org; 7 Dec 2024 12:17:54 +0000
Received: from localhost ([127.0.0.1]:45669 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tJtkv-0001N7-JP
for submit <at> debbugs.gnu.org; Sat, 07 Dec 2024 07:17:53 -0500
Received: from eggs.gnu.org ([209.51.188.92]:53680)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <eliz@HIDDEN>) id 1tJtks-0001Ml-9l
for 74467 <at> debbugs.gnu.org; Sat, 07 Dec 2024 07:17:51 -0500
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 <eliz@HIDDEN>)
id 1tJtkm-0000Dq-Ux; Sat, 07 Dec 2024 07:17:44 -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=u20ZdQ8pdVRtG2Tn2eNQaFqSfZe6PP8ZCw0ST4+gzzg=; b=Eu+YKFNEZB9GLTIiHZHU
D04UZOE+MUuU688zFyxhMHWoQBjytfelEDAP5F+Pgpr81eqKDj5O9dyyUfXwSjWae/8dWlIRrFy6y
gJhAXFW2beRSDnl3DVl2KCigdEYAThCBDd05W3xK8R8wL3c2N+JEVFjE3tpJ4elIyia90HhGUdn0Z
bkqf/96acS/+r+mTPiNRB5hk4WXnlzDV8Ltxq/eQI1JhLYaBw8aSPsJaS0tp3rb9/flUn692mcejB
/NHIE2w35sxPJfooNAWKelbDhyXi8IolFR07NLh6YLIcIEvbo9j+9g9K7q8GYw9kBQaFJurgPVZVM
e+67SKwergwxag==;
Date: Sat, 07 Dec 2024 14:17:41 +0200
Message-Id: <865xnvk7q2.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <86seriksak.fsf@HIDDEN> (message from Eli Zaretskii on Sat, 23
Nov 2024 15:12:35 +0200)
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
Ping! Ihor, can you please look into this?
> Cc: 74467 <at> debbugs.gnu.org
> Date: Sat, 23 Nov 2024 15:12:35 +0200
> From: Eli Zaretskii <eliz@HIDDEN>
>
> > Date: Thu, 21 Nov 2024 18:53:21 +0000
> > From: Alexey Lebedeff via "Bug reports for GNU Emacs,
> > the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> >
> > The change introduced by
> > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65469 doesn't work anymore
> > in 'generic' desktop environment (as detected by 'xdg-open').
> >
> > I assume it works in some desktop environments, where `xdg-open`
> > delegates opening to the desktop environment itself. But there is also a
> > `generic` version, which tries to implent XDG specification itself.
> >
> > On 2023-10-03 there was a change introduced in xdg-utils
> > https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=b9d3ecf8180c57dbb5ca47253898ba0553e81c60
> > to more strictly follow xdg specification, and only pass URL-like
> > arguments to programs that explicitly requested this by using '%u' or
> > '%U' parameters.
> >
> > 'etc/emacsclient.desktop' uses '%F' parameter, which should be used for
> > programs that do not understand the URL syntax
> > (https://specifications.freedesktop.org/desktop-entry-spec/latest/exec-variables.html
> > - section about '%f', but also applies to '%F').
> >
> > "x-scheme-handler/org-protocol" is the only URL-like protocol that's
> > mentioned in the 'etc/emacsclient.desktop', but 'xdg-open' refuses to
> > use it.
> >
> > Just changing '%F' to '%U' in 'etc/emacsclient.desktop' is not possible,
> > as it allows 'xdg-open' to pass local files as "file:/" URL's if it
> > wants to.
> >
> > 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?
>
> (Each time such issues pop up, I regret again that we agreed to
> include these *.desktop files in our source tree, sigh.)
>
>
>
>
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: Ihor Radchenko <yantar92@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 16 Dec 2024 19:33:01 +0000
Resent-Message-ID: <handler.74467.B74467.173437756718820 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, Alexey Lebedeff <binarin@HIDDEN>
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.173437756718820
(code B ref 74467); Mon, 16 Dec 2024 19:33:01 +0000
Received: (at 74467) by debbugs.gnu.org; 16 Dec 2024 19:32:47 +0000
Received: from localhost ([127.0.0.1]:56293 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tNGpj-0004tU-5r
for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 14:32:47 -0500
Received: from mout01.posteo.de ([185.67.36.65]:59337)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <yantar92@HIDDEN>) id 1tNGpg-0004t6-71
for 74467 <at> debbugs.gnu.org; Mon, 16 Dec 2024 14:32:45 -0500
Received: from submission (posteo.de [185.67.36.169])
by mout01.posteo.de (Postfix) with ESMTPS id DA373240028
for <74467 <at> debbugs.gnu.org>; Mon, 16 Dec 2024 20:32:34 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
t=1734377554; bh=eX+OgFg9hQAPkVNlSnAvMJKfInIR5SPxlLhpQ9qELxY=;
h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:
From;
b=mf8tn1vlpmNMOj42xtrQUwn+Sm/sTSPJHbOuZG3cxYR9pnRy7v9Kc6mbyQARjm5km
lxQgoY6VDVyyJSsMhwTwvBJmnloeAHqT/zkusfHAunnWaT4Zdtc9v1WXUuOITnYzfK
Vilat06qTEtY5btzdE/ZNoVsLGIhkb7r2BAHt90L8f+xwBHqitEErrhUSoMztf/Meg
CL8TwsrZwekAACdUP7ze21GiGnESJHeeBpxcoHnM0j7TILjBQ82+OtUafn1Y6NH8Qb
+tnsd5VwJkrQctfFBSzBxJpKNvkL7PB/3MW1Gy7fkj/fGn/bpfAx/p0GZTXzWzuOha
aDSqw1OFP/vBg==
Received: from customer (localhost [127.0.0.1])
by submission (posteo.de) with ESMTPSA id 4YBqpS71xtz9rxL;
Mon, 16 Dec 2024 20:32:32 +0100 (CET)
From: Ihor Radchenko <yantar92@HIDDEN>
In-Reply-To: <86seriksak.fsf@HIDDEN>
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN>
Date: Mon, 16 Dec 2024 19:34:01 +0000
Message-ID: <87ed27cthy.fsf@localhost>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Eli Zaretskii <eliz@HIDDEN> writes:
>> One solution would be introducing separate=C2=A0 .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.
Note that an alternative could be handling file:// URIs by Emacs. Your call.
> (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?
--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline;
filename=0001-etc-emacsclient.desktop-Fix-handling-org-protocol-UR.patch
From 1b5148c8a7fe995adcfae302e48a87a039eed8a8 Mon Sep 17 00:00:00 2001
Message-ID: <1b5148c8a7fe995adcfae302e48a87a039eed8a8.1734377491.git.yantar92@HIDDEN>
From: Ihor Radchenko <yantar92@HIDDEN>
Date: Mon, 16 Dec 2024 20:28:28 +0100
Subject: [PATCH] etc/emacsclient.desktop: Fix handling org-protocol URIs
(bug#74467)
* etc/emacsclient-org-protocol.desktop: New file registering
x-scheme-handler/org-protocol URI handler. This has to be a separate
file because new versions of xdg-utils demand using %u or %U in order to
open URIs.
* etc/emacsclient.desktop: Remove x-scheme-handler/org-protocol from
MimeType. It does not have any effect in the newer xdg-utils.
---
etc/emacsclient-org-protocol.desktop | 13 +++++++++++++
etc/emacsclient.desktop | 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
create mode 100644 etc/emacsclient-org-protocol.desktop
diff --git a/etc/emacsclient-org-protocol.desktop b/etc/emacsclient-org-protocol.desktop
new file mode 100644
index 00000000000..92cde0e7130
--- /dev/null
+++ b/etc/emacsclient-org-protocol.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Name=Emacs (Client)
+GenericName=Text Editor
+Comment=Handle Org protocol URI
+MimeType=x-scheme-handler/org-protocol;
+Exec=sh -c "exec emacsclient --alternate-editor= --create-frame" sh %u
+Icon=emacs
+Type=Application
+Terminal=false
+Categories=Development;TextEditor;
+StartupNotify=true
+StartupWMClass=Emacs
+Keywords=emacsclient;org-protocol
\ No newline at end of file
diff --git a/etc/emacsclient.desktop b/etc/emacsclient.desktop
index 4395d3b02bc..a9f840c7033 100644
--- a/etc/emacsclient.desktop
+++ b/etc/emacsclient.desktop
@@ -2,7 +2,7 @@
Name=Emacs (Client)
GenericName=Text Editor
Comment=Edit text
-MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;x-scheme-handler/org-protocol;
+MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
Exec=sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F
Icon=emacs
Type=Application
--
2.47.1
--=-=-=
Content-Type: text/plain
--
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
--=-=-=--
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 16 Dec 2024 20:03:02 +0000
Resent-Message-ID: <handler.74467.B74467.173437933725067 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Ihor Radchenko <yantar92@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.173437933725067
(code B ref 74467); Mon, 16 Dec 2024 20:03:02 +0000
Received: (at 74467) by debbugs.gnu.org; 16 Dec 2024 20:02:17 +0000
Received: from localhost ([127.0.0.1]:56335 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tNHIH-0006WD-BF
for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 15:02:17 -0500
Received: from eggs.gnu.org ([209.51.188.92]:40830)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <eliz@HIDDEN>) id 1tNHIF-0006Vz-IK
for 74467 <at> debbugs.gnu.org; Mon, 16 Dec 2024 15:02:16 -0500
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 <eliz@HIDDEN>)
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==;
Date: Mon, 16 Dec 2024 22:01:56 +0200
Message-Id: <86cyhrpfbf.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87ed27cthy.fsf@localhost> (message from Ihor Radchenko on Mon,
16 Dec 2024 19:34:01 +0000)
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Ihor Radchenko <yantar92@HIDDEN>
> Cc: Alexey Lebedeff <binarin@HIDDEN>, 74467 <at> debbugs.gnu.org
> Date: Mon, 16 Dec 2024 19:34:01 +0000
>
> Eli Zaretskii <eliz@HIDDEN> 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.
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 16 Dec 2024 21:09:02 +0000
Resent-Message-ID: <handler.74467.B74467.17343832896117 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, Ihor Radchenko <yantar92@HIDDEN>, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.17343832896117
(code B ref 74467); Mon, 16 Dec 2024 21:09:02 +0000
Received: (at 74467) by debbugs.gnu.org; 16 Dec 2024 21:08:09 +0000
Received: from localhost ([127.0.0.1]:56481 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tNIK0-0001aa-Ru
for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 16:08:09 -0500
Received: from thaodan.de ([185.216.177.71]:58308)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <bjorn.bidar@HIDDEN>) id 1tNIJw-0001Zx-Gn
for 74467 <at> debbugs.gnu.org; Mon, 16 Dec 2024 16:08:07 -0500
Received: from odin (dsl-trebng12-50dc7b-49.dhcp.inet.fi [80.220.123.49])
by thaodan.de (Postfix) with ESMTPSA id 3CE8DD00049;
Mon, 16 Dec 2024 23:07:28 +0200 (EET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail;
t=1734383248; bh=eKg+IUQNaZ+jvHGAZv/vUh4WdCazdc68KpGECfC8ldE=;
h=From:To:Cc:Subject:In-Reply-To:References:Date;
b=yu5UJjGPwL/zCAmFWWyrHZmQNOL9b4smgvJJuseBlpSw1aib1voBeUrx1ces5AzxM
bmeiOmRgMY7J0lmqfhLGP9/ZvBGKHlGR4Qh4mJ1LSCRMcQcXYL6qaIZScWTHQhtQlG
OzmM9Pn+F6tknl6vvANLr9pyodJ/EoH7buJnAkQhmvbp9Ltsa8ZxH2eHGd3KBu5gPy
R2oymifRzaLExK8oaF+cyKs/3g6xXAZxw9EGoGAbcgDnpe3eZWVZtVecIChCdrA6W/
FAwRvoauc2c7fd4rXEj/t5C452ijaVDvo7ybr6HQigtMNkGtv9SMRqEYR91568LY+3
EXvHmFhvyhJT/LwdSxZCIHgXiDR0klhg1C+cyXOLIQhp8XPfGFqTxPPUC1W1aPZkvZ
ipCuIeJQQ5ROZXhFqyoAFiMlF/wVKoPWVcWJIOQcG7bv0PAZLb9+uBB1UwT6K2/Ppq
ME1bvYOfOny3Al2z+XGIBVCr8/4I7hwA9uMlv8WiWmVry/rLtptiOHJk/RDs0OfdTO
FMybdtA5FHqRFeenOmkZBkRpcOLBXk50X+uoDIYJMRJFpXnvck48d7GOuExx2dlxYJ
E9lXJ5cpMAAFvI0piZNZ0bt1ZvHU2JhS7YxPSbYaexETBgw3h6aeeMFfc+HjzvTI9W
nwzdql7b58d9dLZztRpIirq0=
From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
In-Reply-To: <86cyhrpfbf.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 16 Dec
2024 22:01:56 +0200")
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN>
Autocrypt: addr=bjorn.bidar@HIDDEN; prefer-encrypt=nopreference; keydata=
mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq
w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV
CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl
HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8
phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF
CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h
K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2
cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC
HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN
XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg
gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1+ntAhsDBQsJCAcCAiICBhUKCQgL
AgQWAgMBAh4HAheAAAoJEFwbdKFlHF9oBgwA/iQHwe0VL4Df4GGTYlNjMSHFlIkBmN4UfYGLYj3E
TrOUAQC51M+M3cjsL8WHdpBz6VAo6df9d+rVwhQ9vQuFHqevArg4BGTX6T4SCisGAQQBl1UBBQEB
B0Cbohc3JEfn005/cm0AOGjSsW1ZxAkgaoVNjbpqk4MgNAMBCAeIeAQYFgoAIBYhBFHxdut1RzAe
pymoq1wbdKFlHF9oBQJk1+k+AhsMAAoJEFwbdKFlHF9ooHABAKGmrGBic/Vys3BBrOQiRB3Z7izO
HwhqTRpAqFZtXS2nAQDZhp/5aYw1TZjTzkm1KVt9QiYnjd/MvxRE9iaY6x4mDbgzBGTX6T4WCSsG
AQQB2kcPAQEHQAgRJq/tMcCCB2XyA5WZpu7GvpRx0m9IPRWazeqhOq7uiO8EGBYKACAWIQRR8Xbr
dUcwHqcpqKtcG3ShZRxfaAUCZNf71AIbIgCBCRBcG3ShZRxfaHYgBBkWCgAdFiEEUfF263VHMB6n
KairXBt0oWUcX2gFAmTX+9QACgkQXBt0oWUcX2jeSwD6AtWn0cuo8IF35YRo4o3cDRJnUfJnbvJy
GxyCDThR+zYBAKG6/jdwmZkBQZKslnDAbMMd2WfiZZT5JW3IWC4EaKMO7HkBAKYPGZ3UbfkRvfFK
S+pQ9CgtNfkSJQBtT1Ob7Y6nsacgAQCpyXN7yppmhW/oBgivITPy9Lkg+V4NK9WZYZCU9Q7LBA==
Date: Mon, 16 Dec 2024 23:07:26 +0200
Message-ID: <87o71bgwvl.fsf@>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> From: Ihor Radchenko
<yantar92@HIDDEN> >> Cc: Alexey Lebedeff <binarin@HIDDEN>,
74467 <at> debbugs.gnu.org
>> Date: Mon, 16 Dec 2024 19:34:01 +0000 >> >> Eli Zaretskii <eliz@HIDDEN>
writes: > [...]
Content analysis details: (1.2 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
-0.0 SPF_PASS SPF: sender matches SPF record
0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
The query to Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[185.216.177.71 listed in sa-trusted.bondedsender.org]
0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
query to Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[185.216.177.71 listed in bl.score.senderscore.com]
1.2 INVALID_MSGID Message-Id is not valid, according to RFC 2822
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)
Eli Zaretskii <eliz@HIDDEN> writes:
>> From: Ihor Radchenko <yantar92@HIDDEN>
>> Cc: Alexey Lebedeff <binarin@HIDDEN>, 74467 <at> debbugs.gnu.org
>> Date: Mon, 16 Dec 2024 19:34:01 +0000
>>=20
>> Eli Zaretskii <eliz@HIDDEN> writes:
>>=20
>> >> One solution would be introducing separate=C2=A0 .desktop file
>> >> (i.e. 'etc/emacsclient-org-protocol.desktop'), analoguous to the alre=
ady
>> >> existing 'etc/emacsclient-mail.desktop' (which uses '%u').
>> >
>> > Ihor, could you please look into this?
>>=20
>> 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 c=
all.
>
> I thought we already did?
Not really if I open Emacs with a file uri such as
file:///home/bidar/test.sh /home/bidar/home/bidar/test.sh will be
opened.
Would it be possible to call file-name-handlers if a path starts with
'$uri-name://' for the files passed to Emacs or Emacsclient?
>> > (Each time such issues pop up, I regret again that we agreed to
>> > include these *.desktop files in our source tree, sigh.)
>>=20
>> 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.
No application I have seen so far does require shell trickery in their
desktop files. Most of one or two desktop files with some metadata and
the commands to call and that's it.
It would be easier for Emacs to follow closer to the standard instead
asking for separate implementations. I don't know how this could get any
simpler. Maybe some scripts to generate desktop files for Emacs
packages if there is no for separate desktop files per modes e.g. a
desktop file for Gnus or Info mode.
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 17 Dec 2024 12:16:02 +0000
Resent-Message-ID: <handler.74467.B74467.173443774616952 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.173443774616952
(code B ref 74467); Tue, 17 Dec 2024 12:16:02 +0000
Received: (at 74467) by debbugs.gnu.org; 17 Dec 2024 12:15:46 +0000
Received: from localhost ([127.0.0.1]:57851 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tNWUK-0004PI-9Z
for submit <at> debbugs.gnu.org; Tue, 17 Dec 2024 07:15:45 -0500
Received: from eggs.gnu.org ([209.51.188.92]:59596)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <eliz@HIDDEN>) id 1tNWUD-0004Ow-K4
for 74467 <at> debbugs.gnu.org; Tue, 17 Dec 2024 07:15:41 -0500
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 <eliz@HIDDEN>)
id 1tNWTz-0007l2-Ay; Tue, 17 Dec 2024 07:15:26 -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=OeZb25wUH6xSsYBZRXryaFLB1gyow9omTvempKuc+O4=; b=OfQ0q8lUq16EW+xTvAt6
XxrZ7IDmB+NTQ7rkKtLM4KduWK3859HZiucBL0ybSYdIQePTw6bzUuqdM2fyhyliDKX+Yr8UzGIWO
U2N0wCAd5lQLJVXVgUqUDqLGu9ZAjMYD9kb5TYnju8/8e7aclPE5cFvngAB6z9QX+PakUcD7uU0QX
3qquGzCCWzVW+bizBXizdANxkMxX1kGgYNCcXcztun4gwubmm9J4l+YLuRF4srUfqJ4m3HojZx89D
nujoz8ffcYV0XzYMIBr+mHWwwzwPUnO4AKomRaKVyt8iS/Uj4bxU+aDDKeUWNmu/nTT5B3yATxsUB
WTUQLOdEnbwWSg==;
Date: Tue, 17 Dec 2024 14:15:14 +0200
Message-Id: <865xnipktp.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87o71bgwvl.fsf@> (message from =?UTF-8?Q?Bj=C3=B6rn?= Bidar on
Mon, 16 Dec 2024 23:07:26 +0200)
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <87o71bgwvl.fsf@>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Björn Bidar <bjorn.bidar@HIDDEN>
> Cc: Ihor Radchenko <yantar92@HIDDEN>, 74467 <at> debbugs.gnu.org,
> binarin@HIDDEN
> Date: Mon, 16 Dec 2024 23:07:26 +0200
>
> Eli Zaretskii <eliz@HIDDEN> writes:
>
> >> Note that an alternative could be handling file:// URIs by Emacs. Your call.
> >
> > I thought we already did?
>
> Not really if I open Emacs with a file uri such as
> file:///home/bidar/test.sh /home/bidar/home/bidar/test.sh will be
> opened.
Try
M-x browse-url RET file:///home/bidar/test.sh RET
Or even better:
M-x url-handler-mode RET
C-x C-f file:///home/bidar/test.sh RET
> Would it be possible to call file-name-handlers if a path starts with
> '$uri-name://' for the files passed to Emacs or Emacsclient?
Isn't that what the above does already?
> >> 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.
>
> No application I have seen so far does require shell trickery in their
> desktop files. Most of one or two desktop files with some metadata and
> the commands to call and that's it.
>
> It would be easier for Emacs to follow closer to the standard instead
> asking for separate implementations. I don't know how this could get any
> simpler. Maybe some scripts to generate desktop files for Emacs
> packages if there is no for separate desktop files per modes e.g. a
> desktop file for Gnus or Info mode.
Are you sure you understand all the expectations from the emacs.*
desktop files we have? There were quite a few bug reports about that,
so if the files themselves don't tell enough, I suggest to look in the
bug-tracker archives. One thing is clear to me, after seeing quite a
lot of discussions like this one: there's nothing simple about these
files. And if you haven't yet seen this with other applications, then
perhaps Emacs is special in this regard (as well).
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 17 Dec 2024 13:02:02 +0000
Resent-Message-ID: <handler.74467.B74467.173444047425369 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.173444047425369
(code B ref 74467); Tue, 17 Dec 2024 13:02:02 +0000
Received: (at 74467) by debbugs.gnu.org; 17 Dec 2024 13:01:14 +0000
Received: from localhost ([127.0.0.1]:57955 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tNXCM-0006b7-81
for submit <at> debbugs.gnu.org; Tue, 17 Dec 2024 08:01:14 -0500
Received: from [185.216.177.71] (port=33164 helo=thaodan.de)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <bjorn.bidar@HIDDEN>) id 1tNXCJ-0006aG-LA
for 74467 <at> debbugs.gnu.org; Tue, 17 Dec 2024 08:01:13 -0500
Received: from NordStern (unknown [185.252.118.71])
by thaodan.de (Postfix) with ESMTPSA id CCB3AD000A0;
Tue, 17 Dec 2024 15:00:18 +0200 (EET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail;
t=1734440419; bh=8ck+z6ajElLCuUaGFYOnsbsjEuJf+680D5+LgCIXVr0=;
h=From:To:Cc:Subject:In-Reply-To:References:Date;
b=pvOPhagCOr9AuFe5wQVeDINTlT+NSQo43x9LohmKFIOiB4TJ1nOnXcQyMX5wrrsZb
o96DkxamdHWhV0Up9uwBNeInLh4iDoW+xh6rgfttEUEfLq1THnpwPnc0S3yR27RiMH
AUItHHbbAJ7XFHPlBrVcQFzbHkbRaPdKHoH8P4GKXlAOBltke43QqqTk7YT1FWQMTP
7tsbIVh64s4l7Vn2HB1pm7o4aEioefBvdNyGdR1XiM0b+IuCBVyY/g4qh9u3UyHrLo
O/XeM+LoUK5iSFOKSitMdgreIxO5wvRBMgdm1HOrbB66JzPw3MgdLSzzYFhDrfCQIZ
S40PZN/p1C09/rmf3/OWLOLV1EexYbC7kdGep7l3u8OtORgNRCxLsB4uffYd9N9uAM
CYdYXOdoBE2UbTHtq3EQexV3lOUkeOTzKC9kmCRoEAALquUMvxwx7EaKJL93ojTAN1
vHGapR1G4f5sIRMQxeUoF+Ba7Uu6/Tc8QbC503ZcvARtkIV+aB2u1Oy9synHQnKgR7
+lctXInGAgO2Zg6CdPjcwK9y9GGm9BssK8m9rkBQFMS26Ivb1/BYQNl7TOC6G3azFR
3QCz7+WgvW00xAQKzMAP6lQxnj0IlRAA/emCi+ZZE8DiRH8CrN69kl6vM+7KRsz50s
P7qwcFsVl0Fd69vR/Lp4dftI=
From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
In-Reply-To: <865xnipktp.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 17 Dec
2024 14:15:14 +0200")
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <865xnipktp.fsf@HIDDEN>
Autocrypt: addr=bjorn.bidar@HIDDEN; prefer-encrypt=nopreference; keydata=
mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq
w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV
CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl
HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8
phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF
CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h
K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2
cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC
HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN
XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg
gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1+ntAhsDBQsJCAcCAiICBhUKCQgL
AgQWAgMBAh4HAheAAAoJEFwbdKFlHF9oBgwA/iQHwe0VL4Df4GGTYlNjMSHFlIkBmN4UfYGLYj3E
TrOUAQC51M+M3cjsL8WHdpBz6VAo6df9d+rVwhQ9vQuFHqevArg4BGTX6T4SCisGAQQBl1UBBQEB
B0Cbohc3JEfn005/cm0AOGjSsW1ZxAkgaoVNjbpqk4MgNAMBCAeIeAQYFgoAIBYhBFHxdut1RzAe
pymoq1wbdKFlHF9oBQJk1+k+AhsMAAoJEFwbdKFlHF9ooHABAKGmrGBic/Vys3BBrOQiRB3Z7izO
HwhqTRpAqFZtXS2nAQDZhp/5aYw1TZjTzkm1KVt9QiYnjd/MvxRE9iaY6x4mDbgzBGTX6T4WCSsG
AQQB2kcPAQEHQAgRJq/tMcCCB2XyA5WZpu7GvpRx0m9IPRWazeqhOq7uiO8EGBYKACAWIQRR8Xbr
dUcwHqcpqKtcG3ShZRxfaAUCZNf71AIbIgCBCRBcG3ShZRxfaHYgBBkWCgAdFiEEUfF263VHMB6n
KairXBt0oWUcX2gFAmTX+9QACgkQXBt0oWUcX2jeSwD6AtWn0cuo8IF35YRo4o3cDRJnUfJnbvJy
GxyCDThR+zYBAKG6/jdwmZkBQZKslnDAbMMd2WfiZZT5JW3IWC4EaKMO7HkBAKYPGZ3UbfkRvfFK
S+pQ9CgtNfkSJQBtT1Ob7Y6nsacgAQCpyXN7yppmhW/oBgivITPy9Lkg+V4NK9WZYZCU9Q7LBA==
Date: Tue, 17 Dec 2024 15:00:17 +0200
Message-ID: <878qseo466.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar
<bjorn.bidar@HIDDEN> >> Cc: Ihor Radchenko <yantar92@HIDDEN>, 74467 <at> debbugs.gnu.org,
>> binarin@HIDDEN >> Date: Mon, 16 Dec 2024 23:07:26 +0200 >> >> Eli
Zaretskii [...]
Content analysis details: (1.3 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
The query to Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[185.216.177.71 listed in sa-trusted.bondedsender.org]
0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
query to Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[185.216.177.71 listed in bl.score.senderscore.com]
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
-0.0 SPF_PASS SPF: sender matches SPF record
1.3 RDNS_NONE Delivered to internal network by a host with no rDNS
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)
Eli Zaretskii <eliz@HIDDEN> writes:
>> From: Bj=C3=B6rn Bidar <bjorn.bidar@HIDDEN>
>> Cc: Ihor Radchenko <yantar92@HIDDEN>, 74467 <at> debbugs.gnu.org,
>> binarin@HIDDEN
>> Date: Mon, 16 Dec 2024 23:07:26 +0200
>>=20
>> Eli Zaretskii <eliz@HIDDEN> writes:
>>=20
>> >> Note that an alternative could be handling file:// URIs by Emacs. You=
r call.
>> >
>> > I thought we already did?
>>=20
>> Not really if I open Emacs with a file uri such as
>> file:///home/bidar/test.sh /home/bidar/home/bidar/test.sh will be
>> opened.
>
> Try
>
> M-x browse-url RET file:///home/bidar/test.sh RET
>
> Or even better:
>
> M-x url-handler-mode RET
> C-x C-f file:///home/bidar/test.sh RET
For %U to work Emacs would also have to understand URI's as command-line ar=
guments
when starting Emacs or calling emacsclient.
>> Would it be possible to call file-name-handlers if a path starts with
>> '$uri-name://' for the files passed to Emacs or Emacsclient?
>
> Isn't that what the above does already?
Yes but what I was referring to that these would be called also when an
URI is passed to Emacs via the command-line.
>> >> 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.
>>=20
>> No application I have seen so far does require shell trickery in their
>> desktop files. Most of one or two desktop files with some metadata and
>> the commands to call and that's it.
>>=20
>> It would be easier for Emacs to follow closer to the standard instead
>> asking for separate implementations. I don't know how this could get any
>> simpler. Maybe some scripts to generate desktop files for Emacs
>> packages if there is no for separate desktop files per modes e.g. a
>> desktop file for Gnus or Info mode.
>
> Are you sure you understand all the expectations from the emacs.*
> desktop files we have? There were quite a few bug reports about that,
> so if the files themselves don't tell enough, I suggest to look in the
> bug-tracker archives. One thing is clear to me, after seeing quite a
> lot of discussions like this one: there's nothing simple about these
> files. And if you haven't yet seen this with other applications, then
> perhaps Emacs is special in this regard (as well).
I'm not sure if I understand all of them but part of the issue is that
Emacs embeds relatively complicated shell script code in the Exec=3D key,
writing a small set of elisp in these is also not so clean but still ok.
All other applications I have seen put the parsing of arguments or
eventual handling of variables not being set inside the application
itself. All other situational logic is limited to a simple set of
program arguments.
Also if the command-line arguments to Emacs first have to go through a shell
it gets rather messy when preserving the arguments.
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 28 Dec 2024 11:38:02 +0000
Resent-Message-ID: <handler.74467.B74467.173538586632268 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: yantar92@HIDDEN
Cc: 74467 <at> debbugs.gnu.org, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.173538586632268
(code B ref 74467); Sat, 28 Dec 2024 11:38:02 +0000
Received: (at 74467) by debbugs.gnu.org; 28 Dec 2024 11:37:46 +0000
Received: from localhost ([127.0.0.1]:49501 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tRV8c-0008OO-CK
for submit <at> debbugs.gnu.org; Sat, 28 Dec 2024 06:37:46 -0500
Received: from eggs.gnu.org ([209.51.188.92]:54814)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <eliz@HIDDEN>) id 1tRV8a-0008OA-1g
for 74467 <at> debbugs.gnu.org; Sat, 28 Dec 2024 06:37:44 -0500
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 <eliz@HIDDEN>)
id 1tRV8U-00008i-JQ; Sat, 28 Dec 2024 06:37:38 -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=odjdLvrf66qXyj2rwVDPc+2GQS67ia6PrrUMn7XVZpg=; b=cYhu/s44oC5OEUlJ/Pov
xn4rkte8KV4xO+LiMMSDF7TEAl/TfTYhfDDeybssWwpK1CPx9K36di0ZXLS/+p9Hx9wKlXzQ4YyGk
6Vlz8RxURfZHQomt0VgJKxcO6M2g5xUMUoU6Nv6QhmDlp9WEjUyLNC7lDk1QW5Ur1nSrmsarthWxi
z63AS7jCpOUt7NxlbOA2ANYSS5p8t3dA6vwHJK2YeJ2ajSJkQY9A8nnaDErwawiARhCQiq6kwSiqC
AosAYV0r3b2+P2MDU/DxBWzL69XAsiTTIirBwJjey8GfM8qcV05YDj3DtSlP7rCxnjABS3fVmCBF2
IESJ4anF86LQZA==;
Date: Sat, 28 Dec 2024 13:37:34 +0200
Message-Id: <864j2ot4w1.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <86cyhrpfbf.fsf@HIDDEN> (message from Eli Zaretskii on Mon, 16
Dec 2024 22:01:56 +0200)
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost> <86cyhrpfbf.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> Cc: 74467 <at> debbugs.gnu.org, binarin@HIDDEN
> Date: Mon, 16 Dec 2024 22:01:56 +0200
> From: Eli Zaretskii <eliz@HIDDEN>
>
> > From: Ihor Radchenko <yantar92@HIDDEN>
> > Cc: Alexey Lebedeff <binarin@HIDDEN>, 74467 <at> debbugs.gnu.org
> > Date: Mon, 16 Dec 2024 19:34:01 +0000
> >
> > Eli Zaretskii <eliz@HIDDEN> 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?
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 02 Jan 2025 20:03:01 +0000
Resent-Message-ID: <handler.74467.B74467.173584813619410 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.173584813619410
(code B ref 74467); Thu, 02 Jan 2025 20:03:01 +0000
Received: (at 74467) by debbugs.gnu.org; 2 Jan 2025 20:02:16 +0000
Received: from localhost ([127.0.0.1]:46827 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tTROa-00052y-5w
for submit <at> debbugs.gnu.org; Thu, 02 Jan 2025 15:02:16 -0500
Received: from thaodan.de ([185.216.177.71]:35880)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <bjorn.bidar@HIDDEN>)
id 1tTROX-00052W-EK
for 74467 <at> debbugs.gnu.org; Thu, 02 Jan 2025 15:02:14 -0500
Received: from odin (dsl-trebng12-50dc7b-49.dhcp.inet.fi [80.220.123.49])
by thaodan.de (Postfix) with ESMTPSA id DC90ED00030;
Thu, 2 Jan 2025 22:02:06 +0200 (EET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail;
t=1735848127; bh=PblHZKF6OXFVKcVs41T+YdQefiyQLdLbG0IGtTagK3g=;
h=From:To:Cc:Subject:In-Reply-To:References:Date;
b=JuTJlRWNoQxd80WPAKJd/1rwdqxohfkY6M+rewwvO8Vd7KXtUpNGLYzmRfNdovEMI
A7rH6XaCoiLHgwfKLk+HO3+KsdR4hfkEiwPfDP9AVxhklV+V13u+HHJKQNKg5kNiHN
coFZEL1NmzPQ4yylgUNvhJVKtBa3LKbZcIrWuaWSwetSgYdayreJAKb8SLMHLeRlSD
4pOLgl8uNT0vQo1G2d4BHKkho68EkvKCWB5w4e0Bgi0pBlGbzkxG3E1BmZLhP60w3K
09h7Y45oFOsjoqYCKA54DBamg9kvrZuYdTJ9ptoFQ4GN0wbE8JfrSLZ2kXabJ+NzmP
/jP3ltglKuMM0KKsrK0K5qqXOT/KSTAtKOqKYMDMXG5j71m5hZvtGJKNA5CWYsf9Mt
Txd1pdSQI5wuji0Ck3iEQZR9L2U0KEv9fBqR8yr+xXDFn5mKk+GrF7terfMwpuTvcK
J22/vIml2UDokOxD2CnB27bPJ8CchyXy+0fxGHIQIKdq/811i2aNZwKUr/AgRNE9ZJ
B3UCAJ4R+TYSzOaS+H8T6Gt0vOVZa+Wn1I8Zpd8EF1QODvPik2B5wv/QyL243uDPC4
jzUObPdveiMXIIu+gVAHctyGwA8UzAqEKakDwKiffDP2zkvST7OdA/yTRNV+QZT9i2
9hI7Ph3f2PVIJOuLLii3qtlQ=
From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
In-Reply-To: <864j2ot4w1.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 28 Dec
2024 13:37:34 +0200")
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN>
Autocrypt: addr=bjorn.bidar@HIDDEN; prefer-encrypt=nopreference; keydata=
mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq
w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV
CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl
HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8
phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF
CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h
K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2
cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC
HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN
XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg
gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1+ntAhsDBQsJCAcCAiICBhUKCQgL
AgQWAgMBAh4HAheAAAoJEFwbdKFlHF9oBgwA/iQHwe0VL4Df4GGTYlNjMSHFlIkBmN4UfYGLYj3E
TrOUAQC51M+M3cjsL8WHdpBz6VAo6df9d+rVwhQ9vQuFHqevArg4BGTX6T4SCisGAQQBl1UBBQEB
B0Cbohc3JEfn005/cm0AOGjSsW1ZxAkgaoVNjbpqk4MgNAMBCAeIeAQYFgoAIBYhBFHxdut1RzAe
pymoq1wbdKFlHF9oBQJk1+k+AhsMAAoJEFwbdKFlHF9ooHABAKGmrGBic/Vys3BBrOQiRB3Z7izO
HwhqTRpAqFZtXS2nAQDZhp/5aYw1TZjTzkm1KVt9QiYnjd/MvxRE9iaY6x4mDbgzBGTX6T4WCSsG
AQQB2kcPAQEHQAgRJq/tMcCCB2XyA5WZpu7GvpRx0m9IPRWazeqhOq7uiO8EGBYKACAWIQRR8Xbr
dUcwHqcpqKtcG3ShZRxfaAUCZNf71AIbIgCBCRBcG3ShZRxfaHYgBBkWCgAdFiEEUfF263VHMB6n
KairXBt0oWUcX2gFAmTX+9QACgkQXBt0oWUcX2jeSwD6AtWn0cuo8IF35YRo4o3cDRJnUfJnbvJy
GxyCDThR+zYBAKG6/jdwmZkBQZKslnDAbMMd2WfiZZT5JW3IWC4EaKMO7HkBAKYPGZ3UbfkRvfFK
S+pQ9CgtNfkSJQBtT1Ob7Y6nsacgAQCpyXN7yppmhW/oBgivITPy9Lkg+V4NK9WZYZCU9Q7LBA==
Date: Thu, 02 Jan 2025 22:02:05 +0200
Message-ID: <87zfk9q91e.fsf@>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> Cc:
74467 <at> debbugs.gnu.org,
binarin@HIDDEN >> Date: Mon, 16 Dec 2024 22:01:56 +0200 >> From: Eli
Zaretskii <eliz@HIDDEN> >> >> > From: Ihor Radchenko <yantar92@HIDDEN>
>> > Cc: Alexey Leb [...]
Content analysis details: (1.2 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
The query to Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[185.216.177.71 listed in sa-accredit.habeas.com]
0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
query to Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[185.216.177.71 listed in bl.score.senderscore.com]
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
-0.0 SPF_PASS SPF: sender matches SPF record
1.2 INVALID_MSGID Message-Id is not valid, according to RFC 2822
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)
Eli Zaretskii <eliz@HIDDEN> writes:
>> Cc: 74467 <at> debbugs.gnu.org, binarin@HIDDEN
>> Date: Mon, 16 Dec 2024 22:01:56 +0200
>> From: Eli Zaretskii <eliz@HIDDEN>
>>=20
>> > From: Ihor Radchenko <yantar92@HIDDEN>
>> > Cc: Alexey Lebedeff <binarin@HIDDEN>, 74467 <at> debbugs.gnu.org
>> > Date: Mon, 16 Dec 2024 19:34:01 +0000
>> >=20
>> > Eli Zaretskii <eliz@HIDDEN> writes:
>> >=20
>> > >> One solution would be introducing separate=C2=A0 .desktop file
>> > >> (i.e. 'etc/emacsclient-org-protocol.desktop'), analoguous to the al=
ready
>> > >> existing 'etc/emacsclient-mail.desktop' (which uses '%u').
>> > >
>> > > Ihor, could you please look into this?
>> >=20
>> > I am attaching an *untested* patch that implements a new .desktop file.
>>=20
>> Thanks. Let's see if someone objects.
>>=20
>> > Note that an alternative could be handling file:// URIs by Emacs. Your=
call.
>>=20
>> 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?
Further change so that if the file argument does start with '^.*://' to
not append '/:'.
With these changes Emacs can handle any url forwarded to Emacs. We might
also want signal an error if the uri send to Emacs was not handled by
browse-url.
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 04 Jan 2025 13:19:01 +0000
Resent-Message-ID: <handler.74467.B74467.173599671529409 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.173599671529409
(code B ref 74467); Sat, 04 Jan 2025 13:19:01 +0000
Received: (at 74467) by debbugs.gnu.org; 4 Jan 2025 13:18:35 +0000
Received: from localhost ([127.0.0.1]:53885 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tU430-0007eG-BZ
for submit <at> debbugs.gnu.org; Sat, 04 Jan 2025 08:18:34 -0500
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 <eliz@HIDDEN>) id 1tU42w-0007e0-UA
for 74467 <at> debbugs.gnu.org; Sat, 04 Jan 2025 08:18:32 -0500
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 <eliz@HIDDEN>)
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==;
Date: Sat, 04 Jan 2025 15:18:22 +0200
Message-Id: <86r05id8f5.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87zfk9q91e.fsf@> (message from =?UTF-8?Q?Bj=C3=B6rn?= Bidar on
Thu, 02 Jan 2025 22:02:05 +0200)
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN> <87zfk9q91e.fsf@>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Björn Bidar <bjorn.bidar@HIDDEN>
> Cc: yantar92@HIDDEN, 74467 <at> debbugs.gnu.org, binarin@HIDDEN
> Date: Thu, 02 Jan 2025 22:02:05 +0200
>
> Eli Zaretskii <eliz@HIDDEN> writes:
>
> >> Cc: 74467 <at> debbugs.gnu.org, binarin@HIDDEN
> >> Date: Mon, 16 Dec 2024 22:01:56 +0200
> >> From: Eli Zaretskii <eliz@HIDDEN>
> >>
> >> > From: Ihor Radchenko <yantar92@HIDDEN>
> >> > Cc: Alexey Lebedeff <binarin@HIDDEN>, 74467 <at> debbugs.gnu.org
> >> > Date: Mon, 16 Dec 2024 19:34:01 +0000
> >> >
> >> > Eli Zaretskii <eliz@HIDDEN> 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?
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 04 Jan 2025 22:08:01 +0000
Resent-Message-ID: <handler.74467.B74467.173602846929576 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.173602846929576
(code B ref 74467); Sat, 04 Jan 2025 22:08:01 +0000
Received: (at 74467) by debbugs.gnu.org; 4 Jan 2025 22:07:49 +0000
Received: from localhost ([127.0.0.1]:57775 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tUCJA-0007gy-TT
for submit <at> debbugs.gnu.org; Sat, 04 Jan 2025 17:07:49 -0500
Received: from thaodan.de ([2a03:4000:4f:f15::1]:54130)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <bjorn.bidar@HIDDEN>)
id 1tUCJ7-0007gk-Dy
for 74467 <at> debbugs.gnu.org; Sat, 04 Jan 2025 17:07:47 -0500
Received: from odin (dsl-trebng12-50dc7b-49.dhcp.inet.fi [80.220.123.49])
by thaodan.de (Postfix) with ESMTPSA id 50A62D0002E;
Sun, 5 Jan 2025 00:07:38 +0200 (EET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail;
t=1736028458; bh=xytuB0KitB43Gq2hijD5ed21ue6Cd+CdoTtTfossU5Q=;
h=From:To:Cc:Subject:In-Reply-To:References:Date;
b=OG0Jz0AgI4K5F3aEh7Ax8d51alvojq+Ez/xJrHFXocs2VIDO7J0Xzx0qnxKozUWhu
9ZyNJCh1xywB4wO48znf6T7QPErcd1LKN6ffPFL4JS6B/Nh7x7W5n4Lv5P5ZY6GYrt
XBCWVewvTo+vJJUY/+sdYu1i/PhLIpxo9Z2See/ffZIDeUsNo7ilrH6e3MlvHncgLD
X2ipWR9TLAUTGtRaL93TrydsgJzm+Ruw156UDkR9IwMOqveSkbRhkDPNTFJT5K0cwo
FOOk69wUArdZRR6LvYmADFgJS/NYjKE+GdXQaehREGDAVE1zARLLmydUzMipnbjJf0
nTZQ+OC3NRNTgD0xZxthcu7RmOLZ1eGa9cp6+gDtYQkyZs80kgnmStDoXSZI/7i/bE
9v+Ay79w22YL26QFggFnJ91uzq3D8zheYfAXATe/2KanlJPNUqWWjQZw1hHOZPtx7M
Qp6pSCapi9niq97nik+J2LuJ6PlJQQPsU4AIBeJYHYcT1OFBS8z1h83IUjsdBBBX9J
1a6DKtpqY4LKAbklc5nBU1OMJOF7Gy/QvVYkMrsQW9So3dxmdS1ecTZARXnKl2lPtT
eTPmeDEdpRvxE3bFR8YuZcvHuWOwQLAHUH3wgfNMjimktl0MJj4nYozLE70lWKEFQl
NGOdWJp9xbHIpWa42hml0vlM=
From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
In-Reply-To: <86r05id8f5.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 04 Jan
2025 15:18:22 +0200")
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN> <86r05id8f5.fsf@HIDDEN>
Autocrypt: addr=bjorn.bidar@HIDDEN; prefer-encrypt=nopreference; keydata=
mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq
w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV
CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl
HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8
phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF
CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h
K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2
cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC
HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN
XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg
gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1+ntAhsDBQsJCAcCAiICBhUKCQgL
AgQWAgMBAh4HAheAAAoJEFwbdKFlHF9oBgwA/iQHwe0VL4Df4GGTYlNjMSHFlIkBmN4UfYGLYj3E
TrOUAQC51M+M3cjsL8WHdpBz6VAo6df9d+rVwhQ9vQuFHqevArg4BGTX6T4SCisGAQQBl1UBBQEB
B0Cbohc3JEfn005/cm0AOGjSsW1ZxAkgaoVNjbpqk4MgNAMBCAeIeAQYFgoAIBYhBFHxdut1RzAe
pymoq1wbdKFlHF9oBQJk1+k+AhsMAAoJEFwbdKFlHF9ooHABAKGmrGBic/Vys3BBrOQiRB3Z7izO
HwhqTRpAqFZtXS2nAQDZhp/5aYw1TZjTzkm1KVt9QiYnjd/MvxRE9iaY6x4mDbgzBGTX6T4WCSsG
AQQB2kcPAQEHQAgRJq/tMcCCB2XyA5WZpu7GvpRx0m9IPRWazeqhOq7uiO8EGBYKACAWIQRR8Xbr
dUcwHqcpqKtcG3ShZRxfaAUCZNf71AIbIgCBCRBcG3ShZRxfaHYgBBkWCgAdFiEEUfF263VHMB6n
KairXBt0oWUcX2gFAmTX+9QACgkQXBt0oWUcX2jeSwD6AtWn0cuo8IF35YRo4o3cDRJnUfJnbvJy
GxyCDThR+zYBAKG6/jdwmZkBQZKslnDAbMMd2WfiZZT5JW3IWC4EaKMO7HkBAKYPGZ3UbfkRvfFK
S+pQ9CgtNfkSJQBtT1Ob7Y6nsacgAQCpyXN7yppmhW/oBgivITPy9Lkg+V4NK9WZYZCU9Q7LBA==
Date: Sun, 05 Jan 2025 00:07:37 +0200
Message-ID: <877c7aw7va.fsf@>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar
<bjorn.bidar@HIDDEN> >> Cc: yantar92@HIDDEN, 74467 <at> debbugs.gnu.org,
binarin@HIDDEN >> Date: Thu, 02 Jan 2025 22:02:05 +0200 >> >> Eli Zaretskii
<eliz@HIDDEN> write [...]
Content analysis details: (1.2 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 SPF_PASS SPF: sender matches SPF record
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
1.2 INVALID_MSGID Message-Id is not valid, according to RFC 2822
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)
Eli Zaretskii <eliz@HIDDEN> writes:
>> From: Bj=C3=B6rn Bidar <bjorn.bidar@HIDDEN>
>> Cc: yantar92@HIDDEN, 74467 <at> debbugs.gnu.org, binarin@HIDDEN
>> Date: Thu, 02 Jan 2025 22:02:05 +0200
>>=20
>> Eli Zaretskii <eliz@HIDDEN> writes:
>>=20
>> >> Cc: 74467 <at> debbugs.gnu.org, binarin@HIDDEN
>> >> Date: Mon, 16 Dec 2024 22:01:56 +0200
>> >> From: Eli Zaretskii <eliz@HIDDEN>
>> >>=20
>> >> > From: Ihor Radchenko <yantar92@HIDDEN>
>> >> > Cc: Alexey Lebedeff <binarin@HIDDEN>, 74467 <at> debbugs.gnu.org
>> >> > Date: Mon, 16 Dec 2024 19:34:01 +0000
>> >> >=20
>> >> > Eli Zaretskii <eliz@HIDDEN> writes:
>> >> >=20
>> >> > >> One solution would be introducing separate=C2=A0 .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?
>> >> >=20
>> >> > I am attaching an *untested* patch that implements a new .desktop f=
ile.
>> >>=20
>> >> Thanks. Let's see if someone objects.
>> >>=20
>> >> > Note that an alternative could be handling file:// URIs by Emacs. Y=
our call.
>> >>=20
>> >> I thought we already did?
>> >
>> > Ping! Since we already know how to handle file:// UTIs, what would
>> > the solution using that look like?
>>=20
>> 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?
No not for file argument when Emacs stars or in emacsclient. We append
/: and then call find_file_handler.
Is the .*:/ part ignore when calling find-file-file interactively?
When I call find-file in eshell with someting like
"file:///etc/os-release" I get this:
Debugger entered--entering a function:
* directory-abbrev-apply("/home/bidar/dev/emacs/emacs/src/file:/etc/os-rele=
ase")
* abbreviate-file-name("/home/bidar/dev/emacs/emacs/src/file:/etc/os-releas=
e")
* find-file-noselect("file:///etc/os-release" nil nil nil)
* #<subr find-file>("file:///etc/os-release")
* apply(#<subr find-file> "file:///etc/os-release")
* find-file("file:///etc/os-release")
eval((find-file "file:///etc/os-release"))
=20
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 05 Jan 2025 06:41:01 +0000
Resent-Message-ID: <handler.74467.B74467.173605920725948 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.173605920725948
(code B ref 74467); Sun, 05 Jan 2025 06:41:01 +0000
Received: (at 74467) by debbugs.gnu.org; 5 Jan 2025 06:40:07 +0000
Received: from localhost ([127.0.0.1]:59288 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tUKIw-0006kD-IA
for submit <at> debbugs.gnu.org; Sun, 05 Jan 2025 01:40:07 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:44132)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tUKIt-0006hH-FB
for 74467 <at> debbugs.gnu.org; Sun, 05 Jan 2025 01:40:04 -0500
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 <eliz@HIDDEN>)
id 1tUKIn-0004j7-V7; Sun, 05 Jan 2025 01:39:57 -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=Uz2byI6uGD3eeWa0B8tgxHwKVMjpQeB6HApj0+24PZw=; b=YSysAyVjubRFdWYcHe0J
aSBIuKY+UKzKRrOWNxhkVxiKP3p6IZIkRPmg/Xz9oSO5wkTWbFL9LOMXdJn66actFX+8VaX8kwl3C
Mxr3AkQ7qbofOH3WckWCoxMw2Narcjq62I2WEaGaT160JdsV95xsOQyB28ZGLWonPBxeop4CVk9/x
wylHyROsWYJMj7V0RScWKTgpvKnbWt7cPPo+PkfX7l1wPQGk4jfZLjw6ULoEQej0d4o8VzK7hK0uS
LwiHeod2gkyxccbbOQ4H1RZWWgJIk83hiFtFPDsaTtI4NQJvD/nID6VwV4eBwBUTjlNBsxzR9q4Vy
CpkX/WIzrtiMwg==;
Date: Sun, 05 Jan 2025 08:39:54 +0200
Message-Id: <86o70lahmt.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <877c7aw7va.fsf@> (message from =?UTF-8?Q?Bj=C3=B6rn?= Bidar on
Sun, 05 Jan 2025 00:07:37 +0200)
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN>
<86r05id8f5.fsf@HIDDEN> <877c7aw7va.fsf@>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Björn Bidar <bjorn.bidar@HIDDEN>
> Cc: yantar92@HIDDEN, 74467 <at> debbugs.gnu.org, binarin@HIDDEN
> Date: Sun, 05 Jan 2025 00:07:37 +0200
>
> Eli Zaretskii <eliz@HIDDEN> writes:
>
> >> >> > 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?
>
> No not for file argument when Emacs stars or in emacsclient. We append
> /: and then call find_file_handler.
I didn't mean this works OOTB. Some changes are surely needed. Ihor
seemed to say that if this can be supported, there could be an
alternative patch for fixing this issue, and I'd like to see that
alternative patch to decide which one is simpler and/or more elegant.
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: Ihor Radchenko <yantar92@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 05 Jan 2025 08:54:02 +0000
Resent-Message-ID: <handler.74467.B74467.173606722520613 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>, binarin@HIDDEN, 74467 <at> debbugs.gnu.org
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.173606722520613
(code B ref 74467); Sun, 05 Jan 2025 08:54:02 +0000
Received: (at 74467) by debbugs.gnu.org; 5 Jan 2025 08:53:45 +0000
Received: from localhost ([127.0.0.1]:59804 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tUMOG-0005ML-TV
for submit <at> debbugs.gnu.org; Sun, 05 Jan 2025 03:53:45 -0500
Received: from mout01.posteo.de ([185.67.36.65]:52595)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <yantar92@HIDDEN>)
id 1tUMOE-0005M5-GJ
for 74467 <at> debbugs.gnu.org; Sun, 05 Jan 2025 03:53:44 -0500
Received: from submission (posteo.de [185.67.36.169])
by mout01.posteo.de (Postfix) with ESMTPS id 928F6240027
for <74467 <at> debbugs.gnu.org>; Sun, 5 Jan 2025 09:53:34 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
t=1736067215; bh=udBsNyRYDsrPT0kTiJih9qgV2otZrhzsGUgiQzDZBvs=;
h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:
From;
b=KtTaR6DA7irqCJfbDry+DMeSEkQa7GXQbIGUQRAkpoVkkGVd8HECggzQhLx5pwf6y
DCPzVv7N6IhgEBVVQ0+ZA01s8BHQG0CUgSYASgIWjrxVYNjEDNWXKWCq0cwJCtJHZz
kUgiUYe49Nkhih48VnEhgKDC0Ptgw/A9EsEkcHRZlt023oQsx52gJ74KOF/cWJ0WV4
CcACIh4KNLgD5zdM26kE43x5nMWp7dVi33LuOoctUo5vZxjUoeKIMlhrEVr/NgmGeU
0utu65GqfqZfBCGtDGdZDuMmGvVvb1liu8FIy3m3T1CdIQ/1XwfBwmUDH4WyF4hm5k
tnu2sAaoP+WTg==
Received: from customer (localhost [127.0.0.1])
by submission (posteo.de) with ESMTPSA id 4YQrgy2mSDz9rxB;
Sun, 5 Jan 2025 09:53:34 +0100 (CET)
From: Ihor Radchenko <yantar92@HIDDEN>
In-Reply-To: <86o70lahmt.fsf@HIDDEN>
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN> <86r05id8f5.fsf@HIDDEN>
<86o70lahmt.fsf@HIDDEN>
Date: Sun, 05 Jan 2025 08:55:54 +0000
Message-ID: <87sepxprl1.fsf@localhost>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
--=-=-=
Content-Type: text/plain
Eli Zaretskii <eliz@HIDDEN> writes:
> ... Ihor
> seemed to say that if this can be supported, there could be an
> alternative patch for fixing this issue, and I'd like to see that
> alternative patch to decide which one is simpler and/or more elegant.
See the attached.
If Emacs can handle file URIs, we can simply use %U field code.
--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline; filename=alternative.diff
diff --git a/etc/emacsclient.desktop b/etc/emacsclient.desktop
index 4395d3b02bc..c339ac93687 100644
--- a/etc/emacsclient.desktop
+++ b/etc/emacsclient.desktop
@@ -3,7 +3,7 @@ Name=Emacs (Client)
GenericName=Text Editor
Comment=Edit text
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;x-scheme-handler/org-protocol;
-Exec=sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F
+Exec=sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %U
Icon=emacs
Type=Application
Terminal=false
--=-=-=
Content-Type: text/plain
--
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
--=-=-=--
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 05 Jan 2025 18:14:01 +0000
Resent-Message-ID: <handler.74467.B74467.17361008023405 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Ihor Radchenko <yantar92@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.17361008023405
(code B ref 74467); Sun, 05 Jan 2025 18:14:01 +0000
Received: (at 74467) by debbugs.gnu.org; 5 Jan 2025 18:13:22 +0000
Received: from localhost ([127.0.0.1]:35124 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tUV7q-0000sr-9d
for submit <at> debbugs.gnu.org; Sun, 05 Jan 2025 13:13:22 -0500
Received: from thaodan.de ([2a03:4000:4f:f15::1]:34672)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <bjorn.bidar@HIDDEN>)
id 1tUV7n-0000sV-GU
for 74467 <at> debbugs.gnu.org; Sun, 05 Jan 2025 13:13:20 -0500
Received: from odin (dsl-trebng12-50dc7b-49.dhcp.inet.fi [80.220.123.49])
by thaodan.de (Postfix) with ESMTPSA id 3CD31D00059;
Sun, 5 Jan 2025 20:13:11 +0200 (EET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail;
t=1736100791; bh=lXW6xIrFj9hY6K/rztxjW//iFSJLNBTm9FT4jVm/8y8=;
h=From:To:Cc:Subject:In-Reply-To:References:Date;
b=l14KTWHmOiXra9RSbU/m4580V5cpu61rfklDHOFDeKtniM1hHvSGrdsXyM1Modedc
YhLeC1WvS2B1KASb16DZBhKDCqUrT248c9D4jcoOrG1fkV8jWZjEPSDU7JxaZyYAzh
pxZdtJH/HaFTLwN8GJRpxt6j/xbmf8PdYDJdlqWFJWas9ouk8gKxYv6WI2nuuOcWgO
VZqdwjbmABp8xmsfeDAOdoT89mE0LCIS6jmH7iPKctGkfldxVuoUnpZUpoHYr2VJPr
eaoglwG9GQHB1Rj7R5vk+TCA3q2t5TWCLoWbOdeFG9t5BLpYw2tUgKR38pEs6+n5gI
bKdA0G/M4ndVVcn3ldHu3AoHwTqM0069AHLKNt4n08IYTq23SRbutgpNnP8XBCgcuK
3+FRr5HnX/+eaEhxgT4q4i0nsyJ13hrhXwVGQXIFJHNV4LFtpRBqdcIGu5QrmwBKdS
suXRb4bozP6DeaE10YFX5eS5oZy585mdAkO2hQuHMdBToTOjTMJf1LxMhyVZcTm5mw
Fj3ZY2TbVx9dJcmqByi75+kUdmDZPxbMKtxYKYwyXyxNjXJuf42N2C2VD0zLM0JUNU
M008BovPcheU0EpdHhQDtF9P0Ck/2RetZ+gwT7HCnm69xG9S8lVhjFczx9boUlvcGz
GLG+5lPF9hpTxbDcsRsmfmwE=
From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
In-Reply-To: <87sepxprl1.fsf@localhost> (Ihor Radchenko's message of "Sun, 05
Jan 2025 08:55:54 +0000")
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN> <86r05id8f5.fsf@HIDDEN>
<86o70lahmt.fsf@HIDDEN> <87sepxprl1.fsf@localhost>
Autocrypt: addr=bjorn.bidar@HIDDEN; prefer-encrypt=nopreference; keydata=
mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq
w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV
CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl
HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8
phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF
CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h
K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2
cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC
HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN
XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg
gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1+ntAhsDBQsJCAcCAiICBhUKCQgL
AgQWAgMBAh4HAheAAAoJEFwbdKFlHF9oBgwA/iQHwe0VL4Df4GGTYlNjMSHFlIkBmN4UfYGLYj3E
TrOUAQC51M+M3cjsL8WHdpBz6VAo6df9d+rVwhQ9vQuFHqevArg4BGTX6T4SCisGAQQBl1UBBQEB
B0Cbohc3JEfn005/cm0AOGjSsW1ZxAkgaoVNjbpqk4MgNAMBCAeIeAQYFgoAIBYhBFHxdut1RzAe
pymoq1wbdKFlHF9oBQJk1+k+AhsMAAoJEFwbdKFlHF9ooHABAKGmrGBic/Vys3BBrOQiRB3Z7izO
HwhqTRpAqFZtXS2nAQDZhp/5aYw1TZjTzkm1KVt9QiYnjd/MvxRE9iaY6x4mDbgzBGTX6T4WCSsG
AQQB2kcPAQEHQAgRJq/tMcCCB2XyA5WZpu7GvpRx0m9IPRWazeqhOq7uiO8EGBYKACAWIQRR8Xbr
dUcwHqcpqKtcG3ShZRxfaAUCZNf71AIbIgCBCRBcG3ShZRxfaHYgBBkWCgAdFiEEUfF263VHMB6n
KairXBt0oWUcX2gFAmTX+9QACgkQXBt0oWUcX2jeSwD6AtWn0cuo8IF35YRo4o3cDRJnUfJnbvJy
GxyCDThR+zYBAKG6/jdwmZkBQZKslnDAbMMd2WfiZZT5JW3IWC4EaKMO7HkBAKYPGZ3UbfkRvfFK
S+pQ9CgtNfkSJQBtT1Ob7Y6nsacgAQCpyXN7yppmhW/oBgivITPy9Lkg+V4NK9WZYZCU9Q7LBA==
Date: Sun, 05 Jan 2025 20:13:09 +0200
Message-ID: <87wmf9t9hm.fsf@>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Ihor Radchenko <yantar92@HIDDEN> writes: > Eli Zaretskii
<eliz@HIDDEN> writes: > >> ... Ihor >> seemed to say that if this can be
supported, there could be an >> alternative patch for fixing this issue,
and I'd like to see that >> alternati [...]
Content analysis details: (1.2 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 SPF_PASS SPF: sender matches SPF record
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
1.2 INVALID_MSGID Message-Id is not valid, according to RFC 2822
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)
Ihor Radchenko <yantar92@HIDDEN> writes:
> Eli Zaretskii <eliz@HIDDEN> writes:
>
>> ... Ihor
>> seemed to say that if this can be supported, there could be an
>> alternative patch for fixing this issue, and I'd like to see that
>> alternative patch to decide which one is simpler and/or more elegant.
>
> See the attached.
> If Emacs can handle file URIs, we can simply use %U field code.
>
> diff --git a/etc/emacsclient.desktop b/etc/emacsclient.desktop
> index 4395d3b02bc..c339ac93687 100644
> --- a/etc/emacsclient.desktop
> +++ b/etc/emacsclient.desktop
> @@ -3,7 +3,7 @@ Name=Emacs (Client)
> GenericName=Text Editor
> Comment=Edit text
> MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;x-scheme-handler/org-protocol;
> -Exec=sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F
> +Exec=sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %U
Do we need the shell code here? if DISPLAY is defined emacsclient could
shurely forward it to Emacs.
Shellcode is part of the issue.
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 05 Jan 2025 18:21:02 +0000
Resent-Message-ID: <handler.74467.B74467.17361012505053 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.17361012505053
(code B ref 74467); Sun, 05 Jan 2025 18:21:02 +0000
Received: (at 74467) by debbugs.gnu.org; 5 Jan 2025 18:20:50 +0000
Received: from localhost ([127.0.0.1]:35146 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tUVF4-0001JR-C1
for submit <at> debbugs.gnu.org; Sun, 05 Jan 2025 13:20:50 -0500
Received: from thaodan.de ([2a03:4000:4f:f15::1]:59102)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <bjorn.bidar@HIDDEN>)
id 1tUVF2-0001JB-3l
for 74467 <at> debbugs.gnu.org; Sun, 05 Jan 2025 13:20:49 -0500
Received: from odin (dsl-trebng12-50dc7b-49.dhcp.inet.fi [80.220.123.49])
by thaodan.de (Postfix) with ESMTPSA id 5D8EAD00059;
Sun, 5 Jan 2025 20:20:41 +0200 (EET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail;
t=1736101241; bh=O7ImOJd3+H+AHBpNKjWsNSVFhtY7WmJ4I4c8AOGk+eA=;
h=From:To:Cc:Subject:In-Reply-To:References:Date;
b=yiyQsuBvpirrCUoGphbU10KESVshtCDweE8y/gpgZEEmvMFrHbiCub38fhRzhcob0
vzT0DgJ04t1uk/yIImllPXWLLxd5LuF+Ou+m75Czc+1y6EWymSKd/nIKemYG/7i6oX
q7USmWOpQ3B+NgHJNluePQ+MfPJ5ZQDj9a4uhE7qSxY36BG7SssRaYItOblmzogFzK
xhasv9KTUGS5QNQwsll7DRUPat1crcaTlqFB23sP7HibNUyi+R5z9s+XCr6PPLz0ES
WntCs6rCC3btMFuMTtvHsKrPVPTpXoBpeiLxp9X7GLzuEUxWMYN1Lndn8x6EDNWWYR
CFjkyvlJ3yqavOXmXoEThF/oqwxS981IDV5LnQu+VbnRBhha3DbYL+Bx4uqcsTO3rD
dD0bQM8gKQby8sHRvSRzSS+tQMiZMKJyyUMWo7lJvjjVURWsKalFjwEQKyUU4+t8/Y
tHM+oGKo3hRGwYh/dm3T8HNhVg5BeH4riMT2bI3L9XlTqZye3o3Fsgqg2dJkt+AcsN
7sezPYa7wjZKRqKmrrWGsq/j2XbCqtTrZmA35IdABTpzmByinUwcN1fmBqsgN72+So
npOCkeOAO6ORqTfgXFQd5dINhULgZluSdy3lhDCq22AeqgNnnNF6XbvYFWayMJsWdd
cYINFZCfDiPIyWb0YMmZ7WIw=
From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
In-Reply-To: <86o70lahmt.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 05 Jan
2025 08:39:54 +0200")
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN> <86r05id8f5.fsf@HIDDEN>
<86o70lahmt.fsf@HIDDEN>
Autocrypt: addr=bjorn.bidar@HIDDEN; prefer-encrypt=nopreference; keydata=
mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq
w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV
CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl
HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8
phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF
CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h
K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2
cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC
HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN
XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg
gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1+ntAhsDBQsJCAcCAiICBhUKCQgL
AgQWAgMBAh4HAheAAAoJEFwbdKFlHF9oBgwA/iQHwe0VL4Df4GGTYlNjMSHFlIkBmN4UfYGLYj3E
TrOUAQC51M+M3cjsL8WHdpBz6VAo6df9d+rVwhQ9vQuFHqevArg4BGTX6T4SCisGAQQBl1UBBQEB
B0Cbohc3JEfn005/cm0AOGjSsW1ZxAkgaoVNjbpqk4MgNAMBCAeIeAQYFgoAIBYhBFHxdut1RzAe
pymoq1wbdKFlHF9oBQJk1+k+AhsMAAoJEFwbdKFlHF9ooHABAKGmrGBic/Vys3BBrOQiRB3Z7izO
HwhqTRpAqFZtXS2nAQDZhp/5aYw1TZjTzkm1KVt9QiYnjd/MvxRE9iaY6x4mDbgzBGTX6T4WCSsG
AQQB2kcPAQEHQAgRJq/tMcCCB2XyA5WZpu7GvpRx0m9IPRWazeqhOq7uiO8EGBYKACAWIQRR8Xbr
dUcwHqcpqKtcG3ShZRxfaAUCZNf71AIbIgCBCRBcG3ShZRxfaHYgBBkWCgAdFiEEUfF263VHMB6n
KairXBt0oWUcX2gFAmTX+9QACgkQXBt0oWUcX2jeSwD6AtWn0cuo8IF35YRo4o3cDRJnUfJnbvJy
GxyCDThR+zYBAKG6/jdwmZkBQZKslnDAbMMd2WfiZZT5JW3IWC4EaKMO7HkBAKYPGZ3UbfkRvfFK
S+pQ9CgtNfkSJQBtT1Ob7Y6nsacgAQCpyXN7yppmhW/oBgivITPy9Lkg+V4NK9WZYZCU9Q7LBA==
Date: Sun, 05 Jan 2025 20:20:40 +0200
Message-ID: <87sepxt953.fsf@>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar
<bjorn.bidar@HIDDEN> >> Cc: yantar92@HIDDEN, 74467 <at> debbugs.gnu.org,
binarin@HIDDEN >> Date: Sun, 05 Jan 2025 00:07:37 +0200 >> >> Eli Zaretskii
<eliz@HIDDEN> write [...]
Content analysis details: (1.2 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 SPF_PASS SPF: sender matches SPF record
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
1.2 INVALID_MSGID Message-Id is not valid, according to RFC 2822
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)
Eli Zaretskii <eliz@HIDDEN> writes:
>> From: Bj=C3=B6rn Bidar <bjorn.bidar@HIDDEN>
>> Cc: yantar92@HIDDEN, 74467 <at> debbugs.gnu.org, binarin@HIDDEN
>> Date: Sun, 05 Jan 2025 00:07:37 +0200
>>=20
>> Eli Zaretskii <eliz@HIDDEN> writes:
>>=20
>> >> >> > Note that an alternative could be handling file:// URIs by Emacs=
. Your call.
>> >> >>=20
>> >> >> I thought we already did?
>> >> >
>> >> > Ping! Since we already know how to handle file:// UTIs, what would
>> >> > the solution using that look like?
>> >>=20
>> >> 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?
>>=20
>> No not for file argument when Emacs stars or in emacsclient. We append
>> /: and then call find_file_handler.
>
> I didn't mean this works OOTB. Some changes are surely needed. Ihor
> seemed to say that if this can be supported, there could be an
> alternative patch for fixing this issue, and I'd like to see that
> alternative patch to decide which one is simpler and/or more elegant.
I know you meant that. My point was to describe what is the problem.
I wanted to understand what's going on as I don't know so much about the
code which is below the Lisp code and how it interacts with the C-code.
Do I understand correctly that when Emacs starts it tries to find the
file-handler in C but the call to the handler is done in Lisp code?
It is very interesting to learn how Emacs works on this level,
especially when going down into (X)Emacs past. Anyways that is another
topic.
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: Ihor Radchenko <yantar92@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 05 Jan 2025 18:35:02 +0000
Resent-Message-ID: <handler.74467.B74467.17361020787710 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.17361020787710
(code B ref 74467); Sun, 05 Jan 2025 18:35:02 +0000
Received: (at 74467) by debbugs.gnu.org; 5 Jan 2025 18:34:38 +0000
Received: from localhost ([127.0.0.1]:35180 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tUVSP-00020H-H4
for submit <at> debbugs.gnu.org; Sun, 05 Jan 2025 13:34:38 -0500
Received: from mout01.posteo.de ([185.67.36.65]:57523)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <yantar92@HIDDEN>)
id 1tUVSM-0001zy-Ei
for 74467 <at> debbugs.gnu.org; Sun, 05 Jan 2025 13:34:36 -0500
Received: from submission (posteo.de [185.67.36.169])
by mout01.posteo.de (Postfix) with ESMTPS id BADEC240027
for <74467 <at> debbugs.gnu.org>; Sun, 5 Jan 2025 19:34:27 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
t=1736102067; bh=N+Sx+YX35seCgkG7cUz8TF0yieda7Vk1GElVJ6EhVCs=;
h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:
Content-Transfer-Encoding:From;
b=h/GBUZpQPOELW2MDBKUqmZ3fAGK7A9VrybdxyyZZpj1e37e/mY8Nm75wfkbTaj3b8
jLHuQLhnMHdCi2ss4Iwq6GVznLghc1aRPsDFuuQw9Ir3osq4CDSpgDDfr/JCa0n25d
WwRqE/Wluv2w+i2uunxf+OMVgpmWEkUApR33AQrPiRXCmANJmgRWaD89LP8ww0SkQO
MRAcDGsZp2wFvMFyKLOk+ZDcadx6rFbzYaXcDqkRHsAiaEXTsmDX31EN8PLYFFoPd6
/JZXy77/FuxfTEx3hZOakm6u9aticLbIYNYvJji6Cw8LMnh0A1g5xVKm9INTHu+sCO
0LdWVWOmP8wuA==
Received: from customer (localhost [127.0.0.1])
by submission (posteo.de) with ESMTPSA id 4YR5ZB2rLmz9rxQ;
Sun, 5 Jan 2025 19:34:26 +0100 (CET)
From: Ihor Radchenko <yantar92@HIDDEN>
In-Reply-To: <87wmf9t9hm.fsf@>
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN> <86r05id8f5.fsf@HIDDEN>
<86o70lahmt.fsf@HIDDEN> <87sepxprl1.fsf@localhost>
Date: Sun, 05 Jan 2025 18:36:45 +0000
Message-ID: <87r05hnm4i.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
Bj=C3=B6rn Bidar <bjorn.bidar@HIDDEN> writes:
>> -Exec=3Dsh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-e=
ditor=3D --display=3D\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --a=
lternate-editor=3D --create-frame; fi" sh %F
>> +Exec=3Dsh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-e=
ditor=3D --display=3D\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --a=
lternate-editor=3D --create-frame; fi" sh %U
>
> Do we need the shell code here? if DISPLAY is defined emacsclient could
> shurely forward it to Emacs.
I think that reasons why sh is there have nothing to do with the issue
at hand.
> Shellcode is part of the issue.
How so?
The first message in this thread described exactly why the old version
stopped working:
On 2023-10-03 there was a change introduced in xdg-utils
https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=3Db9d3ecf8180c57d=
bb5ca47253898ba0553e81c60
to more strictly follow xdg specification, and only pass URL-like
arguments to programs that explicitly requested this by using '%u' or
'%U' parameters.
After the above change, %F in our .desktop file prevents xdg-open from
using it for opening URIs. Any URIs, not just org-protocol and co.
So, %U should fix it, except that it will also signal to xdg-open that
Emacs can handle file:// URI as well; so we need to make sure that
file:// URIs can be opened just fine.
--=20
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 05 Jan 2025 19:12:01 +0000
Resent-Message-ID: <handler.74467.B74467.173610429215458 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.173610429215458
(code B ref 74467); Sun, 05 Jan 2025 19:12:01 +0000
Received: (at 74467) by debbugs.gnu.org; 5 Jan 2025 19:11:32 +0000
Received: from localhost ([127.0.0.1]:35259 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tUW27-00041F-OP
for submit <at> debbugs.gnu.org; Sun, 05 Jan 2025 14:11:32 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:51694)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tUW23-00040t-Dw
for 74467 <at> debbugs.gnu.org; Sun, 05 Jan 2025 14:11:30 -0500
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 <eliz@HIDDEN>)
id 1tUW1x-0000AY-OU; Sun, 05 Jan 2025 14:11:21 -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=OlzXYlLo9CbT9EfUHXdU/kTX61B3D0DF7ZhKENJoE8s=; b=kn0gVQsuMOnFLPTBmGzd
im8ek1cj6qqP30jMvZ0PZbErL+Oouh1o6wQv3V7lmZqgnnOKO2a07xMbccAWCRzMM6ayU1siJ5suS
7eTP3FsK6B3lf4RF/svLWUG8XqSp3epppZAC9Hb/4tRmkfTqtljf2QxlLE9O+YKVfrZ4VAS/JFg8L
bnYSPqTkOATO0ylpvvF/ue4d/NWb76HtAJWLQ6bbyevTa+C87zdizj0PQLQraJO4b/EPZHOdRxTQ9
Z7xXo2q7DnzHvSJMOmWt+SHu3PS4ckhbZCHtoXvO311EUqFuxJB25RJSewrcZVSXj/JIt8/ovzCsi
bb7yYihYR8fRPQ==;
Date: Sun, 05 Jan 2025 21:11:19 +0200
Message-Id: <86ed1h6ppk.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87sepxt953.fsf@> (message from =?UTF-8?Q?Bj=C3=B6rn?= Bidar on
Sun, 05 Jan 2025 20:20:40 +0200)
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN> <86r05id8f5.fsf@HIDDEN>
<86o70lahmt.fsf@HIDDEN> <87sepxt953.fsf@>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Björn Bidar <bjorn.bidar@HIDDEN>
> Cc: yantar92@HIDDEN, 74467 <at> debbugs.gnu.org, binarin@HIDDEN
> Date: Sun, 05 Jan 2025 20:20:40 +0200
>
> Do I understand correctly that when Emacs starts it tries to find the
> file-handler in C but the call to the handler is done in Lisp code?
AFAIR, file-handlers are looked for on both C and Lisp level. What
matters is the level on which the operation is implemented. If it's
implemented in C, we must look for the handler in C, otherwise we can
look for it in Lisp. find-file-name-handler is a primitive
implemented in C, but you can call it both from C and from Lisp.
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 05 Jan 2025 21:32:19 +0000
Resent-Message-ID: <handler.74467.B74467.173611273515728 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Ihor Radchenko <yantar92@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.173611273515728
(code B ref 74467); Sun, 05 Jan 2025 21:32:19 +0000
Received: (at 74467) by debbugs.gnu.org; 5 Jan 2025 21:32:15 +0000
Received: from localhost ([127.0.0.1]:35587 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tUYEI-00045b-TT
for submit <at> debbugs.gnu.org; Sun, 05 Jan 2025 16:32:15 -0500
Received: from thaodan.de ([2a03:4000:4f:f15::1]:40392)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <bjorn.bidar@HIDDEN>)
id 1tUYE5-000426-Uz
for 74467 <at> debbugs.gnu.org; Sun, 05 Jan 2025 16:32:12 -0500
Received: from odin (dsl-trebng12-50dc7b-49.dhcp.inet.fi [80.220.123.49])
by thaodan.de (Postfix) with ESMTPSA id D7958D00098;
Sun, 5 Jan 2025 23:31:52 +0200 (EET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail;
t=1736112713; bh=+i8aVAlkQeR5iX08ZVoJzOIS1I8SlmkwIekpJoGhEmI=;
h=From:To:Cc:Subject:In-Reply-To:References:Date;
b=oMouqtMVpYC5EWH/VPZLFH7dLLQ9XxCamzMUcad7ZLz3ZPYZGufpt5nchi4AIQcos
NW8Las56ohxp7BuzPQRB+UaQemV5SPaR1l49DbxP3ckmNQ1iClQJg9KJTPyjkHBu/z
SJC3xEkWXdO+HbRw9ZG4LNIQXrcdX+ZpnZo93wun8vkyQIlN+t0LHwie4VFu31GSJW
97gurhyZsyFeg6XcNselauzmz1RwsZGe68lTGfkwyUHN0vOnxKIGoBLl5PbDsiikfP
6hQcEh7T9CcZP5adPk2E2AmoenPuGtXduq3u96mQFsnN7eIkaGZ/In89mQ5esygjxH
Wsu5FLBu0VEuXFUzWQzbfWOkrcoq/5L6+JNa7Sdk0Uqj0hxTEth8RqrkAAQ9yM85Xh
nZwZMsNYO8tHr+EzncraWeNHBcOsafZiYl96tS/N8yrhEsLUSVP3XwD6w1C0s7il7P
TwLcX2+qyPgyNaTqQr7V3zhdjloGlDgolLBHiJ+H97wQPJU+44EDZwFH/IZQQ2ZQpZ
VJTeCle2WNfIhP8FRPmnMvyt9z6H6GRtAv8e+0cfFFRYTG03rz4gYe5wBl11cb2IQm
ukvdQs/sEqYf0tVHdQgOatFkzGjozXhcodtlM41wLu88SXpJWr5a/ho2wTCOWw5J2H
bcI1Hz+mZPaS2kv3tVZjdtKU=
From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
In-Reply-To: <87r05hnm4i.fsf@localhost> (Ihor Radchenko's message of "Sun, 05
Jan 2025 18:36:45 +0000")
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN> <86r05id8f5.fsf@HIDDEN>
<86o70lahmt.fsf@HIDDEN> <87sepxprl1.fsf@localhost>
<87r05hnm4i.fsf@localhost>
Autocrypt: addr=bjorn.bidar@HIDDEN; prefer-encrypt=nopreference; keydata=
mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq
w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV
CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl
HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8
phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF
CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h
K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2
cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC
HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN
XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg
gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1+ntAhsDBQsJCAcCAiICBhUKCQgL
AgQWAgMBAh4HAheAAAoJEFwbdKFlHF9oBgwA/iQHwe0VL4Df4GGTYlNjMSHFlIkBmN4UfYGLYj3E
TrOUAQC51M+M3cjsL8WHdpBz6VAo6df9d+rVwhQ9vQuFHqevArg4BGTX6T4SCisGAQQBl1UBBQEB
B0Cbohc3JEfn005/cm0AOGjSsW1ZxAkgaoVNjbpqk4MgNAMBCAeIeAQYFgoAIBYhBFHxdut1RzAe
pymoq1wbdKFlHF9oBQJk1+k+AhsMAAoJEFwbdKFlHF9ooHABAKGmrGBic/Vys3BBrOQiRB3Z7izO
HwhqTRpAqFZtXS2nAQDZhp/5aYw1TZjTzkm1KVt9QiYnjd/MvxRE9iaY6x4mDbgzBGTX6T4WCSsG
AQQB2kcPAQEHQAgRJq/tMcCCB2XyA5WZpu7GvpRx0m9IPRWazeqhOq7uiO8EGBYKACAWIQRR8Xbr
dUcwHqcpqKtcG3ShZRxfaAUCZNf71AIbIgCBCRBcG3ShZRxfaHYgBBkWCgAdFiEEUfF263VHMB6n
KairXBt0oWUcX2gFAmTX+9QACgkQXBt0oWUcX2jeSwD6AtWn0cuo8IF35YRo4o3cDRJnUfJnbvJy
GxyCDThR+zYBAKG6/jdwmZkBQZKslnDAbMMd2WfiZZT5JW3IWC4EaKMO7HkBAKYPGZ3UbfkRvfFK
S+pQ9CgtNfkSJQBtT1Ob7Y6nsacgAQCpyXN7yppmhW/oBgivITPy9Lkg+V4NK9WZYZCU9Q7LBA==
Date: Sun, 05 Jan 2025 23:31:51 +0200
Message-ID: <87cyh1t0ag.fsf@>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Ihor Radchenko <yantar92@HIDDEN> writes: > =?UTF-8?Q?Bj=C3=B6rn?= Bidar
<bjorn.bidar@HIDDEN> writes: > >>> -Exec=sh -c "if [ -n \\"\\$*\\" ];
then exec emacsclient >>> --alternate-editor= --display=\\"\\$DISPLAY\\"
\\"\\$@\\"; else >>> exec emacsclient [...]
Content analysis details: (1.2 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 SPF_PASS SPF: sender matches SPF record
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
1.2 INVALID_MSGID Message-Id is not valid, according to RFC 2822
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)
Ihor Radchenko <yantar92@HIDDEN> writes:
> Bj=C3=B6rn Bidar <bjorn.bidar@HIDDEN> writes:
>
>>> -Exec=3Dsh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient
>>> --alternate-editor=3D --display=3D\\"\\$DISPLAY\\" \\"\\$@\\"; else
>>> exec emacsclient --alternate-editor=3D --create-frame; fi" sh %F
>>> +Exec=3Dsh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient
>>> --alternate-editor=3D --display=3D\\"\\$DISPLAY\\" \\"\\$@\\"; else
>>> exec emacsclient --alternate-editor=3D --create-frame; fi" sh %U
>>
>> Do we need the shell code here? if DISPLAY is defined emacsclient could
>> shurely forward it to Emacs.
>
> I think that reasons why sh is there have nothing to do with the issue
> at hand.
>
>> Shellcode is part of the issue.
>
> How so?
> The first message in this thread described exactly why the old version
> stopped working:
>
> On 2023-10-03 there was a change introduced in xdg-utils
> https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=3Db9d3ecf8180c5=
7dbb5ca47253898ba0553e81c60
> to more strictly follow xdg specification, and only pass URL-like
> arguments to programs that explicitly requested this by using '%u' or
> '%U' parameters.
Calling a shell and then the program is more complicated as the argument
supplied to Emacs first run through the shell and then Emacs making the
arguments subject to the shell parsing rules.
> After the above change, %F in our .desktop file prevents xdg-open from
> using it for opening URIs. Any URIs, not just org-protocol and co.
>
> So, %U should fix it, except that it will also signal to xdg-open that
> Emacs can handle file:// URI as well; so we need to make sure that
> file:// URIs can be opened just fine.
It does fix that but dropping the shell in this context helps to avoid any
later potential issues.
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: Ihor Radchenko <yantar92@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 06 Jan 2025 18:42:02 +0000
Resent-Message-ID: <handler.74467.B74467.173618891314911 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.173618891314911
(code B ref 74467); Mon, 06 Jan 2025 18:42:02 +0000
Received: (at 74467) by debbugs.gnu.org; 6 Jan 2025 18:41:53 +0000
Received: from localhost ([127.0.0.1]:40056 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tUs2z-0003sQ-4Z
for submit <at> debbugs.gnu.org; Mon, 06 Jan 2025 13:41:53 -0500
Received: from mout02.posteo.de ([185.67.36.66]:39621)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <yantar92@HIDDEN>)
id 1tUs2v-0003s1-UW
for 74467 <at> debbugs.gnu.org; Mon, 06 Jan 2025 13:41:51 -0500
Received: from submission (posteo.de [185.67.36.169])
by mout02.posteo.de (Postfix) with ESMTPS id BABB4240101
for <74467 <at> debbugs.gnu.org>; Mon, 6 Jan 2025 19:41:43 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
t=1736188903; bh=rXwZJOrieRAR22YvwzFpYhUORiKy/4bNVrsjUJTCHLk=;
h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:
Content-Transfer-Encoding:From;
b=GDt4oszHtr02yOMxn5Vqfsl6g5K/m9jmLaDfO1wNKtJQdPOvRcKRVS3oi+hxuHfH7
2mxjsbiYVMy9HMXTMxK9fRSEwklhsFWG+zRFHLIBUeg/jvMKED31XrZIig12rgqtmc
udMK+578uGjggPwR/OGCKW1GBXELO1OgeyjeOhNkop09uLI+C65KP9GoqfPrzpGkuk
0SEldJ9O7ddIZkcg2mvB0JxU7KhelFUKAQaXcYnUFuGwpYdH69Xk+S7Q23gDMHfqw2
IUDRmSYZRu8KZAy+BGoM787ktYkjWEflHFodyP4mxmQL3PRgUW1N6g2xetskifvtgS
Aw3DaZii/FE0A==
Received: from customer (localhost [127.0.0.1])
by submission (posteo.de) with ESMTPSA id 4YRjh66N4xz6v10;
Mon, 6 Jan 2025 19:41:42 +0100 (CET)
From: Ihor Radchenko <yantar92@HIDDEN>
In-Reply-To: <87cyh1t0ag.fsf@>
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN> <86r05id8f5.fsf@HIDDEN>
<86o70lahmt.fsf@HIDDEN> <87sepxprl1.fsf@localhost>
<87r05hnm4i.fsf@localhost>
Date: Mon, 06 Jan 2025 18:44:01 +0000
Message-ID: <877c77hjf2.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
Bj=C3=B6rn Bidar <bjorn.bidar@HIDDEN> writes:
> Calling a shell and then the program is more complicated as the argument
> supplied to Emacs first run through the shell and then Emacs making the
> arguments subject to the shell parsing rules.
> ...
> It does fix that but dropping the shell in this context helps to avoid any
> later potential issues.
Maybe. But how does it have anything to do with the particular bug we
are discussing now?
If you have ideas how to improve the sh command in the .desktop file, I
suggest moving such discussion to emacs-devel.
--=20
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 07 Jan 2025 08:06:02 +0000
Resent-Message-ID: <handler.74467.B74467.173623711731809 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Ihor Radchenko <yantar92@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.173623711731809
(code B ref 74467); Tue, 07 Jan 2025 08:06:02 +0000
Received: (at 74467) by debbugs.gnu.org; 7 Jan 2025 08:05:17 +0000
Received: from localhost ([127.0.0.1]:41635 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tV4aS-0008Gx-MZ
for submit <at> debbugs.gnu.org; Tue, 07 Jan 2025 03:05:16 -0500
Received: from thaodan.de ([2a03:4000:4f:f15::1]:57708)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <bjorn.bidar@HIDDEN>)
id 1tV4aO-0008B1-JA
for 74467 <at> debbugs.gnu.org; Tue, 07 Jan 2025 03:05:15 -0500
Received: from NordStern (unknown [185.252.118.71])
by thaodan.de (Postfix) with ESMTPSA id 8B8D4D00045;
Tue, 7 Jan 2025 10:05:03 +0200 (EET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail;
t=1736237103; bh=w93qF/1H1Crcr7fOkvXV4MLkYSxyR1O3YqnGQHGM6dg=;
h=From:To:Cc:Subject:In-Reply-To:References:Date;
b=kOoafjls6IpkeMo0l5vqcx+d/xQbf4l/s2LcjMrpyk2Tz6YRmscN1/dbTS3TGQXy2
PQRFDMHutl1xBcmogTPgHhaL9OpkTEST/+j1g7jadAa0tWkKbQvJT9oibsTowZDlfT
+XQXNpQBYGi48g6K9cNX0OTxXx726Fm/D5NZ3f+9N2UhZG3m1Li4F4med4sgjH4xnL
sJmLJ6Pdqly1IokE18oWE+j54L7W+16wxSbbzqA5XiCuzr8QhmW/FRCg4r81rTQ3LS
Yjnc4YXdfXGm975yXDo1T++RkM66sNITYBLIQiGBCFj/ZNDQzhUfbp7xmEuUAkZdHf
3nPm5NWBs+wpJCcGBhH6OsS4EsFRVk2B7t7hrleWHhFj6HKCVBnMBoFDO7VNd55COe
JdyFqobUWfvEc8kNC9JLOGo4ZPx2tXZCrIwOfb25nt0WHyUOSBDp+ae3LHMnzkHsJ+
YXr+GpAEDlMpOVrBl+mn3/0Tlv9TGLejyZ/GtkFfDHD8rAxg2HYLuPlTPPQ97nBCga
K3iGQw5hH/gWA2cJHLnxB4bEgUKOQgdbavT/D6wazB8FMJqVYFRSmceaIErTox5HPJ
atmtsMWxaZ5eBA8EI65PoabILjWrX3YW+BqkWeAhvrsA+sDK2ou+AViv/gL0uTLy8A
/N89yaOuA/N/qh3OKQDQh+Bk=
From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
In-Reply-To: <877c77hjf2.fsf@localhost> (Ihor Radchenko's message of "Mon, 06
Jan 2025 18:44:01 +0000")
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN> <86r05id8f5.fsf@HIDDEN>
<86o70lahmt.fsf@HIDDEN> <87sepxprl1.fsf@localhost>
<87r05hnm4i.fsf@localhost> <877c77hjf2.fsf@localhost>
Autocrypt: addr=bjorn.bidar@HIDDEN; prefer-encrypt=nopreference; keydata=
mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq
w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV
CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl
HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8
phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF
CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h
K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2
cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC
HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN
XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg
gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1+ntAhsDBQsJCAcCAiICBhUKCQgL
AgQWAgMBAh4HAheAAAoJEFwbdKFlHF9oBgwA/iQHwe0VL4Df4GGTYlNjMSHFlIkBmN4UfYGLYj3E
TrOUAQC51M+M3cjsL8WHdpBz6VAo6df9d+rVwhQ9vQuFHqevArg4BGTX6T4SCisGAQQBl1UBBQEB
B0Cbohc3JEfn005/cm0AOGjSsW1ZxAkgaoVNjbpqk4MgNAMBCAeIeAQYFgoAIBYhBFHxdut1RzAe
pymoq1wbdKFlHF9oBQJk1+k+AhsMAAoJEFwbdKFlHF9ooHABAKGmrGBic/Vys3BBrOQiRB3Z7izO
HwhqTRpAqFZtXS2nAQDZhp/5aYw1TZjTzkm1KVt9QiYnjd/MvxRE9iaY6x4mDbgzBGTX6T4WCSsG
AQQB2kcPAQEHQAgRJq/tMcCCB2XyA5WZpu7GvpRx0m9IPRWazeqhOq7uiO8EGBYKACAWIQRR8Xbr
dUcwHqcpqKtcG3ShZRxfaAUCZNf71AIbIgCBCRBcG3ShZRxfaHYgBBkWCgAdFiEEUfF263VHMB6n
KairXBt0oWUcX2gFAmTX+9QACgkQXBt0oWUcX2jeSwD6AtWn0cuo8IF35YRo4o3cDRJnUfJnbvJy
GxyCDThR+zYBAKG6/jdwmZkBQZKslnDAbMMd2WfiZZT5JW3IWC4EaKMO7HkBAKYPGZ3UbfkRvfFK
S+pQ9CgtNfkSJQBtT1Ob7Y6nsacgAQCpyXN7yppmhW/oBgivITPy9Lkg+V4NK9WZYZCU9Q7LBA==
Date: Tue, 07 Jan 2025 10:05:02 +0200
Message-ID: <87jzb782xd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Ihor Radchenko <yantar92@HIDDEN> writes:
> Bj=C3=B6rn Bidar <bjorn.bidar@HIDDEN> writes:
>
>> Calling a shell and then the program is more complicated as the argument
>> supplied to Emacs first run through the shell and then Emacs making the
>> arguments subject to the shell parsing rules.
>> ...
>> It does fix that but dropping the shell in this context helps to avoid a=
ny
>> later potential issues.
>
> Maybe. But how does it have anything to do with the particular bug we
> are discussing now?
I'm not sure I merely mentioned it because of the issues we have been
facing regarding the desktop files.
> If you have ideas how to improve the sh command in the .desktop file, I
> suggest moving such discussion to emacs-devel.
I suggest to call Emacsclient without sh but yeah good call.
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 11 Jan 2025 11:11:01 +0000
Resent-Message-ID: <handler.74467.B74467.173659381222546 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Ihor Radchenko <yantar92@HIDDEN>
Cc: bjorn.bidar@HIDDEN, binarin@HIDDEN, 74467 <at> debbugs.gnu.org
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.173659381222546
(code B ref 74467); Sat, 11 Jan 2025 11:11:01 +0000
Received: (at 74467) by debbugs.gnu.org; 11 Jan 2025 11:10:12 +0000
Received: from localhost ([127.0.0.1]:41529 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tWZNc-0005ra-8c
for submit <at> debbugs.gnu.org; Sat, 11 Jan 2025 06:10:12 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:53250)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tWZNZ-0005m6-AQ
for 74467 <at> debbugs.gnu.org; Sat, 11 Jan 2025 06:10:10 -0500
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 <eliz@HIDDEN>)
id 1tWZNT-0005ON-3u; Sat, 11 Jan 2025 06:10:03 -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=yKQOi/kahv1g/N0GGdpahHZpJUI7pJtjdQHUgimSOE4=; b=We9gh4vNYsfHMQ+X91yX
ptih7GZfH1lTPjnXx5YA3K9L1F02j20FRqyl68WadsbuxzkDIdE5RqGl/Fd12RER7sZIGNZbAWC1o
CYQoDRmOyGYTf1HzZFRuKq9FNeYL3+C+kNAeZd2RdgzvEVLp4d7qo1IQkA2UyRCISsMQYTqcreCfy
0kthe2MKqGBGQA2b3kQfOQzM+wWi4LvPRnPnyuDaHdsqjM8c32NuRKvZ9QU2gkfw/HMwDCTyYOvRm
i5h+rS8lfC95KVWOEIGeeXtcIeDBRjxx+eST/BHes+V/NLDbJfrBaAWL0MaYsCojGE+E21Y/5rXuE
rtTpG6ZlXsXsvA==;
Date: Sat, 11 Jan 2025 13:09:56 +0200
Message-Id: <86ed19zjwb.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87sepxprl1.fsf@localhost> (message from Ihor Radchenko on Sun,
05 Jan 2025 08:55:54 +0000)
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN> <86r05id8f5.fsf@HIDDEN>
<86o70lahmt.fsf@HIDDEN> <87sepxprl1.fsf@localhost>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Ihor Radchenko <yantar92@HIDDEN>
> Cc: Björn Bidar <bjorn.bidar@HIDDEN>,
> 74467 <at> debbugs.gnu.org,
> binarin@HIDDEN
> Date: Sun, 05 Jan 2025 08:55:54 +0000
>
> Eli Zaretskii <eliz@HIDDEN> writes:
>
> > ... Ihor
> > seemed to say that if this can be supported, there could be an
> > alternative patch for fixing this issue, and I'd like to see that
> > alternative patch to decide which one is simpler and/or more elegant.
>
> See the attached.
> If Emacs can handle file URIs, we can simply use %U field code.
>
> diff --git a/etc/emacsclient.desktop b/etc/emacsclient.desktop
> index 4395d3b02bc..c339ac93687 100644
> --- a/etc/emacsclient.desktop
> +++ b/etc/emacsclient.desktop
> @@ -3,7 +3,7 @@ Name=Emacs (Client)
> GenericName=Text Editor
> Comment=Edit text
> MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;x-scheme-handler/org-protocol;
> -Exec=sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F
> +Exec=sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %U
> Icon=emacs
> Type=Application
> Terminal=false
Thanks, but I think we need to turn on the url-handler-mode before
Emacs can visit files specified as file:// URIs.
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: Alexey Lebedeff <binarin@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 20 Jan 2025 10:35:02 +0000
Resent-Message-ID: <handler.74467.B74467.17373692741901 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>, Ihor Radchenko <yantar92@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.17373692741901
(code B ref 74467); Mon, 20 Jan 2025 10:35:02 +0000
Received: (at 74467) by debbugs.gnu.org; 20 Jan 2025 10:34:34 +0000
Received: from localhost ([127.0.0.1]:49102 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tZp74-0000Ub-2Z
for submit <at> debbugs.gnu.org; Mon, 20 Jan 2025 05:34:34 -0500
Received: from e2i627.smtp2go.com ([103.2.142.115]:36527)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from
<bT.s0qswvbkul7tqc4=mxcq4cdrqf30=sg4hzh28ucx5yu@HIDDEN>)
id 1tZp70-0000U9-O7
for 74467 <at> debbugs.gnu.org; Mon, 20 Jan 2025 05:34:32 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=smtpservice.net; s=meh5q0.a1-4.dyn; x=1737370170; h=Feedback-ID:
X-Smtpcorp-Track:From:To:Subject:Date:Message-ID:Reply-To:Sender:
List-Unsubscribe:List-Unsubscribe-Post;
bh=1PnD147hXSdItlzCzePv1x2xy8JRb3xN8r4H+EdJUpI=; b=uQZmIvcCwRskiJY0AC2xxwgB1Q
hilbrIbU45vk94+ctcAFTYmzYrcTmG5Mov2u/ZoJfdu/No3YXPLFJC+gDR0Gu2ZOH+LBqZDKYAD+H
05wWIMexDU0FUU6bXCXlAWLT/HAl+lA6lzTOCF3cQqkwrFjy1VkCzqG0pcw5NAwuYINLMQtsqIJdI
I9Sn4Qv159mYRpn42MS5beB03IXbjEsqWLQ6W04nPzVK8b84rG3RxuPd+jpNXnrQX4mQPRq2SE7ms
lIWFo+KQGwdubd/g7zgvb9nsymHLgmyI0NL5LyGW6mvk+rC5VScNuNZa0xYJvMMOA57pWFU78PwU3
0es114jg==;
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=binarin.info;
i=@binarin.info; q=dns/txt; s=s675422; t=1737369270; h=from : subject
: to : message-id : date;
bh=1PnD147hXSdItlzCzePv1x2xy8JRb3xN8r4H+EdJUpI=;
b=nCEXtPLIv/yK7ZGD6BvYwGRwRd3mjtfU1HuIrw/nLZzPIoZ2jo+TJ/Fh6pk1s15AOte01
oa3xyssN/JoRuA3xuQrelrtMghoukrpaPO3/uprXsiqpvR8+ejLnrjozxWFFIvkVaH0yU5j
IRpgYwM3CAzCGeOgRZZE0SoSIfL01ZYsZkFdpPgkFxI7tsxUSnlQMktI2jF+kHOro4XNSxC
AIhfh9OJ9cRPcGuiFurRZiqb/iBv+DbG1WfDtjsa2zhhtc23Z5NLQsfX55lM8+cEDwepYTZ
9vW70JIrs3z7RD578RRsxyYctT95mmMh/SqvuzoMtAw2HDQ7t2igYxZQnowA==
Received: from [10.45.56.87] (helo=SmtpCorp) by smtpcorp.com with esmtpsa
(TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.94.2-S2G) (envelope-from <binarin@HIDDEN>)
id 1tZp6Y-qt4EDz-5c; Mon, 20 Jan 2025 10:34:02 +0000
Received: from [10.153.241.156] (helo=[192.168.2.26])
by smtpcorp.com with esmtpsa
(TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128)
(Exim 4.97.1-S2G) (envelope-from <binarin@HIDDEN>)
id 1tZp6V-FnQW0hPrYbE-eeyK; Mon, 20 Jan 2025 10:34:00 +0000
Message-ID: <dbd8a2fb-27d6-4a88-99f1-0939d02e2ffb@HIDDEN>
Date: Mon, 20 Jan 2025 11:33:55 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<RMtFL5xG8KQKYPlb_ZBTNRvoEqxmFzFy2GMsM_ljB3V5IQruF6LtAQ_46v3dCpwEGHVbScxK7veWi1E_lhdX4w==@protonmail.internalid>
<86seriksak.fsf@HIDDEN>
Content-Language: en-US, nl
From: Alexey Lebedeff <binarin@HIDDEN>
In-Reply-To: <86seriksak.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Smtpcorp-Track: UGfhcBQA_Kqu.TDwe6WbQY5tU.R3oHGASy4UC
Feedback-ID: 675422m:675422afUnUIa:675422saPVrBUARU
X-Report-Abuse: Please forward a copy of this message, including all headers,
to <abuse-report@HIDDEN>
X-Spam-Score: -3.3 (---)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.3 (----)
On 23-11-2024 14:12, Eli Zaretskii wrote:
>> Date: Thu, 21 Nov 2024 18:53:21 +0000
>> From: Alexey Lebedeff via "Bug reports for GNU Emacs,
>> the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
>>
>> The change introduced by
>> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65469 doesn't work anymore
>> in 'generic' desktop environment (as detected by 'xdg-open').
>>
>> I assume it works in some desktop environments, where `xdg-open`
>> delegates opening to the desktop environment itself. But there is also a
>> `generic` version, which tries to implent XDG specification itself.
>>
>> On 2023-10-03 there was a change introduced in xdg-utils
>> https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=b9d3ecf8180c57dbb5ca47253898ba0553e81c60
>> to more strictly follow xdg specification, and only pass URL-like
>> arguments to programs that explicitly requested this by using '%u' or
>> '%U' parameters.
>>
>> 'etc/emacsclient.desktop' uses '%F' parameter, which should be used for
>> programs that do not understand the URL syntax
>> (https://specifications.freedesktop.org/desktop-entry-spec/latest/exec-variables.html
>> - section about '%f', but also applies to '%F').
>>
>> "x-scheme-handler/org-protocol" is the only URL-like protocol that's
>> mentioned in the 'etc/emacsclient.desktop', but 'xdg-open' refuses to
>> use it.
>>
>> Just changing '%F' to '%U' in 'etc/emacsclient.desktop' is not possible,
>> as it allows 'xdg-open' to pass local files as "file:/" URL's if it
>> wants to.
>>
>> 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?
>
> (Each time such issues pop up, I regret again that we agreed to
> include these *.desktop files in our source tree, sigh.)
Understandable. But I think it's still better than letting users to
figure out all the quirks on their own.
Since then I've tried to set-up org-protocol on a Windows machine, and
the experience was even worse: a few registry edits, and a custom binary
(https://github.com/coldacid/org-protocol-w32-handler) to fix encoding
issues. OK, I can do it myself, but maybe it's better to do it as a part
of the binary distribution - especially given that org-mode is a part of
Emacs now.
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 20 Jan 2025 13:14:02 +0000
Resent-Message-ID: <handler.74467.B74467.173737883912009 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Alexey Lebedeff <binarin@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.173737883912009
(code B ref 74467); Mon, 20 Jan 2025 13:14:02 +0000
Received: (at 74467) by debbugs.gnu.org; 20 Jan 2025 13:13:59 +0000
Received: from localhost ([127.0.0.1]:49349 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tZrbK-00037c-NY
for submit <at> debbugs.gnu.org; Mon, 20 Jan 2025 08:13:59 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:40628)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tZrbI-00037O-38
for 74467 <at> debbugs.gnu.org; Mon, 20 Jan 2025 08:13:56 -0500
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 <eliz@HIDDEN>)
id 1tZrbB-0000fU-Cq; Mon, 20 Jan 2025 08:13:49 -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=xiW/zJi6h7qg1iavp4d0kuSAqdKf7+XbAEOHTYW6oG8=; b=dvivKuyRW2sH22+MEgTE
oIJRtYhuH1pnE8PevtrAH6fDDh8N92BH/oDsGHruRHzg50Ot9bTjv80LpS4Jv9lGcFztuc0/5kj7r
C5NWMNobZGz1BkFB6QSwRBcZ1UeISHTbsPanD+0lAH82mrllkPQyZ5i0PFtQCmjmaqRyAcvFYakJQ
8uvxIe3Vwd8sTVSequsFyDYP6gG9uzU3i2aGH9ilUKraNs2TR8ChujcdVp5FSi5ONwAU+VZtBV0CD
l59NjkkbvGQvXxneoxLF6jGeIuPWrrnKGCaVsjyazb+JPufifRSboszEcJKLuW8DnAHMDEHfLgHXW
7UvzmY/Eq+uQBg==;
Date: Mon, 20 Jan 2025 15:13:46 +0200
Message-Id: <868qr57hmd.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <dbd8a2fb-27d6-4a88-99f1-0939d02e2ffb@HIDDEN> (message from
Alexey Lebedeff on Mon, 20 Jan 2025 11:33:55 +0100)
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<RMtFL5xG8KQKYPlb_ZBTNRvoEqxmFzFy2GMsM_ljB3V5IQruF6LtAQ_46v3dCpwEGHVbScxK7veWi1E_lhdX4w==@protonmail.internalid>
<86seriksak.fsf@HIDDEN> <dbd8a2fb-27d6-4a88-99f1-0939d02e2ffb@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> Date: Mon, 20 Jan 2025 11:33:55 +0100
> Cc: 74467 <at> debbugs.gnu.org
> From: Alexey Lebedeff <binarin@HIDDEN>
>
> On 23-11-2024 14:12, Eli Zaretskii wrote:
> >> Date: Thu, 21 Nov 2024 18:53:21 +0000
> >> From: Alexey Lebedeff via "Bug reports for GNU Emacs,
> >> the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> >>
> >> The change introduced by
> >> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65469 doesn't work anymore
> >> in 'generic' desktop environment (as detected by 'xdg-open').
> >>
> >> I assume it works in some desktop environments, where `xdg-open`
> >> delegates opening to the desktop environment itself. But there is also a
> >> `generic` version, which tries to implent XDG specification itself.
> >>
> >> On 2023-10-03 there was a change introduced in xdg-utils
> >> https://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=b9d3ecf8180c57dbb5ca47253898ba0553e81c60
> >> to more strictly follow xdg specification, and only pass URL-like
> >> arguments to programs that explicitly requested this by using '%u' or
> >> '%U' parameters.
> >>
> >> 'etc/emacsclient.desktop' uses '%F' parameter, which should be used for
> >> programs that do not understand the URL syntax
> >> (https://specifications.freedesktop.org/desktop-entry-spec/latest/exec-variables.html
> >> - section about '%f', but also applies to '%F').
> >>
> >> "x-scheme-handler/org-protocol" is the only URL-like protocol that's
> >> mentioned in the 'etc/emacsclient.desktop', but 'xdg-open' refuses to
> >> use it.
> >>
> >> Just changing '%F' to '%U' in 'etc/emacsclient.desktop' is not possible,
> >> as it allows 'xdg-open' to pass local files as "file:/" URL's if it
> >> wants to.
> >>
> >> 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?
> >
> > (Each time such issues pop up, I regret again that we agreed to
> > include these *.desktop files in our source tree, sigh.)
>
> Understandable. But I think it's still better than letting users to
> figure out all the quirks on their own.
To clarify: I think this is for distros to figure out, not for users.
> Since then I've tried to set-up org-protocol on a Windows machine, and
> the experience was even worse: a few registry edits, and a custom binary
> (https://github.com/coldacid/org-protocol-w32-handler) to fix encoding
> issues. OK, I can do it myself, but maybe it's better to do it as a part
> of the binary distribution - especially given that org-mode is a part of
> Emacs now.
See above: doing this as part of the binary distribution is perfectly
fine by me. I just don't think it's our job as the upstream project,
because it requires too intimate knowledge of the various desktops and
their idiosyncrasies.
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 25 Jan 2025 08:42:02 +0000
Resent-Message-ID: <handler.74467.B74467.17377945214329 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: yantar92@HIDDEN
Cc: bjorn.bidar@HIDDEN, binarin@HIDDEN, 74467 <at> debbugs.gnu.org
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.17377945214329
(code B ref 74467); Sat, 25 Jan 2025 08:42:02 +0000
Received: (at 74467) by debbugs.gnu.org; 25 Jan 2025 08:42:01 +0000
Received: from localhost ([127.0.0.1]:48356 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tbbjs-00017l-Fm
for submit <at> debbugs.gnu.org; Sat, 25 Jan 2025 03:42:00 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:48106)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tbbjp-00017S-Eo
for 74467 <at> debbugs.gnu.org; Sat, 25 Jan 2025 03:41:58 -0500
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 <eliz@HIDDEN>)
id 1tbbjj-0001pG-OO; Sat, 25 Jan 2025 03:41:51 -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=kwOo64MK/4uM4QwxDESUnK1GCJVJpjYbLthtGTxCiW0=; b=D0mAULtYJhRGZehA0lxq
nOOLUBfBjO7VHfD+PI5SCFv24ZILKSfr1vAaMaFCsLWhRrpP81Vokl6rvKqs017XN96J6AzE2koAi
+mNzS7Oi+CnahFo5mxl+vNnW+pcaRVpHT7mJr/JdOmw7+vRjQ5aVV/xJNB2ir0diDESaxruHxYffB
Po4zpkxV1SWs8DNCPz7Sf5ZwUncAK5zZodux00BNW0pDQ3LgOZmYUgDuStXnLgY5zpL5kG6QPhI+t
45HLf1S+TnWuCrcx5eLW3BI7fw0MFEH3cC77s+Ilm7b4Hn1V/fF0CnL3NVtKcReJsgFzj7upih49D
NBXOz2lBkcN28Q==;
Date: Sat, 25 Jan 2025 10:41:49 +0200
Message-Id: <86ikq3waia.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <86ed19zjwb.fsf@HIDDEN> (message from Eli Zaretskii on Sat, 11
Jan 2025 13:09:56 +0200)
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN> <86r05id8f5.fsf@HIDDEN>
<86o70lahmt.fsf@HIDDEN> <87sepxprl1.fsf@localhost> <86ed19zjwb.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> Cc: bjorn.bidar@HIDDEN, binarin@HIDDEN, 74467 <at> debbugs.gnu.org
> Date: Sat, 11 Jan 2025 13:09:56 +0200
> From: Eli Zaretskii <eliz@HIDDEN>
>
> > From: Ihor Radchenko <yantar92@HIDDEN>
> > Cc: Björn Bidar <bjorn.bidar@HIDDEN>,
> > 74467 <at> debbugs.gnu.org,
> > binarin@HIDDEN
> > Date: Sun, 05 Jan 2025 08:55:54 +0000
> >
> > Eli Zaretskii <eliz@HIDDEN> writes:
> >
> > > ... Ihor
> > > seemed to say that if this can be supported, there could be an
> > > alternative patch for fixing this issue, and I'd like to see that
> > > alternative patch to decide which one is simpler and/or more elegant.
> >
> > See the attached.
> > If Emacs can handle file URIs, we can simply use %U field code.
> >
> > diff --git a/etc/emacsclient.desktop b/etc/emacsclient.desktop
> > index 4395d3b02bc..c339ac93687 100644
> > --- a/etc/emacsclient.desktop
> > +++ b/etc/emacsclient.desktop
> > @@ -3,7 +3,7 @@ Name=Emacs (Client)
> > GenericName=Text Editor
> > Comment=Edit text
> > MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;x-scheme-handler/org-protocol;
> > -Exec=sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F
> > +Exec=sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %U
> > Icon=emacs
> > Type=Application
> > Terminal=false
>
> Thanks, but I think we need to turn on the url-handler-mode before
> Emacs can visit files specified as file:// URIs.
Ping!
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: Ihor Radchenko <yantar92@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 16 Mar 2025 14:09:05 +0000
Resent-Message-ID: <handler.74467.B74467.174213410210363 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: bjorn.bidar@HIDDEN, binarin@HIDDEN, 74467 <at> debbugs.gnu.org
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.174213410210363
(code B ref 74467); Sun, 16 Mar 2025 14:09:05 +0000
Received: (at 74467) by debbugs.gnu.org; 16 Mar 2025 14:08:22 +0000
Received: from localhost ([127.0.0.1]:50176 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1ttof6-0002gj-H9
for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 10:08:22 -0400
Received: from mout01.posteo.de ([185.67.36.65]:59857)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <yantar92@HIDDEN>)
id 1ttoez-0002ep-Nz
for 74467 <at> debbugs.gnu.org; Sun, 16 Mar 2025 10:08:14 -0400
Received: from submission (posteo.de [185.67.36.169])
by mout01.posteo.de (Postfix) with ESMTPS id 6A13D240027
for <74467 <at> debbugs.gnu.org>; Sun, 16 Mar 2025 15:08:07 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
t=1742134087; bh=aQ/0nVqWB1Bp5F0cQ4VIOB67fUOjWv8QRaM9auhkIwM=;
h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:
From;
b=AVJ8jdgBSpyqYp/o075M+pQx//MdNHXDDNXC6pYLiUfCoavhSrxSuYgtJTlc5e3PU
uvV4EpqRbTyIj2SGVffyIwh/WUjpctBH9YoZ20YwfopzHu6SZmQWal1VMK5+NAFiJy
3Pe42VdhujlTvJ5q1AeQJu0oEorYC3xWQBIR7dZOJcCY0jW8pAitqe4pXxQ0mBQglT
tCtWoKh1ywOLV5zEMudCNBphCf+8JkZW5Nj4VhAiTiwjUd7246+rXG6lHpTP5s4Es+
229PS0fhKf1N/3oPWnNRs6TdVEbQIfuaE/l7dTMrcW8AxX77954YOcBObH5ONU1grL
unV4pvkIsglHg==
Received: from customer (localhost [127.0.0.1])
by submission (posteo.de) with ESMTPSA id 4ZG0LZ5nXWz9rxQ;
Sun, 16 Mar 2025 15:08:06 +0100 (CET)
From: Ihor Radchenko <yantar92@HIDDEN>
In-Reply-To: <86ikq3waia.fsf@HIDDEN>
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN> <86r05id8f5.fsf@HIDDEN>
<86o70lahmt.fsf@HIDDEN> <87sepxprl1.fsf@localhost>
<86ed19zjwb.fsf@HIDDEN> <86ikq3waia.fsf@HIDDEN>
Date: Sun, 16 Mar 2025 14:07:29 +0000
Message-ID: <87frjd3w7y.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -3.3 (---)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.3 (----)
Eli Zaretskii <eliz@HIDDEN> writes:
>> > > ... Ihor
>> > > seemed to say that if this can be supported, there could be an
>> > > alternative patch for fixing this issue, and I'd like to see that
>> > > alternative patch to decide which one is simpler and/or more elegant.
>> >
>> > See the attached.
>> > If Emacs can handle file URIs, we can simply use %U field code.
>> ...
>> Thanks, but I think we need to turn on the url-handler-mode before
>> Emacs can visit files specified as file:// URIs.
>
> Ping!
But isn't `url-handler-mode' doing much more than just allowing URIs in
emacs/emacsclient arguments? Maybe one can make a more limited version
of url-handler-mode that would be safe to enable to by default?
--
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 16 Mar 2025 14:56:01 +0000
Resent-Message-ID: <handler.74467.B74467.174213694616301 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Ihor Radchenko <yantar92@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.174213694616301
(code B ref 74467); Sun, 16 Mar 2025 14:56:01 +0000
Received: (at 74467) by debbugs.gnu.org; 16 Mar 2025 14:55:46 +0000
Received: from localhost ([127.0.0.1]:50290 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1ttpOz-0004Eq-RN
for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 10:55:46 -0400
Received: from thaodan.de ([2a03:4000:4f:f15::1]:51632)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <bjorn.bidar@HIDDEN>)
id 1ttpOq-0004Cf-PM
for 74467 <at> debbugs.gnu.org; Sun, 16 Mar 2025 10:55:43 -0400
Received: from odin (dsl-trebng12-50dc7b-49.dhcp.inet.fi [80.220.123.49])
by thaodan.de (Postfix) with ESMTPSA id 9567DD00055;
Sun, 16 Mar 2025 16:55:27 +0200 (EET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail;
t=1742136927; bh=tmv2XTK0ccCiQkuHQnGOz6aaLKZQz2OA7u586NHQguY=;
h=From:To:Cc:Subject:In-Reply-To:References:Date;
b=PtOnKA9Q6nroDV0CLELRumHOMmA/Ug6h7yUEwcJDWoLYaQNi1pJOXXbLOXG2yuTuL
8U5KdV4Xy4GHotByPDKA3to+8JEUbPSp3H1prbuCpIT0tSRLEgvca7ciQhNB1L8oAf
JOp2vBHOFN+Y0lxcl+cSQKcBIdJzZE6OlzDC9Noc83VGl4ZdQKRVDBC+jZHxaIc1l1
Kia6okINW0J8Cq4WJmw6ek/ApF2UhECU+K+dBKOXk1OxsBbA8gOjsMCaZBwg7kMGzJ
m3nqSsJetlfzJy+18QoaC2BMrPd6BcnAInLUYK4qLXXBcF67daHsoOXHlJUs8luW8n
g8jWCOJWxrduzGspTT6L9eUZJsOttIbuVeOWgGNl5bJN2JlI5jIgbbZQ98ttYQn7JP
sLNl8HllfRXEx3RJKeHbm+byvkrWK1Afhz61i/UVRP5hyDCqVh+Rz7mk9USVE8Es3A
iZ9eP9L5BI5f+3LllSZdcpqyHPTvrOV2hvgfHCUT/U5nIXSRqDyLyicwX+hMh+DIAg
MGm8UiBX8hmf2jRnC0yskWxyjYFlkAo5pS+266+ikC/cFOW1bPrOEJ+yyieq5PWtzC
orYbqQ44RoT+quEqIQSC3t/udwcMJtnHfOedC2i7q9TETRfa/V45j+cMT6oJqTCoK3
qC/WjBwMNzZlAg1cKR73SxVo=
From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
In-Reply-To: <87frjd3w7y.fsf@localhost> (Ihor Radchenko's message of "Sun, 16
Mar 2025 14:07:29 +0000")
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN> <86r05id8f5.fsf@HIDDEN>
<86o70lahmt.fsf@HIDDEN> <87sepxprl1.fsf@localhost>
<86ed19zjwb.fsf@HIDDEN> <86ikq3waia.fsf@HIDDEN>
<87frjd3w7y.fsf@localhost>
Autocrypt: addr=bjorn.bidar@HIDDEN; prefer-encrypt=nopreference; keydata=
mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq
w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV
CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl
HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8
phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF
CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h
K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2
cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC
HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN
XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg
gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1+ntAhsDBQsJCAcCAiICBhUKCQgL
AgQWAgMBAh4HAheAAAoJEFwbdKFlHF9oBgwA/iQHwe0VL4Df4GGTYlNjMSHFlIkBmN4UfYGLYj3E
TrOUAQC51M+M3cjsL8WHdpBz6VAo6df9d+rVwhQ9vQuFHqevArg4BGTX6T4SCisGAQQBl1UBBQEB
B0Cbohc3JEfn005/cm0AOGjSsW1ZxAkgaoVNjbpqk4MgNAMBCAeIeAQYFgoAIBYhBFHxdut1RzAe
pymoq1wbdKFlHF9oBQJk1+k+AhsMAAoJEFwbdKFlHF9ooHABAKGmrGBic/Vys3BBrOQiRB3Z7izO
HwhqTRpAqFZtXS2nAQDZhp/5aYw1TZjTzkm1KVt9QiYnjd/MvxRE9iaY6x4mDbgzBGTX6T4WCSsG
AQQB2kcPAQEHQAgRJq/tMcCCB2XyA5WZpu7GvpRx0m9IPRWazeqhOq7uiO8EGBYKACAWIQRR8Xbr
dUcwHqcpqKtcG3ShZRxfaAUCZNf71AIbIgCBCRBcG3ShZRxfaHYgBBkWCgAdFiEEUfF263VHMB6n
KairXBt0oWUcX2gFAmTX+9QACgkQXBt0oWUcX2jeSwD6AtWn0cuo8IF35YRo4o3cDRJnUfJnbvJy
GxyCDThR+zYBAKG6/jdwmZkBQZKslnDAbMMd2WfiZZT5JW3IWC4EaKMO7HkBAKYPGZ3UbfkRvfFK
S+pQ9CgtNfkSJQBtT1Ob7Y6nsacgAQCpyXN7yppmhW/oBgivITPy9Lkg+V4NK9WZYZCU9Q7LBA==
Date: Sun, 16 Mar 2025 16:55:26 +0200
Message-ID: <874izt81pd.fsf@>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Ihor Radchenko <yantar92@HIDDEN> writes: > Eli Zaretskii
<eliz@HIDDEN> writes: > >>> > > ... Ihor >>> > > seemed to say that if this
can be supported, there could be an >>> > > alternative patch for fixing
this issue, and I'd like to see th [...]
Content analysis details: (1.2 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 SPF_PASS SPF: sender matches SPF record
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
1.2 INVALID_MSGID Message-Id is not valid, according to RFC 2822
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)
Ihor Radchenko <yantar92@HIDDEN> writes:
> Eli Zaretskii <eliz@HIDDEN> writes:
>
>>> > > ... Ihor
>>> > > seemed to say that if this can be supported, there could be an
>>> > > alternative patch for fixing this issue, and I'd like to see that
>>> > > alternative patch to decide which one is simpler and/or more elegant.
>>> >
>>> > See the attached.
>>> > If Emacs can handle file URIs, we can simply use %U field code.
>>> ...
>>> Thanks, but I think we need to turn on the url-handler-mode before
>>> Emacs can visit files specified as file:// URIs.
>>
>> Ping!
>
> But isn't `url-handler-mode' doing much more than just allowing URIs in
> emacs/emacsclient arguments? Maybe one can make a more limited version
> of url-handler-mode that would be safe to enable to by default?
Are there any security issues with enabling url-handler-mode by default?
Url-handler mode adds the url-file-handler to the file-name-handler so
it can handle URI's.
As a side-note maybe the handler should be called URI-handler instead of
URL-handler as it handlers URI types which are not URL's.
Alternatively the handler could only handle local URI's by default and
enable remote URI's if enabled.
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 16 Mar 2025 15:18:02 +0000
Resent-Message-ID: <handler.74467.B74467.174213825929176 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Ihor Radchenko <yantar92@HIDDEN>
Cc: bjorn.bidar@HIDDEN, binarin@HIDDEN, 74467 <at> debbugs.gnu.org
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.174213825929176
(code B ref 74467); Sun, 16 Mar 2025 15:18:02 +0000
Received: (at 74467) by debbugs.gnu.org; 16 Mar 2025 15:17:39 +0000
Received: from localhost ([127.0.0.1]:50357 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1ttpkA-0007aS-NX
for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 11:17:39 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:43212)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ttpk7-0007Zy-TY
for 74467 <at> debbugs.gnu.org; Sun, 16 Mar 2025 11:17:36 -0400
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 <eliz@HIDDEN>)
id 1ttpjy-00018o-Ao; Sun, 16 Mar 2025 11:17:26 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=ioxbDkjwr+wCivWQvjKbPBBh3H2Z+ovYZy2QTmL33dY=; b=nq0xj9voBxJR
suU326E6J1P5Ic0Z1RsveATbg+Y2WfCuF8/HkzOrdS6ZzZIERfOb/843G8Rz3O668P/kxJgU/ly5h
ZZ7QV/q1wjbkbp1z01r/r8IOe+Ro1fSBU2mVUfibgZhp4f8q2kRi5F/xDJLrSQMB00d25Zexnr/ax
Kt9b4nEEX8aVAhzEnr/z2V6BNjPFcKuFo9URltQ/NyB7AphEATKMlwXjXEQTR3TGBR6Hs+fVY8Aie
A2oJafiscXTUCcXSbH7fGfA2Pmzjmh6596D4/Af/zUj7BRQuyIFLDLoaBVnG5ElGbgfNKH5wqCjUc
QoNbpK2qpzIOzpL41Z0DlQ==;
Date: Sun, 16 Mar 2025 17:17:19 +0200
Message-Id: <86cyeht37k.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87frjd3w7y.fsf@localhost> (message from Ihor Radchenko on Sun,
16 Mar 2025 14:07:29 +0000)
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN> <86r05id8f5.fsf@HIDDEN>
<86o70lahmt.fsf@HIDDEN> <87sepxprl1.fsf@localhost>
<86ed19zjwb.fsf@HIDDEN> <86ikq3waia.fsf@HIDDEN> <87frjd3w7y.fsf@localhost>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Ihor Radchenko <yantar92@HIDDEN>
> Cc: bjorn.bidar@HIDDEN, binarin@HIDDEN, 74467 <at> debbugs.gnu.org
> Date: Sun, 16 Mar 2025 14:07:29 +0000
>
> Eli Zaretskii <eliz@HIDDEN> writes:
>
> >> > > ... Ihor
> >> > > seemed to say that if this can be supported, there could be an
> >> > > alternative patch for fixing this issue, and I'd like to see that
> >> > > alternative patch to decide which one is simpler and/or more elegant.
> >> >
> >> > See the attached.
> >> > If Emacs can handle file URIs, we can simply use %U field code.
> >> ...
> >> Thanks, but I think we need to turn on the url-handler-mode before
> >> Emacs can visit files specified as file:// URIs.
> >
> > Ping!
>
> But isn't `url-handler-mode' doing much more than just allowing URIs in
> emacs/emacsclient arguments? Maybe one can make a more limited version
> of url-handler-mode that would be safe to enable to by default?
That would be also fine by me.
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 16 Mar 2025 18:53:01 +0000
Resent-Message-ID: <handler.74467.B74467.174215115531663 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, Ihor Radchenko <yantar92@HIDDEN>, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.174215115531663
(code B ref 74467); Sun, 16 Mar 2025 18:53:01 +0000
Received: (at 74467) by debbugs.gnu.org; 16 Mar 2025 18:52:35 +0000
Received: from localhost ([127.0.0.1]:50713 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1ttt6A-0008Eb-Hi
for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 14:52:35 -0400
Received: from thaodan.de ([2a03:4000:4f:f15::1]:54104)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <bjorn.bidar@HIDDEN>)
id 1ttt67-0008EN-16
for 74467 <at> debbugs.gnu.org; Sun, 16 Mar 2025 14:52:32 -0400
Received: from odin (dsl-trebng12-50dc7b-49.dhcp.inet.fi [80.220.123.49])
by thaodan.de (Postfix) with ESMTPSA id E31D1D000AF;
Sun, 16 Mar 2025 20:52:23 +0200 (EET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail;
t=1742151144; bh=VKifCLa0fH3NJB+Ni01idf+oTBFbmS7goscsQab2w7g=;
h=From:To:Cc:Subject:In-Reply-To:References:Date;
b=aP4mr9LxJjLOqwuICV9nWZsvETxdDIireBkVum7l7SuAlfHvEeX0mJt9R+EpYw0rh
ItFpxYNk7ipfJaHGqSCq5X2lxJGFQCtN1cYX2HhbgAI3kXlLW0dW1n8OpY040SXTkw
8nC9GBHZGeLX71jVNDApfhqg5cY55uSY4LBbYkaVJY5d7g+cHbZx+32b0kocZvftdV
YIQsNAQziHzkpu0bDpInz2a/OXw6dx+jLz1NQjpgDkenSXioTQR3s96A2RNSd1KYGW
aD6NHUG7KXkHU9YiRqBEHxALpmbrK0SlYKZnnGAqZjVeXM+dHDlrt2bv8n7Cg78C+M
QNW3sI0pa1l18+qX00B53rJXVc/klREp+f5cw1JMlgnJmqdldtaCRY8cXxALN0D2Hz
fKSVqA+ZrgbnEhZc/Nc3JL3coL9sdJfbg7Gmq4xIxSmaMlqkThyGW+iFmBNmXOpExA
1Sd4hLIAC8GOP4fVJNCmAQmFFJ8bif6l7eESxvry5yWxCH7DW7PTbftFK3A+n2hV01
hjjh33Dzf1dGtoybNPv+WEJ5eyoCo+qRvxTnfv5h6apELUHC/YNfcVuUZHf/s1OWH8
gqcFdRZjMxZTe6fdwdb29M01VUeGlcCfgw8VikBbpII3p0J2hAHmxyRegSB1jj4p+J
YriAilnZGUEUX6uMOcBNJT7I=
From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
In-Reply-To: <86cyeht37k.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 16 Mar
2025 17:17:19 +0200")
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN> <86r05id8f5.fsf@HIDDEN>
<86o70lahmt.fsf@HIDDEN> <87sepxprl1.fsf@localhost>
<86ed19zjwb.fsf@HIDDEN> <86ikq3waia.fsf@HIDDEN>
<87frjd3w7y.fsf@localhost> <86cyeht37k.fsf@HIDDEN>
Autocrypt: addr=bjorn.bidar@HIDDEN; prefer-encrypt=nopreference; keydata=
mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq
w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV
CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl
HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8
phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF
CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h
K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2
cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC
HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN
XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg
gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1+ntAhsDBQsJCAcCAiICBhUKCQgL
AgQWAgMBAh4HAheAAAoJEFwbdKFlHF9oBgwA/iQHwe0VL4Df4GGTYlNjMSHFlIkBmN4UfYGLYj3E
TrOUAQC51M+M3cjsL8WHdpBz6VAo6df9d+rVwhQ9vQuFHqevArg4BGTX6T4SCisGAQQBl1UBBQEB
B0Cbohc3JEfn005/cm0AOGjSsW1ZxAkgaoVNjbpqk4MgNAMBCAeIeAQYFgoAIBYhBFHxdut1RzAe
pymoq1wbdKFlHF9oBQJk1+k+AhsMAAoJEFwbdKFlHF9ooHABAKGmrGBic/Vys3BBrOQiRB3Z7izO
HwhqTRpAqFZtXS2nAQDZhp/5aYw1TZjTzkm1KVt9QiYnjd/MvxRE9iaY6x4mDbgzBGTX6T4WCSsG
AQQB2kcPAQEHQAgRJq/tMcCCB2XyA5WZpu7GvpRx0m9IPRWazeqhOq7uiO8EGBYKACAWIQRR8Xbr
dUcwHqcpqKtcG3ShZRxfaAUCZNf71AIbIgCBCRBcG3ShZRxfaHYgBBkWCgAdFiEEUfF263VHMB6n
KairXBt0oWUcX2gFAmTX+9QACgkQXBt0oWUcX2jeSwD6AtWn0cuo8IF35YRo4o3cDRJnUfJnbvJy
GxyCDThR+zYBAKG6/jdwmZkBQZKslnDAbMMd2WfiZZT5JW3IWC4EaKMO7HkBAKYPGZ3UbfkRvfFK
S+pQ9CgtNfkSJQBtT1Ob7Y6nsacgAQCpyXN7yppmhW/oBgivITPy9Lkg+V4NK9WZYZCU9Q7LBA==
Date: Sun, 16 Mar 2025 20:52:22 +0200
Message-ID: <87zfhk7qqh.fsf@>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> From: Ihor Radchenko
<yantar92@HIDDEN> >> Cc: bjorn.bidar@HIDDEN, binarin@HIDDEN,
74467 <at> debbugs.gnu.org >> Date: Sun, 16 Mar 2025 14:07:29 +0000 >> >> Eli
Zaretskii <eliz@HIDDEN> wri [...]
Content analysis details: (1.2 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 SPF_PASS SPF: sender matches SPF record
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
1.2 INVALID_MSGID Message-Id is not valid, according to RFC 2822
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)
Eli Zaretskii <eliz@HIDDEN> writes:
>> From: Ihor Radchenko <yantar92@HIDDEN>
>> Cc: bjorn.bidar@HIDDEN, binarin@HIDDEN, 74467 <at> debbugs.gnu.org
>> Date: Sun, 16 Mar 2025 14:07:29 +0000
>>
>> Eli Zaretskii <eliz@HIDDEN> writes:
>>
>> >> > > ... Ihor
>> >> > > seemed to say that if this can be supported, there could be an
>> >> > > alternative patch for fixing this issue, and I'd like to see that
>> >> > > alternative patch to decide which one is simpler and/or more elegant.
>> >> >
>> >> > See the attached.
>> >> > If Emacs can handle file URIs, we can simply use %U field code.
>> >> ...
>> >> Thanks, but I think we need to turn on the url-handler-mode before
>> >> Emacs can visit files specified as file:// URIs.
>> >
>> > Ping!
>>
>> But isn't `url-handler-mode' doing much more than just allowing URIs in
>> emacs/emacsclient arguments? Maybe one can make a more limited version
>> of url-handler-mode that would be safe to enable to by default?
>
> That would be also fine by me.
What would that look like? Could that be like suggested earlier to be a
version only allowing local URIs?
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 16 Mar 2025 19:57:02 +0000
Resent-Message-ID: <handler.74467.B74467.174215501631500 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.174215501631500
(code B ref 74467); Sun, 16 Mar 2025 19:57:02 +0000
Received: (at 74467) by debbugs.gnu.org; 16 Mar 2025 19:56:56 +0000
Received: from localhost ([127.0.0.1]:50868 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1ttu6R-0008Bs-RZ
for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 15:56:56 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:37394)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ttu6O-0008BS-4L
for 74467 <at> debbugs.gnu.org; Sun, 16 Mar 2025 15:56:53 -0400
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 <eliz@HIDDEN>)
id 1ttu6G-0004pW-6s; Sun, 16 Mar 2025 15:56:44 -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=y0WqWi6IbEXFijEKwEbBqa/c7TGpxg4a6xXet8Zkh9o=; b=deNyOQsVD1alJarl9Fnx
FuZLViHUGxJoaMCaVEpG8407r3hii20tlmi7/4y3+v5QgAAY8D3O/Tq4o8VV8NdIv+wteb/+kcSmP
eSAQ7DDHaDTYm5k7ebptrWDvHVc+jfEvg00iamWgUoWa7iHbj/0EH5LP6sR9ARnexQmKgkYbR88kR
r7m6Aexh25Q6CPuEjict9sB7bUgE52cKWiPKhG47RNuiBRGhmNQtV30TLcfXv6eoL6RAqbLc1n3lL
wrtPu6W+5Pe7goKLnHflDE3NaPf9I1hcO6OlPW5TOnwYShjnhcqw7V0vZ8/nCbeI5WteV3iXrEKwf
9P56hG/uYhArrg==;
Date: Sun, 16 Mar 2025 21:56:30 +0200
Message-Id: <865xk8u4up.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87zfhk7qqh.fsf@> (message from =?UTF-8?Q?Bj=C3=B6rn?= Bidar on
Sun, 16 Mar 2025 20:52:22 +0200)
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN> <86r05id8f5.fsf@HIDDEN>
<86o70lahmt.fsf@HIDDEN> <87sepxprl1.fsf@localhost>
<86ed19zjwb.fsf@HIDDEN> <86ikq3waia.fsf@HIDDEN>
<87frjd3w7y.fsf@localhost> <86cyeht37k.fsf@HIDDEN> <87zfhk7qqh.fsf@>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Björn Bidar <bjorn.bidar@HIDDEN>
> Cc: Ihor Radchenko <yantar92@HIDDEN>, binarin@HIDDEN,
> 74467 <at> debbugs.gnu.org
> Date: Sun, 16 Mar 2025 20:52:22 +0200
>
> Eli Zaretskii <eliz@HIDDEN> writes:
>
> >> From: Ihor Radchenko <yantar92@HIDDEN>
> >> Cc: bjorn.bidar@HIDDEN, binarin@HIDDEN, 74467 <at> debbugs.gnu.org
> >> Date: Sun, 16 Mar 2025 14:07:29 +0000
> >>
> >> Eli Zaretskii <eliz@HIDDEN> writes:
> >>
> >> >> > > ... Ihor
> >> >> > > seemed to say that if this can be supported, there could be an
> >> >> > > alternative patch for fixing this issue, and I'd like to see that
> >> >> > > alternative patch to decide which one is simpler and/or more elegant.
> >> >> >
> >> >> > See the attached.
> >> >> > If Emacs can handle file URIs, we can simply use %U field code.
> >> >> ...
> >> >> Thanks, but I think we need to turn on the url-handler-mode before
> >> >> Emacs can visit files specified as file:// URIs.
> >> >
> >> > Ping!
> >>
> >> But isn't `url-handler-mode' doing much more than just allowing URIs in
> >> emacs/emacsclient arguments? Maybe one can make a more limited version
> >> of url-handler-mode that would be safe to enable to by default?
> >
> > That would be also fine by me.
>
> What would that look like?
I don't know, I just said that anything which makes Emacs understand
file:// URLs will be fine by me.
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 17 Mar 2025 01:17:03 +0000
Resent-Message-ID: <handler.74467.B74467.17421741971633 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.17421741971633
(code B ref 74467); Mon, 17 Mar 2025 01:17:03 +0000
Received: (at 74467) by debbugs.gnu.org; 17 Mar 2025 01:16:37 +0000
Received: from localhost ([127.0.0.1]:51756 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1ttz5n-0000Q0-DL
for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 21:16:37 -0400
Received: from thaodan.de ([185.216.177.71]:41254)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <bjorn.bidar@HIDDEN>)
id 1ttz5g-0000Ni-NF
for 74467 <at> debbugs.gnu.org; Sun, 16 Mar 2025 21:16:32 -0400
Received: from odin (dsl-trebng12-50dc7b-49.dhcp.inet.fi [80.220.123.49])
by thaodan.de (Postfix) with ESMTPSA id E83F0D00078;
Mon, 17 Mar 2025 03:16:21 +0200 (EET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail;
t=1742174182; bh=t6ruiS2NL+ClEkE3vX0eA1PE74vrRuyySAguHXYW41k=;
h=From:To:Cc:Subject:In-Reply-To:References:Date;
b=C4UQ4cIIriYa58ySE6+GlqciOqwsfbvL+KvtfajJh9/LamnNsVSZ6ayqR2i0pd/Ku
+uap3y1BmsE/tPyBJfraUtSwrrOsBBPSs1w1xLN77DDCLqAo0OKDm5R958WoTaD30o
pCQsUr1o0CnVMsqV6qweggetyvjYzhT1lRI+z4V4YKqcf2WU6nWHSddZ+ipW3+ijRT
aMhebu+X0GjmMLpqp13J0vsQz2YGuZK8kckPycYtHicYLcm62Yo6fHhRhkN4I+ySX5
hIlEmaCoN1zVqaFiHcks6lve9auFRzQpI3lMiAePmRIc+jMDRwGAljlN8e9UqQNdbT
I1AsxskBhpgltk+iiAQ6PxXvNFFoZgTb1517zWRipryIT5gAFFtKHHmbJfKRvOeEue
4xIwrqC2m9+WCI9HnF4oFLH4q5iImddR49E6EFKh4S/p9abgVwjDIe8IVpNHxv8d8J
muTx+C9duTNkPC5Tc5kQPNHy5WtIsUDUvNgGcqleUYuXhNFzIqvr18Tpg76Cqyq/qu
Wh4X6RtSPOiiIfjasq5K0CPWEvUoFmwubShysvKlpiuqVq24lCM6zuy9iOfE0eN0dO
YtUj8eRP1btRTI4Le6biDXN04T4MiklEVl158JsqeFQnYzjCZY8ceRMIuMXYMWss3n
+aUKb742/1Y6tEOR1HR/j3G8=
From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
In-Reply-To: <865xk8u4up.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 16 Mar
2025 21:56:30 +0200")
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN> <86r05id8f5.fsf@HIDDEN>
<86o70lahmt.fsf@HIDDEN> <87sepxprl1.fsf@localhost>
<86ed19zjwb.fsf@HIDDEN> <86ikq3waia.fsf@HIDDEN>
<87frjd3w7y.fsf@localhost> <86cyeht37k.fsf@HIDDEN>
<865xk8u4up.fsf@HIDDEN>
Autocrypt: addr=bjorn.bidar@HIDDEN; prefer-encrypt=nopreference; keydata=
mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq
w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV
CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl
HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8
phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF
CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h
K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2
cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC
HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN
XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg
gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1+ntAhsDBQsJCAcCAiICBhUKCQgL
AgQWAgMBAh4HAheAAAoJEFwbdKFlHF9oBgwA/iQHwe0VL4Df4GGTYlNjMSHFlIkBmN4UfYGLYj3E
TrOUAQC51M+M3cjsL8WHdpBz6VAo6df9d+rVwhQ9vQuFHqevArg4BGTX6T4SCisGAQQBl1UBBQEB
B0Cbohc3JEfn005/cm0AOGjSsW1ZxAkgaoVNjbpqk4MgNAMBCAeIeAQYFgoAIBYhBFHxdut1RzAe
pymoq1wbdKFlHF9oBQJk1+k+AhsMAAoJEFwbdKFlHF9ooHABAKGmrGBic/Vys3BBrOQiRB3Z7izO
HwhqTRpAqFZtXS2nAQDZhp/5aYw1TZjTzkm1KVt9QiYnjd/MvxRE9iaY6x4mDbgzBGTX6T4WCSsG
AQQB2kcPAQEHQAgRJq/tMcCCB2XyA5WZpu7GvpRx0m9IPRWazeqhOq7uiO8EGBYKACAWIQRR8Xbr
dUcwHqcpqKtcG3ShZRxfaAUCZNf71AIbIgCBCRBcG3ShZRxfaHYgBBkWCgAdFiEEUfF263VHMB6n
KairXBt0oWUcX2gFAmTX+9QACgkQXBt0oWUcX2jeSwD6AtWn0cuo8IF35YRo4o3cDRJnUfJnbvJy
GxyCDThR+zYBAKG6/jdwmZkBQZKslnDAbMMd2WfiZZT5JW3IWC4EaKMO7HkBAKYPGZ3UbfkRvfFK
S+pQ9CgtNfkSJQBtT1Ob7Y6nsacgAQCpyXN7yppmhW/oBgivITPy9Lkg+V4NK9WZYZCU9Q7LBA==
Date: Mon, 17 Mar 2025 03:16:20 +0200
Message-ID: <87y0x4tq1n.fsf@>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar
<bjorn.bidar@HIDDEN> >> Cc: Ihor Radchenko <yantar92@HIDDEN>, binarin@HIDDEN,
>> 74467 <at> debbugs.gnu.org >> Date: Sun, 16 Mar 2025 20:52:22 +0200 >> >> Eli
Zaretskii [...]
Content analysis details: (1.2 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
query to Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[185.216.177.71 listed in bl.score.senderscore.com]
0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The
query to Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[185.216.177.71 listed in sa-trusted.bondedsender.org]
-0.0 SPF_PASS SPF: sender matches SPF record
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
1.2 INVALID_MSGID Message-Id is not valid, according to RFC 2822
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)
Eli Zaretskii <eliz@HIDDEN> writes:
>> From: Bj=C3=B6rn Bidar <bjorn.bidar@HIDDEN>
>> Cc: Ihor Radchenko <yantar92@HIDDEN>, binarin@HIDDEN,
>> 74467 <at> debbugs.gnu.org
>> Date: Sun, 16 Mar 2025 20:52:22 +0200
>>=20
>> Eli Zaretskii <eliz@HIDDEN> writes:
>>=20
>> >> From: Ihor Radchenko <yantar92@HIDDEN>
>> >> Cc: bjorn.bidar@HIDDEN, binarin@HIDDEN, 74467@HIDDEN=
rg
>> >> Date: Sun, 16 Mar 2025 14:07:29 +0000
>> >>=20
>> >> Eli Zaretskii <eliz@HIDDEN> writes:
>> >>=20
>> >> >> > > ... Ihor
>> >> >> > > seemed to say that if this can be supported, there could be an
>> >> >> > > alternative patch for fixing this issue, and I'd like to see t=
hat
>> >> >> > > alternative patch to decide which one is simpler and/or more e=
legant.
>> >> >> >=20
>> >> >> > See the attached.
>> >> >> > If Emacs can handle file URIs, we can simply use %U field code.
>> >> >> ...
>> >> >> Thanks, but I think we need to turn on the url-handler-mode before
>> >> >> Emacs can visit files specified as file:// URIs.
>> >> >
>> >> > Ping!
>> >>=20
>> >> But isn't `url-handler-mode' doing much more than just allowing URIs =
in
>> >> emacs/emacsclient arguments? Maybe one can make a more limited version
>> >> of url-handler-mode that would be safe to enable to by default?
>> >
>> > That would be also fine by me.
>>=20
>> What would that look like?
>
> I don't know, I just said that anything which makes Emacs understand
> file:// URLs will be fine by me.
Would it work that the current uri handler is enabled by default and
enabling url-handler-mode enables URLs for it?
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 17 Mar 2025 13:00:02 +0000
Resent-Message-ID: <handler.74467.B74467.17422163811437 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.17422163811437
(code B ref 74467); Mon, 17 Mar 2025 13:00:02 +0000
Received: (at 74467) by debbugs.gnu.org; 17 Mar 2025 12:59:41 +0000
Received: from localhost ([127.0.0.1]:56693 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tuA49-0000Me-Or
for submit <at> debbugs.gnu.org; Mon, 17 Mar 2025 08:59:40 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:60434)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tuA44-0000LE-Rj
for 74467 <at> debbugs.gnu.org; Mon, 17 Mar 2025 08:59:35 -0400
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 <eliz@HIDDEN>)
id 1tuA3x-0002C3-MZ; Mon, 17 Mar 2025 08:59:25 -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=j+ur9CNoVUdApg6X3BPqxMAQ+Px6orsuyAhdU+3zIL4=; b=Yft7hdvn3NEa4yvJ4kp9
g1iRrpLn3vmlPe8A3RyvhqP9PQxHPAM8+TP4A7b98ODs3OHPuTD6oYx/Ch8TFCTAiV4KzzNZPeHFO
iZDPnsFmSW+jEfGqPakRovTgUebSP8GVy0/hadtFs8aHBce/mg8IjFMbfUSAqEXmuJa6WKsW1J9L6
mvVHny4t2LTl2qYLxXADHAcNlmb439WHhzpAJoZdYaf5QiDBDEu5V1vrTwtiB185LHsPy7nrlyTri
KpuBnPORpp/809eip06wmE+elYb/zgXBriNkf4YHIWPP+VN5PhfytNNHwRfv5NpPtAJLr+tE5yUI7
bqi5U7v+lzGF7g==;
Date: Mon, 17 Mar 2025 14:59:23 +0200
Message-Id: <86r02vsthw.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87y0x4tq1n.fsf@> (message from =?UTF-8?Q?Bj=C3=B6rn?= Bidar on
Mon, 17 Mar 2025 03:16:20 +0200)
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN> <86r05id8f5.fsf@HIDDEN>
<86o70lahmt.fsf@HIDDEN> <87sepxprl1.fsf@localhost>
<86ed19zjwb.fsf@HIDDEN> <86ikq3waia.fsf@HIDDEN>
<87frjd3w7y.fsf@localhost> <86cyeht37k.fsf@HIDDEN>
<865xk8u4up.fsf@HIDDEN> <87y0x4tq1n.fsf@>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Björn Bidar <bjorn.bidar@HIDDEN>
> Cc: yantar92@HIDDEN, binarin@HIDDEN, 74467 <at> debbugs.gnu.org
> Date: Mon, 17 Mar 2025 03:16:20 +0200
>
> Eli Zaretskii <eliz@HIDDEN> writes:
>
> >> From: Björn Bidar <bjorn.bidar@HIDDEN>
> >> Cc: Ihor Radchenko <yantar92@HIDDEN>, binarin@HIDDEN,
> >> 74467 <at> debbugs.gnu.org
> >> Date: Sun, 16 Mar 2025 20:52:22 +0200
> >>
> >> Eli Zaretskii <eliz@HIDDEN> writes:
> >>
> >> >> From: Ihor Radchenko <yantar92@HIDDEN>
> >> >> Cc: bjorn.bidar@HIDDEN, binarin@HIDDEN, 74467 <at> debbugs.gnu.org
> >> >> Date: Sun, 16 Mar 2025 14:07:29 +0000
> >> >>
> >> >> Eli Zaretskii <eliz@HIDDEN> writes:
> >> >>
> >> >> >> > > ... Ihor
> >> >> >> > > seemed to say that if this can be supported, there could be an
> >> >> >> > > alternative patch for fixing this issue, and I'd like to see that
> >> >> >> > > alternative patch to decide which one is simpler and/or more elegant.
> >> >> >> >
> >> >> >> > See the attached.
> >> >> >> > If Emacs can handle file URIs, we can simply use %U field code.
> >> >> >> ...
> >> >> >> Thanks, but I think we need to turn on the url-handler-mode before
> >> >> >> Emacs can visit files specified as file:// URIs.
> >> >> >
> >> >> > Ping!
> >> >>
> >> >> But isn't `url-handler-mode' doing much more than just allowing URIs in
> >> >> emacs/emacsclient arguments? Maybe one can make a more limited version
> >> >> of url-handler-mode that would be safe to enable to by default?
> >> >
> >> > That would be also fine by me.
> >>
> >> What would that look like?
> >
> > I don't know, I just said that anything which makes Emacs understand
> > file:// URLs will be fine by me.
>
> Would it work that the current uri handler is enabled by default and
> enabling url-handler-mode enables URLs for it?
I'm not sure I understand the proposal. One problem with having the
uri handler active at all times is that it subtly changes how local
files whose names just happen to start with "http://" (rare, but still
legitimate) are handled.
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 17 Mar 2025 13:27:04 +0000
Resent-Message-ID: <handler.74467.B74467.174221797416892 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.174221797416892
(code B ref 74467); Mon, 17 Mar 2025 13:27:04 +0000
Received: (at 74467) by debbugs.gnu.org; 17 Mar 2025 13:26:14 +0000
Received: from localhost ([127.0.0.1]:56865 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tuATs-0004O2-Eq
for submit <at> debbugs.gnu.org; Mon, 17 Mar 2025 09:26:14 -0400
Received: from thaodan.de ([185.216.177.71]:45458)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <bjorn.bidar@HIDDEN>)
id 1tuATo-0004NO-Ab
for 74467 <at> debbugs.gnu.org; Mon, 17 Mar 2025 09:26:09 -0400
Received: from odin (dsl-trebng12-50dc7b-49.dhcp.inet.fi [80.220.123.49])
by thaodan.de (Postfix) with ESMTPSA id 90C0AD0004A;
Mon, 17 Mar 2025 15:26:01 +0200 (EET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail;
t=1742217961; bh=wHPoiXmdbRUCUWR5BNVBHkomEoHDeD7zvktUcY5S4uw=;
h=From:To:Cc:Subject:In-Reply-To:References:Date;
b=aCsYwG+VytRsPgjQi2NzKKE6+0d6dfUGgY2clb6bHmQc/Dn/LF/M68B7Ar+V8EvWq
9kWFkodx4LU0vVK+QShjwwaWDJb7VsCLC/cWMtIO7EUNLq+sJr4j3/RuIOzHa/X2q2
3ojNOPoualPqQJ66R821h8H2a7bwy4k/QTB+LfS6C7A41lz+RQuhFeLOvLZBDDmFDC
P6r/nlc+W+g+K5p7U8uFY2op+VvVOl5uaACRDtwN+Gxpb//GfB7WzJfCy3s8ycK/hL
U8cA/1ZcOFIiF5WUeWRvqtrNFZRXB4eHyBT41IKpiznw7wq+cvTddQDsYNn+TcoLmV
dXpRoUUh7RzsalhlojuWyhZIv1ELn7eGmkW5HYeif1fiO81yfDZhbu6mrhjomkkNdQ
dC5sSJQRj+tSKF4ujdMgM96u4CtJd6jawFm4n4sRNUdAK03HNOjlrsT93O572WlOhl
UqRtpeoI2/1YDc6H/8Qr+OVQje4V/M1MYBNY9wdkqUp476dPgdkOrf+8JaZwYlJPOg
zNGqO4n2areacmS9NLw2fAvBJ/AqJemiFA4vAgpwfNBd8exYvi0PppXYBUKb5VFIeF
81t9SnFlEBYnQ7FCm7EoTwUm3bA8Yk5TIlHsI9SAIyNOJCxVQv9qAN/ZTqLuBhuYxk
bivKMKUHxTV/2q0q2AK7nVMw=
From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
In-Reply-To: <86r02vsthw.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 17 Mar
2025 14:59:23 +0200")
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN> <86r05id8f5.fsf@HIDDEN>
<86o70lahmt.fsf@HIDDEN> <87sepxprl1.fsf@localhost>
<86ed19zjwb.fsf@HIDDEN> <86ikq3waia.fsf@HIDDEN>
<87frjd3w7y.fsf@localhost> <86cyeht37k.fsf@HIDDEN>
<865xk8u4up.fsf@HIDDEN> <86r02vsthw.fsf@HIDDEN>
Autocrypt: addr=bjorn.bidar@HIDDEN; prefer-encrypt=nopreference; keydata=
mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq
w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV
CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl
HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8
phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF
CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h
K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2
cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC
HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN
XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg
gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1+ntAhsDBQsJCAcCAiICBhUKCQgL
AgQWAgMBAh4HAheAAAoJEFwbdKFlHF9oBgwA/iQHwe0VL4Df4GGTYlNjMSHFlIkBmN4UfYGLYj3E
TrOUAQC51M+M3cjsL8WHdpBz6VAo6df9d+rVwhQ9vQuFHqevArg4BGTX6T4SCisGAQQBl1UBBQEB
B0Cbohc3JEfn005/cm0AOGjSsW1ZxAkgaoVNjbpqk4MgNAMBCAeIeAQYFgoAIBYhBFHxdut1RzAe
pymoq1wbdKFlHF9oBQJk1+k+AhsMAAoJEFwbdKFlHF9ooHABAKGmrGBic/Vys3BBrOQiRB3Z7izO
HwhqTRpAqFZtXS2nAQDZhp/5aYw1TZjTzkm1KVt9QiYnjd/MvxRE9iaY6x4mDbgzBGTX6T4WCSsG
AQQB2kcPAQEHQAgRJq/tMcCCB2XyA5WZpu7GvpRx0m9IPRWazeqhOq7uiO8EGBYKACAWIQRR8Xbr
dUcwHqcpqKtcG3ShZRxfaAUCZNf71AIbIgCBCRBcG3ShZRxfaHYgBBkWCgAdFiEEUfF263VHMB6n
KairXBt0oWUcX2gFAmTX+9QACgkQXBt0oWUcX2jeSwD6AtWn0cuo8IF35YRo4o3cDRJnUfJnbvJy
GxyCDThR+zYBAKG6/jdwmZkBQZKslnDAbMMd2WfiZZT5JW3IWC4EaKMO7HkBAKYPGZ3UbfkRvfFK
S+pQ9CgtNfkSJQBtT1Ob7Y6nsacgAQCpyXN7yppmhW/oBgivITPy9Lkg+V4NK9WZYZCU9Q7LBA==
Date: Mon, 17 Mar 2025 15:25:59 +0200
Message-ID: <87tt7ru6u0.fsf@>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Eli Zaretskii <eliz@HIDDEN> writes: >> From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar
<bjorn.bidar@HIDDEN> >> Cc: yantar92@HIDDEN, binarin@HIDDEN,
74467 <at> debbugs.gnu.org >> Date: Mon, 17 Mar 2025 03:16:20 +0200 >> >> Eli
Zaretskii <eliz@HIDDEN> write [...]
Content analysis details: (1.2 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The
query to Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[185.216.177.71 listed in sa-trusted.bondedsender.org]
-0.0 SPF_PASS SPF: sender matches SPF record
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
query to Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[185.216.177.71 listed in bl.score.senderscore.com]
1.2 INVALID_MSGID Message-Id is not valid, according to RFC 2822
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)
Eli Zaretskii <eliz@HIDDEN> writes:
>> From: Bj=C3=B6rn Bidar <bjorn.bidar@HIDDEN>
>> Cc: yantar92@HIDDEN, binarin@HIDDEN, 74467 <at> debbugs.gnu.org
>> Date: Mon, 17 Mar 2025 03:16:20 +0200
>>=20
>> Eli Zaretskii <eliz@HIDDEN> writes:
>>=20
>> >> From: Bj=C3=B6rn Bidar <bjorn.bidar@HIDDEN>
>> >> Cc: Ihor Radchenko <yantar92@HIDDEN>, binarin@HIDDEN,
>> >> 74467 <at> debbugs.gnu.org
>> >> Date: Sun, 16 Mar 2025 20:52:22 +0200
>> >>=20
>> >> Eli Zaretskii <eliz@HIDDEN> writes:
>> >>=20
>> >> >> From: Ihor Radchenko <yantar92@HIDDEN>
>> >> >> Cc: bjorn.bidar@HIDDEN, binarin@HIDDEN, 74467@HIDDEN=
u.org
>> >> >> Date: Sun, 16 Mar 2025 14:07:29 +0000
>> >> >>=20
>> >> >> Eli Zaretskii <eliz@HIDDEN> writes:
>> >> >>=20
>> >> >> >> > > ... Ihor
>> >> >> >> > > seemed to say that if this can be supported, there could be=
an
>> >> >> >> > > alternative patch for fixing this issue, and I'd like to se=
e that
>> >> >> >> > > alternative patch to decide which one is simpler and/or mor=
e elegant.
>> >> >> >> >=20
>> >> >> >> > See the attached.
>> >> >> >> > If Emacs can handle file URIs, we can simply use %U field cod=
e.
>> >> >> >> ...
>> >> >> >> Thanks, but I think we need to turn on the url-handler-mode bef=
ore
>> >> >> >> Emacs can visit files specified as file:// URIs.
>> >> >> >
>> >> >> > Ping!
>> >> >>=20
>> >> >> But isn't `url-handler-mode' doing much more than just allowing UR=
Is in
>> >> >> emacs/emacsclient arguments? Maybe one can make a more limited ver=
sion
>> >> >> of url-handler-mode that would be safe to enable to by default?
>> >> >
>> >> > That would be also fine by me.
>> >>=20
>> >> What would that look like?
>> >
>> > I don't know, I just said that anything which makes Emacs understand
>> > file:// URLs will be fine by me.
>>=20
>> Would it work that the current uri handler is enabled by default and
>> enabling url-handler-mode enables URLs for it?
>
> I'm not sure I understand the proposal. One problem with having the
> uri handler active at all times is that it subtly changes how local
> files whose names just happen to start with "http://" (rare, but still
> legitimate) are handled.
My proposal is to add the url-file-handler as ur-file-handler by default
and change url-handler-mode to add the url's to the URI handler.
That would make so that file URI's a handled always and the existing
behavior of url-handler-mode is kept.
Have encountered files starting with a URI prefix such as http? I
haven't had that so far. I workaround would be to always first check if
a file with such a prefix exist in the url-file-handler before trying to
process the URL/URI.
X-Loop: help-debbugs@HIDDEN
Subject: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 17 Mar 2025 14:47:01 +0000
Resent-Message-ID: <handler.74467.B74467.174222280231321 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 74467
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: =?UTF-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>
Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN, binarin@HIDDEN
Received: via spool by 74467-submit <at> debbugs.gnu.org id=B74467.174222280231321
(code B ref 74467); Mon, 17 Mar 2025 14:47:01 +0000
Received: (at 74467) by debbugs.gnu.org; 17 Mar 2025 14:46:42 +0000
Received: from localhost ([127.0.0.1]:59737 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tuBjl-000895-Su
for submit <at> debbugs.gnu.org; Mon, 17 Mar 2025 10:46:42 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36004)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tuBjh-00088i-S6
for 74467 <at> debbugs.gnu.org; Mon, 17 Mar 2025 10:46:39 -0400
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 <eliz@HIDDEN>)
id 1tuBja-0004m0-Cy; Mon, 17 Mar 2025 10:46:30 -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=Q/efQX9Vw0u1BmR0CGGR2dmj0174J/DeyEJAoKcG4qg=; b=GWKP7u4zkyeer+ntQOoC
F+eR3cPZjnqOdSMuZlHy+nLDKTrF1nxQ8OGl1g3FksxVUQsE8749SOhoQtA0oXJIA0ETLV3LvXelv
4NtsdW464kIuX3sLhLQyTPvShiSJnqKPq+pUrGD8oyXNYgvEkR8SP6vxRhTpPgTyPMl15Q4azUDOM
onncIWBPXbE3zDjGhH53YcQRbr0VM0IHif4vobBbGbEPlefzTwhplpcowdHBpHWofJzUZCaQUWXJf
7WLchI8ge2iA02i+/4H31n5JkRY6sFIdtpZd+9yGSsPYbdVW+TXjJTwd3jjt/0pRtMQN5KjxRuFFg
QbIGKFIvrGoYHA==;
Date: Mon, 17 Mar 2025 16:46:24 +0200
Message-Id: <86bjtzsojj.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87tt7ru6u0.fsf@> (message from =?UTF-8?Q?Bj=C3=B6rn?= Bidar on
Mon, 17 Mar 2025 15:25:59 +0200)
References: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN>
<86seriksak.fsf@HIDDEN> <87ed27cthy.fsf@localhost>
<86cyhrpfbf.fsf@HIDDEN> <864j2ot4w1.fsf@HIDDEN> <86r05id8f5.fsf@HIDDEN>
<86o70lahmt.fsf@HIDDEN> <87sepxprl1.fsf@localhost>
<86ed19zjwb.fsf@HIDDEN> <86ikq3waia.fsf@HIDDEN>
<87frjd3w7y.fsf@localhost> <86cyeht37k.fsf@HIDDEN>
<865xk8u4up.fsf@HIDDEN> <86r02vsthw.fsf@HIDDEN> <87tt7ru6u0.fsf@>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Björn Bidar <bjorn.bidar@HIDDEN>
> Cc: yantar92@HIDDEN, binarin@HIDDEN, 74467 <at> debbugs.gnu.org
> Date: Mon, 17 Mar 2025 15:25:59 +0200
>
> Have encountered files starting with a URI prefix such as http?
It's very easy to get that if you use wget to recursively download
sites, for example. But yes, it's rare to see this.
Received: (at control) by debbugs.gnu.org; 21 Jul 2025 19:56:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 21 15:56:15 2025 Received: from localhost ([127.0.0.1]:59442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1udwcR-00058r-N8 for submit <at> debbugs.gnu.org; Mon, 21 Jul 2025 15:56:15 -0400 Received: from woodpecker.gentoo.org ([140.211.166.183]:47328 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <ulm@HIDDEN>) id 1udwcO-00058A-5x for control <at> debbugs.gnu.org; Mon, 21 Jul 2025 15:56:14 -0400 Received: from urania (p200300cbaf001400c670eee5151c57e5.dip0.t-ipconnect.de [IPv6:2003:cb:af00:1400:c670:eee5:151c:57e5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange secp256r1 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: ulm) by smtp.gentoo.org (Postfix) with ESMTPSA id 6A974335CEE; Mon, 21 Jul 2025 19:55:57 +0000 (UTC) From: =?utf-8?Q?Ulrich_M=C3=BCller?= <ulm@HIDDEN> To: control <at> debbugs.gnu.org Subject: Re: 30.1; emacsclient.desktop: x-scheme-handler/org-protocol is inconsistent with %F In-Reply-To: <87seiptk4a.fsf@localhost> (Ihor Radchenko's message of "Mon, 21 Jul 2025 19:34:31 +0000") References: <uecua0wcn@HIDDEN> <ucy9tzpyx@HIDDEN> <87seiptk4a.fsf@localhost> Date: Mon, 21 Jul 2025 21:55:49 +0200 Message-ID: <uy0shxqre@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) merge 74467 79068 quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.