unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* defconst -> risky-local-variable
@ 2006-11-06 10:10 Juanma Barranquero
  2006-11-06 21:00 ` Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: Juanma Barranquero @ 2006-11-06 10:10 UTC (permalink / raw)


Shouldn't the docs for `defconst' mention (either in the docstring,
the Emacs Lisp Reference, or both) that it sets the SYMBOL's
risky-local-variable property to t?

-- 
                    /L/e/k/t/u

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: defconst -> risky-local-variable
  2006-11-06 10:10 defconst -> risky-local-variable Juanma Barranquero
@ 2006-11-06 21:00 ` Richard Stallman
  2006-11-06 22:14   ` Juanma Barranquero
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Stallman @ 2006-11-06 21:00 UTC (permalink / raw)
  Cc: emacs-devel

    Shouldn't the docs for `defconst' mention (either in the docstring,
    the Emacs Lisp Reference, or both) that it sets the SYMBOL's
    risky-local-variable property to t?

No, that is an implementation detail.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: defconst -> risky-local-variable
  2006-11-06 21:00 ` Richard Stallman
@ 2006-11-06 22:14   ` Juanma Barranquero
  2006-11-08  4:17     ` Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: Juanma Barranquero @ 2006-11-06 22:14 UTC (permalink / raw)
  Cc: emacs-devel

On 11/6/06, Richard Stallman <rms@gnu.org> wrote:

>> that it sets the SYMBOL's risky-local-variable property to t?

> No, that is an implementation detail.

Curious. In general, risky-local-variable is a feature, not an
implementation detail; and setting risky-local-variable for a defconst
isn't really necessary (implementation-wise). So I guess I don't
understand the rationale.

                    /L/e/k/t/u

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: defconst -> risky-local-variable
  2006-11-06 22:14   ` Juanma Barranquero
@ 2006-11-08  4:17     ` Richard Stallman
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2006-11-08  4:17 UTC (permalink / raw)
  Cc: emacs-devel

    Curious. In general, risky-local-variable is a feature, not an
    implementation detail; and setting risky-local-variable for a defconst
    isn't really necessary (implementation-wise). So I guess I don't
    understand the rationale.

We don't need to document all the details of what might put on that
property.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-11-08  4:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-06 10:10 defconst -> risky-local-variable Juanma Barranquero
2006-11-06 21:00 ` Richard Stallman
2006-11-06 22:14   ` Juanma Barranquero
2006-11-08  4:17     ` Richard Stallman

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).