From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Comments on setopt Date: Sat, 19 Feb 2022 12:13:23 +0100 Message-ID: <87a6enkt2k.fsf@gnus.org> References: <871r05rr2r.fsf@posteo.net> <87a6esztjj.fsf@yahoo.com> <87bkz7wagv.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17639"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Po Lu , philipk@posteo.net, emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Feb 19 12:16:22 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 1nLNiw-0004S9-38 for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Feb 2022 12:16:22 +0100 Original-Received: from localhost ([::1]:40480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nLNiv-0000iG-3b for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Feb 2022 06:16:21 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLNhG-00089H-35 for emacs-devel@gnu.org; Sat, 19 Feb 2022 06:14:39 -0500 Original-Received: from [2a01:4f9:2b:f0f::2] (port=60864 helo=quimby.gnus.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLNgC-0004DG-8L; Sat, 19 Feb 2022 06:14:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ek7O3ugdFD8+jkSk2XCO2oKB7mEnmcYHdhGOgHxa3VA=; b=Giur8+2GZ/FOPr3JXj0MwvKTRj W7Qy6lilaWLV1JyFeljUq7SLKEi6KddB9zXww4Oobhari4wV8dCr8fMP7ybbzo2VXVAjmWu0b8wVO GS7LiQi0aD1dYrXlqAb5FNOvpoyWav4FTe3e+MQ8GZm8/lFZChksOFJdK3OgH2L/7FTo=; Original-Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nLNg4-0005bQ-0a; Sat, 19 Feb 2022 12:13:26 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEXq39KMg4SlrcOg bFZbSD12lMMiGRb///85usWDAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+YCEwsKJYkbKgIAAAGkSURB VDjLdZLNcqwgEIV7TM1+EL1rIDNZx8HKWm+QdUiFfRYU7/8I6QYxaE2OVQrn49DyA4C6QNZJwE6n VuVGu/fVgK9GCJBQJxrJWjZ3s/zPZskYdkhKwNl/+cX1rves97733eIWdD4QLN47srLyt0fwtdRO EQH/SDQViTn2B2Bsneq2B66be7XKq1sFuNmAqoBzbKgApjJwLNWowC2DG2vTbij3WQBtCXYkAq5n qdsSIUDfBLQeCpAXOKc0w6lqYCc45xFkI1DQUPcav3MDSQInBKJR4hqnCgziFT0gp9sSoCS/4ykT UOLZIMB0PupGgG7SHYCrRfBihsOlAQITvMQYDtcGukiJiMTskSnA2vBaXShtC4jBBl7uKYwYKABR DHd5F3AambE1oELGvPPRJP8AiFkTjyCNXANbcWP0prcV0NS6FpYh8KQfyJgJnmmMHik0vmMYx5Mm uJqHmqhGTP95BP/Whf+ucgcq2x5ByJYNvwAXGwyBR1NZ3CN8zF817OrHPYg5gmG7Adxz1jE8pFQ8 1onA7czXQQQkKxpwu9Ym55cf6h73Vs7RV4wAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDItMTlU MTE6MTA6MzYrMDA6MDBg7bn0AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTAyLTE5VDExOjEwOjM2 KzAwOjAwEbABSAAAAABJRU5ErkJggg== X-Now-Playing: Tuxedomoon's _Holy Wars_: "St. John" In-Reply-To: (Richard Stallman's message of "Fri, 18 Feb 2022 23:54:39 -0500") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f9:2b:f0f::2 (failed) Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 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, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, 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:286460 Archived-At: 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. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no