all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: HASM <hasm@example.invalid>
To: help-gnu-emacs@gnu.org
Subject: Re: XQuartz to 25.3.1 netbsd-8.0; emacsclient new frame height has 3-line default
Date: Thu, 04 Oct 2018 05:09:01 -0700	[thread overview]
Message-ID: <87bm899an6.fsf@127.0.0.1> (raw)
In-Reply-To: mailman.1695.1538631659.1284.help-gnu-emacs@gnu.org

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


       reply	other threads:[~2018-10-04 12:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1695.1538631659.1284.help-gnu-emacs@gnu.org>
2018-10-04 12:09 ` HASM [this message]
2018-10-04 14:38   ` XQuartz to 25.3.1 netbsd-8.0; emacsclient new frame height has 3-line default Van L
2018-10-04  5:40 Van L
2018-10-07  8:54 ` Van L

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bm899an6.fsf@127.0.0.1 \
    --to=hasm@example.invalid \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.