Skip to content

v2.7.0

Latest

Choose a tag to compare

@d12frosted d12frosted released this 23 Jul 07:53
· 244 commits to master since this release
8f334b1

The theme of this release is notes that are not defined by their title.

vulpea has always assumed a note is its title: that is how you find it, link it, and see it in completion. 2.7 loosens that assumption. Titles stay first-class, but they are now optional, and a whole class of note that never really fit before (short notes, addressed by id, grouped by tag or content) finally works.

Notes without titles

  • vulpea now records where a title came from (a #+title keyword, a heading, or the file name used as a fallback) and keeps that provenance. So it can finally tell a note you named apart from one that just borrowed its file name. Two predicates build on this, including an opt-in completion filter that hides only the filename-derived ones. (#399)
  • vulpea-create can make a file-level note with no title at all: no #+title line is written, and nothing downstream breaks. (#399)
  • vulpea-find and vulpea-insert now match on the note id too. If your ids are structured and meaningful (person:lectia) while titles are incidental or absent, you can type or paste an id to narrow to that note. The id stays hidden in the candidate list, the same trick vulpea already uses for tags and aliases. (#400)
  • vulpea-insert gained a note-fn contract for custom note creation, so you can plug in your own capture without reimplementing region replacement and link insertion by hand. (#392)
  • The user guide has a new recipe for running a whole stream of untitled micro-notes (a ledger, say) as a group whose identity is a shared tag or some shared content, with the title fully out of the loop.

Proper CATEGORY support

Every note now carries a category, resolved with org's own precedence (drawer property, ancestor headings, file-level drawer, the last #+CATEGORY keyword, org-category, then the file name). It lands in a new indexed column with its own query, and it is exactly what org agenda would show for that note. (#389)

This is the one breaking change: the #+CATEGORY keyword is no longer folded into a note's file-level properties. If you queried it through vulpea-db-query-by-property, switch to vulpea-db-query-by-category, which also covers inheritance and the file-name fallback, so it finds strictly more. A CATEGORY written directly in a drawer stays a property, as before.

Quieter mentions

Unlinked mentions got a lot less noisy:

  • a note that already links to the target no longer shows up as a missing connection to it. Once the link exists, further plain-text hits are just prose. (#369)
  • a note can opt out of mention detection entirely (MENTIONS: ignore), which is what you want for a note whose title is an everyday word. (#369)
  • or it can silence specific noisy sources by listing their ids in IGNORE_MENTIONS_FROM. (#369)

Sturdier plugins and sync

  • Extractor plugins now receive the note's full identity (:path, :level, :pos), and bumping an extractor's :version actually migrates its tables. Every example in the plugin guide now runs against the real machinery in the test suite, which shook out four that could not have worked as written.
  • On macOS, file paths are normalized to NFC, fixing a bug where the same non-ASCII file name could end up with two independent database rows that never reconciled.
  • Autosync re-indexes affected notes when a .dir-locals.el changes, so editing one no longer leaves the database silently stale. Plus a couple of file-watcher fixes.

Upgrading

Two schema changes (the category and title-source columns) mean the database rebuilds itself on first access after you upgrade. Nothing to do, it just re-indexes once.

Full changelog: https://github.com/d12frosted/vulpea/blob/v2.7.0/CHANGELOG.org

Thanks

A few people shaped this release.

@edenworky started the whole untitled-notes direction by asking, in #379, what vulpea should do for notes with no real title. That question turned into title provenance, selection by id, the note-fn contract, and the grouping recipe. They also caught misleading wording in the plugin guide (#382) and kept pushing on the design until it was right. A lot of 2.7 is downstream of that thread.

@drcxd both reported and built the mentions work (#369). All three noise controls above are theirs (#374, #378, #385). If unlinked mentions feel calmer now, that is why.

@darcamo reported and fixed the title-override case (#375), so a creation function can rewrite the title it is handed.

Thanks, all.