From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6L32On0i5191GQAA0tVLHw (envelope-from ) for ; Sat, 26 Dec 2020 11:46:05 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +LHYNn0i518cHwAAB5/wlQ (envelope-from ) for ; Sat, 26 Dec 2020 11:46:05 +0000 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 D94AF94038E for ; Sat, 26 Dec 2020 11:46:04 +0000 (UTC) Received: from localhost ([::1]:55452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kt81L-0003lY-OQ for larch@yhetil.org; Sat, 26 Dec 2020 06:46:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kt80E-0003lO-PA for emacs-orgmode@gnu.org; Sat, 26 Dec 2020 06:44:54 -0500 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:35777) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kt80D-0004Dv-6Q for emacs-orgmode@gnu.org; Sat, 26 Dec 2020 06:44:54 -0500 Received: by mail-wr1-x432.google.com with SMTP id r3so6194586wrt.2 for ; Sat, 26 Dec 2020 03:44:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=mowGrankmHPM+hpvmCuOS7+P1NFZimf7fubcuiVQp10=; b=b+ZVO+I9Z2TOcGx4oRx8+bOoMZXektHZ0+D0uUZK9dkX+gvkRoL25SRfJ5VyAgdP80 +9LCkfqF3S1rYtA12CBBXAhfpjkEv6uMGGMxbpX3SqKR0ZJHQ91PMRG4J707E3yWwTSh Giesp2Qo3JkpC2cgDfupbWLtLmZ++XM7BDQKa/hU4Fm5rZJk7TcxNds+lL9+g5Z3ZtpO oHtvlIvMeR4eKUvwhKtPdql6HwSUgzhcfZjFJ/tpdn63yh9qEtk3LTPRhP/yQDXF9CDl gsglINcoIqyZoHatl5bODCjsyuN8CCOln560CrgTvLHzHC4dAmfqFHWyROTCZc6q1E04 OuIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=mowGrankmHPM+hpvmCuOS7+P1NFZimf7fubcuiVQp10=; b=ZsgzB1I/bACWTEEPBMoXfYgZu2wqftPQSyqyXjNsUZva+N2TVyNDihG5IE8be0R7yM /fu890MPbEEh+ph39aeDP011psjL6km9U6BikLKlReFgcPP9j0YZe0Wlht344g+OoI6A TksW/rJR0VqKBNTNM1nlSrn2Dkvh5Obig6X+zki3X4hoa+ihI8vVUn7Jt544ugQNXLEV 80n9hqR92QVwg4znIjduEgUtK9j+gEmNJAqVI8WLD+zO0XJu28X0+nXwW9ZwYVbeEgcq 55Ota9rpOSYi6XNnBB6yvbaX/LoeYv2yU9K8U93HgUu5f1k2zopqIkCrxWtAHwgYNfPO Hrpg== X-Gm-Message-State: AOAM530npIiK4XJi1Ju3niDecThe7EuHuwRPzfl+Qg3a5W5fm/jiyCF7 HLPb67Rlp+a4U6M0lWmdarG3SXVJA5o= X-Google-Smtp-Source: ABdhPJxfCaza0H2lmEMAOh6BoJDpEabnUAAqI4VX+Ccb+reQNww+pNggr7Gn7zW4YF7RLvOsWLkVrw== X-Received: by 2002:adf:f74e:: with SMTP id z14mr43703264wrp.146.1608983091541; Sat, 26 Dec 2020 03:44:51 -0800 (PST) Received: from hirondell (alyon-654-1-328-235.w109-212.abo.wanadoo.fr. [109.212.132.235]) by smtp.gmail.com with ESMTPSA id v1sm44635975wrr.48.2020.12.26.03.44.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Dec 2020 03:44:51 -0800 (PST) From: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= To: Ihor Radchenko Subject: Re: [9.4] Fixing logbook visibility during isearch References: <87h7x9e5jo.fsf@localhost> <871rkcbx40.fsf@kyleam.com> <87mu301in8.fsf@localhost> <87lfh5vvrp.fsf@localhost> <87sgbc4qpl.fsf@gmail.com> <87sgbaw58y.fsf@localhost> <87pn6ew2pv.fsf@localhost> <8736393tlw.fsf@gmail.com> <87eemtm1ic.fsf@localhost> <875z83hwuc.fsf@gmail.com> <874knm61p3.fsf@localhost> <87r1nrdl5o.fsf_-_@gmail.com> <87r1nqjv9w.fsf@localhost> <87czz91v9h.fsf@gmail.com> <87v9d15dd5.fsf@localhost> <87blesa3mg.fsf@gmail.com> <875z4zam2s.fsf@localhost> <8735zu7p2u.fsf@gmail.com> <87bleizjh6.fsf@localhost> <87sg7th8mh.fsf@gmail.com> <874kk9qk3x.fsf@localhost> Date: Sat, 26 Dec 2020 12:44:49 +0100 In-Reply-To: <874kk9qk3x.fsf@localhost> (Ihor Radchenko's message of "Sat, 26 Dec 2020 12:14:42 +0800") Message-ID: <8735zs7pvy.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=kevin.legouguec@gmail.com; helo=mail-wr1-x432.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, 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-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.02 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=b+ZVO+I9; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: D94AF94038E X-Spam-Score: -3.02 X-Migadu-Scanner: scn1.migadu.com X-TUID: 27Yj7r+K/ZNP Ihor Radchenko writes: > K=C3=A9vin Le Gouguec writes: > >> 1.2. stumps me: is there an isearch API I can use while in the callback >> to know where the matches are located? > > I do not think that there is direct API for this, but the match should > be accessible through match-beginning/match-end, as I can see from the > isearch.el code. Right, I've seen this too; I wonder if it's a hard guarantee or an implementation detail. I might page help-gnu-emacs about this.