Path: utzoo!utgpu!water!watmath!uunet!tut.cis.ohio-state.edu!APPLE.COM!rjeinc!kayvan From: rjeinc!kayvan@APPLE.COM Newsgroups: gnu.emacs.bug Subject: c-macro-expand - revised bug report Message-ID: <8809302337.AA13074@apple.com> Date: 30 Sep 88 23:37:24 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 44 Sorry about that. The previous bug report was too short and general to be of any use. Here's the bug report. On GNU Emacs 18.51.29 of Wed Sep 28 1988 on rjeinc (usg-unix-v) buffer ho contains the following: --------------------------------- cut here ---------------------------- #include #define min(a, b) ((a) < (b) : (a) ? (b)) main(argc, argv) int argc; char **argv; { int i = 5, j = 8; printf("%d\n", min(i, j)); } --------------------------------- cut here ---------------------------- I make the whole buffer be the region by C-x h. Then, I invoke c-macro-expand. After a long time, I type ^G to abort. A "ps -fukayvan" reveals: UID PID PPID C STIME TTY TIME COMMAND kayvan 62 1 0 16:20:32 con 0:02 -csh kayvan 72 62 1 16:20:57 con 0:25 emacs -e rmail kayvan 75 72 0 16:27:51 ? 0:00 /lib/cpp kayvan 76 72 9 16:29:45 ? 0:00 /bin/csh -c ps -fukayvan kayvan 77 76 1b 16:29:45 ? 0:01 ps -fukayvan Which means that the /lib/cpp process is waiting for input and just sleeping (The zero in the C column). Any suggestions? ---Kayvan