129 KB
/srv/reproducible-results/rbuild-debian/tmp.v4HQ7vSfnf/b1/yasnippet_0.13.0-2_armhf.changes vs.
/srv/reproducible-results/rbuild-debian/tmp.v4HQ7vSfnf/b2/yasnippet_0.13.0-2_armhf.changes
285 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·3364da1653c3fd73662aa2e62d294f7d·531780·lisp·optional·elpa-yasnippet_0.13.0-2_all.deb1 ·6db08a94eabbd2348c08bd0891ebc3c8·531780·lisp·optional·elpa-yasnippet_0.13.0-2_all.deb
2 ·cf1a94599179fdcb62573fb432f5fa3f·4728·lisp·optional·yasnippet_0.13.0-2_all.deb2 ·cf1a94599179fdcb62573fb432f5fa3f·4728·lisp·optional·yasnippet_0.13.0-2_all.deb
129 KB
elpa-yasnippet_0.13.0-2_all.deb
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
128 KB
data.tar.xz
128 KB
data.tar
5.65 KB
./usr/share/doc/elpa-yasnippet/html/faq.html
    
Offset 247, 32 lines modifiedOffset 247, 32 lines modified
247 </div>247 </div>
248 <div·id="content">248 <div·id="content">
249 <h1·class="title">Frequently·Asked·Questions</h1>249 <h1·class="title">Frequently·Asked·Questions</h1>
250 <div·id="table-of-contents">250 <div·id="table-of-contents">
251 <h2>Table·of·Contents</h2>251 <h2>Table·of·Contents</h2>
252 <div·id="text-table-of-contents">252 <div·id="text-table-of-contents">
253 <ul>253 <ul>
254 <li><a·href="#orga03d00d">Why·is·there·an·extra·newline?</a></li>254 <li><a·href="#orge11b148">Why·is·there·an·extra·newline?</a></li>
255 <li><a·href="#org3ef03eb">Why·doesn't·TAB·navigation·work·with·flyspell</a></li>255 <li><a·href="#orgf972249">Why·doesn't·TAB·navigation·work·with·flyspell</a></li>
256 <li><a·href="#org2c17f97">How·do·I·use·alternative·keys,·i.e.·not·TAB?</a></li>256 <li><a·href="#orgbfc0f16">How·do·I·use·alternative·keys,·i.e.·not·TAB?</a></li>
257 <li><a·href="#orga8520ba">How·do·I·turn·off·the·minor·mode·where·in·some·buffers?</a></li>257 <li><a·href="#org399d0d5">How·do·I·turn·off·the·minor·mode·where·in·some·buffers?</a></li>
258 <li><a·href="#org8b492f3">How·do·I·define·an·abbrev·key·containing·characters·not·supported·by·the·filesystem?</a></li>258 <li><a·href="#orga2a42ac">How·do·I·define·an·abbrev·key·containing·characters·not·supported·by·the·filesystem?</a></li>
259 </ul>259 </ul>
260 </div>260 </div>
261 </div>261 </div>
262 <ul·class="org-ul">262 <ul·class="org-ul">
263 <li><b>Note</b>:·In·addition·to·the·questions·and·answers·presented·here,263 <li><b>Note</b>:·In·addition·to·the·questions·and·answers·presented·here,
264 you·might·also·with·to·visit·the·list·of·<a·href="https://github.com/joaotavora/yasnippet/issues?q=label:support">solved·support·issues</a>·in264 you·might·also·with·to·visit·the·list·of·<a·href="https://github.com/joaotavora/yasnippet/issues?q=label:support">solved·support·issues</a>·in
265 the·Github·issue·tracker.··It·might·be·more·up-to-date·than·this265 the·Github·issue·tracker.··It·might·be·more·up-to-date·than·this
266 list.</li>266 list.</li>
267 </ul>267 </ul>
  
268 <div·id="outline-container-orga03d00d"·class="outline-2">268 <div·id="outline-container-orge11b148"·class="outline-2">
269 <h2·id="orga03d00d">Why·is·there·an·extra·newline?</h2>269 <h2·id="orge11b148">Why·is·there·an·extra·newline?</h2>
270 <div·class="outline-text-2"·id="text-orga03d00d">270 <div·class="outline-text-2"·id="text-orge11b148">
271 <p>271 <p>
272 If·there·is·a·newline·at·the·end·of·a·snippet·definition·file,272 If·there·is·a·newline·at·the·end·of·a·snippet·definition·file,
273 YASnippet·will·add·a·newline·when·expanding·that·snippet.·When·editing273 YASnippet·will·add·a·newline·when·expanding·that·snippet.·When·editing
274 or·saving·a·snippet·file,·please·be·careful·not·to·accidentally·add·a274 or·saving·a·snippet·file,·please·be·careful·not·to·accidentally·add·a
275 terminal·newline.275 terminal·newline.
276 </p>276 </p>
  
Offset 280, 17 lines modifiedOffset 280, 17 lines modified
280 Note·that·some·editors·will·automatically·add·a·newline·for·you.·In280 Note·that·some·editors·will·automatically·add·a·newline·for·you.·In
281 Emacs,·if·you·set·<code>require-final-newline</code>·to·<code>t</code>,·it·will·add·the281 Emacs,·if·you·set·<code>require-final-newline</code>·to·<code>t</code>,·it·will·add·the
282 final·newline·automatically.282 final·newline·automatically.
283 </p>283 </p>
284 </div>284 </div>
285 </div>285 </div>
  
286 <div·id="outline-container-org3ef03eb"·class="outline-2">286 <div·id="outline-container-orgf972249"·class="outline-2">
287 <h2·id="org3ef03eb">Why·doesn't·TAB·navigation·work·with·flyspell</h2>287 <h2·id="orgf972249">Why·doesn't·TAB·navigation·work·with·flyspell</h2>
288 <div·class="outline-text-2"·id="text-org3ef03eb">288 <div·class="outline-text-2"·id="text-orgf972249">
289 <p>289 <p>
290 A·workaround·is·to·inhibit·flyspell·overlays·while·the·snippet·is290 A·workaround·is·to·inhibit·flyspell·overlays·while·the·snippet·is
291 active:291 active:
292 </p>292 </p>
  
293 <div·class="org-src-container">293 <div·class="org-src-container">
294 <pre·class="src·src-emacs-lisp">(add-hook·'flyspell-incorrect-hook294 <pre·class="src·src-emacs-lisp">(add-hook·'flyspell-incorrect-hook
Offset 307, 17 lines modifiedOffset 307, 17 lines modified
307 <code>priority</code>·property·to·something·big.·If·you·know·emacs-lisp·and·can307 <code>priority</code>·property·to·something·big.·If·you·know·emacs-lisp·and·can
308 solve·this·problem,·drop·a·line·in·the308 solve·this·problem,·drop·a·line·in·the
309 <a·href="http://groups.google.com/group/smart-snippet">discussion·group</a>.309 <a·href="http://groups.google.com/group/smart-snippet">discussion·group</a>.
310 </p>310 </p>
311 </div>311 </div>
312 </div>312 </div>
  
313 <div·id="outline-container-org2c17f97"·class="outline-2">313 <div·id="outline-container-orgbfc0f16"·class="outline-2">
314 <h2·id="org2c17f97">How·do·I·use·alternative·keys,·i.e.·not·TAB?</h2>314 <h2·id="orgbfc0f16">How·do·I·use·alternative·keys,·i.e.·not·TAB?</h2>
315 <div·class="outline-text-2"·id="text-org2c17f97">315 <div·class="outline-text-2"·id="text-orgbfc0f16">
316 <p>316 <p>
317 Edit·the·keymaps·<a·href="snippet-reference.html#yas-minor-mode-map"><code>yas-minor-mode-map</code></a>·and317 Edit·the·keymaps·<a·href="snippet-reference.html#yas-minor-mode-map"><code>yas-minor-mode-map</code></a>·and
318 <a·href="snippet-reference.html#yas-keymap"><code>yas-keymap</code></a>·as·you·would·any·other·keymap:318 <a·href="snippet-reference.html#yas-keymap"><code>yas-keymap</code></a>·as·you·would·any·other·keymap:
319 </p>319 </p>
  
320 <div·class="org-src-container">320 <div·class="org-src-container">
321 <pre·class="src·src-emacs-lisp">(define-key·yas-minor-mode-map·(kbd·<span·class="org-string">"&lt;tab&gt;"</span>)·nil)321 <pre·class="src·src-emacs-lisp">(define-key·yas-minor-mode-map·(kbd·<span·class="org-string">"&lt;tab&gt;"</span>)·nil)
Offset 332, 17 lines modifiedOffset 332, 17 lines modified
332 (define-key·yas-keymap·(kbd·<span·class="org-string">"&lt;new-next-field-key&gt;"</span>)·'yas-next-field-or-maybe-expand)332 (define-key·yas-keymap·(kbd·<span·class="org-string">"&lt;new-next-field-key&gt;"</span>)·'yas-next-field-or-maybe-expand)
333 (define-key·yas-keymap·(kbd·<span·class="org-string">"&lt;new-prev-field-key&gt;"</span>)·'yas-prev)333 (define-key·yas-keymap·(kbd·<span·class="org-string">"&lt;new-prev-field-key&gt;"</span>)·'yas-prev)
334 </pre>334 </pre>
335 </div>335 </div>
336 </div>336 </div>
337 </div>337 </div>
  
338 <div·id="outline-container-orga8520ba"·class="outline-2">338 <div·id="outline-container-org399d0d5"·class="outline-2">
339 <h2·id="orga8520ba">How·do·I·turn·off·the·minor·mode·where·in·some·buffers?</h2>339 <h2·id="org399d0d5">How·do·I·turn·off·the·minor·mode·where·in·some·buffers?</h2>
340 <div·class="outline-text-2"·id="text-orga8520ba">340 <div·class="outline-text-2"·id="text-org399d0d5">
341 <p>341 <p>
342 The·best·way,·since·version·0.6.1c,·is·to·set·the·default·value·of·the342 The·best·way,·since·version·0.6.1c,·is·to·set·the·default·value·of·the
343 variable·<a·href="snippet-reference.html#yas-dont-activate"><code>yas-dont-activate</code></a>·to·a·lambda·function·like·so:343 variable·<a·href="snippet-reference.html#yas-dont-activate"><code>yas-dont-activate</code></a>·to·a·lambda·function·like·so:
344 </p>344 </p>
  
345 <div·class="org-src-container">345 <div·class="org-src-container">
346 <pre·class="src·src-emacs-lisp">(set-default·'yas-dont-activate346 <pre·class="src·src-emacs-lisp">(set-default·'yas-dont-activate
Offset 356, 17 lines modifiedOffset 356, 17 lines modified
356 This·is·also·the·default·value·starting·for·that·version.·It·skips·the356 This·is·also·the·default·value·starting·for·that·version.·It·skips·the
357 minor·mode·in·buffers·where·it·is·not·applicable·(no·snippet·tables),357 minor·mode·in·buffers·where·it·is·not·applicable·(no·snippet·tables),
358 but·only·once·you·have·setup·your·yas-root-directory.358 but·only·once·you·have·setup·your·yas-root-directory.
359 </p>359 </p>
360 </div>360 </div>
361 </div>361 </div>
  
362 <div·id="outline-container-org8b492f3"·class="outline-2">362 <div·id="outline-container-orga2a42ac"·class="outline-2">
363 <h2·id="org8b492f3">How·do·I·define·an·abbrev·key·containing·characters·not·supported·by·the·filesystem?</h2>363 <h2·id="orga2a42ac">How·do·I·define·an·abbrev·key·containing·characters·not·supported·by·the·filesystem?</h2>
364 <div·class="outline-text-2"·id="text-org8b492f3">364 <div·class="outline-text-2"·id="text-orga2a42ac">
365 <ul·class="org-ul">365 <ul·class="org-ul">
366 <li><b>Note</b>:·This·question·applies·if·you're·still·defining·snippets366 <li><b>Note</b>:·This·question·applies·if·you're·still·defining·snippets
367 whose·key·<i>is</i>·the·filename.·This·is·behavior·still·provided·by367 whose·key·<i>is</i>·the·filename.·This·is·behavior·still·provided·by
368 version·0.6·for·backward·compatibilty,·but·is·somewhat368 version·0.6·for·backward·compatibilty,·but·is·somewhat
369 deprecated&#x2026;</li>369 deprecated&#x2026;</li>
370 </ul>370 </ul>
  
23.7 KB
./usr/share/doc/elpa-yasnippet/html/snippet-development.html
    
Offset 247, 98 lines modifiedOffset 247, 98 lines modified
247 </div>247 </div>
248 <div·id="content">248 <div·id="content">
249 <h1·class="title">Writing·snippets</h1>249 <h1·class="title">Writing·snippets</h1>
250 <div·id="table-of-contents">250 <div·id="table-of-contents">
251 <h2>Table·of·Contents</h2>251 <h2>Table·of·Contents</h2>
252 <div·id="text-table-of-contents">252 <div·id="text-table-of-contents">
253 <ul>253 <ul>
254 <li><a·href="#orgc7d2b09">Snippet·development</a>254 <li><a·href="#org18bc7ad">Snippet·development</a>
255 <ul>255 <ul>
256 <li><a·href="#orgdd51cf0">Quickly·finding·snippets</a></li>256 <li><a·href="#org55f1f9f">Quickly·finding·snippets</a></li>
257 <li><a·href="#org2c7cf73">Using·the·<code>snippet-mode</code>·major·mode·</a></li>257 <li><a·href="#org438f461">Using·the·<code>snippet-mode</code>·major·mode·</a></li>
258 </ul>258 </ul>
259 </li>259 </li>
260 <li><a·href="#org3e6a811">File·content</a>260 <li><a·href="#org0bd6cfc">File·content</a>
261 <ul>261 <ul>
262 <li><a·href="#org3bf33ee"><code>#·key:</code>·snippet·abbrev</a></li>262 <li><a·href="#orga0b478a"><code>#·key:</code>·snippet·abbrev</a></li>
263 <li><a·href="#orgcfcb5a2"><code>#·name:</code>·snippet·name</a></li>263 <li><a·href="#orgf663f59"><code>#·name:</code>·snippet·name</a></li>
264 <li><a·href="#orgef3d014"><code>#·condition:</code>·snippet·condition</a></li>264 <li><a·href="#orgb0f4cc9"><code>#·condition:</code>·snippet·condition</a></li>
265 <li><a·href="#org6748eab"><code>#·group:</code>·snippet·menu·grouping</a></li>265 <li><a·href="#orgff37067"><code>#·group:</code>·snippet·menu·grouping</a></li>
266 <li><a·href="#org4e3d27d"><code>#·expand-env:</code>·expand·environment</a></li>266 <li><a·href="#orgc64cf00"><code>#·expand-env:</code>·expand·environment</a></li>
267 <li><a·href="#orgcec4222"><code>#·binding:</code>·direct·keybinding</a></li>267 <li><a·href="#org7ce4f13"><code>#·binding:</code>·direct·keybinding</a></li>
268 <li><a·href="#org5dbbc3b"><code>#·type:</code>·<code>snippet</code>·or·<code>command</code></a></li>268 <li><a·href="#org3de85bf"><code>#·type:</code>·<code>snippet</code>·or·<code>command</code></a></li>
269 <li><a·href="#orgf74eaa5"><code>#·uuid:</code>·unique·identifier</a></li>269 <li><a·href="#org9b68662"><code>#·uuid:</code>·unique·identifier</a></li>
270 <li><a·href="#org1543929"><code>#·contributor:</code>·snippet·author</a></li>270 <li><a·href="#orgbd3d14f"><code>#·contributor:</code>·snippet·author</a></li>
271 </ul>271 </ul>
272 </li>272 </li>
273 <li><a·href="#orgfaf445c">Template·Syntax</a>273 <li><a·href="#orgb6588a1">Template·Syntax</a>
274 <ul>274 <ul>
275 <li><a·href="#org9329247">Plain·Text</a></li>275 <li><a·href="#orgc091b44">Plain·Text</a></li>
276 <li><a·href="#org18c6ee5">Embedded·Emacs-lisp·code</a>276 <li><a·href="#org0727156">Embedded·Emacs-lisp·code</a>
277 <ul>277 <ul>
278 <li><a·href="#orgca20b4f">Note:·backquote·expressions·should·not·modify·the·buffer</a></li>278 <li><a·href="#orgd6fede5">Note:·backquote·expressions·should·not·modify·the·buffer</a></li>
279 </ul>279 </ul>
280 </li>280 </li>
281 <li><a·href="#org8a62f5f">Tab·stop·fields</a></li>281 <li><a·href="#org5de7a31">Tab·stop·fields</a></li>
282 <li><a·href="#org53add4e">Placeholder·fields</a></li>282 <li><a·href="#orgf0115ca">Placeholder·fields</a></li>
283 <li><a·href="#orgb4b87bf">Mirrors·</a></li>283 <li><a·href="#org58ff75d">Mirrors·</a></li>
284 <li><a·href="#org9bfeefa">Mirrors·with·transformations·</a></li>284 <li><a·href="#org63d7afa">Mirrors·with·transformations·</a></li>
285 <li><a·href="#org72961d5">Fields·with·transformations</a></li>285 <li><a·href="#org534f156">Fields·with·transformations</a></li>
286 <li><a·href="#org04da764">Choosing·fields·value·from·a·list·and·other·tricks</a></li>286 <li><a·href="#orgc7ae09f">Choosing·fields·value·from·a·list·and·other·tricks</a></li>
287 <li><a·href="#org10ae407">Nested·placeholder·fields</a></li>287 <li><a·href="#orgc102fb4">Nested·placeholder·fields</a></li>
288 <li><a·href="#org8c3d43b">Indentation·markers</a></li>288 <li><a·href="#org7c8e4b0">Indentation·markers</a></li>
289 </ul>289 </ul>
290 </li>290 </li>
291 </ul>291 </ul>
292 </div>292 </div>
293 </div>293 </div>
  
294 <div·id="outline-container-orgc7d2b09"·class="outline-2">294 <div·id="outline-container-org18bc7ad"·class="outline-2">
295 <h2·id="orgc7d2b09">Snippet·development</h2>295 <h2·id="org18bc7ad">Snippet·development</h2>
296 <div·class="outline-text-2"·id="text-orgc7d2b09">296 <div·class="outline-text-2"·id="text-org18bc7ad">
297 </div>297 </div>
298 <div·id="outline-container-orgdd51cf0"·class="outline-3">298 <div·id="outline-container-org55f1f9f"·class="outline-3">
299 <h3·id="orgdd51cf0">Quickly·finding·snippets</h3>299 <h3·id="org55f1f9f">Quickly·finding·snippets</h3>
300 <div·class="outline-text-3"·id="text-orgdd51cf0">300 <div·class="outline-text-3"·id="text-org55f1f9f">
301 <p>301 <p>
302 There·are·some·ways·you·can·quickly·find·a·snippet·file·or·create·a·new·one:302 There·are·some·ways·you·can·quickly·find·a·snippet·file·or·create·a·new·one:
303 </p>303 </p>
  
304 <ul·class="org-ul">304 <ul·class="org-ul">
305 <li><p>305 <li><p>
306 <code>M-x·yas-new-snippet</code>,·key·bindind:·<code>C-c·&amp;·C-n</code>306 <code>M-x·yas-new-snippet</code>,·key·bindind:·<code>C-c·&amp;·C-n</code>
307 </p>307 </p>
  
308 <p>308 <p>
309 Creates·a·new·buffer·with·a·template·for·making·a·new·snippet.··The309 Creates·a·new·buffer·with·a·template·for·making·a·new·snippet.··The
310 buffer·is·in·<code>snippet-mode</code>·(see·<a·href="#org4729a70">below</a>).··When·you·are·done·editing310 buffer·is·in·<code>snippet-mode</code>·(see·<a·href="#org7ec1364">below</a>).··When·you·are·done·editing
311 the·new·snippet,·use·<a·href="#org765e638"><code>C-c·C-c</code></a>·to·save·it.311 the·new·snippet,·use·<a·href="#org490e60b"><code>C-c·C-c</code></a>·to·save·it.
312 </p></li>312 </p></li>
  
313 <li><p>313 <li><p>
314 <code>M-x·yas-visit-snippet-file</code>,·key·binding:·<code>C-c·&amp;·C-v</code>314 <code>M-x·yas-visit-snippet-file</code>,·key·binding:·<code>C-c·&amp;·C-v</code>
315 </p>315 </p>
  
316 <p>316 <p>
317 Prompts·you·for·possible·snippet·expansions·like317 Prompts·you·for·possible·snippet·expansions·like
318 <a·href="snippet-reference.html#yas-insert-snippet"><code>yas-insert-snippet</code></a>,·but·instead·of·expanding·it,·takes·you·directly318 <a·href="snippet-reference.html#yas-insert-snippet"><code>yas-insert-snippet</code></a>,·but·instead·of·expanding·it,·takes·you·directly
319 to·the·snippet·definition's·file,·if·it·exists.319 to·the·snippet·definition's·file,·if·it·exists.
320 </p></li>320 </p></li>
321 </ul>321 </ul>
  
322 <p>322 <p>
323 Once·you·find·this·file·it·will·be·set·to·<code>snippet-mode</code>·(see·<a·href="#org4729a70">ahead</a>)323 Once·you·find·this·file·it·will·be·set·to·<code>snippet-mode</code>·(see·<a·href="#org7ec1364">ahead</a>)
324 and·you·can·start·editing·your·snippet.324 and·you·can·start·editing·your·snippet.
325 </p>325 </p>
326 </div>326 </div>
327 </div>327 </div>
  
328 <div·id="outline-container-org2c7cf73"·class="outline-3">328 <div·id="outline-container-org438f461"·class="outline-3">
329 <h3·id="org2c7cf73">Using·the·<code>snippet-mode</code>·major·mode·<a·id="org4729a70"></a></h3>329 <h3·id="org438f461">Using·the·<code>snippet-mode</code>·major·mode·<a·id="org7ec1364"></a></h3>
330 <div·class="outline-text-3"·id="text-org2c7cf73">330 <div·class="outline-text-3"·id="text-org438f461">
331 <p>331 <p>
332 There·is·a·major·mode·<code>snippet-mode</code>·to·edit·snippets.·You·can·set·the332 There·is·a·major·mode·<code>snippet-mode</code>·to·edit·snippets.·You·can·set·the
333 buffer·to·this·mode·with·<code>M-x·snippet-mode</code>.·It·provides·reasonably333 buffer·to·this·mode·with·<code>M-x·snippet-mode</code>.·It·provides·reasonably
334 useful·syntax·highlighting.334 useful·syntax·highlighting.
335 </p>335 </p>
  
336 <p>336 <p>
Offset 353, 15 lines modifiedOffset 353, 15 lines modified
353 <p>353 <p>
354 Prompts·for·a·snippet·table·(with·a·default·based·on·snippet's354 Prompts·for·a·snippet·table·(with·a·default·based·on·snippet's
355 major·mode)·and·loads·the·snippet·currently·being·edited.355 major·mode)·and·loads·the·snippet·currently·being·edited.
356 </p></li>356 </p></li>
  
357 <li><p>357 <li><p>
358 <code>M-x·yas-load-snippet-buffer-and-close</code>,·key·binding:·<code>C-c·C-c</code>358 <code>M-x·yas-load-snippet-buffer-and-close</code>,·key·binding:·<code>C-c·C-c</code>
359 <a·id="org765e638"></a>359 <a·id="org490e60b"></a>
360 </p>360 </p>
  
361 <p>361 <p>
362 Like·<code>yas-load-snippet-buffer</code>,·but·also·saves·the·snippet·and362 Like·<code>yas-load-snippet-buffer</code>,·but·also·saves·the·snippet·and
363 calls·<code>quit-window</code>.··The·destination·is·decided·based·on·the363 calls·<code>quit-window</code>.··The·destination·is·decided·based·on·the
364 chosen·snippet·table·and·snippet·collection·directly·(defaulting·to364 chosen·snippet·table·and·snippet·collection·directly·(defaulting·to
365 the·first·directory·in·<code>yas-snippet-dirs</code>·(see·<a·href="snippet-organization.html">Organizing·Snippets</a>365 the·first·directory·in·<code>yas-snippet-dirs</code>·(see·<a·href="snippet-organization.html">Organizing·Snippets</a>
Offset 383, 17 lines modifiedOffset 383, 17 lines modified
383 There·are·also·<i>snippets·for·writing·snippets</i>:·<code>vars</code>,·<code>$f</code>·and·<code>$m</code>383 There·are·also·<i>snippets·for·writing·snippets</i>:·<code>vars</code>,·<code>$f</code>·and·<code>$m</code>
384 :-).384 :-).
385 </p>385 </p>
386 </div>386 </div>
387 </div>387 </div>
388 </div>388 </div>
  
389 <div·id="outline-container-org3e6a811"·class="outline-2">389 <div·id="outline-container-org0bd6cfc"·class="outline-2">
390 <h2·id="org3e6a811">File·content</h2>390 <h2·id="org0bd6cfc">File·content</h2>
391 <div·class="outline-text-2"·id="text-org3e6a811">391 <div·class="outline-text-2"·id="text-org0bd6cfc">
392 <p>392 <p>
393 A·file·defining·a·snippet·generally·contains·the·template·to·be393 A·file·defining·a·snippet·generally·contains·the·template·to·be
Max diff block lines reached; 16722/24182 bytes (69.15%) of diff not shown.
15.4 KB
./usr/share/doc/elpa-yasnippet/html/snippet-expansion.html
    
Offset 247, 42 lines modifiedOffset 247, 42 lines modified
247 </div>247 </div>
248 <div·id="content">248 <div·id="content">
249 <h1·class="title">Expanding·snippets</h1>249 <h1·class="title">Expanding·snippets</h1>
250 <div·id="table-of-contents">250 <div·id="table-of-contents">
251 <h2>Table·of·Contents</h2>251 <h2>Table·of·Contents</h2>
252 <div·id="text-table-of-contents">252 <div·id="text-table-of-contents">
253 <ul>253 <ul>
254 <li><a·href="#org0b306a0">Triggering·expansion</a>254 <li><a·href="#orgefd7b13">Triggering·expansion</a>
255 <ul>255 <ul>
256 <li><a·href="#org42ebd69">Trigger·key</a>256 <li><a·href="#org45e35ab">Trigger·key</a>
257 <ul>257 <ul>
258 <li><a·href="#org0440c9d">Fallback·behaviour</a></li>258 <li><a·href="#org0473129">Fallback·behaviour</a></li>
259 </ul>259 </ul>
260 </li>260 </li>
261 <li><a·href="#orgdc9a8c2">Insert·at·point</a>261 <li><a·href="#orgef02070">Insert·at·point</a>
262 <ul>262 <ul>
263 <li><a·href="#orga2d0d54">Inserting·region·or·register·contents·into·snippet</a></li>263 <li><a·href="#org6cb1e5c">Inserting·region·or·register·contents·into·snippet</a></li>
264 </ul>264 </ul>
265 </li>265 </li>
266 <li><a·href="#orge399f31">Snippet·keybinding</a></li>266 <li><a·href="#orgb4cc11f">Snippet·keybinding</a></li>
267 <li><a·href="#org0ea498f">Expanding·from·the·menu</a></li>267 <li><a·href="#org6918e62">Expanding·from·the·menu</a></li>
268 <li><a·href="#org6df5ade">Expanding·with·<code>hippie-expand</code></a></li>268 <li><a·href="#orgcb57307">Expanding·with·<code>hippie-expand</code></a></li>
269 <li><a·href="#org1cd450f">Expanding·from·emacs-lisp·code</a></li>269 <li><a·href="#org80e6ca3">Expanding·from·emacs-lisp·code</a></li>
270 </ul>270 </ul>
271 </li>271 </li>
272 <li><a·href="#org055fe48">Controlling·expansion</a>272 <li><a·href="#org7e19a53">Controlling·expansion</a>
273 <ul>273 <ul>
274 <li><a·href="#org167707a">Eligible·snippets</a></li>274 <li><a·href="#orgd2132f8">Eligible·snippets</a></li>
275 <li><a·href="#org219a424">The·condition·system·</a></li>275 <li><a·href="#org5d23e88">The·condition·system·</a></li>
276 <li><a·href="#org61413a3">Multiples·snippet·with·the·same·key</a>276 <li><a·href="#org2fde46e">Multiples·snippet·with·the·same·key</a>
277 <ul>277 <ul>
278 <li><a·href="#org0211e74">Use·the·X·window·system</a></li>278 <li><a·href="#orge2124b8">Use·the·X·window·system</a></li>
279 <li><a·href="#orgffae368">Minibuffer·prompting</a></li>279 <li><a·href="#org6c11acd">Minibuffer·prompting</a></li>
280 <li><a·href="#org2b2ebaa">Use·<code>dropdown-menu.el</code></a></li>280 <li><a·href="#org47bff37">Use·<code>dropdown-menu.el</code></a></li>
281 <li><a·href="#org0ec43d8">Roll·your·own</a></li>281 <li><a·href="#org20a6c7f">Roll·your·own</a></li>
282 </ul>282 </ul>
283 </li>283 </li>
284 </ul>284 </ul>
285 </li>285 </li>
286 </ul>286 </ul>
287 </div>287 </div>
288 </div>288 </div>
Offset 291, 17 lines modifiedOffset 291, 17 lines modified
291 </p>291 </p>
  
292 <p>292 <p>
293 Maybe,·you'll·want·some·snippets·to·be·expanded·in·a·particular293 Maybe,·you'll·want·some·snippets·to·be·expanded·in·a·particular
294 mode,·or·only·under·certain·conditions,·or·be·prompted·using294 mode,·or·only·under·certain·conditions,·or·be·prompted·using
295 </p>295 </p>
  
296 <div·id="outline-container-org0b306a0"·class="outline-2">296 <div·id="outline-container-orgefd7b13"·class="outline-2">
297 <h2·id="org0b306a0">Triggering·expansion</h2>297 <h2·id="orgefd7b13">Triggering·expansion</h2>
298 <div·class="outline-text-2"·id="text-org0b306a0">298 <div·class="outline-text-2"·id="text-orgefd7b13">
299 <p>299 <p>
300 You·can·use·YASnippet·to·expand·snippets·in·different·ways:300 You·can·use·YASnippet·to·expand·snippets·in·different·ways:
301 </p>301 </p>
  
302 <ul·class="org-ul">302 <ul·class="org-ul">
303 <li>When·<a·href="snippet-reference.html#yas-minor-mode"><code>yas-minor-mode</code></a>·is·active:303 <li>When·<a·href="snippet-reference.html#yas-minor-mode"><code>yas-minor-mode</code></a>·is·active:
304 <ul·class="org-ul">304 <ul·class="org-ul">
Offset 321, 17 lines modifiedOffset 321, 17 lines modified
321 <li>Use·m2m's·excellent·auto-complete321 <li>Use·m2m's·excellent·auto-complete
322 TODO:·example·for·this</li>322 TODO:·example·for·this</li>
  
323 <li>Expanding·from·emacs-lisp·code</li>323 <li>Expanding·from·emacs-lisp·code</li>
324 </ul>324 </ul>
325 </div>325 </div>
  
326 <div·id="outline-container-org42ebd69"·class="outline-3">326 <div·id="outline-container-org45e35ab"·class="outline-3">
327 <h3·id="org42ebd69">Trigger·key</h3>327 <h3·id="org45e35ab">Trigger·key</h3>
328 <div·class="outline-text-3"·id="text-org42ebd69">328 <div·class="outline-text-3"·id="text-org45e35ab">
329 <p>329 <p>
330 <a·href="snippet-reference.html#yas-expand"><code>yas-expand</code></a>·tries·to·expand·a·<i>snippet·abbrev</i>·(also·known·as330 <a·href="snippet-reference.html#yas-expand"><code>yas-expand</code></a>·tries·to·expand·a·<i>snippet·abbrev</i>·(also·known·as
331 <i>snippet·key</i>)·before·point.··YASnippet·also·provides·a·<i>conditional331 <i>snippet·key</i>)·before·point.··YASnippet·also·provides·a·<i>conditional
332 binding</i>·for·this·command:·the·variable·<a·href="snippet-reference.html#yas-expand"><code>yas-maybe-expand</code></a>·contains·a332 binding</i>·for·this·command:·the·variable·<a·href="snippet-reference.html#yas-expand"><code>yas-maybe-expand</code></a>·contains·a
333 special·value·which,·when·bound·in·a·keymap,·tells·Emacs·to·call333 special·value·which,·when·bound·in·a·keymap,·tells·Emacs·to·call
334 <a·href="snippet-reference.html#yas-expand"><code>yas-expand</code></a>·if·and·only·if·there·is·a·snippet·abbrev·before·point.334 <a·href="snippet-reference.html#yas-expand"><code>yas-expand</code></a>·if·and·only·if·there·is·a·snippet·abbrev·before·point.
335 If·there·is·no·snippet·to·expand,·Emacs·will·behave·as·if·<a·href="snippet-reference.html#yas-expand"><code>yas-expand</code></a>335 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 379, 29 lines modifiedOffset 379, 29 lines modified
379 <p>379 <p>
380 When·you·use·<a·href="snippet-reference.html#yas-global-mode"><code>yas-global-mode</code></a>·you·can·also·selectively·disable380 When·you·use·<a·href="snippet-reference.html#yas-global-mode"><code>yas-global-mode</code></a>·you·can·also·selectively·disable
381 YASnippet·in·some·buffers·by·calling·<a·href="snippet-reference.html#yas-minor-mode"><code>yas-minor-mode</code></a>·with·a·negative381 YASnippet·in·some·buffers·by·calling·<a·href="snippet-reference.html#yas-minor-mode"><code>yas-minor-mode</code></a>·with·a·negative
382 argument·in·the·buffer's·mode·hook.382 argument·in·the·buffer's·mode·hook.
383 </p>383 </p>
384 </div>384 </div>
  
385 <div·id="outline-container-org0440c9d"·class="outline-4">385 <div·id="outline-container-org0473129"·class="outline-4">
386 <h4·id="org0440c9d">Fallback·behaviour</h4>386 <h4·id="org0473129">Fallback·behaviour</h4>
387 <div·class="outline-text-4"·id="text-org0440c9d">387 <div·class="outline-text-4"·id="text-org0473129">
388 <p>388 <p>
389 YASnippet·used·to·support·a·more·complicated·way·of·sharing389 YASnippet·used·to·support·a·more·complicated·way·of·sharing
390 keybindings·before·<a·href="snippet-reference.html#yas-expand"><code>yas-maybe-expand</code></a>·was·added.··This·is·now390 keybindings·before·<a·href="snippet-reference.html#yas-expand"><code>yas-maybe-expand</code></a>·was·added.··This·is·now
391 obsolete.391 obsolete.
392 </p>392 </p>
393 </div>393 </div>
394 </div>394 </div>
395 </div>395 </div>
  
396 <div·id="outline-container-orgdc9a8c2"·class="outline-3">396 <div·id="outline-container-orgef02070"·class="outline-3">
397 <h3·id="orgdc9a8c2">Insert·at·point</h3>397 <h3·id="orgef02070">Insert·at·point</h3>
398 <div·class="outline-text-3"·id="text-orgdc9a8c2">398 <div·class="outline-text-3"·id="text-orgef02070">
399 <p>399 <p>
400 The·command·<a·href="snippet-reference.html#yas-insert-snippet"><code>yas-insert-snippet</code></a>·lets·you·insert·snippets·at·point400 The·command·<a·href="snippet-reference.html#yas-insert-snippet"><code>yas-insert-snippet</code></a>·lets·you·insert·snippets·at·point
401 <i>for·your·current·major·mode</i>.·It·prompts·you·for·the·snippet·key401 <i>for·your·current·major·mode</i>.·It·prompts·you·for·the·snippet·key
402 first,·and·then·for·a·snippet·template·if·more·than·one·template402 first,·and·then·for·a·snippet·template·if·more·than·one·template
403 exists·for·the·same·key.403 exists·for·the·same·key.
404 </p>404 </p>
  
Offset 413, 17 lines modifiedOffset 413, 17 lines modified
  
413 <p>413 <p>
414 The·prompting·methods·used·are·again·controlled·by414 The·prompting·methods·used·are·again·controlled·by
415 <a·href="snippet-reference.html#yas-prompt-functions"><code>yas-prompt-functions</code></a>.415 <a·href="snippet-reference.html#yas-prompt-functions"><code>yas-prompt-functions</code></a>.
416 </p>416 </p>
417 </div>417 </div>
  
418 <div·id="outline-container-orga2d0d54"·class="outline-4">418 <div·id="outline-container-org6cb1e5c"·class="outline-4">
419 <h4·id="orga2d0d54">Inserting·region·or·register·contents·into·snippet</h4>419 <h4·id="org6cb1e5c">Inserting·region·or·register·contents·into·snippet</h4>
420 <div·class="outline-text-4"·id="text-orga2d0d54">420 <div·class="outline-text-4"·id="text-org6cb1e5c">
421 <p>421 <p>
422 It's·often·useful·to·inject·already·written·text·in·the·middle·of·a422 It's·often·useful·to·inject·already·written·text·in·the·middle·of·a
423 snippet.··The·variable·<a·href="snippet-reference.html#yas-wrap-around-region"><code>yas-wrap-around-region</code></a>·when·to·t·substitute423 snippet.··The·variable·<a·href="snippet-reference.html#yas-wrap-around-region"><code>yas-wrap-around-region</code></a>·when·to·t·substitute
424 the·region·contents·into·the·<code>$0</code>·placeholder·of·a·snippet·expanded·by424 the·region·contents·into·the·<code>$0</code>·placeholder·of·a·snippet·expanded·by
425 <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>)425 <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>)
426 will·insert·the·contents·of·corresponding·register.426 will·insert·the·contents·of·corresponding·register.
427 </p>427 </p>
Offset 434, 49 lines modifiedOffset 434, 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 247, 19 lines modifiedOffset 247, 19 lines modified
247 </div>247 </div>
248 <div·id="content">248 <div·id="content">
249 <h1·class="title">YASnippet·menu</h1>249 <h1·class="title">YASnippet·menu</h1>
250 <div·id="table-of-contents">250 <div·id="table-of-contents">
251 <h2>Table·of·Contents</h2>251 <h2>Table·of·Contents</h2>
252 <div·id="text-table-of-contents">252 <div·id="text-table-of-contents">
253 <ul>253 <ul>
254 <li><a·href="#org2073212">Loading·snippets·from·menu</a></li>254 <li><a·href="#org0352f5e">Loading·snippets·from·menu</a></li>
255 <li><a·href="#org6d7d64a">Snippet·menu·behavior</a></li>255 <li><a·href="#org6068d3f">Snippet·menu·behavior</a></li>
256 <li><a·href="#orgf3fdebc">Controlling·indenting</a></li>256 <li><a·href="#orgbf8e33e">Controlling·indenting</a></li>
257 <li><a·href="#org178984d">Prompting·method</a></li>257 <li><a·href="#org69b99d9">Prompting·method</a></li>
258 <li><a·href="#orgefae4c7">Misc</a></li>258 <li><a·href="#org1ed2ff6">Misc</a></li>
259 </ul>259 </ul>
260 </div>260 </div>
261 </div>261 </div>
262 <p>262 <p>
263 When·<a·href="snippet-reference.html#yas-minor-mode"><code>yas-minor-mode</code></a>·is·active,·YASnippet·will·setup·a·menu·just·after263 When·<a·href="snippet-reference.html#yas-minor-mode"><code>yas-minor-mode</code></a>·is·active,·YASnippet·will·setup·a·menu·just·after
264 the·"Buffers"·menu·in·the·menubar.264 the·"Buffers"·menu·in·the·menubar.
265 </p>265 </p>
Offset 282, 33 lines modifiedOffset 282, 33 lines modified
  
  
282 <div·class="figure">282 <div·class="figure">
283 <p><img·src="./images/menu-1.png"·alt="menu-1.png"·/>283 <p><img·src="./images/menu-1.png"·alt="menu-1.png"·/>
284 </p>284 </p>
285 </div>285 </div>
  
286 <div·id="outline-container-org2073212"·class="outline-2">286 <div·id="outline-container-org0352f5e"·class="outline-2">
287 <h2·id="org2073212">Loading·snippets·from·menu</h2>287 <h2·id="org0352f5e">Loading·snippets·from·menu</h2>
288 <div·class="outline-text-2"·id="text-org2073212">288 <div·class="outline-text-2"·id="text-org0352f5e">
289 <p>289 <p>
290 Invoking·"Load·snippets&#x2026;"·from·the·menu·invokes·<a·href="snippet-reference.html#yas-load-directory"><code>yas-load-directory</code></a>290 Invoking·"Load·snippets&#x2026;"·from·the·menu·invokes·<a·href="snippet-reference.html#yas-load-directory"><code>yas-load-directory</code></a>
291 and·prompts·you·for·a·snippet·directory·hierarchy·to·load.291 and·prompts·you·for·a·snippet·directory·hierarchy·to·load.
292 </p>292 </p>
  
293 <p>293 <p>
294 Also·useful·is·the·"Reload·everything"·item·to·invoke·<a·href="snippet-reference.html#yas-reload-all"><code>yas-reload-all</code></a>294 Also·useful·is·the·"Reload·everything"·item·to·invoke·<a·href="snippet-reference.html#yas-reload-all"><code>yas-reload-all</code></a>
295 which·uncondionally·reloads·all·the·snippets·directories·defined·in295 which·uncondionally·reloads·all·the·snippets·directories·defined·in
296 <a·href="snippet-reference.html#yas-snippet-dirs"><code>yas-snippet-dirs</code></a>·and·rebuilds·the·menus.296 <a·href="snippet-reference.html#yas-snippet-dirs"><code>yas-snippet-dirs</code></a>·and·rebuilds·the·menus.
297 </p>297 </p>
298 </div>298 </div>
299 </div>299 </div>
  
300 <div·id="outline-container-org6d7d64a"·class="outline-2">300 <div·id="outline-container-org6068d3f"·class="outline-2">
301 <h2·id="org6d7d64a">Snippet·menu·behavior</h2>301 <h2·id="org6068d3f">Snippet·menu·behavior</h2>
302 <div·class="outline-text-2"·id="text-org6d7d64a">302 <div·class="outline-text-2"·id="text-org6068d3f">
303 <p>303 <p>
304 YASnippet·will·list·in·this·section·all·the·loaded·snippet·definitions304 YASnippet·will·list·in·this·section·all·the·loaded·snippet·definitions
305 organized·by·snippet·table·name.305 organized·by·snippet·table·name.
306 </p>306 </p>
  
307 <p>307 <p>
308 You·can·use·this·section·to·explore·currently·loaded·snippets.·If·you308 You·can·use·this·section·to·explore·currently·loaded·snippets.·If·you
Offset 336, 38 lines modifiedOffset 336, 38 lines modified
336 <p>336 <p>
337 These·customizations·can·also·be·found·in·the·menu·itself,·under·the337 These·customizations·can·also·be·found·in·the·menu·itself,·under·the
338 "Snippet·menu·behavior"·submenu.338 "Snippet·menu·behavior"·submenu.
339 </p>339 </p>
340 </div>340 </div>
341 </div>341 </div>
  
342 <div·id="outline-container-orgf3fdebc"·class="outline-2">342 <div·id="outline-container-orgbf8e33e"·class="outline-2">
343 <h2·id="orgf3fdebc">Controlling·indenting</h2>343 <h2·id="orgbf8e33e">Controlling·indenting</h2>
344 <div·class="outline-text-2"·id="text-orgf3fdebc">344 <div·class="outline-text-2"·id="text-orgbf8e33e">
345 <p>345 <p>
346 The·"Indenting"·submenu·contains·options·to·control·the·values·of346 The·"Indenting"·submenu·contains·options·to·control·the·values·of
347 <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>.·See347 <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
348 <a·href="./snippet-development.html">Writing·snippets</a>.348 <a·href="./snippet-development.html">Writing·snippets</a>.
349 </p>349 </p>
350 </div>350 </div>
351 </div>351 </div>
  
352 <div·id="outline-container-org178984d"·class="outline-2">352 <div·id="outline-container-org69b99d9"·class="outline-2">
353 <h2·id="org178984d">Prompting·method</h2>353 <h2·id="org69b99d9">Prompting·method</h2>
354 <div·class="outline-text-2"·id="text-org178984d">354 <div·class="outline-text-2"·id="text-org69b99d9">
355 <p>355 <p>
356 The·"Prompting·method"·submenu·contains·options·to·control·the·value·of356 The·"Prompting·method"·submenu·contains·options·to·control·the·value·of
357 <a·href="snippet-reference.html#yas-prompt-functions"><code>yas-prompt-functions</code></a>.·See·<a·href="./snippet-expansion.html">Expanding·snippets</a>.357 <a·href="snippet-reference.html#yas-prompt-functions"><code>yas-prompt-functions</code></a>.·See·<a·href="./snippet-expansion.html">Expanding·snippets</a>.
358 </p>358 </p>
359 </div>359 </div>
360 </div>360 </div>
  
361 <div·id="outline-container-orgefae4c7"·class="outline-2">361 <div·id="outline-container-org1ed2ff6"·class="outline-2">
362 <h2·id="orgefae4c7">Misc</h2>362 <h2·id="org1ed2ff6">Misc</h2>
363 <div·class="outline-text-2"·id="text-orgefae4c7">363 <div·class="outline-text-2"·id="text-org1ed2ff6">
364 <p>364 <p>
365 The·"Misc"·submenu·contains·options·to·control·the·values·of·more365 The·"Misc"·submenu·contains·options·to·control·the·values·of·more
366 variables.366 variables.
367 </p>367 </p>
368 </div>368 </div>
369 </div>369 </div>
370 </div>370 </div>
6.55 KB
./usr/share/doc/elpa-yasnippet/html/snippet-organization.html
    
Offset 247, 28 lines modifiedOffset 247, 28 lines modified
247 </div>247 </div>
248 <div·id="content">248 <div·id="content">
249 <h1·class="title">Organizing·snippets</h1>249 <h1·class="title">Organizing·snippets</h1>
250 <div·id="table-of-contents">250 <div·id="table-of-contents">
251 <h2>Table·of·Contents</h2>251 <h2>Table·of·Contents</h2>
252 <div·id="text-table-of-contents">252 <div·id="text-table-of-contents">
253 <ul>253 <ul>
254 <li><a·href="#orge418437">Basic·structure</a></li>254 <li><a·href="#orgf067730">Basic·structure</a></li>
255 <li><a·href="#orgb6d33c5">Setting·up·<code>yas-snippet-dirs</code></a></li>255 <li><a·href="#org29f535e">Setting·up·<code>yas-snippet-dirs</code></a></li>
256 <li><a·href="#orgddbf6d5">The·<code>.yas-parents</code>·file</a></li>256 <li><a·href="#org67a0537">The·<code>.yas-parents</code>·file</a></li>
257 <li><a·href="#org210fadf"><span·class="todo·TODO">TODO</span>·The·<code>.yas-make-groups</code>·file</a></li>257 <li><a·href="#org0395144"><span·class="todo·TODO">TODO</span>·The·<code>.yas-make-groups</code>·file</a></li>
258 <li><a·href="#org0651c16">The·<code>.yas-setup.el</code>·file</a></li>258 <li><a·href="#org0a3e12d">The·<code>.yas-setup.el</code>·file</a></li>
259 <li><a·href="#org6e6e8f9">The·<code>.yas-compiled-snippet.el</code>·file</a></li>259 <li><a·href="#orgdb773b3">The·<code>.yas-compiled-snippet.el</code>·file</a></li>
260 <li><a·href="#orga2e5ee3">The·<code>.yas-skip</code>·file</a></li>260 <li><a·href="#orgf9dbe0f">The·<code>.yas-skip</code>·file</a></li>
261 </ul>261 </ul>
262 </div>262 </div>
263 </div>263 </div>
  
264 <div·id="outline-container-orge418437"·class="outline-2">264 <div·id="outline-container-orgf067730"·class="outline-2">
265 <h2·id="orge418437">Basic·structure</h2>265 <h2·id="orgf067730">Basic·structure</h2>
266 <div·class="outline-text-2"·id="text-orge418437">266 <div·class="outline-text-2"·id="text-orgf067730">
267 <p>267 <p>
268 Snippet·collections·can·be·stored·in·plain·text·files.·They·are268 Snippet·collections·can·be·stored·in·plain·text·files.·They·are
269 arranged·by·sub-directories·naming·<b>snippet·tables</b>.··These·mostly269 arranged·by·sub-directories·naming·<b>snippet·tables</b>.··These·mostly
270 name·Emacs·major·mode·names.270 name·Emacs·major·mode·names.
271 </p>271 </p>
  
272 <pre·class="example">272 <pre·class="example">
Offset 286, 17 lines modifiedOffset 286, 17 lines modified
286 The·collections·are·loaded·into·<b>snippet·tables</b>·which·the286 The·collections·are·loaded·into·<b>snippet·tables</b>·which·the
287 triggering·mechanism·(see·<a·href="snippet-expansion.html">Expanding·Snippets</a>)·looks·up·and287 triggering·mechanism·(see·<a·href="snippet-expansion.html">Expanding·Snippets</a>)·looks·up·and
288 (hopefully)·causes·the·right·snippet·to·be·expanded·for·you.288 (hopefully)·causes·the·right·snippet·to·be·expanded·for·you.
289 </p>289 </p>
290 </div>290 </div>
291 </div>291 </div>
  
292 <div·id="outline-container-orgb6d33c5"·class="outline-2">292 <div·id="outline-container-org29f535e"·class="outline-2">
293 <h2·id="orgb6d33c5">Setting·up·<code>yas-snippet-dirs</code></h2>293 <h2·id="org29f535e">Setting·up·<code>yas-snippet-dirs</code></h2>
294 <div·class="outline-text-2"·id="text-orgb6d33c5">294 <div·class="outline-text-2"·id="text-org29f535e">
295 <p>295 <p>
296 The·emacs·variable·<a·href="snippet-reference.html#yas-snippet-dirs"><code>yas-snippet-dirs</code></a>·tells·YASnippet296 The·emacs·variable·<a·href="snippet-reference.html#yas-snippet-dirs"><code>yas-snippet-dirs</code></a>·tells·YASnippet
297 which·collections·to·consider.·It's·used·when·you·activate297 which·collections·to·consider.·It's·used·when·you·activate
298 <a·href="snippet-reference.html#yas-global-mode"><code>yas-global-mode</code></a>·or·call298 <a·href="snippet-reference.html#yas-global-mode"><code>yas-global-mode</code></a>·or·call
299 <a·href="snippet-reference.html#yas-reload-all"><code>yas-reload-all</code></a>·interactively.299 <a·href="snippet-reference.html#yas-reload-all"><code>yas-reload-all</code></a>·interactively.
300 </p>300 </p>
  
Offset 330, 17 lines modifiedOffset 330, 17 lines modified
330 Collections·appearing·earlier·in·the·list·override·snippets·with·same·names330 Collections·appearing·earlier·in·the·list·override·snippets·with·same·names
331 appearing·in·collections·later·in·the·list.·<a·href="snippet-reference.html#yas-new-snippet"><code>yas-new-snippet</code></a>·always·stores331 appearing·in·collections·later·in·the·list.·<a·href="snippet-reference.html#yas-new-snippet"><code>yas-new-snippet</code></a>·always·stores
332 snippets·in·the·first·collection.332 snippets·in·the·first·collection.
333 </p>333 </p>
334 </div>334 </div>
335 </div>335 </div>
  
336 <div·id="outline-container-orgddbf6d5"·class="outline-2">336 <div·id="outline-container-org67a0537"·class="outline-2">
337 <h2·id="orgddbf6d5">The·<code>.yas-parents</code>·file</h2>337 <h2·id="org67a0537">The·<code>.yas-parents</code>·file</h2>
338 <div·class="outline-text-2"·id="text-orgddbf6d5">338 <div·class="outline-text-2"·id="text-org67a0537">
339 <p>339 <p>
340 It's·very·useful·to·have·certain·modes·share·snippets·between340 It's·very·useful·to·have·certain·modes·share·snippets·between
341 themselves.·To·do·this,·choose·a·mode·subdirectory·and·place·a341 themselves.·To·do·this,·choose·a·mode·subdirectory·and·place·a
342 <code>.yas-parents</code>·containing·a·whitespace-separated·list·of·other·mode342 <code>.yas-parents</code>·containing·a·whitespace-separated·list·of·other·mode
343 names.·When·you·reload·those·modes·become·parents·of·the·original343 names.·When·you·reload·those·modes·become·parents·of·the·original
344 mode.344 mode.
345 </p>345 </p>
Offset 360, 17 lines modifiedOffset 360, 17 lines modified
360 ····|--·email360 ····|--·email
361 ····`--·time361 ····`--·time
362 </pre>362 </pre>
363 </div>363 </div>
364 </div>364 </div>
  
  
365 <div·id="outline-container-org210fadf"·class="outline-2">365 <div·id="outline-container-org0395144"·class="outline-2">
366 <h2·id="org210fadf"><span·class="todo·TODO">TODO</span>·The·<code>.yas-make-groups</code>·file</h2>366 <h2·id="org0395144"><span·class="todo·TODO">TODO</span>·The·<code>.yas-make-groups</code>·file</h2>
367 <div·class="outline-text-2"·id="text-org210fadf">367 <div·class="outline-text-2"·id="text-org0395144">
368 <p>368 <p>
369 If·you·place·an·empty·plain·text·file·<code>.yas-make-groups</code>·inside·one369 If·you·place·an·empty·plain·text·file·<code>.yas-make-groups</code>·inside·one
370 of·the·mode·directories,·the·names·of·these·sub-directories·are370 of·the·mode·directories,·the·names·of·these·sub-directories·are
371 considered·groups·of·snippets·and·<a·href="snippet-menu.html">the·menu</a>·is·organized·much·more371 considered·groups·of·snippets·and·<a·href="snippet-menu.html">the·menu</a>·is·organized·much·more
372 cleanly:372 cleanly:
373 </p>373 </p>
  
Offset 404, 28 lines modifiedOffset 404, 28 lines modified
404 <p>404 <p>
405 Yet·another·way·to·create·a·nice·snippet·menu·is·to·write·into405 Yet·another·way·to·create·a·nice·snippet·menu·is·to·write·into
406 <code>.yas-make-groups</code>·a·menu·definition.·TODO406 <code>.yas-make-groups</code>·a·menu·definition.·TODO
407 </p>407 </p>
408 </div>408 </div>
409 </div>409 </div>
  
410 <div·id="outline-container-org0651c16"·class="outline-2">410 <div·id="outline-container-org0a3e12d"·class="outline-2">
411 <h2·id="org0651c16">The·<code>.yas-setup.el</code>·file</h2>411 <h2·id="org0a3e12d">The·<code>.yas-setup.el</code>·file</h2>
412 <div·class="outline-text-2"·id="text-org0651c16">412 <div·class="outline-text-2"·id="text-org0a3e12d">
413 <p>413 <p>
414 If·there·is·file·named·<code>.yas-setup.el</code>·in·a·mode's·snippet414 If·there·is·file·named·<code>.yas-setup.el</code>·in·a·mode's·snippet
415 subdirectory,·it·is·loaded·along·with·the·snippets.··Utility415 subdirectory,·it·is·loaded·along·with·the·snippets.··Utility
416 functions·used·by·the·snippets·can·be·put·here.416 functions·used·by·the·snippets·can·be·put·here.
417 </p>417 </p>
418 </div>418 </div>
419 </div>419 </div>
  
420 <div·id="outline-container-org6e6e8f9"·class="outline-2">420 <div·id="outline-container-orgdb773b3"·class="outline-2">
421 <h2·id="org6e6e8f9">The·<code>.yas-compiled-snippet.el</code>·file</h2>421 <h2·id="orgdb773b3">The·<code>.yas-compiled-snippet.el</code>·file</h2>
422 <div·class="outline-text-2"·id="text-org6e6e8f9">422 <div·class="outline-text-2"·id="text-orgdb773b3">
423 <p>423 <p>
424 You·may·compile·a·top-level·snippet·directory·with·the424 You·may·compile·a·top-level·snippet·directory·with·the
425 <code>yas-compile-directory</code>·function,·which·will·create·a425 <code>yas-compile-directory</code>·function,·which·will·create·a
426 <code>.yas-compiled-snippets.el</code>·file·under·each·mode·subdirectory,426 <code>.yas-compiled-snippets.el</code>·file·under·each·mode·subdirectory,
427 which·contains·definitions·for·all·snippets·in·the·subdirectory.427 which·contains·definitions·for·all·snippets·in·the·subdirectory.
428 Compilation·helps·improve·loading·time.428 Compilation·helps·improve·loading·time.
429 </p>429 </p>
Offset 433, 17 lines modifiedOffset 433, 17 lines modified
433 <p>433 <p>
434 Alternatively,·you·may·compile·all·directories·in·the·list434 Alternatively,·you·may·compile·all·directories·in·the·list
435 <code>yas-snippet-dirs</code>·with·the·<code>yas-recompile-all</code>·function.435 <code>yas-snippet-dirs</code>·with·the·<code>yas-recompile-all</code>·function.
436 </p>436 </p>
437 </div>437 </div>
438 </div>438 </div>
  
439 <div·id="outline-container-orga2e5ee3"·class="outline-2">439 <div·id="outline-container-orgf9dbe0f"·class="outline-2">
440 <h2·id="orga2e5ee3">The·<code>.yas-skip</code>·file</h2>440 <h2·id="orgf9dbe0f">The·<code>.yas-skip</code>·file</h2>
441 <div·class="outline-text-2"·id="text-orga2e5ee3">441 <div·class="outline-text-2"·id="text-orgf9dbe0f">
442 <p>442 <p>
443 A·<code>.yas-skip</code>·file·in·a·mode's·snippet·subdirectory·tells·YASnippet443 A·<code>.yas-skip</code>·file·in·a·mode's·snippet·subdirectory·tells·YASnippet
444 not·to·load·snippets·from·there.444 not·to·load·snippets·from·there.
445 </p>445 </p>
446 </div>446 </div>
Max diff block lines reached; 8/6582 bytes (0.12%) of diff not shown.
72.7 KB
./usr/share/doc/elpa-yasnippet/html/snippet-reference.html
    
Offset 247, 15 lines modifiedOffset 247, 15 lines modified
247 </div>247 </div>
248 <div·id="content">248 <div·id="content">
249 <h1·class="title">Reference</h1>249 <h1·class="title">Reference</h1>
250 <div·id="table-of-contents">250 <div·id="table-of-contents">
251 <h2>Table·of·Contents</h2>251 <h2>Table·of·Contents</h2>
252 <div·id="text-table-of-contents">252 <div·id="text-table-of-contents">
253 <ul>253 <ul>
254 <li><a·href="#org9714b72">Interactive·functions</a>254 <li><a·href="#org2f23c59">Interactive·functions</a>
255 <ul>255 <ul>
256 <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>256 <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>
257 <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>257 <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>
258 <li><a·href="#yas-global-mode"><code·class='function'>yas-global-mode</code>·(<i>&amp;optional</i>·<code>arg</code>)</a></li>258 <li><a·href="#yas-global-mode"><code·class='function'>yas-global-mode</code>·(<i>&amp;optional</i>·<code>arg</code>)</a></li>
259 <li><a·href="#yas-next-field"><code·class='function'>yas-next-field</code>·(<i>&amp;optional</i>·<code>arg</code>)</a></li>259 <li><a·href="#yas-next-field"><code·class='function'>yas-next-field</code>·(<i>&amp;optional</i>·<code>arg</code>)</a></li>
260 <li><a·href="#yas-describe-table-by-namehash"><code·class='function'>yas-describe-table-by-namehash</code>·()</a></li>260 <li><a·href="#yas-describe-table-by-namehash"><code·class='function'>yas-describe-table-by-namehash</code>·()</a></li>
261 <li><a·href="#yas-exit-all-snippets"><code·class='function'>yas-exit-all-snippets</code>·()</a></li>261 <li><a·href="#yas-exit-all-snippets"><code·class='function'>yas-exit-all-snippets</code>·()</a></li>
Offset 281, 15 lines modifiedOffset 281, 15 lines modified
281 <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>281 <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>
282 <li><a·href="#yas-expand-from-keymap"><code·class='function'>yas-expand-from-keymap</code>·()</a></li>282 <li><a·href="#yas-expand-from-keymap"><code·class='function'>yas-expand-from-keymap</code>·()</a></li>
283 <li><a·href="#yas-abort-snippet"><code·class='function'>yas-abort-snippet</code>·(<i>&amp;optional</i>·<code>snippet</code>)</a></li>283 <li><a·href="#yas-abort-snippet"><code·class='function'>yas-abort-snippet</code>·(<i>&amp;optional</i>·<code>snippet</code>)</a></li>
284 <li><a·href="#yas-about"><code·class='function'>yas-about</code>·()</a></li>284 <li><a·href="#yas-about"><code·class='function'>yas-about</code>·()</a></li>
285 <li><a·href="#yas-deactivate-extra-mode"><code·class='function'>yas-deactivate-extra-mode</code>·(<code>mode</code>)</a></li>285 <li><a·href="#yas-deactivate-extra-mode"><code·class='function'>yas-deactivate-extra-mode</code>·(<code>mode</code>)</a></li>
286 </ul>286 </ul>
287 </li>287 </li>
288 <li><a·href="#orgcc7cb71">Customization·variables</a>288 <li><a·href="#org59b655b">Customization·variables</a>
289 <ul>289 <ul>
290 <li><a·href="#yas-wrap-around-region"><code·class='variable'>yas-wrap-around-region</code></a></li>290 <li><a·href="#yas-wrap-around-region"><code·class='variable'>yas-wrap-around-region</code></a></li>
291 <li><a·href="#yas-alias-to-yas/prefix-p"><code·class='variable'>yas-alias-to-yas/prefix-p</code></a></li>291 <li><a·href="#yas-alias-to-yas/prefix-p"><code·class='variable'>yas-alias-to-yas/prefix-p</code></a></li>
292 <li><a·href="#yas-triggers-in-field"><code·class='variable'>yas-triggers-in-field</code></a></li>292 <li><a·href="#yas-triggers-in-field"><code·class='variable'>yas-triggers-in-field</code></a></li>
293 <li><a·href="#yas-snippet-dirs"><code·class='function'>yas-snippet-dirs</code>·()</a></li>293 <li><a·href="#yas-snippet-dirs"><code·class='function'>yas-snippet-dirs</code>·()</a></li>
294 <li><a·href="#yas-expand-only-for-last-commands"><code·class='variable'>yas-expand-only-for-last-commands</code></a></li>294 <li><a·href="#yas-expand-only-for-last-commands"><code·class='variable'>yas-expand-only-for-last-commands</code></a></li>
295 <li><a·href="#yas-also-indent-empty-lines"><code·class='variable'>yas-also-indent-empty-lines</code></a></li>295 <li><a·href="#yas-also-indent-empty-lines"><code·class='variable'>yas-also-indent-empty-lines</code></a></li>
Offset 304, 15 lines modifiedOffset 304, 15 lines modified
304 <li><a·href="#yas-use-menu"><code·class='variable'>yas-use-menu</code></a></li>304 <li><a·href="#yas-use-menu"><code·class='variable'>yas-use-menu</code></a></li>
305 <li><a·href="#yas-trigger-symbol"><code·class='variable'>yas-trigger-symbol</code></a></li>305 <li><a·href="#yas-trigger-symbol"><code·class='variable'>yas-trigger-symbol</code></a></li>
306 <li><a·href="#yas-choose-keys-first"><code·class='variable'>yas-choose-keys-first</code></a></li>306 <li><a·href="#yas-choose-keys-first"><code·class='variable'>yas-choose-keys-first</code></a></li>
307 <li><a·href="#yas-snippet-revival"><code·class='variable'>yas-snippet-revival</code></a></li>307 <li><a·href="#yas-snippet-revival"><code·class='variable'>yas-snippet-revival</code></a></li>
308 <li><a·href="#yas-also-auto-indent-first-line"><code·class='variable'>yas-also-auto-indent-first-line</code></a></li>308 <li><a·href="#yas-also-auto-indent-first-line"><code·class='variable'>yas-also-auto-indent-first-line</code></a></li>
309 </ul>309 </ul>
310 </li>310 </li>
311 <li><a·href="#orga8b1e2b">Useful·functions</a>311 <li><a·href="#orgf522ede">Useful·functions</a>
312 <ul>312 <ul>
313 <li><a·href="#yas-text"><code·class='function'>yas-text</code>·()</a></li>313 <li><a·href="#yas-text"><code·class='function'>yas-text</code>·()</a></li>
314 <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>314 <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>
315 <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>315 <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>
316 <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>316 <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>
317 <li><a·href="#yas-define-snippets"><code·class='function'>yas-define-snippets</code>·(<code>mode</code>·<code>snippets</code>)</a></li>317 <li><a·href="#yas-define-snippets"><code·class='function'>yas-define-snippets</code>·(<code>mode</code>·<code>snippets</code>)</a></li>
318 <li><a·href="#yas-global-mode-check-buffers"><code·class='function'>yas-global-mode-check-buffers</code>·()</a></li>318 <li><a·href="#yas-global-mode-check-buffers"><code·class='function'>yas-global-mode-check-buffers</code>·()</a></li>
Offset 345, 15 lines modifiedOffset 345, 15 lines modified
345 <li><a·href="#yas-active-keys"><code·class='function'>yas-active-keys</code>·()</a></li>345 <li><a·href="#yas-active-keys"><code·class='function'>yas-active-keys</code>·()</a></li>
346 <li><a·href="#yas-throw"><code·class='function'>yas-throw</code>·(<code>text</code>)</a></li>346 <li><a·href="#yas-throw"><code·class='function'>yas-throw</code>·(<code>text</code>)</a></li>
347 <li><a·href="#yas-verify-value"><code·class='function'>yas-verify-value</code>·(<code>possibilities</code>)</a></li>347 <li><a·href="#yas-verify-value"><code·class='function'>yas-verify-value</code>·(<code>possibilities</code>)</a></li>
348 <li><a·href="#yas-global-mode-cmhh"><code·class='function'>yas-global-mode-cmhh</code>·()</a></li>348 <li><a·href="#yas-global-mode-cmhh"><code·class='function'>yas-global-mode-cmhh</code>·()</a></li>
349 <li><a·href="#yas-snippet-mode-buffer-p"><code·class='function'>yas-snippet-mode-buffer-p</code>·()</a></li>349 <li><a·href="#yas-snippet-mode-buffer-p"><code·class='function'>yas-snippet-mode-buffer-p</code>·()</a></li>
350 </ul>350 </ul>
351 </li>351 </li>
352 <li><a·href="#orgafc5d67">Useful·variables</a>352 <li><a·href="#org21d554e">Useful·variables</a>
353 <ul>353 <ul>
354 <li><a·href="#yas-before-expand-snippet-hook"><code·class='variable'>yas-before-expand-snippet-hook</code></a></li>354 <li><a·href="#yas-before-expand-snippet-hook"><code·class='variable'>yas-before-expand-snippet-hook</code></a></li>
355 <li><a·href="#yas-keymap"><code·class='variable'>yas-keymap</code></a></li>355 <li><a·href="#yas-keymap"><code·class='variable'>yas-keymap</code></a></li>
356 <li><a·href="#yas-minor-mode-map"><code·class='variable'>yas-minor-mode-map</code></a></li>356 <li><a·href="#yas-minor-mode-map"><code·class='variable'>yas-minor-mode-map</code></a></li>
357 <li><a·href="#yas-moving-away-p"><code·class='variable'>yas-moving-away-p</code></a></li>357 <li><a·href="#yas-moving-away-p"><code·class='variable'>yas-moving-away-p</code></a></li>
358 <li><a·href="#yas-new-snippet-buffer-name"><code·class='variable'>yas-new-snippet-buffer-name</code></a></li>358 <li><a·href="#yas-new-snippet-buffer-name"><code·class='variable'>yas-new-snippet-buffer-name</code></a></li>
359 <li><a·href="#yas-verbosity"><code·class='variable'>yas-verbosity</code></a></li>359 <li><a·href="#yas-verbosity"><code·class='variable'>yas-verbosity</code></a></li>
Offset 374, 33 lines modifiedOffset 374, 33 lines modified
374 <li><a·href="#yas-maybe-expand-from-keymap"><code·class='variable'>yas-maybe-expand-from-keymap</code></a></li>374 <li><a·href="#yas-maybe-expand-from-keymap"><code·class='variable'>yas-maybe-expand-from-keymap</code></a></li>
375 </ul>375 </ul>
376 </li>376 </li>
377 </ul>377 </ul>
378 </div>378 </div>
379 </div>379 </div>
  
380 <div·id="outline-container-org9714b72"·class="outline-2">380 <div·id="outline-container-org2f23c59"·class="outline-2">
381 <h2·id="org9714b72">Interactive·functions</h2>381 <h2·id="org2f23c59">Interactive·functions</h2>
382 <div·class="outline-text-2"·id="text-org9714b72">382 <div·class="outline-text-2"·id="text-org2f23c59">
383 </div>383 </div>
384 <div·id="outline-container-orge402ef0"·class="outline-3">384 <div·id="outline-container-org3f8fb48"·class="outline-3">
385 <h3·id="yas-skip-and-clear-or-delete-char"><a·id="orge402ef0"></a><code·class='function'>yas-skip-and-clear-or-delete-char</code>·(<i>&amp;optional</i>·<code>field</code>)</h3>385 <h3·id="yas-skip-and-clear-or-delete-char"><a·id="org3f8fb48"></a><code·class='function'>yas-skip-and-clear-or-delete-char</code>·(<i>&amp;optional</i>·<code>field</code>)</h3>
386 <div·class="outline-text-3"·id="text-yas-skip-and-clear-or-delete-char">386 <div·class="outline-text-3"·id="text-yas-skip-and-clear-or-delete-char">
387 <p>387 <p>
388 Clears·unmodified·field·if·at·field·start,·skips·to·next·tab.388 Clears·unmodified·field·if·at·field·start,·skips·to·next·tab.
389 </p>389 </p>
  
390 <p>390 <p>
391 Otherwise·deletes·a·character·normally·by·calling·<code>delete-char</code>.391 Otherwise·deletes·a·character·normally·by·calling·<code>delete-char</code>.
392 </p>392 </p>
393 </div>393 </div>
394 </div>394 </div>
  
395 <div·id="outline-container-org8d0742a"·class="outline-3">395 <div·id="outline-container-org6349a4f"·class="outline-3">
396 <h3·id="yas-load-snippet-buffer-and-close"><a·id="org8d0742a"></a><code·class='function'>yas-load-snippet-buffer-and-close</code>·(<code>table</code>·<i>&amp;optional</i>·<code>kill</code>)</h3>396 <h3·id="yas-load-snippet-buffer-and-close"><a·id="org6349a4f"></a><code·class='function'>yas-load-snippet-buffer-and-close</code>·(<code>table</code>·<i>&amp;optional</i>·<code>kill</code>)</h3>
397 <div·class="outline-text-3"·id="text-yas-load-snippet-buffer-and-close">397 <div·class="outline-text-3"·id="text-yas-load-snippet-buffer-and-close">
398 <p>398 <p>
399 Load·and·save·the·snippet,·then·<code>quit-window</code>·if·saved.399 Load·and·save·the·snippet,·then·<code>quit-window</code>·if·saved.
400 Loading·is·performed·by·<a·href="#yas-load-snippet-buffer"><code>yas-load-snippet-buffer</code></a>.··If·the400 Loading·is·performed·by·<a·href="#yas-load-snippet-buffer"><code>yas-load-snippet-buffer</code></a>.··If·the
401 snippet·is·new,·ask·the·user·whether·(and·where)·to·save·it.··If401 snippet·is·new,·ask·the·user·whether·(and·where)·to·save·it.··If
402 the·snippet·already·has·a·file,·just·save·it.402 the·snippet·already·has·a·file,·just·save·it.
403 </p>403 </p>
Offset 412, 16 lines modifiedOffset 412, 16 lines modified
412 <p>412 <p>
413 Don't·use·this·from·a·Lisp·program,·call·<a·href="#yas-load-snippet-buffer"><code>yas-load-snippet-buffer</code></a>413 Don't·use·this·from·a·Lisp·program,·call·<a·href="#yas-load-snippet-buffer"><code>yas-load-snippet-buffer</code></a>
414 and·<code>kill-buffer</code>·instead.414 and·<code>kill-buffer</code>·instead.
415 </p>415 </p>
416 </div>416 </div>
417 </div>417 </div>
  
418 <div·id="outline-container-orgf74f415"·class="outline-3">418 <div·id="outline-container-orgec4eb56"·class="outline-3">
419 <h3·id="yas-global-mode"><a·id="orgf74f415"></a><code·class='function'>yas-global-mode</code>·(<i>&amp;optional</i>·<code>arg</code>)</h3>419 <h3·id="yas-global-mode"><a·id="orgec4eb56"></a><code·class='function'>yas-global-mode</code>·(<i>&amp;optional</i>·<code>arg</code>)</h3>
420 <div·class="outline-text-3"·id="text-yas-global-mode">420 <div·class="outline-text-3"·id="text-yas-global-mode">
421 <p>421 <p>
422 Toggle·Yas·minor·mode·in·all·buffers.422 Toggle·Yas·minor·mode·in·all·buffers.
423 With·prefix·<code>arg</code>,·enable·Yas-Global·mode·if·<code>arg</code>·is·positive;423 With·prefix·<code>arg</code>,·enable·Yas-Global·mode·if·<code>arg</code>·is·positive;
424 otherwise,·disable·it.··If·called·from·Lisp,·enable·the·mode·if424 otherwise,·disable·it.··If·called·from·Lisp,·enable·the·mode·if
425 <code>arg</code>·is·omitted·or·nil.425 <code>arg</code>·is·omitted·or·nil.
426 </p>426 </p>
Offset 430, 126 lines modifiedOffset 430, 126 lines modified
430 Yas·minor·mode·is·enabled·in·all·buffers·where430 Yas·minor·mode·is·enabled·in·all·buffers·where
431 <a·href="#yas-minor-mode-on"><code>yas-minor-mode-on</code></a>·would·do·it.431 <a·href="#yas-minor-mode-on"><code>yas-minor-mode-on</code></a>·would·do·it.
432 See·<a·href="#yas-minor-mode"><code>yas-minor-mode</code></a>·for·more·information·on·Yas·minor·mode.432 See·<a·href="#yas-minor-mode"><code>yas-minor-mode</code></a>·for·more·information·on·Yas·minor·mode.
433 </p>433 </p>
434 </div>434 </div>
435 </div>435 </div>
  
436 <div·id="outline-container-org283f78a"·class="outline-3">436 <div·id="outline-container-org9e5d0b7"·class="outline-3">
437 <h3·id="yas-next-field"><a·id="org283f78a"></a><code·class='function'>yas-next-field</code>·(<i>&amp;optional</i>·<code>arg</code>)</h3>437 <h3·id="yas-next-field"><a·id="org9e5d0b7"></a><code·class='function'>yas-next-field</code>·(<i>&amp;optional</i>·<code>arg</code>)</h3>
438 <div·class="outline-text-3"·id="text-yas-next-field">438 <div·class="outline-text-3"·id="text-yas-next-field">
439 <p>439 <p>
440 Navigate·to·the·<code>arg</code>th·next·field.440 Navigate·to·the·<code>arg</code>th·next·field.
Max diff block lines reached; 65373/74355 bytes (87.92%) of diff not shown.