alphapapa / alphapapa/org-rifle

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

Abierto
#42 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Emacs Lisp
Estrellas
515
Forks
30
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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!

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.