Next: Emacs Build Log, Previous: Emacs Popup Interface, Up: Emacs Interface [Contents][Index]
GNU Guix also comes with “guix-prettify.el”. It provides a minor mode for abbreviating store file names by replacing hash sequences of symbols with “…”:
/gnu/store/72f54nfp6g1hz873w8z3gfcah0h4nl9p-foo-0.1 ⇒ /gnu/store/…-foo-0.1
Once you set up “guix.el” (see Emacs Initial Setup), the following commands become available:
Enable/disable prettifying for the current buffer.
Enable/disable prettifying globally.
To automatically enable guix-prettify-mode
globally on Emacs
start, add the following line to your init file:
(global-guix-prettify-mode)
If you want to enable it only for specific major modes, add it to the mode hooks (see Hooks in The GNU Emacs Manual), for example:
(add-hook 'shell-mode-hook 'guix-prettify-mode) (add-hook 'dired-mode-hook 'guix-prettify-mode)