[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 4bd3d98 16/60: Merge pull request #599 from zmwangx/snippe
From: |
João Távora |
Subject: |
[elpa] master 4bd3d98 16/60: Merge pull request #599 from zmwangx/snippet-compilation-doc |
Date: |
Thu, 21 Jan 2016 22:35:53 +0000 |
branch: master
commit 4bd3d98b68a96ccfc02317ac922b25dad7bcc7aa
Merge: c91a588 0ada0fc
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>
Merge pull request #599 from zmwangx/snippet-compilation-doc
Add documentation for snippet compilation
---
doc/snippet-organization.org | 21 ++++++++++++++++++---
1 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/doc/snippet-organization.org b/doc/snippet-organization.org
index abe62ad..68ee059 100644
--- a/doc/snippet-organization.org
+++ b/doc/snippet-organization.org
@@ -112,9 +112,24 @@
** TODO
-* TODO The =.yas-compiled-snippet.el= file
-
-** TODO
+* The =.yas-compiled-snippet.el= file
+
+ You may compile a top-level snippet directory with the
+ =yas-compile-directory= function, which will create a
+ =.yas-compiled-snippets.el= file under each mode subdirectory,
+ which contains definitions for all snippets in the subdirectory.
+ Compilation helps improve loading time.
+
+ Alternatively, you may compile all directories in the list
+ =yas-snippet-dirs= with the =yas-recompile-all= function.
+
+ *Caveat.* At the moment, when you try to use the
+ =yas-visit-snippet-file= function to edit a compiled snippet loaded
+ from a =.yas-compiled-snippets.el= file, the content of the snippet
+ will be opened in a buffer, but it might not be a verbatim copy of
+ your original snippet, and =yas-load-snippet-buffer-and-close=
+ won't offer to save to the original snippet file. See
+ [[https://github.com/capitaomorte/yasnippet/issues/597][#597]].
* TODO The =.yas-skip= file
- [elpa] master 890bd7e 04/60: Merge pull request #569 from npostavs/doc-obsolete, (continued)
- [elpa] master 890bd7e 04/60: Merge pull request #569 from npostavs/doc-obsolete, João Távora, 2016/01/21
- [elpa] master 5aebe46 08/60: Closes #549: Adjust `load' verbosity to `yas-verbosity', João Távora, 2016/01/21
- [elpa] master 4692c81 09/60: Fix "invalid function: quote", João Távora, 2016/01/21
- [elpa] master 5ebf347 11/60: Minor doc fixes, João Távora, 2016/01/21
- [elpa] master 197db9f 10/60: Merge pull request #578 from aluaces/patch-1, João Távora, 2016/01/21
- [elpa] master 7f4f6be 07/60: Merge pull request #571 from PhilHudson/master, João Távora, 2016/01/21
- [elpa] master c91a588 14/60: Simplify some code, João Távora, 2016/01/21
- [elpa] master 7bce1a6 12/60: Add new function yas-lookup-snippet, João Távora, 2016/01/21
- [elpa] master e8934ce 13/60: Merge pull request #596 from npostavs/lookup-snippet, João Távora, 2016/01/21
- [elpa] master 0ada0fc 15/60: Add documentation for snippet compilation, João Távora, 2016/01/21
- [elpa] master 4bd3d98 16/60: Merge pull request #599 from zmwangx/snippet-compilation-doc,
João Távora <=
- [elpa] master 2f6cfef 17/60: Closes #601: updated snippets submodule, João Távora, 2016/01/21
- [elpa] master 68b0ab6 20/60: Accept documented snippet list formats, João Távora, 2016/01/21
- [elpa] master cc1c758 18/60: Reorganize snippet construction from list code, João Távora, 2016/01/21
- [elpa] master 01139a2 23/60: * yasnippet.el (yas--define-snippets-2): Use file-name-NONdirectory., João Távora, 2016/01/21
- [elpa] master 8df6a6e 25/60: Fix invalid yas-key-syntaxes element warning, João Távora, 2016/01/21
- [elpa] master 7703a55 24/60: * doc/snippet-organization.org (.yas-skip): Add info., João Távora, 2016/01/21
- [elpa] master 041821a 22/60: * yasnippet-tests.el (string-suffix-p): Define for older Emacsen., João Távora, 2016/01/21
- [elpa] master fb6ec67 29/60: Fix #619; find parents for extra-modes too, João Távora, 2016/01/21
- [elpa] master 710ea4d 26/60: Update snippets module, João Távora, 2016/01/21
- [elpa] master 215ad9b 19/60: Fix #597; use SAVE-FILE to visit compiled snippets, João Távora, 2016/01/21