From: Noam Postavsky <npostavs@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: defconst risky-local (WAS: Question about defcustom and load-history)
Date: Mon, 6 May 2019 18:57:17 -0400 [thread overview]
Message-ID: <CAM-tV-_7Pg07A1Ux_mTCp-L5Tj0JCEB+m4RF0M9GVCrofCE+7Q@mail.gmail.com> (raw)
In-Reply-To: <jwvv9ynim44.fsf-monnier+emacs@gnu.org>
On Mon, 6 May 2019 at 12:38, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> @@ -827,19 +839,12 @@ usage: (defconst SYMBOL INITVALUE [DOCSTRING]) */)
> - Fset_default (sym, tem);
> - Fput (sym, Qrisky_local_variable, Qt);
> + Fset_default (sym, tem); /* FIXME: set-default-toplevel-value? */
> + Fput (sym, Qrisky_local_variable, Qt); /* FIXME: Why? */
I would guess the risky-local-variable thing is because defconst
variables would generally not be expected to be changed, file-locally
or otherwise (though nothing stops it from happening).
next parent reply other threads:[~2019-05-06 22:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CABczVweJp1PaseSXD6QZseym4uvpijrnqb6D-q6vSTOPDMUgvA@mail.gmail.com>
[not found] ` <87r2anzfbk.fsf@gnu.org>
[not found] ` <jwv8swvzddp.fsf-monnier+emacs@gnu.org>
[not found] ` <CABczVwdz4VjwYhP8_Q3g2X_6o_YBaQ82OuSg4L4pTmQG8GuAsA@mail.gmail.com>
[not found] ` <jwvv9ynim44.fsf-monnier+emacs@gnu.org>
2019-05-06 22:57 ` Noam Postavsky [this message]
2019-05-07 0:51 ` defconst risky-local Stefan Monnier
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=CAM-tV-_7Pg07A1Ux_mTCp-L5Tj0JCEB+m4RF0M9GVCrofCE+7Q@mail.gmail.com \
--to=npostavs@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).