From: Drew Adams <drew.adams@oracle.com>
To: martin rudalics <rudalics@gmx.at>, 24085@debbugs.gnu.org
Subject: bug#24085: 25.1.50; `make-frame' given `top' param creates frame with ~10x smaller `top'
Date: Thu, 28 Jul 2016 09:34:49 -0700 (PDT) [thread overview]
Message-ID: <3a0be54b-1373-4ab3-b560-3891a2e5035e@default> (raw)
In-Reply-To: <5799C8F4.6060205@gmx.at>
> > A user or code can (and should be able to) _move_ a frame to
> > _any_ position, including partly or completely off screen.
>
> Most window managers I know of refuse to make a new frame appear
> off screen on GNU/Linux.
1. What the window manager does is a different question, I think.
Parameter `user-position', for example, has doc that talks
about what a window manager might or might not do, including
perhaps not respecting `user-position' at all.
It is one thing if a window manager does not do what
`make-frame' specifies. It is another thing if Emacs,
under the covers, silently, and without doc, does not do
what `make-frame' specifies. No error, no return flag
indicating what was not taken into account, just behavior
that is different from what was specified, with no
acknowledgment of that difference.
2. I thought that the code change responsible for this
(intentional) regression was the one you cited from 2006,
and I thought that was only for MS Windows (w32term.c), so
I thought that change would not have any effect on other
platforms.
3. Refusing to create a frame that is completely off screen
is one thing. Refusing to create a frame that is even slightly
off screen (e.g. echo area) is another thing. Is the former or
the latter what you were referring to (by "most window
managers...")? And in the case concerning MS Windows, IIUC,
it was about the echo area not being off screen necessarily,
but even just being hidden behind the task bar (which is on
screen).
But the main point I want to make here is #1: Emacs should at
least try to respect what `make-frame' specifies in a given
call. If the window manager cannot respect that, that's a
separate problem, I think. In that case perhaps Emacs can
raise an error, which a programmer could handle using
`condition-case' etc. But Emacs should, I think, at least
try to DTRT, even if that might not always be possible.
next prev parent reply other threads:[~2016-07-28 16:34 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-27 4:49 bug#24085: 25.1.50; `make-frame' given `top' param creates frame with ~10x smaller `top' Drew Adams
2016-07-27 9:19 ` martin rudalics
2016-07-27 13:29 ` Drew Adams
2016-07-27 16:23 ` Eli Zaretskii
2016-07-28 8:57 ` martin rudalics
2016-07-28 14:50 ` Eli Zaretskii
2016-07-28 19:07 ` martin rudalics
2016-07-28 16:34 ` Drew Adams [this message]
2016-07-28 19:07 ` martin rudalics
2022-04-22 13:22 ` Lars Ingebrigtsen
2022-04-22 15:28 ` Drew Adams
[not found] ` <<3657859c-03f1-4eca-9a78-a9be0dee6552@default>
[not found] ` <<83h9bbrqx5.fsf@gnu.org>
2016-07-27 16:57 ` Drew Adams
2016-07-27 17:37 ` Eli Zaretskii
[not found] ` <<<3657859c-03f1-4eca-9a78-a9be0dee6552@default>
[not found] ` <<<83h9bbrqx5.fsf@gnu.org>
[not found] ` <<06a3fb2a-b975-41cf-8aa3-c2cbe207057f@default>
[not found] ` <<838twnrngr.fsf@gnu.org>
2016-07-27 18:39 ` Drew Adams
2016-07-27 19:00 ` Eli Zaretskii
[not found] ` <<<<3657859c-03f1-4eca-9a78-a9be0dee6552@default>
[not found] ` <<<<83h9bbrqx5.fsf@gnu.org>
[not found] ` <<<06a3fb2a-b975-41cf-8aa3-c2cbe207057f@default>
[not found] ` <<<838twnrngr.fsf@gnu.org>
[not found] ` <<325b79e8-c40b-46f7-a89a-11f0888b0a68@default>
[not found] ` <<8360rqsy7i.fsf@gnu.org>
2016-07-27 20:55 ` Drew Adams
2016-07-28 2:12 ` Clément Pit--Claudel
2016-07-28 16:35 ` Drew Adams
2016-07-28 8:57 ` martin rudalics
2016-07-28 16:35 ` Drew Adams
2016-07-28 14:40 ` Eli Zaretskii
[not found] ` <<<<<3657859c-03f1-4eca-9a78-a9be0dee6552@default>
[not found] ` <<<<<83h9bbrqx5.fsf@gnu.org>
[not found] ` <<<<06a3fb2a-b975-41cf-8aa3-c2cbe207057f@default>
[not found] ` <<<<838twnrngr.fsf@gnu.org>
[not found] ` <<<325b79e8-c40b-46f7-a89a-11f0888b0a68@default>
[not found] ` <<<8360rqsy7i.fsf@gnu.org>
[not found] ` <<6336b8b4-49c0-4ce6-9044-cf558f12c16e@default>
[not found] ` <<8337mtsu54.fsf@gnu.org>
2016-07-28 16:36 ` Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3a0be54b-1373-4ab3-b560-3891a2e5035e@default \
--to=drew.adams@oracle.com \
--cc=24085@debbugs.gnu.org \
--cc=rudalics@gmx.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.