The regular expression used in jde-import-get-import-insertion-point needs
to be enhanced so that it
matches package statements properly. The expression neglects to anchor the
search at the start of the
line and force the case to a lowercase "package". Otherwise it incorrectly
matches statements such as

     Package ourPackage = AClass.class.getPackage();

I've attached a patched version of jde-import.el that includes a modified
jde-import-get-import-insertion-point.
that works correctly for my use.


Erik Husby
Domain Pharma Corp
Suite 110      Vox: 781-778-3834
10 Maguire Rd       Fax: 781-778-3800
Lexington, MA 02421 Email: [EMAIL PROTECTED]




jde-import.el

Reply via email to