From 8d4b6e4a5dbd7ce8bbe3f8b545bff0c2d888df64 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Wed, 20 Mar 2019 12:58:35 +0100 Subject: Cosmetic changes in .emacs.d/snippets/nxml-mode and .emacs.d/snippets/python-mode --- .emacs.d/snippets/nxml-mode/body | 11 ++++++----- .emacs.d/snippets/nxml-mode/br | 7 ++++--- .emacs.d/snippets/nxml-mode/doctype | 7 ++++--- .emacs.d/snippets/nxml-mode/doctype_xhtml1_strict | 7 ++++--- .emacs.d/snippets/nxml-mode/doctype_xhtml1_transitional | 7 ++++--- .emacs.d/snippets/nxml-mode/form | 11 ++++++----- .emacs.d/snippets/nxml-mode/href | 9 +++++---- .emacs.d/snippets/nxml-mode/html | 13 +++++++------ .emacs.d/snippets/nxml-mode/img | 7 ++++--- .emacs.d/snippets/nxml-mode/input | 7 ++++--- .emacs.d/snippets/nxml-mode/link | 7 ++++--- .emacs.d/snippets/nxml-mode/meta | 9 +++++---- .emacs.d/snippets/nxml-mode/name | 7 ++++--- .emacs.d/snippets/nxml-mode/quote | 11 ++++++----- .emacs.d/snippets/nxml-mode/style | 11 ++++++----- .emacs.d/snippets/nxml-mode/tag | 7 ++++--- .emacs.d/snippets/nxml-mode/tag_closing | 6 ++++++ .emacs.d/snippets/nxml-mode/tag_newline | 8 ++++++++ .emacs.d/snippets/python-mode/for | 1 + 19 files changed, 92 insertions(+), 61 deletions(-) create mode 100644 .emacs.d/snippets/nxml-mode/tag_closing create mode 100644 .emacs.d/snippets/nxml-mode/tag_newline diff --git a/.emacs.d/snippets/nxml-mode/body b/.emacs.d/snippets/nxml-mode/body index ddcf0cf..c977749 100644 --- a/.emacs.d/snippets/nxml-mode/body +++ b/.emacs.d/snippets/nxml-mode/body @@ -1,6 +1,7 @@ -#contributor : Anders Bach Nielsen -#name : ... -# -- - - $0 +# -*- mode: snippet -*- +# contributor : Anders Bach Nielsen +# name: ... +# -- + + $0 \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/br b/.emacs.d/snippets/nxml-mode/br index ba35773..8b73ebb 100644 --- a/.emacs.d/snippets/nxml-mode/br +++ b/.emacs.d/snippets/nxml-mode/br @@ -1,4 +1,5 @@ -#contributor : Anders Bach Nielsen -#name :
-# -- +# -*- mode: snippet -*- +# contributor : Anders Bach Nielsen +# name:
+# --
\ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/doctype b/.emacs.d/snippets/nxml-mode/doctype index 3fdcf17..bc745a3 100644 --- a/.emacs.d/snippets/nxml-mode/doctype +++ b/.emacs.d/snippets/nxml-mode/doctype @@ -1,5 +1,6 @@ -#contributor : Anders Bach Nielsen -#name : DocType XHTML 1.1 -#group : meta +# -*- mode: snippet -*- +# contributor : Anders Bach Nielsen +# name: DocType XHTML 1.1 +# group : meta # -- \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/doctype_xhtml1_strict b/.emacs.d/snippets/nxml-mode/doctype_xhtml1_strict index eca5860..b827989 100644 --- a/.emacs.d/snippets/nxml-mode/doctype_xhtml1_strict +++ b/.emacs.d/snippets/nxml-mode/doctype_xhtml1_strict @@ -1,5 +1,6 @@ -#contributor : Anders Bach Nielsen -#name : DocType XHTML 1.0 Strict -#group : meta +# -*- mode: snippet -*- +# contributor : Anders Bach Nielsen +# name: DocType XHTML 1.0 Strict +# group : meta # -- \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/doctype_xhtml1_transitional b/.emacs.d/snippets/nxml-mode/doctype_xhtml1_transitional index fba232a..30f2c20 100644 --- a/.emacs.d/snippets/nxml-mode/doctype_xhtml1_transitional +++ b/.emacs.d/snippets/nxml-mode/doctype_xhtml1_transitional @@ -1,5 +1,6 @@ -#contributor : Anders Bach Nielsen -#name : DocType XHTML 1.0 Transitional -#group : meta +# -*- mode: snippet -*- +# contributor : Anders Bach Nielsen +# name: DocType XHTML 1.0 Transitional +# group : meta # -- \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/form b/.emacs.d/snippets/nxml-mode/form index 252253e..77bfd4b 100644 --- a/.emacs.d/snippets/nxml-mode/form +++ b/.emacs.d/snippets/nxml-mode/form @@ -1,6 +1,7 @@ -#contributor : Anders Bach Nielsen -#name :
-# -- -
- $0 +# -*- mode: snippet -*- +# contributor : Anders Bach Nielsen +# name: +# -- +
+ $0
\ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/href b/.emacs.d/snippets/nxml-mode/href index 47cb84a..71f0949 100644 --- a/.emacs.d/snippets/nxml-mode/href +++ b/.emacs.d/snippets/nxml-mode/href @@ -1,5 +1,6 @@ -#contributor : Anders Bach Nielsen -#name : ... -#key: a -# -- +# -*- mode: snippet -*- +# contributor : Anders Bach Nielsen +# name: ... +# key: a +# -- $2 \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/html b/.emacs.d/snippets/nxml-mode/html index 85e09f7..897c195 100644 --- a/.emacs.d/snippets/nxml-mode/html +++ b/.emacs.d/snippets/nxml-mode/html @@ -1,6 +1,7 @@ -#contributor : Anders Bach Nielsen -#name : ... -# -- - - $0 - +# -*- mode: snippet -*- +# contributor : Anders Bach Nielsen +# name: ... +# -- + + $0 + \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/img b/.emacs.d/snippets/nxml-mode/img index 1f4382b..f80e3ce 100644 --- a/.emacs.d/snippets/nxml-mode/img +++ b/.emacs.d/snippets/nxml-mode/img @@ -1,4 +1,5 @@ -#contributor : Anders Bach Nielsen -#name : ... -# -- +# -*- mode: snippet -*- +# contributor : Anders Bach Nielsen +# name: ... +# -- $2 \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/input b/.emacs.d/snippets/nxml-mode/input index 80c3503..4456a71 100644 --- a/.emacs.d/snippets/nxml-mode/input +++ b/.emacs.d/snippets/nxml-mode/input @@ -1,4 +1,5 @@ -#contributor : Anders Bach Nielsen -#name : -# -- +# -*- mode: snippet -*- +# contributor : Anders Bach Nielsen +# name: +# -- \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/link b/.emacs.d/snippets/nxml-mode/link index d93b7a5..f10580b 100644 --- a/.emacs.d/snippets/nxml-mode/link +++ b/.emacs.d/snippets/nxml-mode/link @@ -1,4 +1,5 @@ -#contributor : Anders Bach Nielsen -#name : -# -- +# -*- mode: snippet -*- +# contributor : Anders Bach Nielsen +# name: +# -- \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/meta b/.emacs.d/snippets/nxml-mode/meta index dfee1f2..28a39f3 100644 --- a/.emacs.d/snippets/nxml-mode/meta +++ b/.emacs.d/snippets/nxml-mode/meta @@ -1,5 +1,6 @@ -#contributor : Anders Bach Nielsen -#name : -#group : meta -# -- +# -*- mode: snippet -*- +# contributor : Anders Bach Nielsen +# name: +# group : meta +# -- \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/name b/.emacs.d/snippets/nxml-mode/name index 592d0da..f05b420 100644 --- a/.emacs.d/snippets/nxml-mode/name +++ b/.emacs.d/snippets/nxml-mode/name @@ -1,4 +1,5 @@ -#contributor : Anders Bach Nielsen -#name : -# -- +# -*- mode: snippet -*- +# contributor : Anders Bach Nielsen +# name: +# -- \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/quote b/.emacs.d/snippets/nxml-mode/quote index 20fed1e..6e2915c 100644 --- a/.emacs.d/snippets/nxml-mode/quote +++ b/.emacs.d/snippets/nxml-mode/quote @@ -1,6 +1,7 @@ -#contributor : Anders Bach Nielsen -#name :
...
-# -- -
- $1 +# -*- mode: snippet -*- +# contributor : Anders Bach Nielsen +# name:
...
+# -- +
+ $1
\ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/style b/.emacs.d/snippets/nxml-mode/style index b80be1c..9066c02 100644 --- a/.emacs.d/snippets/nxml-mode/style +++ b/.emacs.d/snippets/nxml-mode/style @@ -1,6 +1,7 @@ -#contributor : Anders Bach Nielsen -#name : -# -- - +# -- + \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/tag b/.emacs.d/snippets/nxml-mode/tag index 7c6a766..8d9e55d 100644 --- a/.emacs.d/snippets/nxml-mode/tag +++ b/.emacs.d/snippets/nxml-mode/tag @@ -1,5 +1,6 @@ -#contributor : Anders Bach Nielsen -#name : ... -#key: t +# -*- mode: snippet -*- +# contributor : Anders Bach Nielsen +# name: ... +# key: t # -- <${1:tag}>$2$0 \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/tag_closing b/.emacs.d/snippets/nxml-mode/tag_closing new file mode 100644 index 0000000..555f7c6 --- /dev/null +++ b/.emacs.d/snippets/nxml-mode/tag_closing @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# contributor : Anders Bach Nielsen +# name: +# key: tc +# -- +<$1 $2 />$0 \ No newline at end of file diff --git a/.emacs.d/snippets/nxml-mode/tag_newline b/.emacs.d/snippets/nxml-mode/tag_newline new file mode 100644 index 0000000..62131fd --- /dev/null +++ b/.emacs.d/snippets/nxml-mode/tag_newline @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# contributor : Anders Bach Nielsen +# name: \n...\n +# key: tn +# -- +<${1:tag}> + $2 +$0 \ No newline at end of file diff --git a/.emacs.d/snippets/python-mode/for b/.emacs.d/snippets/python-mode/for index 0033c87..47ab339 100644 --- a/.emacs.d/snippets/python-mode/for +++ b/.emacs.d/snippets/python-mode/for @@ -1,3 +1,4 @@ +# -*- mode: snippet -*- # name: for ... in ... : ... # key: for # group : control structure -- cgit v1.3