Hi Ludo, > Ricardo Wurmus <rek...@elephly.net> skribis: > >> to avoid the need to type out boilerplate I wrote a couple of snippets >> that can be used with yasnippet in Emacs, and I thought I should share >> them with you. >> >> These snippets are available: >> >> ./scheme-mode/guix-package >> ./scheme-mode/guix-origin >> ./scheme-mode/guix-git-reference >> ./scheme-mode/guix-hg-reference >> ./scheme-mode/guix-cvs-reference >> ./scheme-mode/guix-svn-reference >> ./text-mode/guix-commit-message-add-package >> ./text-mode/guix-commit-message-update-package > > That looks really useful! > > Do you think we could add them under etc/emacs in the repo, and somehow > have them automatically available? Or should it be in Emacs-Guix?
Sure. To use them you’d only have to add the directory to “yas-snippets-dirs”. I’ll document this in contributing.texi. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net