Issue 124 in yasnippet: yas/new-snippet default template creates spurious 'k-e-y-b-i-n-d-i-n-g' binding

2 views
Skip to first unread message

codesite...@google.com

unread,
Mar 15, 2010, 1:39:12 PM3/15/10
to smart-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 124 by shab...@gmail.com: yas/new-snippet default template
creates spurious 'k-e-y-b-i-n-d-i-n-g' binding
http://code.google.com/p/yasnippet/issues/detail?id=124

What steps will reproduce the problem?
1. M-x yas/new-snippet
2. save snippet without changing '# binding: keybinding' header field
3. load new snippet, and all yas enabled modes, 'k' will be treated as a
prefix key, rather than self-insert, as it probably should be.

What is the expected output? What do you see instead?
default template should not hijack any common alphabet keys as a prefix key
for binding.

What version of the product are you using? On what operating system?
encountered on multiple versions. Current version is 0.6.1b

Please provide any additional information below.
Fix is probably either special-case 'keybinding' as a binding value to make
it be ignored, or change the default snippet template to have an empty
binding: field.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Mar 15, 2010, 1:45:22 PM3/15/10
to smart-...@googlegroups.com

Comment #1 on issue 124 by steveivy: yas/new-snippet default template
creates spurious 'k-e-y-b-i-n-d-i-n-g' binding
http://code.google.com/p/yasnippet/issues/detail?id=124

Reproduced on Cocoa Emacs (23), Mac OS X 10.5.

codesite...@google.com

unread,
Mar 15, 2010, 5:28:53 PM3/15/10
to smart-...@googlegroups.com
Updates:
Status: Fixed

Comment #2 on issue 124 by joaotavora: yas/new-snippet default template

creates spurious 'k-e-y-b-i-n-d-i-n-g' binding
http://code.google.com/p/yasnippet/issues/detail?id=124

Fix in SVN r571. Meanwhile work around the problem by deleting the "#
keybinding"
directive field and nested field altogether (C-d when you get to that
field).

Reply all
Reply to author
Forward
0 new messages