diff options
| -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 @@ | |||
| 1 | 2013-08-17 Xue Fuqiao <xfq.free@gmail.com> | 1 | 2013-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 | ||
| 3385 | SMIE is a package that provides a generic navigation and indentation | 3386 | SMIE is a package that provides a generic navigation and indentation |
| 3386 | engine. Based on a very simple parser using an ``operator precedence | 3387 | engine. 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 | ||
| 3552 | The usual way to define the SMIE grammar of a language is by | 3555 | The usual way to define the SMIE grammar of a language is by |
| 3553 | defining a new global variable that holds the precedence table by | 3556 | defining 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 | ||
| 3627 | SMIE comes with a predefined lexical analyzer which uses syntax tables | 3632 | SMIE comes with a predefined lexical analyzer which uses syntax tables |
| 3628 | in the following way: any sequence of characters that have word or | 3633 | in 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 | ||
| 3761 | Based on the provided grammar, SMIE will be able to provide automatic | 3767 | Based on the provided grammar, SMIE will be able to provide automatic |
| 3762 | indentation without any extra effort. But in practice, this default | 3768 | indentation without any extra effort. But in practice, this default |