From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: yjgzhang@gmail.com Newsgroups: gmane.emacs.help Subject: Re: prob. bugs in emacs under ubuntu Date: Fri, 11 Jan 2008 06:15:54 -0800 (PST) Organization: http://groups.google.com Message-ID: <9a4e64ed-593e-4561-9c44-904d4829a4d9@v67g2000hse.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1200062477 29134 80.91.229.12 (11 Jan 2008 14:41:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jan 2008 14:41:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 11 15:41:39 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JDL4k-0001PO-A3 for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Jan 2008 15:41:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JDL4M-00035q-UX for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Jan 2008 09:41:14 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!v67g2000hse.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: 143.117.161.137 Original-X-Trace: posting.google.com 1200060954 8945 127.0.0.1 (11 Jan 2008 14:15:54 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 11 Jan 2008 14:15:54 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v67g2000hse.googlegroups.com; posting-host=143.117.161.137; posting-account=ZGd8iQoAAABsN9-jHHVRf6w1hRty66SL User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1.8) Gecko/20071022 Ubuntu/7.10 (gutsy) Firefox/2.0.0.8, gzip(gfe), gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:155239 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:50655 Archived-At: 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?