aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorXue Fuqiao2013-08-17 19:14:10 +0800
committerXue Fuqiao2013-08-17 19:14:10 +0800
commitab1006358f7e842451a3656ae4430ebdaa49518a (patch)
tree3929d017c15d44d5eb0714cc9d484a74c2bb0b02 /doc
parent38b4c7f8387a643b18d2aecae5e2b28042637338 (diff)
downloademacs-ab1006358f7e842451a3656ae4430ebdaa49518a.tar.gz
emacs-ab1006358f7e842451a3656ae4430ebdaa49518a.zip
* doc/lispref/modes.texi (SMIE, SMIE Grammar, SMIE Indentation): Add some indexes.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog2
-rw-r--r--doc/lispref/modes.texi6
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index fcf1d3340b1..723dc0cbedf 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,5 +1,7 @@
12013-08-17 Xue Fuqiao <xfq.free@gmail.com> 12013-08-17 Xue Fuqiao <xfq.free@gmail.com>
2 2
3 * modes.texi (SMIE, SMIE Grammar, SMIE Indentation): Add some indexes.
4
3 * text.texi (Maintaining Undo): Mention interactive call of 5 * text.texi (Maintaining Undo): Mention interactive call of
4 buffer-disable-undo. 6 buffer-disable-undo.
5 (Filling): Add cross-reference for hard newlines. 7 (Filling): Add cross-reference for hard newlines.
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index 59729380ea7..180fef7241d 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -3381,6 +3381,7 @@ of Lisp sexps and adapts it to non-Lisp languages.
3381 3381
3382@node SMIE 3382@node SMIE
3383@subsection Simple Minded Indentation Engine 3383@subsection Simple Minded Indentation Engine
3384@cindex SMIE
3384 3385
3385SMIE is a package that provides a generic navigation and indentation 3386SMIE is a package that provides a generic navigation and indentation
3386engine. Based on a very simple parser using an ``operator precedence 3387engine. Based on a very simple parser using an ``operator precedence
@@ -3548,6 +3549,8 @@ simply ignored.
3548 3549
3549@node SMIE Grammar 3550@node SMIE Grammar
3550@subsubsection Defining the Grammar of a Language 3551@subsubsection Defining the Grammar of a Language
3552@cindex SMIE grammar
3553@cindex grammar, SMIE
3551 3554
3552The usual way to define the SMIE grammar of a language is by 3555The usual way to define the SMIE grammar of a language is by
3553defining a new global variable that holds the precedence table by 3556defining a new global variable that holds the precedence table by
@@ -3623,6 +3626,8 @@ formally as left associative.
3623 3626
3624@node SMIE Lexer 3627@node SMIE Lexer
3625@subsubsection Defining Tokens 3628@subsubsection Defining Tokens
3629@cindex SMIE lexer
3630@cindex defining tokens, SMIE
3626 3631
3627SMIE comes with a predefined lexical analyzer which uses syntax tables 3632SMIE comes with a predefined lexical analyzer which uses syntax tables
3628in the following way: any sequence of characters that have word or 3633in the following way: any sequence of characters that have word or
@@ -3757,6 +3762,7 @@ surrounding text to find ad-hoc clues.
3757 3762
3758@node SMIE Indentation 3763@node SMIE Indentation
3759@subsubsection Specifying Indentation Rules 3764@subsubsection Specifying Indentation Rules
3765@cindex indentation rules, SMIE
3760 3766
3761Based on the provided grammar, SMIE will be able to provide automatic 3767Based on the provided grammar, SMIE will be able to provide automatic
3762indentation without any extra effort. But in practice, this default 3768indentation without any extra effort. But in practice, this default