Skip to content

hyperbole hywiki active when global minor mode disabled? #723

@Overdr0ne

Description

@Overdr0ne

I was profiling some sluggishness and was surprised to see a hywiki function show up:

          31  42% + command-execute
          15  20% + redisplay_internal (C function)
          14  19% + timer-event-handler
           5   6% + eldoc-pre-command-refresh-echo-area
           4   5% + #<compiled -0xae28356f5bf1b7f>
           4   5% - hywiki-buttonize-non-character-commands
           4   5%  - hywiki-non-hook-context-p
           4   5%     syntax-ppss
           0   0% + ...

My use-package:

(use-package hyperbole
  :init
  (setopt hkey-init nil))

hyperbole-mode and all other hy*-modes are nil.

I'm using version 8.0.0
I notice a suspicious looking "Public Initializations" section at the end of hywiki.el, that resolves to hywiki-buttonize-non-character-commands. Maybe that should be part of the minor mode enable initialization?

Could you please take a look?

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