unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7532: 23.2; flymake (php) error
@ 2010-12-02 14:49 Jochen T.
  2013-02-24  0:40 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Jochen T. @ 2010-12-02 14:49 UTC (permalink / raw)
  To: 7532

recipe:
emacs 23.2.1 for windows (win7)
php 5.3.1 (cli)
open a php-file in emacs with no errors. (for example: <?php echo
'hello World';)
start flymake-mode
--> error messages

error messages that occur:
error in process filter: string-match: Wrong type argument: listp, absoft
error in process filter: Wrong type argument: listp, absoft

problem:
flymake-err-line-patterns is a list of
(regexp file-idx line-idx col-idx err-text-idx)
and gets compilation-error-regexp-alist appended, which (in 23.2.1) is a
list of
softwarename
which does not match the pattern of flymake-err-line-patterns

this is a problem because php 5.3.1 cli echos "No syntax errors detected in
[filename]" which does not match any of the proper patterns (because
it's not even an error) but will finally meet "absoft", the first
softwarename in compilation-error-regexp-alist.

my temporary solution:
commenting out compilation-error-regexp-alist (unsatisfying solution)

I already posted a bug report on flymakes sourceforge page
(https://sourceforge.net/tracker/?group_id=77501&atid=550421 - id
3125528), but I don't expect it to get edited there. And this bug got
introduced by a new emacs version, which includes flymake but changed
the underlying variable




In GNU Emacs 23.2.1 (i386-mingw-nt6.1.7600)
 of 2010-05-08 on G41R2F1
Windowing system distributor `Microsoft Corp.', version 6.1.7600
configured using `configure --with-gcc (3.4) --no-opt --cflags
-Ic:/xpm/include'

Major mode: PHP
Minor modes in effect:
  flymake-mode: t

Open c:/Users/Jump/AppData/Roaming/.emacs.d/flymake.el
error in process filter: string-match: Wrong type argument: listp, absoft
error in process filter: Wrong type argument: listp, absoft







^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#7532: 23.2; flymake (php) error
  2010-12-02 14:49 bug#7532: 23.2; flymake (php) error Jochen T.
@ 2013-02-24  0:40 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2013-02-24  0:40 UTC (permalink / raw)
  To: 7532-done

"Jochen T." wrote:

> problem:
> flymake-err-line-patterns is a list of
> (regexp file-idx line-idx col-idx err-text-idx)
> and gets compilation-error-regexp-alist appended, which (in 23.2.1) is a
> list of
> softwarename
> which does not match the pattern of flymake-err-line-patterns

AFAICS, flymake-err-line-patterns hasn't included
compilation-error-regexp-alist since late 2004.

Looks like you might have been using your own version of flymake.el?

> my temporary solution:
> commenting out compilation-error-regexp-alist (unsatisfying solution)
[...]
> In GNU Emacs 23.2.1 (i386-mingw-nt6.1.7600)
[...]
> Open c:/Users/Jump/AppData/Roaming/.emacs.d/flymake.el





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-24  0:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-02 14:49 bug#7532: 23.2; flymake (php) error Jochen T.
2013-02-24  0:40 ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).