From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#65902: 29.0.92; emacsclient-mail.desktop fails due to complicated escaping Date: Wed, 13 Sep 2023 10:00:00 +0200 Message-ID: <87edj2ec5b.fsf@gmail.com> References: <871qf2vmi4.fsf@catern.com> <87v8ceu7o0.fsf@catern.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28564"; 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 10:01:14 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 1qgKoD-0007Ip-AY for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Sep 2023 10:01:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qgKnz-0007n6-G6; Wed, 13 Sep 2023 04:00:59 -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 1qgKnx-0007lL-6y for bug-gnu-emacs@gnu.org; Wed, 13 Sep 2023 04:00:57 -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 1qgKnw-0003rY-Uv for bug-gnu-emacs@gnu.org; Wed, 13 Sep 2023 04:00:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qgKo2-0002fb-18 for bug-gnu-emacs@gnu.org; Wed, 13 Sep 2023 04:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Sep 2023 08:01: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.169459202710209 (code B ref 65902); Wed, 13 Sep 2023 08:01:01 +0000 Original-Received: (at 65902) by debbugs.gnu.org; 13 Sep 2023 08:00:27 +0000 Original-Received: from localhost ([127.0.0.1]:60666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgKnT-0002eb-1o for submit@debbugs.gnu.org; Wed, 13 Sep 2023 04:00:27 -0400 Original-Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:46178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgKnG-0002eB-Me for 65902@debbugs.gnu.org; Wed, 13 Sep 2023 04:00:25 -0400 Original-Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-31fc91d5ca6so265454f8f.0 for <65902@debbugs.gnu.org>; Wed, 13 Sep 2023 01:00:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694592003; x=1695196803; darn=debbugs.gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=Dd9slT/Rl/0RXRos/fgAxJbltRwpjIojAYJfY5xTTBY=; b=YOjpiqQkYL5LOMrJBmyPPd7hkn+7jI52LLSuLVi9NpFH+v/3uaNTSxXjTaX+FSGE6Q wJA2uQNadGm8sX+6bXtIbrXJ6zd/wCRlgRjyO3FDqTZTesiX2WFDp6oa44g4vKb0DmEt Cw3/qCjegUcxjoqzjY06dHZ6Ksa0lf2ZFRBLLA27/3RIUBTV1fJjO6q8aLbsHykh7m+A SMNzqaU8O8Ui0NXNhi09TUMHBOdYQFG4gGuA3nX/cIztDYXTd7LKlmusXlwXWNZZ6V5p vp75cuMqgALfpXxjXKDJfJhl1O0Yw8uUEMryk57F61AKUzmIk87ZuQ6DBD58B0HWa2Js S0Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694592003; x=1695196803; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Dd9slT/Rl/0RXRos/fgAxJbltRwpjIojAYJfY5xTTBY=; b=mnL1lh3uXylEEzxqq+NTmTGOicsKEpTxaSQpXwWWI0lXKkrkSvEIsvb2ob0Kcu0agH /bk1el5vxf7x1U5kC2ts8tT8e5TjolGrXX3ibTSvoWQytpNvH5L5GZH0QpDh/W6gkj2F pLwiXbdKL8k1QWcn5D0zBXenDYKh8TIAKXUIsDIg2WkV4nVjKKb8SVhZk4Yv41bGwZxx ZiZ2E0L7D16Mc5oN+69+GykYP2vVjlJgi5elPcFOon9NC/FMspKj27vQiRgEjkjShesQ ZT9ocIZ0O4EWQOG6M0O3utJ+QTVrxuXjNGEV0Mo+TKmhzw9l4Eb85wpRIzBZm42AkmpY XvBQ== X-Gm-Message-State: AOJu0Yy19y5cpzwA/rrfN3OfMazny4Zq5m+T6ISleDK295RybkXa9Xzi TXFgX5SVKrieZ9O3mMvRvvOodCTuBpdkqQ== X-Google-Smtp-Source: AGHT+IHZL3XTK391ekYMzD+n9huGsp8yF51rdX2nkr3SW/kkT0poBGyzSnTlyTsxiZw7Mellz7lCig== X-Received: by 2002:adf:fe8c:0:b0:31f:9bdb:79fc with SMTP id l12-20020adffe8c000000b0031f9bdb79fcmr1350639wrr.31.1694592002914; Wed, 13 Sep 2023 01:00:02 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:9eeb:e8ff:fe1b:1ad8]) by smtp.gmail.com with ESMTPSA id u4-20020a5d6da4000000b0031fb91f23e9sm3874504wrs.43.2023.09.13.01.00.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 01:00:01 -0700 (PDT) In-Reply-To: (Jim Porter's message of "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:270254 Archived-At: >>>>> On Tue, 12 Sep 2023 20:46:54 -0700, Jim Porter said: Jim> 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. Jim> I think this is actually the same as the (very long) bug#57752, so Jim> thanks for working on this. (It was on my list of things to get to, Jim> but I just haven't had time.) 57752 got bogged down in design paralysis :-) The idea looks good to me. Jim> Over there, we agreed that something like your patch is wanted, albeit Jim> with two caveats: Jim> 1. Since "--funcall" for the regular "emacs" binary doesn't pass Jim> arguments to the function, how about we call this option "--apply" Jim> instead? Yes, that sounds right. Jim> 2. It would be great if we could get "--apply" for the regular "emacs" Jim> binary too, so that both programs work the same way (at least in this Jim> regard). Even better, if you could forward "--apply" from Jim> "emacsclient" to the alternate editor (which would be "emacs" 99% of Jim> the time) automatically. That works, in a roundabout way, for the Jim> Emacs daemon, but not if the alternate editor is "emacs". Consistency would be good here. Robert --