# HG changeset patch
# User Uwe Brauer <[email protected]>
# Date 1473420883 0
#      Fri Sep 09 11:34:43 2016 +0000
# Node ID 19350016f7cdbe183338791ed06cf69fcf83a478
# Parent  73ba0ee18b563b68138c96dd12fd04bc59145520
doc/auctex.texi: modify inf about prettifying at inf about font-latex-fontify-script

diff --git a/doc/auctex.texi b/doc/auctex.texi
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -164,7 +164,7 @@
 * Folding::                     Folding Macros and Environments
 * Outline::                     Outlining the Document
 * Narrowing::                   Restricting display and editing to a portion of the buffer
-* Prettifying::                 Displaying Greek and math macros as Unicode characters
+* Prettifying::                 Displaying Greek and math macros as Unicode characters including super and subscripts 
 
 Font Locking
 
@@ -1819,7 +1819,7 @@
 * Folding::                     Folding Macros and Environments
 * Outline::                     Outlining the Document
 * Narrowing::                   Restricting display and editing to a portion of the buffer
-* Prettifying::                 Displaying Greek and math macros as Unicode characters
+* Prettifying::                 Displaying Greek and math macros as Unicode characters including super and subscripts 
 @end menu
 
 @node Font Locking
@@ -2589,7 +2589,17 @@
 Emacs 25 is able to prettify symbols in programming language buffers,
 @pxref{Misc for Programs,,,emacs,GNU Emacs Manual}.  The canonical
 example is to display @code{(lambda () ...)} as @code{(λ () ...)} in
-Lisp buffers.
+Lisp buffers. Such a functionality was/is provided by x-symbol for
+Xemacs a long time so Xemacs, x-symbol users will feel at home. There
+is however an important difference, x-symbol translated the TeX macros
+to some internal chars, which were then displayed by special designed
+fonts. This lead to problems with various filling functions, slowed down
+Xemacs and resulted sometimes in data corruption, however prettified
+symbols could be deleted simply by delete or backspace. Emacs 25 uses an
+entirely different approach relying on overlays. That makes prettifying
+much faster and does not result in data corruption, however deleting
+prettified symbols cannot be done by simply hitting delete or backspace,
+one must use @code{kill-word} or @code{backward-kill-word}.
 
 @AUCTeX{} can use this feature in order to display certain math macros
 and greek letters using their Unicode representation, too.  For example,
@@ -2607,6 +2617,12 @@
 that this variable is part of Emacs' stock @code{tex-mode.el} and used
 by that and @AUCTeX{}.
 
+In addition you can configure Emacs so that the «^» and «_» in sub and
+superscripts are not displayed. Strictly speaking this is not a feature
+of @code{global-prettify-symbols-mode} nor of @AUCTeX{} but it enhances
+the «WYSIWYG» feeling. To enable that feature you have to set the
+variable @font-latex-fontify-script{} to ‘invisible’.
+
 @node Processing
 @chapter Starting Processors, Viewers and Other Programs
 

_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to