Re: Emacs on remote linux box
Re: Emacs on remote linux box
- Subject: Re: Emacs on remote linux box
- From: "James K. Lowden via X11-users" <email@hidden>
- Date: Wed, 19 Apr 2023 05:04:51 -0400
On Tue, 18 Apr 2023 18:57:32 +0000
David L Chopp via X11-users <email@hidden> wrote:
> When I start emacs on the remote machine, the window pops up on my
> Mac, for a brief moment sizes to the correct size, and then shrinks
> to about three lines high.
Confirmed. I see the same behavior. My solution, such as it is:
(defun jkl-frame-height ()
"Change window height"
(interactive)
(set-frame-height (window-frame nil) 60)
(set-frame-width (window-frame nil) 80))
(global-set-key (kbd "C-c h") 'jkl-frame-height)
That puts me two keystrokes away from a useful frame size.
About %0.1 of the time it took to write this message! ;-)
It's definitely *not* a problem with your .emacs file. Proof:
$ ssh -f hostname emacs -Q
exhibits the same behavior. I think it must have something to do with
XQuartz pixel scaling, or how it reports the vertical screen size to
the X client. If you really want to dig into it offline, I'm game.
I'm still using
macOS 13.0.1 (22A400)
XQuartz 2.8.5 (xorg-server 21.1.6)
Btw, the homebrew emacs is pretty good, too. You might want to
consider using it and tramp mode. I use both, depending on how far
away the remote is.
--jkl
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden