emacs-devel
[Top][All Lists]
Advanced

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

Re: Transient Mark Mode on by default


From: Chong Yidong
Subject: Re: Transient Mark Mode on by default
Date: Mon, 24 Mar 2008 20:29:33 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.92 (gnu/linux)

Alan Mackenzie <address@hidden> writes:

> The other big irritation is that region-face almost, but not quite,
> completely obliterates the font-locking in the region - all that remains
> visible is whether the font-lock face was bold or not, the foreground
> being forced to white, the background to deep blue.  I don't see there is
> much that can be done about this on a 16-colour tty.  But on a 2^24
> colour GUI system, it would be nice to have a "mute" attribute in a face,
> something that would reduce the saturation of the colour it's applied to.
> So that red would become a bit pink, pure blue would move towards sky
> blue, white would become light grey, black would become dark grey.  I
> don't think such a face attribute exists at the moment.

This is a good idea, but difficult to implement.  The face code is
already pretty darn complicated.

You're the only one who's complained about the region obliterating
font-lock, so I don't know how widespread this feeling is.  Maybe
others who are against tmm can chime in about whether they feel
strongly about this?

If this is a "big" objection, here's an idea: make the region face
specify only the background.  Try this (colors chosen as example
only):

(set-face-attribute 'region nil :foreground 'unspecified :background "#333366")
;; for dark backgrounds

(set-face-attribute 'region nil :foreground 'unspecified :background "#DDDDFF")
;; for bright backgrounds




reply via email to

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