Dear Eli, During the week-end I found one solution ... control panel > folder options > files types > select erl extention > advanced > action > open > modify write this with the quotation marks: "c:\program files\emacs-23.2\bin\emacsclient.exe" -na "c:\program files\emacs-23.2\bin\runemacs.exe" "%1" Double-click on an erlang file opens it with Emacs. This is one solution but not THE solution ! If I double-click another erlang file, another Emacs instance is starting and an error message displays: Warning (server) unable to start the emacs server. There is an existing Emacs server, named "server".
Probably because I didn't use emacsclientw.exe ? Regards, Gamoto ================================= == En réponse au message du 12-03-2011, 15:26:59 == >> Date: Sat, 12 Mar 2011 14:52:47 +0100 >> From: "Gamoto" <gam...@bluewin.ch> >> Cc: "help-emacs-windows" <help-emacs-windows@gnu.org> >> >> After the test you suggested me, I opened the .emacs.d/server folder when >> emacs is running. >> Effectively, there is a server file. When I closed emacs, this file is >> deleted. > >This is normal. > >> >When you start Emacs, is there some message in the "*Messages*" buffer >> >that is related to starting the server? >> I have a buffer called *Messages* * (two stars) > >I mean this one. > >> Conclusion: emacs server is correctly started and it runs correcty: right ? > >Yes. But there seems to be some problem with communications between >emacsclient and the server. One possible reason could be a version >mismatch between emacsclient and the server. That's why I asked to >show what does "emacsclientw --version" show. > ========================================