From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Name for `setopt` (was: Comments on setopt) Date: Sat, 19 Feb 2022 09:41:41 -0500 Message-ID: References: <871r05rr2r.fsf@posteo.net> <87a6esztjj.fsf@yahoo.com> <87bkz7wagv.fsf@yahoo.com> <87a6enkt2k.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="14746"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Richard Stallman , Po Lu , philipk@posteo.net, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Feb 19 15:43:39 2022 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 1nLQxW-0003ep-U1 for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Feb 2022 15:43:38 +0100 Original-Received: from localhost ([::1]:49666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nLQxW-0003UR-1o for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Feb 2022 09:43:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLQwW-0002oX-GU for emacs-devel@gnu.org; Sat, 19 Feb 2022 09:42:36 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:56370) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLQvl-0004cm-0N; Sat, 19 Feb 2022 09:42:35 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id AC169440A41; Sat, 19 Feb 2022 09:41:45 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 29AF34409E2; Sat, 19 Feb 2022 09:41:44 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1645281704; bh=uF91UB08zKXsyZItF4+mBLjo3ijBo1qX3ZTQhq41gC0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=FNYg9FbJ3YHpjI6w3Jz5KpzQ0rC9BX4B+7mb96flXGBCq1kZ4xsxz6fyMlIJslnHd ESDCZZL73XmdnCgmk7g6IH0256ofbaNT1Im2GASZ1lROkPd99TiXcOvLvwapr/fWkO gxeUl3v2cJj8mN8hNj0TeNXm6mlL8ZtN9fNrwuJeoQp6jcD/+Dcv0qY9W2AzY32S/s Jszx0Df12xZwqS/nBCI2hs3mYty62mcBUkPAL9EwCqO+NCDlizUYbab/2ymmO8zZql CjUBU26h6rj3pz8XoVh1KCiW1qdUopaorl+9TE8/oXIz+ctOxh93xB7Ng8fE0+O4ul rxcQzA/+pTOnQ== Original-Received: from pastel (unknown [45.72.237.157]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id DB6C0120BD5; Sat, 19 Feb 2022 09:41:43 -0500 (EST) In-Reply-To: <87a6enkt2k.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 19 Feb 2022 12:13:23 +0100") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" Xref: news.gmane.io gmane.emacs.devel:286468 Archived-At: We've clearly entered bikeshed territory, so I'll just +1 here to what Lars said. Stefan Lars Ingebrigtsen [2022-02-19 12:13:23] wrote: > Richard Stallman writes: > >> Since it isn't meant for the command line options that `getopt' examines, >> the name `setopt' is misleading. (It already misled me!) >> This name should be changed to something longer and clearer. > > You mean you thought this had something to do with getopt.h? I don't > thing confusing `setopt' with that has potential to confuse many people > writing Lisp code -- most people haven't heard of getopt.h, there is no > `getopt' function in Emacs Lisp, and what would setting a command line > switch even mean? > > The point is that we need a variant of `setq' for user options that > people can use when saying `M-:' and in init files, so it needs to be > short and snappy. `seto' and `setc' were proposed, but I thought those > were too confusing.