From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: HASM Newsgroups: gmane.emacs.help 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 Organization: A noiseless patient Spider Message-ID: <87bm899an6.fsf@127.0.0.1> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1538654899 13642 195.159.176.226 (4 Oct 2018 12:08:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 4 Oct 2018 12:08:19 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 04 14:08:15 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g82QR-0003Rd-HY for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Oct 2018 14:08:15 +0200 Original-Received: from localhost ([::1]:55492 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g82SX-0002e7-Ct for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Oct 2018 08:10:25 -0400 Original-Path: usenet.stanford.edu!goblin3!goblin2!goblin.stu.neva.ru!aioe.org!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-Injection-Info: reader02.eternal-september.org; posting-host="df3e232861e6828c08533886d3fdaab5"; logging-data="26276"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Ib9tOShfRfGvHfUoBU+nstThVVkZlEZ4=" Cancel-Lock: sha1:1PE/Lh5hcJpUZLXbifJ7XM72AQM= sha1:kfu4AIkilPjHdlHDi0E/29v1Z40= Original-Xref: usenet.stanford.edu gnu.emacs.help:223985 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118111 Archived-At: Van L writes: > I=E2=80=99d like to have the emacsclient new frame to have height 24 or 4= 0. > This is the script I use after `ssh -Y=E2=80=99 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