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: Pavel SRB
Subject: Re: text underline in html template for django
Date: Tue, 20 Nov 2007 20:41:21 +0100
User-agent: Icedove 1.5.0.14pre (X11/20071018)

Lennart Borgman (gmail) wrote:
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.

oooh, thank you for these informations. I just have to get emacs22 to my
debian etch. Will tell results later.

thankx again







reply via email to

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