GNU bug report logs - #7532
23.2; flymake (php) error

Previous Next

Package: emacs;

Reported by: "Jochen T." <jochent <at> arcor.de>

Date: Thu, 2 Dec 2010 15:37:02 UTC

Severity: normal

Tags: moreinfo, unreproducible

Found in version 23.2

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7532 in the body.
You can then email your comments to 7532 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7532; Package emacs. (Thu, 02 Dec 2010 15:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Jochen T." <jochent <at> arcor.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 02 Dec 2010 15:37:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Jochen T." <jochent <at> arcor.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.2; flymake (php) error
Date: Thu, 02 Dec 2010 15:49:54 +0100
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






Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Sun, 24 Feb 2013 00:43:01 GMT) Full text and rfc822 format available.

Notification sent to "Jochen T." <jochent <at> arcor.de>:
bug acknowledged by developer. (Sun, 24 Feb 2013 00:43:02 GMT) Full text and rfc822 format available.

Message #10 received at 7532-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 7532-done <at> debbugs.gnu.org
Subject: Re: bug#7532: 23.2; flymake (php) error
Date: Sat, 23 Feb 2013 19:40:48 -0500
"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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 24 Mar 2013 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 150 days ago.

Previous Next


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