unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Pavel SRB <srb@heckler-koch.cz>
Cc: help-gnu-emacs@gnu.org
Subject: Re: text underline in html template for django
Date: Tue, 20 Nov 2007 19:35:33 +0100	[thread overview]
Message-ID: <474328F5.7000004@gmail.com> (raw)
In-Reply-To: <47432070.30409@heckler-koch.cz>

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	other threads:[~2007-11-20 18:35 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) [this message]
2007-11-20 19:41         ` Pavel SRB
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=474328F5.7000004@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=srb@heckler-koch.cz \
    /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).