GNU logs - #16974, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#16974: 24.3.50; [Wishlist] Feature to automatically adjust foreground/background colours when contrast below some threshold
Resent-From: nljlistbox2@HIDDEN (N. Jackson)
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 09 Mar 2014 15:38:02 +0000
Resent-Message-ID: <handler.16974.B.139437943421317 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 16974
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 16974 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.139437943421317
          (code B ref -1); Sun, 09 Mar 2014 15:38:02 +0000
Received: (at submit) by debbugs.gnu.org; 9 Mar 2014 15:37:14 +0000
Received: from localhost ([127.0.0.1]:58291 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WMfmr-0005Xl-Vz
	for submit <at> debbugs.gnu.org; Sun, 09 Mar 2014 11:37:14 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41145)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <nljlistbox2@HIDDEN>) id 1WMfmp-0005Xc-6X
 for submit <at> debbugs.gnu.org; Sun, 09 Mar 2014 11:37:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <nljlistbox2@HIDDEN>) id 1WMfmg-0003nb-8F
 for submit <at> debbugs.gnu.org; Sun, 09 Mar 2014 11:37:10 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50,
 FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:38303)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <nljlistbox2@HIDDEN>) id 1WMfmg-0003nW-56
 for submit <at> debbugs.gnu.org; Sun, 09 Mar 2014 11:37:02 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:42812)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <nljlistbox2@HIDDEN>) id 1WMfmX-0004Ef-Nj
 for bug-gnu-emacs@HIDDEN; Sun, 09 Mar 2014 11:37:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <nljlistbox2@HIDDEN>) id 1WMfmP-0003lS-Bu
 for bug-gnu-emacs@HIDDEN; Sun, 09 Mar 2014 11:36:53 -0400
Received: from mail-qg0-x22b.google.com ([2607:f8b0:400d:c04::22b]:50912)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <nljlistbox2@HIDDEN>) id 1WMfmP-0003lE-70
 for bug-gnu-emacs@HIDDEN; Sun, 09 Mar 2014 11:36:45 -0400
Received: by mail-qg0-f43.google.com with SMTP id f51so1527032qge.2
 for <bug-gnu-emacs@HIDDEN>; Sun, 09 Mar 2014 08:36:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:subject:date:message-id:mime-version:content-type;
 bh=KM1Q1ZFfyMzs8n2txYZrYj0aVl+N42isePhy9U6miNg=;
 b=nkRLXsJovp2HLXRSJjj6edUerCE8E2J+wV69Ss2SBoOtczxgnD0AN+wVO8hJ/E9+KP
 MF9j+Sb/sV/wSGOt+ePwIY8Uepppd9wtAZflNXGAb6cRqmg3LSdlpFbt3WecGwSRskTo
 2EKtYj+FzNq7VZK5caDEYwM5fLyovTQMJ4pTHUOljoduTchP5HeX2y7NdvSy+G88d30i
 wj6gH6CTZvepKfFW5uHj2lq/tiDeqjfC5DVtWTE5g3WuY/zB4O4WLmrwgSlcVMHI66qO
 qgSXBZNC812xCOUE9XQb4QcwYqLyXXsgmH1dcZItA0MOmqSnB6xSEQ5BNEXFDTPQlj/7
 tDZg==
X-Received: by 10.140.31.247 with SMTP id f110mr33082079qgf.58.1394379404564; 
 Sun, 09 Mar 2014 08:36:44 -0700 (PDT)
Received: from moondust.localdomain.nodomain.none (T8731.WPA.Dal.Ca.
 [134.190.135.49])
 by mx.google.com with ESMTPSA id b16sm49327645qag.14.2014.03.09.08.36.43
 for <bug-gnu-emacs@HIDDEN>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sun, 09 Mar 2014 08:36:44 -0700 (PDT)
From: nljlistbox2@HIDDEN (N. Jackson)
Date: Sun, 09 Mar 2014 12:36:42 -0300
Message-ID: <8761nnl6yd.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.8 (---)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.8 (---)

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.





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: nljlistbox2@HIDDEN (N. Jackson)
Subject: bug#16974: Acknowledgement (24.3.50; [Wishlist] Feature to
 automatically adjust foreground/background colours when contrast below
 some threshold)
Message-ID: <handler.16974.B.139437943421317.ack <at> debbugs.gnu.org>
References: <8761nnl6yd.fsf@HIDDEN>
X-Gnu-PR-Message: ack 16974
X-Gnu-PR-Package: emacs
Reply-To: 16974 <at> debbugs.gnu.org
Date: Sun, 09 Mar 2014 15:38:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 16974 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
16974: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D16974
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#16974: 24.3.50; [Wishlist] Feature to automatically adjust foreground/background colours when contrast below some threshold
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 10 Mar 2014 02:53:01 +0000
Resent-Message-ID: <handler.16974.B16974.13944199543661 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 16974
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: nljlistbox2@HIDDEN (N. Jackson)
Cc: 16974 <at> debbugs.gnu.org
Received: via spool by 16974-submit <at> debbugs.gnu.org id=B16974.13944199543661
          (code B ref 16974); Mon, 10 Mar 2014 02:53:01 +0000
Received: (at 16974) by debbugs.gnu.org; 10 Mar 2014 02:52:34 +0000
Received: from localhost ([127.0.0.1]:58563 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WMqKP-0000wy-NI
	for submit <at> debbugs.gnu.org; Sun, 09 Mar 2014 22:52:34 -0400
Received: from ironport2-out.teksavvy.com ([206.248.154.181]:31213)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1WMqKM-0000wn-SS
 for 16974 <at> debbugs.gnu.org; Sun, 09 Mar 2014 22:52:31 -0400
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EABK/CFFMCppy/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0BwsUGA2IQgbBLZEKA6R6gV6DEw
X-IPAS-Result: Av8EABK/CFFMCppy/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0BwsUGA2IQgbBLZEKA6R6gV6DEw
X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="50962564"
Received: from 76-10-154-114.dsl.teksavvy.com (HELO ceviche.home)
 ([76.10.154.114])
 by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA;
 09 Mar 2014 22:52:29 -0400
Received: by ceviche.home (Postfix, from userid 20848)
 id 7A168660A5; Sun,  9 Mar 2014 22:52:29 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwv7g82davw.fsf-monnier+emacsbugs@HIDDEN>
References: <8761nnl6yd.fsf@HIDDEN>
Date: Sun, 09 Mar 2014 22:52:29 -0400
In-Reply-To: <8761nnl6yd.fsf@HIDDEN> (N. Jackson's message of
 "Sun, 09 Mar 2014 12:36:42 -0300")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

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

Agreed.  I think the way to fix this is:
- Add some hook in the C code that "realizes" faces so that Lisp code
  can tweak the result.
- Write a new package which uses this hook to get the above result.


        Stefan





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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