unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jochen T." <jochent@arcor.de>
To: 7532@debbugs.gnu.org
Subject: bug#7532: 23.2; flymake (php) error
Date: Thu, 02 Dec 2010 15:49:54 +0100	[thread overview]
Message-ID: <4CF7B212.7020104@arcor.de> (raw)

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	other threads:[~2010-12-02 14:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-02 14:49 Jochen T. [this message]
2013-02-24  0:40 ` bug#7532: 23.2; flymake (php) error Glenn Morris

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CF7B212.7020104@arcor.de \
    --to=jochent@arcor.de \
    --cc=7532@debbugs.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 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).