【发布时间】:2008-12-02 21:18:50
【问题描述】:
我的 emacs(在 Windows 上)总是以设定的大小启动,这个大小相当小,如果我调整它的大小,下次启动时它就不会“记住”。
我一直在玩以下游戏:
(set-frame-position (selected-frame) 200 2) ; pixels x y from upper left
(set-frame-size (selected-frame) 110 58) ; rows and columns w h
当我在暂存缓冲区中执行它时,它完全有效。我把它放在我的 .emacs 中,虽然现在当我启动程序时,我可以看到框架临时设置为那个大小,但当 *scratch* 加载时,它再次重置为小默认值。
谁能帮我修复上面的代码,让它在启动时“粘住”?
【问题讨论】:
-
也请参阅上一个问题:How do I set the size of emacs’ window?