help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Region-highlighting has disappeared.


From: yjgzhang
Subject: Re: Region-highlighting has disappeared.
Date: Thu, 10 Jan 2008 09:16:58 -0800 (PST)
User-agent: G2/1.0

On Dec 20 2007, 11:31 am, Adam Funk <a24...@ducksburg.com> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]