From: Kevin Vigouroux via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 52537@debbugs.gnu.org
Subject: bug#52537: [DOC] ‘top-visible’ and ‘bottom-visible’ (erroneous indications)
Date: Thu, 16 Dec 2021 06:58:35 +0100 [thread overview]
Message-ID: <87v8zp8510.fsf@laposte.net> (raw)
In the Emacs Lisp Reference Manual, section 29.14 Child Frames, a
paragraph contains some errors about ‘top-visible’ and ‘bottom-visible’.
#+begin_quote
The ‘top-visible’ parameter specifies the >>number of pixels at the top
of the frame that always remain visible<< within the parent’s native frame
during dragging and should be set when specifying a non-‘nil’
‘drag-with-header-line’ parameter. The ‘bottom-visible’ parameter
specifies the >>number of pixels at the bottom of the frame that always
remain visible<< within the parent’s native frame during dragging and
should be preferred when specifying a non-‘nil’ ‘drag-with-mode-line’
parameter.
#+end_quote
The correct description is given in the Emacs Lisp Reference
Manual, section 29.4.3.7 Mouse Dragging Parameters.
#+begin_quote
‘top-visible’
If this parameter is a number, >>the top edge of the frame never
appears above the top edge<< of its display or parent frame.
Moreover, as many pixels of the frame as specified by that number
will remain visible >>when the frame is moved against any of the
remaining edges<< of its display or parent frame. Setting this
parameter is useful to guard against dragging a child frame with a
non-‘nil’ ‘drag-with-header-line’ parameter completely out of the
area of its parent frame.
‘bottom-visible’
If this parameter is a number, >>the bottom edge of the frame never
appears below the bottom edge<< of its display or parent frame.
Moreover, as many pixels of the frame as specified by that number
will remain visible >>when the frame is moved against any of the
remaining edges<< of its display or parent frame. Setting this
parameter is useful to guard against dragging a child frame with a
non-‘nil’ ‘drag-with-mode-line’ parameter completely out of the
area of its parent frame.
#+end_quote
We may move the child frame with the mouse but not above (below) the top
(bottom) edge of the native frame of the parent frame: this is the role
of ‘top-visible’ (‘bottom-visible’) parameter.
--
Best regards,
Kevin Vigouroux
next reply other threads:[~2021-12-16 5:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-16 5:58 Kevin Vigouroux via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-12-16 8:15 ` bug#52537: [DOC] ‘top-visible’ and ‘bottom-visible’ (erroneous indications) Eli Zaretskii
2021-12-16 11:11 ` Kevin Vigouroux via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-16 11:20 ` Kevin Vigouroux via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-16 8:43 ` martin rudalics
2021-12-16 11:35 ` Kevin Vigouroux via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-19 17:04 ` martin rudalics
2021-12-19 12:11 ` Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v8zp8510.fsf@laposte.net \
--to=bug-gnu-emacs@gnu.org \
--cc=52537@debbugs.gnu.org \
--cc=ke.vigouroux@laposte.net \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).