[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cmacexp.el with NT Emacs and MSVC++

From: Eli Zaretskii
Subject: Re: cmacexp.el with NT Emacs and MSVC++
Date: Sun, 2 Sep 2001 13:28:25 +0300 (IDT)

On Fri, 31 Aug 2001, Andrew Bolt wrote:

> I've set Emacs to invoke the preprocessor as 'C:\GNU\CPP.BAT',
> and that almost works.  The only problem is that errors aren't
> handled correctly: if the preprocessor hits an error before the 
> '??? !!! ???' marker, the '(search-forward startmarker)' command
> fails, and aborts the processing.

Could you please describe the problem in more detail?  What exactly
causes search-forward to fail, and how is the case of MSVC different
from other compilers?  In other words, what makes this case fail when
other compilers don't?

> Finally, the Emacs always gets an errorcode of zero, so I
> assume I should set msdos-shells to 'cmdproxy.exe' to tell the
> code to ignore the return code.  This doesn't seem to be
> documented.

It's not documented because the code which uses this is not meant for
the Windows version of Emacs, it's for the MS-DOS version, where
msdos-shells are set up at startup.  Could you please suggest a change
that would do similar things for MS-Windows?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]