[Top][All Lists]

[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 address@hidden 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

 (concat mail-dir (current-date) ".mail")

Currently, Customize evaluates this and sets `outgoing-mail-file' to 
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
        Save expression for Future Sessions and evaluate now

The latter creates, in .emacs, this expression:

   '(outgoing-mail-file (concat mail-dir (current-date) ".mail") ...)

but immediately binds 


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
<address@hidden>,         <http://www.math.ufl.edu/~squash/>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]