all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: emacs@martins.cc
Cc: 32207@debbugs.gnu.org
Subject: bug#32207: 26.1; can't set window position with emacs 26.3
Date: Fri, 20 Jul 2018 08:42:22 +0200	[thread overview]
Message-ID: <5B51844E.2060301@gmx.at> (raw)
In-Reply-To: <17334.1532030218@monster.martins.cc>

 > Looking at fvwm's log I see this message when starting emacs:
 >    [fvwm.0][GetWindowSizeHints]: <<WARNING>> reason: 6: The
 >    hints have been ignored because the window's current size
 >    would have become invalid.

This hints at yet another sizing problem.  What happens when you
specify size _and_ position via say

(make-frame '((top . 100) (left . 100) (width . 50) (height . 10)))

 > The new hints will become
 >    active when the window generates the next ConfigureRequest.
 >
 > I don't remember seeing this message before.
 >
 > If I turn fvwm's:
 >    BugOpts ExplainWindowPlacement True
 >
 > When I start emacs as:
 >    emacs -Q -g 80x40+500+500
 > I get this explanation:
 >    [fvwm.0][__explain_placement]: placed new window 0x1800142 'emacs@...':
 >      initial size 764x780
 >      desk 0 (current desk)
 >      current page
 >      position 20 40, placed by fvwm (ignored program specified position)
 >        placement method: TileCascade

Can you try with "Tile Manual Placement" instead of "Tile Cascade"?  I
suppose that Tile Cascade means that the window manager is allowed to
(or even should) override the application's request.

 > Similarly for -geometry 80x40+500+500, and --geometry=80x40+500+500
 >
 > When I start an xterm as:
 >    xterm -geometry 80x40+500+500
 > I get this one:
 >    [fvwm.0][__explain_placement]: placed new window 0x1800025 'xterm':
 >      initial size 816x839
 >      desk 0 (current desk)
 >      current page
 >      position 500 500  (used user specified position)
 >
 > For xterm, fvwm says "user specified", for emacs it says "program specified".
 > This and the IgnoredHints above may have something to do with it.

Then maybe

(make-frame '((user-position . t) (top . 100) (left . 100)))

will do?

martin





  reply	other threads:[~2018-07-20  6:42 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 [this message]
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
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

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

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