all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: emacs-devel@gnu.org
Subject: face-remapping-alist client code
Date: Mon, 02 Jun 2008 06:27:44 -0400	[thread overview]
Message-ID: <611w3gcesf.fsf@fencepost.gnu.org> (raw)

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

             reply	other threads:[~2008-06-02 10:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-02 10:27 Miles Bader [this message]
2008-06-02 10:42 ` face-remapping-alist client code 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

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=611w3gcesf.fsf@fencepost.gnu.org \
    --to=miles@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.