[英]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.