目前的解决办法是用AppleScript启动Emacs并调整大小,如下: tell application "Emacs" to activate
tell application "System Events" repeat until exists window 1 of process "Emacs" delay 1 end repeat tell (process 1 whose name is "Emacs") set position of window 1 to {0, 20} set size of window 1 to {800, 780} end tell end tell