help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: text underline in html template for django


From: Lennart Borgman (gmail)
Subject: Re: text underline in html template for django
Date: Tue, 20 Nov 2007 19:35:33 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]