{"diffoscope-json-version": 1, "source1": "/srv/reproducible-results/rbuild-debian/r-b-build.cVLk4mkB/b1/yasnippet_0.14.0+git20200603.5cbdbf0d-1_amd64.changes", "source2": "/srv/reproducible-results/rbuild-debian/r-b-build.cVLk4mkB/b2/yasnippet_0.14.0+git20200603.5cbdbf0d-1_amd64.changes", "unified_diff": null, "details": [{"source1": "Files", "source2": "Files", "unified_diff": "@@ -1,3 +1,3 @@\n \n- 8b63dd47aed6fc8b6e2502009a295f2e 532872 lisp optional elpa-yasnippet_0.14.0+git20200603.5cbdbf0d-1_all.deb\n+ abaefde4abd7435b6f015f70f2890f18 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 1948 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 1952 2020-11-05 15:31:38.000000 control.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

Frequently Asked Questions

\n
\n

Table of Contents

\n \n
\n \n \n-
\n-

Why are my snippet abbrev keys triggering when I don't want them too?

\n-
\n+
\n+

Why are my snippet abbrev keys triggering when I don't want them too?

\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
\n
\n \n-
\n-

Why aren't my snippet abbrev keys triggering when I want them too?

\n-
\n+
\n+

Why aren't my snippet abbrev keys triggering when I want them too?

\n+
\n

\n See previous question, but in reverse.\n

\n
\n
\n \n-
\n-

Why is there an extra newline?

\n-
\n+
\n+

Why is there an extra newline?

\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 set require-final-newline to t, it will add the\n final newline automatically.\n

\n
\n
\n \n-
\n-

Why doesn't TAB navigation work with flyspell

\n-
\n+
\n+

Why doesn't TAB navigation work with flyspell

\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@@ -335,17 +335,17 @@\n (and yas-active-field-overlay\n (overlay-buffer yas-active-field-overlay))))\n \n
\n
\n
\n \n-
\n-

How do I use alternative keys, i.e. not TAB?

\n-
\n+
\n+

How do I use alternative keys, i.e. not TAB?

\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

\n \n
\n@@ -363,17 +363,17 @@\n (define-key yas-keymap (kbd \"<new-prev-field-key>\")\n (yas-filtered-definition 'yas-prev-field))\n \n
\n
\n
\n \n-
\n-

How do I define an abbrev key containing characters not supported by the filesystem?

\n-
\n+
\n+

How do I define an abbrev key containing characters not supported by the filesystem?

\n+
\n
    \n
  • Note: This question applies if you're still defining snippets\n whose key is the filename. This is behavior still provided by\n version 0.6 for backward compatibilty, but is somewhat\n deprecated…
  • \n
\n \n"}, {"source1": "./usr/share/doc/elpa-yasnippet/html/snippet-development.html", "source2": "./usr/share/doc/elpa-yasnippet/html/snippet-development.html", "unified_diff": "@@ -260,98 +260,98 @@\n
\n
\n

Writing snippets

\n \n \n-
\n-

Snippet development

\n-
\n-
\n-
\n-

Quickly finding snippets

\n-
\n+
\n+

Snippet development

\n+
\n+
\n+
\n+

Quickly finding snippets

\n+
\n

\n There are some ways you can quickly find a snippet file or create a new one:\n

\n \n
    \n
  • \n M-x yas-new-snippet, key binding: C-c & C-n\n

    \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 \n
  • \n M-x yas-visit-snippet-file, key binding: C-c & C-v\n

    \n \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
\n \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

\n
\n
\n \n-
\n-

Using the snippet-mode major mode

\n-
\n+
\n+

Using the snippet-mode major mode

\n+
\n

\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 \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 \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
  • \n
    \n
    \n \n-
    \n-

    File content

    \n-
    \n+
    \n+

    File content

    \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 \n

    \n Here's a list of currently supported directives:\n

    \n
    \n \n-
    \n-

    # key: snippet abbrev

    \n-
    \n+
    \n+

    # key: snippet abbrev

    \n+
    \n

    \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

    \n
    \n
    \n \n-
    \n-

    # name: snippet name

    \n-
    \n+
    \n+

    # name: snippet name

    \n+
    \n

    \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
    \n
    \n \n-
    \n-

    # condition: snippet condition

    \n-
    \n+
    \n+

    # condition: snippet condition

    \n+
    \n

    \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

    \n
    \n
    \n \n-
    \n-

    # group: snippet menu grouping

    \n-
    \n+
    \n+

    # group: snippet menu grouping

    \n+
    \n

    \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

    \n
    \n
    \n \n-
    \n-

    # expand-env: expand environment

    \n-
    \n+
    \n+

    # expand-env: expand environment

    \n+
    \n

    \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 \n

    \n@@ -539,17 +539,17 @@\n | | | |\n +--+-+--+\n \n

    \n
    \n
    \n \n-
    \n-

    # binding: direct keybinding

    \n-
    \n+
    \n+

    # binding: direct keybinding

    \n+
    \n

    \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

    \n
    \n
    \n \n-
    \n-

    # type: snippet or command

    \n-
    \n+
    \n+

    # type: snippet or command

    \n+
    \n

    \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 \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

    \n
    \n
    \n \n-
    \n-

    # uuid: unique identifier

    \n-
    \n+
    \n+

    # uuid: unique identifier

    \n+
    \n

    \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
    \n
    \n \n-
    \n-

    # contributor: snippet author

    \n-
    \n+
    \n+

    # contributor: snippet author

    \n+
    \n

    \n This is optional and has no effect whatsoever on snippet functionality,\n but it looks nice.\n

    \n
    \n
    \n
    \n \n-
    \n-

    Template Syntax

    \n-
    \n+
    \n+

    Template Syntax

    \n+
    \n

    \n The syntax of the snippet template is simple but powerful, very similar\n to TextMate's.\n

    \n
    \n \n-
    \n-

    Plain Text

    \n-
    \n+
    \n+

    Plain Text

    \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
    \n
    \n \n-
    \n-

    Embedded Emacs Lisp code

    \n-
    \n+
    \n+

    Embedded Emacs Lisp code

    \n+
    \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 \n@@ -675,17 +675,17 @@\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
    \n \n-
    \n-

    Note: backquote expressions should not modify the buffer

    \n-
    \n+
    \n+

    Note: backquote expressions should not modify the buffer

    \n+
    \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@@ -709,17 +709,17 @@\n \n
    \n
    \n
    \n
    \n \n \n-
    \n-

    Tab stop fields

    \n-
    \n+
    \n+

    Tab stop fields

    \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

    \n \n@@ -727,39 +727,39 @@\n
    <div$1>\n     $0\n </div>\n 
    \n
    \n
    \n
    \n-
    \n-

    Placeholder fields

    \n-
    \n+
    \n+

    Placeholder fields

    \n+
    \n

    \n Tab stops can have default values – a.k.a placeholders. The syntax is\n like this:\n

    \n \n
    \n
    ${N:default value}\n 
    \n
    \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
    \n \n-
    \n-

    Mirrors

    \n-
    \n+
    \n+

    Mirrors

    \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@@ -779,17 +779,17 @@\n The tab stops with the same number to the field act as its mirrors. If\n none of the tab stops have an initial value, the first one is selected as\n the field and the others are its mirrors.\n

    \n
    \n
    \n \n-
    \n-

    Mirrors with transformations

    \n-
    \n+
    \n+

    Mirrors with transformations

    \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
    \n
    \n \n-
    \n-

    Fields with transformations

    \n-
    \n+
    \n+

    Fields with transformations

    \n+
    \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\n true. As a consequence, the auto-deletion behaviour of normal fields\n does not take place. This is by design.\n

    \n
    \n
    \n \n-
    \n-

    Choosing fields value from a list and other tricks

    \n-
    \n+
    \n+

    Choosing fields value from a list and other tricks

    \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@@ -983,17 +983,17 @@\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
    \n
    \n \n-
    \n-

    Nested placeholder fields

    \n-
    \n+
    \n+

    Nested placeholder fields

    \n+
    \n

    \n From version 0.6 on, you can also have nested placeholders of the type:\n

    \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
    \n \n-
    \n-

    Indentation markers

    \n-
    \n+
    \n+

    Indentation markers

    \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

    \n
    \n
    \n"}, {"source1": "./usr/share/doc/elpa-yasnippet/html/snippet-expansion.html", "source2": "./usr/share/doc/elpa-yasnippet/html/snippet-expansion.html", "unified_diff": "@@ -260,42 +260,42 @@\n
    \n
    \n

    Expanding snippets

    \n \n@@ -304,17 +304,17 @@\n

    \n \n

    \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-

    Triggering expansion

    \n-
    \n+
    \n+

    Triggering expansion

    \n+
    \n

    \n You can use YASnippet to expand snippets in different ways:\n

    \n \n
      \n
    • When yas-minor-mode is active:\n
        \n@@ -334,17 +334,17 @@\n
      • Use m2m's excellent auto-complete\n TODO: example for this
      • \n \n
      • Expanding from emacs-lisp code
      • \n
      \n
    \n \n-
    \n-

    Trigger key

    \n-
    \n+
    \n+

    Trigger key

    \n+
    \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
    \n \n-
    \n-

    Fallback behaviour

    \n-
    \n+
    \n+

    Fallback behaviour

    \n+
    \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
    \n
    \n
    \n \n-
    \n-

    Insert at point

    \n-
    \n+
    \n+

    Insert at point

    \n+
    \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 \n@@ -426,17 +426,17 @@\n \n

    \n The prompting methods used are again controlled by\n yas-prompt-functions.\n

    \n
    \n \n-
    \n-

    Inserting region or register contents into snippet

    \n-
    \n+
    \n+

    Inserting region or register contents into snippet

    \n+
    \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

    \n@@ -447,49 +447,49 @@\n turned on. This setting is still supported for backwards\n compatibility, but is now entirely equivalent to ?0.\n

    \n
    \n
    \n
    \n \n-
    \n-

    Snippet keybinding

    \n-
    \n+
    \n+

    Snippet keybinding

    \n+
    \n

    \n See the section of the # binding: directive in\n Writing Snippets.\n

    \n
    \n
    \n \n-
    \n-

    Expanding from the menu

    \n-
    \n+
    \n+

    Expanding from the menu

    \n+
    \n

    \n See the YASnippet Menu.\n

    \n
    \n
    \n \n-
    \n-

    Expanding with hippie-expand

    \n-
    \n+
    \n+

    Expanding with hippie-expand

    \n+
    \n

    \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
    \n
    \n \n-
    \n-

    Expanding from emacs-lisp code

    \n-
    \n+
    \n+

    Expanding from emacs-lisp code

    \n+
    \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

    \n@@ -510,21 +510,21 @@\n See the internal documentation on yas-expand-snippet and\n yas-lookup-snippet for more information.\n

    \n
    \n
    \n
    \n \n-
    \n-

    Controlling expansion

    \n-
    \n-
    \n-
    \n-

    Eligible snippets

    \n-
    \n+
    \n+

    Controlling expansion

    \n+
    \n+
    \n+
    \n+

    Eligible snippets

    \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 \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 \n
    \n
    \n \n-
    \n-

    The condition system

    \n-
    \n+
    \n+

    The condition system

    \n+
    \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 \n@@ -644,19 +644,19 @@\n

    \n For the full set of possible conditions, see the documentation for\n yas-buffer-local-condition.\n

    \n
    \n
    \n \n-
    \n-

    Multiples snippet with the same key

    \n-
    \n+
    \n+

    Multiples snippet with the same key

    \n+
    \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 \n

    \n Currently there are some alternatives solution with YASnippet.\n

    \n
    \n \n-
    \n-

    Use the X window system

    \n-
    \n+
    \n+

    Use the X window system

    \n+
    \n \n
    \n

    \"x-menu.png\"\n

    \n
    \n \n

    \n@@ -700,34 +700,34 @@\n

  • Your window system may or may not allow to you use C-n, C-p to\n navigate this menu.
  • \n
  • This function can't be used when in a terminal.
  • \n \n
    \n
    \n \n-
    \n-

    Minibuffer prompting

    \n-
    \n+
    \n+

    Minibuffer prompting

    \n+
    \n \n
    \n

    \"ido-menu.png\"\n

    \n
    \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

    \n
    \n
    \n \n-
    \n-

    Use dropdown-menu.el

    \n-
    \n+
    \n+

    Use dropdown-menu.el

    \n+
    \n \n
    \n

    \"dropdown-menu.png\"\n

    \n
    \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
    \n
    \n \n-
    \n-

    Roll your own

    \n-
    \n+
    \n+

    Roll your own

    \n+
    \n

    \n See the documentation on variable yas-prompt-functions\n

    \n
    \n
    \n
    \n
    \n"}, {"source1": "./usr/share/doc/elpa-yasnippet/html/snippet-menu.html", "source2": "./usr/share/doc/elpa-yasnippet/html/snippet-menu.html", "unified_diff": "@@ -260,19 +260,19 @@\n
    \n
    \n

    YASnippet menu

    \n \n

    \n When yas-minor-mode is active, YASnippet will setup a menu just after\n the \"Buffers\" menu in the menubar.\n

    \n@@ -295,33 +295,33 @@\n \n \n
    \n

    \"menu-1.png\"\n

    \n
    \n \n-
    \n-

    Loading snippets from menu

    \n-
    \n+
    \n+

    Loading snippets from menu

    \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 \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
    \n
    \n \n-
    \n-

    Snippet menu behavior

    \n-
    \n+
    \n+

    Snippet menu behavior

    \n+
    \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
    \n \n-
    \n-

    Controlling indenting

    \n-
    \n+
    \n+

    Controlling indenting

    \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
    \n
    \n \n-
    \n-

    Prompting method

    \n-
    \n+
    \n+

    Prompting method

    \n+
    \n

    \n The \"Prompting method\" submenu contains options to control the value of\n yas-prompt-functions. See Expanding snippets.\n

    \n
    \n
    \n \n-
    \n-

    Misc

    \n-
    \n+
    \n+

    Misc

    \n+
    \n

    \n The \"Misc\" submenu contains options to control the values of more\n variables.\n

    \n
    \n
    \n
    \n"}, {"source1": "./usr/share/doc/elpa-yasnippet/html/snippet-organization.html", "source2": "./usr/share/doc/elpa-yasnippet/html/snippet-organization.html", "unified_diff": "@@ -260,28 +260,28 @@\n
    \n
    \n

    Organizing snippets

    \n \n \n-
    \n-

    Basic structure

    \n-
    \n+
    \n+

    Basic structure

    \n+
    \n

    \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
    \n
    \n \n-
    \n-

    Setting up yas-snippet-dirs

    \n-
    \n+
    \n+

    Setting up yas-snippet-dirs

    \n+
    \n

    \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

    \n \n@@ -343,17 +343,17 @@\n Collections appearing earlier in the list override snippets with same names\n appearing in collections later in the list. yas-new-snippet always stores\n snippets in the first collection.\n

    \n
    \n
    \n \n-
    \n-

    The .yas-parents file

    \n-
    \n+
    \n+

    The .yas-parents file

    \n+
    \n

    \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

    \n@@ -373,17 +373,17 @@\n |-- email\n `-- time\n \n
    \n
    \n \n \n-
    \n-

    TODO The .yas-make-groups file

    \n-
    \n+
    \n+

    TODO The .yas-make-groups file

    \n+
    \n

    \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 \n@@ -417,28 +417,28 @@\n

    \n Yet another way to create a nice snippet menu is to write into\n .yas-make-groups a menu definition. TODO\n

    \n
    \n
    \n \n-
    \n-

    The .yas-setup.el file

    \n-
    \n+
    \n+

    The .yas-setup.el file

    \n+
    \n

    \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

    \n
    \n
    \n \n-
    \n-

    The .yas-compiled-snippet.el file

    \n-
    \n+
    \n+

    The .yas-compiled-snippet.el file

    \n+
    \n

    \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@@ -446,17 +446,17 @@\n

    \n Alternatively, you may compile all directories in the list\n yas-snippet-dirs with the yas-recompile-all function.\n

    \n
    \n
    \n \n-
    \n-

    The .yas-skip file

    \n-
    \n+
    \n+

    The .yas-skip file

    \n+
    \n

    \n A .yas-skip file in a mode's snippet subdirectory tells YASnippet\n not to load snippets from there.\n

    \n
    \n
    \n
    \n"}, {"source1": "./usr/share/doc/elpa-yasnippet/html/snippet-reference.html", "source2": "./usr/share/doc/elpa-yasnippet/html/snippet-reference.html", "unified_diff": "@@ -260,15 +260,15 @@\n
    \n
    \n

    Reference

    \n
    \n

    Table of Contents

    \n
    \n \n
    \n
    \n \n-
    \n-

    Interactive functions

    \n-
    \n+
    \n+

    Interactive functions

    \n+
    \n
    \n-
    \n+
    \n

    yas-load-snippet-buffer-and-close (table &optional kill)

    \n
    \n

    \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@@ -421,15 +421,15 @@\n

    \n Don't use this from a Lisp program, call yas-load-snippet-buffer\n and kill-buffer instead.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-expand-from-trigger-key (&optional field)

    \n
    \n

    \n Expand a snippet before point.\n

    \n \n

    \n@@ -440,37 +440,37 @@\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

    \n
    \n
    \n \n-
    \n+
    \n

    yas-skip-and-clear-or-delete-char (&optional field)

    \n
    \n

    \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

    \n
    \n
    \n \n-
    \n+
    \n

    yas-clear-field (&optional field)

    \n
    \n

    \n Clears unmodified field if at field start.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-global-mode (&optional arg)

    \n
    \n

    \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@@ -480,132 +480,132 @@\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

    \n
    \n
    \n \n-
    \n+
    \n

    yas-recompile-all ()

    \n
    \n

    \n Compile every dir in yas-snippet-dirs.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-visit-snippet-file ()

    \n
    \n

    \n Choose a snippet to edit, selection like yas-insert-snippet.\n

    \n \n

    \n Only success if selected snippet was loaded from a file. Put the\n visited file in snippet-mode.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-deactivate-extra-mode (mode)

    \n
    \n

    \n Deactivates the snippets for the given mode in the buffer.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-prev-field ()

    \n
    \n

    \n Navigate to prev field. If there's none, exit the snippet.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-load-snippet-buffer (table &optional interactive)

    \n
    \n

    \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

    \n
    \n
    \n \n-
    \n+
    \n

    yas-exit-all-snippets ()

    \n
    \n

    \n Exit all snippets.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-next-field (&optional arg)

    \n
    \n

    \n Navigate to the argth next field.\n

    \n \n

    \n If there's none, exit the snippet.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-abort-snippet (&optional snippet)

    \n
    \n

    \n warning: no doc for symbol yas-abort-snippet\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-describe-tables (&optional with-nonactive)

    \n
    \n

    \n Display snippets for each table.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-expand-from-keymap ()

    \n
    \n

    \n Expand/run snippets from keymaps, possibly falling back to original binding.\n

    \n
    \n
    \n \n \n-
    \n+
    \n

    yas-new-snippet (&optional no-template)

    \n
    \n

    \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

    \n
    \n
    \n \n-
    \n+
    \n

    yas-reload-all (&optional no-jit interactive)

    \n
    \n

    \n Reload all snippets and rebuild the YASnippet menu.\n

    \n \n

    \n@@ -617,72 +617,72 @@\n

    \n When called interactively, use just-in-time loading when given a\n prefix argument.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-next-field-or-maybe-expand ()

    \n
    \n

    \n Try to expand a snippet at a key before point.\n

    \n \n

    \n Otherwise delegate to yas-next-field.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-activate-extra-mode (mode)

    \n
    \n

    \n Activates the snippets for the given mode in the buffer.\n

    \n \n

    \n The function can be called in the hook of a minor mode to\n activate snippets associated with that mode.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-insert-snippet (&optional no-condition)

    \n
    \n

    \n Choose a snippet to expand, pop-up a list of choices according\n to yas-prompt-functions.\n

    \n \n

    \n With prefix argument no-condition, bypass filtering of snippets\n by condition.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-expand (&optional field)

    \n
    \n

    \n Expand a snippet before point. If no snippet\n expansion is possible, defer to yas-fallback-behavior (which see).\n

    \n \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

    \n
    \n
    \n \n-
    \n+
    \n

    yas-minor-mode (&optional arg)

    \n
    \n

    \n Toggle YASnippet mode.\n

    \n \n

    \n@@ -720,78 +720,78 @@\n C-c & C-v\tyas-visit-snippet-file\n \n \n

    \n
    \n \n \n-
    \n+
    \n

    yas-direct-keymaps-reload ()

    \n
    \n

    \n Force reload the direct keybinding for active snippet tables.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-exit-snippet (snippet)

    \n
    \n

    \n Goto exit-marker of snippet.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-about ()

    \n
    \n

    \n warning: no doc for symbol yas-about\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-minor-mode-on ()

    \n
    \n

    \n Turn on YASnippet minor mode.\n

    \n \n

    \n Honour yas-dont-activate-functions, which see.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-skip-and-clear-field (&optional field)

    \n
    \n

    \n Clears unmodified field if at field start, skips to next tab.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-compile-directory (top-level-dir)

    \n
    \n

    \n Create .yas-compiled-snippets.el files under subdirs of top-level-dir.\n

    \n \n

    \n This works by stubbing a few functions, then calling\n yas-load-directory.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-load-directory (top-level-dir &optional use-jit interactive)

    \n
    \n

    \n Load snippets in directory hierarchy top-level-dir.\n

    \n \n

    \n@@ -800,38 +800,38 @@\n \n

    \n With prefix argument use-jit do jit-loading of snippets.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-describe-table-by-namehash ()

    \n
    \n

    \n Display snippet tables by namehash.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-tryout-snippet (&optional debug)

    \n
    \n

    \n Test current buffer's snippet template in other buffer.\n debug is for debugging the YASnippet engine itself.\n

    \n
    \n
    \n
    \n-
    \n-

    Customization variables

    \n-
    \n+
    \n+

    Customization variables

    \n+
    \n
    \n-
    \n+
    \n

    yas-expand-only-for-last-commands

    \n
    \n

    \n List of last-command values to restrict tab-triggering to, or nil.\n

    \n \n

    \n@@ -845,15 +845,15 @@\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

    \n
    \n
    \n \n-
    \n+
    \n

    yas-wrap-around-region

    \n
    \n

    \n What to insert for snippet's $0 field.\n

    \n \n

    \n@@ -861,25 +861,25 @@\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

    \n
    \n
    \n \n-
    \n+
    \n

    yas-new-snippet-default

    \n
    \n

    \n Default snippet to use when creating a new snippet.\n If nil, don't use any snippet.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-choose-keys-first

    \n
    \n

    \n If non-nil, prompt for snippet key first, then for template.\n

    \n \n

    \n@@ -888,29 +888,29 @@\n \n

    \n This affects yas-insert-snippet and yas-visit-snippet-file.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-triggers-in-field

    \n
    \n

    \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

    \n
    \n
    \n \n-
    \n+
    \n

    yas-use-menu

    \n
    \n

    \n Display a YASnippet menu in the menu bar.\n

    \n \n

    \n@@ -933,24 +933,24 @@\n \n

    \n Any other non-nil value, every submenu is listed.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-snippet-dirs ()

    \n
    \n

    \n Return variable yas-snippet-dirs as list of strings.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-buffer-local-condition

    \n
    \n

    \n Snippet expanding condition.\n

    \n \n

    \n@@ -1011,15 +1011,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

    \n
    \n
    \n \n-
    \n+
    \n

    yas-choose-tables-first

    \n
    \n

    \n If non-nil, and multiple eligible snippet tables, prompts user for tables first.\n

    \n \n

    \n@@ -1029,35 +1029,35 @@\n \n

    \n This affects yas-insert-snippet, yas-visit-snippet-file\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-overlay-priority

    \n
    \n

    \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

    \n
    \n
    \n \n-
    \n+
    \n

    yas-snippet-revival

    \n
    \n

    \n Non-nil means re-activate snippet fields after undo/redo.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-good-grace

    \n
    \n

    \n If non-nil, don't raise errors in elisp evaluation.\n

    \n \n

    \n@@ -1071,39 +1071,39 @@\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

    \n
    \n
    \n \n-
    \n+
    \n

    yas-visit-from-menu

    \n
    \n

    \n If non-nil visit snippets's files from menu, instead of expanding them.\n

    \n \n

    \n This can only work when snippets are loaded from files.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-keymap-disable-hook

    \n
    \n

    \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

    \n
    \n
    \n \n-
    \n+
    \n

    yas-prompt-functions

    \n
    \n

    \n Functions to prompt for keys, templates, etc interactively.\n

    \n \n

    \n@@ -1147,46 +1147,46 @@\n (signal 'quit \"user quit!\")\n \n

    \n
    \n
    \n \n \n-
    \n+
    \n

    yas-trigger-symbol

    \n
    \n

    \n The text that will be used in menu to represent the trigger.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-also-indent-empty-lines

    \n
    \n

    \n Non-nil means also indent empty lines according to mode.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-also-auto-indent-first-line

    \n
    \n

    \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

    \n
    \n
    \n \n-
    \n+
    \n

    yas-indent-line

    \n
    \n

    \n Controls indenting applied to a recent snippet expansion.\n

    \n \n

    \n@@ -1203,43 +1203,43 @@\n Every other value means don't apply any snippet-side indentation\n after expansion (the manual per-line \"$>\" indentation still\n applies).\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-alias-to-yas/prefix-p

    \n
    \n

    \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

    \n
    \n
    \n \n-
    \n+
    \n

    yas-inhibit-overlay-modification-protection

    \n
    \n

    \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

    \n
    \n
    \n
    \n-
    \n-

    Useful functions

    \n-
    \n+
    \n+

    Useful functions

    \n+
    \n
    \n-
    \n+
    \n

    yas-expand-snippet (snippet &optional start end expand-env)

    \n
    \n

    \n Expand snippet at current point.\n

    \n \n

    \n@@ -1253,15 +1253,15 @@\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

    \n
    \n
    \n \n-
    \n+
    \n

    yas-define-snippets (mode snippets)

    \n
    \n

    \n Define snippets for mode.\n

    \n \n

    \n@@ -1305,44 +1305,44 @@\n

    \n You can use yas--parse-template to return such lists based on\n the current buffers contents.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-completing-prompt (prompt choices &optional display-fn completion-fn)

    \n
    \n

    \n warning: no doc for symbol yas-completing-prompt\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-maybe-expand-abbrev-key-filter (cmd)

    \n
    \n

    \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

    \n
    \n
    \n \n-
    \n+
    \n

    yas-inside-string ()

    \n
    \n

    \n Return non-nil if the point is inside a string according to font-lock.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-lookup-snippet (name &optional mode noerror)

    \n
    \n

    \n Get the snippet named name in mode's tables.\n

    \n \n

    \n@@ -1353,231 +1353,231 @@\n \n

    \n Honours yas-buffer-local-condition.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-x-prompt (prompt choices &optional display-fn)

    \n
    \n

    \n Display choices in a x-window prompt.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-global-mode-enable-in-buffers ()

    \n
    \n

    \n warning: no doc for symbol yas-global-mode-enable-in-buffers\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-selected-text ()

    \n
    \n

    \n Return yas-selected-text if that exists and is non-empty, else nil.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-field-value (number)

    \n
    \n

    \n Get the string for field with number.\n

    \n \n

    \n Use this in primary and mirror transformations to get the text of\n other fields.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-global-mode-cmhh ()

    \n
    \n

    \n warning: no doc for symbol yas-global-mode-cmhh\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-temp-buffer-p (&optional buffer)

    \n
    \n

    \n warning: no doc for symbol yas-temp-buffer-p\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-auto-next (&rest body)

    \n
    \n

    \n Automatically advance to next field after eval'ing body.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-escape-text (text)

    \n
    \n

    \n Escape text for snippet.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-dropdown-prompt (_prompt choices &optional display-fn)

    \n
    \n

    \n warning: no doc for symbol yas-dropdown-prompt\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-shortest-key-until-whitespace (_start-point)

    \n
    \n

    \n Like yas-longest-key-from-whitespace but take the shortest key.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-substr (str pattern &optional subexp)

    \n
    \n

    \n Search pattern in str and return subexpth match.\n

    \n \n

    \n If found, the content of subexp group subexp (default 0) is\n returned, or else the original str will be returned.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-ido-prompt (prompt choices &optional display-fn)

    \n
    \n

    \n warning: no doc for symbol yas-ido-prompt\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-maybe-ido-prompt (prompt choices &optional display-fn)

    \n
    \n

    \n warning: no doc for symbol yas-maybe-ido-prompt\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-snippet-mode-buffer-p ()

    \n
    \n

    \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

    \n
    \n
    \n \n-
    \n+
    \n

    yas-no-prompt (_prompt choices &optional _display-fn)

    \n
    \n

    \n warning: no doc for symbol yas-no-prompt\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-filtered-definition (def)

    \n
    \n

    \n Return a condition key definition.\n The condition will respect the value of yas-keymap-disable-hook.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-longest-key-from-whitespace (start-point)

    \n
    \n

    \n As yas-key-syntaxes element, look for longest key between point and whitespace.\n

    \n \n

    \n A newline will be considered whitespace even if the mode syntax\n marks it as something else (typically comment ender).\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-try-key-from-whitespace (_start-point)

    \n
    \n

    \n As yas-key-syntaxes element, look for whitespace delimited key.\n

    \n \n

    \n A newline will be considered whitespace even if the mode syntax\n marks it as something else (typically comment ender).\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-choose-value (&rest possibilities)

    \n
    \n

    \n Prompt for a string in possibilities and return it.\n

    \n \n

    \n The last element of possibilities may be a list of strings.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-global-mode-check-buffers ()

    \n
    \n

    \n warning: no doc for symbol yas-global-mode-check-buffers\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-minor-mode-set-explicitly ()

    \n
    \n

    \n warning: no doc for symbol yas-minor-mode-set-explicitly\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-define-menu (mode menu &optional omit-items)

    \n
    \n

    \n Define a snippet menu for mode according to menu, omitting omit-items.\n

    \n \n

    \n@@ -1599,75 +1599,75 @@\n

    \n omit-items is a list of snippet uuids that will always be\n omitted from mode's menu, even if they're manually loaded.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-current-field ()

    \n
    \n

    \n Return the currently active field.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-unimplemented (&optional missing-feature)

    \n
    \n

    \n warning: no doc for symbol yas-unimplemented\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-define-condition-cache (func doc &rest body)

    \n
    \n

    \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 \n

    \n It doesn't make any sense to call func programatically.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-active-keys ()

    \n
    \n

    \n Return all active trigger keys for current buffer and point.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-text ()

    \n
    \n

    \n Return yas-text if that exists and is non-empty, else nil.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-next-field-will-exit-p (&optional arg)

    \n
    \n

    \n Return non-nil if (yas-next-field arg) would exit the current snippet.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-active-snippets (&optional beg end)

    \n
    \n

    \n Return a sorted list of active snippets.\n The most recently-inserted snippets are returned first.\n

    \n \n@@ -1677,93 +1677,93 @@\n If end 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
    \n
    \n \n-
    \n+
    \n

    yas-verify-value (possibilities)

    \n
    \n

    \n Verify that the current field value is in possibilities.\n Otherwise signal yas-exception.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-completing-read (&rest args)

    \n
    \n

    \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 \n

    \n (fn prompt collection &optional predicate require-match initial-input hist def inherit-input-method)\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-default-from-field (number)

    \n
    \n

    \n warning: no doc for symbol yas-default-from-field\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-key-to-value (alist)

    \n
    \n

    \n warning: no doc for symbol yas-key-to-value\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-throw (text)

    \n
    \n

    \n Signal yas-exception with text as the reason.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-hippie-try-expand (first-time?)

    \n
    \n

    \n Integrate with hippie expand.\n

    \n \n

    \n Just put this function in hippie-expand-try-functions-list.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-maybe-load-snippet-buffer ()

    \n
    \n

    \n Added to after-save-hook in snippet-mode.\n

    \n
    \n
    \n
    \n-
    \n-

    Useful variables

    \n-
    \n+
    \n+

    Useful variables

    \n+
    \n
    \n-
    \n+
    \n

    yas-key-syntaxes

    \n
    \n

    \n Syntaxes and functions to help look for trigger keys before point.\n

    \n \n

    \n@@ -1815,24 +1815,24 @@\n \n

    \n See also Info node (elisp) Syntax Descriptors.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-modified-p

    \n
    \n

    \n Non-nil if field has been modified by user or transformation.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-dont-activate-functions

    \n
    \n

    \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

    \n@@ -1850,94 +1850,94 @@\n per-mode exceptions to the \"global\" activation behaviour, call\n yas-minor-mode with a negative argument directily in the major\n mode's hook.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-maybe-clear-field

    \n
    \n

    \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

    \n
    \n
    \n \n-
    \n+
    \n

    yas-before-expand-snippet-hook

    \n
    \n

    \n Hooks to run just before expanding a snippet.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-maybe-skip-and-clear-field

    \n
    \n

    \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

    \n
    \n
    \n \n-
    \n+
    \n

    yas-keymap

    \n
    \n

    \n The active keymap while a snippet expansion is in progress.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-verbosity

    \n
    \n

    \n Log level for yas--message 4 means trace most anything, 0 means nothing.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-minor-mode-hook

    \n
    \n

    \n Hook run when yas-minor-mode is turned on.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-minor-mode-major-mode

    \n
    \n

    \n warning: no doc for symbol yas-minor-mode-major-mode\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-not-string-or-comment-condition

    \n
    \n

    \n Disables snippet expansion in strings and comments.\n To use, set yas-buffer-local-condition to this value.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-after-exit-snippet-hook

    \n
    \n

    \n Hooks to run after a snippet exited.\n

    \n \n

    \n@@ -1955,101 +1955,101 @@\n \n

    \n Attention: These hooks are not run when exiting nested/stacked snippet expansion!\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-maybe-expand

    \n
    \n

    \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

    \n
    \n
    \n \n-
    \n+
    \n

    yas-after-reload-hook

    \n
    \n

    \n Hooks run after yas-reload-all.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-new-snippet-buffer-name

    \n
    \n

    \n warning: no doc for symbol yas-new-snippet-buffer-name\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-snippet-end

    \n
    \n

    \n End position of the last snippet committed.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-minor-mode-map

    \n
    \n

    \n The keymap used when yas-minor-mode is active.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-global-mode-hook

    \n
    \n

    \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

    \n
    \n
    \n \n-
    \n+
    \n

    yas-snippet-beg

    \n
    \n

    \n Beginning position of the last snippet committed.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-moving-away-p

    \n
    \n

    \n Non-nil if user is about to exit field.\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-maybe-expand-from-keymap

    \n
    \n

    \n warning: no doc for symbol yas-maybe-expand-from-keymap\n

    \n
    \n
    \n \n-
    \n+
    \n

    yas-global-mode-buffers

    \n
    \n

    \n warning: no doc for symbol yas-global-mode-buffers\n

    \n
    \n
    \n"}]}]}]}]}