From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/14577 Path: main.gmane.org!not-for-mail From: Hallvard B Furuseth Newsgroups: gmane.emacs.gnus.general Subject: Re: Why can't `gnus-draft-setup' be bytecompiled? Date: 14 Mar 1998 04:11:29 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035153746 17010 80.91.224.250 (20 Oct 2002 22:42:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:42:26 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id TAA07781 for ; Fri, 13 Mar 1998 19:18:28 -0800 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by xemacs.org (8.8.5/8.8.5) with ESMTP id VAA12219 for ; Fri, 13 Mar 1998 21:13:00 -0600 (CST) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id VAN11106; Fri, 13 Mar 1998 21:48:02 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 13 Mar 1998 21:11:51 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id VAA20910 for ; Fri, 13 Mar 1998 21:11:43 -0600 (CST) Original-Received: (qmail 8207 invoked by uid 504); 14 Mar 1998 03:11:33 -0000 Original-Received: (qmail 8204 invoked from network); 14 Mar 1998 03:11:33 -0000 Original-Received: from mons.uio.no (HELO mons) (6089@129.240.130.14) by claymore.vcinet.com with SMTP; 14 Mar 1998 03:11:32 -0000 Original-Received: from bombur2.uio.no (actually bombur2.uio.no [129.240.200.72]) by mons with SMTP (PP); Sat, 14 Mar 1998 04:11:30 +0100 Original-Received: by bombur2.uio.no ; Sat, 14 Mar 1998 04:11:29 +0100 (MET) Original-To: ding@gnus.org In-Reply-To: Hrvoje Niksic's message of "10 Mar 1998 00:19:27 +0100" Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:14577 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:14577 Hrvoje Niksic writes: > You will note that `gnus-setup-message' makes use of uninterned > symbols to make macro execution safe. While this method works in the > interpreter, it fails for compile code because the reader interns the > symbols in the obarray. In practice, this means that the byte-compiled version reserves these variable names (so they may not be used outside this macr), and uses them directly without make-symbol. That should be OK unless the macro can give these variables as arguments to another instance of itself. > This has been fixed by introducing the `#:' gensym syntax and making > the byte-compiler emit it by default. FSFmacs 20 contains the same > fix, courtesy Erik Naggum. A hack which works in emacs19 as well is to replace (make-symbol "foo") with (gensym "foo"). It appends a unique-per-session number to "foo" and then does make-symbol. -- Hallvard