From: Ig0r <ryzhkov.igor@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: making Flymake work with PHP
Date: Sat, 16 May 2009 06:38:32 -0700 (PDT) [thread overview]
Message-ID: <1b70f862-760a-4395-ac3c-56782bf78076@x6g2000vbg.googlegroups.com> (raw)
In-Reply-To: a819dfd2-90bf-41c7-9728-25176cbef32c@t10g2000vbg.googlegroups.com
On May 15, 3:25 am, Ig0r <ryzhkov.i...@gmail.com> 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 Have
> 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/error.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у causing it?
Here is my ~/.emacs if that's a help: http://docs.google.com/Doc?id=df7znpq9_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!
prev parent reply other threads:[~2009-05-16 13:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-14 14:35 making Flymake work with PHP Ig0r
2009-05-14 15:37 ` Lennart Borgman
[not found] ` <mailman.7163.1242315464.31690.help-gnu-emacs@gnu.org>
2009-05-14 16:08 ` Ig0r
2009-05-14 18:58 ` Anselm Helbig
2009-05-14 21:17 ` Ig0r
2009-05-14 22:43 ` Lennart Borgman
[not found] ` <mailman.7179.1242341015.31690.help-gnu-emacs@gnu.org>
2009-05-15 0:25 ` Ig0r
2009-05-16 13:38 ` Ig0r [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1b70f862-760a-4395-ac3c-56782bf78076@x6g2000vbg.googlegroups.com \
--to=ryzhkov.igor@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.