1998-08-19 Richard Stallman * Version 20.3 released. * language/romanian.el ("Romanian"): Specify the tutorial file. 1998-08-18 Per Starback * language/european.el (setup-latin2-environment): Fix typo. (iso-latin-1): Doc fix. 1998-08-18 Eric Ludlam * speedbar.el (speedbar-timer-fn): Disable updating if the frame is an icon, or if the user is using the minibuffer. (speedbar-key-map): Added Q binding to destroy the frame. (speedbar-easymenu-definition-trailer): Added Quit item. (speedbar-frame-mode): Set the frame position at creation time. (speedbar-file-unshown-regexp): Added .# lock files. 1998-08-18 Kenichi Handa * language/cyrillic.el (cyrillic-koi8): Fix the value of `valid-code' property. (cyrillic-alternativnyj): Likewise. (cyrillic-alternativnyj-encode-table): Fix the initial value. * language/vietnamese.el (vietnamese-viscii): Fix the value of `valid-code' property. (vietnamese-vscii): Likewise. 1998-08-18 Richard Stallman * subr.el (read-quoted-char): Don't bind input-method-function; instead, pass the new args to read-event. * isearch.el (search-whitespace-regexp): Doc fix. * ange-ftp.el (ange-ftp-file-name-sans-versions): Don't return the shortened version of the file name. 1998-08-18 Kenichi Handa * language/european.el: Give proper value of `input-method' key to all lang. env. * international/mule-cmds.el (activate-input-method): Handle the case that the arg INPUT-METHOD is nil correctly. (read-multilingual-string): Activate the specified input method before calling read-string. Afterward, activate the original input method. 1998-08-17 Richard Stallman * midnight.el (midnight-hook): initialize to a list. 1998-08-17 Kenichi Handa * international/mule-cmds.el (set-language-environment): Reset syntax and case table to the defaults if the value of unibyte-syntax key is nil. 1998-08-16 Richard Stallman * mail/rmailout.el (rmail-output): Always preserve MIME-Version field, even if it was pruned. 1998-08-15 Richard Stallman * info.el (Info-follow-reference): Nice error msg if there was no arg. 1998-08-14 Michael Ernst * comint.el (comint-postoutput-scroll-to-bottom): Cope with unset comint-last-output-start marker. 1998-08-15 Kenichi HANDA * international/kkc.el (kkc-help): New function. (kkc-keymap): Use sparse keymap. Add key binding for kkc-help. * international/mule.el (set-selection-coding-system): Make it interactive. (last-next-selection-coding-system): New variable. (set-next-selection-coding-system): New function. * international/mule-cmds.el (language-info-alist): Doc-string modified. (set-language-info-alist): Fix typo in doc-string. Update setup-language-environment-map unconditionally. (mule-keymap): Key bindings for set-selection-coding-system and set-next-selection-coding-system. (set-coding-system-map): Add items of set-selection-coding-system and set-next-selection-coding-system. * language/hebrew.el ("Hebrew"): Delete describe-function key. 1998-08-14 Richard Stallman * mail/sendmail.el (sendmail-send-it): Report invalid values of mail-from-style. * info.el (Info-try-follow-nearest-node): Get the node name directly out of the menu item pointed at. * which-func.el (which-func-modes): Add fortran-mode. * ediff-util.el (ediff-next-difference, ediff-previous-difference): Handle nil as arg. 1998-08-14 Andreas Schwab * international/mule-cmds.el (select-safe-coding-system): If default-coding-system is no-conversion return that, it is always safe. 1998-08-13 Eric Ludlam * speedbar.el (speedbar-frame-parameters): Removed scroll-bar-width. 1998-08-13 Richard Stallman * loadup.el: Add informative message about the lists of GC stats. * dired-aux.el (dired-do-rename-regexp): Doc fix. * midnight.el: (midnight-float-time): Renamed from float-time. (midnight-time-float): Renamed from time-float. (midnight-buffer-display-time): Renamed from buffer-display-time. (midnight-mode): Specify :initialize. Use nil as default value. * complete.el (PC-do-completion): Exclude ./ and ../ from completion. 1998-08-12 Lars Magne Ingebrigtsen * gnus/nntp.el (nntp-encode-text): Properly encode outgoing text by putting CR at the end of all lines. 1998-08-12 Michael Ernst * emacs-lisp/cust-print.el (custom-prin1-to-string): Doc fix. 1998-08-12 Richard Stallman * ebuff-menu.el (electric-buffer-menu-mode-map): Don't wipe out all Meta keys. * calendar/appt.el (appt-mode-string): New variable. (global-mode-string): Add appt-mode-string to it. (appt-check): Avoid using display-time-string to fetch current time. To display in mode line, use appt-mode-string. 1998-08-12 Per Abrahamsen * double.el (double-setup): Only copy `key-translation-map' if it is a keymap. 1998-08-11 Richard Stallman * files.el (recover-session): Add leading space on added text lines. * calendar/appt.el: Use a separate timer, not display-time-hook. (appt-timer): New variable. (appt-interval): New user option. (appt-disp-window): Start by erasing the buffer. * faces.el (list-faces-display): Call print-help-return-message. (describe-face): Likewise. * emacs-lisp/disass.el (disassemble-1): Move the call to string-as-unibyte outside of the if statement. 1998-08-10 Bob Glickstein * sendmail.el (mail-setup): After using `fill-region-as-paragraph' on a new address field, ensure that it ends with a newline. 1998-08-10 Richard Stallman * time-stamp.el (time-stamp-string-preprocess): Add %U code. * international/quail.el (quail-update-leim-list-file): Fix message syntax. * mail/sendmail.el (mail-citation-header): New variable. (mail-yank-original, mail-yank-region): Bind mail-citation-header. (mail-citation-hook): Doc fix. 1998-08-09 Kenichi HANDA * international/mule-conf.el (iso-safe): Comment for this coding system fixed. (coding-category-iso-8-1): Change default coding priority. * international/mule-cmds.el (language-info-alist): Doc-string modified. (reset-language-environment): New function for the job that setup-english-environment used to do. (set-language-environment): Do more setups according to the info in language-info-alist. (read-language-name): Handle the case that the arg KEY is nil. * (describe-language-environment): Handle input-method property. * international/quail.el (quail-start-translation): If enable-multibyte-characters is nil, convert multibyte character to unibyte. (quail-start-conversion): Likewise. * language/: All files under this directory modified as below. (setup-XXX-environment): Just call set-language-environment. If they used to do some other jobs than what done by set-language-environment, those jobs are done in setup-XXX-environment-internal now. ("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change the value to setup-XXX-environment-internal. Add properties nonascii-translation, input-method, features, unibyte-syntax, and unibyte-display. * language/english.el (setup-english-environment): Just call reset-language-environment. * language/european.el (setup-8-bit-environment): Function deleted. 1998-08-09 Richard Stallman * emacs-lisp/sregex.el (sregex-replace-match): Don't call sregex--value-groups. (sregex-match-end, sregex-match-beginning): Likewise. (sregex-match-string-no-properties, sregex-match-string): Likewise. * help.el (describe-function-1): Handle macros properly. Handle multiple levels of aliases. * emacs-lisp/cust-print.el (custom-prin1-to-string): Add NOESCAPE arg. 1998-08-09 Sam Steingold * midnight.el (clean-buffer-list-kill-buffer-names): Add `*diff*'. (clean-buffer-list): Check `buffer-modified-p' only when the buffer is associated with a file. (midnight-delay-set): Improve doc. 1998-08-09 Richard Stallman * progmodes/compile.el (next-error): Doc fix. (grep): Doc fix. * loadup.el: Load byte-run and format a little earlier. 1998-08-08 Richard Stallman * textmodes/flyspell.el: Don't require font-lock. * textmodes/flyspell.el (flyspell-command-hook): Option deleted. (flyspell-mode-on): Delete code to handle flyspell-command-hook. (flyspell-mode-off): Likewise. (flyspell-mark-duplications-flag): Doc fix. (flyspell-duplicate-distance): Doc fix. (flyspell-duplicate-face): Doc fix. * subr.el (assoc-default): Rewrite not to use dolist. (add-hook): Use byte-code-function-p, not compiled-function-p. * hilit-chg.el: New file. Delete the undo-in-progress compatibility code. * mail/rmailmsc.el (set-rmail-inbox-list): Error if not in Rmail mode. * textmodes/paragraphs.el (forward-paragraph): Fix the logic for handling beginning of buffer in the "no fill-prefix" case. * info.el: Bind case-fold-search to t in many functions. * mail/mail-utils.el (mail-fetch-field): Doc fix. 1998-08-08 Eric M. Ludlam * speedbar.el (speedbar-edit-line, speedbar-buffer-kill-buffer) (speedbar-buffer-revert-buffer): Updated buffer finding regex to handle the [?] tag. (speedbar-find-selected-file): New function. (speedbar-clear-current-file): Uses `speedbar-find-selected-file' (speedbar-update-current-file): Uses `speedbar-find-selected-file', and now `speedbar-last-selected-file' is defined as the path name to the file, not just the file itself. 1998-08-08 Richard Stallman * international/mule-cmds.el (input-method-exit-on-first-char) (input-method-use-echo-area): Doc fixes. * vc-hooks.el (vc-file-not-found-hook): Call vc-file-clearprops. 1998-08-07 Lars Magne Ingebrigtsen * gnus/gnus-start.el (gnus-startup-file-coding-system): New variable. (gnus-read-init-file, gnus-read-newsrc-el-file): Use that. 1998-08-07 Richard Stallman * wid-edit.el (widget-beginning-of-line): Properly handle multiline fields. Don't use call-interactively. (widget-end-of-line): Likewise. * midnight.el (midnight-delay-set): Use run-hooks directly. (midnight-timer-function): Function deleted. (midnight-find): Don't use `find'. * startup.el (command-line): Require whitespace delimiter when searching locale-translation-file-name. * midnight.el (midnight-timer-function): No need to test midnight-mode. * repeat.el (repeat): Make an undo boundary between repetitions. 1998-08-06 Kenichi Handa * international/isearch-x.el (isearch-process-search-multibyte-characters): Fix previous change. * international/quail.el (quail-update-translation): Delete the code for handling the case that enable-multibyte-characters is nil. 1998-08-06 Richard Stallman * window.el (split-window-horizontally): Doc fix. 1998-08-06 Kenichi Handa * emacs-lisp/debug.el (debugger-outer-unread-post-input-method-events): New variable. (debug): Bind debugger-outer-unread-post-input-method-events. Bind unread-post-input-method-events to nil. (debugger-env-macro): Likewise. * international/isearch-x.el (isearch-minibuffer-local-map): Bind the key C-g to exit. (isearch-minibuffer-self-insert): Use key-binding. Always call exit-minibuffer. (isearch-process-search-multibyte-characters): Use unread-command-events instead of unread-input-method-events. Always call isearch-update. * international/kkc.el (kkc-region): Don't bind echo-keystrokes. * international/mule-cmds.el (input-method-exit-on-first-char): New variable. (input-method-use-echo-area): New variable. * international/quail.el (quail-translation-keymap): Declare it as variable instead of constant. Bind all keys less than 32 to quail-other-command. Don't bind the key meta-prefix-char and escape. (quail-simple-translation-keymap): Likewise. (quail-conversion-keymap): Bind C-h to quail-translation-keymap. (quail-define-package): Fix typo in doc-string. (quail-conversion-str): New variable. (quail-input-method): Bind buffer-undo-list to t. Show Quail guidance buffer if necessary. (quail-delete-region): Move the definintion before the first calling place. (quail-start-translation): Handle the case the arg KEY is nil. Bind echo-keystrokes and help-char. Initialize quail-current-str to "". If input-method-use-echo-area is non-nil, call read-key-sequence with appropriate PROMPT arg. Setup last-command-event by local variable `keyseq'. Generate an event list form quail-current-str. If input-methodd-exit-on-first-char is non-nil, return only the first event. (quail-start-conversion): Likewise. Initialize quail-conversion-str to "". Generate an event list form quail-conversion-str. (quail-update-translation): Expect that the function given by (quail-update-translation-function) returns a new control-flag. Handle the case the length of quail-current-key is 1. Use string-as-unibyte if enable-multibyte-characters is nil. Always assures that quail-current-str is Lisp string. (quail-self-insert-command): Use `or' instead of `unless'. (quail-update-current-translations): Always assures that quail-current-str is Lisp string. (quail-next-translation-block): Update unread-command-events correctly. (quail-abort-translation): Set quail-current-str to nil. (quail-conversion-delete-char): Update quail-conversion-str. (quail-conversion-delete-tail): Likewise. (quail-conversion-backward-delete-char): Likewise. (quail-show-guidance-buf): Show Quail guidance buffer not in echo area if input-method-use-echo-area is non-nil. (quail-show-translations): Bind current-translations locally to quail-current-translations to get this value across different buffers. Handle the case that the length quail-current-key is 0. (quail-translation-help): If this command is invoked repeatedly, scroll the already shown help window. Handle the case that this command is called while converting (not translating). (quail-conversion-help): This function deleted and the functionality is merged to quail-translation-help. 1998-08-05 Dave Love * iso-cvt.el (iso-spanish, iso-german, iso-iso2tex, iso-tex2iso) (iso-gtex2iso, iso-iso2gtex, iso-iso2duden): Add optional, ignored arg `buffer' for format-{de,en}code. Doc fix. Add * to interactive spec. Add autoload cookie. (iso-cvt-read-only, iso-cvt-write-only): Add doc, autoload cookie. (iso-cvt-define-menu): Add autoload cookie. 1998-08-05 Richard Stallman * gnus/message.el: Require sendmail. (message-fill-yanked-message): Use mail-citation-prefix-regexp as an arg to fill-individual-paragraphs. * emacs-lisp/bytecomp.el (byte-compile-from-buffer): Make the output buffer multibyte. * scroll-bar.el (scroll-bar-mode): Doc fix. 1998-08-05 Sam Steingold * cl-indent.el (top-level let): Add defsubst. 1998-08-04 Andrew Innes * mail/rmail.el (rmail-encoded-pop-password): New variable. 1998-08-04 Richard Stallman * textmodes/flyspell.el (flyspell-persistent-highlight): Doc fix. 1998-08-04 Eric Ludlam * speedbar.el (speedbar-refresh): Removed special code to remove the speedbar update message. Not necesary here. (speedbar-timer-fn): Add code to remove the updating message and thus restore the minibuffer. (speedbar-center-buffer-smartly): Fixed center error to handle the whole buffer. (speedbar-delete-subblock): Rewrote to be more robust, less clever. (speedbar-timer-fn): Removed short display time for messages. 1998-08-04 Dave Love * vc.el (vc-backend-merge-news): Account for `already contains the differences' state. 1998-08-04 Eli Zaretskii * international/mule.el (find-new-buffer-file-coding-system): When inhibit-eol-conversion is non-nil and the buffer didn't already set a fully-qualified coding system, force -unix eol-type. 1998-08-04 Richard Stallman * info.el (Info-find-node): Once again, use byte-to-position. * vcursor.el (vcursor group): Move this to `editing' group. * comint.el (comint-bol-or-process-mark): Refer to this command's name correctly. * international/mule-cmds.el (set-default-coding-systems): In --unibyte mode, don't set default-file-name-coding-system. * midnight.el (clean-buffer-list-kill-regexps): Init to nil, as before. (clean-buffer-list-kill-buffer-names): Add *vc* and *vc-diff*. (clean-buffer-list-delay): Rename arg. (clean-buffer-list): Doc fix. (midnight-period): Doc fix. 1998-08-03 Eric Ludlam * info.el (Info-speedbar-hierarchy-buttons): Improved the speedbar frame management. * speedbar.el (speedbar-update-current-file): Added call to `speedbar-center-buffer-smartly' to improve the display. (speedbar-center-buffer-smartly) Fixed off-by-one error in window height calculation. (speedbar-hack-buffer-menu): New function. (speedbar-frame-parameters): Removed scroll bar width. (speedbar-frame-mode): Change pointer shape for X and W32 window-systems only. When window-system is pc, bind the speedbar frame name to "Speedbar", and select that frame so it is displayed. (speedbar-mode): Don't bind default-minibuffer-frame when window-system is pc. (speedbar-this-file-in-vc): Look for RCS/name as well as RCS/name,v. (speedbar-directory-buttons-follow): Support both upper- and lower-case drive letters. Use directory-sep-char instead of a literal backslash. (speedbar-reconfigure-keymaps): Call `easy-menu-remove' before reconfiguring for a new menu bar. (speedbar-previous-menu): New Variable. (speedbar-frame-plist): Remove pointers. (speedbar-refresh): Prevent the mark from being deactivated. (speedbar-buffer-kill-buffer): Refresh speedbar after killing a buffer in the buffer display. 1998-08-03 Simon Marshall * font-lock.el (lisp-font-lock-keywords-1): Fix previous change. (font-lock-support-mode): Allow nil as a mode-specific value. Fix tag. 1998-08-01 Kenichi HANDA * international/kkc.el (kkc-lookup-cache): Initialize it to nil. (kkc-lookup-cache-tag): New constant. (kkc-lookup-key): If kkc-lookup-cache is nil, initialize it. Use kkc-init-file-name. (kkc-region): Fix previous change. Call kkc-error on error. (kkc-shorter-conversion, kkc-longer-phrase): New functions. (kkc-keymap): Bind them to "I" and "O" respectively. (kkc-error): New error symbol and new function. (kkc-longer, kkc-shorter): Call kkc-error on error. (kkc-show-conversion-list-or-next-group): Likewise. (kkc-show-conversion-list-or-prev-group): Likewise. * international/mule-cmds.el (language-info-alist): Doc-string modified. (set-language-environment): Setup nonascii-translation-table and charset-origin-alist according to the property of the specified language environment. (update-iso-coding-systems): Make it an alias for update-coding-systems-internal. (prefer-coding-system): Call update-coding-systems-internal instead of update-iso-coding-systems. (set-language-environment-coding-systems): Likewise. * international/mule-conf.el: Initialize coding-category-ccl to nil. Include it in the arg for set-coding-priority. * international/mule-diag.el (describe-current-coding-system): Check if each coding category is bound to a valid coding system. * international/mule.el (make-coding-system): If the arg TYPE is 4, set coding-category property of the coding system to coding-category-ccl. (find-new-buffer-file-coding-system): If the arg CODING carries some information (about text conversion or eol conversion), always return a new coding system. (charset-origin-alist): New variable. (make-translation-table-from-vector): New function. * international/quail.el (quail-start-translation): Bind help-char to nil locally. * language/cyril-util.el (cyrillic-encode-koi8-r-char): New funciton. (cyrillic-encode-alternativnyj-char): New function. * language/cyrillic.el (cyrillic-koi8-r-decode-table): New variable. (cyrillic-koi8-r-encode-table): Likewise. (ccl-decode-koi8): Use cyrillic-koi8-r-decode-table. (ccl-encode-koi8): Use cyrillic-koi8-r-encode-table. (ccl-encode-koi8-font): Likewise. (cyrillic-koi8-r-nonascii-translation-table): New variable. ("Cyrillic-KOI8"): Add nonascii-translation-table and charset-origin-alist properties. (cyrillic-alternativnyj-decode-table): New variable. (cyrillic-alternativnyj-encode-table): Likewise. (ccl-decode-alternativnyj): Use cyrillic-alternativnyj-decode-table. (ccl-encode-alternativnyj): Use cyrillic-alternativnyj-encode-table. (ccl-encode-alternativnyj-font): Likewise. (cyrillic-alternativnyj-nonascii-translation-table): New variable. ("Cyrillic-ALT"): Add nonascii-translation-table and charset-origin-alist properties. * language/viet-util.el (viet-encode-viscii-char): New function. * language/vietnamese.el (viet-viscii-decode-table): Docstring fixed. (viet-viscii-encode-table): Likewise. (viet-vscii-decode-table): Likewise. (viet-vscii-encode-table): Likewise. (viet-viscii-nonascii-translation-table): New variable ("Vietnamese"): Add nonascii-translation-table and charset-origin-alist properties. * loadup.el: Call update-coding-systems-internal instead of update-iso-coding-systems. * simple.el (what-cursor-position): Check charset-origin-alist. 1998-08-01 Richard Stallman * mail/mailheader.el (mail-header-format): Convert string to symbol. * double.el (default-key-translation-map): Variable deleted. (double-setup): Make key-translation-map buffer-local here. New arg ENABLE-FLAG. (double-mode): Pass ENABLE-FLAG arg to double-setup. 1998-07-31 Richard Stallman * subr.el (assoc-default): New function. * midnight.el: Require timer. (clean-buffer-list-kill-regexps): Match `*vc' buffers. (midnight-find): Use dolist, not loop. (clean-buffer-list-delay): Use assoc-default. * info.el (Info-find-node): Position at the beginning of the node after calling Info-select-node. * info.el (Info-insert-dir): Catch errors in insert-file-contents. 1998-07-30 Sam Steingold * font-lock.el (lisp-font-lock-keywords-1): Fontify `defconstant' and `defparameter'. (lisp-font-lock-keywords-2): Fontify `lambda', `in-package' and `locally'. * emacs-lisp/cl-indent.el (lisp-indent-defun-method): New variable. (common-lisp-indent-function): Use it. (lisp-indent-259): Uncomment the `&lambda' code. (top-level let): Remove duplicate `catch' and `block'. Use `&lambda' when appropriate. Now the lambda lists are indented appropriately. 1998-07-30 Richard Stallman * dired.el (dired-garbage-files-regexp): Finish fixing regexp syntax. * mail/sendmail.el (mail-yank-region): Bind mark-even-if-inactive to t. (mail-yank-original was similarly changed, a few versions ago.) * textmodes/flyspell.el (flyspell-duplicate-distance): Doc fix; change default to 10000. (flyspell-mode-on): Fix the welcome message to deal with how the binding for flyspell-auto-correct-word is now made. (flyspell-delay, flyspell-delayed-commands): Doc fixes. (flyspell-mode-off): Kill Ispell only if it is per-buffer. 1998-07-30 Ken'ichi Handa * international/mule-cmds.el (activate-input-method): Update mode line. (inactivate-input-method): Likewise. 1998-07-29 Kenichi Handa * mouse.el (mouse-skip-word): If point is at word constituent characters, pay attention to word-separating-categories by using forward-word instead of skip-syntax-forward/backward. 1998-07-29 Richard Stallman * help.el (describe-function-1): Fix the code that uses find-function-noselect. * emacs-lisp/find-func.el (find-function-noselect): Autoload cookie. (find-function-search-for-symbol): Ignore directories when looking for a library file. 1998-07-29 Dave Love * files.el (auto-mode-alist): Escape dots in some regexps. 1998-07-29 Richard Stallman * files.el (auto-mode-alist): Fix previous change. * textmodes/tex-mode.el (tex-main-file): Doc fix. * dired.el (dired-garbage-files-regexp): Fix typo. * emulation/crisp.el (crisp-mark-line): Greatly simplified. * mouse.el (mouse-delete-window): If the frame has just one window, bury the current buffer instead. 1998-07-28 Richard Stallman * textmodes/flyspell.el (flyspell-mode-map): Explicitly bind M-TAB. (flyspell-auto-correct-binding): Variable deleted. (flyspell-incorrect-face, flyspell-duplicate-face): Fix typos. (flyspell-check-pre-word-p): Check for word syntax in previous char. (flyspell-word): Set process-kill-without-query for Ispell. (flyspell-region): Put region args in order; use right percantage. (flyspell-properties-at-p): Rename arg to POS; doc fix. (flyspell-highlight-incorrect-region): Check flyspell-highlight-properties first. (flyspell-highlight-duplicate-region): Likewise. (flyspell-auto-correct-word): Doc fix. * international/iso-transl.el (iso-transl-define-keys): Don't test enable-multibyte-characters; use the translated characters as specified in alist. * double.el (key-translation-map): Don't call make-variable-buffer-local on this variable. * mail/rmail.el (rmail-dont-reply-to-names): Doc fix. 1998-07-27 Richard Stallman * textmodes/flyspell.el (flyspell-emacs-popup): Renamed from flyspell-gnuemacs-popup. Callers changed. (push): Macro deleted. Callers changed to do it explicitly. (flyspell-incorrect-face, flyspell-duplicate-face): Use defface. (flyspell-incorrect-color): Variable deleted. (flyspell-duplicate-color): Variable deleted. (flyspell-underline-p): Variable deleted. (flyspell-font-lock-make-face): Function deleted. (flyspell-mark-duplications-flag): Renamed from flyspell-doublon-as-error-flag. (flyspell-mode-on): Delete the debugging message. (flyspell-mode-off): Delete the debugging message. (flyspell-mode-on): Set flyspell-generic-check-word-p from the flyspell-mode-predicate property. (texinfo-mode, mail-mode, message-mode): Set flyspell-mode-predicate property. * international/mule.el (set-clipboard-coding-system): Define as alias. 1998-07-26 Ken'ichi Handa * arc-mode.el (archive-set-buffer-as-visiting-file): Give FILENAME arg to set-auto-coding-funciton. (archive-extract): Pay attention to enable-multibyte-characters. (archive-*-write-file-member): Likewise. (archive-rename-entry): Likewise. 1998-07-26 Richard Stallman * international/mule.el (auto-coding-alist): Recognize .tar. 1998-07-26 Ken'ichi Handa * files.el (auto-mode-alist): Fix regular expression error for sh-mode. 1998-07-26 Ken'ichi HANDA * arc-mode.el (archive-summarize): Set buffer unibyte before calling archive-XXX-summarize. (archive-file-name-handler): New function to make the caller behave as if the extracted file existed. (archive-set-buffer-as-visiting-file): New function to simulate file visiting. Uses archive-file-name-handler to make dos-w32 systems preserve the coding-system of the extracted files. (archive-extract): Bind coding-system-for-write to file-name-coding-system, coding-system-for-read to 'no-conversion. Call archive-set-buffer-as-visiting-file after a member file is inserted in the current buffer. (archive-extract-by-stdout): Don't bind coding-system-for-read and inherit-process-coding-system. (archive-*-write-file-member): Give an encoded file name to external archive program. (archive-rename-entry): Likewise. (archive-mode-revert): Set buffer unibyte before calling revert-buffer. (archive-arc-rename-entry, archive-zip-chmod-entry): Set buffer unibyte before handling binary archive data. (archive-lzh-rename-entry, archive-lzh-ogm, archive-zip-chmod-entry): Likewise. (archive-lzh-summarize): Set local variable efnname to the decoded file name. If default-enable-multibyte-characters is non-nil, set buffer multibyte before inserting summary lines. 1998-07-25 Dan Nicolaescu * files.el (auto-mode-alist): Move nroff-modes down the list. 1998-07-25 Richard Stallman * international/mule.el (auto-coding-alist): Another doc fix. 1998-07-25 Ken'ichi Handa * international/mule.el (auto-coding-alist): Docstring fixed. * ange-ftp.el (ange-ftp-re-read-dir): Quote ange-ftp-reread-dir in autoload cookie. 1998-07-24 Edward M. Reingold * calendar/cal-tex.el (cal-tex-latexify-list): Ignore specifer in diary entry. 1998-07-24 Richard Stallman * mail/sendmail.el (mail-mode): Add the citation regexp to adaptive-fill-regexp after the usual contents. But modify the usual contents not to match whitespace alone; match that again last. Add that citation regexp to paragraph-start and paragraph-separate too. 1998-07-24 Ken'ichi Handa * tar-mode.el (tar-extract): Give set-auto-coding-funciton FILENAME argument. 1998-07-25 Kenichi Handa * international/mule.el (auto-coding-alist): New variable. (set-auto-coding): Arguemnt FILENAME is added. Check auto-coding-alist at first. * international/kkc.el (kkc-region): Unwind-protect the conversion process. (kkc-show-conversion-list-update): Pay attention to the length of kkc-show-conversion-list-index-chars. * international/mule-cmds.el (find-multibyte-characters): New function. (select-safe-coding-system): Highlight characters which can't be encoded. Show list of such characters also in *Warning* buffer. * international/mule-util.el (coding-system-change-eol-conversion): Make it accepts an integer value in EOL-TYPE argument. 1998-07-24 Richard Stallman * uniquify.el (uniquify-ignore-buffers-re): Fix custom type. * emulation/crisp.el: Don't require cl. (crisp-override-meta-x): Doc fix. (crisp-last-last-command): Doc fix. (mark-something): Function deleted. (crisp-mark-line): Avoid using mark-something. (crisp-region-active): Renamed from region-active. (crisp-set-clipboard): Renamed from copy-primary-selection. (crisp-kill-region): Renamed from kill-primary-selection. (crisp-yank-clipboard): Renamed from yank-clipboard-selection. * files.el (basic-save-buffer-2): New function. (basic-save-buffer-1): Use basic-save-buffer-2, after perhaps binding coding-system-for-write. (save-buffer-coding-system): Make it a permanent local. 1998-07-24 Dan Nicolaescu * files.el (auto-mode-alist): Add idl-mode. 1998-07-23 Jonathan I. Kamens * mail/rmail.el (rmail-insert-inbox-text): Use rmail-have-password, rmail-get-pop-password and rmail-set-pop-password. (rmail-have-password, rmail-get-pop-password) (rmail-set-pop-password): New functions. (rmail-encode-string): New function. 1998-07-23 Richard Stallman * files.el (auto-mode-alist): Recognize shell profiles without dirname. 1998-07-23 Ken'ichi Handa * international/quail.el (quail-start-translation): Call this-single-command-raw-keys instead of this-single-command-keys. (quail-start-conversion): Likewise. 1998-07-23 Kenichi Handa * international/isearch-x.el (isearch-minibuffer-self-insert): Handle space char event correctly. (isearch-process-search-multibyte-characters): If this-command is not isearch-printing-char, don't read multibyte chars from minibuffer, but just call isearch-process-search-char. * international/quail.el (quail-start-translation): Use this-single-command-keys to get raw events instead of listify-key-sequence (quail-start-conversion): Likewise. 1998-07-22 Karl Heuer * mail/feedmail.el: Avoid using all-caps for non-arguments. (feedmail-queue-send-edit-prompt-help-first): Doc fix. 1998-07-21 Richard Stallman * imenu.el (imenu-create-index-function): Add autoload cookie. (imenu-extract-index-name-function, imenu-default-goto-function) (imenu-sort-function, imenu-prev-index-position-function): Likewise. * ange-ftp.el (ange-ftp-reread-dir): Renamed from `re-read'. Old name defined as alias. Doc fix. 1998-07-21 Kenichi Handa * international/kkc.el (kkc-region): Handled the case that conversion is cancelled. (kkc-terminate): Update kkc-overlay-head correctly. (kkc-cancel): Don't call kkc-terminate, but set kkc-converting to nil. * international/quail.el (quail-simple-translation-keymap): Typo in doc-string fixed. (quail-start-translation): Check start position of quail-overlay before calling quail-overlay-region-events. (quail-start-conversion): Likewise. 1998-07-20 Richard Stallman * files.el (auto-mode-alist): Match .emacs with no directory. 1998-07-19 Richard Stallman * progmodes/compile.el (grep): Doc fix. (next-error): Doc fix. * progmodes/sh-script.el (sh-mode): parse-sexp-ignore-comments = t. 1998-07-19 Eli Zaretskii * arc-mode.el (archive-mode): Undo previous change. (archive-extract): Make the buffer unibyte if the extracted file was read with coding-system of no-conversion or raw-text. 1998-07-19 Kenichi Handa * isearch.el (isearch-input-method-function): New variable. (isearch-input-method-local-p): New variable. (isearch-mode): Setup the above two variable. Set input-method-function to nil locally. (isearch-done): Restore the previous value of input-method-function. * international/quail.el (quail-conversion-keymap): New binding for quail-conversion-delete-tail. (quail-input-method): Suppress input method if overriding-terminal-local-map or overriding-local-map is non-nil. Erase contents of quail-guidance-buf. Run the hook input-method-after-insert-chunk-hook. (quail-start-translation): Get the original event list by listify-key-sequence. Setup last-command and this-command (quail-start-conversion): Likewise. (quail-conversion-beginning-of-region): Set quail-translating to nil. (quail-conversion-end-of-region, quail-conversion-delete-char): Likewise. (quail-conversion-delete-tail): New function. (quail-no-conversion): Don' run the hook input-method-after-insert-chunk-hook. * international/kkc.el (kkc-region): Fix the return value. * international/isearch-x.el (isearch-toggle-specified-input-method): Adjusted for the change in isearch.el. (isearch-toggle-input-method): Likewise. (isearch-minibuffer-local-map): New variable. (isearch-minibuffer-non-self-insert): New function. (isearch-minibuffer-self-insert): New function. (isearch-process-search-multibyte-characters): Read multibyte characters from minibuffer with the keymap isearch-minibuffer-local-map. * international/mule-cmds.el (read-multilingual-string): Don't activate an input method in the current buffer, but just bind current-input-method. * language/japan-util.el (japanese-replace-region): New function. (japanese-katakana-region, japanese-hiragana-region, japanese-hankaku-region, japanese-zenkaku-region): Don't change point. Use japanese-replace-region to change text. 1998-07-18 Richard Stallman * ange-ftp.el (ange-ftp-re-read-dir): Add doc string. 1998-07-17 Simon Marshall * lazy-lock.el (lazy-lock-fontify-after-visage): Renamed from lazy-lock-fontify-after-outline. (lazy-lock-install-hooks): Add it to hs-hide-hook too. (lazy-lock-unstall): Remove it from hs-hide-hook too. (lazy-lock-fontify-rest-after-change): (lazy-lock-defer-rest-after-change): Ensure properties are always removed from the rest of the buffer by widening during removal. 1998-07-17 Stephen Eglen * forms.el (forms-mode): Doc fix. 1998-07-17 Richard Stallman * arc-mode.el (archive-mode): Make the buffer unibyte. 1998-07-16 Eli Zaretskii * arc-mode.el (archive-extract): If the extractor signals an error, trap it, so that the buffer created for a member is killed. 1998-07-15 Kenichi Handa * international/kkc.el (kkc-show-conversion-list-index-chars): Default value changed. (kkc-keymap): Renamed from kkc-mode-map. Key binding for kkc-non-kkc-command are deleted. (kkc-mode): This function deleted. (kkc-canceled): This variable deleted. (kkc-converting): New variable. (kkc-region): 3rd optional arg is deleted. Completely rewritten to adjust for the change in quail.el. (kkc-terminate, kkc-cancel): Adjusted for the change of kkc-region. (kkc-non-kkc-command): This function deleted. (kkc-select-from-list): Use last-input-event instead of last-input-char. Put an unknown event back to unread-input-method-events. * international/quail.el (quail-mode): This variable deleted. (quail-current-key): Make it buffer local. (quail-current-str, quail-current-translations): Likewise. (quail-reset-conversion-region): This variable deleted. (quail-use-package): Call quail-activate at the tail. (quail-translation-keymap, quail-simple-translation-keymap): Key bindings for quail-execute-non-quail-command deleted. (quail-conversion-keymap): Likewise. Add key bindings for quail-self-insert-command. (quail-delete-overlays): Chekc overlay-start for overlays before deleting them. (quail-mode): This function deleted. (quail-inactivate, quail-activate): New functions. (quail-saved-current-map, quail-saved-current-buffer): These variables deleted. (quail-toggle-mode-temporarily, quail-execute-non-quail-command): These functions deleted. (quail-exit-conversion-mode, quail-prefix-arg): These variables deleted. (quail-error): New error condition. (quail-error): New function. (quail-translating, quail-converting): New variables. (quail-input-method, quail-overlay-region-events): New function. (quail-start-translation): Completely re-written. (quail-start-translation-in-conversion-mode): This function deleted. (quail-start-conversion): New function. (quail-terminate-translation): Just set quail-translating to nil. (quail-update-translation): Put some events back to unread-input-method-events instead of unread-command-events. Call quail-error instead of error. (quail-self-insert-command): Adjusted for the change of quail-start-translation. (quail-next-translation): Don't call quail-execute-non-quail-command, instead, put an event back of unread-command-events. (quail-prev-translation, quail-next-translation-block, quail-prev-translation-block): Likewize. (quail-conversion-backward-char): Call quail-error instead of error. Set quail-translating to nil. (quail-conversion-forward-char): Likewize. (quail-conversion-delete-char): Call quail-error instead of error. If conversion region gets vacant, set quail-converting to nil. (quail-conversion-backward-delete-char): Likewize. (quail-no-conversion): Just set quail-converting to nil. (quail-mouse-choose-completion): Call quai-error instead of error. (quail-choose-completion-string): Likewize. (quail-help): Don't handle quail-mode-map. * language/ethiopic.el ("Ethiopic"): Typo in sample-text fixed. 1998-07-15 Richard Stallman * textmodes/sgml-mode.el (sgml-mode): Call kill-local-variables here directly, then set major-mode, then call sgml-mode-common. Run the hooks here at the end. (html-mode): Likewise. (sgml-mode-common): Don't call kill-local-variables; don't run hooks. 1998-07-15 Eli Zaretskii * files.el (file-name-invalid-regexp): Fix the part which handles colons in file names. 1998-07-14 Gary D. Foster * emulation/crisp.el: Added next-buffer/previous-buffer keybindings (bound to M-n/M-p). (crisp-unbury-buffer): New function. Fixed bogus XEmacs/Lucid string-match checking. Made modeline entry mouse2-able. (crisp-mode-map): Make this a sparse keymap parented from current-global-map. (crisp-mode-original-keymap): Don't copy the keymap. (crisp-last-last-command): Renamed from last-last-command. defvar it. (crisp-mode): Honor ARG. (crisp-kill-line, crisp-copy-line): When a region isn't highlighted, use the region from point to eol. Honor prefix argument. (crisp-submit-bug-report): New command, taken from cc-mode. Shortened the version numbering, removed the release-version tracking (crisp-version): New function. New keybindings `C-home', `C-end', `M-home', `M-end', `C-f', `M-l', `M-m'. (crisp-copy-line): No need to save point. Removed S-right and S-left bindings. Abstract the marking and selection interfaces so that we can be compatible with both Emacs and XEmacs. And try and make the behavior as close as possible under both environments so that there are no surprises. 1998-07-14 Richard Stallman * info.el (Info-read-node-name-1, Info-read-node-name): Rename completion-table to Info-read-node-completion-table. (Info-read-node-completion-table): Add defvar. (Info-complete-menu-buffer): Add defvar. * subr.el (read-quoted-char): Bind input-method-function to nil. * simple.el (do-auto-fill): Always break before any whitespace so that point ends up at the right place. 1998-07-13 Richard Stallman * rmailedit.el (rmail-edit-current-message, rmail-cease-edit): Save and restore save-buffer-coding-system in another local variable. 1998-07-13 Andrew Innes * ps-print.el (ps-do-despool): Bind ps-printer-name to printer-name if the former is nil. 1998-07-12 Richard Stallman * mail/sendmail.el (mail-citation-prefix-regexp): New variable. (mail-fill-yanked-message): Pass mail-citation-prefix-regexp to fill-individual-paragraphs. * textmodes/fill.el (fill-individual-paragraphs-prefix): New subroutine taken from fill-individual-paragraphs. Really check that JUST-ONE-LINE-PREFIX is longer than TWO-LINES-PREFIX in its whitespace. (fill-individual-paragraphs-citation): New subroutine. (fill-nonuniform-paragraphs): Arg MAILP renamed. (fill-individual-paragraphs): Arg MAILP renamed. 1998-07-12 Andrew Innes * dos-w32.el (file-name-buffer-file-type-alist): Force tags files to be read as raw-text-dos (to handle files in DOS format). 1998-07-12 Richard Stallman * international/mule.el (set-selection-coding-system): Renamed from set-clipboard-coding-system. Set the variable's new name, selection-coding-system. * mail/rmailout.el (rmail-output-to-rmail-file): Clean up handling of relative file names in DEFAULT-FILE. 1998-07-10 Eric M. Ludlam * speedbspec.el: Deleted; now integrated into speedbar.el. * speedbar.el: More commentary. (speedbar-xemacsp): Moved definition. (speedbar-initial-expansion-mode-list): Was `speedbar-initial-expansion-list' and now has multiple modes. (speedbar-stealthy-function-list): Now has mode labels. (speedbar-initial-expansion-list-name) (speedbar-previously-used-expansion-list-name) (speedbar-special-mode-key-map, speedbar-track-mouse-flag) (speedbar-tag-hierarchy-method, speedbar-tag-split-minimum-length) (speedbar-tag-regroup-maximum-length) (speedbar-hide-button-brackets-flag): New variables. (speedbar-special-mode-expansion-list): Updated documentation. (speedbar-navigating-speed, speedbar-update-speed): Phasing out. (speedbar-vc-indicator): Removed space from this var. (speedbar-indicator-separator, speedbar-obj-do-check) (speedbar-obj-to-do-point, speedbar-obj-indicator, speedbar-obj-alist) (speedbar-indicator-regex): New variables. (speedbar-directory-unshown-regexp): New variable. (speedbar-supported-extension-expressions): Added more extensions. (speedbar-add-supported-extension) (speedbar-add-ignored-path-regexp): Made interactive. (speedbar-update-flag): Nil w/ no window system. (speedbar-file-key-map): Moved some key bindings from `speedbar-key-map' to this map. (speedbar-make-specialized-keymap): New function. (speedbar-file-key-map): New key map. (speedbar-easymenu-definition-special): Updated to new functions. (speedbar-easymenu-definition-trailer): Changed conditional part. (speedbar-frame-mode): Removed commented code, fixed W32 cursor bug, Updated to better handle terminal frames. (speedbar-switch-buffer-attached-frame): New function. (speedbar-mode): Updated documentation, no local keymap, correct `temp-buffer-show-function' use, enable mouse-tracking. (speedbar-show-info-under-mouse): New function. (speedbar-reconfigure-keymaps): Was `speedbar-reconfigure-menubar'. Enable major display mode specific menus & key maps. (speedbar-temp-buffer-show-function): Fix use of `temp-buffer-show-hook' (speedbar-track-mouse, speedbar-track-mouse-xemacs): New functions. (speedbar-restricted-move, speedbar-restricted-next) (speedbar-restricted-prev, speedbar-navigate-list) (speedbar-forward-list, speedbar-backward-list): New commands. (speedbar-refresh): Updated message printing & verbosity. (speedbar-item-load): Updated message. (speedbar-item-byte-compile): Updated doc & reset scanners. (speedbar-item-info): Overhauled with more details. (speedbar-item-copy): Update messages. (speedbar-generic-item-info): New function (speedbar-item-delete): Update messages. (speedbar-item-object-delete): New function. (speedbar-select-window): Update doc. Use `show-buffer'. (speedbar-make-button): Update doc. (speedbar-initial-expansion-list, speedbar-initial-menu) (speedbar-initial-keymap, speedbar-initial-stealthy-functions) (speedbar-add-expansion-list) (speedbar-change-initial-expansion-list): New functions. (speedbar-maybe-add-localized-support) speedbar-add-localized-speedbar-support, speedbar-remove-localized-speedbar-support): Imported from speedbspec (speedbar-file-lists): Filter out some directories. (speedbar-make-tag-line): Can hide brackets. (speedbar-change-expand-button-char): Protect invisible text prop. (speedbar-insert-files-at-point): Ignore case during comares. (speedbar-apply-one-tag-hierarchy-method) (speedbar-create-tag-hierarchy): New functions. (speedbar-insert-generic-list): Now calls hierarchy functions on tags. (speedbar-update-contents): Handles localized support. (speedbar-update-directory-contents): Uses fn for expansion list, Fixed directory cacheing bug. (speedbar-timer-fn): Calls localized support function. (speedbar-stealthy-update-recurse): New variable (speedbar-stealthy-updates): Handle new stealth function format. (speedbar-clear-current-file): Handle indicator regex. (speedbar-update-current-file): Ignores case, update handle indicator regex, Fix line positioning. (speedbar-add-indicator): Handles obj indicators now. (speedbar-check-objects, speedbar-check-obj-this-line): New functions. (speedbar-double-click): Fix tripple click error. (speedbar-line-file, speedbar-goto-this-file): Handle indicator regex. (speedbar-line-path): Only try to get a file when in "files" display. (speedbar-line-depth): Handle indicator regex. (speedbar-dir-follow): Turn of smart-adjust to disable cache use. (speedbar-directory-buttons-follow): Hack for W32 emacs directories. (speedbar-buffers-key-map): New key map. (speedbar-buffer-easymenu-definition): New meny items. (speedbar-buffer-buttons, speedbar-buffer-buttons-temp) (speedbar-buffer-buttons-engine, speedbar-buffer-click) (speedbar-buffer-kill-buffer, speedbar-buffer-revert-buffer): New functions. * mail/rmail.el: No longer depends on speedbspec for byte compile. (rmail-speedbar-match-folder-regexp): New variable. (rmail-speedbar-menu-items): Updated speedbar menu items. (rmail-speedbar-key-map): New keymap. (rmail-install-speedbar-variables): New function. Install speedbar keymap only when speedbar is loaded. (rmail-speedbar-buttons): Use `rmail-speedbar-match-folder-regexp'. * info.el: No longer depends on speedbspec for byte compile. (Info-speedbar-key-map): New key map. (Info-install-speedbar-variables): New function. (Info-speedbar-menu-items): Update to new functions. Install speedbar keymap only when speedbar is loaded. (Info-speedbar-browser): New command. (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node) (Info-speedbar-expand-node, Info-speedbar-fetch-file-nodes): New fns. (Info-speedbar-buttons): Handle new node button commands. * gud.el: (gud-speedbar-key-map): New variable. (gud-install-speedbar-variables): New function Install speedbar keymap only when speedbar is loaded. (gud-gdb-get-stackframe): Added ":" to regex for c++. 1998-07-09 Sam Steingold * emacs-lisp/cl-indent.el: Indent `handler-case' correctly. * font-lock.el (lisp-font-lock-keywords): Fontify `handler-case', `ccase', `ctypecase', `assert', `error'. 1998-07-09 Andrew Innes * jka-compr.el (jka-compr-insert-file-contents): Replace incorrect inline code with call to find-operation-coding-system. 1998-07-09 Richard Stallman * simple.el (undo-in-progress): New variable. (undo-more): Bind it to t. 1998-07-08 Kenichi Handa * international/fontset.el (x-complement-fontset-spec): Typo fixed. (create-fontset-from-fontset-spec): Likewise. (create-fontset-from-ascii-font): Likewise. 1998-07-08 Kenichi Handa * language/hebrew.el ("Hebrew"): Add coding-priority. * language/misc-lang.el ("IPA"): Add coding-priority and coding-system. 1998-07-07 Kevin Rodgers * vc.el (vc-finish-logentry): Only delete windows in the selected frame displaying the *VC-log* buffer, in case another frame is dedicated to it (which will then be deleted via kill-buffer). 1998-07-07 Sam Steingold * scheme.el (scheme-font-lock-keywords-1): Fontify SCWM/Guile keywords starting with `define'. 1998-07-07 Richard Stallman * mail/rmail.el (rmail): If existing buffer, use local enable-multibyte-characters for rmail-enable-multibyte. (rmail-revert): Bind coding-system-for-read to raw-text, then convert and make buffer multibyte, as in `rmail'. * files.el (find-file-noselect-1): Use kill-local-variable on buffer-file-coding-system, instead of setting it. (save-buffer): Doc fix. (basic-save-buffer): Doc fix. * subr.el (add-hook): Use member if FUNCTION is a compiled function. 1998-07-06 Richard Stallman * textmodes/fill.el (fill-individual-paragraphs): Fix previous change. * textmodes/tex-mode.el (tex-delete-last-temp-files): Use file-name-sans-extensions. 1998-07-06 Kenichi Handa * bindings.el: Make all multibyte characters self-insert. * isearch.el (isearch-mode-map): Make all multibyte characters search for themselves. 1998-07-05 Ken'ichi Handa * international/mule.el: Don't make the function charset-list obsolete. 1998-07-05 Richard Stallman * mail/mail-utils.el (rmail-dont-reply-to): Understand about doublequotes; don't be fooled by commas inside them. 1998-07-04 Richard Stallman * textmodes/fill.el (fill-individual-paragraphs): If JUST-ONE-LINE-PREFIX matches TWO-LINES-PREFIX except with longer whitespace, treat that as a match even is spaces are replaced with a tab. 1998-07-03 Michael Ernst * dired-x.el (dired-omit-expunge): Message if skipping omitting because directory is too large; also unset dired-omit-files-p. (dired-omit-size-limit): Increase default from 20000 to 30000. 1998-07-03 Richard Stallman * international/mule-cmds.el (set-language-environment): Test unibyte-syntax instead of using a fixed list of latin-N character sets. * language/european.el: Define unibyte-syntax in each of these language environments. (setup-8-bit-environment): Let unibyte-syntax specify whether to load a file of syntax settings, and which one. * emacs-lisp/byte-opt.el (byte-boolean-vars): Add print-escape-multibyte. * progmodes/make-mode.el (makefile-font-lock-keywords): Recognize automatic variable references. (makefile-dependency-regex): Don't be fooled by colons in deps. 1998-07-03 Espen Skoglund * pascal.el (pascal-insert-block): Fixed space-deletion bug in front of the "begin" string. (pascal-beg-of-defun): Used to locate the beginning of a function incorrectly when a function contained several begin-end blocks. Fixed. 1998-07-03 Dave Love * calendar/diary-lib.el (diary-mail-addr): Fix custom type. 1998-07-03 Andrew Innes * dos-fns.el (dos-print-region-function): Definition moved to dos-w32.el. (print-region-function): Initialization moved to dos-w32.el. (lpr-headers-switches, ps-lpr-command, ps-lpr-switches): Likewise. * dos-vars.el (dos-printer): Obsolete variable deleted. (dos-ps-printer): Likewise. * dos-w32.el (direct-print-region-function): Renamed from dos-print-region-function. Added &rest keyword. (print-region-function): Set to direct-print-region-function. (lpr-headers-switches): Initialize. (ps-lpr-command): Initialize. (ps-lpr-switches): Initialize. * lpr.el (printer-name): New variable. (lpr-switches): Mention it in docstring. (print-region-1): Use it. * ps-print.el (ps-printer-name): New variable. (ps-do-despool): Use it. 1998-07-03 Robert J. Chassell * textmodes/texinfo.el (texinfo-environment-regexp): Add smalldisplay and smallformat. * info.el (Info-find-node): Handle cross references to an @anchor. * informat.el (Info-tagify): Finish previous change. Fix up some messages. * textmodes/texinfmt.el (texinfmt-version): Update version. number which is used in header of texinfmt-produced Info files. (texinfo-format-buffer): Now always tagify, on accout of @anchor. (texi-format-region): Always tagify. (texi2info): Always tagify (texinfo-anchor): Add @anchor command as place to which a cross reference may go. (texinfo-no-refill-regexp): Add smalldisplay, smallformat (texinfo-format-uref): New command: @uref (texinfo-format-var): New command: @acronym (texinfo-format-code): New commands: @command, @env, @url. (texinfo-format-option): New command: @option (texinfo-format-example): New command: @smalldisplay (texinfo-format-flushleft): New command: @smallformat (texinfo-discard-line-with-args): New commands: @novalidate, @pagesize, @setcontentsaftertitlepage, @setshortcontentsaftertitlepage. 1998-07-03 Eric Ludlam * emacs-lisp/checkdoc.el: (checkdoc): Updated commentary. (checkdoc-autofix-flag): Updated doc. (checkdoc-force-docstrings-flag): Updated doc. (checkdoc-force-history-flag): New flag. (checkdoc-triple-semi-comment-check-flag): Fixed name. (checkdoc-spellcheck-documentation-flag): Fixed doc. (checkdoc-ispell-lisp-words): Update default value. (checkdoc-generate-compile-warnings-flag, checkdoc-proper-noun-list, checkdoc-proper-noun-regexp, checkdoc-symbol-words): New variables. (princ-list): Function created if it isn't bound. (checkdoc-interactive): parts removed to `checkdoc-interactive-loop'. (checkdoc,checkdoc-message-interactive): New function. (checkdoc-interactive-loop): was in `checkdoc-interactive', then added better keybindings, and better autofixing behavior, Cursor now sits next to the error, forcing scrolling if needed, and using a better centering algorithm, and much better error navigation after choosing "f"ix. (checkdoc-next-error): Added parameter ENABLE-FIX. (checkdoc-next-message-error,checkdoc-recursive-edit): New functions. (checkdoc-start): was `checkdoc', uses new note taking system. (checkdoc-current-buffer, checkdoc-continue, checkdoc-comments): Updated to use new note taking system. (checkdoc-rogue-spaces, checkdoc-rogue-space-check-engine): Added INTERACT parameter, uses new warnings functions. (checkdoc-message-text, checkdoc-defun): Updated to use new note taking system. (checkdoc-ispell-current-buffer, checkdoc-ispell-interactive): fix doc. (checkdoc-ispell-message-text, checkdoc-ispell-start): New function. (checkdoc-create-error, checkdoc-error-text, checkdoc-error-start, checkdoc-error-end, checkdoc-error-unfixable): New functions. (checkdoc-minor-keymap): Updated keybinds to new interactive functions, completely re-arranged the minor-mode menu. (checkdoc-this-string-valid): Moved no doc-string warning here, and added autofix if a comment already exists there. (checkdoc-this-string-valid-engine): fix doc, robusted doc finder. All previously returned errors now call `checkdoc-create-error'. Moved no doc string warning out. Update allowed punctuation at end of first line. Fixed up sentence joining. Verb checking flag now only checks the first line of a function. Added more safe conditions to ambiguous symbols. Moved symbol quoting to end. Added autofix for variables that should end in `-flag'. Replaced use of `y-or-n-p' with `checkdoc-y-or-n-p'. Reading checkdoc-param comment no longer depends on list syntax. Fixed various error string spelling & format. (checkdoc-in-sample-code-p): List starting with all caps word is now condsidered sample code. (checkdoc-in-example-string-p, checkdoc-proper-noun-region-engine, checkdoc-sentencespace-region-engine): New functions. (checkdoc-ispell-docstring-engine): Disable spell checking during if user never wants interaction. We don't have a non-interactive spell checking method yet. (checkdoc-file-comments-engine): Now set up to check all possible conditions even after encountering an error. Added auto-fixes for history and commentary. All previously returned errors now call `checkdoc-create-error'. Message spelling and format. (checkdoc-message-text-search): Moved parts to `checkdoc-message-text-next-string'. (checkdoc-message-text-next-string): New function (checkdoc-message-text-engine): All previously returned errors now call `checkdoc-create-error'. Can find/skip 'format' call after the call we are checking. Added sentence/propernoun scans. `y-or-n-p' checks and fixes are now more robust. (checkdoc-y-or-n-p): New function. (checkdoc-autofix-ask-replace): Update doc. Protect match-data. Correctly handle `checkdoc-autofix-flag' of 'never. New behavior with `checkdoc-autofix-flag' of 'automatic-then-never. Better overlay handling. (checkdoc-output-font-lock-keywords): Updated to new output format. (checkdoc-pending-errors): New variable. (checkdoc-find-error): Updated to new output format. (checkdoc-start-section, checkdoc-error): Improved the output. (checkdoc-show-diagnostics): Smarter show algorithm. 1998-07-03 Kenichi Handa * faces.el (x-create-frame-with-faces): If an ASCII font is specified in PARAMETERS, create a fontset from the font and use it for the new frame. * international/fontset.el (create-fontset-from-fontset-spec): Returns a created fontset. (create-fontset-from-ascii-font): New function. * term/x-win.el: Fill weight and slant fields of a fontset generted from the specified ASCII font by values got from the resolved ASCII font name. 1998-07-02 Richard Stallman * emacs-lisp/bytecomp.el (byte-compile-file): Bind set-auto-coding-for-load to t. * international/mule.el (set-auto-coding-for-load): New variable. (set-auto-coding): If set-auto-coding-for-load is non-nil, look for `unibyte file variable first, then for `coding'. (load-with-code-conversion): Bind set-auto-coding-for-load to t. * cus-edit.el (customize-changed-options): Clean up previous change. * progmodes/cc-menus.el: Don't require imenu. * menu-bar.el (menu-bar-mode): Doc fix. 1998-07-02 Dave Love * progmodes/fortran.el (fortran-mode-map) : Tweak the imenu menu entry. (end-of-fortran-subprogram): Check if we're on the END statement. 1998-07-02 Richard Stallman * textmodes/texinfmt.el (texinfo-anchor): New function. * informat.el (Info-tagify): Handle tags for @anchor. * menu-bar.el (menu-bar-kill-ring-save): Fix message typo. 1998-07-01 Richard Stallman * derived.el (derived-mode-hooks-name): Use -hook, not -hooks, in mode hook name. (derived-mode-hook-name): Renamed from ...-hooks; caller changed. 1998-07-01 Ken'ichi Handa * international/mule.el (mule-version): Changed to 4.0. (mule-version-date): Updated. 1998-06-30 Richard Stallman * menu-bar.el (menu-bar-edit-menu): Rename Paste most Recent to simply Paste, and put it above Select and Paste. * comint.el (comint-exec-1): Setup coding systems appropriately. 1998-06-29 Dirk Herrmann * bibtex.el (bibtex-hide-entry-bodies): When entry bodies are hidden, the last entry is no longer omitted. 1998-06-29 Richard Stallman * mail/supercite.el (sc-help-address): Use an alias at gnu.org. 1998-06-29 Stephen Eglen * calendar/diary-lib.el (diary-mail-entries): Call exit-calendar when finished. 1998-06-28 Peter Stephenson * vcursor.el: Use defcustom to define faces. (vcursor-bind-keys): New function. (vcursor-key-bindings): Use vcursor-bind-keys for :set. (vcursor-cs-binding): Function to handle bindings, handles differences between Emacs and XEmacs. (vcursor-post-command): Handle vcursor-auto-disable non-nil and not t to toggle off copying. 1998-06-28 Richard Stallman * gnus/message.el (message-cite-original): If mail-citation-hook is non-nil, just run that and do nothing else. (message-cite-function): Don't initialize from mail-citation-hook. * mail/mh-utils.el (mh-find-progs): Avoid WTA error when mh-progs is nil. Give a clear specific error message instead. * shell.el (shell-copy-environment-variable): Fix doc typo. * ffap.el (ffap-read-file-or-url): Bind minibuffer-completing-file-name to t. * informat.el (Info-split): Convert positions to bytes to put in file. (Info-tagify): Likewise. * info.el (Info-find-node): Use byte-to-position. 1998-06-28 Lars Magne Ingebrigtsen * message.el (message-cite-function): Initialized from `mail-citation-hook', if that variable is bound and non-nil. 1998-06-28 Lars Magne Ingebrigtsen * ange-ftp.el (ange-ftp-send-cmd): When listing a directory that contains space(s), cd to the directory first to avoid problems with (some) ftp servers. 1998-06-27 Dan Nicolaescu * cus-dep.el: Fix typo. 1998-06-27 Richard Stallman * startup.el (command-line) : Change 9 to 5, not 5 to 9. (command-line-1): Fix mouse startup message. * textmodes/text-mode.el (text-mode): Locally set indent-line-function. * find-dired.el (find-dired): Bind dired-buffers so it can't change. Use abbreviate-file-name. * imenu.el (imenu-space-replacement): Use `.'. * textmodes/sgml-mode.el (html-imenu-regexp): New defvar. (html-imenu-index): New function. (html-mode): Set up local vars to use html-imenu-index. Don't sort the menu. * international/mule.el (set-keyboard-coding-system): Doc typo. 1998-06-26 Michael Ernst * sendmail.el (mail): Avoid changing auto-save file name. 1998-06-26 Dan Nicolaescu * textmodes/flyspell.el (flyspell): Add :version. 1998-06-26 Ken'ichi Handa * language/greek.el: Add coding-priority. 1998-06-26 Richard Stallman * mail/mailalias.el (mail-complete): Fix the test of (mail-heder-end). 1998-06-26 Kenichi Handa * international/fontset.el (create-fontset-from-fontset-spec): Generate ASCII font names of style variants fontsets from a resolved ASCII font name of a base fontset. * language/korea-util.el (isearch-toggle-korean-input-method) (isearch-hangul-switch-symbol-ksc, isearch-hangul-switch-hanja): New functions. (korean-key-bindings): Renamed from exit-korean-environment-data. Initialized apropriately. (setup-korean-environment): Setup key bindings according to korean-key-bindings. (exit-korean-environment): Revert key bindings only if the current key bindings is the same as what set by setup-korean-environment. 1998-06-25 Andrew Innes * faces.el (set-face-font): For now, don't call resolve-fontset-name on Windows. (set-face-font-auto): Likewise. 1998-06-25 Richard Stallman * textmodes/flyspell.el: Delete defcustom definition. (flyspell-auto-correct-binding): Fix custom type. (mail-mode-flyspell-verify): Check for `Subject:'. (flyspell-mouse-map): Use cond, not if. (flyspell-region): Update message only every 100 actions. 1998-06-25 Jens-Ulrik Petersen * find-func.el: Require `loadhist'. Variable (find-function-function) variable removed. (find-function-regexp): New variable, taken from former constant in `find-function-noselect'. Can now find function definitions with parameters on a new line. (find-variable-regexp): New variable. (find-function-recenter-line): New variable. (find-function-after-hook): New variable. (find-function-search-for-symbol): subroutine, from of `find-function-noselect' (find-function-search-for-symbol): `regexp-quote' the symbol name: needed to find-function `mapcar*' for example. (find-function-noselect): Improved docstring. Don't include `library' in let. Use `symbol-file' instead of `describe-symbol-find-file' (find-function-read): Renamed from `find-function-read-function'. With optional arg now read a variable. (find-function-read): Separate `completing-read' calls for variables and functions. (find-function-do-it): If buffer found was already current push mark. Added parameter to indicate if a variable is being searched for. (find-function-do-it): Mention new `find-function-recenter-line' and `find-function-after-hook' in docstring. Use them. (find-function): Remove optional arg. Use `find-function-do-it' and `find-function-read'. (find-function-other-window): ditto. (find-function-other-frame): ditto. (find-function): Mention `find-function-recenter-line' and `find-function-after-hook' in docstring. (find-function-other-window): Remove most of docstring and add reference to `find-function' instead. (find-function-other-frame): Ditto. (find-variable-noselect): New function for finding the point of definition of variables, modeled on `find-function-noselect'. (find-variable-noselect): Use `symbol-file' instead of `describe-symbol-find-file'. (find-variable): New function. (find-variable-other-window): Ditto. (find-variable-other-frame): Ditto. (find-variable): Mention `find-function-recenter-line' and `find-function-after-hook' in docstring. (find-variable-other-window): Remove most of docstring and add reference to `find-variable' instead. (find-variable-other-frame): Ditto. (find-function-on-key): Simplified. Removed stuff now taken care of by interactive "k". (find-function-at-point): New function. (find-variable-at-point): Ditto. 1998-06-25 Richard Stallman * mail/rmail.el (mail-unsent-separator): Add new alternative. 1998-06-25 Karl Heuer * mail/feedmail.el: Style and doc fixes. 1998-06-24 Richard Stallman * textmodes/flyspell.el: New file. * dabbrev.el (dabbrev-ignored-buffer-names): Fix typo. Add *Buffer List*. 1998-06-24 Andrew Innes * dos-w32.el (null-device): Renamed from grep-null-device. 1998-06-24 Richard Stallman * custom.el (custom-set-default): New function. (custom-set-variables): Use custom-set-default. (custom-local-buffer): New variable. (defcustom): Doc fix. 1998-06-24 Andreas Schwab * international/fontset.el (fontset-default-styles): Fix custom type. 1998-06-24 Richard Stallman * international/mule-cmds.el (set-language-environment): Allow all language environments, even in unibyte mode. But set the terminal coding system only in the known few. * language/japanese.el (iso-2022-jp): Delete spurious quote. 1998-06-23 Andreas Schwab * ange-ftp.el (ange-ftp-default-user) (ange-ftp-generate-anonymous-password): Use `other' widget type. * autoinsert.el (auto-insert, auto-insert-query): Use `other' widget type. * bookmark.el (bookmark-save-flag, bookmark-version-control): Use `other' widget type. * comint.el (comint-input-autoexpand): Use `other' widget type. * complete.el (PC-first-char): Use `other' widget type. * cus-edit.el (custom-magic-show): Use `other' widget type. * cus-start.el (selective-display, suggest-key-bindings) (message-log-max): Use `other' widget type. * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace) (dabbrev-check-other-buffers): Use `other' widget type. * dired-aux.el (dired-backup-overwrite): Use `other' widget type. * dired-x.el (dired-vm-read-only-folders): Use `other' widget type. * dos-vars.el (dos-ps-printer): Use `other' widget type. * ediff-init.el (ediff-autostore-merges): Use `other' widget type. * emacs-lisp/advice.el (ad-redefinition-action) (ad-default-compilation-action): Use `other' widget type. * emacs-lisp/bytecomp.el (byte-compile-generate-call-tree): Use `other' widget type. * emacs-lisp/checkdoc.el (checkdoc-autofix-flag): Use `other' widget type. * emacs-lisp/copyright.el (copyright-query): Use `other' widget type. * fast-lock.el (fast-lock-verbose): Use `other' widget type. * files.el (version-control, delete-old-versions) (require-final-newline, enable-local-variables, enable-local-eval): Use `other' widget type. * font-lock.el (font-lock-verbose): Use `other' widget type. * gnus/gnus-art.el (gnus-prompt-before-saving): Use `other' widget type. * gnus/gnus-async.el (gnus-use-article-prefetch): Use `other' widget type. * imenu.el (imenu-always-use-completion-buffer-p): Use `other' widget type. * isearch.el (search-upper-case): Use `other' widget type. * ispell.el (ispell-highlight-p, ispell-check-comments) (ispell-help-in-bufferp, ispell-skip-sgml): Use `other' widget type. * lazy-lock.el (lazy-lock-defer-on-scrolling) (lazy-lock-defer-contextually): Use `other' widget type. * mail/mh-comp.el (mh-yank-from-start-of-msg): Use `other' widget type. * mail/rmail.el (rmail-enable-mime): Use `other' widget type. * mail/supercite.el (sc-cite-region-limit): Use `other' widget type. * mouse-sel.el (mouse-sel-default-bindings): Use `other' widget type. * progmodes/etags.el (tags-add-tables): Use `other' widget type. * progmodes/executable.el (executable-query): Use `other' widget type. * ps-print.el (ps-print-control-characters): Use `other' widget type. * rlogin.el (rlogin-process-connection-type) (rlogin-directory-tracking-mode): Use `other' widget type. * shadowfile.el (shadow-noquery): Use `other' widget type. * textmodes/bibtex.el (bibtex-include-OPTkey): Use `other' widget type. 1998-06-23 Ken'ichi Handa * international/fontset.el (x-style-funcs-alist): Remove duplicated code. 1998-06-23 Richard Stallman * cus-edit.el (custom-buffer-create-internal): New optional arg LOCAL; set custom-local-buffer locally to that. (custom-buffer-create): New optional arg LOCAL. (customize-local-variables): New function. (custom-default-value): New function. (custom-variable-value-create): Use custom-default-value. (customize-set-variable): Use custom-set-default. (customize-save-variable): Likewise. (custom-variable-set, custom-variable-reset-standard): Likewise. (custom-variable-save, custom-variable-reset-saved): Likewise. 1998-06-23 Eli Zaretskii * progmodes/executable.el (executable-binary-suffixes): New variable. (executable-find): Use it to look for executable program files. 1998-06-23 Michael Ernst * bibtex.el: Numerous documentation fixups. Delete periods from error messages. * bibtex.el (bibtex-move-outside-of-entry): If outside an entry, try not to move point, or only move it minimally. * bibtex.el (bibtex-autokey-get-titlestring): Omit delimiters. 1998-06-23 Dave Love * files.el (auto-mode-alist): Map .xml to sgml-mode. 1998-06-23 Kenichi Handa * language/japan-util.el: Introduce new character code property `composition'. Add property `jisx0208' to Japanese hankaku characters. (japanese-kana-table): Add more data. (japanese-symbol-table): Change the order of elements. (japanese-katakana-region): Adjusted for the above changes. Check character code properties directly here. (japanese-hiragana-region): Likewise. (japanese-hankaku-region): Likewise. (japanese-zenkaku-region): Likewise. 1998-06-22 WJCarpenter * mail/feedmail.el: New file. 1998-06-22 Andrew Innes * term/w32-win.el (internal-face-interactive): Handle case where BOOL is `color'. 1998-06-22 Richard Stallman * progmodes/compile.el (grep-command): Initialize to nil. (grep-find-command): Initialize to nil. (grep-find-use-xargs): Initialize to nil. (grep-compute-defaults): New function, sets those three vars properly. (grep, grep-find): Call grep-compute-defaults if ...command variable is still nil. (grep-program): Doc fix. 1998-06-21 Richard Stallman * files.el (find-file-noselect-1): Init buffer-file-coding-system from default-buffer-file-coding-system. * files.el (find-file-noselect-1): Return the buffer that is current after after-find-file. (find-file-noselect): Return whatever find-file-noselect-1 returns. * emacs-lisp/cl-macs.el (buffer-modified-p): Make defsetf handle buffer argument. * mail/rmailout.el (rmail-output): Handle directories properly in suggestions fro the alist. 1998-06-21 Dan Nicolaescu * midnight.el (midnight): Put :version to the defgroup and delete it from all the variables. * net-utils.el (net-utils): Add :version. 1998-06-21 Dan Nicolaescu Add support for loading the files that contain :version when doing `custoize-changed-options' so it can know which variables have changed even in files that were not loaded at the time it was called. * cus-edit.el (customize-changed-options): Remeber all the versions and load the corresponding files before we show the customization buffer. Change the sorting to show the groups first in the customization buffer. (custom-buffer-create-internal): Move the ... before %. * cus-dep.el (custom-make-dependencies): Also remeber if the variable is autoloaded or not. Create the information needed by customize-changed-options. 1998-06-21 Eli Zaretskii * vc.el (vc-binary-suffixes): New variable. (vc-find-binary): Append every suffix from vc-binary-suffixes when looking for executable files. 1998-06-20 Richard Stallman * apropos.el (apropos-print): Delete arg DOC-FN. Callers changed to do that work before calling apropos-print. Make *Apropos* buffer read only. * replace.el (occur): Set buffer-read-only. 1998-06-20 Per Starback * international/characters.el, ispell.el, startup.el: Doc fixes. * ispell.el (ispell-skip-region): Don't complain when ispell-check-comments is 'exclusive and there are no more comments. Just skip to the end instead. 1998-06-20 Kenichi Handa * international/fontset.el (x-style-funcs-alist): If x-make-font-demibold or x-make-font-bold return nil, don't try further style modification. * international/encoded-kb.el (encoded-kbd-self-insert-sjis): Handle katakana-jisx0201 correctly. * isearch.el (isearch-range-invisible): Handle the case that buffer-invisibility-spec is t (i.e. not a list). * language/devan-util.el (devanagari-digit-viram-visarga): Set the correct value. (devanagari-composite-glyph-unit): Likewise. (devanagari-char-to-glyph-rules): Likewise. * language/ethio-util.el: Delete codes for ethio-mode, which includes deletion of varialble ethio-mode, variable ethio-mode-map, and function ethio-mode. (exit-ethiopic-environment-data): New variable. (setup-ethiopic-environment): Recode information of changed key bindings in exit-ethiopic-environment-data. Add ethio-select-a-translation to quail-mode-hook. (exit-ethiopic-environment): New function. (ethio-find-file): Don't check ethio-mode. (ethio-write-file): Likewise. * language/ethiopic.el: Set `exit-function' of Ethiopic lang. env. to exit-ethiopic-environment. * term/x-win.el: When creating a fontset from a specified ASCII font, don't use the resolved fon tname for the new fontset name. 1998-06-19 Karl Heuer * emacs-lisp/checkdoc.el (checkdoc-eval-defun): Doc fix. (checkdoc-continue, checkdoc-tripple-semi-comment-check-flag): Ditto. (checkdoc-common-verbs-wrong-voice): Use dotted pairs. 1998-06-19 Richard Stallman * startup.el (normal-top-level): For root, set backup-by-copying-when-mismatch to t. * international/fontset.el (x-style-funcs-alist): Fix the elements that call two x-... functions so they don't call the second if the first gives nil. (fontset-default-styles): New variable. (create-fontset-from-fontset-spec): Use fontset-default-styles. 1998-06-19 Andreas Schwab * progmodes/dcl-mode.el (dcl): Define as customize group, not as option. 1998-06-19 Stephen Gildea * time-stamp.el (time-stamp): Handle newlines in time-stamp-pattern. (time-stamp-string-preprocess): Handle more than one numeric arg. 1998-06-19 Dave Love * browse-url.el (browse-url-netscape): Encode `)' too. 1998-06-16 Richard Stallman * vc.el (vc-find-binary): Accept only non-directories. 1998-06-15 Richard Stallman * mail/rmail.el (rmail): Make the buffer multibyte even if it was already nonempty, if it should be multibyte. * custom.el (custom-declare-variable): Update current-load-list. 1998-06-14 Andreas Schwab * wid-edit.el (widget-default-get): Doc fix. (widget-editable-list-entry-create): Apply :value-to-external to the value returned from wiget-default-get. 1998-06-14 Ken'ichi Handa * international/mule.el (set-auto-coding): Redo the previous change. * tar-mode.el (tar-extract): Adjusted for the change of the spec of set-auto-coding-function. 1998-06-14 Richard Stallman * play/gamegrid.el, play/snake.el, play/tetris.el: New file. * uncompress.el (uncompress-while-visiting): Bind coding-system-for-write and coding-system-for-read. * tmm.el (tmm-get-keymap): Handle :filter. 1998-06-14 Eli Zaretskii * files.el (file-name-invalid-regexp): Add control characters for the case of DOS/Windows: they are disallowed by these filesystems. 1998-06-14 Richard Stallman * net-utils.el: New file. 1998-06-13 Richard Stallman * emacs-lisp/sregex.el: New file. * startup.el (command-line-1): Check that user-init-file non-nil. * files.el (user-init-file): Default value now nil. * help.el (help-map): C-h 4 i runs info-other-window. * info.el (info-other-window): New function. * mail/rmail.el (rmail-variables): Locally bind local-enable-local-variables, not enable-local-variables. (rmail): Don't switch buffers inside the binding of enable-local-variables. * arc-mode.el (archive-mode): Locally bind local-enable-local-variables, not enable-local-variables. * tar-mode.el (tar-mode): Locally bind local-enable-local-variables, not enable-local-variables. * files.el (local-enable-local-variables): New variable. (set-auto-mode): Test it. * wid-edit.el (other): Doc fix. * repeat.el (repeat): Don't set obsolete var repeat-num-input-keys-at-prefix. * files.el (find-file-noselect): Delete unused local var `error'. (find-file-noselect-1): Add local var `error'. * ispell.el (ispell-region): Return non-nil if not aborted. (ispell-highlight-spelling-error-generic): Fix doc typo. 1998-06-12 Richard Stallman * midnight.el (midnight-mode): New variable. (midnight-timer-function): New function. (midnight-delay-set): Make the timer run midnight-timer-function. 1998-06-12 Andre Spiegel * vc.el (vc-dired-hook): Don't use dired-kill-line to remove directory lines in terse mode. (vc-dired-purge): If the top level dir is empty, make it look a little nicer. 1998-06-12 Dave Love * loadhist.el (read-feature): Doc fix. (loadhist-hook-functions): New variable. (unload-feature): Act on FEATURE-unload-hook or look for unloaded functions on hooks and remove them. 1998-06-12 Ken'ichi Handa * international/mule.el (set-auto-coding): Cancel the previous change. 1998-06-12 Kenichi Handa * faces.el (set-face-font): Pay attention to fontset. (set-face-font-auto): Call resolve-fontset-name. * international/fontset.el (instantiate-fontset): Delete duplicated call of x-complement-fontset-spec. Call new-fontset with a correct argument. (x-compose-font-name): Argument name adjusted for the doc-string. (x-complement-fontset-spec): Don't alter the contents of the arguments XLFD-FIELDS and FONTLIST. (x-style-funcs-alist): The format changed. (x-modify-font-name): New function. (create-fontset-from-fontset-spec): The arg STYLE-VARIANT-P is changed to STYLE-VARIANT, the format also changed. Use x-modify-font-name instead of calling functions in x-style-funcs-alist directly. (instantiate-fontset): Use x-modify-font-name instead of calling functions in x-style-funcs-alist directly. (resolve-fontset-name): New function. * term/x-win.el: While creating fontsets of style variants, pay attention to X resources XXX.attributeFont. 1998-06-12 Thien-Thi Nguyen * progmodes/hideshow.el: Require `easymenu'. Rework to use easymenu. Remove eol ws. (hs-hide-level-recursive, hs-hide-level): Add. (hs-unbalance-handler-method): Delete. (hs-show-block-at-point): Always use `top-level' unbalanced-handler case. (hs-minor-mode): Use `make-local-variable' not `make-variable-buffer-local'. 1998-06-12 Kenichi Handa * international/mule.el (set-auto-coding): Argument is changed to SIZE. Now finds the text to be scanned in the current buffer. 1998-06-11 Rob Riepel * tpu-edt.el (tpu-include) Use insert-file-contents, remove save-excursion. 1998-06-11 Richard Stallman * help.el (describe-key, describe-key-briefly): Don't discard up event after down event. * emacs-lisp/find-func.el (find-function-on-key): Don't discard up event after down event. 1998-06-11 Felix Lee * gud.el (gud-filter): Extend scope of binding of gud-filter-defer-flag. 1998-06-11 Richard Stallman * jka-compr.el (jka-compr-insert-file-contents): Don't run after-insert-file-functions, since caller does that. * midnight.el: New file. 1998-06-11 Andre Spiegel * dired.el (dired-readin): Insert headerline only if necessary. (Not in recursive listings.) * vc.el (vc-dired-recurse, vc-dired-terse-display): New user options. (vc-next-action-dired): Cleanup. Let vc-dired-terse-mode be nil here, so that checked-in files don't vanish. (vc-dired-toggle-terse-mode): New function. (vc-dired-hook): Don't show "." and "..". Handle terse mode. (vc-dired-purge): New function. (vc-directory): Handle vc-dired-recurse. 1998-06-11 Richard Stallman * mail/rmail.el (rmail-toggle-header): Fix previous change. 1998-06-10 Dave Love * mail/metamail.el (metamail-region): Don't use concat with numeric arg. * browse-url.el: Don't require dired when compiling. (browse-url-lynx-input-delay, browse-url-lynx-input-attempts): Remove customization. (browse-url-grail): Respect new-window arg (Barry Warsaw). 1998-06-10 Richard Stallman * progmodes/cc-langs.el (c-mode-menu): Use (mark t), not (mark), in enable-expressions. * wid-edit.el (other): New widget type. * emacs-lisp/eval-reg.el (elisp-eval-region): Accept new arg read-function; also handle load-read-function. 1998-06-10 Andrew Innes * startup.el (command-line): Set `temporary-file-directory' based on environment settings, before processing init files. 1998-06-10 Alan Shutko * bindings.el (ctl-x-map): Change vi-dot binding to repeat. 1998-06-09 Per Abrahamsen * wid-edit.el (widget-specify-secret): New function. (widget-after-change): Use it. (widget-specify-field): Use it. 1998-06-09 Richard Stallman * emacs-lisp/lisp-mode.el (eval-defun): Pass read function to eval-region as arg, instead of binding load-read-function. * files.el (find-file-noselect): Use find-file-noselect-1 after "Save file and revisit literally? ". * help.el (help-make-xrefs): When scanning keymap binding listings, scan from the very beginning. (help-follow-mouse): Avoid save-excursion, so can set point properly. * mail/uce.el: Several fixes in doc string style. (uce-mail-reader): Use defcustom. 1998-06-09 Ed Reingold * calendar/cal-tex.el (cal-tex-list-diary-entries): Set diary-display-hook correctly. * calendar/cal-menu.el (calendar-mouse-holidays, calendar-mouse-view-diary-entries, calendar-mouse-view-other-diary-entries): Rewritten to put results in popup menu to be consistent with other functions. * calendar/diary-lib.el (view-other-diary-entries): Don't overide default value of diary-file. 1998-06-09 Richard Stallman * mail/sendmail.el (mail-header-end): Widen. (mail-text-start): Widen. * progmodes/cperl-mode.el (pod2man-program): Var reinstalled. (cperl-pod-to-manpage, cperl-pod2man-build-command): Fns reinstalled. 1998-06-09 stanislav shalunov * mail/uce.el (uce-message-text): Change the text of message that is sent. * mail/uce.el (uce-reply-to-uce): Do not assume all Received lines are on top of message without headers like `From' or `To'. * mail/uce.el (uce-reply-to-uce): Parse Received lines better. * mail/uce.el (uce-mail-reader): New user option. (uce-reply-to uce): Add support for Gnus. User is supposed to set uce-mail-reader to `gnus' if using Gnus to read mail. The default is to assume Rmail. There's no magic to determine what mail reader is currently active, so it is not possible to mix using uce.el with Rmail and Gnus. 1998-06-08 Dan Nicolaescu * generic.el (generic-mode-with-type): Set major-mode to be the actual mode, not generic-mode. 1998-06-08 Richard Stallman * apropos.el (apropos-print): The cross ref for a variable should always do just describe-variable. * ange-ftp.el (ange-ftp-expand-dir): Use null-device. * progmodes/compile.el (grep-null-device): Variable deleted. (grep-command, grep-find-use-xargs): Use null-device. (grep, grep-find): Use null-device. * files.el (null-device): New variable. * progmodes/cperl-mode.el (Man-filter-list): Unused variable deleted. (cperl-perldoc, cperl-perldoc-at-point): Functions reinstalled. 1998-06-08 Andrew Innes * ange-ftp.el (ange-ftp-file-name-completion): Use ange-ftp-this-dir instead of literal "/" when calling real completion function. 1998-06-08 Richard Stallman * textmodes/texnfo-upd.el (texinfo-insert-master-menu-list): Insert \n after @detailmenu. 1998-06-07 Richard Stallman * progmodes/cperl-mode.el (cperl-problems): Doc fix. * progmodes/cperl-mode.el (cperl-pod-to-manpage): Function deleted (cperl-pod2man-build-command, cperl-perldoc-at-point): Likewise. (cperl-perldoc): Likewise. (pod2man-program): Variable deleted. * repeat.el: Renamed from vi-dot.el. All functions and variables renamed. (repeat-last-kill-command): Variable deleted; use real-last-command instead. (kill-region): Advice definition deleted. (universal-argument-more, universal-argument-other-key) (typematic-universal-argument-more-or-less): Advice deleted. (repeat-prefix-arg): Variable deleted. (repeat-num-input-keys-at-prefix): Variable deleted. (repeat): Use last-prefix-arg. 1998-06-07 Stephen Eglen * iswitchb.el (iswitchb-require-match, iswitchb-temp-buflist, iswitchb-bufs-in-frame): Variables declared with defvar to quieten the byte compiler. 1998-06-06 Andrew Innes * ange-ftp.el (ange-ftp-file-name-completion): Do hostname completion in root directory of all drives on Windows. (ange-ftp-file-name-all-completions): Fix regexp for detecting root directory on drives. (file-name-handler-alist): Remove the autoload tag from the top-level form which changes file-name-handler-alist to support Windows hostname completion. 1998-06-06 Richard Stallman * gnus/message.el (message-mode): Set paragraph-start and paragraph-separate as in mail-mode. * mail/sendmail.el (mail-mode): Include `-- ' and `---+' in paragraph-start and paragraph-separate. * progmodes/fortran.el (fortran-electric-line-number): Add delete-selection property. * simple.el (comment-region): Check for enough chars to delete in the numarg != t case as in the numarg = t case. 1998-06-06 Dan Nicolaescu * emacs-lisp/autoload.el (make-autoload): Add support for `define-generic-mode' and `easy-mmode-define-minor-mode' and update the doc string accordingly. 1998-06-06 Richard Stallman * mail/rmail.el (rmail): Prevent find-file from calling rmail-mode for a new buffer. Do it later, instead. * rect.el (string-rectangle-line): Delete the rectangle first. (string-rectangle): Doc fix. * files.el (find-file-noselect-1): New function. (find-file-noselect): If want to visit literally and buffer is visited the ordinary way, or vice versa, ask user whether to re-visit, or save and revisit. Use find-file-noselect-1. 1998-06-05 Vinicius Jose Latorre * ps-print.el: Fix spooled file bugs. (ps-print-version): New version number (3.06.3) and doc fix. (ps-page-postscript): New var. (ps-begin-file): Initialize PostScript page number, eliminate total page and line number. (ps-begin-job): Eliminate PostScript Trailer section on spooled buffer, initialize total page and line number. (ps-end-file): Use PostScript page number. (ps-header-page): Adjust header page. (ps-generate): Adjust page and line count setting. (ps-do-despool): Eliminate PostScript Trailer section setting. 1998-06-05 Richard Stallman * man.el (Man-kill, Man-quit): Use quit-window. * ps-print.el (ps-generate): Call set-buffer-multibyte. * textmodes/fill.el (fill-paragraph): Bind fill-paragraph-function to nil, if it doesn't do the job. 1998-06-05 Ed Reingold * calendar/cal-menu.el (cal-menu-update): Fix menu separators. 1998-06-05 Andrew Innes * jka-compr.el (jka-compr-write-region): Ensure `last-coding-system-used' is updated, so that basic-save-buffer sees the right value. 1998-06-05 Richard Stallman * loadup.el: Clean up mechanism for removing -l loadup from end. 1998-06-05 Andre Spiegel * dired.el (dired-internal-noselect): Call either dired-mode or MODE, but not both. * vc.el (vc-directory): Bind vc-dired-switches in order to pass switches to vc-dired-mode. (vc-dired-mode): Check for vc-dired-switches. 1998-06-04 Dan Nicolaescu * rsz-mini.el (resize-minibuffer-mode): * iswitchb.el (iswitchb-read-buffer): Add autoload cookie. 1998-06-03 Kevin Rodgers * replace.el (esc-map): Bind C-M-% to query-replace-regexp. 1998-06-03 Richard Stallman * cus-edit.el (customize-group-other-window): Fix previous change. * international/mule-diag.el (list-character-sets-1): New subroutine. (list-character-sets): Use it. (list-coding-systems-1): New subroutine. (list-coding-systems): Use it. (list-input-methods-1): New subroutine. (list-input-methods): Use it. (mule-diag): Avoid method of displaying text in *Help* then copying it. Instead, insert it directly into *Mule-Diagnosis*. Use list-character-sets-1, list-coding-systems-1, list-input-methods-1. Copy the code from list-fontsets and list-coding-categories. Improve the display buffer's header. * files.el (toggle-read-only): When exiting View mode, locally set view-read-only to t so another toggle will re-enable View mode. * view.el (View-exit-and-edit): Bind view-no-disable-on-exit to nil. 1998-06-03 Michael Ernst * mail/rmailsum.el (rmail-summary-rmail-update): Set message unseen only if `rmail-summary-put-back-unseen' is non-nil. * mail/rmail.el (rmail-toggle-header): Redo previous change; don't move point if possible. (rmail-count-screen-lines): Add. 1998-06-03 Per Starback * emacs-lisp/bytecomp.el (byte-compile-lambda): Fix previous change. 1998-06-03 Dan Nicolaescu * locate.el (locate): (locate-with-filter): * generic.el (define-generic-mode): Correct typo in autoload cookie that prevented appropriate autoloads to be generated. 1998-06-03 Andre Spiegel * vc.el (vc-dired-hook): Kill excluded directories recursively. 1998-06-03 Andreas Schwab * emacs-lisp/find-func.el (find-function-noselect): Don't call format twice with the error message. Quote the function name before splicing into regexp. 1998-06-02 Dave Love * docref.el: Deleted in view of current approach to doc strings. * startup.el (normal-top-level-add-subdirs-to-load-path): Ignore CVS directories too. 1998-06-02 Richard Stallman * cus-edit.el (customize-group, customize-group-other-window) (custom-buffer-create, custom-buffer-create-other-window) (customize-browse): Use pop-to-buffer. (same-window-regexps): Add autoload to add regexp to match custom bfrs. * info.el (Info-exit): Use quit-window. * mail/rmail.el (rmail-toggle-header): Preserve point and window-start (more or less) when reverting to original header. 1998-06-01 Richard Stallman * window.el (shrink-window-if-larger-than-buffer): Switch to the specified window and its buffer at the outset. (count-windows): Doc fix. * help.el (help-setup-xref): Change all callers to use (function args...) instead of (function . arg). Doc fix. (help-follow): Put (point) at front of elts of help-xref-stack. (help-xref-stack): Elt format now (POSITION FUNCTION ARGS). (help-xref-stack-item): Doc fix. (help-xref-go-back): Assume new format for help-xref-stack. (help-follow): Look for prop on previous char if next char has none. Avoid error at beginning or end of buffer. (describe-bindings): New optional arg BUFFER. Use help-setup-xref. * simple.el (event-apply-alt-modifier, etc): Doc fixes. 1998-06-01 Andrew Innes * arc-mode.el (archive-extract): Fix handling of 'view option. 1998-06-01 Per Starback * apropos.el (apropos-variable): Fixed argument to apropos-command. (apropos-command): Let `var-predicate' have higher priority than `do-all'. 1998-06-01 Dave Love * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Add -. as NMCHARs. Elide upper case (see font-lock-defaults). Generalize comment declaration not to exclude markup. 1998-05-31 Richard Stallman * which-func.el (which-func-ff-hook): If imenu gets error, clear which-func-mode. * progmodes/compile.el (grep): Fix previous change. * international/mule-diag.el: Many doc fixes. * tar-mode.el (tar-extract): Pass HIGHEST=t to detect-coding-region. * simple.el (keyboard-quit): Doc fix. * textmodes/two-column.el: Bind f2 and C-x 6 prefixes only via an autoload, not when this file is loaded. * international/mule.el (coding-system-mnemonic): Don't crash if arg is nil. 1998-05-31 Alan Shutko * emacs-lisp/easy-mmode.el (easy-mmode-define-minor-mode): Add missing format arg. 1998-05-30 Dave Love * finder.el (finder-known-keywords): Fix `convenience' entry. 1998-05-30 Richard Stallman * textmodes/tex-mode.el: Undo May 15 change. * international/mule-diag.el (mule-diag): Don't call help-mode. Instead, call print-help-return-message. * ffap.el (ffap-bindings): Fix the dired-at-point binding. 1998-05-30 Sam Steingold * compile.el (compilation-scroll-output): Correct the :version keyword to be a string. 1998-05-30 Michael Kifer * ediff-mult.el (ediff-mark-for-hiding-at-pos) (ediff-mark-for-operation-at-pos): Renamed from ediff-mark-for-hiding, ediff-mark-for-operation. (ediff-mark-session-for-hiding, ediff-mark-session-for-operation) (ediff-unmark-all-for-operation, ediff-unmark-all-for-hiding): New functions. (ediff-setup-meta-map): Changed bindings. * viper-cmd.el (viper-backward-Word, viper-skip-separators): Bugfix. (viper-switch-to-buffer, viper-switch-to-buffer-other-window): Bugfix. * viper-util.el (viper-skip-syntax): Bug fix for eob/bob cases. * viper-mous.el (viper-surrounding-word): Added '_' to alpha modifiers. 1998-05-30 Ralph Schleicher * info-look.el: Added support for Scheme. Removed Info-lookup minor mode. (info-lookup-file-name-alist): New variable. (info-lookup-select-mode): New function. Select help mode according to info-lookup-file-name-alist or fall back to the buffer's major mode. (info-lookup): Use info-lookup-select-mode. (info-lookup-interactive-arguments): Likewise. (info-complete-symbol): Likewise. (info-complete-file): Likewise. (info-complete): Likewise. 1998-05-28 Andrew Innes * ange-ftp.el (ange-ftp-expand-file-name): Set default to default-directory if nil. Check whether default starts with a drive specifier on windows-nt, as well as name, and call real function if so. Remove code to strip prefix before // or /~ since `expand-file-name' itself no longer does that. (ange-ftp-expand-dir): Use `grep-null-device' instead of "/dev/null", which is incorrect on windows-nt. (ange-ftp-file-name-all-completions): Fix root directory regexp for windows-nt. (ange-ftp-start-process): On windows-nt, always send a "help foo" command to ensure the ftp process produces some output, and force the process to use raw-text-dos decoding. (ange-ftp-canonize-filename): On windows-nt, strip drive specifier from expanded remote name. (ange-ftp-write-region): Allow binary transfer on windows-nt if remote host type is unix. Ensure `last-coding-system-used' is given an appropriate value, so that basic-save-buffer isn't confused by the coding used with the ftp process. (ange-ftp-insert-file-contents): Ditto. (ange-ftp-copy-file-internal): Ditto. (ange-ftp-real-expand-file-name): Use standard definition on windows-nt. (ange-ftp-real-expand-file-name-actual): Remove obsolete function. (ange-ftp-disable-netrc-security-check): Make default value be t on windows-nt. Remove windows-nt entry on file-name-handler-alist for ange-ftp-hook-function, since ange-ftp remote names do not start with a drive specifier. Keep ange-ftp-completion-hook-function entry to allow hostname completion when completing in the root directory of a drive. 1998-05-28 Richard Stallman * ange-ftp.el (ange-ftp-start-process): Undo previous change. * mail/sendmail.el (mail-from-style): New alternative, `system-default'. 1998-05-27 Richard Stallman * mail/sendmail.el (sendmail-send-it): If mail-from-style isn't angles, parens or nil, don't use -f option. 1998-05-27 Ed Reingold * calendar/calendar.el (calendar-buffer-list): Add other-calendars-buffer. (calendar-mode): Use activate-menubar-hook only in a window system. 1998-05-27 Dave Love * info-look.el: Add an entry for Scheme mode. 1998-05-27 Richard Stallman * comint.el (comint-mode-map): Move bindings of comint-next-matching-input-from-input to C-c M-r, and comint-previous-matching-input-from-input to C-c M-s. Move comint-get-next-from-history to C-c C-x. * mail/rmailout.el (rmail-output-to-rmail-file): Specify the coding system for writing. 1998-05-27 Ed Reingold * calendar/calendar.el (calendar-print-other-dates): New function. * calendar/calendar.el (calendar-mode-map): Put it on a key. * calendar/calendar.el (other-calendars-buffer): New constant. * calendar/cal-x.el (special-display-buffer-names): Add to special list. 1998-05-27 Dave Love * imenu.el (imenu-syntax-alist): Doc fix. 1998-05-26 Dan Nicolaescu * ffap.el: Add convenience keyword and add the toplevel defgroup to the convenience group. * emulation/pc-select.el: * follow.el: * imenu.el: * hippie-exp.el: * speedbar.el: * filecache.el: * iswitchb.el: * dabbrev.el: * completion.el: * complete.el: * autorevert.el: * autoinsert.el: * abbrev.el: Likewise. 1998-05-26 Emilio Lopes and Karl Fogel * bookmark.el: Changes so bookmark list mode works with Info: (bookmark-jump-noselect): Use an inner save-window-excursion. (bookmark-bmenu-switch-other-window): Temporarily set pop-up-windows, same-window-buffer-names, and same-window-regexps, to override Info's special display behaviors. 1998-05-26 Richard Stallman * emacs-lisp/autoload.el (make-autoload): Doc fix. 1998-05-25 Dave Love * f90.el (f90-comment-indent): Don't attempt to indent trailing comment as code. (f90-looking-at-if-then): Don't lose with scan-lists on bad syntax. 1998-05-25 Richard Stallman * emacs-lisp/lisp-mode.el (eval-defun): Pass proper beg to eval-region. * faces.el (frame-update-face-colors): Call frame-set-background-mode. * frame.el (make-frame-on-display): Check for nonsense display name. * mail/rmailedit.el (rmail-old-pruned): New permanent local. (rmail-edit-current-message): Set rmail-old-pruned, then display full headers. (rmail-cease-edit): rmail-old-pruned controls whether to prune headers. 1998-05-25 Dan Nicolaescu * emacs-lisp/autoload.el (make-autoload): Add support for define-derived-mode. Update the doc-string accordingly. * zone-mode.el (zone-mode): Don't require zone-mode. Use make-local-hook on a hook, not make-variable-buffer-local. 1998-05-25 Andreas Schwab * emacs-lisp/byte-opt.el (byte-boolean-vars): Add print-escape-nonascii. * emacs-lisp/autoload.el (generate-file-autoloads): Set print-escape-nonascii when printing autoload form. 1998-05-25 Kenichi HANDA * international/mule.el (set-coding-priority): Call set-coding-priority-internal at the tail. 1998-05-24 Stephen Eglen * help.el (describe-variable): Add a button to call customize-variable if the variable can be customized. 1998-05-24 Richard Stallman * mail/rmail.el (rmail-msg-is-pruned): Delete junk in definition. * apropos.el (apropos-command): Change 3rd arg to VAR-PREDICATE and use it as a predicate for which variables to match. (apropos-variable): Use that feature to match all documented vars, if have prefix arg. (apropos-command): If DO-ALL is set, search functions, not variables. * loadup.el (loaddefs.el): Load it earlier, and GC before and after and a few more times later on. * comint.el (comint-get-next-from-history): New command. (comint-accumulate, comint-goto-process-mark): Likewise. (comint-set-process-mark, comint-bol-or-process-mark): Likewise. (comint-save-input-ring-index): New permanent local var. (comint-accum-marker): Likewise. (comint-send-input): Clear comint-input-ring-index and comint-accum-marker. (comint-previous-matching-input-from-input): Use comint-accum-marker if set. (comint-previous-matching-input): Likewise. (comint-mode): Make those vars buffer-local and initialize. (comint-mode-map): Make C-c C-a run comint-bol-or-process-mark. Bind C-c SPC to comint-accumulate. Bind C-c C-q to comint-get-next-from-history. * window.el (split-window-vertically): Doc fix. * ffap.el (dired-at-point): Eliminate var dired-function; use `dired'. (ffap-bindings): Include a binding for C-x d. * gud.el (gud-jdb-class-source-alist): defvar moved up. (gud-jdb-analysis-buffer): Likewise. * rect.el (string-rectangle-string): New variable. (string-rectangle): Bind it. (string-rectangle-line): Use it. (operate-on-rectangle-lines): New variable. (extract-rectangle-line): Update it. (delete-extract-rectangle, extract-rectangle): Bind and use it. * emacs-lisp/cl-indent.el (common-lisp-indent-function): Bind lisp-indent-error-function. (lisp-indent-report-bad-format): Use lisp-indent-error-function. (lisp-indent-error-function): New variable. * play/solitaire.el (solitaire-possible-move): Use funcall to invoke movesymbol. * uncompress.el (find-compressed-version): Don't set `error' here. 1998-05-24 Eli Zaretskii * man.el (Man-getpage-in-background): Bind coding-system-for-write to raw-text-unix instead of binding inhibit-eol-conversion to t. 1998-05-23 Richard Stallman * dos-w32.el (minibuffer-history-case-insensitive-variables): Add file-name-history to it. * simple.el (minibuffer-history-case-insensitive-variables): New var. (previous-matching-history-element): Implement it. * progmodes/compile.el (grep-tag-default): New function. (grep): New default arg when prefix arg is specified. * menu-bar.el (toggle-case-fold-search): New command. (menu-bar-options-menu): Put that in the menu. * dired.el (dired-mark-files-containing-regexp): New command. (dired-mode-map): Bind it to %g and in menu bar. * rect.el (close-rectangle): New command. 1998-05-23 Richard Stallman * international/mule-cmds.el (register-input-method): Rename arg ENV to LANG-ENV. 1998-05-22 Vinicius Jose Latorre * ps-print.el (ps-print-version): Doc fix. (ps-print-prologue-1): Adjust doLineNumber PostScript function. 1998-05-22 Richard Stallman * jka-compr.el (jka-compr-compression-info-list): Add elts for bzip. * uncompress.el (uncompress-while-visiting): Leave point at beginning. * find-file.el (ff-emacs-19, ff-xemacs): Functions deleted. (ff-goto-click, ff-mouse-find-other-file) (ff-mouse-find-other-file-other-window): Just one definition. (locate-file): Definition deleted. * international/mule.el (make-translation-table): Doc fix. (define-translation-table): Doc fix. 1998-05-22 Inge Frick * easymenu.el (easy-menu-do-add-item): Small simplifications. (easy-menu-precalculate-equivalent-keybindings): New customization variable. (easy-menu-add): Precalculate key bindings if `easy-menu-precalculate-equivalent-keybindings' is on. 1998-05-22 Kenichi Handa * ccl.el: Change term "character translation table" to "translation table". * mule.el: Likewise. Use translation-table, not character-translation-table, as char-table subtype. (define-translation-table): Renamed from define-character-translation-table. * mule-util.el: Likewise. * mule-conf.el: Likewise. (standard-translation-table-for-decode) (standard-translation-table-for-encode): Renamed from standard-character-translation-table-... 1998-05-21 Richard Stallman * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Accept upper case like lower case. * files.el (insert-directory): When WILDCARD is nil, expand ~ if necessary. * mail/rnewspost.el (news-inews): Fix typo in prev change. 1998-05-21 Eli Zaretskii * tar-mode.el (tar-mode): Position point on the name of the first file. (tar-extract): Detect coding-system of the archive member and decode it like insert-file-contents does. (tar-alter-one-field): Reposition point on the file name of the current tar entry. (tar-subfile-save-buffer): Encode the file when updating it in the archive, and use the size of encoded text to update the header block. Set last-coding-system-used to coding-system of the file. Restore point of tar-superior-buffer after updating the descriptor line. 1998-05-21 Sam Steingold * cl-indent.el: Indent `with-standard-io-syntax' correctly. 1998-05-21 Michael Ernst * dired-x.el (dired-guess-shell-alist-default): Handle .tgz files. Handle .pdf files. 1998-05-21 Eli Zaretskii * arc-mode.el (archive-file-name-invalid-regexp): Remove. All users changed to use file-name-invalid-regexp instead. * files.el (file-name-invalid-regexp): New variable, moved here from arc-mode.el. 1998-05-21 Richard Stallman * progmodes/vhdl-mode.el (vhdl-customize-colors): Renamed from vhdl-use-default-colors, and sense reversed. (vhdl-customize-faces): Renamed from vhdl-use-default-faces, and sense reversed. (vhdl-font-lock-init, vhdl-ps-init): Implement those changes. (vhdl-submit-bug-report): Use new variable names. 1998-05-20 Kenichi Handa * term/x-win.el: Generate style variants fontset for standard-fontset-spec. Generate a fontset based on resolved font name of a font specified by X resource or -fn command line arg. * international/fontset.el (x-font-name-charset-alist): New var. (register-alternate-fontnames): Doc-string modified. (x-complement-fontset-spec): Likewise. (x-complement-fontset-spec): Delete unused local variable. Delete ad hoc code for Latin-1, instead refer to x-font-name-charset-alist. (uninstantiated-fontset-alist): Format changed (BASE-FONTSET -> FONTLIST). (x-style-funcs-alist): New variable. (create-fontset-from-fontset-spec): 2nd optional arg is changed from STYLE to STYLE-VARIANT-P. The meaning also changed. Delete unused code. Adjusted for the change of uninstantiated-fontset-alist. (instantiate-fontset): Adjusted for the change of uninstantiated-fontset-alist. * international/mule.el (make-coding-system): If ISO2022 based 8-bit coding system allows alternative designation, set the coding category to `coding-category-iso-8-else'. 1998-05-20 Richard Stallman * mail/rmail.el (rmail-default-body-file): New variable. * mail/rmailsum.el (rmail-summary-output-body): New function. (rmail-summary-mode-map): Bind w to that. Put it in menu bar. Bind q to rmail-summary-wipe. * mail/rmailout.el (rmail-output-body-to-file): Avoid error if message has no subject. Use and set rmail-default-body-file. * gud.el (gud): Doc fix. * textmodes/fill.el (fill-region-as-paragraph): Don't add a newline at the end, when there is none. 1998-05-20 Michael Ernst * play/solitaire.el (solitaire): Doc fix. * gud.el: Support pdb. (pdb): New function. (gud-pdb-command-name): New variable. (pdb-minibuffer-local-map): Likewise. (gud-pdb-find-file): New function. (gud-pdb-marker-filter): New function. (gud-pdb-marker-regexp*): New variables. (gud-pdb-massage-args): New function. (gud-pdb-history): New variable. * simple.el (set-variable): Offer variable at point as default. 1998-05-20 Kenichi Handa * international/fontset.el (x-font-name-charset-alist): New variable. (register-alternate-fontnames): Doc-string modified. (x-complement-fontset-spec): Likewise. (x-complement-fontset-spec): Delete unused local variable. Delete ad hoc code for Latin-1, instead refer to x-font-name-charset-alist. (uninstantiated-fontset-alist): Format changed (BASE-FONTSET -> FONTLIST). (x-style-funcs-alist): New variable. (create-fontset-from-fontset-spec): 2nd optional arg is changed from STYLE to STYLE-VARIANT-P. The meaning also changed. Delete unused code. Adjusted for the change of uninstantiated-fontset-alist. (instantiate-fontset): Adjusted for the change of uninstantiated-fontset-alist. * international/mule.el (make-coding-system): If ISO2022 based 8-bit coding system allows alternative designation, set the coding category to `coding-category-iso-8-else'. * term/x-win.el: Generate style variants fontset for standard-fontset-spec. Generate a fontset based on resolved font name of a font specified by X resource or -fn command line arg. 1998-05-20 Richard Stallman * international/mule-cmds.el (set-language-info): Delete args describe-map and setup-map. Don't set up menus at all. (set-language-info-alist): Set up menus here. (register-input-method): Fix previous change. (setup-specified-language-environment): Doc fix. * gud.el (gud-perldb-marker-acc): Variable deleted. (gud defgroup): Doc fix. * mail/rmail.el (mail-unsent-separator): Handle "returned message follows". 1998-05-19 Richard Stallman * international/mule-cmds.el: Several doc fixes. (get-language-info, set-language-info): Rename argument. (set-language-info-alist): Likewise. (find-coding-systems-region-subset-p): Renamed from subset-p. (find-coding-systems-region): Use new name. (register-input-method): Rename argument. (activate-input-method): If INPUT-METHOD is nil, deactivate. 1998-05-19 Ed Reingold * calendar/cal-tex.el (cal-tex-list-holidays): Rewritten. 1998-05-19 Richard Stallman * gnus/message.el (message-mode): Locally bind adaptive-fill-regexp and adaptive-fill-first-line-regexp. * simple.el (kill-region): Set this-command unconditionally in a read-only buffer. * custom.el (defcustom): Doc fix. * uniquify.el (uniquify-ignore-buffers-re): New variable. (uniquify-rationalize-file-buffer-names): Implement it. 1998-05-18 Richard Stallman * emacs-lisp/checkdoc.el: Many doc fixes. Put two spaces between sentences. (checkdoc-this-string-valid-engine): Fix message. (checkdoc-ispell-lisp-words): Add "emacs". * emacs-lisp/bytecomp.el (byte-compile-insert-header): Do not look for multibyte characters here. Generate the right file header for use if there are none. Insert a line of semicolons for subsequent deletion if needed. (byte-compile-fix-header): New function. This updates the file header if the file uses multibyte characters. (byte-compile-from-buffer): Call byte-compile-insert-header before compiling, and byte-compile-fix-header at the end. * which-func.el (which-func-modes): Fix custom type. (which-func-non-auto-modes): Likewise. * mail/rmail.el (rmail-mime-feature): Doc fix. * vi-dot.el: Customized. (vi-self-insert): New function. (vi-dot): Use that. (vi-dot-insertion-function): Variable deleted. * finder.el (finder-known-keywords): Add `convenience'. 1998-05-18 Michael Ernst * mail/rmail.el (rmail-toggle-header): Ensure blank line between headers and body. 1998-05-17 Richard Stallman * international/fontset.el (create-fontset-from-fontset-spec): Add autoload cookie. 1998-05-18 Kenichi HANDA * international/ccl.el: Change term translate-XXX-map to map-XXX throughout the file. Change terms unify/unification to translate/translation respectively throughtout the file. * international/quail.el (quail-completion): Consecutive call of this command scrolls the Quail completion buffer. * international/mule.el: Change term unification to translation throughtout the file. (set-clipboard-coding-system): New function. * international/mule-conf.el: Change term unification to translation throughtout the file. * international/mule-util.el: Change term unification to translation throughtout the file. 1998-05-17 Richard Stallman * emacs-lisp/debug.el (debugger-frame-clear): Doc fix. 1998-05-17 Andre Spiegel * vc-hooks.el (vc-parse-cvs-status): Grok new form of conflict message. 1998-05-17 Eric Ludlam * emacs-lisp/checkdoc.el: Added message text checks, and ambiguous symbol checking. (checkdoc-message-text): New command. (checkdoc-message-text-search, checkdoc-message-text-engine): New functions. (checkdoc-this-string-valid-engine): Added ambiguous function/symbol checking. Added new auto-fix for missing parameters. 1998-05-16 Richard Stallman * international/mule-cmds.el (find-coding-systems-region-subset-p): Renamed from subset-p. (find-coding-systems-for-charsets): Call changed. 1998-05-16 Dan Nicolaescu * generic-x.el (generic-x): Add :version. * progmodes/hideshow.el (hs-life-goes-on): Use the new backquote syntax. 1998-05-16 Richard Stallman * mail/rmail.el (rmail-retry-failure): Use mail-sendmail-delimit-header, not mail-send-delimit-header. * faces.el (frame-background-mode): Define a :set function to update the background mode of existing frames. * ange-ftp.el (ange-ftp-tmp-name-template): Use temporary-file-directory. * arc-mode.el (archive-tmpdir): Use temporary-file-directory. * browse-url.el (browse-url-temp-dir): Use temporary-file-directory. * ediff-init.el (ediff-temp-file-prefix): Use temporary-file-directory. * emerge.el (emerge-temp-file-prefix): Use temporary-file-directory. * jka-compr.el (jka-compr-temp-name-template): Use temporary-file-directory. * progmodes/cmacexp.el (c-macro-expansion): Use temporary-file-directory. Choose temp file name properly. * vc.el (vc-update-change-log): Use temporary-file-directory. Use expand-file-name on it. * files.el (temporary-file-directory): Renamed from system-tmp-directory. Value is now a directory name, not a file name. * dired-aux.el (dired-mark-subdir-files): Doc fix. 1998-05-15 Richard Stallman * ps-print.el (ps-file-end): Put Trailer and Pages before EndDoc. (ps-print-control-characters): Doc fix. * textmodes/tex-mode.el (tex-command-end): New variable. (tex-start-tex): Use it. (plain-tex-mode): Locally set tex-command-end. (tex-common-initialization): Make local binding for it.x * ange-ftp.el (ange-ftp-start-process): Handle Windows ftp client. * language/european.el (setup-8-bit-environment): After loading latin-N, reset the standard case table and each buffer's case table. * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Cope with an out-of-range constvec index. * dos-fns.el (dos-ps-printer, dos-printer, msdos-shells): Defcustoms replaced with defvars. (dos-fns): defgroup deleted. * dos-vars.el: New file, holds custom stuff from dos-fns.el. * loadup.el: Load dos-vars along with dos-fns. * type-break.el (type-break-mode): Don't alter global-mode-string. Instead, add an element to minor-mode-alist. * cus-edit.el (convenience): New group. * info.el (Info-find-node): Use info-file-exists-p (info-insert-file-contents): Use info-file-exists-p. (info-file-exists-p): New function. 1998-05-15 Geoff Voelker * files.el (system-tmp-directory): New variable. * ange-ftp.el (ange-ftp-tmp-name-template): Use system-tmp-directory. * arc-mode.el (archive-tmpdir): Use system-tmp-directory. * browse-url.el (browse-url-temp-dir): Use system-tmp-directory. * ediff-init.el (ediff-temp-file-prefix): Use system-tmp-directory. * emerge.el (emerge-temp-file-prefix): Use system-tmp-directory. * jka-compr.el (jka-compr-temp-name-template): Use system-tmp-directory * progmodes/cmacexp.el (c-macro-expansion): Use system-tmp-directory. * vc.el (vc-update-change-log): Use system-tmp-directory. 1998-05-15 Francesco Potorti` * mail/mailalias.el (define-mail-alias): Compensate for not resetting the match data when string-match fails. 1998-05-14 Erik Naggum * bindings.el: Add binding for C-x z to vi-dot here. * vi-dot.el: Remove faulty autoloaded binding for C-x z. 1998-05-14 Ed Reingold * calendar/cal-hebrew.el (holiday-passover-etc): Fix mispelling. 1998-05-14 Eli Zaretskii * arc-mode.el (archive-tmpdir): Make the prefix of the temporary directory absolute. (archive-file-name-invalid-regexp): New variable. (archive-zip-case-fiddle): Doc fix. (archive-remote): Make it permanent-local. (archive-member-coding-system): New variable. (archive-mode): Don't use write-contents-hooks for remote archives. Archives whose names are invalid for the current filesystem are marked read-only. (archive-summarize): Optional argument SHUT-UP makes it silent. All callers changed. (archive-unique-fname): New function. (archive-maybe-copy): Use it. (archive-maybe-copy, archive-write-file): Bind coding-system-for-write to no-conversion. (archive-maybe-update, archive-mode-revert): Bind coding-system-for-read to no-conversion. (archive-maybe-update): Remain at the same line in the archive listing, after updating the archive. Print the buffer name of the archive to be saved. (archive-extract): Mark archive members whose names are invalid as read-only. Don't set buffer-file-type. Remove the write-contents hook for remote archives. Warn about read-only archives inside other archives. (archive-write-file-member): Handle remote archives. Restore value of last-coding-system-used. (archive-*-write-file-member): Handle archives inside other archives. Save the value of last-coding-system-used. (archive-write-file): New optional variable FILE: where to write the archive; defaults to buffer-file-name, for remote archives. (archive-zip-summarize, archive-zip-chmod-entry): Support VFAT type of host filesystem. (archive-zip-summarize): Don't fiddle letter case of mixed-case file names. 1998-05-14 Richard Stallman * emacs-lisp/advice.el (ad-handle-definition, defadvice): Fix error messages. * help.el (describe-key-briefly): When INSERT, put cmd name in `...'. * files.el (recover-session-finish): Unmark the current line so that the file being used for recovery will not get deleted. 1998-05-13 Richard Stallman * startup.el (locale-translation-file-name): New variable. (command-line): Use it to decode locale aliases. * emacs-lisp/disass.el (disassemble-1): Reference bytecode string as unibyte. * format.el (format-alist): Use -f when running recode. * emacs-lisp/bytecomp.el (byte-compile-insert-header): Fix prev chg. * international/mule.el (set-auto-coding): Exclude \n when matching the coding system name. 1998-05-12 Richard Stallman * type-break.el (type-break-mode-line-message-mode): Doc fix. Fix some messages. (type-break-mode): Doc fix. * emacs-lisp/bytecomp.el (byte-compile-from-buffer): Insert the output file header after compiling all the input. (byte-compile-output-file-form): Major cleanup. If output file contains multibyte chars, insist on Emacs 20 when loading. * mail/smtpmail.el (smtpmail-via-smtp): Specify process coding system. 1998-05-12 Ed Reingold * calendar/cal-menu.el (cal-menu-update): Add separators. 1998-05-11 Richard Stallman * calendar/cal-menu.el (calendar-mode-map): Rename `holidays' menu to `Holidays'. (cal-menu-update): Similar renamings; change the arg to easy-menu-change also. Change some item names. * emacs-lisp/easymenu.el (easy-menu-change): Add autoload cookie. 1998-05-11 Dave Love * tar-mode.el (tar-subfile-mode): Call auto-save-mode with -1. 1998-05-11 Ed Reingold * calendar/calendar.el (calendar-mode): Add hook to update holiday button on menu bar. (exit-calendar): Don't signal error when user changes mind. * calendar/cal-menu.el (calendar-mode-map): Remove static menu definition for holidays from menu bar. (easymenu): Require it. (cal-menu-update): New function. (cal-menu-today-holidays): New function. 1998-05-10 Richard Stallman * startup.el (normal-top-level-add-subdirs-to-load-path): Ignore subdirectories whose names start with nonalphanumeric or that have a file called .nosearch. * international/mule-cmds.el (last-coding-system-specified): New var. (select-safe-coding-system): Set var if user specifies a coding system. * international/mule.el (after-insert-file-set-buffer-file-coding-system): Don't make buffer unibyte unless we seem to be visiting a file. * mail/rmail.el (rmail-decode-babyl-format): Set save-buffer-coding-system instead of buffer-file-coding-system. Decode the whole Babyl text at once, not message by message. Don't alter global value of rmail-file-coding-system. (rmail-show-message): Set buffer-file-coding-system from X-Coding-System header field. (rmail-ignored-headers): Ignore X-Coding-System header. Ignore Return-Path, Errors-To, X-Attribution, X-Disclaimer. (rmail-convert-to-babyl-format): Record X-Coding-System header for each message that was converted. (rmail-variables): Make local binding for save-buffer-coding-system, and set it from buffer-file-coding-system if not already non-nil. * files.el (save-buffer-coding-system): New variable. (basic-save-buffer-1): Obey it. (basic-save-buffer): Set save-buffer-coding-system instead of buffer-file-coding-system, if save-buffer-coding-system is already non-nil. * add-log.el (add-log-current-defun): Fix previous change--skip tab and newline also. 1998-05-09 Richard Stallman * emacs-lisp/bytecomp.el (byte-compile-output-docform): Use position-bytes. 1998-05-09 Richard Stallman * disp-table.el (standard-display-european): Doc fix. * mail/sendmail.el (mail-signature): Allow expression as value. Improve prompts in custom type. Add risky-local-variable property. (mail-setup): Implement that feature. * wid-edit.el (widgets: sexp, variable, list, vector): Doc fixes. * mail/mail-utils.el (mail-strip-quoted-names): Delete comments, then delete leading/trailing whitespace. 1998-05-08 Richard Stallman * ps-print.el (ps-alist-position): Renamed from ps-position. Look for ITEM as the car of an element. (ps-font-number): Use ps-alist-position. (ps-font-alist): Renamed from ps-font-list. * mail/reporter.el (reporter-bug-hook): Use rfc822-goto-eoh. 1998-05-07 Andreas Schwab * emacs-lisp/autoload.el (generate-file-autoloads): Handle progn forms generated by make-autoload: print just the first subform with print-escape-newlines. * ispell.el (ispell-dictionary-alist-1): Doc fix. (ispell-dictionary-alist-2): Doc fix. * cus-edit.el (customize-group-other-window): Handle groups not yet loaded. If buffer exists, use it unchanged. Rename parameter and update doc string. 1998-05-07 Richard Stallman * emacs-lisp/edebug.el (edebug-all-forms): Add autoload cookie. (edebug-all-defs): Likewise. * ispell.el (ispell-word): Make M-$ binding using esc-map. * vc-hooks.el (vc-consult-rcs-headers): Fix previous change. 1998-05-07 Andrew Innes * disp-table.el (standard-display-european): Don't call set-terminal-coding-system when window-system is w32. 1998-05-07 Erik Naggum * emacs-lisp/find-func.el (find-function-noselect): Autoload it. 1998-05-07 Richard Stallman * progmodes/sh-script.el (sh-shell-file): Add cmdproxy to MS shells. * international/mule-diag.el (list-input-methods): Doc fix. 1998-05-07 Kenichi Handa * international/ccl.el: Cancel the previous change for customization, customized variables are changed to constant. 1998-05-07 Richard Stallman * mail/emacsbug.el (report-emacs-bug): After reinserting the signature, leave point before it. Don't display *Bug Help* if report-emacs-bug-no-explanations. * help.el (describe-function-1): Use find-function-noselect instead of find-function. (view-lossage): Set help-xref-stack* in the help buffer. (describe-bindings): Likewise. (help-xref-go-back): New arg BUFFER. (help-make-xrefs): Specify the help buffer as arg for help-xref-go-back.