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: Drew Adams
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)

> > 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.

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.



reply via email to

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