From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Adding with-editor to Emacs? Date: Wed, 20 Sep 2023 14:35:53 -0400 Message-ID: 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> <87ediz14ip.fsf@thaodan.de> <87jzsn6emt.fsf@posteo.net> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31814"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 20 20:36:55 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 1qj24F-0007zj-1v for ged-emacs-devel@m.gmane-mx.org; Wed, 20 Sep 2023 20:36:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qj23I-0002hT-Ta; Wed, 20 Sep 2023 14:35:56 -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 1qj23G-0002hJ-KX for emacs-devel@gnu.org; Wed, 20 Sep 2023 14:35:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qj23G-0003u2-7P; Wed, 20 Sep 2023 14:35:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=ojrrWfu6FCr2tHHdxSaymr2Lud26otC2iMgUGocBmKA=; b=Zav809WZ1aGD MSMSvmnGVH1wS+YhCGzlvZXfdLQZ+dkbUaOSGw39jtquqUGncXqDl2Z+7lwNqcpL1YLP+CD0QIGiD 85KUceFje5/ZPonN71lTbJkzIWC2rDYKaDHYpPiuf84WOsTSWN1Yp/YVzsHDPHmGfMfuXJq+XdnrL ki4lnMt5OeJ+oxMF9jDY6b8Kk+ZRX5lQFKyh13npeYjt94T5loczH1MxDDfyh4Y/B0WJV+MBRiVnu NyEJBLPwPOMEFgh8H/XBh8ivOW2rMT1fyRncDw+uo5A4et09rPU69/jfQ8QSt1NtPRsUy0GS6yfxc GqhtIJloO0d8/3ZLdDi86w==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1qj23F-0003GC-Rb; Wed, 20 Sep 2023 14:35:53 -0400 In-Reply-To: <87jzsn6emt.fsf@posteo.net> (message from Philip Kaludercic on Mon, 18 Sep 2023 08:59:22 +0000) 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:310847 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > Now I see how it is useful, but I suggest we change its name before > > installing it in Emacs or either ELPA. If we call it > > `with-EDITOR-envvar' it purpose will be much clearer. > As someone who also frequently has difficulties understanding how people > come up with package names, I don't see how your suggestion is clearer > than the current name. I'm suggesting a new name for the macro, primarily, but it could be used for the package too. The purpose of the construct is to bind the envvar EDITOR for an invocation of another process. `with-editor' is unclear -- when I saw it, I could not begin to imagine what that could mean. `with-EDITOR-envvar' says that it has to do with binding the envvar named EDITOR. If someone presents a better suggestion, that is good. I'm only saying that this name is better than `with-editor'. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)