Hello All,
Following is an improved version of latest JDE's function
`jde-cursor-posn-as-event'.
This function converts the cursor position (point) into an event so the
completion menu can pop up at point.
This implementation works in XEmacs too :-) and also move the mouse to
the cursor
Hello,
[...]
I have reduced my _emacs file to this:
(add-to-list 'load-path (expand-file-name "~/site-lisp/jde-2.2.6/
lisp"))
(add-to-list 'load-path (expand-file-name "~/site-lisp/speedbar-
0.13a"))
(add-to-list 'load-path (expand-file-name "~/site-lisp/elib-1.0"))
(add-to-list 'load-path
Hello All,
I submit you my latest work on improving jde-java-font-lock.el. The
attached updated version is a major rewrite with the following changes
since my previous post.
- In XEmacs 'null', 'false', 'true' are treated as constants (were
keywords) and 'super', 'this' as keywords (were
'.
Please try it :-)
Any feedback will be appreciated.
Sincerely,
David
;;; jde-java-font-lock.el -- Extra level font locking for java
;; Copyright (C) 1998, 1999, 2000, 2001 by David Ponce
;; Author: David Ponce [EMAIL PROTECTED]
;; Maintainer: David Ponce [EMAIL PROTECTED]
;;
).
Please try it :-)
Any feedback will be appreciated.
Sincerely,
David
;;; jde-java-font-lock.el -- Extra level font locking for java
;; Copyright (C) 1998, 1999, 2000, 2001 by David Ponce
;; Author: David Ponce [EMAIL PROTECTED]
;; Maintainer: David Ponce [EMAIL PROTECTED]
;; Paul
Hello All,
A new senator version 2.1 is available at
http://www.dponce.com/more-elisp.html.
Summary of changes since version 2.0.
- Fixed a nasty typo in `senator-minor-mode'. `run-hooks' were
missing a quotation before their arguments. Thanks to "Charles
Rich" [EMAIL PROTECTED] who has
Hello,
In the attached version of jde-complete.el (taken from JDE 2.2.6beta7)
I reimplemented the Emacs specific
`jde-complete-popup-emacs-completion-menu' as a new generic
`jde-complete-popup-completion-menu' that should work both on Emacs
and XEmacs. It works for me with Emacs 20.7, 21.0 and
Hello,
[EMAIL PROTECTED] wrote:
[...]
Paul, could you please do all the tests you think they are necessary
and then removing all the eieio-stuff from the JDE-distribution but instead
adding the EIEIO to the requirements list like semantic!?
This would really be nice!!
[...]
Yes this would
Hello All,
The latest bug fix release of the SEmantic NAvigaTOR 2.0 library is
available at http://www.dponce.com/more-elisp.html.
Summary of changes:
- `senator-mark-defun' now work on XEmacs too.
- Fixed a "side effect" bug with latest `beginning-of-defun' and
`end-of-defun' advices.
Hello,
The problem is that the advices work only if the functions are called
interactively.
Please, replace the advices in senator.el by the following ones. They
should work with `narrow-to-defun' now.
(defadvice beginning-of-defun (around senator activate)
"If semantic tokens are available,
Hello,
[...]
I haven't quite gotten senator to work properly. The senator-next-
token does
only seem to work correctly when in senator-minor-mode. Otherwise it
doesn't
continue when it gets to the beginning of a token. senator-previous-
token
OTOH works both with and without the minor mode
Hello,
Pressing M-C-e at the beginning of the buffer or pressing M-C-a at
the beginning of the first method freezes the computer (uses all
available CPU power) for quite some time, especially with large
buffers. Maybe there is a workaround for this?
Attached senator-1.5.zip file contains
Hello,
The attached file jde-fixes.zip contains fixed versions of:
jde.el - added (autoload 'ange-ftp-ftp-name "ange-ftp") before
`jde-root-dir-p' defun to fix error in `jde-mode' when
ange-ftp not yet loaded (ange-ftp-ftp-name not defined).
jde-imenu.el - `jde-imenu-sort'
Hello Jeff,
Thank you again for your feedback :-)
I made a new version jde-import-org.el attached here.
It contains the following changes:
- New `jde-import-group-function' option to specify the function used
to associate import token to group. The default one is
`jde-import-group-of'.
Hello Eric,
[...]
As a side note, I also discovered `beginning-of-defun-function' and
`end-of-defun-function', which are documented like this:
[...]
Very interesting but it seems that these variables do not exist in Emacs
20.7. What version of Emacs are you using?
Sincerely,
David
Hello Jeff,
[...]
My feedback: I would like an option to not specify groups, and have
it automatically insert the line break on changes in the first two
sections of the package/domain. e.g.
com.a.b
com.a.c.d
com.c.d
com.x.y
com.x.z
java.x.y
mno.g.h.i
would
Hello,
Here is a new version of SEmantic NAvigaTOR with improved navigation in
semantic token where to step at start and end.
- `senator-next-token' move the point to the end of token if it was at
beginning or in the middle of the token.
- `senator-previous-token' move the point to the
John Cooper [EMAIL PROTECTED] seems to think that:
"David Ponce" [EMAIL PROTECTED] writes:
Here is a new version of SEmantic NAvigaTOR with improved
navigation in
semantic token where to step at start and end.
- `senator-next-token' move the point to the end of token if i
Hello All,
The attached library senator.el (SEmantic NAvigaTOR) defines the
commands `senator-next-token' and `senator-previous-token' to navigate
between language semantic tokens in current buffer. It uses Eric
Ludlam's semantic bovinator tool (version 1.3.1) to parse the buffer and
find the
Hello,
Maybe it would be a good idea to let the user specify the regexps
directly in jde-imports-groups. That way a string like "javax?."
would match both the "java.*" and "javax.*" classes and order them
in the same group.
This is a very good idea :-)
The following redefines
Hello All,
The attached file impgroup.el contains the command `jde-order-imports'
which organize the import statements of the Java source in the current
buffer.
Imports are organized into groups defined by `jde-imports-groups'.
Groups are inserted in the order specified by `jde-imports-groups'.
Hello All,
The attached file impkillx.el contains the command
`jde-kill-extra-imports' which kills extra Java import statements. C-u
M-x jde-kill-extra-imports comments out extra imports instead of killing
them.
The command removes import duplicates. If a global package import
exists all the
Hello all,
jde-sort-imports marks the buffer as changed even if there are no
visible changes (changed order in imports) in the buffer.
Attached is a completely new `jde-sort-imports' command with the
following enhancements:
* If imports are already sorted the buffer is left unchanged.
*
Hello Paul,
I found a bug in the JDE 2.2.6beta1:
The jde-sort-imports command is broken. The line 143 of jde-wiz.el must
be changed from:
(let* ((tokens (semantic-bovinate-toplevel nil nil t))
to:
(let* ((tokens (semantic-bovinate-toplevel t))
to be compatible with semantic-1.3.1 API.
Hello All,
The JDE 2.2.4 does not work with semantic 1.3 because of semantic API
change. I sent updates to Paul to fix this compatibility problem and
improve JDE's use of new semantic 1.3 features.
May be these changes will be included in the next realease of the JDE?
Sincerely,
David
Hello All,
Maybe someone could help Ray. I am not an XEmacs user. It seems that the
`font-lock-add-keyword' function does not exist in XEmacs 21.
Thank you in advance for any help.
Sincerely,
David
Hi David,
Thanks for all your efforts on the JDE additions. I admire your skills!
I am
Hello,
It works fine for me with JDE 2.2.2 - NT Emacs 20.7.1 - semantic 1.2.1.
I seems the parser does not work when case-fold-search value is non nil
(that is searches and matches should ignore case).
Hope this helps.
Sincerely,
David
[EMAIL PROTECTED] wrote:
Hello,
this is not a bug
I think it would be nice if one could specify that a bovinator grammar
is case sensitive or not. Maybe an option in the BNF file?
Sincerely,
David
I seems the parser does not work when case-fold-search value is non
nil
(that is searches and matches should ignore case).
-parts'
;;; functions by the above code in jde-parse.el to add customizable
;;; sort facilities to the JDE Classes imenu.
;;;
;;; David Ponce [EMAIL PROTECTED]
;;;
(defcustom jde-imenu-index-sort nil
"If non-nil sorts items in the classes index menu.
You can choose:
- - 'asc to sort by token
Hello All,
The final version of jdok.el 1.11 is downloadable from
http://www.dponce.com/.
Here are the changes since previous version (1.9):
2000-06-09 David Ponce [EMAIL PROTECTED]
* jdok.el: Version 1.11 released.
FIXED: When methods/constructors contains a "
Mike Bowler wrote:
JDE 2.1.6 final / NT Emacs 20.6 / Windows NT 4.0
Some methods are still not showing up in the classes menu. The code
below shows which combinations of modifiers are being parsed correctly
and which ones aren't.
Mike
[EMAIL PROTECTED]
==
public
Hello,
The Classes imenu does not display methods with final modifier. It seems
that the variable `jde-parse-bovine-java-grammar' in jde-parse.el is not
consistent with the java grammar defined in java.bnf.
I have compiled java.bnf using `semantic-bnf-to-bovine' and replaced the
Hello,
Attached is an improved advised version `jde-create-imenu-index' and
`jde-imenu-index-class' which displays full method signatures in the
"Classes" imenu depending on the setting of the customizable option
`jde-enable-full-method-signatures-index-menu'.
Sincerely,
David [EMAIL
Hello,
Ittay Freiman wrote:
Hello,
I've been using imenu for some time. It is a great package except for
one thing: It doesn't handle overloaded methods. This means that in
the listings (either menu / completion) I just see the method name,
without the signature of its parameters. Can
Hello,
Here is a command to sort Java import statement which use the semantic
parser table provided since JDE 2.1.6 beta 24.
(defun my-jde-sort-imports (optional reverse)
"Sort Java import statements alphabetically. In reverse order if
REVERSE is non-nil.
Usage:
\\[my-jde-sort-imports]
Hello,
In addition I noticed that the Rescan option doesn't seem to work, is
Yes, this appears to be a bug. I'm investigating.
It seems that an argument is missing in the call to
semantic-bovinate-toplevel in the jde-create-imenu-index function
(jde-parse.el).
Here is the patch I have
n
previous versions of jdok are no more used. So jdok templates must be
customized again (sorry for the inconvenience).
You feedback will be welcome.
Sincerely,
David
;; jdok.el --- Javadoc template generator
;; Copyright (C) 1998, 2000 by David Ponce
;; Author: David Ponce [EMAIL
, following-char, eobp and looking-at builtins. I hope it will
continue to work with XEmacs. It works well for me with NT Emacs 20.6.1 and
Solaris Emacs 20.6.1.
Any feedback will be welcome.
Sincerely,
David
;; jdok.el --- Javadoc template generator
;; Copyright (C) 1998, 2000 by David Ponce
;; Author
Hello All,
jdok 1.9 (beta3) is available at http://www.dponce.com/
Summary of changes since beta2
* XEmacs compatibility changes:
Specialized functions now handle insertion of @param,
@exception and @see tag and does nothing if a tag value is ""
(split-string different behaviour between
Hello All,
The first beta version of jjar 1.7 can be downloaded from
http://www.dponce.com/.
This library provides commands to create or update (since JDK 1.2) a
Java ARrchive files (.jar).
Summary of changes since previous version:
* Mainly a new improved file selection scheme. The files to
Lance Johnston wrote:
Does JDE provide a "move the cursor to previous/next method" type of
function? I've looked around some, but can't seem to find anything.
Hello,
I use the following commands, based on font-lock-mode, to move the
cursor to previous/next method:
(defun
Hello All,
The first beta version of jdok 1.9 can be downloaded from
http://www.dponce.com/.
Summary of changes since 1.8:
- Mainly, this new version can now generate javadoc block comment
template for the class or interface at point :-)
- I have done some code cleanup too, and jdok 1.9 no
Hello All,
A new version of jmaker.el is available at http://www.dponce.com.
This JDE add-on defines a command that generates a makefile with targets to
compile all Java source files in the current directory. You can use the JDE
build command or the Emacs compile command to run the generated
43 matches
Mail list logo