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?Mattias_Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.devel Subject: Re: master 6ebce84ff2b: Use t for non-nil default values in boolean defcustom declarations Date: Sat, 29 Apr 2023 11:03:17 +0200 Message-ID: References: <168268729579.28551.10245924430337302769@vcs2.savannah.gnu.org> <20230428130816.81449C22A07@vcs2.savannah.gnu.org> <87ildfxhlt.fsf@gmx.de> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32006"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 29 11:04:17 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 1psgV6-000828-9b for ged-emacs-devel@m.gmane-mx.org; Sat, 29 Apr 2023 11:04:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1psgUN-0002kU-8i; Sat, 29 Apr 2023 05:03:31 -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 1psgUL-0002kK-CY for emacs-devel@gnu.org; Sat, 29 Apr 2023 05:03:29 -0400 Original-Received: from mail229c50.megamailservers.eu ([91.136.10.239] helo=mail36c50.megamailservers.eu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1psgUI-0008D6-MS for emacs-devel@gnu.org; Sat, 29 Apr 2023 05:03:29 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1682758999; bh=aRjPoR6Xd+2lHaQgtiygj4uLQiv7bUBNS9UG6e/hq9M=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=p1a+1an4U+og34RNMiw0xMXQyaMZVe1YCKSp+EXUEEGjF7POaZhVt+2MqyyJG58eg pKpB2asZCeBqCK6AEQ4tY4olDvofNLonzZdamqUoxu8GPHW3kDErDvRL7CaXnyGBaK i0pHeApPoktLF3X9M6bEySVPjZulL2ZYTpNOhqpM= Feedback-ID: mattiase@acm.or Original-Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se [188.150.165.235]) (authenticated bits=0) by mail36c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 33T93Htl061550; Sat, 29 Apr 2023 09:03:19 +0000 In-Reply-To: <87ildfxhlt.fsf@gmx.de> X-Mailer: Apple Mail (2.3654.120.0.1.15) X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: -100 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfeduledgudeflecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfjqffuvffqrffktedpqfgfvfdpgffpggdqveehtdenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurheptggguffhjgffvefgkfhfvffosehtqhhmtdhhtddvnecuhfhrohhmpeforghtthhirghsucfgnhhguggvghonrhguuceomhgrthhtihgrshgvsegrtghmrdhorhhgqeenucggtffrrghtthgvrhhnpeevkeffudejhfekhedvgfffieekgffhfedvkeeuffelgeefkeeulefhjeeifeekgfenucfkphepudekkedrudehtddrudeihedrvdefheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedukeekrdduhedtrdduieehrddvfeehpdhhvghlohepshhmthhptghlihgvnhhtrdgrphhplhgvpdhmrghilhhfrhhomhepmhgrthhtihgrshgvsegrtghmrdhorhhgpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepmhhitghhrggvlhdrrghlsghinhhushesghhmgidruggvpdhrtghpthhtohepvghmrggtshdquggvvhgvlhesghhnuh drohhrgh X-Origin-Country: SE Received-SPF: softfail client-ip=91.136.10.239; envelope-from=mattiase@acm.org; helo=mail36c50.megamailservers.eu X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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:305709 Archived-At: 29 apr. 2023 kl. 09.39 skrev Michael Albinus : > I'm just curious. Is there an advantage in using the (not (not ...)) > pattern? I would use (and ... t) instead, but perhaps your pattern is > more performant? Or is it just a personal style? I have no particular preference for either. If (and X t) is generally = better liked, then it's fine to change to that. Right now (not (not X)) is often but not always slightly shorter and = faster but it doesn't matter in these cases and we could easily make = both generate identical code.