From 66e116a3bbfbb27636aad37ebb9bd39be50018cb Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 9 Aug 2019 16:36:14 -0400 Subject: [PATCH 1/1] emacs: add convenience yasnippets for ThankGNUs --- .emacs.d/etc/yasnippet/snippets/log-edit-mode/thankgnu | 5 +++++ .emacs.d/etc/yasnippet/snippets/message-mode/thankgnu | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 .emacs.d/etc/yasnippet/snippets/log-edit-mode/thankgnu create mode 100644 .emacs.d/etc/yasnippet/snippets/message-mode/thankgnu 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 index 0000000..eb4f4ae --- /dev/null +++ b/.emacs.d/etc/yasnippet/snippets/log-edit-mode/thankgnu @@ -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 index 0000000..fcc2dd3 --- /dev/null +++ b/.emacs.d/etc/yasnippet/snippets/message-mode/thankgnu @@ -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 -- 2.20.1