Thanks Kai, I have just applied your initial version instead since it is a bit easier to understand. It will be in the next release of Emacs+EmacsW32.
On Fri, Oct 23, 2009 at 8:28 AM, Kai Tetzlaff <kai.tetzl...@gmx.de> wrote: > Hi Lennard, > >> Hi Kai, >> >> When you are satisfied with your changes, could you then please just >> send them to me so I can include them? > > sorry for the late reply. Below is the fix i'm using now. So far there > have been no issues with it: > > --- emacsclient-my.c 2009-10-04 21:56:34 +0200 > +++ emacsclient-kt.c 2009-10-23 09:18:10 +0200 > @@ -2103,7 +2103,7 @@ > > int exitval = finish_messages (connected); > > - if (connected) > + if (INVALID_SOCKET != emacs_socket) > exit(exitval); > else > exit(EXIT_FAILURE); > >> >> I am thinking about setting up a repository on Launchpad so that it is >> easier to get those changes for anyone who is interested. > > This would be a good idea. I would definitely use it. An even better > option would be to get (some of) the fixes/add-ons integrated in GNU > emacs. But i guess you tried that already ;-). > > BR, > Kai >