* XQuartz to 25.3.1 netbsd-8.0; emacsclient new frame height has 3-line default
@ 2018-10-04 5:40 Van L
2018-10-07 8:54 ` Van L
0 siblings, 1 reply; 4+ messages in thread
From: Van L @ 2018-10-04 5:40 UTC (permalink / raw)
To: Emacs
Hello,
I’d like to have the emacsclient new frame to have height 24 or 40.
Whatever I have that is setting the default gives 3.
This is the script I use after `ssh -Y’ to target host.
┌────
│ 1 #!/bin/sh
│ 2 emacsclient --eval "(make-frame-on-display \"$DISPLAY\" '((height . 24)))"
└────
I’ve tried `emacs*geometry: 80x24’ in .Xresources but that has no effect.
`xterm*cursorColor: red’ works.
Any idea?
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.1695.1538631659.1284.help-gnu-emacs@gnu.org>]
* Re: XQuartz to 25.3.1 netbsd-8.0; emacsclient new frame height has 3-line default
[not found] <mailman.1695.1538631659.1284.help-gnu-emacs@gnu.org>
@ 2018-10-04 12:09 ` HASM
2018-10-04 14:38 ` Van L
0 siblings, 1 reply; 4+ messages in thread
From: HASM @ 2018-10-04 12:09 UTC (permalink / raw)
To: help-gnu-emacs
Van L <van@scratch.space> writes:
> I’d like to have the emacsclient new frame to have height 24 or 40.
> This is the script I use after `ssh -Y’ to target host.
> #!/bin/sh
> emacsclient --eval "(make-frame-on-display \"$DISPLAY\" '((height . 24)))"
I have a small variation on this, though for local, not over ssh, and
I'm on emacs 26.1.
Try something like:
emacsclient -n -c -F "((user-position.t)(height.24))"
You may need to add "-d $DISPLAY" though emacsclient should honor the
DISPLAY environment variable.
You may also add (width.XX) to the -F parameter alist, if you don't like
the default.
-- HASM
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: XQuartz to 25.3.1 netbsd-8.0; emacsclient new frame height has 3-line default
2018-10-04 12:09 ` HASM
@ 2018-10-04 14:38 ` Van L
0 siblings, 0 replies; 4+ messages in thread
From: Van L @ 2018-10-04 14:38 UTC (permalink / raw)
To: Emacs
> Try something like:
>
> emacsclient -n -c -F "((user-position.t)(height.24))"
The following creates the frame at 24 height as a uniformed color white rectangle, but shrinks to 3 line height then fills in the details for the window’s buffer.
┌────
│ #!/bin/sh
│ emacsclient --eval "(make-frame-on-display \"$DISPLAY\" '((user-position . t) (height . 24)))"
└────
The following behaves similarly.
┌────
│ #!/bin/sh
│ emacsclient --create-frame --alternate-editor=emacs
└────
I call the above scripts as follows. The problem seems peculiar to 25.3.1-netbsd and x11-forwarding.
┌────
│ #!/bin/sh
│ ssh -Y fred.flintstone opt/bin/newframe &
└────
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-10-07 8:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-04 5:40 XQuartz to 25.3.1 netbsd-8.0; emacsclient new frame height has 3-line default Van L
2018-10-07 8:54 ` Van L
[not found] <mailman.1695.1538631659.1284.help-gnu-emacs@gnu.org>
2018-10-04 12:09 ` HASM
2018-10-04 14:38 ` Van L
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).