From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: master 57d2f24: * lisp/frame.el (make-frame-on-monitor): New command. (Bug#34516) Date: Mon, 04 Mar 2019 09:53:11 +0100 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="158208"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 04 09:53:26 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 1h0jLi-000f2d-Jd for ged-emacs-devel@m.gmane.org; Mon, 04 Mar 2019 09:53:26 +0100 Original-Received: from localhost ([127.0.0.1]:50437 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0jLh-0000ks-L3 for ged-emacs-devel@m.gmane.org; Mon, 04 Mar 2019 03:53:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0jLc-0000ka-2R for emacs-devel@gnu.org; Mon, 04 Mar 2019 03:53:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h0jLa-00034T-WC for emacs-devel@gnu.org; Mon, 04 Mar 2019 03:53:20 -0500 Original-Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:56121) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h0jLa-00033p-Ie for emacs-devel@gnu.org; Mon, 04 Mar 2019 03:53:18 -0500 Original-Received: by mail-wm1-x335.google.com with SMTP id q187so3755631wme.5 for ; Mon, 04 Mar 2019 00:53:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=POKGR8oum4N9OiGaoSYb76rzrMU/UnfIKevbsy2QvkM=; b=Y9X0aHza9iP7dQyk+IAOAAVg0rzUWFm2l8CZZ/b68KDHCESMQ9BGOKum5ZJYHYsIhU lLt+vjNnOttcGiOm4EsZMSX5RAh9dF0Fd5+pQSVAJyq246ilc3EvmFO0GWgNIovJMBEx CYzz2u7WnktvcfwJPKQA0o8uJBV4O92tzwz5huofaBZfqYjkJL/Yc9xsJG9wEnGebkjb P0PWtQieGnrffLE5TtmvojNpo4TRsyf8fOhmuuCTzLZCqxawddl4NDHZVQ3rf6idyugo aPwgzy77P0molaMiSZXxpPZmkHV2rlzn1ATLzBVi98f9jddh9t4580GF22hocfm0OUmu pdhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=POKGR8oum4N9OiGaoSYb76rzrMU/UnfIKevbsy2QvkM=; b=KcLssHdAk0orhlT9q0MrTOnIdo2koSJFuebdEVduYVTrcd2WxhLA/rB/ETP+LUBY/z mw3TI+oPR6dPIO2wV5qRVIlVcl99md4yEAaH+gTKhtvA0XiLvzxgJZnCOavlZqLsBI2N IRwiiga/nSNdqV4TgZdjAy6aWMKzjMgjZCtmiPIFBmVMxp67ovrCZJUk2jRLKXV0wt4e IgJOuBizGvCg6l5iU82oSxJCbamWOann/Ek7yXHxzbcC9IeviFu8uRdFgcd4ryOPaLwc 7CoHjAiUqPkfqStrN2C7O3cXqOUWUrMgmlglVVlwkWzRvSptQ2YBlw5TdEKm0uKl+J1t Cj+Q== X-Gm-Message-State: APjAAAVryGGFYo9ZWV5ZIzAPXaSdvXSUl5I5luJvPSFSnTWw2VfjWPGs SY6lhELcPBHzhA4xlApcS/CdUDWK X-Google-Smtp-Source: APXvYqxA2q05hqmo3SYsODqdd2T7v2rust//MdIQUBlBCLv2gfLYQnAD3Ntv7n8IB6jxnGunGc4qoA== X-Received: by 2002:a1c:c5:: with SMTP id 188mr10243830wma.112.1551689595566; Mon, 04 Mar 2019 00:53:15 -0800 (PST) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:a488:ec6d:43ee:43be]) by smtp.gmail.com with ESMTPSA id p68sm5018726wme.45.2019.03.04.00.53.13 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 04 Mar 2019 00:53:14 -0800 (PST) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <871s3pynwx.fsf@mail.linkov.net> (Juri Linkov's message of "Sat, 02 Mar 2019 23:09:42 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::335 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:233814 Archived-At: Juri Linkov writes: >> In any case, I think using x-parse-geometry is not necessary. The >> workarea already contains the relevant co=C3=B6rdinates, and you can just >> pass (fullscreen . maximized) to get the right size. Sample patch >> below (which I=CA=BCve tested only on macOS, not under X). > > 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. > > 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. I was about to suggest the same :-) I don=CA=BCt have any particular preference for the positioning of the new frame, top-left or center are both fine ('C-x 5 2' does top-left for me here). Robert