help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How big are your customisations?


From: Davin Pearson
Subject: Re: How big are your customisations?
Date: 5 Aug 2006 21:14:15 -0700
User-agent: G2/0.2

Eli Zaretskii wrote:
> > I have just tried to the following:
> >
> > (require 'which-func)
> > (find-file "a.cc")
> > (which-func)
> >
> > And it only displays [???]
> >
> > How do I get it to work?
>
> What is `which-func'? there's no such function in which-func.el.

Sorry I meant (which-func-mode)

> To activate the mode, type "M-x which-func-mode RET"; you don't need
> to (require 'which-func) explicitly.

I have executed M-x which-func-mode RET while
editing the following file (foo.c):

int main()
{
     // main
}

void Foo::bar()
{
     // Foo::bar
}

and all it shows is [???]

So what gives?

My own Lisp file for telling
you the current function (CFM.EL)
works equally well in C/C++/Java source files.



reply via email to

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