all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Feng Shu <tumashu@163.com>
Cc: Emacs-Devel <emacs-devel@gnu.org>
Subject: Re: Is it possible let child-frame not hide the mode-line and minibuffer out
Date: Sun, 04 Feb 2018 11:02:03 +0100	[thread overview]
Message-ID: <5A76DA1B.3050103@gmx.at> (raw)
In-Reply-To: <874lmx321z.fsf@163.com>

 > but I think the below result is more useful when I move a child-frame to
 > (0 . -1)

We should not inhibit placement there just as we allow a frame to hide
the taskbar of the window manager on the desktop.  But we could
provide a parameter for child frames that would, if set, accomplish
that.

Could you try coding such a thing?  The value to be added in the
y-direction should account for the internal border width of the frame,
the height of the minibuffer, a vertical window divider and the height
of the mode line if these are set.  In the x-direction we then should
probably avoid hiding the internal border as well.  And we probably
should disable the effect of this if it would cause the child frame to
no more fit into its parent at the top or the right.

martin



  reply	other threads:[~2018-02-04 10:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-02 15:57 Is it possible let child-frame not hide the mode-line and minibuffer out Feng Shu
2018-02-03  9:05 ` martin rudalics
2018-02-04  2:45   ` Feng Shu
2018-02-04 10:02     ` martin rudalics [this message]
2018-02-04 11:43       ` tumashu
2018-02-05  7:53       ` tumashu

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=5A76DA1B.3050103@gmx.at \
    --to=rudalics@gmx.at \
    --cc=emacs-devel@gnu.org \
    --cc=tumashu@163.com \
    /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.