all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacslient --frame-parameters
@ 2017-11-15 20:51 HASM
  2017-11-15 22:58 ` Stephen Berman
       [not found] ` <mailman.3763.1510786710.27995.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: HASM @ 2017-11-15 20:51 UTC (permalink / raw)
  To: help-gnu-emacs


With emacs-25.3-3.fc26.x86_64 on Fedora, I Can't get emacsclient -F
(--frame-parameters) to work.

I tried starting emacs as
  emacs -q -Q -nsl
and issuing
  server-start
from the *scratch* buffer.

Then from the shell, running
  emacsclient -n -c -F "((width.200)(height.50)(top.20)(left.2000))"
  (and/or other geometry parameter values)
always gives me a window (fame) with the same geometry as the original
frame, at some window manager assigned position.

What I am doing wrong?

-- HASM
  


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacslient --frame-parameters
  2017-11-15 20:51 emacslient --frame-parameters HASM
@ 2017-11-15 22:58 ` Stephen Berman
       [not found] ` <mailman.3763.1510786710.27995.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Berman @ 2017-11-15 22:58 UTC (permalink / raw)
  To: help-gnu-emacs

On Wed, 15 Nov 2017 12:51:42 -0800 HASM <hasm@example.invalid> wrote:

> With emacs-25.3-3.fc26.x86_64 on Fedora, I Can't get emacsclient -F
> (--frame-parameters) to work.
>
> I tried starting emacs as
>   emacs -q -Q -nsl
> and issuing
>   server-start
> from the *scratch* buffer.
>
> Then from the shell, running
>   emacsclient -n -c -F "((width.200)(height.50)(top.20)(left.2000))"
>   (and/or other geometry parameter values)
> always gives me a window (fame) with the same geometry as the original
> frame, at some window manager assigned position.
>
> What I am doing wrong?

Omitting spaces in the cons cells; try this:    

emacsclient -n -c -F "((width . 200)(height . 50)(top . 20)(left . 2000))"

Steve Berman




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacslient --frame-parameters
       [not found] ` <mailman.3763.1510786710.27995.help-gnu-emacs@gnu.org>
@ 2017-11-16  4:00   ` HASM
  0 siblings, 0 replies; 3+ messages in thread
From: HASM @ 2017-11-16  4:00 UTC (permalink / raw)
  To: help-gnu-emacs

Stephen Berman <stephen.berman@gmx.net> writes:

>>   emacsclient -n -c -F "((width.200)(height.50)(top.20)(left.2000))"
>> What I am doing wrong?

> Omitting spaces in the cons cells; try this:    
> emacsclient -n -c -F "((width . 200)(height . 50)(top . 20)(left . 2000))"

That seems to work for width and height.  Thanks.

However, left and top seem to be ignored, with the window manager
placing the window wherever it wants, even when I add (user-position
. t) to frame parameters.

Passing equivalent geometry to uxterm, the terminal gets placed at the
requested coordinates, so the window manager does obey it in some cases.

-- HASM


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-16  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-15 20:51 emacslient --frame-parameters HASM
2017-11-15 22:58 ` Stephen Berman
     [not found] ` <mailman.3763.1510786710.27995.help-gnu-emacs@gnu.org>
2017-11-16  4:00   ` HASM

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.