[英]Set Emacs variable in .csv file to start org-mode
I want Emacs 24 to start in org-mode
if I open this special .csv
file, but id does not work如果我打开这个特殊的
.csv
文件,我希望 Emacs 24 以org-mode
启动,但 id 不起作用
| fruit | stock |
| apple | 1230 |
| banana | 200 |
#
# eval: (org-mode)
# mode: org-mode
# End:
I must have misunderstood the variable mechanism in the end of the file.我一定是误解了文件末尾的变量机制。 It would be nice, if i could tell Emacs not to break lines in the same way.
如果我能告诉 Emacs不要以同样的方式断行,那就太好了。
You need to start the variable block with the line Local Variables:
您需要使用
Local Variables:
行开始变量块Local Variables:
| fruit | stock |
| apple | 1230 |
| banana | 200 |
# Local Variables:
# eval: (org-mode)
# mode: org-mode
# End:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.