[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: prob. bugs in emacs under ubuntu
From: |
yjgzhang |
Subject: |
Re: prob. bugs in emacs under ubuntu |
Date: |
Fri, 11 Jan 2008 06:15:54 -0800 (PST) |
User-agent: |
G2/1.0 |
I found the solutions:
in the default settings of emacs under ubuntu, the key has been set
as
(global-set-key [right] 'forward-char-nomark)
(global-set-key [left] 'backward-char-nomark)
(global-set-key [up] 'previous-line-nomark)
(global-set-key [down] 'next-line-nomark)
In .emacs set following command
(global-set-key [right] 'forward-char)
(global-set-key [left] 'backward-char)
(global-set-key [up] 'previous-line)
(global-set-key [down] 'next-line)
Now this is the same as the default settings with emacs under other
linux distributions e.g. fedora or mandriva
I do not know why Ubuntu has such a strange change?