From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ig0r Newsgroups: gmane.emacs.help Subject: Re: making Flymake work with PHP Date: Sat, 16 May 2009 06:38:32 -0700 (PDT) Organization: http://groups.google.com Message-ID: <1b70f862-760a-4395-ac3c-56782bf78076@x6g2000vbg.googlegroups.com> References: <25b6b34d-b9f5-44d1-a969-544e218fe668@n4g2000vba.googlegroups.com> <87my9fh5ov.wl%anselm.helbig+news2009@googlemail.com> <514f618a-c570-4d5b-9d0c-dfdf0d0ece0a@n21g2000vba.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1242481362 30577 80.91.229.12 (16 May 2009 13:42:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 May 2009 13:42:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 16 15:42:35 2009 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.50) id 1M5K9p-0004TD-VB for geh-help-gnu-emacs@m.gmane.org; Sat, 16 May 2009 15:42:34 +0200 Original-Received: from localhost ([127.0.0.1]:43762 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M5K9p-0006E8-Gf for geh-help-gnu-emacs@m.gmane.org; Sat, 16 May 2009 09:42:33 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!x6g2000vbg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 52 Original-NNTP-Posting-Host: 91.124.53.216 Original-X-Trace: posting.google.com 1242481113 31725 127.0.0.1 (16 May 2009 13:38:33 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 16 May 2009 13:38:33 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: x6g2000vbg.googlegroups.com; posting-host=91.124.53.216; posting-account=M24cuwoAAABX_45W-BaxkVxNGJ_iyDmp User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729), gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:169232 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:64492 Archived-At: On May 15, 3:25=9Aam, Ig0r wrote: > > It should open in html-mumamo-mode (in Emacs 22), but that does not > > matter much here. > > Hm... maybe that is where it all begins... > > > It would be good if you could try the latest beta 1.77 of nXhtml. > > I've installed it - it is all the same :( > Oh, I haven't mentioned - nXhtml mode tries to include rng-auto.el - > which I don't have anywhere (but I've read in forums that this is not > needed anymore), so I just commented all lines in autoload22.el =9AHave > you done the same? > > > Could you please try commenting out the elisp code you have in your > > .emacs for configuring flymake for php? > > Yes, I've done that already - no luck :( > And I also run M-x customize-option RET flymake-php-on RET and now > flymake loads everytime I'm in php-code. > But all errors what I see are:http://img193.imageshack.us/img193/7307/err= or.jpg > > Igor. Guys, I've also noticed strange thing: When I open my *.php files which content html code (It opens in PHP major mode). And when I try to edit the code it tells me: " Please answer y or n. Indentation fails badly with mixed HTML/PHP in the HTML part in plain `php-mode'. To get indentation to work you must use an Emacs library that supports 'multiply major modes' in a buffer. Parts of the buffer will then be `php-mode' and parts in for example `html-mode'. Known such libraries are: mumamo, mmm-mode, multi-mode You have these available in your `load-path': mumamo Do you want to turn any of those on? (y or n) " So this means that my mumamo mode isn't started automatically, what might b=D5 causing it? Here is my ~/.emacs if that's a help: http://docs.google.com/Doc?id=3Ddf7z= npq9_26vhcdh6g3 I also tried to remove all php-mode hooks. The *.php files then open in PHP/nXhtml mode, but the flymake still isn't working properly. Thanks!