alphapapa / org-ql

A searching tool for Org-mode, including custom query languages, commands, saved searches and agenda-like views, etc.
GNU General Public License v3.0
1.35k stars 104 forks source link

Views not saved persistently #378

Closed Pentaquark1 closed 8 months ago

Pentaquark1 commented 8 months ago

Hi,

when I save an org-ql-search, it will show up in helm-org-ql-views and all the other related functions that show saved views. However after restarting emacs, only the default views show up.

Using latest doom emacs, org-mode 9.7, Gnu Emacs 29.1

BR

alphapapa commented 8 months ago

Hello,

Please try to reproduce the problem in a clean Emacs configuration, e.g. using https://github.com/alphapapa/with-emacs.sh

Also, FYI, you can save the views as Emacs bookmarks instead, e.g. with C-x r m.

Pentaquark1 commented 8 months ago

Hi, let me know if I did this right:

That tip with Emacs bookmarks is nice. I checked my bookmarks and there was a burly bookmark of a view that I apparently made while tinkering and forgot about. That method might serve just fine as well.

alphapapa commented 8 months ago

Thanks. I can confirm the bug now. Something must have changed in recent Emacs versions. Should be a simple fix.

alphapapa commented 8 months ago

@Pentaquark1 I think that will fix it. Would you please install from this branch and let me know if it works for you? https://github.com/alphapapa/org-ql/tree/stable/0.7

alphapapa commented 8 months ago

Seems to work for me.