From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: info faces for strings and quotations Date: Thu, 07 Oct 2004 08:55:48 +0300 Organization: JURTA Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <87llej138a.fsf@mail.jurta.org> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1097128629 7234 80.91.229.6 (7 Oct 2004 05:57:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Oct 2004 05:57:09 +0000 (UTC) Cc: lennart.borgman.073@student.lu.se, monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 07 07:57:00 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CFRGt-0004GK-00 for ; Thu, 07 Oct 2004 07:57:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CFRNc-0000bn-QS for ged-emacs-devel@m.gmane.org; Thu, 07 Oct 2004 02:03:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CFRNV-0000bg-RR for emacs-devel@gnu.org; Thu, 07 Oct 2004 02:03:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CFRNV-0000bT-EQ for emacs-devel@gnu.org; Thu, 07 Oct 2004 02:03:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CFRNV-0000bQ-DB for emacs-devel@gnu.org; Thu, 07 Oct 2004 02:03:49 -0400 Original-Received: from [205.196.208.4] (helo=whisk.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CFRGe-0008DS-J2 for emacs-devel@gnu.org; Thu, 07 Oct 2004 01:56:44 -0400 Original-Received: from mail.jurta.org (80-235-33-254-dsl.mus.estpak.ee [80.235.33.254]) by whisk.dreamhost.com (Postfix) with ESMTP id A38E217510A; Wed, 6 Oct 2004 22:56:41 -0700 (PDT) Original-To: "Drew Adams" In-Reply-To: (Drew Adams's message of "Tue, 5 Oct 2004 09:11:02 -0700") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28016 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28016 "Drew Adams" writes: > In most Info files, `...' is used to identify commands, key > sequences, filenames and the like; "..." is used (usually) to > identify strings in code. I found that not highlighting the > single-quotes and highlighting the double-quotes improved > readability. I guess this is the same reason why in programming modes like Emacs Lisp mode single-quotes are not highlighted while double-quotes are. With the same reason to be similar to quotes in programming modes I suggest to inherit new Info faces from corresponding standard faces by default: (defface info-quoted-name ; For `...' '((t (:inherit font-lock-constant-face))) "Face used for quoted names (`...') in `info'." :group 'info) (defface info-string ; For "..." '((t (:inherit font-lock-string-face))) "Face used for strings (\"...\") in `info'." :group 'info) -- Juri Linkov http://www.jurta.org/emacs/