From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Kim F. Storm" <storm@cua.dk>
Cc: Dan Nicolaescu <dann@ics.uci.edu>,
emacs-devel@gnu.org, rms@gnu.org, monnier@iro.umontreal.ca
Subject: Re: optimizing defconst
Date: Mon, 29 Oct 2007 12:08:43 +0100 [thread overview]
Message-ID: <f7ccd24b0710290408w7e4831e1s3b4713e9d17de757@mail.gmail.com> (raw)
In-Reply-To: <87fxzumc4x.fsf@kfs-lx.testafd.dk>
On 10/29/07, Kim F. Storm <storm@cua.dk> wrote:
> What about an option to make a constant read-only, something like
>
> (defconst ...
> :read-only t)
Two years ago there was some discussion, but Richard said he doesn't
want to add real constants because they are of no benefit:
"I don't want to introduce defining of `real constants' in Emacs. It
would be added complexity that we don't need, and that as far as I can
see does not serve a purpose."
"The question here is, `How will they help make Emacs better to edit with?'"
That said, Stefan had some quite interesting comments about constants
and non-mutable strings.
Juanma
next prev parent reply other threads:[~2007-10-29 11:08 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 [this message]
2007-10-29 14:19 ` Johan Bockgård
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=f7ccd24b0710290408w7e4831e1s3b4713e9d17de757@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=dann@ics.uci.edu \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=rms@gnu.org \
--cc=storm@cua.dk \
/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).