Mercurial > emacs
view leim/CXTERM-DIC/QJ.tit @ 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 | 04f23eb0c0ca |
children | 07774e5c3ff5 f1196eda45a0 ef719132ddfa |
line wrap: on
line source
# HANZI input table for cxterm # To be used by cxterm, convert me to .cit format first # .cit version 2 ENCODE: GB AUTOSELECT: YES PROMPT: ºº×ÖÊäÈë¡ËÈ«½Ç¡Ë # COMMENT Copyright 1991 by Yongguang Zhang. (ygz@cs.purdue.edu) COMMENT Permission to use/modify/copy for any purpose is hereby granted. COMMENT Absolutely no warranties. # define keys VALIDINPUTKEY: \040!"\043$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMN VALIDINPUTKEY: OPQRSTUVWXYZ[\134]^_`abcdefghijklmnopqrstuvwxyz{|}~ # the following line must not be removed BEGINDICTIONARY # \040 ¡¡ ! £¡ " £¢ \043 ££ $ £¤ % £¥ & £¦ ' £§ ( £¨ ) £© * £ª + £« , £¬ - £ . £® / £¯ 0 £° 1 £± 2 £² 3 £³ 4 £´ 5 £µ 6 £¶ 7 £· 8 £¸ 9 £¹ : £º ; £» < £¼ = £½ > £¾ ? £¿ @ £À A £Á B £Â C £Ã D £Ä E £Å F £Æ G £Ç H £È I £É J £Ê K £Ë L £Ì M £Í N £Î O £Ï P £Ð Q £Ñ R £Ò S £Ó T £Ô U £Õ V £Ö W £× X £Ø Y £Ù Z £Ú [ £Û \134 £Ü ] £Ý ^ £Þ _ £ß ` £à a £á b £â c £ã d £ä e £å f £æ g £ç h £è i £é j £ê k £ë l £ì m £í n £î o £ï p £ð q £ñ r £ò s £ó t £ô u £õ v £ö w £÷ x £ø y £ù z £ú { £û | £ü } £ý ~ £þ # arch-tag: 3ee780cd-600a-49e7-a77b-85b898adc205