diff --git a/faq.html b/faq.html index 6f64473..c08a5f2 100644 --- a/faq.html +++ b/faq.html @@ -7,7 +7,7 @@ - + @@ -391,7 +391,7 @@ directive:
Generated by Org version 7.9.3f with Emacs version 24 on 2013-12-24T11:50-0500 from 78c8b5eb8058e8da523542b1b1de7e21a5b60e14 +
Generated by Org version 7.9.3f with Emacs version 24 on 2014-05-11T19:37-0400 from fe288a156c063666d9c6613b6eea0ed5a515a86b
diff --git a/index.html b/index.html index c244862..993288c 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ - + @@ -194,7 +194,7 @@ for the JavaScript code in this tag.Generated by Org version 7.9.3f with Emacs version 24 on 2013-12-24T11:50-0500 from 78c8b5eb8058e8da523542b1b1de7e21a5b60e14 +
Generated by Org version 7.9.3f with Emacs version 24 on 2014-05-11T19:37-0400 from fe288a156c063666d9c6613b6eea0ed5a515a86b
diff --git a/snippet-development.html b/snippet-development.html index 1048676..c944d61 100644 --- a/snippet-development.html +++ b/snippet-development.html @@ -7,7 +7,7 @@ - + @@ -154,7 +154,9 @@ for the JavaScript code in this tag.# group:
snippet menu grouping# expand-env:
expand environment# binding:
direct keybinding# contributor:
snippet author# type:
snippet
or command
# uuid:
unique identifier# contributor:
snippet author# contributor:
snippet author# type:
snippet
or command
+If the type
directive is set to command
, the body of the snippet
+is interpreted as lisp code to be evaluated when the snippet is
+triggered.
+
+If it's snippet
(the default when there is no type
directive), the
+snippet body will be parsed according to the Template Syntax,
+described below.
+
# uuid:
unique identifier+This provides to a way to identify a snippet, independent of its name. +Loading a second snippet file with the same uuid would replace the +previous snippet. +
+# contributor:
snippet authorThis is optional and has no effect whatsoever on snippet functionality, but it looks nice. @@ -472,7 +507,7 @@ but it looks nice.
Arbitrary text can be included as the content of a template. They are
-usually interpreted as plain text, except $
and ==. You need to
-use \` to escape them: \$
and \
. The \` itself may also needed to be
+usually interpreted as plain text, except $
and `
. You need to
+use \
to escape them: \$
and \`
. The \
itself may also needed to be
escaped as \\
sometimes.
\\
sometimes.
Emacs-Lisp code can be embedded inside the template, written inside
-back-quotes (==). The lisp forms are evaluated when the snippet is
+back-quotes (`
). The lisp forms are evaluated when the snippet is
being expanded. The evaluation is done in the same buffer as the
snippet being expanded.
delete-char
command.
Generated by Org version 7.9.3f with Emacs version 24 on 2013-12-24T11:50-0500 from 78c8b5eb8058e8da523542b1b1de7e21a5b60e14 +
Generated by Org version 7.9.3f with Emacs version 24 on 2014-05-11T19:37-0400 from fe288a156c063666d9c6613b6eea0ed5a515a86b
diff --git a/snippet-expansion.html b/snippet-expansion.html index f6099a6..7e60a96 100644 --- a/snippet-expansion.html +++ b/snippet-expansion.html @@ -7,7 +7,7 @@ - + @@ -633,7 +633,7 @@ See the documentation on variable -Generated by Org version 7.9.3f with Emacs version 24 on 2013-12-24T11:50-0500 from 78c8b5eb8058e8da523542b1b1de7e21a5b60e14 +
Generated by Org version 7.9.3f with Emacs version 24 on 2014-05-11T19:37-0400 from fe288a156c063666d9c6613b6eea0ed5a515a86b
diff --git a/snippet-menu.html b/snippet-menu.html index afb2f82..688033d 100644 --- a/snippet-menu.html +++ b/snippet-menu.html @@ -7,7 +7,7 @@ - + @@ -269,7 +269,7 @@ variables.Generated by Org version 7.9.3f with Emacs version 24 on 2013-12-24T11:50-0500 from 78c8b5eb8058e8da523542b1b1de7e21a5b60e14 +
Generated by Org version 7.9.3f with Emacs version 24 on 2014-05-11T19:37-0400 from fe288a156c063666d9c6613b6eea0ed5a515a86b
diff --git a/snippet-organization.html b/snippet-organization.html index 83f01ec..15b5076 100644 --- a/snippet-organization.html +++ b/snippet-organization.html @@ -7,7 +7,7 @@ - + @@ -379,7 +379,7 @@ ruby-mode/Generated by Org version 7.9.3f with Emacs version 24 on 2013-12-24T11:50-0500 from 78c8b5eb8058e8da523542b1b1de7e21a5b60e14 +
Generated by Org version 7.9.3f with Emacs version 24 on 2014-05-11T19:37-0400 from fe288a156c063666d9c6613b6eea0ed5a515a86b
diff --git a/snippet-reference.html b/snippet-reference.html index 9f16ae5..b9239a6 100644 --- a/snippet-reference.html +++ b/snippet-reference.html @@ -7,7 +7,7 @@ - + @@ -227,6 +227,7 @@ for the JavaScript code in this tag.yas-global-mode-buffers
yas-after-reload-hook
yas-snippet-beg
yas-after-exit-snippet-hook
yas-global-mode-hook
full
, every submenu is listed
yas-reload-all
call if the menu is already visible).
+nil
, hide the menu.
-uuid is the snippets "unique-id". Loading a second snippet file -with the same uuid replaced the previous snippet. +uuid is the snippet's "unique-id". Loading a second snippet +file with the same uuid would replace the previous snippet.
You can use yas--parse-template
to return such lists based on
@@ -1217,9 +1217,6 @@ It doesn't make any sense to call func
programatically.
omit-items
is a list of snippet uuid's that will always be
omitted from mode
's menu, even if they're manually loaded.
-This function does nothing if yas-use-menu
is nil.
-
yas-after-reload-hook
+Hooks run after yas-reload-all
.
+
yas-snippet-beg
yas-snippet-beg
yas-after-exit-snippet-hook
yas-after-exit-snippet-hook
yas-global-mode-hook
yas-global-mode-hook
yas-dont-activate
yas-dont-activate
yas-minor-mode-map
yas-minor-mode-map
yas-minor-mode
i
yas-moving-away-p
yas-moving-away-p
yas-buffer-local-condition
yas-buffer-local-condition
yas-modified-p
yas-modified-p
yas-before-expand-snippet-hook
yas-before-expand-snippet-hook
yas-keymap
yas-keymap
yas-key-syntaxes
yas-key-syntaxes
yas-snippet-end
yas-snippet-end
yas-minor-mode-hook
yas-minor-mode-hook
yas-minor-mode
is turne
yas-verbosity
yas-verbosity
yas--message
4 means trace most anything, 0 means not
yas-minor-mode-major-mode
yas-minor-mode-major-mode
yas--message
4 means trace most anything, 0 means not