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#8684: The fix introduce another bug Date: Sat, 21 May 2011 20:19:28 -0300 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1306020013 24626 80.91.229.12 (21 May 2011 23:20:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 21 May 2011 23:20:13 +0000 (UTC) Cc: 8684@debbugs.gnu.org To: sss Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 22 01:20:09 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QNvSr-00066D-2Y for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 May 2011 01:20:09 +0200 Original-Received: from localhost ([::1]:43761 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNvSq-0007jT-JR for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 May 2011 19:20:08 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNvSn-0007hl-Bk for bug-gnu-emacs@gnu.org; Sat, 21 May 2011 19:20:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QNvSl-0007ux-TG for bug-gnu-emacs@gnu.org; Sat, 21 May 2011 19:20:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNvSl-0007ub-RQ for bug-gnu-emacs@gnu.org; Sat, 21 May 2011 19:20:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QNvSl-0004rE-B1; Sat, 21 May 2011 19:20:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 May 2011 23:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8684 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8684-submit@debbugs.gnu.org id=B8684.130601998818648 (code B ref 8684); Sat, 21 May 2011 23:20:03 +0000 Original-Received: (at 8684) by debbugs.gnu.org; 21 May 2011 23:19:48 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QNvSV-0004qj-Hg for submit@debbugs.gnu.org; Sat, 21 May 2011 19:19:48 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QNvSO-0004qO-8a for 8684@debbugs.gnu.org; Sat, 21 May 2011 19:19:45 -0400 Original-Received: from 213-159-126-200.fibertel.com.ar ([200.126.159.213]:37620 helo=ceviche.home) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QNvSG-00041d-PV; Sat, 21 May 2011 19:19:33 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 03CC866131; Sat, 21 May 2011 20:19:29 -0300 (ART) In-Reply-To: (sss's message of "Sat, 21 May 2011 07:19:30 +0800 (CST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 21 May 2011 19:20:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:46635 Archived-At: > When type enter key in *grep* buffer, the following message will showed. > compilation-next-error: No grep hit here. > If I revert the change, the message disappears. I've installed the patch below which should hopefully fix the original problem as well as the new one. Stefan === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2011-05-21 22:33:12 +0000 +++ lisp/ChangeLog 2011-05-21 23:17:35 +0000 @@ -1,3 +1,7 @@ +2011-05-21 Stefan Monnier + + * progmodes/grep.el (grep-mode): Fix last change (bug#8684). + 2011-05-21 Glenn Morris * files.el (hack-local-variables-prop-line, hack-local-variables): === modified file 'lisp/progmodes/grep.el' --- lisp/progmodes/grep.el 2011-05-17 18:14:30 +0000 +++ lisp/progmodes/grep.el 2011-05-21 23:13:56 +0000 @@ -698,7 +698,9 @@ grep-hit-face) (set (make-local-variable 'compilation-error-regexp-alist) grep-regexp-alist) - (set (make-local-variable 'compilation-directory-matcher) nil) + ;; compilation-directory-matcher can't be nil, so we set it to a regexp that + ;; can never match. + (set (make-local-variable 'compilation-directory-matcher) "\\`a\\`") (set (make-local-variable 'compilation-process-setup-function) 'grep-process-setup) (set (make-local-variable 'compilation-disable-input) t)