|Subject:||bug#15668: 24.3.50; No font lock on active region|
|Date:||Tue, 22 Oct 2013 05:36:38 +0800|
Both Gtk+ and NS does this. The reason is that we use the system defined selection colors, and the background may be ill-matched to Emacs foreground colors.
For example, many Gnome settings use an almost black color for selection background, so Emacs black for text color is almost unreadable. These settings use white(ish) for text color which is much better. But by setting foreground selection color, you loose font-lock. OSX uses a light blue for background, which is very near to blue used by font-lock-constant-face and also near font-lock-function-name-face.
It would be nice if one could define a face with a foreground color to be used when foreground and background otherwise are to similar.
Description: PNG image
|[Prev in Thread]||Current Thread||[Next in Thread]|