分类: LINUX
2007-12-17 21:27:03
Emacs 中的 parenthesis (括号) 通常指那些能够组成一对的符号, 比如:
...
在一个 Major Mode 中, 那些有意义的 parenthesis 由这个 mode 的 syntax(语法) 决定.
Note1: You can use `M-x check-parens' to find any unbalanced parentheses and unbalanced string quotes in the buffer. (Emacs Manual)
一些命令和按键 ::
`C-M-f'
Move forward over a balanced expression (`forward-sexp').
`C-M-b'
Move backward over a balanced expression(`backward-sexp').
`C-M-k'
Kill balanced expression forward (`kill-sexp').
`C-M-'
Kill balanced expression backward (`backward-kill-sexp').
`C-M-t'
Transpose expressions (`transpose-sexps').
`C-M-@'
Put mark after following expression (`mark-sexp').
一些命令和按键 ::
`C-M-n'
Move forward over a parenthetical group (`forward-list').
`C-M-p'
Move backward over a parenthetical group(`backward-list').
`C-M-u'
Move up in parenthesis structure (`backward-up-list').
`C-M-d'
Move down in parenthesis structure (`down-list').
Three variables control parenthesis match display.