unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Adam Funk <a24061@ducksburg.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Region-highlighting has disappeared.
Date: Wed, 19 Dec 2007 17:20:17 +0000	[thread overview]
Message-ID: <hf0o35-afh.ln1@news.ducksburg.com> (raw)
In-Reply-To: mailman.5231.1198081539.18990.help-gnu-emacs@gnu.org

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.

  parent reply	other threads:[~2007-12-19 17:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-19 11:31 Region-highlighting has disappeared Adam Funk
2007-12-19 16:24 ` Drew Adams
     [not found] ` <mailman.5231.1198081539.18990.help-gnu-emacs@gnu.org>
2007-12-19 17:20   ` Adam Funk [this message]
2007-12-19 18:14     ` Drew Adams
     [not found]     ` <mailman.5235.1198088110.18990.help-gnu-emacs@gnu.org>
2007-12-19 19:11       ` Adam Funk
2007-12-19 22:06         ` Adam Funk
2007-12-20 11:31           ` Adam Funk
2008-01-10 17:16             ` yjgzhang
2008-01-11 13:04               ` Adam Funk
2008-01-11 15:42                 ` Lennart Borgman (gmail)
     [not found]                 ` <mailman.6034.1200066139.18990.help-gnu-emacs@gnu.org>
2008-01-11 20:28                   ` Adam Funk
2008-01-11 21:02                     ` Thierry Volpiatto
2008-01-11 23:44                     ` Lennart Borgman (gmail)
     [not found]                     ` <mailman.6067.1200095101.18990.help-gnu-emacs@gnu.org>
2008-01-12 21:42                       ` Adam Funk
2008-02-07 10:42 ` Fabrice Niessen
2008-02-10 14:06   ` Adam Funk
2008-02-19 22:58     ` kovalsky.jan
2008-02-20  8:08       ` Sébastien Vauban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=hf0o35-afh.ln1@news.ducksburg.com \
    --to=a24061@ducksburg.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).