开发者

Copy emacs font settings to another computer

I want to copy over the emacs fonts settings from one computer to another - any ideas how to do this.

I did C-u C-x = to get the following :

character: r (0162, 114, 0x72)

charset: ascii (ASCII (ISO646 IRV))

code point: 114

syntax: word

catego开发者_StackOverflow中文版ry: a:ASCII l:Latin

buffer code: 0x72

file code: 0x72 (encoded by coding system undecided-unix)

font: -Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1

Now I want to replicate this on another machine (Running GNU emacs 23.1.1) ?

Thanks.


You can set the default font using:

(set-default-font "-Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1")

Put this in the target machine's .emacs file, or you can switch at will if you simply execute the line (paste in any buffer, put cursor after ) and use C-x C-e).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜