From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: m.pontus@gmail.com Newsgroups: gmane.emacs.help Subject: Re: The problem of writing php code with emacs, Help!! Date: Sat, 27 Mar 2010 20:27:41 -0400 Message-ID: <30332961.01269736061610.JavaMail.root@wombat> References: <3f667c87-c3fe-42ec-9c48-b791223ce139@u36g2000prn.googlegroups.com> Reply-To: m.pontus@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1269781297 17760 80.91.229.12 (28 Mar 2010 13:01:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 28 Mar 2010 13:01:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 28 15:01:34 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nvs7R-0003Le-2j for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Mar 2010 15:01:33 +0200 Original-Received: from localhost ([127.0.0.1]:39458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NvrvL-0005sk-T8 for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Mar 2010 08:49:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NvgM3-0000k8-HI for help-gnu-emacs@gnu.org; Sat, 27 Mar 2010 20:27:51 -0400 Original-Received: from [140.186.70.92] (port=55355 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NvgLz-0000k0-DA for help-gnu-emacs@gnu.org; Sat, 27 Mar 2010 20:27:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NvgLw-0001Gb-7D for help-gnu-emacs@gnu.org; Sat, 27 Mar 2010 20:27:47 -0400 Original-Received: from aa.81.b6.static.xlhost.com ([207.182.129.170]:39125 helo=wombat.diezmil.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NvgLv-0001GQ-Um for help-gnu-emacs@gnu.org; Sat, 27 Mar 2010 20:27:44 -0400 Original-Received: from wombat (wombat [127.0.0.1]) by wombat.diezmil.com (8.14.2/8.14.2) with ESMTP id o2S0RfRc025630 for ; Sat, 27 Mar 2010 20:27:41 -0400 In-Reply-To: <3f667c87-c3fe-42ec-9c48-b791223ce139@u36g2000prn.googlegroups.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Sun, 28 Mar 2010 08:44:18 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72505 Archived-At: Having the same problem. It may be better idea to put a bug into mmm-mode bug tracker, but if anyone is familiar with this problem, the solution would me much appreciated. I managed to get backtrace on error occurrence, here is what it says: Debugger entered--Lisp error: (wrong-type-argument stringp nil) c-syntactic-skip-backward(nil nil t) c-looking-at-decl-block(nil t) c-guess-basic-syntax() c-indent-line() c-electric-semi&comma(nil) call-interactively(c-electric-semi&comma nil nil) My lack of elisp knowledge doesn't let me to help in fixing this issue. I looked deeply for solution to this problem, unfortunately I didn't find anything but the advices of using mumamo instead. Well, I hesitate to accept this solution. nXhtml is a great package with a lot of features, but what i'm looking for is a simple multimode in a buffer which will let me jump between php, javascript and css in html document for indention and highlighting. Omitting the fact that nXhtml had insufficient performance without byte-compiling (i didn't try compiling it tbh) I don't like the idea of having one package for all tasks. Sorry if i misunderstood the role of nXhtml and mumamo package. P.S. I can not vouch for the reliability of next words, but as far as i can remember, when i first installed and configured the package, i tried to write a file combined of html, php, css and javascript and it worked well including highlighting and indention. I can not remember if I changed something since that time, but now I'm having this annoying error just like the topic starter. -- This message was sent on behalf of m.pontus@gmail.com at openSubscriber.com http://www.opensubscriber.com/message/help-gnu-emacs@gnu.org/12975889.html