any interest in a minor fix to jde-junit.el?
"John Utz" <[email protected]>
| Newsgroups | gmane.emacs.jdee |
|---|---|
| Message-ID | <[email protected]> |
As currently released, it happily supports creating junit test implementations named TFoo.java or TestFoo.java but it doesnt succeed when customized to create an appended name like FooT.java or FooTest.java Note that the fix is just correcting a type representation in the default custom and moving a closing paren so that the (if) statement is correct. Not rocket science, but it's probably the second time that i ever successfully fixed elisp and definitely my first ever contributed elisp patch. :-) jutz@jutz01:~/Compile/jde-2.3.5/lisp> diff jde-junit.el /usr/share/emacs/site-lisp/jde/lisp/jde-junit.el 67,68c67 < ;; (makunbound 'jde-junit-tester-name-tag) < (defcustom jde-junit-tester-name-tag (cons "T" "prefix") --- > (defcustom jde-junit-tester-name-tag (cons "T" t) 103c102 < tester-name) --- > tester-name)) 106,107c105,106 < (concat tag "\\(.*\\)" tag "$") < tester-name)))) --- > (concat "\\(.*\\)" tag "$") > tester-name))) jutz@jutz01:~/Compile/jde-2.3.5/lisp>