作者热门文章
- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
在 org-mode 的 python 源代码块中,按 C-c C-c 后,emacs 说
Evaluation of python source block is disabled
谁能解释一下为什么?
最佳答案
如果 org-mode 版本 >= 9,Simon 的回答是不正确的。这是另一个 question同样的问题。
解决方案
cd .emacs.d
cd elpa
cd org-xxxx
rm *.elc
那么,还是对org-xxxx的目录进行byte-recompile比较好。为此,启动 emacs,然后
C-0 M-x byte-recompile-directory RET ~/emacs.d/elpa/org-xxxx
详情请访问 here .
更新 1:EmacsWiki在编译文件上。
关于python - 为什么在 emacs 组织模式下禁用此 python 代码块的评估?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41408593/
我是一名优秀的程序员,十分优秀!