Mercurial > emacs
annotate oldXMenu/README @ 111232:a9904c1962db
SMIE: change indent rules format, improve smie-setup.
* lisp/emacs-lisp/smie.el (smie-precs-precedence-table)
(smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
Mark them pure so the tables gets built at compile time.
(smie-bnf-precedence-table): Store the closer-alist in the table.
(smie-prec2-levels): Preserve the closer-alist.
(smie-blink-matching-open): Be more forgiving in case of indentation.
(smie-hanging-p): Rename from smie-indent--hanging-p.
(smie-bolp): Rename from smie-indent--bolp.
(smie--parent, smie--after): New dynamic vars.
(smie-parent-p, smie-next-p, smie-prev-p): New funs.
(smie-indent-rules): Remove.
(smie-indent--offset-rule): Remove fun.
(smie-rules-function): New var.
(smie-indent--rule): New fun.
(smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
(smie-indent-exps): Use it.
(smie-setup): Setup paren blinking; add keyword args for token
functions; extract closer-alist from op-levels.
(smie-indent-debug-log): Remove var.
(smie-indent-debug): Remove fun.
* lisp/progmodes/prolog.el (prolog-smie-indent-rules): Remove.
(prolog-smie-rules): New fun to replace it.
(prolog-mode-variables): Simplify.
* lisp/progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
it's setup automatically.
(octave-smie-indent-rules): Remove.
(octave-smie-rules): New fun to replace it.
(octave-mode): Simplify.
| author | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| date | Fri, 29 Oct 2010 15:20:28 -0400 |
| parents | b6efdc75a68e |
| children |
| rev | line source |
|---|---|
| 76134 | 1 Most of the files in this directory are originally from the X11R2 |
| 76185 | 2 XMenu library, distributed by MIT under the terms in the file copyright.h. |
| 25858 | 3 |
| 4 As of Release 2 of the X Window System, Version 11 from MIT, the XMenu | |
| 76134 | 5 library is no longer supported. It is not used in any software |
| 6 supplied by MIT and its use is not encouraged. | |
| 7 | |
| 8 In X11R1, oldXMenu/ was found in the lib/ directory of the X11 source; | |
| 9 but in X11R2 it was moved to contrib/. | |
| 10 | |
| 11 The following files are from the X11 oldXMenu/ directory: | |
| 25858 | 12 |
| 76134 | 13 Activate.c AddPane.c AddSel.c ChgPane.c ChgSel.c Create.c DelPane.c |
| 14 DelSel.c Destroy.c Error.c EvHand.c FindPane.c FindSel.c InsPane.c | |
| 15 InsSel.c Internal.c Locate.c Post.c Recomp.c SetAEQ.c SetFrz.c | |
| 16 SetPane.c SetSel.c XMenu.h XMenuInt.h (renamed from "XMenuInternal.h") | |
| 17 | |
| 18 The following files are from the X11 oldX/ directory: | |
| 19 | |
| 20 X10.h XCrAssoc.c XDelAssoc.c XDestAssoc.c XLookAssoc.c XMakeAssoc.c | |
| 21 | |
| 22 This code is used by Emacs in the absence of an X-toolkit. |
