From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: More imenu questions Date: Thu, 10 Nov 2005 22:11:18 +0100 Message-ID: <34ef8007c63f54818e63c46151d42a4d@Web.DE> References: <1131650614.618835.24650@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1131657305 31527 80.91.229.2 (10 Nov 2005 21:15:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 10 Nov 2005 21:15:05 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 10 22:15:04 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EaJit-0006HP-Mo for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Nov 2005 22:12:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EaJit-0000nA-3Q for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Nov 2005 16:12:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EaJhd-0000QT-Va for help-gnu-emacs@gnu.org; Thu, 10 Nov 2005 16:11:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EaJhc-0000Op-5Q for help-gnu-emacs@gnu.org; Thu, 10 Nov 2005 16:11:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EaJhb-0000OZ-Sr for help-gnu-emacs@gnu.org; Thu, 10 Nov 2005 16:11:23 -0500 Original-Received: from [217.72.192.226] (helo=smtp08.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EaJhb-0008Cs-P6 for help-gnu-emacs@gnu.org; Thu, 10 Nov 2005 16:11:23 -0500 Original-Received: from [84.245.189.18] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #317) id 1EaJhZ-0001Bb-00; Thu, 10 Nov 2005 22:11:21 +0100 In-Reply-To: <1131650614.618835.24650@z14g2000cwz.googlegroups.com> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: "gamename" X-Mailer: Apple Mail (2.623) X-Sender: Peter_Dyballa@web.de 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:30972 Archived-At: Am 10.11.2005 um 20:23 schrieb gamename: > 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? > When you use in a regular expression [_-A...] this can be (mis-)interpreted as all characters in the range from _ to A. The correct description should be [-_...]. [ ]+ is unnecessarily complicated. ' +' should do the same. {" 1))" could be misunderstood. Clarification with backslashes might be needed. But I really don't know what you are trying ... -- Greetings Pete One doesn't expect governments to obey the law because of some higher moral development. One expects them to obey the law because they know that if they don't, those who aren't shot will be hanged. --Michael Shirley