[gnu.emacs.bug] c-macro-expand - revised bug report

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

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 <stdio.h>

#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