From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#2048: Flymake Enhancement Date: Sun, 25 Jan 2009 21:05:53 -0500 Message-ID: References: <1232903607.19724.17.camel@tadpole> Reply-To: Stefan Monnier , 2048@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1232936663 13175 80.91.229.12 (26 Jan 2009 02:24:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Jan 2009 02:24:23 +0000 (UTC) Cc: 2048@emacsbugs.donarmstrong.com To: Joseph Donaldson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 26 03:25:36 2009 Return-path: Envelope-to: geb-bug-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 1LRHAJ-0007MU-TG for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Jan 2009 03:25:32 +0100 Original-Received: from localhost ([127.0.0.1]:54153 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRH91-0005Uw-W4 for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jan 2009 21:24:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRH8R-0004tp-Ne for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 21:23:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRH8P-0004r5-B4 for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 21:23:34 -0500 Original-Received: from [199.232.76.173] (port=36976 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRH8O-0004qo-WC for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 21:23:33 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52502) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LRH8O-0001I1-3o for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 21:23:32 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0Q2NT53001121; Sun, 25 Jan 2009 18:23:29 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0Q2F3Cn031134; Sun, 25 Jan 2009 18:15:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 26 Jan 2009 02:15:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2048 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2048-submit@emacsbugs.donarmstrong.com id=B2048.123293556729823 (code B ref 2048); Mon, 26 Jan 2009 02:15:03 +0000 Original-Received: (at 2048) by emacsbugs.donarmstrong.com; 26 Jan 2009 02:06:07 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0Q25xS3029815; Sun, 25 Jan 2009 18:06:00 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtYFAJypfEnO+LLC/2dsb2JhbACBbccJhUuCIg X-IronPort-AV: E=Sophos;i="4.37,323,1231131600"; d="scan'208";a="32812355" Original-Received: from 206-248-178-194.dsl.teksavvy.com (HELO pastel.home) ([206.248.178.194]) by ironport2-out.teksavvy.com with ESMTP; 25 Jan 2009 21:05:53 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id BAAC98040; Sun, 25 Jan 2009 21:05:53 -0500 (EST) In-Reply-To: <1232903607.19724.17.camel@tadpole> (Joseph Donaldson's message of "Sun, 25 Jan 2009 12:13:27 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 25 Jan 2009 21:23:34 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:24546 Archived-At: severity 2048 wishlist thanks > lines. To remedy this, I introduced a buffer-local variable named > flymake-split-output-pattern and modified the function > flymake-split-output to use it when splitting the output into individual > error/warning messages. The default value of > flymake-split-output-pattern is "[\n\r]+"; this matches the value > previously hard-coded in flymake-split-output. For bigloo, I added in > my .emacs file a hook to bee-mode-hook to set the value > flymake-split-ouput-pattern to "^[\r\n][\r\n]". This enabled flymake to > display the full error/warning messages provided bigloo. The patch for > this modification is attached. If there are any questions and or > comments, I would appreciate hearing them. I'd hope that flymake.el can be improved to match multi-line regexps without having to tell it how to cut the output into chunks. In any case, this change is too late for Emacs-23.1 which is in feature freeze, but otherwise the goal is right. I remember someone else needing/implementing support for multiline error messages in flymake.el a while back. Stefan