From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Henrique Martins Newsgroups: gmane.emacs.bugs Subject: bug#32207: 26.1; can't set window position with emacs 26.3 Date: Wed, 25 Jul 2018 13:14:26 -0700 Message-ID: <16136.1532549666@monster.martins.cc> References: <13991.1531957318@monster.martins.cc> <5B5049B0.6070804@gmx.at> <4103.1532006778@monster.martins.cc> <17334.1532030218@monster.martins.cc> <5B51844E.2060301@gmx.at> <6111.1532117405@monster.martins.cc> <5B52E433.2030002@gmx.at> <5985.1532281696@monster.martins.cc> <5B557AF4.4050200@gmx.at> <17223.1532461092@monster.martins.cc> <5B5816ED.2010702@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1532549591 1626 195.159.176.226 (25 Jul 2018 20:13:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 25 Jul 2018 20:13:11 +0000 (UTC) Cc: 32207@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 25 22:13:07 2018 Return-path: Envelope-to: geb-bug-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 1fiQ9i-0000Ld-Jg for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Jul 2018 22:13:06 +0200 Original-Received: from localhost ([::1]:55396 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fiQBp-000475-CR for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Jul 2018 16:15:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fiQBe-00045C-2R for bug-gnu-emacs@gnu.org; Wed, 25 Jul 2018 16:15:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fiQBb-0007br-1Q for bug-gnu-emacs@gnu.org; Wed, 25 Jul 2018 16:15:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52660) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fiQBa-0007bk-P8 for bug-gnu-emacs@gnu.org; Wed, 25 Jul 2018 16:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fiQBa-0000pS-Gx for bug-gnu-emacs@gnu.org; Wed, 25 Jul 2018 16:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Henrique Martins Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Jul 2018 20:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32207 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32207-submit@debbugs.gnu.org id=B32207.15325496773134 (code B ref 32207); Wed, 25 Jul 2018 20:15:02 +0000 Original-Received: (at 32207) by debbugs.gnu.org; 25 Jul 2018 20:14:37 +0000 Original-Received: from localhost ([127.0.0.1]:57678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fiQBB-0000oU-3a for submit@debbugs.gnu.org; Wed, 25 Jul 2018 16:14:37 -0400 Original-Received: from mail-it0-f48.google.com ([209.85.214.48]:53251) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fiQB8-0000oG-1e for 32207@debbugs.gnu.org; Wed, 25 Jul 2018 16:14:36 -0400 Original-Received: by mail-it0-f48.google.com with SMTP id 72-v6so10532654itw.3 for <32207@debbugs.gnu.org>; Wed, 25 Jul 2018 13:14:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=martins-cc.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:comments:mime-version :content-id:content-transfer-encoding:date:message-id; bh=9j8VnffZLMD2ylvA5XovWQOEmZNN/e2WY2sCrFFoF/E=; b=KcViBwSU0ds2xhM6qJRuRgLdHICfep/Bstnaa6vYUxSK+YEzoWI4KrLmCfwhuLAAOB IPRwmFAreVh3AirOySXEwUrEPZiG26FsH/DDXFg+k5fM5V3Lxtt6qNwZ8hg7E4JTQtsw cKCb4Prc86Hd85cf0AjfE98YTXkKjvzrO6kLLERM6y2o1B/jOrPGBKYQJykg2wMZUpqS aRWrraoyl9nIiHT/KVnEVL4CGJzDalB8k9dQAh2Y+cinj6f1KVoBB3V9BY+5pu+oIqx4 QMCTrZUoGGXMZlslkaN2PXOqVNvrMC/vzLlVeNSO9Tnlsx9v2nepAEhfOXwlB8jIFQvO TySw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :comments:mime-version:content-id:content-transfer-encoding:date :message-id; bh=9j8VnffZLMD2ylvA5XovWQOEmZNN/e2WY2sCrFFoF/E=; b=p0dV+ODt1SewaNUnDK+QGFNCcd7rwVCob2wTRlnoH6alAcbHba+q76Ivo+S3f8Jblr JInmcdVDeLYdVUfAaRKmHsaNik1H4QMYMsaXVKJ3MJX1yoSfxh5I1JMa9c7gnJMyqeak 1ym1E29x/DZ2Hn3HmrNR3wuQa+10olXCKEbzxmlOslKhSEbHg4CuThwtEGDilFGDguHL ukU94hr+mWJVX5WC9JjL5bT3cz6+XxGV5o3Y1SrUCXzvbg210sd4wR6bn35CH+O3ZzVX U0Tlc120zE8tGEtTGLjXGYrMq0YnFcAlJ4H3bNc28jqSsefZ8imCPV1aQSMulL0qEhu7 DpDQ== X-Gm-Message-State: AOUpUlHkYQo82y4Ak/TIpV7IZWfaQf6gHpDFpVONwJcHgP1LRx/MVTMK aFIooNnub9i4hF3LjDOT1SIzvWPHNUM= X-Google-Smtp-Source: AAOMgpcYCNfZ6mx6X96TYwXdBtgK2Os2PsFjsixTUVHP+RHQwMWofOUZN2TtOQlM+O/qN7AbR2cXgA== X-Received: by 2002:a24:e47:: with SMTP id 68-v6mr7176499ite.23.1532549668374; Wed, 25 Jul 2018 13:14:28 -0700 (PDT) Original-Received: from monster.martins.cc (c-73-93-166-97.hsd1.ca.comcast.net. [73.93.166.97]) by smtp.gmail.com with ESMTPSA id q3-v6sm2911414itc.22.2018.07.25.13.14.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Jul 2018 13:14:27 -0700 (PDT) Original-Received: from monster.martins.cc (localhost [IPv6:::1]) by monster.martins.cc (Postfix) with ESMTP id 4990260221; Wed, 25 Jul 2018 13:14:26 -0700 (PDT) In-reply-to: <5B5816ED.2010702@gmx.at> Comments: In-reply-to martin rudalics message dated "Wed, 25 Jul 2018 08:21:33 +0200." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.1 Content-ID: <16135.1532549666.1@monster.martins.cc> X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:148934 Archived-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.