diff options
author | Xue Fuqiao <xfq.free@gmail.com> | 2013-08-17 19:14:10 +0800 |
---|---|---|
committer | Xue Fuqiao <xfq.free@gmail.com> | 2013-08-17 19:14:10 +0800 |
commit | ab1006358f7e842451a3656ae4430ebdaa49518a (patch) | |
tree | 3929d017c15d44d5eb0714cc9d484a74c2bb0b02 /doc | |
parent | 38b4c7f8387a643b18d2aecae5e2b28042637338 (diff) | |
download | emacs-ab1006358f7e842451a3656ae4430ebdaa49518a.tar.gz |
* doc/lispref/modes.texi (SMIE, SMIE Grammar, SMIE Indentation): Add some indexes.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lispref/ChangeLog | 2 | ||||
-rw-r--r-- | doc/lispref/modes.texi | 6 |
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 @@ 2013-08-17 Xue Fuqiao <xfq.free@gmail.com> + * modes.texi (SMIE, SMIE Grammar, SMIE Indentation): Add some indexes. + * text.texi (Maintaining Undo): Mention interactive call of buffer-disable-undo. (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. @node SMIE @subsection Simple Minded Indentation Engine +@cindex SMIE SMIE is a package that provides a generic navigation and indentation engine. Based on a very simple parser using an ``operator precedence @@ -3548,6 +3549,8 @@ simply ignored. @node SMIE Grammar @subsubsection Defining the Grammar of a Language +@cindex SMIE grammar +@cindex grammar, SMIE The usual way to define the SMIE grammar of a language is by defining a new global variable that holds the precedence table by @@ -3623,6 +3626,8 @@ formally as left associative. @node SMIE Lexer @subsubsection Defining Tokens +@cindex SMIE lexer +@cindex defining tokens, SMIE SMIE comes with a predefined lexical analyzer which uses syntax tables in the following way: any sequence of characters that have word or @@ -3757,6 +3762,7 @@ surrounding text to find ad-hoc clues. @node SMIE Indentation @subsubsection Specifying Indentation Rules +@cindex indentation rules, SMIE Based on the provided grammar, SMIE will be able to provide automatic indentation without any extra effort. But in practice, this default |