diff options
| author | Kim F. Storm | 2006-05-24 14:38:44 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-05-24 14:38:44 +0000 |
| commit | 55b76f19f3f849a4a843c6919c8558239eb2c5b7 (patch) | |
| tree | ad2de7f235924fe5619e7baa0f8a6c93b94e7643 | |
| parent | 4721e4481fe7e0a5a58d1a377071b6d153405889 (diff) | |
| download | emacs-55b76f19f3f849a4a843c6919c8558239eb2c5b7.tar.gz emacs-55b76f19f3f849a4a843c6919c8558239eb2c5b7.zip | |
Restore contents after major mess-up in 2006-05-24T13:51:11Z!acm@muc.de.
| -rw-r--r-- | lisp/ChangeLog | 477 |
1 files changed, 221 insertions, 256 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7edd7b944ab..3fbf773fa7f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -948,9 +948,6 @@ | |||
| 948 | 948 | ||
| 949 | 2006-04-29 Dan Nicolaescu <dann@ics.uci.edu> | 949 | 2006-04-29 Dan Nicolaescu <dann@ics.uci.edu> |
| 950 | 950 | ||
| 951 | * jit-lock.el (jit-lock-function): Check jit-lock-defer-timer is | ||
| 952 | active before setting 'fontified to 'defer. | ||
| 953 | |||
| 954 | * help-fns.el (describe-variable): Add info about safe local variables. | 951 | * help-fns.el (describe-variable): Add info about safe local variables. |
| 955 | 952 | ||
| 956 | 2006-04-29 Richard Stallman <rms@gnu.org> | 953 | 2006-04-29 Richard Stallman <rms@gnu.org> |
| @@ -2216,8 +2213,8 @@ | |||
| 2216 | (ido-unc-hosts): New user option to explicitly define list of know | 2213 | (ido-unc-hosts): New user option to explicitly define list of know |
| 2217 | UNC-style hosts for completion. | 2214 | UNC-style hosts for completion. |
| 2218 | (ido-cache-unc-host-shares-time): New user option. | 2215 | (ido-cache-unc-host-shares-time): New user option. |
| 2219 | (ido-is-unc-root, ido-is-unc-host, ido-cache-unc-valid): New | 2216 | (ido-is-unc-root, ido-is-unc-host, ido-cache-unc-valid): |
| 2220 | helper functions for UNC file-name support. | 2217 | New helper functions for UNC file-name support. |
| 2221 | (ido-may-cache-directory): Check for UNC host. Simplify. | 2218 | (ido-may-cache-directory): Check for UNC host. Simplify. |
| 2222 | (ido-wash-history): Clean out old UNC hosts. | 2219 | (ido-wash-history): Clean out old UNC hosts. |
| 2223 | (ido-nonreadable-directory-p): UNC hosts are always readable. | 2220 | (ido-nonreadable-directory-p): UNC hosts are always readable. |
| @@ -2275,7 +2272,7 @@ | |||
| 2275 | (gdb-force-mode-line-update): New function. | 2272 | (gdb-force-mode-line-update): New function. |
| 2276 | (gdb-resync, gdb-starting, gdb-signal, gdb-exited, gdb-stopped) | 2273 | (gdb-resync, gdb-starting, gdb-signal, gdb-exited, gdb-stopped) |
| 2277 | (gdb-exited): Use them. | 2274 | (gdb-exited): Use them. |
| 2278 | (gdb-signal): New fuction. | 2275 | (gdb-signal): New function. |
| 2279 | (gdb-annotation-rules): Provide a rule for it. | 2276 | (gdb-annotation-rules): Provide a rule for it. |
| 2280 | 2277 | ||
| 2281 | 2006-03-16 Kenichi Handa <handa@m17n.org> | 2278 | 2006-03-16 Kenichi Handa <handa@m17n.org> |
| @@ -2311,7 +2308,7 @@ | |||
| 2311 | 2006-03-15 Bill Wohler <wohler@newt.com> | 2308 | 2006-03-15 Bill Wohler <wohler@newt.com> |
| 2312 | 2309 | ||
| 2313 | * image.el (image-load-path-for-library): Fix example by not | 2310 | * image.el (image-load-path-for-library): Fix example by not |
| 2314 | recommending that one binds image-load-path. Just defvar it to | 2311 | recommending that one binds image-load-path. Just defvar it to |
| 2315 | placate compiler and only use it if previously defined. | 2312 | placate compiler and only use it if previously defined. |
| 2316 | 2313 | ||
| 2317 | 2006-03-15 Carsten Dominik <dominik@science.uva.nl> | 2314 | 2006-03-15 Carsten Dominik <dominik@science.uva.nl> |
| @@ -2352,8 +2349,8 @@ | |||
| 2352 | 2349 | ||
| 2353 | * progmodes/gdb-ui.el (gdb-var-list): Change order of first two | 2350 | * progmodes/gdb-ui.el (gdb-var-list): Change order of first two |
| 2354 | elements. | 2351 | elements. |
| 2355 | (gdb-find-watch-expression): Make it work for arrays too. Follow | 2352 | (gdb-find-watch-expression): Make it work for arrays too. |
| 2356 | change to gdb-var-list. | 2353 | Follow change to gdb-var-list. |
| 2357 | (gud-watch): Allow the user to enter variable name with a prexix | 2354 | (gud-watch): Allow the user to enter variable name with a prexix |
| 2358 | arg. Create keybindings. | 2355 | arg. Create keybindings. |
| 2359 | (gdb-var-create-handler, gdb-var-evaluate-expression-handler) | 2356 | (gdb-var-create-handler, gdb-var-evaluate-expression-handler) |
| @@ -2361,8 +2358,7 @@ | |||
| 2361 | (gdb-var-delete, gdb-edit-value, gdb-speedbar-expand-node) | 2358 | (gdb-var-delete, gdb-edit-value, gdb-speedbar-expand-node) |
| 2362 | (gdb-var-list-children-handler-1, gdb-var-update-handler-1): | 2359 | (gdb-var-list-children-handler-1, gdb-var-update-handler-1): |
| 2363 | Follow change to gdb-var-list. | 2360 | Follow change to gdb-var-list. |
| 2364 | (gdb-starting): Don't show the overlay arrows when program is | 2361 | (gdb-starting): Don't show the overlay arrows when program is running. |
| 2365 | running. | ||
| 2366 | 2362 | ||
| 2367 | * progmodes/gud.el (gud-speedbar-buttons): Follow change to | 2363 | * progmodes/gud.el (gud-speedbar-buttons): Follow change to |
| 2368 | gdb-var-list. | 2364 | gdb-var-list. |
| @@ -2370,21 +2366,21 @@ | |||
| 2370 | 2006-03-14 Bill Wohler <wohler@newt.com> | 2366 | 2006-03-14 Bill Wohler <wohler@newt.com> |
| 2371 | 2367 | ||
| 2372 | * image.el (image-load-path-for-library): Pass value of path | 2368 | * image.el (image-load-path-for-library): Pass value of path |
| 2373 | rather than symbol. Always return list of directories. Guarantee | 2369 | rather than symbol. Always return list of directories. |
| 2374 | that image directory comes first. | 2370 | Guarantee that image directory comes first. |
| 2375 | 2371 | ||
| 2376 | 2006-03-14 Alan Mackenzie <acm@muc.de> | 2372 | 2006-03-14 Alan Mackenzie <acm@muc.de> |
| 2377 | 2373 | ||
| 2378 | * font-core.el: New function/variable | 2374 | * font-core.el (font-lock-extend-region\(-function\)?.): |
| 2379 | font-lock-extend-region\(-function\)?. | 2375 | New function/variable. |
| 2380 | 2376 | ||
| 2381 | * font-lock.el (font-lock-after-change-function): Call | 2377 | * font-lock.el (font-lock-after-change-function): |
| 2382 | font-lock-extend-region. Obey font-lock-lines-before. | 2378 | Call font-lock-extend-region. Obey font-lock-lines-before. |
| 2383 | (font-lock-default-fontify-region): Remove reference to | 2379 | (font-lock-default-fontify-region): Remove reference to |
| 2384 | font-lock-lines-before. | 2380 | font-lock-lines-before. |
| 2385 | 2381 | ||
| 2386 | * jit-lock.el (jit-lock-after-change): Call | 2382 | * jit-lock.el (jit-lock-after-change): |
| 2387 | font-lock-extend-region. Obey font-lock-lines-before. | 2383 | Call font-lock-extend-region. Obey font-lock-lines-before. |
| 2388 | 2384 | ||
| 2389 | 2006-03-14 David Ponce <david@dponce.com> | 2385 | 2006-03-14 David Ponce <david@dponce.com> |
| 2390 | 2386 | ||
| @@ -2411,8 +2407,8 @@ | |||
| 2411 | themes sub-directory found in tree-widget-themes-load-path. | 2407 | themes sub-directory found in tree-widget-themes-load-path. |
| 2412 | (tree-widget-themes-directory, tree-widget-theme): Doc fix. | 2408 | (tree-widget-themes-directory, tree-widget-theme): Doc fix. |
| 2413 | (tree-widget--locate-sub-directory): Return all occurrences. | 2409 | (tree-widget--locate-sub-directory): Return all occurrences. |
| 2414 | (tree-widget-themes-path): New function. Replace | 2410 | (tree-widget-themes-path): New function. |
| 2415 | tree-widget-themes-directory, and return a list of directories. | 2411 | Replace tree-widget-themes-directory, and return a list of directories. |
| 2416 | (tree-widget-set-parent-theme) | 2412 | (tree-widget-set-parent-theme) |
| 2417 | (tree-widget-lookup-image): Use it. | 2413 | (tree-widget-lookup-image): Use it. |
| 2418 | 2414 | ||
| @@ -2557,8 +2553,8 @@ | |||
| 2557 | 2553 | ||
| 2558 | 2006-03-07 Chong Yidong <cyd@stupidchicken.com> | 2554 | 2006-03-07 Chong Yidong <cyd@stupidchicken.com> |
| 2559 | 2555 | ||
| 2560 | * files.el (hack-local-variables-confirm): Set | 2556 | * files.el (hack-local-variables-confirm): |
| 2561 | coding-system-for-read to nil before writing to .emacs. | 2557 | Set coding-system-for-read to nil before writing to .emacs. |
| 2562 | 2558 | ||
| 2563 | * arc-mode.el (archive-extract): Check if an existing buffer name | 2559 | * arc-mode.el (archive-extract): Check if an existing buffer name |
| 2564 | comes from a different archive. | 2560 | comes from a different archive. |
| @@ -2580,8 +2576,8 @@ | |||
| 2580 | 2576 | ||
| 2581 | 2006-03-07 Carsten Dominik <dominik@science.uva.nl> | 2577 | 2006-03-07 Carsten Dominik <dominik@science.uva.nl> |
| 2582 | 2578 | ||
| 2583 | * textmodes/org.el: Move defvars out of eval-when-compile. Use | 2579 | * textmodes/org.el: Move defvars out of eval-when-compile. |
| 2584 | buffer-file-name variable. | 2580 | Use buffer-file-name variable. |
| 2585 | (org-agenda-file-to-end, org-agenda-file-to-front): Remove unused | 2581 | (org-agenda-file-to-end, org-agenda-file-to-front): Remove unused |
| 2586 | arg `file'. | 2582 | arg `file'. |
| 2587 | (org-level-faces): Remove startup dependency. | 2583 | (org-level-faces): Remove startup dependency. |
| @@ -2596,8 +2592,7 @@ | |||
| 2596 | (org-tag): New face. | 2592 | (org-tag): New face. |
| 2597 | (org-get-level-face): New function. | 2593 | (org-get-level-face): New function. |
| 2598 | (org-set-font-lock-defaults): Simplify setup for headlines. | 2594 | (org-set-font-lock-defaults): Simplify setup for headlines. |
| 2599 | (org-complete): Pass common substring to | 2595 | (org-complete): Pass common substring to `display-completion-list'. |
| 2600 | `display-completion-list'. | ||
| 2601 | 2596 | ||
| 2602 | 2006-03-06 David Ponce <david@dponce.com> | 2597 | 2006-03-06 David Ponce <david@dponce.com> |
| 2603 | 2598 | ||
| @@ -2769,9 +2764,8 @@ | |||
| 2769 | 2764 | ||
| 2770 | * t-mouse.el: New file. | 2765 | * t-mouse.el: New file. |
| 2771 | (t-mouse-tty): Use with-temp-buffer. Add more terminal types. | 2766 | (t-mouse-tty): Use with-temp-buffer. Add more terminal types. |
| 2772 | (t-mouse-lispy-buffer-posn-from-coords): Remove. Use the C | 2767 | (t-mouse-lispy-buffer-posn-from-coords): Remove. |
| 2773 | primitive... | 2768 | (t-mouse-make-event-element): Use posn-at-x-y instead. |
| 2774 | (t-mouse-make-event-element): ...posn-at-x-y instead. | ||
| 2775 | (t-mouse-make-event): Deal with Fedora Core 3. | 2769 | (t-mouse-make-event): Deal with Fedora Core 3. |
| 2776 | (t-mouse-make-event): Don't sink the `stupid text mode menubar'. | 2770 | (t-mouse-make-event): Don't sink the `stupid text mode menubar'. |
| 2777 | (t-mouse-mouse-position-function): New function. Use it instead | 2771 | (t-mouse-mouse-position-function): New function. Use it instead |
| @@ -2804,8 +2798,7 @@ | |||
| 2804 | * textmodes/reftex-index.el (reftex-index-map): Add `follow-mouse' | 2798 | * textmodes/reftex-index.el (reftex-index-map): Add `follow-mouse' |
| 2805 | binding. | 2799 | binding. |
| 2806 | 2800 | ||
| 2807 | * textmodes/reftex-toc.el (reftex-toc-map): Add `follow-mouse' | 2801 | * textmodes/reftex-toc.el (reftex-toc-map): Add `follow-mouse' binding. |
| 2808 | binding. | ||
| 2809 | 2802 | ||
| 2810 | * textmodes/reftex-sel.el (reftex-select-label-map) | 2803 | * textmodes/reftex-sel.el (reftex-select-label-map) |
| 2811 | (reftex-select-bib-map): Add `follow-mouse' binding. | 2804 | (reftex-select-bib-map): Add `follow-mouse' binding. |
| @@ -2984,7 +2977,7 @@ | |||
| 2984 | (org-format-org-table-html, org-format-table-table-html): | 2977 | (org-format-org-table-html, org-format-table-table-html): |
| 2985 | Fix typos in docstrings. | 2978 | Fix typos in docstrings. |
| 2986 | 2979 | ||
| 2987 | 12006-02-23 Carsten Dominik <dominik@science.uva.nl> | 2980 | 2006-02-23 Carsten Dominik <dominik@science.uva.nl> |
| 2988 | 2981 | ||
| 2989 | * textmodes/org.el (org-cleaned-string-for-export) | 2982 | * textmodes/org.el (org-cleaned-string-for-export) |
| 2990 | (org-solidify-link-text): New function. | 2983 | (org-solidify-link-text): New function. |
| @@ -4282,7 +4275,7 @@ | |||
| 4282 | (vc-default-update-changelog): Don't use vc-user-login-name, we | 4275 | (vc-default-update-changelog): Don't use vc-user-login-name, we |
| 4283 | don't need it here. | 4276 | don't need it here. |
| 4284 | 4277 | ||
| 4285 | * tramp-vc.el (vc-user-login-name): Comment out defadvice, it is | 4278 | * net/tramp-vc.el (vc-user-login-name): Comment out defadvice, it is |
| 4286 | no longer necessary. | 4279 | no longer necessary. |
| 4287 | 4280 | ||
| 4288 | 2006-01-25 Kenichi Handa <handa@m17n.org> | 4281 | 2006-01-25 Kenichi Handa <handa@m17n.org> |
| @@ -5779,7 +5772,7 @@ | |||
| 5779 | display-multi-frame-p, use selected-frame when menu-updating-frame | 5772 | display-multi-frame-p, use selected-frame when menu-updating-frame |
| 5780 | is nil. | 5773 | is nil. |
| 5781 | 5774 | ||
| 5782 | 2005-12-20 Davis Herring <herring@lanl.gov> (tiny change) | 5775 | 2005-12-20 Stuart Herring <herring@lanl.gov> (tiny change) |
| 5783 | 5776 | ||
| 5784 | * align.el (align-rules-list): Use [ \t] instead of \s- | 5777 | * align.el (align-rules-list): Use [ \t] instead of \s- |
| 5785 | for column separators in text mode. | 5778 | for column separators in text mode. |
| @@ -6383,20 +6376,20 @@ | |||
| 6383 | CC Mode update to 5.31. | 6376 | CC Mode update to 5.31. |
| 6384 | 6377 | ||
| 6385 | * progmodes/cc-subword.el: Add a dummy `c-subword-mode' for | 6378 | * progmodes/cc-subword.el: Add a dummy `c-subword-mode' for |
| 6386 | Emacsen which lack `define-minor-mode'. (Currently Emacs <21. We | 6379 | Emacsen which lack `define-minor-mode'. (Currently Emacs <21. |
| 6387 | might do this function properly in the future). | 6380 | We might do this function properly in the future). |
| 6388 | 6381 | ||
| 6389 | * progmodes/cc-cmds.el, cc-defs.el, cc-styles.el, cc-vars.el: New | 6382 | * progmodes/cc-cmds.el, cc-defs.el, cc-styles.el, cc-vars.el: |
| 6390 | macros c-sentence-end and c-default-value-sentence end, to cope | 6383 | New macros c-sentence-end and c-default-value-sentence end, to cope |
| 6391 | with Emacs 22's new function `sentence-end'. | 6384 | with Emacs 22's new function `sentence-end'. |
| 6392 | 6385 | ||
| 6393 | 2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org> | 6386 | 2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org> |
| 6394 | 6387 | ||
| 6395 | * progmodes/cc-cmds.el (c-show-syntactic-information): Solved the | 6388 | * progmodes/cc-cmds.el (c-show-syntactic-information): Solve the |
| 6396 | compat issue using `c-put-overlay' and `c-delete-overlay'. | 6389 | compat issue using `c-put-overlay' and `c-delete-overlay'. |
| 6397 | 6390 | ||
| 6398 | * progmodes/cc-defs.el (c-put-overlay, c-delete-overlay): New | 6391 | * progmodes/cc-defs.el (c-put-overlay, c-delete-overlay): |
| 6399 | compat macros to handle overlays/extents. | 6392 | New compat macros to handle overlays/extents. |
| 6400 | 6393 | ||
| 6401 | 2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org> | 6394 | 2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org> |
| 6402 | 6395 | ||
| @@ -6417,20 +6410,19 @@ | |||
| 6417 | 6410 | ||
| 6418 | 2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org> | 6411 | 2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org> |
| 6419 | 6412 | ||
| 6420 | * progmodes/cc-fonts.el (c-make-syntactic-matcher): New internal | 6413 | * progmodes/cc-fonts.el (c-make-syntactic-matcher): |
| 6421 | helper. | 6414 | New internal helper. |
| 6422 | 6415 | ||
| 6423 | (c-cpp-matchers, c-basic-matchers-before): Use the `eval' | 6416 | (c-cpp-matchers, c-basic-matchers-before): Use the `eval' |
| 6424 | construct to make the indirect face lookup work in XEmacs. | 6417 | construct to make the indirect face lookup work in XEmacs. |
| 6425 | 6418 | ||
| 6426 | (c-cpp-matchers): Append the negation char face to the existing | 6419 | (c-cpp-matchers): Append the negation char face to the existing |
| 6427 | fontification, so that the cpp face doesn't disappear. Use | 6420 | fontification, so that the cpp face doesn't disappear. |
| 6428 | `c-make-syntactic-matcher' to avoid negation chars in comments and | 6421 | Use `c-make-syntactic-matcher' to avoid negation chars in comments |
| 6429 | strings. | 6422 | and strings. |
| 6430 | 6423 | ||
| 6431 | * progmodes/cc-fonts.el (c-negation-char-face-name): New variable | 6424 | * progmodes/cc-fonts.el (c-negation-char-face-name): New variable |
| 6432 | to map to `font-lock-negation-char-face' in emacsen where it | 6425 | to map to `font-lock-negation-char-face' in emacsen where it exists. |
| 6433 | exists. | ||
| 6434 | 6426 | ||
| 6435 | 2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org> | 6427 | 2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org> |
| 6436 | 6428 | ||
| @@ -6453,18 +6445,17 @@ | |||
| 6453 | (i) Insert a binding for C-c C-backspace into | 6445 | (i) Insert a binding for C-c C-backspace into |
| 6454 | c-bind-special-erase-keys which works in TTYs. | 6446 | c-bind-special-erase-keys which works in TTYs. |
| 6455 | (ii) Make sure that when file styles are used, any explicitly | 6447 | (ii) Make sure that when file styles are used, any explicitly |
| 6456 | given style variables take priority over those in the style. Do | 6448 | given style variables take priority over those in the style. |
| 6457 | this by calling `hack-local-variables' a second time. | 6449 | Do this by calling `hack-local-variables' a second time. |
| 6458 | 6450 | ||
| 6459 | * progmodes/cc-vars.el: Add language specific customization | 6451 | * progmodes/cc-vars.el: Add language specific customization |
| 6460 | widgets for AWK to c-doc-comment-style, c-require-final-newline | 6452 | widgets for AWK to c-doc-comment-style, c-require-final-newline |
| 6461 | and c-default-style. Add a defcustom for awk-mode-hook. Give | 6453 | and c-default-style. Add a defcustom for awk-mode-hook. |
| 6462 | c-syntactic-element and c-syntactic-context doc-strings by | 6454 | Give c-syntactic-element and c-syntactic-context doc-strings by |
| 6463 | directly setting their `variable-documentation' propery. This | 6455 | directly setting their `variable-documentation' propery. |
| 6464 | allows Emacs 22.1 to read these with C-h v. | 6456 | This allows Emacs 22.1 to read these with C-h v. |
| 6465 | 6457 | ||
| 6466 | * progmodes/cc-awk.el: Apply a tidy-up patch (from Stefan | 6458 | * progmodes/cc-awk.el: Apply a tidy-up patch (from Stefan Monnier). |
| 6467 | Monnier). | ||
| 6468 | 6459 | ||
| 6469 | 2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org> | 6460 | 2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org> |
| 6470 | 6461 | ||
| @@ -6490,8 +6481,8 @@ | |||
| 6490 | * progmodes/cc-mode.el: Give c-hungry-backspace and | 6481 | * progmodes/cc-mode.el: Give c-hungry-backspace and |
| 6491 | c-hungry-delete-forward permanent key bindings. | 6482 | c-hungry-delete-forward permanent key bindings. |
| 6492 | 6483 | ||
| 6493 | * progmodes/cc-cmds.el (c-electric-semi&comma): Bind | 6484 | * progmodes/cc-cmds.el (c-electric-semi&comma): |
| 6494 | c-syntactic-context for calls to "criteria functions", for | 6485 | Bind c-syntactic-context for calls to "criteria functions", for |
| 6495 | consistency with other calls to user functions. | 6486 | consistency with other calls to user functions. |
| 6496 | 6487 | ||
| 6497 | * progmodes/cc-cmds.el (c-indent-command): Expunge use of | 6488 | * progmodes/cc-cmds.el (c-indent-command): Expunge use of |
| @@ -6505,7 +6496,7 @@ | |||
| 6505 | 6496 | ||
| 6506 | 2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org> | 6497 | 2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org> |
| 6507 | 6498 | ||
| 6508 | * progmodes/cc-engine.el (c-on-identifier): Fixed bug when at the | 6499 | * progmodes/cc-engine.el (c-on-identifier): Fix bug when at the |
| 6509 | first char of an identifier. | 6500 | first char of an identifier. |
| 6510 | 6501 | ||
| 6511 | * progmodes/cc-engine.el (c-on-identifier): Handle the "operator | 6502 | * progmodes/cc-engine.el (c-on-identifier): Handle the "operator |
| @@ -6530,14 +6521,14 @@ | |||
| 6530 | 2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org> | 6521 | 2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org> |
| 6531 | 6522 | ||
| 6532 | * progmodes/cc-fonts.el (c-cpp-matchers, c-basic-matchers-before): | 6523 | * progmodes/cc-fonts.el (c-cpp-matchers, c-basic-matchers-before): |
| 6533 | Incorporated the patterns added in the Emacs development branch | 6524 | Incorporate the patterns added in the Emacs development branch |
| 6534 | for the new Emacs 22 face `font-lock-negation-char-face'. | 6525 | for the new Emacs 22 face `font-lock-negation-char-face'. |
| 6535 | 6526 | ||
| 6536 | * progmodes/cc-fonts.el (c-invalid-face-name): Use "red1" instead | 6527 | * progmodes/cc-fonts.el (c-invalid-face-name): Use "red1" instead |
| 6537 | of "red" since it stands out better in xterms and DOS terminals. | 6528 | of "red" since it stands out better in xterms and DOS terminals. |
| 6538 | 6529 | ||
| 6539 | * progmodes/cc-engine.el (c-literal-faces): Added | 6530 | * progmodes/cc-engine.el (c-literal-faces): |
| 6540 | `font-lock-comment-delimiter-face' which is new in Emacs 22. | 6531 | Add `font-lock-comment-delimiter-face' which is new in Emacs 22. |
| 6541 | 6532 | ||
| 6542 | 2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org> | 6533 | 2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org> |
| 6543 | 6534 | ||
| @@ -6545,14 +6536,13 @@ | |||
| 6545 | forcibly enable c-electric-flag. | 6536 | forcibly enable c-electric-flag. |
| 6546 | 6537 | ||
| 6547 | * progmodes/cc-vars.el, cc-cmds.el: New clean-up | 6538 | * progmodes/cc-vars.el, cc-cmds.el: New clean-up |
| 6548 | `comment-close-slash' on c-electric-slash: if enabled, typing `/' | 6539 | `comment-close-slash' on c-electric-slash: if enabled, typing `/' just |
| 6549 | just after the comment-prefix of a C-style comment will close that | 6540 | after the comment-prefix of a C-style comment will close that comment. |
| 6550 | comment. | ||
| 6551 | 6541 | ||
| 6552 | 2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org> | 6542 | 2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org> |
| 6553 | 6543 | ||
| 6554 | * progmodes/cc-fonts.el (c-basic-matchers-before) | 6544 | * progmodes/cc-fonts.el (c-basic-matchers-before) |
| 6555 | (c-complex-decl-matchers): Fixed the "not-arrow-prefix" regexp used | 6545 | (c-complex-decl-matchers): Fix the "not-arrow-prefix" regexp used |
| 6556 | in Pike. | 6546 | in Pike. |
| 6557 | 6547 | ||
| 6558 | * progmodes/cc-langs.el (c-other-op-syntax-tokens): Only C++ has | 6548 | * progmodes/cc-langs.el (c-other-op-syntax-tokens): Only C++ has |
| @@ -6561,10 +6551,10 @@ | |||
| 6561 | * progmodes/cc-fonts.el, cc-langs.el, cc-engine.el | 6551 | * progmodes/cc-fonts.el, cc-langs.el, cc-engine.el |
| 6562 | (c-cpp-message-directives, c-cpp-include-directives) | 6552 | (c-cpp-message-directives, c-cpp-include-directives) |
| 6563 | (c-opt-cpp-macro-define, c-opt-cpp-macro-define-start) | 6553 | (c-opt-cpp-macro-define, c-opt-cpp-macro-define-start) |
| 6564 | (c-cpp-expr-directives): Introduced new language constants to | 6554 | (c-cpp-expr-directives): Introduce new language constants to |
| 6565 | control cpp syntax in a cleaner way. | 6555 | control cpp syntax in a cleaner way. |
| 6566 | 6556 | ||
| 6567 | (c-cpp-expr-functions): Renamed from c-cpp-defined-fns. | 6557 | (c-cpp-expr-functions): Rename from c-cpp-defined-fns. |
| 6568 | 6558 | ||
| 6569 | (c-cpp-matchers, c-forward-to-cpp-define-body): Use them. | 6559 | (c-cpp-matchers, c-forward-to-cpp-define-body): Use them. |
| 6570 | 6560 | ||
| @@ -6596,22 +6586,21 @@ | |||
| 6596 | (c-guess-basic-syntax): Handle C++ operator identifiers in | 6586 | (c-guess-basic-syntax): Handle C++ operator identifiers in |
| 6597 | declarations. | 6587 | declarations. |
| 6598 | 6588 | ||
| 6599 | * progmodes/cc-langs.el (c-assignment-operators): Added the | 6589 | * progmodes/cc-langs.el (c-assignment-operators): Add the |
| 6600 | trigraph version of ^= too. | 6590 | trigraph version of ^= too. |
| 6601 | 6591 | ||
| 6602 | * progmodes/cc-langs.el (c-assignment-operators): Added the | 6592 | * progmodes/cc-langs.el (c-assignment-operators): Add the |
| 6603 | trigraph version of |= in C++. | 6593 | trigraph version of |= in C++. |
| 6604 | 6594 | ||
| 6605 | * progmodes/cc-fonts.el (c-font-lock-declarators): Handle | 6595 | * progmodes/cc-fonts.el (c-font-lock-declarators): |
| 6606 | `c-decl-hangon-kwds' after the identifier name. | 6596 | Handle `c-decl-hangon-kwds' after the identifier name. |
| 6607 | 6597 | ||
| 6608 | * progmodes/cc-engine.el (c-guess-basic-syntax): When deciding | 6598 | * progmodes/cc-engine.el (c-guess-basic-syntax): When deciding |
| 6609 | whether an arglist is "nonempty", ignore a comment after the open | 6599 | whether an arglist is "nonempty", ignore a comment after the open |
| 6610 | paren if it isn't followed by a non-comment token on the same | 6600 | paren if it isn't followed by a non-comment token on the same line. |
| 6611 | line. | ||
| 6612 | 6601 | ||
| 6613 | * progmodes/cc-engine.el (c-guess-basic-syntax): Case 4: Enable | 6602 | * progmodes/cc-engine.el (c-guess-basic-syntax): Case 4: |
| 6614 | heuristics below the point to cope with classes inside special | 6603 | Enable heuristics below the point to cope with classes inside special |
| 6615 | brace lists in Pike. | 6604 | brace lists in Pike. |
| 6616 | 6605 | ||
| 6617 | 2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org> | 6606 | 2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org> |
| @@ -6650,12 +6639,11 @@ | |||
| 6650 | * progmodes/cc-cmds.el: Add `c-bytecomp-defun's for | 6639 | * progmodes/cc-cmds.el: Add `c-bytecomp-defun's for |
| 6651 | c-\(forward\|backward\)-subword. | 6640 | c-\(forward\|backward\)-subword. |
| 6652 | (c-update-modeline): Add the new modeline flag `l' for | 6641 | (c-update-modeline): Add the new modeline flag `l' for |
| 6653 | `c-electric-flag'. Make the auto-newline flag `a' dependent on | 6642 | `c-electric-flag'. Make the auto-newline flag `a' dependent on `l'. |
| 6654 | `l'. | 6643 | (c-toggle-auto-state): Rename it to `c-toggle-auto-newline'. |
| 6655 | (c-toggle-auto-state): Rename it to `c-toggle-auto-newline'. Make | 6644 | Make the old name an alias of the new name. |
| 6656 | the old name an alias of the new name. | ||
| 6657 | (c-toggle-electric-state): New function. | 6645 | (c-toggle-electric-state): New function. |
| 6658 | c-electric-\(pound\|brace\|slash\|star\|semi&comma\|colon\|lt-gt\|paren\|continued-statement\): | 6646 | (c-electric-\(pound\|brace\|slash\|star\|semi&comma\|colon\|lt-gt\|paren\|continued-statement\)): |
| 6659 | Adapt these functions to do electric things only when | 6647 | Adapt these functions to do electric things only when |
| 6660 | c-electric-flag is non-nil. | 6648 | c-electric-flag is non-nil. |
| 6661 | (c-point-syntax, c-brace-newlines, c-try-oneliner): Extract these | 6649 | (c-point-syntax, c-brace-newlines, c-try-oneliner): Extract these |
| @@ -6671,18 +6659,17 @@ | |||
| 6671 | 2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org> | 6659 | 2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org> |
| 6672 | 6660 | ||
| 6673 | * progmodes/cc-cmds.el (c-show-syntactic-information): Show the | 6661 | * progmodes/cc-cmds.el (c-show-syntactic-information): Show the |
| 6674 | anchor position(s) using faces. Thanks to Masatake YAMATO for the | 6662 | anchor position(s) using faces. Thanks to Masatake YAMATO for the idea. |
| 6675 | idea. | ||
| 6676 | 6663 | ||
| 6677 | * progmodes/cc-mode.el, cc-cmds.el, cc-defs.el, cc-engine.el | 6664 | * progmodes/cc-mode.el, cc-cmds.el, cc-defs.el, cc-engine.el |
| 6678 | (c-submode-indicators): Changed name from `c-auto-hungry-string' | 6665 | (c-submode-indicators): Change name from `c-auto-hungry-string' |
| 6679 | since it's now used to track another submode. | 6666 | since it's now used to track another submode. |
| 6680 | 6667 | ||
| 6681 | (c-update-modeline): Converted to function and extended to check | 6668 | (c-update-modeline): Convert to function and extended to check |
| 6682 | `c-subword-move-mode'. | 6669 | `c-subword-move-mode'. |
| 6683 | 6670 | ||
| 6684 | (c-forward-into-nomenclature, c-backward-into-nomenclature): | 6671 | (c-forward-into-nomenclature, c-backward-into-nomenclature): |
| 6685 | Converted to compat aliases for `c-forward-subword' and | 6672 | Convert to compat aliases for `c-forward-subword' and |
| 6686 | `c-backward-subword'. | 6673 | `c-backward-subword'. |
| 6687 | 6674 | ||
| 6688 | * progmodes/cc-subword.el: New functions and minor mode to handle | 6675 | * progmodes/cc-subword.el: New functions and minor mode to handle |
| @@ -6725,10 +6712,10 @@ | |||
| 6725 | 6712 | ||
| 6726 | 2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org> | 6713 | 2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org> |
| 6727 | 6714 | ||
| 6728 | * progmodes/cc-engine.el (c-forward-label): Fixed fontification of | 6715 | * progmodes/cc-engine.el (c-forward-label): Fix fontification of |
| 6729 | macros inside labels. | 6716 | macros inside labels. |
| 6730 | 6717 | ||
| 6731 | * progmodes/cc-engine.el (c-looking-at-bos): Obsoleted in favor of | 6718 | * progmodes/cc-engine.el (c-looking-at-bos): Obsolete in favor of |
| 6732 | `c-at-statement-start-p' and `c-at-expression-start-p'. | 6719 | `c-at-statement-start-p' and `c-at-expression-start-p'. |
| 6733 | 6720 | ||
| 6734 | * progmodes/cc-defs.el (c-tnt-chng-record-state): Don't signal an | 6721 | * progmodes/cc-defs.el (c-tnt-chng-record-state): Don't signal an |
| @@ -6742,9 +6729,8 @@ | |||
| 6742 | like `c-at-statement-start-p' that additionally recognizes commas | 6729 | like `c-at-statement-start-p' that additionally recognizes commas |
| 6743 | and expression parentheses as delimiters. | 6730 | and expression parentheses as delimiters. |
| 6744 | 6731 | ||
| 6745 | * progmodes/cc-engine.el (c-looking-at-inexpr-block): Added flag | 6732 | * progmodes/cc-engine.el (c-looking-at-inexpr-block): Add flag |
| 6746 | to avoid heuristics that doesn't work for unclosed blocks. | 6733 | to avoid heuristics that doesn't work for unclosed blocks. |
| 6747 | |||
| 6748 | (c-at-statement-start-p): New function. | 6734 | (c-at-statement-start-p): New function. |
| 6749 | 6735 | ||
| 6750 | * progmodes/cc-engine.el, cc-fonts.el: Fixes in handling of | 6736 | * progmodes/cc-engine.el, cc-fonts.el: Fixes in handling of |
| @@ -6759,54 +6745,53 @@ | |||
| 6759 | (c-just-after-func-arglist-p, c-guess-basic-syntax) | 6745 | (c-just-after-func-arglist-p, c-guess-basic-syntax) |
| 6760 | (c-basic-matchers-before): Use it. | 6746 | (c-basic-matchers-before): Use it. |
| 6761 | 6747 | ||
| 6762 | (c-font-lock-objc-iip-decl): Removed. | 6748 | (c-font-lock-objc-iip-decl): Remove. |
| 6763 | 6749 | ||
| 6764 | * progmodes/cc-engine.el (c-guess-basic-syntax): Some improvement | 6750 | * progmodes/cc-engine.el (c-guess-basic-syntax): Some improvement |
| 6765 | in the template arglist recognition. | 6751 | in the template arglist recognition. |
| 6766 | 6752 | ||
| 6767 | * progmodes/cc-styles.el (c-style-alist): Fixed several | 6753 | * progmodes/cc-styles.el (c-style-alist): Fix several |
| 6768 | inconsistencies in the Whitesmith style. | 6754 | inconsistencies in the Whitesmith style. |
| 6769 | 6755 | ||
| 6770 | * progmodes/cc-align.el (c-lineup-after-whitesmith-blocks): | 6756 | * progmodes/cc-align.el (c-lineup-after-whitesmith-blocks): |
| 6771 | New lineup function to get lines after Whitesmith style blocks | 6757 | New lineup function to get lines after Whitesmith style blocks |
| 6772 | correctly indented. | 6758 | correctly indented. |
| 6773 | 6759 | ||
| 6774 | (c-lineup-whitesmith-in-block): Backed out the compensation for | 6760 | (c-lineup-whitesmith-in-block): Back out the compensation for |
| 6775 | opening parens since it's done using `add' lists in the style | 6761 | opening parens since it's done using `add' lists in the style |
| 6776 | definition instead. Don't use the anchor position since it varies | 6762 | definition instead. Don't use the anchor position since it varies |
| 6777 | too much between the syntactic symbols. :P | 6763 | too much between the syntactic symbols. :P |
| 6778 | 6764 | ||
| 6779 | * progmodes/cc-vars.el (c-valid-offset): Updated. | 6765 | * progmodes/cc-vars.el (c-valid-offset): Update. |
| 6780 | 6766 | ||
| 6781 | * progmodes/cc-engine.el (c-evaluate-offset): Extended to handle | 6767 | * progmodes/cc-engine.el (c-evaluate-offset): Extend to handle |
| 6782 | lists where the offsets are combined according to several | 6768 | lists where the offsets are combined according to several |
| 6783 | different methods: `first', `min', `max', and `add'. Report | 6769 | different methods: `first', `min', `max', and `add'. |
| 6784 | offset evaluation errors with `c-benign-error' so that some kind | 6770 | Report offset evaluation errors with `c-benign-error' so that some kind |
| 6785 | of reindentation still is done. | 6771 | of reindentation still is done. |
| 6786 | 6772 | ||
| 6787 | * progmodes/cc-engine.el (c-guess-basic-syntax): Anchor | 6773 | * progmodes/cc-engine.el (c-guess-basic-syntax): |
| 6788 | `arglist-intro' the same way as `arglist-cont-nonempty' and | 6774 | Anchor `arglist-intro' the same way as `arglist-cont-nonempty' and |
| 6789 | `arglist-close'. | 6775 | `arglist-close'. |
| 6790 | 6776 | ||
| 6791 | * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed similar | 6777 | * progmodes/cc-engine.el (c-guess-basic-syntax): Fix similar |
| 6792 | situations for `arglist-cont-nonempty' and `arglist-close'. | 6778 | situations for `arglist-cont-nonempty' and `arglist-close'. |
| 6793 | 6779 | ||
| 6794 | * progmodes/cc-langs.el (c-opt-identifier-concat-key-depth): New | 6780 | * progmodes/cc-langs.el (c-opt-identifier-concat-key-depth): New const. |
| 6795 | constant. | ||
| 6796 | 6781 | ||
| 6797 | * progmodes/cc-defs.el: Use `cc-bytecomp-fboundp' and | 6782 | * progmodes/cc-defs.el: Use `cc-bytecomp-fboundp' and |
| 6798 | cc-bytecomp-boundp' in a number of places. | 6783 | cc-bytecomp-boundp' in a number of places. |
| 6799 | 6784 | ||
| 6800 | * progmodes/cc-engine.el (c-beginning-of-statement-1): Fixed a | 6785 | * progmodes/cc-engine.el (c-beginning-of-statement-1): Fix a |
| 6801 | macro related issue. | 6786 | macro related issue. |
| 6802 | 6787 | ||
| 6803 | 2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org> | 6788 | 2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org> |
| 6804 | 6789 | ||
| 6805 | * progmodes/cc-awk.el: Change the terminology of regexps: A char | 6790 | * progmodes/cc-awk.el: Change the terminology of regexps: A char |
| 6806 | list is now [asdf], a char class [:alpha:]. Include code for char | 6791 | list is now [asdf], a char class [:alpha:]. |
| 6807 | classes. Set c-awk-NL-prop on lines ending in open strings. (Bug | 6792 | Include code for char classes. |
| 6808 | fix.) Add character classes (e.g. "[:alpha:]") into AWK Mode's | 6793 | Set c-awk-NL-prop on lines ending in open strings. (Bug fix.) |
| 6809 | regexps. | 6794 | Add character classes (e.g. "[:alpha:]") into AWK Mode's regexps. |
| 6810 | 6795 | ||
| 6811 | Remove (nearly all of) the cruft associated with AWK Mode's former | 6796 | Remove (nearly all of) the cruft associated with AWK Mode's former |
| 6812 | concept of "virtual semicolons": | 6797 | concept of "virtual semicolons": |
| @@ -6845,15 +6830,14 @@ | |||
| 6845 | 6830 | ||
| 6846 | 2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org> | 6831 | 2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org> |
| 6847 | 6832 | ||
| 6848 | * progmodes/cc-awk.el: Regexps for analysing AWK code have been | 6833 | * progmodes/cc-awk.el: Move regexps for analysing AWK code to near the |
| 6849 | moved to near the start of the file. ^L now separate sections of | 6834 | start of the file. ^L now separate sections of the file. |
| 6850 | the file. New defconsts: c-awk-non-eol-esc-pair-re, | 6835 | (c-awk-non-eol-esc-pair-re, c-awk-blank-or-comment-line-re) |
| 6851 | c-awk-blank-or-comment-line-re, | 6836 | (c-awk-one-line-possibly-open-string-re) |
| 6852 | c-awk-one-line-possibly-open-string-re, | 6837 | (c-awk-regexp-one-line-possibly-open-char-class-re) |
| 6853 | c-awk-regexp-one-line-possibly-open-char-class-re, | 6838 | (c-awk-one-line-possibly-open-regexp-re) |
| 6854 | c-awk-one-line-possibly-open-regexp-re, | 6839 | (c-awk-one-line-non-syn-ws*-re): New defonsts. |
| 6855 | c-awk-one-line-non-syn-ws*-re. New functions: c-awk-at-vsemi-p, | 6840 | (c-awk-at-vsemi-p, c-awk-vsemi-status-unknown-p): New functions. |
| 6856 | c-awk-vsemi-status-unknown-p. | ||
| 6857 | 6841 | ||
| 6858 | Amend the concept of "virtual semicolons" (in the indentation | 6842 | Amend the concept of "virtual semicolons" (in the indentation |
| 6859 | engine) for languages like AWK, such that they are now | 6843 | engine) for languages like AWK, such that they are now |
| @@ -6861,12 +6845,12 @@ | |||
| 6861 | the end of the line. (In AWK Mode, however, the pertinent text | 6845 | the end of the line. (In AWK Mode, however, the pertinent text |
| 6862 | property is still physically set on the EOL.) Remove the specific | 6846 | property is still physically set on the EOL.) Remove the specific |
| 6863 | tests for awk-mode, thus facilitating the introduction of other | 6847 | tests for awk-mode, thus facilitating the introduction of other |
| 6864 | language modes where EOLs can end statements. (Note: The | 6848 | language modes where EOLs can end statements. |
| 6865 | funtionality in cc-cmds.el, specifically | 6849 | (Note: The funtionality in cc-cmds.el, specifically |
| 6866 | c-beginning/end-of-statement has yet to be amended.) | 6850 | c-beginning/end-of-statement has yet to be amended.) |
| 6867 | 6851 | ||
| 6868 | * progmodes/cc-defs.el: New macros c-at-vsemi-p, | 6852 | * progmodes/cc-defs.el (c-at-vsemi-p, c-vsemi-status-unknown-p): |
| 6869 | c-vsemi-status-unknown-p. | 6853 | New macros. |
| 6870 | 6854 | ||
| 6871 | * progmodes/cc-langs.el: Added `#' into AWK Mode's value of | 6855 | * progmodes/cc-langs.el: Added `#' into AWK Mode's value of |
| 6872 | c-stmt-delim-chars. New c-lang-defvars: c-at-vsemi-p-fn, | 6856 | c-stmt-delim-chars. New c-lang-defvars: c-at-vsemi-p-fn, |
| @@ -6876,25 +6860,21 @@ | |||
| 6876 | c-crosses-statement-barrier-p, c-guess-basic-syntax, replace | 6860 | c-crosses-statement-barrier-p, c-guess-basic-syntax, replace |
| 6877 | numerous awkward forms like | 6861 | numerous awkward forms like |
| 6878 | (if (c-major-mode-is 'awk-mode) (c-awk-prev-line-incomplete-p)) | 6862 | (if (c-major-mode-is 'awk-mode) (c-awk-prev-line-incomplete-p)) |
| 6879 | with | 6863 | with (c-at-vsemi-p). Fix a few typos. In c-guess-basic-syntax, new |
| 6880 | (c-at-vsemi-p). Fix a few typos. In c-guess-basic-syntax, new | 6864 | variable before-ws-ip, the place just after char-before-ip appears. |
| 6881 | variable before-ws-ip, the place just after char-before-ip | ||
| 6882 | appears. | ||
| 6883 | 6865 | ||
| 6884 | * progmodes/cc-mode.el: Fix what's almost a semantic ambiguity in | 6866 | * progmodes/cc-mode.el: Fix what's almost a semantic ambiguity in |
| 6885 | a comment. | 6867 | a comment. |
| 6886 | 6868 | ||
| 6887 | 2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org> | 6869 | 2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org> |
| 6888 | 6870 | ||
| 6889 | * progmodes/cc-cmds.el (c-electric-brace): Cleaned up using | 6871 | * progmodes/cc-cmds.el (c-electric-brace): Clean up using |
| 6890 | `c-tentative-buffer-changes'. | 6872 | `c-tentative-buffer-changes'. |
| 6891 | 6873 | ||
| 6892 | * progmodes/cc-defs.el (c-region-is-active-p): Simplified and | 6874 | * progmodes/cc-defs.el (c-region-is-active-p): Simplify and |
| 6893 | converted to macro to choose between Emacs and XEmacs at compile | 6875 | convert to macro to choose between Emacs and XEmacs at compile time. |
| 6894 | time. | ||
| 6895 | 6876 | ||
| 6896 | (c-set-region-active): New set counterpart to | 6877 | (c-set-region-active): New set counterpart to `c-region-is-active-p'. |
| 6897 | `c-region-is-active-p'. | ||
| 6898 | 6878 | ||
| 6899 | (c-tentative-buffer-changes): New macro to handle temporary buffer | 6879 | (c-tentative-buffer-changes): New macro to handle temporary buffer |
| 6900 | changes in a convenient way. | 6880 | changes in a convenient way. |
| @@ -6902,7 +6882,7 @@ | |||
| 6902 | (c-tnt-chng-record-state, c-tnt-chng-cleanup): Internal helpers | 6882 | (c-tnt-chng-record-state, c-tnt-chng-cleanup): Internal helpers |
| 6903 | for `c-tentative-buffer-changes'. | 6883 | for `c-tentative-buffer-changes'. |
| 6904 | 6884 | ||
| 6905 | * progmodes/cc-engine.el (c-looking-at-inexpr-block): Tightened up | 6885 | * progmodes/cc-engine.el (c-looking-at-inexpr-block): Tighten up |
| 6906 | the checks for paren sexps between the point and the keyword, to | 6886 | the checks for paren sexps between the point and the keyword, to |
| 6907 | avoid some false alarms. | 6887 | avoid some false alarms. |
| 6908 | 6888 | ||
| @@ -6911,23 +6891,22 @@ | |||
| 6911 | parens. Changed to make use of c-keyword-member' to avoid some | 6891 | parens. Changed to make use of c-keyword-member' to avoid some |
| 6912 | repeated regexp matches. | 6892 | repeated regexp matches. |
| 6913 | 6893 | ||
| 6914 | (c-opt-lambda-key, c-opt-inexpr-block-key, | 6894 | (c-opt-lambda-key, c-opt-inexpr-block-key, c-opt-inexpr-class-key): |
| 6915 | c-opt-inexpr-class-key): These language variable are no longer | 6895 | These language variable are no longer necessary. |
| 6916 | necessary. | ||
| 6917 | 6896 | ||
| 6918 | (c-block-stmt-kwds): New language constant used by | 6897 | (c-block-stmt-kwds): New language constant used by |
| 6919 | c-looking-at-inexpr-block'. | 6898 | c-looking-at-inexpr-block'. |
| 6920 | 6899 | ||
| 6921 | (c-guess-basic-syntax): Removed an optional check that looked at | 6900 | (c-guess-basic-syntax): Remove an optional check that looked at |
| 6922 | the existence of the now removed language variables. | 6901 | the existence of the now removed language variables. |
| 6923 | 6902 | ||
| 6924 | * progmodes/cc-engine.el (c-fdoc-shift-type-backward, | 6903 | * progmodes/cc-engine.el (c-fdoc-shift-type-backward) |
| 6925 | c-forward-decl-or-cast-1): Fixed invalid recognition of C++ style | 6904 | (c-forward-decl-or-cast-1): Fix invalid recognition of C++ style |
| 6926 | object instantiation expressions as declarations in some contexts. | 6905 | object instantiation expressions as declarations in some contexts. |
| 6927 | This bug only affected languages where the declarator can't be | 6906 | This bug only affected languages where the declarator can't be |
| 6928 | enclosed in parentheses. | 6907 | enclosed in parentheses. |
| 6929 | 6908 | ||
| 6930 | * progmodes/cc-styles.el (c-style-alist): Fixed the GNU style to | 6909 | * progmodes/cc-styles.el (c-style-alist): Fix the GNU style to |
| 6931 | insert newlines before and after substatement braces. | 6910 | insert newlines before and after substatement braces. |
| 6932 | 6911 | ||
| 6933 | * progmodes/cc-engine.el: Improved the heuristics for recognizing | 6912 | * progmodes/cc-engine.el: Improved the heuristics for recognizing |
| @@ -6937,15 +6916,14 @@ | |||
| 6937 | (c-just-after-func-arglist-p): Rewritten to use | 6916 | (c-just-after-func-arglist-p): Rewritten to use |
| 6938 | `c-forward-decl-or-cast-1'. Now behaves a bit differently too. | 6917 | `c-forward-decl-or-cast-1'. Now behaves a bit differently too. |
| 6939 | 6918 | ||
| 6940 | (c-beginning-of-member-init-list): Removed since it isn't used | 6919 | (c-beginning-of-member-init-list): Remove since it isn't used anymore. |
| 6941 | anymore. | ||
| 6942 | 6920 | ||
| 6943 | (c-guess-basic-syntax): Case 5B adapted for the new | 6921 | (c-guess-basic-syntax): Adapt case 5B for the new |
| 6944 | `c-just-after-func-arglist-p'. Cases 5B.1 and 5B.3 merged. Cases | 6922 | `c-just-after-func-arglist-p'. Merge cases 5B.1 and 5B.3. |
| 6945 | 5D.1 and 5D.2 removed since they aren't trigged anymore (case 5B.1 | 6923 | Remove cases 5D.1 and 5D.2 since they aren't trigged anymore (case 5B.1 |
| 6946 | covers all cases now). | 6924 | covers all cases now). |
| 6947 | 6925 | ||
| 6948 | * progmodes/cc-defs.el (c-point): Added `bosws' and `eosws'. | 6926 | * progmodes/cc-defs.el (c-point): Add `bosws' and `eosws'. |
| 6949 | 6927 | ||
| 6950 | 2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org> | 6928 | 2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org> |
| 6951 | 6929 | ||
| @@ -6968,15 +6946,15 @@ | |||
| 6968 | (c-search-uplist-for-classkey): The old one. It's now a wrapper | 6946 | (c-search-uplist-for-classkey): The old one. It's now a wrapper |
| 6969 | for compatibility. | 6947 | for compatibility. |
| 6970 | 6948 | ||
| 6971 | (c-add-class-syntax, c-guess-continued-construct, | 6949 | (c-add-class-syntax, c-guess-continued-construct) |
| 6972 | c-guess-basic-syntax): Adapted for `c-looking-at-decl-block'. | 6950 | (c-guess-basic-syntax): Adapt for `c-looking-at-decl-block'. |
| 6973 | 6951 | ||
| 6974 | (c-decl-block-key): Changed to tell apart ambiguous and | 6952 | (c-decl-block-key): Change to tell apart ambiguous and |
| 6975 | unambiguous keywords. Pike specials are now handled directly in | 6953 | unambiguous keywords. Pike specials are now handled directly in |
| 6976 | the code instead. | 6954 | the code instead. |
| 6977 | 6955 | ||
| 6978 | (c-block-prefix-disallowed-chars, c-block-prefix-charset): New | 6956 | (c-block-prefix-disallowed-chars, c-block-prefix-charset): |
| 6979 | language constants and variables to make the backward skip in | 6957 | New language constants and variables to make the backward skip in |
| 6980 | `c-looking-at-decl-block' as tight as possible. | 6958 | `c-looking-at-decl-block' as tight as possible. |
| 6981 | 6959 | ||
| 6982 | (c-nonsymbol-token-char-list): New language constant. | 6960 | (c-nonsymbol-token-char-list): New language constant. |
| @@ -6987,7 +6965,7 @@ | |||
| 6987 | * progmodes/cc-defs.el (c-make-bare-char-alt): New helper for | 6965 | * progmodes/cc-defs.el (c-make-bare-char-alt): New helper for |
| 6988 | making char classes for `c-syntactic-skip-backward'. | 6966 | making char classes for `c-syntactic-skip-backward'. |
| 6989 | 6967 | ||
| 6990 | * progmodes/cc-engine.el (c-guess-basic-syntax): Simplified case | 6968 | * progmodes/cc-engine.el (c-guess-basic-syntax): Simplify case |
| 6991 | 16D - can't be a class-close at that point. | 6969 | 16D - can't be a class-close at that point. |
| 6992 | 6970 | ||
| 6993 | * progmodes/cc-engine.el (c-guess-basic-syntax) | 6971 | * progmodes/cc-engine.el (c-guess-basic-syntax) |
| @@ -6998,17 +6976,16 @@ | |||
| 6998 | `c-guess-basic-syntax' never will look at things outside the | 6976 | `c-guess-basic-syntax' never will look at things outside the |
| 6999 | current narrowment now. The anchor position for `topmost-intro' | 6977 | current narrowment now. The anchor position for `topmost-intro' |
| 7000 | is affected by this, but it was so bogus it was basically useless | 6978 | is affected by this, but it was so bogus it was basically useless |
| 7001 | before, and now it's equally bogus but in a slightly different | 6979 | before, and now it's equally bogus but in a slightly different way. |
| 7002 | way. | ||
| 7003 | 6980 | ||
| 7004 | (c-narrow-out-enclosing-class): Gone. | 6981 | (c-narrow-out-enclosing-class): Gone. |
| 7005 | 6982 | ||
| 7006 | (c-most-enclosing-brace, c-least-enclosing-brace): Don't filter to | 6983 | (c-most-enclosing-brace, c-least-enclosing-brace): Don't filter to |
| 7007 | the narrowed region. | 6984 | the narrowed region. |
| 7008 | 6985 | ||
| 7009 | (c-least-enclosing-brace): Removed silly optional argument. | 6986 | (c-least-enclosing-brace): Remove silly optional argument. |
| 7010 | 6987 | ||
| 7011 | * progmodes/cc-engine.el (c-beginning-of-decl-1): Fixed bug where | 6988 | * progmodes/cc-engine.el (c-beginning-of-decl-1): Fix bug where |
| 7012 | the point could be left directly after an open paren when finding | 6989 | the point could be left directly after an open paren when finding |
| 7013 | the beginning of the first decl in the block. | 6990 | the beginning of the first decl in the block. |
| 7014 | 6991 | ||
| @@ -7033,13 +7010,11 @@ | |||
| 7033 | (c-identifier-start, c-identifier-key): Now completely calculated | 7010 | (c-identifier-start, c-identifier-key): Now completely calculated |
| 7034 | from other constants. | 7011 | from other constants. |
| 7035 | 7012 | ||
| 7036 | (c-identifier-last-sym-match): Decommissioned since it's no longer | 7013 | (c-identifier-last-sym-match): Decommission since it's no longer used. |
| 7037 | used. | ||
| 7038 | 7014 | ||
| 7039 | (c-operators): Use `c-identifier-ops'. Documented | 7015 | (c-operators): Use `c-identifier-ops'. Document `postfix-if-paren'. |
| 7040 | `postfix-if-paren'. | ||
| 7041 | 7016 | ||
| 7042 | * progmodes/cc-engine.el (c-forward-name): Removed the | 7017 | * progmodes/cc-engine.el (c-forward-name): Remove the |
| 7043 | optimization when c-identifier-key is equal to c-symbol-key since | 7018 | optimization when c-identifier-key is equal to c-symbol-key since |
| 7044 | it doesn't work in byte compiled files. Don't record empty | 7019 | it doesn't work in byte compiled files. Don't record empty |
| 7045 | regions as identifiers. | 7020 | regions as identifiers. |
| @@ -7055,13 +7030,13 @@ | |||
| 7055 | * progmodes/cc-defs.el (c-lang-const): Fixes to allow use without | 7030 | * progmodes/cc-defs.el (c-lang-const): Fixes to allow use without |
| 7056 | an explicit language in functions. | 7031 | an explicit language in functions. |
| 7057 | 7032 | ||
| 7058 | * progmodes/cc-defs.el (c-make-keywords-re): Added an appendable | 7033 | * progmodes/cc-defs.el (c-make-keywords-re): Add an appendable |
| 7059 | variant of adornment. | 7034 | variant of adornment. |
| 7060 | 7035 | ||
| 7061 | * progmodes/cc-langs.el (c-any-class-key): Removed unused language | 7036 | * progmodes/cc-langs.el (c-any-class-key): Remove unused language |
| 7062 | variable. | 7037 | variable. |
| 7063 | 7038 | ||
| 7064 | (c-type-decl-prefix-key): Removed some now unnecessary cruft from | 7039 | (c-type-decl-prefix-key): Remove some now unnecessary cruft from |
| 7065 | the Pike value. | 7040 | the Pike value. |
| 7066 | 7041 | ||
| 7067 | * progmodes/cc-engine.el (c-on-identifier) | 7042 | * progmodes/cc-engine.el (c-on-identifier) |
| @@ -7069,7 +7044,7 @@ | |||
| 7069 | correctly in `skip-chars-backward'. Affected the operator lfun | 7044 | correctly in `skip-chars-backward'. Affected the operator lfun |
| 7070 | syntax in Pike. | 7045 | syntax in Pike. |
| 7071 | 7046 | ||
| 7072 | * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Disabled the | 7047 | * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Disable the |
| 7073 | diagnostic message about precompiled language vars not being used. | 7048 | diagnostic message about precompiled language vars not being used. |
| 7074 | 7049 | ||
| 7075 | * progmodes/cc-langs.el (c-paren-nontype-kwds): The GCC keyword | 7050 | * progmodes/cc-langs.el (c-paren-nontype-kwds): The GCC keyword |
| @@ -7079,9 +7054,9 @@ | |||
| 7079 | (c-specifier-key, c-not-decl-init-keywords): Some cleanup using new | 7054 | (c-specifier-key, c-not-decl-init-keywords): Some cleanup using new |
| 7080 | language constants `c-type-start-kwds' and `c-prefix-spec-kwds'. | 7055 | language constants `c-type-start-kwds' and `c-prefix-spec-kwds'. |
| 7081 | 7056 | ||
| 7082 | * progmodes/cc-fonts.el, cc-langs.el, cc-engine.el: Internal | 7057 | * progmodes/cc-fonts.el, cc-langs.el, cc-engine.el: |
| 7083 | cleanups to properly detect the declared identifiers in various | 7058 | Internal cleanups to properly detect the declared identifiers in |
| 7084 | declarations. | 7059 | various declarations. |
| 7085 | 7060 | ||
| 7086 | (c-decl-start-kwds): New language constant to recognize | 7061 | (c-decl-start-kwds): New language constant to recognize |
| 7087 | declarations that can start anywhere. Used for class declarations | 7062 | declarations that can start anywhere. Used for class declarations |
| @@ -7092,7 +7067,7 @@ | |||
| 7092 | (c-find-decl-spots): Implement `c-decl-start-kwds'. | 7067 | (c-find-decl-spots): Implement `c-decl-start-kwds'. |
| 7093 | 7068 | ||
| 7094 | (c-other-decl-kwds, c-postfix-decl-spec-kwds, c-decl-hangon-kwds) | 7069 | (c-other-decl-kwds, c-postfix-decl-spec-kwds, c-decl-hangon-kwds) |
| 7095 | (c-decl-hangon-key, c-forward-decl-or-cast-1): Separated the | 7070 | (c-decl-hangon-key, c-forward-decl-or-cast-1): Separate the |
| 7096 | handling of the compiler specific extension keywords into a new | 7071 | handling of the compiler specific extension keywords into a new |
| 7097 | language constant `c-decl-hangon-kwds' that defines keyword | 7072 | language constant `c-decl-hangon-kwds' that defines keyword |
| 7098 | clauses to be ignored in declarations. | 7073 | clauses to be ignored in declarations. |
| @@ -7108,9 +7083,8 @@ | |||
| 7108 | (c-forward-decl-or-cast-1): Recognize the declared identifier in | 7083 | (c-forward-decl-or-cast-1): Recognize the declared identifier in |
| 7109 | class and enum declarations as such and not as part of the type. | 7084 | class and enum declarations as such and not as part of the type. |
| 7110 | 7085 | ||
| 7111 | (c-forward-decl-or-cast-1, c-forward-label): Relaxed the | 7086 | (c-forward-decl-or-cast-1, c-forward-label): Relax the |
| 7112 | interpretation of PRECEDING-TOKEN-END when there's no preceding | 7087 | interpretation of PRECEDING-TOKEN-END when there's no preceding token. |
| 7113 | token. | ||
| 7114 | 7088 | ||
| 7115 | (c-forward-decl-or-cast-1): Don't disregard sure signs of | 7089 | (c-forward-decl-or-cast-1): Don't disregard sure signs of |
| 7116 | declarations when there's some syntax error later on. | 7090 | declarations when there's some syntax error later on. |
| @@ -7123,7 +7097,7 @@ | |||
| 7123 | 7097 | ||
| 7124 | * progmodes/cc-engine.el, cc-fonts.el, cc-langs.el, cc-menus.el | 7098 | * progmodes/cc-engine.el, cc-fonts.el, cc-langs.el, cc-menus.el |
| 7125 | * cc-mode.el, cc-styles.el, cc-vars.el, cc-align.el, cc-awk.el | 7099 | * cc-mode.el, cc-styles.el, cc-vars.el, cc-align.el, cc-awk.el |
| 7126 | * cc-cmds.el, cc-defs.el: Changed the policy for marking up | 7100 | * cc-cmds.el, cc-defs.el: Change the policy for marking up |
| 7127 | functions that might do hidden buffer changes: All such internal | 7101 | functions that might do hidden buffer changes: All such internal |
| 7128 | functions are now marked instead of those that don't. | 7102 | functions are now marked instead of those that don't. |
| 7129 | 7103 | ||
| @@ -7138,10 +7112,10 @@ | |||
| 7138 | (c-electric-semi&comma, c-electric-colon, c-electric-lt-gt) | 7112 | (c-electric-semi&comma, c-electric-colon, c-electric-lt-gt) |
| 7139 | (c-electric-paren, c-electric-continued-statement, c-indent-command) | 7113 | (c-electric-paren, c-electric-continued-statement, c-indent-command) |
| 7140 | (c-indent-region, c-mask-paragraph, c-indent-new-comment-line) | 7114 | (c-indent-region, c-mask-paragraph, c-indent-new-comment-line) |
| 7141 | (c-context-line-break): Added `c-save-buffer-state' calls to comply | 7115 | (c-context-line-break): Add `c-save-buffer-state' calls to comply |
| 7142 | with the changed semantics of the functions above. | 7116 | with the changed semantics of the functions above. |
| 7143 | 7117 | ||
| 7144 | * progmodes/cc-engine.el (c-beginning-of-statement-1): Fixed a bug | 7118 | * progmodes/cc-engine.el (c-beginning-of-statement-1): Fix a bug |
| 7145 | when macros occur in obscure places. Optimized the sexp movement | 7119 | when macros occur in obscure places. Optimized the sexp movement |
| 7146 | a bit. | 7120 | a bit. |
| 7147 | 7121 | ||
| @@ -7173,13 +7147,13 @@ | |||
| 7173 | * progmodes/cc-engine.el, cc-fonts.el, cc-langs.el: Cleaned up the | 7147 | * progmodes/cc-engine.el, cc-fonts.el, cc-langs.el: Cleaned up the |
| 7174 | label handling. Labels are now recognized in a uniform and more | 7148 | label handling. Labels are now recognized in a uniform and more |
| 7175 | robust way, regardless of context. Text properties are put on all | 7149 | robust way, regardless of context. Text properties are put on all |
| 7176 | labels to recognize the following declarations better. Multiword | 7150 | labels to recognize the following declarations better. |
| 7177 | labels are handled both in indentation and fontification for the | 7151 | Multiword labels are handled both in indentation and fontification for |
| 7178 | benefit of language extensions like Qt. For consistency, keywords | 7152 | the benefit of language extensions like Qt. For consistency, keywords |
| 7179 | in labels are now fontified with the label face instead. That | 7153 | in labels are now fontified with the label face instead. |
| 7180 | also applies to "case" and "default". | 7154 | That also applies to "case" and "default". |
| 7181 | 7155 | ||
| 7182 | (c-beginning-of-statement-1): Fixed some bugs in the label | 7156 | (c-beginning-of-statement-1): Fix some bugs in the label |
| 7183 | handling. Disregard `c-nonlabel-token-key' in labels that begin | 7157 | handling. Disregard `c-nonlabel-token-key' in labels that begin |
| 7184 | with `c-label-kwds'. | 7158 | with `c-label-kwds'. |
| 7185 | 7159 | ||
| @@ -7191,70 +7165,68 @@ | |||
| 7191 | 7165 | ||
| 7192 | (c-forward-label): New function to recognize labels. | 7166 | (c-forward-label): New function to recognize labels. |
| 7193 | 7167 | ||
| 7194 | (c-guess-basic-syntax): Replaced uses of `c-label-key' with | 7168 | (c-guess-basic-syntax): Replace uses of `c-label-key' with |
| 7195 | `c-forward-label'. Moved the label recognition cases (14 and 15) | 7169 | `c-forward-label'. Moved the label recognition cases (14 and 15) |
| 7196 | earlier since they aren't so context sensitive now. Handle labels | 7170 | earlier since they aren't so context sensitive now. Handle labels |
| 7197 | on the top level gracefully. Moved access label recognition to | 7171 | on the top level gracefully. Moved access label recognition to |
| 7198 | the generic label case (CASE 15) - removed CASE 5E. | 7172 | the generic label case (CASE 15) - removed CASE 5E. |
| 7199 | 7173 | ||
| 7200 | (c-font-lock-declarations): Added recognition of labels in the | 7174 | (c-font-lock-declarations): Add recognition of labels in the |
| 7201 | same round since we need to handle labels in parallell with other | 7175 | same round since we need to handle labels in parallell with other |
| 7202 | declarations to recognize both accurately. It should also improve | 7176 | declarations to recognize both accurately. It should also improve |
| 7203 | speed. | 7177 | speed. |
| 7204 | 7178 | ||
| 7205 | (c-simple-decl-matchers, c-basic-matchers-after): Moved | 7179 | (c-simple-decl-matchers, c-basic-matchers-after): |
| 7206 | `c-font-lock-labels' so that it only is used on decoration level 2 | 7180 | Move `c-font-lock-labels' so that it only is used on decoration level 2 |
| 7207 | since `c-font-lock-declarations' handles it otherwise. | 7181 | since `c-font-lock-declarations' handles it otherwise. |
| 7208 | 7182 | ||
| 7209 | (c-complex-decl-matchers): Removed the simplistic recognition of | 7183 | (c-complex-decl-matchers): Remove the simplistic recognition of |
| 7210 | access labels. | 7184 | access labels. |
| 7211 | 7185 | ||
| 7212 | (c-decl-prefix-re): Removed the kludges that was necessary to cope | 7186 | (c-decl-prefix-re): Remove the kludges that was necessary to cope |
| 7213 | with labels earlier. | 7187 | with labels earlier. |
| 7214 | 7188 | ||
| 7215 | (c-decl-start-re): New language variable to make | 7189 | (c-decl-start-re): New language variable to make |
| 7216 | `c-font-lock-declarations' stop for the special protection labels | 7190 | `c-font-lock-declarations' stop for the special protection labels |
| 7217 | in Objective-C that start with `@'. | 7191 | in Objective-C that start with `@'. |
| 7218 | 7192 | ||
| 7219 | (c-label-key): Removed since it's no longer used. | 7193 | (c-label-key): Remove since it's no longer used. |
| 7220 | 7194 | ||
| 7221 | (c-recognize-colon-labels, c-label-prefix-re): New language | 7195 | (c-recognize-colon-labels, c-label-prefix-re): New language |
| 7222 | constants to support recognition of generic colon-terminated | 7196 | constants to support recognition of generic colon-terminated labels. |
| 7223 | labels. | ||
| 7224 | 7197 | ||
| 7225 | (c-type-decl-end-used): `c-decl-end' is now used whenever there | 7198 | (c-type-decl-end-used): `c-decl-end' is now used whenever there |
| 7226 | are colon terminated labels. | 7199 | are colon terminated labels. |
| 7227 | 7200 | ||
| 7228 | * progmodes/cc-align.el (c-lineup-arglist): Fixed bug when the | 7201 | * progmodes/cc-align.el (c-lineup-arglist): Fix bug when the |
| 7229 | first argument starts with a special brace list. | 7202 | first argument starts with a special brace list. |
| 7230 | 7203 | ||
| 7231 | * progmodes/cc-engine.el, cc-fonts.el (c-forward-decl-or-cast-1) | 7204 | * progmodes/cc-engine.el, cc-fonts.el (c-forward-decl-or-cast-1) |
| 7232 | (c-font-lock-declarations): Broke out the declaration and cast | 7205 | (c-font-lock-declarations): Break out the declaration and cast |
| 7233 | recognition from `c-font-lock-declarations' to a new function, so | 7206 | recognition from `c-font-lock-declarations' to a new function, so |
| 7234 | that it can be used in the indentation engine. | 7207 | that it can be used in the indentation engine. |
| 7235 | 7208 | ||
| 7236 | * progmodes/cc-engine.el (c-find-decl-spots): Fixed bug in backing | 7209 | * progmodes/cc-engine.el (c-find-decl-spots): Fix bug in backing |
| 7237 | up to the start of the literal. Fixed bug with the point on the | 7210 | up to the start of the literal. Fixed bug with the point on the |
| 7238 | wrong side of the search limit that could happen when the start | 7211 | wrong side of the search limit that could happen when the start |
| 7239 | position is inside a literal. | 7212 | position is inside a literal. |
| 7240 | 7213 | ||
| 7241 | * progmodes/cc-engine.el (c-parse-state) | 7214 | * progmodes/cc-engine.el (c-parse-state) |
| 7242 | (c-invalidate-state-cache): Modified the use of `c-state-cache-end' | 7215 | (c-invalidate-state-cache): Modify the use of `c-state-cache-end' |
| 7243 | so that it's kept a little bit back to increase the hit rate. | 7216 | so that it's kept a little bit back to increase the hit rate. |
| 7244 | 7217 | ||
| 7245 | (c-parse-state): Changed the macro handling and fixed some | 7218 | (c-parse-state): Change the macro handling and fixed some |
| 7246 | glitches. Macro context is checked more often than necessary now, | 7219 | glitches. Macro context is checked more often than necessary now, |
| 7247 | but otoh less garbage conses are generated. | 7220 | but otoh less garbage conses are generated. |
| 7248 | 7221 | ||
| 7249 | * progmodes/cc-engine.el (c-parse-state) | 7222 | * progmodes/cc-engine.el (c-parse-state) |
| 7250 | (c-invalidate-state-cache): Cache the last position where | 7223 | (c-invalidate-state-cache): Cache the last position where |
| 7251 | `c-state-cache' applies. This can speed up refontification quite | 7224 | `c-state-cache' applies. This can speed up refontification quite |
| 7252 | a bit in blocks where there are many non-brace parens before the | 7225 | a bit in blocks where there are many non-brace parens before the point. |
| 7253 | point. | ||
| 7254 | 7226 | ||
| 7255 | (c-state-cache-end): New variable for this. | 7227 | (c-state-cache-end): New variable for this. |
| 7256 | 7228 | ||
| 7257 | (c-guess-basic-syntax, c-debug-parse-state): Adapted for the new | 7229 | (c-guess-basic-syntax, c-debug-parse-state): Adapt for the new |
| 7258 | cache variable. | 7230 | cache variable. |
| 7259 | 7231 | ||
| 7260 | * progmodes/cc-engine.el (c-find-decl-spots): Take more care to | 7232 | * progmodes/cc-engine.el (c-find-decl-spots): Take more care to |
| @@ -7265,39 +7237,39 @@ | |||
| 7265 | region is a single line inside a literal or macro (typically when | 7237 | region is a single line inside a literal or macro (typically when |
| 7266 | the current line is refontified). | 7238 | the current line is refontified). |
| 7267 | 7239 | ||
| 7268 | * progmodes/cc-engine.el (c-guess-basic-syntax): Simplified calls | 7240 | * progmodes/cc-engine.el (c-guess-basic-syntax): Simplify calls |
| 7269 | to `c-add-stmt-syntax' - there's no need to explicitly whack off | 7241 | to `c-add-stmt-syntax' - there's no need to explicitly whack off |
| 7270 | entries from the paren state. | 7242 | entries from the paren state. |
| 7271 | 7243 | ||
| 7272 | * progmodes/cc-engine.el (c-add-stmt-syntax): Narrowed down the | 7244 | * progmodes/cc-engine.el (c-add-stmt-syntax): Narrow down the |
| 7273 | special case for "else if" clauses. | 7245 | special case for "else if" clauses. |
| 7274 | 7246 | ||
| 7275 | * progmodes/cc-engine.el (c-looking-at-inexpr-block) | 7247 | * progmodes/cc-engine.el (c-looking-at-inexpr-block) |
| 7276 | (c-add-stmt-syntax): Use `c-recognize-paren-inexpr-blocks'. | 7248 | (c-add-stmt-syntax): Use `c-recognize-paren-inexpr-blocks'. |
| 7277 | 7249 | ||
| 7278 | * progmodes/cc-langs.el (c-recognize-paren-inexpr-blocks): New | 7250 | * progmodes/cc-langs.el (c-recognize-paren-inexpr-blocks): |
| 7279 | language variable to recognize the gcc extension with statement | 7251 | New language variable to recognize the gcc extension with statement |
| 7280 | blocks inside expressions. | 7252 | blocks inside expressions. |
| 7281 | 7253 | ||
| 7282 | * progmodes/cc-engine.el (c-add-stmt-syntax): Restructured to make | 7254 | * progmodes/cc-engine.el (c-add-stmt-syntax): Restructure to make |
| 7283 | it somewhat more comprehensible. The argument AT-BLOCK-START is | 7255 | it somewhat more comprehensible. The argument AT-BLOCK-START is |
| 7284 | no longer used and hence removed. | 7256 | no longer used and hence removed. |
| 7285 | 7257 | ||
| 7286 | (c-guess-continued-construct, c-guess-basic-syntax): Updated calls | 7258 | (c-guess-continued-construct, c-guess-basic-syntax): Update calls |
| 7287 | to `c-add-stmt-syntax'. | 7259 | to `c-add-stmt-syntax'. |
| 7288 | 7260 | ||
| 7289 | * progmodes/cc-engine.el (c-backward-to-decl-anchor): Use | 7261 | * progmodes/cc-engine.el (c-backward-to-decl-anchor): |
| 7290 | `c-beginning-of-statement-1' instead of duplicating parts of it. | 7262 | Use `c-beginning-of-statement-1' instead of duplicating parts of it. |
| 7291 | This fixes bogus label recognition. | 7263 | This fixes bogus label recognition. |
| 7292 | 7264 | ||
| 7293 | * progmodes/cc-engine.el (c-add-type, c-check-type) | 7265 | * progmodes/cc-engine.el (c-add-type, c-check-type) |
| 7294 | (c-forward-name, c-forward-type): Improved storage of template | 7266 | (c-forward-name, c-forward-type): Improve storage of template |
| 7295 | types in `c-found-types' so that they can be recognized better. | 7267 | types in `c-found-types' so that they can be recognized better. |
| 7296 | 7268 | ||
| 7297 | (c-syntactic-content): Added option to skip past nested parens. | 7269 | (c-syntactic-content): Add option to skip past nested parens. |
| 7298 | 7270 | ||
| 7299 | * progmodes/cc-engine.el (c-forward-name): Set | 7271 | * progmodes/cc-engine.el (c-forward-name): |
| 7300 | `c-last-identifier-range' all the time. It's less work that way. | 7272 | Set `c-last-identifier-range' all the time. It's less work that way. |
| 7301 | Handle that there might not be an identifier to store in | 7273 | Handle that there might not be an identifier to store in |
| 7302 | `c-last-identifier-range'. | 7274 | `c-last-identifier-range'. |
| 7303 | 7275 | ||
| @@ -7305,7 +7277,7 @@ | |||
| 7305 | nil from `c-forward-name'. | 7277 | nil from `c-forward-name'. |
| 7306 | 7278 | ||
| 7307 | * progmodes/cc-defs.el (c-safe-scan-lists) | 7279 | * progmodes/cc-defs.el (c-safe-scan-lists) |
| 7308 | (c-(go-)?(up|down)-list-(forward|backward)): Added limit arguments. | 7280 | (c-(go-)?(up|down)-list-(forward|backward)): Add limit arguments. |
| 7309 | 7281 | ||
| 7310 | * progmodes/cc-defs.el (c-save-buffer-state): Use `unwind-protect' | 7282 | * progmodes/cc-defs.el (c-save-buffer-state): Use `unwind-protect' |
| 7311 | to work even if the form fails. | 7283 | to work even if the form fails. |
| @@ -7313,14 +7285,13 @@ | |||
| 7313 | * progmodes/cc-engine.el (c-parse-state): Speedup when moving far | 7285 | * progmodes/cc-engine.el (c-parse-state): Speedup when moving far |
| 7314 | down in a large file in one go. | 7286 | down in a large file in one go. |
| 7315 | 7287 | ||
| 7316 | (c-get-fallback-start-pos): New helper function for | 7288 | (c-get-fallback-start-pos): New helper function for `c-parse-state'. |
| 7317 | `c-parse-state'. | ||
| 7318 | 7289 | ||
| 7319 | * progmodes/cc-align.el (c-lineup-assignments): New lineup | 7290 | * progmodes/cc-align.el (c-lineup-assignments): New lineup |
| 7320 | function which is like `c-lineup-math' but returns nil instead of | 7291 | function which is like `c-lineup-math' but returns nil instead of |
| 7321 | `c-basic-offset' when it doesn't match. | 7292 | `c-basic-offset' when it doesn't match. |
| 7322 | 7293 | ||
| 7323 | (c-lineup-math): Changed to use `c-lineup-assignments'. | 7294 | (c-lineup-math): Change to use `c-lineup-assignments'. |
| 7324 | 7295 | ||
| 7325 | 2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org> | 7296 | 2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org> |
| 7326 | 7297 | ||
| @@ -7335,7 +7306,7 @@ | |||
| 7335 | places to use skip by syntax instead of skip by char class. | 7306 | places to use skip by syntax instead of skip by char class. |
| 7336 | 7307 | ||
| 7337 | * progmodes/cc-langs.el (c-unterminated-block-comment-regexp): | 7308 | * progmodes/cc-langs.el (c-unterminated-block-comment-regexp): |
| 7338 | Fixed a bug in the regexp that caused extreme backtracking. | 7309 | Fix a bug in the regexp that caused extreme backtracking. |
| 7339 | 7310 | ||
| 7340 | * progmodes/cc-langs.el (c-block-comment-starter) | 7311 | * progmodes/cc-langs.el (c-block-comment-starter) |
| 7341 | (c-block-comment-ender): New language constants to specify in a | 7312 | (c-block-comment-ender): New language constants to specify in a |
| @@ -7354,18 +7325,16 @@ | |||
| 7354 | 7325 | ||
| 7355 | (c-simple-ws): New language constant for simple whitespace. | 7326 | (c-simple-ws): New language constant for simple whitespace. |
| 7356 | 7327 | ||
| 7357 | * progmodes/cc-defs.el (c-concat-separated): New convenience | 7328 | * progmodes/cc-defs.el (c-concat-separated): New convenience function. |
| 7358 | function. | ||
| 7359 | 7329 | ||
| 7360 | * progmodes/cc-defs.el (c-make-keywords-re): Added kludge for bug | 7330 | * progmodes/cc-defs.el (c-make-keywords-re): Add kludge for bug |
| 7361 | in `regexp-opt' in Emacs 20 and XEmacs when strings contain | 7331 | in `regexp-opt' in Emacs 20 and XEmacs when strings contain |
| 7362 | newlines. Allow and ignore nil elements in the list. | 7332 | newlines. Allow and ignore nil elements in the list. |
| 7363 | 7333 | ||
| 7364 | 2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org> | 7334 | 2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org> |
| 7365 | 7335 | ||
| 7366 | * progmodes/cc-cmds.el: Comment out a (n almost certainly | 7336 | * progmodes/cc-cmds.el: Comment out a (n almost certainly |
| 7367 | superfluous) check, (eq here (point-max)) in | 7337 | superfluous) check, (eq here (point-max)) in c-beginning-of-statement. |
| 7368 | c-beginning-of-statement. | ||
| 7369 | 7338 | ||
| 7370 | * progmodes/cc-cmds.el: Tidy up the comments in | 7339 | * progmodes/cc-cmds.el: Tidy up the comments in |
| 7371 | c-beginning-of-statement and subfunctions. | 7340 | c-beginning-of-statement and subfunctions. |
| @@ -7374,8 +7343,7 @@ | |||
| 7374 | more flexible c-put-char-property and c-clear-char-properties. | 7343 | more flexible c-put-char-property and c-clear-char-properties. |
| 7375 | Add the author's email address. | 7344 | Add the author's email address. |
| 7376 | 7345 | ||
| 7377 | * progmodes/cc-langs.el: New variable, | 7346 | * progmodes/cc-langs.el (c-block-comment-start-regexp): New variable. |
| 7378 | c-block-comment-start-regexp. | ||
| 7379 | 7347 | ||
| 7380 | * progmodes/cc-cmds.el: Fix bug with M-e, when point is inside the | 7348 | * progmodes/cc-cmds.el: Fix bug with M-e, when point is inside the |
| 7381 | closing "*/" of a block comment. | 7349 | closing "*/" of a block comment. |
| @@ -7399,11 +7367,11 @@ | |||
| 7399 | * progmodes/cc-fonts.el (c-font-lock-invalid-string): Fix when | 7367 | * progmodes/cc-fonts.el (c-font-lock-invalid-string): Fix when |
| 7400 | there are several strings on the same line. | 7368 | there are several strings on the same line. |
| 7401 | 7369 | ||
| 7402 | * progmodes/cc-engine.el (c-literal-limits): Removed the | 7370 | * progmodes/cc-engine.el (c-literal-limits): Remove the |
| 7403 | compatibility function for older emacsen. `c-literal-limits-fast' | 7371 | compatibility function for older emacsen. `c-literal-limits-fast' |
| 7404 | has now taken the place of this function. | 7372 | has now taken the place of this function. |
| 7405 | 7373 | ||
| 7406 | * progmodes/cc-vars.el (c-emacs-features): Removed compatibility | 7374 | * progmodes/cc-vars.el (c-emacs-features): Remove compatibility |
| 7407 | with older emacsen: We now require `pps-extended-state'. | 7375 | with older emacsen: We now require `pps-extended-state'. |
| 7408 | 7376 | ||
| 7409 | 2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org> | 7377 | 2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org> |
| @@ -7419,19 +7387,18 @@ | |||
| 7419 | eachother. Correct a few incidental bugs. | 7387 | eachother. Correct a few incidental bugs. |
| 7420 | 7388 | ||
| 7421 | * progmodes/cc-cmds.el: Restructure c-beginning-of-statement: | 7389 | * progmodes/cc-cmds.el: Restructure c-beginning-of-statement: |
| 7422 | Improve its doc-string. Improve the handling of certain specific | 7390 | Improve its doc-string. Improve the handling of certain specific cases. |
| 7423 | cases. | ||
| 7424 | 7391 | ||
| 7425 | 2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org> | 7392 | 2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org> |
| 7426 | 7393 | ||
| 7427 | * progmodes/cc-engine.el, cc-fonts.el, cc-langs.el | 7394 | * progmodes/cc-engine.el, cc-fonts.el, cc-langs.el |
| 7428 | (c-guess-basic-syntax): Changed the way class-level labels are | 7395 | (c-guess-basic-syntax): Change the way class-level labels are |
| 7429 | recognized; they can now contain essentially any symbols. | 7396 | recognized; they can now contain essentially any symbols. |
| 7430 | 7397 | ||
| 7431 | (c-opt-extra-label-key): New language variable to cope with the | 7398 | (c-opt-extra-label-key): New language variable to cope with the |
| 7432 | special protection label syntax in Objective-C. | 7399 | special protection label syntax in Objective-C. |
| 7433 | 7400 | ||
| 7434 | (c-opt-access-key): Removed; this is now handled better by | 7401 | (c-opt-access-key): Remove; this is now handled better by |
| 7435 | `c-nonlabel-token-key' and `c-opt-extra-label-key'. | 7402 | `c-nonlabel-token-key' and `c-opt-extra-label-key'. |
| 7436 | 7403 | ||
| 7437 | (c-complex-decl-matchers): Update to handle that | 7404 | (c-complex-decl-matchers): Update to handle that |
| @@ -7444,11 +7411,11 @@ | |||
| 7444 | Recognize bitfields better. | 7411 | Recognize bitfields better. |
| 7445 | 7412 | ||
| 7446 | * progmodes/cc-engine.el (c-beginning-of-inheritance-list): | 7413 | * progmodes/cc-engine.el (c-beginning-of-inheritance-list): |
| 7447 | Removed some cruft and fixed a bug that could cause it to go to a | 7414 | Remove some cruft and fixed a bug that could cause it to go to a |
| 7448 | position further down. | 7415 | position further down. |
| 7449 | 7416 | ||
| 7450 | * progmodes/cc-langs.el, cc-engine.el | 7417 | * progmodes/cc-langs.el, cc-engine.el |
| 7451 | (c-beginning-of-statement-1): Improved detection of labels in | 7418 | (c-beginning-of-statement-1): Improve detection of labels in |
| 7452 | declaration contexts. | 7419 | declaration contexts. |
| 7453 | 7420 | ||
| 7454 | (c-beginning-of-decl-1): Use it. | 7421 | (c-beginning-of-decl-1): Use it. |
| @@ -7456,11 +7423,11 @@ | |||
| 7456 | (c-nonlabel-token-key): New language constant and variable needed | 7423 | (c-nonlabel-token-key): New language constant and variable needed |
| 7457 | by `c-beginning-of-statement-1'. | 7424 | by `c-beginning-of-statement-1'. |
| 7458 | 7425 | ||
| 7459 | * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug that | 7426 | * progmodes/cc-engine.el (c-guess-basic-syntax): Fix bug that |
| 7460 | manifested itself due to the correction in `c-forward-sexp'. | 7427 | manifested itself due to the correction in `c-forward-sexp'. |
| 7461 | 7428 | ||
| 7462 | * progmodes/cc-defs.el (c-forward-sexp, c-backward-sexp): Made | 7429 | * progmodes/cc-defs.el (c-forward-sexp, c-backward-sexp): |
| 7463 | these behave as documented when used at the buffer limits. | 7430 | Make these behave as documented when used at the buffer limits. |
| 7464 | 7431 | ||
| 7465 | * progmodes/cc-mode.el, cc-engine.el, cc-langs.el | 7432 | * progmodes/cc-mode.el, cc-engine.el, cc-langs.el |
| 7466 | (c-type-decl-end-used): Made this a language variable. | 7433 | (c-type-decl-end-used): Made this a language variable. |
| @@ -7469,20 +7436,20 @@ | |||
| 7469 | correctly when `combine-after-change-calls' is used together with | 7436 | correctly when `combine-after-change-calls' is used together with |
| 7470 | temporary narrowings. | 7437 | temporary narrowings. |
| 7471 | 7438 | ||
| 7472 | * progmodes/cc-engine.el (c-beginning-of-statement-1): Report | 7439 | * progmodes/cc-engine.el (c-beginning-of-statement-1): |
| 7473 | labels correctly when the start point is immediately after the | 7440 | Report labels correctly when the start point is immediately after the |
| 7474 | colon. | 7441 | colon. |
| 7475 | 7442 | ||
| 7476 | * progmodes/cc-defs.el (c-parse-sexp-lookup-properties): Removed | 7443 | * progmodes/cc-defs.el (c-parse-sexp-lookup-properties): |
| 7477 | since it isn't used anymore. | 7444 | Remove since it isn't used anymore. |
| 7478 | 7445 | ||
| 7479 | * progmodes/cc-cmds.el (c-electric-lt-gt): Detect and mark angle | 7446 | * progmodes/cc-cmds.el (c-electric-lt-gt): Detect and mark angle |
| 7480 | bracket arglists such as template parens in C++. | 7447 | bracket arglists such as template parens in C++. |
| 7481 | 7448 | ||
| 7482 | * progmodes/cc-engine.el (c-syntactic-skip-backward): Fixed a bug | 7449 | * progmodes/cc-engine.el (c-syntactic-skip-backward): Fix a bug |
| 7483 | in the last check-in. Some optimization. | 7450 | in the last check-in. Some optimization. |
| 7484 | 7451 | ||
| 7485 | * progmodes/cc-engine.el (c-syntactic-skip-backward): Fixed bug | 7452 | * progmodes/cc-engine.el (c-syntactic-skip-backward): Fix bug |
| 7486 | where it could stop at the same level in a preceding sexp when | 7453 | where it could stop at the same level in a preceding sexp when |
| 7487 | PAREN-LEVEL is set. | 7454 | PAREN-LEVEL is set. |
| 7488 | 7455 | ||
| @@ -7490,7 +7457,7 @@ | |||
| 7490 | text property lookup only when it's needed. | 7457 | text property lookup only when it's needed. |
| 7491 | 7458 | ||
| 7492 | * progmodes/cc-langs.el, cc-engine.el, cc-fonts.el, cc-mode.el: | 7459 | * progmodes/cc-langs.el, cc-engine.el, cc-fonts.el, cc-mode.el: |
| 7493 | Changed the policy for paren marked angle brackets to be more | 7460 | Change the policy for paren marked angle brackets to be more |
| 7494 | persistent; once marked they remain marked even when they're found | 7461 | persistent; once marked they remain marked even when they're found |
| 7495 | to be unbalanced in the searched region. This should keep the | 7462 | to be unbalanced in the searched region. This should keep the |
| 7496 | paren syntax around even when individual lines are refontified in | 7463 | paren syntax around even when individual lines are refontified in |
| @@ -7504,7 +7471,7 @@ | |||
| 7504 | (c-forward-<>-arglist, c-forward-<>-arglist-recur): The reparse | 7471 | (c-forward-<>-arglist, c-forward-<>-arglist-recur): The reparse |
| 7505 | argument has become `c-parse-and-markup-<>-arglists'. | 7472 | argument has become `c-parse-and-markup-<>-arglists'. |
| 7506 | 7473 | ||
| 7507 | (c-remove-<>-arglist-properties): Removed - no longer used. | 7474 | (c-remove-<>-arglist-properties): Remove - no longer used. |
| 7508 | 7475 | ||
| 7509 | (c-after-change-check-<>-operators): New function used on | 7476 | (c-after-change-check-<>-operators): New function used on |
| 7510 | `after-change-functions' to avoid that "<" and ">" characters that | 7477 | `after-change-functions' to avoid that "<" and ">" characters that |
| @@ -7516,28 +7483,26 @@ | |||
| 7516 | (c-after-change): Call `c-after-change-check-<>-operators'. | 7483 | (c-after-change): Call `c-after-change-check-<>-operators'. |
| 7517 | 7484 | ||
| 7518 | (c-font-lock-<>-arglists): Use the context properties set by | 7485 | (c-font-lock-<>-arglists): Use the context properties set by |
| 7519 | `c-font-lock-declarations' to set | 7486 | `c-font-lock-declarations' to set `c-disallow-comma-in-<>-arglists' |
| 7520 | `c-disallow-comma-in-<>-arglists' correctly to avoid doing invalid | 7487 | correctly to avoid doing invalid markup. |
| 7521 | markup. | ||
| 7522 | 7488 | ||
| 7523 | (c-font-lock-declarations): Removed code that undoes the invalid | 7489 | (c-font-lock-declarations): Remove code that undoes the invalid |
| 7524 | markup done by `c-font-lock-<>-arglists'. | 7490 | markup done by `c-font-lock-<>-arglists'. |
| 7525 | 7491 | ||
| 7526 | (c-complex-decl-matchers): `c-font-lock-<>-arglists' now runs | 7492 | (c-complex-decl-matchers): `c-font-lock-<>-arglists' now runs |
| 7527 | after `c-font-lock-declarations'. | 7493 | after `c-font-lock-declarations'. |
| 7528 | 7494 | ||
| 7529 | * progmodes/cc-engine.el (c-syntactic-skip-backward): Added | 7495 | * progmodes/cc-engine.el (c-syntactic-skip-backward): |
| 7530 | paren-level feature. | 7496 | Add paren-level feature. |
| 7531 | 7497 | ||
| 7532 | (c-guess-basic-syntax): Improved the anchor position for | 7498 | (c-guess-basic-syntax): Improve the anchor position for |
| 7533 | `template-args-cont' in nested template arglists. There's still | 7499 | `template-args-cont' in nested template arglists. There's still |
| 7534 | much to be desired in this area, though. | 7500 | much to be desired in this area, though. |
| 7535 | 7501 | ||
| 7536 | 2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org> | 7502 | 2005-12-08 Alan Mackenzie <bug-cc-mode@gnu.org> |
| 7537 | 7503 | ||
| 7538 | * progmodes/cc-cmds.el, cc-engine.el, cc-langs.el, cc-vars.el: | 7504 | * progmodes/cc-cmds.el, cc-engine.el, cc-langs.el, cc-vars.el: |
| 7539 | Make the "Text Filling and Line Breaking" commands work for AWK | 7505 | Make the "Text Filling and Line Breaking" commands work for AWK buffers. |
| 7540 | buffers. | ||
| 7541 | 7506 | ||
| 7542 | 2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org> | 7507 | 2005-12-08 Martin Stjernholm <bug-cc-mode@gnu.org> |
| 7543 | 7508 | ||
| @@ -7576,7 +7541,7 @@ | |||
| 7576 | 7541 | ||
| 7577 | 2005-12-08 Kim F. Storm <storm@cua.dk> | 7542 | 2005-12-08 Kim F. Storm <storm@cua.dk> |
| 7578 | 7543 | ||
| 7579 | * emulation/cua-base.el (cua-use-hyper-key): Replaced by ... | 7544 | * emulation/cua-base.el (cua-use-hyper-key): Replace by ... |
| 7580 | (cua-rectangle-modifier-key): ... this. New defcustom. Can now | 7545 | (cua-rectangle-modifier-key): ... this. New defcustom. Can now |
| 7581 | select either meta, hyper, or super modifier for rectangle commands. | 7546 | select either meta, hyper, or super modifier for rectangle commands. |
| 7582 | (cua--rectangle-modifier-key): New defvar. | 7547 | (cua--rectangle-modifier-key): New defvar. |
| @@ -7585,8 +7550,8 @@ | |||
| 7585 | on X, to meta otherwise. Always bind C-return to toggle | 7550 | on X, to meta otherwise. Always bind C-return to toggle |
| 7586 | rectangle. Pass ?\s instead of `space' to cua--M/H-key. | 7551 | rectangle. Pass ?\s instead of `space' to cua--M/H-key. |
| 7587 | 7552 | ||
| 7588 | * emulation/cua-rect.el (cua-help-for-rectangle): Use | 7553 | * emulation/cua-rect.el (cua-help-for-rectangle): |
| 7589 | cua--rectangle-modifier-key. Handle super modifier too. | 7554 | Use cua--rectangle-modifier-key. Handle super modifier too. |
| 7590 | (cua--init-rectangles): Always bind C-return to toggle rectangle. | 7555 | (cua--init-rectangles): Always bind C-return to toggle rectangle. |
| 7591 | Pass ?\s instead of `space' to cua--M/H-key and cua--rect-M/H-key. | 7556 | Pass ?\s instead of `space' to cua--M/H-key and cua--rect-M/H-key. |
| 7592 | 7557 | ||
| @@ -7597,8 +7562,8 @@ | |||
| 7597 | keymap if cua--prefix-override-timer is `shift'. | 7562 | keymap if cua--prefix-override-timer is `shift'. |
| 7598 | (cua--shift-control-prefix): New function; emulate "type prefix | 7563 | (cua--shift-control-prefix): New function; emulate "type prefix |
| 7599 | key twice" functionality to handle shifted prefix key override. | 7564 | key twice" functionality to handle shifted prefix key override. |
| 7600 | (cua--shift-control-c-prefix, cua--shift-control-x-prefix): New | 7565 | (cua--shift-control-c-prefix, cua--shift-control-x-prefix): |
| 7601 | commands. | 7566 | New commands. |
| 7602 | (cua--init-keymaps): Bind them to S-C-c and S-C-x. | 7567 | (cua--init-keymaps): Bind them to S-C-c and S-C-x. |
| 7603 | 7568 | ||
| 7604 | 2005-12-08 Carsten Dominik <dominik@science.uva.nl> | 7569 | 2005-12-08 Carsten Dominik <dominik@science.uva.nl> |
| @@ -8324,7 +8289,7 @@ | |||
| 8324 | 8289 | ||
| 8325 | 2005-11-24 Carsten Dominik <dominik@science.uva.nl> | 8290 | 2005-11-24 Carsten Dominik <dominik@science.uva.nl> |
| 8326 | 8291 | ||
| 8327 | * textmodes/org.el (org-export-plain-list-max-depth): Renamed from | 8292 | * textmodes/org.el (org-export-plain-list-max-depth): Rename from |
| 8328 | `org-export-local-list-max-depth'. Change default value to 3. | 8293 | `org-export-local-list-max-depth'. Change default value to 3. |
| 8329 | (org-auto-renumber-ordered-lists) | 8294 | (org-auto-renumber-ordered-lists) |
| 8330 | (org-plain-list-ordered-item-terminator): New options. | 8295 | (org-plain-list-ordered-item-terminator): New options. |
| @@ -17171,7 +17136,7 @@ | |||
| 17171 | * add-log.el (change-log-font-lock-keywords): Make the regexp for | 17136 | * add-log.el (change-log-font-lock-keywords): Make the regexp for |
| 17172 | date lines stricter. | 17137 | date lines stricter. |
| 17173 | 17138 | ||
| 17174 | 2005-06-10 Zhang Wei <id.brep@gmail.com> (tiny change) | 17139 | 2005-06-10 Zhang Wei <id.brep@gmail.com> |
| 17175 | 17140 | ||
| 17176 | * term/x-win.el (x-clipboard-yank): Use x-selection-value instead | 17141 | * term/x-win.el (x-clipboard-yank): Use x-selection-value instead |
| 17177 | of x-get-selection. | 17142 | of x-get-selection. |