how to trace emacs menu? -
is there way see emacs
doing when choose action menu?
example i'd see lisp commands executed when click on
tools --> spell checking --> automatic spell checking
this useful learning include init file enable automatic spell check default. thanks.
menus implemented keymaps, , describe-key
handles mouse events in general, can use:
c-hk (select menu item)
in instance see:
<menu-bar> <tools> <spell> <flyspell-mode> runs command flyspell-mode, interactive autoloaded lisp function in `flyspell.el'. bound <menu-bar> <tools> <spell> <flyspell-mode>. (flyspell-mode &optional arg) toggle on-the-fly spell checking (flyspell mode). [...]
actually tracing lisp calls different question (trace-function
, built-in elp
profiling library, debug-on-entry
, 2 debuggers in general useful tools), in case clicking menu item calls function interactively, there's nothing trace :)
Comments
Post a Comment