help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: isearch replace on org-mode buffer overlays caused error


From: stardiviner
Subject: Re: isearch replace on org-mode buffer overlays caused error
Date: Wed, 18 Dec 2024 14:21:21 +0800

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.
>
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]