summary refs log tree commit diff
path: root/etc/snippets/text-mode
AgeCommit message (Collapse)Author
2022-08-30etc: Add tempel snippets.Nicolas Graves
* 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>
2022-05-12snippets: Add a 'remove' snippet.Maxim Cournoyer
* etc/snippets/text-mode/guix-commit-message-remove-package: New file.
2022-01-19etc: Match define-public only at line start.Liliana Marie Prikler
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.
2020-12-04etc: snippets: Fix name extraction.Nicolas Goaziou
* etc/snippets/text-mode/guix-commit-message-add-package: Fix name extraction. This is a follow-up to 988a49c78ef19ad25cef543e2059a19db04bbd36.
2020-12-04etc: snippets: Fix name extraction.Nicolas Goaziou
* 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).
2020-11-25etc: snippets: Fix "gnu: Add ..." name when prefilling Common Lisp commits ↵Pierre Neidhardt
messages. * etc/snippets/text-mode/guix-commit-message-add-cl-package: Fix name and simplify the "New variables" line.
2020-11-23etc: snippets: Prefill Common Lisp package names.Pierre Neidhardt
* etc/snippets/text-mode/guix-commit-message-add-cl-package: New file.
2020-11-23etc: snippets: Fix package name extraction.Pierre Neidhardt
* 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.
2019-03-26etc: Add "rename" snippet.Pierre Neidhardt
* etc/snippets/text-mode/guix-commit-message-rename-package: New file.
2019-03-08etc: snippets: Prefill package name.Ricardo Wurmus
* etc/snippets/text-mode/guix-commit-message-add-package: Extract package name from diff.
2019-03-07etc: snippets: Prefill package name and version.Ricardo Wurmus
* etc/snippets/text-mode/guix-commit-message-update-package: Extract package name and version from git diff output.
2018-07-13etc: snippets: Add guix-commit-message-use-https-home-page.Arun Isaac
* etc/snippets/text-mode/guix-commit-message-use-https-home-page: New file. * doc/contributing.texi (The Perfect Setup): Document new snippet.
2017-12-15etc: Add snippets.Ricardo Wurmus
* 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.