Re: i can't install flymake
Peter Su <[email protected]>
| Newsgroups | gmane.emacs.jdee |
|---|---|
| Message-ID | <[email protected]> |
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
>
>