RE: jde-flymake

2004-03-13 Thread Sandip Chitale
Where to get jikes? -Original Message- From: Nascif Abousalh-Neto [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 6:51 AM To: [EMAIL PROTECTED] Subject: ANN: jde-flymake Hi all, I also posted an initial version of jde-flymake, which provides extensions to Flymake

Two useful key bindings for jde mode

2003-03-01 Thread Sandip Chitale
Folks, I thought you might find these useful. The idea is that when you are changing the name of a variable from say bufferPosition to currentBufferPosition using the default M-c binding (after inserting current) is useless because you will get currentBufferposition. With the

Syntax error indication oon the fly....the beginning...

2003-02-22 Thread Sandip Chitale
Folks, I had brought up this issue earlier...I took a first crack at it. It is still rough but with some expert help this could be completed... Especially I need help with save-excursion and buffer selection etc... For now - 1. Compile any java class such that it results in error

RE: Introspection based Java class browser....also demonstrates alittle bit of java and lisp integration...

2003-02-19 Thread Sandip Chitale
; goto next hyperlink [(shift tab)] 'jde-introspect-previous-ref; goto previous hyperlink Sandip -Original Message- From: Berndl, Klaus [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003 2:07 AM To: 'Sandip Chitale'; [EMAIL PROTECTED] Subject: RE: Introspection

Introspection based Java class browser....also demonstrates alittle bit of java and lisp integration...

2003-02-18 Thread Sandip Chitale
To use : 1. unzip the attached zip at in the jde directory 2. Just put the following in your .emacs (require 'jde-introspect) Now put the point anywhere in Java buffer where you would normally invoke jde-complete functions. Then type (control c) (control v) (/) to see the java typeinfo buffer.

jde-gen-cflow-BLAH and c-indent-defun

2003-02-07 Thread Sandip Chitale
Title: Message Folks, Many of the jde-gen-cflow-BLAH templates call the the c-indent-defun at the end. I find it obstructive for following reasons... 1. I use jde-modefor editing JSP code. It works very well after adding the following keyword regexps. (font-lock-add-keywords

RE: Dead code detection?

2002-09-06 Thread Sandip Chitale
If you mean in JDEE when you say if there is a way to detect unused code I do not think so. It could be done though, using semantic and static analysis. I am not sure if semantic parses the method bodies though. Some code may present itself as used but may not get actually called e.g.

RE: updating interfaces

2002-08-29 Thread Sandip Chitale
I think there is some code in jde-wiz-get-set-methods in jde-wiz.el to check if getters and setters for a given property already exist and not generate them again. A similar strategy could be applied to achieve the result you want. It basically uses semantic.el. -sandip -Original

RE: wrap compiler output lines

2002-08-28 Thread Sandip Chitale
Have you looked at the compilation-mode-hook and use the - *Docstring* hscroll-mode is an interactive compiled Lisp function in `hscroll'. (hscroll-mode optional ARG) This function is obsolete. Emacs now does hscrolling automatically, if `truncate-lines' is non-nil. Also see

RE: Suppressing compilation buffer

2002-08-12 Thread Sandip Chitale
Can the 'compilation-old-error-list' or 'compilation-error-list' variables be used to detect presence or absense of error messages in the compilation buffer instead of string-match in the code below ? Here are the doc strings for the variables - compilation-old-error-list's value is nil

Is there jde-make-finish-hook analogous to jde-compile-finish-hook

2002-08-01 Thread Sandip Chitale
If not, what is the best way to implement it ?

RE: compilation error

2002-06-06 Thread Sandip Chitale
We do need to support spaces in the CLASSPATH (third-party libraries and all that), but I'd rather not see a lot of effort going into making JDEE support this when the workaround is simply to work in a directory other than C:\Program Files and C:\Documents and Settings\xxx\My Documents I

Ick - an Import Check tool...I know there is some interest in this in the jdee community...

2002-05-23 Thread Sandip Chitale
Ick, derived from Import Check, is an import management tool for Java programs written in Java http://www.ovmj.org/ick/

closing bracket automatically.

2002-04-05 Thread Sandip Chitale
Not a JDEE question really Anyhow...here it goes... (defun electric-open-delimeter () Automatically insert matching delimeter. (interactive) (self-insert-command 1) (let* ((arg (elt (recent-keys) 99)) (key-match (assoc arg '((?\( . ?\)) (?\{ . ?\}) (?\[ . ?\]) (?\ . ?\) (?\'

RE: jde-open-class-source fails with full class name

2002-04-03 Thread Sandip Chitale
Here is my stab at fixing jde-open-class-source fails with full class name. This also deals with some of the proposals I had made earlier. (defun jde-normalize-class-name (class-name) Normalize the class name by substituting / or \\ with . (substitute ?. ?\\ (substitute ?. ?/ class-name)) )

FW: jde-open-class-source from field not classname

2002-04-03 Thread Sandip Chitale
Are you looking for the following ? (jde-open-class-source (jde-complete-eval-type-of (car (jde-complete-java-variable-at-point -Original Message- From: Ralph Jocham [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 2:57 PM To: [EMAIL PROTECTED] Subject:

RE: Compilation window

2002-04-02 Thread Sandip Chitale
compilation-scroll-output's value is nil Documentation: *Non-nil to scroll the *compilation* buffer window as output appears. Setting it causes the compilation-mode commands to put point at the end of their output window so that the end of the output is always visible rather than the beginning.

Re: jde-open-class-source fails with full class name

2002-04-02 Thread Sandip Chitale
This has troubled me also. I never got around to raizing the issue or attempting to solve it. In fact the jde-open-class-source when called interactively should support all these forms - Object // search on classpath, prompt if multiple java.lang.Object // bypass

Some useful defuns...

2002-03-28 Thread Sandip Chitale
Some useful defuns... (defun jde-show-superclass-source () Show the superclass source. (interactive) (let ((tokens (semantic-token-type-parent-superclass (semantic-current-nonterminal-of-type 'type (if tokens (if (= (length tokens) 1) (jde-show-class-source

RE: placement of member variables in get-set generator

2001-12-20 Thread Sandip Chitale
Eric, -Original Message- From: Eric D. Friedman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 8:24 AM To: JDE List Subject: placement of member variables in get-set generator Does anyone have any idea what it would take to change M-x jde-gen-get-set so that

Rename the jde_meta.html buffer

2001-12-18 Thread Sandip Chitale
Folks, Should the buffer corresponding to the temporary file jde_meta.html be renamed to, say - *jde_meta.html* in the jde-help-show-class-member-doc function in jde-help.el, so that many buffer cycling packages skip over that buffer ? -sandip

Highlight columns after `fill-column'

2001-08-22 Thread Sandip Chitale
. ;; Author: Sandip Chitale ([EMAIL PROTECTED]) ;; Keywords:programming decipline convenience ;; Keywords: ;; Time-stamp: Aug 22 2001 11:10 AM Pacific Daylight Time ;; Version: 1.0 ;; This file is *NOT* (yet?) part of GNU Emacs. ;; This program is free software; you can

Limiting line length

2001-08-07 Thread Sandip Chitale
Here is the simplest trick that does what people have been asking for i.e. limiting line length. I had a hunch that font-locking could be used for that. The idea is to simply add the following regexp to the keyword list - (font-lock-add-keywords 'jde-mode '(

RE: Limiting line length

2001-08-07 Thread Sandip Chitale
'((^\\( \\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\(..*\\)$ 21 'jde-bug-breakpoint-marker t) ) ) Assumes a fill column of 80 and tab width of 4. HTH, sandip -Original Message- From: Sandip Chitale [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August

RE: auto-gen get/set pairs for existing class variables

2001-07-27 Thread Sandip Chitale
kind of explain the meaning of the methods in 999 out of 1000 cases :) Max Sandip Chitale [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] ft.com... Please find attached is an enhanced(?) version of Javier's jde-wiz-get-set-methods prototype. Give it a try(at your own

RE: limiting line length

2001-07-27 Thread Sandip Chitale
- From: Sandip Chitale Sent: Friday, July 27, 2001 4:49 PM To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: RE: limiting line length Or maybe just vertical line down the screen at char 80 to let you know when a line is to long? Does anyone know of a way to do

RE: auto-gen get/set pairs for existing class variables

2001-07-26 Thread Sandip Chitale
]] Sent: Monday, July 23, 2001 11:58 PM To: Sandip Chitale; [EMAIL PROTECTED] Subject: RE: auto-gen get/set pairs for existing class variables if no one has started working on this I will try to get a prototype working over the next few days. If someone already started doing something

RE: auto-gen get/set pairs for existing class variables

2001-07-26 Thread Sandip Chitale
Please find attached is an enhanced(?) version of Javier's jde-wiz-get-set-methods prototype. Give it a try(at your own risk). Enhancements - 1. Do not ignore non-public final variables. Generate accessors for final variables if not already defined. 2. Print a

RE: auto-gen get/set pairs for existing class variables

2001-07-23 Thread Sandip Chitale
Shouldn't this be easy with Semantic. In fact, the function could show the list of non-public properties for which a getter/setter does not exist and let the user generate them in one shot e.g. Class Class1 TypeGetter Setter non-final

A simple repacement for `describe-bindings' function

2001-05-10 Thread Sandip Chitale
I thought I will share this with people on jde list. It helps you quickly identify what key combinations are available. (defun keytable (arg) A simple repacement for `describe-bindings' function to print the key bindings in a tabular form. The `describe-bindings' function shows a single column

Re: Emacs JDE problem (possible bug)

2001-04-28 Thread Sandip Chitale
- Original Message - From: David Fellows [EMAIL PROTECTED] None of the world's existing prj.el files contains an invocation of (jde-load-outer-project-file). In my understanding of your suggestion this would ensure that no search for outer prj.el files would occur. This is the

Enhancement: smart clean/update imports

2001-04-28 Thread Sandip Chitale
Nick, There is also a utility function `jde-compile-finish-update-imports' that is suitable for inclusion in `jde-compile-finish-hook' so that imports are updated automatically. The compile finish hook idea is fantastic. However it should not update the file if the new import list matches

Re: Enhancement: smart clean/update imports

2001-04-28 Thread Sandip Chitale
Please read file:// as // in my email. The stupid outlook add that no matter what I do. - Original Message - From: Sandip Chitale [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: Sandip Chitale [EMAIL PROTECTED] Sent: Saturday, April 28, 2001 10:46 AM Subject: Enhancement

RE: Emacs JDE problem (possible bug)

2001-04-27 Thread Sandip Chitale
Folks, #jde_filesystem_root_dir# in the directory that the user wants to be considered the root directory of the mounted filesystem. The JDE prj file searching mechanism could then be modified to stop its upwards search if it finds this file. What do you think? - Paul It

Re: Emacs JDE problem (possible bug)

2001-04-27 Thread Sandip Chitale
It has a severe backwards compatability problem. All prj.el files everywhere except those that are at the root of project trees would have to have an explicit (jde-load-outer-project-file). The alternatives only require those jde users who are running on networked Windows machines do

RE: Couple of ideas

2001-04-23 Thread Sandip Chitale
Hello Guillaume, Do you have ideas of what other errors could be detected automatically? I could only think about unbalanced parenthesis. Maybe other syntaxic error could be detected by syntaxic parser bundled with the JDE? Well I can think of various others - 1. If a type name cannot

Lisp/jde gurus please help ! - Get .class filename for a given java buffer

2001-04-18 Thread Sandip Chitale
Here is what I have so far. Is there a better way ? (defun java-get-buffer-full-class-name () "Get the buffers fully qualified class name." (interactive) (if (jde-parse-get-package-name) (concat (jde-parse-get-package-name) "." (class-from-file-name (buffer-file-name)))

RE: Way to cleanup import statements?

2001-04-16 Thread Sandip Chitale
Well, Scott Stanchfield had started some work on this - http://www.javadude.com/tools/importifier/index.html Also here is my post from few months ago - There is a perpetual controversy about wild card vs specific imports : import java.awt.*; vs import java.awt.Frame; import

RE: dependency building with JDE (again)

2001-03-23 Thread Sandip Chitale
Nic, I would like to add to some of what you have said Nic Ferrier wrote: snip 8-snip It struck me that there is a possible solution to this. When a class file is compiled with the -g switch the source file name that is was compiled from is embedded in the class (this is

RE: convert existing .java file?

2001-03-23 Thread Sandip Chitale
C-x h M-x indent-region Ret HTH, Sandip V. Chitale work: (408) 535 1791 email: [EMAIL PROTECTED] web: http://www.brokat.com March 22.-28.2001 CeBIT Visit Brokat Technologies in Pavilion P32, our new location! -Original Message- From: Sing HU [mailto:[EMAIL PROTECTED]] Sent:

RE: dependency building with JDE (again)

2001-03-23 Thread Sandip Chitale
I can imagine a situation where you don't create a package based directory structure for your files but it should be possible to map the name found in the class file to the source files somehow in whatever configuration the source files are in. As long as you have the build structure

Re: help with jde-import...

2001-02-23 Thread Sandip Chitale
Actually the compiled .class file (constant pool) is the best place to find out which classes are actually imported. Thus parsing the .class file(s) (post a successful compile) a tool could easily come up with an expanded (i.e. no .* imports) and only necessary imports list and replace the

hippie-expand

2001-02-01 Thread Sandip Chitale
Folks, Some one was asking about being able to complete paths in the customization buffer while setting global classpath etc. I want to bering to your attention the following - hippie-expand is an interactive compiled Lisp function in `hippie-exp'. (hippie-expand ARG) Try to