{"diffoscope-json-version": 1, "source1": "/srv/reproducible-results/rbuild-debian/r-b-build.MDIU2tL0/b1/yasnippet_0.14.0+git20230912.76e1eee6-2_amd64.changes", "source2": "/srv/reproducible-results/rbuild-debian/r-b-build.MDIU2tL0/b2/yasnippet_0.14.0+git20230912.76e1eee6-2_amd64.changes", "unified_diff": null, "details": [{"source1": "Files", "source2": "Files", "unified_diff": "@@ -1,3 +1,3 @@\n \n- 81e69b55ca6950ec038e7f708ce1bcd1 530992 lisp optional elpa-yasnippet_0.14.0+git20230912.76e1eee6-2_all.deb\n+ 25a814d3b0e00d9303f0220bbcd93c9f 531012 lisp optional elpa-yasnippet_0.14.0+git20230912.76e1eee6-2_all.deb\n 8163e017e33c3495e2c2cf992d5ca517 3352 lisp optional yasnippet_0.14.0+git20230912.76e1eee6-2_all.deb\n"}, {"source1": "elpa-yasnippet_0.14.0+git20230912.76e1eee6-2_all.deb", "source2": "elpa-yasnippet_0.14.0+git20230912.76e1eee6-2_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 2024-07-26 02:45:37.000000 debian-binary\n -rw-r--r-- 0 0 0 1992 2024-07-26 02:45:37.000000 control.tar.xz\n--rw-r--r-- 0 0 0 528808 2024-07-26 02:45:37.000000 data.tar.xz\n+-rw-r--r-- 0 0 0 528828 2024-07-26 02:45:37.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": "@@ -214,55 +214,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@@ -270,17 +270,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@@ -320,15 +320,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@@ -350,17 +350,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@@ -383,61 +383,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@@ -453,17 +453,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@@ -493,17 +493,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@@ -524,77 +524,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@@ -829,17 +829,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@@ -876,17 +876,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@@ -965,17 +965,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@@ -334,41 +334,41 @@\n
\n To enable the YASnippet minor mode in all buffers globally use the\n command yas-global-mode
. This will enable a modeline indicator,\n yas
:\n
\n
\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@@ -543,24 +543,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@@ -629,19 +629,19 @@\n
\n Currently there are some alternatives solution with YASnippet.\n
\n\n
\n\n The function yas-x-prompt
can be used to show a popup menu for you to\n select. This menu will be part of you native window system widget, which\n@@ -654,36 +654,36 @@\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 The function yas-dropdown-prompt
can also be placed in the\n yas-prompt-functions
list.\n@@ -693,17 +693,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@@ -303,38 +303,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+\n .\n |-- c-mode\n | `-- printf\n |-- java-mode\n | `-- println\n `-- text-mode\n |-- email\n@@ -253,17 +253,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
\n+\n .\n |-- c-mode\n | |-- .yas-parents # contains \"cc-mode text-mode\"\n | `-- printf\n |-- cc-mode\n | |-- for\n | `-- while\n@@ -327,36 +327,36 @@\n |-- email\n `-- time\n\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
\n\n Another way to achieve this is to place a # group:
directive\n inside the snippet definition. See Writing Snippets.\n
\n+\n $ tree ruby-mode/\n ruby-mode/\n |-- .yas-make-groups\n |-- collections\n | |-- each\n | `-- ...\n |-- control structure\n@@ -371,28 +371,28 @@\n\n Yet another way to create a nice snippet menu is to write into\n
\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-visit-snippet-file
()yas-deactivate-extra-mode
(mode
)yas-tryout-snippet
(&optional debug
)yas-compile-directory
(top-level-dir
)yas-about
()yas-skip-and-clear-field
(&optional field
)yas-direct-keymaps-reload
()yas-exit-all-snippets
()yas-prev-field
()yas-expand
(&optional field
)yas-abort-snippet
(&optional snippet
)yas-choose-keys-first
yas-snippet-dirs
()yas-snippet-revival
yas-use-menu
yas-buffer-local-condition
yas-choose-tables-first
yas-overlay-priority
yas-global-mode-hook
yas-indent-line
yas-trigger-symbol
yas-also-auto-indent-first-line
yas-global-mode-check-buffers
()yas-key-to-value
(alist
)yas-define-snippets
(mode
snippets
)yas-choose-value
(&rest possibilities
)yas-verify-value
(possibilities
)yas-ido-prompt
(prompt
choices
&optional display-fn
)yas-maybe-load-snippet-buffer
()yas-active-snippets
(&optional beg
end
)yas-snippet-mode-buffer-p
()yas-try-key-from-whitespace
(_start-point
)yas-x-prompt
(prompt
choices
&optional display-fn
)yas-snippet-end
yas-key-syntaxes
yas-snippet-beg
yas-verbosity
yas-dont-activate-functions
yas-modified-p
yas-after-reload-hook
yas-visit-snippet-file
()\n Choose a snippet to edit, selection like yas-insert-snippet
.\n
\n Key bindings:\n
\n-\n+\n \n Key Binding\n -------------------------------------------------------------------------------\n C-c & C-n\tyas-new-snippet\n C-c & C-s\tyas-insert-snippet\n C-c & C-v\tyas-visit-snippet-file\n\n@@ -791,17 +791,17 @@\n\n\n\n warning: no doc for symbol
\nyas-abort-snippet
\n
yas-choose-keys-first
\n If non-nil, prompt for snippet key first, then for template.\n
\n@@ -1219,17 +1219,17 @@\n \n\n Naturally this is only valid when yas-indent-line
is auto
.\n
yas-global-mode-check-buffers
()\n warning: no doc for symbol yas-global-mode-check-buffers
\n
\n Display choices in a x-window prompt.\n
\nyas-snippet-end
\n End position of the last snippet committed.\n
\n"}]}]}]}]}