all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: squash@math.ufl.edu (Jonathan LF King)
Subject: Feature-request for Customize, delayed evaluation
Date: Tue, 13 Jan 2004 17:23:10 -0500 (EST)	[thread overview]
Message-ID: <200401132223.i0DMNAl15921@ottawa.math.ufl.edu> (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/>

                 reply	other threads:[~2004-01-13 22:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200401132223.i0DMNAl15921@ottawa.math.ufl.edu \
    --to=squash@math.ufl.edu \
    /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.