From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "rgb" Newsgroups: gmane.emacs.help Subject: Re: More imenu questions Date: 10 Nov 2005 15:55:50 -0800 Organization: http://groups.google.com Message-ID: <1131666950.464646.166660@o13g2000cwo.googlegroups.com> References: <1131650614.618835.24650@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1131667680 29439 80.91.229.2 (11 Nov 2005 00:08:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Nov 2005 00:08:00 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 11 01:07:57 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EaMRh-0003EE-6M for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Nov 2005 01:07:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EaMRg-00007L-G1 for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Nov 2005 19:07:08 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!o13g2000cwo.googlegroups.com!not-for-mail Original-Newsgroups: comp.emacs,comp.lang.tcl,gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: 198.74.20.74 Original-X-Trace: posting.google.com 1131666955 10318 127.0.0.1 (10 Nov 2005 23:55:55 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 10 Nov 2005 23:55:55 +0000 (UTC) In-Reply-To: <1131650614.618835.24650@z14g2000cwz.googlegroups.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: o13g2000cwo.googlegroups.com; posting-host=198.74.20.74; posting-account=C7LM4w0AAAD23IRuMuUUJVCLQTuHhTK8 Original-Xref: shelby.stanford.edu comp.emacs:90556 comp.lang.tcl:273164 gnu.emacs.help:135381 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30975 Archived-At: gamename wrote: > Hi, > > 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? Put "TestCases" in quotes.