diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-01-19 23:23:27 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-01-20 13:30:32 -0700 |
commit | 4de3e47f4978d4a93bd80c0ee285164a4e5917f9 (patch) | |
tree | dae0eed9206147cbfe1782f639534433750725ba /archive | |
parent | cd9d3d436c749fe287d8faa685053fc534b457ea (diff) | |
download | dotfiles-4de3e47f4978d4a93bd80c0ee285164a4e5917f9.tar.gz |
attempt transition yasnippet -> skeleton-mode
In addition, the new notmuch-message-mode skeletons should work better.
Diffstat (limited to 'archive')
32 files changed, 203 insertions, 0 deletions
diff --git a/archive/.emacs.d/snippets/cc-mode/com b/archive/.emacs.d/snippets/cc-mode/com new file mode 100644 index 00000000..afbbcb28 --- /dev/null +++ b/archive/.emacs.d/snippets/cc-mode/com @@ -0,0 +1,3 @@ +/* + * $0 + */
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/cc-mode/net b/archive/.emacs.d/snippets/cc-mode/net new file mode 100644 index 00000000..8ad23ff4 --- /dev/null +++ b/archive/.emacs.d/snippets/cc-mode/net @@ -0,0 +1,2 @@ +/* $0 + */
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/haskell-mode/do b/archive/.emacs.d/snippets/haskell-mode/do new file mode 100644 index 00000000..6fcf92ea --- /dev/null +++ b/archive/.emacs.d/snippets/haskell-mode/do @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# -- +do +$0 +undefined
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/haskell-mode/gpl b/archive/.emacs.d/snippets/haskell-mode/gpl new file mode 100644 index 00000000..eefec747 --- /dev/null +++ b/archive/.emacs.d/snippets/haskell-mode/gpl @@ -0,0 +1,22 @@ +{- + + `(haskell-cabal-guess-setting "name")` --- `(haskell-cabal-guess-setting "synopsis")` + + Copyright (C) `(format-time-string "%Y")` Sean Whitton + + This file is part of `(haskell-cabal-guess-setting "name")`. + + `(haskell-cabal-guess-setting "name")` is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + `(haskell-cabal-guess-setting "name")` is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with `(haskell-cabal-guess-setting "name")`. If not, see <http://www.gnu.org/licenses/>. + +-} diff --git a/archive/.emacs.d/snippets/haskell-mode/if b/archive/.emacs.d/snippets/haskell-mode/if new file mode 100644 index 00000000..52fb3d6b --- /dev/null +++ b/archive/.emacs.d/snippets/haskell-mode/if @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# -- +if $0${1:undefined} +then ${2:undefined} +else ${3:undefined}
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/js-mode/f= b/archive/.emacs.d/snippets/js-mode/f= new file mode 100644 index 00000000..052caddd --- /dev/null +++ b/archive/.emacs.d/snippets/js-mode/f= @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +#name : anonymous function assigned to a variable +# -- += function ($1) { + $0 +};
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/markdown-mode/meta b/archive/.emacs.d/snippets/markdown-mode/meta new file mode 100644 index 00000000..77ceb4a1 --- /dev/null +++ b/archive/.emacs.d/snippets/markdown-mode/meta @@ -0,0 +1 @@ +[[!meta ${1:title}="$0"]]
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/markdown-mode/paper b/archive/.emacs.d/snippets/markdown-mode/paper new file mode 100644 index 00000000..aed10f70 --- /dev/null +++ b/archive/.emacs.d/snippets/markdown-mode/paper @@ -0,0 +1,12 @@ +--- +title: $1 +author: ${2:Sean Whitton} +date: ${3:`(format-time-string "%B %Y")`} +bibliography: spw.bib +... + +# + +$0 + +# References diff --git a/archive/.emacs.d/snippets/message-mode/ack b/archive/.emacs.d/snippets/message-mode/ack new file mode 100644 index 00000000..620e6256 --- /dev/null +++ b/archive/.emacs.d/snippets/message-mode/ack @@ -0,0 +1,3 @@ +# could make this look at global git config to get the e-mail address +# -- +Acked-by: Sean Whitton <spwhitton@spwhitton.name>
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/message-mode/copysev b/archive/.emacs.d/snippets/message-mode/copysev new file mode 100644 index 00000000..cc6c06f5 --- /dev/null +++ b/archive/.emacs.d/snippets/message-mode/copysev @@ -0,0 +1,7 @@ +Severity: serious +Justification: Policy 2.3, 4.5, 12.5 +X-Debbugs-CC: ftpmaster@debian.org + +Hello, + +$0
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/message-mode/dear b/archive/.emacs.d/snippets/message-mode/dear new file mode 100644 index 00000000..5ecdca2f --- /dev/null +++ b/archive/.emacs.d/snippets/message-mode/dear @@ -0,0 +1,3 @@ +Dear ${1:`(spw/recipient-first-name)`}, + +$0
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/message-mode/hello b/archive/.emacs.d/snippets/message-mode/hello new file mode 100644 index 00000000..d60603cd --- /dev/null +++ b/archive/.emacs.d/snippets/message-mode/hello @@ -0,0 +1,3 @@ +Hello ${1:`(spw/recipient-first-name)`}, + +$0
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/message-mode/sob b/archive/.emacs.d/snippets/message-mode/sob new file mode 100644 index 00000000..f61a063f --- /dev/null +++ b/archive/.emacs.d/snippets/message-mode/sob @@ -0,0 +1,3 @@ +Thank you for this, but I can't review and apply it without a +Signed-off-by: line to certify the contents of DEVELOPER-CERTIFICATE. +Please see the CONTRIBUTING file in the project's source.
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/message-mode/thanks b/archive/.emacs.d/snippets/message-mode/thanks new file mode 100644 index 00000000..7399cb86 --- /dev/null +++ b/archive/.emacs.d/snippets/message-mode/thanks @@ -0,0 +1,5 @@ +Dear ${1:`(spw/recipient-first-name)`}, + +Thank you for your e-mail. + +$0
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/org-mode/5eblock b/archive/.emacs.d/snippets/org-mode/5eblock new file mode 100644 index 00000000..6b7e63d0 --- /dev/null +++ b/archive/.emacs.d/snippets/org-mode/5eblock @@ -0,0 +1,26 @@ +*************** ${1:Creature name} +/${2:Medium} ${3:humanoid (any race)}, ${4:any alignment}/ +- Armor Class :: ${5:13}${6: (leather armour)} +- Hit Points :: ${7:4} (${8:1d8}) +- Speed :: ${9:30} ft. + +| STR | DEX | CON | INT | WIS | CHA | +| ${10:10} | ${12:10} | ${14:10} | ${16:10} | ${18:10} | ${20:10} | +| (${11:+0}) | (${13:+0}) | (${15:+0}) | (${17:+0}) | (${19:+0}) | (${21:+0}) | + +- Saving Throws :: $0 +- Skills :: +- Damage Vulnerabilities :: +- Damage Resistances :: +- Damage Immunities :: +- Condition Immunities :: +- Senses :: +- Langauges :: +- Challenge :: + +- Actions + + :: + +- Reactions + + :: +*************** END
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/org-mode/author b/archive/.emacs.d/snippets/org-mode/author new file mode 100644 index 00000000..68e6ee3f --- /dev/null +++ b/archive/.emacs.d/snippets/org-mode/author @@ -0,0 +1 @@ +#+AUTHOR: $0
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/org-mode/center b/archive/.emacs.d/snippets/org-mode/center new file mode 100644 index 00000000..d9ad678f --- /dev/null +++ b/archive/.emacs.d/snippets/org-mode/center @@ -0,0 +1,3 @@ +#+BEGIN_CENTER +$0 +#+END_CENTER
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/org-mode/date b/archive/.emacs.d/snippets/org-mode/date new file mode 100644 index 00000000..6a91cfcb --- /dev/null +++ b/archive/.emacs.d/snippets/org-mode/date @@ -0,0 +1 @@ +#+DATE: ${1:`(progn (org-insert-time-stamp (current-time) nil 'inactive) "")`} diff --git a/archive/.emacs.d/snippets/org-mode/philos b/archive/.emacs.d/snippets/org-mode/philos new file mode 100644 index 00000000..49961b95 --- /dev/null +++ b/archive/.emacs.d/snippets/org-mode/philos @@ -0,0 +1,6 @@ +#+TITLE: $1 +#+DATE: `(progn (org-insert-time-stamp (current-time) nil 'inactive) "")` + +${2:* Executive summary +- +}* $0 diff --git a/archive/.emacs.d/snippets/org-mode/quote b/archive/.emacs.d/snippets/org-mode/quote new file mode 100644 index 00000000..ce962f54 --- /dev/null +++ b/archive/.emacs.d/snippets/org-mode/quote @@ -0,0 +1,3 @@ +#+BEGIN_QUOTE +$0 +#+END_QUOTE
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/org-mode/quotesource b/archive/.emacs.d/snippets/org-mode/quotesource new file mode 100644 index 00000000..1ac861ad --- /dev/null +++ b/archive/.emacs.d/snippets/org-mode/quotesource @@ -0,0 +1,7 @@ +#+BEGIN_QUOTE +${1:quotation} + +---${2:author}$0 +#+END_QUOTE + +(`(org-insert-link nil nil "source")`) diff --git a/archive/.emacs.d/snippets/org-mode/src b/archive/.emacs.d/snippets/org-mode/src new file mode 100644 index 00000000..90c1dd29 --- /dev/null +++ b/archive/.emacs.d/snippets/org-mode/src @@ -0,0 +1,3 @@ +#+BEGIN_SRC ${1:nil} +$0 +#+END_SRC
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/org-mode/title b/archive/.emacs.d/snippets/org-mode/title new file mode 100644 index 00000000..cfe9ddb5 --- /dev/null +++ b/archive/.emacs.d/snippets/org-mode/title @@ -0,0 +1 @@ +#+TITLE: $0
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/perl-mode/catch b/archive/.emacs.d/snippets/perl-mode/catch new file mode 100644 index 00000000..2d2cc15c --- /dev/null +++ b/archive/.emacs.d/snippets/perl-mode/catch @@ -0,0 +1,7 @@ +#<<< +try { + $0 +} catch { + +}; +#>>>
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/perl-mode/func b/archive/.emacs.d/snippets/perl-mode/func new file mode 100644 index 00000000..d4b42703 --- /dev/null +++ b/archive/.emacs.d/snippets/perl-mode/func @@ -0,0 +1,9 @@ +=func $1($2) + +$0 + +=cut + +sub $1 { + +}
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/perl-mode/method b/archive/.emacs.d/snippets/perl-mode/method new file mode 100644 index 00000000..8b4dc48f --- /dev/null +++ b/archive/.emacs.d/snippets/perl-mode/method @@ -0,0 +1,9 @@ +=method $1($2) + +$0 + +=cut + +sub $1 { + +} diff --git a/archive/.emacs.d/snippets/perl-mode/package b/archive/.emacs.d/snippets/perl-mode/package new file mode 100644 index 00000000..4c379bf4 --- /dev/null +++ b/archive/.emacs.d/snippets/perl-mode/package @@ -0,0 +1,9 @@ +package $1::`(f-no-ext (f-filename (buffer-file-name)))`; + +use 5.032; +use strict; +use warnings; + +$0 + +1;
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/perl-mode/program b/archive/.emacs.d/snippets/perl-mode/program new file mode 100755 index 00000000..a08f02b7 --- /dev/null +++ b/archive/.emacs.d/snippets/perl-mode/program @@ -0,0 +1,7 @@ +`(unless (f-ext (buffer-file-name)) "#!/usr/bin/perl + +")`use 5.032; +use strict; +use warnings; + +$0
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/perl-mode/shebang b/archive/.emacs.d/snippets/perl-mode/shebang new file mode 100755 index 00000000..3513305d --- /dev/null +++ b/archive/.emacs.d/snippets/perl-mode/shebang @@ -0,0 +1,3 @@ +#!/usr/bin/perl -w$1 + +$0
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/text-mode/other b/archive/.emacs.d/snippets/text-mode/other new file mode 100644 index 00000000..053f2733 --- /dev/null +++ b/archive/.emacs.d/snippets/text-mode/other @@ -0,0 +1,5 @@ ++----------------------+ +| Other comments | ++----------------------+ + +$0
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/text-mode/prod b/archive/.emacs.d/snippets/text-mode/prod new file mode 100644 index 00000000..17634bf8 --- /dev/null +++ b/archive/.emacs.d/snippets/text-mode/prod @@ -0,0 +1,6 @@ +Hello, + +$0 + +-- +Sean Whitton
\ No newline at end of file diff --git a/archive/.emacs.d/snippets/text-mode/reject b/archive/.emacs.d/snippets/text-mode/reject new file mode 100644 index 00000000..8641b513 --- /dev/null +++ b/archive/.emacs.d/snippets/text-mode/reject @@ -0,0 +1,17 @@ ++----------------------+ +| REJECT reasoning | ++----------------------+ + +$0 + ++----------------------+ +| N.B. | ++----------------------+ + +This review may not be exhaustive. Please check your source package +against your d/copyright and the ftpmaster REJECT-FAQ, throughly, +before uploading to NEW again. + +Thank you for your time and contribution! + +Sean
\ No newline at end of file |