unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to restore visible region highlighting
@ 2021-04-06  9:02 Richard Wordingham
  2021-04-06  9:35 ` Philip Kaludercic
  2021-04-06 12:27 ` Eli Zaretskii
  0 siblings, 2 replies; 4+ messages in thread
From: Richard Wordingham @ 2021-04-06  9:02 UTC (permalink / raw)
  To: help-gnu-emacs

I've just jumped from Emacs 24.4 and earlier on 32-bit Ubuntu 16.04.3
to Debianised Emacs 26.3 on obligatorily 64-bit Ubuntu 20.04.2.

One of the things that broke is the highlighting of the 'region'.  My
default background colour is white, and region used to be given a
yellowish background.  It is now given a white background, as I have
found by making my default background LightGray, so I do have a
workaround.

However, how do I change the background colour used for highlighting
the 'region'?  (Transient mark mode is already enabled.)  I deliberately
chose to have a white background for normal text, and I'd like to
retain it.

Richard.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to restore visible region highlighting
  2021-04-06  9:02 How to restore visible region highlighting Richard Wordingham
@ 2021-04-06  9:35 ` Philip Kaludercic
  2021-04-06 10:10   ` Richard Wordingham
  2021-04-06 12:27 ` Eli Zaretskii
  1 sibling, 1 reply; 4+ messages in thread
From: Philip Kaludercic @ 2021-04-06  9:35 UTC (permalink / raw)
  To: Richard Wordingham; +Cc: help-gnu-emacs


It might be that the newer version of Emacs inherits your GTK
theme. What happens when you evaluate

       (set-face-background 'region "LightGoldenrod1")

or otherwise customize the "region" face?

-- 
	Philip K.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to restore visible region highlighting
  2021-04-06  9:35 ` Philip Kaludercic
@ 2021-04-06 10:10   ` Richard Wordingham
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Wordingham @ 2021-04-06 10:10 UTC (permalink / raw)
  To: help-gnu-emacs

On Tue, 06 Apr 2021 11:35:37 +0200
Philip Kaludercic <philipk@posteo.net> wrote:

> It might be that the newer version of Emacs inherits your GTK
> theme. What happens when you evaluate
> 
>        (set-face-background 'region "LightGoldenrod1")
> 
> or otherwise customize the "region" face?

Thank you.  That solves the problem.

Richard.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to restore visible region highlighting
  2021-04-06  9:02 How to restore visible region highlighting Richard Wordingham
  2021-04-06  9:35 ` Philip Kaludercic
@ 2021-04-06 12:27 ` Eli Zaretskii
  1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2021-04-06 12:27 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Tue, 6 Apr 2021 10:02:39 +0100
> From: Richard Wordingham <richard.wordingham@ntlworld.com>
> 
> I've just jumped from Emacs 24.4 and earlier on 32-bit Ubuntu 16.04.3
> to Debianised Emacs 26.3 on obligatorily 64-bit Ubuntu 20.04.2.
> 
> One of the things that broke is the highlighting of the 'region'.  My
> default background colour is white, and region used to be given a
> yellowish background.  It is now given a white background, as I have
> found by making my default background LightGray, so I do have a
> workaround.

That's not an upstream change, AFAIU, it's probably something your
distro does, or maybe (if this is a GTK build), the GTK theme has
changed.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-06 12:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-06  9:02 How to restore visible region highlighting Richard Wordingham
2021-04-06  9:35 ` Philip Kaludercic
2021-04-06 10:10   ` Richard Wordingham
2021-04-06 12:27 ` Eli Zaretskii

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).