From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: lread.c's `values' variable Date: Tue, 05 Nov 2002 23:50:24 -0500 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200210311955.g9VJtMN31048@rum.cs.yale.edu> <5xr8e3lab9.fsf@kfs2.cua.dk> <5x65vcri83.fsf@kfs2.cua.dk> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1036560677 16902 80.91.224.249 (6 Nov 2002 05:31:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 6 Nov 2002 05:31:17 +0000 (UTC) Cc: monnier+gnu/emacs@rum.cs.yale.edu, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 189Im8-0004Mr-00 for ; Wed, 06 Nov 2002 06:30:48 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 189IuT-0008Eh-00 for ; Wed, 06 Nov 2002 06:39:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 189IhD-0005DE-00; Wed, 06 Nov 2002 00:25:43 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 189I96-0004ho-00 for emacs-devel@gnu.org; Tue, 05 Nov 2002 23:50:28 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 189I93-0004hH-00 for emacs-devel@gnu.org; Tue, 05 Nov 2002 23:50:27 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10) id 189I92-0004hA-00 for emacs-devel@gnu.org; Tue, 05 Nov 2002 23:50:24 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 189I92-00058A-00; Tue, 05 Nov 2002 23:50:24 -0500 Original-To: storm@cua.dk In-reply-to: <5x65vcri83.fsf@kfs2.cua.dk> (storm@cua.dk) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9157 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9157 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.