Re: search in org-sparse-tree for multiple files

2023-01-01 Thread Eric Chun
I think I found a solution but here are the steps in case others have the same problem: * First, I open an org file in Emacs.* I then create a sparse tree using a regular expression.* I then type M-g M-n to move to the next occurrence of my search string but it doesn't work.  I get a message

Re: search in org-sparse-tree for multiple files

2023-01-01 Thread Ihor Radchenko
Eric Chun writes: > I'm assuming "current buffer" is the buffer which I can currently type input > into.  The current buffer is not finding next occurrence of search string by > pressing M-g M-n.  Is this expected? Could you please elaborate? What exactly you did and what do you expect to

Re: search in org-sparse-tree for multiple files

2022-12-31 Thread Eric Chun
Ihor:  "`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." I'm assuming "current buffer" is the buffer which I can currently type

Re: search in org-sparse-tree for multiple files

2022-12-31 Thread Ihor Radchenko
Eric Chun writes: > I can't seem to use the M-g M-n keys to jump to occurrences in sparse tree > search for second org file within same Emacs window. > If I search first file by pressing C-c / r RET and then search second > file by pressing C-c / r RET, I'm not able to jump to occurrences in

search in org-sparse-tree for multiple files

2022-12-30 Thread Eric Chun
Hi, I can't seem to use the M-g M-n keys to jump to occurrences in sparse tree search for second org file within same Emacs window. If I search first file by pressing C-c / r RET and then search second file by pressing C-c / r RET, I'm not able to jump to occurrences in that second file by