From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: User-reserved element in byte code vectors Date: 02 May 2004 15:54:09 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <85k7036eqr.fsf@junk.nocrew.org> <85smepfzqo.fsf@junk.nocrew.org> <85ad0wfkms.fsf_-_@junk.nocrew.org> <85oepcdts4.fsf_-_@junk.nocrew.org> <85vfjf9s4j.fsf@junk.nocrew.org> <85pt9m8xkp.fsf@junk.nocrew.org> <85llka8w91.fsf@junk.nocrew.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083528253 4875 80.91.224.253 (2 May 2004 20:04:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 May 2004 20:04:13 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun May 02 22:04:04 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BKNC0-0003Z0-00 for ; Sun, 02 May 2004 22:04:04 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BKNC0-0007Yj-00 for ; Sun, 02 May 2004 22:04:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BKN7m-0002Lf-Oy for emacs-devel@quimby.gnus.org; Sun, 02 May 2004 15:59:42 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BKN75-0002Ed-DO for emacs-devel@gnu.org; Sun, 02 May 2004 15:58:59 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BKN6W-0001sY-5W for emacs-devel@gnu.org; Sun, 02 May 2004 15:58:55 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1BKN6V-0001im-Rm for emacs-devel@gnu.org; Sun, 02 May 2004 15:58:23 -0400 Original-Received: from [206.47.199.164] (helo=simmts6-srv.bellnexxia.net) by mx20.gnu.org with esmtp (Exim 4.30) id 1BKN2R-00045a-AB for emacs-devel@gnu.org; Sun, 02 May 2004 15:54:11 -0400 Original-Received: from empanada.local ([67.71.116.192]) by simmts6-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040502195408.USPB8424.simmts6-srv.bellnexxia.net@empanada.local>; Sun, 2 May 2004 15:54:08 -0400 Original-Received: by empanada.local (Postfix, from userid 502) id 54D5017394C; Sun, 2 May 2004 15:54:10 -0400 (EDT) Original-To: Lars Brinkhoff In-Reply-To: <85llka8w91.fsf@junk.nocrew.org> Original-Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22561 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22561 >> > No, that's not necessary. As long as the first six element in the >> > byte code object are as Emacs expects them to be, anything can be >> > stuffed into additional elements. At least in GNU Emacs 20.7, >> > 21.3, and CVS. >> But then how does your bytecode access this 7th element? > Yes, that's a problem. I don't think there is a way. Heh? Do you mean to say that "your way" has the downside that it plain does not work? I thought you already had it implemented. > Something would have to be invented for this to work. > Miles Bader said something about using the 7th element for closures, > but I don't know the details. Well, there are two questions: - how best to implement closures, given the current Emacs C code. - how best to implement closures, assuming we get to change the C code. I'm talking about the first question. Miles's work is within the context of the second. Stefan