GNU bug report logs - #16974
24.3.50; [Wishlist] Feature to automatically adjust foreground/background colours when contrast below some threshold

Previous Next

Package: emacs;

Reported by: nljlistbox2 <at> gmail.com (N. Jackson)

Date: Sun, 9 Mar 2014 15:38:02 UTC

Severity: wishlist

Found in version 24.3.50

Full log


View this message in rfc822 format

From: nljlistbox2 <at> gmail.com (N. Jackson)
To: 16974 <at> debbugs.gnu.org
Subject: bug#16974: 24.3.50; [Wishlist] Feature to automatically adjust foreground/background colours when contrast below some threshold
Date: Sun, 09 Mar 2014 12:36:42 -0300
Wishlist: It would be very useful to have a feature that automatically
adjusts the foreground and background colours when the contrast between
them is below some threshold value (in some reasonably meaningful units
-- perhaps a percentage), while keeping the colours as close as possible
to their unadjusted values.

Such a feature was proposed (and, IIUC, prototyped) in the discussion of
the bizarrely named :distant-foreground face attribute on the
emacs-devel list around the 7th of January (2014). There it met with the
objection that nothing should ever override any of a user's
settings. However, if the user wants their settings overridden in certain
circumcstances, then it seems unreasonable to deny them that.

Presumably there would be two variables: a Boolean `auto-adjust-contrast' and
a numeric `auto-adjust-contrast-threshold' (or names to that effect). The first
variable could be eliminated with the convention that the feature be
disabled when the threshold variable is set to zero.





This bug report was last modified 11 years and 98 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.