summaryrefslogtreecommitdiff
path: root/etc/snippets/text-mode
Commit message (Expand)AuthorAgeFilesLines
* etc: Add tempel snippets.•••* etc/snippets/tempel/scheme-mode: New file. * etc/snippets/tempel/text-mode: New file. * etc/snippets/scheme-mode: Moved from here... * etc/snippets/yas/scheme-mode: ... to here. * etc/snippets/text-mode: Moved from here... * etc/snippets/yas/text-mode: ... to here. * doc/contributing.texi ("The Perfect Setup"): Adjust yasnippet setup accordingly. Add tempel setup. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Nicolas Graves2022-08-306-96/+0
* snippets: Add a 'remove' snippet.•••* etc/snippets/text-mode/guix-commit-message-remove-package: New file. Maxim Cournoyer2022-05-121-0/+13
* etc: Match define-public only at line start.•••The current regexp simply matches the first occurence, which more often than not points to the *previous* variable. * etc/snippets/text-mode/guix-commit-message-update-package ($1): Restrict match to beginning of line with optional indentation. Liliana Marie Prikler2022-01-191-1/+1
* etc: snippets: Fix name extraction.•••* etc/snippets/text-mode/guix-commit-message-add-package: Fix name extraction. This is a follow-up to 988a49c78ef19ad25cef543e2059a19db04bbd36. Nicolas Goaziou2020-12-041-3/+3
* etc: snippets: Fix name extraction.•••* etc/snippets/text-mode/guix-commit-message-update-package: Since git commit mode is not derived from any Lisp mode, so-called sexp or symbols do not include the period character. As a consequence, names including versions are not properly extracted. Also use more idiomatic (goto-char (point-min)) instead of (beginning-of-buffer). Nicolas Goaziou2020-12-041-4/+4
* etc: snippets: Fix "gnu: Add ..." name when prefilling Common Lisp commits me...•••* etc/snippets/text-mode/guix-commit-message-add-cl-package: Fix name and simplify the "New variables" line. Pierre Neidhardt2020-11-251-2/+4
* etc: snippets: Prefill Common Lisp package names.•••* etc/snippets/text-mode/guix-commit-message-add-cl-package: New file. Pierre Neidhardt2020-11-231-0/+13
* etc: snippets: Fix package name extraction.•••* etc/snippets/text-mode/guix-commit-message-add-package: Properly extract name when the diff contains a very short `define-public ...` above the actual new package. This can happen when the above package is a small inherited definition or cl/ecl package. Pierre Neidhardt2020-11-231-1/+1
* etc: Add "rename" snippet.•••* etc/snippets/text-mode/guix-commit-message-rename-package: New file. Pierre Neidhardt2019-03-261-0/+20
* etc: snippets: Prefill package name.•••* etc/snippets/text-mode/guix-commit-message-add-package: Extract package name from diff. Ricardo Wurmus2019-03-081-1/+6
* etc: snippets: Prefill package name and version.•••* etc/snippets/text-mode/guix-commit-message-update-package: Extract package name and version from git diff output. Ricardo Wurmus2019-03-071-1/+18
* etc: snippets: Add guix-commit-message-use-https-home-page.•••* etc/snippets/text-mode/guix-commit-message-use-https-home-page: New file. * doc/contributing.texi (The Perfect Setup): Document new snippet. Arun Isaac2018-07-131-0/+9
* etc: Add snippets.•••* etc/snippets/scheme-mode/guix-cvs-reference, etc/snippets/scheme-mode/guix-git-reference, etc/snippets/scheme-mode/guix-hg-reference, etc/snippets/scheme-mode/guix-origin, etc/snippets/scheme-mode/guix-package, etc/snippets/scheme-mode/guix-svn-reference, etc/snippets/text-mode/guix-commit-message-add-package, etc/snippets/text-mode/guix-commit-message-update-package: New files. * doc/contributing.texi (The Perfect Setup): Document snippets. Ricardo Wurmus2017-12-152-0/+17