From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Damien Cassou Newsgroups: gmane.emacs.bugs Subject: bug#57752: 28.1.91; emacsclient-mail.desktop doesn't work for me Date: Tue, 13 Sep 2022 15:29:10 +0200 Message-ID: <87y1unxv15.fsf@cassou.me> References: <87r10gcum8.fsf@cassou.me> <87bkrj31r0.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22775"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Peter Oliver , 57752@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 13 15:30:48 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 1oY600-0005gM-U9 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 13 Sep 2022 15:30:48 +0200 Original-Received: from localhost ([::1]:53322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oY5zz-00062z-Ui for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 13 Sep 2022 09:30:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oY5zH-0005kN-Lz for bug-gnu-emacs@gnu.org; Tue, 13 Sep 2022 09:30:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60615) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oY5zH-0004vw-C8 for bug-gnu-emacs@gnu.org; Tue, 13 Sep 2022 09:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oY5zH-0003x5-4N for bug-gnu-emacs@gnu.org; Tue, 13 Sep 2022 09:30:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Damien Cassou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Sep 2022 13:30: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.166307576915124 (code B ref 57752); Tue, 13 Sep 2022 13:30:02 +0000 Original-Received: (at 57752) by debbugs.gnu.org; 13 Sep 2022 13:29:29 +0000 Original-Received: from localhost ([127.0.0.1]:49314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oY5yi-0003vr-Kh for submit@debbugs.gnu.org; Tue, 13 Sep 2022 09:29:28 -0400 Original-Received: from mail.choca.pics ([80.67.172.235]:48062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oY5yg-0003vi-4m for 57752@debbugs.gnu.org; Tue, 13 Sep 2022 09:29:27 -0400 Original-Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id 23685181942AA; Tue, 13 Sep 2022 15:29:24 +0200 (CEST) Original-Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id LCCpxC2LlRcP; Tue, 13 Sep 2022 15:29:23 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [IPv6:::1]) by mail.choca.pics (Postfix) with ESMTP id 9A185181942A7; Tue, 13 Sep 2022 15:29:23 +0200 (CEST) X-Virus-Scanned: amavisd-new at choca.pics Original-Received: from mail.choca.pics ([IPv6:::1]) by localhost (mail.choca.pics [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id DflWS8I81rpT; Tue, 13 Sep 2022 15:29:23 +0200 (CEST) Original-Received: from localhost (240-68-190-109.dsl.ovh.fr [109.190.68.240]) by mail.choca.pics (Postfix) with ESMTPSA id 4433F181929F6; Tue, 13 Sep 2022 15:29:23 +0200 (CEST) In-Reply-To: <87bkrj31r0.fsf@gnus.org> 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:242364 Archived-At: Lars Ingebrigtsen writes: > I'd prefer to have a .desktop file that works without any helper > scripts. Can't the emacsclient-mail.desktop file be rewritten to not > use quoting here? This is maybe possible but I haven't found a way. Moreover, the constraints that "Field codes must not be used inside a quoted argument" makes things more complex. One way we could maybe implement this is if it was possible to pass additional CLI arguments to emacsclient and read them from elisp the same way it is possible in batch mode with emacs. -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill