GNU bug report logs - #5098
[NS] 23.1.50; display-pixel-height / display-pixel-width don't work in .emacs

Previous Next

Package: emacs;

Reported by: Ian Eure <ian.eure <at> gmail.com>

Date: Wed, 2 Dec 2009 08:10:05 UTC

Severity: normal

Tags: unreproducible

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 5098 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Ian Eure <ian.eure <at> gmail.com>
Cc: 5098 <at> debbugs.gnu.org
Subject: Re: [NS] 23.1.50;
	display-pixel-height / display-pixel-width don't work in .emacs
Date: Sun, 18 Sep 2011 11:38:45 +0200
Ian Eure <ian.eure <at> gmail.com> writes:

> I have a function which sets up the Emacs frame how I like it. This
> involves centering the frame within the screen; since I run Emacs on
> multiple systems, I calculate it based on the current screen
> dimensions.
>
> However, calling both display-pixel-height and display-pixel-width
> return zero when called from my .emacs file. I added some debug messages
> to emacs-startup-hook and window-setup-hook, and they return zero there
> as well.

I'm unable to reproduce this in Emacs 24.  Has this bug gone away in
recent Emacs versions?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




This bug report was last modified 13 years and 198 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.