unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Justus Winter <justus@sequoia-pgp.org>, notmuch@notmuchmail.org
Subject: Re: Selection bug
Date: Wed, 19 Jun 2024 08:12:09 -0300	[thread overview]
Message-ID: <87jzilmbjq.fsf@tethera.net> (raw)
In-Reply-To: <87r0dbslr6.fsf@tethera.net>

David Bremner <david@tethera.net> writes:

>
> This reproduces the problem for me. Indeed it looks a bit like a similar
> "cursor jumping" problem I have seen (and someone else has reported on
> IRC). I will see if I can figure anything more out now that I have a
> reproducer.

I think the following is a (simpler) reproducer of the same problem.

1) Do a search with at least 10 results

2) goto line 10

3) hit 'g'

For me this consistently leaves the point on line 10 but the hl-line bar
on line 1. I have not debugged it yet, but the proximate cause is that
when notmuch-hl-line-mode is called, (point) is 1, so the bar ends up on
the first line. The whys and wherefores I don't know yet.


  reply	other threads:[~2024-06-19 11:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-11 16:29 Selection bug Justus Winter
2022-10-11 16:43 ` David Bremner
2022-10-12 12:19   ` Justus Winter
2022-10-14  9:45     ` David Bremner
2022-10-18 10:13       ` Justus Winter
2023-04-04  9:41         ` Justus Winter
2023-04-04 16:21           ` Carl Worth
2024-06-05 10:54         ` David Bremner
2024-06-19 11:12           ` David Bremner [this message]
2024-08-08 11:39             ` David Bremner
2024-08-09 11:45               ` [PATCH] emacs: replace use of hook to draw hl-line in search mode David Bremner

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://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87jzilmbjq.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=justus@sequoia-pgp.org \
    --cc=notmuch@notmuchmail.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://yhetil.org/notmuch.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).