From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.bugs Subject: bug#13686: hi-yellow vs. hi-lock-1 Date: Thu, 07 Mar 2013 00:13:00 +0530 Message-ID: <871ubsz7wr.fsf@gmail.com> References: <878v6vidh7.fsf@gmail.com> <7BC00EAA1AF8466D8F9C17B3CA4E82B8@us.oracle.com> <527A8B2FB8E742F9AC4063C8B3957071@us.oracle.com> <87sj4ijqa9.fsf@gmail.com> <60B13E9C42E44045B2EB9A043B959C4D@us.oracle.com> <87fw0htl0s.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1362595430 15500 80.91.229.3 (6 Mar 2013 18:43:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Mar 2013 18:43:50 +0000 (UTC) Cc: 'David Koppelman' , 13686@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 06 19:44:09 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UDJJw-0007Xc-HS for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Mar 2013 19:44:08 +0100 Original-Received: from localhost ([::1]:48760 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDJJa-0001qG-Ul for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Mar 2013 13:43:46 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDJJU-0001im-BJ for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2013 13:43:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDJJP-0007zQ-EN for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2013 13:43:40 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58825) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDJJP-0007zM-AL for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2013 13:43:35 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UDJJq-0005i8-9a for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2013 13:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jambunathan K Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Mar 2013 18:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13686 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13686-submit@debbugs.gnu.org id=B13686.136259543221925 (code B ref 13686); Wed, 06 Mar 2013 18:44:02 +0000 Original-Received: (at 13686) by debbugs.gnu.org; 6 Mar 2013 18:43:52 +0000 Original-Received: from localhost ([127.0.0.1]:34701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UDJJb-0005hW-K3 for submit@debbugs.gnu.org; Wed, 06 Mar 2013 13:43:52 -0500 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:54335) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UDJJU-0005hF-Vc for 13686@debbugs.gnu.org; Wed, 06 Mar 2013 13:43:46 -0500 Original-Received: by mail-pb0-f41.google.com with SMTP id um15so6438178pbc.28 for <13686@debbugs.gnu.org>; Wed, 06 Mar 2013 10:43:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=0rE5PdSSwJ+7J5cv3OXQlWhRpENVVc/AS5MyRh4l+rk=; b=y5uBqKGQcQQxcOtiuuY3dEM9yOUM/8DlJi1keEBMFNsVgkekcSsAX90Rbb3baPB/GL K2Ss7MSVqdc2jr9QGmo+Q2uw7v7KEoHMvbsxWFKWoBqS4cdzVDqTxIC8Z1OIqzzgJ/Xe 3Q0jIZ8lDVhtSJYjXx9E0t+wuDbcnxCPuQ+VWGZcyhdHBaG4QqrtpfczQ1CGMmzgLX3W kbFvpbcJCZ6n3kL8X6ytWqniCouBPlln67IGWueijd0UG9u/6jA/KvqqjFiNFxCd+JsE n2TN2j4aSWJq1fpzMZSWRAs+DuAd3RXtna4aawbnFchP3vChMuNopNkTRuzEUI7ZhUqf zATg== X-Received: by 10.68.202.3 with SMTP id ke3mr48378338pbc.98.1362595387572; Wed, 06 Mar 2013 10:43:07 -0800 (PST) Original-Received: from debian-6.05 ([115.241.90.1]) by mx.google.com with ESMTPS id kl4sm32385301pbc.31.2013.03.06.10.43.03 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Wed, 06 Mar 2013 10:43:06 -0800 (PST) In-Reply-To: <87fw0htl0s.fsf@mail.jurta.org> (Juri Linkov's message of "Thu, 28 Feb 2013 01:45:05 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72170 Archived-At: Juri Linkov writes: >> And that's the point. `hi-yellow' is not a great name for a customizable face. > > `hi-yellow' is a meaningful name. Together with other complementary > faces they cover the whole color space. It is difficult for me to believe that the original design intent was to "cover color space". hi-black-b hi-black-hb hi-blue hi-blue-b hi-green hi-green-b hi-pink hi-red-b hi-yellow You see there are two blacks, two blues and two greens. Try C-u M-x list-colors-display RET hi- RET and convince yourself how close or far away it is from covering the whole "color space". It seems like a mixed bag. If there is a design, I am not seeing it. But your suggestion that the colors should distributed on the color wheel sounds appealing. I propose: 1. hi-lock-color-* prefix for these faces and add more colors. How many do you want. 8 or 12 would be a good start. http://en.wikipedia.org/wiki/Html_colors#HTML_color_names http://en.wikipedia.org/wiki/Html_colors#X11_color_names ps: I know how to alias faces. But how do I obsolete faces. Can someone hammer out the fine details for me? Should be copy-pasta work once there is some consensus or agreement. > If you don't want the default yellow color, you can customize it to > another shade of yellow, e.g. "Light Goldenrod Yellow". If you want a > shade of green, customize `hi-green' and use it, etc. > > OTOH, face names like `hi-lock-1' or `hi-lock-2' are meaningless. > What does the number 1 or 2 mean? Compare them with other faces > that have a number in their names where the number in `info-title-1', > `gnus-cite-1', `outline-1', `org-level-1' means the nesting level. > > What could be improved is `hi-lock-face-defaults' to specify > a color palette like in `vc-annotate-color-map' that produces > such color gradient face names as `vc-annotate-face-DDFF3F' > (note that the hex number "DDFF3F" is still meaningful in the face name).