![](/img/trans.png)
[英]How can you disable the Windows' "X" close button in the upper right-hand corner for a web-based program that is displayed in IE7?
[英]How do I start emacs in the upper right hand corner of my Windows display?
回到我的Unix时代,我曾经能够通过在启动时指定geometry
选项来启动屏幕右上角的Emacs。 但是,如果我使用
C:\Emacs\emacs-24.2\bin\runemacs.exe -geometry 80x60-0+0 --debug-init
在Windows7上,Emacs窗口不会保留在右上角。 它看起来似乎是右上角,然后窗口调整大小,因为Emacs初始化,并从右上角移出。 似乎调整大小是由于字体的规范,因为当我在.emacs中注释掉以下行时,窗口保持在右上角。
(set-default-font "-*-Courier New-normal-r-*-*-12-90-*-*-c-*-*-ansi-")
有没有人知道如何强制Emacs进入屏幕的右上角(除了使用默认字体)。 ;)
两种可能的方案
runemacs -fn "Courier New-9" -geometry 80x60-0+0 --debug-init
(setq initial-frame-alist '((top . 0) (left . -1) (width . 80) (height . 60)))
右上角不应该是-0+0
吗? 这对我使用Emacs 21.3起了作用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.