From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gMD2BPtE+GIllQAAbAwnHQ (envelope-from ) for ; Sun, 14 Aug 2022 02:42:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KNQDBftE+GL8qwAA9RJhRA (envelope-from ) for ; Sun, 14 Aug 2022 02:42:35 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B3880CEE9 for ; Sun, 14 Aug 2022 02:42:34 +0200 (CEST) Received: from localhost ([::1]:57304 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oN1i4-0006Gc-Qx for larch@yhetil.org; Sat, 13 Aug 2022 20:42:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oN1he-0006GU-8p for emacs-orgmode@gnu.org; Sat, 13 Aug 2022 20:42:06 -0400 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]:45701) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oN1hc-0004im-Jz for emacs-orgmode@gnu.org; Sat, 13 Aug 2022 20:42:06 -0400 Received: by mail-pf1-x42c.google.com with SMTP id z187so3983140pfb.12 for ; Sat, 13 Aug 2022 17:42:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc; bh=LTpTdSzqzNCw/JvgSwpRZPsScWpDXZHnHdDZJST7518=; b=aTnvTlwdBApvQIGrxN1neYUeCDvT3/975wd2dz+Uq7qLKR7pcfp7PJN2KOp9id6p18 n53/RuF9qSzmA3GsKvLZr95CBcvrDg3P7VH6rYZy2tr/L+j1TNRU+PrtVtM2McZSeUjs 7MQBD+r1L49RxodIJD8LViurNOy9VvLNMMI+Ybu8pzA0V4yms8vE3U/ufxZURoMbE4EJ XwEMqSt2EYu7NNSmoVIlq2z5npVAY6eFRqTItJZS3fEjEuoeqYiiZrTINukDvn/2FG75 ZtahBEhOsG1cIVzQfbTJarSQWOBixrzVqyCKVxueRFGPj25LJRv62WrYpPb1ur9GESKL f8xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc; bh=LTpTdSzqzNCw/JvgSwpRZPsScWpDXZHnHdDZJST7518=; b=o1Hx9aLkVnrGKx2pPRX20Vc5FZ+++hi4lTWvphi0n3EfJhJLVgHam4mfwYSXe+BiUS W6PTfJ2E1Tu/ZhUHfH7PBKiwVHlnf84xCRwTaqcIIM7zjHgSZUCnX2Q8Ksemlme/M7+/ 8yuGd6bO/W+kQqKDCiSrKNRqyxdt0if+dHQk1Lcoq66UQW9ntGzJNTlgFrN7FfAHrCMX cKwNRTRFF+2vp1J4+XCvEJeIylgB2rPHDx7N4huwzHGBb+UEUJaFAfWPl3gtkOQ/y7z3 +42InwkIJX579vkSDQQUH4zfaGvsJ1bq9CAIw3zxgIB/U6GbPJ4RkomkxFzeOa/Yqc/P 2wwg== X-Gm-Message-State: ACgBeo1iJvgwRyceShwXRSPc65lEDvDnq7j/ZAhs7JaO+kDXy7Lt8804 a+7G2xDYITfjh/jONDs1v58= X-Google-Smtp-Source: AA6agR5U7u160Zc2o1q8lei+sW5DBhTNrDONxwFcHvsOLF1UhmEdpY+5GmLvt6zcwctPans+8c53nA== X-Received: by 2002:a63:ff19:0:b0:41a:8f88:5703 with SMTP id k25-20020a63ff19000000b0041a8f885703mr8687409pgi.355.1660437722901; Sat, 13 Aug 2022 17:42:02 -0700 (PDT) Received: from localhost ([2409:8a70:2bf:80b0:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id mj15-20020a17090b368f00b001f30bf6346csm2163984pjb.30.2022.08.13.17.42.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Aug 2022 17:42:02 -0700 (PDT) From: Ihor Radchenko To: numbchild@gmail.com Cc: Org Mode Subject: Re: [BUG] Latest org-fold-core API (overlays compatible code) caused error in package "consult-org-heading" In-Reply-To: <62f834ed.050a0220.afd79.0022SMTPIN_ADDED_BROKEN@mx.google.com> References: <62f834ed.050a0220.afd79.0022SMTPIN_ADDED_BROKEN@mx.google.com> Date: Sun, 14 Aug 2022 08:43:04 +0800 Message-ID: <877d3b64fb.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::42c; envelope-from=yantar92@gmail.com; helo=mail-pf1-x42c.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660437754; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=LTpTdSzqzNCw/JvgSwpRZPsScWpDXZHnHdDZJST7518=; b=ME7fsOhCJoCNNXisEKB4uoHUQEIzQALbt3iNtlgffpS/6lxbL2GIbCKVCelojCJILxl83D IzBfrmg7nXRdWbk5T8LIDQQmuCXPK61RsNtW16RxoZltq9oDCSGRwlUJdTvnn5XIdJKCfK Oj4HX0Dyr0qSi7P3pqaOVHRbe9Vb2fVT+fSSQpS1vx0rfQKmnuVHgdZ9jqnv5YIGbloDK6 tHCuwzsBT7NfhxLjmKAbJOlxE5C24BDBno/Ce8XjL1J6H8cfr2wq6y+rArH1EgeFJQGtq3 n2aVizzdra7DwnRRyr4gaXf7yWJu2ox1PSLUCVl5b2RXpe1ZY25Y5SgkZvBRpA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660437754; a=rsa-sha256; cv=none; b=or7snV2ehYinqkTmwbMbF5/9RPVyv4VGRS5YT/3Mnz+8XIyz/euQ8uG1Aos1eEtrA8O37e SdI0RE+1DB7BgWL6P87dWtiBlyYhM+v8iFreMdWSrujOknlxhNm+QWKn1/zNy5rVSTZvl5 pOh2a0I0prL/9WQyxIH6HMDuiJHbGPqjo7XAsAqcv+fgVxcLyUw8oblFJkg3Fqk/4ZJfd4 bN4XQCv6P2oH8Tj40xG0sa8Ci3yYEeXag/q5SYllGD/mPzC4OfJfuw03fXikJ5uarGfl79 31lGJULjbgpNV07g1JJX6aSkwRdRpS7VjTkynqklTAf2LFEhHUz1rWsz9jRrdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=aTnvTlwd; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -8.86 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=aTnvTlwd; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B3880CEE9 X-Spam-Score: -8.86 X-Migadu-Scanner: scn0.migadu.com X-TUID: EkVeLcI+wTHu "Christopher M. Miles" writes: > Here I attached the backtrace after I toggle-debug-on-error: > > Debugger entered--Lisp error: (wrong-type-argument listp #) > car(#) > (let ((--mpom (car region))) (save-excursion (if (markerp --mpom) (progn (set-buffer (marker-buffer --mpom)))) (save-excursion (save-restriction (widen) (goto-char (or --mpom (point))) (while (< (point) (cdr region)) (funcall org-fold-core-isearch-open-function (car region)) (goto-char (org-fold-core-next-visibility-change (point) (cdr region) 'ignore-hidden))))))) > org-fold-core--isearch-show(#) > consult--invisible-open-permanently() Thanks for reporting! Fixed on main via 6cd7c6fb1. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=6cd7c6fb1cf6363f1057086760bed9875cdd97c7 -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92