unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* face-remapping-alist client code
@ 2008-06-02 10:27 Miles Bader
  2008-06-02 10:42 ` David Reitter
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Miles Bader @ 2008-06-02 10:27 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 594 bytes --]

Attached is a small example of code using face-remapping-alist.

The file ("face-remap.el") contains a small set of utility functions for
making cooperative use of face-remapping-alist easier, and also contains
two example uses:

 (1) Face size increase/decrease commands (bound to C-= / C-+ and C--),
     similar to those in many GUI applications.

 (2) The `variable-pitch-mode' minor mode, which causes the
     `variable-pitch' face to be used for displaying the buffer text
     while active.  [I bind this to `C-c v']

Comments?

[If nobody objects, I'll commit this file too.]

-Miles


[-- Attachment #2: face-remap.el --]
[-- Type: application/emacs-lisp, Size: 8262 bytes --]

[-- Attachment #3: Type: text/plain, Size: 65 bytes --]


-- 
Success, n. The one unpardonable sin against one's fellows.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2008-06-02 20:23 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-02 10:27 face-remapping-alist client code Miles Bader
2008-06-02 10:42 ` David Reitter
2008-06-02 10:45   ` Miles Bader
2008-06-02 13:13 ` Miles Bader
2008-06-02 14:19 ` Drew Adams
2008-06-02 14:44   ` Miles Bader
2008-06-02 14:50     ` Miles Bader
2008-06-02 15:09     ` Juanma Barranquero
2008-06-02 15:22       ` Miles Bader
2008-06-02 15:28         ` David Kastrup
2008-06-02 18:55           ` Stefan Monnier
2008-06-02 20:23             ` Drew Adams
2008-06-02 15:39         ` Juanma Barranquero
2008-06-02 18:54         ` Stefan Monnier
2008-06-02 15:56     ` Drew Adams
2008-06-02 15:09 ` Chong Yidong

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