5 .. _Organizing Snippets: snippet-organization.html
6 .. _Expanding Snippets: snippet-expansion.html
7 .. _Writing Snippets: snippet-development.html
8 .. _The YASnippet Menu: snippet-menu.html
13 * Filenames can no longer be snippet triggers. Please upgrade your snippet
20 * Fixed `issues <http://code.google.com/p/yasnippet/issues>`_ 99, 98, 93,
21 90, 91, 88, 87. Thanks everybody.
22 * More compliant customization group `Issue94
23 <http://code.google.com/p/yasnippet/issues/detail?id=94>`_, (thanks
25 * Added workaround for issue 97 in the FAQ
26 * Small updates to documentation.
31 * Much more powerful menu. See `The YASnippet menu`_.
32 * New ways to organize snippets. See `Organizing snippets`_.
33 * Added ``yas/also-auto-indent-first-line`` customization variable.
34 * Renamed directive ``# env:`` to ``# expand-env:``
35 * Rewrote much of the documentation.
36 * Added TextMate import tool ``textmate-import.rb`` to to svn
37 repository (see "extras/")
38 * Added *experimental* bundle of textmate snippets
39 ``yasnippet-textmate-bundle.el``
41 <http://code.google.com/p/yasnippet/issues/detail?id=74>`_ (thanks
42 rmartin.k...@gmail.com)
43 * Fixed `Issues 80 through 84
44 <http://code.google.com/p/yasnippet/issues/detail?id=80>`_ (thanks
46 * Fixed many more issues...
52 * Now byte compiles correctly with no warnings.
54 <http://code.google.com/p/yasnippet/issues/detail?id=68>`_ with
55 mouse-clicking alternatives in ``ido-mode``.
56 * Added ``yas/also-auto-indent-first-line`` customization variable.
62 * Nested placeholders of the type ``<div${1: id="${2:someid}"}> $0``.
64 * More robust undo/redo support.
66 * Stacked snippet expansion (*snippet in snippet*).
68 * Transformation on a primary field with syntax ``${1:default$(transform)}``
70 * Validations on field exit through the ``yas/verify-value``
71 primary field transformation.
73 * Wrapping the region in the exit marker ``$0`` of the snippet. Use
74 ``yas/wrap-around-region``.
76 * Auto-indentation. Use ``yas/indent-line`` set to ``'auto``
78 * Easier definition of snippets. Use ``yas/find-snippets`` or
79 ``yas/visit-snippet-file``. In the new ``snippet-mode`` use
80 ``yas/load-snippet-buffer`` and ``yas/tryout-snippet``.
82 * Customization group ``yasnippet``.
84 * Overriding customization variables in snippets. Use the ``env:
85 let-form`` template keyword.
88 <http://code.google.com/p/yasnippet/issues/detail?id=60>`_
90 <http://code.google.com/p/yasnippet/issues/detail?id=65>`_
92 <http://code.google.com/p/yasnippet/issues/detail?id=56>`_
97 * Added *grouping* support so that the snippets in the menu can be
99 * Make the bundle `ELPA <http://tromey.com/elpa/index.html>`_
105 * Fixed the bug of disabling the auto-indenting of ``cc-mode``.
110 * Added a ``key`` property in snippet definition for snippet names
111 that are not valid path name.
112 * Fixed some bugs of indenting (`Issue 44
113 <http://code.google.com/p/yasnippet/issues/detail?id=44>`_, `Issue
114 46 <http://code.google.com/p/yasnippet/issues/detail?id=46>`_).
116 <http://code.google.com/p/yasnippet/issues/detail?id=45>`_ by
117 providing a proper default value for ``yas/buffer-local-condition``.
118 * Added helper function ``yas/substr`` for convenient mirror
120 * Make variable ``yas/registered-snippet`` properly initialized.
121 * Fixed the overlay error when overlay becomes empty (`Issue 49
122 <http://code.google.com/p/yasnippet/issues/detail?id=49>`_ and
124 <http://code.google.com/p/yasnippet/issues/detail?id=48>`_). This
125 bug has occurred and been fixed earlier, and should not have
126 happened if we have proper regression test.
127 * Added a workaround for ``c-electric-`` serial commands (`Issue 27
128 <http://code.google.com/p/yasnippet/issues/detail?id=27>`_).
134 <http://code.google.com/p/yasnippet/issues/detail?id=28>`_ of
135 properly clean up snippet (by joaotavora).
136 * Added a new section "Field-level undo functionality" to correct
137 `Issue 33 <http://code.google.com/p/yasnippet/issues/detail?id=33>`_
139 * Added some snippets from users for sql, erlang, scala, html, xml, latex, etc.
141 <http://code.google.com/p/yasnippet/issues/detail?id=16>`_ by adding
142 ``$>`` support. Here's the `doc for $> indenting
143 <http://pluskid.lifegoo.com/upload/project/yasnippet/doc/define_snippet.html#indenting>`_.
148 * Added a buffer local variable ``yas/dont-activate`` to turn off
149 ``yas/minor-mode`` in some major modes. See `Issue 29
150 <http://code.google.com/p/yasnippet/issues/detail?id=29>`_.
151 * Make the environment of elisp evaluation more friendly to
152 ``(current-column)``.
153 * Fixed the regular expression bug in python-mode snippets.
154 * Use filename or full key extension for snippet name if no ``name``
160 * Tweak ``yas/extra-mode-hooks`` so that it can be more easily
162 * Add an entry in FAQ about why ``TAB`` key doesn't work in some
168 * Added ``ox-mode-hook`` and ``python-mode-hook`` to
169 ``yas/extra-mode-hooks`` to fix the problem YASnippet is not enabled
175 * Fix indent of python-mode snippets.
176 * Fix a bug of dropdown-list: conflicts with color-theme (`Issue 23
177 <http://code.google.com/p/yasnippet/issues/detail?id=23>`_). Thanks
179 * Fix a bug of condition system.
184 * Fix a bug for comparing string to symbol using ``string=`` (which
190 * Use a beautiful css style in the document.
195 * Integrate with hippie-expand. Just add ``yas/hippie-try-expand`` to
196 ``hippie-expand-try-functions-list``.
197 * If you set ``yas/fall-back-behavior`` to ``'return-nil``, YASnippet
198 will return nil when it can't find a snippet to expand.
199 * Defect fix: the condition of a snippet was evaluated twice in
201 * Deleting snippet (using ``C-w`` or ``C-k``) won't cause serious
203 * Several complex snippet for python-mode from Yasser included in the
209 * Merge the latest dropdown-list.el.
210 * Add snippets for f90-mode from Li Zhu.
211 * Bug fix: l-safe-expr-p: Lisp nesting exceeds ``max-lisp-eval-depth``
212 error when several (more than two) snippets overlaps. Thanks
213 sunwaybupt@newsmth for reporting this bug.
218 * Bug fix: dropdown-list.el doesn't recognize [return] properly.
223 * Bug fix: failed to recognize user customized yas/trigger-key.
228 * Make a separate document package for release. Also make document
234 * Make sure ``yas/minor-mode``'s key bindings always take priority to
240 * Document refinement and released with YASnippet. Most of the Online
241 wiki document will be deprecated soon.
242 * Powerful condition system added to yasnippet!
243 * Incorporate ``dropdown-list.el`` and make it default way for
244 selecting multiple candidates. Thanks to `Jaeyoun Chung
245 <http://groups.google.com/group/smart-snippet/browse_thread/thread/c869158b76addeb3/e7c6372ba457189e>`_.
246 * yas/before-expand-snippet-hook
251 * Enhancement: A better way to define minor-mode. Thanks to Kentaro
252 Kuribayashi. See `this thread
253 <https://groups.google.com/group/smart-snippet/browse_thread/thread/65cb3b5583eda887?hl=en>`_
259 * Bug fix: Emacs get confused when a field is deleted. See `issue 10
260 <http://code.google.com/p/yasnippet/issues/detail?id=10>`_.
265 * Add a ``yas/after-exit-snippet-hook`` so that you can do something like
266 ``indent-region`` or ``fill-region`` after finish the snippet.
267 * Use minor-mode instead of ``global-set-key`` to bind the trigger
268 key. Now the trigger key and fall-back behavior can be more
269 flexible. Not constrained to ``<tab>``. Thanks to Trey Jackson. See
271 <https://groups.google.com/group/smart-snippet/browse_thread/thread/937f32a2a6dea4f2?hl=en>`_
273 * Now user can customize the popup function for selecting multiple
274 candidate for the same snippet key.
275 * Support ``dropdown-list.el`` to be a better way to select multiple
276 candidate when in text mode.
281 * Bug in non-window (-nw) mode when there's multiple candidate to
283 <http://code.google.com/p/yasnippet/issues/detail?id=7>`_.
284 * Allow expanding another snippet as long as not currently inside a
290 * Added customized face for fields and mirrors. Better in dark
291 background. And users can customize it.
296 * Fix the insert-behind problem under both Emacs 22 and Emacs 23.
301 * Use big keymap overlay to detect ``insert-behind`` event manually to
302 avoid sometimes missed hook calls. See `issue 3
303 <http://code.google.com/p/yasnippet/issues/detail?id=3>`_ for more
305 * Support parent snippet table. Now you can set (for example)
306 ``cc-mode`` as common mode for ``c++-mode``, ``c-mode`` and
307 ``java-mode``. They'll share snippets defined for ``cc-mode``.
312 * Add a rake task to upload to google code.
313 * Use elisp compile-bundle function instead of python scrip
318 * Embedded elisp support.
319 * Fields navigation support.
320 * Mirror of fields support.
322 * Multiple snippets with same name support.
323 * Popup menu for multiple snippet with same name support.
324 * Transformation of fields support.
325 * Load directory support.
326 * Compile bundle support.