[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to customize an option to a dynamic value (computed by lisp form
From: |
tomas |
Subject: |
Re: How to customize an option to a dynamic value (computed by lisp form) |
Date: |
Sat, 27 Aug 2016 13:50:58 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, Aug 26, 2016 at 01:59:00PM -0700, Drew Adams wrote:
> > > What does that mean? A variable has a single, static, literal value at
> > > any time.
>
> > https://en.wikipedia.org/wiki/Literal_(computer_programming)
>
> Which says:
>
> "In computer science, a literal is a _notation_ for _representing_
> a fixed value in source code."
I think you are talking past each other (i.e. both of you are right,
in a way :)
There are many "dynamic" options, at least in effect, as far as I
understand Jorge.
Of course, the option's *value* itself is expressed as a literal
and is static, but it is "something dynamic", like a function (think
hooks), an expression, a shell command to be called or some form
of "implicit expression" written in a custom mini-language (think
`c-offset-alist'.
The job of interpreting the option as dynamic lies with the "receiver"
of the option, i.e. with the function(s) *using* that option.
Typically wrapped in some function.
Does that help?
regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlfBfqIACgkQBcgs9XrR2kYfWgCeIdd6mMIZB/LfL7TX3NOnulX6
QRQAnirSlgGtsZM7Pe6s/m9sjeJLeSVm
=LpLJ
-----END PGP SIGNATURE-----
- How to customize an option to a dynamic value (computed by lisp form), Jorge, 2016/08/24
- Re: How to customize an option to a dynamic value (computed by lisp form), Pascal J. Bourguignon, 2016/08/24
- Re: How to customize an option to a dynamic value (computed by lisp form), Jorge, 2016/08/25
- RE: How to customize an option to a dynamic value (computed by lisp form), Drew Adams, 2016/08/25
- Re: How to customize an option to a dynamic value (computed by lisp form), Jorge, 2016/08/26
- Re: How to customize an option to a dynamic value (computed by lisp form), Jorge, 2016/08/26
- RE: How to customize an option to a dynamic value (computed by lisp form), Drew Adams, 2016/08/26
- Re: How to customize an option to a dynamic value (computed by lisp form), Jorge, 2016/08/26
- Re: How to customize an option to a dynamic value (computed by lisp form), Jorge, 2016/08/26
- RE: How to customize an option to a dynamic value (computed by lisp form), Drew Adams, 2016/08/26
- Re: How to customize an option to a dynamic value (computed by lisp form),
tomas <=
- Re: How to customize an option to a dynamic value (computed by lisp form), Jorge, 2016/08/30