ChangeLog 281 KB
Newer Older
1 2 3 4 5
2002-04-28  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>

	* international/mule-cmds.el (read-language-name): Take of
	non-list values.

6 7
2002-04-27  Richard M. Stallman  <rms@gnu.org>

8 9
	* info.el (Info-header-line): Mark it as risky-local-variable.

10 11 12 13 14
	* subr.el (insert-for-yank): Replace `category' property
	with whatever properties it stands for.

	* subr.el (member-ignore-case): Ignore non-strings in LIST.

15 16 17 18 19
2002-04-27  Miles Bader  <miles@gnu.org>

	* faces.el (read-face-name): Format the prompt correctly when
	there's no default.

20 21 22 23 24
2002-04-26  Andrew Choi  <akochoi@shaw.ca>

	* term/mac-win.el: Don't call ediff-toggle-multiframe.  Set
	default directory.  Set process-connection-type to nil.

25 26
2002-04-26  Richard M. Stallman  <rms@gnu.org>

27 28 29 30 31 32
	* loadup.el: Explicitly load cus-face and timer.

	* isearch.el: Don't require timer.

	* faces.el: Don't require cus-face.

33 34 35 36 37 38 39 40 41 42 43
	* cus-edit.el (customize-face): Use read-face-name
	and handle multiple faces.
	(customize-face-other-window): Make it work similarly.

	* faces.el (read-face-name): New defaulting features.
	New args STRING-DESCRIBING-DEFAULT and MULTIPLE.
	(list-faces-display): Use the face, not its name string,
	as arg when running customize-face.
	Put a `read-face-name' prop on the entire line.
	(describe-face): Handle multiple faces via read-face-name.

44 45
	* textmodes/tex-mode.el (tex-start-tex): Fix previous change.

46 47 48 49 50
2002-04-26  Sam Steingold  <sds@gnu.org>

	* mail/smtpmail.el (smtpmail-try-auth-methods): When `host' is
	not in the authinfo/netrc, keep `cred' at nil.

Gerd Moellmann's avatar
Gerd Moellmann committed
51 52 53 54
2002-04-26  Gerd Moellmann  <gerd@gnu.org>

	* find-file.el: Remove Ada-specific example code.

55
2002-04-25  Michael Kifer  <kifer@cs.stonybrook.edu>
56

57
	* ediff-hooks.el: Put back the autoloads.
58

Colin Walters's avatar
Colin Walters committed
59 60 61 62 63 64 65 66 67 68 69
2002-04-25  Colin Walters  <walters@verbum.org>

	* ibuffer.el (define column process): Use `ibuffer-aif'.

	* ibuf-ext.el (ibuffer-saved-filter-groups): Don't include broken
	defaults.
	(ibuffer-yank): Be sure to `setq' after we use `nconc'.
	(ibuffer-save-filter-groups): Correctly structure filter groups.
	(ibuffer-switch-to-saved-filter-groups): Correctly extract filter
	groups.

70 71 72 73 74 75
2002-04-25  Simon Josefsson  <jas@extundo.com>

	* mail/sendmail.el (mail-use-dsn): New variable to request
	delivery status notification from MTA.
	(sendmail-send-it): Use it.

76 77 78 79 80 81 82 83 84 85
	* mail/smtpmail.el (smtpmail-queue-counter): New variable.
	(smtpmail-send-it): Use it to construct new queue filenames
	(needed if you send more than one message per second, which is
	possible if you use Gnus Agent).

	* mail/smtpmail.el (smtpmail-auth-credentials): Support netrc
	files as well.
	(smtpmail-try-auth-methods): Support netrc data.
	(netrc-parse): Autoload netrc.

Colin Walters's avatar
Colin Walters committed
86 87 88
2002-04-25  Colin Walters  <walters@verbum.org>

	* replace.el (multi-occur-by-filename-regexp): Doc fix.
Colin Walters's avatar
Colin Walters committed
89
	(occur-engine): Go to `point-min'.  Make nlines argument actually
Colin Walters's avatar
Colin Walters committed
90 91
	mean number of context lines.  Handle it.  Pad digits to the
	right.
Colin Walters's avatar
Colin Walters committed
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132

	* ibuf-ext.el (ibuffer-filtering-groups): Renamed to
	`ibuffer-filter-groups'.  All users updated.
	(ibuffer-show-empty-filter-groups): New variable.
	(ibuffer-saved-filter-groups): New variable.
	(ibuffer-maybe-save-stuff): Renamed from
	`ibuffer-maybe-save-saved-filters'.  Callers updated.  Handle
	`ibuffer-saved-filter-groups'.
	(ibuffer-hidden-filtering-groups): Renamed to
	`ibuffer-hidden-filter-groups'.
	(ibuffer-filter-group-kill-ring): New variable.
	(ibuffer-save-with-custom): Doc fix.
	(ibuffer-set-filter-groups-by-mode): New function.
	(ibuffer-clear-filter-groups): New function.
	(ibuffer-current-filter-groups-with-position): Renamed from
	`ibuffer-current-filter-groups'.  Callers updated.
	(ibuffer-kill-filter-group): New function.
	(ibuffer-kill-line): New function.
	(ibuffer-yank): New function.
	(ibuffer-save-filter-groups): New function.
	(ibuffer-delete-saved-filter-groups): New function.
	(ibuffer-switch-to-saved-filter-groups): New function.
	(ibuffer-mark-on-buffer): Add optional arguments for adding a
	specific mark, and marking on a specific group.

	* ibuffer.el (ibuffer-formats): Doc fix.
	(ibuffer-mode-map): Bind <up> to `ibuffer-backward-line'.  Bind
	new functions from ibuf-ext.el.  Add menu entries for them.
	Remove superfluous tooltips.
	(ibuffer-toggle-marks): If on a group name, then toggle marks just
	in that group.
	(ibuffer-mark-interactive): Handle filter groups.
	(ibuffer-mark-forward, ibuffer-unmark-forward)
	(ibuffer-mark-for-delete, ibuffer-unmark-backward)
	(ibuffer-mark-for-delete-backwards): Update docs.
	(ibuffer-current-filter-groups): Moved to ibuf-ext.el, and renamed
	to `ibuffer-current-filter-groups-with-position'.
	(ibuffer-redisplay-engine): Handle
	`ibuffer-show-empty-filter-groups'.
	(ibuffer-mode): Add some documentation about filter groups.

133 134 135 136
2002-04-25  Andreas Schwab  <schwab@suse.de>

	* find-dired.el (find-name-dired): Don't quote pattern twice.

137 138 139 140 141
2002-04-26  Miles Bader  <miles@gnu.org>

	* cus-edit.el (customize-face, customize-face-other-window):
	Use default instead of initial-input for suggested face.

142 143 144 145 146 147
2002-04-25  Gerd Moellmann  <gerd@gnu.org>

	* cus-edit.el (customize-face-other-window, customize-face):
	Interactively, when point is on text with a face, suggest to
	customize that face.

Colin Walters's avatar
Colin Walters committed
148 149
2002-04-24  Colin Walters  <walters@verbum.org>

150 151 152 153
	* replace.el (occur-accumulate-lines): Add optional argument
	`no-props'.  Handle it.
	(occur-engine): Use it.

Colin Walters's avatar
Colin Walters committed
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199
	* ibuf-ext.el (toplevel): Remove byte-compile-dynamic.  Try to set
	up autoloads manually.
	(ibuffer-split-list): New function.
	(ibuffer-filtering-groups): New variable.
	(ibuffer-hidden-filtering-groups): New variable.
	(ibuffer-mouse-toggle-filter-group): New function.
	(ibuffer-toggle-filter-group): New function.
	(ibuffer-toggle-filter-group-1): New function.
	(ibuffer-forward-filter-group): New function.
	(ibuffer-backward-filter-group): New funtion.
	(ibuffer-generate-filter-groups): New function.
	(ibuffer-filters-to-filter-group): New function.
	(ibuffer-pop-filter-group): New function.
	(ibuffer-jump-to-filter-group): New function.
	(ibuffer-do-occur): Just use `occur-read-primary-args'

	* ibuffer.el (ibuffer-filter-group-name-face): New.
	(ibuffer-mode-map): Bind and add menu entries for most new
	functions; also, bind the arrow keys to the movement functions.
	(ibuffer-mode-filter-group-map): New.
	(ibuffer-mouse-toggle-mark): Handle group names.
	(ibuffer-mouse-visit-buffer): Error if the current buffer is
	killed.
	(ibuffer-skip-properties): New function.
	(ibuffer-backward-line, ibuffer-forward-line): Optionally skip
	group names.  Also, handle new properties.
	(ibuffer-visit-buffer, ibuffer-visit-buffer-other-window): Move
	error handling to `ibuffer-current-buffer'.
	(ibuffer-visit-buffer-other-frame, ibuffer-bury-buffer): Ditto.
	(ibuffer-visit-tags-table, ibuffer-do-view-1): Ditto.
	(ibuffer-toggle-marks): Add optional group argument.
	(ibuffer-mark-interactive): Skip group names.
	(ibuffer-current-buffer): Clean up error handling.
	(ibuffer-fontify-region-function): Fontify group names.
	(ibuffer-map-lines): Add extra group argument.  Handle it.
	(ibuffer-current-filter-groups): New function.
	(ibuffer-redisplay): Handle hidden filtering groups.
	(ibuffer-sort-bufferlist): New function, taken from
	`ibuffer-insert-buffers-and-marks'.
	(ibuffer-insert-filter-group): New function.
	(ibuffer-redisplay-engine): Renamed from
	`ibuffer-insert-buffers-and-marks'.  Handle new filtering groups.
	(ibuffer): Add filter-groups argument.  Handle it.  Use
	`save-selected-window'.
	(ibuffer-mode): Make `ibuffer-filtering-groups' and
	`ibuffer-hidden-filtering-groups' buffer-local.
200

Colin Walters's avatar
Colin Walters committed
201 202 203
	* ibuf-macs.el (ibuffer-save-marks): Call
	`ibuffer-redisplay-engine'.

204 205 206 207 208 209 210 211 212 213 214
2002-04-24  Richard M. Stallman  <rms@gnu.org>

	* emacs-lisp/easymenu.el (easy-menu-intern): Downcase before interning.
	(easy-menu-define-key-intern): Function deleted; callers intern
	and then call easy-menu-define-key.
	(easy-menu-do-add-item): Explicitly intern the key, but not BEFORE.
	(easy-menu-define-key): Use easy-menu-name-match to match BEFORE.
	(easy-menu-name-match): New function.
	(add-submenu): New function.
	(easy-menu-get-map-look-for-name): Use easy-menu-name-match.

215 216
2002-04-24  Eli Zaretskii  <eliz@is.elta.co.il>

217
	* menu-bar.el (menu-bar-adv-search-menu)
218 219
	(menu-bar-adv-search-menu): Improve the help text.

Richard M. Stallman's avatar
Richard M. Stallman committed
220 221 222 223
2002-04-24  Simon Josefsson  <jas@extundo.com>

	* net/netrc.el: New file.

224 225 226 227 228 229
2002-04-24  Thomas DeWeese <tdeweese@rochester.rr.com>

	* term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
	Check if any of the available selection sources has new content
	and if so it will return that content.

230 231
2002-04-24  Miles Bader  <miles@gnu.org>

232
	* menu-bar.el (buffers-menu-show-directories)
233 234 235
	(buffers-menu-show-status): New variables.
	(menu-bar-update-buffers-1): Use them.

236 237 238 239 240 241 242 243
2002-04-24  Martin Stjernholm  <mast@lysator.liu.se>

	* progmodes/cc-cmds.el (c-mask-comment): More fixes when used
	from `c-do-auto-fill' and point is at or near the limit of the
	comment.  Fixed bug when the prefix from `c-guess-fill-prefix'
	is longer than the text on the first line of the comment when
	it's masked.

244 245 246 247 248
2002-04-24  Miles Bader  <miles@gnu.org>

	* menu-bar.el (menu-bar-update-buffers-1): Make sure
	`uniquify-buffer-name-style' is bound.

Colin Walters's avatar
Colin Walters committed
249 250
2002-04-23  Colin Walters  <walters@verbum.org>

Colin Walters's avatar
Colin Walters committed
251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271
	* replace.el (toplevel): Require `cl' while compiling.
	(occur-buffer, occur-nlines): Delete.
	(occur-revert-properties): Rename to `occur-revert-properties'.
	(occur-mode): Handle it.  Set up font lock.
	(occur-revert-function): Simply apply `occur-1'.
	(occur-mode-find-occurence, occur-mode-mouse-goto)
	(occur-mode-goto-occurrence-other-window)
	(occur-mode-display-occurrence): Handle buffer property.
	(list-matching-lines-face): Use defcustom.
	(list-matching-lines-buffer-name-face): New variable.
	(occur-accumulate-lines): Renamed from `ibuffer-accumulate-lines',
	in ibuffer.el.
	(occur-read-primary-args): Move out of `occur'.
	(occur): Delete.  Now simply call `occur-1'.
	(multi-occur, multi-occur-by-filename-regexp): New functions.
	(occur-1): New function.
	(occur-engine): Renamed from `ibuffer-occur-engine' to replace the
	previous implementation of `occur'; taken from ibuf-ext.el.
	(occur-fontify-on-property): New function.
	(occur-fontify-region-function, occur-unfontify-region-function):
	New functions.
272

Colin Walters's avatar
Colin Walters committed
273
	* ibuffer.el (ibuffer-accumulate-lines): Moved to replace.el.
274

Colin Walters's avatar
Colin Walters committed
275 276 277 278 279 280 281 282 283
	* ibuf-ext.el (ibuffer-depropertize-string): Delete.
	(ibuffer-occur-match-face): Delete.
	(ibuffer-occur-props, ibuffer-occur-mode): Delete.
	(ibuffer-occur-mouse-display-occurence): Delete.
	(ibuffer-occur-goto-occurence, ibuffer-occur-display-occurence):
	Delete.
	(ibuffer-do-occur-1, ibuffer-occur-revert-buffer-function):
	Delete.
	(ibuffer-occur-engine): Moved to replace.el.
Colin Walters's avatar
Colin Walters committed
284
	(ibuffer-do-occur): Simply call `occur-1'.
Colin Walters's avatar
Colin Walters committed
285

Colin Walters's avatar
Colin Walters committed
286 287 288
	* play/gamegrid.el (gamegrid-add-score-with-update-game-score):
	Handle the case where we're already viewing the score file.

289 290 291 292 293
2002-04-23  Andreas Schwab  <schwab@suse.de>

	* menu-bar.el (menu-bar-goto-menu): Fix bindings for next-tag and
	next-tag-otherw.

294 295
2002-04-23  Miles Bader  <miles@gnu.org>

296 297 298 299 300
	* menu-bar.el (menu-bar-update-buffers-1): Don't display a
	directory separator if there's no directory.  Don't display
	directories at all if uniquify is active.  Some code cleanup.
	(uniquify-buffer-name-style): Declare (but don't initialize).

301 302 303 304 305
	* menu-bar.el (menu-bar-update-buffers): Don't use constant lists
	for command menu entries, since the low-level menu code modifies
	them.  Cache the resulting list.
	(menu-bar-buffers-menu-command-entries): New variable.

306 307 308 309 310 311 312 313
	* menu-bar.el (menu-bar-update-buffers): Add `Select Named Buffer'.
	Add separator line before commands
	Remove old crufty code that tried to line things up by adding
	spaces to entries (it doesn't work).
	Move `Frames' submenu after the normal buffers, and add a
	separator line before it.
	(menu-bar-buffers-menu-list-buffers-entry): Variable removed.

314 315
2002-04-22  Richard M. Stallman  <rms@gnu.org>

316 317
	* files.el (after-find-file): Use %s to output MSG.

318 319 320
	* dired.el (dired-mouse-find-file-other-window):
	Handle events that move out of the window.

Martin Stjernholm's avatar
Martin Stjernholm committed
321 322 323 324 325 326
2002-04-23  Martin Stjernholm  <mast@lysator.liu.se>

	* progmodes/cc-cmds.el (c-mask-comment): Fixed bug where point
	was moved to the following line when it was at the first line
	of a block comment where comment-start-skip matched to eol.

327 328 329 330 331 332 333
2002-04-22  Richard M. Stallman  <rms@gnu.org>

	* simple.el (line-move-finish): Find beg and end of line
	before calling line-move-to-column.  Do consider intangible
	when finding the end.  Take more care in analyzing the results
	of intangibility after line-move-to-column.

Gerd Moellmann's avatar
Gerd Moellmann committed
334
2002-04-22  Pavel Jan,Am(Bk  <Pavel@Janik.cz>
335

Pavel Janík's avatar
Pavel Janík committed
336 337 338
	* international/mule-diag.el (list-input-methods-1): Doc fix
	(LEIM is now part of the standard distribution).

339 340
	* tmm.el (tmm-completion-prompt): Doc fix.

341 342 343
	* hilit-chg.el (global-highlight-changes): Capitalize status
	texts.

344 345 346 347 348
2002-04-22  Edward M. Reingold  <reingold@emr.cs.iit.edu>

	* diary-lib.el (include-other-diary-files): Allow modifying
        included buffer, to turn off selective display.

349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238
2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-mode.el: (c-define-abbrev-table): New function to
	pass the SYSTEM-FLAG to `define-abbrev' in a way that works in
	emacsen that doesn't support it.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-align.el, progmodes/cc-engine.el,
	progmodes/cc-styles.el, progmodes/cc-vars.el
	(c-guess-basic-syntax, c-lineup-topmost-intro-cont): Find
	correct anchor for statement-cont in top level constructs.
	Analyze variable initializations in top level constructs as
	topmost-intro-cont instead of statement-cont.  That is an
	incompatible change but it gives better consistency.  The new
	lineup function c-lineup-topmost-intro-cont' compensates for
	it and is now put on topmost-intro-cont by default.

	* progmodes/cc-align.el, progmodes/cc-engine.el,
	progmodes/cc-langs.el (c-lineup-argcont): Lineup function
	contributed by Kevin Ryde.

	(c-in-gcc-asm-p): Function to recognize asm statements.
	Contributed by Kevin Ryde.

	(c-opt-asm-stmt-key): New language variable to recognize the
	beginning of asm statements.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el (c-guess-basic-syntax): Detect
	variable declarations after class and struct declarations
	correctly.  Fixed limit error when finding the anchor for
	template-args-cont and topmost-intro-cont.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-beginning-of-defun,
	c-declaration-limits): Find the "line oriented" declaration
	start too, just like the "line oriented" end is found.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-vars.el (c-offsets-alist): A more sane default
	for `inexpr-statement'.  This is not compatible, though.  I
	think the benefit of a good default style outweights that in
	this case.  Besides, `inexpr-statement' is not very common.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-electric-delete-forward): Fixed
	silly bug that caused it to delete backwards in hungry delete
	mode.  (It's amazing that this bug hasn't been reported.)

	* progmodes/cc-cmds.el (c-declaration-limits, c-mark-function):
	Extracted the code to get the declaration limits from
	`c-mark-function' to a new `c-declaration-limits'.

	(c-indent-defun): Use the same method to get the limits of the
	declaration or macro as `c-mark-function'.

	* progmodes/cc-engine.el (c-beginning-of-decl-1): Handle brace
	list initializers correctly (but costly; it ought to be
	integrated into `c-beginning-of-statement-1').

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el, progmodes/cc-engine.el
	(c-beginning-of-defun, c-end-of-defun, c-mark-function):
	Rewritten to detect the declaration limits better.  Now
	handles K&R argdecls, class definitions followed by variables
	etc.

	(c-in-knr-argdecl): Broke out the K&R argdecl test in
	`c-beginning-of-decl-1' to this new function.

	(c-end-of-statement-1, c-end-of-decl-1): Replaced
	`c-end-of-statement-1' with `c-end-of-decl-1', which correctly
	handles declarations that continue after the block.

	* progmodes/cc-engine.el (c-syntactic-re-search-forward):
	Added an option to restrict matching to the top level of the
	current paren sexp.

	* progmodes/cc-langs.el (c-opt-block-decls-with-vars-key): New
	regexp to recognize declarations that continue after the
	block.

	(c-syntactic-eol): New regexp to match a "syntactic" eol.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
	that often caused the backward limit to be lost at the top
	level.  This improves performance a bit.

	* progmodes/cc-engine.el (c-syntactic-re-search-forward): New
	function that works like `re-search-forward' but only returns
	matches in syntactically significant text.

	* progmodes/cc-engine.el: Fixed a faster and more accurate way
	to recognize K&R argdecls.

	(c-beginning-of-decl-1): New function that put point at the
	beginning of the declaration.  It handles K&R argdecl blocks.

	(c-guess-basic-syntax): Replaced the `knr-argdecl' recognition
	code with one that doesn't depend on the current indentation.
	The anchor position for `knr-argdecl' has also changed, but in
	a way that is unlikely to cause compatibility problems.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-defs.el, progmodes/cc-engine.el
	(c-forward-comment): `forward-comment' in XEmacs skips over
	line continuations in the backward direction.  Correct for
	that.  Also made this a defun since it has grown too large now
	to be a defsubst.

	* progmodes/cc-langs.el: More convenient and decentralized
	setup of the language specific variables.  The regexp-opt
	mangling is also done at compile time now.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-indent-line-or-region): Call
	`c-indent-line' directly instead of through
	`indent-according-to-mode' so that this function always
	indents syntactically.

	* progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
	where a class beginning with a nested class could cause an
	infinite loop (the state outside the narrowed out class is
	never used now).

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-align.el, progmodes/cc-cmds.el,
	progmodes/cc-engine.el, progmodes/cc-vars.el: Fixes so that
	the context sensitive analysis inside macros is restricted to
	the bodies of #define's; other things, like #if expressions,
	never have anything in common with their surroundings.  The
	old `cpp-macro-cont' syntax is now used in situations where
	the syntactic analysis isn't applicable, and a new syntactic
	element `cpp-define-intro' is used to add indentation in
	#define bodies.

	(c-lineup-cpp-define): New name for `c-lineup-macro-cont' to
	better reflect its use.

	* progmodes/cc-engine.el (c-guess-basic-syntax): Ignore line
	continuation backslashes in the detection of
	`arglist-cont-nonempty'.

	* progmodes/cc-align.el: Use the vector form in the return
	value in all cases where lineup functions return absolute
	columns.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el (c-add-stmt-syntax,
	c-guess-basic-syntax): Anchor `brace-list-intro' and
	`bracec-list-close' better for brace lists nested inside
	expressions.

	* progmodes/cc-engine.el, progmodes/cc-langs.el,
	progmodes/cc-mode.el, progmodes/cc-styles.el: Cleaned up the
	various language specific variables and their initialization.
	The keyword regexps are now lists that are combined with
	regexp-opt.  Some variables have changed names to fit better
	with the naming convention.

	* progmodes/cc-defs.el, progmodes/cc-vars.el
	(c-buffer-is-cc-mode): The value is the mode symbol of the
	original CC Mode mode.

	(c-major-mode-is): Compare against the buffer local variable
	`c-buffer-is-cc-mode', which is faster than using
	`derived-mode-class'.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el (c-forward-syntactic-ws,
	c-backward-syntactic-ws, c-forward-token-1,
	c-backward-token-1, c-in-literal, c-literal-limits,
	c-collect-line-comments, c-literal-type, c-on-identifier,
	c-guess-basic-syntax): These functions are now considered part
	of the "CC Mode API" and may be used by other code.  That's
	signified by making their documentation into docstrings.

	(c-whack-state, c-hack-state, c-skip-case-statement-forward):
	Removed these internal functions since they aren't used.

	(c-forward-to-cpp-expression): Classified this function as
	internal.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-langs.el (c-ObjC-class-key, c-Java-class-key):
	Simplified these regexps; the class keywords they contain
	ought to be enough to avoid false matches, so checking for
	following identifiers etc is just unnecessary (and might also
	fail for oddly formatted code).

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el, progmodes/cc-cmds.el
	(c-forward-comment-lc): New function that behaves like
	`c-forward-comment', with the exception that line
	continuations are treated as whitespace.

	(c-beginning-of-statement): Use `c-forward-comment-lc', to
	work correctly in macros and other places where line
	continuations should be treated as whitespace.

	* progmodes/cc-engine.el (c-guess-basic-syntax): Analyze a
	normal label in a switch block as a case label, to get
	consistent lineup with the case labels.

	* progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
	in skipping over a macro that ends with an empty line.

	* progmodes/cc-styles.el: Require cc-align since styles added
	with `c-add-style' often contains references to functions
	defined there, and so the `c-valid-offset' check might
	otherwise complain on them.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-align.el, progmodes/cc-mode.texi,
	progmodes/cc-vars.el: Added two new lineup functions:

	(c-lineup-knr-region-comment): A new lineup function to get
	(what most people think is) better indentation of comments in
	the "K&R region" between the function header and its body.

	(c-lineup-gcc-asm-reg): New lineup function for better
	indentation inside gcc asm blocks.  Contributed by Kevin Ryde.

	(c-offsets-alist): Use `c-lineup-gcc-asm-reg' and
	`c-lineup-knr-region-comment' in the default offset
	configuration, since these two functions have little impact
	outside their intended use, and they generally do the right
	thing when they kick in.

	* progmodes/cc-engine.el (c-guess-continued-construct,
	c-guess-basic-syntax): Handle nested functions in all
	languages, not just Pike.  In C and C++ there's a gcc
	extension for this, and it also gives better treatment of
	macros that are followed by blocks.

	* progmodes/cc-langs.el (c-symbol-key): Made this variable
	mode specific, to handle Pike special symbols like `== better.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el, progmodes/cc-engine.el,
	progmodes/cc-vars.el (c-report-syntactic-errors): A new
	variable to control the syntactic error messages.  It defaults
	to off; since CC Mode ignores most syntactic errors it might
	as well ignore them all for the sake of consistency.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el (c-looking-at-inexpr-block):
	Optimization.  Can give a noticeable speedup if there's a
	large preceding function or class body.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-align.el, progmodes/cc-cmds.el: Use more
	efficient and correct insertion functions in many places.
	Always inherit text properties correctly if the text is
	permanent.  Also do it for speed in temporary insertions,
	since I figure it's less work to continue the surrounding text
	properties than to break them.

	* progmodes/cc-styles.el (c-read-offset): Unbind SPC in the
	completion to make it easier to enter lists.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-beginning-of-defun): Fixed bug where
	c-state-cache was clobbered.

	* progmodes/cc-cmds.el, progmodes/cc-engine.el
	(c-calculate-state): Moved from cc-cmds.el to cc-engine.el due
	to dependency.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el (c-parse-state): Ignore unbalanced
	open parens in macros (if point isn't in the same one).

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-context-open-line): New function
	that is the `open-line' equivalent to `c-context-line-break'.

	* progmodes/cc-mode.el (c-mode-base-map): Compatibility fix
	for Emacs 21 since `indent-new-comment-line' has been changed
	to `comment-indent-new-line' there.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el, progmodes/cc-langs.el
	(c-stmt-delim-chars, c-stmt-delim-chars-with-comma): New
	variables containing the character sets used to recognize
	statement/declaration boundaries.  These variables might help
	to support languages like javascript and awk, where newlines
	sometimes delimits statements.

	(c-crosses-statement-barrier-p): Use `c-stmt-delim-chars' as
	the set of statement delimiting characters, to allow it to be
	changed dynamically and per-mode.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el (c-looking-at-bos,
	c-looking-at-inexpr-block, c-add-stmt-syntax,
	c-guess-basic-syntax): Treat blocks directly inside function
	calls like "bare" statements inside function calls, and not
	like in-expression statements.  This to make indentation of
	such blocks consistent with other statements inside macro
	calls.

	* progmodes/cc-engine.el (c-guess-basic-syntax): Made
	arglist-cont anchor correctly in arglists that contain
	statements.

	* progmodes/cc-engine.el (c-guess-basic-syntax): Fixed
	consistent anchoring of defun-block-intro in defuns in code
	blocks (can only occur in Pike).

	* progmodes/cc-engine.el (c-looking-at-inexpr-block,
	c-looking-at-inexpr-block-backward): Changed the arguments to
	require containing sexps and paren state, for better
	efficiency.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el, progmodes/cc-engine.el,
	progmodes/cc-vars.el: Improved anchoring of statement and
	handling of labels in front of substatements.

	(c-guess-continued-construct, c-guess-basic-syntax): Improved
	and unified anchoring at statements.  Statements beginning
	with comments or labels are now avoided, by going out of
	blocks and containing statements if necessary.  This nesting
	handling also fixes the case when there's a statement after a
	block open brace.  Added the syntactic symbol
	`substatement-label'.

	(c-electric-colon): Map the new `substatement-label' to
	`label' when consulting `c-hanging-colons-alist'.

	(c-offsets-alist): Added substatement-label.  Updated the
	comments for the new anchoring positions at statements.

	* progmodes/cc-engine.el (c-guess-basic-syntax): Use more sane
	anchor points for knr-argdecl-intro and access-label.  They
	used to refer to some point on the same line, a bug which was
	neutralized by a kludge in `c-get-syntactic-indentation' which
	ignored such anchor points.

	(c-get-syntactic-indentation): Removed the kludge that was
	necessary due to buggy anchor points.

	* progmodes/cc-engine.el (c-guess-basic-syntax): Do not check
	the absence of a comma before arglist-close (case 7A) in any
	language, since there's nothing better to do that case anyway.
	Added special case to make in-expression statements be
	recognized as normal arglist-cont if we're directly in a macro
	arglist, for consistency with other "bare" statements.

	* progmodes/cc-engine.el (c-looking-at-bos): Added optional
	limit arg for backward searches.

	* progmodes/cc-engine.el (c-looking-at-inexpr-block): Anchor
	gcc in-expression statements at the surrounding open
	parenthesis.  Treat a class body as an in-expression class if
	it's used in an object clone expression in Pike.

	* progmodes/cc-engine.el (c-get-offset,
	c-get-syntactic-indentation): Allow several anchor positions
	in the list of syntactic symbols.  Only the first is used as
	the base for the offset calculation.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-indent-defun): Indent the current
	macro if inside one at the top level.  Do not throw an error
	if used at the top level outside a macro.

	* progmodes/cc-cmds.el (c-backslash-region): Do tab width
	alignment only if the backslashes can't be aligned with
	surrounding backslashes.

	* progmodes/cc-engine.el (c-end-of-macro): New function.

	* progmodes/cc-engine.el (c-least-enclosing-brace): Rewritten
	to not be destructive.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-context-line-break): Only do a macro
	line break when point is inside the content of it; if it's in
	the cpp keyword a normal line break is done.

	* progmodes/cc-engine.el (c-guess-basic-syntax): Do not add
	cpp-macro-cont inside the argument list to a #define.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-defs.el (c-forward-comment): Implemented a
	kludge to avoid the problem most forward-comment incarnations
	have with `\' together with comment parsing.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el (c-check-state-cache): Fixed bug
	which could cause the state returned by `c-parse-state' to
	lack a closed paren element.  That in turn could result in
	very long searches, since it's common that they start from the
	last preceding close brace.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el (c-beginning-of-statement-1): Do not
	treat else-if as a single continuation, since that'd make it
	hard to get the right anchor point when there's a line break
	between the two keywords.  This change causes else-clause to
	be anchored on the closest preceding else-if and not always on
	the starting if, but that doesn't affect the indentation for
	any reasonably sane style.  Also introduced a noerror flag.

	(c-beginning-of-closest-statement): Removed;
	c-beginning-of-statement-1 now avoids the problem this one
	solved.

	* progmodes/cc-engine.el (c-guess-continued-construct,
	c-guess-basic-syntax): Better and more uniform anchor points
	for 'statement-cont and 'substatement.  The effect is
	noticeable mostly when there's a label on the same line as the
	beginning of the statement, or when there are more stuff
	before the start of the statement.

	* progmodes/cc-engine.el (c-looking-at-inexpr-block): Added
	flag to disable looking at the type of the surrounding paren
	since that confuses c-beginning-of-statement-1 and a couple of
	other places.

	* progmodes/cc-engine.el (c-guess-basic-syntax): Avoid
	stepping to the previous statement in case 18.  Improvements
	in recognition of statement blocks on the top level.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el (c-beginning-of-statement-1,
	c-crosses-statement-barrier-p): Rewritten to get a well
	defined and documented behavior.  This fixes some tricky cases
	in recognition of do-while constructs.

	(c-backward-to-start-of-do, c-backward-to-start-of-if):
	Removed; use c-beginning-of-statement-1 instead.

	(c-guess-continued-construct, c-guess-basic-syntax): Various
	fixes to not depend on the bugs previously in
	c-beginning-of-statement-1.  Cleanups in cases 18 and 17 to
	use the new behavior of c-beginning-of-statement-1 better.
	Fixed recognition of catch blocks inside macros.

	* progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
	in skipping over a macro.

	* progmodes/cc-langs.el (c-label-kwds): New variable to
	contain the appropriate c-*-label-kwds value.

	* progmodes/cc-vars.el (defcustom-c-stylevar): Fixed value
	evaluation bug that caused the widget for
	c-block-comment-prefix to bug out.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el (c-guess-basic-syntax): Improved
	recognition of statements: They are now recognized in contexts
	where they normally can't occur, e.g. on the top level or in
	function call arguments.  This is mainly useful to recognize
	statements in macros at the top level, and in arguments to
	macros.  The cases has been moved around quite a bit, and case
	10 has been copied to case 18.  (The cases has not been
	renumbered because of this.)

	(c-guess-continued-construct): New function which has the
	rules which are common between cases 10 and 18.

	* progmodes/cc-engine.el (c-beginning-of-statement-1,
	c-backward-to-start-of-do, c-backward-to-start-of-if): Fixes
	so that they really obey the passed limits.

	(c-safe-position): Return nil if the state doesn't contain a
	suitable position.

	(c-guess-basic-syntax): Fixes some too short limits in calls
	to c-beginning-of-statement-1.  Some fixes for top level
	analysis in ObjC mode.

	* progmodes/cc-engine.el (c-beginning-of-statement-1): Fixed
	bug in do-while statements where the body is not a block.

	* progmodes/cc-styles.el (c-set-style): Reset
	c-special-indent-hook to its global value if in override mode.
	Fixes problem where functions on that hook remained after
	style switch.

	* progmodes/cc-engine.el (c-evaluate-offset, c-get-offset):
	Use c-benign-error to report the c-strict-syntax-p error.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-align.el, progmodes/cc-defs.el,
	progmodes/cc-cmds.el, progmodes/cc-engine.el, cc-vars.el:
	Several fixes to treat macros as code and not literals and to
	handle line continuations transparently.

	(c-skip-ws-forward, c-skip-ws-backward): New macros to skip
	through whitespace and line continuations, but not comments
	and macros.

	(c-in-literal): No longer recognizes macros as literals by
	default. An extra flag argument is required to do that.

	(c-macro-start, c-query-macro-start,
	c-query-and-set-macro-start): Added a cache for the macro
	start position.

	(c-forward-syntactic-ws, c-backward-syntactic-ws): Fixes for
	more speed when limits are given.  Workaround for bad behavior
	in forward-comment in some emacsen when it hits a buffer limit
	with a large repeat count.

	(c-lineup-macro-cont): Improved behavior when
	c-syntactic-indentation-in-macros is nil.

	(c-syntactic-indentation-in-macros, c-backslash-max-column,
	c-auto-align-backslashes): New customization variables to
	control macro handling.

	* progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
	Fixes to handle line continuations.

	* progmodes/cc-defs.el, progmodes/cc-styles.el
	(c-get-style-variables, c-set-offset): Report style errors
	with message and ding instead of error signal.  This to avoid
	interrupted mode init if there's some style problem.

	(c-benign-error): New macro to report errors that doesn't need
	to interrupt the operation.

	* progmodes/cc-defs.el (c-point): Added eonl and eopl
	positions.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-electric-brace, c-indent-region):
	Removed most of the c-state-cache fiddling, since the global
	state cache now handles this.

	* progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
	when there's an open paren at the very first char of the
	visible buffer region.

	* progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
	Cache the state globally and invalidate it below every buffer
	change with the new after change function
	`c-check-state-cache'.  This gives a considerable performance
	boost when editing large functions or classes.

	* progmodes/cc-engine.el (c-whack-state-after): Slight
	optimization.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el, progmodes/cc-langs.el,
	progmodes/cc-align.el: Improvements to syntactic analysis
	inside macros:

	(c-block-stmt-1-kwds, c-block-stmt-2-kwds): New variables used
	by `c-guess-basic-syntax'.

	(c-parse-state): Fixed bug with braces inside macros when
	using cached state info.

	(c-forward-to-cpp-expression): New function to aid in
	syntactic analysis inside macros.

	(c-beginning-of-statement-1, c-backward-syntactic-ws): Fixes
	to work better inside macros.

	(c-forward-syntactic-ws): Whitespace between the # and the
	command should be allowed in preprocessor directives.

	(c-lineup-macro-cont): New lineup function to get context
	sensitive indentation inside macros.

	(c-offsets-alist): Made `c-lineup-macro-cont' the default for
	cpp-macro-cont.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el (c-beginning-of-statement-1,
	c-forward-syntactic-ws): Fixes to handle continued lines.

	(c-backward-to-start-of-if, c-guess-basic-syntax): Do
	syntactic analysis inside macros.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-indent-region): Did a speedup made
	possible by the more flexible state cache.

	* progmodes/cc-engine.el (c-parse-state, c-whack-state-before,
	c-whack-state-after, c-hack-state,
	c-narrow-out-enclosing-class, c-guess-basic-syntax): Improved
	the state cache system.  It now can use partial info from an
	old cached state to calculate a new one at a different
	position.  Removed some kludges to avoid the state cache.  The
	new functions `c-whack-state-before' and `c-whack-state-after'
	replace the now obsolete `c-whack-state'.

	* progmodes/cc-engine.el (c-beginning-of-statement-1):
	Optimized backing through a macro.  This can speed things up
	quite a bit when there are long macros before point.

	(c-beginning-of-macro): Do not ignore the limit.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-electric-continued-statement): Fixed
	a bug where the keyword wasn't reindented correctly if
	followed by another keyword or identifier.

	* progmodes/cc-engine.el (c-parse-state): Ignore closed brace
	pairs that are in macros.  Fixes some cases where e.g. the
	second of two "do { } while (0)" macros after each other
	indented differently.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el (c-beginning-of-macro,
	c-forward-syntactic-ws): Recognize "#!" as a preprocessor
	directive when it begins a line, to allow for script
	interpreter lines like "#!/usr/bin/pike" at the beginning of
	the file.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el (c-looking-at-inexpr-block):
	Recognize brace blocks inside a parenthesis expression as
	inexpr-statement.  Useful when writing statements as macro
	arguments.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-fill-paragraph, c-do-auto-fill,
	c-mask-comment): Broke out the comment masking code from
	`c-fill-paragraph' to a new function `c-mask-comment', to be
	able to do the same thing in `c-do-auto-fill'.  This should
	make auto-fill-mode behave better.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-electric-brace, c-electric-paren):
	Check `executing-macro' to avoid blinking parens when macros
	are executed.

	* progmodes/cc-mode.el, progmodes/cc-styles.el
	(c-setup-filladapt): Moved from cc-mode.el to cc-styles.el for
	consistency with `c-setup-paragraph-variables' (which was
	placed there due to the dependency from `c-set-style').

	* progmodes/cc-styles.el, progmodes/cc-vars.el: Fixed bug with
	incomplete initialization from the style variable fallbacks if
	there already is a style called "user" defined when CC Mode
	starts up for the first time.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el, progmodes/cc-vars.el
	(c-comment-indent, c-indent-comment-alist): Added new variable
	`c-indent-comment-alist' to allow better control over
	`c-comment-indent'.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-align.el (c-lineup-C-comments): Try to match
	both `comment-start-skip' and the comment prefix on the
	current line with the comment starter, so that we line up
	comments which matches `c-comment-prefix-regexp' on the first
	line (after the `/') without the need to make
	`comment-start-skip' match whatever `c-comment-prefix-regexp'
	matches.

	* progmodes/cc-mode.el, progmodes/cc-styles.el (c-common-init,
	c-set-style-1, c-setup-paragraph-variables): Moved the
	variable initialization based on `c-comment-prefix-regexp' to
	a new function `c-setup-paragraph-variables', which is now
	used both at mode init and when a style that sets
	`c-comment-prefix-regexp' is activated.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el (c-beginning-of-member-init-list):
	Better handling of C++ template args to avoid confusion with
	`<' and `>' used as operators in member init expressions.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el (c-most-enclosing-brace,
	c-least-enclosing-brace): Added optional second arg to limit
	the search to before a certain point.

	* progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
	which could cause incorrect analysis if a cached state is used
	(usually only happens when an electric key reindents a line).

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-defs.el (c-forward-comment): More idiosyncrasy
	insulation.  This time for XEmacs 21.

	* progmodes/cc-engine.el, progmodes/cc-langs.el: Improved
	handling of inheritance lists:

	(c-beginning-of-inheritance-list): Rewritten to use a more
	syntactically correct method that doesn't get confused by
	badly placed linebreaks and comments.

	(c-guess-basic-syntax): Several fixes to the handling of
	inheritance lists in combination with templates.  'inher-intro
	is now anchored on the start of the class declaration and not
	the indentation of the current line.  Switched places on cases
	5D.3 and 5D.4 and made them use more syntactically correct
	methods.

	(c-inher-key): Removed since the code in
	`c-guess-basic-syntax' now uses token-based search.

	* progmodes/cc-cmds.el, progmodes/cc-mode.el (c-mode-menu):
	Added a submenu to access some toggles.

	(c-toggle-syntactic-indentation): New function to toggle the
	variable `c-syntactic-indentation'.

	* progmodes/cc-styles.el (c-set-style): Improved the error
	message for incorrect offsets a bit.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-indent-exp): Don't require that the
	sexp follows point immediately, instead find the closest
	following open paren that ends on another line.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-align.el (c-lineup-cascaded-calls): New
	indentation function.

	* progmodes/cc-engine.el (c-beginning-of-macro): Bugfix for
	directives with whitespace between the '#' and the name.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el (c-forward-syntactic-ws,
	c-backward-syntactic-ws): Handle line continuations as
	whitespace.  Don't move past a macro if that'd take us past
	the limit.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-engine.el (c-beginning-of-macro,
	c-forward-syntactic-ws): Multiline strings begin with `#"' in
	Pike, and that shouldn't be confused with a preprocessor
	directive.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el: Extended the kludge to interoperate
	with the delsel and pending-del packages wrt to the new
	function `c-electric-delete-forward'.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-indent-exp): Keep the indentation of
	the block itself, i.e. only indent the contents in it.

	* progmodes/cc-styles.el (c-set-style): Use the default
	argument to completing-read instead of initial-contents, if
	the function is recent enough to support it.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-mode.el (c-mode-help-address): Removed
	bug-gnu-emacs@gnu.org from the receiver list for bug reports.
	I've almost never seen a bug reported this way that should go
	to that list, but it's rather common that the reports concern
	the combination CC Mode and XEmacs instead.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-electric-paren): Fixed bug when both
	brace-elseif-brace and brace-catch-brace are active and
	there's a "else if"-block before the catch block.

	* progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
	Detect function headers that span lines.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-electric-brace,
	c-electric-semi&comma, c-electric-colon, c-electric-paren):
	Check for last on line only for doing the auto-newline-mode
	stuff, not for the reindentation.

	* progmodes/cc-cmds.el (c-electric-brace): Fixed bugs in the
	handling of c-syntactic-indentation: When it's nil, indent the
	new lines but don't reindent the current one.  Reindent the
	line only when the inserted brace comes first on it, instead
	of last.

	* progmodes/cc-cmds.el (c-electric-brace,
	c-electric-semi&comma): Fixed two places where
	c-syntactic-indentation wasn't heeded.

	* progmodes/cc-cmds.el (c-electric-pound): Don't be electric
	inside a macro.

	* progmodes/cc-engine.el (c-backward-to-start-of-if): Try a
	little harder to find a fallback position when an orphan else
	is found.  Fixed case where an else following a do-while
	statement could be associated with an if inside the do-while.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-guess-fill-prefix): Tuned the dwim
	for the fallback to add a single space after the comment
	prefix.

	* progmodes/cc-cmds.el (c-indent-new-comment-line): Somewhat
	better behavior in some special cases, especially for
	single-line comments.  Avoid breaking up a comment starter or
	ender.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-outline-level): Applied patch from
	the Emacs sources to make this work in invisible text.

	* progmodes/cc-langs.el (c-switch-label-key): Fixed regexp to
	not be confused by a later ':' on the same line as the label.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el, progmodes/cc-mode.el
	(c-electric-delete, c-electric-delete-forward): Split
	`c-electric-delete' into two functions where
	`c-electric-delete-forward' always deletes forward and
	`c-electric-delete' only contains the code necessary for
	XEmacs to choose between backward and forward deletion.
	`c-electric-delete-forward' is now bound to C-d to get the
	electric behavior on that key too.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-cmds.el (c-fill-paragraph): Fixed bogus direct
	use of c-comment-prefix-regexp, which caused an error when
	it's a list.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init,
	c-default-style): Removed the hardcoded switch to "java" style
	in Java mode.  It's instead taken care of by the default value
	for c-default-style.

2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>

	* progmodes/cc-align.el (c-lineup-math): Fix bug where lineup
	was triggered by equal signs in string literals.

Kim F. Storm's avatar
Kim F. Storm committed
1239 1240 1241 1242 1243
2002-04-21  Kim F. Storm  <storm@cua.dk>

	* subr.el (insert-buffer-substring-no-properties): New function.
	(insert-buffer-substring-as-yank): New function.

1244 1245 1246 1247 1248
2002-04-19  Stefan Monnier  <monnier@cs.yale.edu>

	* files.el (file-name-non-special): Don't mangle the 0'th arg and the
	return value of file-name-completion and file-name-all-completions.

Eli Zaretskii's avatar
Eli Zaretskii committed
1249 1250 1251 1252 1253 1254 1255 1256
2002-04-19  Glenn Morris <gmorris@ast.cam.ac.uk>

	* progmodes/f90.el: Update maintainer.
	(f90-line-continued): Recognize blank/comment lines embedded in
	continuation lines.
	(f90-looking-at-program-block-start): No extra indentation after
	function or subroutine keyword appears in single quotes.

1257 1258 1259 1260 1261 1262 1263
2002-04-19  Miles Bader  <miles@gnu.org>

	* custom.el (customize-mark-to-save, customize-mark-as-set)
	(custom-quote): Moved here from `cus-edit.el'.
	* cus-edit.el (customize-mark-to-save, customize-mark-as-set)
	(custom-quote): Moved to `custom.el'.

1264 1265
2002-04-18  Richard M. Stallman  <rms@gnu.org>

1266 1267 1268 1269 1270 1271 1272
	* facemenu.el (list-text-properties-at): Command deleted.

	* rect.el (insert-rectangle): Use insert-for-yank.

	* register.el (insert-register): Use insert-for-yank.
	(describe-register-1): Discard text props in yank-excluded-properties.

1273
	* toolbar/tool-bar.el (tool-bar-local-item-from-menu):
1274 1275 1276 1277 1278 1279 1280 1281 1282
	Fix parts in construction of `menu-item' item at end.

	* mail/mailabbrev.el (mail-mode-abbrev-table): Delete defvar.

	* subr.el (insert-for-yank): New function.

	* simple.el (yank-excluded-properties): New user option.
	(yank-pop, yank): Use insert-for-yank.

1283 1284 1285 1286 1287
2002-04-19  Kim F. Storm  <storm@cua.dk>

	* simple.el (pop-to-mark-command): Do not set this-command.
	(set-mark-command): Always jump to mark when called with arg.

Francesco Potortì's avatar
Francesco Potortì committed
1288 1289 1290 1291 1292
2002-04-18  Francesco Potorti`  <pot@gnu.org>

	* comint.el (comint-watch-for-password-prompt): Remove whitespace
	at the beginning of password prompts.

Andrew Innes's avatar
Andrew Innes committed
1293 1294 1295 1296
2002-04-18  Andrew Innes  <andrewi@gnu.org>

	* facemenu.el: Remove require of wid-edit.

Colin Walters's avatar
Colin Walters committed
1297 1298 1299 1300
2002-04-17  Colin Walters  <walters@verbum.org>

	* ibuffer.el (ibuffer-visit-buffer): Optionally allow reducing to
	one window.
1301
	(ibuffer-visit-buffer-1-window): Simply call `ibuffer-visit-buffer'.
Colin Walters's avatar
Colin Walters committed
1302 1303
	(ibuffer-current-state-list): Reinstate optional argument; now
	just call `point' inside the mapping function.
Francesco Potortì's avatar
Francesco Potortì committed
1304

Francesco Potortì's avatar
Francesco Potortì committed
1305 1306
2002-04-17  Francesco Potorti`  <pot@gnu.org>

1307 1308
	* dired-aux.el (dired-star-subst-regexp)
	(dired-quark-subst-regexp): New constants.
Francesco Potortì's avatar
Francesco Potortì committed
1309 1310 1311 1312 1313 1314
	(dired-do-shell-command, dired-shell-stuff-it): Use them.
	(dired-do-shell-command): Raise an error if both `*' and `?'
	substitution marks are used in the same command.
	(dired-shell-stuff-it): Substitute all instances of `*' and `?'
	in a command given via dired-do-shell-command.

Francesco Potortì's avatar
Francesco Potortì committed
1315 1316
	* comint.el (comint-password-prompt-regexp): Match "Repeat passphrase".

Jason Rumney's avatar
Jason Rumney committed
1317 1318 1319 1320 1321
2002-04-16  Jason Rumney  <jasonr@gnu.org>

	* international/mule-cmds.el (locale-preferred-coding-systems):
	Add "jpn".

Eli Zaretskii's avatar
Eli Zaretskii committed
1322 1323 1324 1325
2002-04-16  Eli Zaretskii  <eliz@is.elta.co.il>

	* term.el (term-emulate-terminal): Fix last change.

Gerd Moellmann's avatar
Gerd Moellmann committed
1326
2002-04-16  Pavel Jan,Am(Bk  <Pavel@Janik.cz>
1327 1328 1329 1330

	* bindings.el (mode-line-mode-menu): Update names to reflect
	latest changes.

1331 1332 1333 1334 1335
2002-04-16  Mike Williams  <mdub@bigfoot.com>

	* textmodes/sgml-mode.el (sgml-at-indentation-p): Move to fix
	compilation error.

1336
2002-04-16  Michael Kifer  <kifer@cs.stonybrook.edu>
Francesco Potortì's avatar
Francesco Potortì committed
1337

1338
	* viper-ex.el: Patch by Samuel Padgett. Copyright papers received.
1339 1340 1341 1342 1343 1344
	(viper-ex-print-buf-name): New variable.
	(viper-ex-print-buf): New variable.
	(ex-token-alist): Invoke ex-print on ":print" Ex commands.
	(ex-g-marks): New variable.
	(ex-print): New function.
	(ex-print-display-lines): New function.
Francesco Potortì's avatar
Francesco Potortì committed
1345

1346
	* viper.el (viper-set-hooks): Add window-setup-hook, which sets
1347
	the cursor color.
Francesco Potortì's avatar
Francesco Potortì committed
1348

1349
	* ediff-util.el (ediff-cleanup-mess): Delete ctl window on exit
1350
	when the window is not in its own frame.
1351
	(ediff-clone-buffer-for-region-comparison): More robust window
1352
	arrangement while prompting for regions to compare.
1353 1354
	(ediff-make-cloned-buffer): Use generate-new-buffer-name.
	(ediff-inferior-compare-regions): Deleted unused vars
1355
	ctl-buf and quit-now.
Francesco Potortì's avatar
Francesco Potortì committed
1356

1357 1358 1359 1360 1361 1362 1363 1364
2002-04-15  Richard M. Stallman  <rms@gnu.org>

	* facemenu.el (facemenu-add-new-face): Use this only for faces.
	Delete arg MENU.
	(facemenu-add-new-color): New function.
	(facemenu-set-foreground, facemenu-set-background):
	Use facemenu-add-new-color.

Eli Zaretskii's avatar
Eli Zaretskii committed
1365 1366
2002-04-15  Eli Zaretskii  <eliz@is.elta.co.il>

Francesco Potortì's avatar
Francesco Potortì committed
1367 1368 1369 1370 1371 1372 1373 1374
	* ediff-init.el (ediff-current-diff-face-A)
	(ediff-current-diff-face-B, ediff-current-diff-face-C)
	(ediff-current-diff-face-Ancestor, ediff-fine-diff-face-A)
	(ediff-fine-diff-face-B, ediff-fine-diff-face-C)
	(ediff-fine-diff-face-Ancestor, ediff-even-diff-face-A)
	(ediff-even-diff-face-B, ediff-even-diff-face-C)
	(ediff-even-diff-face-Ancestor, ediff-odd-diff-face-A)
	(ediff-odd-diff-face-B, ediff-odd-diff-face-C)
Eli Zaretskii's avatar
Eli Zaretskii committed
1375 1376 1377
	(ediff-odd-diff-face-Ancestor): Add special color definitions for
	tty and MS-DOS displays.

Andrew Innes's avatar
Andrew Innes committed
1378 1379 1380 1381
2002-04-15  Andrew Innes  <andrewi@gnu.org>

	* facemenu.el: Require wid-edit.

1382 1383 1384 1385
2002-04-15  Miles Bader  <miles@gnu.org>

	* faces.el (highlight): Force foreground to be black on a tty, so
	this face is readable on a dark-background tty.
Francesco Potortì's avatar
Francesco Potortì committed
1386
	* wid-edit.el (widget-field-face, widget-single-line-field-face):
1387 1388
	Likewise.

Kim F. Storm's avatar
Kim F. Storm committed
1389 1390 1391 1392 1393 1394 1395
2002-04-14  Kim F. Storm  <storm@cua.dk>

	* simple.el (pop-to-mark-command, push-mark-command): New commands.
	(set-mark-command): Use them.
	Enhanced functionality when command is repeated:
	- If first command set the mark (no prefix arg), repeat temporarily
	enables transient-mark-mode.
Francesco Potortì's avatar
Francesco Potortì committed
1396
	- If first command jumped to mark off ring (with argument),
Kim F. Storm's avatar
Kim F. Storm committed
1397 1398 1399 1400 1401
	repeat (with or without arg) jump to next mark off ring.
	- Use C-u C-u prefix to set mark after jump.
	(exchange-point-and-mark): Temporarily enable transient-mark-mode
	if prefix arg.

Gerd Moellmann's avatar
Gerd Moellmann committed
1402
2002-04-14  Pavel Jan,Am(Bk  <Pavel@Janik.cz>
Pavel Janík's avatar
Pavel Janík committed
1403 1404 1405 1406

	* speedbar.el (speedbar-tag-hierarchy-method)
	(speedbar-toggle-updates, speedbar-toggle-images): Doc fixes.

1407 1408 1409 1410 1411
2002-04-14  Mike Williams  <mdub@bigfoot.com>

	* textmodes/sgml-mode.el (sgml-parse-tag-backward): Fix to work at
	beginning of buffer.

Gerd Moellmann's avatar
Gerd Moellmann committed
1412
2002-04-14  Pavel Jan,Am(Bk  <Pavel@Janik.cz>
Pavel Janík's avatar
Pavel Janík committed
1413 1414 1415 1416 1417

	* speedbar.el (speedbar-generic-item-info)
	(speedbar-sort-tags): Doc fix.
	(speedbar-add-supported-extension): Fix typo in interactive spec.

Colin Walters's avatar
Colin Walters committed
1418 1419 1420 1421 1422 1423 1424 1425 1426
2002-04-13  Colin Walters  <walters@verbum.org>

	* ibuffer.el (ibuffer-forward-line): Just skip header if we're
	only moving one line forward.
	(ibuffer-map-lines): Preserve point position even if we delete
	lines.  Only call mapping functions with buffer and mark
	arguments; the other two were unused.
	(ibuffer-redisplay, ibuffer-update): Always skip special areas.

1427
	* ibuf-macs.el, ibuf-ext.el: Update callers of `ibuffer-map-lines'.
Colin Walters's avatar
Colin Walters committed
1428 1429

	* calc/calc-bin.el (math-format-radix-float): Use `when'.
Francesco Potortì's avatar
Francesco Potortì committed
1430

Colin Walters's avatar
Colin Walters committed
1431 1432
	* calc/calc.el (math-format-number): Load `calc-ext' before we
	call `math-group-float'.
Colin Walters's avatar
Colin Walters committed
1433 1434 1435 1436

	* play/gamegrid.el (gamegrid-add-score-with-update-game-score):
	Renamed from `gamegrid-add-score'.
	(gamegrid-add-score-insecure): Restored from the old
Colin Walters's avatar
Colin Walters committed
1437
	`gamegrid-add-score'.
Colin Walters's avatar
Colin Walters committed
1438 1439 1440
	(gamegrid-add-score): Just dispatch on `system-type' to one of the
	previous two functions.

Gerd Moellmann's avatar
Gerd Moellmann committed
1441
2002-04-13  Pavel Jan,Am(Bk  <Pavel@Janik.cz>
1442 1443 1444 1445

	* iswitchb.el: Update commentary to include new function
	iswitchb-exclude-nonmatching.

John Wiegley's avatar
John Wiegley committed
1446 1447 1448
2002-04-12  John Wiegley  <johnw@gnu.org>

	* eshell/esh-ext.el (eshell-script-interpreter): Fix for CRLF
1449
	operating systems to the regexp used to detect a script's interpreter.
John Wiegley's avatar
John Wiegley committed
1450

1451 1452 1453 1454 1455
2002-04-12  Eli Zaretskii  <eliz@is.elta.co.il>

	* frame.el (frames-on-display-list): Use `equal' to compare the
	`display' frame parameter to the argument DISPLAY.

Gerd Moellmann's avatar
Gerd Moellmann committed
1456 1457 1458 1459
2002-04-12  Dave Love  <fx@gnu.org>

	* help.el (string-key-binding): Deal with margin events.

Francesco Potortì's avatar
Francesco Potortì committed
1460 1461
2002-04-12  Francesco Potorti`  <pot@gnu.org>

1462
	* comint.el (comint-password-prompt-regexp): Match " SMB password".
Francesco Potortì's avatar
Francesco Potortì committed
1463

Stefan Monnier's avatar
Stefan Monnier committed
1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485
2002-04-11  Stefan Monnier  <monnier@cs.yale.edu>

	* sort.el (sort-reorder-buffer): Don't assume point-min == 1.

	* xt-mouse.el (xterm-mouse-mode): Use define-minor-mode.

	* emacs-lisp/lucid.el (device-class, buffer-syntactic-context)
	(buffer-syntactic-context-depth): New funs.

	* emacs-lisp/edebug.el (edebug-eval-defun): Don't use defconst
	on variables.

	* emacs-lisp/debug.el (debug-on-entry): Use push.
	(debugger-make-xrefs): Don't assume point-min == 1.

	* progmodes/cc-engine.el (c-backward-to-start-of-if):
	Don't assume point-min == 1.

	* progmodes/etags.el (etags-verify-tags-table, etags-snarf-tag)
	(etags-list-tags, etags-tags-apropos, select-tags-table):
	Don't assume point-min == 1.

1486 1487 1488 1489
2002-04-12  Mike Williams  <mdub@bigfoot.com>

	* textmodes/sgml-mode.el (sgml-guess-indent): New function.

Stefan Monnier's avatar
Stefan Monnier committed
1490 1491
2002-04-11  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
1492 1493
	* textmodes/fill.el (fill-context-prefix): Fix up last change.

Stefan Monnier's avatar
Stefan Monnier committed
1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505
	* simple.el (line-move): Use memq rather than or.
	(transpose-sexps): Don't presume as much of forward-sexp's behavior.
	(do-auto-fill): Use fill-move-to-break-point.
	(syntax-code-table): Remove.

	* textmodes/fill.el (canonically-space-region): Obey sentence-end.
	Don't add spaces at end of sentences at end of line.
	(fill-move-to-break-point): Make sure the result is always greater
	than linebeg, so we ensure forward progress.
	(fill-region-as-paragraph): Compare to `to' rather than eobp.
	(fill-paragraph): Don't rebind fill-paragraph-function.

Gerd Moellmann's avatar
Gerd Moellmann committed
1506
2002-04-11  Pavel Jan,Am(Bk  <Pavel@Janik.cz>
1507 1508 1509

	* menu-bar.el (menu-bar-adv-search-menu): Add incremental search.

Andreas Schwab's avatar
.  
Andreas Schwab committed
1510 1511 1512 1513 1514
2002-04-11  Andreas Schwab  <schwab@suse.de>

	* files.el (file-name-non-special): Handle return value of t from
	`file-name-completion'.

Stefan Monnier's avatar
Stefan Monnier committed
1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526
2002-04-10  Stefan Monnier  <monnier@cs.yale.edu>

	* textmodes/fill.el (fill-context-prefix): Match the two prefixes
	differently to avoid pathological exponential-time case.
	(adaptive-fill-regexp): Add ! and %.
	(fill-delete-prefix): Remove indentation while removing prefix.
	(fill-delete-newlines): Obey sentence-end.
	(fill-move-to-break-point, fill-newline): New functions extracted
	from fill-region-as-paragraph.
	(fill-region-as-paragraph): Use them.
	Don't fiddle with fill-indent-according-to-mode.

Colin Walters's avatar
Colin Walters committed
1527 1528
2002-04-10  Colin Walters  <walters@verbum.org>

Colin Walters's avatar
Colin Walters committed
1529 1530 1531
	* play/snake.el (snake-score-file): Default to just "snake-scores".

	* play/tetris.el (tetris-score-file): Likewise.
Stefan Monnier's avatar
Stefan Monnier committed
1532

Colin Walters's avatar
Colin Walters committed
1533 1534 1535
	* play/gamegrid.el (gamegrid-add-score): Rewrite from scratch to
	use `update-game-score'.

Stefan Monnier's avatar
Stefan Monnier committed
1536
	* ibuffer.el (ibuffer-canonicalize-state-list): Delete unused function.
Colin Walters's avatar
Colin Walters committed
1537 1538 1539 1540
	(ibuffer-current-buffers-with-marks): Don't call `buffer-list'
	ourselves; take it as an argument.  Caller updated.
	(ibuffer-mode): Make mode-class special.

1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556
2002-04-10  Richard M. Stallman  <rms@gnu.org>

	* dired.el (dired-view-command-alist): New variable.
	(dired-view-file): Use external viewers for some files names.

	* mouse.el (mouse-drag-region-1): Display region highlight
	only in the selected window.

	* subr.el (remove-hook): When there are no more local hooks,
	kill the buffer-local value.

	* isearch.el (isearch-mode): Don't call make-frame-visible
	if frame is already visible.

	* cus-face.el (custom-face-attributes): Fix typo in `ultra-bold'.

Stefan Monnier's avatar
Stefan Monnier committed
1557 1558
2002-04-09  Emmanuel Briot  <briot@act-europe.fr>

Gerd Moellmann's avatar
Gerd Moellmann committed
1559 1560 1561 1562 1563
	* progmodes/ada-prj.el: Add support for the new project file
	fields: gnatfind-opt, debug-pre-cmd and debug-post-cmd.  Fix
	widget handling for Emacs 21.  ada-mode now only supports a single
	active project file, instead of one per buffer.  This is far less
	confusing.
Stefan Monnier's avatar
Stefan Monnier committed
1564

Gerd Moellmann's avatar
Gerd Moellmann committed
1565 1566
	* progmodes/ada-stmt.el: Menu changed from Statements to
	Templates.
Stefan Monnier's avatar
Stefan Monnier committed
1567 1568 1569
	(ada-func-or-proc-name): Get real subprogram name, after change in
	ada-mode.el.

Gerd Moellmann's avatar
Gerd Moellmann committed
1570 1571 1572 1573 1574 1575 1576 1577 1578 1579
	* progmodes/ada-xref.el: Ada-mode no longer supports a different
	project file per buffer.  This was too complex.  Instead, there is
	now a single active project file at any given time, and the user
	can switch the active one through the Ada menu.  This revision
	also provides better handling of the Windows command line, and the
	various available shells on that platform.  ada-mode is now fully
	integrated with the GNU visual debugger gvd, see
	http://libre.act-europe.fr.
	(ada-prj-default-comp-opt): Use the new GNAT switch -gnatQ.  This
	is only available with GNAT 3.14.
Stefan Monnier's avatar
Stefan Monnier committed
1580 1581 1582 1583 1584 1585
	(ada-prj-gnatfind-switches, ada-cd-command): New variable.
	(ada-quote-cmd): New function.
	(ada-initialize-runtime-library): Get the location of the actual
	runtime the compiler will be using, including support for
	cross-platform environments.
	(ada-treat-cmd-string): Add support for the new variable
Gerd Moellmann's avatar
Gerd Moellmann committed
1586 1587 1588 1589
	${full_current} add support for debug-pre-cmd and debug-post-cmd,
	two commands to run just prior to running the debugger, and just
	after starting it.  This provide better support for cross-platform
	and remote debugging.
Stefan Monnier's avatar
Stefan Monnier committed
1590 1591 1592 1593 1594 1595 1596
	(ada-get-absolute-dir): Remove, replace with expand-file-name.
	(ada-gdb-application): New parameter executable-name.
	(ada-get-ali-file-name): Better handling of separate packages.
	Checkin on behalf of the ada-mode maintainer.

	* progmodes/ada-mode.el (ada-case-exception-file)
	(ada-indent-handle-comment-special): New variables.
Gerd Moellmann's avatar
Gerd Moellmann committed
1597 1598 1599 1600 1601 1602 1603
	(ada-case-exception-substring): New variable.  Casing exceptions
	can now also be defined for substrings, in addition to full
	identifier names.  This provides more flexibility.
	(ada-align-list): New function, provide support for align.el in
	ada-mode.
	(ada-procedure-start-regexp): Add support for operators and
	generic formal subprograms and packages.
Stefan Monnier's avatar
Stefan Monnier committed
1604 1605
	(ada-imenu-comment-re): New variable.
	(ada-imenu-generic-expression): Add support for protected types.
Gerd Moellmann's avatar
Gerd Moellmann committed
1606 1607 1608
	(ada-mode): Set comment-start only after running ada-mode-hook, so
	that the user can change ada-comment-start in the hook.  Add
	support for ispell in comments.  Add support for align.el.
Stefan Monnier's avatar
Stefan Monnier committed
1609 1610
	(ada-save-exception-file, ada-create-case-exception-substring)
	(ada-adjust-case-substring): New functions.
Gerd Moellmann's avatar
Gerd Moellmann committed
1611 1612 1613 1614 1615 1616
	(ada-get-current-indent): Properly handles keywords with
	uppercases.
	(ada-goto-matching-end): Rewritten, fixes problems in the handling
	of nested blocks.
	(ada-untab-hard): Do not touch the contents of comments and
	strings.
Stefan Monnier's avatar
Stefan Monnier committed
1617

1618 1619
2002-04-09  Mike Williams  <mdub@bigfoot.com>

Stefan Monnier's avatar
Stefan Monnier committed
1620 1621
	* textmodes/sgml-mode.el (sgml-lexical-context):
	Use sgml-parse-tag-backward to find start point.
1622 1623
	(sgml-looking-back-at): Doc fix.

Gerd Moellmann's avatar
Gerd Moellmann committed
1624
2002-04-09  Pavel Jan,Am(Bk  <Pavel@Janik.cz>
1625 1626 1627 1628

	* isearch.el (isearch-message-prefix): Use minibuffer-prompt face
	for prompt.

Stefan Monnier's avatar
Stefan Monnier committed
1629 1630
2002-04-08  Stefan Monnier  <monnier@cs.yale.edu>

Stefan Monnier's avatar
Stefan Monnier committed
1631 1632 1633 1634 1635
	* autorevert.el (auto-revert-mode, global-auto-revert-mode):
	Use define-minor-mode.
	(auto-revert-buffers): Use with-current-buffer.
	Avoid changing the minor modes.

Stefan Monnier's avatar
Stefan Monnier committed
1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662
	* international/iso-acc.el (iso-accents-accent-key): Use `vector'
	rather than char-to-string since last-input-char can be any event.

	* international/titdic-cnv.el (tit-dictionary):
	Use defvar for non-constants.

	* progmodes/cwarn.el (global-cwarn-mode): Use define-minor-mode.
	(global-cwarn-mode): Use easy-mmode-define-global-mode.
	(cwarn-font-lock-keywords): New function.
	Replaces cwarn-font-lock-remove-keywords cwarn-font-lock-add-keywords.
	(cwarn-font-lock-match): New macro.
	(cwarn-font-lock-match-assignment-in-expression)
	(cwarn-font-lock-match-dangerous-semicolon)
	(cwarn-font-lock-match-reference): Use it.

	* progmodes/cperl-mode.el (cperl-make-face, cperl-force-face):
	Use defvar rather than defconst since it's meant to be settable.
	(cperl-syntax-done-to): Don't hardcode 1 as (point-min).
	(cperl-fix-line-spacing): Add missing \ in [ t].

	* loadup.el: Call ucs-unify-8859 directly rather than
	unify-8859-on-encoding-mode.
	(fns-*.el): Don't use it anymore.  Keep the load-history in purespace.

	* textmodes/sgml-mode.el (sgml-comment-indent-new-line): New fun.
	(sgml-mode): Use it for comment-line-break-function.

1663 1664
2002-04-08  Jason Rumney  <jasonr@gnu.org>

Stefan Monnier's avatar
Stefan Monnier committed
1665 1666
	* international/mule-cmds.el (reset-language-environment):
	Handle coding-systems not being defined yet.
1667

1668
2002-04-08  Sam Steingold  <sds@gnu.org>
1669

1670 1671
	* vc-cvs.el (vc-cvs-valid-version-number-p): New function.
	(vc-cvs-checkin): Use it.
1672

Gerd Moellmann's avatar
Gerd Moellmann committed
1673
2002-04-08  Pavel Jan,Am(Bk  <Pavel@Janik.cz>
1674 1675 1676

	* files.el (display-time-string): Fix last change.

1677 1678 1679 1680
2002-04-07  Sam Steingold  <sds@gnu.org>

	* vc-cvs.el (vc-cvs-checkin): Pass the required argument to `error'.

1681 1682 1683 1684 1685
2002-04-07  Jason Rumney  <jasonr@gnu.org>

	* international/mule-cmds.el (set-default-coding-systems)
	(reset-language-environment): Preserve eols on
	default-process-coding-system.
Stefan Monnier's avatar
Stefan Monnier committed
1686
	(coding-system-change-text-conversion): Fix case where CODING is nil.
1687

Gerd Moellmann's avatar
Gerd Moellmann committed
1688
2002-04-07  Pavel Jan,Am(Bk  <Pavel@Janik.cz>
Pavel Janík's avatar
Pavel Janík committed
1689 1690 1691 1692 1693

	* subr.el (play-sound): Move here from simple.el.

	* simple.el (play-sound): Move to subr.el.

1694 1695
2002-04-06  Richard M. Stallman  <rms@gnu.org>

1696 1697
	* files.el (display-time-string-forms): Mark as risky.

1698 1699 1700 1701
	* enriched.el (enriched-decode-foreground, enriched-decode-background):
	Use proper format for desired elts of `face' property.
	Don't test display-color-p; make the properties unconditionally.

1702 1703 1704
	* progmodes/compile.el (compilation-error-regexp-alist):
	New alternatives for FILE:LINE.COL and for ranges of columns and lines.

1705 1706 1707 1708 1709 1710
2002-04-06  Per Abrahamsen  <abraham@dina.kvl.dk>

	* progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
	for customization type.
	Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.

Mike Williams's avatar
Mike Williams committed
1711 1712 1713 1714
2002-04-06  Mike Williams  <mdub@bigfoot.com>

	* textmodes/xml-lite.el: Remove.

Gerd Moellmann's avatar
Gerd Moellmann committed
1715
2002-04-05  Pavel Jan,Am(Bk  <Pavel@Janik.cz>
Pavel Janík's avatar
Pavel Janík committed
1716 1717 1718

	* simple.el (play-sound): New function (uses play-sound-internal).

1719 1720
2002-04-04  Richard M. Stallman  <rms@gnu.org>

1721 1722
	* files.el (mode-line-format, mode-line-modified)
	(mode-line-mule-info, mode-line-buffer-identification)
1723 1724 1725
	(mode-line-modes, mode-line-position): Explicitly mark as risky.
	(hack-one-local-variable): Don't recognize "mode-line-..." as risky.

1726 1727
	* calendar/solar.el (solar-northern-spring-or-summer-season): Doc fix.

1728 1729 1730
	* mail/mailabbrev.el (mail-abbrev-make-syntax-table):
	Use (syntax-table), not old-syntax-table.

1731
	* enriched.el (enriched-decode-foreground)
1732 1733
	(enriched-decode-background): Don't call facemenu-get-face.

Mike Williams's avatar
Mike Williams committed
1734 1735 1736 1737 1738
2002-04-04  Mike Williams  <mdub@bigfoot.com>

	* textmodes/sgml-mode.el: Add missing require.
	(sgml-lexical-context): Fix up CDATA detection for boundary cases.

Gerd Moellmann's avatar
Gerd Moellmann committed
1739
2002-04-03  Kai Gro,A_(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
1740 1741 1742 1743 1744 1745 1746

	* pcvs.el (cvs-mode-previous-line, cvs-mode-next-line): Move to
	spot indicated by text property `cvs-goal-column', if present.

	* pcvs-info.el (cvs-fileinfo-pp): Use text property
	`cvs-goal-column' to indicate position of file name (if present).

1747 1748
2002-04-03  Richard M. Stallman  <rms@gnu.org>

1749 1750 1751
	* mail/mailabbrev.el (mail-abbrev-complete-alias):
	Call mail-abbrev-make-syntax-table.

1752 1753 1754 1755 1756 1757 1758 1759
	* format.el (format-deannotate-region): Doc fix.