From unknown Wed Jun 18 00:18:41 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#48513 <48513@debbugs.gnu.org> To: bug#48513 <48513@debbugs.gnu.org> Subject: Status: 28.0.50; define hs-set-up-overlay with defcustom instead of defvar Reply-To: bug#48513 <48513@debbugs.gnu.org> Date: Wed, 18 Jun 2025 07:18:41 +0000 retitle 48513 28.0.50; define hs-set-up-overlay with defcustom instead of d= efvar reassign 48513 emacs submitter 48513 Zhiwei Chen severity 48513 normal tag 48513 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Tue May 18 22:20:13 2021 Received: (at submit) by debbugs.gnu.org; 19 May 2021 02:20:13 +0000 Received: from localhost ([127.0.0.1]:57648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljBoj-0004YO-Bh for submit@debbugs.gnu.org; Tue, 18 May 2021 22:20:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:43612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljBoh-0004YE-HN for submit@debbugs.gnu.org; Tue, 18 May 2021 22:20:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljBoh-0005fN-1B for bug-gnu-emacs@gnu.org; Tue, 18 May 2021 22:20:11 -0400 Received: from smtpcn03.kuaishou.com ([103.107.217.217]:28414 helo=bjm7-spam01.kuaishou.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljBoc-0003kA-7X for bug-gnu-emacs@gnu.org; Tue, 18 May 2021 22:20:10 -0400 Received: from bjm7-pm-mail23.kuaishou.com ([172.28.1.43]) by bjm7-spam01.kuaishou.com with ESMTP id 14J2JRQL009294; Wed, 19 May 2021 10:19:27 +0800 (GMT-8) (envelope-from chenzhiwei03@kuaishou.com) Content-Language: zh-CN Content-Type: multipart/alternative; boundary="_000_3DBD62F3CD5B4B8BAAB9EC9EA8036D5Ekuaishoucom_" DKIM-Signature: v=1; a=rsa-sha256; d=kuaishou.com; s=dkim; c=relaxed/relaxed; t=1621390767; h=from:subject:to:date:message-id; bh=xRjeFI66gxyGnJRJ1GaNzEVCbhN2y4ISLtLiDxgM75w=; b=RY2QO8G0iCpEUdDSV86aAf1TiYDsqtO2OXbqPU4bpoyQiOQu6yaTgRVrJ3owmsl8OnzXkNQ4ZJW G/PylVYK8UAABMeZqh6mb1yxC963bW25/cF5xJ5qR18CPRYH+9bGwAVexM387hFWmRDSdN/LsfuJ2 TLGRTV9MCDkFRU3W4x0= Received: from bjfk-pm-mail15.kuaishou.com (172.29.5.43) by bjm7-pm-mail23.kuaishou.com (172.28.1.43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 19 May 2021 10:19:26 +0800 Received: from bjfk-pm-mail15.kuaishou.com ([fe80::7dae:bfab:2aec:940b]) by bjfk-pm-mail15.kuaishou.com ([fe80::7dae:bfab:2aec:940b%19]) with mapi id 15.01.2176.009; Wed, 19 May 2021 10:19:26 +0800 From: Zhiwei Chen To: "bug-gnu-emacs@gnu.org" Subject: 28.0.50; define hs-set-up-overlay with defcustom instead of defvar Thread-Topic: 28.0.50; define hs-set-up-overlay with defcustom instead of defvar Thread-Index: AQHXTFVknzZr4BtyA0aiBZL37e0RWw== Date: Wed, 19 May 2021 02:19:26 +0000 Message-ID: <3DBD62F3-CD5B-4B8B-AAB9-EC9EA8036D5E@kuaishou.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.20.196.28] MIME-Version: 1.0 X-DNSRBL: X-MAIL: bjm7-spam01.kuaishou.com 14J2JRQL009294 Received-SPF: pass client-ip=103.107.217.217; envelope-from=chenzhiwei03@kuaishou.com; helo=bjm7-spam01.kuaishou.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: "condy0919@gmail.com" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --_000_3DBD62F3CD5B4B8BAAB9EC9EA8036D5Ekuaishoucom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable According to the docstring of hs-set-up-overlay, it can be customizable. So= defcustom is more meaningful than defvar. -- Zhiwei Chen --_000_3DBD62F3CD5B4B8BAAB9EC9EA8036D5Ekuaishoucom_ Content-Type: text/html; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable According to the docstring of hs-set-up-overlay, it can be customizable. So= defcustom is more meaningful than defvar.

--
Zhiwei Chen


--_000_3DBD62F3CD5B4B8BAAB9EC9EA8036D5Ekuaishoucom_-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 25 16:31:51 2021 Received: (at 48513) by debbugs.gnu.org; 25 May 2021 20:31:51 +0000 Received: from localhost ([127.0.0.1]:47084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lldiR-0007Nt-Dh for submit@debbugs.gnu.org; Tue, 25 May 2021 16:31:51 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lldiP-0007Hg-84 for 48513@debbugs.gnu.org; Tue, 25 May 2021 16:31:50 -0400 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=PRGraOUZZqqK6pi7gOjHV/4qj4Sz7Kyl33xEYmBdCI8=; b=HXHENoBa4GAUJjbYxpogQibwRK N7YyHThyeGHGdi2NechCNHGvMeoz5CqZvrmSjOnr1B+rjUcqujSB0i3RAWFQ8RZRkxh8n5btInP5t FMusPSJwDdFRQRb4btbsR4OEriXW5XKO1a2kPK9c3goMhdqOpWM0vMo/uGhw+UUjgCn4=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lldiF-0004yL-5S; Tue, 25 May 2021 22:31:41 +0200 From: Lars Ingebrigtsen To: Zhiwei Chen Subject: Re: bug#48513: 28.0.50; define hs-set-up-overlay with defcustom instead of defvar References: <3DBD62F3-CD5B-4B8B-AAB9-EC9EA8036D5E@kuaishou.com> X-Now-Playing: Mochipet's _Girls Love Breakcore_: "Beijing Operacore" Date: Tue, 25 May 2021 22:31:37 +0200 In-Reply-To: <3DBD62F3-CD5B-4B8B-AAB9-EC9EA8036D5E@kuaishou.com> (Zhiwei Chen's message of "Wed, 19 May 2021 02:19:26 +0000") Message-ID: <87a6oid07q.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Zhiwei Chen writes: > According to the docstring of hs-set-up-overlay, it can be > customizable. So defcustom is more meaningful than defvar. Make sense to me, so I've now done this in Emacs 28. (There's a few other variables in hideshow that perhaps also should be converted...) Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48513 Cc: 48513@debbugs.gnu.org, "condy0919@gmail.com" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Zhiwei Chen writes: > According to the docstring of hs-set-up-overlay, it can be > customizable. So defcustom is more meaningful than defvar. Make sense to me, so I've now done this in Emacs 28. (There's a few other variables in hideshow that perhaps also should be converted...) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue May 25 16:31:57 2021 Received: (at control) by debbugs.gnu.org; 25 May 2021 20:31:58 +0000 Received: from localhost ([127.0.0.1]:47087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lldiX-0007TG-MB for submit@debbugs.gnu.org; Tue, 25 May 2021 16:31:57 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lldiR-0007Jq-JS for control@debbugs.gnu.org; Tue, 25 May 2021 16:31:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=cgGZY2dUl7ND0ZXSzhmWE+a3tc9ur36KuAgux4c08ts=; b=Gh1VcMYypx/EW51nh0xeibLKHQ /nuiGxu161AkKwsXu2b4PjP+pOyYz2iI4VNViWm8I4uxNreCmxUVxOELP24XNJZoEReMEoETRf0cT gJbSVczhOjaO1UeXfw/ba0LuYu+OOREWXf3nMt5CpIbf8UXtP2T9Km9UMnQPi6PT0VN8=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lldiK-0004yU-5u for control@debbugs.gnu.org; Tue, 25 May 2021 22:31:46 +0200 Date: Tue, 25 May 2021 22:31:43 +0200 Message-Id: <878s42d07k.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #48513 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 48513 fixed close 48513 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 48513 fixed close 48513 28.1 quit From unknown Wed Jun 18 00:18:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 23 Jun 2021 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator