-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
Error while editing smarty templates (with javascript) #59
Comments
@intinig can you put your example on gist.github.com please |
@intinig does the last commit triggers the same error ? |
FYI, I got this error when I first added web-mode but once I byte-compiled the web-mode.el file it seemed to go away. |
@fxbois https://gist.github.com/5361590 I tried the last commit but I still get that error. |
@intinig are you sure you have the last commited version ? do you byte-compile it ? What is the langage you use in your example ... I ve never seen {1 } tags |
I am at e93db, that is marked as the last commit on github :) I am byte compiling it, and that templating language is smarty (http://www.smarty.net) Let me know if I can help you somehow! |
what is {1 ? |
That's a downcase L :), it's a custom tag defined in a smarty_plugin uses by prestashop. |
and do you have the error with other template engine (ie. php file) |
Yes. Same error. I'll try running emacs with just web-mode loaded to see if this comes from some kind of code clash. I doubt it, but let's check :) |
Here's an interesting tidbit: clean emacs, I drop web-mode.el inside .emacs.d, and run byte-compile-file on it. I get this error
|
so strange ... I ll look at it tonight. And when you don't compile it you also have an error, isn't it ? |
No, I just tried, and placing web-mode.el inside a clean emacs, and loading it with
and turning it on on a .tpl file gives me no error. |
is it better with the last commit ? |
Seems fixed :) I'll investigate more but for now it works |
I get this error "web-mode-scan-region: Invalid function: web-mode-with-silent-modifications" whenever I try to edit one of the smarty templates in a project of mine.
Running web-mode on emacs 24.3.50.1
The text was updated successfully, but these errors were encountered: