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#57752: 28.1.91; emacsclient-mail.desktop doesn't work for me Date: Fri, 16 Sep 2022 12:09:07 +0200 Message-ID: <87bkrfiqbg.fsf@gmail.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29727"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Damien Cassou , Jim Porter , Eli Zaretskii , git@mavit.org.uk, 57752@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 16 12:11:12 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 1oZ8JT-0007UY-Uz for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 12:11:11 +0200 Original-Received: from localhost ([::1]:36988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZ8JS-00059K-B7 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 06:11:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZ8IU-0004cF-1O for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 06:10:11 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZ8IM-0005jB-K3 for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 06:10:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZ8IM-0003cS-AN for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2022 06:10: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: Fri, 16 Sep 2022 10:10: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.166332295613840 (code B ref 57752); Fri, 16 Sep 2022 10:10:02 +0000 Original-Received: (at 57752) by debbugs.gnu.org; 16 Sep 2022 10:09:16 +0000 Original-Received: from localhost ([127.0.0.1]:41769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZ8Hc-0003bA-34 for submit@debbugs.gnu.org; Fri, 16 Sep 2022 06:09:16 -0400 Original-Received: from mail-wm1-f50.google.com ([209.85.128.50]:46702) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZ8Hb-0003ay-2N for 57752@debbugs.gnu.org; Fri, 16 Sep 2022 06:09:15 -0400 Original-Received: by mail-wm1-f50.google.com with SMTP id n40-20020a05600c3ba800b003b49aefc35fso6265915wms.5 for <57752@debbugs.gnu.org>; Fri, 16 Sep 2022 03:09:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=nvVyV4gUbda/6D0lyDc2V4cTiW3SMcDOUUHiM0I9GWk=; b=Kkb/DShXlkxcH2qkvluJ6UEt0bFBQVfwwMqgIuaynt2t836a30jNqnyly7pSFaHDtX kVsRHzj/inOijQJYMXGwVPIC8/uzZfeK0dyKw/c797YVZPJOS/y890UWvQgAqtBuTfZG veCOht8I6usTc39iMVMcHOMf8ZeVfF3Cub+n0bzBC78WGgyOhYrLWBftK/Sp4Tmkzj9w sVxY5u3KhfhkcsDQqmsaL2oTH+cuqUKFJqsD/bKBzXoZkhGX9jbkasznA1JDLBg/ViX0 PK1caDBUNWWfsQul1nVl9c88y5M8IyJ9sAWN/aYmrA6nxcv1qlBX5p+u74ImIV7oye1v H+lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=nvVyV4gUbda/6D0lyDc2V4cTiW3SMcDOUUHiM0I9GWk=; b=cnRoLRrAxWpibweSQnXD66dmHvNOV9DRX9KZS+GZCMSSjebxFrV7ixlPCovxhcstwa QhA6eKAJdwGaevl9ZPnh9XVbcdZnc8LpMm+oEkUWeueaPuPYyiJwyu7Krgofbu3nO4sw SrL1vHTl/xOJMp2xii31Pb9RL21mZ6bla/7cUAPEWT0lNCCGOuGc8KoeHueIL8Ye7wV/ u/p6eZthfiL0tfr44H1PXS81lsi4O95a+eFwCjKFL2Nu/opAhQncQ1ua/Xz1KlbyQfR8 fxIyvGOj4/hnmnWU1kGbOBfuFKm+BXSQZrkedWNkmkvg85XSGleiIQzqtV/flEofVE0i ehkw== X-Gm-Message-State: ACrzQf0tffnZCuvpSaUJqitZ/V55sHNrUnzTFjb/9eyd3PN+3eEdU+T8 rTN1RpWOMrFm4XoIYfYtDqqaYChfdRMeZg== X-Google-Smtp-Source: AMsMyM6QxAC/LE87bet9lcNKPsj2BpP/aDOhg1ax/N001D2oR1C3oNXTg09A2uDwGyMQspynID/+Sw== X-Received: by 2002:a05:600c:5110:b0:3b4:b3d7:c30f with SMTP id o16-20020a05600c511000b003b4b3d7c30fmr2723518wms.93.1663322948705; Fri, 16 Sep 2022 03:09:08 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:16a0:9848:d23c:7dcb]) by smtp.gmail.com with ESMTPSA id v128-20020a1cac86000000b003b476bb2624sm1824291wme.6.2022.09.16.03.09.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Sep 2022 03:09:08 -0700 (PDT) In-Reply-To: <878rmjy78x.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 16 Sep 2022 11:54:22 +0200") 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:242725 Archived-At: >>>>> On Fri, 16 Sep 2022 11:54:22 +0200, Lars Ingebrigtsen said: Lars> I've idly wondered before whether we should add a general mechani= sm for Lars> this to avoid having to create functions that look at Lars> `command-line-args-left' themselves. (And --eval is problematic = in Lars> circumstances like this.) emacsclient interprets emacsclient arg1 arg2 --eval (form1) (form2) (form3) as "send (form1), then (form2) then (form3), so by analogy this: Lars> --function foo --function-args bar zot gazonk doesn=CA=BCt require a --function-args parameter Lars> would result in calling `foo' with those arguments. Lars> Hm... would we need some way to say "here's the end of Lars> --function-args", perhaps? "--"? So: and this also isn=CA=BCt necessary, since the end of args is implicit by reaching the end of the arguments, same as '--eval' Lars> --function foo --function-args bar zot gazonk -- Lars> Anybody have any thoughts here? I idly wondered whether emacsclient could create a monster =CA=BC--eval=CA= =BC form with a binding for `command-line-args-left', but then I started having nightmares about string handling in C, so perhaps it=CA=BCs best to just send stuff over to emacs and let server.el handle it :-) Robert --=20