From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UFFBIqZVsGNiKgEAbAwnHQ (envelope-from ) for ; Sat, 31 Dec 2022 16:30:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2LdIIqZVsGN2RgAA9RJhRA (envelope-from ) for ; Sat, 31 Dec 2022 16:30:46 +0100 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 2B819298DE for ; Sat, 31 Dec 2022 16:30:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pBdoB-0006DB-UN; Sat, 31 Dec 2022 10:30:03 -0500 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 1pBdo9-0006Cf-5v for emacs-orgmode@gnu.org; Sat, 31 Dec 2022 10:30:01 -0500 Received: from sonic310-14.consmr.mail.bf2.yahoo.com ([74.6.135.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pBdo6-0003AS-NN for emacs-orgmode@gnu.org; Sat, 31 Dec 2022 10:30:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1672500593; bh=tu9wiCDfTagUfokL7ybuD6ZJI6+EdcyvHc2f4cT9Hz4=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=ovG18LTRxeiGOHMpdoZQFOWtkDG6ojSdUz9EiAlm56HVShl9aZkLUllwVAM90UsoHKAokvvBeZWvdxycu2fD6j5EIVnv0HU5hYPZd38wZpMk60fkIpLcHtdLJZ61L6uKNfyEcH+Zu/b8gqH74FuA7kubpMMR/s4CzHgDarN9TU45ku/CvtrBwB03+4vYEcak40tnjUXD9KNwUyWZv5Bk/bJQAVc1hGZzzp8p+Guiyzy57icYzyMFREMJiawzRBptWRGqtTGJGXhgyHyXRLfSZblF6+HLF8awKg/gSXMu7cBmjfycj3SOaCLb/shoGK9QPSBviEwvgfhpCmnbMvqsvA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1672500593; bh=vFiq4u4sRRGmyV8c5Obj9hWwRxdan51dPJg+Ag6lLwb=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=uLvfMJMk2HkAJdaU2miSCKCki1IF970IapFKBYEoH+cYFt8VBWa5LFHpu2JQpiriONIVRcihKb99RaddkmeUyhh68ZHEGHagSZIFry9qtovcN5zoAjdUIPaAISToazYbwaLoXJyyTjtuz807I2T6+Sh8iiU6iKyZSN4ScCvLr4JQ2ZaHFLGPKCCuGsfckOM3KRMjkBCpuCMi8DGOfFnH40X5tRJoX7BVAlN7orxBcMx3Q8pbLdeo1M16KqAxJacr6Ps6YQpRL12QQ5TRTGMe8sAWZVoNSUtxbjq51L5+I6nlRpQ5OtIcXhDx2EFd1ziaD+iNvx2E1noKwsyIlksNBA== X-YMail-OSG: MpS3IJAVM1m9hX2AODa8cSUnXMbyiH1x1qu4qvT32MLW.gLF8wskbjgc2owBxAU aP038I3JQKBWeU6uvr.hWxCJ1B.5.clX2z_tQqK1j964o9VDAi1n3tO2lo_eTNLMVrcXK3VwlKsz 4Kr_OJf9WEbzu50f2zq8ZWgLHTG2CvZj1XV2uzEtTYxSxdSLbUeR7JEKqtdL0PfKrzrWe6euxUwr G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-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.bf2.yahoo.com with HTTP; Sat, 31 Dec 2022 15:29:53 +0000 Date: Sat, 31 Dec 2022 15:29:51 +0000 (UTC) From: Eric Chun To: Ihor Radchenko Cc: "emacs-orgmode@gnu.org" Message-ID: <936605889.1883816.1672500591608@mail.yahoo.com> In-Reply-To: <87edsfae23.fsf@localhost> References: <1277881757.3298435.1672461584764.ref@mail.yahoo.com> <1277881757.3298435.1672461584764@mail.yahoo.com> <87edsfae23.fsf@localhost> Subject: Re: search in org-sparse-tree for multiple files MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1883815_674963147.1672500591606" X-Mailer: WebService/1.1.20982 YMailNorrin Received-SPF: pass client-ip=74.6.135.124; envelope-from=eyc8@yahoo.com; helo=sonic310-14.consmr.mail.bf2.yahoo.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 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, FREEMAIL_REPLYTO_END_DIGIT=0.25, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Reply-To: Eric Chun Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672500646; h=from:from:sender:sender:reply-to: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=tu9wiCDfTagUfokL7ybuD6ZJI6+EdcyvHc2f4cT9Hz4=; b=TCieFCG/hwUeb7YUu5MAmM+bDpQLWeI/PnH8DvV7mrSPkUhGapxf8WSjiRyKxJGdNie110 neEebeKablB9vvU+pq89hygILkX0qb/pjxyNFpDYKPFjsYfjU6+3rS2uQ8AE6Yjj6fxfbX 0Pwj7jkh4t2NcmdQQaCRVGipl9KyMPPdTR6ShleZ2IAhL+m3t9Wtm9QPqGQ/3ygojiXeM2 4dvZoHMjNLn4nOJChAfxaKV/7xY/ApO7yJ93OlLwxbEWcxpQm+NMKYPJaepxy9ZpSmMXar JtQ7BM93A5OpNjFd49b097QJ2wxuOn6IzUo/IsLnJgiq86ujf/YpSYGRkYH8UA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=yahoo.com header.s=s2048 header.b=ovG18LTR; 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"; dmarc=pass (policy=reject) header.from=yahoo.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672500646; a=rsa-sha256; cv=none; b=Ox0baC/bcB6swGEsQqPmxEat0m/assbhwNtqKvJzy+YdAiSAYQWQ6J6ywoIxU/PFUzoqkE IQvI9aqeDvGEH1deECeqX7sfK63kL1Yog3ozZC2UuFM17XNKX/1BWEH+Tu/zMYj7jbwGRT +GPJxqnJkhidvKUqigNSir1sme5dxk955oIwPVatJVk6mOU0Cl/1XsHLqmGAOMyHwmVhAC j7/TDD6EkpORGGcMkprxZ3pjVzELxQ/5/k0Y/occeFCqG0haf0r9Z6DR6RdLn5iJg31eyW 2PoDrniCdhdL93VR10z/Uh0WRv4laUXwYZILe5IOHYSOjtNq37MxC0sJof441w== X-Spam-Score: -4.69 X-Migadu-Queue-Id: 2B819298DE Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=yahoo.com header.s=s2048 header.b=ovG18LTR; 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"; dmarc=pass (policy=reject) header.from=yahoo.com X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.69 X-TUID: D2axCJb494TQ ------=_Part_1883815_674963147.1672500591606 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ihor:=C2=A0 "`org-occur-next-match' does not support multiple buffers.Look= ing at the docstring of `next-error-function', I am also not sure if we need to support this there. The docstring talks only about the current buffer." I'm assuming "current buffer" is the buffer which I can currently type inpu= t into.=C2=A0 The current buffer is not finding next occurrence of search s= tring by pressing M-g M-n.=C2=A0 Is this expected? On Saturday, December 31, 2022 at 06:38:49 AM MST, Ihor Radchenko wrote: =20 =20 Eric Chun writes: > I can't seem to use the M-g M-n keys to jump to occurrences in sparse tre= e search for second org file within same Emacs window. > If I search first file by pressing C-c / r RET and then search se= cond file by pressing=C2=A0C-c / r RET, I'm not able to jump to occ= urrences in that second file by pressing M-g M-n.=C2=A0 I get a message say= ing "No more matches" even though there are matches.=C2=A0 If I close the f= irst file buffer, then I am able to use M-g M-n to jump to occurrences in t= he second file. > Does anybody know what I may be missing? > I'm using org mode version 9.6 in Emacs 28.2 on CentOS7. `org-occur-next-match' does not support multiple buffers. Looking at the docstring of `next-error-function', I am also not sure if we need to support this there. The docstring talks only about the current buffer. What might be relevant is `next-error-find-buffer-function' - a user customization you may want to set. Generally, it is unclear for me how to implement multiple buffers support for org-spare-tree. Ideas and patches welcome. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at =20 ------=_Part_1883815_674963147.1672500591606 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ihor:  "`org-occur-next-match' does not support multip= le buffers.
Looking at the docstring of `next-error-function', I am al= so not sure if
we need to support this there. The docstring talks only a= bout the
current buffer."

I'm assuming "current buffer" is the buffer which= I can currently type input into.  The current buffer is not finding n= ext occurrence of search string by pressing M-g M-n.  Is this expected= ?
=20
=20
On Saturday, December 31, 2022 at 06:38:49 AM MST, Ihor= Radchenko <yantar92@posteo.net> wrote:


Eric Chun <eyc8@yahoo.com> writes:=

> I can't seem to = use the M-g M-n keys to jump to occurrences in sparse tree search for secon= d org file within same Emacs window.
> If I se= arch first file by pressing C-c / r <regex> RET and then search secon= d file by pressing C-c / r <regex> RET, I'm not able to jump to = occurrences in that second file by pressing M-g M-n.  I get a message = saying "No more matches" even though there are matches.  If I close th= e first file buffer, then I am able to use M-g M-n to jump to occurrences i= n the second file.
> Does anybody know what I = may be missing?
> I'm using org mode version 9= .6 in Emacs 28.2 on CentOS7.

`org-occur-next-match' does not support multiple buffers.
Looking at the docstring of `next-error-function', I am a= lso not sure if
we need to support this there. Th= e docstring talks only about the
current buffer.<= br>

What might be relevant= is `next-error-find-buffer-function' - a user
cu= stomization you may want to set.

Generally, it is unclear for me how to implement multiple buffer= s
support for org-spare-tree. Ideas and patches w= elcome.

--
<= div dir=3D"ltr">Ihor Radchenko // yantar92,
Org m= ode contributor,
Learn more about Org mode at <= ;https://orgmode.org/>.
or support my work at <https://liberapay.com= /yantar92>

------=_Part_1883815_674963147.1672500591606--