From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrea Venturoli Newsgroups: gmane.emacs.help Subject: Editing PHP/HTML and nxHTML Date: Wed, 15 Jun 2016 10:54:07 +0200 Organization: Aioe.org NNTP Server Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1465981343 18470 80.91.229.3 (15 Jun 2016 09:02:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Jun 2016 09:02:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 15 11:02:23 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bD6iN-0001mq-06 for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Jun 2016 11:02:23 +0200 Original-Received: from localhost ([::1]:40843 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bD6iM-0004Y6-53 for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Jun 2016 05:02:22 -0400 Original-Path: usenet.stanford.edu!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 55 Original-NNTP-Posting-Host: 9aFrSPb34diKzlR8cHXbjA.user.gioia.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 X-Mozilla-News-Host: news://powernews.libero.it:119 X-Notice: Filtered by postfilter v. 0.8.2 Original-Xref: usenet.stanford.edu gnu.emacs.help:218136 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110445 Archived-At: 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...