From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/10145 Path: news.gmane.org!not-for-mail From: yjgzhang@gmail.com Newsgroups: gmane.emacs.gnus.user Subject: Re: prob. bugs in emacs under ubuntu Date: Fri, 11 Jan 2008 06:20:27 -0800 (PST) Organization: http://groups.google.com Message-ID: <307c7a8b-6dfa-4bae-83f9-1bf6fd519eff@v4g2000hsf.googlegroups.com> References: <87zlvdk1ye.fsf@topper.koldfront.dk> <4ee3cd08-6692-41e7-b594-8412663eb8a6@t1g2000pra.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1200062508 29236 80.91.229.12 (11 Jan 2008 14:41:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jan 2008 14:41:48 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Jan 11 15:42:10 2008 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JDL5E-0001bH-EC for gegu-info-gnus-english@m.gmane.org; Fri, 11 Jan 2008 15:42:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JDL4q-0003gG-Ua for gegu-info-gnus-english@m.gmane.org; Fri, 11 Jan 2008 09:41:45 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!v4g2000hsf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 73 Original-NNTP-Posting-Host: 143.117.161.137 Original-X-Trace: posting.google.com 1200061228 9055 127.0.0.1 (11 Jan 2008 14:20:28 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 11 Jan 2008 14:20:28 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v4g2000hsf.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.gnus:80360 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:10145 Archived-At: On Jan 11, 12:38 pm, yjgzh...@gmail.com wrote: > On Jan 10, 5:47 pm, a...@koldfront.dk (Adam Sj=F8gren) wrote: > > > > > On Thu, 10 Jan 2008 09:27:49 -0800 (PST), yjgzh...@gmail.com wrote: > > > I encountered the same problems here with emacs under ubuntu. I used > > > to use emacs under Fedora and Mandriva. The emacs under those two > > > linux distributions has no problem at all. But when i transfered to > > > ubuntu, I have the same problems, i.e., the selected region using > > > keyboard can not be highlighted. E.g, when you using \C+space mark a > > > begining of a region, and then using the left or right arrows to move > > > the cursor, nothing happened (it supposed to extend the region from > > > the position where \C + space marked). However, when I reach the end > > > of the region, and using alt+w to cut it, it still works. This problem= > > > is very annoying when you using the keyboard for editing in Emacs, > > > because you can not see the selected region, they are in darks. > > > I also try to emacs -q to ignore my profile, the same thing happened. > > > Does anyone can tell me how to solve this problem? > > > This has nothing to do with Gnus. Please ask in a relevant newsgroup, > > such as - perhaps - gnu.emacs.help. > > > (Did you turn "Active Regions" off by any chance? Your description > > sounds like that is your problem (I always turn the off because I do > > *not* want the annoying colouring of regions)). > > > Best regards, > > > -- > > "Gravity is arbitrary!" Adam Sj=F8= gren > > a...@koldfront.= dk > > Thanks for your reply > > I have checked Transient Mark Mode, it seems that it has been enabled. > But the problem still exists > > /***************************************/ > Transient Mark Mode: Hide Value Toggle on (non-nil) > State: EDITED, shown value does not take effect until you set or > save it. > > Non-nil if Transient-Mark mode is enabled. Hide Rest > See the command `transient-mark-mode' for a description of this minor > mode. > Parent groups: Editing Basics > > /***************************************/ 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 just wonder why Ubuntu made such a strange change?