New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yasnippets with nxhtml-django-mode active prevents editing in snippets #170
Comments
When you say "the latest versions of yasnippet" do you mean trunk version at http://yasnippet.googlecode.com/svn/trunk/yasnippet.el ? I'm sorry I don't have time lately to review these problems, so any additional info is useful. Also try to reproduce this error (you do state there is an error), but doing M-x toggle-debug-on-error before. Then paste or attach the output here. Google Code Info: |
Sorry, I should have mentioned that I'm running the latest stable (0.6.1c). Here's the full trace:Debugger entered--Lisp error: (wrong-type-argument overlayp nil) Google Code Info: |
Do try the http://yasnippet.googlecode.com/svn/trunk/yasnippet.el trunk version. I'm almost sure these problems have been fixed in a previous issue. Google Code Info: |
OK, I think I've found the source of this issue and it's definitely a problem with nXhtml. It seems that nXhtml is missing some kind of django autoload (see: https://bugs.launchpad.net/nxhtml/+bug/692290), so, when I begin to type the django template marker, it throws some kind of error ("(mumamo-major-mode-from-modespec): Couldn't find an available major mode for spec django-variable-mode"). This error ends up interfering with yasnippet functionality in both the the stable version (0.6.1c, where I am unable to type anything additional into the snippet attributes) as well as the trunk version (where I am unable to trigger new snippets after the error has occurred). After downloading the beta version of nXhtml, this error (the "missing django-variable-mode spec" one) disappears, but unfortunately the beta doesn't seem to play nice with yasnippets yet (or perhaps it needs some additional configuration, which I haven't had the time to look into yet). Anyway, since the error isn't caused by yasnippets, feel free to close this ticket. Sorry for taking up your time with this. Google Code Info: |
Thanks. Closing since this apparently isn't a problem with yasnippet. Google Code Info: |
Add some snippets for lua-mode, such as do, eif, eife, if, ife, iparis, paris, repeat, while, require
I'm not sure if this is a problem with yasnippets or nxhtml, as it only presents itself when both are active. If it is a problem with nxhtml, feel free to close this ticket and I'll head on over there for a fix :)
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Expected output: ability to insert, edit, or delete inside snippet attributes.
Actual output: inability to insert, edit, or delete inside snippet attributes.
What version of the product are you using? On what operating system?
The latest versions of both yasnippets and nxhtml on Linux Mint Julia. Emacs is version 23.1 downloaded from Mint's central repositories.
Please provide any additional information below.
Error message provided below:
[yas] snippet expanded.
let: Wrong type argument: overlayp, nil
Google Code Info:
Issue #: 168
Author: campusco...@gmail.com
Created On: 2011-02-22T20:21:38.000Z
Closed On: 2011-02-23T01:43:57.000Z
The text was updated successfully, but these errors were encountered: