This should fix a few issues with links (like org-download links)
resolving to the incorrect org-directory or org-id-attach-dir (because
it's resolved too early).
I've also simplified and refactored the API to make it easier to grok.
This package allows the creation of notes on a document (pdf, EPub,
etc.) which will be kept in sync with the document. Providing context
sensitive annotations that are managed in plaintext.
org-pdftools now uses a more generic "pdf:*" for its links, so that
users don't have to worry about the backend.
Also, pdf(view|tools) links should now work for backward compatibility.
org-superstar is a little faster, better written and still maintained.
It also has a few more features which I've made opt-in because they are
relatively expensive in larger buffers.
Folks that don't care for the differences just have to replace
`org-bullets-bullet-list` in their configs with
`org-superstar-headline-bullets-list`.
org-mode recently changed the standard for naming blocks.
Previously, it would use capitalized names; now it uses lower case
names.
E.g., #+BEGIN_SRC -> #+begin_src
Also, add a "quote" symbol for the #+begin_quote block.
On macos/bsd systems, uuidgen produces all uppercase output. On
Linux/GNU systems it produces all lowercase output. This leads to
problems when managing org files across both systems (see e.g.
https://lists.gnu.org/archive/html/emacs-orgmode/2019-07/msg00081.html).
This change adds a defadvice for `org-id-new` to always lowercase the
output of `uuidgen` so the behavior is consistent across platforms.
I think it's pretty common for people (myself included) to name their capture file `capture.org` file, and currently this rule matches it, so if you open capture.org, your end up with it opened in a popup (I believe it wasn't intended?). My fix makes it so it matches only capture buffers (they've got name like `CAPTURE-filename.org`). I believe there shouldn't be any unanticipated consequences of the change?
As far as I understand, the problem is that in elisp, regexes are case insensitive by default, and the sensitivity is controlled by a [variable](http://ergoemacs.org/emacs/emacs_regex.html), so I struggle to see what's the proper way to control it (especially considering the window manipulation happens in `window.el`). If you know of a way to deal with this, happy to implement and update my pull request!