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: Region-highlighting has disappeared. Date: Thu, 10 Jan 2008 09:16:58 -0800 (PST) Organization: http://groups.google.com Message-ID: <010cbd9d-60ad-40b2-a486-bc01976fc487@t1g2000pra.googlegroups.com> References: <48ho35-kvd.ln1@news.ducksburg.com> <5e0q35-b77.ln1@news.ducksburg.com> 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 1200010578 15506 80.91.229.12 (11 Jan 2008 00:16:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jan 2008 00:16:18 +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 01:16:40 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 1JD7Zf-0005W0-1P for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Jan 2008 01:16:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JD7ZH-00074a-Bb for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Jan 2008 19:16:15 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!t1g2000pra.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 43 Original-NNTP-Posting-Host: 143.117.38.188 Original-X-Trace: posting.google.com 1199985419 7050 127.0.0.1 (10 Jan 2008 17:16:59 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 10 Jan 2008 17:16:59 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t1g2000pra.googlegroups.com; posting-host=143.117.38.188; 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:155218 X-Mailman-Approved-At: Thu, 10 Jan 2008 19:15:59 -0500 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:50644 Archived-At: On Dec 20 2007, 11:31 am, Adam Funk wrote: > On 2007-12-19, Adam Funk wrote: > > >>>> Region face: > >>>> [X] Foreground: white (sample) > >>>> [X] Background: blue (sample) > >>>> But emacs seems to ignore this without -q! > > Further investigation: by commenting and uncommenting various bits of > my .emacs file, I have found the culprit: > > (custom-set-variables > ... > '(pc-select-meta-moves-sexps t) > '(pc-select-selection-keys-only t) > ; '(pc-selection-mode t nil (pc-select)) ; this was screwing up the region-highlighting > ... > ) > > Commenting out the pc-selection-mode line (but not the two pc-select-* > lines) fixes the problem. I don't even remember what that stuff > means! > > Of course I'll look it up, but it must have been there for a long time > and not caused any trouble until it interacted with something else > that came with Gutsy (same problem using either emacs 21.4 or 22.1). 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? Thanks.