From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eduard Wiebe Newsgroups: gmane.emacs.devel Subject: patch: flymake.texi Date: Wed, 19 Sep 2007 00:51:12 +0200 Message-ID: <864phrtwnz.fsf@nirvana.pusto.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1190156116 30246 80.91.229.12 (18 Sep 2007 22:55:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Sep 2007 22:55:16 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 19 00:55:15 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IXlyN-0002a5-DE for ged-emacs-devel@m.gmane.org; Wed, 19 Sep 2007 00:55:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXlyL-0007kz-VP for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2007 18:55:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXlyH-0007g5-V6 for emacs-devel@gnu.org; Tue, 18 Sep 2007 18:55:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXlyH-0007f4-ES for emacs-devel@gnu.org; Tue, 18 Sep 2007 18:55:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXlyH-0007es-4t for emacs-devel@gnu.org; Tue, 18 Sep 2007 18:55:09 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IXlyG-0001FE-KR for emacs-devel@gnu.org; Tue, 18 Sep 2007 18:55:08 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1IXlyA-0003N1-Fb for emacs-devel@gnu.org; Wed, 19 Sep 2007 00:55:02 +0200 Original-Received: from p57b4378a.dip0.t-ipconnect.de ([87.180.55.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Sep 2007 00:55:02 +0200 Original-Received: from usenet by p57b4378a.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Sep 2007 00:55:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 69 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p57b4378a.dip0.t-ipconnect.de User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) Cancel-Lock: sha1:vO1Mw+wG+mmfmn+kLebeNXoK4x8= X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:79246 Archived-At: --=-=-= Hello, i found some discrepancies between documentation and source of 'flymake' package. Small patch follows. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=flymake.texi.patch --- flymake.texi 06 Sep 2007 07:10:10 +0200 1.2 +++ flymake.texi 13 Sep 2007 22:38:12 +0200 @@ -313,7 +313,7 @@ @item flymake-err-line-patterns Patterns for error/warning messages in the form @code{(regexp file-idx -line-idx err-text-idx)}. @xref{Parsing the output}. +line-idx col-idx err-text-idx)}. @xref{Parsing the output}. @item flymake-compilation-prevents-syntax-check A flag indicating whether compilation and syntax check of the same @@ -333,11 +333,11 @@ A boolean flag indicating whether to start syntax check after a newline character is added to the buffer. -@item flymake-errline-face +@item flymake-errline A custom face for highlighting lines for which at least one error has been reported. -@item flymake-warnline-face +@item flymake-warnline A custom face for highlighting lines for which at least one warning and no errors have been reported. @@ -410,9 +410,9 @@ First, we write the @code{init-function}: @lisp -(defun flymake-perl-init (buffer) +(defun flymake-perl-init () (let* ((temp-file (flymake-init-create-temp-buffer-copy - buffer 'flymake-create-temp-inplace)) + 'flymake-create-temp-inplace)) (local-file (concat (flymake-build-relative-filename (file-name-directory (buffer-file-name @@ -713,8 +713,8 @@ Highlighting is implemented with overlays and happens in the process sentinel, after calling the cleanup function. Two customizable faces -are used: @code{flymake-errline-face} and -@code{flymake-warnline-face}. Errors belonging outside the current +are used: @code{flymake-errline} and +@code{flymake-warnline}. Errors belonging outside the current buffer are considered to belong to line 1 of the current buffer. @node Interaction with other modes --=-=-= -- Eduard Wiebe --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --=-=-=--