From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: Determining desktop size? Date: Thu, 17 Mar 2005 00:25:34 +0100 Organization: Organization?!? Message-ID: References: <1111013744.234400.148600@f14g2000cwb.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1111015801 11026 80.91.229.2 (16 Mar 2005 23:30:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 16 Mar 2005 23:30:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 17 00:30:01 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DBhwP-0003ss-Ao for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Mar 2005 00:28:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DBiCZ-000745-De for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Mar 2005 18:45:23 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-X-Trace: individual.net KjFoVgylcH8xxImjpnRXLwjgoikvyBQ7Aoy1F8HL9BV0+2jSd0 X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:hH5u5po+o3mcO4/N8nLmQy4RzaM= Original-Xref: shelby.stanford.edu gnu.emacs.help:129337 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:24892 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24892 "John" writes: > David Kastrup wrote: >> PT writes: >> >> > Not the size of the emacs frame, the size of the whole graphical >> > desktop. Is it possible from elisp? >> >> C-h f display-pixel-height RET >> C-h f display-pixel-width RET >> >> -- >> David Kastrup, Kriemhildstr. 15, 44793 Bochum > > This function proves to be not "the size of the whole graphical > desktop" but instead "the size of the desktop when emacs started"! > > At least as tested on emacs 21.1 running on Windows XP. When I resize > the display during a run of emacs, later evaluations of > (display-pixel-width) return the earlier value, not the present size of > the display. File a bug report. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum