-
Notifications
You must be signed in to change notification settings - Fork 12
Description
I started recently using hyperbole and I love it, I installed it with:
(use-package hyperbole :ensure nil
:config
(hyperbole-mode 1))
But I discovered a very weird problem
suppose an org file example.org
with the following contents and that I open it with emacs -q
(GNU Emacs 30.1 (build 3, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) of 2025-05-04
):
* my document
:PROPERTIES:
:EXPORT_OPTIONS: toc:nil
:END:
my cursor is here
** heading 1
** heading 2
** heading 3
Then, I apply (where my cursor is):
(org-latex-export-to-pdf nil t t nil)
That makes export of current subtree, so the properties are going to be read
this is the document generated (example.pdf
), it effectively hides toc
when I load hyperbole
;; https://www.gnu.org/software/hyperbole/man/hyperbole.html
;; date might differ for you
(push "~/.emacs.d/elpa/hyperbole-20250608.536/" load-path)
(require 'hyperbole)
(hyperbole-mode 1)
ignores my EXPORT_OPTIONS to hide the toc (that also applies with a bunch of properties that I use on certain org headings to export, for example, invoices, quotes, etc.)
As I was saying, I like hyperbole a lot, but I don't know how to avoid having this problem, no matter what I do, after enabling it, I cannot disable to return to the previous functionality with org export subtree, I need to restart emacs, this is what I tried:
(hyperbole-mode -1)
(unload-feature 'hyperbole t)
(revert-buffer t t)
(org-mode-restart)