Hi

I had my first attempt at writing emacs LISP yesterday, so please bear
with me, if the patch isn't complete.  I haven't tested this patch
extensively, but I tried the code after the change, and it seemed
to work for me.

As Javier noted, maybe the code should examine the locale, and then only
match the char that the local uses, but I have no idea how to write such
code.

Anyway .. here is a cvs diff from lisp-directory of the latest cvs 
version of jde:

 Index: jde-jdb.el
===================================================================
RCS file: /pack/anoncvs/jde/lisp/jde-jdb.el,v
retrieving revision 1.45
diff -r1.45 jde-jdb.el
356c356
<                "\\] .*(\\([^\$\n]*\\).*:\\([0-9]*,?[0-9]+\\))")
---
>                "\\]
.*(\\([^\$\n]*\\).*:\\([0-9]*[^[:digit:]]?[0-9]+\\))")
676c676
<    "^.*: thread=.*, \\(\\(.*[.]\\)*\\)\\([^\$]*\\)\\(\$.*\\)*[.].+(),
line=\\([0-9,]*\\),")
---
>    "^.*: thread=.*, \\(\\(.*[.]\\)*\\)\\([^\$]*\\)\\(\$.*\\)*[.].+(),
line=\\([0-9,.]*\\),")
1192c1192
<    "^.*: \"thread=.*\",
\\(\\(.*[.]\\)*\\)\\([^$]*\\)\\($.*\\)*[.].+(), line=\\([0-9,]*\\)"))
---
>    "^.*: \"thread=.*\",
\\(\\(.*[.]\\)*\\)\\([^$]*\\)\\($.*\\)*[.].+(), line=\\([0-9,.]*\\)"))
1873c1873
<   (if (string-match "," number)
---
>   (if (string-match "[^[:digit:]]" number)

Please tell me if you want me to supply this in a different format, and 
how I do that, if so.

        Kind regards, and thanks for a great java mode for Emacs,
        Morten B. Isaksen .


Reply via email to