Git In-Development Package Installation (Straight Package Manager)
If you potentially want to contribute to Hyperbole development and send pull requests to the Hyperbole development team or to try out new features still in testing, you can use the Straight package manager. It pulls the latest Hyperbole source code directly from its git repository. This also gives you a clean installation process without showing you any minor byte compilation warnings.
If you have Hyperbole installed and simply want to upgrade it, invoke the Emacs Package Manager with {M-x list-packages RET}, then use the {U} key followed by the {x} key to upgrade all out-of-date packages, Hyperbole among them. Then skip the text below and move on to the next section, see Invocation.
Otherwise, to download and install the Hyperbole package, you should add several lines to your personal Emacs initialization file, ~/.emacs. (For further details, see The Emacs Initialization File in the GNU Emacs Manual).
;; Use this in your Emacs init file to install Straight
(progn
(when (< emacs-major-version 28)
(error "Hyperbole requires Emacs 28 or above, not %d"
emacs-major-version))
(defvar bootstrap-version)
(setq package-enable-at-startup nil)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el"
user-emacs-directory))
(bootstrap-version 5))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
'silent 'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage)))
;; Then use this to install Hyperbole
(straight-use-package
'(hyperbole
:host nil
:repo "https://git.savannah.gnu.org/git/hyperbole.git"
:config (hyperbole-mode 1)))Now save the file and restart Emacs. Hyperbole will then be downloaded and compiled for use with your version of Emacs; give it a minute or two.