alphapapa / alphapapa/org-rifle

Making helm-org-rifle behaviour closer to helm-swoop?

Aperta
#42 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Emacs Lisp
Stelle
515
Fork
30
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi there!
Finally got time to check out org-rifle, got a [minor issue](https://github.com/alphapapa/org-rifle/pull/41), but otherwise I really like that it displays the outline header in search result, great job!

I've been using [helm-swoop](https://github.com/emacsorphanage/helm-swoop) for a while to search through my plaintext notes.

There are few things I would miss from helm-swoop (I was testing on `helm-org-rifle` command):

- jumping to occurence in the buffer as you move through helm list (e.g. see [gif](https://github.com/emacsorphanage/helm-swoop#m-x-helm-multi-swoop)). Is it possible in rifle? Perhaps I missed some setting to turn it on, but didn't manage to find.
- if you've got, say, two occurences of the search term on different lines under the same heading, swoop would show it twice on separate lines (as grep would), and I would be able to navigate with C-j/C-k between them. In contrast, org-rifle would only show you single line separated by the ellipsis. I've got something closer to what I want with `(setq helm-org-rifle-ellipsis-string "\n")`, but it still navigates between headings only. Would it be hard to implement, or it goes against the idea of what org-rifle is meant to do somehow?
- somewhat minor, but I also use swoop to search in non-org mode files (e.g. older notes from my pre-orgmode era, huge org-mode files which I open in fundamental mode, some random text files, etc). How hard do you think it would be to support fallback to swoop-like (grep-like) behaviour for non-org mode buffers?

Thanks!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.