Found the problem thanks to help from mats, R13 has changed the error format for module name mismatches, (flymake renames your files so test.erl becomes test_flymake.erl) when opening a file with errors, its not mentioned, but with a file with no errors and the name mismatch gets reported in a way that kills flymake.
erlc -o /tmp $Is $PAs -Wall +no_error_module_mismatch $1 fixed it for me 2009/5/20 Dave Peticolas <[email protected]> > > Hm, I think it might currently depend on the directory structure. > It works for one of my projects organized like this: > > BASE/lib/APP/src/*.erl > > But not for one like this: > > BASE/src/*.erl > > And I get the same error. I'll take a look. > > > Dale Harvey wrote: > > having problems getting this running, at first I just got the error > > "configuration error has occurred when running > > (/home/...../flymaker.sh myfile_flymake.erl). Flymake will be switched > OFF)" > > > > running ./flymake.sh /path/to.erl gave me the warnings correctly, > > > > then strangely I found erlware/test.erl, it ran flymake fine, I copied my > > erlang file next to test.erl, same error opening my file, copied test.erl > > next to my file, test.erl ran flymake. > > > > I then copied the contents of myfile with the same header as test.erl, it > > worked while I had conflicting module names, when I fixed them error > > appeared again. > > > > having a bit of a problem debugging this, anyone have any insight? > > > > > > 2009/5/19 Martin Logan <[email protected] > > <mailto:[email protected]>> > > > > > > Ahh, good stuff. I think I have seen enough, time to play with this > > > > On Tue, May 19, 2009 at 1:26 PM, David Budworth <[email protected] > > <mailto:[email protected]>> wrote: > > > take a look at > > > http://weblog.hypotheticalabs.com/?page_id=318 > > > > > > the video he references is all about getting emacs mode / flymake > > to work. > > > > > > I've found flymake to be a big speed up as it tells you of errors > > while you > > > type. Allowing you to fix the issues one at a time vs getting a > > big list of > > > problems at "make" time. > > > > > > > > > On Sun, May 17, 2009 at 9:42 AM, Martin Logan > > <[email protected] <mailto:[email protected]>> > > > wrote: > > >> > > >> That would be nice and useful, and give the mode one of the > > >> capabilities that IDE folks really seem to love > > >> > > >> On Sat, May 16, 2009 at 12:01 AM, Dave Peticolas > > >> <[email protected] <mailto:[email protected]>> > wrote: > > >> > > > >> > Sort of an on-the-fly syntax checker. > > >> > > > >> > Easier to see than explain :) > > >> > > > >> > > > >> > [email protected] <mailto:[email protected]> wrote: > > >> >> Sounds cool, what is flymake? > > >> >> Sent via BlackBerry from T-Mobile > > >> >> > > >> >> -----Original Message----- > > >> >> From: Dave Peticolas <[email protected] > > <mailto:[email protected]>> > > >> >> > > >> >> Date: Fri, 15 May 2009 20:29:42 > > >> >> To: <[email protected] > > <mailto:[email protected]>>; > > >> >> <[email protected] > > <mailto:[email protected]>> > > >> >> Subject: erlware mode release > > >> >> > > >> >> > > >> >> > > >> >> Hello, v0.1.13 is now out: > > >> >> > > >> >> http://code.google.com/p/erlware-mode/downloads/list > > >> >> git://github.com/erlware/erlware-mode.git > > <http://github.com/erlware/erlware-mode.git> > > >> >> > > >> >> This release features initial support of Emacs flymake > > >> >> mode, courtesy of Mats Cronqvist. This is just the initial > > >> >> version, it will be expanded later on, but it's still pretty > > >> >> cool. To turn it on, put something like this in your Emacs > > >> >> startup file: > > >> >> > > >> >> (add-hook 'erlang-mode-hook > > >> >> '(lambda () > > >> >> (flymake-mode) > > >> >> (local-set-key (kbd "M-'") > > 'erlang-flymake-next-error) > > >> >> )) > > >> >> > > >> >> Then fire up Emacs and open an Erlang file. > > >> >> > > >> >> dave > > >> >> > > >> >> > > >> >> > > >> >> > > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "erlware-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/erlware-dev?hl=en -~----------~----~----~----~------~----~------~--~---
