unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Henrique Martins <emacs@martins.cc>
To: martin rudalics <rudalics@gmx.at>
Cc: 32207@debbugs.gnu.org
Subject: bug#32207: 26.1; can't set window position with emacs 26.3
Date: Wed, 25 Jul 2018 13:14:26 -0700	[thread overview]
Message-ID: <16136.1532549666@monster.martins.cc> (raw)
In-Reply-To: <5B5816ED.2010702@gmx.at>

>> Compiled 25 and ran "emacs -Q -g ...'.
>> It places the window fine
> What are the -g specifications?

emacs -Q -g 40x20+400+400

> It is possible that 18 * 84 which gives 1512 pixels + 400
> which gives 1912 pixels is too high for your screen.

The created frame is well within my 1920x1080 screen

> Let's do away with -g and resources for the moment and try
> starting Emacs as follows:
>
> emacs -Q --eval "(setq initial-frame-alist '((width . 41) (height . 84) (left . 400) (top . 400)))"

I used
  emacs -Q --eval "(setq initial-frame-alist '((width . 40) (height . 20) (left . 400) (top . 400)))"
to match the above.

With Emacs 25 it ends up in the correct position, but sizes
are messed up. The initial scratch window occupies some top
left portion of the window, with matching size menubars and
scrollbars in the middle of the window :-) and rest of frame
blank.

Emacs 26 works perfectly! even with off-screen positions.

I'll added this to my .xclients script (though -g ought to
work) and will check next time I need to restart X.

-- Henrique

PS: Adding "(user-position . t)" to the -F argument of calls
to emacsclient to place frames in my other three screens,
seems to also put them where I want them too.








  reply	other threads:[~2018-07-25 20:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-18 23:41 bug#32207: 26.1; can't set window position with emacs 26.3 emacs
2018-07-19  8:20 ` martin rudalics
2018-07-19 13:26   ` emacs
2018-07-19 19:56     ` emacs
2018-07-20  6:42       ` martin rudalics
2018-07-20 20:10         ` Henrique Martins
2018-07-21  7:43           ` martin rudalics
2018-07-22 17:48             ` emacs
2018-07-23  6:51               ` martin rudalics
2018-07-24 19:38                 ` emacs
2018-07-25  6:21                   ` martin rudalics
2018-07-25 20:14                     ` Henrique Martins [this message]
2018-07-26  7:56                       ` martin rudalics
2018-07-26 19:36                         ` emacs
2018-07-27  9:21                           ` martin rudalics
2018-07-20  6:41     ` martin rudalics
2019-12-17 16:00 ` Elof Ofel

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=16136.1532549666@monster.martins.cc \
    --to=emacs@martins.cc \
    --cc=32207@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    /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 public inbox

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

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