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: Wed, 13 Sep 2023 15:41:48 +0300 Message-ID: <83edj2nt2r.fsf@gnu.org> References: <871qf2vmi4.fsf@catern.com> <87v8ceu7o0.fsf@catern.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20148"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sbaugh@catern.com, 65902@debbugs.gnu.org To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 13 14:43:04 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 1qgPCx-00051V-Oy for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Sep 2023 14:43:03 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qgPCs-0001eg-7A; Wed, 13 Sep 2023 08:42: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 1qgPCq-0001eQ-Qd for bug-gnu-emacs@gnu.org; Wed, 13 Sep 2023 08:42: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 1qgPCq-00084s-Ii for bug-gnu-emacs@gnu.org; Wed, 13 Sep 2023 08:42:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qgPCv-00074A-O4 for bug-gnu-emacs@gnu.org; Wed, 13 Sep 2023 08:43: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: Wed, 13 Sep 2023 12:43: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.169460893327108 (code B ref 65902); Wed, 13 Sep 2023 12:43:01 +0000 Original-Received: (at 65902) by debbugs.gnu.org; 13 Sep 2023 12:42:13 +0000 Original-Received: from localhost ([127.0.0.1]:32875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgPC8-00073A-UJ for submit@debbugs.gnu.org; Wed, 13 Sep 2023 08:42:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgPC7-00072w-EG for 65902@debbugs.gnu.org; Wed, 13 Sep 2023 08:42:11 -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 1qgPBw-0007IP-Px; Wed, 13 Sep 2023 08:42:00 -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=igVt/CkB7sj/V6HV3fzap9x6fsFrq6v3ogBh9bLEItc=; b=eiLTHhjqbbVQ Y6MpTnB/db5+8jd+rdzuhFE9SMFxcOiePEU9yfKQ4wp30ZOqyGYKjFD2SLNxYfaZ7R1dJwnH5Bw2U G+9MxFypceAEiqqq9tB+kzwgZI+ePVOJtNx34qPzXAnWZOYgYHQxL/w7bR1+QPwHDTWGMxdhDcVMX suq2rUaq8sbUz4J9OOG0+yVEoJuw8v9PrnuRykd7jkII2jLumEjdiOdqQ2NcMHX5PatR/ORbnIOzC C+oEVe7bpGqzbw7uidcr5wQKvPS86TN5FTggg5kYxcp4BOlN5JTfxJfmNiL+qXYyq6akNZ505MmUN Igny3fS/UQ6WWInSogalQQ==; In-Reply-To: (message from Jim Porter on Tue, 12 Sep 2023 20:46:54 -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:270268 Archived-At: > Date: Tue, 12 Sep 2023 20:46:54 -0700 > From: Jim Porter > > On 9/12/2023 7:30 PM, sbaugh@catern.com wrote: > > tags 65902 + patch > > quit > > > > This patch avoids the complicated scripting needed for > > emacsclient-mail.desktop by adding a new flag to emacsclient, --funcall, > > which mirrors emacs --funcall and allows emacsclient-mail.desktop to be > > basically the same as emacs-mail.desktop. > > I think this is actually the same as the (very long) bug#57752, so > thanks for working on this. (It was on my list of things to get to, but > I just haven't had time.) > > Over there, we agreed that something like your patch is wanted, albeit > with two caveats: > > 1. Since "--funcall" for the regular "emacs" binary doesn't pass > arguments to the function, how about we call this option "--apply" instead? > > 2. It would be great if we could get "--apply" for the regular "emacs" > binary too, so that both programs work the same way (at least in this > regard). Even better, if you could forward "--apply" from "emacsclient" > to the alternate editor (which would be "emacs" 99% of the time) > automatically. That works, in a roundabout way, for the Emacs daemon, > but not if the alternate editor is "emacs". This is how that bug's discussion started. Are we going to have it all one more time?