jgru / consult-org-roam

A bunch of convenience functions for operating org-roam with the help of consult
GNU General Public License v3.0
121 stars 6 forks source link

consult-org-roam-buffer-after-buffers does not produce the expected outcome #27

Closed lhernanz closed 9 months ago

lhernanz commented 1 year ago

Thanks for this package. It seems that there is a one offset in the processing of the consult-org-roam-buffer-after-buffers variable. The roam buffers get added before the buffers, not after when I set it to true. More specifically, I get the following (consult--source-hidden-buffer consult--source-modified-buffer org-roam-buffer-source consult--source-buffer consult--source-recent-file consult--source-file-register consult--source-bookmark consult--source-project-buffer-hidden consult--source-project-recent-file-hidden). I think the problem is that you have a 1 error offset in the way that you calculate the index here