From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: stardiviner Newsgroups: gmane.emacs.help Subject: Re: isearch replace on org-mode buffer overlays caused error Date: Wed, 18 Dec 2024 14:21:21 +0800 Message-ID: References: <675fd9fc.050a0220.88bd8.a658@mx.google.com> <87ttb4exjo.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36857"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 18 07:22:19 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tNnRr-0009RZ-OO for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 18 Dec 2024 07:22:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNnRS-0003e5-Pw; Wed, 18 Dec 2024 01:21:55 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNnRQ-0003dY-Dq for help-gnu-emacs@gnu.org; Wed, 18 Dec 2024 01:21:52 -0500 Original-Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNnRO-0005Ul-DY for help-gnu-emacs@gnu.org; Wed, 18 Dec 2024 01:21:52 -0500 Original-Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-53df80eeeedso5976547e87.2 for ; Tue, 17 Dec 2024 22:21:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734502909; x=1735107709; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=I4VqK7CYe+CopGIlHCw8HYAihBl+dtKMreZ+ElTJ374=; b=MPIISXAeTysM1+dcwl1NbVFsM8iy5Ctrq32xaZ11ZRB5BKRhW0osOiKZaKSFfnss9x mUZBP23o8DT0kJ3spSl8dAbUg9Zf/SAKNEqab8CpezLpqirjdJ+iIekhezxls+CqJTMz LXJNZHaIxyom8b6xHRgR7dJbMn6JEiKWFq6+VNzcH1U7JiAM8wPN3wBySiJU+0UVhO/P CUxevxnzRZ/G6x5tjLoFkrLIP+caedb3fqgKue5fMViuDccR5sCI9DSgcwHTX5lTMRJK Rw6LSb+irSDnNUXy8sVoepNvQKXEBB1oboYZJZT1kQ3rRUbX5DrLDE869MRfRMST36/A LRbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734502909; x=1735107709; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=I4VqK7CYe+CopGIlHCw8HYAihBl+dtKMreZ+ElTJ374=; b=KAqPOYABzEj8d0Y8aZPwmvDkqxvkQEtBXq5s/X+d55TWiPk8cK2UCgL8TTVxG4Xf+5 xDy65N60JGaCfuSKabnBEV2YCzwQ5H7Q8GYwqXu5Yruxx0zA2WhGG1xpEPRiYdJF3W8T swWdyH/jUmkg/bf6h4tIYqqX6JEEOFT8XrmjK8/Ld3N/G6UOJ0nyT76Z42rkAn2N0czQ FBB7rP3ZAcLT1v0N6EtBrHklljfLMRi/QyBk2FTd9vfqpZTFV999FGHw7QPvWavHberk GqbRuwpnjfLQSK3uou6+B6uNG0+5WkH2mlXoj/NPm4pX8x0lfPS6ULtRTHzDwmP8tyg3 FKYw== X-Gm-Message-State: AOJu0YwbQeJGdocNbMZmROCE6+MMOADB71CTljK3OHLLLqvn1NdAXded z+vjxMj5L1ATlxCFuP8JX5TYMopfD+goDilEq3dGQ1uLl9e93pMaYxz9bi91X7ccC62GJilWdP4 WqWA/pDB4zP6wbJB2yitfD3f+ahxa4Si84g== X-Gm-Gg: ASbGncuSUb0VHE9icHqh3nOcjhM9yoab2A/tkjOlK+YCosW3jvn1DTjBYYW1f1uDGla eL/qshNGh4Ctf8qtn8SgMYy3vdlssC+/IcUH1toRN1uQLYGRULuHxYnHyXqztC4dTUFEwk7s= X-Google-Smtp-Source: AGHT+IEQ5zntYDQ6w/tl4NlJb+EztoBc/ludXf4ZOGIzYTu8jba0aWtBSwB2R29aa3/TzGYP3M3zn7eOVzgHEGmJx3c= X-Received: by 2002:a05:6512:1090:b0:53d:ed69:a593 with SMTP id 2adb3069b0e04-541e674c5e3mr482893e87.22.1734502908192; Tue, 17 Dec 2024 22:21:48 -0800 (PST) In-Reply-To: <87ttb4exjo.fsf@web.de> Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=numbchild@gmail.com; helo=mail-lf1-x132.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148872 Archived-At: Is there some other information or troubleshooting steps need I to provide? [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint =3D 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Mon, Dec 16, 2024 at 6:23=E2=80=AFPM Michael Heerdegen via Users list fo= r the GNU Emacs text editor wrote: > "Christopher M. Miles" writes: > > > Should the `isearch-open-necessary-overlays` exclude filter those > > #? > > 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(#) > > mapc(isearch-open-necessary-overlays (# > # #)) > > #f(compiled-function () #)() > > isearch-clean-overlays@magit-mode(#f(compiled-function () # -0x46770234ddc9000>)) > > apply(isearch-clean-overlays@magit-mode #f(compiled-function () > #) 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. > > >