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

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

sgml-mode.el: indentation problem with php


From: Felix Natter
Subject: sgml-mode.el: indentation problem with php
Date: Sun, 28 Mar 2004 12:45:50 -0000
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)

In GNU Emacs 21.2.1 (i386-debian-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-03-22 on raven, modified by Debian
configured using `configure  i386-debian-linux-gnu --prefix=/usr 
--sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib 
--infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --with-x=yes 
--with-x-toolkit=athena --without-gif'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

I am using the latest sgml-mode.el from cvs:
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/emacs/emacs/lisp/textmodes/sgml-mode.el?rev=HEAD&content-type=text/plain

A '>' in element content confuses the sgml-mode.el indenter:

<html>

  <body>

    <!-- this works -->
    <script language="php">
      dosth();
    </script>
    <b>a tag after php code</b>

    <!-- this does not work -->
    <script language="php">
      $obj->method();
                                                </script>
            <b>a tag after php code</b>

  </body>

</html>

Please tell me if I can (try to) help with this.
thanks,

-- 
Felix Natter
Linux from *scratch* (www.gnu.org/software/emacs)





reply via email to

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