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

Use buku database directly #33

Open
flexibeast opened this issue Apr 28, 2024 · 0 comments
Open

Use buku database directly #33

flexibeast opened this issue Apr 28, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@flexibeast
Copy link
Owner

As of Emacs 29.1, Emacs can be built with built-in support for accessing SQLite databases (the "SQLITE3" feature).

Ebuku accessing the buku database directly would avoid:

  • relying on buku's user interface;
  • having to create a buku process;
  • needing to parse the output of buku

and substantially simplify Ebuku's code.

However, Emacs 29.1 was only released in July 2023, and at this point i want to support releases back to 27.1. (The code currently has Package-Requires: ((emacs "25.1")), but that line hasn't been updated for a while, and 27.1 now seems like a reasonable minimum.)

It would be good if (say) ebuku-use-sqlite was an optional feature that could be enabled (perhaps even by default if emacs-version ≧ 29.1 and "SQLITE3" ∈ system-configuration-features).

This would be developed on a feature branch that would eventually get merged into the main branch.

@flexibeast flexibeast added enhancement New feature or request help wanted Extra attention is needed labels Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant