From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: display-mm-width return value off on Windows Date: Thu, 24 Aug 2006 00:44:14 +0200 Message-ID: References: <44E73CD6.80207@gnu.org> <874pw86284.fsf@neutrino.caeruleus.net> <44E79204.9030505@gnu.org> <87y7tj4y5l.fsf@neutrino.caeruleus.net> <87odudzyev.fsf@neutrino.caeruleus.net> <87psetwbwl.fsf@neutrino.caeruleus.net> <871wr7wbgn.fsf@neutrino.caeruleus.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1156373178 10642 80.91.229.2 (23 Aug 2006 22:46:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 23 Aug 2006 22:46:18 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 24 00:46:16 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GG1UB-00078m-NF for ged-emacs-devel@m.gmane.org; Thu, 24 Aug 2006 00:46:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GG1UB-0003ye-BZ for ged-emacs-devel@m.gmane.org; Wed, 23 Aug 2006 18:46:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GG1Tg-0003jh-PC for emacs-devel@gnu.org; Wed, 23 Aug 2006 18:45:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GG1Te-0003iD-Uf for emacs-devel@gnu.org; Wed, 23 Aug 2006 18:45:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GG1Te-0003i9-Qi for emacs-devel@gnu.org; Wed, 23 Aug 2006 18:45:38 -0400 Original-Received: from [195.41.46.235] (helo=pfepa.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GG1ba-0002N2-4H for emacs-devel@gnu.org; Wed, 23 Aug 2006 18:53:50 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepa.post.tele.dk (Postfix) with SMTP id 566A9FAC017; Thu, 24 Aug 2006 00:45:28 +0200 (CEST) Original-To: Ralf Angeli In-Reply-To: <871wr7wbgn.fsf@neutrino.caeruleus.net> (Ralf Angeli's message of "Wed, 23 Aug 2006 20:31:20 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:58785 Archived-At: Ralf Angeli writes: > * Kim F. Storm (2006-08-22) writes: > >> Ralf Angeli writes: >> >>> * frame.el (display-mm-dimensions-alist): New variable. >>> (display-mm-height, display-mm-width): Use it. >> >> Looks good to me. >> >> One question: >> >> Should they really return the default value with for emacs -nw ? >> Or nil as before? > > Thanks for spotting this. I think it should return nil. More > specifically: If display-mm-* is called without an argument it should > return nil if the display the current frame is located on is not a > graphical one. If display-mm-* is called with an argument it should > return nil if the target display is unavailable or not a graphical > one. I can change the patch accordingly ... Pls. do. -- Kim F. Storm http://www.cua.dk