name='robots' content='noindex, nofollow'/>
aboutsummaryrefslogtreecommitdiff
path: root/etc/snippets
AgeCommit message (Expand)Author
2022-10-22snippets: Harden for review activity....When reviewing patches, whose commit logs don't follow the structure outlined in “Submitting Patches”, a reviewer might be tempted to use snippets to rewrite them. This makes it so that their attempt, while not immediately succeeding, isn't completely thwarted. * etc/snippets/tempel/text-mode (add\ , remove\ , rename\ , update\ ) (addcl\ , https\ ): Use an empty "p" field if (car (magit-staged-files)) fails. Liliana Marie Prikler
2022-10-06snippets: Fix move....The current move is never correct. It flip-flops between car and cadr for the destination. Since the position of the destination is not actually a fixed point in the list of changes, use a more robust method of inferring it. * etc/snippets/tempel/text-mode (move\ ): Infer source and destination from washed diffs. Process new module before destination. Liliana Marie Prikler
2022-10-06snippets: tempel: Reformat....This makes it so that ‘indent-region’ and ‘delete-trailing-whitespace’ do not change the file. * etc/snippets/tempel/text-mode: Reformat. Liliana Marie Prikler
2022-10-06snippets: tempel: Fix calls to mapconcat....* etc/snippets/tempel/text-mode (update\ ,https\ ): Add "\n" as separator argument to mapconcat. Liliana Marie Prikler
2022-09-26etc: Add tempel snippet move....* etc/snippets/tempel/text-mode (move\): New entry. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Nicolas Graves
2022-08-30etc: Update yasnippet build system list....* etc/snippets/yas/scheme-mode/guix-package (build-system): Add chicken-build-system, minetest-build-system, rebar-build-system and renpy-build-system. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Nicolas Graves
2022-08-30etc: Add tempel snippet for :phases....* etc/snippets/tempel/scheme-mode (:phases, add-before\ , add-after\ ) (replace\ ): New snippets. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Nicolas Graves
2022-08-30etc: 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 Graves
2022-05-12snippets: Add a 'remove' snippet....* etc/snippets/text-mode/guix-commit-message-remove-package: New file. Maxim Cournoyer
2022-01-19etc: 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 Prikler