From: Pavel SRB <srb@heckler-koch.cz>
To: help-gnu-emacs@gnu.org
Subject: Re: text underline in html template for django
Date: Tue, 20 Nov 2007 20:41:21 +0100 [thread overview]
Message-ID: <47433861.2010706@heckler-koch.cz> (raw)
In-Reply-To: <474328F5.7000004@gmail.com>
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
next prev parent reply other threads:[~2007-11-20 19:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-17 17:49 text underline in html template for django Pavel SRB
2007-11-18 12:05 ` Lennart Borgman (gmail)
2007-11-18 14:13 ` Pavel SRB
2007-11-20 17:59 ` Pavel SRB
2007-11-20 18:35 ` Lennart Borgman (gmail)
2007-11-20 19:41 ` Pavel SRB [this message]
2007-11-23 0:34 ` Lennart Borgman (gmail)
2007-11-23 7:50 ` Pavel SRB
2007-11-23 9:05 ` Lennart Borgman (gmail)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47433861.2010706@heckler-koch.cz \
--to=srb@heckler-koch.cz \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).