-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
which-function-mode? pretty please? #9
Comments
Sure. Do you have any suggestions for an algorithm to use? It would be nice to detect package boundaries, not be fooled by code like (Note that unlike most static analysis packages, we have to be able to get the right answer even when the code is sligthly malformed, like as it's being typed in.) Anyway, I played with something similar to this in Pure Perl a while ago, see http://cpansearch.perl.org/src/JROCKWAY/Devel-InPackage-0.01/lib/Devel/InPackage.pm. Your thoughts would be appreciated. |
The idea is to help with gross navigation, so I personally would be content with support for m{ ^ \s* package \s+ (\w[:\w]) }xm where default $sub_keyword is 'sub', 'method', 'before', 'after', 'around', and now 'func' (see Method::Signatures::Simple) |
Oh. This already works. which-func uses the data from imenu, which has I just tested cperl-mode 7d8066c with Are you not seeing the same thing? |
On 9/7/2011 2:12 PM, Jonathan Rockway wrote:
How curious. When I turn on which-function-mode in .emacs it If you could clear up how/why that is happening, that'd be neat, but now |
I will close this soon for cleanup reasons if nobody objects. |
No description provided.
The text was updated successfully, but these errors were encountered: