unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: monnier+gnu/emacs@rum.cs.yale.edu, emacs-devel@gnu.org
Subject: Re: lread.c's `values' variable
Date: 03 Nov 2002 02:19:06 +0100	[thread overview]
Message-ID: <5xr8e3lab9.fsf@kfs2.cua.dk> (raw)
In-Reply-To: <E187p0e-0004RA-00@fencepost.gnu.org>

Richard Stallman <rms@gnu.org> writes:

>     Does anybody know what is the `values' variable for (defined in lread.c) ?
> 
> See lisp-mode.el.

Yes, it uses (car values).

However, that doesn't explain why `values' needs to be a list of all
expressions "which were read, evaluated and printed".  Since it grows
without ever being truncated, it is a memory leak IMO.

AFAICS, a simple `last-value' variable would do just fine as a
replacement.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2002-11-03  1:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-31 19:55 lread.c's `values' variable Stefan Monnier
2002-11-02  3:31 ` Richard Stallman
2002-11-03  1:19   ` Kim F. Storm [this message]
2002-11-04 12:01     ` Richard Stallman
2002-11-05  0:08       ` Kim F. Storm
2002-11-06  4:50         ` Richard Stallman

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=5xr8e3lab9.fsf@kfs2.cua.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.org \
    --cc=monnier+gnu/emacs@rum.cs.yale.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).