[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Double hyphens in variable names.

From: Lute Kamstra
Subject: Re: Double hyphens in variable names.
Date: Thu, 02 Oct 2003 17:11:53 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Luc Teirlinck <address@hidden> writes:

> What if you do:
> @defvar address@hidden -- }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 

  \verb ->\begingroup \setupverb 
  <argument> imenu\verb 
                        { -- }index-alist
  \code #1->#1

  \dosubind ...e \toks 0}\xdef \indexsorttmp {\temp 
                                                    }}\edef \temp {\write 
  l.1850 @defvar address@hidden -- }index-alist

Still, even if it had worked, wouldn't it be best that the @defvr
macro treats multiple hyphens like @code does?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]