From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: [drew.adams@oracle.com: RE: cannot find :enable in Elisp manualindex] Date: Sun, 03 Jun 2007 12:34:18 +0300 Organization: JURTA Message-ID: <87y7j1pejp.fsf@jurta.org> References: <87myzit1v9.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1180863297 30059 80.91.229.12 (3 Jun 2007 09:34:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Jun 2007 09:34:57 +0000 (UTC) Cc: karl@gnu.org, drew.adams@oracle.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 03 11:34:54 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HumUA-0004gM-Gi for ged-emacs-devel@m.gmane.org; Sun, 03 Jun 2007 11:34:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HumU9-0000qp-Q0 for ged-emacs-devel@m.gmane.org; Sun, 03 Jun 2007 05:34:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HumU6-0000qk-Mr for emacs-devel@gnu.org; Sun, 03 Jun 2007 05:34:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HumU5-0000qY-Pk for emacs-devel@gnu.org; Sun, 03 Jun 2007 05:34:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HumU5-0000qV-Ko for emacs-devel@gnu.org; Sun, 03 Jun 2007 05:34:49 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HumU3-0005Cn-Rc; Sun, 03 Jun 2007 05:34:48 -0400 Original-Received: from schnapps.dreamhost.com (apache2-noxim.schnapps.dreamhost.com [208.113.175.112]) by smarty.dreamhost.com (Postfix) with ESMTP id BDE0BEE229; Sun, 3 Jun 2007 02:34:46 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by schnapps.dreamhost.com (Postfix) with ESMTP id ABBC1A8702; Sun, 3 Jun 2007 02:34:45 -0700 (PDT) In-Reply-To: (Eli Zaretskii's message of "Sun\, 03 Jun 2007 06\:07\:26 +0300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:72103 Archived-At: >> We could use a trick in the Info browser that if an index entry starts with >> a colon, then interpret it as part of index entry, or if there is two colons >> in a row then interpret the first one as part of the entry. For example, >> >> * :action (button property): Button Properties. (line 12) >> >> where everything up to the last colon is the info entry. > > That might solve some of the problems in the ELisp manual, but the > gravest problems with colons in languages such as C++ will not be able > to use this trick. yep :), e.g.: * class::method: Description of Class::Method. (line 12) but we could try to use some heuristics like, for example, matching a colon only when space follows it (":[ \t]+"), and so when it is not inside an identifier. -- Juri Linkov http://www.jurta.org/emacs/