all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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

* 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 ` XQuartz to 25.3.1 netbsd-8.0; emacsclient new frame height has 3-line default 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

* Re: 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, 0 replies; 4+ messages in thread
From: Van L @ 2018-10-07  8:54 UTC (permalink / raw)
  To: Emacs


> 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.

The needed setting is,

  Customize Group: Windows
  Window Min Height: 24

the received value was 4.


^ 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 --
     [not found] <mailman.1695.1538631659.1284.help-gnu-emacs@gnu.org>
2018-10-04 12:09 ` XQuartz to 25.3.1 netbsd-8.0; emacsclient new frame height has 3-line default HASM
2018-10-04 14:38   ` Van L
2018-10-04  5:40 Van L
2018-10-07  8:54 ` Van L

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.