emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: bind faces?


From: Drew Adams
Subject: RE: bind faces?
Date: Sat, 13 May 2006 18:02:00 -0700

    Why exactly do you want to do this?

I thought I explained that. As an analogy to binding variables with `let'
and functions with `flet', we would bind faces. Why does anyone want to bind
variables and functions, as opposed to using `unwind-protect', assigning new
definitions, and restoring afterward?

    FWIW, you can do it very easily with my `face remapping' patch -- it
    ends up being just a normal `let' -- but that's [not?] part of Emacs
yet:
       (let ((face-remapping-alist
              (cons '(some-face . bold) face-remapping-alist)))
         (read-string "blah: "))

Sounds promising (though I'm not sure how it works or just what it does).
Never heard of it. Will it be in Emacs 22? 23? Where is it available in the
meantime?





reply via email to

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