unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Feature-request for Customize, delayed evaluation
@ 2004-01-13 22:23 Jonathan LF King
  0 siblings, 0 replies; only message in thread
From: Jonathan LF King @ 2004-01-13 22:23 UTC (permalink / raw)


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/>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-01-13 22:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-13 22:23 Feature-request for Customize, delayed evaluation Jonathan LF King

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