RE: i can't install flymake

"Nascif Abousalh-Neto" <[email protected]>
Newsgroups gmane.emacs.jdee
Message-ID <[email protected]>
Hi Peter,

I am not familiar with this function - I usually use the custom UI. I think it is the preferred method to use custom, but I am no expert... 

As for emacs, as I said the latest emacs comes with a flymake version that is not backward compatible with jde-flymake. I tried to fix the compatibility problem but my Emacs Lisp  was not up to the task.

I suggest that you:
1) Get the recommended flymake.el;
2) Use the custom UI to set the flymake-allowed-file-name-masks

jde-flymake is very useful but it is coming to the end of its life as development on the compiler it relies on, Jikes, seems to be pretty much dead - the latest version is almost two years old now. 

And Java has changed quite a lot since... It might be better to look at Suraj's interface to the Eclipse JDT compiler. Check the mailing list archives for 20-Feb-2006, "Using the Eclipse Java Compiler as a compile server"

Suraj, how is the status on your extension? Can it provide flymake-like functionality?

Regards,
  Nascif




-----Original Message-----
From: Peter Su [mailto:[email protected]] 
Sent: Monday, July 03, 2006 10:29 PM
To: Nascif Abousalh-Neto
Cc: [email protected]
Subject: Re: i can't install flymake


Hi Nascif,
   I have changed to this:

(custom-set-variables 
 '(flymake-allowed-file-name-masks (quote ((".+\\.java$" flymake-jde-jikes-java-init flymake-simple-java-cleanup flymake-get-real-file-name))))
)

But when i execute M-x flymake-mode, same warning display again. i use latest emacs22, how to resolve it? thanks.

    Peter


From: "Nascif Abousalh-Neto" <[email protected]>
Subject: RE: i can't install flymake
Date: Mon, 3 Jul 2006 14:12:06 -0400

> 
> Hi Peter,
> 
> According to the installation instructions, you should use custom, not setq:
> 
> ;; 3) Customize the variable flymake-allowed-file-name-masks so that the mapping
> ;;    for java files looks like this:
> ;;    (".+\\.java$" flymake-jde-jikes-java-init flymake-simple-java-cleanup flymake-get-real-file-name)
> 
> If you are using Emacs 22 or better, you might have problems with the flymake that comes in the box. 
> They broke backward compatibility, unfortunately. I had to point back to the old version from the original author.
> 
> Regards,
>   Nascif
> 
> 
> -----Original Message-----
> From: Peter Su [mailto:[email protected]]
> Sent: Monday, July 03, 2006 5:35 AM
> To: [email protected]
> Subject: i can't install flymake
> 
> 
> HI all:
>    when i install jde-flymake, i just do:
> 
> 
> (load-file (expand-file-name "~/emacs/site/jde-flymake.el")) (require 
> 'jde-flymake)
> 
> (setq flymake-allowed-file-name-masks (quote ((".+\\.java$" 
> flymake-jde-jikes-java-init flymake-simple-java-cleanup 
> flymake-get-real-file-name))))
> 
> 
> (define-key jde-mode-map [M-f7]         'flymake-goto-prev-error)
> (define-key jde-mode-map [M-f8]         'flymake-goto-next-error)
> (define-key jde-mode-map [M-f12]        'flymake-save-as-kill-err-messages-for-current-line)
> 
> 
> But when M-x flymake-mode , result is: 
>     Flymake:no builefile(makefile) found for e:/xxx/Test.java. Flymake will be switch.....
> 
>     how to resolve it? thanks.
> 
>     	Peter
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.