117 KB
/srv/reproducible-results/rbuild-debian/r-b-build.HdNul7nd/b1/yasnippet_0.14.0+git20200603.5cbdbf0d-1_i386.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.HdNul7nd/b2/yasnippet_0.14.0+git20200603.5cbdbf0d-1_i386.changes
348 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·5ea4433ab6dc64d2d082cf52aed571fe·532876·lisp·optional·elpa-yasnippet_0.14.0+git20200603.5cbdbf0d-1_all.deb1 ·62d814b896aefb08e7eed5b1d31b273c·532896·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···530732·2020-11-05·15:31:38.000000·data.tar.xz3 -rw-r--r--···0········0········0···530752·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="#org592d0c8">Why·are·my·snippet·abbrev·keys·triggering·when·I·don't·want·them·too?</a></li>267 <li><a·href="#orge60f9a9">Why·are·my·snippet·abbrev·keys·triggering·when·I·don't·want·them·too?</a></li>
268 <li><a·href="#orgc7ff4ce">Why·aren't·my·snippet·abbrev·keys·triggering·when·I·want·them·too?</a></li>268 <li><a·href="#orgbff43d2">Why·aren't·my·snippet·abbrev·keys·triggering·when·I·want·them·too?</a></li>
269 <li><a·href="#org5f5921e">Why·is·there·an·extra·newline?</a></li>269 <li><a·href="#org4e6d647">Why·is·there·an·extra·newline?</a></li>
270 <li><a·href="#org9bcd7ac">Why·doesn't·TAB·navigation·work·with·flyspell</a></li>270 <li><a·href="#org2853293">Why·doesn't·TAB·navigation·work·with·flyspell</a></li>
271 <li><a·href="#orgb72ef5a">How·do·I·use·alternative·keys,·i.e.·not·TAB?</a></li>271 <li><a·href="#org8592226">How·do·I·use·alternative·keys,·i.e.·not·TAB?</a></li>
272 <li><a·href="#org416cf26">How·do·I·define·an·abbrev·key·containing·characters·not·supported·by·the·filesystem?</a></li>272 <li><a·href="#org738de35">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-org592d0c8"·class="outline-2">282 <div·id="outline-container-orge60f9a9"·class="outline-2">
283 <h2·id="org592d0c8">Why·are·my·snippet·abbrev·keys·triggering·when·I·don't·want·them·too?</h2>283 <h2·id="orge60f9a9">Why·are·my·snippet·abbrev·keys·triggering·when·I·don't·want·them·too?</h2>
284 <div·class="outline-text-2"·id="text-org592d0c8">284 <div·class="outline-text-2"·id="text-orge60f9a9">
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-orgc7ff4ce"·class="outline-2">294 <div·id="outline-container-orgbff43d2"·class="outline-2">
295 <h2·id="orgc7ff4ce">Why·aren't·my·snippet·abbrev·keys·triggering·when·I·want·them·too?</h2>295 <h2·id="orgbff43d2">Why·aren't·my·snippet·abbrev·keys·triggering·when·I·want·them·too?</h2>
296 <div·class="outline-text-2"·id="text-orgc7ff4ce">296 <div·class="outline-text-2"·id="text-orgbff43d2">
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-org5f5921e"·class="outline-2">302 <div·id="outline-container-org4e6d647"·class="outline-2">
303 <h2·id="org5f5921e">Why·is·there·an·extra·newline?</h2>303 <h2·id="org4e6d647">Why·is·there·an·extra·newline?</h2>
304 <div·class="outline-text-2"·id="text-org5f5921e">304 <div·class="outline-text-2"·id="text-org4e6d647">
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-org9bcd7ac"·class="outline-2">322 <div·id="outline-container-org2853293"·class="outline-2">
323 <h2·id="org9bcd7ac">Why·doesn't·TAB·navigation·work·with·flyspell</h2>323 <h2·id="org2853293">Why·doesn't·TAB·navigation·work·with·flyspell</h2>
324 <div·class="outline-text-2"·id="text-org9bcd7ac">324 <div·class="outline-text-2"·id="text-org2853293">
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-orgb72ef5a"·class="outline-2">341 <div·id="outline-container-org8592226"·class="outline-2">
342 <h2·id="orgb72ef5a">How·do·I·use·alternative·keys,·i.e.·not·TAB?</h2>342 <h2·id="org8592226">How·do·I·use·alternative·keys,·i.e.·not·TAB?</h2>
343 <div·class="outline-text-2"·id="text-orgb72ef5a">343 <div·class="outline-text-2"·id="text-org8592226">
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-org416cf26"·class="outline-2">369 <div·id="outline-container-org738de35"·class="outline-2">
370 <h2·id="org416cf26">How·do·I·define·an·abbrev·key·containing·characters·not·supported·by·the·filesystem?</h2>370 <h2·id="org738de35">How·do·I·define·an·abbrev·key·containing·characters·not·supported·by·the·filesystem?</h2>
371 <div·class="outline-text-2"·id="text-org416cf26">371 <div·class="outline-text-2"·id="text-org738de35">
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="#org2420e8e">Snippet·development</a>267 <li><a·href="#org63b1831">Snippet·development</a>
268 <ul>268 <ul>
269 <li><a·href="#org44d1c1a">Quickly·finding·snippets</a></li>269 <li><a·href="#orge1f1001">Quickly·finding·snippets</a></li>
270 <li><a·href="#org1bd3ab8">Using·the·<code>snippet-mode</code>·major·mode·</a></li>270 <li><a·href="#orga7058c9">Using·the·<code>snippet-mode</code>·major·mode·</a></li>
271 </ul>271 </ul>
272 </li>272 </li>
273 <li><a·href="#orgea4ae09">File·content</a>273 <li><a·href="#org384b312">File·content</a>
274 <ul>274 <ul>
275 <li><a·href="#org99b34b7"><code>#·key:</code>·snippet·abbrev</a></li>275 <li><a·href="#orgee5481c"><code>#·key:</code>·snippet·abbrev</a></li>
276 <li><a·href="#org7bc3c34"><code>#·name:</code>·snippet·name</a></li>276 <li><a·href="#orgc2ffb3f"><code>#·name:</code>·snippet·name</a></li>
277 <li><a·href="#orge17dada"><code>#·condition:</code>·snippet·condition</a></li>277 <li><a·href="#org08ca5be"><code>#·condition:</code>·snippet·condition</a></li>
278 <li><a·href="#orge3978cd"><code>#·group:</code>·snippet·menu·grouping</a></li>278 <li><a·href="#orgb4fabb1"><code>#·group:</code>·snippet·menu·grouping</a></li>
279 <li><a·href="#orgdc593e0"><code>#·expand-env:</code>·expand·environment</a></li>279 <li><a·href="#orgd8cf076"><code>#·expand-env:</code>·expand·environment</a></li>
280 <li><a·href="#org742a746"><code>#·binding:</code>·direct·keybinding</a></li>280 <li><a·href="#org63538ae"><code>#·binding:</code>·direct·keybinding</a></li>
281 <li><a·href="#orgd5dad9a"><code>#·type:</code>·<code>snippet</code>·or·<code>command</code></a></li>281 <li><a·href="#org45d8c55"><code>#·type:</code>·<code>snippet</code>·or·<code>command</code></a></li>
282 <li><a·href="#orged2a288"><code>#·uuid:</code>·unique·identifier</a></li>282 <li><a·href="#orgfc1cce0"><code>#·uuid:</code>·unique·identifier</a></li>
283 <li><a·href="#org09771e6"><code>#·contributor:</code>·snippet·author</a></li>283 <li><a·href="#orga71187d"><code>#·contributor:</code>·snippet·author</a></li>
284 </ul>284 </ul>
285 </li>285 </li>
286 <li><a·href="#org295e4a0">Template·Syntax</a>286 <li><a·href="#org39d6012">Template·Syntax</a>
287 <ul>287 <ul>
288 <li><a·href="#org17cb3cc">Plain·Text</a></li>288 <li><a·href="#org9ca15f8">Plain·Text</a></li>
289 <li><a·href="#org7720039">Embedded·Emacs·Lisp·code</a>289 <li><a·href="#org31f3548">Embedded·Emacs·Lisp·code</a>
290 <ul>290 <ul>
291 <li><a·href="#orga09f8ff">Note:·backquote·expressions·should·not·modify·the·buffer</a></li>291 <li><a·href="#org55382a2">Note:·backquote·expressions·should·not·modify·the·buffer</a></li>
292 </ul>292 </ul>
293 </li>293 </li>
294 <li><a·href="#org7dfe097">Tab·stop·fields</a></li>294 <li><a·href="#org6baa3a6">Tab·stop·fields</a></li>
295 <li><a·href="#orgd18f61a">Placeholder·fields</a></li>295 <li><a·href="#org0e345fd">Placeholder·fields</a></li>
296 <li><a·href="#orge59049b">Mirrors·</a></li>296 <li><a·href="#org5e19c27">Mirrors·</a></li>
297 <li><a·href="#org93a8057">Mirrors·with·transformations·</a></li>297 <li><a·href="#org3e56936">Mirrors·with·transformations·</a></li>
298 <li><a·href="#org8c7f1e9">Fields·with·transformations</a></li>298 <li><a·href="#org1eca5e7">Fields·with·transformations</a></li>
299 <li><a·href="#org9aa5bf1">Choosing·fields·value·from·a·list·and·other·tricks</a></li>299 <li><a·href="#org00dee41">Choosing·fields·value·from·a·list·and·other·tricks</a></li>
300 <li><a·href="#org0eee909">Nested·placeholder·fields</a></li>300 <li><a·href="#orgfbecefc">Nested·placeholder·fields</a></li>
301 <li><a·href="#org953281e">Indentation·markers</a></li>301 <li><a·href="#org94ea015">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-org2420e8e"·class="outline-2">307 <div·id="outline-container-org63b1831"·class="outline-2">
308 <h2·id="org2420e8e">Snippet·development</h2>308 <h2·id="org63b1831">Snippet·development</h2>
309 <div·class="outline-text-2"·id="text-org2420e8e">309 <div·class="outline-text-2"·id="text-org63b1831">
310 </div>310 </div>
311 <div·id="outline-container-org44d1c1a"·class="outline-3">311 <div·id="outline-container-orge1f1001"·class="outline-3">
312 <h3·id="org44d1c1a">Quickly·finding·snippets</h3>312 <h3·id="orge1f1001">Quickly·finding·snippets</h3>
313 <div·class="outline-text-3"·id="text-org44d1c1a">313 <div·class="outline-text-3"·id="text-orge1f1001">
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="#orgd8af1b0">below</a>).··When·you·are·done·editing323 buffer·is·in·<code>snippet-mode</code>·(see·<a·href="#org3367f7c">below</a>).··When·you·are·done·editing
324 the·new·snippet,·use·<a·href="#org1cb9f0f"><code>C-c·C-c</code></a>·to·save·it.324 the·new·snippet,·use·<a·href="#orgaed6c62"><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="#orgd8af1b0">ahead</a>)336 Once·you·find·this·file·it·will·be·set·to·<code>snippet-mode</code>·(see·<a·href="#org3367f7c">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-org1bd3ab8"·class="outline-3">341 <div·id="outline-container-orga7058c9"·class="outline-3">
342 <h3·id="org1bd3ab8">Using·the·<code>snippet-mode</code>·major·mode·<a·id="orgd8af1b0"></a></h3>342 <h3·id="orga7058c9">Using·the·<code>snippet-mode</code>·major·mode·<a·id="org3367f7c"></a></h3>
343 <div·class="outline-text-3"·id="text-org1bd3ab8">343 <div·class="outline-text-3"·id="text-orga7058c9">
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="org1cb9f0f"></a>372 <a·id="orgaed6c62"></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-orgea4ae09"·class="outline-2">402 <div·id="outline-container-org384b312"·class="outline-2">
403 <h2·id="orgea4ae09">File·content</h2>403 <h2·id="org384b312">File·content</h2>
404 <div·class="outline-text-2"·id="text-orgea4ae09">404 <div·class="outline-text-2"·id="text-org384b312">
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="#org5520ec5">Triggering·expansion</a>267 <li><a·href="#org280f9e1">Triggering·expansion</a>
268 <ul>268 <ul>
269 <li><a·href="#orgcf56c4a">Trigger·key</a>269 <li><a·href="#org4cb18ff">Trigger·key</a>
270 <ul>270 <ul>
271 <li><a·href="#org5a81a7d">Fallback·behaviour</a></li>271 <li><a·href="#orgdc04844">Fallback·behaviour</a></li>
272 </ul>272 </ul>
273 </li>273 </li>
274 <li><a·href="#org68ab371">Insert·at·point</a>274 <li><a·href="#org8563f81">Insert·at·point</a>
275 <ul>275 <ul>
276 <li><a·href="#org0898dc6">Inserting·region·or·register·contents·into·snippet</a></li>276 <li><a·href="#org58ea6cb">Inserting·region·or·register·contents·into·snippet</a></li>
277 </ul>277 </ul>
278 </li>278 </li>
279 <li><a·href="#org133e4f2">Snippet·keybinding</a></li>279 <li><a·href="#orgfca8aca">Snippet·keybinding</a></li>
280 <li><a·href="#orgd07046f">Expanding·from·the·menu</a></li>280 <li><a·href="#org5ebc3d2">Expanding·from·the·menu</a></li>
281 <li><a·href="#orge4e5577">Expanding·with·<code>hippie-expand</code></a></li>281 <li><a·href="#org1f14a75">Expanding·with·<code>hippie-expand</code></a></li>
282 <li><a·href="#orgbaeafa1">Expanding·from·emacs-lisp·code</a></li>282 <li><a·href="#org7178e3e">Expanding·from·emacs-lisp·code</a></li>
283 </ul>283 </ul>
284 </li>284 </li>
285 <li><a·href="#orgd5338b6">Controlling·expansion</a>285 <li><a·href="#orge67bd82">Controlling·expansion</a>
286 <ul>286 <ul>
287 <li><a·href="#org0583394">Eligible·snippets</a></li>287 <li><a·href="#orgc6ab209">Eligible·snippets</a></li>
288 <li><a·href="#orgc7f7e39">The·condition·system·</a></li>288 <li><a·href="#org0a8555e">The·condition·system·</a></li>
289 <li><a·href="#org42aee15">Multiples·snippet·with·the·same·key</a>289 <li><a·href="#org6619d91">Multiples·snippet·with·the·same·key</a>
290 <ul>290 <ul>
291 <li><a·href="#orgb0d3b2c">Use·the·X·window·system</a></li>291 <li><a·href="#org3e19600">Use·the·X·window·system</a></li>
292 <li><a·href="#org2185b89">Minibuffer·prompting</a></li>292 <li><a·href="#org9efab08">Minibuffer·prompting</a></li>
293 <li><a·href="#org37b6b47">Use·<code>dropdown-menu.el</code></a></li>293 <li><a·href="#org11a64f9">Use·<code>dropdown-menu.el</code></a></li>
294 <li><a·href="#org2713ee7">Roll·your·own</a></li>294 <li><a·href="#org2ad0812">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-org5520ec5"·class="outline-2">309 <div·id="outline-container-org280f9e1"·class="outline-2">
310 <h2·id="org5520ec5">Triggering·expansion</h2>310 <h2·id="org280f9e1">Triggering·expansion</h2>
311 <div·class="outline-text-2"·id="text-org5520ec5">311 <div·class="outline-text-2"·id="text-org280f9e1">
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-orgcf56c4a"·class="outline-3">339 <div·id="outline-container-org4cb18ff"·class="outline-3">
340 <h3·id="orgcf56c4a">Trigger·key</h3>340 <h3·id="org4cb18ff">Trigger·key</h3>
341 <div·class="outline-text-3"·id="text-orgcf56c4a">341 <div·class="outline-text-3"·id="text-org4cb18ff">
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-org5a81a7d"·class="outline-4">398 <div·id="outline-container-orgdc04844"·class="outline-4">
399 <h4·id="org5a81a7d">Fallback·behaviour</h4>399 <h4·id="orgdc04844">Fallback·behaviour</h4>
400 <div·class="outline-text-4"·id="text-org5a81a7d">400 <div·class="outline-text-4"·id="text-orgdc04844">
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-org68ab371"·class="outline-3">409 <div·id="outline-container-org8563f81"·class="outline-3">
410 <h3·id="org68ab371">Insert·at·point</h3>410 <h3·id="org8563f81">Insert·at·point</h3>
411 <div·class="outline-text-3"·id="text-org68ab371">411 <div·class="outline-text-3"·id="text-org8563f81">
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-org0898dc6"·class="outline-4">431 <div·id="outline-container-org58ea6cb"·class="outline-4">
432 <h4·id="org0898dc6">Inserting·region·or·register·contents·into·snippet</h4>432 <h4·id="org58ea6cb">Inserting·region·or·register·contents·into·snippet</h4>
433 <div·class="outline-text-4"·id="text-org0898dc6">433 <div·class="outline-text-4"·id="text-org58ea6cb">
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="#org0c40725">Loading·snippets·from·menu</a></li>267 <li><a·href="#org2477a54">Loading·snippets·from·menu</a></li>
268 <li><a·href="#orga81f52a">Snippet·menu·behavior</a></li>268 <li><a·href="#org332e4bf">Snippet·menu·behavior</a></li>
269 <li><a·href="#org2d246e7">Controlling·indenting</a></li>269 <li><a·href="#org74589a6">Controlling·indenting</a></li>
270 <li><a·href="#org2820767">Prompting·method</a></li>270 <li><a·href="#orgd346e82">Prompting·method</a></li>
271 <li><a·href="#org46c05e1">Misc</a></li>271 <li><a·href="#org2a59bc6">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-org0c40725"·class="outline-2">299 <div·id="outline-container-org2477a54"·class="outline-2">
300 <h2·id="org0c40725">Loading·snippets·from·menu</h2>300 <h2·id="org2477a54">Loading·snippets·from·menu</h2>
301 <div·class="outline-text-2"·id="text-org0c40725">301 <div·class="outline-text-2"·id="text-org2477a54">
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-orga81f52a"·class="outline-2">313 <div·id="outline-container-org332e4bf"·class="outline-2">
314 <h2·id="orga81f52a">Snippet·menu·behavior</h2>314 <h2·id="org332e4bf">Snippet·menu·behavior</h2>
315 <div·class="outline-text-2"·id="text-orga81f52a">315 <div·class="outline-text-2"·id="text-org332e4bf">
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-org2d246e7"·class="outline-2">355 <div·id="outline-container-org74589a6"·class="outline-2">
356 <h2·id="org2d246e7">Controlling·indenting</h2>356 <h2·id="org74589a6">Controlling·indenting</h2>
357 <div·class="outline-text-2"·id="text-org2d246e7">357 <div·class="outline-text-2"·id="text-org74589a6">
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-org2820767"·class="outline-2">365 <div·id="outline-container-orgd346e82"·class="outline-2">
366 <h2·id="org2820767">Prompting·method</h2>366 <h2·id="orgd346e82">Prompting·method</h2>
367 <div·class="outline-text-2"·id="text-org2820767">367 <div·class="outline-text-2"·id="text-orgd346e82">
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-org46c05e1"·class="outline-2">374 <div·id="outline-container-org2a59bc6"·class="outline-2">
375 <h2·id="org46c05e1">Misc</h2>375 <h2·id="org2a59bc6">Misc</h2>
376 <div·class="outline-text-2"·id="text-org46c05e1">376 <div·class="outline-text-2"·id="text-org2a59bc6">
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="#org61eb1c6">Basic·structure</a></li>267 <li><a·href="#org405a5d1">Basic·structure</a></li>
268 <li><a·href="#orgc3918b4">Setting·up·<code>yas-snippet-dirs</code></a></li>268 <li><a·href="#org5837792">Setting·up·<code>yas-snippet-dirs</code></a></li>
269 <li><a·href="#orgf5e593b">The·<code>.yas-parents</code>·file</a></li>269 <li><a·href="#org7c04cd9">The·<code>.yas-parents</code>·file</a></li>
270 <li><a·href="#org2429b8e"><span·class="todo·TODO">TODO</span>·The·<code>.yas-make-groups</code>·file</a></li>270 <li><a·href="#org5c7ae30"><span·class="todo·TODO">TODO</span>·The·<code>.yas-make-groups</code>·file</a></li>
271 <li><a·href="#org82f236d">The·<code>.yas-setup.el</code>·file</a></li>271 <li><a·href="#orgf3bf8ec">The·<code>.yas-setup.el</code>·file</a></li>
272 <li><a·href="#org01a9e0c">The·<code>.yas-compiled-snippet.el</code>·file</a></li>272 <li><a·href="#orge3f9dd9">The·<code>.yas-compiled-snippet.el</code>·file</a></li>
273 <li><a·href="#orga38dc41">The·<code>.yas-skip</code>·file</a></li>273 <li><a·href="#orgf72ea6a">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-org61eb1c6"·class="outline-2">277 <div·id="outline-container-org405a5d1"·class="outline-2">
278 <h2·id="org61eb1c6">Basic·structure</h2>278 <h2·id="org405a5d1">Basic·structure</h2>
279 <div·class="outline-text-2"·id="text-org61eb1c6">279 <div·class="outline-text-2"·id="text-org405a5d1">
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-orgc3918b4"·class="outline-2">305 <div·id="outline-container-org5837792"·class="outline-2">
306 <h2·id="orgc3918b4">Setting·up·<code>yas-snippet-dirs</code></h2>306 <h2·id="org5837792">Setting·up·<code>yas-snippet-dirs</code></h2>
307 <div·class="outline-text-2"·id="text-orgc3918b4">307 <div·class="outline-text-2"·id="text-org5837792">
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-orgf5e593b"·class="outline-2">349 <div·id="outline-container-org7c04cd9"·class="outline-2">
350 <h2·id="orgf5e593b">The·<code>.yas-parents</code>·file</h2>350 <h2·id="org7c04cd9">The·<code>.yas-parents</code>·file</h2>
351 <div·class="outline-text-2"·id="text-orgf5e593b">351 <div·class="outline-text-2"·id="text-org7c04cd9">
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-org2429b8e"·class="outline-2">378 <div·id="outline-container-org5c7ae30"·class="outline-2">
379 <h2·id="org2429b8e"><span·class="todo·TODO">TODO</span>·The·<code>.yas-make-groups</code>·file</h2>379 <h2·id="org5c7ae30"><span·class="todo·TODO">TODO</span>·The·<code>.yas-make-groups</code>·file</h2>
380 <div·class="outline-text-2"·id="text-org2429b8e">380 <div·class="outline-text-2"·id="text-org5c7ae30">
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-org82f236d"·class="outline-2">423 <div·id="outline-container-orgf3bf8ec"·class="outline-2">
424 <h2·id="org82f236d">The·<code>.yas-setup.el</code>·file</h2>424 <h2·id="orgf3bf8ec">The·<code>.yas-setup.el</code>·file</h2>
425 <div·class="outline-text-2"·id="text-org82f236d">425 <div·class="outline-text-2"·id="text-orgf3bf8ec">
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-org01a9e0c"·class="outline-2">433 <div·id="outline-container-orge3f9dd9"·class="outline-2">
434 <h2·id="org01a9e0c">The·<code>.yas-compiled-snippet.el</code>·file</h2>434 <h2·id="orge3f9dd9">The·<code>.yas-compiled-snippet.el</code>·file</h2>
435 <div·class="outline-text-2"·id="text-org01a9e0c">435 <div·class="outline-text-2"·id="text-orge3f9dd9">
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-orga38dc41"·class="outline-2">452 <div·id="outline-container-orgf72ea6a"·class="outline-2">
453 <h2·id="orga38dc41">The·<code>.yas-skip</code>·file</h2>453 <h2·id="orgf72ea6a">The·<code>.yas-skip</code>·file</h2>
454 <div·class="outline-text-2"·id="text-orga38dc41">454 <div·class="outline-text-2"·id="text-orgf72ea6a">
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="#orgd47e084">Interactive·functions</a>267 <li><a·href="#orgf25db82">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="#org34d9243">Customization·variables</a>302 <li><a·href="#org6a35a76">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="#org564b880">Useful·functions</a>327 <li><a·href="#org0c37e23">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="#org8497a4c">Useful·variables</a>373 <li><a·href="#org9bab89a">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-orgd47e084"·class="outline-2">402 <div·id="outline-container-orgf25db82"·class="outline-2">
403 <h2·id="orgd47e084">Interactive·functions</h2>403 <h2·id="orgf25db82">Interactive·functions</h2>
404 <div·class="outline-text-2"·id="text-orgd47e084">404 <div·class="outline-text-2"·id="text-orgf25db82">
405 </div>405 </div>
406 <div·id="outline-container-orgbe2d1ac"·class="outline-3">406 <div·id="outline-container-org4e00fda"·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-org63dfcd8"·class="outline-3">417 <div·id="outline-container-orgbc4c9e1"·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-org23409c2"·class="outline-3">440 <div·id="outline-container-org783437c"·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-orgf70a307"·class="outline-3">458 <div·id="outline-container-orgbdab444"·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.