68.6 KB
/srv/reproducible-results/rbuild-debian/r-b-build.LSsnEW0E/b1/yasnippet_0.14.0+git20230912.76e1eee6-2_armhf.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.LSsnEW0E/b2/yasnippet_0.14.0+git20230912.76e1eee6-2_armhf.changes
348 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·dce393efce3b811e71c425b727e688f1·530992·lisp·optional·elpa-yasnippet_0.14.0+git20230912.76e1eee6-2_all.deb1 ·925f3ad2b44bdc4834dd873624f54da3·530988·lisp·optional·elpa-yasnippet_0.14.0+git20230912.76e1eee6-2_all.deb
2 ·8163e017e33c3495e2c2cf992d5ca517·3352·lisp·optional·yasnippet_0.14.0+git20230912.76e1eee6-2_all.deb2 ·8163e017e33c3495e2c2cf992d5ca517·3352·lisp·optional·yasnippet_0.14.0+git20230912.76e1eee6-2_all.deb
68.0 KB
elpa-yasnippet_0.14.0+git20230912.76e1eee6-2_all.deb
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2024-07-26·02:45:37.000000·debian-binary1 -rw-r--r--···0········0········0········4·2024-07-26·02:45:37.000000·debian-binary
2 -rw-r--r--···0········0········0·····1992·2024-07-26·02:45:37.000000·control.tar.xz2 -rw-r--r--···0········0········0·····1992·2024-07-26·02:45:37.000000·control.tar.xz
3 -rw-r--r--···0········0········0···528808·2024-07-26·02:45:37.000000·data.tar.xz3 -rw-r--r--···0········0········0···528804·2024-07-26·02:45:37.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
67.5 KB
data.tar.xz
67.5 KB
data.tar
6.38 KB
./usr/share/doc/elpa-yasnippet/html/faq.html
    
Offset 214, 55 lines modifiedOffset 214, 55 lines modified
214 </div>214 </div>
215 <div·id="content"·class="content">215 <div·id="content"·class="content">
216 <h1·class="title">Frequently·Asked·Questions</h1>216 <h1·class="title">Frequently·Asked·Questions</h1>
217 <div·id="table-of-contents"·role="doc-toc">217 <div·id="table-of-contents"·role="doc-toc">
218 <h2>Table·of·Contents</h2>218 <h2>Table·of·Contents</h2>
219 <div·id="text-table-of-contents"·role="doc-toc">219 <div·id="text-table-of-contents"·role="doc-toc">
220 <ul>220 <ul>
221 <li><a·href="#orgc54674b">Why·are·my·snippet·abbrev·keys·triggering·when·I·don't·want·them·too?</a></li>221 <li><a·href="#org90f6e09">Why·are·my·snippet·abbrev·keys·triggering·when·I·don't·want·them·too?</a></li>
222 <li><a·href="#org87218f3">Why·aren't·my·snippet·abbrev·keys·triggering·when·I·want·them·too?</a></li>222 <li><a·href="#orge88b642">Why·aren't·my·snippet·abbrev·keys·triggering·when·I·want·them·too?</a></li>
223 <li><a·href="#orgc23f1e7">Why·is·there·an·extra·newline?</a></li>223 <li><a·href="#org8f0b810">Why·is·there·an·extra·newline?</a></li>
224 <li><a·href="#org41fd2d8">Why·doesn't·TAB·navigation·work·with·flyspell</a></li>224 <li><a·href="#orgd9b5183">Why·doesn't·TAB·navigation·work·with·flyspell</a></li>
225 <li><a·href="#org4e2c7a1">How·do·I·use·alternative·keys,·i.e.·not·TAB?</a></li>225 <li><a·href="#org06e9755">How·do·I·use·alternative·keys,·i.e.·not·TAB?</a></li>
226 <li><a·href="#org3b48250">How·do·I·define·an·abbrev·key·containing·characters·not·supported·by·the·filesystem?</a></li>226 <li><a·href="#orga16168a">How·do·I·define·an·abbrev·key·containing·characters·not·supported·by·the·filesystem?</a></li>
227 </ul>227 </ul>
228 </div>228 </div>
229 </div>229 </div>
230 <ul·class="org-ul">230 <ul·class="org-ul">
231 <li><b>Note</b>:·In·addition·to·the·questions·and·answers·presented·here,231 <li><b>Note</b>:·In·addition·to·the·questions·and·answers·presented·here,
232 you·might·also·with·to·visit·the·list·of·<a·href="https://github.com/joaotavora/yasnippet/issues?q=label%3Asupport">solved·support·issues</a>·in232 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
233 the·Github·issue·tracker.··It·might·be·more·up-to-date·than·this233 the·Github·issue·tracker.··It·might·be·more·up-to-date·than·this
234 list.</li>234 list.</li>
235 </ul>235 </ul>
  
236 <div·id="outline-container-orgc54674b"·class="outline-2">236 <div·id="outline-container-org90f6e09"·class="outline-2">
237 <h2·id="orgc54674b">Why·are·my·snippet·abbrev·keys·triggering·when·I·don't·want·them·too?</h2>237 <h2·id="org90f6e09">Why·are·my·snippet·abbrev·keys·triggering·when·I·don't·want·them·too?</h2>
238 <div·class="outline-text-2"·id="text-orgc54674b">238 <div·class="outline-text-2"·id="text-org90f6e09">
239 <p>239 <p>
240 Expansion·of·abbrev·keys·is·controlled·by·<a·href="snippet-reference.html#yas-key-syntaxes"><code>yas-key-syntaxes</code></a>.··Try240 Expansion·of·abbrev·keys·is·controlled·by·<a·href="snippet-reference.html#yas-key-syntaxes"><code>yas-key-syntaxes</code></a>.··Try
241 removing·entries·which·correspond·to·the·abbrev·key·character·syntax.241 removing·entries·which·correspond·to·the·abbrev·key·character·syntax.
242 For·example,·if·you·have·a·snippet·with·abbrev·key·"bar",·that·you242 For·example,·if·you·have·a·snippet·with·abbrev·key·"bar",·that·you
243 don't·want·to·trigger·when·point·follows·the·text·<code>foo_bar</code>,·remove243 don't·want·to·trigger·when·point·follows·the·text·<code>foo_bar</code>,·remove
244 the·<code>"w"</code>·entry·(since·"bar"·has·only·word·syntax·characters).244 the·<code>"w"</code>·entry·(since·"bar"·has·only·word·syntax·characters).
245 </p>245 </p>
246 </div>246 </div>
247 </div>247 </div>
  
248 <div·id="outline-container-org87218f3"·class="outline-2">248 <div·id="outline-container-orge88b642"·class="outline-2">
249 <h2·id="org87218f3">Why·aren't·my·snippet·abbrev·keys·triggering·when·I·want·them·too?</h2>249 <h2·id="orge88b642">Why·aren't·my·snippet·abbrev·keys·triggering·when·I·want·them·too?</h2>
250 <div·class="outline-text-2"·id="text-org87218f3">250 <div·class="outline-text-2"·id="text-orge88b642">
251 <p>251 <p>
252 See·previous·question,·but·in·reverse.252 See·previous·question,·but·in·reverse.
253 </p>253 </p>
254 </div>254 </div>
255 </div>255 </div>
  
256 <div·id="outline-container-orgc23f1e7"·class="outline-2">256 <div·id="outline-container-org8f0b810"·class="outline-2">
257 <h2·id="orgc23f1e7">Why·is·there·an·extra·newline?</h2>257 <h2·id="org8f0b810">Why·is·there·an·extra·newline?</h2>
258 <div·class="outline-text-2"·id="text-orgc23f1e7">258 <div·class="outline-text-2"·id="text-org8f0b810">
259 <p>259 <p>
260 If·there·is·a·newline·at·the·end·of·a·snippet·definition·file,260 If·there·is·a·newline·at·the·end·of·a·snippet·definition·file,
261 YASnippet·will·add·a·newline·when·expanding·that·snippet.·When·editing261 YASnippet·will·add·a·newline·when·expanding·that·snippet.·When·editing
262 or·saving·a·snippet·file,·please·be·careful·not·to·accidentally·add·a262 or·saving·a·snippet·file,·please·be·careful·not·to·accidentally·add·a
263 terminal·newline.263 terminal·newline.
264 </p>264 </p>
  
Offset 270, 17 lines modifiedOffset 270, 17 lines modified
270 Note·that·some·editors·will·automatically·add·a·newline·for·you.·In270 Note·that·some·editors·will·automatically·add·a·newline·for·you.·In
271 Emacs,·if·you·set·<code>require-final-newline</code>·to·<code>t</code>,·it·will·add·the271 Emacs,·if·you·set·<code>require-final-newline</code>·to·<code>t</code>,·it·will·add·the
272 final·newline·automatically.272 final·newline·automatically.
273 </p>273 </p>
274 </div>274 </div>
275 </div>275 </div>
  
276 <div·id="outline-container-org41fd2d8"·class="outline-2">276 <div·id="outline-container-orgd9b5183"·class="outline-2">
277 <h2·id="org41fd2d8">Why·doesn't·TAB·navigation·work·with·flyspell</h2>277 <h2·id="orgd9b5183">Why·doesn't·TAB·navigation·work·with·flyspell</h2>
278 <div·class="outline-text-2"·id="text-org41fd2d8">278 <div·class="outline-text-2"·id="text-orgd9b5183">
279 <p>279 <p>
280 This·is·<a·href="https://debbugs.gnu.org/26672">Emacs·Bug#26672</a>,·so·you·should·upgrade·to·version·25.3·or280 This·is·<a·href="https://debbugs.gnu.org/26672">Emacs·Bug#26672</a>,·so·you·should·upgrade·to·version·25.3·or
281 better.··Otherwise,·a·workaround·is·to·inhibit·flyspell·overlays·while281 better.··Otherwise,·a·workaround·is·to·inhibit·flyspell·overlays·while
282 the·snippet·is·active:282 the·snippet·is·active:
283 </p>283 </p>
  
284 <div·class="org-src-container">284 <div·class="org-src-container">
Offset 289, 17 lines modifiedOffset 289, 17 lines modified
289 ··············(<span·class="org-keyword">and</span>·yas-active-field-overlay289 ··············(<span·class="org-keyword">and</span>·yas-active-field-overlay
290 ···················(overlay-buffer·yas-active-field-overlay))))290 ···················(overlay-buffer·yas-active-field-overlay))))
291 </pre>291 </pre>
292 </div>292 </div>
293 </div>293 </div>
294 </div>294 </div>
  
295 <div·id="outline-container-org4e2c7a1"·class="outline-2">295 <div·id="outline-container-org06e9755"·class="outline-2">
296 <h2·id="org4e2c7a1">How·do·I·use·alternative·keys,·i.e.·not·TAB?</h2>296 <h2·id="org06e9755">How·do·I·use·alternative·keys,·i.e.·not·TAB?</h2>
297 <div·class="outline-text-2"·id="text-org4e2c7a1">297 <div·class="outline-text-2"·id="text-org06e9755">
298 <p>298 <p>
299 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·would299 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
300 any·other·keymap,·but·use·<a·href="snippet-reference.html#yas-filtered-definition"><code>yas-filtered-definition</code></a>·on·the·definition300 any·other·keymap,·but·use·<a·href="snippet-reference.html#yas-filtered-definition"><code>yas-filtered-definition</code></a>·on·the·definition
301 if·you·want·to·respect·<a·href="snippet-reference.html#yas-keymap-disable-hook"><code>yas-keymap-disable-hook</code></a>:301 if·you·want·to·respect·<a·href="snippet-reference.html#yas-keymap-disable-hook"><code>yas-keymap-disable-hook</code></a>:
302 </p>302 </p>
  
303 <div·class="org-src-container">303 <div·class="org-src-container">
Offset 317, 17 lines modifiedOffset 317, 17 lines modified
317 (define-key·yas-keymap·(kbd·<span·class="org-string">"&lt;new-prev-field-key&gt;"</span>)317 (define-key·yas-keymap·(kbd·<span·class="org-string">"&lt;new-prev-field-key&gt;"</span>)
318 ··(yas-filtered-definition·'yas-prev-field))318 ··(yas-filtered-definition·'yas-prev-field))
319 </pre>319 </pre>
320 </div>320 </div>
321 </div>321 </div>
322 </div>322 </div>
  
323 <div·id="outline-container-org3b48250"·class="outline-2">323 <div·id="outline-container-orga16168a"·class="outline-2">
324 <h2·id="org3b48250">How·do·I·define·an·abbrev·key·containing·characters·not·supported·by·the·filesystem?</h2>324 <h2·id="orga16168a">How·do·I·define·an·abbrev·key·containing·characters·not·supported·by·the·filesystem?</h2>
325 <div·class="outline-text-2"·id="text-org3b48250">325 <div·class="outline-text-2"·id="text-orga16168a">
326 <ul·class="org-ul">326 <ul·class="org-ul">
327 <li><b>Note</b>:·This·question·applies·if·you're·still·defining·snippets327 <li><b>Note</b>:·This·question·applies·if·you're·still·defining·snippets
328 whose·key·<i>is</i>·the·filename.·This·is·behavior·still·provided·by328 whose·key·<i>is</i>·the·filename.·This·is·behavior·still·provided·by
329 version·0.6·for·backward·compatibilty,·but·is·somewhat329 version·0.6·for·backward·compatibilty,·but·is·somewhat
330 deprecated&#x2026;</li>330 deprecated&#x2026;</li>
331 </ul>331 </ul>
  
23.8 KB
./usr/share/doc/elpa-yasnippet/html/snippet-development.html
    
Offset 214, 98 lines modifiedOffset 214, 98 lines modified
214 </div>214 </div>
215 <div·id="content"·class="content">215 <div·id="content"·class="content">
216 <h1·class="title">Writing·snippets</h1>216 <h1·class="title">Writing·snippets</h1>
217 <div·id="table-of-contents"·role="doc-toc">217 <div·id="table-of-contents"·role="doc-toc">
218 <h2>Table·of·Contents</h2>218 <h2>Table·of·Contents</h2>
219 <div·id="text-table-of-contents"·role="doc-toc">219 <div·id="text-table-of-contents"·role="doc-toc">
220 <ul>220 <ul>
221 <li><a·href="#org44e08bc">Snippet·development</a>221 <li><a·href="#org651cdcc">Snippet·development</a>
222 <ul>222 <ul>
223 <li><a·href="#org89318b8">Quickly·finding·snippets</a></li>223 <li><a·href="#orgc9f5b59">Quickly·finding·snippets</a></li>
224 <li><a·href="#org09efc98">Using·the·<code>snippet-mode</code>·major·mode·</a></li>224 <li><a·href="#org30fe552">Using·the·<code>snippet-mode</code>·major·mode·</a></li>
225 </ul>225 </ul>
226 </li>226 </li>
227 <li><a·href="#org26dafb1">File·content</a>227 <li><a·href="#orga859e4f">File·content</a>
228 <ul>228 <ul>
229 <li><a·href="#orgf678977"><code>#·key:</code>·snippet·abbrev</a></li>229 <li><a·href="#org0c8f113"><code>#·key:</code>·snippet·abbrev</a></li>
230 <li><a·href="#org3a62cda"><code>#·name:</code>·snippet·name</a></li>230 <li><a·href="#org5f2d8fe"><code>#·name:</code>·snippet·name</a></li>
231 <li><a·href="#orgb75d9b0"><code>#·condition:</code>·snippet·condition</a></li>231 <li><a·href="#org6f248de"><code>#·condition:</code>·snippet·condition</a></li>
232 <li><a·href="#orgb870c3c"><code>#·group:</code>·snippet·menu·grouping</a></li>232 <li><a·href="#orgc1eb1fa"><code>#·group:</code>·snippet·menu·grouping</a></li>
233 <li><a·href="#org246bcc1"><code>#·expand-env:</code>·expand·environment</a></li>233 <li><a·href="#orgf936b17"><code>#·expand-env:</code>·expand·environment</a></li>
234 <li><a·href="#orgf063328"><code>#·binding:</code>·direct·keybinding</a></li>234 <li><a·href="#orgc6e969b"><code>#·binding:</code>·direct·keybinding</a></li>
235 <li><a·href="#org75c9399"><code>#·type:</code>·<code>snippet</code>·or·<code>command</code></a></li>235 <li><a·href="#orgcf9e8c4"><code>#·type:</code>·<code>snippet</code>·or·<code>command</code></a></li>
236 <li><a·href="#orgf92248a"><code>#·uuid:</code>·unique·identifier</a></li>236 <li><a·href="#orge826626"><code>#·uuid:</code>·unique·identifier</a></li>
237 <li><a·href="#org32bef46"><code>#·contributor:</code>·snippet·author</a></li>237 <li><a·href="#orgc2a36e8"><code>#·contributor:</code>·snippet·author</a></li>
238 </ul>238 </ul>
239 </li>239 </li>
240 <li><a·href="#org447f4a3">Template·Syntax</a>240 <li><a·href="#org773dce2">Template·Syntax</a>
241 <ul>241 <ul>
242 <li><a·href="#orgbb39a0c">Plain·Text</a></li>242 <li><a·href="#org25ffb4e">Plain·Text</a></li>
243 <li><a·href="#orgcf8064d">Embedded·Emacs·Lisp·code</a>243 <li><a·href="#orgcc2132e">Embedded·Emacs·Lisp·code</a>
244 <ul>244 <ul>
245 <li><a·href="#org2c9c9b5">Note:·backquote·expressions·should·not·modify·the·buffer</a></li>245 <li><a·href="#org305b125">Note:·backquote·expressions·should·not·modify·the·buffer</a></li>
246 </ul>246 </ul>
247 </li>247 </li>
248 <li><a·href="#org7f89d8c">Tab·stop·fields</a></li>248 <li><a·href="#orge5e193f">Tab·stop·fields</a></li>
249 <li><a·href="#orge5bdfd2">Placeholder·fields</a></li>249 <li><a·href="#orged169d5">Placeholder·fields</a></li>
250 <li><a·href="#org5d46992">Mirrors·</a></li>250 <li><a·href="#org1e07c05">Mirrors·</a></li>
251 <li><a·href="#org13cee79">Mirrors·with·transformations·</a></li>251 <li><a·href="#orgcfdc8ba">Mirrors·with·transformations·</a></li>
252 <li><a·href="#org3a31cdd">Fields·with·transformations</a></li>252 <li><a·href="#org76a33b4">Fields·with·transformations</a></li>
253 <li><a·href="#org40a188b">Choosing·fields·value·from·a·list·and·other·tricks</a></li>253 <li><a·href="#orgb787722">Choosing·fields·value·from·a·list·and·other·tricks</a></li>
254 <li><a·href="#org241513e">Nested·placeholder·fields</a></li>254 <li><a·href="#org84d2207">Nested·placeholder·fields</a></li>
255 <li><a·href="#orgc003906">Indentation·markers</a></li>255 <li><a·href="#orgf2f49eb">Indentation·markers</a></li>
256 </ul>256 </ul>
257 </li>257 </li>
258 </ul>258 </ul>
259 </div>259 </div>
260 </div>260 </div>
  
261 <div·id="outline-container-org44e08bc"·class="outline-2">261 <div·id="outline-container-org651cdcc"·class="outline-2">
262 <h2·id="org44e08bc">Snippet·development</h2>262 <h2·id="org651cdcc">Snippet·development</h2>
263 <div·class="outline-text-2"·id="text-org44e08bc">263 <div·class="outline-text-2"·id="text-org651cdcc">
264 </div>264 </div>
265 <div·id="outline-container-org89318b8"·class="outline-3">265 <div·id="outline-container-orgc9f5b59"·class="outline-3">
266 <h3·id="org89318b8">Quickly·finding·snippets</h3>266 <h3·id="orgc9f5b59">Quickly·finding·snippets</h3>
267 <div·class="outline-text-3"·id="text-org89318b8">267 <div·class="outline-text-3"·id="text-orgc9f5b59">
268 <p>268 <p>
269 There·are·some·ways·you·can·quickly·find·a·snippet·file·or·create·a·new·one:269 There·are·some·ways·you·can·quickly·find·a·snippet·file·or·create·a·new·one:
270 </p>270 </p>
  
271 <ul·class="org-ul">271 <ul·class="org-ul">
272 <li><p>272 <li><p>
273 <code>M-x·yas-new-snippet</code>,·key·binding:·<code>C-c·&amp;·C-n</code>273 <code>M-x·yas-new-snippet</code>,·key·binding:·<code>C-c·&amp;·C-n</code>
274 </p>274 </p>
  
275 <p>275 <p>
276 Creates·a·new·buffer·with·a·template·for·making·a·new·snippet.··The276 Creates·a·new·buffer·with·a·template·for·making·a·new·snippet.··The
277 buffer·is·in·<code>snippet-mode</code>·(see·<a·href="#orgd6f999b">below</a>).··When·you·are·done·editing277 buffer·is·in·<code>snippet-mode</code>·(see·<a·href="#orgb192ca5">below</a>).··When·you·are·done·editing
278 the·new·snippet,·use·<a·href="#orgbb3e3a3"><code>C-c·C-c</code></a>·to·save·it.278 the·new·snippet,·use·<a·href="#org3d8b9d2"><code>C-c·C-c</code></a>·to·save·it.
279 </p></li>279 </p></li>
  
280 <li><p>280 <li><p>
281 <code>M-x·yas-visit-snippet-file</code>,·key·binding:·<code>C-c·&amp;·C-v</code>281 <code>M-x·yas-visit-snippet-file</code>,·key·binding:·<code>C-c·&amp;·C-v</code>
282 </p>282 </p>
  
283 <p>283 <p>
284 Prompts·you·for·possible·snippet·expansions·like284 Prompts·you·for·possible·snippet·expansions·like
285 <a·href="snippet-reference.html#yas-insert-snippet"><code>yas-insert-snippet</code></a>,·but·instead·of·expanding·it,·takes·you·directly285 <a·href="snippet-reference.html#yas-insert-snippet"><code>yas-insert-snippet</code></a>,·but·instead·of·expanding·it,·takes·you·directly
286 to·the·snippet·definition's·file,·if·it·exists.286 to·the·snippet·definition's·file,·if·it·exists.
287 </p></li>287 </p></li>
288 </ul>288 </ul>
  
289 <p>289 <p>
290 Once·you·find·this·file·it·will·be·set·to·<code>snippet-mode</code>·(see·<a·href="#orgd6f999b">ahead</a>)290 Once·you·find·this·file·it·will·be·set·to·<code>snippet-mode</code>·(see·<a·href="#orgb192ca5">ahead</a>)
291 and·you·can·start·editing·your·snippet.291 and·you·can·start·editing·your·snippet.
292 </p>292 </p>
293 </div>293 </div>
294 </div>294 </div>
  
295 <div·id="outline-container-org09efc98"·class="outline-3">295 <div·id="outline-container-org30fe552"·class="outline-3">
296 <h3·id="org09efc98">Using·the·<code>snippet-mode</code>·major·mode·<a·id="orgd6f999b"></a></h3>296 <h3·id="org30fe552">Using·the·<code>snippet-mode</code>·major·mode·<a·id="orgb192ca5"></a></h3>
297 <div·class="outline-text-3"·id="text-org09efc98">297 <div·class="outline-text-3"·id="text-org30fe552">
298 <p>298 <p>
299 There·is·a·major·mode·<code>snippet-mode</code>·to·edit·snippets.·You·can·set·the299 There·is·a·major·mode·<code>snippet-mode</code>·to·edit·snippets.·You·can·set·the
300 buffer·to·this·mode·with·<code>M-x·snippet-mode</code>.·It·provides·reasonably300 buffer·to·this·mode·with·<code>M-x·snippet-mode</code>.·It·provides·reasonably
301 useful·syntax·highlighting.301 useful·syntax·highlighting.
302 </p>302 </p>
  
303 <p>303 <p>
Offset 320, 15 lines modifiedOffset 320, 15 lines modified
320 <p>320 <p>
321 Prompts·for·a·snippet·table·(with·a·default·based·on·snippet's321 Prompts·for·a·snippet·table·(with·a·default·based·on·snippet's
322 major·mode)·and·loads·the·snippet·currently·being·edited.322 major·mode)·and·loads·the·snippet·currently·being·edited.
323 </p></li>323 </p></li>
  
324 <li><p>324 <li><p>
325 <code>M-x·yas-load-snippet-buffer-and-close</code>,·key·binding:·<code>C-c·C-c</code>325 <code>M-x·yas-load-snippet-buffer-and-close</code>,·key·binding:·<code>C-c·C-c</code>
326 <a·id="orgbb3e3a3"></a>326 <a·id="org3d8b9d2"></a>
327 </p>327 </p>
  
328 <p>328 <p>
329 Like·<code>yas-load-snippet-buffer</code>,·but·also·saves·the·snippet·and329 Like·<code>yas-load-snippet-buffer</code>,·but·also·saves·the·snippet·and
330 calls·<code>quit-window</code>.··The·destination·is·decided·based·on·the330 calls·<code>quit-window</code>.··The·destination·is·decided·based·on·the
331 chosen·snippet·table·and·snippet·collection·directly·(defaulting·to331 chosen·snippet·table·and·snippet·collection·directly·(defaulting·to
332 the·first·directory·in·<code>yas-snippet-dirs</code>·(see·<a·href="snippet-organization.html">Organizing·Snippets</a>332 the·first·directory·in·<code>yas-snippet-dirs</code>·(see·<a·href="snippet-organization.html">Organizing·Snippets</a>
Offset 350, 17 lines modifiedOffset 350, 17 lines modified
350 There·are·also·<i>snippets·for·writing·snippets</i>:·<code>vars</code>,·<code>$f</code>·and·<code>$m</code>350 There·are·also·<i>snippets·for·writing·snippets</i>:·<code>vars</code>,·<code>$f</code>·and·<code>$m</code>
351 :-).351 :-).
352 </p>352 </p>
353 </div>353 </div>
354 </div>354 </div>
355 </div>355 </div>
  
356 <div·id="outline-container-org26dafb1"·class="outline-2">356 <div·id="outline-container-orga859e4f"·class="outline-2">
357 <h2·id="org26dafb1">File·content</h2>357 <h2·id="orga859e4f">File·content</h2>
358 <div·class="outline-text-2"·id="text-org26dafb1">358 <div·class="outline-text-2"·id="text-orga859e4f">
359 <p>359 <p>
360 A·file·defining·a·snippet·generally·contains·the·template·to·be360 A·file·defining·a·snippet·generally·contains·the·template·to·be
Max diff block lines reached; 16737/24243 bytes (69.04%) of diff not shown.
16.5 KB
./usr/share/doc/elpa-yasnippet/html/snippet-expansion.html
    
Offset 214, 42 lines modifiedOffset 214, 42 lines modified
214 </div>214 </div>
215 <div·id="content"·class="content">215 <div·id="content"·class="content">
216 <h1·class="title">Expanding·snippets</h1>216 <h1·class="title">Expanding·snippets</h1>
217 <div·id="table-of-contents"·role="doc-toc">217 <div·id="table-of-contents"·role="doc-toc">
218 <h2>Table·of·Contents</h2>218 <h2>Table·of·Contents</h2>
219 <div·id="text-table-of-contents"·role="doc-toc">219 <div·id="text-table-of-contents"·role="doc-toc">
220 <ul>220 <ul>
221 <li><a·href="#org6b607a4">Triggering·expansion</a>221 <li><a·href="#org644b24e">Triggering·expansion</a>
222 <ul>222 <ul>
223 <li><a·href="#org02fe48e">Trigger·key</a>223 <li><a·href="#org2f5d06b">Trigger·key</a>
224 <ul>224 <ul>
225 <li><a·href="#org8eaecd0">Fallback·behaviour</a></li>225 <li><a·href="#orge03b64f">Fallback·behaviour</a></li>
226 </ul>226 </ul>
227 </li>227 </li>
228 <li><a·href="#org0e2c659">Insert·at·point</a>228 <li><a·href="#orgfd986a0">Insert·at·point</a>
229 <ul>229 <ul>
230 <li><a·href="#orgbc97e42">Inserting·region·or·register·contents·into·snippet</a></li>230 <li><a·href="#org84a916c">Inserting·region·or·register·contents·into·snippet</a></li>
231 </ul>231 </ul>
232 </li>232 </li>
233 <li><a·href="#orga06a5a4">Snippet·keybinding</a></li>233 <li><a·href="#orgae2f653">Snippet·keybinding</a></li>
234 <li><a·href="#org075861f">Expanding·from·the·menu</a></li>234 <li><a·href="#org44af601">Expanding·from·the·menu</a></li>
235 <li><a·href="#org428bf9b">Expanding·with·<code>hippie-expand</code></a></li>235 <li><a·href="#org74159d1">Expanding·with·<code>hippie-expand</code></a></li>
236 <li><a·href="#org9c2662d">Expanding·from·emacs-lisp·code</a></li>236 <li><a·href="#org8c33dcb">Expanding·from·emacs-lisp·code</a></li>
237 </ul>237 </ul>
238 </li>238 </li>
239 <li><a·href="#org57a0b3a">Controlling·expansion</a>239 <li><a·href="#org49870d3">Controlling·expansion</a>
240 <ul>240 <ul>
241 <li><a·href="#org2964550">Eligible·snippets</a></li>241 <li><a·href="#orga1e34c4">Eligible·snippets</a></li>
242 <li><a·href="#org83162f8">The·condition·system·</a></li>242 <li><a·href="#org6d87171">The·condition·system·</a></li>
243 <li><a·href="#orge411dc4">Multiples·snippet·with·the·same·key</a>243 <li><a·href="#orgc393b4f">Multiples·snippet·with·the·same·key</a>
244 <ul>244 <ul>
245 <li><a·href="#orge1e42ef">Use·the·X·window·system</a></li>245 <li><a·href="#org51a7f33">Use·the·X·window·system</a></li>
246 <li><a·href="#orgfb8f255">Minibuffer·prompting</a></li>246 <li><a·href="#org776fb69">Minibuffer·prompting</a></li>
247 <li><a·href="#orge591ea8">Use·<code>dropdown-menu.el</code></a></li>247 <li><a·href="#orged767dd">Use·<code>dropdown-menu.el</code></a></li>
248 <li><a·href="#orgd259c67">Roll·your·own</a></li>248 <li><a·href="#orga5d9245">Roll·your·own</a></li>
249 </ul>249 </ul>
250 </li>250 </li>
251 </ul>251 </ul>
252 </li>252 </li>
253 </ul>253 </ul>
254 </div>254 </div>
255 </div>255 </div>
Offset 258, 17 lines modifiedOffset 258, 17 lines modified
258 </p>258 </p>
  
259 <p>259 <p>
260 Maybe,·you'll·want·some·snippets·to·be·expanded·in·a·particular260 Maybe,·you'll·want·some·snippets·to·be·expanded·in·a·particular
261 mode,·or·only·under·certain·conditions,·or·be·prompted·using261 mode,·or·only·under·certain·conditions,·or·be·prompted·using
262 </p>262 </p>
  
263 <div·id="outline-container-org6b607a4"·class="outline-2">263 <div·id="outline-container-org644b24e"·class="outline-2">
264 <h2·id="org6b607a4">Triggering·expansion</h2>264 <h2·id="org644b24e">Triggering·expansion</h2>
265 <div·class="outline-text-2"·id="text-org6b607a4">265 <div·class="outline-text-2"·id="text-org644b24e">
266 <p>266 <p>
267 You·can·use·YASnippet·to·expand·snippets·in·different·ways:267 You·can·use·YASnippet·to·expand·snippets·in·different·ways:
268 </p>268 </p>
  
269 <ul·class="org-ul">269 <ul·class="org-ul">
270 <li>When·<a·href="snippet-reference.html#yas-minor-mode"><code>yas-minor-mode</code></a>·is·active:270 <li>When·<a·href="snippet-reference.html#yas-minor-mode"><code>yas-minor-mode</code></a>·is·active:
271 <ul·class="org-ul">271 <ul·class="org-ul">
Offset 288, 17 lines modifiedOffset 288, 17 lines modified
288 <li>Use·m2m's·excellent·auto-complete288 <li>Use·m2m's·excellent·auto-complete
289 TODO:·example·for·this</li>289 TODO:·example·for·this</li>
  
290 <li>Expanding·from·emacs-lisp·code</li>290 <li>Expanding·from·emacs-lisp·code</li>
291 </ul>291 </ul>
292 </div>292 </div>
  
293 <div·id="outline-container-org02fe48e"·class="outline-3">293 <div·id="outline-container-org2f5d06b"·class="outline-3">
294 <h3·id="org02fe48e">Trigger·key</h3>294 <h3·id="org2f5d06b">Trigger·key</h3>
295 <div·class="outline-text-3"·id="text-org02fe48e">295 <div·class="outline-text-3"·id="text-org2f5d06b">
296 <p>296 <p>
297 <a·href="snippet-reference.html#yas-expand"><code>yas-expand</code></a>·tries·to·expand·a·<i>snippet·abbrev</i>·(also·known·as297 <a·href="snippet-reference.html#yas-expand"><code>yas-expand</code></a>·tries·to·expand·a·<i>snippet·abbrev</i>·(also·known·as
298 <i>snippet·key</i>)·before·point.··YASnippet·also·provides·a·<i>conditional298 <i>snippet·key</i>)·before·point.··YASnippet·also·provides·a·<i>conditional
299 binding</i>·for·this·command:·the·variable·<a·href="snippet-reference.html#yas-expand"><code>yas-maybe-expand</code></a>·contains·a299 binding</i>·for·this·command:·the·variable·<a·href="snippet-reference.html#yas-expand"><code>yas-maybe-expand</code></a>·contains·a
300 special·value·which,·when·bound·in·a·keymap,·tells·Emacs·to·call300 special·value·which,·when·bound·in·a·keymap,·tells·Emacs·to·call
301 <a·href="snippet-reference.html#yas-expand"><code>yas-expand</code></a>·if·and·only·if·there·is·a·snippet·abbrev·before·point.301 <a·href="snippet-reference.html#yas-expand"><code>yas-expand</code></a>·if·and·only·if·there·is·a·snippet·abbrev·before·point.
302 If·there·is·no·snippet·to·expand,·Emacs·will·behave·as·if·<a·href="snippet-reference.html#yas-expand"><code>yas-expand</code></a>302 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 334, 41 lines modifiedOffset 334, 41 lines modified
334 <p>334 <p>
335 To·enable·the·YASnippet·minor·mode·in·all·buffers·globally·use·the335 To·enable·the·YASnippet·minor·mode·in·all·buffers·globally·use·the
336 command·<a·href="snippet-reference.html#yas-global-mode"><code>yas-global-mode</code></a>.·This·will·enable·a·modeline·indicator,336 command·<a·href="snippet-reference.html#yas-global-mode"><code>yas-global-mode</code></a>.·This·will·enable·a·modeline·indicator,
337 <code>yas</code>:337 <code>yas</code>:
338 </p>338 </p>
  
  
339 <div·id="org77ba9c8"·class="figure">339 <div·id="org47bbf08"·class="figure">
340 <p><img·src="./images/minor-mode-indicator.png"·alt="minor-mode-indicator.png"·/>340 <p><img·src="./images/minor-mode-indicator.png"·alt="minor-mode-indicator.png"·/>
341 </p>341 </p>
342 </div>342 </div>
  
343 <p>343 <p>
344 When·you·use·<a·href="snippet-reference.html#yas-global-mode"><code>yas-global-mode</code></a>·you·can·also·selectively·disable344 When·you·use·<a·href="snippet-reference.html#yas-global-mode"><code>yas-global-mode</code></a>·you·can·also·selectively·disable
345 YASnippet·in·some·buffers·by·calling·<a·href="snippet-reference.html#yas-minor-mode"><code>yas-minor-mode</code></a>·with·a·negative345 YASnippet·in·some·buffers·by·calling·<a·href="snippet-reference.html#yas-minor-mode"><code>yas-minor-mode</code></a>·with·a·negative
346 argument·in·the·buffer's·mode·hook.346 argument·in·the·buffer's·mode·hook.
347 </p>347 </p>
348 </div>348 </div>
  
349 <div·id="outline-container-org8eaecd0"·class="outline-4">349 <div·id="outline-container-orge03b64f"·class="outline-4">
350 <h4·id="org8eaecd0">Fallback·behaviour</h4>350 <h4·id="orge03b64f">Fallback·behaviour</h4>
351 <div·class="outline-text-4"·id="text-org8eaecd0">351 <div·class="outline-text-4"·id="text-orge03b64f">
352 <p>352 <p>
353 YASnippet·used·to·support·a·more·complicated·way·of·sharing353 YASnippet·used·to·support·a·more·complicated·way·of·sharing
354 keybindings·before·<a·href="snippet-reference.html#yas-expand"><code>yas-maybe-expand</code></a>·was·added.··This·is·now354 keybindings·before·<a·href="snippet-reference.html#yas-expand"><code>yas-maybe-expand</code></a>·was·added.··This·is·now
355 obsolete.355 obsolete.
356 </p>356 </p>
357 </div>357 </div>
358 </div>358 </div>
359 </div>359 </div>
  
360 <div·id="outline-container-org0e2c659"·class="outline-3">360 <div·id="outline-container-orgfd986a0"·class="outline-3">
361 <h3·id="org0e2c659">Insert·at·point</h3>361 <h3·id="orgfd986a0">Insert·at·point</h3>
362 <div·class="outline-text-3"·id="text-org0e2c659">362 <div·class="outline-text-3"·id="text-orgfd986a0">
363 <p>363 <p>
364 The·command·<a·href="snippet-reference.html#yas-insert-snippet"><code>yas-insert-snippet</code></a>·lets·you·insert·snippets·at·point364 The·command·<a·href="snippet-reference.html#yas-insert-snippet"><code>yas-insert-snippet</code></a>·lets·you·insert·snippets·at·point
365 <i>for·your·current·major·mode</i>.·It·prompts·you·for·the·snippet·key365 <i>for·your·current·major·mode</i>.·It·prompts·you·for·the·snippet·key
366 first,·and·then·for·a·snippet·template·if·more·than·one·template366 first,·and·then·for·a·snippet·template·if·more·than·one·template
367 exists·for·the·same·key.367 exists·for·the·same·key.
368 </p>368 </p>
  
Offset 380, 17 lines modifiedOffset 380, 17 lines modified
  
380 <p>380 <p>
381 The·prompting·methods·used·are·again·controlled·by381 The·prompting·methods·used·are·again·controlled·by
382 <a·href="snippet-reference.html#yas-prompt-functions"><code>yas-prompt-functions</code></a>.382 <a·href="snippet-reference.html#yas-prompt-functions"><code>yas-prompt-functions</code></a>.
383 </p>383 </p>
384 </div>384 </div>
Max diff block lines reached; 10502/16803 bytes (62.50%) of diff not shown.
4.47 KB
./usr/share/doc/elpa-yasnippet/html/snippet-menu.html
    
Offset 214, 19 lines modifiedOffset 214, 19 lines modified
214 </div>214 </div>
215 <div·id="content"·class="content">215 <div·id="content"·class="content">
216 <h1·class="title">YASnippet·menu</h1>216 <h1·class="title">YASnippet·menu</h1>
217 <div·id="table-of-contents"·role="doc-toc">217 <div·id="table-of-contents"·role="doc-toc">
218 <h2>Table·of·Contents</h2>218 <h2>Table·of·Contents</h2>
219 <div·id="text-table-of-contents"·role="doc-toc">219 <div·id="text-table-of-contents"·role="doc-toc">
220 <ul>220 <ul>
221 <li><a·href="#org10a22f0">Loading·snippets·from·menu</a></li>221 <li><a·href="#orgbdbcbf3">Loading·snippets·from·menu</a></li>
222 <li><a·href="#org00c9650">Snippet·menu·behavior</a></li>222 <li><a·href="#org0a5f0c1">Snippet·menu·behavior</a></li>
223 <li><a·href="#org9bf238e">Controlling·indenting</a></li>223 <li><a·href="#orgaabbfdc">Controlling·indenting</a></li>
224 <li><a·href="#org9f27cc7">Prompting·method</a></li>224 <li><a·href="#org6a87c45">Prompting·method</a></li>
225 <li><a·href="#org98aec50">Misc</a></li>225 <li><a·href="#org0a95b86">Misc</a></li>
226 </ul>226 </ul>
227 </div>227 </div>
228 </div>228 </div>
229 <p>229 <p>
230 When·<a·href="snippet-reference.html#yas-minor-mode"><code>yas-minor-mode</code></a>·is·active,·YASnippet·will·setup·a·menu·just·after230 When·<a·href="snippet-reference.html#yas-minor-mode"><code>yas-minor-mode</code></a>·is·active,·YASnippet·will·setup·a·menu·just·after
231 the·"Buffers"·menu·in·the·menubar.231 the·"Buffers"·menu·in·the·menubar.
232 </p>232 </p>
Offset 244, 38 lines modifiedOffset 244, 38 lines modified
244 snippet·definitions.</li>244 snippet·definitions.</li>
  
245 <li>A·series·of·submenus·for·customizing·and·exploring·YASnippet245 <li>A·series·of·submenus·for·customizing·and·exploring·YASnippet
246 behavior.</li>246 behavior.</li>
247 </ul>247 </ul>
  
  
248 <div·id="orgf25d55f"·class="figure">248 <div·id="orgf9567f1"·class="figure">
249 <p><img·src="./images/menu-1.png"·alt="menu-1.png"·/>249 <p><img·src="./images/menu-1.png"·alt="menu-1.png"·/>
250 </p>250 </p>
251 </div>251 </div>
  
252 <div·id="outline-container-org10a22f0"·class="outline-2">252 <div·id="outline-container-orgbdbcbf3"·class="outline-2">
253 <h2·id="org10a22f0">Loading·snippets·from·menu</h2>253 <h2·id="orgbdbcbf3">Loading·snippets·from·menu</h2>
254 <div·class="outline-text-2"·id="text-org10a22f0">254 <div·class="outline-text-2"·id="text-orgbdbcbf3">
255 <p>255 <p>
256 Invoking·"Load·snippets&#x2026;"·from·the·menu·invokes·<a·href="snippet-reference.html#yas-load-directory"><code>yas-load-directory</code></a>256 Invoking·"Load·snippets&#x2026;"·from·the·menu·invokes·<a·href="snippet-reference.html#yas-load-directory"><code>yas-load-directory</code></a>
257 and·prompts·you·for·a·snippet·directory·hierarchy·to·load.257 and·prompts·you·for·a·snippet·directory·hierarchy·to·load.
258 </p>258 </p>
  
259 <p>259 <p>
260 Also·useful·is·the·"Reload·everything"·item·to·invoke·<a·href="snippet-reference.html#yas-reload-all"><code>yas-reload-all</code></a>260 Also·useful·is·the·"Reload·everything"·item·to·invoke·<a·href="snippet-reference.html#yas-reload-all"><code>yas-reload-all</code></a>
261 which·uncondionally·reloads·all·the·snippets·directories·defined·in261 which·uncondionally·reloads·all·the·snippets·directories·defined·in
262 <a·href="snippet-reference.html#yas-snippet-dirs"><code>yas-snippet-dirs</code></a>·and·rebuilds·the·menus.262 <a·href="snippet-reference.html#yas-snippet-dirs"><code>yas-snippet-dirs</code></a>·and·rebuilds·the·menus.
263 </p>263 </p>
264 </div>264 </div>
265 </div>265 </div>
  
266 <div·id="outline-container-org00c9650"·class="outline-2">266 <div·id="outline-container-org0a5f0c1"·class="outline-2">
267 <h2·id="org00c9650">Snippet·menu·behavior</h2>267 <h2·id="org0a5f0c1">Snippet·menu·behavior</h2>
268 <div·class="outline-text-2"·id="text-org00c9650">268 <div·class="outline-text-2"·id="text-org0a5f0c1">
269 <p>269 <p>
270 YASnippet·will·list·in·this·section·all·the·loaded·snippet·definitions270 YASnippet·will·list·in·this·section·all·the·loaded·snippet·definitions
271 organized·by·snippet·table·name.271 organized·by·snippet·table·name.
272 </p>272 </p>
  
273 <p>273 <p>
274 You·can·use·this·section·to·explore·currently·loaded·snippets.·If·you274 You·can·use·this·section·to·explore·currently·loaded·snippets.·If·you
Offset 303, 38 lines modifiedOffset 303, 38 lines modified
303 <p>303 <p>
304 These·customizations·can·also·be·found·in·the·menu·itself,·under·the304 These·customizations·can·also·be·found·in·the·menu·itself,·under·the
305 "Snippet·menu·behavior"·submenu.305 "Snippet·menu·behavior"·submenu.
306 </p>306 </p>
307 </div>307 </div>
308 </div>308 </div>
  
309 <div·id="outline-container-org9bf238e"·class="outline-2">309 <div·id="outline-container-orgaabbfdc"·class="outline-2">
310 <h2·id="org9bf238e">Controlling·indenting</h2>310 <h2·id="orgaabbfdc">Controlling·indenting</h2>
311 <div·class="outline-text-2"·id="text-org9bf238e">311 <div·class="outline-text-2"·id="text-orgaabbfdc">
312 <p>312 <p>
313 The·"Indenting"·submenu·contains·options·to·control·the·values·of313 The·"Indenting"·submenu·contains·options·to·control·the·values·of
314 <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>.·See314 <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
315 <a·href="./snippet-development.html">Writing·snippets</a>.315 <a·href="./snippet-development.html">Writing·snippets</a>.
316 </p>316 </p>
317 </div>317 </div>
318 </div>318 </div>
  
319 <div·id="outline-container-org9f27cc7"·class="outline-2">319 <div·id="outline-container-org6a87c45"·class="outline-2">
320 <h2·id="org9f27cc7">Prompting·method</h2>320 <h2·id="org6a87c45">Prompting·method</h2>
321 <div·class="outline-text-2"·id="text-org9f27cc7">321 <div·class="outline-text-2"·id="text-org6a87c45">
322 <p>322 <p>
323 The·"Prompting·method"·submenu·contains·options·to·control·the·value·of323 The·"Prompting·method"·submenu·contains·options·to·control·the·value·of
324 <a·href="snippet-reference.html#yas-prompt-functions"><code>yas-prompt-functions</code></a>.·See·<a·href="./snippet-expansion.html">Expanding·snippets</a>.324 <a·href="snippet-reference.html#yas-prompt-functions"><code>yas-prompt-functions</code></a>.·See·<a·href="./snippet-expansion.html">Expanding·snippets</a>.
325 </p>325 </p>
326 </div>326 </div>
327 </div>327 </div>
  
328 <div·id="outline-container-org98aec50"·class="outline-2">328 <div·id="outline-container-org0a95b86"·class="outline-2">
329 <h2·id="org98aec50">Misc</h2>329 <h2·id="org0a95b86">Misc</h2>
330 <div·class="outline-text-2"·id="text-org98aec50">330 <div·class="outline-text-2"·id="text-org0a95b86">
331 <p>331 <p>
332 The·"Misc"·submenu·contains·options·to·control·the·values·of·more332 The·"Misc"·submenu·contains·options·to·control·the·values·of·more
333 variables.333 variables.
334 </p>334 </p>
335 </div>335 </div>
336 </div>336 </div>
337 </div>337 </div>
7.47 KB
./usr/share/doc/elpa-yasnippet/html/snippet-organization.html
    
Offset 214, 35 lines modifiedOffset 214, 35 lines modified
214 </div>214 </div>
215 <div·id="content"·class="content">215 <div·id="content"·class="content">
216 <h1·class="title">Organizing·snippets</h1>216 <h1·class="title">Organizing·snippets</h1>
217 <div·id="table-of-contents"·role="doc-toc">217 <div·id="table-of-contents"·role="doc-toc">
218 <h2>Table·of·Contents</h2>218 <h2>Table·of·Contents</h2>
219 <div·id="text-table-of-contents"·role="doc-toc">219 <div·id="text-table-of-contents"·role="doc-toc">
220 <ul>220 <ul>
221 <li><a·href="#org8a3b225">Basic·structure</a></li>221 <li><a·href="#org93338b2">Basic·structure</a></li>
222 <li><a·href="#org310f411">Setting·up·<code>yas-snippet-dirs</code></a></li>222 <li><a·href="#orge96d489">Setting·up·<code>yas-snippet-dirs</code></a></li>
223 <li><a·href="#org96e72a4">The·<code>.yas-parents</code>·file</a></li>223 <li><a·href="#org457659d">The·<code>.yas-parents</code>·file</a></li>
224 <li><a·href="#org01dd055"><span·class="todo·TODO">TODO</span>·The·<code>.yas-make-groups</code>·file</a></li>224 <li><a·href="#org275d526"><span·class="todo·TODO">TODO</span>·The·<code>.yas-make-groups</code>·file</a></li>
225 <li><a·href="#org2ea9057">The·<code>.yas-setup.el</code>·file</a></li>225 <li><a·href="#org09e116b">The·<code>.yas-setup.el</code>·file</a></li>
226 <li><a·href="#org1130617">The·<code>.yas-compiled-snippet.el</code>·file</a></li>226 <li><a·href="#orgb6a63f7">The·<code>.yas-compiled-snippet.el</code>·file</a></li>
227 <li><a·href="#org9b91a80">The·<code>.yas-skip</code>·file</a></li>227 <li><a·href="#org8ec0c04">The·<code>.yas-skip</code>·file</a></li>
228 </ul>228 </ul>
229 </div>229 </div>
230 </div>230 </div>
  
231 <div·id="outline-container-org8a3b225"·class="outline-2">231 <div·id="outline-container-org93338b2"·class="outline-2">
232 <h2·id="org8a3b225">Basic·structure</h2>232 <h2·id="org93338b2">Basic·structure</h2>
233 <div·class="outline-text-2"·id="text-org8a3b225">233 <div·class="outline-text-2"·id="text-org93338b2">
234 <p>234 <p>
235 Snippet·collections·can·be·stored·in·plain·text·files.·They·are235 Snippet·collections·can·be·stored·in·plain·text·files.·They·are
236 arranged·by·sub-directories·naming·<b>snippet·tables</b>.··These·mostly236 arranged·by·sub-directories·naming·<b>snippet·tables</b>.··These·mostly
237 name·Emacs·major·mode·names.237 name·Emacs·major·mode·names.
238 </p>238 </p>
  
239 <pre·class="example"·id="orgb1ba5f6">239 <pre·class="example"·id="orge102c05">
240 .240 .
241 |--·c-mode241 |--·c-mode
242 |···`--·printf242 |···`--·printf
243 |--·java-mode243 |--·java-mode
244 |···`--·println244 |···`--·println
245 `--·text-mode245 `--·text-mode
246 ····|--·email246 ····|--·email
Offset 253, 17 lines modifiedOffset 253, 17 lines modified
253 The·collections·are·loaded·into·<b>snippet·tables</b>·which·the253 The·collections·are·loaded·into·<b>snippet·tables</b>·which·the
254 triggering·mechanism·(see·<a·href="snippet-expansion.html">Expanding·Snippets</a>)·looks·up·and254 triggering·mechanism·(see·<a·href="snippet-expansion.html">Expanding·Snippets</a>)·looks·up·and
255 (hopefully)·causes·the·right·snippet·to·be·expanded·for·you.255 (hopefully)·causes·the·right·snippet·to·be·expanded·for·you.
256 </p>256 </p>
257 </div>257 </div>
258 </div>258 </div>
  
259 <div·id="outline-container-org310f411"·class="outline-2">259 <div·id="outline-container-orge96d489"·class="outline-2">
260 <h2·id="org310f411">Setting·up·<code>yas-snippet-dirs</code></h2>260 <h2·id="orge96d489">Setting·up·<code>yas-snippet-dirs</code></h2>
261 <div·class="outline-text-2"·id="text-org310f411">261 <div·class="outline-text-2"·id="text-orge96d489">
262 <p>262 <p>
263 The·emacs·variable·<a·href="snippet-reference.html#yas-snippet-dirs"><code>yas-snippet-dirs</code></a>·tells·YASnippet263 The·emacs·variable·<a·href="snippet-reference.html#yas-snippet-dirs"><code>yas-snippet-dirs</code></a>·tells·YASnippet
264 which·collections·to·consider.·It's·used·when·you·activate264 which·collections·to·consider.·It's·used·when·you·activate
265 <a·href="snippet-reference.html#yas-global-mode"><code>yas-global-mode</code></a>·or·call265 <a·href="snippet-reference.html#yas-global-mode"><code>yas-global-mode</code></a>·or·call
266 <a·href="snippet-reference.html#yas-reload-all"><code>yas-reload-all</code></a>·interactively.266 <a·href="snippet-reference.html#yas-reload-all"><code>yas-reload-all</code></a>·interactively.
267 </p>267 </p>
  
Offset 297, 26 lines modifiedOffset 297, 26 lines modified
297 Collections·appearing·earlier·in·the·list·override·snippets·with·same·names297 Collections·appearing·earlier·in·the·list·override·snippets·with·same·names
298 appearing·in·collections·later·in·the·list.·<a·href="snippet-reference.html#yas-new-snippet"><code>yas-new-snippet</code></a>·always·stores298 appearing·in·collections·later·in·the·list.·<a·href="snippet-reference.html#yas-new-snippet"><code>yas-new-snippet</code></a>·always·stores
299 snippets·in·the·first·collection.299 snippets·in·the·first·collection.
300 </p>300 </p>
301 </div>301 </div>
302 </div>302 </div>
  
303 <div·id="outline-container-org96e72a4"·class="outline-2">303 <div·id="outline-container-org457659d"·class="outline-2">
304 <h2·id="org96e72a4">The·<code>.yas-parents</code>·file</h2>304 <h2·id="org457659d">The·<code>.yas-parents</code>·file</h2>
305 <div·class="outline-text-2"·id="text-org96e72a4">305 <div·class="outline-text-2"·id="text-org457659d">
306 <p>306 <p>
307 It's·very·useful·to·have·certain·modes·share·snippets·between307 It's·very·useful·to·have·certain·modes·share·snippets·between
308 themselves.·To·do·this,·choose·a·mode·subdirectory·and·place·a308 themselves.·To·do·this,·choose·a·mode·subdirectory·and·place·a
309 <code>.yas-parents</code>·containing·a·whitespace-separated·list·of·other·mode309 <code>.yas-parents</code>·containing·a·whitespace-separated·list·of·other·mode
310 names.·When·you·reload·those·modes·become·parents·of·the·original310 names.·When·you·reload·those·modes·become·parents·of·the·original
311 mode.311 mode.
312 </p>312 </p>
  
313 <pre·class="example"·id="orgaaa3c96">313 <pre·class="example"·id="orge996d06">
314 .314 .
315 |--·c-mode315 |--·c-mode
316 |···|--·.yas-parents····#·contains·"cc-mode·text-mode"316 |···|--·.yas-parents····#·contains·"cc-mode·text-mode"
317 |···`--·printf317 |···`--·printf
318 |--·cc-mode318 |--·cc-mode
319 |···|--·for319 |···|--·for
320 |···`--·while320 |···`--·while
Offset 327, 36 lines modifiedOffset 327, 36 lines modified
327 ····|--·email327 ····|--·email
328 ····`--·time328 ····`--·time
329 </pre>329 </pre>
330 </div>330 </div>
331 </div>331 </div>
  
  
332 <div·id="outline-container-org01dd055"·class="outline-2">332 <div·id="outline-container-org275d526"·class="outline-2">
333 <h2·id="org01dd055"><span·class="todo·TODO">TODO</span>·The·<code>.yas-make-groups</code>·file</h2>333 <h2·id="org275d526"><span·class="todo·TODO">TODO</span>·The·<code>.yas-make-groups</code>·file</h2>
334 <div·class="outline-text-2"·id="text-org01dd055">334 <div·class="outline-text-2"·id="text-org275d526">
335 <p>335 <p>
336 If·you·place·an·empty·plain·text·file·<code>.yas-make-groups</code>·inside·one336 If·you·place·an·empty·plain·text·file·<code>.yas-make-groups</code>·inside·one
337 of·the·mode·directories,·the·names·of·these·sub-directories·are337 of·the·mode·directories,·the·names·of·these·sub-directories·are
338 considered·groups·of·snippets·and·<a·href="snippet-menu.html">the·menu</a>·is·organized·much·more338 considered·groups·of·snippets·and·<a·href="snippet-menu.html">the·menu</a>·is·organized·much·more
339 cleanly:339 cleanly:
340 </p>340 </p>
  
  
341 <div·id="org7305d4c"·class="figure">341 <div·id="orge167d47"·class="figure">
342 <p><img·src="./images/menu-groups.png"·alt="menu-groups.png"·/>342 <p><img·src="./images/menu-groups.png"·alt="menu-groups.png"·/>
343 </p>343 </p>
344 </div>344 </div>
  
345 <p>345 <p>
346 Another·way·to·achieve·this·is·to·place·a·<code>#·group:</code>·directive346 Another·way·to·achieve·this·is·to·place·a·<code>#·group:</code>·directive
347 inside·the·snippet·definition.·See·<a·href="./snippet-development.html">Writing·Snippets</a>.347 inside·the·snippet·definition.·See·<a·href="./snippet-development.html">Writing·Snippets</a>.
348 </p>348 </p>
  
349 <pre·class="example"·id="org6aaf688">349 <pre·class="example"·id="org528e3f4">
350 $·tree·ruby-mode/350 $·tree·ruby-mode/
351 ruby-mode/351 ruby-mode/
352 |--·.yas-make-groups352 |--·.yas-make-groups
353 |--·collections353 |--·collections
354 |···|--·each354 |···|--·each
355 |···`--·...355 |···`--·...
356 |--·control·structure356 |--·control·structure
Offset 371, 28 lines modifiedOffset 371, 28 lines modified
371 <p>371 <p>
372 Yet·another·way·to·create·a·nice·snippet·menu·is·to·write·into372 Yet·another·way·to·create·a·nice·snippet·menu·is·to·write·into
373 <code>.yas-make-groups</code>·a·menu·definition.·TODO373 <code>.yas-make-groups</code>·a·menu·definition.·TODO
374 </p>374 </p>
375 </div>375 </div>
376 </div>376 </div>
  
377 <div·id="outline-container-org2ea9057"·class="outline-2">377 <div·id="outline-container-org09e116b"·class="outline-2">
378 <h2·id="org2ea9057">The·<code>.yas-setup.el</code>·file</h2>378 <h2·id="org09e116b">The·<code>.yas-setup.el</code>·file</h2>
Max diff block lines reached; 1564/7524 bytes (20.79%) of diff not shown.
8.81 KB
./usr/share/doc/elpa-yasnippet/html/snippet-reference.html
    
Offset 214, 15 lines modifiedOffset 214, 15 lines modified
214 </div>214 </div>
215 <div·id="content"·class="content">215 <div·id="content"·class="content">
216 <h1·class="title">Reference</h1>216 <h1·class="title">Reference</h1>
217 <div·id="table-of-contents"·role="doc-toc">217 <div·id="table-of-contents"·role="doc-toc">
218 <h2>Table·of·Contents</h2>218 <h2>Table·of·Contents</h2>
219 <div·id="text-table-of-contents"·role="doc-toc">219 <div·id="text-table-of-contents"·role="doc-toc">
220 <ul>220 <ul>
221 <li><a·href="#orgaa1e198">Interactive·functions</a>221 <li><a·href="#orgd7643ad">Interactive·functions</a>
222 <ul>222 <ul>
223 <li><a·href="#yas-visit-snippet-file"><code·class='function'>yas-visit-snippet-file</code>·()</a></li>223 <li><a·href="#yas-visit-snippet-file"><code·class='function'>yas-visit-snippet-file</code>·()</a></li>
224 <li><a·href="#yas-new-snippet"><code·class='function'>yas-new-snippet</code>·(<i>&amp;optional</i>·<code>no-template</code>)</a></li>224 <li><a·href="#yas-new-snippet"><code·class='function'>yas-new-snippet</code>·(<i>&amp;optional</i>·<code>no-template</code>)</a></li>
225 <li><a·href="#yas-expand-from-keymap"><code·class='function'>yas-expand-from-keymap</code>·()</a></li>225 <li><a·href="#yas-expand-from-keymap"><code·class='function'>yas-expand-from-keymap</code>·()</a></li>
226 <li><a·href="#yas-prev-field"><code·class='function'>yas-prev-field</code>·()</a></li>226 <li><a·href="#yas-prev-field"><code·class='function'>yas-prev-field</code>·()</a></li>
227 <li><a·href="#yas-minor-mode-on"><code·class='function'>yas-minor-mode-on</code>·()</a></li>227 <li><a·href="#yas-minor-mode-on"><code·class='function'>yas-minor-mode-on</code>·()</a></li>
228 <li><a·href="#yas-describe-table-by-namehash"><code·class='function'>yas-describe-table-by-namehash</code>·()</a></li>228 <li><a·href="#yas-describe-table-by-namehash"><code·class='function'>yas-describe-table-by-namehash</code>·()</a></li>
Offset 249, 15 lines modifiedOffset 249, 15 lines modified
249 <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>249 <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>
250 <li><a·href="#yas-deactivate-extra-mode"><code·class='function'>yas-deactivate-extra-mode</code>·(<code>mode</code>)</a></li>250 <li><a·href="#yas-deactivate-extra-mode"><code·class='function'>yas-deactivate-extra-mode</code>·(<code>mode</code>)</a></li>
251 <li><a·href="#yas-activate-extra-mode"><code·class='function'>yas-activate-extra-mode</code>·(<code>mode</code>)</a></li>251 <li><a·href="#yas-activate-extra-mode"><code·class='function'>yas-activate-extra-mode</code>·(<code>mode</code>)</a></li>
252 <li><a·href="#yas-global-mode"><code·class='function'>yas-global-mode</code>·(<i>&amp;optional</i>·<code>arg</code>)</a></li>252 <li><a·href="#yas-global-mode"><code·class='function'>yas-global-mode</code>·(<i>&amp;optional</i>·<code>arg</code>)</a></li>
253 <li><a·href="#yas-insert-snippet"><code·class='function'>yas-insert-snippet</code>·(<i>&amp;optional</i>·<code>no-condition</code>)</a></li>253 <li><a·href="#yas-insert-snippet"><code·class='function'>yas-insert-snippet</code>·(<i>&amp;optional</i>·<code>no-condition</code>)</a></li>
254 </ul>254 </ul>
255 </li>255 </li>
256 <li><a·href="#orgb1b6b83">Customization·variables</a>256 <li><a·href="#org6390a71">Customization·variables</a>
257 <ul>257 <ul>
258 <li><a·href="#yas-choose-tables-first"><code·class='variable'>yas-choose-tables-first</code></a></li>258 <li><a·href="#yas-choose-tables-first"><code·class='variable'>yas-choose-tables-first</code></a></li>
259 <li><a·href="#yas-buffer-local-condition"><code·class='variable'>yas-buffer-local-condition</code></a></li>259 <li><a·href="#yas-buffer-local-condition"><code·class='variable'>yas-buffer-local-condition</code></a></li>
260 <li><a·href="#yas-choose-keys-first"><code·class='variable'>yas-choose-keys-first</code></a></li>260 <li><a·href="#yas-choose-keys-first"><code·class='variable'>yas-choose-keys-first</code></a></li>
261 <li><a·href="#yas-expand-only-for-last-commands"><code·class='variable'>yas-expand-only-for-last-commands</code></a></li>261 <li><a·href="#yas-expand-only-for-last-commands"><code·class='variable'>yas-expand-only-for-last-commands</code></a></li>
262 <li><a·href="#yas-global-mode-hook"><code·class='variable'>yas-global-mode-hook</code></a></li>262 <li><a·href="#yas-global-mode-hook"><code·class='variable'>yas-global-mode-hook</code></a></li>
263 <li><a·href="#yas-good-grace"><code·class='variable'>yas-good-grace</code></a></li>263 <li><a·href="#yas-good-grace"><code·class='variable'>yas-good-grace</code></a></li>
Offset 276, 15 lines modifiedOffset 276, 15 lines modified
276 <li><a·href="#yas-alias-to-yas/prefix-p"><code·class='variable'>yas-alias-to-yas/prefix-p</code></a></li>276 <li><a·href="#yas-alias-to-yas/prefix-p"><code·class='variable'>yas-alias-to-yas/prefix-p</code></a></li>
277 <li><a·href="#yas-keymap-disable-hook"><code·class='variable'>yas-keymap-disable-hook</code></a></li>277 <li><a·href="#yas-keymap-disable-hook"><code·class='variable'>yas-keymap-disable-hook</code></a></li>
278 <li><a·href="#yas-overlay-priority"><code·class='variable'>yas-overlay-priority</code></a></li>278 <li><a·href="#yas-overlay-priority"><code·class='variable'>yas-overlay-priority</code></a></li>
279 <li><a·href="#yas-trigger-symbol"><code·class='variable'>yas-trigger-symbol</code></a></li>279 <li><a·href="#yas-trigger-symbol"><code·class='variable'>yas-trigger-symbol</code></a></li>
280 <li><a·href="#yas-indent-line"><code·class='variable'>yas-indent-line</code></a></li>280 <li><a·href="#yas-indent-line"><code·class='variable'>yas-indent-line</code></a></li>
281 </ul>281 </ul>
282 </li>282 </li>
283 <li><a·href="#org77dc25e">Useful·functions</a>283 <li><a·href="#orgb1b3ff9">Useful·functions</a>
284 <ul>284 <ul>
285 <li><a·href="#yas-global-mode-cmhh"><code·class='function'>yas-global-mode-cmhh</code>·()</a></li>285 <li><a·href="#yas-global-mode-cmhh"><code·class='function'>yas-global-mode-cmhh</code>·()</a></li>
286 <li><a·href="#yas-global-mode-check-buffers"><code·class='function'>yas-global-mode-check-buffers</code>·()</a></li>286 <li><a·href="#yas-global-mode-check-buffers"><code·class='function'>yas-global-mode-check-buffers</code>·()</a></li>
287 <li><a·href="#yas-current-field"><code·class='function'>yas-current-field</code>·()</a></li>287 <li><a·href="#yas-current-field"><code·class='function'>yas-current-field</code>·()</a></li>
288 <li><a·href="#yas-choose-value"><code·class='function'>yas-choose-value</code>·(<i>&amp;rest</i>·<code>possibilities</code>)</a></li>288 <li><a·href="#yas-choose-value"><code·class='function'>yas-choose-value</code>·(<i>&amp;rest</i>·<code>possibilities</code>)</a></li>
289 <li><a·href="#yas-ido-prompt"><code·class='function'>yas-ido-prompt</code>·(<code>prompt</code>·<code>choices</code>·<i>&amp;optional</i>·<code>display-fn</code>)</a></li>289 <li><a·href="#yas-ido-prompt"><code·class='function'>yas-ido-prompt</code>·(<code>prompt</code>·<code>choices</code>·<i>&amp;optional</i>·<code>display-fn</code>)</a></li>
290 <li><a·href="#yas-dropdown-prompt"><code·class='function'>yas-dropdown-prompt</code>·(<code>_prompt</code>·<code>choices</code>·<i>&amp;optional</i>·<code>display-fn</code>)</a></li>290 <li><a·href="#yas-dropdown-prompt"><code·class='function'>yas-dropdown-prompt</code>·(<code>_prompt</code>·<code>choices</code>·<i>&amp;optional</i>·<code>display-fn</code>)</a></li>
Offset 322, 15 lines modifiedOffset 322, 15 lines modified
322 <li><a·href="#yas-default-from-field"><code·class='function'>yas-default-from-field</code>·(<code>number</code>)</a></li>322 <li><a·href="#yas-default-from-field"><code·class='function'>yas-default-from-field</code>·(<code>number</code>)</a></li>
323 <li><a·href="#yas-active-snippets"><code·class='function'>yas-active-snippets</code>·(<i>&amp;optional</i>·<code>beg</code>·<code>end</code>)</a></li>323 <li><a·href="#yas-active-snippets"><code·class='function'>yas-active-snippets</code>·(<i>&amp;optional</i>·<code>beg</code>·<code>end</code>)</a></li>
324 <li><a·href="#yas-maybe-ido-prompt"><code·class='function'>yas-maybe-ido-prompt</code>·(<code>prompt</code>·<code>choices</code>·<i>&amp;optional</i>·<code>display-fn</code>)</a></li>324 <li><a·href="#yas-maybe-ido-prompt"><code·class='function'>yas-maybe-ido-prompt</code>·(<code>prompt</code>·<code>choices</code>·<i>&amp;optional</i>·<code>display-fn</code>)</a></li>
325 <li><a·href="#yas-auto-next"><code·class='function'>yas-auto-next</code>·(<i>&amp;rest</i>·<code>body</code>)</a></li>325 <li><a·href="#yas-auto-next"><code·class='function'>yas-auto-next</code>·(<i>&amp;rest</i>·<code>body</code>)</a></li>
326 <li><a·href="#yas-throw"><code·class='function'>yas-throw</code>·(<code>text</code>)</a></li>326 <li><a·href="#yas-throw"><code·class='function'>yas-throw</code>·(<code>text</code>)</a></li>
327 </ul>327 </ul>
328 </li>328 </li>
329 <li><a·href="#org6d96af9">Useful·variables</a>329 <li><a·href="#org6639b0e">Useful·variables</a>
330 <ul>330 <ul>
331 <li><a·href="#yas-snippet-beg"><code·class='variable'>yas-snippet-beg</code></a></li>331 <li><a·href="#yas-snippet-beg"><code·class='variable'>yas-snippet-beg</code></a></li>
332 <li><a·href="#yas-maybe-skip-and-clear-field"><code·class='variable'>yas-maybe-skip-and-clear-field</code></a></li>332 <li><a·href="#yas-maybe-skip-and-clear-field"><code·class='variable'>yas-maybe-skip-and-clear-field</code></a></li>
333 <li><a·href="#yas-not-string-or-comment-condition"><code·class='variable'>yas-not-string-or-comment-condition</code></a></li>333 <li><a·href="#yas-not-string-or-comment-condition"><code·class='variable'>yas-not-string-or-comment-condition</code></a></li>
334 <li><a·href="#yas-after-reload-hook"><code·class='variable'>yas-after-reload-hook</code></a></li>334 <li><a·href="#yas-after-reload-hook"><code·class='variable'>yas-after-reload-hook</code></a></li>
335 <li><a·href="#yas-keymap"><code·class='variable'>yas-keymap</code></a></li>335 <li><a·href="#yas-keymap"><code·class='variable'>yas-keymap</code></a></li>
336 <li><a·href="#yas-snippet-end"><code·class='variable'>yas-snippet-end</code></a></li>336 <li><a·href="#yas-snippet-end"><code·class='variable'>yas-snippet-end</code></a></li>
Offset 350, 17 lines modifiedOffset 350, 17 lines modified
350 <li><a·href="#yas-modified-p"><code·class='variable'>yas-modified-p</code></a></li>350 <li><a·href="#yas-modified-p"><code·class='variable'>yas-modified-p</code></a></li>
351 </ul>351 </ul>
352 </li>352 </li>
353 </ul>353 </ul>
354 </div>354 </div>
355 </div>355 </div>
  
356 <div·id="outline-container-orgaa1e198"·class="outline-2">356 <div·id="outline-container-orgd7643ad"·class="outline-2">
357 <h2·id="orgaa1e198">Interactive·functions</h2>357 <h2·id="orgd7643ad">Interactive·functions</h2>
358 <div·class="outline-text-2"·id="text-orgaa1e198">358 <div·class="outline-text-2"·id="text-orgd7643ad">
359 </div>359 </div>
360 <div·id="outline-container-yas-visit-snippet-file"·class="outline-3">360 <div·id="outline-container-yas-visit-snippet-file"·class="outline-3">
361 <h3·id="yas-visit-snippet-file"><code·class='function'>yas-visit-snippet-file</code>·()</h3>361 <h3·id="yas-visit-snippet-file"><code·class='function'>yas-visit-snippet-file</code>·()</h3>
362 <div·class="outline-text-3"·id="text-yas-visit-snippet-file">362 <div·class="outline-text-3"·id="text-yas-visit-snippet-file">
363 <p>363 <p>
364 Choose·a·snippet·to·edit,·selection·like·<a·href="#yas-insert-snippet"><code>yas-insert-snippet</code></a>.364 Choose·a·snippet·to·edit,·selection·like·<a·href="#yas-insert-snippet"><code>yas-insert-snippet</code></a>.
365 </p>365 </p>
Offset 637, 15 lines modifiedOffset 637, 15 lines modified
637 positive·prefix·argument·turns·on·the·mode.637 positive·prefix·argument·turns·on·the·mode.
638 Negative·prefix·argument·turns·off·the·mode.638 Negative·prefix·argument·turns·off·the·mode.
639 </p>639 </p>
  
640 <p>640 <p>
641 Key·bindings:641 Key·bindings:
642 </p>642 </p>
643 <pre·class="example"·id="org7f626c1">643 <pre·class="example"·id="org5351a13">
  
644 Key·············Binding644 Key·············Binding
645 -------------------------------------------------------------------------------645 -------------------------------------------------------------------------------
646 C-c·&amp;·C-n»    yas-new-snippet646 C-c·&amp;·C-n»    yas-new-snippet
647 C-c·&amp;·C-s»    yas-insert-snippet647 C-c·&amp;·C-s»    yas-insert-snippet
648 C-c·&amp;·C-v»    yas-visit-snippet-file648 C-c·&amp;·C-v»    yas-visit-snippet-file
649 </pre>649 </pre>
Offset 791, 17 lines modifiedOffset 791, 17 lines modified
791 <p>791 <p>
792 With·prefix·argument·<code>no-condition</code>,·bypass·filtering·of·snippets792 With·prefix·argument·<code>no-condition</code>,·bypass·filtering·of·snippets
793 by·condition.793 by·condition.
794 </p>794 </p>
795 </div>795 </div>
796 </div>796 </div>
797 </div>797 </div>
798 <div·id="outline-container-orgb1b6b83"·class="outline-2">798 <div·id="outline-container-org6390a71"·class="outline-2">
799 <h2·id="orgb1b6b83">Customization·variables</h2>799 <h2·id="org6390a71">Customization·variables</h2>
800 <div·class="outline-text-2"·id="text-orgb1b6b83">800 <div·class="outline-text-2"·id="text-org6390a71">
801 </div>801 </div>
802 <div·id="outline-container-yas-choose-tables-first"·class="outline-3">802 <div·id="outline-container-yas-choose-tables-first"·class="outline-3">
803 <h3·id="yas-choose-tables-first"><code·class='variable'>yas-choose-tables-first</code></h3>803 <h3·id="yas-choose-tables-first"><code·class='variable'>yas-choose-tables-first</code></h3>
804 <div·class="outline-text-3"·id="text-yas-choose-tables-first">804 <div·class="outline-text-3"·id="text-yas-choose-tables-first">
805 <p>805 <p>
806 If·non-nil,·and·multiple·eligible·snippet·tables,·prompts·user·for·tables·first.806 If·non-nil,·and·multiple·eligible·snippet·tables,·prompts·user·for·tables·first.
807 </p>807 </p>
Offset 1219, 17 lines modifiedOffset 1219, 17 lines modified
1219 Every·other·value·means·don't·apply·any·snippet-side·indentation1219 Every·other·value·means·don't·apply·any·snippet-side·indentation
1220 after·expansion·(the·manual·per-line·"$&gt;"·indentation·still1220 after·expansion·(the·manual·per-line·"$&gt;"·indentation·still
1221 applies).1221 applies).
1222 </p>1222 </p>
1223 </div>1223 </div>
1224 </div>1224 </div>
1225 </div>1225 </div>
1226 <div·id="outline-container-org77dc25e"·class="outline-2">1226 <div·id="outline-container-orgb1b3ff9"·class="outline-2">
1227 <h2·id="org77dc25e">Useful·functions</h2>1227 <h2·id="orgb1b3ff9">Useful·functions</h2>
1228 <div·class="outline-text-2"·id="text-org77dc25e">1228 <div·class="outline-text-2"·id="text-orgb1b3ff9">
1229 </div>1229 </div>
Max diff block lines reached; 993/8907 bytes (11.15%) of diff not shown.