[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Feature-request for Customize, delayed evaluation
From: |
Jonathan LF King |
Subject: |
Feature-request for Customize, delayed evaluation |
Date: |
Tue, 13 Jan 2004 17:23:10 -0500 (EST) |
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.
Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.
Dear Emacs
Often I'd like to customize a variable to a value making use of
another variable, e.g to set
outgoing-mail-file
to
(concat mail-dir (current-date) ".mail")
.
Currently, Customize evaluates this and sets `outgoing-mail-file' to
"~squash/Missives/13Jan2004.mail"
and ALSO puts that value in the .emacs file.
If, in a future session, I alter mail-dir, then outgoing-mail-file
will be wrong.
Request: Under the STATE button of Customize is the option
Save for Future Sessions
Would it be possible to have *two* options:
Save value for Future Sessions
and
Save expression for Future Sessions and evaluate now
The latter creates, in .emacs, this expression:
(custom-set-variables
...
'(outgoing-mail-file (concat mail-dir (current-date) ".mail") ...)
...
)
but immediately binds
outgoing-mail-file
to
"~squash/Missives/13Jan2004.mail".
Sincerely, -Prof. Jonathan King
PS: If you post a reply, I'd appreciate your CCing me as my
news-feed is unreliable. Thank you.
--
Prof. Jonathan LF King Mathematics dept, Univ. of Florida
<squash@math.ufl.edu>, <http://www.math.ufl.edu/~squash/>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Feature-request for Customize, delayed evaluation,
Jonathan LF King <=