all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: nljlistbox2@gmail.com (N. Jackson)
To: 16974@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	[thread overview]
Message-ID: <8761nnl6yd.fsf@moondust.localdomain> (raw)

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.






             reply	other threads:[~2014-03-09 15:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-09 15:36 N. Jackson [this message]
2014-03-10  2:52 ` bug#16974: 24.3.50; [Wishlist] Feature to automatically adjust foreground/background colours when contrast below some threshold Stefan Monnier

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

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

  git send-email \
    --in-reply-to=8761nnl6yd.fsf@moondust.localdomain \
    --to=nljlistbox2@gmail.com \
    --cc=16974@debbugs.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.