Open akirak opened 3 years ago
Okay, well, if you want to propose a PR to make sorting more flexible, I'm open to the idea. For me, frecency is exactly what I want, because it acts much like a Web browser's address bar completion, letting me quickly access headings that I use frequently without having to bookmark each one.
At present,
helm-org-recent-headings-source
is defined as follows inhelm-org-recent-headings.el
:org-recent-headings--prepare-list
sorts the history by frecency. I personally don't like this behavior, and I'd prefer history ordered by recency, without duplicates.I also want to add some custom actions to this Helm source.
For now, I will copy this source code and define my own Helm source for recent headings to suit my own needs. It might be better to allow the user to define his/her own sorting mechanism, e.g. using
prescient
. In the end, I may end up with your implementation, but I don't know if frecency is a good idea here.