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:34:05 +0530 Message-ID: <87sj48xsd6.fsf@gmail.com> References: <878v6vidh7.fsf@gmail.com> <7BC00EAA1AF8466D8F9C17B3CA4E82B8@us.oracle.com> <527A8B2FB8E742F9AC4063C8B3957071@us.oracle.com> <87sj4ijqa9.fsf@gmail.com> <60B13E9C42E44045B2EB9A043B959C4D@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1362596687 28060 80.91.229.3 (6 Mar 2013 19:04:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Mar 2013 19:04:47 +0000 (UTC) Cc: 'David Koppelman' , 13686@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 06 20:05:08 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 1UDJeE-0007xC-DO for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Mar 2013 20:05:06 +0100 Original-Received: from localhost ([::1]:59448 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDJds-00020z-GW for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Mar 2013 14:04:44 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDJdn-0001ze-4c for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2013 14:04:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDJdj-0001sH-3i for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2013 14:04:39 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58854) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDJdi-0001s5-W5 for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2013 14:04:35 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UDJe9-0006Dr-T5 for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2013 14:05:01 -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 19:05:01 +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.136259669423906 (code B ref 13686); Wed, 06 Mar 2013 19:05:01 +0000 Original-Received: (at 13686) by debbugs.gnu.org; 6 Mar 2013 19:04:54 +0000 Original-Received: from localhost ([127.0.0.1]:34730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UDJdz-0006DT-1W for submit@debbugs.gnu.org; Wed, 06 Mar 2013 14:04:54 -0500 Original-Received: from mail-pb0-f44.google.com ([209.85.160.44]:35680) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UDJds-0006DB-PA for 13686@debbugs.gnu.org; Wed, 06 Mar 2013 14:04:49 -0500 Original-Received: by mail-pb0-f44.google.com with SMTP id wz12so6431180pbc.3 for <13686@debbugs.gnu.org>; Wed, 06 Mar 2013 11:04:11 -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=pQXd3/aryrCY8+HrgaTrt9suMIoKmp27X7fWRv0N2v4=; b=0c/uqT6i4QpCPTU4xcZA68kvkgW7QgVfE1jHAvA1+6xl4vXemlTOPddjBagSXmlj/o Q1EX9o74V27b9LYswJ4ei5NFlvIni/TmrhnXXMxoB+HUdt6QRs9clCoAaV+1VBCgyzS5 /Ju+Zo/FdS+OlOAcdBGmEfRwRWI9QpvxKl3mdafMdcJ9ks+CU8j4MfxxAUA2gKHEBr7l L9qWeYc9msWc1zvK8qCndN6f6949U2Kmvr7yRLaGHneFaKhwCc3ed2fe8vKGi065SEG0 5ZflkOARc6eyrXCA9MLgWDj/YV1g9dwcrT6za7j6Nz2S3Dgewnud0xJPUxMIYhAlI6vB nI7A== X-Received: by 10.68.189.40 with SMTP id gf8mr47880233pbc.128.1362596651622; Wed, 06 Mar 2013 11:04:11 -0800 (PST) Original-Received: from debian-6.05 ([115.241.90.1]) by mx.google.com with ESMTPS id rd1sm32454955pbc.19.2013.03.06.11.04.07 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Wed, 06 Mar 2013 11:04:10 -0800 (PST) In-Reply-To: <60B13E9C42E44045B2EB9A043B959C4D@us.oracle.com> (Drew Adams's message of "Tue, 26 Feb 2013 21:38:03 -0800") 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:72175 Archived-At: "Drew Adams" writes: >> > Oh, but you said that "hi-yellow is for highlighting...in >> > yellow". In that case, it is not also about using other face >> > attributes. Time to choose. >> >> `hi-yellow' is an example of a face that is immutable. It is >> defconstface, so to speak. > > As I said before, and at the very beginning as well, I believe: if it were in > fact constant then such a name might be apt. >From the "I-want-colors" camp, I am hearing that by Yellow it is not yellow per-se but some variation of yellow. The definition of Yellow is so broad that it will go to the extent of embracing face with a yellow background or even a reverse video of it. Visually speaking, you will see Yellow - a light one or a bright one, in either foreground or background etc. Where yellow occurs is not guaranteed, but you will get yellow. > Is it in fact immutable? I didn't think so, and I see nothing in the code that > prevents changing it. On the contrary, it seems to be a normal, customizable > face. > > And that's the point. `hi-yellow' is not a great name for a customizable face. > > (And if it were truly immutable then there would be more that is constant about > it than just its yellow color. Whether the name should then reflect only > "yellow" could be based on whether the color were the most important constant > attribute.) > > If you really want an immutable face with some yellow attribute(s), then enforce > that in the code. If you instead define a normal face (i.e., customizable, > with no restrictions) then don't confuse users by calling it "yellow" - because > it's not. > > Just one opinion, of course.