Article View: gnu.emacs.bug
Article #1045cmacexp.el
From: rjeinc!kayvan
Date: Sun, 02 Oct 1988 05:31
Date: Sun, 02 Oct 1988 05:31
36 lines
1276 bytes
1276 bytes
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
Technical Details
Message-ID:
<8810020531.AA12332@apple.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!uunet!tut.cis.ohio-state.edu!APPLE.COM!rjeinc!kayvanShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!uunet!tut.cis.ohio-state.edu!APPLE.COM!rjeinc!kayvan From: rjeinc!kayvan@APPLE.COM Newsgroups: gnu.emacs.bug Subject: cmacexp.el Message-ID: <8810020531.AA12332@apple.com> Date: 2 Oct 88 05:31:55 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 36