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.devel Subject: RE: master 57d2f24: * lisp/frame.el (make-frame-on-monitor): New command. (Bug#34516) Date: Sat, 2 Mar 2019 17:05:56 -0800 (PST) Message-ID: References: <20190225211142.21954.14993@vcs0.savannah.gnu.org> <20190225211144.0DD23206A2@vcs0.savannah.gnu.org> <83ef7umv4v.fsf@gnu.org> <877edluew8.fsf@mail.linkov.net> <87k1hjk5ow.fsf@mail.linkov.net> <871s3pynwx.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="59228"; mail-complaints-to="usenet@blaine.gmane.org" To: Juri Linkov , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 03 02:06:12 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h0Fa0-000FFc-AB for ged-emacs-devel@m.gmane.org; Sun, 03 Mar 2019 02:06:12 +0100 Original-Received: from localhost ([127.0.0.1]:60835 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0FZz-0004P4-6B for ged-emacs-devel@m.gmane.org; Sat, 02 Mar 2019 20:06:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0FZq-0004Ol-Bq for emacs-devel@gnu.org; Sat, 02 Mar 2019 20:06:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h0FZp-0006QS-9L for emacs-devel@gnu.org; Sat, 02 Mar 2019 20:06:02 -0500 Original-Received: from userp2130.oracle.com ([156.151.31.86]:42970) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h0FZo-0006Or-W1 for emacs-devel@gnu.org; Sat, 02 Mar 2019 20:06:01 -0500 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x2313xqR113367; Sun, 3 Mar 2019 01:05:58 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=Cimk9ZGNgwLyJDTcVhD5qg+ijQoY/iFxxObVs+Au/XI=; b=lQW/FF5ESO59Vu3lKsoAU0EQhiAiePM+dIC9JCYP4RTMppSBhWClNtESBs124LGVoeG7 0ce6wDYLxUaPjqPmsg76DaZt2D787w/42iCcQzNwq9PeaRX6wlHrLToKAORBSFa6sTJD 6jyf4DpSD+XrIwYd1hXZxPLq6E0CpuxotzKxu0JJ+dTplPip/ixZf5zCRztPfFs3LzAa Ko9QrK7I5u7d9oItN9MrUd86K6RMyRhPz/L9SyscLNY7FD5ODq/kykL0u/eRBEsbbeTA 3d8DshhNZ4TWb84XRMpR43SqN11vVZTcrUDqPSzl/yhqMGDiT66WrHkxi46fnMJpN5pJ Ew== Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2130.oracle.com with ESMTP id 2qyh8tt5gn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 03 Mar 2019 01:05:58 +0000 Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x2315vb0006936 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 3 Mar 2019 01:05:57 GMT Original-Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x2315vcC015265; Sun, 3 Mar 2019 01:05:57 GMT In-Reply-To: <871s3pynwx.fsf@mail.linkov.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4810.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9183 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 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-1903030007 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 156.151.31.86 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:233783 Archived-At: > > In any case, I think using x-parse-geometry is not necessary. The > > workarea already contains the relevant co=C3=B6rdinates, and you can ju= st > > pass (fullscreen . maximized) to get the right size. Sample patch > > below (which I=CA=BCve tested only on macOS, not under X). >=20 > We should not use (fullscreen . maximized) because this is not what > make-frame does by default. I see that in 'emacs -Q', 'C-x 5 2' makes > a new frame with text sizes 80x35 in the center of the current monitor. >=20 > We should do the same also in case when a new frame is created on > another monitor. So maybe just omit the attributes 'width' and > 'height', without using 'fullscreen'. Any other attributes are > a matter of personal customization. As an aside and FWIW, I think `C-x 5 2' should, by default, make a new frame that is a clone of the selected one (same parameters). I proposed this in bug #34715.