Re: java folding

2005-02-02 Thread Kevin A. Burton
Paul Kinnucan wrote:
Guy Thomas writes:
 I have never used emacs or jde-folding. Is it available? 

Yes.
 Is it easy to 
 use? 

Yes.
 Do I have to install extra packages, do I have to add something to 
 my .emacs file?

No.
See Hideshow in the Editing Programs section of the Emacs editor
documentation.
 

Is this still based on tokens not methods?
I wrote a jhideshow.el package a few years ago and I think it was 
primarily because there was no way to quickly hide the current method.

I also wrote code to hide ALL the methods so you could just get an 
overview...

Kevin
--
Use Rojo (RSS/Atom aggregator).  Visit http://rojo.com. Ask me for an 
invite!  Also see irc.freenode.net #rojo if you want to chat.

Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html
If you're interested in RSS, Weblogs, Social Networking, etc... then you 
should work for Rojo!  If you recommend someone and we hire them you'll 
get a free iPod!
   
Kevin A. Burton, Location - San Francisco, CA
  AIM/YIM - sfburtonator,  Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412



ANNOUNCE: Mozilla Development Environment for Emacs (MDEE) created.

2003-01-14 Thread Kevin A. Burton (burtonator)

I would like to announce the creation of the MDEE projects for Mozilla and Emacs
development.

http://mdee.mozdev.org

Right now we have made some very good progress but we would like to see more
people using the software and potentially see more developers joining the
project.

See the website and mailing list for more information.

-- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
   AIM - sfburtonator,  Web - http://www.peerfear.org/
GPG fingerprint: 4D20 40A0 C734 307E C7B4  DCAA 0303 3AC5 BD9D 7C4D
 IRC - openprojects.net #infoanarchy | #p2p-hackers | #reptile

$live{free} || die ;






Re: OT Learning Lisp

2002-03-22 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kevin Jones [EMAIL PROTECTED] writes:

 I often come across features in JDE (and other Emacs libs) that I'd like to
 work on but my Lisp knowledge is minimal (at best). I have the Writing Emacs
 Extensions book, but I'm looking for a better introduction to lisp
 programming, preferably but not necessarily, with an Emacs slant. Any
 recommendations would be gratefully received.
snip/

... the JDE also uses the EIEIO package which is an implementation of the
Common Lisp Object System.

You will also need to learn this :)...

I have a fairly decent understanding of lisp... certainly not an expert but I
still think that CLOS is a requirement here.

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Soylent Green is made from people!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8m7EUAwM6xb2dfE0RAtYQAJ9Xgt2bhjsLlsqQlZFF8X4aIfvprQCgvcP5
qUuBS/qUuh8DAcb2puHFkCI=
=m6g3
-END PGP SIGNATURE-



Also dump interfaces when displaying locals...

2002-03-15 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Ok... so I just did a Display Locals in JDEBug

Just a suggestion... but why not also include implemented interfaces.  For
example:

net.jxta.document.StructuredDocument param = 
net.jxta.impl.document.LiteXMLDocument:1433
net.jxta.protocol.ModuleSpecAdvertisement msadv = 
net.jxta.impl.protocol.ModuleSpecAdv:1432
net.jxta.protocol.PipeAdvertisement pipeadv = net.jxta.impl.protocol.PipeAdv:1431
net.jxta.platform.ModuleClassID mcID = net.jxta.impl.id.UUID.ModuleClassID:1430

The LiteXMLDocument in the above implments about 10 interfaces and it took me
about 5 minutes to figure out which ones... if this was just dumped I would be
a LOT better off.

Thoughts?

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Hiroshima 1945, Czernobyl 1986, Windows 2000

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8kqeJAwM6xb2dfE0RAnYLAKCBVMyfXFt6MDjXQHx86kHCazBXmwCfclb9
cdWOGsfcH5DIJ+1+nNrsjuU=
=fef0
-END PGP SIGNATURE-



Re: Hotspot VM really incompatible with JPDA?

2002-03-15 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] writes:

 A version of the JDE user's guide mentions that the Hotspot VM is incompatible
 with JPDA as required for JDEbug.  Is this still the case with the Hotspot JVM
 version 1.3.0_01 ?

Yes... I believe so.  JDK 1.4 seems to be OK.

 I seem to be able to connect via sockets and debug with JDEbug just fine using
 this JVM, though the users guide did mention that problems, if any, may be
 intermittant.

Yes... it seems to work right away but after a while you start to notice that it
is flaky.  Misses breakpoints, times out, etc.

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

I would rather live with a certain amount of private terrorism than with
government totalitarianism.
  -- Harvey Silvergate
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8kttzAwM6xb2dfE0RAmqbAKCYZoRecucTnFurWYf1yKicaFwJ2wCdFM2u
LbTh8d8n/cyrFdtNaFGxGz8=
=77tC
-END PGP SIGNATURE-



jde-load-project-file takes long amount of time with large buffer count

2002-03-14 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


OK...

I usually keep my Emacs running about ~300 buffers.  It just ends up that way.

The only problem is that jde-load-project-file starts to take a LONG time.  In
the range of about 10-15 seconds.  When you are trying to get work done this is
tough to deal with.

Where is the bottleneck?  Even if I comment out my prj.el file it still is
pretty bad. :(

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

The philosophy of this column is simple: if you have good language skills, you
will be respected and admired; whereas if you clearly have no clue about grammar
or vocabulary, you could become president of the United States.
  --Dave Barry, writing in the Miami Herald.



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8kTDmAwM6xb2dfE0RAkm1AJ42gDKmxUG5GA6Uyw8eUJDnyyKJ9gCeP6Ae
+iOpi+xL0IeCrE4x98AYIGA=
=5KVv
-END PGP SIGNATURE-



Re: jde-load-project-file takes long amount of time with large buffer count

2002-03-14 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] (Kevin A. Burton) writes:

 OK...
 
 I usually keep my Emacs running about ~300 buffers.  It just ends up that way.
 
 The only problem is that jde-load-project-file starts to take a LONG time.  In
 the range of about 10-15 seconds.  When you are trying to get work done this is
 tough to deal with.
 
 Where is the bottleneck?  Even if I comment out my prj.el file it still is
 pretty bad. :(

So yeah... it looks like the bottleneck is jde-set-variables-init-value.  This
is a list of 287 items (on my machine) takes about 15 seconds to process
them... hm..

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

For great justice.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8kTYMAwM6xb2dfE0RApm7AJwNkHp2lGpQh3n0KwCwm1J0AbqyAACgqTMF
f+qwrhS/kKshPWn2bmz1BmU=
=HDIF
-END PGP SIGNATURE-



Re: jde-load-project-file takes long amount of time with large buffer count

2002-03-14 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] (Kevin A. Burton) writes:

 OK...
 
 I usually keep my Emacs running about ~300 buffers.  It just ends up that way.
 
 The only problem is that jde-load-project-file starts to take a LONG time.  In
 the range of about 10-15 seconds.  When you are trying to get work done this is
 tough to deal with.
 
 Where is the bottleneck?  Even if I comment out my prj.el file it still is
 pretty bad. :(

OK... thinking out loud I guess.

The bottleneck (at least on my machine) was 'funcall'.  Is it needed... don't
think so.

I guess the indirection of 300 items was slowing down emacs...  anyway here are
the two function defs... the second is about 1% faster (at least on my
machine).

the diff is just (funcall set symbol val-to-set)) to (set symbol val-to-set))

Thanks!

(defun jde-set-variables-init-value (optional msg)
  Set each JDE variable to the value it has at Emacs startup.
  (interactive)
  (if (or (interactive-p) msg)
  (message Setting JDE variables to startup values...))
  (mapcar 
   (lambda (symbol) 
 (let ((val-to-set (eval (car (or (get symbol 'saved-value)
  (get symbol 'standard-value)
   (set (or (get symbol 'custom-set) 'set-default)))
   (if (or (get symbol 'customized-value)
   (get symbol 'jde-project))
   (funcall set symbol val-to-set))
   (put symbol 'customized-value nil)
   (put symbol 'jde-project nil)
   (jde-put-project symbol default val-to-set)))
   (jde-symbol-list)))

(defun jde-set-variables-init-value (optional msg)
  Set each JDE variable to the value it has at Emacs startup.
  (interactive)
  (if (or (interactive-p) msg)
  (message Setting JDE variables to startup values...))
  (mapcar 
   (lambda (symbol) 
 (let ((val-to-set (eval (car (or (get symbol 'saved-value)
  (get symbol 'standard-value)
   (set (or (get symbol 'custom-set) 'set-default)))
   (if (or (get symbol 'customized-value)
   (get symbol 'jde-project))
   (set symbol val-to-set))
   (put symbol 'customized-value nil)
   (put symbol 'jde-project nil)
   (jde-put-project symbol default val-to-set)))
   (jde-symbol-list)))

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Not only in computer science, but also across all scientific fields, skeptical
analysis of technical claims made by others, and the presentation of detailed
evidence to support such analysis, is the heart of the scientific method.
- Princeton University Professor Edward Felten on the DMCA
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8kTetAwM6xb2dfE0RAvZ6AKCUwUNH+uAwKMYO3Vf48hWKOpxwmQCgtgDs
S3ryLRzVJkTaCdA1mEe9k/s=
=93nn
-END PGP SIGNATURE-



Re: print the stack in JDebug

2002-02-18 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Laurent Mirguet [EMAIL PROTECTED] writes:

 Hello,
 
 Is it possible to print (and to browse) the current stack in JDebug ?  I know
 the function jde-bug-up-stack even if it doesn't work on my config (I get a
 jde-bug-up-stack: Symbol's function definition is void: jde-dbo-show-line )
snip/

RFTM (read the fine manual) ... it is in there... honest :)

Basically you just need to suspend your vm and run jde-bug-show-threads

This will then allow you to browse threads and then expand their stacks.

I would also recommend using jde-stack.el

http://relativity.yi.org/emacs

You can then run M-x jde-stack-mode and font-lock the threads buffer and
C-return to jump to the source locations.

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Boycott Amazon.com http://www.gnu.org/philosophy/amazon.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8cLZwAwM6xb2dfE0RAgARAJ9inSd+gd8wOzGY2OOS//+acuytPgCaAg9C
NSlqIXHtKvhGL5feklH3Bz0=
=k4QY
-END PGP SIGNATURE-



camelCase-mode

2002-02-12 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Wow... didn't see this before... really cool!

http://www.hotdispatch.com/palm/view-ip-requester?ID=14317280

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

All your MP3 are belong to us!



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8aNe2AwM6xb2dfE0RAlr9AJsHGj97DPN9PvfEYMDInchd9QplyQCffwRu
owe2y9GQuc9pgOL6j6QnS8E=
=KqGq
-END PGP SIGNATURE-



Re: J2SE 1.4

2002-02-07 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Daniel Hegyi [EMAIL PROTECTED] writes:

   Hi,
  
   J2SE 1.4 is out. It has some new keywords (e.g., assert). Is JDE going to
   support it soon?
  
   Regards,
   Daniel
 What do you refer by support?
 I have been using Jdk 1.4 and jde for months.


 I think you need to recompile CompileServer.java with the new java compiler.
snip/

Daniel... how about giving us a hint?  What output did you get?

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Patriotism is the last refuge of a scoundrel.
  -- Samuel Johnson
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8Yu67AwM6xb2dfE0RAmsoAKCxvNd/vKwr66u9WXPKFF2qsGAGAwCgg8i4
ZRKmDmi1XrJ1u1fTeQvw67w=
=GKFI
-END PGP SIGNATURE-



JDEBug trace exceptions dialog

2002-02-01 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


When one is using JDEBug and they want to trace exceptions where is the data
kept generated from this dialog.

Could this feature use customization?  Seems like a pain to continually have to
fill this data out.

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Says Ransome Love:

   We gave the Linux community more than Stallman with his libraries.  Our work
   helps Linux so much more than a few lines of code.

  (http://www.zdnet.com/zdnn/stories/news/0,4586,2779682,00.html)

See http://www.gnu.org/gnu/the-gnu-project.html for the real story.



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8Wld6AwM6xb2dfE0RAoh5AKC0N9vBieaAvDOeIOaXz0Dy0xORhQCgi7qM
vKtPVxYaJalYm+yZKYMoU34=
=iy0Z
-END PGP SIGNATURE-



jde-bug-thread-show-thread-info ??

2002-02-01 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


(defun jde-bug-thread-show-thread-info () 
  (interactive)
  (message not implemented))

What would it do IF it were implemented???
  
- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Learn from other people's mistakes, you don't have time to make your own.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8WlonAwM6xb2dfE0RAtZHAJoDHazuXSeX48DCcqw1URZ3pdc3gACffalG
lRUpLdIekjAtu/zqB7Vl1gg=
=TWCq
-END PGP SIGNATURE-



Re: JDEbug performance

2002-02-01 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Max Rydahl Andersen [EMAIL PROTECTED] writes:

   Start your java application with a -classic option to disable HotSpot -
 then
   it runs smooth!
 
  What JVM are you running under?
 
 java -version
 java version 1.3.1_02
 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
 Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode)
 
snip/

 I also read at some point which I can't find again (nice proof, eh! :) that
 the JDK in 1.3 will ignore the -Djava.compiler=NONE instruction and still
 use HotSpot.

Oh... that is good!  :(  

You know... I was just going over some code...

The -classic option did seem to speed things up.  Of course this is totally
anecdotal..

   A while ago I posted some fixes/suggestions for changes in JDE to ensure
 that   debugged applications started from JDE ran in classic mode, but I do
 not know   if these changes have made it into the codebase yet
 
  Do you have this documented anywhere?  What was the subject line?
 
 Here is some trace of it.
 http://www.mail-archive.com/jde@sunsite.dk/msg02979.html
 
 Maybe it has been fixed - can't remember it.
 
 But this still holds:
   But the solution is to just start your java app externally from e.g. Ant
 or a
   simple commandline and then just attach to the JVM from JDebug.
snip/

Yes... doing that anyway... from Ant.

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

They must have programmed it to get rid of the competition!

You mean like Microsoft?

Exactly!  -- Simpsons
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8WlyrAwM6xb2dfE0RAsviAJ49UR3E4aI+bZouEaa5j+Dn9P8XVACff8Jq
FGP6j0A3qBlHGUso7VCyKOY=
=jKWI
-END PGP SIGNATURE-



Re: find all instances of method x

2002-02-01 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

aaron armstrong [EMAIL PROTECTED] writes:

 there is one ide feature which i have used in other ides this i constantly
 miss.  there was a way to find all instances of any method within a project -
 thus allowing me to know who/what might be effected by my changes and to know
 if anything was actually using it still.

Which IDE?  Probably Visual Age.

 i've been using jde as my ide for almost 2 years now and love it, i don't use
 many of its bells and whistles, so i'm ignorant of all it can do and am hoping
 someone can give me some pointers on how to find this feature.

Basically you need either a incremental compiler with an index or the ability to
parse method bodies.  From what I hear Semantic 2 will include message body
parsing.

 what this feature would allow me to do is find all places where
 my.class.Person.create() is called in my project.

yeah... sorry.. grep?

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Help!  I'm a neural net trapped inside a man's body!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8WuzwAwM6xb2dfE0RApa3AJ0Z2UC1ImW8U9WaEQs9U4Zc7TgZwwCglwVB
ud9GUl3zVtPFgGggODGlQMc=
=0E87
-END PGP SIGNATURE-



Re: speedbar

2002-02-01 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Javier S. Lopez [EMAIL PROTECTED] writes:

snip/

  main speedbar as soon as the FSF legal stuff is done.
 I don't use the speedbar, so you might be right. It just strikes
 me that switching to the buffer could cause very strange behavior that breaks
 the speedbar.
snip/

The speedbar does a lot of strange stuff with the current frame and frames.  it
will scroll your buffer around assumes things about other frames, etc, etc.

You can try it ... you probably will run into issues.

When speedbar was first written it was assumed tha tit would ALWAYS run within
one dedicated frame.  Now people want to run it multiple times.  For the most
part I have fixed this locally (wan't fun).  Hopefully I will have the legal BS
taken care of soon.  I believe the papers are in the mail :)

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

YEAH!!! I'M A MIME!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8WvRPAwM6xb2dfE0RAv5QAKCMdhLybhdE1FBs41f3JOyHFwtDygCgxy29
KvbQVQ5wcr+J1MFlrgIGhcs=
=CawZ
-END PGP SIGNATURE-



Better interactive definition for jde-bug-attach-local-host

2002-02-01 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Doesn't this make sense.  By default is uses the port for input.

I got sick of typing '2112' every time :)

(defun jde-bug-attach-local-host (process-port) 
  Attaches the debugger to a process running on local host. This command connects 
to the process via a socket.
  (interactive
   (list
(read-string Process Port:  (cdr jde-bug-server-socket

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

And the beast shall come forth surrounded by a roiling cloud of vengeance. The
house of the unbelievers shall be razed and they shall be scorched to the
earth. Their tags shall blink until the end of days.
- from The Book of Mozilla, 12:10

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8WwB1AwM6xb2dfE0RApZwAKCjulCSWftxWLBbY2I3gieAwz1D4QCeINGT
uGXCWRHRoGhCPj3x6HhEsb0=
=qBX9
-END PGP SIGNATURE-



Re: JDEbug performance

2002-01-31 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Scott Evans [EMAIL PROTECTED] writes:

 I finally got fed up trying to debug servlet-type processes with println
 statements so I'm going debugger.

I think the killer combo could be:

JDEBug/JPDA
Tomcat class reloading
Cactus unit testing

... I am going to play with that today.

I wills send off a report :)

 I got jdb working okay but of course its interface is a little clunky,
 especially compared to a nice in-your-editor display.
 
 So I set up JDEbug and gave it a go.  Right away I said yes! this rocks! but
 unfortunately the performance seems pretty awful compared to command-line jdb.

It is also kind of quirky... you will see what I mean :)

 Variable queries take ~30 seconds to come back; stepping from line to line is
 very slow as well.  This all works as one might expect (i.e. quickly) in
 command-line jdb.

How are you running command-line in JDB?  Are you using TCP or shared memory or
in-VM???

 I'm running on Win2000, using shared memory to attach to a running process.
 
 Is this known behavior for JDEbug?  If not, any advice?
snip/

Yes... it is kind of sluggish.

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Resistance is *not* futile!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8WcDmAwM6xb2dfE0RAincAKCLMe/rNJRMVGyFzTMoexESGUsRBgCgyBfv
clJ5OE8PbnUyRcOmwjbHruk=
=I2Qu
-END PGP SIGNATURE-



Re: attaching with jdb

2002-01-31 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul Kinnucan [EMAIL PROTECTED] writes:
snip/

 As for your question about JDEbug, yes performance is a major issue. Petter
 Mahlen has rewritten the Java backend to JDEbug and reports a significant
 improvement in peformance. I plan to rewrite the frontend to use a new more
 robust and hopefully faster interface and integrate it with Petter's rewritten
 backend. (The new frontend will be basically the same as the new frontend for
 jdb that I've been working on for the last two months and that is included in
 the latest beta.)

Wow... this is good to hear!  Definitely keep us up-to-date!  :)

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

... Whereas it is essential, if man is not to be compelled to have recourse, as a
last resort, to rebellion against tyranny and oppression, that human rights
should be protected by the rule of law...
   -- Universal Declaration of Human Rights, United Nations, 1948
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8WcJPAwM6xb2dfE0RAjB3AKCrgSFkyMdgGHsGd3uivJIMMYUQowCdFNZQ
z6pKVVnpK+yBRRH6kExoTVg=
=kwI1
-END PGP SIGNATURE-



Can completion use members?

2002-01-29 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hm..

Doesn't it make sense that completion could include members as well as methods?

I am not getting members and found no way to turn them on.  Am I missing
something?

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Acts performed with a delusive mind produce painful results



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8V1fuAwM6xb2dfE0RApSrAKDH7vVIHp89Gfofv/DKN7PFPge7HwCcCfm0
Xkrx1bs6M3b1ou1QxU8+ffc=
=Hu8K
-END PGP SIGNATURE-



Re: Help Needed Debugging Tomcat Servelets

2002-01-26 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul Kinnucan [EMAIL PROTECTED] writes:

 Heather Marie Buch writes:
   OK, thanks for the quick response!

   This is very helpful. I can try this.
   
   However, I have one question. When you say, connect via jpda, do you
   mean
   that I should follow the instructions for the 1.2.2 jdk (maybe download
   jpda.jar) and set these variables within emacs:
   
   jde-bug-vm-includes-jpda-p Off.
   jde-bug-jpda-directory Directory that contains the JPDA package.
   (and set a path to the jpda dir in my .bashrc)
   
   instead of these ones (in the instructions for jdk1.3)?:
   
 
 No!!! Use the JDK 1.3 instructions. I wrote the JDEbug user's guide before 1.3
 was available on Linux and have not updated it since.

yeah.. I totally agree.  JPDA in JDK 1.2 totally sucks.  You will have a much
better experience with JDK 1.3.

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

When I was a child, my mother said to me, If you become a soldier you'll be a
general. If you become a monk you'll end up as the Pope. Instead, I became a
painter and wound up as Picasso.
- Pablo Picasso (1881-1973)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8UwrOAwM6xb2dfE0RAndfAKCL9RkJK5w5g1yCzw0jCjAssMUWFACgq2G2
VegL5wrbR1dR3ninxxuWXoE=
=KTIW
-END PGP SIGNATURE-



Re: Help Needed Debugging Tomcat Servelets

2002-01-25 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul Kinnucan [EMAIL PROTECTED] writes:

 Heather Marie Buch writes:
   Hi Paul,
   
 
 Heather, 
 
 I haven't done any servelet development and I don't have access
 to Linux so I'm afraid I can't be of much help myself. However,
 there are JDE users who have used JDEbug successfully to debug
 Tomcat applications. Therefore I am reposting your mail to the
 JDE mailing list in the hopes that someone on it has the answers
 you need. Regarding the eieio error, that is simply a side effect
 of JDEbug's failing to connect to Tomcat. I need to fix
 the code to give a more meaningful response.
snip/

Your best bet is to startup Tomcat in a second process outside of Emacs and
connect via JPDA.  I would recommend starting Tomcat via Ant... 

java classname=org.apache.catalina.startup.Bootstrap fork=yes

jvmarg value=-Dcatalina.home=./

jvmarg value=-Xrunjdwp:transport=dt_socket,address=2112,server=y,suspend=n/
jvmarg value=-Xdebug/
jvmarg value=-Xnoagent/
jvmarg value=-Djava.compiler=NONE/

arg value=start/

classpath refid=project.classpath/

/java

Either way... you need to setup Tomcat with the following Java parameters:

- -Xrunjdwp:transport=dt_socket,address=2112,server=y,suspend=n
- -Xdebug
- -Xnoagent
- -Djava.compiler=NONE

Then you can connect to Tomcat and it should set your breakpoints.

You can then use your browser to goto the servlet.  At this point you can
change back to Emacs an the JDE should be stopped on your breakpoint.

 and yes... this was on Linux (Debian GNU/Linux actually :)

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Yes I know my enemies, they're the teachers who taught me to fight me;
compromise, conformity, assimilation, submission, ignorance, hypocrisy,
brutality, The Elite. All of which are American Dreams.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8UkjKAwM6xb2dfE0RAldKAJ9jBfGEHI41WIej7ieDeYGP9TGcmwCdFFXD
93rmms1VVXTb7hKw7Af/F6o=
=1xO9
-END PGP SIGNATURE-



Re: Speedbar question (slightly OT)

2002-01-21 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Berndl, Klaus [EMAIL PROTECTED] writes:

 Two months ago or so I upgraded to the latest JDE beta and along the way I
 upgraded speedbar to 0.14beta2 (as well as other required components).
 
 After the upgrade, I cannot expand java files on speedbar - when I click on
 the + to the left or Test.java(etc) it changes to - but I do not see the
 fields and methods in Test.java. I looked through (and played with)
 customizing the speedbar to get the expandable behaviour with no luck.
 
 Would anyone here know how to fix this?
 
 Don't know, but maybe you use a wrong semantic-version?!
 
 Anyway, maybe you are also interested in trying out the ECB (Emacs Code
 Browser) which gives you all what speedbar gives you (ok, not all, but almost
 :-), but well integrated into your Emacs-frame and with better looking
 browsing-display (IMHO!).

Also the next version of ECB will embed the speedbar within an ECB panel.  There
is some more stuff that needs to be done first though.

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Any sufficiently advanced terrorist is indistinguishable from Osama Bin Laden.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8S9+5AwM6xb2dfE0RAp1AAJ9IG+fpTRG7oXVELeOs926jfRsIAACgsdmi
FL0LDOMjuHq7hQTpWZexGAI=
=OA6E
-END PGP SIGNATURE-



Re: specify tool (ant) to run application

2002-01-14 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Matt Munz [EMAIL PROTECTED] writes:

 Hi all,
 
   jde 2.2.9beta5, W2K
 
   I'd like to bind the JDERun App menu selection to an antfile instead of
 jde's built-in run methods.  Has anyone done this, or does anyone have some
 good suggestions on how I might do this?
 
   My first thought is to add a target called run to the build.xml for my
 project, and then write the appropriate lisp to wire it in to jdee so that the
 run App command calls something like ant -buildfile build.xml run in the
 shell.  Does this sound reasonable?

Just customize jde-ant so that it prompts for a target.

then you can tell it to use a target of 'run'.

You can use repeat-complex-command to rerun it again with all the correct
arguments.

I would suggest running jde-ant.el 1.4 which I sent to the list a few days ago.

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

bounce. bounce. bounce. bounce. bounce. bounce. bounce. bounce. bounce. bounce.
bounce. bounce. bounce. bounce. bounce.
 - Fatboy Slim
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8Q1JgAwM6xb2dfE0RAgrPAJ9iptAsdWI+TGqDifba9sq/EPFqBQCfV+dS
jKcaSUcHnzeGL9MhhMcfVkE=
=Io/L
-END PGP SIGNATURE-



Re: user-mail-address

2001-12-30 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Graham Bennett [EMAIL PROTECTED] writes:

 Hi,
 
 Is it possible to have different email addresses (and maybe even different
 names) defined for each jde project, i.e. defined in the prj.el.  I want to
 have my work email for work projects and my personal email for personal
 projects.

I started writing an identity.el package that would fix this.

Basically it would allow you to specify a list of regexps of files -
identities.

So for example I would map

/projects/reptile to ( [EMAIL PROTECTED] )

and then

/projects/xml-cocoon2 to ([EMAIL PROTECTED])

I never finished it up.  The UI for this is pretty rough.

You could use a prj.el and set these settings manually.

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Our most basic American values are threatened by an enemy opposed to everything
for which our flag stands. That is why I call upon all Americans to submit to
wiretaps, e-mail monitoring, and racial profiling.

http://www.theonion.com/onion3736/freedoms_curtailed.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8L7U1AwM6xb2dfE0RAq3wAJ4pEJgbA214+3oLZKQJS+ljisVHUwCff99E
IcDXZPswQXt483roiBP4OlY=
=8u8M
-END PGP SIGNATURE-



Re: debugger seems to hang

2001-12-30 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul Kinnucan [EMAIL PROTECTED] writes:

 Jürgen Jatzkowski writes:
   Hi,
   
   I started using JDE as my favourite Java development environment ;) Now 
   that I want to debug my application using JDEbug I come into some 
   trouble when I step through the application:
   
   - I started the application outside Emacs (GNU Emacs 20.7.1)
   - returning to JDE (2.2.8) I attach via local host on port 2112
   - I suspend the application, set some breakpoints and let the 
   application continue
   - so far fine, the application hits one breakpoint and I step through it
   - after some step over commands the debugger seems to hang
   
   Is this a known phenomen?
   
 
 No.

It is in my experience.  The JDE has a tendency to lock Emacs hard in some
situations.  I don't know why.

 However, you should be aware that JDEbug is of alpha quality.  It has not
 received much attention over the last two years because JDE users seemed more
 interested in other things like Ant support, hierarchical projects, and field
 and method completion.

Huh.  That is interesting.  I would admit that those are a priority (Ant, etc).
Possibly because a lot of Java/Emacs developers haven't had the ability to do
real solid debugging in a long time.

 I am now starting to devote most of my time to debugger support so the
 situation should improve.

I have been watching the commits.  Keep up the good work! :)

 My first priority is to provide solid support for jdb because jdb is a more
 mature, though less capable, debugger. I then plan to work on JDEbug.

Really?  In my mind, the fact that jdb is soo buggy is a real drawback.  When I
use it from the command line it NPEs and has trouble in a lot of places.

JDEBug shouldn't suffer from this problem.  Most of the problems with JDB are
with its implementation of a JPDA debugger and not the JPDA archtecture itself.
I would assume that JDEBug could solve this.
snip/

Thanks for the update.

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

...the biggest breakthrough in biotechnology since the breakthrough it fixes.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8L7buAwM6xb2dfE0RAnUPAJ9xLjIiVuvJG7ESuKm6G/sY75ZY/wCePwjr
kRc3aGsGkC6hPAOizT4PoF0=
=60ri
-END PGP SIGNATURE-



[VOTE] Which debuggger do you use in the JDE

2001-12-30 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


OK.  To celebrate my new DSL line... I decided to put this up.

http://relativity.yi.org/website/vote/1009760418/

Just thought it would help out.

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

The future is not set.  There is no fate but what we make for ourselves.



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8L7spAwM6xb2dfE0RAuAXAJ9PZC4n1ZBw0oRusHrXLhSqZU8nLwCfTJP+
V+OLQiD4+Ix+M0n+WgNjg/4=
=GLqo
-END PGP SIGNATURE-



Re: debugger seems to hang

2001-12-30 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Milan Zimmermann [EMAIL PROTECTED] writes:

  Jürgen Jatzkowski writes:
Hi,
 ... 
  Paul Kinnucan writes:
 
  No. However, you should be aware that JDEbug is of alpha quality.
  It has not received much attention over the last two years because
  JDE users seemed more interested in other things like Ant support,
  hierarchical projects, and field and method completion.
 
  I am now starting to devote most of my time to debugger support
  so the situation should improve. My first priority is to provide
  solid support for jdb because jdb is a more mature, though less
  capable, debugger. I then plan to work on JDEbug.
 
 I was wondering what % of people here use jdb vs JDEBug (not that I would want
 my personal preference to JDEBug to affect your priorities).

Funny you should mention that :)

http://relativity.yi.org/website/vote/1009760418/

 JDEBug, even with some the quirks, was the main reason I started using JDE as
 a full-circle development environment, apart from using emacs to edit Java
 files. I am glad the debugging environment will improve.

snip/

Yes. I agree it is pretty cool.

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

No matter how hard you try you can't stop us now.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8L7tVAwM6xb2dfE0RAl1zAKDIOFd1/auOrd4E2N/OGThssF9+zgCfe+Fr
qWknWUAJhEuaF/gv48UaEJ8=
=L8lM
-END PGP SIGNATURE-



Re: best features of jde

2001-12-19 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

aaron armstrong [EMAIL PROTECTED] writes:

 At Wed, 19 Dec 2001 16:32:37 -0500,
 Daniel Hegyi wrote:
 
  ;; * C-l. (Think about it! How useful is it? How many editors have
snip

It i recenter on a default Emacs install.  It isn't *that* impressive.  What do
you have it bound to???

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Iron rusts from disuse, stagnant water loses its purity, and in cold weather
becomes frozen: even so does inaction sap the vigors of the mind.
  -- Leonardo da Vinci
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8IR1+AwM6xb2dfE0RAg89AJ91mJTZDIZHCzTsr1TEdItPsEQRfQCePXSv
TB5RSifomAcYQZnj+k0nk20=
=MF6u
-END PGP SIGNATURE-



[patch] breakpoints should span entire lines

2001-12-19 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Ok.  Posting this to the user list so that it can be incorporated by others.

This enables jde-bug breakpoints to span the entire window instead of
terminating at EOL.

I made the change to jde-bug-make-breakpoint-overlay as well but it doesn't
look like anything is using this function.

Kevin

- --- jde-bug.el  2001/12/04 05:33:44 1.76
+++ jde-bug.el  2001/12/20 00:07:17
@@ -717,12 +717,12 @@
jde-bug-breakpoints)))
 
 (defun jde-bug-make-breakpoint-overlay ()
- -Makes a breakpoint overlay at the current line in the current buffer.
+  Makes a breakpoint overlay at the current line in the current buffer.
   (let ((marker-overlay
- -(make-overlay
- - (line-beginning-position)
- - (line-end-position)
- - (current-buffer) nil t)))
+ (make-overlay
+  (line-beginning-position)
+  (1+ (line-end-position))
+  (current-buffer) nil t)))
 (overlay-put marker-overlay  'face 'jde-bug-breakpoint-marker)
 (overlay-put marker-overlay 'priority 99) 
 marker-overlay))
@@ -745,7 +745,7 @@
   (let ((marker-overlay
 (make-overlay
  (line-beginning-position)
- - (line-end-position)
+ (1+ (line-end-position))
  (current-buffer) nil t)))
(overlay-put marker-overlay  'face 'jde-bug-breakpoint-marker)
(overlay-put marker-overlay 'priority 99) 

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Iron rusts from disuse, stagnant water loses its purity, and in cold weather
becomes frozen: even so does inaction sap the vigors of the mind.
  -- Leonardo da Vinci

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8IS0wAwM6xb2dfE0RAlI2AJ9hwp96THYAVIgWQ0NZJExZB9gS8wCdFf/9
KtxpTcuyqVHq3dFA2TIzlc4=
=RI/p
-END PGP SIGNATURE-



Conditional breakpoint plans

2001-12-16 Thread Kevin A. Burton - burtonator


Hey.

Could either Javier or Paul explain the plan for a conditional breakpoint impl.

I am really excited about this feature...

-- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Failure to accept hypocrisy is the sign of a weak mind.
  - me






Re: JDK 1.4 JPDA enhancements.

2001-12-14 Thread Kevin A. Burton - burtonator

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Daniel Hegyi [EMAIL PROTECTED] writes:

   wink (to fix all the social problems with VAJ:
 
  I talked to Sam Ruby about this two years ago at ApacheCon.  I don't think this
 would have happened if SUN didn't release NetBeans.
 
   it's Open Source, uses CVS for a repository, simple plugin model -- I used to
   consult for IBM and using VAJ grated on my soul for several of those reasons,
 
  Yes... The developers I work with really are kind of screwed.  They don't have
 CVS and are stuck with JDK 1.2.2

 Actually, that's not true for VAJ4. You can specify the compiler.

Actually this is true but for some reason they can't make the migration.

 Why do you find VAJ's version controlling inferior?

Actually VAJ does have support for version control on a per symbol basis.. which
is kind of cool.

The only problem is that it only works with one IDE, isn't Open Source and only
runs on Windows
snip

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

... Whereas it is essential, if man is not to be compelled to have recourse, as a
last resort, to rebellion against tyranny and oppression, that human rights
should be protected by the rule of law...
   -- Universal Declaration of Human Rights, United Nations, 1948
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8GrPiAwM6xb2dfE0RAtiDAJ956qGtRGX2EV7YKR3flPH49cFB+QCgyH3s
mxQvdDWdKpgbeZMLlt8zgBQ=
=coxg
-END PGP SIGNATURE-



Re: Setup of JDE

2001-12-13 Thread Kevin A. Burton - burtonator

Heinz-Dieter Conradi [EMAIL PROTECTED] writes:

 hi alain,
 
   The project is becoming
   more and more complex and I have not been able to implement the
   dependencies into the Makefiles. So I decided to give this a try in the
   JDE environment, but also in vain.
 
  Nope, JDE is not the answer. You need an external tool for that. You can look at 
Jikes
  for dependency rules generation for makefiles.
 
 as was already pointed out by different people, jde alone will not give you
 this dependency checking.
 
 however, if i remember it right, JBuilder can't do this either. it just
 recompiles every class it finds.
 
 something like this is certainly possible with a simple make or ant file.
 
 and as a side remark, if you are really going to recompile the whole project -
 you should consider using jikes - this speeds up the compile time
 tremendeously.  furthermore, jikes is able to do some dependency checking, but
 i haven't played with that myself.

Agreed.  Forget about Makefiles.

I compile everything with jikes.  Even on large projects around 300 or so .java
files, compiles take less than 1 second.

Just compile everything with one command.

Kevin

-- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

...the biggest breakthrough in biotechnology since the breakthrough it fixes.



Re: best mode to edit Ant files ?

2001-12-12 Thread Kevin A. Burton - burtonator

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Eric Chastan [EMAIL PROTECTED] writes:

 Hello,
 
 Do you know a good mode to edit Ant files (with colorization, indentation,
 completion ...) ?

sgml-mode

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Happy Festivus!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8Fy7SAwM6xb2dfE0RAsO7AKDMggJN3y6ufbXUsDqwFNdTpJHiEQCePYab
V/qizxeR7r+CxuvQZWo2lGU=
=duvc
-END PGP SIGNATURE-



Re: best mode to edit Ant files ?

2001-12-12 Thread Kevin A. Burton - burtonator

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Max Rydahl Andersen [EMAIL PROTECTED] writes:

 If u use Emacs 21 (maybe even 20.7) use this small, but efficient addition
 to sgml/xml-mode.
 sgml/xml-mode provides the colouring of the tags (it is xml after all) - the
 hack provide indention and auto-completion of end tags.
 
 Completion of the tags is not possible without a DTD, but for this I just
 use hippie-expand or dabbrev-expand.
snip

I am confused.  Do you use the regular sgml-mode that *comes* with emacs or
PSGML.

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

'We feel that there are real opportunities with evil, and that when evil is
integrated it into our next generation of Windows products consumers will
[Prince of Darkness] appreciate evil on their desktop,' said Microsoft Chairman
Bill Gates.  'Businesses haven't been able to fully realize their evil
potential.  With evil integrated into Office 2001, corporations big and small
will begin to see enhanced evil productivity.'
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8F61RAwM6xb2dfE0RAtWZAJ9tfe+KWPsn13yC6d8aO6QsUtCgswCcCUHB
xZrN4w56ByesE4sSxb11jmQ=
=+Wz4
-END PGP SIGNATURE-



Re: JDK 1.4 JPDA enhancements.

2001-12-12 Thread Kevin A. Burton - burtonator

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Michael R. Head [EMAIL PROTECTED] writes:

 On Tue, Dec 11, 2001 at 11:47:37PM -0800, Kevin A. Burton - burtonator wrote: 
  I have been working with some Visual Age developers recently.  It is really
 cool  watching then reload code on the fly.Having a JVM support this
 would be cool.Now if it were only Open Source :)
 
 Um... Isn't that the point of Eclipse?

Well... I specifically was taking about the JVM.  The SUN JDK 1.4 is still closed.

 wink (to fix all the social problems with VAJ:

I talked to Sam Ruby about this two years ago at ApacheCon.  I don't think this
would have happened if SUN didn't release NetBeans.

 it's Open Source, uses CVS for a repository, simple plugin model -- I used to
 consult for IBM and using VAJ grated on my soul for several of those reasons,

Yes... The developers I work with really are kind of screwed.  They don't have
CVS and are stuck with JDK 1.2.2

 and the fact that the editor, even in emacs mode, was really pretty useless)

ug... yup.  Which is one reason that nothing will compare to Emacs :)

 If it only had an emacs plug-in and the SWT had better cross-platform support,
 I'd have to think about switching over, until then, JDE(E) will be my Java
 environment (and I will continue to love it and advocate for it).

 (Oh yeah, and Eclipse will also have to be packaged with Debian GNU/Linux
 before I really make the switch)

snip

It looks like Eclipse does meet the Debian GNU/Linux FSG.  Shouldn't be too long
before you can do an:

apt-get install eclipse

:)

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Whenever there is a conflict between human rights and property rights, human
rights must prevail.
  -- Abraham Lincoln
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8F6zCAwM6xb2dfE0RAqXJAJ9nqR+7mJ21olNENuWHYyYqfOu4AACfVWgd
zrcLTvVWBmhHsXWV07ZMfmA=
=eolU
-END PGP SIGNATURE-



Setting the default thread and viewing locals.

2001-12-12 Thread Kevin A. Burton - burtonator

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


OK.

Right now the only way to view local variables is to:

- - set a breakpoint

- - try to hit it

- - jde-bug-show-locals


The raw 'jdb' that comes with the JDK (at least JDK  1.3) supports.

Connecting via

%shell% jdb -attach 2112
%shell% thread X
%shell% suspend X
%shell% locals

You will then get a dump of all local variables.

Any chance of seeing this in the JDE???

Kevin


- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

The dawn is rising on a new day!



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8F/+tAwM6xb2dfE0RAunoAJ0ZZLhZOcKJ7s5DMdUe9etqqfS0wgCfY2/j
+Lak0Bc//JevCIk/U7lNcSY=
=WBAH
-END PGP SIGNATURE-



Xalan debugging infrastructure

2001-12-11 Thread Kevin A. Burton - burtonator

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


hm

http://xml.apache.org/xalan-j/usagepatterns.html#debugging

Xalan-Java contains a debugger interface in the org.apache.xalan.xslt.trace
package:

* TraceListener is an interface that debuggers can implement. Or, like the
  command-line utility, you can use the PrintTraceListener implementation of
  that interface.

* You can register a TraceListener with the TraceManager associated with the
  Transformer that will perform a given transformation.

* TracerEvent is an event that is passed to the TraceListener.trace
  function. It is called before a node is 'executed' in the stylesheet.

* GenerateEvent is an event that is passed to the TraceListener.generated()
  function. It is called after an event occurs to create something in the
  result tree.

* SelectionEvent is an event triggered by the selection of a stylesheet
  node.

The command-line utility uses the debugger interface when you include one or
more of the following switches: -TT, -TG, -TS, -TTC.

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

The future is not set.  There is no fate but what we make for ourselves.



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8FdnkAwM6xb2dfE0RApuPAJ0e4YRbYFoCb8RDhEgy+SJnWghe7QCfT9vq
wOAb6fUdcDuL6VIO6147YTo=
=k9Vg
-END PGP SIGNATURE-



Re: JDK 1.4 JPDA enhancements.

2001-12-11 Thread Kevin A. Burton - burtonator

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Galen Boyer [EMAIL PROTECTED] writes:

 On 08 Dec 2001, [EMAIL PROTECTED] wrote:
  
  Specifically the HotSwap class reloading is REALLY important
  for me.
 
 Seems that the Visual Age claim to faim will be available for all now.  I
 would bet Paul will jump on this when he gets the time.

I have been working with some Visual Age developers recently.  It is really cool
watching then reload code on the fly.

Having a JVM support this would be cool.

Now if it were only Open Source :)

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Technology is the catalyst for Utopia.
-- Me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8Fws1AwM6xb2dfE0RAjtDAJ0ZOPLNk16MfKMo+f5A3i1K6QNvsACfXUyl
KwuTpo01sFuPUgFKzOwmeKs=
=OJE8
-END PGP SIGNATURE-



JDEBug fails to 'step' bug also fails to notify the user.

2001-12-08 Thread Kevin A. Burton


OK.

I was debugging a java app and had to head away from my computer for a few
moments.  When I came back the JDE would 'lock' on on `jde-bug-step-over'.
Every command would result in a 30 second (or so) delay, with no change.

No error and the JDE overlay-arrow doesn't move forward.

According to the source accept-process-output should wait for
jde-bug-debugger-command-timeout seconds and if this fails it will display an
error (actually message).

Any idea???

Kevin

-- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

One small step for man, one giant leap for mankind.






JDK 1.4 JPDA enhancements.

2001-12-08 Thread Kevin A. Burton


This is a cool document.

http://java.sun.com/j2se/1.4/docs/guide/jpda/enhancements.html

Any plans to incorporate this functionality?

Specifically the HotSwap class reloading is REALLY important for me.

This doesn't work automatically because you need to tell the VirtualMachine to
redefineClasses.

cool stuff thought :)

Kevin

-- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Learn from other people's mistakes, you don't have time to make your own.






jde-bug-continue should set overlay-arrow-position to nil.

2001-12-08 Thread Kevin A. Burton


Hm.

jde-bug-continue leaves the overlay-arrow around after it runs.

Obviously this is incorrect as the VM will be running on its own at this point.

Kevin

-- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Linux is kind of like UNIX but it isn't as expensive, isn't fragmented across
multiple vendor, doesn't restrict your Freedom, and is just infinitely more
pleasant.






Re: JDEBug and thread stacks?

2001-12-04 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] (Kevin A. Burton) writes:

 OK.
 
 When I am debuging a process I can view a list of threads (IE the *Threads*
 buffer).
 
 I noticed that there is an entry for Stack at the bottom:
 
   [-]-, main thread group
  [-]-, main thread
   |  |--- id: 7
   |  |--- status: runnable
   |  |--- state: normal
   |  `--- Stack
 
^
|
 ---
 
 What is this 'Stack'?  It would be nice to view the stack for each thread.

OK.  I know it is lame to respond to your own messages.. but oh well.

It turns out you have to suspend the VM and *then* you can view thread stack
info.

It would be nice for it to tell you what is going on.  AKA something like

'Stack: suspend VM to view thread stacks'

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

They have the guns, money, and press, but we have the technology!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8DVQzAwM6xb2dfE0RAtdNAJwKtmsy8y15tviyFwJfGrRi6LFIyQCgl6td
N/pvlWJkFplHmSEoYKUe36A=
=zxx+
-END PGP SIGNATURE-



JDEBug and thread stacks?

2001-12-03 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


OK.

When I am debuging a process I can view a list of threads (IE the *Threads*
buffer).

I noticed that there is an entry for Stack at the bottom:

  [-]-, main thread group
 [-]-, main thread
  |  |--- id: 7
  |  |--- status: runnable
  |  |--- state: normal
  |  `--- Stack

   ^
   |
- ---

What is this 'Stack'?  It would be nice to view the stack for each thread.

Is this the intention of this line?

When you are debugging multithreaded apps, it is nice to be able to see the
stack for each thread as it is waiting.

Thoughts?

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Live life as if you were going to die tomorrow; Learn as if you were going to
live forever.  -- Mahatma Ghandi



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8DHurAwM6xb2dfE0RArNjAKCeLk+d2pWUI+yVko0KHOUMwL99GwCgrOvd
FabqBsBu6JObYaAPc59bkEk=
=eHnJ
-END PGP SIGNATURE-



Re: JDEbug is not in the emacs menus

2001-12-02 Thread Kevin A. Burton

Slava Zimine [EMAIL PROTECTED] writes:

 Hello to al. 
 
 OS: linux
 emacs 20.7.1
 jde: 2.2.9.beta7
 jdk 1.3.1
 
 Upon a launch of emacs on some java source file  i do not see in the
 menus  the JDEbug  menu, yet 
 '(jde-debugger (quote (JDEbug)))   is specified in ~/.emacs  file
 
 
 The menu reappears if  I reset the jde-debugger variable in its
 customization buffer. 
 
 Probably it is not the wanted behavior. 

I noticed another fix is to kill my current JDE buffer and then open the file
again.

-- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

The unconstitutional government, for the corporation, by the corporation, must be
overthrown!



Does jde-bug-attach-local-host depend on jde-run???

2001-11-30 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


OK.

I want to connect to an external VM *outside* of Emacs.  Specifically because
this way I can exit Emacs without shutting down my server.

Does JDEBug depend on me calling jde-run?

If I try to do a jde-bug-attach-local-host I get the error:

eieio-default-superclass: Unbound slot: #class jde-dbs-debugger, 
#jde-dbs-debugger JDEbug, process, oref

The Attach Process | On local host

command is grayed out...

(this was from 2.2.8 and from CVS)

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Any programming language is at its best before it is implemented and used.



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8CHulAwM6xb2dfE0RAkM9AKC94fdEvalzgtbH89Y8KrlgQiJWwwCg0grH
q4z5NjzFA2P7LN3x+piMxFE=
=eMXd
-END PGP SIGNATURE-



Re: Thoughts on jde-bug

2001-11-19 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul Kinnucan [EMAIL PROTECTED] writes:

 Kevin A. Burton writes:
   -BEGIN PGP SIGNED MESSAGE-
   Hash: SHA1
   
   Paul Kinnucan [EMAIL PROTECTED] writes:
   snip
   
After you've made a few successful submissions via me. Note that your
submissions should be thoroughly tested before submission and work on all
platforms supported by Emacs/XEmacs/JDK and all modern versions of Emacs and
   
   I try to write code as portable as possible obviously.  The biggest screw up I
   have made in the past is the use of font-lock-add-keywords as this is not
   portable on XEmacs.
   
XEmacs and handle all cases, e.g., no feature that works only for special
cases.
   
   Hm.  Later Emacsen support features such as images, etc that would be nice to
   take advantage of.  Of course the code can be written to work on all platforms
   as we could enable the uplevel features when running in downlevel clients.
   
 
 I would like the JDE to take advantage of these features but not require them.

My thoughts as well.

 Thus, it would be great to provide toolbar buttons for the most common debug
 commands (set/clear breakpoint, step in, run/continue, etc). The code for this
 should check to be sure that a toolbar is available (it is not on the Windows
 version of Emacs 21).

Really?  No toolbar on Windoze?  hm

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Windows XP.  Now with more evil in every box!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE7+M59AwM6xb2dfE0RApZRAKDPb1njV7OZIw8HT4B6Hou3XNhsoACgqb9S
zM/PE9R+rw54KzOty3FYRUQ=
=gJ5c
-END PGP SIGNATURE-



Re: How to save Breakpoints automatically?

2001-11-19 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul Kinnucan [EMAIL PROTECTED] writes:

 Milan Zimmermann writes:
   Hello,
   
   In JdeBug, is there a way to set breakpoints automatically, without 
   having to use Customize and manually list and save them?
   
 
 Not yet, but this is something I want to add as soon as possible.

What does this mean?  You want to persist breakpoints between sessions?

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

$_='while(read+STDIN,$_,2048){$a=29;$c=142;if((@a=unxC*,$_)[20]48){$h=5;
$_=unxb24,join
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE7+YoYAwM6xb2dfE0RAvuXAKC2CJOHC6N7ufDm4VnVPzkWnmKZrgCgkhp4
Yg8zNCkbjGUgHCuDcn1TQVM=
=9pdj
-END PGP SIGNATURE-



[jde-bug] before setting a breakpoint, make sure the current file is in jde-db-source-directories

2001-11-16 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


OK.

This doesn't make sense.

Right now it is possible to toggle a breakpoint in a file that is not in
jde-db-source-directories.  Isn't this bad?

Shouldn't we signal an error if the user does this?

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Boycott Amazon.com http://www.gnu.org/philosophy/amazon.html



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE79ZeyAwM6xb2dfE0RAgcSAJ9uJpIzUTTUYI89R5POmMNf3ffAPACgzhwP
4c6o+hoQCAlmS5PUSwUwhEg=
=FGuk
-END PGP SIGNATURE-



Thoughts on jde-bug

2001-11-16 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


OK.

I just wanted to serialize my thoughts here.

In the past I have not used debuggers.  Primarily because I knew all of my
source code and understood what was going on.  Recently I have been working on a
lot of projects where I don't know the code thus I find myself wanting to
play with jde-bug.

It seems like jde-bug is a little rough around the edges for new users.
Specifically there are some things it should catch when thing fail.

I mean when things work, they work great but when things fail, they fail
silently and without any debug information.

This is one area of improvement.

The other main area isn't really our fault but the VMs.  It seems like the JDK
1.3 VM has problems in a lot of places.  (I can't put a breakpoint in main() ).
Does anyone know how the 1.4 VM behaves?  I can't run it for a number of
reasons.

Has anyone thought about integrating this with the ECB?

Could we add the jde-bug-menu to the other buffers? (CLI, Process, Local
Variables, etc).

Also.  It seems like we should be able to handle things a little better when
things go wrong.  If the JDEBug process terminates with an error.  We should
probably display this to the user.

Anyway... I will probably grab the latest beta and play with this.

This should allow me to work on patches as I break it.

Other than that everything seems great!  After all this was just constructive
criticism. :)

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Did you hear why they're using Windows 2000 as a prison guard?  Because it
always locks up! 



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE79aDPAwM6xb2dfE0RAnqQAKCHa2Pv8RqLIUCae9wtxNIuFvLWbACgyPwy
T7PSciLzaJ4tJT+/qrKC9vM=
=O67r
-END PGP SIGNATURE-



Re: jde-2.2.9beta5 bug report...

2001-11-10 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Randy Kerber [EMAIL PROTECTED] writes:

 I've had the same problem with font-lock, where only the comments are
 highlighted.
 
 I managed to get it working correctly by experimenting with settings in my
 .emacs file.
 
 If any of the following statements are in my jde-mode-hook, it doesn't
 work:
 (font-lock-mode 1)
 (turn-on-font-lock)
snip

You nailed it.  I had a (turn-on-font-lock)

Sort of ironic.

My BSH still doesn't work though :(

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Microsoft VBScript compilation  error '800a03e9'

Out of memory

?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE77gbmAwM6xb2dfE0RAmd7AKCQT4+I8w5eqVqeHhY5sJjJRcubLACffP6T
xrjdrd/+ITYmZOxbXOwZv7A=
=s5e4
-END PGP SIGNATURE-



Re: Completion problem in 2.2.9 beta5 -- problem report

2001-11-10 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul Kinnucan [EMAIL PROTECTED] writes:

 Molitor, Stephen writes:
   For what it's worth, I have the same problem with Semantic 1.4 beta 12.
  
 
 This is an unfortunate infinite loop bug in the JDE's algorithm for determining
 the version of the JDK to be used to launch the beanshell. If you do not specify
 the version to be used, either via jde-jdk-registry or the environment variable
 JAVA_VERSION, the JDE tries to use the Beanshell to get the version. This leads
 to an infinite regression. It looks like I will have to amend the algorithm
 perhaps to to start a vm specially to get the version.

Why not just say ... sorry... no VM setup!

This would be cleaner and faster IMO.

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

This nation will remain the land of the free only so long as it is the home of
the brave.

- Elmer Davis
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE77h92AwM6xb2dfE0RAssOAJ9J9j72yhFiiTsFjPyCHDKazC1+egCgnLAN
c/BY6wvijw/o6V2KBmygox4=
=YKKx
-END PGP SIGNATURE-



jde-2.2.9beta5 bug report...

2001-11-10 Thread Kevin A. Burton
/stylebook-1.0-b2.jar:/usr/lib/java/jars/stylebook-1.0-b3_xalan-2.jar:/usr/lib/java/jars/talon.jar:/usr/lib/java/jars/texidoclet.jar:/usr/lib/java/jars/torque.jar:/usr/lib/java/jars/velocity-1.2-dev.jar:/usr/lib/java/jars/village.jar:/usr/lib/java/jars/weasel.jar:/usr/lib/java/jars/xalan.jar:/usr/lib/java/jars/xalan2jdoc.jar:/usr/lib/java/jars/xalanj1compat.jar:/usr/lib/java/jars/xalansamples.jar:/usr/lib/java/jars/xalanservlet.jar:/usr/lib/java/jars/xerces.jar:/usr/lib/java/jars/xsltc.jar:/usr/lib/java/jars/xss4j.jar:/usr/lib/java/jdk-1.3.1/lib/tools.jar:/usr/lib/java/jdk-1.3.1/jre/lib/rt.jar:/home/burton:/home/burton:/home/burton:/home/burton:/home/burton\);)
  jde-jeval(jde.util.JdeUtilities.getJavaVersion(); t)
  jde-jeval-r(jde.util.JdeUtilities.getJavaVersion();)
  jde-java-version()
  jde-run-get-vm()
  bsh-internal()

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Bill Gates arrested in New Mexico, 1977
http://www.mugshots.org/misc/bill-gates.html



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE77bF8AwM6xb2dfE0RAtmLAKDAj8VzSXXDlM0C51XAtb/E9c9cQgCeIuwW
qGigLjFrjIxJZPRzfu8s53A=
=YWOT
-END PGP SIGNATURE-



Re: Incremental java building..

2001-11-10 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Molitor, Stephen [EMAIL PROTECTED] writes:

 Have you tried the new 'javac server' in JDE?  Customize the variable
 jde-compiler, and select 'javac server'.  It uses the bean shell to compile,
 which means that the JVM to compile is always running (essentially, 'always
 having a compiler running'). Compiling is virtually instantaneous, and javac
 will compile any dependencies (also instantaneous).  It does automaticallly
 compile when you save, but that would be easy to rig -- just add a
 jde-compile call to the save hook.  The compilation is not incremental, but
 most of the cost of compiling is starting up the JVM.  Using an already
 running JVM, it's almost instantaneous.  No real need for incremental
 compilation, IMHO.

OK.  I will play with this.  The one thing I think is that for good incremental
compilation the stats need to be exposed to the user.  Need to thing of a good
UI here..

 One caveat: In the current version of JDE, the javac server is not completely
 compatible with JDEBug.  You might not be able to debug stuff compiled with
 javac server.  When that happens, I recompile with the normal 'javac
 executable' option and debug.
snip

Seems like a good idea to be able to use jde-make or je-ant along with it.  

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

The worse thing in life is to fall short!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE77bPFAwM6xb2dfE0RAm41AKCGc5uCmtHs67gSuwVQVEoIGbLNQQCgo6O3
8yWIYqnmna1WWcA/Owcr1i4=
=hlCo
-END PGP SIGNATURE-



Incremental java building..

2001-11-09 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


OK. I am working on this consulting gig and all the other Java people are using
Visual Age for Java.

They have a feature that I REALLY like.

Inremental compilation.

They import projects an source and they ALWAYS have a compiler running.  The
only difference is that this is an incremental compiler.

AKA it runs at regular intervals (when they save files) and tries to recompile
all dependencies.

Has anyone thought of a jike ++ integration (jikes supports a ++ option to
enable incremental compilation).

The only problem would be update the jde-db-source-directories variable.  If
the user adds other directories this we would need to update the running
versions of jikes.

Any thoughts???

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

The right of the people to be secure in their persons, homes, papers, and
effects, against unreasonable searches and seizures, shall not be violated...



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE77H3iAwM6xb2dfE0RAiZJAKCAOelHADPOdofKiLEdvLarCOT0SACfSc2/
yF1zOG2pmQCeA/vpLPGAANs=
=Djpg
-END PGP SIGNATURE-



[feedback] The next version of jde-docindex.

2001-11-03 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hello.

I just wanted to serialize my thoughts here and get some feedback.

As most of you know I have been working on a javadoc index package for Emacs/JDE
called jde-docindex ( http://relativity.yi.org/jde-docindex )

The current version is very nice and it is amazing how much it has increased my
productivity.

The only problem is that there are some major issues it can't handle.

- - Duplicate symbols aren't supported.  IE if you load up the source from GNU
  Classpath and the source of the SUN JDK, since they use the same classnames,
  you will get conflicts and loose one of the classes.

Example:

- java.lang.String from the JDK-1.3.1 project

- java.lang.String from the GNU Classpath project

Solution:

I am going to solve this by changing the symbol completion name to:

java.lang.String (JDK-1.3.1)
java.lang.String (gnu-classpath)

Question:

Should I always include the project name or only when there is a conflict?

Should we NOT put the project name in the completion buffer and just wait
until after the user has completed a symbol and then warn that there is a
conflict and prompt (with completion) the user for the project he wants to
view from?

- - Most projects have a base directory and then a dangling source directory.

Example:

/projects/reptile (main directory)

/projects/reptile/src/java (java directory)

Question:

I am probably going to tweak this so that there is a project directory and
then a list of source directories.  I have some code that looks for
directories named org, net, com under the project directory and assumes
these contain java files.

Of course you will be prompted to make sure these are correct but this would
allow us to snarf all of the java directories in one sweep without having to
have multiple projects.

Anyway... thanks for the help.

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org/

Please don't use hard tabs   in your code.  Instead use 4 spaces.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE75M2bAwM6xb2dfE0RAlZxAJ94oxCaaEO8nf2EPvq7jjD6/+gVLwCgkOk+
rOODwh2uB9XFHrIdbeD+nRc=
=iblN
-END PGP SIGNATURE-



Re: [ENH] jde-ant.el request

2001-10-28 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Douglas WF Acheson [EMAIL PROTECTED] writes:

 Paul,
 
 Here is the modifications to jde-ant.el.  I do not know how to add them
 to CVS, do not know that I want that power :-).  The changes are easy
 just add the code found below to jde-ant.el and make this change in
 jde-ant.el:

You should send off a diff... aka

diff -u jde-ant.el jde-ant.el.bak

 replace
   (setq ant-command
 (concat jde-ant-program  -Dbuffer= buffer-file-name  ))
 with
 (if (string= (car jde-ant-invocation-style) Script)
 ; then
   (setq ant-command
 (concat jde-ant-program  -Dbuffer= buffer-file-name  ))
 ; else
   (setq ant-command
 (concat java  (jde-ant-build-classpath)  
  jde-ant-class  -Dbuffer= buffer-file-name  ))
 )

- -1.  I don't like this approach.  It should be possible to rework this so that
the use of 'java' vs 'ant' could be detected at runtime.  AKA if there is an
'ant' script in the PATH, use it, else use java.

Also... should be include ant.jar with the JDE???

   To use jde-ant via Java invocation the user must specify where the ant jar
 files are located through the jde-ant-dir variable. And where the jdk is
 located via the jde-ant-jdk-dir variable.  These are the only two defcustom
 variables that need to be set.  Once that is done the user is off to the
 races.

yeah... again -1.  Too much user interaction :(.  This stuff can be done with
code.

   I have tested it out only with XEmacs and Win2k.  I am fairly sure it will
 work regardless, says here in fine print :-)
snip

Kevin
- -- 

   Need a good Engineer?  Hire me!  ( Java | P2P | XML | Linux | Open Source )

Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org

Hiroshima 1945, Czernobyl 1986, Windows 2000
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE73Kn3AwM6xb2dfE0RAlLSAKC9aOBS6fvmx2GCuRZYFRI4GID+fACeLjvX
q5qKYN/Pkxf8UNZDF0/DifY=
=RwvF
-END PGP SIGNATURE-



New SUN doclet... doccheck.

2001-10-28 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hm.

Did you guys see this?  

http://developer.java.sun.com/developer/earlyAccess/doccheck/

Althought it is proprietary sun code, it is a decent idea and something worth
investigating.  Unfortunately it looks like they only support HTML output.

We could provide similar stats in an Open Source doclet...

Kevin

- -- 

   Need a good Engineer?  Hire me!  ( Java | P2P | XML | Linux | Open Source )

Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org

Intellectual property does not exist!  Get over it!



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE73LppAwM6xb2dfE0RAv8kAJ9XobCuQFDtel4MFZFqUdWz7uLL3wCeN0uw
+I7BCexHz8WfhQ5l9/i/Rxg=
=awJ7
-END PGP SIGNATURE-



[ANNOUNCE] jde-docindex 0.9.2 released

2001-10-28 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


... release early, release often.

This version fixes a number of bugs, reworks some info navigation code and
includes some new features.

Also.  I had DNS issues after my last release and the site wasn't available
for a couple of days.  These are fixed now and I appologies for any
inconvenience.

http://relativity.yi.org/jde-docindex/

* Version 0.9.2 (status: released)

- fixed a bug in javadoc generation.  We weren't passing the users full
  CLASSPATH so we were getting errors in javadoc generation that weren't
  necessary.  In a lot of situations this would cause a javadoc build to
  fail due too many errors (100)

- install-info even if token update fails.

- add :help items for the jde-info-mode menu

- ability to import classes based on the docindex.

- less annoying Mark set messages during token regeneration

- create a jde-docindex-mode which is a minor mode which adds a menu and
  some key bindings.

- The following refactorings:

- jde-docindex-goto-classjde-docindex-goto-info-via-class

- jde-docindex-goto-abbreviated-class
jde-docindex-goto-info-via-abbreviated-class

- jde-docindex-goto-package  jde-docindex-goto-info-via-package 

- jde-docindex-goto-project  jde-docindex-goto-info-via-project

- jde-docindex-goto-source   jde-docindex-goto-source-via-class

- jde-docindex-goto-abbreviated-source   
jde-docindex-goto-source-via-abbreviated-class

- fixed a bug with new project creation and not adding this to the
  Info-directory-list.  This might have been a serious issue.

- sometimes we use the wrong project for source documentation.

  - AKA net.jxta.share.ContentManager in the jxta-cms-api project I have.

  - this is a bug in jde-docindex-source-get-project which returns the wrong
project.

- when we are in a java buffer, and we want to completing-read a project,
  try to determine the project name for the current buffer.

- jde-info-mode menu navigation for jde-mode and Info-mode

- support for java-open-source-paths if necessary.

- ability to jump to source code via an abbreviated class name.

- If we are in info-mode, viewing javadoc, and we want to rebuild the package,
  try to guess the current project.

- BUG: certain classes don't get added the the index even though we have info
  for them... IE net.jxta.impl.peergroup.Boot

- this looks like a problem with the -classes file.

- this could be a bug with the texidoclet due to conflicting (short) class
  names.

- we are now parsing out package-tree.info instead of
  package-classes.info.  This was due to the fact that the texidoclet
  was including duplicate classes.
  
- implementation of a jde-docindex-log.

- ability to open source files from buffers other than a current Info-mode.

- -- 

   Need a good Engineer?  Hire me!  ( Java | P2P | XML | Linux | Open Source )

Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
 Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED],  Web - http://relativity.yi.org

Live life as if you were going to die tomorrow; Learn as if you were going to
live forever.  -- Mahatma Ghandi

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE73PLRAwM6xb2dfE0RAmpRAJ9XaPlZuWxkIR8BY6DBjKCpOFA23ACfQcvM
eSbKe1Ieu7nK1EAy6fqQxJQ=
=hSRY
-END PGP SIGNATURE-



Re: beanshell-startup.el

2001-10-21 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul Kinnucan [EMAIL PROTECTED] writes:

 Kevin A. Burton writes:
   -BEGIN PGP SIGNED MESSAGE-
   Hash: SHA1
   
   
   This is a little script I wrote to make sure that the bsh is always running.
   
 
 What's wrong with jde-launch-beanshell-on-demand-p?
 
 Documentation: If non-nil, the JDE launches the Beanshell the first time it is
 needed.  Otherwise, the JDE launches the Beanshell, if it is not already
 running, whenever you open a Java source file.
 
 You can customize this variable.
 
 Defined in `jde'.
snip

Is this in the 2.2.9 series?  Probably because I haven't been keeping up-to-date
here.

Kevin

- -- 

   Need a good Engineer?  Hire me!  ( Java | P2P | XML | Linux | Open Source )

Kevin A. Burton [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
  Location: San Francisco, CA Cell: 415-595-9965 URL: http://relativity.yi.org 

My entire MP3 collection is here: http://relativity.yi.org/mp3.  Have fun.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE70nTGAwM6xb2dfE0RArXeAKCsBhhggEwi4HMcN2HoeEPWaxJopgCdHcHc
fVXH3P1U4Wc2xSRZJHjDSR8=
=/SvR
-END PGP SIGNATURE-



Re: Emac 21

2001-10-21 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul Kinnucan [EMAIL PROTECTED] writes:

 Stephane writes:
   Hello all,
  
   here is an article I found on slashdot :
   http://slashdot.org/articles/01/10/21/2329254.shtml
  
   emacs 21 is out.
   It includes tooltips and many other new features we could use in jde.
  
 
 I could not find Emacs 21 or an official announcement as to its availability via
 the link you posted. So I am sceptical that it is really available for general
 release.

yes...  I shared the same feelings.

It does look like there is an emacs-21.1 on ftp://ftp.gnu.org/pub/emacs

The only problem is that in CVS the HEAD version is 21.1.50 but this may just be
that they releases from a branch.

 Also, please note that tooltips and the toolbar features of Emacs 21 were not
 available on the latest alpha release of the Windows version of Emacs 21,
 which I have. I do not intend to create any JDE features that depend on Emacs
 21 features that are not available on Windows.

I have been playing with intellisens type completion using tooltips.  The only
problem is that Emacs doesn't provide positional (x, y) information for the
point.

Hopefully I could find some way around this.

Kevin

- -- 

   Need a good Engineer?  Hire me!  ( Java | P2P | XML | Linux | Open Source )

Kevin A. Burton [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
  Location: San Francisco, CA Cell: 415-595-9965 URL: http://relativity.yi.org 

My entire MP3 collection is here: http://relativity.yi.org/mp3.  Have fun.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE706YdAwM6xb2dfE0RAhqJAJ9gtAC1kPdfPPfH5YDHA83E1MSMigCgvRC+
9LuX9T14WesEBcxzsiVJcmE=
=uAZD
-END PGP SIGNATURE-



Re: Elisp help...

2001-10-16 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Greg Fenton [EMAIL PROTECTED] writes:

 I'm a hack...there, I said it.
 
 Need help with a simple elisp function.  I want to 
 take a string, strip out all lower-case characters,
 and down-case the resulting string.
 
 So, for example,
   (my-func NumberFormatException) yields nfe
   (my-func IOException)   yields ioe
 
 I can write a function to do it using my elementary knowledge of low-level
 elisp functions, but I'm SURE there's an easy way to do this (or might even
 already be such a function in JDE???)

I don't think there is a way.  I had this elisp around

(defun jde-shorten-classname(classname)
  Given a classname convert it to a shorter one.  IE IOException - ioe.
  
  (let((index 0)
   (short-version )
   (case-fold-search nil))

(while (string-match [A-Z] classname index)

  (setq short-version (concat short-version (match-string 0 classname)))

  (setq index (match-end 0)))

(downcase short-version)))

- -- 

   Need a good Engineer?  Hire me!  ( Java | P2P | XML | Linux | Open Source )

Kevin A. Burton [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
  Location: San Francisco, CA Cell: 415-595-9965 URL: http://relativity.yi.org 

The 9000 series is the most reliable computer ever made.  No 9000 computer has
ever made a mistake or distorted information.  We are all, by any practical
definition of the words, fool proof and incapable of error.
  - Hal
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE7zKwRAwM6xb2dfE0RAraMAJ44WY9Z12m9O0PVkrsdvwmCJclV1wCdF0gC
1VCosaFrt939VmidH/ojXgw=
=yA2l
-END PGP SIGNATURE-



Re: ant and paths

2001-10-11 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Molitor, Stephen [EMAIL PROTECTED] writes:

 Kevin Burton writes:
  Hm.  It could be possible to use both the 'ant' method and the 'java
  org.apache.tools.ant.Main' method.  AKA if the command 'ant' does not 
  exist within the PATH, try using the java method.
 
 There could also be an option to always use the 'java {...}ant.Main' method.
 If the bean shell was used, there wouldn't be a need to invoke a new JVM,
 which could speed things up significantly.

I spent some time researching this.  From the way I can see it we have the
following problems.

Ant calls System.exit when it is done hence this cause the bsh to exit.  The
solution here is to run it within a NoExitSecurityManager.

Annt would output to the *bsh* buffer and not the *compilation* buffer.  We
would need to set `standard-output' so that this would exec from the *bsh*
buffer and output to the *compilation* buffer.  I don't know enough about the
Emacs compilation system to determine if this would break anything.

 The cost would be that running Ant from within Emacs might behave differently
 than running Ant from the command line.

Hopefully the only difference will that it will be a lot faster :).  I am going
to hack with it (when I get the time) and report my discoveries.

Kevin

- -- 

   Need a good Engineer?  Hire me!  ( Java | P2P | XML | Linux | Open Source )

Kevin A. Burton [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
  Jabber: [EMAIL PROTECTED] Cell: 415-595-9965 URL: http://relativity.yi.org 

The worse thing in life is to fall short!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE7xguUAwM6xb2dfE0RAqAvAKCvacAY/KV5+bpCLXKQ3YuJFbId+ACfeyD8
oPyN9r4B/ghDKi2WvXh93b0=
=wxX2
-END PGP SIGNATURE-



Re: ant and paths

2001-10-11 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Douglas WF Acheson [EMAIL PROTECTED] writes:

 Hello,
 
   I have created an add-on to jde-ant that allows one to invoke Ant via the
 script provided by Ant (what the original developer of jde-ant wanted) or via
 java through the org.apache.tools.ant.Main.  Please look through the archives
 of the mail list to get the info.
snip

Interesting.  I think that this patch should be integrated into the mainstream
jde-ant if possible.

Kevin

- -- 

   Need a good Engineer?  Hire me!  ( Java | P2P | XML | Linux | Open Source )

Kevin A. Burton [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
  Jabber: [EMAIL PROTECTED] Cell: 415-595-9965 URL: http://relativity.yi.org 

Intellectual 'property' is to property as fool's gold is to gold.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE7xgpAAwM6xb2dfE0RAuaTAJ9gG/Ah3OYoSg6lzjAkpJjkZr21swCgqZdn
sXUYQqf0wKbmIqZzUsnl9sY=
=tnY4
-END PGP SIGNATURE-



Re: ant and paths

2001-10-10 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Troy Noble [EMAIL PROTECTED] writes:

 ant.bat which is a cmd.exe script and the ant shell script can be used
 interchangeably pretty much on win32 (not so on Unix of course).  They both do
 pretty much the same thing.. which is some extra pre-precessing of the
 environment  CLASSPATH before invoking
 
 java bunch-of-options-here org.apache.tools.ant.Main $@
snip

 Not saying one way is right or wrong, just explaining the rationale behind
 having an ant.bat or ant script.  A quick read of $ANT_HOME/bin/ant should
 show you what other things get fixed/detected/munged in your environment
 before the actual java command gets run.
 
 Granted it's a convenience, but a convenient one ;- And Emacs has no trouble
 invoking the script directly generally.
snip

Hm.  It could be possible to use both the 'ant' method and the 'java
org.apache.tools.ant.Main' method.  AKA if the command 'ant' does not exist
within the PATH, try using the java method.

Good points though.

Kevin

- -- 

   Need a good Engineer?  Hire me!  ( Java | P2P | XML | Linux | Open Source )

Kevin A. Burton [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
  Jabber: [EMAIL PROTECTED] Cell: 415-595-9965 URL: http://relativity.yi.org 

'We feel that there are real opportunities with evil, and that when evil is
integrated it into our next generation of Windows products consumers will
[Prince of Darkness] appreciate evil on their desktop,' said Microsoft Chairman
Bill Gates.  'Businesses haven't been able to fully realize their evil
potential.  With evil integrated into Office 2001, corporations big and small
will begin to see enhanced evil productivity.'
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE7xNAaAwM6xb2dfE0RAnRnAKDQEb4NfYzlJEyJYXtX4wgZv50OAwCgyPD8
Lca3nNQPnC/IteD4OVtocdE=
=st33
-END PGP SIGNATURE-



Re: New version of Jikes

2001-10-05 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] writes:

 Kevin A. Burton wrote:
 
  David Hay [EMAIL PROTECTED] writes:
 ...
- second round of JPDA pampering; believed to make it happy now
 ...
 
  What would make you believe this.  Does it state *anywhere* that Jikes is
  capable of being 100% compatible with JPDA bytecode?
 
 The line containing, second round of JPDA pampering is a direct quote from
 the Jikes 1.15 release notes. I suggest rather than jumping down someones
 throat who was only trying to be helpful you go and take a look for yourself.

I think you misunderstood.  I really wasn't jumping down your throat but instead
I was *excited* that jikes might be more compatible with JPDA. :)

The only problem is that the line second round of JPA pampering seems to be a
developers changelog comment and not an official statement from the project.

It is one thing for a developer to say that JPDA is supported within jikes but
it is another for the project to claim that JPDA is supported (and of course
provide some documentation to back it up).

 From the Jikes CVS, the 1.15 changelog contains the following entry:
 
 2001-09-06  Russ Trotter [EMAIL PROTECTED] 
 
* src/bytecode.cpp (GenerateAccessMethod) 
(GenerateClassAccessMethod): Second half of JPDA patches, to work
 
around bug in Sun's software - patch 119, from bugs 210, 473. 

yes... see.  Thought that sounded like a changelog comment :)

 The description of the bugs can be found at the following URLs,
 
 210:
 http://oss.software.ibm.com/developerworks/bugs/?func=detailbugbug_id=210g
 roup_id=10
 473:
 http://oss.software.ibm.com/developerworks/bugs/?func=detailbugbug_id=473g
 roup_id=10
 
 Looking at the bugs fixes above their looks to be major improvement in JPDA
 conformance, so although it may still not be 100% compliant, it's a step in
 the write direction. I myself am in the process of trying it out to see if it
 works with JDE.

Certainly a step in the right direction.  I would just like to see them say that
it is officially supported ...

 Besides, have you seen any other prudent software efforts, be it commercial or
 open source really guarantee to do something 100% ;-)

Yes.  Windows sucks 100% of the time ;)

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
Cell: 415-595-9965 URL: http://relativity.yi.org ICQ: 73488596 

The art of progress is to preserve order amid change and to preserve change
amid order.
  -Alfred North Whitehead, Science and the Modern World
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE7vSi2AwM6xb2dfE0RAi7zAKC8yCoFJeL+2Pj0FfGILsqj7g+SIQCeKGqA
7Dsm6y5pcDd/PtlROnxOsEU=
=xvKK
-END PGP SIGNATURE-



Re: How to set current working directory?

2001-10-05 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ovidiu Predescu [EMAIL PROTECTED] writes:

 On 05 Oct 2001 09:32:04 -0700, [EMAIL PROTECTED] (Kevin A. Burton) wrote:
snip
  Yes.. This is certainly a pathetic state of affairs.  The is just
  another reason why the JDK needs to be Open Source.  It isn't like
  SUN is making any revenue off of the JDK at this point.
 
 Well, I think this is more an issue of power and control, than one of
 money. By controlling the platform they maintain their power, otherwise they
 become just another member in a large community, albeit an important member.

The best way to control your flock is to let them roam free

- - Zen koan.

It isn't always intuitively obvious but I think that just the opposite is true.
The less control they have over the Java platform, the more power they would
have.

IE the Open Source community would embrace Java, they would work together and
improve it and everything would be good.

Sure there would be some issues but the would be clearly outweighed by the
benefits of a distributed and open community.

  If Java was Open Source/Free Software issues like this could be fixed much
  like they are done under an Open language like Python.
 
 Maybe they don't want to fix it, just to maintain the backward compatibility.

This is the point... Why do *they* get to make this decision.  I think *we* (SUN
and the Open Source community) should work together on this  :)

 This doesn't mean I necessarily agree with their decisions. I'd also like to
 see Java opened up.

:)

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
Cell: 415-595-9965 URL: http://relativity.yi.org ICQ: 73488596 

You have no chance to survive, make your time. ha ha ha
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE7vfMUAwM6xb2dfE0RApUUAJ9pPzJyfKUMojqVGAp52KjOyTlDLwCdFp3C
anO72O5iqbHqzY0IM+/zyUU=
=urmL
-END PGP SIGNATURE-



Re: New version of Jikes

2001-10-04 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Hay [EMAIL PROTECTED] writes:

 I just received notice that Jikes 1.15 was available.  Of particular note to
 those on this list was this item:
 
   - second round of JPDA pampering; believed to make it happy now
 
 I haven't tested it yet, but hopefully this means that we can now use Jikes
 and the java debugger!

What would make you believe this.  Does it state *anywhere* that Jikes is
capable of being 100% compatible with JPDA bytecode?

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
Cell: 415-595-9965 URL: http://relativity.yi.org ICQ: 73488596 

How are you gentleman?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE7vJiYAwM6xb2dfE0RAkiLAJ9lTjobWYYoiGZU4dCrpby1+1SUrQCgr//4
ucucASGasy69yhcs+BrmgBc=
=UmaP
-END PGP SIGNATURE-



jde-guess.el

2001-04-18 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hey.

I wrote this a while back and have been steadily improving it.  I have other
code which relies on this so I would like to see it integrated into the JDE.
The main difference is that none of the methods here use a JVM... so they are
very fast.

Kevin

;;; jde-guess.el --- guess information about java buffers.

;; $Id: jde-guess.el,v 1.4 2001/03/17 09:42:35 burton Exp $

;; Copyright (C) 1997-2000 Free Software Foundation, Inc.

;; Author: Kevin A. Burton ([EMAIL PROTECTED])
;; Maintainer: Kevin A. Burton ([EMAIL PROTECTED])
;; Location: http://relativity.yi.org
;; Keywords:
;; Version: 1.0.0

;; This file is [not yet] part of GNU Emacs.

;; This program is free software; you can redistribute it and/or modify it under
;; the terms of the GNU General Public License as published by the Free Software
;; Foundation; either version 2 of the License, or any later version.
;;
;; This program is distributed in the hope that it will be useful, but WITHOUT
;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
;; FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
;; details.
;;
;; You should have received a copy of the GNU General Public License along with
;; this program; if not, write to the Free Software Foundation, Inc., 59 Temple
;; Place - Suite 330, Boston, MA 02111-1307, USA.

;;; Commentary:

;;; TODO:


;; - By default all functions should be silent.  If we what to display
;;   information we should call -show.  If we want then fixed we should call -fix
;;   or -setup functions. 
;; 
;; - this package should also function as a library.  Most methods would take
;;   parameters.   
;;
;; - test all these functions with .java files that have no package.
;;
;; - classname guessing doesn't work with "public abstract class"

;;; History:

;;; Code:
(defvar jde-guess-package-buffer "*jde-guess-package-buffer*"
  "Temp buffer for guessing.")

(defvar jde-guess-sourcepath nil "Sourcepath for java buffers.  This should not
be used directly but by the function (jde-guess-sourcepath).")

(defvar jde-guess-imports '() "Additional imports required for .java files.
Should be a list of packages classes (import qualifiers) to import.  Example:
java.util.* java.lang.String")

(defun jde-guess-base-directory()
  "Guess the base directory of a java file based on its package.  Example.  If a
file were stored in '/home/foo/projects/java/lang/String.java' the package would
be removed and this would return '/home/foo/projects'."
   
  (assert (equal major-mode
 'jde-mode) nil "Not a java buffer.")

  (save-excursion
(let((directory nil)
 (package nil)
 (package-path nil)
 (java-file (buffer-file-name)))

  (setq package (jde-guess-package))
  
  (set-buffer (get-buffer-create jde-guess-package-buffer))
  (erase-buffer)

  ;;get the path section as the package...
  (insert package)
  (beginning-of-buffer)
  (jde-guess-replace-string "."  "/")
  (setq package-path (buffer-substring (point-min) (point-max)))

  (erase-buffer)
  (insert java-file)
  (jde-guess-replace-string ".java" "")
  (end-of-buffer)
  (if (search-backward package-path)
  (replace-match ""))
  (jde-guess-replace-string (concat "/" (file-name-nondirectory java-file)) "")

  (setq directory (buffer-substring (point-min) (point-max)))
  
  directory)))
  
(defun jde-guess-packages( directory optional root)
  "Given a directory, go through all sub-directories and find packages.  The
given directory is assumed to be the based for the packages."

  (if (null root)
  (setq root directory))
  
  (let((packages '())
   new-package
   current-file
   files
   (still-need-package t)
   (index 0))

(setq files (directory-files directory t))


(while ( index (length files))
  (setq current-file (elt files index))

  ;;figure out what to do based on the filename

  ;;ignore certain directories

  (if (and (not (string-match "CVS$" directory))
   (not (string-match "\\.$" directory))
   (not (string-match "\\.\\.$" directory)))
  (progn

;;if it is a directory... dive into it.
(if (and (file-directory-p current-file)
 (not (string-equal directory current-file)))
(let(next-level-packages)

  (setq next-level-packages (jde-guess-packages current-file
root))

  (setq packages (append packages next-level-packages
  
(if (and still-need-package
 (string-match "\\.java$&qu

Re: ANN: JDE 2.2.7beta7 available at ...

2001-04-14 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul Kinnucan [EMAIL PROTECTED] writes:
snip
 * If'ed out fontifying exception stack trace in run buffer
   when running in XEmacs. This is temporary until I can code 
   an alternative to font-lock-add-keywords, which XEmacs does 
   not support.
snip

Where did this code come from?  Was this my jde-stack.el package?  In what file
is it in?

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
Cell: 408-910-6145 URL: http://relativity.yi.org ICQ: 73488596 

If you aren't enraged, you aren't paying attention.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE62Il9AwM6xb2dfE0RAiKjAJ9gA4ckXAH0j6eKTbpY3/xYUXICJwCgrLSn
6ycQa3ovhxfeamRa4Pe76DA=
=1Gte
-END PGP SIGNATURE-




Re: find file recursively

2001-04-13 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ovidiu Predescu [EMAIL PROTECTED] writes:

 Hi,
 
 While doing Java development I often feel the need to open a file that
 lives somewhere deep in the directory hierarchy. Even when I know the
 file name, I still have to browse around the directory structure to
 identify the exact location.
 
 So I came up with a function find-file-recursively which, given a
 regexp and a directory, searches for a file matching the regexp in all
 subdirectories of that directory.
 
snip

I usually find that when I want a feature like this in Emacs it is already
written, just not in a place which is easy to find :)

You might want to check out 'find-dired'.  This does pretty much exactly what
you need :)

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
Cell: 408-910-6145 URL: http://relativity.yi.org ICQ: 73488596 

Who wants to be responsible?  Every time something goes wrong they say 'who's
responsible for this?'.
  -- Jerry Seinfeld
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE61o9MAwM6xb2dfE0RAj0YAKCLWeTT60gEREJsZWJ0jj2F3MJ2ZgCeISz2
qUV9UoQzpi+s2G4Ebpg/rLI=
=9CWG
-END PGP SIGNATURE-




Re: use w3 instead of wget?

2001-04-05 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Knut Wannheden [EMAIL PROTECTED] writes:

 I have a small comment regarding jde-help.  I've seen that the
 function jde-help-symbol makes use of the function
 jde-help-find-javadoc which checks whether a certain url exists.  It
 does that by invoking the shell command wget.  I think wget is a nice
 utility but I think it would be even nicer to use the w3 package.

w3 has performance issues.  It would be better to toggle between wget/lynx.  I
have a lynx-mode.el if anyone is interested... http://relativity.yi.org/emacs
snip


- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
Cell: 408-910-6145 URL: http://relativity.yi.org ICQ: 73488596 

Never under estimate the power of a hacker!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE6zJeWAwM6xb2dfE0RAq4eAJwJCKmQK6S6TtskVeonk02xiwl0jACgvW9m
ttK7fd22Nqa2sVmG0Ou4fF8=
=lbjy
-END PGP SIGNATURE-




Re: PROPOSAL: New Java Build Feature

2001-03-19 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul Kinnucan [EMAIL PROTECTED] writes:

 Hi All,
 
 The JDE has a Java build feature that relies on javac dependency checking
 to rebuild a project. This feature has been broken by the reduced level of
 dependency checking in recent versions of javac. 
snip

There are other ways to do this.  Ant can compile based on the root directory.
I don't like the JVM bootkup time so I use a sh script to find all files under a
subdir and then compile all those.  This is usually  1 second.  I can post the
necessary info

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
Cell: 408-910-6145 URL: http://relativity.yi.org ICQ: 73488596 

For great justice.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE6tjmrAwM6xb2dfE0RApE4AJ9tNBEI9b7gs7LQgcbG9ZSeY/GWWgCeMRF9
Ex056Pnb1Rk+iGy1dK30YM8=
=8bhn
-END PGP SIGNATURE-




Re: jde-stack.el 1.0.1

2001-02-23 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

"Richard den Adel" [EMAIL PROTECTED] writes:

 Great package Kevin!
 
 I have some questions :

 - Is it possible to set a java-source path to search for the java-files from
 the stacktrace in the comint buffer?

That is what this package does... read the java-open package and fi this is
setup jde-stack should work too.

 - Is it possible to set the stack-mode-on automatically (comint-hook?)

... it should automatically be started...

;;add this to jde-run-mode so that it auto-starts
(add-hook 'jde-run-mode-hook 'jde-stack-mode-on)

Does this not work for you ??? This should be the last line.

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
Cell: 408-910-6145 URL: http://relativity.yi.org ICQ: 73488596 

The more you tighten your grip, the more systems will slip through your fingers.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE6lhZUAwM6xb2dfE0RAjinAJ9aIxv9J1S3uDG4vYyZXZJxuVsgDQCghHzo
ZzjJe5dgSIsdUnExNagVR3k=
=53DL
-END PGP SIGNATURE-



Mossad Albanian [Hello to all my fans in domestic surveillance] nuclear quiche
PLO Delta Force Serbian FBI terrorist Saddam Hussein kibo Waco, Texas
assassination South Africa




Re: jde-stack.el 1.0.1

2001-02-23 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul Kinnucan [EMAIL PROTECTED] writes:

 At 09:25 PM 2/22/01 -0800, Kevin A. Burton wrote:
 The following message is a courtesy copy of an article
 that has been posted to gnu.emacs.sources as well.
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 
 I found this a while back.  It didn't work correctly and the author noted this
 in his comments.  I took the liberty to fix this and now it should be ready
 for
 primetime.
 
 - - jde-stack-mode adds font locks for java stack tracs
 - - java-open is used to open the java file.  There is a similar function 
 within
 - - the JDE but java-open does not require beanshell.
 
 
 
 This version does not require java-open. It uses the JDE's builtin in source
 finder function, jde-find-class-source. This function does NOT require the
 beanshell. This version not only avoids an additional package but also the need
 to specify source directories twice. I plan to include some combination of this
 version and Sam Steingold's in an upcoming JDE release. 

Ah... always some hidden function within the jde you dont' see :).  +1 on this
addition.  I didn't like having java-open support but didn't want to use the
beanshell.

Kevin

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
Cell: 408-910-6145 URL: http://relativity.yi.org ICQ: 73488596 

Linux.  First SCO, then SUN, then Microsoft, then world domination.  Not 
necessarily in that order.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE6lqViAwM6xb2dfE0RAq67AKCQMYU9sHEFcCM42fZ9nVhIaeHJAQCgyoj3
E9/Wu0frKhkduKHfD9H23tI=
=LCWA
-END PGP SIGNATURE-



NORAD Ft. Bragg FSF World Trade Center Uzi South Africa Rule Psix Treasury
domestic disruption nuclear arrangements smuggle jihad KGB Soviet




Re: Example for jde-help-docsets

2001-02-22 Thread Kevin A. Burton

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alexander Weinmann [EMAIL PROTECTED] writes:

 Hello JDE-GURUS,
 
 Could someone send me an example setting of the
 jde variable  "jde-help-docsets".

(setq jde-help-docsets '(("javadoc" "~/tmp/javadoc/sierra" nil)
 ("javadoc" "~/tmp/javadoc/talon" nil)
 ("javadoc" "/usr/local/rsync/docs/jdk1.3/api/" nil)))

- -- 
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
Cell: 408-910-6145 URL: http://relativity.yi.org ICQ: 73488596 

Linux.  First SCO, then SUN, then Microsoft, then world domination.  Not 
necessarily in that order.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE6lbclAwM6xb2dfE0RAs4YAKCPRYBxb6bhK7KkloP5z3HnHBuzkACgvnEn
XnRMq3i0EfWXBuiL6Q9ihvk=
=7e0i
-END PGP SIGNATURE-



quiche World Trade Center terrorist AK-47 colonel Nazi Honduras Cocaine BATF
security assassination DES arrangements Delta Force SEAL Team 6