Tested with
Org mode version 9.6 (release_9.6-149-g554935.dirty @
/home/cochard/Org/Coch-git/org-mode/lisp/)
I have the file debug.org containing
* h1
foo
* h2
foo bar
I make the 1st two lines the region. Then I do
M-x org-agenda << / foo
and I see
2 matches for "foo" in buffer: debug.org
2:foo
4:foo bar
(By contrast, 'M-x org-agenda << s foo' only shows 'debug: h1' as I
expect.)
--
EOST (École et Observatoire des Sciences de la Terre)
ITE (Institut Terre & Environnement) | [email protected]
5 rue René Descartes [bureau 110] | Phone: +33 (0)3 68 85 50 44
F-67084 Strasbourg Cedex, France | [ slot available for rent ]