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

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

Editing PHP/HTML and nxHTML


From: Andrea Venturoli
Subject: Editing PHP/HTML and nxHTML
Date: Wed, 15 Jun 2016 10:54:07 +0200
User-agent: Mozilla/5.0 (X11; FreeBSD i386; rv:45.0) Gecko/20100101 Thunderbird/45.1.0

Hello.

I'm in need to edit HTML code and mixed PHP/HTML code.
I'm not in for anything fancy: synthax highlighting, tags mismatch detection and proper indenting is enough for me.

I searched the web for the suggested best option and it seems nxHTML is highly backed. However I'm getting tons of problems with it (see details at the end if you want)... I think I've got the latest version (2.08), which seems quite old anyway. Is this still a supported package? Is it compatible with the latest emacs?

Any pointer on how to make it work or any suggestion for a replacement?

 bye & Thanks
        av.



Details

As soon as I start emacs on an HTML file I get the following warnings:
Warning: `comment-use-global-state' is an obsolete variable (as of 24.4); use
    `comment-use-syntax' instead.
Warning: `font-lock-beginning-of-syntax-function' is an obsolete variable (as
    of 23.3); use `syntax-begin-function' instead.
Warning: `font-lock-syntactic-keywords' is an obsolete variable (as of 24.1);
    use `syntax-propertize-function' instead.
Warning: `comment-use-global-state' is an obsolete variable (as of 24.4); use
    `comment-use-syntax' instead.
Warning: `font-lock-beginning-of-syntax-function' is an obsolete variable (as
    of 23.3); use `syntax-begin-function' instead.
Warning: `font-lock-syntactic-keywords' is an obsolete variable (as of 24.1);
    use `syntax-propertize-function' instead.
Warning: `comment-use-global-state' is an obsolete variable (as of 24.4); use
    `comment-use-syntax' instead.
Warning: `font-lock-beginning-of-syntax-function' is an obsolete variable (as
    of 23.3); use `syntax-begin-function' instead.
Warning: `font-lock-syntactic-keywords' is an obsolete variable (as of 24.1);
    use `syntax-propertize-function' instead.

I could live with these, but others come up every so often.

The bell is constantly ringing with some messages like "Wrong number of arguments..." or "Error running timer..." or a lot of others.

Indentation rarely works properly.

"ediff-buffers" or "ediff-revision" is a risk, since it won't work properly (deleting codes it shouldn't delete or adding some code where it should *replace* some code).

And I could go on...


reply via email to

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