unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Emre Yolcu <mail@emreyolcu.com>
To: 71163@debbugs.gnu.org
Subject: bug#71163: Cursor can disappear off the window if no-special-glyphs is enabled
Date: Fri, 24 May 2024 00:42:29 -0400	[thread overview]
Message-ID: <d7b40392-6978-4919-a9a4-24011e34ee5e@emreyolcu.com> (raw)

If the layout parameter no-special-glyphs is enabled and a line is 
exactly as wide as a window, then the cursor placed at the end of the 
line disappears off the window. Steps to confirm after "emacs -Q":

1. Evaluate the following:

(set-frame-parameter nil 'no-special-glyphs nil)
   (fringe-mode 0)
   (scroll-bar-mode -1)

2. Insert some line that is exactly as wide as the window, leaving the 
cursor at the end of the line.

After those steps, the cursor is not visible. I'm not sure if this is 
the intended behavior. I would expect the cursor to appear at the 
beginning of the next screen line instead. If no-special-glyphs is not 
enabled, then, as expected, the final character of the first screen line 
is displayed as the continuation indicator "\", and the actual final 
character of the line appears on the next screen line, with the cursor 
after it.

I have confirmed this behavior with Emacs 29.3 on macOS and Windows.





             reply	other threads:[~2024-05-24  4:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-24  4:42 Emre Yolcu [this message]
2024-05-24  6:46 ` bug#71163: Cursor can disappear off the window if no-special-glyphs is enabled 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
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

  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=d7b40392-6978-4919-a9a4-24011e34ee5e@emreyolcu.com \
    --to=mail@emreyolcu.com \
    --cc=71163@debbugs.gnu.org \
    /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).