unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Gerd Möllmann" <gerd.moellmann@gmail.com>
Cc: 57433@debbugs.gnu.org, pogonyshev@gmail.com
Subject: bug#57433: Emacs no longer moves point into visible port of the buffer
Date: Sat, 27 Aug 2022 12:33:49 +0300	[thread overview]
Message-ID: <83y1vayqrm.fsf@gnu.org> (raw)
In-Reply-To: <m28rna12zy.fsf@Mini.fritz.box> (message from Gerd Möllmann on Sat, 27 Aug 2022 10:53:37 +0200)

> Cc: 57433@debbugs.gnu.org
> From: Gerd Möllmann <gerd.moellmann@gmail.com>
> Date: Sat, 27 Aug 2022 10:53:37 +0200
> 
> Gerd Möllmann <gerd.moellmann@gmail.com> writes:
> 
> > Gerd Möllmann <gerd.moellmann@gmail.com> writes:
> >
> > a71c05b44de74fe16691f680df34c4534992e472 is the first bad commit
> >
> > I will look at the changes in simple.el soon if no-one beats me.
> 
> Hm, I must admit that I don't understand the change in line-move, or
> better said the context in which it was made.  So if I fix this I
> probably break some optimization.

The changes in line-move should only affect buffers with very long
lines.

> I have a simple recipe now, though.
> 
> emacs -Q
> 
> Insert and eval this function:
> 
> (defun hansi ()
>   (insert "line 1\n")
>   (insert (propertize "+invisible 1\ninvisible2-\n" 'invisible t))
>   (insert "line 2\n"))
> 
> M-: (hansi) RET
> C-p
> C-x =
> =>
> Char: + (43, #o53, #x2b) point=330 of 365 (90%) column=0

Why is that a problem?  I get the same result on the emacs-28 branch,
where the changes in this commit were not installed.  And the OP said
the problem is new on master.





  reply	other threads:[~2022-08-27  9:33 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-26 16:32 bug#57433: Emacs no longer moves point into visible port of the buffer Paul Pogonyshev
2022-08-27  6:55 ` Gerd Möllmann
2022-08-27  8:08   ` Gerd Möllmann
2022-08-27  8:53     ` Gerd Möllmann
2022-08-27  9:33       ` Eli Zaretskii [this message]
2022-08-27  9:55         ` Gerd Möllmann
2022-08-27  9:58         ` Eli Zaretskii
2022-08-27 10:02           ` Gerd Möllmann
2022-08-27 10:19             ` Eli Zaretskii
2022-08-27 10:43               ` Gerd Möllmann
2022-08-27 11:08                 ` Eli Zaretskii
2022-08-27 14:07                   ` Paul Pogonyshev
2022-08-27 14:28                     ` Gerd Möllmann
2022-08-27 15:47                       ` Paul Pogonyshev
2022-08-27 15:55                         ` Eli Zaretskii
2022-08-27 16:06                           ` Paul Pogonyshev
2022-08-27 16:12                             ` Paul Pogonyshev
2022-08-27 16:29                               ` Eli Zaretskii
2022-08-27 16:32                                 ` Paul Pogonyshev
2022-08-27 16:37                                   ` Paul Pogonyshev
2022-08-27 16:56                                   ` Eli Zaretskii
2022-08-27 17:01                                     ` Paul Pogonyshev
2022-08-27 17:11                                       ` Paul Pogonyshev
2022-08-27 16:25                             ` Eli Zaretskii
2022-08-27 15:13                     ` Eli Zaretskii
2022-08-27  9:47 ` Eli Zaretskii

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=83y1vayqrm.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=57433@debbugs.gnu.org \
    --cc=gerd.moellmann@gmail.com \
    --cc=pogonyshev@gmail.com \
    /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).