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: Sat, 2 Sep 2023 13:00:59 +0000 Message-ID: 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="27557"; mail-complaints-to="usenet@ciao.gmane.io" To: 65700@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 02 15:05:27 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 1qcQJb-0006vS-9S for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Sep 2023 15:05:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qcQIL-0003nb-52; Sat, 02 Sep 2023 09:04:12 -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 1qcQH8-0003Mh-U9 for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 09:03:00 -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 1qcQH7-0002nl-2s for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 09:02:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qcQHG-0006mf-EO for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 09:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Shynur Xie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Sep 2023 13:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65700 X-GNU-PR-Package: emacs X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.169365973826022 (code B ref -1); Sat, 02 Sep 2023 13:03:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Sep 2023 13:02:18 +0000 Original-Received: from localhost ([127.0.0.1]:35423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcQGW-0006lb-9K for submit@debbugs.gnu.org; Sat, 02 Sep 2023 09:02:18 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:49670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcQGQ-0006ku-7j for submit@debbugs.gnu.org; Sat, 02 Sep 2023 09:02:14 -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 1qcQFS-00023H-Fr for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 09:01:14 -0400 Original-Received: from mail-co1nam11olkn2011.outbound.protection.outlook.com ([40.92.18.11] helo=NAM11-CO1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qcQFO-0002FD-65 for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 09:01:10 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oK1BBLUAF2w43ZGtBzvcwNPZ1Umw65AUWGFwzJkThrbuqV0B4Um80zKkeTts/sfYhSeoGTtSHAipKeEXOirJ/qpI4DYBar1cm7w2CAFEvT5Tv2b/Iq32qcciYjlQZJ3MavNfwXl1+7KBnd3KkCd4U+rn9nKpfmkPBZk6kGoctQ/B56h7fFkYuRA5VYgi+/nofFk1Id7NCo5YD+hn8oISlCgofpV1pUgHjnxAQK34sCxSyPeGv5lw3RgwTMtTI80UlVYpM6pvpqoNVKYf0XQm3ACODkAxQjmhWb0PJrjlHMmcTrmu3/gI8zdDV8Sla0mX6IVPkuPWLKsGZy1c1raEeA== 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=TXnPjnhy3juRMkRJTZ7MIqN0yo9jsJN8/koI/vvAQ1c=; b=nnt+h9h+kjZ0RWxTVaxcHMywLpeDx+eeS4367DammMg1lw/MO+utmEt6bsjvl6G7bA+JUNynFajfCm+GudPzgW1Tb7esJQs8fG+9dBNCtaE4KjEMW4T3teEOFf+dEQQKOiJzK6hMu1h1MRH0LQhDodMP2qx8D9X+H0Ypta5mI2ORgMKtwntvmVtPVl0ziEIh70l/lSZQZ2PMAnh4Rcx9BB4W+cwEiOtOsvkt0U5Fc2NM9ifi6CFPZHG4F0FTmU3e5MmLqwNcdG7TGeawDcYLa2cmgaJLU6pP7Ym/NrHT1oq975+wAUU2cb/NErStWAXLA/HNMclgUHkL8nLMAdQvEQ== 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=TXnPjnhy3juRMkRJTZ7MIqN0yo9jsJN8/koI/vvAQ1c=; b=o5oIapvPNMxqh6/8Z6iZ83e/WGlokf7eAl2sOL8zwE7Z76BUry7qpStFaSpg8AcX1OxiTIEB3ObMM8L31AEg/R4ujtpF5FlfXFbehClfmubCy9+KhZ41sjr7zapJMfgoymj+neUM3gwdyqOV4ZmXzT3iTBpNVALus7iNkgDpldY+tJV+h6uIkzECZ5Ffij0Bjg4vWnp/EfW0bsZXRENRUelpxcFlvwWASnAsr0Li013FlKPGSCxBu8rK5Nxsxbol+0UoXuZ0m3DwhOsIrVhRHfnzkyo8rf7vNDf43bAucKUQwseEP7RFzcQyLv0/GzsXJYcrxxkj4SnmefvxbwalIA== Original-Received: from PH0PR11MB7470.namprd11.prod.outlook.com (2603:10b6:510:288::7) by SJ1PR11MB6249.namprd11.prod.outlook.com (2603:10b6:a03:45a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.28; Sat, 2 Sep 2023 13:01:01 +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.028; Sat, 2 Sep 2023 13:00:59 +0000 Thread-Topic: time when gcs-done is updated needs to be clarified Thread-Index: AQHZ3Z0HPeRk2UPAv0C1corkC0IZQg== Accept-Language: en-US, zh-CN Content-Language: en-US x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [JHJjmzS7S3NQ3j4xhLsOFtGqncSp5X+O] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR11MB7470:EE_|SJ1PR11MB6249:EE_ x-ms-office365-filtering-correlation-id: 8059d537-4c81-415b-69a9-08dbabb4a7a4 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: HH359bie90rUIunudEVCThcLKRHdW696JFNeojCm9J4gcTBeh/Kf0uocaW01kx2l08wNbkAqWlXXz2DGjFValia0iD3V7DR25R50xh0XCw9/W/+Wt20fkG5erqfzWfj21HPXEumpYOWLohd0XgTUPw2iCE+KjEoZIgD4tyF4yOUcH9ew/4N+sWXtkCfT9x2qgw6FWMHhg5ePb/2xKFQPzTwsVMSbJlrXBlGHfmjWrNIZegguqtvyihzXqA9IRtgnHw5F8Bd59xlJMmWy2Mih5Yk9YTyqX++R/rYi/1ZRlIBwXTTbcKcb+ufqRfalJtX9vp83/bwRqlE/t741uJNq+mQt01t1P7e2YbUFFDu53flDNBffdgLcadGl+WjJ/8KydTOa1fv++2JlwV3EyUL5sldk/tSV+I8dgmWp2+0jfZPvL6DhkWePxKJzueWkRhUbtivgNKpcBsmUOP0cYYeRUAnwYCvjSqFPw2r87Hv8cSi/XpWR9AHPWBH6dyBM2UTlTLDwuSMRKtoeKTp57gkqjwR4LT0BbZcDWexBynvrGyQHtW/iEkgeQ/emE/hnQ1XU x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: nvDY8ESNdM+2wPwSnW91oLDMa4Exys/4qDCWK7eiOido8/nFl0KEJzVogK9jr1FEDLGyXepCGl9WueJ8yMDLkUt+CILKzjrYnTRTecwQ0W5gQeBCGFwWqVNYU97XY7e7EWp0NkEurFWyooT7sumWfsQzfMEu0n5xvU0bSWuZvirLXfBfUgDBv1p83VRFArZRAWbsTqKZiBSNKaQjzyEMxcjkU9pfKiDeP+3ez+l2/tdf7O8+jxiwbNIwHHvSNmvxluXo7dqp3GwUscXHugsmCsI0n8rigY3y6QcnNnPoD96qA1zzsFwtm0YfNNAHIETvDyvNvnvtm4FzXIvdH0RC94zrf4/M0skcwk8bMp/2pHaZQH+N0An+jPUPKIspj61+EkoA3EpQiDZVrIThTkBPTC/xStOcNbnPVLQ5nEDX9yVodFBVTVbilTKMDUigCgWYNatEmpfZks2m4wfkhOfSUXotAqKymcmDGF1ESArvdztr5yOiJH0jK33UZPhOXqoQmPCk7V9idXwFmbR/Cdza/ICXOsAapEo8mxR3Bh3M/PWEG2o6PxzInCk9cCFhuAFSu85HvnxJ9EU2n5N5rtI92cMNaYr2u3ddhpQ3Ii9gnO+lwT5dhIYMJFBzuGRJTh479HhbK9Tmwnn6uLTZwQy+CSTfcmndX5syg+zqQESJM9LG7+rTP0H+NsySFY2iE0M0WUNvS8Q0iMYtNGNapKhOByC6xWGQ7JfKjjUEitdcn5NWDTlDuShRUqifw6 /R2/x0DiW0saxw54hvfPAl8zr8hVbKD0018EhaaB524hii5/cflqkrG1R2kr3eGytXd2VhFYB0J9/MgizJhgH6OvtVaAl4AL52 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: 8059d537-4c81-415b-69a9-08dbabb4a7a4 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Sep 2023 13:00:59.7968 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ1PR11MB6249 Received-SPF: pass client-ip=40.92.18.11; envelope-from=one.last.kiss@outlook.com; helo=NAM11-CO1-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:268993 Archived-At: I wrote a function which runs each time Emacs collects garbage, so I=0A= added it to `post-gc-hook'.=0A= =0A= That function cares about the value of `gcs-done' and the value of=0A= `gc-elapsed'.=0A= But it seems that `gcs-done' is updated after `post-gc-hook' is=0A= executed?=0A= =0A= Is this an intended behavior? If so, I think the docstring of these=0A= variables (such as `gcs-done', `gc-elapsed', ...) need to clarify when=0A= the variable is updated.=0A= =0A= =0A= v29.1=