From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: Comments on setopt Date: Tue, 15 Feb 2022 17:20:22 +0000 Message-ID: <878rucnj1l.fsf@posteo.net> References: <871r05rr2r.fsf@posteo.net> <871r04qxu4.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="21332"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 15 18:22:42 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 1nK1XF-0005L4-Ux for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Feb 2022 18:22:42 +0100 Original-Received: from localhost ([::1]:51854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nK1XE-0007Cc-KA for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Feb 2022 12:22:40 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nK1V8-0003oW-31 for emacs-devel@gnu.org; Tue, 15 Feb 2022 12:20:30 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:35165) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nK1V5-0002Fs-Rk for emacs-devel@gnu.org; Tue, 15 Feb 2022 12:20:29 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 413DD240101 for ; Tue, 15 Feb 2022 18:20:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1644945624; bh=eJVh1rqth9WcO4TGHmU/HwUwkkMP684RfyI6rKSrSg4=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=qmffsM5//tzFyLO7+HsU3iGaSOHIh/4n7LQxNkFhMg0hFQuqgApztTuknsIg7Ke17 ae6P1ZO46PBoFJ82Nxbr54JYUK/rXQ9dEfBmq4w+069JVUjTLKmHcrEgWZp3sJSM8Q 5fLJaOj72V4ZLQp0Ffo9c7t43LsUUY7C/7LO4l9UkFGhbUr0xDUHTFRXJhbRyIABjg 5/mt0uzaO6YvZ7PtgQuD2qAJl3qQrHWrKFAzh1/VfUiyMZTb++nx5Mqt79fQ7SKKtc gny1dl/ne8VNaCcl9wZzmlv7pBMa3VQ9u0y/swpbSXpwufenbtHMjLWUJtzW+YNCuQ /9MLIgEh24KRw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Jynsg1L6Lz6tnX; Tue, 15 Feb 2022 18:20:23 +0100 (CET) Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB In-Reply-To: (Stefan Monnier's message of "Tue, 15 Feb 2022 08:15:10 -0500") Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, 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:286337 Archived-At: Stefan Monnier writes: >>> - While I don't mind it really, I can imagine that others might object >>> to the "long" name, when compared to setq. Would a default alias like >>> "seto" or "setc" be worth it or not? >> I think `seto' is confusing, and `setc' doesn't really tell you >> anything. The salient thing is that we're setting user option, not that >> it's been defined by `defcustom'. > > FWIW, it took me a while to understand what "long name" Philip was > talking about because I assumed `setopt` wouldn't be considered as > long. ;-) The only reason I bring this up is that if someone has a block like (setq save-interprogram-paste-before-kill t kill-do-not-save-duplicates t mouse-yank-at-point t) they might hesitate to use setopt, purely because of the aesthetic disadvantage of now being indented more: (setopt save-interprogram-paste-before-kill t kill-do-not-save-duplicates t mouse-yank-at-point t) Again, nothing critical (one could also start listing option in the second line), but something I could anticipate being brought up.. > > Stefan > -- Philip Kaludercic