[ANN] YASnippet 0.5.0 Released

April 10, 2008 – 2:11 pm

EmacsI know the problem from the very beginning: if you delete (use something like C-w or C-k) the region of the snippet you just expanded, things will get weird. I thought people will never want to delete the snippet after expanded it; and if he really want to, he can use undo, which works perfectly. But I realized that I was wrong when the Nth people report this bug to me.

So, though I’m busy preparing for my final exam, I decide to sit down and fix the problem. And I’m glad to announce the release of YASnippet 0.5.0 with this annoying problem fixed.

There are also other enhancements (especially the hippie-expand integration that many people requested). Here’s the ChangeLog for 0.5.0:

  • Integrate with hippie-expand. Just add yas/hippie-try-expand to hippie-expand-try-functions-list.
  • If you set yas/fall-back-behavior to 'return-nil, YASnippet will return nil when it can’t find a snippet to expand.
  • Defect fix: the condition of a snippet was evaluated twice in earlier version.
  • Deleting snippet (using C-w or C-k) won’t cause serious problem now.
  • Several complex snippet for python-mode from Yasser included in the distribution.

I wish you enjoy it. :)

  1. 4 Responses to “[ANN] YASnippet 0.5.0 Released”

  2. 面临考试,还不忘更新,zan~

    By firenet on Apr 10, 2008

  3. where can i get it down

    By chris on Apr 10, 2008

  4. @chris,

    You can download it at here.

    By pluskid on Apr 11, 2008

  5. I really like it!

    By dongbin on Apr 11, 2008

Post a Comment