[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-24 r117217: Doc tweaks re prettify-symbols-mode
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] emacs-24 r117217: Doc tweaks re prettify-symbols-mode |
Date: |
Sat, 07 Jun 2014 23:39:48 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117217
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: emacs-24
timestamp: Sat 2014-06-07 16:39:40 -0700
message:
Doc tweaks re prettify-symbols-mode
* doc/emacs/programs.texi (Prettifying Symbols): Remove node.
(Misc for Programs): Mention more briefly here.
* doc/emacs emacs.texi (Top): Update menu.
modified:
doc/emacs/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-6227
doc/emacs/emacs.texi emacs.texi-20091113204419-o5vbwnq5f7feedwu-6246
doc/emacs/programs.texi
programs.texi-20091113204419-o5vbwnq5f7feedwu-6272
=== modified file 'doc/emacs/ChangeLog'
--- a/doc/emacs/ChangeLog 2014-06-05 06:15:44 +0000
+++ b/doc/emacs/ChangeLog 2014-06-07 23:39:40 +0000
@@ -1,3 +1,9 @@
+2014-06-07 Glenn Morris <address@hidden>
+
+ * programs.texi (Prettifying Symbols): Remove node.
+ (Misc for Programs): Mention more briefly here.
+ * emacs.texi (Top): Update menu.
+
2014-06-05 Glenn Morris <address@hidden>
* package.texi (Package Menu, Package Installation):
=== modified file 'doc/emacs/emacs.texi'
--- a/doc/emacs/emacs.texi 2014-05-07 17:34:53 +0000
+++ b/doc/emacs/emacs.texi 2014-06-07 23:39:40 +0000
@@ -670,7 +670,6 @@
* Symbol Completion:: Completion on symbol names of your program or language.
* MixedCase Words:: Dealing with identifiersLikeThis.
* Semantic:: Suite of editing tools based on source code parsing.
-* Prettifying Symbols:: Display symbols as composed characters.
* Misc for Programs:: Other Emacs features useful for editing programs.
* C Modes:: Special commands of C, C++, Objective-C,
Java, IDL, Pike and AWK modes.
=== modified file 'doc/emacs/programs.texi'
--- a/doc/emacs/programs.texi 2014-04-29 14:45:24 +0000
+++ b/doc/emacs/programs.texi 2014-06-07 23:39:40 +0000
@@ -38,7 +38,6 @@
* Symbol Completion:: Completion on symbol names of your program or language.
* MixedCase Words:: Dealing with identifiersLikeThis.
* Semantic:: Suite of editing tools based on source code parsing.
-* Prettifying Symbols:: Display symbols as composed characters.
* Misc for Programs:: Other Emacs features useful for editing programs.
* C Modes:: Special commands of C, C++, Objective-C, Java,
IDL, Pike and AWK modes.
@@ -1434,37 +1433,6 @@
@xref{Top, Semantic,, semantic, Semantic}, for details.
@end ifnottex
address@hidden Prettifying Symbols
address@hidden Prettifying Symbols
address@hidden prettifying symbols
address@hidden symbol, prettifying
-
address@hidden and @code{global-prettify-symbols-mode}
-are two minor modes (@pxref{Minor Modes}) that can display specified
-symbols as composed characters. For instance, in Emacs Lisp mode
-(@pxref{Lisp Eval}), this mode will replace the string ``lambda'' with
-the Greek lambda character.
-
address@hidden prettify-symbols-mode
address@hidden prettify-symbols-alist
-When Prettify Symbols mode and Font Lock mode (@pxref{Font Lock}) are
-enabled, symbols are prettified (displayed as composed characters)
-according to the rules in @code{prettify-symbols-alist}, which are
-locally defined by major modes (@pxref{Major Modes}) supporting
-prettifying. To add further customizations for a given major mode,
-you can modify @code{prettify-symbols-alist}. For example:
-
address@hidden
-(add-hook 'emacs-lisp-mode-hook
- (lambda ()
- (push '("<=" . ?≤) prettify-symbols-alist)))
address@hidden example
-
address@hidden global-prettify-symbols-mode
-You can enable this mode locally in desired buffers, or use
address@hidden to enable it for all modes that
-support it.
-
@node Misc for Programs
@section Other Features Useful for Editing Programs
@@ -1512,6 +1480,17 @@
@xref{Top,,Autotyping, autotype, Autotyping}.
@end ifinfo
address@hidden prettify-symbols-mode
+ Prettify Symbols mode is a buffer-local minor mode that replaces
+certain strings with more ``attractive'' versions for display
+purposes. For example, in Emacs Lisp mode, it replaces the string
+``lambda'' with the Greek lambda character. You may wish to use this
+in non-programming modes as well. You can customize the mode by
+adding more entries to @code{prettify-symbols-alist}. There is also a
+global version, @code{global-prettify-symbols-mode}, which enables the
+mode in all buffers that support it.
+
+
@node C Modes
@section C and Related Modes
@cindex C mode
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-24 r117217: Doc tweaks re prettify-symbols-mode,
Glenn Morris <=