* Re: master c19dd8e9d6c 2/2: Add more documentation for TTY child frames
[not found] ` <20241219152929.A6F4FC09079@vcs3.savannah.gnu.org>
@ 2024-12-19 17:23 ` Stefan Kangas
2024-12-19 17:40 ` Eli Zaretskii
2024-12-20 8:45 ` Robert Pluim
0 siblings, 2 replies; 3+ messages in thread
From: Stefan Kangas @ 2024-12-19 17:23 UTC (permalink / raw)
To: Robert Pluim, emacs-devel
Robert Pluim <rpluim@gmail.com> writes:
> branch: master
> commit c19dd8e9d6c54080426623129a824e5bb2fcf7be
> Author: Robert Pluim <rpluim@gmail.com>
> Commit: Robert Pluim <rpluim@gmail.com>
>
> Add more documentation for TTY child frames
>
> * doc/lispref/frames.texi (Child Frames): Document that TTY
> child frames are now supported.
> * etc/NEWS: Document another limitation of TTY child frames.
> ---
> doc/lispref/frames.texi | 4 ++--
> etc/NEWS | 7 +++++--
> 2 files changed, 7 insertions(+), 4 deletions(-)
>
> diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi
> index bf4d5c05f3a..cc7d3f79a7f 100644
> --- a/doc/lispref/frames.texi
> +++ b/doc/lispref/frames.texi
> @@ -3393,8 +3393,8 @@ of its sibling child frames.
>
> By design, operations to make or modify child frames are implemented
> with the help of frame parameters (@pxref{Frame Parameters}) without any
> -specialized functions or customizable variables. Note that child frames
> -are meaningful on graphical terminals only.
> +specialized functions or customizable variables. Child frames
> +are meaningful on graphical and text terminals.
Thanks, this is an improvement. Two comments:
1. s/meaningful/supported/ ?
2. Should we explain the limitations of child frames on text terminals
here as well?
> To create a new child frame or to convert a normal frame into a child
> frame, set that frame's @code{parent-frame} parameter (@pxref{Frame
> diff --git a/etc/NEWS b/etc/NEWS
> index 7e5a73818ff..9a7b320acdb 100644
> --- a/etc/NEWS
> +++ b/etc/NEWS
> @@ -47,8 +47,11 @@ enabled, you can disable mouse tracking by putting '(xterm-mouse-mode
> ** Child frames are now supported on TTY frames.
> This supports use-cases like Posframe, Corfu, and child frames acting
> like tooltips. Other use-cases of child frames are not supported yet.
> -In particular, trying to create minibuffer-only child frames on a TTY
> -frame will signal an error.
> +In particular:
> +
> +- trying to create minibuffer-only child frames on a TTY frame will
> + signal an error.
> +- a TTY child frame cannot be converted to a root frame or vice-versa.
>
> To enable tooltips on TTY frames, call 'tty-tip-mode'.
I note that we use the terminology "TTY frame" in NEWS, and "text
terminal" in the manual above. In other places, we talk about "text
frames".
Which terminology do we prefer, and does it help avoid any confusion if
we are consistent?
^ permalink raw reply [flat|nested] 3+ messages in thread