Pavel SRB wrote:
Pavel SRB wrote:
Lennart Borgman (gmail) wrote:
Pavel SRB wrote:
hi all
as all of you i am very happily writting code in emacs, in all
bunch of modes.
I just started to learn django, and i did not find solution for my
problem anywhere.
In django we are writting html templates like this:
<html>
<head>
<title>Muzikanti z lekce 4</title>
</head>
<body>
...
My problem is that emacs, is underlining my code. As it is not
happy with {}. I believe this is not matter of some mode, but some
different settings as abbrev. Here is my dotEmacs.
How does the underlining look? Is is red? Is it one or several
characters in a row that are underlined?
hi
here is my screenshot:
http://heckler-koch.cz/emacs_django_template_underline.png
You can see i have nxml-mode enable, but it does the same in
text-mode even when abbrev-mode is disable.
hi, nobody got any idea? thank you very much
Oh, yes, no problem removing those underlines. See nXhtml:
http://ourcomments.org/Emacs/nXhtml/doc/nxhtml.html
On that page is an explanation of how to get rid of the red
underlinging (and why it is there). You have to change to use
nxhtml-mode instead though.
I just tried to add Django to nXhtml, but found a small problem which
makes me hesitating to release that addition right now.