From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#30074: 26.0; Add function(s) for current monitor info Date: Mon, 15 Jul 2019 09:24:33 -0700 (PDT) Message-ID: <098a0314-8c32-4535-8976-96e27a54af36@default> References: <17da2391-a30c-4d5f-9ffd-1758b18c34f3@default> <87k1cky0e5.fsf@mouse.gnus.org> <87muhgtn0c.fsf@mail.linkov.net> <0771514c-28eb-4ef7-9f17-eb465049df0c@default> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="95920"; mail-complaints-to="usenet@blaine.gmane.org" To: Andy Moreton , 30074@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 15 18:25:07 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hn3ml-000Opm-DF for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Jul 2019 18:25:07 +0200 Original-Received: from localhost ([::1]:40756 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hn3mk-0007DN-Eh for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Jul 2019 12:25:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59988) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hn3mh-0007D3-4K for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2019 12:25:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hn3mg-0007xf-5N for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2019 12:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40053) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hn3mg-0007xX-1p for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2019 12:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hn3mf-00086I-S6 for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2019 12:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Jul 2019 16:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30074 X-GNU-PR-Package: emacs Original-Received: via spool by 30074-submit@debbugs.gnu.org id=B30074.156320788631083 (code B ref 30074); Mon, 15 Jul 2019 16:25:01 +0000 Original-Received: (at 30074) by debbugs.gnu.org; 15 Jul 2019 16:24:46 +0000 Original-Received: from localhost ([127.0.0.1]:48874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hn3mN-00085C-6Q for submit@debbugs.gnu.org; Mon, 15 Jul 2019 12:24:45 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:48880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hn3mL-00084x-7f for 30074@debbugs.gnu.org; Mon, 15 Jul 2019 12:24:41 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6FGOAXR065952; Mon, 15 Jul 2019 16:24:35 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=JSvA9KX+D6u/D1OQnI7PNeWhMqw9+mEYj5wTwcIzm1M=; b=u5OlrBBNQvz4s89NM+KIs9Er73sL7u/miL9GEFAFJ5bRZYl8OMpG9DnRzJ2gq3wsEyx3 viE3h/Ql3pwmlRAGCKaPK00Kx1+tdPWBD7xmo4mf0NErEeNY8bEi7mCYiEzyXRCe/oIo kxZJQm9jkxEZNdTLOYN/CrzBtgR0nopseQ/jkJYsttV2GDujds9Y8oeRXd9QTj9ipqnY qENH7+xwNCRu1gqZLudALdr2+RSWwOSnW16eUJ95R8fnpa5T+3J9mYpZniHD+gE+mKYc zhmBcwwJnt3lagmx1SklZ7/NFc69jvjgPD3Uagf8Xvi2g1WgJ2/rXxTpRj7m0s2xvMhE OA== Original-Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2120.oracle.com with ESMTP id 2tq7xqqg9s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 15 Jul 2019 16:24:35 +0000 Original-Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6FGNV7E160983; Mon, 15 Jul 2019 16:24:35 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3030.oracle.com with ESMTP id 2tq4dtdjxa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 15 Jul 2019 16:24:34 +0000 Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x6FGOX8m003896; Mon, 15 Jul 2019 16:24:33 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4861.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9319 signatures=668688 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907150191 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9319 signatures=668688 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907150191 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:163140 Archived-At: > > Please consider this bug report to be a > > request for a function like [`current-monitor-size']. >=20 > Doesn't the returned monitor attributes list give you that information ? Yes, and the bug report made that clear from the beginning (with `display-monitor-attributes-list'). > (frame-monitor-attributes (selected-frame)) > =3D> ((geometry 0 0 1920 1080)...) >=20 > What other information do you need ? It's not about _needing other information_. It's about having a function that gives you the size info directly. This is getting a bit ridiculous. Why do you think we have functions like this? (defun frame-width (&optional frame) "Return number of columns available for display on FRAME. If FRAME is omitted, describe the currently selected frame." (cdr (assq 'width (frame-parameters frame)))) Why don't you complain that `frame-parameters' already gives you that information? "What other information do you need?"