unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dave Love <d.love@dl.ac.uk>
Cc: bug-gnu-emacs@gnu.org, Luc Teirlinck <teirllm@dms.auburn.edu>
Subject: Re: the ...-unload-hook convention doesn't work
Date: Fri, 16 Jan 2004 00:23:28 +0000	[thread overview]
Message-ID: <rzqn08on3lr.fsf@albion.dl.ac.uk> (raw)
In-Reply-To: E1AflPL-0006RQ-0B@fencepost.gnu.org

Richard Stallman <rms@gnu.org> writes:

> It makes no sense to think about unload-feature in terms
> of the cl package.

I don't think that's actually true; it's just not worth the effort,
and isn't an issue when you follow the Emacs conventions.  (I did toy
with the idea of making it work.)

> However, the motive for unload-feature had to do with
> reclaiming memory.

It's also rather useful during development.

> With the other changes in size of machines,
> size of disks, and size of Emacs address space, maybe that is
> pointless.

Emacs memory requirements, coupled with its poor GC, are certainly
significant in the situations I typically use it.  That was even a
motivation for me working on the GC.  Since no one else appears to be
interested, I assume this doesn't apply to developers, but perhaps
they don't have a sufficiently wide perspective.  (I'm currently in 32
MB.)

As it happens, I do occasionally unload a Gnus feature which leaks.
That typically reduces the number of used conses from ~1M to ~300k and
means GC then doesn't typically thrash on my work system though it
leaves a lot of unused ones.

-- 
The ultimate computing slogan is "Your Mileage May Vary".
  -- Richard O' Keefe

  parent reply	other threads:[~2004-01-16  0:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-05 18:24 the ...-unload-hook convention doesn't work Luc Teirlinck
2004-01-06 14:33 ` Dave Love
2004-01-07 15:05   ` Richard Stallman
2004-01-09 14:39     ` Dave Love
2004-01-09 17:08       ` Luc Teirlinck
2004-01-11 19:37         ` Richard Stallman
2004-01-12 19:35           ` Kevin Rodgers
2004-01-16  0:23           ` Dave Love [this message]
     [not found]           ` <mailman.744.1074223463.928.bug-gnu-emacs@gnu.org>
2004-01-16  6:21             ` Simon Josefsson
2004-01-16 19:54               ` Richard Stallman
2004-01-17  2:22                 ` Simon Josefsson
2004-01-17  0:21               ` Dave Love
2004-01-12 15:23         ` Dave Love
2004-01-11 19:36       ` Richard Stallman
2004-01-16  0:18         ` Dave Love
2004-01-16 19:54           ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2004-01-05 15:01 Dave Love

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=rzqn08on3lr.fsf@albion.dl.ac.uk \
    --to=d.love@dl.ac.uk \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=teirllm@dms.auburn.edu \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).