117 KB
/srv/reproducible-results/rbuild-debian/r-b-build.eP0FdmjV/b1/yasnippet_0.14.0+git20200603.5cbdbf0d-1_armhf.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.eP0FdmjV/b2/yasnippet_0.14.0+git20200603.5cbdbf0d-1_armhf.changes
348 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·294f856db717ece222833979ccb4c24c·532888·lisp·optional·elpa-yasnippet_0.14.0+git20200603.5cbdbf0d-1_all.deb1 ·cf2ab74bbc0af1a2d2df5fa3b857714d·532904·lisp·optional·elpa-yasnippet_0.14.0+git20200603.5cbdbf0d-1_all.deb
2 ·51e29e789207e11d55779829cd1b8af4·5032·lisp·optional·yasnippet_0.14.0+git20200603.5cbdbf0d-1_all.deb2 ·51e29e789207e11d55779829cd1b8af4·5032·lisp·optional·yasnippet_0.14.0+git20200603.5cbdbf0d-1_all.deb
117 KB
elpa-yasnippet_0.14.0+git20200603.5cbdbf0d-1_all.deb
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2020-11-05·15:31:38.000000·debian-binary1 -rw-r--r--···0········0········0········4·2020-11-05·15:31:38.000000·debian-binary
2 -rw-r--r--···0········0········0·····1952·2020-11-05·15:31:38.000000·control.tar.xz2 -rw-r--r--···0········0········0·····1952·2020-11-05·15:31:38.000000·control.tar.xz
3 -rw-r--r--···0········0········0···530744·2020-11-05·15:31:38.000000·data.tar.xz3 -rw-r--r--···0········0········0···530760·2020-11-05·15:31:38.000000·data.tar.xz
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
116 KB
data.tar.xz
116 KB
data.tar
6.33 KB
./usr/share/doc/elpa-yasnippet/html/faq.html
    
Offset 260, 55 lines modifiedOffset 260, 55 lines modified
260 </div>260 </div>
261 <div·id="content">261 <div·id="content">
262 <h1·class="title">Frequently·Asked·Questions</h1>262 <h1·class="title">Frequently·Asked·Questions</h1>
263 <div·id="table-of-contents">263 <div·id="table-of-contents">
264 <h2>Table·of·Contents</h2>264 <h2>Table·of·Contents</h2>
265 <div·id="text-table-of-contents">265 <div·id="text-table-of-contents">
266 <ul>266 <ul>
267 <li><a·href="#orga1552ba">Why·are·my·snippet·abbrev·keys·triggering·when·I·don't·want·them·too?</a></li>267 <li><a·href="#orgdd34141">Why·are·my·snippet·abbrev·keys·triggering·when·I·don't·want·them·too?</a></li>
268 <li><a·href="#org576adb1">Why·aren't·my·snippet·abbrev·keys·triggering·when·I·want·them·too?</a></li>268 <li><a·href="#org0d82c31">Why·aren't·my·snippet·abbrev·keys·triggering·when·I·want·them·too?</a></li>
269 <li><a·href="#org4779143">Why·is·there·an·extra·newline?</a></li>269 <li><a·href="#orgb3c6181">Why·is·there·an·extra·newline?</a></li>
270 <li><a·href="#org81a5c10">Why·doesn't·TAB·navigation·work·with·flyspell</a></li>270 <li><a·href="#org1b532e0">Why·doesn't·TAB·navigation·work·with·flyspell</a></li>
271 <li><a·href="#orge716945">How·do·I·use·alternative·keys,·i.e.·not·TAB?</a></li>271 <li><a·href="#orgd8c0c00">How·do·I·use·alternative·keys,·i.e.·not·TAB?</a></li>
272 <li><a·href="#org920115c">How·do·I·define·an·abbrev·key·containing·characters·not·supported·by·the·filesystem?</a></li>272 <li><a·href="#orgd4528be">How·do·I·define·an·abbrev·key·containing·characters·not·supported·by·the·filesystem?</a></li>
273 </ul>273 </ul>
274 </div>274 </div>
275 </div>275 </div>
276 <ul·class="org-ul">276 <ul·class="org-ul">
277 <li><b>Note</b>:·In·addition·to·the·questions·and·answers·presented·here,277 <li><b>Note</b>:·In·addition·to·the·questions·and·answers·presented·here,
278 you·might·also·with·to·visit·the·list·of·<a·href="https://github.com/joaotavora/yasnippet/issues?q=label%3Asupport">solved·support·issues</a>·in278 you·might·also·with·to·visit·the·list·of·<a·href="https://github.com/joaotavora/yasnippet/issues?q=label%3Asupport">solved·support·issues</a>·in
279 the·Github·issue·tracker.··It·might·be·more·up-to-date·than·this279 the·Github·issue·tracker.··It·might·be·more·up-to-date·than·this
280 list.</li>280 list.</li>
281 </ul>281 </ul>
  
282 <div·id="outline-container-orga1552ba"·class="outline-2">282 <div·id="outline-container-orgdd34141"·class="outline-2">
283 <h2·id="orga1552ba">Why·are·my·snippet·abbrev·keys·triggering·when·I·don't·want·them·too?</h2>283 <h2·id="orgdd34141">Why·are·my·snippet·abbrev·keys·triggering·when·I·don't·want·them·too?</h2>
284 <div·class="outline-text-2"·id="text-orga1552ba">284 <div·class="outline-text-2"·id="text-orgdd34141">
285 <p>285 <p>
286 Expansion·of·abbrev·keys·is·controlled·by·<a·href="snippet-reference.html#yas-key-syntaxes"><code>yas-key-syntaxes</code></a>.··Try286 Expansion·of·abbrev·keys·is·controlled·by·<a·href="snippet-reference.html#yas-key-syntaxes"><code>yas-key-syntaxes</code></a>.··Try
287 removing·entries·which·correspond·to·the·abbrev·key·character·syntax.287 removing·entries·which·correspond·to·the·abbrev·key·character·syntax.
288 For·example,·if·you·have·a·snippet·with·abbrev·key·"bar",·that·you288 For·example,·if·you·have·a·snippet·with·abbrev·key·"bar",·that·you
289 don't·want·to·trigger·when·point·follows·the·text·<code>foo_bar</code>,·remove289 don't·want·to·trigger·when·point·follows·the·text·<code>foo_bar</code>,·remove
290 the·<code>"w"</code>·entry·(since·"bar"·has·only·word·syntax·characters).290 the·<code>"w"</code>·entry·(since·"bar"·has·only·word·syntax·characters).
291 </p>291 </p>
292 </div>292 </div>
293 </div>293 </div>
  
294 <div·id="outline-container-org576adb1"·class="outline-2">294 <div·id="outline-container-org0d82c31"·class="outline-2">
295 <h2·id="org576adb1">Why·aren't·my·snippet·abbrev·keys·triggering·when·I·want·them·too?</h2>295 <h2·id="org0d82c31">Why·aren't·my·snippet·abbrev·keys·triggering·when·I·want·them·too?</h2>
296 <div·class="outline-text-2"·id="text-org576adb1">296 <div·class="outline-text-2"·id="text-org0d82c31">
297 <p>297 <p>
298 See·previous·question,·but·in·reverse.298 See·previous·question,·but·in·reverse.
299 </p>299 </p>
300 </div>300 </div>
301 </div>301 </div>
  
302 <div·id="outline-container-org4779143"·class="outline-2">302 <div·id="outline-container-orgb3c6181"·class="outline-2">
303 <h2·id="org4779143">Why·is·there·an·extra·newline?</h2>303 <h2·id="orgb3c6181">Why·is·there·an·extra·newline?</h2>
304 <div·class="outline-text-2"·id="text-org4779143">304 <div·class="outline-text-2"·id="text-orgb3c6181">
305 <p>305 <p>
306 If·there·is·a·newline·at·the·end·of·a·snippet·definition·file,306 If·there·is·a·newline·at·the·end·of·a·snippet·definition·file,
307 YASnippet·will·add·a·newline·when·expanding·that·snippet.·When·editing307 YASnippet·will·add·a·newline·when·expanding·that·snippet.·When·editing
308 or·saving·a·snippet·file,·please·be·careful·not·to·accidentally·add·a308 or·saving·a·snippet·file,·please·be·careful·not·to·accidentally·add·a
309 terminal·newline.309 terminal·newline.
310 </p>310 </p>
  
Offset 316, 17 lines modifiedOffset 316, 17 lines modified
316 Note·that·some·editors·will·automatically·add·a·newline·for·you.·In316 Note·that·some·editors·will·automatically·add·a·newline·for·you.·In
317 Emacs,·if·you·set·<code>require-final-newline</code>·to·<code>t</code>,·it·will·add·the317 Emacs,·if·you·set·<code>require-final-newline</code>·to·<code>t</code>,·it·will·add·the
318 final·newline·automatically.318 final·newline·automatically.
319 </p>319 </p>
320 </div>320 </div>
321 </div>321 </div>
  
322 <div·id="outline-container-org81a5c10"·class="outline-2">322 <div·id="outline-container-org1b532e0"·class="outline-2">
323 <h2·id="org81a5c10">Why·doesn't·TAB·navigation·work·with·flyspell</h2>323 <h2·id="org1b532e0">Why·doesn't·TAB·navigation·work·with·flyspell</h2>
324 <div·class="outline-text-2"·id="text-org81a5c10">324 <div·class="outline-text-2"·id="text-org1b532e0">
325 <p>325 <p>
326 This·is·<a·href="https://debbugs.gnu.org/26672">Emacs·Bug#26672</a>,·so·you·should·upgrade·to·version·25.3·or326 This·is·<a·href="https://debbugs.gnu.org/26672">Emacs·Bug#26672</a>,·so·you·should·upgrade·to·version·25.3·or
327 better.··Otherwise,·a·workaround·is·to·inhibit·flyspell·overlays·while327 better.··Otherwise,·a·workaround·is·to·inhibit·flyspell·overlays·while
328 the·snippet·is·active:328 the·snippet·is·active:
329 </p>329 </p>
  
330 <div·class="org-src-container">330 <div·class="org-src-container">
Offset 335, 17 lines modifiedOffset 335, 17 lines modified
335 ··············(<span·class="org-keyword">and</span>·yas-active-field-overlay335 ··············(<span·class="org-keyword">and</span>·yas-active-field-overlay
336 ···················(overlay-buffer·yas-active-field-overlay))))336 ···················(overlay-buffer·yas-active-field-overlay))))
337 </pre>337 </pre>
338 </div>338 </div>
339 </div>339 </div>
340 </div>340 </div>
  
341 <div·id="outline-container-orge716945"·class="outline-2">341 <div·id="outline-container-orgd8c0c00"·class="outline-2">
342 <h2·id="orge716945">How·do·I·use·alternative·keys,·i.e.·not·TAB?</h2>342 <h2·id="orgd8c0c00">How·do·I·use·alternative·keys,·i.e.·not·TAB?</h2>
343 <div·class="outline-text-2"·id="text-orge716945">343 <div·class="outline-text-2"·id="text-orgd8c0c00">
344 <p>344 <p>
345 Edit·the·keymaps·<a·href="snippet-reference.html#yas-minor-mode-map"><code>yas-minor-mode-map</code></a>·and·<a·href="snippet-reference.html#yas-keymap"><code>yas-keymap</code></a>·as·you·would345 Edit·the·keymaps·<a·href="snippet-reference.html#yas-minor-mode-map"><code>yas-minor-mode-map</code></a>·and·<a·href="snippet-reference.html#yas-keymap"><code>yas-keymap</code></a>·as·you·would
346 any·other·keymap,·but·use·<a·href="snippet-reference.html#yas-filtered-definition"><code>yas-filtered-definition</code></a>·on·the·definition346 any·other·keymap,·but·use·<a·href="snippet-reference.html#yas-filtered-definition"><code>yas-filtered-definition</code></a>·on·the·definition
347 if·you·want·to·respect·<a·href="snippet-reference.html#yas-keymap-disable-hook"><code>yas-keymap-disable-hook</code></a>:347 if·you·want·to·respect·<a·href="snippet-reference.html#yas-keymap-disable-hook"><code>yas-keymap-disable-hook</code></a>:
348 </p>348 </p>
  
349 <div·class="org-src-container">349 <div·class="org-src-container">
Offset 363, 17 lines modifiedOffset 363, 17 lines modified
363 (define-key·yas-keymap·(kbd·<span·class="org-string">"&lt;new-prev-field-key&gt;"</span>)363 (define-key·yas-keymap·(kbd·<span·class="org-string">"&lt;new-prev-field-key&gt;"</span>)
364 ··(yas-filtered-definition·'yas-prev-field))364 ··(yas-filtered-definition·'yas-prev-field))
365 </pre>365 </pre>
366 </div>366 </div>
367 </div>367 </div>
368 </div>368 </div>
  
369 <div·id="outline-container-org920115c"·class="outline-2">369 <div·id="outline-container-orgd4528be"·class="outline-2">
370 <h2·id="org920115c">How·do·I·define·an·abbrev·key·containing·characters·not·supported·by·the·filesystem?</h2>370 <h2·id="orgd4528be">How·do·I·define·an·abbrev·key·containing·characters·not·supported·by·the·filesystem?</h2>
371 <div·class="outline-text-2"·id="text-org920115c">371 <div·class="outline-text-2"·id="text-orgd4528be">
372 <ul·class="org-ul">372 <ul·class="org-ul">
373 <li><b>Note</b>:·This·question·applies·if·you're·still·defining·snippets373 <li><b>Note</b>:·This·question·applies·if·you're·still·defining·snippets
374 whose·key·<i>is</i>·the·filename.·This·is·behavior·still·provided·by374 whose·key·<i>is</i>·the·filename.·This·is·behavior·still·provided·by
375 version·0.6·for·backward·compatibilty,·but·is·somewhat375 version·0.6·for·backward·compatibilty,·but·is·somewhat
376 deprecated&#x2026;</li>376 deprecated&#x2026;</li>
377 </ul>377 </ul>
  
23.7 KB
./usr/share/doc/elpa-yasnippet/html/snippet-development.html
    
Offset 260, 98 lines modifiedOffset 260, 98 lines modified
260 </div>260 </div>
261 <div·id="content">261 <div·id="content">
262 <h1·class="title">Writing·snippets</h1>262 <h1·class="title">Writing·snippets</h1>
263 <div·id="table-of-contents">263 <div·id="table-of-contents">
264 <h2>Table·of·Contents</h2>264 <h2>Table·of·Contents</h2>
265 <div·id="text-table-of-contents">265 <div·id="text-table-of-contents">
266 <ul>266 <ul>
267 <li><a·href="#org806855c">Snippet·development</a>267 <li><a·href="#org7153073">Snippet·development</a>
268 <ul>268 <ul>
269 <li><a·href="#org175eafa">Quickly·finding·snippets</a></li>269 <li><a·href="#orgf5cc03f">Quickly·finding·snippets</a></li>
270 <li><a·href="#orgcb158bc">Using·the·<code>snippet-mode</code>·major·mode·</a></li>270 <li><a·href="#orgaa46315">Using·the·<code>snippet-mode</code>·major·mode·</a></li>
271 </ul>271 </ul>
272 </li>272 </li>
273 <li><a·href="#org9931ff4">File·content</a>273 <li><a·href="#org5d942a6">File·content</a>
274 <ul>274 <ul>
275 <li><a·href="#org9659dcf"><code>#·key:</code>·snippet·abbrev</a></li>275 <li><a·href="#org51bbf6f"><code>#·key:</code>·snippet·abbrev</a></li>
276 <li><a·href="#org762db51"><code>#·name:</code>·snippet·name</a></li>276 <li><a·href="#org15cede9"><code>#·name:</code>·snippet·name</a></li>
277 <li><a·href="#org6f5537d"><code>#·condition:</code>·snippet·condition</a></li>277 <li><a·href="#org392bd1e"><code>#·condition:</code>·snippet·condition</a></li>
278 <li><a·href="#org0df0656"><code>#·group:</code>·snippet·menu·grouping</a></li>278 <li><a·href="#orgbf36a2d"><code>#·group:</code>·snippet·menu·grouping</a></li>
279 <li><a·href="#orgbdbfca4"><code>#·expand-env:</code>·expand·environment</a></li>279 <li><a·href="#orgcb62a8c"><code>#·expand-env:</code>·expand·environment</a></li>
280 <li><a·href="#orgd26ed87"><code>#·binding:</code>·direct·keybinding</a></li>280 <li><a·href="#orgd924d78"><code>#·binding:</code>·direct·keybinding</a></li>
281 <li><a·href="#org3d8e388"><code>#·type:</code>·<code>snippet</code>·or·<code>command</code></a></li>281 <li><a·href="#org5ddeb0c"><code>#·type:</code>·<code>snippet</code>·or·<code>command</code></a></li>
282 <li><a·href="#org3ccaecd"><code>#·uuid:</code>·unique·identifier</a></li>282 <li><a·href="#orga416936"><code>#·uuid:</code>·unique·identifier</a></li>
283 <li><a·href="#org2ffd246"><code>#·contributor:</code>·snippet·author</a></li>283 <li><a·href="#org7d96c41"><code>#·contributor:</code>·snippet·author</a></li>
284 </ul>284 </ul>
285 </li>285 </li>
286 <li><a·href="#orgba85a2e">Template·Syntax</a>286 <li><a·href="#org4ba53bd">Template·Syntax</a>
287 <ul>287 <ul>
288 <li><a·href="#orge251cc3">Plain·Text</a></li>288 <li><a·href="#org43a64d4">Plain·Text</a></li>
289 <li><a·href="#org75f9a61">Embedded·Emacs·Lisp·code</a>289 <li><a·href="#org89a5385">Embedded·Emacs·Lisp·code</a>
290 <ul>290 <ul>
291 <li><a·href="#org5e56a09">Note:·backquote·expressions·should·not·modify·the·buffer</a></li>291 <li><a·href="#org79dfca9">Note:·backquote·expressions·should·not·modify·the·buffer</a></li>
292 </ul>292 </ul>
293 </li>293 </li>
294 <li><a·href="#orgd28a6df">Tab·stop·fields</a></li>294 <li><a·href="#org0b555e1">Tab·stop·fields</a></li>
295 <li><a·href="#org33d9453">Placeholder·fields</a></li>295 <li><a·href="#orgab43449">Placeholder·fields</a></li>
296 <li><a·href="#org6716d96">Mirrors·</a></li>296 <li><a·href="#orgedd7636">Mirrors·</a></li>
297 <li><a·href="#orgbb8f2c2">Mirrors·with·transformations·</a></li>297 <li><a·href="#org726797e">Mirrors·with·transformations·</a></li>
298 <li><a·href="#orgbe1a0c2">Fields·with·transformations</a></li>298 <li><a·href="#orgac4e77b">Fields·with·transformations</a></li>
299 <li><a·href="#org4c0ff48">Choosing·fields·value·from·a·list·and·other·tricks</a></li>299 <li><a·href="#org2bde8a7">Choosing·fields·value·from·a·list·and·other·tricks</a></li>
300 <li><a·href="#org5d8858a">Nested·placeholder·fields</a></li>300 <li><a·href="#orgdccd204">Nested·placeholder·fields</a></li>
301 <li><a·href="#org04455ef">Indentation·markers</a></li>301 <li><a·href="#orga3805a0">Indentation·markers</a></li>
302 </ul>302 </ul>
303 </li>303 </li>
304 </ul>304 </ul>
305 </div>305 </div>
306 </div>306 </div>
  
307 <div·id="outline-container-org806855c"·class="outline-2">307 <div·id="outline-container-org7153073"·class="outline-2">
308 <h2·id="org806855c">Snippet·development</h2>308 <h2·id="org7153073">Snippet·development</h2>
309 <div·class="outline-text-2"·id="text-org806855c">309 <div·class="outline-text-2"·id="text-org7153073">
310 </div>310 </div>
311 <div·id="outline-container-org175eafa"·class="outline-3">311 <div·id="outline-container-orgf5cc03f"·class="outline-3">
312 <h3·id="org175eafa">Quickly·finding·snippets</h3>312 <h3·id="orgf5cc03f">Quickly·finding·snippets</h3>
313 <div·class="outline-text-3"·id="text-org175eafa">313 <div·class="outline-text-3"·id="text-orgf5cc03f">
314 <p>314 <p>
315 There·are·some·ways·you·can·quickly·find·a·snippet·file·or·create·a·new·one:315 There·are·some·ways·you·can·quickly·find·a·snippet·file·or·create·a·new·one:
316 </p>316 </p>
  
317 <ul·class="org-ul">317 <ul·class="org-ul">
318 <li><p>318 <li><p>
319 <code>M-x·yas-new-snippet</code>,·key·binding:·<code>C-c·&amp;·C-n</code>319 <code>M-x·yas-new-snippet</code>,·key·binding:·<code>C-c·&amp;·C-n</code>
320 </p>320 </p>
  
321 <p>321 <p>
322 Creates·a·new·buffer·with·a·template·for·making·a·new·snippet.··The322 Creates·a·new·buffer·with·a·template·for·making·a·new·snippet.··The
323 buffer·is·in·<code>snippet-mode</code>·(see·<a·href="#orgbe55698">below</a>).··When·you·are·done·editing323 buffer·is·in·<code>snippet-mode</code>·(see·<a·href="#orgce046dd">below</a>).··When·you·are·done·editing
324 the·new·snippet,·use·<a·href="#org6a436f3"><code>C-c·C-c</code></a>·to·save·it.324 the·new·snippet,·use·<a·href="#org3019425"><code>C-c·C-c</code></a>·to·save·it.
325 </p></li>325 </p></li>
  
326 <li><p>326 <li><p>
327 <code>M-x·yas-visit-snippet-file</code>,·key·binding:·<code>C-c·&amp;·C-v</code>327 <code>M-x·yas-visit-snippet-file</code>,·key·binding:·<code>C-c·&amp;·C-v</code>
328 </p>328 </p>
  
329 <p>329 <p>
330 Prompts·you·for·possible·snippet·expansions·like330 Prompts·you·for·possible·snippet·expansions·like
331 <a·href="snippet-reference.html#yas-insert-snippet"><code>yas-insert-snippet</code></a>,·but·instead·of·expanding·it,·takes·you·directly331 <a·href="snippet-reference.html#yas-insert-snippet"><code>yas-insert-snippet</code></a>,·but·instead·of·expanding·it,·takes·you·directly
332 to·the·snippet·definition's·file,·if·it·exists.332 to·the·snippet·definition's·file,·if·it·exists.
333 </p></li>333 </p></li>
334 </ul>334 </ul>
  
335 <p>335 <p>
336 Once·you·find·this·file·it·will·be·set·to·<code>snippet-mode</code>·(see·<a·href="#orgbe55698">ahead</a>)336 Once·you·find·this·file·it·will·be·set·to·<code>snippet-mode</code>·(see·<a·href="#orgce046dd">ahead</a>)
337 and·you·can·start·editing·your·snippet.337 and·you·can·start·editing·your·snippet.
338 </p>338 </p>
339 </div>339 </div>
340 </div>340 </div>
  
341 <div·id="outline-container-orgcb158bc"·class="outline-3">341 <div·id="outline-container-orgaa46315"·class="outline-3">
342 <h3·id="orgcb158bc">Using·the·<code>snippet-mode</code>·major·mode·<a·id="orgbe55698"></a></h3>342 <h3·id="orgaa46315">Using·the·<code>snippet-mode</code>·major·mode·<a·id="orgce046dd"></a></h3>
343 <div·class="outline-text-3"·id="text-orgcb158bc">343 <div·class="outline-text-3"·id="text-orgaa46315">
344 <p>344 <p>
345 There·is·a·major·mode·<code>snippet-mode</code>·to·edit·snippets.·You·can·set·the345 There·is·a·major·mode·<code>snippet-mode</code>·to·edit·snippets.·You·can·set·the
346 buffer·to·this·mode·with·<code>M-x·snippet-mode</code>.·It·provides·reasonably346 buffer·to·this·mode·with·<code>M-x·snippet-mode</code>.·It·provides·reasonably
347 useful·syntax·highlighting.347 useful·syntax·highlighting.
348 </p>348 </p>
  
349 <p>349 <p>
Offset 366, 15 lines modifiedOffset 366, 15 lines modified
366 <p>366 <p>
367 Prompts·for·a·snippet·table·(with·a·default·based·on·snippet's367 Prompts·for·a·snippet·table·(with·a·default·based·on·snippet's
368 major·mode)·and·loads·the·snippet·currently·being·edited.368 major·mode)·and·loads·the·snippet·currently·being·edited.
369 </p></li>369 </p></li>
  
370 <li><p>370 <li><p>
371 <code>M-x·yas-load-snippet-buffer-and-close</code>,·key·binding:·<code>C-c·C-c</code>371 <code>M-x·yas-load-snippet-buffer-and-close</code>,·key·binding:·<code>C-c·C-c</code>
372 <a·id="org6a436f3"></a>372 <a·id="org3019425"></a>
373 </p>373 </p>
  
374 <p>374 <p>
375 Like·<code>yas-load-snippet-buffer</code>,·but·also·saves·the·snippet·and375 Like·<code>yas-load-snippet-buffer</code>,·but·also·saves·the·snippet·and
376 calls·<code>quit-window</code>.··The·destination·is·decided·based·on·the376 calls·<code>quit-window</code>.··The·destination·is·decided·based·on·the
377 chosen·snippet·table·and·snippet·collection·directly·(defaulting·to377 chosen·snippet·table·and·snippet·collection·directly·(defaulting·to
378 the·first·directory·in·<code>yas-snippet-dirs</code>·(see·<a·href="snippet-organization.html">Organizing·Snippets</a>378 the·first·directory·in·<code>yas-snippet-dirs</code>·(see·<a·href="snippet-organization.html">Organizing·Snippets</a>
Offset 396, 17 lines modifiedOffset 396, 17 lines modified
396 There·are·also·<i>snippets·for·writing·snippets</i>:·<code>vars</code>,·<code>$f</code>·and·<code>$m</code>396 There·are·also·<i>snippets·for·writing·snippets</i>:·<code>vars</code>,·<code>$f</code>·and·<code>$m</code>
397 :-).397 :-).
398 </p>398 </p>
399 </div>399 </div>
400 </div>400 </div>
401 </div>401 </div>
  
402 <div·id="outline-container-org9931ff4"·class="outline-2">402 <div·id="outline-container-org5d942a6"·class="outline-2">
403 <h2·id="org9931ff4">File·content</h2>403 <h2·id="org5d942a6">File·content</h2>
404 <div·class="outline-text-2"·id="text-org9931ff4">404 <div·class="outline-text-2"·id="text-org5d942a6">
405 <p>405 <p>
406 A·file·defining·a·snippet·generally·contains·the·template·to·be406 A·file·defining·a·snippet·generally·contains·the·template·to·be
Max diff block lines reached; 16739/24199 bytes (69.17%) of diff not shown.
15.4 KB
./usr/share/doc/elpa-yasnippet/html/snippet-expansion.html
    
Offset 260, 42 lines modifiedOffset 260, 42 lines modified
260 </div>260 </div>
261 <div·id="content">261 <div·id="content">
262 <h1·class="title">Expanding·snippets</h1>262 <h1·class="title">Expanding·snippets</h1>
263 <div·id="table-of-contents">263 <div·id="table-of-contents">
264 <h2>Table·of·Contents</h2>264 <h2>Table·of·Contents</h2>
265 <div·id="text-table-of-contents">265 <div·id="text-table-of-contents">
266 <ul>266 <ul>
267 <li><a·href="#org92587be">Triggering·expansion</a>267 <li><a·href="#org709a054">Triggering·expansion</a>
268 <ul>268 <ul>
269 <li><a·href="#org7a74aef">Trigger·key</a>269 <li><a·href="#org89c468c">Trigger·key</a>
270 <ul>270 <ul>
271 <li><a·href="#orgbae5bc8">Fallback·behaviour</a></li>271 <li><a·href="#org647d7db">Fallback·behaviour</a></li>
272 </ul>272 </ul>
273 </li>273 </li>
274 <li><a·href="#org37e025a">Insert·at·point</a>274 <li><a·href="#org1a59e0d">Insert·at·point</a>
275 <ul>275 <ul>
276 <li><a·href="#orgdec5317">Inserting·region·or·register·contents·into·snippet</a></li>276 <li><a·href="#org1259f26">Inserting·region·or·register·contents·into·snippet</a></li>
277 </ul>277 </ul>
278 </li>278 </li>
279 <li><a·href="#org2d5f602">Snippet·keybinding</a></li>279 <li><a·href="#org9cac79d">Snippet·keybinding</a></li>
280 <li><a·href="#orgacd6f06">Expanding·from·the·menu</a></li>280 <li><a·href="#org412def5">Expanding·from·the·menu</a></li>
281 <li><a·href="#org6f9a666">Expanding·with·<code>hippie-expand</code></a></li>281 <li><a·href="#orgc85d367">Expanding·with·<code>hippie-expand</code></a></li>
282 <li><a·href="#org7b4fc5b">Expanding·from·emacs-lisp·code</a></li>282 <li><a·href="#orgbb87832">Expanding·from·emacs-lisp·code</a></li>
283 </ul>283 </ul>
284 </li>284 </li>
285 <li><a·href="#orga42e62b">Controlling·expansion</a>285 <li><a·href="#org3cb5121">Controlling·expansion</a>
286 <ul>286 <ul>
287 <li><a·href="#org1ba90ee">Eligible·snippets</a></li>287 <li><a·href="#org3a4ed42">Eligible·snippets</a></li>
288 <li><a·href="#orga1d522a">The·condition·system·</a></li>288 <li><a·href="#org732af93">The·condition·system·</a></li>
289 <li><a·href="#orgd326e2b">Multiples·snippet·with·the·same·key</a>289 <li><a·href="#orge1c56d4">Multiples·snippet·with·the·same·key</a>
290 <ul>290 <ul>
291 <li><a·href="#org5ede612">Use·the·X·window·system</a></li>291 <li><a·href="#orgf9aadfd">Use·the·X·window·system</a></li>
292 <li><a·href="#org9a18024">Minibuffer·prompting</a></li>292 <li><a·href="#org7971a24">Minibuffer·prompting</a></li>
293 <li><a·href="#org37112be">Use·<code>dropdown-menu.el</code></a></li>293 <li><a·href="#org29427c9">Use·<code>dropdown-menu.el</code></a></li>
294 <li><a·href="#orge69b013">Roll·your·own</a></li>294 <li><a·href="#orgcb221d7">Roll·your·own</a></li>
295 </ul>295 </ul>
296 </li>296 </li>
297 </ul>297 </ul>
298 </li>298 </li>
299 </ul>299 </ul>
300 </div>300 </div>
301 </div>301 </div>
Offset 304, 17 lines modifiedOffset 304, 17 lines modified
304 </p>304 </p>
  
305 <p>305 <p>
306 Maybe,·you'll·want·some·snippets·to·be·expanded·in·a·particular306 Maybe,·you'll·want·some·snippets·to·be·expanded·in·a·particular
307 mode,·or·only·under·certain·conditions,·or·be·prompted·using307 mode,·or·only·under·certain·conditions,·or·be·prompted·using
308 </p>308 </p>
  
309 <div·id="outline-container-org92587be"·class="outline-2">309 <div·id="outline-container-org709a054"·class="outline-2">
310 <h2·id="org92587be">Triggering·expansion</h2>310 <h2·id="org709a054">Triggering·expansion</h2>
311 <div·class="outline-text-2"·id="text-org92587be">311 <div·class="outline-text-2"·id="text-org709a054">
312 <p>312 <p>
313 You·can·use·YASnippet·to·expand·snippets·in·different·ways:313 You·can·use·YASnippet·to·expand·snippets·in·different·ways:
314 </p>314 </p>
  
315 <ul·class="org-ul">315 <ul·class="org-ul">
316 <li>When·<a·href="snippet-reference.html#yas-minor-mode"><code>yas-minor-mode</code></a>·is·active:316 <li>When·<a·href="snippet-reference.html#yas-minor-mode"><code>yas-minor-mode</code></a>·is·active:
317 <ul·class="org-ul">317 <ul·class="org-ul">
Offset 334, 17 lines modifiedOffset 334, 17 lines modified
334 <li>Use·m2m's·excellent·auto-complete334 <li>Use·m2m's·excellent·auto-complete
335 TODO:·example·for·this</li>335 TODO:·example·for·this</li>
  
336 <li>Expanding·from·emacs-lisp·code</li>336 <li>Expanding·from·emacs-lisp·code</li>
337 </ul>337 </ul>
338 </div>338 </div>
  
339 <div·id="outline-container-org7a74aef"·class="outline-3">339 <div·id="outline-container-org89c468c"·class="outline-3">
340 <h3·id="org7a74aef">Trigger·key</h3>340 <h3·id="org89c468c">Trigger·key</h3>
341 <div·class="outline-text-3"·id="text-org7a74aef">341 <div·class="outline-text-3"·id="text-org89c468c">
342 <p>342 <p>
343 <a·href="snippet-reference.html#yas-expand"><code>yas-expand</code></a>·tries·to·expand·a·<i>snippet·abbrev</i>·(also·known·as343 <a·href="snippet-reference.html#yas-expand"><code>yas-expand</code></a>·tries·to·expand·a·<i>snippet·abbrev</i>·(also·known·as
344 <i>snippet·key</i>)·before·point.··YASnippet·also·provides·a·<i>conditional344 <i>snippet·key</i>)·before·point.··YASnippet·also·provides·a·<i>conditional
345 binding</i>·for·this·command:·the·variable·<a·href="snippet-reference.html#yas-expand"><code>yas-maybe-expand</code></a>·contains·a345 binding</i>·for·this·command:·the·variable·<a·href="snippet-reference.html#yas-expand"><code>yas-maybe-expand</code></a>·contains·a
346 special·value·which,·when·bound·in·a·keymap,·tells·Emacs·to·call346 special·value·which,·when·bound·in·a·keymap,·tells·Emacs·to·call
347 <a·href="snippet-reference.html#yas-expand"><code>yas-expand</code></a>·if·and·only·if·there·is·a·snippet·abbrev·before·point.347 <a·href="snippet-reference.html#yas-expand"><code>yas-expand</code></a>·if·and·only·if·there·is·a·snippet·abbrev·before·point.
348 If·there·is·no·snippet·to·expand,·Emacs·will·behave·as·if·<a·href="snippet-reference.html#yas-expand"><code>yas-expand</code></a>348 If·there·is·no·snippet·to·expand,·Emacs·will·behave·as·if·<a·href="snippet-reference.html#yas-expand"><code>yas-expand</code></a>
Offset 392, 29 lines modifiedOffset 392, 29 lines modified
392 <p>392 <p>
393 When·you·use·<a·href="snippet-reference.html#yas-global-mode"><code>yas-global-mode</code></a>·you·can·also·selectively·disable393 When·you·use·<a·href="snippet-reference.html#yas-global-mode"><code>yas-global-mode</code></a>·you·can·also·selectively·disable
394 YASnippet·in·some·buffers·by·calling·<a·href="snippet-reference.html#yas-minor-mode"><code>yas-minor-mode</code></a>·with·a·negative394 YASnippet·in·some·buffers·by·calling·<a·href="snippet-reference.html#yas-minor-mode"><code>yas-minor-mode</code></a>·with·a·negative
395 argument·in·the·buffer's·mode·hook.395 argument·in·the·buffer's·mode·hook.
396 </p>396 </p>
397 </div>397 </div>
  
398 <div·id="outline-container-orgbae5bc8"·class="outline-4">398 <div·id="outline-container-org647d7db"·class="outline-4">
399 <h4·id="orgbae5bc8">Fallback·behaviour</h4>399 <h4·id="org647d7db">Fallback·behaviour</h4>
400 <div·class="outline-text-4"·id="text-orgbae5bc8">400 <div·class="outline-text-4"·id="text-org647d7db">
401 <p>401 <p>
402 YASnippet·used·to·support·a·more·complicated·way·of·sharing402 YASnippet·used·to·support·a·more·complicated·way·of·sharing
403 keybindings·before·<a·href="snippet-reference.html#yas-expand"><code>yas-maybe-expand</code></a>·was·added.··This·is·now403 keybindings·before·<a·href="snippet-reference.html#yas-expand"><code>yas-maybe-expand</code></a>·was·added.··This·is·now
404 obsolete.404 obsolete.
405 </p>405 </p>
406 </div>406 </div>
407 </div>407 </div>
408 </div>408 </div>
  
409 <div·id="outline-container-org37e025a"·class="outline-3">409 <div·id="outline-container-org1a59e0d"·class="outline-3">
410 <h3·id="org37e025a">Insert·at·point</h3>410 <h3·id="org1a59e0d">Insert·at·point</h3>
411 <div·class="outline-text-3"·id="text-org37e025a">411 <div·class="outline-text-3"·id="text-org1a59e0d">
412 <p>412 <p>
413 The·command·<a·href="snippet-reference.html#yas-insert-snippet"><code>yas-insert-snippet</code></a>·lets·you·insert·snippets·at·point413 The·command·<a·href="snippet-reference.html#yas-insert-snippet"><code>yas-insert-snippet</code></a>·lets·you·insert·snippets·at·point
414 <i>for·your·current·major·mode</i>.·It·prompts·you·for·the·snippet·key414 <i>for·your·current·major·mode</i>.·It·prompts·you·for·the·snippet·key
415 first,·and·then·for·a·snippet·template·if·more·than·one·template415 first,·and·then·for·a·snippet·template·if·more·than·one·template
416 exists·for·the·same·key.416 exists·for·the·same·key.
417 </p>417 </p>
  
Offset 426, 17 lines modifiedOffset 426, 17 lines modified
  
426 <p>426 <p>
427 The·prompting·methods·used·are·again·controlled·by427 The·prompting·methods·used·are·again·controlled·by
428 <a·href="snippet-reference.html#yas-prompt-functions"><code>yas-prompt-functions</code></a>.428 <a·href="snippet-reference.html#yas-prompt-functions"><code>yas-prompt-functions</code></a>.
429 </p>429 </p>
430 </div>430 </div>
  
431 <div·id="outline-container-orgdec5317"·class="outline-4">431 <div·id="outline-container-org1259f26"·class="outline-4">
432 <h4·id="orgdec5317">Inserting·region·or·register·contents·into·snippet</h4>432 <h4·id="org1259f26">Inserting·region·or·register·contents·into·snippet</h4>
433 <div·class="outline-text-4"·id="text-orgdec5317">433 <div·class="outline-text-4"·id="text-org1259f26">
434 <p>434 <p>
435 It's·often·useful·to·inject·already·written·text·in·the·middle·of·a435 It's·often·useful·to·inject·already·written·text·in·the·middle·of·a
436 snippet.··The·variable·<a·href="snippet-reference.html#yas-wrap-around-region"><code>yas-wrap-around-region</code></a>·when·to·t·substitute436 snippet.··The·variable·<a·href="snippet-reference.html#yas-wrap-around-region"><code>yas-wrap-around-region</code></a>·when·to·t·substitute
437 the·region·contents·into·the·<code>$0</code>·placeholder·of·a·snippet·expanded·by437 the·region·contents·into·the·<code>$0</code>·placeholder·of·a·snippet·expanded·by
438 <a·href="snippet-reference.html#yas-insert-snippet"><code>yas-insert-snippet</code></a>.··Setting·it·to·a·character·value·(e.g.·<code>?0</code>)438 <a·href="snippet-reference.html#yas-insert-snippet"><code>yas-insert-snippet</code></a>.··Setting·it·to·a·character·value·(e.g.·<code>?0</code>)
439 will·insert·the·contents·of·corresponding·register.439 will·insert·the·contents·of·corresponding·register.
440 </p>440 </p>
Offset 447, 49 lines modifiedOffset 447, 49 lines modified
Max diff block lines reached; 8958/15704 bytes (57.04%) of diff not shown.
4.25 KB
./usr/share/doc/elpa-yasnippet/html/snippet-menu.html
    
Offset 260, 19 lines modifiedOffset 260, 19 lines modified
260 </div>260 </div>
261 <div·id="content">261 <div·id="content">
262 <h1·class="title">YASnippet·menu</h1>262 <h1·class="title">YASnippet·menu</h1>
263 <div·id="table-of-contents">263 <div·id="table-of-contents">
264 <h2>Table·of·Contents</h2>264 <h2>Table·of·Contents</h2>
265 <div·id="text-table-of-contents">265 <div·id="text-table-of-contents">
266 <ul>266 <ul>
267 <li><a·href="#orgdfd3cbe">Loading·snippets·from·menu</a></li>267 <li><a·href="#org99bec26">Loading·snippets·from·menu</a></li>
268 <li><a·href="#orgce4b7cf">Snippet·menu·behavior</a></li>268 <li><a·href="#org25c85b2">Snippet·menu·behavior</a></li>
269 <li><a·href="#orgda468d9">Controlling·indenting</a></li>269 <li><a·href="#org7865e3d">Controlling·indenting</a></li>
270 <li><a·href="#org5dacc54">Prompting·method</a></li>270 <li><a·href="#orgb584e33">Prompting·method</a></li>
271 <li><a·href="#orgbe44481">Misc</a></li>271 <li><a·href="#org3b83a8c">Misc</a></li>
272 </ul>272 </ul>
273 </div>273 </div>
274 </div>274 </div>
275 <p>275 <p>
276 When·<a·href="snippet-reference.html#yas-minor-mode"><code>yas-minor-mode</code></a>·is·active,·YASnippet·will·setup·a·menu·just·after276 When·<a·href="snippet-reference.html#yas-minor-mode"><code>yas-minor-mode</code></a>·is·active,·YASnippet·will·setup·a·menu·just·after
277 the·"Buffers"·menu·in·the·menubar.277 the·"Buffers"·menu·in·the·menubar.
278 </p>278 </p>
Offset 295, 33 lines modifiedOffset 295, 33 lines modified
  
  
295 <div·class="figure">295 <div·class="figure">
296 <p><img·src="./images/menu-1.png"·alt="menu-1.png"·/>296 <p><img·src="./images/menu-1.png"·alt="menu-1.png"·/>
297 </p>297 </p>
298 </div>298 </div>
  
299 <div·id="outline-container-orgdfd3cbe"·class="outline-2">299 <div·id="outline-container-org99bec26"·class="outline-2">
300 <h2·id="orgdfd3cbe">Loading·snippets·from·menu</h2>300 <h2·id="org99bec26">Loading·snippets·from·menu</h2>
301 <div·class="outline-text-2"·id="text-orgdfd3cbe">301 <div·class="outline-text-2"·id="text-org99bec26">
302 <p>302 <p>
303 Invoking·"Load·snippets&#x2026;"·from·the·menu·invokes·<a·href="snippet-reference.html#yas-load-directory"><code>yas-load-directory</code></a>303 Invoking·"Load·snippets&#x2026;"·from·the·menu·invokes·<a·href="snippet-reference.html#yas-load-directory"><code>yas-load-directory</code></a>
304 and·prompts·you·for·a·snippet·directory·hierarchy·to·load.304 and·prompts·you·for·a·snippet·directory·hierarchy·to·load.
305 </p>305 </p>
  
306 <p>306 <p>
307 Also·useful·is·the·"Reload·everything"·item·to·invoke·<a·href="snippet-reference.html#yas-reload-all"><code>yas-reload-all</code></a>307 Also·useful·is·the·"Reload·everything"·item·to·invoke·<a·href="snippet-reference.html#yas-reload-all"><code>yas-reload-all</code></a>
308 which·uncondionally·reloads·all·the·snippets·directories·defined·in308 which·uncondionally·reloads·all·the·snippets·directories·defined·in
309 <a·href="snippet-reference.html#yas-snippet-dirs"><code>yas-snippet-dirs</code></a>·and·rebuilds·the·menus.309 <a·href="snippet-reference.html#yas-snippet-dirs"><code>yas-snippet-dirs</code></a>·and·rebuilds·the·menus.
310 </p>310 </p>
311 </div>311 </div>
312 </div>312 </div>
  
313 <div·id="outline-container-orgce4b7cf"·class="outline-2">313 <div·id="outline-container-org25c85b2"·class="outline-2">
314 <h2·id="orgce4b7cf">Snippet·menu·behavior</h2>314 <h2·id="org25c85b2">Snippet·menu·behavior</h2>
315 <div·class="outline-text-2"·id="text-orgce4b7cf">315 <div·class="outline-text-2"·id="text-org25c85b2">
316 <p>316 <p>
317 YASnippet·will·list·in·this·section·all·the·loaded·snippet·definitions317 YASnippet·will·list·in·this·section·all·the·loaded·snippet·definitions
318 organized·by·snippet·table·name.318 organized·by·snippet·table·name.
319 </p>319 </p>
  
320 <p>320 <p>
321 You·can·use·this·section·to·explore·currently·loaded·snippets.·If·you321 You·can·use·this·section·to·explore·currently·loaded·snippets.·If·you
Offset 349, 38 lines modifiedOffset 349, 38 lines modified
349 <p>349 <p>
350 These·customizations·can·also·be·found·in·the·menu·itself,·under·the350 These·customizations·can·also·be·found·in·the·menu·itself,·under·the
351 "Snippet·menu·behavior"·submenu.351 "Snippet·menu·behavior"·submenu.
352 </p>352 </p>
353 </div>353 </div>
354 </div>354 </div>
  
355 <div·id="outline-container-orgda468d9"·class="outline-2">355 <div·id="outline-container-org7865e3d"·class="outline-2">
356 <h2·id="orgda468d9">Controlling·indenting</h2>356 <h2·id="org7865e3d">Controlling·indenting</h2>
357 <div·class="outline-text-2"·id="text-orgda468d9">357 <div·class="outline-text-2"·id="text-org7865e3d">
358 <p>358 <p>
359 The·"Indenting"·submenu·contains·options·to·control·the·values·of359 The·"Indenting"·submenu·contains·options·to·control·the·values·of
360 <a·href="snippet-reference.html#yas-indent-line"><code>yas-indent-line</code></a>·and·<a·href="snippet-reference.html#yas-also-auto-indent-first-line"><code>yas-also-auto-indent-first-line</code></a>.·See360 <a·href="snippet-reference.html#yas-indent-line"><code>yas-indent-line</code></a>·and·<a·href="snippet-reference.html#yas-also-auto-indent-first-line"><code>yas-also-auto-indent-first-line</code></a>.·See
361 <a·href="./snippet-development.html">Writing·snippets</a>.361 <a·href="./snippet-development.html">Writing·snippets</a>.
362 </p>362 </p>
363 </div>363 </div>
364 </div>364 </div>
  
365 <div·id="outline-container-org5dacc54"·class="outline-2">365 <div·id="outline-container-orgb584e33"·class="outline-2">
366 <h2·id="org5dacc54">Prompting·method</h2>366 <h2·id="orgb584e33">Prompting·method</h2>
367 <div·class="outline-text-2"·id="text-org5dacc54">367 <div·class="outline-text-2"·id="text-orgb584e33">
368 <p>368 <p>
369 The·"Prompting·method"·submenu·contains·options·to·control·the·value·of369 The·"Prompting·method"·submenu·contains·options·to·control·the·value·of
370 <a·href="snippet-reference.html#yas-prompt-functions"><code>yas-prompt-functions</code></a>.·See·<a·href="./snippet-expansion.html">Expanding·snippets</a>.370 <a·href="snippet-reference.html#yas-prompt-functions"><code>yas-prompt-functions</code></a>.·See·<a·href="./snippet-expansion.html">Expanding·snippets</a>.
371 </p>371 </p>
372 </div>372 </div>
373 </div>373 </div>
  
374 <div·id="outline-container-orgbe44481"·class="outline-2">374 <div·id="outline-container-org3b83a8c"·class="outline-2">
375 <h2·id="orgbe44481">Misc</h2>375 <h2·id="org3b83a8c">Misc</h2>
376 <div·class="outline-text-2"·id="text-orgbe44481">376 <div·class="outline-text-2"·id="text-org3b83a8c">
377 <p>377 <p>
378 The·"Misc"·submenu·contains·options·to·control·the·values·of·more378 The·"Misc"·submenu·contains·options·to·control·the·values·of·more
379 variables.379 variables.
380 </p>380 </p>
381 </div>381 </div>
382 </div>382 </div>
383 </div>383 </div>
6.55 KB
./usr/share/doc/elpa-yasnippet/html/snippet-organization.html
    
Offset 260, 28 lines modifiedOffset 260, 28 lines modified
260 </div>260 </div>
261 <div·id="content">261 <div·id="content">
262 <h1·class="title">Organizing·snippets</h1>262 <h1·class="title">Organizing·snippets</h1>
263 <div·id="table-of-contents">263 <div·id="table-of-contents">
264 <h2>Table·of·Contents</h2>264 <h2>Table·of·Contents</h2>
265 <div·id="text-table-of-contents">265 <div·id="text-table-of-contents">
266 <ul>266 <ul>
267 <li><a·href="#org9a4aa74">Basic·structure</a></li>267 <li><a·href="#org324e7c0">Basic·structure</a></li>
268 <li><a·href="#org38f1155">Setting·up·<code>yas-snippet-dirs</code></a></li>268 <li><a·href="#org29457b5">Setting·up·<code>yas-snippet-dirs</code></a></li>
269 <li><a·href="#org1b318f1">The·<code>.yas-parents</code>·file</a></li>269 <li><a·href="#org519b1f1">The·<code>.yas-parents</code>·file</a></li>
270 <li><a·href="#org9215075"><span·class="todo·TODO">TODO</span>·The·<code>.yas-make-groups</code>·file</a></li>270 <li><a·href="#orgeb914aa"><span·class="todo·TODO">TODO</span>·The·<code>.yas-make-groups</code>·file</a></li>
271 <li><a·href="#orgfe6c66c">The·<code>.yas-setup.el</code>·file</a></li>271 <li><a·href="#orgc252f17">The·<code>.yas-setup.el</code>·file</a></li>
272 <li><a·href="#org9599d40">The·<code>.yas-compiled-snippet.el</code>·file</a></li>272 <li><a·href="#orgda05458">The·<code>.yas-compiled-snippet.el</code>·file</a></li>
273 <li><a·href="#orge078821">The·<code>.yas-skip</code>·file</a></li>273 <li><a·href="#orgfa1fa55">The·<code>.yas-skip</code>·file</a></li>
274 </ul>274 </ul>
275 </div>275 </div>
276 </div>276 </div>
  
277 <div·id="outline-container-org9a4aa74"·class="outline-2">277 <div·id="outline-container-org324e7c0"·class="outline-2">
278 <h2·id="org9a4aa74">Basic·structure</h2>278 <h2·id="org324e7c0">Basic·structure</h2>
279 <div·class="outline-text-2"·id="text-org9a4aa74">279 <div·class="outline-text-2"·id="text-org324e7c0">
280 <p>280 <p>
281 Snippet·collections·can·be·stored·in·plain·text·files.·They·are281 Snippet·collections·can·be·stored·in·plain·text·files.·They·are
282 arranged·by·sub-directories·naming·<b>snippet·tables</b>.··These·mostly282 arranged·by·sub-directories·naming·<b>snippet·tables</b>.··These·mostly
283 name·Emacs·major·mode·names.283 name·Emacs·major·mode·names.
284 </p>284 </p>
  
285 <pre·class="example">285 <pre·class="example">
Offset 299, 17 lines modifiedOffset 299, 17 lines modified
299 The·collections·are·loaded·into·<b>snippet·tables</b>·which·the299 The·collections·are·loaded·into·<b>snippet·tables</b>·which·the
300 triggering·mechanism·(see·<a·href="snippet-expansion.html">Expanding·Snippets</a>)·looks·up·and300 triggering·mechanism·(see·<a·href="snippet-expansion.html">Expanding·Snippets</a>)·looks·up·and
301 (hopefully)·causes·the·right·snippet·to·be·expanded·for·you.301 (hopefully)·causes·the·right·snippet·to·be·expanded·for·you.
302 </p>302 </p>
303 </div>303 </div>
304 </div>304 </div>
  
305 <div·id="outline-container-org38f1155"·class="outline-2">305 <div·id="outline-container-org29457b5"·class="outline-2">
306 <h2·id="org38f1155">Setting·up·<code>yas-snippet-dirs</code></h2>306 <h2·id="org29457b5">Setting·up·<code>yas-snippet-dirs</code></h2>
307 <div·class="outline-text-2"·id="text-org38f1155">307 <div·class="outline-text-2"·id="text-org29457b5">
308 <p>308 <p>
309 The·emacs·variable·<a·href="snippet-reference.html#yas-snippet-dirs"><code>yas-snippet-dirs</code></a>·tells·YASnippet309 The·emacs·variable·<a·href="snippet-reference.html#yas-snippet-dirs"><code>yas-snippet-dirs</code></a>·tells·YASnippet
310 which·collections·to·consider.·It's·used·when·you·activate310 which·collections·to·consider.·It's·used·when·you·activate
311 <a·href="snippet-reference.html#yas-global-mode"><code>yas-global-mode</code></a>·or·call311 <a·href="snippet-reference.html#yas-global-mode"><code>yas-global-mode</code></a>·or·call
312 <a·href="snippet-reference.html#yas-reload-all"><code>yas-reload-all</code></a>·interactively.312 <a·href="snippet-reference.html#yas-reload-all"><code>yas-reload-all</code></a>·interactively.
313 </p>313 </p>
  
Offset 343, 17 lines modifiedOffset 343, 17 lines modified
343 Collections·appearing·earlier·in·the·list·override·snippets·with·same·names343 Collections·appearing·earlier·in·the·list·override·snippets·with·same·names
344 appearing·in·collections·later·in·the·list.·<a·href="snippet-reference.html#yas-new-snippet"><code>yas-new-snippet</code></a>·always·stores344 appearing·in·collections·later·in·the·list.·<a·href="snippet-reference.html#yas-new-snippet"><code>yas-new-snippet</code></a>·always·stores
345 snippets·in·the·first·collection.345 snippets·in·the·first·collection.
346 </p>346 </p>
347 </div>347 </div>
348 </div>348 </div>
  
349 <div·id="outline-container-org1b318f1"·class="outline-2">349 <div·id="outline-container-org519b1f1"·class="outline-2">
350 <h2·id="org1b318f1">The·<code>.yas-parents</code>·file</h2>350 <h2·id="org519b1f1">The·<code>.yas-parents</code>·file</h2>
351 <div·class="outline-text-2"·id="text-org1b318f1">351 <div·class="outline-text-2"·id="text-org519b1f1">
352 <p>352 <p>
353 It's·very·useful·to·have·certain·modes·share·snippets·between353 It's·very·useful·to·have·certain·modes·share·snippets·between
354 themselves.·To·do·this,·choose·a·mode·subdirectory·and·place·a354 themselves.·To·do·this,·choose·a·mode·subdirectory·and·place·a
355 <code>.yas-parents</code>·containing·a·whitespace-separated·list·of·other·mode355 <code>.yas-parents</code>·containing·a·whitespace-separated·list·of·other·mode
356 names.·When·you·reload·those·modes·become·parents·of·the·original356 names.·When·you·reload·those·modes·become·parents·of·the·original
357 mode.357 mode.
358 </p>358 </p>
Offset 373, 17 lines modifiedOffset 373, 17 lines modified
373 ····|--·email373 ····|--·email
374 ····`--·time374 ····`--·time
375 </pre>375 </pre>
376 </div>376 </div>
377 </div>377 </div>
  
  
378 <div·id="outline-container-org9215075"·class="outline-2">378 <div·id="outline-container-orgeb914aa"·class="outline-2">
379 <h2·id="org9215075"><span·class="todo·TODO">TODO</span>·The·<code>.yas-make-groups</code>·file</h2>379 <h2·id="orgeb914aa"><span·class="todo·TODO">TODO</span>·The·<code>.yas-make-groups</code>·file</h2>
380 <div·class="outline-text-2"·id="text-org9215075">380 <div·class="outline-text-2"·id="text-orgeb914aa">
381 <p>381 <p>
382 If·you·place·an·empty·plain·text·file·<code>.yas-make-groups</code>·inside·one382 If·you·place·an·empty·plain·text·file·<code>.yas-make-groups</code>·inside·one
383 of·the·mode·directories,·the·names·of·these·sub-directories·are383 of·the·mode·directories,·the·names·of·these·sub-directories·are
384 considered·groups·of·snippets·and·<a·href="snippet-menu.html">the·menu</a>·is·organized·much·more384 considered·groups·of·snippets·and·<a·href="snippet-menu.html">the·menu</a>·is·organized·much·more
385 cleanly:385 cleanly:
386 </p>386 </p>
  
Offset 417, 28 lines modifiedOffset 417, 28 lines modified
417 <p>417 <p>
418 Yet·another·way·to·create·a·nice·snippet·menu·is·to·write·into418 Yet·another·way·to·create·a·nice·snippet·menu·is·to·write·into
419 <code>.yas-make-groups</code>·a·menu·definition.·TODO419 <code>.yas-make-groups</code>·a·menu·definition.·TODO
420 </p>420 </p>
421 </div>421 </div>
422 </div>422 </div>
  
423 <div·id="outline-container-orgfe6c66c"·class="outline-2">423 <div·id="outline-container-orgc252f17"·class="outline-2">
424 <h2·id="orgfe6c66c">The·<code>.yas-setup.el</code>·file</h2>424 <h2·id="orgc252f17">The·<code>.yas-setup.el</code>·file</h2>
425 <div·class="outline-text-2"·id="text-orgfe6c66c">425 <div·class="outline-text-2"·id="text-orgc252f17">
426 <p>426 <p>
427 If·there·is·file·named·<code>.yas-setup.el</code>·in·a·mode's·snippet427 If·there·is·file·named·<code>.yas-setup.el</code>·in·a·mode's·snippet
428 subdirectory,·it·is·loaded·along·with·the·snippets.··Utility428 subdirectory,·it·is·loaded·along·with·the·snippets.··Utility
429 functions·used·by·the·snippets·can·be·put·here.429 functions·used·by·the·snippets·can·be·put·here.
430 </p>430 </p>
431 </div>431 </div>
432 </div>432 </div>
  
433 <div·id="outline-container-org9599d40"·class="outline-2">433 <div·id="outline-container-orgda05458"·class="outline-2">
434 <h2·id="org9599d40">The·<code>.yas-compiled-snippet.el</code>·file</h2>434 <h2·id="orgda05458">The·<code>.yas-compiled-snippet.el</code>·file</h2>
435 <div·class="outline-text-2"·id="text-org9599d40">435 <div·class="outline-text-2"·id="text-orgda05458">
436 <p>436 <p>
437 You·may·compile·a·top-level·snippet·directory·with·the437 You·may·compile·a·top-level·snippet·directory·with·the
438 <code>yas-compile-directory</code>·function,·which·will·create·a438 <code>yas-compile-directory</code>·function,·which·will·create·a
439 <code>.yas-compiled-snippets.el</code>·file·under·each·mode·subdirectory,439 <code>.yas-compiled-snippets.el</code>·file·under·each·mode·subdirectory,
440 which·contains·definitions·for·all·snippets·in·the·subdirectory.440 which·contains·definitions·for·all·snippets·in·the·subdirectory.
441 Compilation·helps·improve·loading·time.441 Compilation·helps·improve·loading·time.
442 </p>442 </p>
Offset 446, 17 lines modifiedOffset 446, 17 lines modified
446 <p>446 <p>
447 Alternatively,·you·may·compile·all·directories·in·the·list447 Alternatively,·you·may·compile·all·directories·in·the·list
448 <code>yas-snippet-dirs</code>·with·the·<code>yas-recompile-all</code>·function.448 <code>yas-snippet-dirs</code>·with·the·<code>yas-recompile-all</code>·function.
449 </p>449 </p>
450 </div>450 </div>
451 </div>451 </div>
  
452 <div·id="outline-container-orge078821"·class="outline-2">452 <div·id="outline-container-orgfa1fa55"·class="outline-2">
453 <h2·id="orge078821">The·<code>.yas-skip</code>·file</h2>453 <h2·id="orgfa1fa55">The·<code>.yas-skip</code>·file</h2>
454 <div·class="outline-text-2"·id="text-orge078821">454 <div·class="outline-text-2"·id="text-orgfa1fa55">
455 <p>455 <p>
456 A·<code>.yas-skip</code>·file·in·a·mode's·snippet·subdirectory·tells·YASnippet456 A·<code>.yas-skip</code>·file·in·a·mode's·snippet·subdirectory·tells·YASnippet
457 not·to·load·snippets·from·there.457 not·to·load·snippets·from·there.
458 </p>458 </p>
459 </div>459 </div>
Max diff block lines reached; 8/6582 bytes (0.12%) of diff not shown.
59.7 KB
./usr/share/doc/elpa-yasnippet/html/snippet-reference.html
    
Offset 260, 15 lines modifiedOffset 260, 15 lines modified
260 </div>260 </div>
261 <div·id="content">261 <div·id="content">
262 <h1·class="title">Reference</h1>262 <h1·class="title">Reference</h1>
263 <div·id="table-of-contents">263 <div·id="table-of-contents">
264 <h2>Table·of·Contents</h2>264 <h2>Table·of·Contents</h2>
265 <div·id="text-table-of-contents">265 <div·id="text-table-of-contents">
266 <ul>266 <ul>
267 <li><a·href="#orgdef5ba8">Interactive·functions</a>267 <li><a·href="#orgc17665d">Interactive·functions</a>
268 <ul>268 <ul>
269 <li><a·href="#yas-skip-and-clear-or-delete-char"><code·class='function'>yas-skip-and-clear-or-delete-char</code>·(<i>&amp;optional</i>·<code>field</code>)</a></li>269 <li><a·href="#yas-skip-and-clear-or-delete-char"><code·class='function'>yas-skip-and-clear-or-delete-char</code>·(<i>&amp;optional</i>·<code>field</code>)</a></li>
270 <li><a·href="#yas-load-snippet-buffer-and-close"><code·class='function'>yas-load-snippet-buffer-and-close</code>·(<code>table</code>·<i>&amp;optional</i>·<code>kill</code>)</a></li>270 <li><a·href="#yas-load-snippet-buffer-and-close"><code·class='function'>yas-load-snippet-buffer-and-close</code>·(<code>table</code>·<i>&amp;optional</i>·<code>kill</code>)</a></li>
271 <li><a·href="#yas-global-mode"><code·class='function'>yas-global-mode</code>·(<i>&amp;optional</i>·<code>arg</code>)</a></li>271 <li><a·href="#yas-global-mode"><code·class='function'>yas-global-mode</code>·(<i>&amp;optional</i>·<code>arg</code>)</a></li>
272 <li><a·href="#yas-next-field"><code·class='function'>yas-next-field</code>·(<i>&amp;optional</i>·<code>arg</code>)</a></li>272 <li><a·href="#yas-next-field"><code·class='function'>yas-next-field</code>·(<i>&amp;optional</i>·<code>arg</code>)</a></li>
273 <li><a·href="#yas-describe-table-by-namehash"><code·class='function'>yas-describe-table-by-namehash</code>·()</a></li>273 <li><a·href="#yas-describe-table-by-namehash"><code·class='function'>yas-describe-table-by-namehash</code>·()</a></li>
274 <li><a·href="#yas-exit-all-snippets"><code·class='function'>yas-exit-all-snippets</code>·()</a></li>274 <li><a·href="#yas-exit-all-snippets"><code·class='function'>yas-exit-all-snippets</code>·()</a></li>
Offset 295, 15 lines modifiedOffset 295, 15 lines modified
295 <li><a·href="#yas-reload-all"><code·class='function'>yas-reload-all</code>·(<i>&amp;optional</i>·<code>no-jit</code>·<code>interactive</code>)</a></li>295 <li><a·href="#yas-reload-all"><code·class='function'>yas-reload-all</code>·(<i>&amp;optional</i>·<code>no-jit</code>·<code>interactive</code>)</a></li>
296 <li><a·href="#yas-expand-from-keymap"><code·class='function'>yas-expand-from-keymap</code>·()</a></li>296 <li><a·href="#yas-expand-from-keymap"><code·class='function'>yas-expand-from-keymap</code>·()</a></li>
297 <li><a·href="#yas-abort-snippet"><code·class='function'>yas-abort-snippet</code>·(<i>&amp;optional</i>·<code>snippet</code>)</a></li>297 <li><a·href="#yas-abort-snippet"><code·class='function'>yas-abort-snippet</code>·(<i>&amp;optional</i>·<code>snippet</code>)</a></li>
298 <li><a·href="#yas-about"><code·class='function'>yas-about</code>·()</a></li>298 <li><a·href="#yas-about"><code·class='function'>yas-about</code>·()</a></li>
299 <li><a·href="#yas-deactivate-extra-mode"><code·class='function'>yas-deactivate-extra-mode</code>·(<code>mode</code>)</a></li>299 <li><a·href="#yas-deactivate-extra-mode"><code·class='function'>yas-deactivate-extra-mode</code>·(<code>mode</code>)</a></li>
300 </ul>300 </ul>
301 </li>301 </li>
302 <li><a·href="#org8258567">Customization·variables</a>302 <li><a·href="#org638836e">Customization·variables</a>
303 <ul>303 <ul>
304 <li><a·href="#yas-wrap-around-region"><code·class='variable'>yas-wrap-around-region</code></a></li>304 <li><a·href="#yas-wrap-around-region"><code·class='variable'>yas-wrap-around-region</code></a></li>
305 <li><a·href="#yas-alias-to-yas/prefix-p"><code·class='variable'>yas-alias-to-yas/prefix-p</code></a></li>305 <li><a·href="#yas-alias-to-yas/prefix-p"><code·class='variable'>yas-alias-to-yas/prefix-p</code></a></li>
306 <li><a·href="#yas-triggers-in-field"><code·class='variable'>yas-triggers-in-field</code></a></li>306 <li><a·href="#yas-triggers-in-field"><code·class='variable'>yas-triggers-in-field</code></a></li>
307 <li><a·href="#yas-snippet-dirs"><code·class='function'>yas-snippet-dirs</code>·()</a></li>307 <li><a·href="#yas-snippet-dirs"><code·class='function'>yas-snippet-dirs</code>·()</a></li>
308 <li><a·href="#yas-expand-only-for-last-commands"><code·class='variable'>yas-expand-only-for-last-commands</code></a></li>308 <li><a·href="#yas-expand-only-for-last-commands"><code·class='variable'>yas-expand-only-for-last-commands</code></a></li>
309 <li><a·href="#yas-also-indent-empty-lines"><code·class='variable'>yas-also-indent-empty-lines</code></a></li>309 <li><a·href="#yas-also-indent-empty-lines"><code·class='variable'>yas-also-indent-empty-lines</code></a></li>
Offset 320, 15 lines modifiedOffset 320, 15 lines modified
320 <li><a·href="#yas-trigger-symbol"><code·class='variable'>yas-trigger-symbol</code></a></li>320 <li><a·href="#yas-trigger-symbol"><code·class='variable'>yas-trigger-symbol</code></a></li>
321 <li><a·href="#yas-choose-keys-first"><code·class='variable'>yas-choose-keys-first</code></a></li>321 <li><a·href="#yas-choose-keys-first"><code·class='variable'>yas-choose-keys-first</code></a></li>
322 <li><a·href="#yas-inhibit-overlay-modification-protection"><code·class='variable'>yas-inhibit-overlay-modification-protection</code></a></li>322 <li><a·href="#yas-inhibit-overlay-modification-protection"><code·class='variable'>yas-inhibit-overlay-modification-protection</code></a></li>
323 <li><a·href="#yas-snippet-revival"><code·class='variable'>yas-snippet-revival</code></a></li>323 <li><a·href="#yas-snippet-revival"><code·class='variable'>yas-snippet-revival</code></a></li>
324 <li><a·href="#yas-also-auto-indent-first-line"><code·class='variable'>yas-also-auto-indent-first-line</code></a></li>324 <li><a·href="#yas-also-auto-indent-first-line"><code·class='variable'>yas-also-auto-indent-first-line</code></a></li>
325 </ul>325 </ul>
326 </li>326 </li>
327 <li><a·href="#org5a74346">Useful·functions</a>327 <li><a·href="#orgc0ca44e">Useful·functions</a>
328 <ul>328 <ul>
329 <li><a·href="#yas-text"><code·class='function'>yas-text</code>·()</a></li>329 <li><a·href="#yas-text"><code·class='function'>yas-text</code>·()</a></li>
330 <li><a·href="#yas-substr"><code·class='function'>yas-substr</code>·(<code>str</code>·<code>pattern</code>·<i>&amp;optional</i>·<code>subexp</code>)</a></li>330 <li><a·href="#yas-substr"><code·class='function'>yas-substr</code>·(<code>str</code>·<code>pattern</code>·<i>&amp;optional</i>·<code>subexp</code>)</a></li>
331 <li><a·href="#yas-lookup-snippet"><code·class='function'>yas-lookup-snippet</code>·(<code>name</code>·<i>&amp;optional</i>·<code>mode</code>·<code>noerror</code>)</a></li>331 <li><a·href="#yas-lookup-snippet"><code·class='function'>yas-lookup-snippet</code>·(<code>name</code>·<i>&amp;optional</i>·<code>mode</code>·<code>noerror</code>)</a></li>
332 <li><a·href="#yas-no-prompt"><code·class='function'>yas-no-prompt</code>·(<code>_prompt</code>·<code>choices</code>·<i>&amp;optional</i>·<code>_display-fn</code>)</a></li>332 <li><a·href="#yas-no-prompt"><code·class='function'>yas-no-prompt</code>·(<code>_prompt</code>·<code>choices</code>·<i>&amp;optional</i>·<code>_display-fn</code>)</a></li>
333 <li><a·href="#yas-define-snippets"><code·class='function'>yas-define-snippets</code>·(<code>mode</code>·<code>snippets</code>)</a></li>333 <li><a·href="#yas-define-snippets"><code·class='function'>yas-define-snippets</code>·(<code>mode</code>·<code>snippets</code>)</a></li>
334 <li><a·href="#yas-global-mode-check-buffers"><code·class='function'>yas-global-mode-check-buffers</code>·()</a></li>334 <li><a·href="#yas-global-mode-check-buffers"><code·class='function'>yas-global-mode-check-buffers</code>·()</a></li>
Offset 366, 15 lines modifiedOffset 366, 15 lines modified
366 <li><a·href="#yas-throw"><code·class='function'>yas-throw</code>·(<code>text</code>)</a></li>366 <li><a·href="#yas-throw"><code·class='function'>yas-throw</code>·(<code>text</code>)</a></li>
367 <li><a·href="#yas-temp-buffer-p"><code·class='function'>yas-temp-buffer-p</code>·(<i>&amp;optional</i>·<code>buffer</code>)</a></li>367 <li><a·href="#yas-temp-buffer-p"><code·class='function'>yas-temp-buffer-p</code>·(<i>&amp;optional</i>·<code>buffer</code>)</a></li>
368 <li><a·href="#yas-verify-value"><code·class='function'>yas-verify-value</code>·(<code>possibilities</code>)</a></li>368 <li><a·href="#yas-verify-value"><code·class='function'>yas-verify-value</code>·(<code>possibilities</code>)</a></li>
369 <li><a·href="#yas-global-mode-cmhh"><code·class='function'>yas-global-mode-cmhh</code>·()</a></li>369 <li><a·href="#yas-global-mode-cmhh"><code·class='function'>yas-global-mode-cmhh</code>·()</a></li>
370 <li><a·href="#yas-snippet-mode-buffer-p"><code·class='function'>yas-snippet-mode-buffer-p</code>·()</a></li>370 <li><a·href="#yas-snippet-mode-buffer-p"><code·class='function'>yas-snippet-mode-buffer-p</code>·()</a></li>
371 </ul>371 </ul>
372 </li>372 </li>
373 <li><a·href="#orgf2a938f">Useful·variables</a>373 <li><a·href="#orgaa64dd6">Useful·variables</a>
374 <ul>374 <ul>
375 <li><a·href="#yas-before-expand-snippet-hook"><code·class='variable'>yas-before-expand-snippet-hook</code></a></li>375 <li><a·href="#yas-before-expand-snippet-hook"><code·class='variable'>yas-before-expand-snippet-hook</code></a></li>
376 <li><a·href="#yas-keymap"><code·class='variable'>yas-keymap</code></a></li>376 <li><a·href="#yas-keymap"><code·class='variable'>yas-keymap</code></a></li>
377 <li><a·href="#yas-minor-mode-map"><code·class='variable'>yas-minor-mode-map</code></a></li>377 <li><a·href="#yas-minor-mode-map"><code·class='variable'>yas-minor-mode-map</code></a></li>
378 <li><a·href="#yas-moving-away-p"><code·class='variable'>yas-moving-away-p</code></a></li>378 <li><a·href="#yas-moving-away-p"><code·class='variable'>yas-moving-away-p</code></a></li>
379 <li><a·href="#yas-new-snippet-buffer-name"><code·class='variable'>yas-new-snippet-buffer-name</code></a></li>379 <li><a·href="#yas-new-snippet-buffer-name"><code·class='variable'>yas-new-snippet-buffer-name</code></a></li>
380 <li><a·href="#yas-verbosity"><code·class='variable'>yas-verbosity</code></a></li>380 <li><a·href="#yas-verbosity"><code·class='variable'>yas-verbosity</code></a></li>
Offset 396, 32 lines modifiedOffset 396, 32 lines modified
396 <li><a·href="#yas-maybe-clear-field"><code·class='variable'>yas-maybe-clear-field</code></a></li>396 <li><a·href="#yas-maybe-clear-field"><code·class='variable'>yas-maybe-clear-field</code></a></li>
397 </ul>397 </ul>
398 </li>398 </li>
399 </ul>399 </ul>
400 </div>400 </div>
401 </div>401 </div>
  
402 <div·id="outline-container-orgdef5ba8"·class="outline-2">402 <div·id="outline-container-orgc17665d"·class="outline-2">
403 <h2·id="orgdef5ba8">Interactive·functions</h2>403 <h2·id="orgc17665d">Interactive·functions</h2>
404 <div·class="outline-text-2"·id="text-orgdef5ba8">404 <div·class="outline-text-2"·id="text-orgc17665d">
405 </div>405 </div>
406 <div·id="outline-container-orgbf73cc2"·class="outline-3">406 <div·id="outline-container-org5f1ec58"·class="outline-3">
407 <h3·id="yas-skip-and-clear-or-delete-char"><code·class='function'>yas-skip-and-clear-or-delete-char</code>·(<i>&amp;optional</i>·<code>field</code>)</h3>407 <h3·id="yas-skip-and-clear-or-delete-char"><code·class='function'>yas-skip-and-clear-or-delete-char</code>·(<i>&amp;optional</i>·<code>field</code>)</h3>
408 <div·class="outline-text-3"·id="text-yas-skip-and-clear-or-delete-char">408 <div·class="outline-text-3"·id="text-yas-skip-and-clear-or-delete-char">
409 <p>409 <p>
410 Clears·unmodified·field·if·at·field·start,·skips·to·next·tab.410 Clears·unmodified·field·if·at·field·start,·skips·to·next·tab.
411 </p>411 </p>
  
412 <p>412 <p>
413 Otherwise·deletes·a·character·normally·by·calling·<code>delete-char</code>.413 Otherwise·deletes·a·character·normally·by·calling·<code>delete-char</code>.
414 </p>414 </p>
415 </div>415 </div>
416 </div>416 </div>
  
417 <div·id="outline-container-orgfd5cd37"·class="outline-3">417 <div·id="outline-container-orga5d1534"·class="outline-3">
418 <h3·id="yas-load-snippet-buffer-and-close"><code·class='function'>yas-load-snippet-buffer-and-close</code>·(<code>table</code>·<i>&amp;optional</i>·<code>kill</code>)</h3>418 <h3·id="yas-load-snippet-buffer-and-close"><code·class='function'>yas-load-snippet-buffer-and-close</code>·(<code>table</code>·<i>&amp;optional</i>·<code>kill</code>)</h3>
419 <div·class="outline-text-3"·id="text-yas-load-snippet-buffer-and-close">419 <div·class="outline-text-3"·id="text-yas-load-snippet-buffer-and-close">
420 <p>420 <p>
421 Load·and·save·the·snippet,·then·<code>quit-window</code>·if·saved.421 Load·and·save·the·snippet,·then·<code>quit-window</code>·if·saved.
422 Loading·is·performed·by·<a·href="#yas-load-snippet-buffer"><code>yas-load-snippet-buffer</code></a>.··If·the422 Loading·is·performed·by·<a·href="#yas-load-snippet-buffer"><code>yas-load-snippet-buffer</code></a>.··If·the
423 snippet·is·new,·ask·the·user·whether·(and·where)·to·save·it.··If423 snippet·is·new,·ask·the·user·whether·(and·where)·to·save·it.··If
424 the·snippet·already·has·a·file,·just·save·it.424 the·snippet·already·has·a·file,·just·save·it.
Offset 434, 15 lines modifiedOffset 434, 15 lines modified
434 <p>434 <p>
435 Don't·use·this·from·a·Lisp·program,·call·<a·href="#yas-load-snippet-buffer"><code>yas-load-snippet-buffer</code></a>435 Don't·use·this·from·a·Lisp·program,·call·<a·href="#yas-load-snippet-buffer"><code>yas-load-snippet-buffer</code></a>
436 and·<code>kill-buffer</code>·instead.436 and·<code>kill-buffer</code>·instead.
437 </p>437 </p>
438 </div>438 </div>
439 </div>439 </div>
  
440 <div·id="outline-container-orgfd5d7fa"·class="outline-3">440 <div·id="outline-container-org341ec68"·class="outline-3">
441 <h3·id="yas-global-mode"><code·class='function'>yas-global-mode</code>·(<i>&amp;optional</i>·<code>arg</code>)</h3>441 <h3·id="yas-global-mode"><code·class='function'>yas-global-mode</code>·(<i>&amp;optional</i>·<code>arg</code>)</h3>
442 <div·class="outline-text-3"·id="text-yas-global-mode">442 <div·class="outline-text-3"·id="text-yas-global-mode">
443 <p>443 <p>
444 Toggle·Yas·minor·mode·in·all·buffers.444 Toggle·Yas·minor·mode·in·all·buffers.
445 With·prefix·<code>arg</code>,·enable·Yas-Global·mode·if·<code>arg</code>·is·positive;445 With·prefix·<code>arg</code>,·enable·Yas-Global·mode·if·<code>arg</code>·is·positive;
446 otherwise,·disable·it.··If·called·from·Lisp,·enable·the·mode·if446 otherwise,·disable·it.··If·called·from·Lisp,·enable·the·mode·if
447 <code>arg</code>·is·omitted·or·nil.447 <code>arg</code>·is·omitted·or·nil.
Offset 452, 125 lines modifiedOffset 452, 125 lines modified
452 Yas·minor·mode·is·enabled·in·all·buffers·where452 Yas·minor·mode·is·enabled·in·all·buffers·where
453 <a·href="#yas-minor-mode-on"><code>yas-minor-mode-on</code></a>·would·do·it.453 <a·href="#yas-minor-mode-on"><code>yas-minor-mode-on</code></a>·would·do·it.
454 See·<a·href="#yas-minor-mode"><code>yas-minor-mode</code></a>·for·more·information·on·Yas·minor·mode.454 See·<a·href="#yas-minor-mode"><code>yas-minor-mode</code></a>·for·more·information·on·Yas·minor·mode.
455 </p>455 </p>
456 </div>456 </div>
457 </div>457 </div>
  
458 <div·id="outline-container-org78fee28"·class="outline-3">458 <div·id="outline-container-orgc02c0ca"·class="outline-3">
459 <h3·id="yas-next-field"><code·class='function'>yas-next-field</code>·(<i>&amp;optional</i>·<code>arg</code>)</h3>459 <h3·id="yas-next-field"><code·class='function'>yas-next-field</code>·(<i>&amp;optional</i>·<code>arg</code>)</h3>
460 <div·class="outline-text-3"·id="text-yas-next-field">460 <div·class="outline-text-3"·id="text-yas-next-field">
461 <p>461 <p>
462 Navigate·to·the·<code>arg</code>th·next·field.462 Navigate·to·the·<code>arg</code>th·next·field.
463 </p>463 </p>
  
Max diff block lines reached; 52698/61023 bytes (86.36%) of diff not shown.