Hi Guix,
I know there are a lot of emacs users here.
I wanted to share this snippet I find really helpful when working with Guile:
(defvar guile-imenu-generic-_expression_
(cons '("Public" "^(define-public\\s-+(?\\(\\sw+\\)" 1)
scheme-imenu-generic-_expression_)
"Imenu generic _expression_ for Guile modes. See `imenu-generic-_expression_'.")
(add-hook
'scheme-mode-hook
(lambda ()
(setq-local imenu-generic-_expression_ guile-imenu-generic-_expression_)))
If you use ido, helm, or counsel for imenu, this really helps find definitions much faster.
I don't really know if there is an upstream to send this to.
If you know, please let me know.
- John