Re: jde-import-kill-extra-imports not working

Carlos Konstanski <[email protected]> Tue, 30 Oct 2007 08:24:57 -0600
Newsgroups gmane.emacs.jdee
Message-ID <877il44r46.wl%[email protected]>
If you install debian or redhat or even gentoo without any testing
packages enabled, which version of emacs will you get from the package
management system (apt, RPM, portage)?  I'll bet it's still emacs
21.4.  I've been past 21.4 for 2 years now, but I have to add emacs to
my package.keywords file to get the more recent version 22.  In fact,
to get emacs 23.0.50, I have to use the entirely seperate emacs-cvs
package, which grabs emacs directly out of CVS.  Have I had any
stability issues with the software whatsoever?  No.  Is it considered
stable by the package maintainers?  No.  I consider it stable if it
doesn't crash.  They consider it stable if it has been through QA for
a long time, and it interoperates with all the other packages in the
stable branch.  As your jde-import-kill-extra-imports problem
illustrates, emacs 22 doesn't interoperate well with jde because of a
non-backwards-compatible change.  Therefore, it's not stable in the
eyes of the distro maintainers.

Truthfully, 99% of my emacs 22+ issues have been with JDE.  In the JDE
mailing list, you'll find patches for several problems that are the
result of changes to emacs between versions 21.4 and 22.  If the JDE
project were to have a branch specially made to work cleanly with
emacs 22+, it would eventually find its way into apt, portage, etc. as
a testing package.  This would hasten the process whereby emacs 22
might make it into the stable branch of <enter your favorite distro
here>.  As long as JDE only works well with emacs versions < 22, that
day will never come.

At Tue, 30 Oct 2007 10:52:25 +0100, Borgman, Lennart wrote:
> 
> Carlos, Emacs 22 is released and very stable I believe. Or are there some special things that you think of?
> 
> > -----Original Message-----
> > From: Carlos Konstanski [mailto:[email protected]]
> > Sent: 30 oktober 2007 06:12
> > To: James Mao
> > Cc: Carlos Konstanski; [email protected]
> > Subject: Re: jde-import-kill-extra-imports not working
> > 
> > 
> > If I had to guess when the project maintainer would decide to add this
> > code to JDE, I would say "when emacs 22 goes stable".  If 
> > emacs 22 shows
> > up in cygwin and redhat, that'd be high time.  The patch also works in
> > emacs 23.
> > 
> > At Tue, 30 Oct 2007 11:06:06 +0800,
> > James Mao wrote:
> > > 
> > > Thanks, that do fix the problem.
> > > 
> > > Do you know when will your fix go into the jde release?
> > > 
> > > James
> > > 
> > > > Try the patch located at:
> > > >
> > > > 
> > http://article.gmane.org/gmane.emacs.jdee/4974/match=jde+impor
> > t+kill+extra+imports
> > > >
> > > > At Mon, 29 Oct 2007 18:00:24 +0800,
> > > > James Mao wrote:
> > > >   
> > > >> Hi,
> > > >>
> > > >> I'm using the GNU emacs 22.1 with jde 2.3.5.1 (and 
> > cedet-1.0pre4), and I 
> > > >> found that the jde-import-kill-extra-imports not working,
> > > >> It gave me "Wrong type argument: arrayp, 20"
> > > >>
> > > >> Debugger entered--Lisp error: (wrong-type-argument arrayp 20)
> > > >>   jde-import-kill-extra-imports(nil)
> > > >>   call-interactively(jde-import-kill-extra-imports)
> > > >>   execute-extended-command(nil)
> > > >>   call-interactively(execute-extended-command)
> > > >>
> > > >>
> > > >>
> > > >> Anyone knows what's going on?
> > > >>
> > > >>
> > > >> Thanks in advance
> > > >> James
> > > >>     
> > > >
> > > >   
> >