emacs: add convenience yasnippets for ThankGNUs
authorAmin Bandali <bandali@gnu.org>
Fri, 9 Aug 2019 20:36:14 +0000 (16:36 -0400)
committerAmin Bandali <bandali@gnu.org>
Fri, 9 Aug 2019 20:36:14 +0000 (16:36 -0400)
.emacs.d/etc/yasnippet/snippets/log-edit-mode/thankgnu [new file with mode: 0644]
.emacs.d/etc/yasnippet/snippets/message-mode/thankgnu [new file with mode: 0644]

diff --git a/.emacs.d/etc/yasnippet/snippets/log-edit-mode/thankgnu b/.emacs.d/etc/yasnippet/snippets/log-edit-mode/thankgnu
new file mode 100644 (file)
index 0000000..eb4f4ae
--- /dev/null
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: thankgnu
+# key: th
+# --
+[RT#$1] Add ${2:$$(yas-choose-value '("Contributor" "Sustaining Contributor" "Patron"))} $3 to the 20${4:19} ThankGNUs list$0
\ No newline at end of file
diff --git a/.emacs.d/etc/yasnippet/snippets/message-mode/thankgnu b/.emacs.d/etc/yasnippet/snippets/message-mode/thankgnu
new file mode 100644 (file)
index 0000000..fcc2dd3
--- /dev/null
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: thankgnu
+# key: th
+# --
+Added ${2:$$(yas-choose-value '("Contributor" "Sustaining Contributor" "Patron"))} $3 to 20${4:19}supporters.html.
+
+Moving to campaigns.$0