From: Jorge <jorge13515@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: "Pascal J. Bourguignon" <pjb@informatimago.com>, help-gnu-emacs@gnu.org
Subject: Re: How to customize an option to a dynamic value (computed by lisp form)
Date: Fri, 26 Aug 2016 16:02:27 -0300 [thread overview]
Message-ID: <CAJR3Qncjc3A_=eD-6FkYdN7M25cYT=uuy9uiVh7=wTW+tZN5nQ@mail.gmail.com> (raw)
In-Reply-To: <86785f1e-022c-4946-8a28-39c72eb26d5d@default>
On 26 August 2016 at 11:28, Drew Adams <drew.adams@oracle.com> wrote:
> You might want to `M-x report-emacs-bug'. It is for enhancement requests as
> well as bugs.
Yes, I may do that, but not now (I have other bugs to report).
> What does that mean? A variable has a single, static, literal value at any
> time.
https://en.wikipedia.org/wiki/Literal_(computer_programming)
See the following example C code, assuming that read_int is a function that
reads an integer from stdin:
const int answer = 42; // the answer to life the universe and everything
const int answer_sq = answer*answer;
const int age = read_int();
All three variables defined above are constants. However, only the first two
have values which can be known at compile time, and only the first one is
initialized to a literal (42).
I want to be able to customize the options mentioned in the original email to
values computed from other options, but I cannot. I can only initialize them
to literals.
--
• I am Brazilian. I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/
next prev parent reply other threads:[~2016-08-26 19:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-23 20:26 How to customize an option to a dynamic value (computed by lisp form) Jorge
2016-08-24 17:50 ` Pascal J. Bourguignon
2016-08-25 17:55 ` Jorge
2016-08-25 20:54 ` Drew Adams
2016-08-26 12:54 ` Jorge
2016-08-26 13:26 ` Jorge
2016-08-26 14:28 ` Drew Adams
2016-08-26 19:02 ` Jorge [this message]
2016-08-26 20:18 ` Jorge
2016-08-26 20:59 ` Drew Adams
2016-08-27 11:50 ` tomas
2016-08-30 20:42 ` Jorge
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJR3Qncjc3A_=eD-6FkYdN7M25cYT=uuy9uiVh7=wTW+tZN5nQ@mail.gmail.com' \
--to=jorge13515@gmail.com \
--cc=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=pjb@informatimago.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.