Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 12 Aug 22:29
· 94 commits to main since this release
09dd132

This release is for the Emacs package. In 0.1.0 the package was not complete. It is now the way to use org-semantic from Emacs.

Update the binary as well as the package. Binary 0.1.0 reads a negated predicate as its opposite: it searches for -dir:archive as if you wrote dir:archive. It gives you the opposite of your request, and it tells you nothing.

Added

  • Each part of the address of a hit is a link. The directory opens in Dired. The note opens at the top. The section goes to its heading. The two line numbers go to the start and to the end of the passage.
  • All prompts share one search history. savehist-mode saves it. Press M-p in the results buffer to find the query that made the list.
  • dir: accepts an absolute path. A path that starts with / or ~ is absolute. All other paths are relative to the vault.
  • All predicates accept a minus sign: -dir:, -todo: and -lang: join -tag:. A query can contain only exclusions. For example, -todo:DONE finds each passage that is not done.
  • org-semantic-install-directory is the directory for the binary. Unpack a release there and you do not need to configure anything.
  • org-semantic-cache-home and the ORG_SEMANTIC_CACHE_HOME variable set the directory for the models.
  • org-semantic-results-display-action sets where the results buffer appears. display-buffer-alist has priority.

Changed

  • The prebuilt binaries are now compressed archives. An archive is 13 MB, and the file in it keeps its executable permission.
  • C-u asks for the ranking only. C-u C-u also asks for the length of the list.
  • A search for the text at point offers the text as a default value. Press RET to accept it, or type to replace it.

Fixed

  • The word index returned nothing for a query that contained only exclusions.
  • The semantic search through the server accepted -lang: but ignored it.
  • The ranking prompt offered only one of the two rankings.
  • You could not put the cursor in a passage with the mouse. A click moved you to the note.
  • The gutter painted a background, and a repeated line lost it. The left edge was not straight.
  • Emacs could not find the org-semantic-find command in a new session.

Full changelog
All commits in this release