From: "Erik Andersén" <erik@mclint.com>
Subject: java imenu bug
Date: Tue, 29 Apr 2003 10:31:03 +0200 [thread overview]
Message-ID: <BOEKIDKMEMCGDLFKDHBIAEBLCAAA.erik@mclint.com> (raw)
in lisp/progmodes/cc-imenu.el
(defvar cc-imenu-java-generic-expression
`((nil
,(concat
"^\\([ \t]\\)*"
"\\([.A-Za-z0-9_-]+[ \t]+\\)?" ; type specs; there can be
"\\([.A-Za-z0-9_-]+[ \t]+\\)?" ; more than 3 tokens, right?
"\\([.A-Za-z0-9_-]+[ \t]*[[]?[]]?\\)"
"\\([ \t]\\)"
"\\([A-Za-z0-9_-]+\\)" ; the string we want to get
"\\([ \t]*\\)+("
"[][a-zA-Z,_1-9\n \t]*" ; arguments
")[ \t]*"
; "[^;(]"
"[,a-zA-Z_1-9\n \t]*{"
) 6))
"Imenu generic expression for Java mode. See
`imenu-generic-expression'.")
should be
(defvar cc-imenu-java-generic-expression
`((nil
,(concat
"^\\([ \t]\\)*"
"\\([.A-Za-z0-9_-]+[ \t]+\\)?" ; type specs; there can be
"\\([.A-Za-z0-9_-]+[ \t]+\\)?" ; more than 3 tokens, right?
"\\([.A-Za-z0-9_-]+[ \t]*[[]?[]]?\\)"
"\\([ \t]\\)"
"\\([A-Za-z0-9_-]+\\)" ; the string we want to get
"\\([ \t]*\\)+("
"[][a-zA-Z,_0-9\n \t]*" ; arguments
")[ \t]*"
; "[^;(]"
"[,a-zA-Z_0-9\n \t]*{"
) 6))
"Imenu generic expression for Java mode. See
`imenu-generic-expression'.")
(That is, 0 instead of 1 in the last two regexes)
Best Regards,
Erik Andersen
reply other threads:[~2003-04-29 8:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=BOEKIDKMEMCGDLFKDHBIAEBLCAAA.erik@mclint.com \
--to=erik@mclint.com \
/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).