emacs 的問題 - Linux

By Vanessa
at 2011-01-08T01:58
at 2011-01-08T01:58
Table of Contents
不好意思,因為 editor 版大部分都是 vim 的文章,所以來這邊碰碰運氣。
我已在網路上找過和在國外論壇上發問過,不過沒有得到解決的方法。
我的問題,當我想用
(global-set-key (kbd "C-s") 'save-buffer)
(global-set-key (kbd "C-S-s") 'write-file)
時,當我按下 control+shift+s 時,總是沒有作用。
另外一個例子是,
(global-set-key [(control shift right)] 'other-window) and
(global-set-key [(control shift left)] 'other-window)
(不是同時定義,是分開來的,一次一次試)
會有作用,但
(global-set-key [(control shift up)] 'other-window) and
(global-set-key [(control shift down)] 'other-window)
我感覺好像是在我電腦,control + shift + 某些鍵 其實等於 control + 某些鍵,
(比如說 s, up, down) ,但不是全部都這樣 (例如 right 和 left)
我用 C-q 去找 control + shift + up ,會沒有反應。( down 也是)
control + shift + left 得到 ^[[1;6D
control + shift + right 得到 ^[[1;6C
我在網路上看到有人這樣定 (存檔那部分),所以我想知道這是我電腦的問題嗎?
如果不是,問題出在哪邊呢??
--
我已在網路上找過和在國外論壇上發問過,不過沒有得到解決的方法。
我的問題,當我想用
(global-set-key (kbd "C-s") 'save-buffer)
(global-set-key (kbd "C-S-s") 'write-file)
時,當我按下 control+shift+s 時,總是沒有作用。
另外一個例子是,
(global-set-key [(control shift right)] 'other-window) and
(global-set-key [(control shift left)] 'other-window)
(不是同時定義,是分開來的,一次一次試)
會有作用,但
(global-set-key [(control shift up)] 'other-window) and
(global-set-key [(control shift down)] 'other-window)
我感覺好像是在我電腦,control + shift + 某些鍵 其實等於 control + 某些鍵,
(比如說 s, up, down) ,但不是全部都這樣 (例如 right 和 left)
我用 C-q 去找 control + shift + up ,會沒有反應。( down 也是)
control + shift + left 得到 ^[[1;6D
control + shift + right 得到 ^[[1;6C
我在網路上看到有人這樣定 (存檔那部分),所以我想知道這是我電腦的問題嗎?
如果不是,問題出在哪邊呢??
--
Tags:
Linux
All Comments

By Isabella
at 2011-01-10T06:56
at 2011-01-10T06:56

By Barb Cronin
at 2011-01-13T13:23
at 2011-01-13T13:23

By Victoria
at 2011-01-15T17:34
at 2011-01-15T17:34

By Linda
at 2011-01-17T16:55
at 2011-01-17T16:55
Related Posts
gadmin-samba 0.2.8無法新增Users

By Connor
at 2011-01-07T22:01
at 2011-01-07T22:01
CentOS5.5版網卡外接問題

By Andrew
at 2011-01-07T17:11
at 2011-01-07T17:11
Ubuntu + Postfix 升級後出問題

By Robert
at 2011-01-07T08:35
at 2011-01-07T08:35
琴譜軟體 musescore

By Kelly
at 2011-01-07T05:14
at 2011-01-07T05:14
x86_64放mp3

By Damian
at 2011-01-06T20:56
at 2011-01-06T20:56