emacs tab 设置为4个空格

需求 默认的 emacs 换行是两个空格,需要改为4个空格,并且 tab 也是4个空格。 解决 只需要在 el 或者 org 配置文件中添加如下内容: ;; cc mode style, table instead of spaces (setq c-default-style "linux" c-basic-offset 4 tab-width 4 indent-tabs-mode t) 参考

2023-03-09 · 1 min · 30 words · RamLife