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

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

[SOLVED with eev] Re: How to quicker jump to function definition than C-


From: Jean Louis
Subject: [SOLVED with eev] Re: How to quicker jump to function definition than C-h k ?
Date: Fri, 16 Dec 2022 16:39:12 +0300
User-agent: Mutt/2.2.9+54 (af2080d) (2022-11-21)

* Eduardo Ochs <eduardoochs@gmail.com> [2022-12-16 11:14]:
> ;; Try: (eek "M-h M-k  <right>")
> ;;      (eek "M-h M-k  <right>   12*<down>")
> ;;      (eek "M-h M-k  <right>   12*<down> M-e")
> ;;      (eek "M-h M-k  M-h M-k  ;; find-ekey-links")
> ;;      (find-efunction 'find-ekey-links)
> ;;      (find-efunction 'ee-find-eboundkey-links)
> ;;      (find-definition-for-key (kbd "<right>"))
> 
 (defun find-definition-for-key (key &rest pos-spec-list)
 "Based on `find-ekey-links' (`M-h M-k') and `find-efunction'."
   (interactive "kFunction definition for Key: ")
   (find-efunction (key-binding key)))

 (defalias 'fdk 'find-definition-for-key)

Much thanks.

(global-set-key (kbd "C-c k") 'find-definition-for-key)

Now I can jump straight to function definition.

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



reply via email to

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