From: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>
Cc: Stefan Monnier <monnier+gnu/emacs@rum.cs.yale.edu>
Subject: Re: Custom dependencies
Date: Sun, 06 Apr 2003 16:55:30 -0400 [thread overview]
Message-ID: <200304062055.h36KtUNd019785@rum.cs.yale.edu> (raw)
In-Reply-To: 84k7e9t05t.fsf@lucy.is.informatik.uni-duisburg.de
> >> > - The case where A is set to "the value of E" where E is a sexp
> >> > that refers to B. In such a case, the dependency is not part of
> >> > A but of A's current setting, so :set-after is not a good solution.
> >> > I don't know how custom could find out (or be told about) such
> >> > dependencies. OTOH, "what to do when B changes" is trivial to answer
> >> > this time.
> >>
> >> You mean that you could set next-screen-context-lines to `ten percent
> >> of the window height'? That doesn't make sense: it needs to be
> >
> > Custom currently allows such things.
>
> But how does Custom change the code that's used to *access* a
> variable?
You don't understand: the expression is evaluated once and for all
when setting the variable. Which is why dependencies might need to
be handled: to reset the var when things it refers to are changed.
Stefan
next prev parent reply other threads:[~2003-04-06 20:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <rzqvfxvh7wj.fsf@albion.dl.ac.uk>
[not found] ` <8465pvpnhy.fsf@lucy.is.informatik.uni-duisburg.de>
[not found] ` <rzqadf6fr4h.fsf@albion.dl.ac.uk>
2003-04-04 15:19 ` Custom dependencies (was: utf-translate-cjk-mode) Stefan Monnier
2003-04-04 19:42 ` Custom dependencies Kai Großjohann
2003-04-04 20:33 ` Stefan Monnier
2003-04-05 15:49 ` Kai Großjohann
2003-04-06 20:55 ` Stefan Monnier [this message]
2003-04-07 9:05 ` Kai Großjohann
2003-04-08 9:34 ` Custom dependencies (was: utf-translate-cjk-mode) Dave Love
2003-04-08 12:56 ` Custom dependencies Kai Großjohann
2003-04-08 18:35 ` Stefan Monnier
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200304062055.h36KtUNd019785@rum.cs.yale.edu \
--to=monnier+gnu/emacs@rum.cs.yale.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 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).