From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vaidheeswaran C Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Info-mode-font-lock-keywords: Fix-regexp Date: Mon, 01 Jun 2015 12:58:07 +0530 Message-ID: References: <556A8A1F.4040303@gmail.com> Reply-To: vaidheeswaran.chinnaraju@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1433143716 9208 80.91.229.3 (1 Jun 2015 07:28:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Jun 2015 07:28:36 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 01 09:28:27 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YzK93-0007i1-OJ for ged-emacs-devel@m.gmane.org; Mon, 01 Jun 2015 09:28:25 +0200 Original-Received: from localhost ([::1]:44700 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzK93-0002ai-6c for ged-emacs-devel@m.gmane.org; Mon, 01 Jun 2015 03:28:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzK8p-0002aR-1U for emacs-devel@gnu.org; Mon, 01 Jun 2015 03:28:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzK8k-00058v-Tx for emacs-devel@gnu.org; Mon, 01 Jun 2015 03:28:10 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:44813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzK8k-00058V-N7 for emacs-devel@gnu.org; Mon, 01 Jun 2015 03:28:06 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YzK8f-0007Xz-W4 for emacs-devel@gnu.org; Mon, 01 Jun 2015 09:28:02 +0200 Original-Received: from 171.76.5.104 ([171.76.5.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Jun 2015 09:28:01 +0200 Original-Received: from vaidheeswaran.chinnaraju by 171.76.5.104 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Jun 2015 09:28:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 171.76.5.104 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.3.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:186970 Archived-At: On Monday 01 June 2015 09:57 AM, Stefan Monnier wrote: >>>>> >>> > - '(("€˜\\([^€™]*\\)€™" (1 'Info-quoted)))) >>>>> >>> > + '(("`\\([^€™]*\\)€™" (1 'Info-quoted)))) >>>>> >>> > Fontification happens fine with the attached change. >>> >> What exactly do you mean by that? Which problem is that supposed >>> >> to fix? >> > PS: Mixing "courier" fonts with the default font seems >> > is...Uhh (atleast to my eyes) I want the Info buffer to be colorized, so that I have enough visual clues to skim it quickly. Some feedback... 1. Info-quoted should be lower-cased, I think | 13 matches for "\_" in buffer: info.el | 69:(defface info-node | 76:(defface info-title-1 | 86:(defface info-title-2 | 93:(defface info-title-3 | 100:(defface info-title-4 | 107:(defface info-menu-header | 117:(defface info-menu-star | 124:(defface info-xref | 129:(defface info-xref-visited | 158:(defface info-header-xref | 163:(defface info-header-node | 168:(defface info-index-match | 4217:(defface Info-quoted 2. Change the default value of Info-quoted in following ways: a) __inherit__ from a face like `font-lock-function-name-face'. b) Reconsider the use of courier family. (a) above will ensure colorization (by default). 3. Recommend that newer Emacs be compiled with texinfo-5. (Please ignore, if such recommendation already exists)