From: Paul Pogonyshev <pogonyshev@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "Gerd Möllmann" <gerd.moellmann@gmail.com>, 57433@debbugs.gnu.org
Subject: bug#57433: Emacs no longer moves point into visible port of the buffer
Date: Sat, 27 Aug 2022 16:07:49 +0200 [thread overview]
Message-ID: <CAG7BparbERNJorE29zw9no1aEoPBjDQ5sy=Yx846p-n8jrxx_w@mail.gmail.com> (raw)
In-Reply-To: <83pmgmymdw.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 2011 bytes --]
> Paul, please see that your original problem is now solved.
No, don't see any change in behavior.
> (Btw, I think it's a subtle bug in Magit that it assumes cursor motion
> will never end up on invisible text in such buffers.)
I don't think it is a bug. It is explicitly promised in Elisp manual as I
see:
> 22.6 Adjusting Point After Commands
> ===================================
>
> Emacs cannot display the cursor when point is in the middle of a
> sequence of text that has the ‘display’ or ‘composition’ property, or is
> *invisible*. Therefore, after a command finishes and returns to the
> command loop, if point is within such a sequence, the command loop
> normally moves point to the edge of the sequence, making this sequence
> effectively intangible.
That's why, btw, I couldn't create a testcase: I don't know how to emulate
command loop.
Paul
On Sat, 27 Aug 2022 at 13:08, Eli Zaretskii <eliz@gnu.org> wrote:
> > From: Gerd Möllmann <gerd.moellmann@gmail.com>
> > Cc: 57433@debbugs.gnu.org, pogonyshev@gmail.com
> > Date: Sat, 27 Aug 2022 12:43:18 +0200
> >
> > Eli Zaretskii <eliz@gnu.org> writes:
> >
> > >> From: Gerd Möllmann <gerd.moellmann@gmail.com>
> > >> Cc: 57433@debbugs.gnu.org, pogonyshev@gmail.com
> > >> Date: Sat, 27 Aug 2022 12:02:32 +0200
> > >>
> > >> Eli Zaretskii <eliz@gnu.org> writes:
> > >>
> > >> > Does Magit turn on truncate-lines in the affected buffer, or cause
> > >> > them be truncated due to partial-width windows? If it does, I might
> > >> > have an idea what could cause the OP's problem.
> > >>
> > >> Yes, truncate-lines it t.
> > >
> > > In that case, can you see if the patch below solves the original issue
> > > with Magit?
> >
> > Works for me. Thanks!
>
> Thanks, installed.
>
> Paul, please see that your original problem is now solved.
>
> (Btw, I think it's a subtle bug in Magit that it assumes cursor motion
> will never end up on invisible text in such buffers.)
>
[-- Attachment #2: Type: text/html, Size: 3232 bytes --]
next prev parent reply other threads:[~2022-08-27 14:07 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
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 [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAG7BparbERNJorE29zw9no1aEoPBjDQ5sy=Yx846p-n8jrxx_w@mail.gmail.com' \
--to=pogonyshev@gmail.com \
--cc=57433@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=gerd.moellmann@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 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.