2
如果我可以將選定的Emacs文本區域作爲c或C++程序的輸入運行,那將會很好。程序的輸出可以覆蓋選定的文本。有這樣的功能嗎?運行選擇並替換
如果我可以將選定的Emacs文本區域作爲c或C++程序的輸入運行,那將會很好。程序的輸出可以覆蓋選定的文本。有這樣的功能嗎?運行選擇並替換
shell-command-on-region is an interactive compiled Lisp function in
`simple.el'.
It is bound to <s-kp-bar>, s-|, M-|, <menu-bar> <tools>
<shell-on-region>.
(shell-command-on-region START END COMMAND &optional OUTPUT-BUFFER
REPLACE ERROR-BUFFER DISPLAY-ERROR-BUFFER)
Execute string COMMAND in inferior shell with region as input.
Normally display output (if any) in temp buffer `*Shell Command Output*';
Prefix arg means replace the region with it. Return the exit code of
COMMAND.
拍攝,我不會想到使用單詞「過濾器」... – Polymer