I have been playing with integrating inspector into my workflow and finally settled on alterning default eval-expression (M-:) and eval-last-sexp (C-x C-e).
What I have found is that I do not need inspector most of the time, but when I do, I do not want to bother alternative key bindings. Instead, I arranged C-u M-: to run inspector-inspect-expression and C-u C-x C-e to run inspector-inspect-last-sexp.
It could be useful to have wrapper commands that will do what I described: - with prefix argument, call inspector command and call the built-in command without prefix argument.
I have been playing with integrating inspector into my workflow and finally settled on alterning default
eval-expression
(M-:) andeval-last-sexp
(C-x C-e).What I have found is that I do not need inspector most of the time, but when I do, I do not want to bother alternative key bindings. Instead, I arranged C-u M-: to run
inspector-inspect-expression
and C-u C-x C-e to runinspector-inspect-last-sexp
.It could be useful to have wrapper commands that will do what I described: - with prefix argument, call inspector command and call the built-in command without prefix argument.