M-x 是運行command的意思。
若使用常規Emacs debugger(即不使用edebuger),先把要debug的函數加入到debug-on-entry:shell
defvar
或
defcustom什麼的變量的值,另外你必須把point(光標)移動 到要執行的語句的結尾。
C-M-x
eval-defun,它多是執行某條命令的最好方式了。它基本沒有上面的命令的任何問題,你可 以在一個form的任何地方執行這條命令,它會自動選擇執行最外層的form。Run the shell command line cmd and display the output (shell-command).express
Run the shell command line cmd with region contents as input; optionally replace the region with the output (shell-command-on-region).less
Run a subshell with input and output through an Emacs buffer. You can then give commands interactively.函數
Run a subshell with input and output through an Emacs buffer. You can then give commands interactively. Full terminal emulation is available.lua
Start the Emacs shell.spa