unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: jpw@pobox.com (John Paul Wallington)
To: help-gnu-emacs@gnu.org
Subject: Re: defadvice on garbage-collect doesnt work?
Date: Wed, 14 Mar 2007 00:57:47 +0000	[thread overview]
Message-ID: <ubqiw1w1g.fsf@LEM.SHOOTYBANGBANG.COM> (raw)
In-Reply-To: mailman.900.1173821943.7795.help-gnu-emacs@gnu.org

joakim@verona.se writes:

> I would like to use the information returned by (garbage-collect) but
> it doesnt seem right to do a garbage collect everytime the modeline is
> displayed, therefore i would like to store the values calculated by
> the last gc in a variable:

How about sticking something to collect information on `post-gc-hook',
the hook run after garbage collection has finished ?

       reply	other threads:[~2007-03-14  0:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.900.1173821943.7795.help-gnu-emacs@gnu.org>
2007-03-14  0:57 ` John Paul Wallington [this message]
2007-03-14  7:08   ` defadvice on garbage-collect doesnt work? Tim X
2007-03-14 23:45     ` Oliver Scholz
2007-03-14 23:51     ` joakim
2007-03-13 21:37 joakim

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=ubqiw1w1g.fsf@LEM.SHOOTYBANGBANG.COM \
    --to=jpw@pobox.com \
    --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).