From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) Newsgroups: gmane.emacs.devel Subject: Re: optimizing defconst Date: Mon, 29 Oct 2007 15:19:31 +0100 Message-ID: References: <200710271747.l9RHlQ53020242@oogie-boogie.ics.uci.edu> <200710280228.l9S2Sldn002915@oogie-boogie.ics.uci.edu> <87fxzumc4x.fsf@kfs-lx.testafd.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1193673957 1608 80.91.229.12 (29 Oct 2007 16:05:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Oct 2007 16:05:57 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 29 17:05:59 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ImX7m-0004g7-6K for ged-emacs-devel@m.gmane.org; Mon, 29 Oct 2007 17:05:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImX7c-0003ae-OO for ged-emacs-devel@m.gmane.org; Mon, 29 Oct 2007 12:05:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ImX7O-0003HO-Nz for emacs-devel@gnu.org; Mon, 29 Oct 2007 12:05:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ImX7J-0003Ab-Ll for emacs-devel@gnu.org; Mon, 29 Oct 2007 12:05:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImX7J-00039T-3g for emacs-devel@gnu.org; Mon, 29 Oct 2007 12:05:29 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ImVSx-0007mQ-6S for emacs-devel@gnu.org; Mon, 29 Oct 2007 10:19:43 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ImVSv-0001e1-4N for emacs-devel@gnu.org; Mon, 29 Oct 2007 14:19:41 +0000 Original-Received: from remote1.student.chalmers.se ([129.16.29.79]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Oct 2007 14:19:41 +0000 Original-Received: from bojohan+news by remote1.student.chalmers.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Oct 2007 14:19:41 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 15 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: remote1.student.chalmers.se Mail-Copies-To: never User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:Fngythm2J2sZ9Eky425MI/Kldz4= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:82076 Archived-At: storm@cua.dk (Kim F. Storm) writes: > What about an option to make a constant read-only, something like (if (featurep 'xemacs) (defvaralias 'viper-xemacs-p t) (defvaralias 'viper-xemacs-p nil)) (setq viper-xemacs-p t) => Attempt to set a constant symbol: viper-xemacs-p :) -- Johan Bockgård