Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cl symbols need renaming; org-element-timestamp-successor no longer exists #86

Open
GPPassos opened this issue Sep 4, 2024 · 3 comments
Assignees

Comments

@GPPassos
Copy link

GPPassos commented Sep 4, 2024

Thank you a lot for your work, I have been using org-rifle for quite some time now.

After changing my emacs installation, I realised some commands are not working anymore (in particular, due to the usage of second and third, which now are cl-second and cl-third, but also the non-existence of org-element-timestamp-successor).

I also have noticed that this project has not been updated since last year, and that org-ql now has a rifle mode.

So I was wondering: is this project dead? Has it been replaced by rifle mode on org-ql directly?

I am happy to submit a pull request fixing the bugs above I found, but if this project is dead, I wonder if now it might make more sense to tag the repo as deprecated and refer users to org-ql.

Thanks again!

@alphapapa
Copy link
Owner

Org QL supercedes this library in various ways, but org-rifle still works, and users who prefer its UI may still use it. I am not actively developing org-rifle anymore, but I don't object to occasional maintenance on it. There's no need for it to be broken.

You could fix the cl- symbol prefix-related issues by (require 'cl) in your config, or we could fix the symbols in the source code.

org-element-timestamp-successor's disappearance would need fixing. I haven't looked into how it would need to be done.

It probably would be a good idea to mention Org QL at the top of the readme, yes.

@alphapapa alphapapa changed the title Dead project? Issues with cl-macros and org-ql cl symbols need renaming; org-element-timestamp-successor no longer exists Sep 4, 2024
@alphapapa alphapapa self-assigned this Sep 4, 2024
@GPPassos
Copy link
Author

GPPassos commented Sep 6, 2024

Thanks for the quick reply, I might look at it. Indeed I have found that I do prefer using the org-rifle interface but I was unable to change the sorting, which is how I found this bug.

@alphapapa
Copy link
Owner

Indeed I have found that I do prefer using the org-rifle interface but I was unable to change the sorting, which is how I found this bug.

If you're willing, I'd like to talk with you about the interface, because my intent is that Org QL will provide an equivalent or better interface through org-ql-find and related commands, but without depending on Helm's own APIs. That is to say, it should be possible to configure Org QL to provide a nearly equivalent UI to org-rifle. In fact, with regard to the option org-ql-completing-read-snippet-function, it seems that performance in related libraries has improved so that the choice that provides org-rifle-style context works much better now, so I'm considering whether to make it the default choice. If you're interested, I'd be glad to hear your feedback about it. Also, the option org-ql-completing-read-snippet-prefix can be set to a newline, to make the appearance more like that of org-rifle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants