BBS水木清华站∶精华区

发信人: althea (痛并快乐着~~仙人掌), 信区: Linux        
标  题: Re: 请问EMACS如何定义这样的功能? 
发信站: BBS 水木清华站 (Mon Sep  4 17:52:22 2000) 
 
plz look up the keyboard macros section in the emacs info help 
in short, you can try this: 
put the following lines into your ~/.emacs  
(fset 'mymacro 
   [?\C-e return]) 
(global-set-key some_key_combination 'mymacro) 
                ^^^^^^^^^^^^^^^^^^^^ specify your preferred key combo here 
【 在 ganzhi (野兽) 的大作中提到: 】 
 看了精华区,还是不知道怎么做,请大侠指点: 
 我想新定义一个键,它是如下键的组合: 
 Ctrl+e 
 RETURN 
 有简便的方法吗? 
 
 
-- 
 
※ 来源:·BBS 水木清华站 smth.org·[FROM: 162.105.203.39] 

BBS水木清华站∶精华区