aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2006-05-20 14:40:56 +0000
committerStefan Monnier2006-05-20 14:40:56 +0000
commit237d230e4eb951ac94dc8f592dad5e946e53b951 (patch)
tree10b61d99cf302fc55a9ec28c74f9f79566625c5b
parent431225c60ec5d1a204c3e7cd29942d3db4cb28a8 (diff)
downloademacs-237d230e4eb951ac94dc8f592dad5e946e53b951.tar.gz
emacs-237d230e4eb951ac94dc8f592dad5e946e53b951.zip
(gdb-script-font-lock-keywords): Use a stricter regexp for keywords.
-rw-r--r--lisp/ChangeLog17
-rw-r--r--lisp/progmodes/gud.el2
2 files changed, 12 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9d589c693a0..8f3858c5e32 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12006-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/gud.el (gdb-script-font-lock-keywords): Use a stricter
4 regexp for keywords.
5
12006-05-20 Masayuki FUJII <boochang@m4.kcn.ne.jp> (tiny change) 62006-05-20 Masayuki FUJII <boochang@m4.kcn.ne.jp> (tiny change)
2 7
3 * dnd.el (dnd-get-local-file-name): Specify LITERAL in 8 * dnd.el (dnd-get-local-file-name): Specify LITERAL in
@@ -8,8 +13,8 @@
8 13
92006-05-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 142006-05-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10 15
11 * dnd.el (dnd-handle-one-url): Change 3rd arg ARG to URL. Don't 16 * dnd.el (dnd-handle-one-url): Change 3rd arg ARG to URL.
12 unescape URL. 17 Don't unescape URL.
13 (dnd-get-local-file-name): Unescape URL on conversion to file name. 18 (dnd-get-local-file-name): Unescape URL on conversion to file name.
14 19
15 * x-dnd.el (x-dnd-handle-file-name): Encode and escape file names 20 * x-dnd.el (x-dnd-handle-file-name): Encode and escape file names
@@ -68,14 +73,14 @@
68 73
69 * emacs-lisp/ewoc.el (ewoc--adjust): New func. 74 * emacs-lisp/ewoc.el (ewoc--adjust): New func.
70 (ewoc--insert-new-node): Don't insert trailing newline. 75 (ewoc--insert-new-node): Don't insert trailing newline.
71 Instead, adjust succesor nodes' start markers. 76 Instead, adjust successor nodes's start markers.
72 (ewoc--refresh-node): Delete all text from current node's start 77 (ewoc--refresh-node): Delete all text from current node's start
73 marker to the next one's; adjust successor nodes' start markers. 78 marker to the next one's; adjust successor nodes's start markers.
74 (ewoc--create): Doc fixes. 79 (ewoc--create): Doc fixes.
75 (ewoc--refresh): Don't insert newline. 80 (ewoc--refresh): Don't insert newline.
76 (ewoc--set-hf): Use `ewoc--set-buffer-bind-dll-let*'. 81 (ewoc--set-hf): Use `ewoc--set-buffer-bind-dll-let*'.
77 * pcvs.el (cvs-make-cvs-buffer): Specify 82 * pcvs.el (cvs-make-cvs-buffer):
78 extra newline for ewoc's header and footer. 83 Specify extra newline for ewoc's header and footer.
79 (cvs-update-header): Update initial header recognition. 84 (cvs-update-header): Update initial header recognition.
80 Append newline to final header and footer values. 85 Append newline to final header and footer values.
81 * pcvs-info.el (cvs-fileinfo-pp): Insert trailing newline. 86 * pcvs-info.el (cvs-fileinfo-pp): Insert trailing newline.
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el
index d2e6cfc4ae4..bda30b196e1 100644
--- a/lisp/progmodes/gud.el
+++ b/lisp/progmodes/gud.el
@@ -3166,7 +3166,7 @@ class of the file (using s to separate nested class ids)."
3166(defvar gdb-script-font-lock-keywords 3166(defvar gdb-script-font-lock-keywords
3167 '(("^define\\s-+\\(\\(\\w\\|\\s_\\)+\\)" (1 font-lock-function-name-face)) 3167 '(("^define\\s-+\\(\\(\\w\\|\\s_\\)+\\)" (1 font-lock-function-name-face))
3168 ("\\$\\(\\w+\\)" (1 font-lock-variable-name-face)) 3168 ("\\$\\(\\w+\\)" (1 font-lock-variable-name-face))
3169 ("^\\s-*\\(\\(\\w\\|\\s_\\)+\\)" (1 font-lock-keyword-face)))) 3169 ("^\\s-*\\(\\w\\(\\w\\|\\s_\\)*\\)" (1 font-lock-keyword-face))))
3170 3170
3171;; FIXME: The keyword "end" associated with "document" 3171;; FIXME: The keyword "end" associated with "document"
3172;; should have font-lock-keyword-face (currently font-lock-doc-face). 3172;; should have font-lock-keyword-face (currently font-lock-doc-face).