alphapapa / alphapapa/org-rifle

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

オープン
#42 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Emacs Lisp
スター
515
フォーク
30
PR マージ指標
30日以内にマージされた PR はありません

説明

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!

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。