Subject: bug#15678: closed (Re: bug#15678: [PATCH] compile.el: support GNU Make-4.0 directory quoting)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 23 Oct 2013 16:27:02 +0000

Your bug report

#15678: [PATCH] compile.el: support GNU Make-4.0 directory quoting

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
15678: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15678
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#15678: [PATCH] compile.el: support GNU Make-4.0 directory quoting
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Wed, 23 Oct 2013 12:26:27 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 24.4

Thanks; applied.

Subject: [PATCH] compile.el: support GNU Make-4.0 directory quoting
From: Jed Brown <[email-masked]>
To: [email-masked]
Cc: Jed Brown <[email-masked]>
Date: Mon, 21 Oct 2013 21:04:00 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

GNU Make commit 23c2b99e9d23e726 is part of make-4.0:

  Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines.

This changes the output from

  make: Entering directory `/path/to/src'

to

  make: Entering directory '/path/to/src'

This patch teaches compile.el about the latter.
---
 lisp/progmodes/compile.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 3b86ddc..54f0372 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -513,7 +513,7 @@ listed text properties PROP# are given values VAL# as well."
   "Directory to restore to when doing `recompile'.")
 
 (defvar compilation-directory-matcher
-  '("\\(?:Entering\\|Leavin\\(g\\)\\) directory `\\(.+\\)'$" (2 . 1))
+  '("\\(?:Entering\\|Leavin\\(g\\)\\) directory [`']\\(.+\\)'$" (2 . 1))
   "A list for tracking when directories are entered or left.
 If nil, do not track directories, e.g. if all file names are absolute.  The
 first element is the REGEXP matching these messages.  It can match any number
@@ -526,7 +526,7 @@ directory we were in before the last entering message.  If you change this,
 you may also want to change `compilation-page-delimiter'.")
 
 (defvar compilation-page-delimiter
-  "^\\(?:\f\\|.*\\(?:Entering\\|Leaving\\) directory `.+'\n\\)+"
+  "^\\(?:\f\\|.*\\(?:Entering\\|Leaving\\) directory [`'].+'\n\\)+"
   "Value of `page-delimiter' in Compilation mode.")
 
 (defvar compilation-mode-font-lock-keywords
-- 
1.8.4.1