From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Bj=C3=B6rn?= Bidar Newsgroups: gmane.emacs.devel Subject: Re: Adding with-editor to Emacs? Date: Sat, 16 Sep 2023 00:59:58 +0300 Message-ID: <87ediz14ip.fsf@thaodan.de> References: <85msy98sni.fsf@elpa.gnu.org> <87r0nidkmt.fsf@bernoul.li> <83bkelc1p1.fsf@gnu.org> <87fs3xwzxm.fsf@bernoul.li> <837cp9bur7.fsf@gnu.org> <87zg23tjby.fsf@ledu-giraud.fr> <83ledn6zj4.fsf@gnu.org> <87v8crt7d4.fsf@ledu-giraud.fr> <83v8cr5a81.fsf@gnu.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="13206"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 16 00:01:10 2023 Return-path: Envelope-to: ged-emacs-devel@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 1qhGsA-0003Iu-4C for ged-emacs-devel@m.gmane-mx.org; Sat, 16 Sep 2023 00:01:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qhGrC-00027T-Bd; Fri, 15 Sep 2023 18:00:10 -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 1qhGr7-00026w-Iq for emacs-devel@gnu.org; Fri, 15 Sep 2023 18:00:05 -0400 Original-Received: from thaodan.de ([2a03:4000:4f:f15::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qhGr5-00074v-H7; Fri, 15 Sep 2023 18:00:05 -0400 Original-Received: from odin (dsl-trebng12-50dc77-87.dhcp.inet.fi [80.220.119.87]) by thaodan.de (Postfix) with ESMTPSA id 862ABD08DB6; Sat, 16 Sep 2023 00:59:59 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1694815199; bh=Z3yYe2Ytb8CqQB9Uc3smff0oAV34R/fC6onwqbP94Oc=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=z68C5f1+tcw+fEElBcv7K7rlOCFC5Lin+l4UEqAYXcMigQMioeKRz2ty1ayTLMvIb D6280+kzBP7RyElemuWbcczNEZLIwcbsllI690JIS1OBsi1z0M4To3MCgRGj5eccN9 IH+tC8H7fzdym3VkOSpnG8k7RuchxmYqTMsnEkHqE01mNeNEiLrg6/ObrBkos4cQZX XeWN5+TMSm6d/iPnaUMissondUlFBIpYjiHj53wXlw5uu1C2dtC+jRCi6YAwwGTbk4 qvBiSUTCej0YGBVHlo53UrR+HL7LOrmnqim2Hu5qrO3eDWnXHZOmAZzO+UQ/TfXIMJ ryZWA8ZxZwqDZGjGJmkPzGFccHUBmJR0jREQE/zq6kN3S4m5NdH8gQBqY+Hf56/Zq/ jvE3rqUTdPb5sXrUHeH9xinTUChEATGYPQps3narOCegiRZGlTs/H8W2rvGHVuFK50 0Lv+dVN0lV+cr9v9TksGTHv50ZU/9Kkybw4+6V8OEBvjRTbR6FbIPSirgDGmbbBn+G B5AlJNhyo9oLLZIHII0vvAcdXaUf7IKrRi3whRtnoNrFL6PXA96dAyO6SrjGuqEq85 2tX/idyBVE3V5wwvfhu2Gs1x7LP6awWp5d+vzU/5qoqv7uUjWARHfR9JzYJrJFsl5v wddInPSy6PdS625+JzHL2scc= In-Reply-To: (Richard Stallman's message of "Mon, 04 Sep 2023 20:27:51 -0400") Autocrypt: addr=bjorn.bidar@thaodan.de; prefer-encrypt=nopreference; keydata= mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8 phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2 cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlH Received-SPF: pass client-ip=2a03:4000:4f:f15::1; envelope-from=bjorn.bidar@thaodan.de; helo=thaodan.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:310608 Archived-At: Richard Stallman writes: > > You've lost me here. You assume I know what with-editor does? > > I've been puzzled because I thought that the editor in Emacs was Emacs. It's about telling the external programs to do THING /with-editor/, editor because the $EDITOR environment that is used. Externally be it remote or locally. I think doing the guess work to set $EDITOR correctly in each instance is to difficult to be done in the individual shells configuration, especially since they don't know about and can't assume tramp.