插入空格直到列

iob*_*lix 10 emacs

我必须输入以下格式......

A          B          C
D          E          F
[]
Run Code Online (Sandbox Code Playgroud)

我使用indent-relative从一列跳到另一列.但有没有办法跳转到列号?如果是这样,有没有办法在该列之前插入空格?

小智 12

也许indent-to-column会对你有用.

indent-to-column is an alias for `indent-to'.

(indent-to-column COLUMN &optional MINIMUM)

Indent from point with tabs and spaces until COLUMN is reached.
Optional second argument MINIMUM says always do at least MINIMUM spaces
even if that goes past COLUMN; by default, MINIMUM is zero.

The return value is COLUMN.
Run Code Online (Sandbox Code Playgroud)

它也会输入标签,但是你可以在完成untabify命令后清理它们.