From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65902: 29.0.92; emacsclient-mail.desktop fails due to complicated escaping Date: Fri, 15 Sep 2023 08:33:32 +0300 Message-ID: <83cyykknkj.fsf@gnu.org> References: <83ttrym8jx.fsf@gnu.org> <83led9nay9.fsf@gnu.org> <66a6c09e-3b61-d913-5638-4c804fb826f6@gmail.com> <83edj1mja5.fsf@gnu.org> <87il8dt3sh.fsf@catern.com> <83pm2klvw9.fsf@gnu.org> <96efadce-beab-0908-8402-9429ff2bcc31@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2821"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65902@debbugs.gnu.org, sbaugh@catern.com, sbaugh@janestreet.com To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 15 07:34:05 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qh1Sv-0000Vk-02 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Sep 2023 07:34:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qh1So-0005GU-57; Fri, 15 Sep 2023 01:33:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qh1Sl-00055X-V7 for bug-gnu-emacs@gnu.org; Fri, 15 Sep 2023 01:33:56 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qh1Sl-0003TI-Mj for bug-gnu-emacs@gnu.org; Fri, 15 Sep 2023 01:33:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qh1Sr-0003io-IV for bug-gnu-emacs@gnu.org; Fri, 15 Sep 2023 01:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Sep 2023 05:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65902 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 65902-submit@debbugs.gnu.org id=B65902.169475603914299 (code B ref 65902); Fri, 15 Sep 2023 05:34:01 +0000 Original-Received: (at 65902) by debbugs.gnu.org; 15 Sep 2023 05:33:59 +0000 Original-Received: from localhost ([127.0.0.1]:41813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qh1Sp-0003iX-5l for submit@debbugs.gnu.org; Fri, 15 Sep 2023 01:33:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qh1Sm-0003iI-Ds for 65902@debbugs.gnu.org; Fri, 15 Sep 2023 01:33:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qh1Sa-0003S1-1b; Fri, 15 Sep 2023 01:33:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=5GRGVNQIYCPFpFJ92oAUkHwsi1P7GY+20JP3I+4Pzes=; b=oXxjSZH4SJZi AiA8H7HeBBLiC3og999w0YAnnSiRPDy74EI57uZezRSNgCsceTfe7P3c8MtJhFyzidZqI0vPvzUk+ anuPtO5qwsZTrQwQEo6HLT1zAsYRVMPb4K2EFkkZ9hbHtc35mP5L7Lv6vQUh5fEaUYSwlL2ZYIJeg rjlvq5FZU5Z01JqCPNF89QwZh6p4IAfMQ0Ltuqp7YeKGcILrW/4z376P+Cqsjg8xKsthhdW56pBl8 apHpwooyeiGIMSNtk+Nj0whbLhiTVm1beJMjm7TuzMA3pflH9vyK7Cjx1BLCQ7bnRSEROAad8M/+4 SERGLRiWkQoRoFGGWVkGRQ==; In-Reply-To: <96efadce-beab-0908-8402-9429ff2bcc31@gmail.com> (message from Jim Porter on Thu, 14 Sep 2023 12:16:17 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:270484 Archived-At: > Date: Thu, 14 Sep 2023 12:16:17 -0700 > Cc: sbaugh@janestreet.com, 65902@debbugs.gnu.org > From: Jim Porter > > [1] This is also an example of how the problem isn't *just* with desktop > files, since MS-Windows doesn't use those; instead, you have to set some > registry keys. Otherwise, the problems are pretty similar to desktop > files though. No, it isn't: on Windows you configure all kinds of desktop shortcuts to invoke Emacs or emacsclient, and those shortcuts allow you to include %x style parameters inside quotes. In addition, there's no need to use the "sh -c COMMAND" style of invoking commands. So most of the quoting issues mentioned here as the main reason for the change don't arise at all. But my problem is not with solving the Windows case, so let's drop this tangent.