As all Java programmers know, there is PUBLIC, PROTECTED, and PRIVATE
scope for methods and instance variables. There is also PACKAGE scope which
applies to methods and instance variables that do not have an explicit
PUBLIC, PROTECTED, or PRIVATE applied to them.
It is a convention at my site that we document package level methods by
using a comment before the method name, i.e.
/* package */ int someFunction()
imenu and speedbar ignore functions with this pattern.
I found the code in jde.el that sets up the patterns for imenu and speedbar
and have tried to extend it to include /* package */ with no apparent luck.
I was using
/\*[ \t]*package[ \t]*\*/
(with suitable doubling of the backslashes) in the function
jde-make-imenu-patterns for the definition of "modifier".
I'm looking for some help with the ELisp.
Thanks in advance
Erik Husby
Domain Pharma Corp
Suite 110 Vox: 781-778-3834
10 Maguire Rd Fax: 781-778-3800
Lexington, MA 02421 Email: [EMAIL PROTECTED]