From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: makefile-dependency-regex Date: Sat, 27 Aug 2005 22:46:13 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1125197378 13104 80.91.229.2 (28 Aug 2005 02:49:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 28 Aug 2005 02:49:38 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 28 04:49:37 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E9DE4-0005ku-0x for ged-emacs-devel@m.gmane.org; Sun, 28 Aug 2005 04:48:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E9DI4-0008Dp-K2 for ged-emacs-devel@m.gmane.org; Sat, 27 Aug 2005 22:53:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E9DGt-0007s5-6J for emacs-devel@gnu.org; Sat, 27 Aug 2005 22:51:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E9DGo-0007pB-FX for emacs-devel@gnu.org; Sat, 27 Aug 2005 22:51:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E9DGo-0007ol-1G for emacs-devel@gnu.org; Sat, 27 Aug 2005 22:51:42 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E9DDp-00039j-0b for emacs-devel@gnu.org; Sat, 27 Aug 2005 22:48:37 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1E9DBV-0003U1-OU; Sat, 27 Aug 2005 22:46:13 -0400 Original-To: Sam Steingold In-reply-to: (message from Sam Steingold on Fri, 26 Aug 2005 11:08:45 -0400) 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:42456 Archived-At: Does this fix it? *** make-mode.el 01 Aug 2005 11:11:11 -0400 1.106 --- make-mode.el 27 Aug 2005 21:10:45 -0400 *************** *** 1833,1838 **** --- 1833,1841 ---- ;; Don't keep looking across a blank line or comment. (looking-at "$\\|#") (not (zerop (forward-line -1)))))) + (when found + (setq found (replace-regexp-in-string "[ \t]+\\'" "" found)) + (setq found (replace-regexp-in-string "\\`[ \t]+" "" found))) found))) (provide 'make-mode)