From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#35375: 26.2; info:elisp#Geometry (x-parse-geometry geom) Date: Tue, 28 May 2019 23:59:01 +0300 Organization: LINKOV.NET Message-ID: <87muj6cn3e.fsf@mail.linkov.net> References: <2B119482-024A-42A5-9D84-F386CAF1E865@scratch.space> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="79700"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 35375-done@debbugs.gnu.org To: Van L Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 28 23:02:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hVjEc-000KaD-TX for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 May 2019 23:02:15 +0200 Original-Received: from localhost ([127.0.0.1]:42711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVjEb-00065M-V9 for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 May 2019 17:02:14 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVjCW-0004vm-Fc for bug-gnu-emacs@gnu.org; Tue, 28 May 2019 17:00:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVjCV-0002Jh-HH for bug-gnu-emacs@gnu.org; Tue, 28 May 2019 17:00:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43828) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hVjCV-0002JP-6E for bug-gnu-emacs@gnu.org; Tue, 28 May 2019 17:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hVjCV-0006dC-3u for bug-gnu-emacs@gnu.org; Tue, 28 May 2019 17:00:03 -0400 Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 May 2019 21:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 35375 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Mail-Followup-To: 35375@debbugs.gnu.org, juri@linkov.net, van@scratch.space Original-Received: via spool by 35375-done@debbugs.gnu.org id=D35375.155907718925416 (code D ref 35375); Tue, 28 May 2019 21:00:02 +0000 Original-Received: (at 35375-done) by debbugs.gnu.org; 28 May 2019 20:59:49 +0000 Original-Received: from localhost ([127.0.0.1]:57366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVjCG-0006br-Uz for submit@debbugs.gnu.org; Tue, 28 May 2019 16:59:49 -0400 Original-Received: from common.maple.relay.mailchannels.net ([23.83.214.38]:13637) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVjCF-0006bf-0V; Tue, 28 May 2019 16:59:47 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 89C6D5023E3; Tue, 28 May 2019 20:59:45 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a6.g.dreamhost.com (100-96-28-110.trex.outbound.svc.cluster.local [100.96.28.110]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id C9A70502195; Tue, 28 May 2019 20:59:41 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a6.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Tue, 28 May 2019 20:59:45 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Slimy-Lettuce: 74ca535531065625_1559077182694_690573760 X-MC-Loop-Signature: 1559077182694:115584305 X-MC-Ingress-Time: 1559077182693 Original-Received: from pdx1-sub0-mail-a6.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a6.g.dreamhost.com (Postfix) with ESMTP id 32402801A5; Tue, 28 May 2019 13:59:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=linkov.net; bh=wDMrH9 n08X0qUkJn1j215RvbqtA=; b=t02ezQWp1uHj2nnEh4j3f0iPXmMW+V+Uu2nejs 9nr6+vzqJqOsR3HXYyyaLWlpMhnGJXNAJG26DaDPCGwAeXiPv7OTjVD24vyEBzYe dIXeuOG23+AanVA1M9/uZZ+5woG2/OraW0GXn+8UIy4RiAf9c+wpEjy9/5wqNEY/ rKh20= Original-Received: from mail.jurta.org (m91-129-96-73.cust.tele2.ee [91.129.96.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a6.g.dreamhost.com (Postfix) with ESMTPSA id 10246801A7; Tue, 28 May 2019 13:59:35 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a6 In-Reply-To: <2B119482-024A-42A5-9D84-F386CAF1E865@scratch.space> (Van L.'s message of "Mon, 22 Apr 2019 20:57:31 +1000") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddruddvhedgudehhecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufhofhffjgfkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledrleeirdejfeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrdeliedrjeefpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepvhgrnhesshgtrhgrthgthhdrshhprggtvgenucevlhhushhtvghrufhiiigvpedt X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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:159865 Archived-At: tags 35375 notabug thanks > In the example given, > > (x-parse-geometry "35x70+0-0") > =E2=87=92 ((height . 70) (width . 35) > (top - 0) (left . 0)) > --------------------^ > should that be (top . (- 0)) from x-parse-geometry? > > --- background context --- > > I landed on the above documentation while trying to figure out the foll= owing. > > I am unable to make-frame have frame height 36 with the following setti= ng in ~/.emacs > > (add-to-list 'default-frame-alist '(height . 36)) > > and in ~/.Xresources, I have > > Emacs*geometry: 80x36 > > Calling `emacs -Q` I have initial frame height of 4, the next > make-frame has height 36, the rest of the next make-frame events have > height 4. This is because x-parse-geometry returns height/width in pixels, but make-frame expects height/width in characters. Please use `text-pixels' for pixels. See more at (info "(elisp) Size Parameters")