From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Shynur Xie Newsgroups: gmane.emacs.bugs Subject: bug#65700: time when gcs-done is updated needs to be clarified Date: Thu, 7 Sep 2023 15:23:08 +0000 Message-ID: References: <83pm2uz6nv.fsf@gnu.org> <837cp2yr9l.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17081"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "65700@debbugs.gnu.org" <65700@debbugs.gnu.org> To: Eli Zaretskii , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 07 17:24:49 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1qeGsA-000472-3p for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Sep 2023 17:24:46 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeGra-0002oB-4z; Thu, 07 Sep 2023 11:24:10 -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 1qeGrR-0002iZ-6d for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 11:24:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qeGrQ-0001lx-85 for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 11:24:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qeGrR-0002M8-Ne for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 11:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Shynur Xie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Sep 2023 15:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65700 X-GNU-PR-Package: emacs Original-Received: via spool by 65700-submit@debbugs.gnu.org id=B65700.16941002019000 (code B ref 65700); Thu, 07 Sep 2023 15:24:01 +0000 Original-Received: (at 65700) by debbugs.gnu.org; 7 Sep 2023 15:23:21 +0000 Original-Received: from localhost ([127.0.0.1]:41029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeGqm-0002L5-R9 for submit@debbugs.gnu.org; Thu, 07 Sep 2023 11:23:21 -0400 Original-Received: from mail-dm6nam11olkn2049.outbound.protection.outlook.com ([40.92.19.49]:47201 helo=NAM11-DM6-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeGqj-0002Kl-Cq for 65700@debbugs.gnu.org; Thu, 07 Sep 2023 11:23:18 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BCpqy2bSzxInp9+OOuN5Q7BbCyTPFk3hifPU2IxON+A+LwelxoFf7oGIf5RUGqULNJyqzehA54yXT3eoXH+fLXKpDyCvnbwGKAJdtYrzaEpUIfYBMMRK9NOpfmfm29QfT+2tfjLgBoRNYySSv9fbXcxcFWCLWyD4W7/HgLEGVuqy1GQ6IlFny/DmKrdfN/vjLfVR92LqucuZGEjQ05mFvp1YEr41yWWw9XrHkAfohfVjQzSSw+68n49uZzQNE6KhDVqA4IiZvcAfG0h61r7oC++YXWHYUBaE9xmkp0UeO5Xe7Fkpa47BJ42s+frP6wdASmv2/FtxA95J7vYccNEKNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=WqKFQjwoZ+VIXEkoefb6pj/IMizcR+fyxGC+NiMt+po=; b=ZHJnIeZbKH4LJMBvL493ZsPaLlEfUl3UZ9/RZiJcrTYm7vQYKm0Ay/cYywXqwoXKWWNhNCZAKBWxP5nT4gIp595HjTLfZ2Or+KwmugAHFYFhC08WaPuF4c/fj95uZHyh0lJYPM3TQIS/yvZkQNvJ++3ih1SWCtFdnUOg2iZaX1QxagLsCyxJXHqVeKcp87JuWs4HcwbYFP45ArwXToCt78PVpUPmy0tZmwjkTPDLeOpfHucKdWUnP3WGSjMJOK2Ys2USNWx3Q+w7OeQ29Rg/cj2QBofMvaijvOQaGNWLS5YB13Ebpk7Z3duTLTE7jNhdIxeD3tyneQ+56Wkp5F0dpA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WqKFQjwoZ+VIXEkoefb6pj/IMizcR+fyxGC+NiMt+po=; b=qicFSyWmwidDjbMHyLytgjn9gvRHYZSgKeAXIc6ads8D0x0D4tYo+52d9pBcvD2S0ghJ+t0gNoVqWIyJFBOgxZsq+QpHKslBkbcJ7Merm8biYUkH+/afJ7RbOiJo94GtW0pgOXNqtvMPrjwPZyDMYmje00Rj/0Ciur1EIzLa87xox4f96MYXIWHOFEw6CxbFEv2AdJEm1vJ7qly8x0NARx/UXwerJnA/jRgb5UvC3nOciUX+XrBc7/zMT5Vw2yjUFIadFM77wu9SYMqaZIlwLgZD2WmRA9f/Ls/3uzx7D9qqNuHUEJeowORYhqy0ATMCx4m/VSzPCndVGyDFN1t2iA== Original-Received: from PH0PR11MB7470.namprd11.prod.outlook.com (2603:10b6:510:288::7) by SA1PR11MB6613.namprd11.prod.outlook.com (2603:10b6:806:254::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.34; Thu, 7 Sep 2023 15:23:08 +0000 Original-Received: from PH0PR11MB7470.namprd11.prod.outlook.com ([fe80::d0b8:54f7:2a45:2983]) by PH0PR11MB7470.namprd11.prod.outlook.com ([fe80::d0b8:54f7:2a45:2983%5]) with mapi id 15.20.6745.034; Thu, 7 Sep 2023 15:23:08 +0000 Thread-Topic: bug#65700: time when gcs-done is updated needs to be clarified Thread-Index: AQHZ3Z0HPeRk2UPAv0C1corkC0IZQrAPHFJWgABJrsGAAAeILYAAC7lHgAAJyv0= In-Reply-To: <837cp2yr9l.fsf@gnu.org> Accept-Language: en-US, zh-CN Content-Language: en-US x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [iI/6Pgwmx3pWu+TaRb9mXlkT8/8HPPBr] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR11MB7470:EE_|SA1PR11MB6613:EE_ x-ms-office365-filtering-correlation-id: 8f3b4ab7-174a-4461-17d6-08dbafb6571c x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: kVRh4y27YdfufZpqLjMA4g0vaj78dIo0XEeVIA3dCk22BBkXvZoUTYPlbrGTXG8BE2T0Dd16F8TFvHeSuxF7IccjRzbEq8SlQr728YD7iaIWlhnggDsJo5abUN159lYiM8OF4BeILqQ/E7TkbZo1f6eKOyLd1aWe+EOzAGmVADjX3Mt70J7WTt5I+yl4SCyY42mTHz9mRki51hyqJqyOR0FBo2Bo5hp8XOZ3jQK4o7cROlA1PZOjm1GsfykwHWNoc8S2jIXWR0Az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L7IrpqxVZAXnaBMCsg28lIP3qytuXQO3co39P15GGDTiU vI5vZffqZLr/C2s9Hxb6H4+/JQi0W0MJUJUzkdgHpqjkWTvGs2KojEhgWaF4nc/CpMsPPEjf3IrlJdkmsTnQ9DBKm2Ot4JWVsr X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB7470.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 8f3b4ab7-174a-4461-17d6-08dbafb6571c X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Sep 2023 15:23:08.2980 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB6613 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269679 Archived-At: > Eli:=0A= >=0A= > > I'm not a native English speaker. Does the POST in `post-gc-hook'=0A= > > mean the functions will run when GC is DONE?=0A= >=0A= > Its being "done" doesn't necessarily have to include updating the=0A= > count of GCs. The main job of GC is already done by the time the=0A= > hook is called.=0A= =0A= Thanks for explaining. Yes, "Its being 'done' doesn't necessarily=0A= have to include updating the count of GCs."=0A= =0A= My point is, IF "the functions will run when GC is DONE" THEN when=0A= these functions are being executed, the `gcs-DONE' should have been=0A= updated.=0A= =0A= > Eli:=0A= >=0A= > > > Is this an intended behavior? If so, I think the docstring of=0A= > > > these variables (such as `gcs-done', `gc-elapsed', ...) need to=0A= > > > clarify when the variable is updated.=0A= > =0A= > > And `garbage-collection-messages'.=0A= >=0A= > What about it?=0A= =0A= Mentioning it here is just for reference. Maybe you want clarify when=0A= the variable/message is updated/generated in the docstring.=0A= =0A= =0A= > Stefan:=0A= > Hmm... that doesn't really explain in which way this affects your=0A= > code.=0A= =0A= It does.=0A= =0A= > `gcs-done` will be always smaller by 1=0A= =0A= That's it.=