]> code.delx.au - gnu-emacs-elpa/blob - doc/changelog.org
scaffolding for a doc revamp
[gnu-emacs-elpa] / doc / changelog.org
1 =========
2 ChangeLog
3 =========
4
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
9
10 0.7.0b / ????-??-??
11 ===================
12
13 * Filenames can no longer be snippet triggers. Please upgrade your snippet
14 collections.
15
16
17 0.6.1c / 2009-08-13
18 ===================
19
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
24 wyuenho).
25 * Added workaround for issue 97 in the FAQ
26 * Small updates to documentation.
27
28 0.6.1b / 2009-08-29
29 ===================
30
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``
40 * Fixed `Issue 74
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
45 Moritz Bunkus)
46 * Fixed many more issues...
47
48
49 0.6.0c / 2009-07-27
50 ===================
51
52 * Now byte compiles correctly with no warnings.
53 * Fixed `Issue 68
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.
57
58
59 0.6.0b / 2009-07-25
60 ===================
61
62 * Nested placeholders of the type ``<div${1: id="${2:someid}"}> $0``.
63
64 * More robust undo/redo support.
65
66 * Stacked snippet expansion (*snippet in snippet*).
67
68 * Transformation on a primary field with syntax ``${1:default$(transform)}``
69
70 * Validations on field exit through the ``yas/verify-value``
71 primary field transformation.
72
73 * Wrapping the region in the exit marker ``$0`` of the snippet. Use
74 ``yas/wrap-around-region``.
75
76 * Auto-indentation. Use ``yas/indent-line`` set to ``'auto``
77
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``.
81
82 * Customization group ``yasnippet``.
83
84 * Overriding customization variables in snippets. Use the ``env:
85 let-form`` template keyword.
86
87 * Fixed `Issue 60
88 <http://code.google.com/p/yasnippet/issues/detail?id=60>`_
89 * Fixed `Issue 65
90 <http://code.google.com/p/yasnippet/issues/detail?id=65>`_
91 * Fixed `Issue 56
92 <http://code.google.com/p/yasnippet/issues/detail?id=56>`_
93
94 0.5.10 / 2009-02-11
95 ===================
96
97 * Added *grouping* support so that the snippets in the menu can be
98 groupped together.
99 * Make the bundle `ELPA <http://tromey.com/elpa/index.html>`_
100 compatible.
101
102 0.5.9 / 2009-01-21
103 ==================
104
105 * Fixed the bug of disabling the auto-indenting of ``cc-mode``.
106
107 0.5.8 / 2009-01-15
108 ==================
109
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>`_).
115 * Fixed `Issue 45
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
119 transformation.
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
123 `Issue 48
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>`_).
129
130 0.5.7 / 2008-12-03
131 ==================
132
133 * Fixed `Issue 28
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>`_
138 (by joaotavora).
139 * Added some snippets from users for sql, erlang, scala, html, xml, latex, etc.
140 * Fixed `Issue 16
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>`_.
144
145 0.5.6 / 2008-08-07
146 ==================
147
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``
155 property is defined.
156
157 0.5.5 / 2008-05-29
158 ==================
159
160 * Tweak ``yas/extra-mode-hooks`` so that it can be more easily
161 customized.
162 * Add an entry in FAQ about why ``TAB`` key doesn't work in some
163 modes.
164
165 0.5.4 / 2008-05-15
166 ==================
167
168 * Added ``ox-mode-hook`` and ``python-mode-hook`` to
169 ``yas/extra-mode-hooks`` to fix the problem YASnippet is not enabled
170 in those modes.
171
172 0.5.3 / 2008-05-07
173 ==================
174
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
178 Mike.
179 * Fix a bug of condition system.
180
181 0.5.2 / 2008-04-20
182 ==================
183
184 * Fix a bug for comparing string to symbol using ``string=`` (which
185 will fire an error).
186
187 0.5.1 / 2008-04-14
188 ==================
189
190 * Use a beautiful css style in the document.
191
192 0.5.0 / 2008-04-10
193 ==================
194
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
200 earlier version.
201 * Deleting snippet (using ``C-w`` or ``C-k``) won't cause serious
202 problem now.
203 * Several complex snippet for python-mode from Yasser included in the
204 distribution.
205
206 0.4.5 / 2008-04-07
207 ==================
208
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.
214
215 0.4.4 / 2008-03-24
216 ==================
217
218 * Bug fix: dropdown-list.el doesn't recognize [return] properly.
219
220 0.4.3 / 2008-03-23
221 ==================
222
223 * Bug fix: failed to recognize user customized yas/trigger-key.
224
225 0.4.2 / 2008-03-22
226 ==================
227
228 * Make a separate document package for release. Also make document
229 available online.
230
231 0.4.1 / 2008-03-21
232 ==================
233
234 * Make sure ``yas/minor-mode``'s key bindings always take priority to
235 other minor modes.
236
237 0.4.0 / 2008-03-20
238 ==================
239
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
247
248 0.3.2 / 2008-03-19
249 ==================
250
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>`_
254 for more details.
255
256 0.3.1 / 2008-03-17
257 ==================
258
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>`_.
261
262 0.3.0 / 2008-03-16
263 ==================
264
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
270 this `thread
271 <https://groups.google.com/group/smart-snippet/browse_thread/thread/937f32a2a6dea4f2?hl=en>`_
272 for more details.
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.
277
278 0.2.3 / 2008-03-15
279 ==================
280
281 * Bug in non-window (-nw) mode when there's multiple candidate to
282 expand. See `issue 7
283 <http://code.google.com/p/yasnippet/issues/detail?id=7>`_.
284 * Allow expanding another snippet as long as not currently inside a
285 field.
286
287 0.2.2 / 2008-03-13
288 ==================
289
290 * Added customized face for fields and mirrors. Better in dark
291 background. And users can customize it.
292
293 0.2.1 / 2008-03-10
294 ==================
295
296 * Fix the insert-behind problem under both Emacs 22 and Emacs 23.
297
298 0.2.0 / 2008-03-10
299 ==================
300
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
304 details.
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``.
308
309 0.1.1 / 2008-03-08
310 ==================
311
312 * Add a rake task to upload to google code.
313 * Use elisp compile-bundle function instead of python scrip
314
315 0.1.0 / 2008-03-07
316 ==================
317
318 * Embedded elisp support.
319 * Fields navigation support.
320 * Mirror of fields support.
321 * Menu-bar 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.