From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help,gmane.emacs.bugs Subject: RE: Request for highlighting back-quote/quote pair notation. Date: Wed, 19 Dec 2012 09:49:08 -0800 Message-ID: <45D5A69019E445AA92D73E7B2800C893@us.oracle.com> References: <878v8v8tsd.fsf@gmail.com><855E7E03363249B6874C759B0A496ACF@us.oracle.com><87hanj428m.fsf@gavenkoa.example.com> <87pq279nv1.fsf@gmail.com> <87d2y655gg.fsf_-_@gavenkoa.example.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1355939377 20454 80.91.229.3 (19 Dec 2012 17:49:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Dec 2012 17:49:37 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: "'Oleksandr Gavenko'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 19 18:49:50 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 1TlNmA-0002Sk-FR for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Dec 2012 18:49:50 +0100 Original-Received: from localhost ([::1]:55885 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlNlx-0000fY-0f for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Dec 2012 12:49:37 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlNlr-0000fS-Na for help-gnu-emacs@gnu.org; Wed, 19 Dec 2012 12:49:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TlNlm-00034q-Mq for help-gnu-emacs@gnu.org; Wed, 19 Dec 2012 12:49:31 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:38409) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlNlZ-00032j-E5; Wed, 19 Dec 2012 12:49:13 -0500 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id qBJHn9vV021343 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 19 Dec 2012 17:49:10 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id qBJHn9hE013170 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Dec 2012 17:49:09 GMT Original-Received: from abhmt111.oracle.com (abhmt111.oracle.com [141.146.116.63]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id qBJHn9ee025783; Wed, 19 Dec 2012 11:49:09 -0600 Original-Received: from dradamslap1 (/130.35.178.8) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 19 Dec 2012 09:49:09 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87d2y655gg.fsf_-_@gavenkoa.example.com> Thread-Index: Ac3eDHSNbcj8m/Y+ScyUbkw/n/kb/wAAXLrQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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:88224 gmane.emacs.bugs:68753 Archived-At: > So `' quoting style is common for info files. I checked it > was used for function selection in libc and readline info files. > Also it was used in GNU Make, R, Autotool and other manuals. > > So having highlighting for `' in info mode is good thing for > Emacs user (compare with emacs-lisp-mode, where it was highlighted). > > This is my vote up. Here is a 2004 thread about this, for reference: http://lists.gnu.org/archive/html/emacs-devel/2004-10/msg00045.html Be aware that it is not feasible for such highlighting to be foolproof. There are sometimes isolated occurrences of characters such as ` and " that do not indicate quotation bounds, for instance. And some nested or overlapping quotations are not handled correctly, such as this from `(eintr) else': `"It's a tiger!"'; but when you evaluate `(type-of-animal 'zebra)', you will see `"It's not fierce!"'. However, last time (2004) I checked in detail, there were "only *4* nodes of the Elisp Manual that exhibit any highlighting problem at all, and those pbs are minor. This is a big manual." That's not bad. http://lists.gnu.org/archive/html/emacs-devel/2004-10/msg00197.html At that time I also checked other manuals, with the findings detailed here: http://lists.gnu.org/archive/html/emacs-devel/2004-10/msg00206.html http://lists.gnu.org/archive/html/emacs-devel/2004-10/msg00234.html A subsequent version of the code fixed some of those problems. Here is my last message in that thread: http://lists.gnu.org/archive/html/emacs-devel/2004-10/msg00301.html Among other things, this highlighting can be helpful in finding certain bugs in the manuals. During that thread several such bugs were found and corrected.