]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
snippets/cfengine3-mode: replace $ ( and )
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Fri, 13 Mar 2015 16:02:15 +0000 (23:02 +0700)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Fri, 13 Mar 2015 16:02:15 +0000 (23:02 +0700)
Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
snippets/cfengine3-mode/fileappend
snippets/cfengine3-mode/fileexpand
snippets/cfengine3-mode/filelink
snippets/cfengine3-mode/filequad
snippets/cfengine3-mode/filesetval
snippets/cfengine3-mode/filesetvalini
snippets/cfengine3-mode/filesetvalquoted
snippets/cfengine3-mode/filetemplate
snippets/cfengine3-mode/mkdir

index 50796abcc60b9e90f2af21fe85f1ba2c27970ec9..0e1de6394eb2ce7558fe86a147b929c5b56551d0 100644 (file)
@@ -3,7 +3,7 @@
 # key: fileappend
 # --
 "$1"
-handle => "${1:$(concat (replace-regexp-in-string "^bundle_agent_" "" (replace-regexp-in-string "[ /.-]" "_" (which-function))) "_edit" (replace-regexp-in-string "[ /.-]" "_" (yas-text)))}",
+handle => "${1:$(concat (replace-regexp-in-string "^bundle_agent_" "" (replace-regexp-in-string "[ /.-]" "_" (which-function))) "_edit" (replace-regexp-in-string "[ )$(/.-]" "_" (yas-text)))}",
 comment => "configure $1",
 perms => mog("${3:644}","${4:root}","${5:root}"),
 create => "${6:$$(yas-choose-value '("true" "false"))}",
index 844a0fd222f4808632ac194313f2346c5915a35a..92c4d46a18f8d5ead29c47e2aebc851502f10cbf 100644 (file)
@@ -3,7 +3,7 @@
 # key: fileexpand
 # --
 "${1:file}"
-handle => "${1:$(concat (replace-regexp-in-string "^bundle_agent_" "" (replace-regexp-in-string "[ /.-]" "_" (which-function))) "_edit" (replace-regexp-in-string "[ /.-]" "_" (yas-text)))}",
+handle => "${1:$(concat (replace-regexp-in-string "^bundle_agent_" "" (replace-regexp-in-string "[ /.-]" "_" (which-function))) "_edit" (replace-regexp-in-string "[ )$(/.-]" "_" (yas-text)))}",
 comment => "configure $1",
 perms => mog("${2:644}","${3:root}","${4:root}"),
 create => "${5:$$(yas-choose-value '("true" "false"))}",
index 36a9fb90112c5a247454a22af79ace08a5dec31f..78e19482f257addc3cc295382a85c44b030b8654 100644 (file)
@@ -3,7 +3,7 @@
 # key: fileln
 # --
 "${1:file}"
-handle => "${1:$(concat (replace-regexp-in-string "^bundle_agent_" "" (replace-regexp-in-string "[ /.-]" "_" (which-function))) "_link" (replace-regexp-in-string "[ /.-]" "_" (yas-text)))}",
+handle => "${1:$(concat (replace-regexp-in-string "^bundle_agent_" "" (replace-regexp-in-string "[ /.-]" "_" (which-function))) "_link" (replace-regexp-in-string "[ )$(/.-]" "_" (yas-text)))}",
 comment => "ln -s $1",
 move_obstructions => "${5:$$(yas-choose-value '("true" "false"))}",
 link_from => ln_s( "$6" );
index 6ea07138c8892138deb971559d2f03b438b0e0fd..82eab26396c0d82d5c2118cbfe2ec3df4851945f 100644 (file)
@@ -3,7 +3,7 @@
 # key: filequad
 # --
 "${1:file}"
-handle => "${1:$(concat (replace-regexp-in-string "^bundle_agent_" "" (replace-regexp-in-string "[ /.-]" "_" (which-function))) "_create" (replace-regexp-in-string "[ /.-]" "_" (yas-text)))}",
+handle => "${1:$(concat (replace-regexp-in-string "^bundle_agent_" "" (replace-regexp-in-string "[ /.-]" "_" (which-function))) "_create" (replace-regexp-in-string "[ )$(/.-]" "_" (yas-text)))}",
 comment => "copy $1",
 perms => mog("${2:644}","${3:root}","${4:root}"),
 create => "${5:$$(yas-choose-value '("true" "false"))}",
index 184f740621e7661e7758d97da1426b766a192e51..a4bef54286bc9296f339dd541ee9c0253c80c474 100644 (file)
@@ -3,7 +3,7 @@
 # key: filesetval
 # --
 "${1:file}"
-handle => "${1:$(concat (replace-regexp-in-string "^bundle_agent_" "" (replace-regexp-in-string "[ /.-]" "_" (which-function))) "_edit" (replace-regexp-in-string "[ /.-]" "_" (yas-text)))}",
+handle => "${1:$(concat (replace-regexp-in-string "^bundle_agent_" "" (replace-regexp-in-string "[ /.-]" "_" (which-function))) "_edit" (replace-regexp-in-string "[ )$(/.-]" "_" (yas-text)))}",
 comment => "configure $1",
 perms => mog("${2:600}","${3:root}","${4:root}"),
 create => "${5:$$(yas-choose-value '("true" "false"))}",
index 69563dda0bcaf08c177744b76c36acbf44ef8deb..ea6e72265f3c5694c0654266ecb9886641436de9 100644 (file)
@@ -3,7 +3,7 @@
 # key: filesetvalini
 # --
 "${1:file}"
-handle => "${1:$(concat (replace-regexp-in-string "^bundle_agent_" "" (replace-regexp-in-string "[ /.-]" "_" (which-function))) "_edit" (replace-regexp-in-string "[ /.-]" "_" (yas-text)))}",
+handle => "${1:$(concat (replace-regexp-in-string "^bundle_agent_" "" (replace-regexp-in-string "[ /.-]" "_" (which-function))) "_edit" (replace-regexp-in-string "[ )$(/.-]" "_" (yas-text)))}",
 comment => "configure $1",
 perms => mog("${2:600}","${3:root}","${4:root}"),
 create => "${5:$$(yas-choose-value '("true" "false"))}",
index 9f4537cd232d95985f93c65620d300342c8aa97f..15c2de61d8dfed96b138a69958aa07ab3db54e10 100644 (file)
@@ -3,7 +3,7 @@
 # key: filesetvalquoted
 # --
 "${1:file}"
-handle => "${1:$(concat (replace-regexp-in-string "^bundle_agent_" "" (replace-regexp-in-string "[ /.-]" "_" (which-function))) "_edit" (replace-regexp-in-string "[ /.-]" "_" (yas-text)))}",
+handle => "${1:$(concat (replace-regexp-in-string "^bundle_agent_" "" (replace-regexp-in-string "[ /.-]" "_" (which-function))) "_edit" (replace-regexp-in-string "[ )$(/.-]" "_" (yas-text)))}",
 comment => "configure $1",
 perms => mog("${2:600}","${3:root}","${4:root}"),
 create => "${5:$$(yas-choose-value '("true" "false"))}",
index 34224a40bab70f688c0b0853fae2bc153700cfba..a21027b33a300be9edec0a1a95f5ef947efcfae9 100644 (file)
@@ -3,7 +3,7 @@
 # key: filetemplate
 # --
 "${1:file}"
-handle => "${1:$(concat (replace-regexp-in-string "^bundle_agent_" "" (replace-regexp-in-string "[ /.-]" "_" (which-function))) "_edit" (replace-regexp-in-string "[ /.-]" "_" (yas-text)))}",
+handle => "${1:$(concat (replace-regexp-in-string "^bundle_agent_" "" (replace-regexp-in-string "[ /.-]" "_" (which-function))) "_edit" (replace-regexp-in-string "[ )$(/.-]" "_" (yas-text)))}",
 comment => "configure $1",
 perms => mog("${2:440}","${3:root}","${4:root}"),
 create => "${5:$$(yas-choose-value '("true" "false"))}",
index 30674775dbcd22db297f9ad6254e623c9e3e3f5f..eb8c57b6d3cacc2270687a0fe46114f6bf323808 100644 (file)
@@ -3,7 +3,7 @@
 # key: mkdir
 # --
 "${1:file}/."
-handle => "${1:$(concat (replace-regexp-in-string "^bundle_agent_" "" (replace-regexp-in-string "[ /.-]" "_" (which-function))) "_mkdir" (replace-regexp-in-string "[ /.-]" "_" (yas-text)))}",
+handle => "${1:$(concat (replace-regexp-in-string "^bundle_agent_" "" (replace-regexp-in-string "[ /.-]" "_" (which-function))) "_mkdir" (replace-regexp-in-string "[ )$(/.-]" "_" (yas-text)))}",
 comment   => "mkdir $1",
 create    => "${3:$$(yas-choose-value '("true" "false"))}",
 perms     => mog("${4:700}","${5:root}","${6:root}");