From: bojohan+news@dd.chalmers.se (Johan Bockgård)
To: emacs-devel@gnu.org
Subject: Re: optimizing defconst
Date: Mon, 29 Oct 2007 15:19:31 +0100 [thread overview]
Message-ID: <yoijr6jet34c.fsf@remote1.student.chalmers.se> (raw)
In-Reply-To: 87fxzumc4x.fsf@kfs-lx.testafd.dk
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
next prev parent reply other threads:[~2007-10-29 14:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-27 17:47 optimizing defconst Dan Nicolaescu
2007-10-27 20:32 ` Stefan Monnier
2007-10-28 2:28 ` Dan Nicolaescu
2007-10-29 0:11 ` Richard Stallman
2007-10-29 10:46 ` Kim F. Storm
2007-10-29 11:08 ` Juanma Barranquero
2007-10-29 14:19 ` Johan Bockgård [this message]
2007-10-29 16:25 ` Davis Herring
2007-10-30 2:14 ` Richard Stallman
2007-10-27 20:44 ` John Paul Wallington
2007-10-27 21:17 ` Kim F. Storm
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=yoijr6jet34c.fsf@remote1.student.chalmers.se \
--to=bojohan+news@dd.chalmers.se \
--cc=emacs-devel@gnu.org \
/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).