From: stardiviner <numbchild@gmail.com>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: isearch replace on org-mode buffer overlays caused error
Date: Wed, 18 Dec 2024 14:21:21 +0800 [thread overview]
Message-ID: <CAL1eYu+b-NgmOrxWc3K8HZJnUo2wUW=JGUua12zy6b3TjxH-XA@mail.gmail.com> (raw)
In-Reply-To: <87ttb4exjo.fsf@web.de>
Is there some other information or troubleshooting steps need I to provide?
[stardiviner] <Hack this world!> GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Mon, Dec 16, 2024 at 6:23 PM Michael Heerdegen via Users list for the
GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote:
> "Christopher M. Miles" <numbchild@gmail.com> writes:
>
> > Should the `isearch-open-necessary-overlays` exclude filter those
> > #<overlay in no buffer>?
>
> That doesn't normally happen. Isearch will only consider live overlays
> living in the current buffer.
>
> > #+begin_example
> > Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p
> nil)
> > isearch-open-necessary-overlays(#<overlay in no buffer>)
> > mapc(isearch-open-necessary-overlays (#<overlay in no buffer>
> #<overlay in no buffer> #<overlay in no buffer>))
> > #f(compiled-function () #<bytecode -0x46770234ddc9000>)()
> > isearch-clean-overlays@magit-mode(#f(compiled-function () #<bytecode
> -0x46770234ddc9000>))
> > apply(isearch-clean-overlays@magit-mode #f(compiled-function ()
> #<bytecode -0x46770234ddc9000>) nil)
>
> But why is this magit-mode function called in your case?
> `isearch-clean-overlays@magit-mode' tries to unfold sections in a
> magit-mode buffer. I don't think it should be called in an org-mode
> buffer at all. Something's wrong here.
>
>
> Michael.
>
>
>
prev parent reply other threads:[~2024-12-18 6:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-16 7:42 isearch replace on org-mode buffer overlays caused error Christopher M. Miles
2024-12-16 10:23 ` Michael Heerdegen via Users list for the GNU Emacs text editor
2024-12-18 6:20 ` stardiviner
2024-12-18 6:21 ` stardiviner [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='CAL1eYu+b-NgmOrxWc3K8HZJnUo2wUW=JGUua12zy6b3TjxH-XA@mail.gmail.com' \
--to=numbchild@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=michael_heerdegen@web.de \
/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.
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).