[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: info faces for strings and quotations

From: Juri Linkov
Subject: Re: info faces for strings and quotations
Date: Thu, 07 Oct 2004 08:55:48 +0300
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

"Drew Adams" <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]