From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Cadilhac Newsgroups: gmane.emacs.devel Subject: Fontifying one char strings. Date: Sun, 16 Oct 2005 17:16:07 +0200 Organization: LRDE Message-ID: <877jcdze4o.fsf@mahaena.lrde> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1571353721==" X-Trace: sea.gmane.org 1129476353 15758 80.91.229.2 (16 Oct 2005 15:25:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 16 Oct 2005 15:25:53 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 16 17:25:51 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ERANE-0005TA-5e for ged-emacs-devel@m.gmane.org; Sun, 16 Oct 2005 17:24:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERAND-0001b0-J0 for ged-emacs-devel@m.gmane.org; Sun, 16 Oct 2005 11:24:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ERADO-0006JY-4j for emacs-devel@gnu.org; Sun, 16 Oct 2005 11:14:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ERADJ-0006IM-HM for emacs-devel@gnu.org; Sun, 16 Oct 2005 11:14:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERADG-0006I8-3O for emacs-devel@gnu.org; Sun, 16 Oct 2005 11:14:17 -0400 Original-Received: from [163.5.254.26] (helo=kualalumpur.lrde.epita.fr) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1ERADF-00053j-TA for emacs-devel@gnu.org; Sun, 16 Oct 2005 11:14:14 -0400 Original-Received: from mahaena.lrde.epita.fr ([192.168.101.66] helo=mahaena.lrde) by kualalumpur.lrde.epita.fr with esmtp (Exim 4.50) id 1ERADD-0001qn-SN for emacs-devel@gnu.org; Sun, 16 Oct 2005 17:14:11 +0200 Original-To: emacs-devel@gnu.org Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEVWPh+Tai+5r5YKBAEU CQQzGAtiq7gjAAACR0lEQVQ4jW2UzW7lIAyFzVW8BzTZX5DmCZLuU2H2pMXv/ypzbK7aSh2kRCRf /HNsE0q7Sg+RQ7JFKaqtrRNAl5AIIKe6D5DBqgbmUAe5hBI1wIRFAHjeM0RKtZi7XVVEpb0BSNfA IddChChT5DildSLWOWhY5IEItMnncZgFcUAc/5jjwCMsDosRNdfKPDTFEdVBW8C+RebDb4N5Orio RhM1+11IJyx0ng2+LryFHBMPDQDYHrY6IfGuU3ouiXTQNE8LIJDKOWpNxERTFrggQwRPd7USUsTW fJ0XbR3bdj5KgBYy4SACpxDeUYEUAzLmtJ1iIrD2gczPq8Qomjhsh/RjGIgKIO8p7NITjwlx7WID nsnQe5NeuTvoBpi8LX6vLLOh5icjOHqBypgnuSp7M+RE1agbQKHQr5E2z1WObhYW4gMqeGQL7joM jCf2DxSk5ApADSYHfFF4igNfJZL1z0GKP0FN02s4XiDXr7V5P94W6I9v8MfBOQDmfwAaVYt+x8Da v4DJvX8BAdin3Knm5yMZYAO4ABDkDniZLLfi4P40gP1F0TPGZOu0CGwA1lcowxwlGy6A9705mD0V jHCxwVZT/hYdRJVUGZNlx6l7ScQBTluof6Wj6bsPYlvpwoTvXFD9gHPn2TZPF3ntI2ecxVrW5MrV XiCie5EeNa7BlWu/HNSkprDUva163PHxAv5jyGV7gVzyAghSKOTnat85UIYFICXbD2NV9rRiv0BS tKQsg6OHH4A15F1WW+UHKHHa32h6aPnAm3/pUcWp+WYnTQAAAABJRU5ErkJggg== Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEXqwKfIuaxUOybu7un9 /PsPFhfv2rR5hILu5tPu9fdl2vfgAAACOklEQVQ4jWWUvW/bMBDFT4uRUXRq0x1NQNBssCjsuV60 ChCyKi1gdCwJGOexroGEHYt4CP/bvqNExU0J+IPvp3dHHnmi/TCauD37+j7u86BR32hfVV192sZ/ wOtZV52Mlj/u4xuIZx70rjVre7lO4PV51AW50wSa7fwNIM+H6whe1Y3eGb6fgM8ZWvmqL2Oo5o8X tUJmY/Bnvcs5EhC1ZoPNuE8ZvBw7Y1gpVRYMyzqH2m+OrVMlHQ4HKrjrHuyYvDkvHpIsBBVof+dV fVnUM4jfQzj0hYAc6rpYz5KeQXY0GUiSdwCRkuEdmK8pgSc4jv+FCkMof5t8LuDwhE9P81vHL6ed glwwO1216eQHgAM0Za9Rj1aNxUq1+uqNqeqiag0zwHra+ZzZGy6AUUsUbpfBszOVcYSim1od61MG zcax57JHbnbkeZVB3P4onKIDkVJEzN921wxKIpoByNDlZQK2n1EPIKxQS5v3Ee1Pmg0AVVQrG+O4 D/uUQCFALS92N4AGoAToC5rBcJdBE639jNUozUQDsPG6pxgBAoD2NcmC74KF5ZpBSRqbE7AKyUJN fLHb8KgKJbtTihPYRRKDAIWrWEqiZUgWgsGGcHZa7i50XuK6WGvJiiGcGRJKiGJqt8pA7gd0LwhH VbUuJAA9qDnLKSWApnACtqL7rpbn2eNH42qdAJAAOjqcnfJi4iNa4UIwpOZvU4YMOkejnlpNmg3h 0pyCzm08gTSl6aUwgUGg4/SuMMOCeZj+BQgcTnFmGJdYAAAAAElFTkSuQmCC User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:44126 Archived-At: --===============1571353721== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable Hello ! In a docstring, if I have : "`nil' if blahblah, `t' otherwise.", only nil will be fontified with font-lock-constant-face. I'm wondering why this should be that way, I'm using the following patch without being annoyed: *** emacs/lisp/font-lock.el 2005-10-16 17:07:12.000000000 +0200 =2D-- emacs/lisp/font-lock.el 2005-10-16 17:07:30.000000000 +0200 *************** *** 2077,2083 **** ;; Words inside \\[] tend to be for `substitute-command-keys'. ("\\\\\\\\\\[\\(\\sw+\\)]" 1 font-lock-constant-face prepend) ;; Words inside `' tend to be symbol names. ! ("`\\(\\sw\\sw+\\)'" 1 font-lock-constant-face prepend) ;; Constant values. ("\\<:\\sw+\\>" 0 font-lock-builtin-face) ;; ELisp and CLisp `&' keywords as types. =2D-- 2077,2083 ---- ;; Words inside \\[] tend to be for `substitute-command-keys'. ("\\\\\\\\\\[\\(\\sw+\\)]" 1 font-lock-constant-face prepend) ;; Words inside `' tend to be symbol names. ! ("`\\(\\sw+\\)'" 1 font-lock-constant-face prepend) ;; Constant values. ("\\<:\\sw+\\>" 0 font-lock-builtin-face) ;; ELisp and CLisp `&' keywords as types. =2D-=20 Michael Cadilhac, a.k.a. Micha [mika] | Epita/LRDE promo 2007 | Please note that you should 2 rue de la Convention | 08.70.65.13.14 | s/-@t-/@/ my mail address. 94270 Le Kremlin Bicetre | 06.23.20.31.30 | --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBDUm65ZYNf4qobZ7kRAs/6AJwL6QQ9xuOsT3sf1YJMGTDLj1pG7gCfWNtQ jTyjY6VZTm2ooj2WGAwcYJg= =SZU7 -----END PGP SIGNATURE----- --=-=-=-- --===============1571353721== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --===============1571353721==--