Re: Problems debugging files with more than 1000 lines.
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 .
Re: navigation from backtrace
Suraj Acharya [EMAIL PROTECTED] writes: This question has been asked a couple of times before. http://www.mail-archive.com/jde@sunsite.dk/msg06862.html Thanks, sorry I missed that (searched for all the wrong keywords :-( ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh Half-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: [EMAIL PROTECTED] URL: http://www.ltg.ed.ac.uk/~ht/ [mail really from me _always_ has this .sig -- mail without it is forged spam]
patch for gnu emacs
Sam Steingold writes: the appended patch is necessary to use JDEE with GNU Emacs. Hi Sam, This problem has already been fixed in the latest CVS version of jde.el. Thanks, Paul -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.camera.org http://www.iris.org.il http://www.memri.org/ http://www.mideasttruth.com/ http://www.honestreporting.com Marriage is the sole cause of divorce. diff -u -b -w -i -B d:/gnu/sitelisp/jde/lisp/jde.el.old d:/gnu/sitelisp/jde/lisp/jde.el --- d:/gnu/sitelisp/jde/lisp/jde.el.old 2004-10-28 23:43:02.0 -0400 +++ d:/gnu/sitelisp/jde/lisp/jde.el 2004-11-23 15:04:54.351027400 -0500 @@ -1247,12 +1247,12 @@ (when (fboundp 'add-submenu) (add-submenu '(File) val Insert File...))) (let* ((mb (assq 'menu-bar global-map)) - (files (assq 'files mb)) + (file (assq 'file mb)) (menu (if (fboundp 'easy-menu-create-menu) (easy-menu-create-menu (car val) (cdr val (menu-name (car val))) - (define-key-after (cdr (cdr files)) [jde-new] + (define-key-after (cdr (cdr file)) [jde-new] (cons menu-name menu) 'open-file) Diff finished. Tue Nov 23 15:11:56 2004
Re: Why does JDEE look for tools.jar
On Mon, 2004-11-22 at 15:15, Shyamal Prasad wrote: I'm having trouble running JDEE (with both Emacs and XEmacs) on a Debian GNU/Linux system. The problem is with finding the tools.jar file. Since I'm using runtimes not licensed from Sun (sablevm, kaffe etc.) this file is missing. I don't know what the situation is with Debian and Kaffe/SableVM, but here's a recent development from the Fedora world. Fedora Core 3 now ships the following packages: java-1.4.2-gcj-compat java-1.4.2-gcj-compat-devel See http://fedora.redhat.com/docs/release-notes/fc3/x86/ I think these provide a fake tools.jar file, as well as /usr/bin/java and /usr/bin/javac. See http://www.spindazzle.org/green/index.php?p=24 Vadim