Emacs中基于一的列索引

时间:2014-11-25 23:40:05

标签: emacs

如何将缓冲区底部显示的(line number, column number)更改为一个?

动机:匹配编译器的错误消息。

1 个答案:

答案 0 :(得分:0)

我在compilation-shell-minor-mode缓冲区中运行了shell。单击错误dir/file:100:1:将打开文件并跳转到第100行和缓冲区的第一个(即0)列,这是正确的。

请参阅https://www.gnu.org/software/emacs/manual/html_node/emacs/Compilation-Mode.html

https://github.com/sboosali/.emacs.d/blob/master/my/my-compilation.el进行简单配置