From: "rgb" <rbielaws@i1.net>
Subject: Re: More imenu questions
Date: 10 Nov 2005 16:15:37 -0800 [thread overview]
Message-ID: <1131668137.170976.254970@f14g2000cwb.googlegroups.com> (raw)
In-Reply-To: <mailman.14783.1131660316.20277.help-gnu-emacs@gnu.org>
Kevin Rodgers wrote:
> gamename wrote:
> > I'm trying to add menu items in tcl like this:
> > (setq tcl-imenu-generic-expression
> > '((TestCases "^aetest::testcase -tc_id \\([_-A-Za-z0-9+]+\\)[
> > ]+{" 1)))
>
> > When I turn on the major mode (tcl-mode), I get this error:
> > "Wrong type argument: symbolp, ((TestCases "^aetest::testcase -tc_id
> > \\([_-A-Za-z0-9+]+\\)[ ]+{" 1))"
> >
> > What am I doing wrong?
>
> You've got an extra level of parentheses:
That's the syntax for supplying several menu levels or regexp's.
The fact that only one is being supplied doesn't preclude use of
the extra level.
next prev parent reply other threads:[~2005-11-11 0:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-10 19:23 More imenu questions gamename
2005-11-10 21:11 ` Peter Dyballa
2005-11-10 22:00 ` Kevin Rodgers
2005-11-10 23:55 ` rgb
[not found] ` <mailman.14783.1131660316.20277.help-gnu-emacs@gnu.org>
2005-11-11 0:15 ` rgb [this message]
[not found] ` <mailman.14778.1131657088.20277.help-gnu-emacs@gnu.org>
2005-11-11 1:57 ` gamename
2005-11-11 16:43 ` rgb
2005-11-11 17:04 ` Drew Adams
2005-11-11 23:58 ` Donal K. Fellows
2005-11-14 22:24 ` Bruce Stephens
2005-11-12 17:20 ` gamename
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=1131668137.170976.254970@f14g2000cwb.googlegroups.com \
--to=rbielaws@i1.net \
/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.
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).