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