unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* which-function deficiency in C mode
@ 2006-06-21 18:32 Sam Steingold
  2006-06-24  8:31 ` Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: Sam Steingold @ 2006-06-21 18:32 UTC (permalink / raw)
  Cc: alexr

GNU Emacs 22.0.50.6 (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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-06-27 10:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-21 18:32 which-function deficiency in C mode Sam Steingold
2006-06-24  8:31 ` Richard Stallman
2006-06-26  2:08   ` which-function deficiency in C mode caused by imenu Sam Steingold
2006-06-27 10:34     ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).