From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#7296: display-pixel-height not enough Date: Mon, 1 Nov 2010 19:08:53 +0100 Message-ID: References: <83hbg66vt4.fsf@gnu.org> <83d3qt77lj.fsf@gnu.org> <4CCA9E5D.5060002@swipnet.se> <838w1h6zbp.fsf@gnu.org> <4CCAC90B.4070800@swipnet.se> <4CCB2713.5070104@swipnet.se> <4CCBC930.5060705@swipnet.se> <2EDD5E782A7C473C875477D2F2A4B743@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1288635283 2394 80.91.229.12 (1 Nov 2010 18:14:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 1 Nov 2010 18:14:43 +0000 (UTC) Cc: 7296@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 01 19:14:39 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PCyty-0005E2-DQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Nov 2010 19:14:38 +0100 Original-Received: from localhost ([127.0.0.1]:48269 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCytx-0005MB-Ex for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Nov 2010 14:14:37 -0400 Original-Received: from [140.186.70.92] (port=46872 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCysn-0004PI-VO for bug-gnu-emacs@gnu.org; Mon, 01 Nov 2010 14:13:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PCysm-0000ZP-LQ for bug-gnu-emacs@gnu.org; Mon, 01 Nov 2010 14:13:25 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PCysm-0000ZK-Fv for bug-gnu-emacs@gnu.org; Mon, 01 Nov 2010 14:13:24 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PCykf-0006dz-No; Mon, 01 Nov 2010 14:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Nov 2010 18:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7296 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7296-submit@debbugs.gnu.org id=B7296.128863469625532 (code B ref 7296); Mon, 01 Nov 2010 18:05:01 +0000 Original-Received: (at 7296) by debbugs.gnu.org; 1 Nov 2010 18:04:56 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PCykZ-0006dl-Tj for submit@debbugs.gnu.org; Mon, 01 Nov 2010 14:04:56 -0400 Original-Received: from mail-yx0-f172.google.com ([209.85.213.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PCykY-0006dg-3r for 7296@debbugs.gnu.org; Mon, 01 Nov 2010 14:04:54 -0400 Original-Received: by yxp4 with SMTP id 4so3423242yxp.3 for <7296@debbugs.gnu.org>; Mon, 01 Nov 2010 11:09:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=5Wyyj3WaxZZyIxRiGfQtUZMU3INOQYtV01NqcaYzbVM=; b=SCGTiS1COnoWNH0NiPQomxHqkRitKQNl+bnmdEf6E2WqsMZZVNhWSMSgCkyUneidbu kbLdYC4e7s3WXwHyagrX95i2H/6PCIE6sqcDh2u9LttQBNKv/OnQ0l9ecvYmA8dkKSnG mHFqyMocqLMmirLlMUJs0YipP4uGfjZveivKU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=fNePCrUKYjSaO2nto0JtFCPP04So4ATJ1aIGIFEwaUnQCnrGIp9+ltkH/jPzS20KeL vmPtSyUaVxqmQ+e19Ifyxb1ZjecCjx+sGvx3dEkPHWtfumwTdlq2EPIf3ieimMyAgjmN 0GR6MZOacGXQRFOeQ1kHcwWYcMjlrtitoxdmA= Original-Received: by 10.91.21.33 with SMTP id y33mr81094agi.92.1288634953207; Mon, 01 Nov 2010 11:09:13 -0700 (PDT) Original-Received: by 10.91.145.10 with HTTP; Mon, 1 Nov 2010 11:08:53 -0700 (PDT) In-Reply-To: <2EDD5E782A7C473C875477D2F2A4B743@us.oracle.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 01 Nov 2010 14:05:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41349 Archived-At: On Mon, Nov 1, 2010 at 4:09 PM, Drew Adams wrote: >> >> Could we, as a first step, do as Eli suggested, i.e. let >> >> display-pixel-height/width return the working area size instead of >> >> the total display size? Is there any reason not to do this now? >> >> In what way can the working display area size in pixels be >> incompatible? And why is using the current total display area size >> better (and more compatible)? > > It's not that one or the other is better; it's that they are different. = =C2=A0If you > change the meaning and return value of an existing function then you brea= k > existing code. =C2=A0If you want to add an additional function that retur= ns some > other value that you find more useful, that's one thing. =C2=A0Proposing = to change > the existing function is something else again. There is no clear description of what display-pixel-height currently returns. So how do we know how it is currently used? It looks like it is difficult to get this information, but as I said the current return value must be documented. I suggest that we just change the doc string and says that it returns value for the total display. And in addition to that it would probably be good to have the "opposite" function too. At least I need it.