unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Show C/C++ function name for current cursor location
@ 2006-11-07 23:28 chrolson
  2006-11-07 23:33 ` chrolson
  0 siblings, 1 reply; 4+ messages in thread
From: chrolson @ 2006-11-07 23:28 UTC (permalink / raw)


Hi,

When my cursor is currently located in a long function, I would like to
show the function name, how do I do this?

Thanks

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

* Re: Show C/C++ function name for current cursor location
  2006-11-07 23:28 Show C/C++ function name for current cursor location chrolson
@ 2006-11-07 23:33 ` chrolson
  2006-11-08  2:43   ` scameung
  0 siblings, 1 reply; 4+ messages in thread
From: chrolson @ 2006-11-07 23:33 UTC (permalink / raw)


I found the answer: which-func-mode

chrolson@gmail.com wrote:
> Hi,
>
> When my cursor is currently located in a long function, I would like to
> show the function name, how do I do this?
> 
> Thanks

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

* Re: Show C/C++ function name for current cursor location
  2006-11-07 23:33 ` chrolson
@ 2006-11-08  2:43   ` scameung
  2006-11-08  4:21     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: scameung @ 2006-11-08  2:43 UTC (permalink / raw)



"chrolson@gmail.com 写道:
"
> I found the answer: which-func-mode
> 

The problem is which-func-mode does not work well for C++.

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

* Re: Show C/C++ function name for current cursor location
  2006-11-08  2:43   ` scameung
@ 2006-11-08  4:21     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2006-11-08  4:21 UTC (permalink / raw)


> From: "scameung" <yamisoe@gmail.com>
> Date: 7 Nov 2006 18:43:15 -0800
> 
> The problem is which-func-mode does not work well for C++.

In the current development sources, which will soon become Emacs 22.1,
it does.

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

end of thread, other threads:[~2006-11-08  4:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-07 23:28 Show C/C++ function name for current cursor location chrolson
2006-11-07 23:33 ` chrolson
2006-11-08  2:43   ` scameung
2006-11-08  4:21     ` Eli Zaretskii

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).