From: Eli Zaretskii <eliz@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: 71163-done@debbugs.gnu.org, mail@emreyolcu.com
Subject: bug#71163: Cursor can disappear off the window if no-special-glyphs is enabled
Date: Sat, 25 May 2024 13:26:09 +0300 [thread overview]
Message-ID: <86h6emyypq.fsf@gnu.org> (raw)
In-Reply-To: <0c858561-45a2-4737-942f-c205a1b06fb0@gmx.at> (message from martin rudalics on Fri, 24 May 2024 11:16:36 +0200)
> Date: Fri, 24 May 2024 11:16:36 +0200
> Cc: 71163@debbugs.gnu.org
> From: martin rudalics <rudalics@gmx.at>
>
> > . it only has effect on GUI frames (basically, the code ignores this
> > parameter on TTY frames), although the documentation doesn't say
> > that, and I see no immediate reason why it wouldn't make sense on
> > TTY frames;
>
> We neither had child frames nor tooltip frames on TTYs when this feature
> was introduced. Did this change in the meantime?
No. But the manual doesn't mention child frames at all, in
conjunction with this parameter.
> > . it doesn't affect the display of fringe truncation and
> > continuation bitmaps, although the documentation doesn't say that,
> > either, and it is not clear to me that those bitmaps should be
> > displayed in that case;
>
> Fringes should not be shown on such frames.
>
> > . not only display of cursor in full-window lines is broken, but
> > also the automatic horizontal scrolling (auto-hscroll-mode) in
> > that case: the line is not hscrolled until you type one more
> > character beyond those visible;
>
> Neither of these are supported by this feature.
>
> > . if you insert a TAB near the end of a screen line such that the
> > next tab stop is on the next screen line, the TAB is shown with
> > wrong number of columns, as if the next tab stop is at column zero
> > of the next screen line.
>
> Interactive insertion is not supported either.
>
> > The last 2 points, and the report that started this bug discussion,
> > are because the logic of line-continuation and truncation is basically
> > broken in this case: the layout code thinks the continuation and
> > truncation glyphs are inserted when needed, whereas they are not.
> > That's because the layout code was not adapted to this frame
> > parameter, only the geometry of the screen line was adjusted.
> >
> > Fixing this will take a while. But first we need to understand and
> > agree on the scope of support for this frame parameter, and what Emacs
> > should do in each supported case.
>
> Turning off special glyphs is a pure presentation feature. The variable
> 'show-paren--context-child-frame-parameters' tells best what should be
> turned off too on any frames where it is used - such frames should never
> be switched to, should not show a cursor, decorations and the like.
So basically you are saying that this parameter is an internal feature
meant to allow better implementation of certain types of frames on GUI
displays?
> Feel free to add an appropriate explanation to the manual.
Thanks, now done, and closing the bug.
next prev parent reply other threads:[~2024-05-25 10:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-24 4:42 bug#71163: Cursor can disappear off the window if no-special-glyphs is enabled Emre Yolcu
2024-05-24 6:46 ` Emre Yolcu
2024-05-24 7:20 ` Eli Zaretskii
2024-05-24 9:16 ` martin rudalics via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-25 10:26 ` Eli Zaretskii [this message]
2024-05-26 8:54 ` martin rudalics via Bug reports for GNU Emacs, the Swiss army knife of text editors
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=86h6emyypq.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=71163-done@debbugs.gnu.org \
--cc=mail@emreyolcu.com \
--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.