Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | · | 1 | ·051cbc053df65562d900da04533b8cb5·530820·lisp·optional·elpa-yasnippet_0.14.0+git20230912.76e1eee6-1_all.deb |
2 | ·d7bcbcc4b7e1fced6b59ee8dc54524ab·3236·lisp·optional·yasnippet_0.14.0+git20230912.76e1eee6-1_all.deb | 2 | ·d7bcbcc4b7e1fced6b59ee8dc54524ab·3236·lisp·optional·yasnippet_0.14.0+git20230912.76e1eee6-1_all.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2023-10-08·15:34:57.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2023-10-08·15:34:57.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····1956·2023-10-08·15:34:57.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0·····1956·2023-10-08·15:34:57.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···52872 | 3 | -rw-r--r--···0········0········0···528672·2023-10-08·15:34:57.000000·data.tar.xz |
Offset 214, 55 lines modified | Offset 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="#org | 221 | <li><a·href="#orgb78f011">Why·are·my·snippet·abbrev·keys·triggering·when·I·don't·want·them·too?</a></li> |
222 | <li><a·href="#org | 222 | <li><a·href="#org9fd9b69">Why·aren't·my·snippet·abbrev·keys·triggering·when·I·want·them·too?</a></li> |
223 | <li><a·href="#org | 223 | <li><a·href="#org46ad846">Why·is·there·an·extra·newline?</a></li> |
224 | <li><a·href="#org | 224 | <li><a·href="#org3a0e81f">Why·doesn't·TAB·navigation·work·with·flyspell</a></li> |
225 | <li><a·href="#org | 225 | <li><a·href="#org1ddc50c">How·do·I·use·alternative·keys,·i.e.·not·TAB?</a></li> |
226 | <li><a·href="#org | 226 | <li><a·href="#orgfda0169">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>·in | 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>·in |
233 | the·Github·issue·tracker.··It·might·be·more·up-to-date·than·this | 233 | 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-org | 236 | <div·id="outline-container-orgb78f011"·class="outline-2"> |
237 | <h2·id="org | 237 | <h2·id="orgb78f011">Why·are·my·snippet·abbrev·keys·triggering·when·I·don't·want·them·too?</h2> |
238 | <div·class="outline-text-2"·id="text-org | 238 | <div·class="outline-text-2"·id="text-orgb78f011"> |
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>.··Try | 240 | 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·you | 242 | 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>,·remove | 243 | 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-org | 248 | <div·id="outline-container-org9fd9b69"·class="outline-2"> |
249 | <h2·id="org | 249 | <h2·id="org9fd9b69">Why·aren't·my·snippet·abbrev·keys·triggering·when·I·want·them·too?</h2> |
250 | <div·class="outline-text-2"·id="text-org | 250 | <div·class="outline-text-2"·id="text-org9fd9b69"> |
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-org | 256 | <div·id="outline-container-org46ad846"·class="outline-2"> |
257 | <h2·id="org | 257 | <h2·id="org46ad846">Why·is·there·an·extra·newline?</h2> |
258 | <div·class="outline-text-2"·id="text-org | 258 | <div·class="outline-text-2"·id="text-org46ad846"> |
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·editing | 261 | YASnippet·will·add·a·newline·when·expanding·that·snippet.·When·editing |
262 | or·saving·a·snippet·file,·please·be·careful·not·to·accidentally·add·a | 262 | or·saving·a·snippet·file,·please·be·careful·not·to·accidentally·add·a |
263 | terminal·newline. | 263 | terminal·newline. |
264 | </p> | 264 | </p> |
Offset 214, 98 lines modified | Offset 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="#org | 221 | <li><a·href="#orgab2464d">Snippet·development</a> |
222 | <ul> | 222 | <ul> |
223 | <li><a·href="#org | 223 | <li><a·href="#org90b9097">Quickly·finding·snippets</a></li> |
224 | <li><a·href="#org | 224 | <li><a·href="#orgbf4739b">Using·the·<code>snippet-mode</code>·major·mode·</a></li> |
225 | </ul> | 225 | </ul> |
226 | </li> | 226 | </li> |
227 | <li><a·href="#org | 227 | <li><a·href="#org987ef59">File·content</a> |
228 | <ul> | 228 | <ul> |
229 | <li><a·href="#org43 | 229 | <li><a·href="#org2434cdc"><code>#·key:</code>·snippet·abbrev</a></li> |
230 | <li><a·href="#org | 230 | <li><a·href="#orge41900b"><code>#·name:</code>·snippet·name</a></li> |
231 | <li><a·href="#org | 231 | <li><a·href="#orgf73d221"><code>#·condition:</code>·snippet·condition</a></li> |
232 | <li><a·href="#org | 232 | <li><a·href="#orge600ce8"><code>#·group:</code>·snippet·menu·grouping</a></li> |
233 | <li><a·href="#org | 233 | <li><a·href="#org5edaa0b"><code>#·expand-env:</code>·expand·environment</a></li> |
234 | <li><a·href="#org6 | 234 | <li><a·href="#org65d5b88"><code>#·binding:</code>·direct·keybinding</a></li> |
235 | <li><a·href="#org | 235 | <li><a·href="#orgdcb6f0e"><code>#·type:</code>·<code>snippet</code>·or·<code>command</code></a></li> |
236 | <li><a·href="#org | 236 | <li><a·href="#org6409f9c"><code>#·uuid:</code>·unique·identifier</a></li> |
237 | <li><a·href="#org | 237 | <li><a·href="#org869b5f1"><code>#·contributor:</code>·snippet·author</a></li> |
238 | </ul> | 238 | </ul> |
239 | </li> | 239 | </li> |
240 | <li><a·href="#org | 240 | <li><a·href="#org6aeddc3">Template·Syntax</a> |
241 | <ul> | 241 | <ul> |
242 | <li><a·href="#org | 242 | <li><a·href="#orgd92637d">Plain·Text</a></li> |
243 | <li><a·href="#org | 243 | <li><a·href="#org1b1dafe">Embedded·Emacs·Lisp·code</a> |
244 | <ul> | 244 | <ul> |
245 | <li><a·href="#org | 245 | <li><a·href="#org89ffb1a">Note:·backquote·expressions·should·not·modify·the·buffer</a></li> |
246 | </ul> | 246 | </ul> |
247 | </li> | 247 | </li> |
248 | <li><a·href="#org | 248 | <li><a·href="#orga95c7b9">Tab·stop·fields</a></li> |
249 | <li><a·href="#org | 249 | <li><a·href="#org341ec62">Placeholder·fields</a></li> |
250 | <li><a·href="#org | 250 | <li><a·href="#org88a9b29">Mirrors·</a></li> |
251 | <li><a·href="#org | 251 | <li><a·href="#org4d3f00d">Mirrors·with·transformations·</a></li> |
252 | <li><a·href="#org | 252 | <li><a·href="#org618f19c">Fields·with·transformations</a></li> |
253 | <li><a·href="#org | 253 | <li><a·href="#orgdbe4123">Choosing·fields·value·from·a·list·and·other·tricks</a></li> |
254 | <li><a·href="#org | 254 | <li><a·href="#orgddf3a23">Nested·placeholder·fields</a></li> |
255 | <li><a·href="#org7 | 255 | <li><a·href="#org73f777a">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-org | 261 | <div·id="outline-container-orgab2464d"·class="outline-2"> |
262 | <h2·id="org | 262 | <h2·id="orgab2464d">Snippet·development</h2> |
263 | <div·class="outline-text-2"·id="text-org | 263 | <div·class="outline-text-2"·id="text-orgab2464d"> |
264 | </div> | 264 | </div> |
265 | <div·id="outline-container-org | 265 | <div·id="outline-container-org90b9097"·class="outline-3"> |
266 | <h3·id="org | 266 | <h3·id="org90b9097">Quickly·finding·snippets</h3> |
267 | <div·class="outline-text-3"·id="text-org | 267 | <div·class="outline-text-3"·id="text-org90b9097"> |
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·&·C-n</code> | 273 | <code>M-x·yas-new-snippet</code>,·key·binding:·<code>C-c·&·C-n</code> |
274 | </p> | 274 | </p> |
275 | <p> | 275 | <p> |
276 | Creates·a·new·buffer·with·a·template·for·making·a·new·snippet.··The | 276 | Creates·a·new·buffer·with·a·template·for·making·a·new·snippet.··The |
277 | buffer·is·in·<code>snippet-mode</code>·(see·<a·href="#org | 277 | buffer·is·in·<code>snippet-mode</code>·(see·<a·href="#orgda55c0a">below</a>).··When·you·are·done·editing |
278 | the·new·snippet,·use·<a·href="#org4 | 278 | the·new·snippet,·use·<a·href="#org457e1e7"><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·&·C-v</code> | 281 | <code>M-x·yas-visit-snippet-file</code>,·key·binding:·<code>C-c·&·C-v</code> |
282 | </p> | 282 | </p> |
283 | <p> | 283 | <p> |
284 | Prompts·you·for·possible·snippet·expansions·like | 284 | 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·directly | 285 | <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="#org | 290 | Once·you·find·this·file·it·will·be·set·to·<code>snippet-mode</code>·(see·<a·href="#orgda55c0a">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-org | 295 | <div·id="outline-container-orgbf4739b"·class="outline-3"> |
296 | <h3·id="org | 296 | <h3·id="orgbf4739b">Using·the·<code>snippet-mode</code>·major·mode·<a·id="orgda55c0a"></a></h3> |
297 | <div·class="outline-text-3"·id="text-org | 297 | <div·class="outline-text-3"·id="text-orgbf4739b"> |
298 | <p> | 298 | <p> |
299 | There·is·a·major·mode·<code>snippet-mode</code>·to·edit·snippets.·You·can·set·the | 299 | 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·reasonably | 300 | 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 214, 42 lines modified | Offset 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="#org | 221 | <li><a·href="#orgb1e0bd2">Triggering·expansion</a> |
222 | <ul> | 222 | <ul> |
223 | <li><a·href="#org | 223 | <li><a·href="#org009b58d">Trigger·key</a> |
224 | <ul> | 224 | <ul> |
225 | <li><a·href="#org | 225 | <li><a·href="#orgeb39731">Fallback·behaviour</a></li> |
226 | </ul> | 226 | </ul> |
227 | </li> | 227 | </li> |
228 | <li><a·href="#org | 228 | <li><a·href="#org2eb4839">Insert·at·point</a> |
229 | <ul> | 229 | <ul> |
230 | <li><a·href="#org | 230 | <li><a·href="#org89f1217">Inserting·region·or·register·contents·into·snippet</a></li> |
231 | </ul> | 231 | </ul> |
232 | </li> | 232 | </li> |
233 | <li><a·href="#org | 233 | <li><a·href="#orgbcdd2d8">Snippet·keybinding</a></li> |
234 | <li><a·href="#org | 234 | <li><a·href="#orga3fe406">Expanding·from·the·menu</a></li> |
235 | <li><a·href="#org | 235 | <li><a·href="#orgf14be27">Expanding·with·<code>hippie-expand</code></a></li> |
236 | <li><a·href="#org | 236 | <li><a·href="#orgf6b31eb">Expanding·from·emacs-lisp·code</a></li> |
237 | </ul> | 237 | </ul> |
238 | </li> | 238 | </li> |
239 | <li><a·href="#org | 239 | <li><a·href="#orgd1bb1fd">Controlling·expansion</a> |
240 | <ul> | 240 | <ul> |
241 | <li><a·href="#org6 | 241 | <li><a·href="#org6efcc9f">Eligible·snippets</a></li> |
242 | <li><a·href="#org | 242 | <li><a·href="#org9f20896">The·condition·system·</a></li> |
243 | <li><a·href="#org | 243 | <li><a·href="#org561c978">Multiples·snippet·with·the·same·key</a> |
244 | <ul> | 244 | <ul> |
245 | <li><a·href="#orgd | 245 | <li><a·href="#orgdcd6ff7">Use·the·X·window·system</a></li> |
246 | <li><a·href="#org | 246 | <li><a·href="#org4a4739c">Minibuffer·prompting</a></li> |
247 | <li><a·href="#org | 247 | <li><a·href="#orgcad29f5">Use·<code>dropdown-menu.el</code></a></li> |
248 | <li><a·href="#org | 248 | <li><a·href="#org4481e6d">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 214, 19 lines modified | Offset 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="#org | 221 | <li><a·href="#org3f28542">Loading·snippets·from·menu</a></li> |
222 | <li><a·href="#org | 222 | <li><a·href="#org8b13b3f">Snippet·menu·behavior</a></li> |
223 | <li><a·href="#org | 223 | <li><a·href="#orge262038">Controlling·indenting</a></li> |
224 | <li><a·href="#org | 224 | <li><a·href="#orgab36aa5">Prompting·method</a></li> |
225 | <li><a·href="#org | 225 | <li><a·href="#org21b7099">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·after | 230 | 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 214, 35 lines modified | Offset 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="#org | 221 | <li><a·href="#org9016ebc">Basic·structure</a></li> |
222 | <li><a·href="#org7 | 222 | <li><a·href="#orgb77e752">Setting·up·<code>yas-snippet-dirs</code></a></li> |
223 | <li><a·href="#org | 223 | <li><a·href="#orgc4ec8da">The·<code>.yas-parents</code>·file</a></li> |
224 | <li><a·href="#org | 224 | <li><a·href="#org4c56e03"><span·class="todo·TODO">TODO</span>·The·<code>.yas-make-groups</code>·file</a></li> |
225 | <li><a·href="#org | 225 | <li><a·href="#org1dde17c">The·<code>.yas-setup.el</code>·file</a></li> |
226 | <li><a·href="#org | 226 | <li><a·href="#orgaa318ca">The·<code>.yas-compiled-snippet.el</code>·file</a></li> |
227 | <li><a·href="#org | 227 | <li><a·href="#org41fc879">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-org | 231 | <div·id="outline-container-org9016ebc"·class="outline-2"> |
232 | <h2·id="org | 232 | <h2·id="org9016ebc">Basic·structure</h2> |
233 | <div·class="outline-text-2"·id="text-org | 233 | <div·class="outline-text-2"·id="text-org9016ebc"> |
234 | <p> | 234 | <p> |
235 | Snippet·collections·can·be·stored·in·plain·text·files.·They·are | 235 | Snippet·collections·can·be·stored·in·plain·text·files.·They·are |
236 | arranged·by·sub-directories·naming·<b>snippet·tables</b>.··These·mostly | 236 | 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="org | 239 | <pre·class="example"·id="org8002dde"> |
240 | . | 240 | . |
241 | |--·c-mode | 241 | |--·c-mode |
242 | |···`--·printf | 242 | |···`--·printf |
243 | |--·java-mode | 243 | |--·java-mode |
244 | |···`--·println | 244 | |···`--·println |
245 | `--·text-mode | 245 | `--·text-mode |
246 | 246 |
Offset 214, 15 lines modified | Offset 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="#org | 221 | <li><a·href="#org3f58c51">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-deactivate-extra-mode"><code·class='function'>yas-deactivate-extra-mode</code>·(<code>mode</code>)</a></li> | 224 | <li><a·href="#yas-deactivate-extra-mode"><code·class='function'>yas-deactivate-extra-mode</code>·(<code>mode</code>)</a></li> |
225 | <li><a·href="#yas-tryout-snippet"><code·class='function'>yas-tryout-snippet</code>·(<i>&optional</i>·<code>debug</code>)</a></li> | 225 | <li><a·href="#yas-tryout-snippet"><code·class='function'>yas-tryout-snippet</code>·(<i>&optional</i>·<code>debug</code>)</a></li> |
226 | <li><a·href="#yas-compile-directory"><code·class='function'>yas-compile-directory</code>·(<code>top-level-dir</code>)</a></li> | 226 | <li><a·href="#yas-compile-directory"><code·class='function'>yas-compile-directory</code>·(<code>top-level-dir</code>)</a></li> |
227 | <li><a·href="#yas-about"><code·class='function'>yas-about</code>·()</a></li> | 227 | <li><a·href="#yas-about"><code·class='function'>yas-about</code>·()</a></li> |
228 | <li><a·href="#yas-skip-and-clear-field"><code·class='function'>yas-skip-and-clear-field</code>·(<i>&optional</i>·<code>field</code>)</a></li> | 228 | <li><a·href="#yas-skip-and-clear-field"><code·class='function'>yas-skip-and-clear-field</code>·(<i>&optional</i>·<code>field</code>)</a></li> |