emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs/etc NEWS


From: Chong Yidong
Subject: [Emacs-diffs] emacs/etc NEWS
Date: Mon, 24 Nov 2008 15:45:55 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/11/24 15:45:55

Modified files:
        etc            : NEWS 

Log message:
        Add NEWS entries for face-remap.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/etc/NEWS?cvsroot=emacs&r1=1.1936&r2=1.1937

Patches:
Index: NEWS
===================================================================
RCS file: /sources/emacs/emacs/etc/NEWS,v
retrieving revision 1.1936
retrieving revision 1.1937
diff -u -b -r1.1936 -r1.1937
--- NEWS        23 Nov 2008 06:23:28 -0000      1.1936
+++ NEWS        24 Nov 2008 15:45:54 -0000      1.1937
@@ -442,10 +442,17 @@
 *** New commands to change the default face size in the current buffer.
 To increase it, type `C-x C-+' or `C-x C-='.  To decrease it, type
 `C-x C--'.  To restore the default (global) face size, type `C-x C-0'.
-The final key of these commands may be repeated without the leading
-`C-x', so `C-x C-= C-= C-=' increases the face height by three steps.
-Each step scales the height of the default face by the value of the
-variable `text-scale-mode-step'.
+These work via Text Scale mode, a new minor mode.
+
+The final key in the above commands may be repeated without the
+leading `C-x', e.g. `C-x C-= C-= C-=' increases the face height by
+three steps.  Each step scales the height of the default face by the
+value of the variable `text-scale-mode-step'.
+
+*** The command `buffer-face-mode' prompts for a face name, and remaps
+the default face in the current buffer to that specified face.  The
+command `variable-pitch-mode' turns on Buffer Face mode for the
+`variable-pitch' face.
 
 ** Primary selection changes
 +++
@@ -1355,10 +1362,32 @@
 *** file-local-variables-alist stores an alist of file-local
 variables defined in the current buffer.
 
-** FIXME face-remap
+** Face-remapping
 
-** Process changes
-+++
+*** Each face can be remapped to a different face definition using the
+variable `face-remapping-alist'.  This is an alist that maps faces to
+replacement definitions (which can be face names, lists of face names,
+or attribute/value plists.  If this variable is buffer-local, the
+remapping occurs only in that buffer.
+
+*** text-scale-mode remaps the default face to a larger or smaller
+size in the current buffer. This feature is used by the Buffer Face
+menu and the new `C-x C-+', `C-x C--', and `C-x C-0' commands (see
+Editing Changes, above).
+
+*** New functions:
+
+**** `face-remap-add-relative' adds a face remapping entry to the
+current buffer.
+
+**** ``face-remap-remove-relative' removes a face remapping entry from
+the current buffer.
+
+**** `face-remap-reset-base' restores a face to its global definition.
+
+**** `face-remap-set-base' sets the base remapping of a face.
+
+** Process changes +++
 *** The new function `start-file-process' is similar to `start-process',
 but obeys file handlers.  The file handler is chosen based on
 `default-directory'.  The functions `start-file-process-shell-command'




reply via email to

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