Mercurial > emacs
view nextstep/FOR-RELEASE @ 108797:d674108e8753
Provide hooks to use a different tokenizer in SMIE.
* lisp/emacs-lisp/smie.el (smie-forward-token-function)
(smie-backward-token-function): New vars.
(smie-backward-sexp, smie-forward-sexp)
(smie-indent-hanging-p, smie-indent-calculate): Use them.
(smie-default-backward-token): Rename from smie-backward-token and
skip comments.
(smie-default-forward-token): Rename from smie-forward-token and
skip comments.
(smie-next-sexp): Handle nil results from next-token.
(smie-indent-calculate): Add a new case for special `fixindent' comments.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 27 May 2010 00:41:36 -0400 |
parents | fe774839a58c |
children |
line wrap: on
line source
-*- outline -*- * CURSOR BUGS: ** (mouse-avoidance-mode 'banish) then minimize Emacs, will pop window back up on top of all others * OTHER BUGS ** free_frame_resources, face colors ** numeric keysetting bug ** http://debbugs.gnu.org/ns * MAC-RELATED: ** open file:/// URLs ** put frame autopositioning into C code somewhere -- if loc = same, offset ** automap ctrl-mouse-1 to mouse-3 ** deal with Finder aliases somehow ** Ctrl-F2 won't pull up menus * OTHER / LOW PRIORITY: ** better recog of unicode scripts / Greek / composition ** Exec-dump not working on GNUstep (so slow startup). ** undo for color-drag face customization