unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Third <alan@idiocy.org>
To: Nick Helm <nick@tenpoint.co.nz>
Cc: 28536@debbugs.gnu.org, Bob Halley <halley@play-bow.org>
Subject: bug#28536: 26.0.60; cannot set frame geometry, plus weirdness
Date: Thu, 21 Sep 2017 22:12:41 +0100	[thread overview]
Message-ID: <20170921211241.GA5731@breton.holly.idiocy.org> (raw)
In-Reply-To: <m28th8tg4d.fsf@tenpoint.co.nz>

On Fri, Sep 22, 2017 at 12:01:38AM +1200, Nick Helm wrote:
> 
> Emacs does not set frame geometry parameters correctly:
> 
>   Emacs -Q
> 
>   (frame-parameter nil 'width)  -> 75
>   (frame-parameter nil 'height) -> 35
>   ;this is already odd as default geometry should be 80x36
> 
>   (set-frame-parameter nil 'width 105)
> 
>   (frame-parameter nil 'width)  -> 100 ;width is incorrect
>   (frame-parameter nil 'height) -> 35
> 
> Setting frame width also seems to somehow influence frame height:
> 
>   (set-frame-parameter nil 'width 105)
>   (set-frame-parameter nil 'width 105) 
>   ;set frame width a few more times
>   ;the frame pixel height changes by a fraction of a char each time
> 
>   (frame-parameter nil 'width)  -> 100
>   (frame-parameter nil 'height) -> 34  ;height changed

Apologies all, this was my fault. I misunderstood the discussion in an
old bug report that probably should have been closed as notabug.

I’ve reverted the change now.

Thanks for your reports.
-- 
Alan Third





  reply	other threads:[~2017-09-21 21:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-21 12:01 bug#28536: 26.0.60; cannot set frame geometry, plus weirdness Nick Helm
2017-09-21 21:12 ` Alan Third [this message]
2017-09-22 16:06   ` Nick Helm

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20170921211241.GA5731@breton.holly.idiocy.org \
    --to=alan@idiocy.org \
    --cc=28536@debbugs.gnu.org \
    --cc=halley@play-bow.org \
    --cc=nick@tenpoint.co.nz \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).