From unknown Sat Sep 06 00:11:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35375: 26.2; info:elisp#Geometry (x-parse-geometry geom) Resent-From: Van L Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Apr 2019 10:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35375 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 35375@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15559306724617 (code B ref -1); Mon, 22 Apr 2019 10:58:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Apr 2019 10:57:52 +0000 Received: from localhost ([127.0.0.1]:49873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIWe0-0001CP-6C for submit@debbugs.gnu.org; Mon, 22 Apr 2019 06:57:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIWdy-0001C8-Hq for submit@debbugs.gnu.org; Mon, 22 Apr 2019 06:57:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:33014) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hIWdt-0000hH-Bw for submit@debbugs.gnu.org; Mon, 22 Apr 2019 06:57:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIWds-0003sY-8j for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2019 06:57:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIWdr-0000e0-74 for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2019 06:57:44 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:46729) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hIWdr-0000bJ-0v for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2019 06:57:43 -0400 X-Originating-IP: 193.82.250.63 Received: from epi.local (193-82-250-63.tpgi.com.au [193.82.250.63]) (Authenticated sender: van@scratch.space) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id D0573C0007 for ; Mon, 22 Apr 2019 10:57:36 +0000 (UTC) From: Van L Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: <2B119482-024A-42A5-9D84-F386CAF1E865@scratch.space> Date: Mon, 22 Apr 2019 20:57:31 +1000 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.183.198 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Hello, 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 = following. I am unable to make-frame have frame height 36 with the following = setting 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 for build detail as follows GNU Emacs 26.2 (build 1, x86_64-unknown-netbsd8.0, GTK+ Version 3.24.1) of 2019-04-15 From unknown Sat Sep 06 00:11:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35375: 26.2; info:elisp#Geometry (x-parse-geometry geom) Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Apr 2019 12:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35375 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Van L Cc: 35375@debbugs.gnu.org Received: via spool by 35375-submit@debbugs.gnu.org id=B35375.155593534219937 (code B ref 35375); Mon, 22 Apr 2019 12:16:02 +0000 Received: (at 35375) by debbugs.gnu.org; 22 Apr 2019 12:15:42 +0000 Received: from localhost ([127.0.0.1]:50071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIXrK-0005BU-60 for submit@debbugs.gnu.org; Mon, 22 Apr 2019 08:15:42 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:39701) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIXrH-0005BK-RJ for 35375@debbugs.gnu.org; Mon, 22 Apr 2019 08:15:40 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 44nlsQ39YXz1rbkf; Mon, 22 Apr 2019 14:15:38 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 44nlsQ0TY5z1qr67; Mon, 22 Apr 2019 14:15:38 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 6y43xcm_llH6; Mon, 22 Apr 2019 14:15:37 +0200 (CEST) X-Auth-Info: 5cAhIZfs6PCZ8xzf2mRtc0LH5YL7EQX/aOOF6SRW572B0catz9T4pp3wlKhOrSZ+ Received: from igel.home (ppp-46-244-162-97.dynamic.mnet-online.de [46.244.162.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 22 Apr 2019 14:15:37 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 8289E2C1860; Mon, 22 Apr 2019 14:15:36 +0200 (CEST) From: Andreas Schwab References: <2B119482-024A-42A5-9D84-F386CAF1E865@scratch.space> X-Yow: I'm continually AMAZED at th'breathtaking effects of WIND EROSION!! Date: Mon, 22 Apr 2019 14:15:36 +0200 In-Reply-To: <2B119482-024A-42A5-9D84-F386CAF1E865@scratch.space> (Van L.'s message of "Mon, 22 Apr 2019 20:57:31 +1000") Message-ID: <87h8aq2q3b.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Apr 22 2019, Van L wrote: > Hello, > > In the example given, > > (x-parse-geometry "35x70+0-0") > ⇒ ((height . 70) (width . 35) > (top - 0) (left . 0)) > --------------------^ > should that be (top . (- 0)) from x-parse-geometry? That's the same, but the lisp printer would never use the dotted form for a proper list. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Tue May 28 16:59:49 2019 Received: (at control) by debbugs.gnu.org; 28 May 2019 20:59:49 +0000 Received: from localhost ([127.0.0.1]:57368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVjCH-0006bt-7T for submit@debbugs.gnu.org; Tue, 28 May 2019 16:59:49 -0400 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 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) 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 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 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= 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 From: Juri Linkov To: Van L Subject: Re: bug#35375: 26.2; info:elisp#Geometry (x-parse-geometry geom) Organization: LINKOV.NET References: <2B119482-024A-42A5-9D84-F386CAF1E865@scratch.space> Date: Tue, 28 May 2019 23:59:01 +0300 In-Reply-To: <2B119482-024A-42A5-9D84-F386CAF1E865@scratch.space> (Van L.'s message of "Mon, 22 Apr 2019 20:57:31 +1000") Message-ID: <87muj6cn3e.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddruddvhedgudehhecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufhofhffjgfkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledrleeirdejfeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrdeliedrjeefpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepvhgrnhesshgtrhgrthgthhdrshhprggtvgenucevlhhushhtvghrufhiiigvpedt Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control Cc: 35375-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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") From unknown Sat Sep 06 00:11:09 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Van L Subject: bug#35375: closed (Re: bug#35375: 26.2; info:elisp#Geometry (x-parse-geometry geom)) Message-ID: References: <87muj6cn3e.fsf@mail.linkov.net> <2B119482-024A-42A5-9D84-F386CAF1E865@scratch.space> X-Gnu-PR-Message: they-closed 35375 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: notabug Reply-To: 35375@debbugs.gnu.org Date: Tue, 28 May 2019 21:00:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1559077203-25487-1" This is a multi-part message in MIME format... ------------=_1559077203-25487-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #35375: 26.2; info:elisp#Geometry (x-parse-geometry geom) which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 35375@debbugs.gnu.org. --=20 35375: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D35375 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1559077203-25487-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 35375-done) by debbugs.gnu.org; 28 May 2019 20:59:49 +0000 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 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 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) 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 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 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= 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 From: Juri Linkov To: Van L Subject: Re: bug#35375: 26.2; info:elisp#Geometry (x-parse-geometry geom) Organization: LINKOV.NET References: <2B119482-024A-42A5-9D84-F386CAF1E865@scratch.space> Date: Tue, 28 May 2019 23:59:01 +0300 In-Reply-To: <2B119482-024A-42A5-9D84-F386CAF1E865@scratch.space> (Van L.'s message of "Mon, 22 Apr 2019 20:57:31 +1000") Message-ID: <87muj6cn3e.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddruddvhedgudehhecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufhofhffjgfkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledrleeirdejfeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrdeliedrjeefpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepvhgrnhesshgtrhgrthgthhdrshhprggtvgenucevlhhushhtvghrufhiiigvpedt Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35375-done Cc: 35375-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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") ------------=_1559077203-25487-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Apr 2019 10:57:52 +0000 Received: from localhost ([127.0.0.1]:49873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIWe0-0001CP-6C for submit@debbugs.gnu.org; Mon, 22 Apr 2019 06:57:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIWdy-0001C8-Hq for submit@debbugs.gnu.org; Mon, 22 Apr 2019 06:57:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:33014) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hIWdt-0000hH-Bw for submit@debbugs.gnu.org; Mon, 22 Apr 2019 06:57:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIWds-0003sY-8j for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2019 06:57:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIWdr-0000e0-74 for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2019 06:57:44 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:46729) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hIWdr-0000bJ-0v for bug-gnu-emacs@gnu.org; Mon, 22 Apr 2019 06:57:43 -0400 X-Originating-IP: 193.82.250.63 Received: from epi.local (193-82-250-63.tpgi.com.au [193.82.250.63]) (Authenticated sender: van@scratch.space) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id D0573C0007 for ; Mon, 22 Apr 2019 10:57:36 +0000 (UTC) From: Van L Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: 26.2; info:elisp#Geometry (x-parse-geometry geom) Message-Id: <2B119482-024A-42A5-9D84-F386CAF1E865@scratch.space> Date: Mon, 22 Apr 2019 20:57:31 +1000 To: bug-gnu-emacs@gnu.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.183.198 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Hello, 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 = following. I am unable to make-frame have frame height 36 with the following = setting 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 for build detail as follows GNU Emacs 26.2 (build 1, x86_64-unknown-netbsd8.0, GTK+ Version 3.24.1) of 2019-04-15 ------------=_1559077203-25487-1--