emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 57d2f24: * lisp/frame.el (make-frame-on-monitor): New command


From: Robert Pluim
Subject: Re: master 57d2f24: * lisp/frame.el (make-frame-on-monitor): New command. (Bug#34516)
Date: Mon, 04 Mar 2019 09:53:11 +0100

Juri Linkov <address@hidden> writes:

>> In any case, I think using x-parse-geometry is not necessary. The
>> workarea already contains the relevant coördinates, and you can just
>> pass (fullscreen . maximized) to get the right size. Sample patch
>> below (which Iʼve 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ʼt 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]