all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#15678: [PATCH] compile.el: support GNU Make-4.0 directory quoting
@ 2013-10-22  2:04 Jed Brown
  2013-10-23 16:26 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Jed Brown @ 2013-10-22  2:04 UTC (permalink / raw
  To: 15678; +Cc: Jed Brown

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






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#15678: [PATCH] compile.el: support GNU Make-4.0 directory quoting
  2013-10-22  2:04 bug#15678: [PATCH] compile.el: support GNU Make-4.0 directory quoting Jed Brown
@ 2013-10-23 16:26 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2013-10-23 16:26 UTC (permalink / raw
  To: 15678-done

Version: 24.4

Thanks; applied.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-23 16:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-22  2:04 bug#15678: [PATCH] compile.el: support GNU Make-4.0 directory quoting Jed Brown
2013-10-23 16:26 ` Glenn Morris

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.