From: Richard Stallman <rms@gnu.org>
Cc: monnier+gnu/emacs@rum.cs.yale.edu, emacs-devel@gnu.org
Subject: Re: lread.c's `values' variable
Date: Tue, 05 Nov 2002 23:50:24 -0500 [thread overview]
Message-ID: <E189I92-00058A-00@fencepost.gnu.org> (raw)
In-Reply-To: <5x65vcri83.fsf@kfs2.cua.dk> (storm@cua.dk)
Has anyone ever needed to look at that list?
Isn't the information typically found in the *Messages* buffer, in the
command history, or in the buffer where you evalled the expression
(e.g. *scratch*).
The printed representation would be found there, but at least in theory
one could want to get at the actual Lisp object (to see if it is eq
to something else, for instance, or to modify it).
At present we don't have any convenient way to access it except to do
(nth N values). And that has the inconvenience that the index of any
object changes by 1 each time you evaluate something.
It is quite obvious that functions can only really look at the car of
that list.
To make `values' conveniently useful, it would be nice to have an
interface that would show you the printed reps of the elements of the
list in a menu, let you select one of the values, and put it into some
other variable, without changing the value of `values'. This is far
from the most important feature to add to Emacs, and I wouldn't spend
time on it myself. But maybe someone would like to do it.
prev parent reply other threads:[~2002-11-06 4:50 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
2002-11-04 12:01 ` Richard Stallman
2002-11-05 0:08 ` Kim F. Storm
2002-11-06 4:50 ` Richard Stallman [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=E189I92-00058A-00@fencepost.gnu.org \
--to=rms@gnu.org \
--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).