all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: More imenu questions
Date: Thu, 10 Nov 2005 22:11:18 +0100	[thread overview]
Message-ID: <34ef8007c63f54818e63c46151d42a4d@Web.DE> (raw)
In-Reply-To: <1131650614.618835.24650@z14g2000cwz.googlegroups.com>


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

  reply	other threads:[~2005-11-10 21:11 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 [this message]
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
     [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

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

  git send-email \
    --in-reply-to=34ef8007c63f54818e63c46151d42a4d@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.