# HG changeset patch # User Nick Roberts # Date 1080588251 0 # Node ID 96ee39f37385ee2f5ebec1c8073680875f72f1e4 # Parent b885f486b62288a0dd116eb05a5577d420e34b94 (gud-gdb-marker-filter): Include "\n" in regexp to detect the beginning of a level 2 or 3 annotation. diff -r b885f486b622 -r 96ee39f37385 lisp/progmodes/gud.el --- a/lisp/progmodes/gud.el Mon Mar 29 19:23:30 2004 +0000 +++ b/lisp/progmodes/gud.el Mon Mar 29 19:24:11 2004 +0000 @@ -477,7 +477,7 @@ ;; gud-marker-acc until we receive the rest of it. Since we ;; know the full marker regexp above failed, it's pretty simple to ;; test for marker starts. - (if (string-match "\032.*\\'" gud-marker-acc) + (if (string-match "\n\\(\032.*\\)?\\'" gud-marker-acc) (progn ;; Everything before the potential marker start can be output. (setq output (concat output (substring gud-marker-acc