Skip to content

hyperbole conflicts with org mode export subtree #752

@pedro-nonfree

Description

@pedro-nonfree

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

Image

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.)

Image

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions