From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: bind faces?
Date: Sun, 14 May 2006 11:43:23 -0700 [thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICOEAPDGAA.drew.adams@oracle.com> (raw)
In-Reply-To: <877j4oqz4t.fsf-monnier+emacs@gnu.org>
> If I understand Stefan's point, it is that redisplay does not
> automatically occur just because you've made a face binding
> and changed some text
> properties.
Yes, Emacs does redisplay automatically, but not while executing Lisp.
Only when all execution is done and the control comes back to
the toplevel.
So in my example, the redisplay takes place after the `let' is finished.
But even if you force redisplay within the `let', that doesn't
mean that it
won't be done again later (maybe because you (de)iconify windows, ...).
In that case, would you want the subsequent auto-redisplay to take the
let-face into account or is it OK if it reverts the display to
the default definition of the face?
If I understand the problem/question, I'd say that any (re-)display
(explicit by program, automatic, or provoked by user action such as
iconification) after the let is finished (outside its scope) should show the
original face, not the face as bound inside the let. And any redisplay (no
matter how initiated) while the let is in effect should show the face as
bound inside the let.
I suspect I might be missing the point of your question, however. If so,
perhaps you can detect what I'm missing and let me know.
prev parent reply other threads:[~2006-05-14 18:43 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-13 17:54 bind faces? Drew Adams
2006-05-13 18:07 ` Chong Yidong
2006-05-13 19:40 ` Drew Adams
2006-05-14 2:39 ` Richard Stallman
2006-05-14 0:52 ` Miles Bader
2006-05-14 1:02 ` Drew Adams
2006-05-14 2:16 ` Miles Bader
2006-05-14 3:13 ` Drew Adams
2006-05-14 4:10 ` David Kastrup
2006-05-14 2:33 ` Miles Bader
2006-05-14 13:17 ` Stefan Monnier
2006-05-14 14:32 ` Drew Adams
2006-05-14 14:46 ` Miles Bader
2006-05-14 16:13 ` Drew Adams
2006-05-14 17:49 ` Stefan Monnier
2006-05-14 18:43 ` Drew Adams [this message]
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=DNEMKBNJBGPAOPIJOOICOEAPDGAA.drew.adams@oracle.com \
--to=drew.adams@oracle.com \
/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.