From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adam Funk Newsgroups: gmane.emacs.help Subject: Re: Region-highlighting has disappeared. Date: Wed, 19 Dec 2007 17:20:17 +0000 Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1198086218 29450 80.91.229.12 (19 Dec 2007 17:43:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Dec 2007 17:43:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 19 18:43:51 2007 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 1J52wq-0002QS-5Q for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Dec 2007 18:43:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J52wW-0004xT-My for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Dec 2007 12:42:52 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 59 Original-X-Trace: individual.net w8Y79EgOClstIvVxRZwwewDliiJmEBt8ibvHdeEVQ2ZUbqwVxg X-Orig-Path: news.ducksburg.com!news Cancel-Lock: sha1:sHYABrwsCUbJlOFOhBeoOGZcgMs= User-Agent: slrn/0.9.8.1pl1 (Debian) Original-Xref: shelby.stanford.edu gnu.emacs.help:154809 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:50236 Archived-At: On 2007-12-19, Drew Adams wrote: >> I just upgraded a computer from Ubuntu Feisty to Gutsy but (as far as >> I'm aware) changed nothing else in the configuration; now the region >> is no longer highlighted. (I already have '(transient-mark-mode t) in >> the custom-set-variables section of my ~/.emacs, but I can't figure >> out what else to do.) How can I force this back on? >> >> (Strangely, this did not happen with the other Ubuntu machine I >> upgraded a month or so ago.) > > What is the current value of `transient-mark-mode' - not just the setting in > your .emacs? --begin copy & paste transient-mark-mode is a variable defined in `simple.el'. Its value is t --end copy & paste I just got that from C-h v transient-mark-mode, and using M-space M-w and C-y to paste it there. So the region definitely exists. > If transient-mark mode is active and you have an active region, and it > doesn't appear highlighted, then check (via `list-faces-display') to see if > face `region' is actually something noticeable. > > What do you see when you try emacs -Q? That will tell you whether the > problem is from Emacs itself or from your .emacs. With the -q option, transient-mark-mode is nil until I set it, then the region appears highlighted (as it always used to be). In *both* cases (with and without -q), list-faces-display gives the same output for region: Region face: (sample) [Hide Face] [State]: STANDARD. Basic face for highlighting the region. Parent groups: [Basic Faces] Choice: [Value Menu] Attributes: [ ] Font Family: * [ ] Width: * [ ] Height: * [ ] Weight: * [ ] Slant: * [ ] Underline: * [ ] Overline: * [ ] Strike-through: * [ ] Box around text: * [ ] Inverse-video: * [X] Foreground: white (sample) [X] Background: blue (sample) [ ] Stipple: * [ ] Inherit: * But emacs seems to ignore this without -q! I'd like to stress that I haven't changed anything in ~/.emacs; I've just done an ubuntu upgrade and switched from emacs21 to emacs22.