From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastien Le Maguer Newsgroups: gmane.emacs.help Subject: configuration for flymake Date: Wed, 18 Mar 2009 21:52:14 +0100 Message-ID: <49C15EFE.50001@irisa.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1237441137 22946 80.91.229.12 (19 Mar 2009 05:38:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Mar 2009 05:38:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 19 06:40:10 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LkAzB-00008K-BS for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Mar 2009 06:40:09 +0100 Original-Received: from localhost ([127.0.0.1]:52975 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkAxo-0004sN-PS for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Mar 2009 01:38:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lk2kU-0004PO-2E for help-gnu-emacs@gnu.org; Wed, 18 Mar 2009 16:52:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lk2kP-0004P6-EN for help-gnu-emacs@gnu.org; Wed, 18 Mar 2009 16:52:25 -0400 Original-Received: from [199.232.76.173] (port=43205 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lk2kP-0004P3-B9 for help-gnu-emacs@gnu.org; Wed, 18 Mar 2009 16:52:21 -0400 Original-Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:58469) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1Lk2kO-000445-P1 for help-gnu-emacs@gnu.org; Wed, 18 Mar 2009 16:52:21 -0400 X-IronPort-AV: E=Sophos;i="4.38,386,1233529200"; d="scan'208";a="25822047" Original-Received: from arennes-251-1-99-78.w86-199.abo.wanadoo.fr (HELO [192.168.1.69]) ([86.199.26.78]) by mail1-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 18 Mar 2009 21:52:16 +0100 User-Agent: Thunderbird 2.0.0.19 (X11/20090105) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Thu, 19 Mar 2009 01:32:15 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63069 Archived-At: Hello everyone, I try to adapt flymake using this tutorial : http://www.gnu.org/software/emacs/manual/html_node/flymake/Example-_002d_002d-Configuring-a-tool-called-directly.html#Example-_002d_002d-Configuring-a-tool-called-directly But when i just used the precedent source, I've got this message : flymake-start-syntax-check: Wrong number of arguments: (lambda (let* ((temp-file (flymake-init-create-temp-buffer-copy buffer (quote flymake-create-temp-inplace))) (local-file (concat (flymake-build-relative-filename (file-name-directory (buffer-file-name (current-buffer))) (file-name-directory temp-file)) (file-name-nondirectory temp-file)))) (list "perl" (list "-wc " local-file)))), 0 Does anyone have an idea ? Thx a lot Sebastien