From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.help Subject: Re: backquote quote pair notation: What does it mean in Emacsdocument? Date: Wed, 19 Dec 2012 00:41:46 +0530 Message-ID: <87pq279nv1.fsf@gmail.com> References: <878v8v8tsd.fsf@gmail.com> <855E7E03363249B6874C759B0A496ACF@us.oracle.com> <87hanj428m.fsf@gavenkoa.example.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1355857714 20089 80.91.229.3 (18 Dec 2012 19:08:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2012 19:08:34 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Oleksandr Gavenko Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 18 20:08:48 2012 Return-path: Envelope-to: geh-help-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 1Tl2X2-0007Jx-8E for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Dec 2012 20:08:48 +0100 Original-Received: from localhost ([::1]:43067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tl2Wo-0007Xd-H3 for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Dec 2012 14:08:34 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tl2Wi-0007XD-Ax for help-gnu-emacs@gnu.org; Tue, 18 Dec 2012 14:08:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tl2Wh-0002Nj-5T for help-gnu-emacs@gnu.org; Tue, 18 Dec 2012 14:08:28 -0500 Original-Received: from mail-pa0-f48.google.com ([209.85.220.48]:60966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tl2Wg-0002NW-Ra for help-gnu-emacs@gnu.org; Tue, 18 Dec 2012 14:08:27 -0500 Original-Received: by mail-pa0-f48.google.com with SMTP id fa1so746157pad.35 for ; Tue, 18 Dec 2012 11:08:25 -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=N/PqQkf3GU4j1tfYf93biKyHqawAPGupdHmrIIhPlMU=; b=SdmB1x6IbOUqOGUFPWdU6Bo5mwdQblWoth9PNOP2amUJyd4ldyKe+iZRmOql6nwME+ EMYkhErxC/MsXLNw/JlI9sgHkd0k/dKiUZGr2h79+Qt+rPq2GusCGsmkOM6zgq3vi/lf o64rqjB3lBIDd/Mza3yYuXg5Y6WTbf0Ht97IPV75nd/fgfTRij0lY3PCZfj7Qg3APgTJ PVJrN2Z8AbGi8pwi4MUx71Q2j7DnRPN9Ych7f1nHby4/XxMeyWBt3xk9+Fa91f3jdbfx Gmn97yudIjYHfthCXEHnse7l6VJwCgqsxBSe+OgA0Ac1sIwCMeNblV9MR6DHhLrdKvn7 Zv3A== X-Received: by 10.68.212.200 with SMTP id nm8mr10117651pbc.4.1355857705787; Tue, 18 Dec 2012 11:08:25 -0800 (PST) Original-Received: from debian-6.05 ([115.184.74.123]) by mx.google.com with ESMTPS id tq4sm1588105pbc.50.2012.12.18.11.08.21 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 18 Dec 2012 11:08:24 -0800 (PST) In-Reply-To: <87hanj428m.fsf@gavenkoa.example.com> (Oleksandr Gavenko's message of "Tue, 18 Dec 2012 20:57:45 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.220.48 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88200 Archived-At: Oleksandr Gavenko writes: > On 2012-12-18, Drew Adams wrote: > >> Compare the two attached screenshots, for instance. See how the quoted text >> stands out more when it is highlighted, and how that can help readability. > > How can I add such highlighting for Info buffers in my config? > > I think that it is done through some standard configuration... Drew's may be more elaborate. Here is a simple one that I cooked up. It can be simplified and be made more elegant though. (add-hook 'Info-mode-hook (lambda nil ;; Add a FIXME face. (font-lock-add-keywords nil '(("\\(?:`[^']+'\\)" 0 'font-lock-variable-name-face t) ("\\(?:\"[^\"]*\"\\)" 0 'font-lock-string-face t))))) > Please share! --