如何在emacs中为偶数/奇数行着色?

如何在emacs中为偶数/奇数行着色?,emacs,Emacs,我想在emacs中为偶数行和奇数行设置不同的背景色,就像在表格中经常做的那样: df vsdfv <--gray sdf ve f <--white d vdvew <--gray w34rv wfv <--white ...and so on<--gray df vsdfv看一下。非常感谢!这正是我所需要的。

我想在emacs中为偶数行和奇数行设置不同的背景色,就像在表格中经常做的那样:

df vsdfv    <--gray
sdf ve f    <--white
d vdvew     <--gray
w34rv wfv   <--white
...and so on<--gray 

df vsdfv看一下。

非常感谢!这正是我所需要的。