作者:mobiledu2502862441 | 来源:互联网 | 2023-05-18 17:06
Iamtryingtogettheyasnippetandpabbrevpackagesworkingtogetherwithemacs,butIcannotseem
I am trying to get the yasnippet and pabbrev packages working together with emacs, but I cannot seem to get any love. How can I get them to play nicely together?
我试图让yasnippet和pabbrev包与emacs一起工作,但我似乎无法得到任何爱。我怎样才能让他们一起玩得很好?
The crux of the problem is that pabbrev and yasnippet are binding to the tab keys. Both packages seem to do this fallback when a match isn't found, but they don't fall back properly.
问题的关键是pabbrev和yasnippet绑定到tab键。当找不到匹配时,两个软件包似乎都会执行此回退,但它们不能正常回退。
I am currently using Emacs W32 (the last emacs 22 release). yasnippet is byte compiled, but pabbrev is not.
我目前正在使用Emacs W32(最新的emacs 22版本)。 yasnippet是字节编译的,但pabbrev不是。
Edit: Thus far neither tabkey2 nor hippie expand work out of the box, which is why I have yet to mark either solution as a correct answer. I'm hacking away at tabkey2 to make it work though.
编辑:到目前为止,tabkey2和hippie都没有开箱即用,这就是为什么我还没有将任何一个解决方案标记为正确的答案。我正在攻击tabkey2以使其工作。
2 个解决方案