helm-ag
helm-ag copied to clipboard
Selecting match doesn't expand folded entries in Org files
- Emacs version: 25.2
- Operating system: Linux (openSUSE Tumbleweed)
- ag 2.0.0
Repro steps:
- create a new folder and put in it the file foo.org (see below)
- start emacs:
cask exec emacs -Q -l helm-ag.el
-
M-x helm-do-ag
and select the new folder - search for "content" and select the only match
Content of foo.org:
#+STARTUP: fold
* Heading 1
** Heading 1.1
some content
** Heading 1.2
something else
Actual result:
File foo.org is opened, but the outer heading is folded. It looks like this:
#+STARTUP: fold
* Heading 1...
Expected result:
The heading is expanded. Should look like this:
#+STARTUP: fold
* Heading 1
** Heading 1.1
some content
** Heading 1.2...