Re: jde-checkstyle and Emacs 21.50.3

2004-12-17 Thread Christian Plate

> This is the result of another recent change to the CVS (i.e.,
> development) version of compilation mode in Emacs that I am not sure
> how to fix. 

In the method jde-checkstyle-create-checker-buffer   

(setq buffer-read-only nil)

should be after 

(compilation-mode)

With this small change, checkstyle works fine with GNU Emacs 21.3.50!

  Christian


Re: jde-checkstyle and Emacs 21.50.3

2004-12-07 Thread Paul Kinnucan
Christian Plate writes:
 > 
 > >  > How do i set this in my .emacs? I dont know any lisp, sorry for this
 > >  > stupid question.
 > >
 > > (setq compilation-enter-directory-regexp-alist nil)
 > 
 > Thanks, Paul. Ive done this. However now it says:
 > save-excursion: Buffer is read-only: #

Hi Christian,

This is the result of another recent change to the CVS (i.e.,
development) version of compilation mode in Emacs that I am not sure
how to fix. As a rule, I prefer not to try to change the JDEE to track
changes to development versions of Emacs. I prefer to wait wait until
the changes are are officially released. So, unless you are willing
and able to change the JDEE yourself (and, ideally, provide the fixes
to me so I can incorporate them into the JDEE sources), I recommend
that you use the latest production version of Emacs as I do.

Paul



Re: jde-checkstyle and Emacs 21.50.3

2004-12-07 Thread Christian Plate

>  > How do i set this in my .emacs? I dont know any lisp, sorry for this
>  > stupid question.
>
> (setq compilation-enter-directory-regexp-alist nil)

Thanks, Paul. Ive done this. However now it says:
save-excursion: Buffer is read-only: #

Christian


Re: jde-checkstyle and Emacs 21.50.3

2004-12-06 Thread Paul Kinnucan
Christian Plate writes:
 > 
 > > Yes, recent CVS versions of Emacs have changed compilation mode,
 > > which checkstyle uses. One of the changes eliminates
 > > compilation-enter-directory-regexp-alist. I will eventually
 > > get around to updating checkstyle to handle this change. Meanwhile,
 > > just define the variable yourself in your .emacs file.
 > 
 > Ok emacs 21.3 says:
 > compilation-enter-directory-regexp-alist's value is 
 > ((".*: Entering directory `\\(.*\\)'$" 1))
 > 
 > How do i set this in my .emacs? I dont know any lisp, sorry for this stupid 
 > question.

(setq compilation-enter-directory-regexp-alist nil)

Paul



Re: jde-checkstyle and Emacs 21.50.3

2004-12-06 Thread Christian Plate

> Yes, recent CVS versions of Emacs have changed compilation mode,
> which checkstyle uses. One of the changes eliminates
> compilation-enter-directory-regexp-alist. I will eventually
> get around to updating checkstyle to handle this change. Meanwhile,
> just define the variable yourself in your .emacs file.

Ok emacs 21.3 says:
compilation-enter-directory-regexp-alist's value is 
((".*: Entering directory `\\(.*\\)'$" 1))

How do i set this in my .emacs? I dont know any lisp, sorry for this stupid 
question.

Thanks for helping!
  Christian


jde-checkstyle and Emacs 21.50.3

2004-12-06 Thread Paul Kinnucan
Christian Plate writes:
 > 
 > Hello,
 > 
 > with GNU Emacs 21.3.50.2 and JDE 2.3.4 I get following error with 
 > jde-checkstyle:
 > 
 > let: Symbol's value as variable is void: 
 > c
 > 
 > Any ideas?

Yes, recent CVS versions of Emacs have changed compilation mode,
which checkstyle uses. One of the changes eliminates 
compilation-enter-directory-regexp-alist. I will eventually
get around to updating checkstyle to handle this change. Meanwhile,
just define the variable yourself in your .emacs file.

Paul

 > 
 > TIA,
 >   Christian



jde-checkstyle and Emacs 21.50.3

2004-12-06 Thread Christian Plate

Hello,

with GNU Emacs 21.3.50.2 and JDE 2.3.4 I get following error with 
jde-checkstyle:

let: Symbol's value as variable is void: 
compilation-enter-directory-regexp-alist

Any ideas?

TIA,
  Christian