当我向标准输出打印大量内容时,在我的
matlab-shell
缓冲区中出现了此警告:Warning (undo): Buffer `*MATLAB*' undo info was 12268000 bytes long.
The undo info was discarded because it exceeded `undo-outer-limit'.
This is normal if you executed a command that made a huge change
to the buffer. In that case, to prevent similar problems in the
future, set `undo-outer-limit' to a value that is large enough to
cover the maximum size of normal changes you expect a single
command to make, but not so large that it might exceed the
maximum memory allotted to Emacs.
我的Emacs长这样:
我真的不需要在右边的 matlab-shell
缓冲区中使用撤销。有没有办法禁用这个警告?请注意,左侧的缓冲区是一个 MATLAB
脚本,这意味着其主模式是 MATLAB,当然不应该禁用撤销功能。
matlab-shell-mode
,但如果你使用C-h m
那么你就能告诉我们了。 - phils