From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: when does `gcs-done' is updated?
Date: Fri, 01 Sep 2023 16:19:04 +0300 [thread overview]
Message-ID: <83sf7yav5j.fsf@gnu.org> (raw)
In-Reply-To: <PH0PR11MB7470973CBC42A10A36B01646D7E4A@PH0PR11MB7470.namprd11.prod.outlook.com> (message from Shynur Xie on Fri, 1 Sep 2023 12:03:01 +0000)
> From: Shynur Xie <one.last.kiss@outlook.com>
> Date: Fri, 1 Sep 2023 12:03:01 +0000
> msip_labels:
>
> I wrote a function which runs each time Emacs collects garbage, so I
> added it to `post-gc-hook'.
>
> That function cares about the value of `gcs-done' and the value of
> `gc-elapsed'.
> But it seems that `gcs-done' is updated after `post-gc-hook' is executed?
>
> Is this an intended behavior? If so, I think the docstring of these
> variables (such as `gcs-done', `gc-elapsed', ...) need to clarify when
> the variable is updated.
This should be posted either to emacs-devel or as a bug report.
prev parent reply other threads:[~2023-09-01 13:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-01 12:03 when does `gcs-done' is updated? Shynur Xie
2023-09-01 13:19 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83sf7yav5j.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).