{"diffoscope-json-version": 1, "source1": "/srv/reproducible-results/rbuild-debian/r-b-build.HdNul7nd/b1/yasnippet_0.14.0+git20200603.5cbdbf0d-1_i386.changes", "source2": "/srv/reproducible-results/rbuild-debian/r-b-build.HdNul7nd/b2/yasnippet_0.14.0+git20200603.5cbdbf0d-1_i386.changes", "unified_diff": null, "details": [{"source1": "Files", "source2": "Files", "unified_diff": "@@ -1,3 +1,3 @@\n \n- 5ea4433ab6dc64d2d082cf52aed571fe 532876 lisp optional elpa-yasnippet_0.14.0+git20200603.5cbdbf0d-1_all.deb\n+ 62d814b896aefb08e7eed5b1d31b273c 532896 lisp optional elpa-yasnippet_0.14.0+git20200603.5cbdbf0d-1_all.deb\n 51e29e789207e11d55779829cd1b8af4 5032 lisp optional yasnippet_0.14.0+git20200603.5cbdbf0d-1_all.deb\n"}, {"source1": "elpa-yasnippet_0.14.0+git20200603.5cbdbf0d-1_all.deb", "source2": "elpa-yasnippet_0.14.0+git20200603.5cbdbf0d-1_all.deb", "unified_diff": null, "details": [{"source1": "file list", "source2": "file list", "unified_diff": "@@ -1,3 +1,3 @@\n -rw-r--r-- 0 0 0 4 2020-11-05 15:31:38.000000 debian-binary\n -rw-r--r-- 0 0 0 1952 2020-11-05 15:31:38.000000 control.tar.xz\n--rw-r--r-- 0 0 0 530732 2020-11-05 15:31:38.000000 data.tar.xz\n+-rw-r--r-- 0 0 0 530752 2020-11-05 15:31:38.000000 data.tar.xz\n"}, {"source1": "control.tar.xz", "source2": "control.tar.xz", "unified_diff": null, "details": [{"source1": "control.tar", "source2": "control.tar", "unified_diff": null, "details": [{"source1": "./md5sums", "source2": "./md5sums", "unified_diff": null, "details": [{"source1": "./md5sums", "source2": "./md5sums", "comments": ["Files differ"], "unified_diff": null}]}]}]}, {"source1": "data.tar.xz", "source2": "data.tar.xz", "unified_diff": null, "details": [{"source1": "data.tar", "source2": "data.tar", "unified_diff": null, "details": [{"source1": "./usr/share/doc/elpa-yasnippet/html/faq.html", "source2": "./usr/share/doc/elpa-yasnippet/html/faq.html", "unified_diff": "@@ -260,55 +260,55 @@\n \n
\n Expansion of abbrev keys is controlled by yas-key-syntaxes
. Try\n removing entries which correspond to the abbrev key character syntax.\n For example, if you have a snippet with abbrev key \"bar\", that you\n don't want to trigger when point follows the text foo_bar
, remove\n the \"w\"
entry (since \"bar\" has only word syntax characters).\n
\n See previous question, but in reverse.\n
\n\n If there is a newline at the end of a snippet definition file,\n YASnippet will add a newline when expanding that snippet. When editing\n or saving a snippet file, please be careful not to accidentally add a\n terminal newline.\n
\n \n@@ -316,17 +316,17 @@\n Note that some editors will automatically add a newline for you. In\n Emacs, if you setrequire-final-newline
to t
, it will add the\n final newline automatically.\n \n \n This is Emacs Bug#26672, so you should upgrade to version 25.3 or\n better. Otherwise, a workaround is to inhibit flyspell overlays while\n the snippet is active:\n
\n \n\n Edit the keymaps yas-minor-mode-map
and yas-keymap
as you would\n any other keymap, but use yas-filtered-definition
on the definition\n if you want to respect yas-keymap-disable-hook
:\n
# key:
snippet abbrev# name:
snippet name# condition:
snippet condition# group:
snippet menu grouping# expand-env:
expand environment# binding:
direct keybinding# type:
snippet
or command
# uuid:
unique identifier# contributor:
snippet author# key:
snippet abbrev# name:
snippet name# condition:
snippet condition# group:
snippet menu grouping# expand-env:
expand environment# binding:
direct keybinding# type:
snippet
or command
# uuid:
unique identifier# contributor:
snippet author\n There are some ways you can quickly find a snippet file or create a new one:\n
\n \n\n M-x yas-new-snippet
, key binding: C-c & C-n
\n
\n Creates a new buffer with a template for making a new snippet. The\n-buffer is in snippet-mode
(see below). When you are done editing\n-the new snippet, use C-c C-c
to save it.\n+buffer is in snippet-mode
(see below). When you are done editing\n+the new snippet, use C-c C-c
to save it.\n
\n M-x yas-visit-snippet-file
, key binding: C-c & C-v
\n
\n Prompts you for possible snippet expansions like\n yas-insert-snippet
, but instead of expanding it, takes you directly\n to the snippet definition's file, if it exists.\n
\n-Once you find this file it will be set to snippet-mode
(see ahead)\n+Once you find this file it will be set to snippet-mode
(see ahead)\n and you can start editing your snippet.\n
snippet-mode
major mode snippet-mode
major mode \n There is a major mode snippet-mode
to edit snippets. You can set the\n buffer to this mode with M-x snippet-mode
. It provides reasonably\n useful syntax highlighting.\n
\n@@ -366,15 +366,15 @@\n
\n Prompts for a snippet table (with a default based on snippet's\n major mode) and loads the snippet currently being edited.\n
\n \n\n M-x yas-load-snippet-buffer-and-close
, key binding: C-c C-c
\n-\n+\n
\n Like yas-load-snippet-buffer
, but also saves the snippet and\n calls quit-window
. The destination is decided based on the\n chosen snippet table and snippet collection directly (defaulting to\n the first directory in yas-snippet-dirs
(see Organizing Snippets\n@@ -396,17 +396,17 @@\n There are also snippets for writing snippets: vars
, $f
and $m
\n :-).\n
\n A file defining a snippet generally contains the template to be\n expanded.\n
\n \n\n Optionally, if the file contains a line of # --
, the lines above it\n@@ -429,61 +429,61 @@\n
\n Here's a list of currently supported directives:\n
\n# key:
snippet abbrev# key:
snippet abbrev\n This is the probably the most important directive, it's the\n abbreviation you type to expand a snippet just before hitting the key\n that runs yas-expand
. If you don't specify this,\n the snippet will not be expandable through the trigger mechanism.\n
# name:
snippet name# name:
snippet name\n This is a one-line description of the snippet. It will be displayed in\n the menu. It's a good idea to select a descriptive name for a snippet –\n especially distinguishable among similar snippets.\n
\n \n\n If you omit this name, it will default to the file name the snippet\n was loaded from.\n
\n# condition:
snippet condition# condition:
snippet condition\n This is a piece of Emacs Lisp code. If a snippet has a condition, then\n it will only be expanded when the condition code evaluate to some\n non-nil value.\n
\n \n\n See also yas-buffer-local-condition
in\n Expanding snippets\n
# group:
snippet menu grouping# group:
snippet menu grouping\n When expanding/visiting snippets from the menu-bar menu, snippets for a\n given mode can be grouped into sub-menus. This is useful if one has too\n many snippets for a mode which will make the menu too long.\n
\n \n\n@@ -499,17 +499,17 @@\n # group:
directive. Group can also be nested, e.g.\n control structure.loops
indicates that the snippet is under the loops
\n group which is under the control structure
group.\n
# expand-env:
expand environment# expand-env:
expand environment\n This is another piece of Emacs Lisp code in the form of a let
varlist\n form, i.e. a list of lists assigning values to variables. It can be\n used to override variable values while the snippet is being expanded.\n
\n@@ -539,17 +539,17 @@\n | | | |\n +--+-+--+\n \n
# binding:
direct keybinding# binding:
direct keybinding\n You can use this directive to expand a snippet directly from a normal\n Emacs keybinding. The keybinding will be registered in the Emacs keymap\n named after the major mode the snippet is active for.\n
\n \n\n@@ -570,77 +570,77 @@\n This binding will be recorded in the keymap html-mode-map
. To expand a\n paragraph tag newlines, just press C-u C-c C-c C-m
. Omitting the C-u
\n will expand the paragraph tag without newlines.\n
# type:
snippet
or command
# type:
snippet
or command
\n If the type
directive is set to command
, the body of the snippet\n is interpreted as Lisp code to be evaluated when the snippet is\n triggered.\n
\n If it's snippet
(the default when there is no type
directive), the\n-snippet body will be parsed according to the Template Syntax,\n+snippet body will be parsed according to the Template Syntax,\n described below.\n
# uuid:
unique identifier# uuid:
unique identifier\n This provides to a way to identify a snippet, independent of its name.\n Loading a second snippet file with the same uuid would replace the\n previous snippet.\n
\n# contributor:
snippet author# contributor:
snippet author\n This is optional and has no effect whatsoever on snippet functionality,\n but it looks nice.\n
\n\n The syntax of the snippet template is simple but powerful, very similar\n to TextMate's.\n
\n\n Arbitrary text can be included as the content of a template. They are\n usually interpreted as plain text, except $
and `
. You need to\n use \\
to escape them: \\$
and \\`
. The \\
itself may also needed to be\n escaped as \\\\
sometimes.\n
\n Emacs Lisp code can be embedded inside the template, written inside\n back-quotes (`
). The Lisp forms are evaluated when the snippet is\n being expanded. The evaluation is done in the same buffer as the\n snippet being expanded.\n
\n to \"wrap\" the selected region inside your recently inserted snippet.\n Alternatively, you can also customize the variable\n yas-wrap-around-region
to t
which will do this automatically.\n
\n Please note that the Lisp forms in backquotes should not modify the\n buffer, doing so will trigger a warning. For example, instead of\n doing\n
\n \n\n Tab stops are fields that you can navigate back and forth by TAB
and\n S-TAB
. They are written by $
followed with a number. $0
has the\n special meaning of the exit point of a snippet. That is the last place\n to go when you've traveled all the fields. Here's a typical example:\n
<div$1>\n $0\n </div>\n\n
\n Tab stops can have default values – a.k.a placeholders. The syntax is\n like this:\n
\n \n${N:default value}\n
\n \n They act as the default value for a tab stop. But when you first\n type at a tab stop, the default value will be replaced by your typing.\n-The number can be omitted if you don't want to create mirrors or\n-transformations for this field.\n+The number can be omitted if you don't want to create mirrors or\n+transformations for this field.\n
\n\n We refer to tab stops with placeholders as a field. A field can\n have mirrors. All mirrors get updated whenever you update any field\n text. Here's an example:\n
\n \n\n If the value of an ${n:
-construct starts with and contains $(
,\n then it is interpreted as a mirror for field n
with a\n transformation. The mirror's text content is calculated according to\n this transformation, which is Emacs Lisp code that gets evaluated in\n an environment where the variable yas-text
is bound to the text\n content (string) contained in the field n
. Here's an example for\n@@ -875,17 +875,17 @@\n
\n To keep the example simple, it uses ignore-errors
to suppress errors\n due to incomplete format codes.\n
\n From version 0.6 on, you can also have Lisp transformation inside\n fields. These work mostly like mirror transformations. However, they\n are evaluated when you first enter the field, after each change you\n make to the field and also just before you exit the field.\n
\n \n@@ -922,17 +922,17 @@\n value of the field and sets it its internal modification state to\ntrue
. As a consequence, the auto-deletion behaviour of normal fields\n does not take place. This is by design.\n \n \n As mentioned, the field transformation is invoked just after you enter\n the field, and with some useful variables bound, notably\n yas-modified-p
and yas-moving-away-p
. Because of this feature you\n can place a transformation in the primary field that lets you select\n default values for it.\n
\n The function yas-verify-value
has another neat trick, and makes use\n of yas-moving-away-p
. Try it and see! Also, check out this thread\n
\n From version 0.6 on, you can also have nested placeholders of the type:\n
\n \n<div${1: id=\"${2:some_id}\"}>$0</div>\n\n@@ -1011,17 +1011,17 @@\n By the way,
C-d
will only clear the field if you cursor is at the\n beginning of the field and it hasn't been changed yet. Otherwise, it\n performs the normal Emacs delete-char
command.\n \n \n If yas-indent-line
is not set to 'auto
, it's still possible to\n indent specific lines by adding an indentation marker, $>
, somewhere\n on the line.\n
hippie-expand
hippie-expand
\n Maybe, you'll want some snippets to be expanded in a particular\n mode, or only under certain conditions, or be prompted using\n
\n \n-\n You can use YASnippet to expand snippets in different ways:\n
\n \nyas-minor-mode
is active:\n \n yas-expand
tries to expand a snippet abbrev (also known as\n snippet key) before point. YASnippet also provides a conditional\n binding for this command: the variable yas-maybe-expand
contains a\n special value which, when bound in a keymap, tells Emacs to call\n yas-expand
if and only if there is a snippet abbrev before point.\n If there is no snippet to expand, Emacs will behave as if yas-expand
\n@@ -392,29 +392,29 @@\n
\n When you use yas-global-mode
you can also selectively disable\n YASnippet in some buffers by calling yas-minor-mode
with a negative\n argument in the buffer's mode hook.\n
\n YASnippet used to support a more complicated way of sharing\n keybindings before yas-maybe-expand
was added. This is now\n obsolete.\n
\n The command yas-insert-snippet
lets you insert snippets at point\n for your current major mode. It prompts you for the snippet key\n first, and then for a snippet template if more than one template\n exists for the same key.\n
\n The prompting methods used are again controlled by\n yas-prompt-functions
.\n
\n It's often useful to inject already written text in the middle of a\n snippet. The variable yas-wrap-around-region
when to t substitute\n the region contents into the $0
placeholder of a snippet expanded by\n yas-insert-snippet
. Setting it to a character value (e.g. ?0
)\n will insert the contents of corresponding register.\n
?0
.\n \n \n See the section of the # binding:
directive in\n Writing Snippets.\n
\n See the YASnippet Menu.\n
\nhippie-expand
hippie-expand
\n To integrate with hippie-expand
, just put\n yas-hippie-try-expand
in\n hippie-expand-try-functions-list
. This probably makes more sense\n when placed at the top of the list, but it can be put anywhere you\n prefer.\n
\n Sometimes you might want to expand a snippet directly from your own\n elisp code. You should call yas-expand-snippet
instead of\n yas-expand
in this case. yas-expand-snippet
takes a string in\n snippet template syntax, if you want to expand an existing snippet you\n can use yas-lookup-snippet
to find its contents by name.\n
yas-expand-snippet
and\n yas-lookup-snippet
for more information.\n \n \n YASnippet does quite a bit of filtering to find out which snippets are\n eligible for expanding at the current cursor position.\n
\n \n\n In particular, the following things matter:\n@@ -589,24 +589,24 @@\n Buffer-local yas-buffer-local-condition
variable\n
\n This variable provides finer grained control over what snippets can\n be expanded in the current buffer. For example, the constant\n yas-not-string-or-comment-condition
has a value that disables\n-snippet expansion inside comments or string literals. See the\n+snippet expansion inside comments or string literals. See the\n condition system for more info.\n
\n Consider this scenario: you are an old Emacs hacker. You like the\n abbrev-way and bind yas-expand
to SPC
. However, you don't want\n if
to be expanded as a snippet when you are typing in a comment\n block or a string (e.g. in python-mode
).\n
\n For the full set of possible conditions, see the documentation for\n yas-buffer-local-condition
.\n
\n-The rules outlined above can return more than\n+The rules outlined above can return more than\n one snippet to be expanded at point.\n
\n \n\n When there are multiple candidates, YASnippet will let you select one.\n The UI for selecting multiple candidate can be customized through\n yas-prompt-functions
, which defines your preferred methods of being\n@@ -675,17 +675,17 @@\n
\n Currently there are some alternatives solution with YASnippet.\n
\n\n
\n\n@@ -700,34 +700,34 @@\n
C-n
, C-p
to\n navigate this menu.\n
\n\n You can use functions yas-completing-prompt
for the classic emacs\n completion method or yas-ido-prompt
for a much nicer looking method.\n The best way is to try it. This works in a terminal.\n
dropdown-menu.el
dropdown-menu.el
\n
\n\n@@ -739,17 +739,17 @@\n This works in both window system and terminal and is customizable, you\n can use C-n
, C-p
to navigate, q
to quit and even press 6
as a\n shortcut to select the 6th candidate.\n
\n See the documentation on variable yas-prompt-functions
\n
\n When yas-minor-mode
is active, YASnippet will setup a menu just after\n the \"Buffers\" menu in the menubar.\n
\n
\n\n Invoking \"Load snippets…\" from the menu invokes yas-load-directory
\n and prompts you for a snippet directory hierarchy to load.\n
\n Also useful is the \"Reload everything\" item to invoke yas-reload-all
\n which uncondionally reloads all the snippets directories defined in\n yas-snippet-dirs
and rebuilds the menus.\n
\n YASnippet will list in this section all the loaded snippet definitions\n organized by snippet table name.\n
\n \n\n You can use this section to explore currently loaded snippets. If you\n@@ -349,38 +349,38 @@\n
\n These customizations can also be found in the menu itself, under the\n \"Snippet menu behavior\" submenu.\n
\n\n The \"Indenting\" submenu contains options to control the values of\n yas-indent-line
and yas-also-auto-indent-first-line
. See\n Writing snippets.\n
\n The \"Prompting method\" submenu contains options to control the value of\n yas-prompt-functions
. See Expanding snippets.\n
\n The \"Misc\" submenu contains options to control the values of more\n variables.\n
\nyas-snippet-dirs
.yas-parents
file.yas-make-groups
file.yas-setup.el
file.yas-compiled-snippet.el
file.yas-skip
fileyas-snippet-dirs
.yas-parents
file.yas-make-groups
file.yas-setup.el
file.yas-compiled-snippet.el
file.yas-skip
file\n Snippet collections can be stored in plain text files. They are\n arranged by sub-directories naming snippet tables. These mostly\n name Emacs major mode names.\n
\n \n\n@@ -299,17 +299,17 @@\n The collections are loaded into snippet tables which the\n triggering mechanism (see Expanding Snippets) looks up and\n (hopefully) causes the right snippet to be expanded for you.\n \n
yas-snippet-dirs
yas-snippet-dirs
\n The emacs variable yas-snippet-dirs
tells YASnippet\n which collections to consider. It's used when you activate\n yas-global-mode
or call\n yas-reload-all
interactively.\n
yas-new-snippet
always stores\n snippets in the first collection.\n \n .yas-parents
file.yas-parents
file\n It's very useful to have certain modes share snippets between\n themselves. To do this, choose a mode subdirectory and place a\n .yas-parents
containing a whitespace-separated list of other mode\n names. When you reload those modes become parents of the original\n mode.\n
.yas-make-groups
file.yas-make-groups
file\n If you place an empty plain text file .yas-make-groups
inside one\n of the mode directories, the names of these sub-directories are\n considered groups of snippets and the menu is organized much more\n cleanly:\n
\n Yet another way to create a nice snippet menu is to write into\n .yas-make-groups
a menu definition. TODO\n
.yas-setup.el
file.yas-setup.el
file\n If there is file named .yas-setup.el
in a mode's snippet\n subdirectory, it is loaded along with the snippets. Utility\n functions used by the snippets can be put here.\n
.yas-compiled-snippet.el
file.yas-compiled-snippet.el
file\n You may compile a top-level snippet directory with the\n yas-compile-directory
function, which will create a\n .yas-compiled-snippets.el
file under each mode subdirectory,\n which contains definitions for all snippets in the subdirectory.\n Compilation helps improve loading time.\n
\n Alternatively, you may compile all directories in the list\n yas-snippet-dirs
with the yas-recompile-all
function.\n
.yas-skip
file.yas-skip
file\n A .yas-skip
file in a mode's snippet subdirectory tells YASnippet\n not to load snippets from there.\n
yas-skip-and-clear-or-delete-char
(&optional field
)yas-load-snippet-buffer-and-close
(table
&optional kill
)yas-global-mode
(&optional arg
)yas-next-field
(&optional arg
)yas-describe-table-by-namehash
()yas-exit-all-snippets
()yas-reload-all
(&optional no-jit
interactive
)yas-expand-from-keymap
()yas-abort-snippet
(&optional snippet
)yas-about
()yas-deactivate-extra-mode
(mode
)yas-wrap-around-region
yas-alias-to-yas/prefix-p
yas-triggers-in-field
yas-snippet-dirs
()yas-expand-only-for-last-commands
yas-also-indent-empty-lines
yas-trigger-symbol
yas-choose-keys-first
yas-inhibit-overlay-modification-protection
yas-snippet-revival
yas-also-auto-indent-first-line
yas-text
()yas-substr
(str
pattern
&optional subexp
)yas-lookup-snippet
(name
&optional mode
noerror
)yas-no-prompt
(_prompt
choices
&optional _display-fn
)yas-define-snippets
(mode
snippets
)yas-global-mode-check-buffers
()yas-throw
(text
)yas-temp-buffer-p
(&optional buffer
)yas-verify-value
(possibilities
)yas-global-mode-cmhh
()yas-snippet-mode-buffer-p
()yas-before-expand-snippet-hook
yas-keymap
yas-minor-mode-map
yas-moving-away-p
yas-new-snippet-buffer-name
yas-verbosity
yas-maybe-clear-field
yas-skip-and-clear-or-delete-char
(&optional field
)\n Clears unmodified field if at field start, skips to next tab.\n
\n \n\n Otherwise deletes a character normally by calling delete-char
.\n
yas-load-snippet-buffer-and-close
(table
&optional kill
)\n Load and save the snippet, then quit-window
if saved.\n Loading is performed by yas-load-snippet-buffer
. If the\n snippet is new, ask the user whether (and where) to save it. If\n the snippet already has a file, just save it.\n@@ -434,15 +434,15 @@\n
\n Don't use this from a Lisp program, call yas-load-snippet-buffer
\n and kill-buffer
instead.\n
yas-global-mode
(&optional arg
)\n Toggle Yas minor mode in all buffers.\n With prefix arg
, enable Yas-Global mode if arg
is positive;\n otherwise, disable it. If called from Lisp, enable the mode if\n arg
is omitted or nil.\n@@ -452,125 +452,125 @@\n Yas minor mode is enabled in all buffers where\n yas-minor-mode-on
would do it.\n See yas-minor-mode
for more information on Yas minor mode.\n
yas-next-field
(&optional arg
)\n Navigate to the arg
th next field.\n
\n If there's none, exit the snippet.\n
\nyas-describe-table-by-namehash
()\n Display snippet tables by namehash.\n
\nyas-exit-all-snippets
()\n Exit all snippets.\n
\nyas-expand
(&optional field
)\n Expand a snippet before point. If no snippet\n expansion is possible, defer to yas-fallback-behavior
(which see).\n
\n Optional argument field
is for non-interactive use and is an\n object satisfying yas--field-p
to restrict the expansion to.\n
yas-insert-snippet
(&optional no-condition
)\n Choose a snippet to expand, pop-up a list of choices according\n to yas-prompt-functions
.\n
\n With prefix argument no-condition
, bypass filtering of snippets\n by condition.\n
yas-load-snippet-buffer
(table
&optional interactive
)\n Parse and load current buffer's snippet definition into table
.\n table
is a symbol name passed to yas--table-get-create
. When\n called interactively, prompt for the table name.\n Return the yas--template
object created\n
yas-activate-extra-mode
(mode
)\n Activates the snippets for the given mode
in the buffer.\n
\n The function can be called in the hook of a minor mode to\n activate snippets associated with that mode.\n
\nyas-tryout-snippet
(&optional debug
)\n Test current buffer's snippet template in other buffer.\n debug
is for debugging the YASnippet engine itself.\n
yas-next-field-or-maybe-expand
()\n Try to expand a snippet at a key before point.\n
\n \n\n Otherwise delegate to yas-next-field
.\n
yas-load-directory
(top-level-dir
&optional use-jit
interactive
)\n Load snippets in directory hierarchy top-level-dir
.\n
\n@@ -579,65 +579,65 @@\n \n
\n With prefix argument use-jit
do jit-loading of snippets.\n
yas-new-snippet
(&optional no-template
)\n Pops a new buffer for writing a snippet.\n
\n \n\n Expands a snippet-writing snippet, unless the optional prefix arg\n no-template
is non-nil.\n
yas-compile-directory
(top-level-dir
)\n Create .yas-compiled-snippets.el files under subdirs of top-level-dir
.\n
\n This works by stubbing a few functions, then calling\n yas-load-directory
.\n
yas-minor-mode-on
()\n Turn on YASnippet minor mode.\n
\n \n\n Honour yas-dont-activate-functions
, which see.\n
yas-exit-snippet
(snippet
)\n Goto exit-marker of snippet
.\n
yas-expand-from-trigger-key
(&optional field
)\n Expand a snippet before point.\n
\n \n\n@@ -648,60 +648,60 @@\n
\n Optional argument field
is for non-interactive use and is an\n object satisfying yas--field-p
to restrict the expansion to.\n
yas-describe-tables
(&optional with-nonactive
)\n Display snippets for each table.\n
\nyas-prev-field
()\n Navigate to prev field. If there's none, exit the snippet.\n
\nyas-skip-and-clear-field
(&optional field
)\n Clears unmodified field
if at field start, skips to next tab.\n
yas-direct-keymaps-reload
()\n Force reload the direct keybinding for active snippet tables.\n
\nyas-clear-field
(&optional field
)\n Clears unmodified field
if at field start.\n
yas-minor-mode
(&optional arg
)\n Toggle YASnippet mode.\n
\n \n\n@@ -739,38 +739,38 @@\n C-c & C-v\tyas-visit-snippet-file\n \n \n
yas-visit-snippet-file
()\n Choose a snippet to edit, selection like yas-insert-snippet
.\n
\n Only success if selected snippet was loaded from a file. Put the\n visited file in snippet-mode
.\n
yas-recompile-all
()\n Compile every dir in yas-snippet-dirs
.\n
yas-reload-all
(&optional no-jit
interactive
)\n Reload all snippets and rebuild the YASnippet menu.\n
\n \n\n@@ -782,56 +782,56 @@\n
\n When called interactively, use just-in-time loading when given a\n prefix argument.\n
\nyas-expand-from-keymap
()\n Expand/run snippets from keymaps, possibly falling back to original binding.\n
\nyas-abort-snippet
(&optional snippet
)\n warning: no doc for symbol yas-abort-snippet
\n
yas-about
()\n warning: no doc for symbol yas-about
\n
yas-deactivate-extra-mode
(mode
)\n Deactivates the snippets for the given mode
in the buffer.\n
yas-wrap-around-region
\n What to insert for snippet's $0 field.\n
\n \n\n@@ -839,48 +839,48 @@\n If non-nil insert region contents. This can be overridden on a\n per-snippet basis. A value of cua
is considered equivalent to\n `?0' for backwards compatibility.\n
yas-alias-to-yas/prefix-p
\n If non-nil make aliases for the old style yas/ prefixed symbols.\n It must be set to nil before loading yasnippet to take effect.\n
\nyas-triggers-in-field
\n If non-nil, allow stacked expansions (snippets inside snippets).\n
\n \n\n Otherwise yas-next-field-or-maybe-expand
just moves on to the\n next field\n
yas-snippet-dirs
()\n Return variable yas-snippet-dirs
as list of strings.\n
yas-expand-only-for-last-commands
\n List of last-command
values to restrict tab-triggering to, or nil.\n
\n@@ -894,35 +894,35 @@\n you to wish restrict expansion to only happen when the last\n letter of the snippet tab trigger was typed immediately before\n the trigger key itself.\n
\nyas-also-indent-empty-lines
\n Non-nil means also indent empty lines according to mode.\n
\nyas-keymap-disable-hook
\n The yas-keymap
bindings are disabled if any function in this list returns non-nil.\n This is useful to control whether snippet navigation bindings\n override bindings from other packages (e.g., company-mode
).\n
yas-choose-tables-first
\n If non-nil, and multiple eligible snippet tables, prompts user for tables first.\n
\n \n\n@@ -932,15 +932,15 @@\n \n
\n This affects yas-insert-snippet
, yas-visit-snippet-file
\n
yas-prompt-functions
\n Functions to prompt for keys, templates, etc interactively.\n
\n \n\n@@ -984,15 +984,15 @@\n (signal 'quit \"user quit!\")\n \n
yas-indent-line
\n Controls indenting applied to a recent snippet expansion.\n
\n \n\n@@ -1009,28 +1009,28 @@\n Every other value means don't apply any snippet-side indentation\n after expansion (the manual per-line \"$>\" indentation still\n applies).\n
\nyas-visit-from-menu
yas-good-grace
\n If non-nil, don't raise errors in elisp evaluation.\n
\n \n\n@@ -1044,36 +1044,36 @@\n variable's value is hooks
, a message is output to according to\n yas-verbosity-level
. If this variable's value is t, both are\n active.\n
yas-new-snippet-default
\n Default snippet to use when creating a new snippet.\n If nil, don't use any snippet.\n
\nyas-overlay-priority
\n Priority to use for yasnippets overlays.\n This is useful to control whether snippet navigation bindings\n override keymap
overlay property bindings from other packages.\n
yas-buffer-local-condition
\n Snippet expanding condition.\n
\n \n\n@@ -1134,15 +1134,15 @@\n \t\t '(if (python-syntax-comment-or-string-p)\n \t\t\t'(require-snippet-condition . force-in-comment)\n \t\t t))))\n
\nyas-use-menu
yas-trigger-symbol
\n The text that will be used in menu to represent the trigger.\n
\nyas-choose-keys-first
\n If non-nil, prompt for snippet key first, then for template.\n
\n \n\n@@ -1191,78 +1191,78 @@\n \n
\n This affects yas-insert-snippet
and yas-visit-snippet-file
.\n
yas-inhibit-overlay-modification-protection
\n If nil, changing text outside the active field aborts the snippet.\n This protection is intended to prevent yasnippet from ending up\n in an inconsistent state. However, some packages (e.g., the\n company completion package) may trigger this protection when it\n is not needed. In that case, setting this variable to non-nil\n can be useful.\n
\nyas-snippet-revival
\n Non-nil means re-activate snippet fields after undo/redo.\n
\nyas-also-auto-indent-first-line
\n Non-nil means also auto indent first line according to mode.\n
\n \n\n Naturally this is only valid when yas-indent-line
is auto
.\n
yas-text
()\n Return yas-text
if that exists and is non-empty, else nil.\n
yas-substr
(str
pattern
&optional subexp
)\n Search pattern
in str
and return subexp
th match.\n
\n If found, the content of subexp group subexp
(default 0) is\n returned, or else the original str
will be returned.\n
yas-lookup-snippet
(name
&optional mode
noerror
)\n Get the snippet named name
in mode
's tables.\n
\n@@ -1273,24 +1273,24 @@\n \n
\n Honours yas-buffer-local-condition
.\n
yas-no-prompt
(_prompt
choices
&optional _display-fn
)\n warning: no doc for symbol yas-no-prompt
\n
yas-define-snippets
(mode
snippets
)\n Define snippets
for mode
.\n
\n@@ -1334,91 +1334,91 @@\n
\n You can use yas--parse-template
to return such lists based on\n the current buffers contents.\n
yas-global-mode-check-buffers
()\n warning: no doc for symbol yas-global-mode-check-buffers
\n
yas-default-from-field
(number
)\n warning: no doc for symbol yas-default-from-field
\n
yas-choose-value
(&rest possibilities
)\n Prompt for a string in possibilities
and return it.\n
\n The last element of possibilities
may be a list of strings.\n
yas-unimplemented
(&optional missing-feature
)\n warning: no doc for symbol yas-unimplemented
\n
yas-inside-string
()\n Return non-nil if the point is inside a string according to font-lock.\n
\nyas-auto-next
(&rest body
)\n Automatically advance to next field after eval'ing body
.\n
yas-key-to-value
(alist
)\n warning: no doc for symbol yas-key-to-value
\n
yas-minor-mode-set-explicitly
()\n warning: no doc for symbol yas-minor-mode-set-explicitly
\n
yas-expand-snippet
(snippet
&optional start
end
expand-env
)\n Expand snippet
at current point.\n
\n@@ -1432,89 +1432,89 @@\n snippet
may be a snippet structure (e.g., as returned by\n yas-lookup-snippet
), or just a snippet body (which is a string\n for normal snippets, and a list for command snippets).\n
yas-completing-prompt
(prompt
choices
&optional display-fn
completion-fn
)\n warning: no doc for symbol yas-completing-prompt
\n
yas-maybe-ido-prompt
(prompt
choices
&optional display-fn
)\n warning: no doc for symbol yas-maybe-ido-prompt
\n
yas-completing-read
(&rest args
)\n A snippet-aware version of completing-read
.\n This can be used to query the user for the initial value of a\n snippet field. The arguments are the same as completing-read
.\n
\n (fn prompt collection &optional predicate require-match initial-input hist def inherit-input-method)\n
\nyas-field-value
(number
)\n Get the string for field with number
.\n
\n Use this in primary and mirror transformations to get the text of\n other fields.\n
\nyas-global-mode-enable-in-buffers
()\n warning: no doc for symbol yas-global-mode-enable-in-buffers
\n
yas-ido-prompt
(prompt
choices
&optional display-fn
)\n warning: no doc for symbol yas-ido-prompt
\n
yas-escape-text
(text
)\n Escape text
for snippet.\n
yas-active-snippets
(&optional beg
end
)\n Return a sorted list of active snippets.\n The most recently-inserted snippets are returned first.\n
\n \n@@ -1524,24 +1524,24 @@\n Ifend
is omitted, it defaults to (1+ beg
). If beg
is omitted,\n it defaults to point. A non-nil, non-buffer position beg
is\n equivalent to a range covering the whole buffer.\n \n yas-current-field
()\n Return the currently active field.\n
\nyas-define-menu
(mode
menu
&optional omit-items
)yas-maybe-load-snippet-buffer
()\n Added to after-save-hook
in snippet-mode
.\n
yas-next-field-will-exit-p
(&optional arg
)\n Return non-nil if (yas-next-field arg
) would exit the current snippet.\n
yas-selected-text
()\n Return yas-selected-text
if that exists and is non-empty, else nil.\n
yas-try-key-from-whitespace
(_start-point
)\n As yas-key-syntaxes
element, look for whitespace delimited key.\n
\n A newline will be considered whitespace even if the mode syntax\n marks it as something else (typically comment ender).\n
\nyas-longest-key-from-whitespace
(start-point
)\n As yas-key-syntaxes
element, look for longest key between point and whitespace.\n
\n A newline will be considered whitespace even if the mode syntax\n marks it as something else (typically comment ender).\n
\nyas-x-prompt
(prompt
choices
&optional display-fn
)\n Display choices in a x-window prompt.\n
\nyas-maybe-expand-abbrev-key-filter
(cmd
)\n Return cmd
if there is an expandable snippet at point.\n This function is useful as a `:filter' to a conditional key\n definition.\n
yas-hippie-try-expand
(first-time?
)\n Integrate with hippie expand.\n
\n \n\n Just put this function in hippie-expand-try-functions-list
.\n
yas-filtered-definition
(def
)\n Return a condition key definition.\n The condition will respect the value of yas-keymap-disable-hook
.\n
yas-dropdown-prompt
(_prompt
choices
&optional display-fn
)\n warning: no doc for symbol yas-dropdown-prompt
\n
yas-define-condition-cache
(func
doc
&rest body
)\n Define a function func
with doc doc
and body body
.\n body
is executed at most once every snippet expansion attempt, to check\n expansion conditions.\n
\n It doesn't make any sense to call func
programatically.\n
yas-shortest-key-until-whitespace
(_start-point
)\n Like yas-longest-key-from-whitespace
but take the shortest key.\n
yas-active-keys
()\n Return all active trigger keys for current buffer and point.\n
\nyas-throw
(text
)\n Signal yas-exception
with text
as the reason.\n
yas-temp-buffer-p
(&optional buffer
)\n warning: no doc for symbol yas-temp-buffer-p
\n
yas-verify-value
(possibilities
)\n Verify that the current field value is in possibilities
.\n Otherwise signal yas-exception
.\n
yas-global-mode-cmhh
()\n warning: no doc for symbol yas-global-mode-cmhh
\n
yas-snippet-mode-buffer-p
()\n Return non-nil if current buffer should be in snippet-mode
.\n Meaning it's visiting a file under one of the mode directories in\n yas-snippet-dirs
.\n
yas-before-expand-snippet-hook
\n Hooks to run just before expanding a snippet.\n
\nyas-keymap
\n The active keymap while a snippet expansion is in progress.\n
\nyas-minor-mode-map
\n The keymap used when yas-minor-mode
is active.\n
yas-moving-away-p
\n Non-nil if user is about to exit field.\n
\nyas-new-snippet-buffer-name
\n warning: no doc for symbol yas-new-snippet-buffer-name
\n
yas-verbosity
\n Log level for yas--message
4 means trace most anything, 0 means nothing.\n
yas-not-string-or-comment-condition
\n Disables snippet expansion in strings and comments.\n To use, set yas-buffer-local-condition
to this value.\n
yas-dont-activate-functions
\n Special hook to control which buffers yas-global-mode
affects.\n Functions are called with no argument, and should return non-nil to prevent\n yas-global-mode
from enabling yasnippet in this buffer.\n
yas-minor-mode
with a negative argument directily in the major\n mode's hook.\n \n yas-maybe-expand
\n A conditional key definition.\n This can be used as a key definition in keymaps to bind a key to\n yas-expand
only when there is a snippet available to be\n expanded.\n
yas-snippet-end
\n End position of the last snippet committed.\n
\nyas-key-syntaxes
\n Syntaxes and functions to help look for trigger keys before point.\n
\n \n\n@@ -1926,24 +1926,24 @@\n \n
\n See also Info node (elisp) Syntax Descriptors.\n
\nyas-snippet-beg
\n Beginning position of the last snippet committed.\n
\nyas-after-exit-snippet-hook
\n Hooks to run after a snippet exited.\n
\n \n\n@@ -1961,92 +1961,92 @@\n \n
\n Attention: These hooks are not run when exiting nested/stacked snippet expansion!\n
\nyas-modified-p
\n Non-nil if field has been modified by user or transformation.\n
\nyas-global-mode-hook
\n Hook run after entering or leaving yas-global-mode
.\n No problems result if this variable is not bound.\n add-hook
automatically binds it. (This is true for all hook variables.)\n
yas-after-reload-hook
\n Hooks run after yas-reload-all
.\n
yas-minor-mode-hook
\n Hook run when yas-minor-mode
is turned on.\n
yas-minor-mode-major-mode
\n warning: no doc for symbol yas-minor-mode-major-mode
\n
yas-global-mode-buffers
\n warning: no doc for symbol yas-global-mode-buffers
\n
yas-maybe-skip-and-clear-field
\n A conditional key definition.\n This can be used as a key definition in keymaps to bind a key to\n yas-skip-and-clear-field
only when at the beginning of an\n unmodified snippet field.\n
yas-maybe-expand-from-keymap
\n warning: no doc for symbol yas-maybe-expand-from-keymap
\n
yas-maybe-clear-field
\n A conditional key definition.\n This can be used as a key definition in keymaps to bind a key to\n yas-clear-field
only when at the beginning of an\n unmodified snippet field.\n"}]}]}]}]}