unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Matt Armstrong <matt@rfc20.org>
To: notmuch@notmuchmail.org
Subject: Re: [PATCH] emacs: fix dangling overlays in notmuch-search
Date: Sun, 16 Oct 2022 20:27:30 -0700	[thread overview]
Message-ID: <877d0zceot.fsf@rfc20.org> (raw)
In-Reply-To: <20221013032038.23371-1-matt@rfc20.org>

Matt Armstrong <matt@rfc20.org> writes:

> See Emacs bug#58479.  An upcoming change in Emacs will make these
> dangling overlays visible to the user.

It seems that the ellipsis overlays were shown due to a bug in Emacs,
but this patch is still a reasonable idea.  Otherwise, every time a
notmuch search buffer is refreshed (by pressing 'g') the overlays from
the previous run will collapse to zero-width overlays in position 1.
They're harmless there, but removing them is what 'evaporate is for.

  reply	other threads:[~2022-10-17  3:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-13  3:20 [PATCH] emacs: fix dangling overlays in notmuch-search Matt Armstrong
2022-10-17  3:27 ` Matt Armstrong [this message]
2022-11-05 17:17 ` 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=877d0zceot.fsf@rfc20.org \
    --to=matt@rfc20.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).