unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Markus Triska <triska@metalevel.at>
Cc: 53799@debbugs.gnu.org
Subject: bug#53799: 27.1; Entered text sometimes appears on the preceding line
Date: Sat, 05 Feb 2022 15:15:47 +0200	[thread overview]
Message-ID: <83k0e91mkc.fsf@gnu.org> (raw)
In-Reply-To: <m2tuddfoyw.fsf@metalevel.at> (message from Markus Triska on Sat,  05 Feb 2022 14:00:07 +0100)

> From: Markus Triska <triska@metalevel.at>
> Date: Sat, 05 Feb 2022 14:00:07 +0100
> 
> To reproduce this issue, please start Emacs with "$ emacs -Q",
> and do:
> 
>     M-x report-emacs-bug RET RET C-n
> 
> In the resulting buffer, point is now placed so that the cursor is shown
> on the letter "I" in the following text:
> 
>    "If Emacs crashed, and you have the Emacs process ..."
> 
> If you then type any letter with the intention of entering text on this
> line, it unexpectedly appears in the preceding line. For example, with
> point at the "I" of "If", when I enter "a", I get:
> 
>     a
>     If
> 
> whereas one would expect to obtain:
> 
>     aIf
> 
> This behaviour seems to only occur on this specific line, and therefore
> seems unusual.
> 
> This is only a very minor issue, yet still a bit surprising, especially
> since "I" remains highlighted the entire time, also if multiple
> characters are entered, all appearing on the preceding line, such as in:
> 
>     abcd
>     If

This text is shown as a 'display' property, so that the user couldn't
accidentally erase the instructions.  The 'display' property begins
with a newline, and that's what causes the above "surprising" effect.
The solution is not to use C-n, or overcome the surprise.

I think we don't need to do anything with this issue.





      reply	other threads:[~2022-02-05 13:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-05 13:00 bug#53799: 27.1; Entered text sometimes appears on the preceding line Markus Triska
2022-02-05 13:15 ` Eli Zaretskii [this message]

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=83k0e91mkc.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=53799@debbugs.gnu.org \
    --cc=triska@metalevel.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 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).