From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lute Kamstra Newsgroups: gmane.comp.tex.texinfo.bugs,gmane.emacs.devel Subject: Re: Double hyphens in variable names. Date: Thu, 02 Oct 2003 17:11:53 +0200 Organization: CWI, Amsterdam Sender: bug-texinfo-bounces+gnu-bug-texinfo2=m.gmane.org@gnu.org Message-ID: References: <200310021318.h92DIWW05772@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1065108226 607 80.91.224.253 (2 Oct 2003 15:23:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2003 15:23:46 +0000 (UTC) Cc: bug-texinfo@gnu.org, emacs-devel@gnu.org Original-X-From: bug-texinfo-bounces+gnu-bug-texinfo2=m.gmane.org@gnu.org Thu Oct 02 17:23:43 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A55It-0003jn-00 for ; Thu, 02 Oct 2003 17:23:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A55I4-0004aP-VC for gnu-bug-texinfo2@m.gmane.org; Thu, 02 Oct 2003 11:22:52 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A55Hz-0004Zk-D9 for bug-texinfo@gnu.org; Thu, 02 Oct 2003 11:22:47 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A558A-0002Vu-Bd for bug-texinfo@gnu.org; Thu, 02 Oct 2003 11:13:09 -0400 Original-Received: from [192.16.191.8] (helo=hera.cwi.nl) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A557c-0002LI-Nw; Thu, 02 Oct 2003 11:12:04 -0400 Original-Received: from occarina.pna.cwi.nl (occarina.pna.cwi.nl [192.16.184.200]) by hera.cwi.nl with ESMTP id h92FBtal007601 for ; Thu, 2 Oct 2003 17:11:55 +0200 (MEST) Original-Received: (from lute@localhost) by occarina.pna.cwi.nl (8.12.8/8.12.5) id h92FBrik005709; Thu, 2 Oct 2003 17:11:53 +0200 X-Authentication-Warning: occarina.pna.cwi.nl: lute set sender to Lute.Kamstra@cwi.nl using -f Original-To: Luc Teirlinck In-Reply-To: <200310021318.h92DIWW05772@raven.dms.auburn.edu> (Luc Teirlinck's message of "Thu, 2 Oct 2003 08:18:32 -0500 (CDT)") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Original-Lines: 41 X-BeenThere: bug-texinfo@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for the GNU Texinfo documentation system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-texinfo-bounces+gnu-bug-texinfo2=m.gmane.org@gnu.org Xref: main.gmane.org gmane.comp.tex.texinfo.bugs:1202 gmane.emacs.devel:16877 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16877 Luc Teirlinck writes: > What if you do: > > @defvar imenu@verb{ -- }index-alist > > The spaces can be replaced by any other delimiter. > > Does this lead to satisfactory results? No. For the info file, it does produce: - Variable: imenu--index-alist but for the info file's index it produces: * imenu: Imenu. Additionally, it chokes TeX: ! Undefined control sequence. \tabeightspaces ->\catcode `\^^I=\active \def ^^I {\ \ \ \ \ \ \ \ } \setupverb ...catcode `\`=\active \tabeightspaces \obeylines \uncatcodespeci... \verb ->\begingroup \setupverb \doverb imenu\verb { -- }index-alist \code #1->#1 \dosubind ...e \toks 0}\xdef \indexsorttmp {\temp }}\edef \temp {\write \csn... ... l.1850 @defvar imenu@verb{ -- }index-alist Still, even if it had worked, wouldn't it be best that the @defvr macro treats multiple hyphens like @code does? Lute.