emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#35375: closed (26.2; info:elisp#Geometry (x-parse-


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#35375: closed (26.2; info:elisp#Geometry (x-parse-geometry geom))
Date: Tue, 28 May 2019 21:00:02 +0000

Your message dated Tue, 28 May 2019 23:59:01 +0300
with message-id <address@hidden>
and subject line Re: bug#35375: 26.2; info:elisp#Geometry (x-parse-geometry 
geom)
has caused the debbugs.gnu.org bug report #35375,
regarding 26.2; info:elisp#Geometry (x-parse-geometry geom)
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
35375: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35375
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 26.2; info:elisp#Geometry (x-parse-geometry geom) Date: Mon, 22 Apr 2019 20:57:31 +1000
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?

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




--- End Message ---
--- Begin Message --- Subject: Re: bug#35375: 26.2; info:elisp#Geometry (x-parse-geometry geom) Date: Tue, 28 May 2019 23:59:01 +0300 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)
tags 35375 notabug
thanks

> 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?
>
> --- 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 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")


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]