aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2005-05-20 13:33:13 +0000
committerStefan Monnier2005-05-20 13:33:13 +0000
commit4e19eff09a43e290f20169b57e2b623d63a954f9 (patch)
treebad05ebdb2e801cd13d645a9c9b5afdb8cc38ecd
parentfe67016b3a575eacc0d12d7e14388fb77411d117 (diff)
downloademacs-4e19eff09a43e290f20169b57e2b623d63a954f9.tar.gz
emacs-4e19eff09a43e290f20169b57e2b623d63a954f9.zip
(vhdl-font-lock-match-item): Simplify regexp.
-rw-r--r--lisp/ChangeLog64
-rw-r--r--lisp/progmodes/vhdl-mode.el6
2 files changed, 37 insertions, 33 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8c7da4e15bd..38180a6ec96 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,12 @@
12005-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/vhdl-mode.el (vhdl-font-lock-match-item): Simplify regexp.
4
5 * progmodes/sh-script.el (sh-mode, sh-get-word): Minor regexp fixes.
6
7 * font-lock.el (lisp-font-lock-keywords-2): Don't error.
8 Minor regexp-optimization.
9
12005-05-20 Carsten Dominik <dominik@science.uva.nl> 102005-05-20 Carsten Dominik <dominik@science.uva.nl>
2 11
3 * textmodes/org.el (org-agenda-toggle-time-grid): New command. 12 * textmodes/org.el (org-agenda-toggle-time-grid): New command.
@@ -5,7 +14,7 @@
5 (org-agenda-add-time-grid-maybe): New function. 14 (org-agenda-add-time-grid-maybe): New function.
6 (org-agenda): Call `org-agenda-add-time-grid-maybe'. 15 (org-agenda): Call `org-agenda-add-time-grid-maybe'.
7 (org-table-create): `dotimes' instead of `mapcar'. 16 (org-table-create): `dotimes' instead of `mapcar'.
8 (org-xor): Simplified implementation. 17 (org-xor): Simplify implementation.
9 (org-agenda): `inhibit-redisplay' turned on. 18 (org-agenda): `inhibit-redisplay' turned on.
10 (org-agenda-change-all-lines): Use `org-format-agenda-item' to get 19 (org-agenda-change-all-lines): Use `org-format-agenda-item' to get
11 a consistent line after a state change. 20 a consistent line after a state change.
@@ -19,8 +28,7 @@
19 28
202005-05-20 Juanma Barranquero <lekktu@gmail.com> 292005-05-20 Juanma Barranquero <lekktu@gmail.com>
21 30
22 * subr.el (send-string, send-region): 31 * subr.el (send-string, send-region): Remove obsolescence declaration.
23 Remove obsolescence declaration.
24 (window-dot, set-window-dot, read-input, show-buffer) 32 (window-dot, set-window-dot, read-input, show-buffer)
25 (eval-current-buffer, string-to-int): 33 (eval-current-buffer, string-to-int):
26 Add release number to obsolescence declarations. 34 Add release number to obsolescence declarations.
@@ -157,8 +165,8 @@
157 165
1582005-05-18 Jay Belanger <belanger@truman.edu> 1662005-05-18 Jay Belanger <belanger@truman.edu>
159 167
160 * calc/calc-help.el (calc-s-prefix-help): Add 168 * calc/calc-help.el (calc-s-prefix-help):
161 `calc-copy-special-constant' to help string. 169 Add `calc-copy-special-constant' to help string.
162 170
1632005-05-18 Luc Teirlinck <teirllm@auburn.edu> 1712005-05-18 Luc Teirlinck <teirllm@auburn.edu>
164 172
@@ -171,8 +179,8 @@
171 179
1722005-05-18 Carsten Dominik <dominik@science.uva.nl> 1802005-05-18 Carsten Dominik <dominik@science.uva.nl>
173 181
174 * textmodes/reftex-vars.el (reftex-cite-format-builtin): Support 182 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
175 for jurabib. 183 Support for jurabib.
176 184
177 * textmodes/reftex.el (featurep): Define aliases for overlay 185 * textmodes/reftex.el (featurep): Define aliases for overlay
178 commands, for XEmacs compatibility, and use these aliases in 186 commands, for XEmacs compatibility, and use these aliases in
@@ -183,8 +191,8 @@
183 (reftex-access-search-path): Use `reftex-uniquify' instead of 191 (reftex-access-search-path): Use `reftex-uniquify' instead of
184 `reftex-uniq' 192 `reftex-uniq'
185 193
186 * textmodes/reftex-sel.el (reftex-select-unmark): Overlay 194 * textmodes/reftex-sel.el (reftex-select-unmark):
187 `before-string' property modification enables for Emacs as well. 195 Overlay `before-string' property modification enables for Emacs as well.
188 (reftex-select-item): Use `reftex-delete-overlay'. 196 (reftex-select-item): Use `reftex-delete-overlay'.
189 (reftex-select-mark): Use `reftex-make-overlay' and 197 (reftex-select-mark): Use `reftex-make-overlay' and
190 `reftex-overlay-put'. 198 `reftex-overlay-put'.
@@ -219,8 +227,7 @@
219 227
220 * progmodes/prolog.el (inferior-prolog-mode): Doc fix. 228 * progmodes/prolog.el (inferior-prolog-mode): Doc fix.
221 (prolog-consult-region): Replace `send-string' by 229 (prolog-consult-region): Replace `send-string' by
222 `process-send-string'; replace `send-region' by 230 `process-send-string'; replace `send-region' by `process-send-region'.
223 `process-send-region'.
224 231
225 * progmodes/delphi.el (delphi-log-msg): 232 * progmodes/delphi.el (delphi-log-msg):
226 Replace `set-window-dot' by `set-window-point'. 233 Replace `set-window-dot' by `set-window-point'.
@@ -251,8 +258,8 @@
251 loop. It should also be more efficient, because first it only 258 loop. It should also be more efficient, because first it only
252 searches for `:', instead of applying the very complex regexp. 259 searches for `:', instead of applying the very complex regexp.
253 (makefile-mode): Cancel `font-lock-support-mode', because blocks 260 (makefile-mode): Cancel `font-lock-support-mode', because blocks
254 to be fontified in one piece can be too long for JIT. Makefiles 261 to be fontified in one piece can be too long for JIT.
255 are never *that* big. 262 Makefiles are never *that* big.
256 263
2572005-05-17 Reiner Steib <Reiner.Steib@gmx.de> 2642005-05-17 Reiner Steib <Reiner.Steib@gmx.de>
258 265
@@ -278,8 +285,8 @@
278 285
2792005-05-16 Daniel Pfeiffer <occitan@esperanto.org> 2862005-05-16 Daniel Pfeiffer <occitan@esperanto.org>
280 287
281 * font-lock.el (lisp-font-lock-keywords-1): Set 288 * font-lock.el (lisp-font-lock-keywords-1):
282 `font-lock-negation-char-face' for [^...] char group. 289 Set `font-lock-negation-char-face' for [^...] char group.
283 (lisp-font-lock-keywords-2): Highlight regexp's \\( \\| \\). 290 (lisp-font-lock-keywords-2): Highlight regexp's \\( \\| \\).
284 291
285 * progmodes/make-mode.el (makefile-dependency-regex): Turn it into 292 * progmodes/make-mode.el (makefile-dependency-regex): Turn it into
@@ -293,11 +300,10 @@
293 might be the same one to be skipped by the initial [^$], leading 300 might be the same one to be skipped by the initial [^$], leading
294 to an overlooked variable use. 301 to an overlooked variable use.
295 (makefile-make-font-lock-keywords): Remove two parameters, which 302 (makefile-make-font-lock-keywords): Remove two parameters, which
296 are now variables that some of the modes set locally. Handle 303 are now variables that some of the modes set locally.
297 dependency and rule action matching through functions, because 304 Handle dependency and rule action matching through functions, because
298 regexps alone match too often. Dependency matching now comes 305 regexps alone match too often. Dependency matching now comes
299 last, so it can check, whether a colon already matched something 306 last, so it can check, whether a colon already matched something else.
300 else.
301 (makefile-mode): Inform that font-lock improves makefile parsing 307 (makefile-mode): Inform that font-lock improves makefile parsing
302 capabilities. 308 capabilities.
303 (makefile-match-dependency, makefile-match-action): New functions. 309 (makefile-match-dependency, makefile-match-action): New functions.
@@ -382,8 +388,8 @@
382 (reftex-bib-sort-year-reverse, reftex-format-citation): 388 (reftex-bib-sort-year-reverse, reftex-format-citation):
383 * textmodes/reftex-parse.el (reftex-init-section-numbers) 389 * textmodes/reftex-parse.el (reftex-init-section-numbers)
384 (reftex-section-number): 390 (reftex-section-number):
385 * textmodes/texinfmt.el (texinfo-paragraphindent): Replace 391 * textmodes/texinfmt.el (texinfo-paragraphindent):
386 `string-to-int' by `string-to-number'. 392 Replace `string-to-int' by `string-to-number'.
387 393
388 * international/latexenc.el: Add page marker to force the "Local 394 * international/latexenc.el: Add page marker to force the "Local
389 Variables:" string out of the last page. 395 Variables:" string out of the last page.
@@ -491,23 +497,22 @@
491 (tramp-pre-connection): Add parameter CHUNKSIZE. Make local 497 (tramp-pre-connection): Add parameter CHUNKSIZE. Make local
492 variable `tramp-chunksize'. Change callees. 498 variable `tramp-chunksize'. Change callees.
493 (tramp-open-connection-setup-interactive-shell): Check remote host 499 (tramp-open-connection-setup-interactive-shell): Check remote host
494 for buggy `send-process-string' implementation. Set 500 for buggy `send-process-string' implementation.
495 `tramp-chunksize' if found. Reported by Michael Kifer 501 Set `tramp-chunksize' if found. Reported by Michael Kifer
496 <kifer@cs.sunysb.edu> (and a lot of other people all the years). 502 <kifer@cs.sunysb.edu> (and a lot of other people all the years).
497 (tramp-handle-shell-command): `insert-buffer' cannot be used 503 (tramp-handle-shell-command): `insert-buffer' cannot be used
498 because the contents of the Tramp buffer is changed before 504 because the contents of the Tramp buffer is changed before
499 insertion (`expand-file' and alike). Reported by Fr,Ai(Bd,Ai(Bric Bothamy 505 insertion (`expand-file' and alike). Reported by Fr,Ai(Bd,Ai(Bric Bothamy
500 <frederic.bothamy@free.fr>. 506 <frederic.bothamy@free.fr>.
501 (tramp-set-auto-save): Actions should be done for Tramp file name 507 (tramp-set-auto-save): Actions should be done for Tramp file name
502 handler only. Ange-FTP has its own auto-save mechanism. Reported 508 handler only. Ange-FTP has its own auto-save mechanism.
503 by Richard G. Bielawski <Richard.G.Bielawski@wellsfargo.com>. 509 Reported by Richard G. Bielawski <Richard.G.Bielawski@wellsfargo.com>.
504 (tramp-set-auto-save-file-modes): Set file modes of 510 (tramp-set-auto-save-file-modes): Set file modes of
505 `buffer-auto-save-file-name' to ?\600 as fallback solution. 511 `buffer-auto-save-file-name' to ?\600 as fallback solution.
506 Reported by Ferenc Wagner <wferi@tba.elte.hu>. 512 Reported by Ferenc Wagner <wferi@tba.elte.hu>.
507 (tramp-bug): Remove obsolete variable. 513 (tramp-bug): Remove obsolete variable.
508 (tramp-append-tramp-buffers): Rewrite partly. More suitable check 514 (tramp-append-tramp-buffers): Rewrite partly. More suitable check
509 for presence of `mml-mode'. Make it running for older Emacsen as 515 for presence of `mml-mode'. Make it running for older Emacsen as well.
510 well.
511 516
5122005-05-14 John Paul Wallington <jpw@pobox.com> 5172005-05-14 John Paul Wallington <jpw@pobox.com>
513 518
@@ -559,15 +564,14 @@
559 564
5602005-05-13 Matt Hodges <MPHodges@member.fsf.org> 5652005-05-13 Matt Hodges <MPHodges@member.fsf.org>
561 566
562 * tmm.el (tmm-get-keymap): Include only active menus and menu 567 * tmm.el (tmm-get-keymap): Include only active menus and menu items.
563 items.
564 568
565 * emacs-lisp/easymenu.el (easy-menu-define): Doc fixes. 569 * emacs-lisp/easymenu.el (easy-menu-define): Doc fixes.
566 570
5672005-05-13 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 5712005-05-13 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
568 572
569 * dired.el (dired-mode): make-variable-buffer-local => 573 * dired.el (dired-mode): make-variable-buffer-local =>
570 make-local-variable 574 make-local-variable.
571 575
5722005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 5762005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
573 577
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el
index 12f04895f98..f840ef356d9 100644
--- a/lisp/progmodes/vhdl-mode.el
+++ b/lisp/progmodes/vhdl-mode.el
@@ -12364,8 +12364,8 @@ File statistics: \"%s\"\n\
12364 (save-match-data 12364 (save-match-data
12365 (goto-char (match-end 1)) 12365 (goto-char (match-end 1))
12366 ;; move to next item 12366 ;; move to next item
12367 (if (looking-at "\\(\\s-*,\\)") 12367 (if (looking-at "\\s-*,")
12368 (goto-char (match-end 1)) 12368 (goto-char (match-end 0))
12369 (end-of-line) t)))) 12369 (end-of-line) t))))
12370 (error t))) 12370 (error t)))
12371 12371
@@ -12736,7 +12736,7 @@ This does background highlighting of translate-off regions.")
12736 '(font-lock-syntactic-keywords . vhdl-font-lock-syntactic-keywords))) 12736 '(font-lock-syntactic-keywords . vhdl-font-lock-syntactic-keywords)))
12737 (when (fboundp 'font-lock-unset-defaults) 12737 (when (fboundp 'font-lock-unset-defaults)
12738 (font-lock-unset-defaults)) ; not implemented in XEmacs 12738 (font-lock-unset-defaults)) ; not implemented in XEmacs
12739 (font-lock-set-defaults) 12739 (font-lock-set-defaults) ;What for? --Stef
12740 (font-lock-mode nil) 12740 (font-lock-mode nil)
12741 (font-lock-mode t)) 12741 (font-lock-mode t))
12742 12742