[gnu.emacs.bug] cmacexp.el

kayvan@APPLE.COM (10/02/88)

In GNU Emacs 18.51.29 of Wed Sep 28 1988 on rjeinc (usg-unix-v)

The cause was found for my c-macro-expand bug.

The braindead /lib/cpp on this system needs *two* EOF's before it
will quit. The problem was solved by duplicating the line:

      (process-send-eof process)

By the way, how is it that cmacexp.el has no copyright or other
notice?? (And it's only one function...)

I seem to vaguely recall someone a long time ago saying something
about a C-macro mode that would show or hide your code according to
whether or not some #defines were set.

i.e. if DEBUG is not set, the following code:

|		printf("Howdy, folks\n");
|	#ifdef DEBUG
|		printf("Debugging info here\n");
|	#endif
|		i++;

would show up as:

|	printf("Howdy folks\n");
|	i++;

and if I set DEBUG (to this mythical C-macro mode), then the whole thing
is shown.

Am I hallucinating or does such a thing exist??

				---Kayvan