comparison lisp/ChangeLog @ 32326:b8132c394173

Cleanup whitespace.
author Miles Bader <miles@gnu.org>
date Mon, 09 Oct 2000 02:29:48 +0000
parents d627ec021756
children 66df0c812955
comparison
equal deleted inserted replaced
32325:d627ec021756 32326:b8132c394173
171 Don't use `update-menu-bindings' any more. 171 Don't use `update-menu-bindings' any more.
172 Get rid of assumptions about keymap representation. 172 Get rid of assumptions about keymap representation.
173 173
174 2000-10-06 Dave Love <fx@gnu.org> 174 2000-10-06 Dave Love <fx@gnu.org>
175 175
176 * textmodes/fill.el (sentence-end-double-space) 176 * textmodes/fill.el (sentence-end-double-space)
177 (sentence-end-without-period): Doc fix. 177 (sentence-end-without-period): Doc fix.
178 (adaptive-fill-regexp): Purecopy. 178 (adaptive-fill-regexp): Purecopy.
179 (unjustify-current-line): Use line-end-position. 179 (unjustify-current-line): Use line-end-position.
180 (fill-individual-paragraphs-prefix): Use line-beginning-position. 180 (fill-individual-paragraphs-prefix): Use line-beginning-position.
181 181
199 199
200 * smerge-mode.el (smerge-diff): Setup the buffer's default-directory 200 * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
201 and add filename to the names so that diff-mode can jump to source. 201 and add filename to the names so that diff-mode can jump to source.
202 202
203 * font-lock.el (font-lock-defaults-alist): Remove the TeX entries. 203 * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
204 (tex-font-lock-keywords, tex-font-lock-keywords-2) 204 (tex-font-lock-keywords, tex-font-lock-keywords-2)
205 (tex-font-lock-keywords-1): Remove. 205 (tex-font-lock-keywords-1): Remove.
206 (font-lock-turn-on-thing-lock): Use jit-lock-register. 206 (font-lock-turn-on-thing-lock): Use jit-lock-register.
207 (font-lock-turn-off-thing-lock): Use jit-lock-unregister. 207 (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
208 (font-lock-default-fontify-region): 208 (font-lock-default-fontify-region):
209 Expand beg..end correctly when just following a multiline region. 209 Expand beg..end correctly when just following a multiline region.
231 (shell-command-on-region): Use `display-message-or-buffer'. 231 (shell-command-on-region): Use `display-message-or-buffer'.
232 232
233 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated 233 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
234 docstring parts. 234 docstring parts.
235 235
236 * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp) 236 * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
237 (smbclient-prompt-regexp): Add usage note to doc string. 237 (smbclient-prompt-regexp): Add usage note to doc string.
238 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed. 238 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
239 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'. 239 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
240 Use add-hook for adding the comint filter function, and only do so 240 Use add-hook for adding the comint filter function, and only do so
241 if it's not already in the global hook list. 241 if it's not already in the global hook list.
298 298
299 2000-10-05 Miles Bader <miles@lsi.nec.co.jp> 299 2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
300 300
301 * image.el (image): New group. 301 * image.el (image): New group.
302 302
303 * smerge-mode.el (smerge-mine-face, smerge-other-face) 303 * smerge-mode.el (smerge-mine-face, smerge-other-face)
304 (smerge-base-face, smerge-markers-face): Add dark-background variants. 304 (smerge-base-face, smerge-markers-face): Add dark-background variants.
305 305
306 2000-10-04 Peter Breton <pbreton@ne.mediaone.net> 306 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
307 307
308 * net/net-utils.el (nslookup-font-lock-keywords) 308 * net/net-utils.el (nslookup-font-lock-keywords)
309 (ftp-font-lock-keywords, smbclient-font-lock-keywords): 309 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
310 Ignore the value of wqindow-system; always define keywords 310 Ignore the value of wqindow-system; always define keywords
311 311
312 2000-10-05 Kenichi Handa <handa@etl.go.jp> 312 2000-10-05 Kenichi Handa <handa@etl.go.jp>
313 313
314 * startup.el (fancy-splash-screens): Remove the code for 314 * startup.el (fancy-splash-screens): Remove the code for
360 * subr.el (substitute-key-definition): Doc fix. 360 * subr.el (substitute-key-definition): Doc fix.
361 (play-sound-file): New command. 361 (play-sound-file): New command.
362 362
363 2000-10-04 Andre Spiegel <spiegel@gnu.org> 363 2000-10-04 Andre Spiegel <spiegel@gnu.org>
364 364
365 * vc-hooks.el (vc-before-save, vc-default-make-version-backups, 365 * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
366 vc-version-backup-file-name): New functions. 366 vc-version-backup-file-name): New functions.
367 367
368 * files.el (basic-save-buffer): Call vc-before-save before saving. 368 * files.el (basic-save-buffer): Call vc-before-save before saving.
369 369
370 * vc-cvs.el (vc-cvs-make-version-backups): Return t if 370 * vc-cvs.el (vc-cvs-make-version-backups): Return t if
371 vc-cvs-stay-local-p. 371 vc-cvs-stay-local-p.
372 372
373 * vc.el (vc-revert-buffer): Handle empty diff properly. 373 * vc.el (vc-revert-buffer): Handle empty diff properly.
374 (vc-version-backup-file): New function. 374 (vc-version-backup-file): New function.
375 (vc-checkout): Create a version backup if necessary. 375 (vc-checkout): Create a version backup if necessary.
386 (tool-bar-mode): Use it. 386 (tool-bar-mode): Use it.
387 387
388 2000-10-04 Peter Breton <pbreton@ne.mediaone.net> 388 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
389 389
390 * net/net-utils.el (nslookup-font-lock-keywords) 390 * net/net-utils.el (nslookup-font-lock-keywords)
391 (ftp-font-lock-keywords, smbclient-font-lock-keywords): 391 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
392 Only set if window-system is non-nil 392 Only set if window-system is non-nil
393 (net-utils-run-program): Returns buffer. 393 (net-utils-run-program): Returns buffer.
394 (network-connection-reconnect): Added this function. 394 (network-connection-reconnect): Added this function.
395 395
396 * generic.el: 396 * generic.el:
397 Incorporates extensive cleanup and docfixes by 397 Incorporates extensive cleanup and docfixes by
398 Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu). 398 Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
399 Uses cl compile-time macros. 399 Uses cl compile-time macros.
400 (generic-mode-name, generic-comment-list) 400 (generic-mode-name, generic-comment-list)
401 (generic-keywords-list, generic-font-lock-expressions) 401 (generic-keywords-list, generic-font-lock-expressions)
402 (generic-mode-function-list, generic-mode-syntax-table): 402 (generic-mode-function-list, generic-mode-syntax-table):
408 (generic-add-to-auto-mode): Removed this function 408 (generic-add-to-auto-mode): Removed this function
409 (generic-mode-internal): Bind mode-specific definitions 409 (generic-mode-internal): Bind mode-specific definitions
410 into function instead of putting them in alist. 410 into function instead of putting them in alist.
411 (generic-mode-set-comments): Reworked extensively. 411 (generic-mode-set-comments): Reworked extensively.
412 (generic-mode-find-file-hook): Simplified regexp searching 412 (generic-mode-find-file-hook): Simplified regexp searching
413 (generic-make-keywords-list): Omit extra pair of parens 413 (generic-make-keywords-list): Omit extra pair of parens
414 414
415 * find-lisp.el (find-lisp-find-files-internal): 415 * find-lisp.el (find-lisp-find-files-internal):
416 Make sure directory name ends with "/". 416 Make sure directory name ends with "/".
417 417
418 * generic-x.el (apache-conf-generic-mode): 418 * generic-x.el (apache-conf-generic-mode):
419 Regexp now allows leading whitespace. 419 Regexp now allows leading whitespace.
420 (rc-generic-mode): Added eval-when-compile 420 (rc-generic-mode): Added eval-when-compile
421 around generic-make-keywords-list. 421 around generic-make-keywords-list.
422 Deleted duplicate regexp 422 Deleted duplicate regexp
423 (rul-generic-mode): Added eval-when-compile 423 (rul-generic-mode): Added eval-when-compile
424 around generic-make-keywords-list. 424 around generic-make-keywords-list.
425 (etc-fstab-generic-mode): New generic mode. 425 (etc-fstab-generic-mode): New generic mode.
426 (rul-generic-mode): Removed one eval-when-compile 426 (rul-generic-mode): Removed one eval-when-compile
427 which caused a max-specpdl-size exceeded error. 427 which caused a max-specpdl-size exceeded error.
428 428
429 2000-10-04 Miles Bader <miles@gnu.org> 429 2000-10-04 Miles Bader <miles@gnu.org>
430 430
431 * simple.el (minibuffer-temporary-goal-position): New variable. 431 * simple.el (minibuffer-temporary-goal-position): New variable.
432 (next-history-element): Try to keep the position of point in the 432 (next-history-element): Try to keep the position of point in the
444 * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def. 444 * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
445 (texinfo-mode-menu): Add an explicit shortcut for update all. 445 (texinfo-mode-menu): Add an explicit shortcut for update all.
446 446
447 2000-10-03 Andre Spiegel <spiegel@gnu.org> 447 2000-10-03 Andre Spiegel <spiegel@gnu.org>
448 448
449 * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to 449 * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
450 factorize backend-specific code cleanly (this was essentially 450 factorize backend-specific code cleanly (this was essentially
451 conceived by Stefan Monnier). 451 conceived by Stefan Monnier).
452 (vc-unregister): Function removed. 452 (vc-unregister): Function removed.
453 (vc-revert-file): New function. 453 (vc-revert-file): New function.
454 (vc-revert-buffer): Delegate some of the work to it. 454 (vc-revert-buffer): Delegate some of the work to it.
455 455
456 * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember 456 * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
457 default branch unconditionally. 457 default branch unconditionally.
458 (vc-rcs-set-default-branch): New function. 458 (vc-rcs-set-default-branch): New function.
490 2000-10-02 Andre Spiegel <spiegel@gnu.org> 490 2000-10-02 Andre Spiegel <spiegel@gnu.org>
491 491
492 * vc-hooks.el (vc-registered): If FILE used to be registered under 492 * vc-hooks.el (vc-registered): If FILE used to be registered under
493 a certain backend, try that one first. 493 a certain backend, try that one first.
494 494
495 * vc.el (vc-responsible-backend): Undo the previous change in the 495 * vc.el (vc-responsible-backend): Undo the previous change in the
496 argument list. Handle multiple backends correctly. 496 argument list. Handle multiple backends correctly.
497 (vc-find-new-backend): Function removed. 497 (vc-find-new-backend): Function removed.
498 (vc-register): Use vc-responsible-backend, as before. 498 (vc-register): Use vc-responsible-backend, as before.
499 (vc-next-action-on-file): Do use vc-registered, not vc-backend. 499 (vc-next-action-on-file): Do use vc-registered, not vc-backend.
500 500
538 Update call to vc-unregister. 538 Update call to vc-unregister.
539 Use constant `RCS' rather than (dynamically bound) var `backend'. 539 Use constant `RCS' rather than (dynamically bound) var `backend'.
540 540
541 2000-10-01 Andre Spiegel <spiegel@gnu.org> 541 2000-10-01 Andre Spiegel <spiegel@gnu.org>
542 542
543 * vc.el (vc-next-action-on-file): Update mode line only if file 543 * vc.el (vc-next-action-on-file): Update mode line only if file
544 is visited. 544 is visited.
545 (vc-start-entry): New argument initial-contents. Don't visit the file 545 (vc-start-entry): New argument initial-contents. Don't visit the file
546 if it isn't already visited. Brought documentation up-to-date. 546 if it isn't already visited. Brought documentation up-to-date.
547 (vc-next-action, vc-register): Updated calls to vc-start-entry. 547 (vc-next-action, vc-register): Updated calls to vc-start-entry.
548 (vc-checkin): New optional arg initial-contents, which is passed to 548 (vc-checkin): New optional arg initial-contents, which is passed to
549 vc-start-entry. 549 vc-start-entry.
550 (vc-finish-logentry): Make sure to bury log buffer only if there 550 (vc-finish-logentry): Make sure to bury log buffer only if there
551 really is one. Call `vc-resynch-buffer' on log-file, not 551 really is one. Call `vc-resynch-buffer' on log-file, not
552 buffer-file-name. 552 buffer-file-name.
553 (vc-default-comment-history, vc-default-wash-log): New functions. 553 (vc-default-comment-history, vc-default-wash-log): New functions.
557 the resulting string to vc-checkin, instead of inserting it into the 557 the resulting string to vc-checkin, instead of inserting it into the
558 comment ring. 558 comment ring.
559 559
560 * vc-rcs.el (vc-rcs-receive-file): Call comment-history 560 * vc-rcs.el (vc-rcs-receive-file): Call comment-history
561 unconditionally. Use the comments as initial contents of the log 561 unconditionally. Use the comments as initial contents of the log
562 entry buffer. Document the trick to force branch creation with no 562 entry buffer. Document the trick to force branch creation with no
563 changes. 563 changes.
564 564
565 2000-10-01 Miles Bader <miles@gnu.org> 565 2000-10-01 Miles Bader <miles@gnu.org>
566 566
567 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call 567 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
571 571
572 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier. 572 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
573 573
574 * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels. 574 * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
575 575
576 * progmodes/c-mode.el (c-mode): 576 * progmodes/c-mode.el (c-mode):
577 Don't gratuitously override the default for comment-column. 577 Don't gratuitously override the default for comment-column.
578 578
579 * textmodes/tex-mode.el (latex-metasection-list): New var. 579 * textmodes/tex-mode.el (latex-metasection-list): New var.
580 (latex-imenu-create-index): Use it. 580 (latex-imenu-create-index): Use it.
581 Move the regexp construction outside loops (and use push). 581 Move the regexp construction outside loops (and use push).
582 (tex-font-lock-keywords-1, tex-font-lock-keywords-2) 582 (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
583 (tex-font-lock-keywords): Moved from font-lock.el. 583 (tex-font-lock-keywords): Moved from font-lock.el.
584 (tex-comment-indent): Remove. 584 (tex-comment-indent): Remove.
585 (tex-common-initialization): Don't set comment-indent-function. 585 (tex-common-initialization): Don't set comment-indent-function.
586 (latex-block-default): New var. 586 (latex-block-default): New var.
587 (tex-latex-block): Use it to provide a default choice. 587 (tex-latex-block): Use it to provide a default choice.
598 (texinfo-font-lock-keywords): Use it. 598 (texinfo-font-lock-keywords): Use it.
599 (texinfo-mode-menu): New menu. 599 (texinfo-mode-menu): New menu.
600 (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote): 600 (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
601 New functions. 601 New functions.
602 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item. 602 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
603 (texinfo-section-types-regexp, texinfo-section-level-regexp) 603 (texinfo-section-types-regexp, texinfo-section-level-regexp)
604 (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp): 604 (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
605 Remove declaration. 605 Remove declaration.
606 (texinfo-show-structure): Use outline-regexp and texinfo-section-list. 606 (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
607 607
608 * delsel.el (delete-selection-mode): Use define-minor-mode. 608 * delsel.el (delete-selection-mode): Use define-minor-mode.
679 2000-09-28 Stefan Monnier <monnier@cs.yale.edu> 679 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
680 680
681 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode. 681 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
682 (outline-mode): Use define-derived-mode. 682 (outline-mode): Use define-derived-mode.
683 683
684 * progmodes/perl-mode.el (perl-mode): 684 * progmodes/perl-mode.el (perl-mode):
685 * progmodes/awk-mode.el (awk-mode): 685 * progmodes/awk-mode.el (awk-mode):
686 * progmodes/asm-mode.el (asm-mode): 686 * progmodes/asm-mode.el (asm-mode):
687 Don't gratuitously override the default for comment-column. 687 Don't gratuitously override the default for comment-column.
688 688
689 * emacs-lisp/lisp.el (lisp-complete-symbol): 689 * emacs-lisp/lisp.el (lisp-complete-symbol):
723 723
724 * complete.el (partial-completion-mode) <defcustom>: Remove. 724 * complete.el (partial-completion-mode) <defcustom>: Remove.
725 (partial-completion-mode): Use define-minor-mode. 725 (partial-completion-mode): Use define-minor-mode.
726 (PC-do-completion): Understand `completion-auto-help = delay' 726 (PC-do-completion): Understand `completion-auto-help = delay'
727 to mean to popup the completion buffer only the second time. 727 to mean to popup the completion buffer only the second time.
728 (PC-include-file-all-completions, PC-include-file-all-completions) 728 (PC-include-file-all-completions, PC-include-file-all-completions)
729 (PC-include-file-all-completions): Don't quote lambda. 729 (PC-include-file-all-completions): Don't quote lambda.
730 730
731 * comint.el (comint-mode-hook): Docstring fix. 731 * comint.el (comint-mode-hook): Docstring fix.
732 (comint-mode): Use define-derived-mode. 732 (comint-mode): Use define-derived-mode.
733 (comint-mode-map): Remove obsolete comment. 733 (comint-mode-map): Remove obsolete comment.
798 798
799 2000-09-27 Gerd Moellmann <gerd@gnu.org> 799 2000-09-27 Gerd Moellmann <gerd@gnu.org>
800 800
801 * frame.el (frame-notice-user-settings): Don't call 801 * frame.el (frame-notice-user-settings): Don't call
802 frame-update-faces, which is a no-op now. 802 frame-update-faces, which is a no-op now.
803 803
804 * ediff-wind.el (ediff-control-frame-parameters): Add zero 804 * ediff-wind.el (ediff-control-frame-parameters): Add zero
805 tool-bar-lines. 805 tool-bar-lines.
806 806
807 2000-09-27 Dave Love <fx@gnu.org> 807 2000-09-27 Dave Love <fx@gnu.org>
808 808
828 828
829 2000-09-26 Gerd Moellmann <gerd@gnu.org> 829 2000-09-26 Gerd Moellmann <gerd@gnu.org>
830 830
831 * frame.el (frame-notice-user-settings): Don't add a 831 * frame.el (frame-notice-user-settings): Don't add a
832 tool-bar-lines frame parameter to default-frame-alist in batch mode. 832 tool-bar-lines frame parameter to default-frame-alist in batch mode.
833 833
834 * frame.el (frame-notice-user-settings): 834 * frame.el (frame-notice-user-settings):
835 Make tool-bar-mode and default-frame-alist consistent. 835 Make tool-bar-mode and default-frame-alist consistent.
836 836
837 * toolbar/tool-bar.el (tool-bar-help): New function. 837 * toolbar/tool-bar.el (tool-bar-help): New function.
838 838
4060 click on dialog buttons. 4060 click on dialog buttons.
4061 4061
4062 2000-08-14 Emmanuel Briot <briot@gnat.com> 4062 2000-08-14 Emmanuel Briot <briot@gnat.com>
4063 4063
4064 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase 4064 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
4065 identifiers, since XML is case sensitive 4065 identifiers, since XML is case sensitive
4066 4066
4067 2000-08-12 Miles Bader <miles@gnu.org> 4067 2000-08-12 Miles Bader <miles@gnu.org>
4068 4068
4069 * comint.el (comint-output-filter): Don't bother frobbing 4069 * comint.el (comint-output-filter): Don't bother frobbing
4070 window-start, it doesn't seem to be necessary. 4070 window-start, it doesn't seem to be necessary.
4900 (ada-activate-keys-for-case): Suppress the characters that are not 4900 (ada-activate-keys-for-case): Suppress the characters that are not
4901 part of the Ada syntax. Better compatibility with else-mode 4901 part of the Ada syntax. Better compatibility with else-mode
4902 (ada-adjust-case-interactive): When auto-casing is not active, 4902 (ada-adjust-case-interactive): When auto-casing is not active,
4903 correctly insert newlines (used to insert only ^M). Prevent the 4903 correctly insert newlines (used to insert only ^M). Prevent the
4904 syntax table from being changed in case of an error 4904 syntax table from being changed in case of an error
4905 (or '_' becomes part of a word and some commands are confused). 4905 (or '_' becomes part of a word and some commands are confused).
4906 Do nothing if ada-auto-case is nil. 4906 Do nothing if ada-auto-case is nil.
4907 (ada-after-keyword-p): Ignore keywords that are also attributes 4907 (ada-after-keyword-p): Ignore keywords that are also attributes
4908 (ada-batch-reformat): Update usage comment 4908 (ada-batch-reformat): Update usage comment
4909 (ada-call-from-contextual-menu): New function 4909 (ada-call-from-contextual-menu): New function
4910 (ada-case-read-exceptions): Reinitialize the casing exception list 4910 (ada-case-read-exceptions): Reinitialize the casing exception list