-
Notifications
You must be signed in to change notification settings - Fork 4
LkbMode
FrancisBond edited this page Aug 14, 2009
·
9 revisions
There are some emacs lisp extensions to make life easier when you are running the [wiki:LkbTop LKB] from within [wiki:LkbEmacs emacs] in the file lkb.el.
It sets up a menu, which is fairly self explanatory, and some keybindings to save precious key strokes.
The "⁁" shows where the cursor is placed at the end of the command.
- C-c p: parse using the main grammar (lkb::do-parse-tty "⁁")
-
C-c r: parse using a client grammar
- (mt::parse-interactively "⁁")
C-c u: start a client grammar
- (tsdb::tsdb :cpu :⁁ :file t)
C-c g: load a grammar
- (lkb::read-script-file-aux "~/⁁/lkb/script")
C-c G: reload a grammar
C-c i: index for generation
C-c I: reload and index grammar
C-c l: show a word (unexpanded)
- (lkb::show-word-aux-tty "⁁" nil)
C-c L: show a word (expanded)
- (lkb::show-word-aux-tty "⁁" t)
You can also use commands from Inferior Common Lisp, such as the extremely useful:
-
C-c C-p:find the previous command
- fi:pop-input
C-c C-n: find the next command in the ring
- fi:push-input
Home | Forum | Discussions | Events