GNU bug report logs - #17477
flymake-mode looks at wrong PHP binary

Previous Next

Package: emacs;

Reported by: Joe Borġ <cyborg101010 <at> gmail.com>

Date: Mon, 12 May 2014 16:50:03 UTC

Severity: minor

Tags: notabug

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Joe Borġ <cyborg101010 <at> gmail.com>
Cc: Leo Liu <sdl.web <at> gmail.com>, 17477 <at> debbugs.gnu.org
Subject: bug#17477: flymake-mode looks at wrong PHP binary
Date: Mon, 12 May 2014 15:39:10 -0400
Joe Borġ wrote:

> Yes, you're right - but why does that effect flymake-php?  I ask so I can
> try and fix it.

Because they load flymake.el, then clobber its flymake-php-init function
with their own version, which is identical to the default version apart
from using "/usr/bin/php" (by default), thus breaking flymake.

Simply (setq php-executable "php") and it should work.

I assume they want to cater for cases where "php" is not installed as
"php"; if there are any.




This bug report was last modified 11 years and 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.