So you're in the middle of a 300 lines function, and want to know where the function declaration is.
How do you do this?
M-C-a
jumps to the beginning of the current function.
M-C-e
jumps to the end of the current function
It works for elisp and c-derived languages (e.g. Java).
typically, i have the which-function
minor mode enabled which displays the current function on the mode line (using this in my emacs config):
(require 'which-func)
(which-function-mode t)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With