From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.bugs Subject: bug#57752: 28.1.91; emacsclient-mail.desktop doesn't work for me Date: Fri, 16 Sep 2022 08:21:23 -0700 Message-ID: References: <87r10gcum8.fsf@cassou.me> <87bkrj31r0.fsf@gnus.org> <87y1unxv15.fsf@cassou.me> <83leqn4cji.fsf@gnu.org> <87v8prxtox.fsf@cassou.me> <878rmjy78x.fsf@gnus.org> <87bkrfiqbg.fsf@gmail.com> <87bkrfwrqu.fsf@gnus.org> <877d23iesn.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22474"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Damien Cassou , Eli Zaretskii , git@mavit.org.uk, 57752@debbugs.gnu.org To: Robert Pluim , Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 16 17:22:39 2022 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 1oZDAt-0005fl-4E for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 17:22:39 +0200 Original-Received: from localhost ([::1]:45036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZDAr-0006Da-Of for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 11:22:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZDAI-0006Bj-PJ for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 11:22:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44904) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZDAI-0007T0-FL for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 11:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZDAI-0002Mc-AP for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 11:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Sep 2022 15:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57752 X-GNU-PR-Package: emacs Original-Received: via spool by 57752-submit@debbugs.gnu.org id=B57752.16633416919048 (code B ref 57752); Fri, 16 Sep 2022 15:22:02 +0000 Original-Received: (at 57752) by debbugs.gnu.org; 16 Sep 2022 15:21:31 +0000 Original-Received: from localhost ([127.0.0.1]:43982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZD9n-0002Ls-8T for submit@debbugs.gnu.org; Fri, 16 Sep 2022 11:21:31 -0400 Original-Received: from mail-pj1-f53.google.com ([209.85.216.53]:41665) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZD9l-0002Lf-EM for 57752@debbugs.gnu.org; Fri, 16 Sep 2022 11:21:29 -0400 Original-Received: by mail-pj1-f53.google.com with SMTP id q15-20020a17090a304f00b002002ac83485so37820pjl.0 for <57752@debbugs.gnu.org>; Fri, 16 Sep 2022 08:21:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:content-language:in-reply-to:mime-version :date:message-id:from:references:cc:to:subject:from:to:cc:subject :date; bh=aQKoIrD7gXJ4lS62tqr3rx9qZm41XcL10RPE5Ew7+t8=; b=Bi+SdGAjNazoaoyw8UK9iXBFvrp5uzGLGhe8RfV9el4s5+XatcEfdwjh0qwyWaSqT1 Im36Kk5GpES9ynYz8Y8fL2Y7zhTfUoPOwL5boaemOGAYeGtKQMFIsFzMf6DgLzXdEuc/ U6UoAT0OYhK2JB43TCHaJmwhrlaMB0oebIjSQMqQnyMjb3+kIWxtmdzato6L/DEtK0Nt Z+7Q1SE1Eh9wBv70WcRQeHhAWVo7nMkZE3T5GpYcqOMtt9nHrrtcuzsicXgD1VP6JHG7 OEK86RgME3xYaCYVDHMu8zYWNMszXCcSFxvZYk13K+IZqKX09bGuVXGHd2GmFq4GUo8n Mq+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:content-language:in-reply-to:mime-version :date:message-id:from:references:cc:to:subject:x-gm-message-state :from:to:cc:subject:date; bh=aQKoIrD7gXJ4lS62tqr3rx9qZm41XcL10RPE5Ew7+t8=; b=JhKXGHOqCgmwOEtcgne+Jo8mQSR7QtTUXQTdrWi1wixV6DsGmvO3NGRYXCQzDfYQ0y GbwSyCqSGn3dzftIl4l2idyS+h9kC1x2u07ENjg1NzbUOskPwIN9+7k5ONIeG63mDAO4 KosUykKa7OgfV4dyg+m1x11xnnrG2vD35JABNoci5/jdTfddw37hMGvROyrJOH3CGMQ/ zBTXib3Xeg1mLBLlrpdRBfJozucTZx1Cdxj/fFk2rMZyGAjnQHBOOSEDKnWLdFsEWwQt E0RC7rqefGy70qhDKCi0pEFn75Cqg4iOklg5BHutqJibvM3G3+ILmmYIlhhMNsvIaHfS ZE7Q== X-Gm-Message-State: ACrzQf0jxTJBUMm2uB98TtL8/Y2Uvcf3KE/xg2bk8hK3qp0kHUu2pJUc AmDRWYHlrDmocb0keEGK46ok1i8LH04= X-Google-Smtp-Source: AMsMyM5PVdjH0js+5+73I8LynqxhnIJcKe5ZFV6pwftdkpucMdYx4B+QZ5atJqSYB8N1bImxyaCsmQ== X-Received: by 2002:a17:903:247:b0:16c:5017:9ad4 with SMTP id j7-20020a170903024700b0016c50179ad4mr341156plh.115.1663341683447; Fri, 16 Sep 2022 08:21:23 -0700 (PDT) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id u21-20020a632355000000b0041c30def5e8sm8969471pgm.33.2022.09.16.08.21.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Sep 2022 08:21:22 -0700 (PDT) In-Reply-To: <877d23iesn.fsf@gmail.com> Content-Language: en-US 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" Xref: news.gmane.io gmane.emacs.bugs:242781 Archived-At: On 9/16/2022 7:18 AM, Robert Pluim wrote: > There are also quoting and conversion issues to think about, eg: > > emacs --function foo hello 3 indent-tabs-mode 'always > > Do we make people say > > "hello" if they want strings, which implies that indent-tabs-mode > would be treated as a variable, 3 as a number, and the ' needs to be > escaped somehow? Hopefully not, since one of the goals here is to be able to accept arbitrary strings from other programs (e.g. your mailto: handler). If we required strings to look "like this", then it becomes much more difficult to ensure that internal quotation marks are properly escaped. Instead, I think the arguments passed this way should always be strings. If you need something fancier, --eval can step in. (Of course, a function called with --function can convert its arguments however it likes.)