[Top][All Lists]

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

which-function deficiency in C mode

From: Sam Steingold
Subject: which-function deficiency in C mode
Date: Wed, 21 Jun 2006 14:32:40 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

GNU Emacs (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2006-06-19 on quant8

which-function (and thus which-function-mode) does not determine the
"function name" correctly in the following common cases:

typedef struct foo {
  int bar;
  char* baz;
} foo_t;

typedef struct {
  int bar;
  char* baz;
} foo_t;

note that "struct foo" appears to be handled properly.

I cannot figure out what is amiss (it is even unclear what facility -
add-log and imenu - is used when).

Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux)
http://openvotingconsortium.org http://thereligionofpeace.com
http://pmw.org.il http://camera.org http://honestreporting.com
Only adults have difficulty with child-proof caps.

reply via email to

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