Received: (at 74467) by debbugs.gnu.org; 25 Jan 2025 08:42:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 25 03:42:00 2025 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> To: yantar92@HIDDEN In-Reply-To: <86ed19zjwb.fsf@HIDDEN> (message from Eli Zaretskii on Sat, 11 Jan 2025 13:09:56 +0200) Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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-Debbugs-Envelope-To: 74467 Cc: bjorn.bidar@HIDDEN, binarin@HIDDEN, 74467 <at> debbugs.gnu.org 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!
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 20 Jan 2025 13:13:59 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 20 08:13:59 2025 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> To: Alexey Lebedeff <binarin@HIDDEN> In-Reply-To: <dbd8a2fb-27d6-4a88-99f1-0939d02e2ffb@HIDDEN> (message from Alexey Lebedeff on Mon, 20 Jan 2025 11:33:55 +0100) Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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-Debbugs-Envelope-To: 74467 Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN 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.
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 20 Jan 2025 10:34:34 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 20 05:34:34 2025 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 Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional To: Eli Zaretskii <eliz@HIDDEN>, Ihor Radchenko <yantar92@HIDDEN> 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-Debbugs-Envelope-To: 74467 Cc: 74467 <at> debbugs.gnu.org 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.
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 11 Jan 2025 11:10:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 11 06:10:12 2025 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> To: Ihor Radchenko <yantar92@HIDDEN> In-Reply-To: <87sepxprl1.fsf@localhost> (message from Ihor Radchenko on Sun, 05 Jan 2025 08:55:54 +0000) Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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-Debbugs-Envelope-To: 74467 Cc: bjorn.bidar@HIDDEN, binarin@HIDDEN, 74467 <at> debbugs.gnu.org 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.
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 7 Jan 2025 08:05:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 07 03:05:17 2025 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> To: Ihor Radchenko <yantar92@HIDDEN> Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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-Debbugs-Envelope-To: 74467 Cc: 74467 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, binarin@HIDDEN 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.
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 6 Jan 2025 18:41:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 06 13:41:53 2025 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> To: =?utf-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN> Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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-Debbugs-Envelope-To: 74467 Cc: 74467 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, binarin@HIDDEN 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>
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 5 Jan 2025 21:32:15 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 05 16:32:15 2025 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> To: Ihor Radchenko <yantar92@HIDDEN> Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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: > Björn 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-Debbugs-Envelope-To: 74467 Cc: 74467 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, binarin@HIDDEN 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.
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 5 Jan 2025 19:11:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 05 14:11:32 2025 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> To: =?utf-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN> In-Reply-To: <87sepxt953.fsf@> (message from =?utf-8?Q?Bj=C3=B6rn?= Bidar on Sun, 05 Jan 2025 20:20:40 +0200) Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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-Debbugs-Envelope-To: 74467 Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN, binarin@HIDDEN 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.
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 5 Jan 2025 18:34:38 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 05 13:34:38 2025 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> To: =?utf-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN> Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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-Debbugs-Envelope-To: 74467 Cc: 74467 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, binarin@HIDDEN 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>
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 5 Jan 2025 18:20:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 05 13:20:50 2025 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> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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: 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> 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-Debbugs-Envelope-To: 74467 Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN, binarin@HIDDEN 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.
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 5 Jan 2025 18:13:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 05 13:13:22 2025 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> To: Ihor Radchenko <yantar92@HIDDEN> Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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-Debbugs-Envelope-To: 74467 Cc: 74467 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, binarin@HIDDEN 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.
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 5 Jan 2025 08:53:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 05 03:53:45 2025 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> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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-Debbugs-Envelope-To: 74467 Cc: =?utf-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN>, binarin@HIDDEN, 74467 <at> debbugs.gnu.org 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> --=-=-=--
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 5 Jan 2025 06:40:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 05 01:40:07 2025 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> To: =?utf-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN> In-Reply-To: <877c7aw7va.fsf@> (message from =?utf-8?Q?Bj=C3=B6rn?= Bidar on Sun, 05 Jan 2025 00:07:37 +0200) Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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-Debbugs-Envelope-To: 74467 Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN, binarin@HIDDEN 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.
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 4 Jan 2025 22:07:49 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 04 17:07:49 2025 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> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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: 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> 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-Debbugs-Envelope-To: 74467 Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN, binarin@HIDDEN 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
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 4 Jan 2025 13:18:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 04 08:18:35 2025 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> To: =?utf-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN> In-Reply-To: <87zfk9q91e.fsf@> (message from =?utf-8?Q?Bj=C3=B6rn?= Bidar on Thu, 02 Jan 2025 22:02:05 +0200) Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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-Debbugs-Envelope-To: 74467 Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN, binarin@HIDDEN 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?
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 2 Jan 2025 20:02:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 02 15:02:16 2025 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> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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-Debbugs-Envelope-To: 74467 Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN, binarin@HIDDEN 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.
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 28 Dec 2024 11:37:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 28 06:37:46 2024 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> To: yantar92@HIDDEN In-Reply-To: <86cyhrpfbf.fsf@HIDDEN> (message from Eli Zaretskii on Mon, 16 Dec 2024 22:01:56 +0200) Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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-Debbugs-Envelope-To: 74467 Cc: 74467 <at> debbugs.gnu.org, binarin@HIDDEN 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?
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 17 Dec 2024 13:01:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 17 08:01:14 2024 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> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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: 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 [...] 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-Debbugs-Envelope-To: 74467 Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN, binarin@HIDDEN 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.
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 17 Dec 2024 12:15:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 17 07:15:46 2024 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> To: =?utf-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@HIDDEN> In-Reply-To: <87o71bgwvl.fsf@> (message from =?utf-8?Q?Bj=C3=B6rn?= Bidar on Mon, 16 Dec 2024 23:07:26 +0200) Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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-Debbugs-Envelope-To: 74467 Cc: 74467 <at> debbugs.gnu.org, yantar92@HIDDEN, binarin@HIDDEN 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).
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 16 Dec 2024 21:08:09 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 16:08:09 2024 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> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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-Debbugs-Envelope-To: 74467 Cc: 74467 <at> debbugs.gnu.org, Ihor Radchenko <yantar92@HIDDEN>, binarin@HIDDEN 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.
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 16 Dec 2024 20:02:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 15:02:17 2024 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> To: Ihor Radchenko <yantar92@HIDDEN> In-Reply-To: <87ed27cthy.fsf@localhost> (message from Ihor Radchenko on Mon, 16 Dec 2024 19:34:01 +0000) Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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-Debbugs-Envelope-To: 74467 Cc: 74467 <at> debbugs.gnu.org, binarin@HIDDEN 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.
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 16 Dec 2024 19:32:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 14:32:47 2024 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> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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-Debbugs-Envelope-To: 74467 Cc: 74467 <at> debbugs.gnu.org, Alexey Lebedeff <binarin@HIDDEN> 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> --=-=-=--
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 7 Dec 2024 12:17:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 07 07:17:54 2024 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> To: yantar92@HIDDEN In-Reply-To: <86seriksak.fsf@HIDDEN> (message from Eli Zaretskii on Sat, 23 Nov 2024 15:12:35 +0200) Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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-Debbugs-Envelope-To: 74467 Cc: 74467 <at> debbugs.gnu.org, binarin@HIDDEN 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.) > > > >
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 23 Nov 2024 19:58:27 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 23 14:58:27 2024 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> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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-Debbugs-Envelope-To: 74467 Cc: 74467 <at> debbugs.gnu.org, Alexey Lebedeff <binarin@HIDDEN>, Ihor Radchenko <yantar92@HIDDEN> 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.
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at 74467) by debbugs.gnu.org; 23 Nov 2024 13:12:48 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 23 08:12:48 2024 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> To: Alexey Lebedeff <binarin@HIDDEN>, Ihor Radchenko <yantar92@HIDDEN> In-Reply-To: <d2805212-4721-4d0a-8623-62e02eaa3106@HIDDEN> (bug-gnu-emacs@HIDDEN) Subject: Re: bug#74467: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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-Debbugs-Envelope-To: 74467 Cc: 74467 <at> debbugs.gnu.org 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.)
bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 22 Nov 2024 03:56:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 21 22:56:39 2024 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 To: bug-gnu-emacs@HIDDEN From: Alexey Lebedeff <binarin@HIDDEN> Subject: 31.0.50; org-protocol emacsclient.desktop change is not fully functional 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-Debbugs-Envelope-To: submit 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)
Alexey Lebedeff <binarin@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#74467
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.