brunoarine / org-similarity

Emacs package that helps org-mode users (re)discover similar documents
GNU General Public License v3.0
88 stars 12 forks source link

feat!: save buffer content to tmp file #19

Closed brunoarine closed 1 year ago

brunoarine commented 1 year ago

Instead of running the Python routine against the buffer's filename, org-similarity will first dump the buffer's content into a temporary file and then run the Python routine against it. With this change, it will be possible to run the algorithm without saving the buffer first. It also makes it easier to implement query searches.

This change will break other functions that may depend on org-similarity--run-command, since now it takes a filename argument.