unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lute Kamstra <Lute.Kamstra@cwi.nl>
Cc: bug-texinfo@gnu.org, emacs-devel@gnu.org
Subject: Re: Double hyphens in variable names.
Date: Thu, 02 Oct 2003 17:11:53 +0200	[thread overview]
Message-ID: <sgdsmmb3c92.fsf@occarina.pna.cwi.nl> (raw)
In-Reply-To: <200310021318.h92DIWW05772@raven.dms.auburn.edu> (Luc Teirlinck's message of "Thu, 2 Oct 2003 08:18:32 -0500 (CDT)")

Luc Teirlinck <teirllm@dms.auburn.edu> 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 
  <argument> 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.

  reply	other threads:[~2003-10-02 15:11 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-01 13:53 Double hyphens in variable names Lute Kamstra
2003-10-02  5:55 ` Eli Zaretskii
2003-10-02  8:43   ` Lute Kamstra
2003-10-02 13:18     ` Luc Teirlinck
2003-10-02 15:11       ` Lute Kamstra [this message]
2003-10-02 16:00         ` Luc Teirlinck
2003-10-02 16:14           ` Lute Kamstra
2003-10-02 16:54             ` Andreas Schwab
2003-10-02 17:25             ` Luc Teirlinck
2003-10-03  1:50             ` Luc Teirlinck
2003-10-03  2:13               ` Luc Teirlinck
2003-10-03  3:45                 ` Luc Teirlinck
2003-10-02 19:04         ` Oliver Scholz
2003-10-03  8:39           ` Lute Kamstra
2003-10-03 16:18             ` Luc Teirlinck
2003-10-03 19:37               ` Lute Kamstra
2003-10-03 18:33             ` Luc Teirlinck
2003-10-03 18:42               ` Luc Teirlinck
2003-10-03 19:46               ` Lute Kamstra
2003-10-04 10:47                 ` David Ponce
2003-10-06  7:11                   ` Lute Kamstra
2003-10-06 23:19                 ` Juri Linkov
2003-10-07  9:08                   ` Lute Kamstra
2003-10-03 19:42           ` Richard Stallman
2003-10-03 21:19           ` Juri Linkov
2003-10-02 14:07     ` Luc Teirlinck
2003-10-02 19:15     ` Richard Stallman
2003-10-02 18:56 ` Kevin Rodgers
  -- strict thread matches above, loose matches on Subject: below --
2003-10-04  1:03 Karl Berry
2003-10-04  3:51 ` Luc Teirlinck
2003-10-04  1:03 Karl Berry
2003-10-04 22:35 ` Richard Stallman
2003-10-05  0:53   ` Miles Bader
2003-10-05 10:36     ` Stepan Kasal
2003-10-05  8:34   ` Werner LEMBERG
2003-10-06  9:06 David PONCE
2003-10-06  9:18 ` Lute Kamstra
2003-10-07  5:32 ` Richard Stallman
2003-10-07  6:57   ` Lute Kamstra
2003-10-06  9:26 David PONCE
2003-10-07  7:57 David PONCE

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sgdsmmb3c92.fsf@occarina.pna.cwi.nl \
    --to=lute.kamstra@cwi.nl \
    --cc=bug-texinfo@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).