2004-12-31 Jay Belanger * calc/calc-store.el (calcVar-digit, calcVar-oper): Remove the need for "var-" at the beginning of the minibuffer. 2004-12-31 Richard M. Stallman * faces.el (read-face-name): Don't treat an attribute spec as a list of faces. * simple.el (undo): Use undo-equiv-table to detect unexpected changes since previous undo. (undo-list-saved): Variable deleted. (buffer-disable-undo): Don't alter undo-list-saved. * files.el (require-final-newline): Allow `visit' and `visit-save'. (mode-require-final-newline): New option. (after-find-file): Handle require-final-newline with new values. (basic-save-buffer): Handle new values of require-final-newline. * progmodes/sh-script.el (sh-require-final-newline): Alist value now controls whether to use mode-require-final-newline. (sh-set-shell): Implement that new meaning. * progmodes/cc-vars.el (c-require-final-newline): Fix custom type, doc. * progmodes/cc-mode.el (c-common-init): Use mode-require-final-newline. * progmodes/antlr-mode.el (antlr-mode): Use mode-require-final-newline. Delete old-Emacs compatibility code. (antlr-c-common-init): Function deleted. * net/snmp-mode.el (snmp-common-mode): Use mode-require-final-newline. * progmodes/vhdl-mode.el (vhdl-mode): Use mode-require-final-newline. * progmodes/simula.el (simula-mode): Use mode-require-final-newline. * progmodes/python.el (python-mode): Use mode-require-final-newline. * progmodes/perl-mode.el (perl-mode): Use mode-require-final-newline. * progmodes/modula2.el (modula-2-mode): Use mode-require-final-newline. * progmodes/mixal-mode.el (mixal-mode): Use mode-require-final-newline. * progmodes/idlwave.el (idlwave-mode): Use mode-require-final-newline. * progmodes/icon.el (icon-mode): Use mode-require-final-newline. * progmodes/fortran.el (fortran-mode): Use mode-require-final-newline. * progmodes/f90.el (f90-mode): Use mode-require-final-newline. * progmodes/cperl-mode.el (cperl-mode): Use mode-require-final-newline. * progmodes/cfengine.el (cfengine-mode): Use mode-require-final-newline. * progmodes/ada-mode.el (ada-mode): Use mode-require-final-newline. * textmodes/text-mode.el (text-mode): Use mode-require-final-newline. * textmodes/texinfo.el (texinfo-mode): Use mode-require-final-newline. 2004-12-31 Jay Belanger * calc/calc-graph.el (calc-graph-show-dumb): Mention C-cC-c as the way to return to Calc. * calc/calc-yank.el (calc-edit-mode): Mention C-cC-c as the way to finish, C-xk as the way to cancel the edit. Add cancel routine to kill-buffer-hook. * calc/calc.el (calc-same-interface, calc-quit): Remove obsolete MacEdit code. * calc/calc-prog.el: Remove obsolete MacEdit code. (calc-macro-edit-algebraic, calc-macro-edit-variable) (calc-macro-edit-variable-2, calc-macro-edit-quick-digit): Remove. 2004-12-31 Kenichi Handa * international/mule.el (buffer-file-coding-system-explicit): Rename for explicit-buffer-file-coding-system. (after-insert-file-set-coding): Adjust for the above change. * files.el (revert-buffer): Change explicit-buffer-file-coding-system to buffer-file-coding-system-explicit. (basic-save-buffer-1): Likewise. 2004-12-30 Richard M. Stallman * textmodes/artist.el (artist-butlast-fn): Var deleted. (artist-butlast, artist-last): Functions deleted. (artist-ellipse-mirror-quadrant): Call last and butlast directly. (artist-compute-key-compl-table): Call remq directly. (artist-remove-nulls): Function deleted. (artist-vaporize-lines, artist-flood-fill): Use push and pop directly. (artist-push, artist-pop): Macro deleted. 2004-12-30 Andreas Leue * textmodes/artist.el (artist-version): 1.2.6 (artist-prev-next-op-alist): New variable. (artist-select-next-op-in-list): New function. (artist-select-prev-op-in-list): New function. (artist-make-prev-next-op-alist): New function. (artist-is-in-op-list-p): New function. (artist-get-first-non-nil-op): New function. (artist-get-last-non-nil-op): New function. (artist-mode-init): Call artist-get-last-non-nil-op to initialize artist-prev-next-op-alist. (artist-mode-map): Add binding for C-mouse-4 and C-mouse-5 to change drawing operation. 2004-12-30 Luc Teirlinck * autorevert.el (auto-revert-tail-handler): Put in undo boundaries. 2004-12-31 Masatake YAMATO * server.el (server-process-filter): Suppress `error', too. 2004-12-30 Jay Belanger * calc/calc-store.el (calc-copy-variable): Fix mistyped variable name. Change the way a variable is displayed in a message. * calc/calc-prog.el (calc-user-define-edit, calc-finish-macro-edit) (calc-user-define-permanent, calc-execute-kbd-macro): Replace old function MacEdit-parse-keys with edmacro-parse-keys. 2004-12-30 Kenichi Handa * files.el (basic-save-buffer-1): Set explicit-buffer-file-coding-system to last-coding-system-used. (revert-buffer): Pay attention to explicit-buffer-file-coding-system (not buffer-file-coding-system) on bind coding-system-for-read. * international/mule.el (explicit-buffer-file-coding-system): New buffer local variable. (after-insert-file-set-coding): Set it to coding-system-for-read. 2004-12-29 Luc Teirlinck * autorevert.el (auto-revert-tail-mode): Doc fix for defvar. 2004-12-29 Sanghyuk Suh * term/mac-win.el (mac-drag-n-drop): Handle drag-n-drop events that include line numbers. 2004-12-29 Milan Zamazal * files.el (hack-local-variables): If no PREFIX, set it to "^". Redundant variable PREFIXLEN removed. 2004-12-28 Matt Hodges * eshell/em-hist.el (eshell-previous-matching-input): Start the deletion from the end of the output. 2004-12-29 YAMAMOTO Mitsuharu * term/mac-win.el: Require x-dnd. (mac-drag-n-drop): Sync with W32 version. Use x-dnd.el functions. 2004-12-29 David Kastrup * international/mule.el (decode-coding-inserted-region): Don't barf if `buffer-undo-list' is already set to `t'. 2004-12-29 Jay Belanger * calc/calc-prog.el (calc-user-define-formula): Put default values for function names in prompts. (calc-user-define-permanent, calc-user-define-composition) (calc-user-define-formula): Remove the need for "calcFunc-" in the default input for algebraic functions. 2004-12-29 Thien-Thi Nguyen * vc-rcs.el (vc-rcs-annotate-command): Fix omission bug: Call `vc-setup-buffer'. 2004-12-29 Kenichi Handa * international/mule.el (recode-region): New function. 2004-12-28 Richard M. Stallman * simple.el (undo-extra-outer-limit): New variable. (undo-outer-limit-truncate): Test and set it. * emacs-lisp/lisp.el (mark-sexp, mark-defun): New arg ALLOW-EXTEND enables the feature to extend the existing region. * simple.el (mark-word): New arg ALLOW-EXTEND enables the feature to extend the existing region. * textmodes/paragraphs.el (mark-paragraph): New arg ALLOW-EXTEND enables the feature to extend the existing region. * startup.el (site-run-file): Don't allow setting it with Custom. * simple.el (buffer-disable-undo): Fix previous change. 2004-12-27 Masatake YAMATO * hexl.el (hexlify-buffer): Remove fontification here. Use font lock mechanism instead. (hexl-font-lock-keywords): New font lock kewords. (hexl-mode-old-font-lock-keywords): New variable. (hexl-mode): Store the old font lock keywords. (hexl-mode-exit): Restore the old font lock keywords. 2004-12-27 Richard M. Stallman * simple.el (undo): Fix previous change. 2004-12-27 YAMAMOTO Mitsuharu * term/mac-win.el: Sync with x-win.el. Rearrange the contents. Call mac-clear-font-name-table if invoked on Mac OS 8/9. Call x-open-connection on Mac OS X. 2004-12-27 Richard M. Stallman * files.el (buffer-save-without-query): New var (buffer-local). (save-some-buffers): Save those buffers first, w/o asking. * files.el (insert-directory-ls-version): New variable. (insert-directory): When ls returns an error, test the version number to decide what the return code means. With --dired output format, detect and distinguish lines that are really error messages. (insert-directory-adj-pos): New function. * bookmark.el (bookmark-jump): Nice error if BOOKMARK is nil. * battery.el (battery-mode-line-format): Remove initial spaces. * uniquify.el (uniquify-rationalize-file-buffer-names): Delete interactive spec. * type-break.el (type-break-mode): Set buffer-save-without-query. Remove code that tried to set save-some-buffers-always. (type-break-file-keystroke-count): Bind deactivate-mark. * mouse.el (mouse-drag-region): Bind mouse-autoselect-window. * simple.el (next-error-buffer-p): New arg AVOID-CURRENT. Test that the buffer is live, and maybe reject current buffer too. Clarify. (next-error-find-buffer): Rewrite for clarity. * loadup.el: Don't use buffer-disable-undo; do it directly. * help-fns.el (describe-function-1): Call symbol-file with `defun'. (describe-variable): Call symbol-file with `defvar'. * subr.el (messages-buffer-max-lines): Alias for message-log-max. (symbol-file): Rewritten to handle new load-history format. Now takes an arg TYPE to specify looking for a particular type of definition only. * emacs-lisp/debug.el (debugger-make-xrefs): Call symbol-file with `defun'. * emacs-lisp/find-func.el (find-function-noselect): Call symbol-file with `defun'. (find-variable-noselect): Call symbol-file with `defvar'. * eshell/esh-cmd.el (eshell-find-alias-function): Call symbol-file with `defun'. * eshell/esh-test.el (eshell-test-goto-func): Call symbol-file with `defun'. * mail/rmail.el (rmail-resend): Let MAIL-ALIAS-FILE arg override mail-personal-alias-file. * net/goto-addr.el (goto-address-mail-regexp): Allow = in username. * progmodes/compile.el (compilation-find-buffer): Rename arg. * textmodes/texinfmt.el (texinfo-format-buffer-1): Call buffer-disable-undo. * simple.el (undo-list-saved): New variable (buffer-local). (undo): Set and test it. (buffer-disable-undo): Move here from buffer.c. Clear out undo-list-saved. * international/mule.el (decode-coding-inserted-region): Set buffer-undo-list in a correct and optimal way. * progmodes/cperl-mode.el (cperl-find-bad-style): Use with-no-warnings. (cperl-font-lock-unfontify-region-function): No need to save and restore info, since font-lock.el does it for us. * ansi-color.el (save-buffer-state): Definition deleted. (ansi-color-unfontify-region): Don't use save-buffer-state. 2004-12-27 Dave Love * wid-edit.el (function): Use restricted-sexp as parent. 2004-12-27 Kevin Ryde * simple.el (next-matching-history-element): Use same `interactive' form as previous-matching-history-element. * ffap.el (ffap-string-at-point-mode-alist): Add "*" to url chars, it can appear unencoded and has been seen from yahoo. 2004-12-27 Sergey Poznyakoff (tiny change) * mail/smtpmail.el (smtpmail-try-auth-methods): Send AUTH CRAM-MD5 in upper case. Reported by Wojciech Polak . 2004-12-27 Kenichi Handa * international/utf-8.el (utf-translate-cjk-load-tables): Bind coding-system-for-read to nil while loading subst-*. 2004-12-26 Jay Belanger * calc/calc-store.el (calc-read-var-name): Remove "var-" from default input. 2004-12-26 Luc Teirlinck * buff-menu.el (Buffer-menu-revert-function): Clear out undo info before reverting and disable undo recording while reverting. 2004-12-26 Thien-Thi Nguyen * progmodes/hideshow.el (hs-set-up-overlay): New user var. (hs-make-overlay): New function. (hs-isearch-show-temporary): Handle `display' overlay prop specially. (hs-flag-region): Delete function. (hs-hide-comment-region): No longer use `hs-flag-region'. Instead, use `hs-discard-overlays' and `hs-make-overlay'. (hs-hide-block-at-point): Likewise. (hs-hide-level-recursive): Use `hs-discard-overlays'. (hs-hide-all, hs-show-all): Likewise. (hs-show-block): Likewise. Also, use overlay prop `hs-b-offset', not `hs-ofs'. 2004-12-24 Thien-Thi Nguyen * progmodes/hideshow.el: Require `cl' when compiling. Remove XEmacs and Emacs 19 compatibility. Use `dolist' and `add-to-list' for load-time actions. (hs-discard-overlays): Use `dolist'. (hs-show-block): Likewise. 2004-12-23 Dan Nicolaescu * faces.el (mode-line, mode-line-inactive): Use min-colors. 2004-12-23 Thien-Thi Nguyen * progmodes/hideshow.el (hs-inside-comment-p): Fix omission bug: When extending backwards, move outside the current comment first. 2004-12-22 Kenichi Handa * international/quail.el (quail-start-translation): Fix prompt string for the case if input-method-use-echo-area being non-nil. (quail-start-conversion): Likewise. (quail-show-guidance): Don't show guidance if input-method-use-echo-area is non-nil. 2004-12-21 Richard M. Stallman * textmodes/ispell.el (ispell-help): Bind resize-mini-windows. 2004-12-21 Markus Rost * calendar/diary-lib.el (mark-diary-entries): Set mark-diary-entries-in-calendar only after checking for diary-file. 2004-12-21 Richard M. Stallman * faces.el (escape-glyph): Use blue against light foreground. * simple.el (undo-outer-limit-truncate): New function. (undo-outer-limit-function): Use undo-outer-limit-truncate. 2004-12-21 Eli Barzilay * calculator.el (calculator-radix-grouping-mode) (calculator-radix-grouping-digits) (calculator-radix-grouping-separator): New defcustoms for the new radix grouping mode functionality. (calculator-mode-hook): Now used in electric mode too, (calculator): Call it. (calculator-mode-map): Some new keys. (calculator-message): New function. Some new calls. (calculator-op, calculator-set-register): Use it. (calculator-string-to-number): New function, mostly moved and updated code from calculator-curnum-value. (calculator-curnum-value): Use it. (calculator-paste): Use it, and update grabbing the current-kill. (calculator-rotate-displayer) (calculator-rotate-displayer-back): Toggle digit grouping when in radix mode, use calculator-message. (calculator-displayer-prev, calculator-displayer-next): Change digit group size when in radix mode. (calculator-number-to-string): Rename from calculator-num-to-string. Now deals with digit grouping in radix mode. (calculator-update-display, calculator-put-value): Use the new name. (calculator-fact): Return a floating point number. (calculator-mode): Doc fix. 2004-12-20 Glenn Morris * calendar/calendar.el (view-other-diary-entries): Add autoload. * calendar/diary-lib.el (view-other-diary-entries): Use current-prefix-arg in interactive spec. 2004-12-19 Jay Belanger * calc/calc-aent.el (calcAlg-blank-matching-open): Temporarily adjust the syntax of both delimiters of half-open intervals. 2004-12-19 Kim F. Storm * mouse.el (mouse-1-click-follows-link): Doc fix. 2004-12-18 YAMAMOTO Mitsuharu * term/mac-win.el (encoding-vector, mac-font-encoder-list) (ccl-encode-mac-centraleurroman-font): Use centraleurroman instead of centraleuropean as the name 2004-12-17 Michael Albinus Sync with Tramp 2.0.46. * net/tramp.el (tramp-maybe-send-perl-script): Change order of parameters wrt Tramp convention. (tramp-handle-file-attributes-with-perl) (tramp-handle-directory-files-and-attributes): Apply it. (tramp-do-copy-or-rename-file-out-of-band): Check for existence of `copy-program'. Reported by Zack Weinberg . (top): Set `edebug-form-spec' property directly rather than calling `def-edebug-spec'. * net/tramp-smb.el (tramp-smb-advice-PC-do-completion): Make the advice less fragile. Surround temporary redefinition of `substitute-in-file-name' with `unwind-protect'. Suggested by Matt Hodges . 2004-12-17 Juri Linkov * replace.el (occur-accumulate-lines, occur-engine): Make forcing deferred font-lock fontification jit-specific. 2004-12-17 Kim F. Storm * mouse.el (mouse-1-click-follows-link): New defcustom. (mouse-on-link-p): New function. (mouse-drag-region-1): Implement mouse-1-click-follows-link functionality. Map a mouse-1 click event into a mouse-2 (or other) event when position is inside a link. * tooltip.el (tooltip-show-help-function): Replace "mouse-2" prefix in tooltip text with "mouse-1" when this is a link recognized by mouse-1-click-follows-link functionality. * help.el (describe-key): Report effective and original binding for mouse-1 when clicked on a link. (describe-mode): Add follow-link property to "minor-mode" button. * help-fns.el (describe-variable): Add follow-link property to "below" button. * help-mode.el (help-xref): Add follow-link property. * apropos.el (apropos-symbol, apropos-function, apropos-macro) (apropos-command, apropos-variable, apropos-face, apropos-group) (apropos-widget, apropos-plist): Add follow-link property. * pcvs-defs.el (cvs-mode-map): Map follow-link to a function which checks if position is in a filename, rather than some other clickable item. Function looks for cvs-filename-face at position. * wid-edit.el (widget-specify-field, widget-specify-button): Map a :follow-link keyword into a follow-link property. (link): Add :follow-link keyword, map to RET binding. * dired.el (dired-mode-map): Map follow-link to mouse-face. * progmodes/compile.el (compilation-minor-mode-map) (compilation-button-map, compilation-mode-map): Likewise. 2004-12-17 Thien-Thi Nguyen * play/zone.el (zone): Init `line-spacing' from orig buffer. (zone-replace-char): Take `count' and `del-count' instead of `direction'. Update callers. When `del-count' is non-nil, delete that many characters, otherwise `count' characters backwards. Insert the newly-replaced string `count' times. (zone-fret): Handle chars w/ width greater than one. (zone-fall-through-ws): No longer take window width `ww'. Update callers. Add handling for `char-width' greater than one. (zone-pgm-drip): Update var holding window-end position every cycle. 2004-12-17 Andre Spiegel * vc.el (vc-default-update-changelog): Use insert-file-contents, rather than insert-file. 2004-12-16 Jay Belanger * calc/calc-comb.el (var-RandSeed): Don't initially bind it. (math-init-random-base, math-random-digit): Check to see if var-RandSeed is bound. (math-random-last): Declare it. (math-random-digit): Don't make math-random-last local. 2004-12-16 Thien-Thi Nguyen * play/zone.el (zone): Fix omission bug: Use a self-disabling one-shot thunk for uniform (error, quit, normal) recovery. Reported by John Paul Wallington. (zone-pgm-random-life): Fix bug: Recognize empty initial field by lack of "@" chars. 2004-12-16 Juri Linkov * help.el (function-called-at-point): * help-fns.el (variable-at-point): As a last resort try stripping non-word prefixes and suffixes. * descr-text.el (describe-property-list): Don't treat syntax-table specially. Use describe-text-sexp which inserts [show] button for large objects and handles printing errors. Sort properties by names in alphabetical order instead of by value sizes. Add `mouse-face' to list of properties for `describe-face' widget. (describe-char): Mask out face-id from 19 bits of character. Print face-id separately. * replace.el (occur-accumulate-lines, occur-engine): Fontify unfontified matching lines in the source buffer before copying them. (occur-engine): Don't put mouse-face on context lines. (occur-next-error): Set point to line beginning/end before searching for prev/next property to skip multiple matches on a line (not supported by occur engine). Remove redundant prefix-numeric-value. 2004-12-15 Juri Linkov * replace.el (match): New face. (list-matching-lines-face): Change default from `bold' to `match'. * progmodes/grep.el (grep-match-face): New defvar. (grep-mode-font-lock-keywords): Use grep-match-face instead of compilation-column-face to highlight grep matches. * apropos.el (apropos-match-face): Change default from `secondary-selection' to `match'. * info-look.el (info-lookup-highlight-face): Change default from `highlight' to `match'. 2004-12-15 Daniel Pfeiffer * progmodes/executable.el (executable-interpret): Eliminate obsolete compile-internal, and switch to comint for interaction. 2004-12-15 J.D. Smith * progmodes/idlwave.el (idlwave-skip-multi-commands): Don't match `&&' when skipping multiple statements on a line. 2004-12-15 Thien-Thi Nguyen * play/zone.el (zone): Set `truncate-lines'. Also, init `tab-width' with value from original buffer. (zone-shift-up): Rewrite for speed. (zone-shift-down, zone-shift-left, zone-shift-right): Likewise. (zone-pgm-jitter): Remove redundant entries from ops vector. (zone-exploding-remove): Reduce iteration count. (zone-cpos): Convert to defsubst. (zone-replace-char): New defsubst. (zone-park/sit-for): Likewise. (zone-fret): Take window-start arg. Update callers. Use `zone-park/sit-for'. (zone-fill-out-screen): Rewrite. (zone-fall-through-ws): Likewise. Update callers. (zone-pgm-drip): Use `zone-replace-char'. Move var inits before while-loop. Use `zone-park/sit-for'. (zone-pgm-random-life): Handle empty initial field. Use `zone-replace-char' and `zone-park/sit-for'. 2004-12-15 Juri Linkov * isearch.el (isearch-update): Test isearch-lazy-highlight before calling isearch-lazy-highlight-new-loop. (isearch-lazy-highlight-new-loop): Don't test isearch-lazy-highlight. * replace.el (perform-replace): Add isearch-case-fold-search. Use delimited-flag for isearch-regexp. Reset isearch-lazy-highlight-last-string to force lazy highlighting when called from isearch mode. (query-replace-highlight): Revert defcustom type to boolean. (query-replace-lazy-highlight): New defcustom. (query-replace): New face. (perform-replace, replace-highlight, replace-dehighlight): Test query-replace-lazy-highlight instead of special value `isearch' of query-replace-highlight. (replace-dehighlight): Don't call isearch-dehighlight. (replace-highlight): Don't call isearch-highlight. Use face `query-replace' unconditionally. 2004-12-14 Kim F. Storm * simple.el (inhibit-mark-movement): Remove defvar. (beginning-of-buffer, end-of-buffer): Don't use it. * emacs-lisp/lisp.el (beginning-of-defun, end-of-defun): Don't use inhibit-mark-movement. * emulation/cua-base.el (cua--preserve-mark-commands): Remove. (cua--undo-push-mark): Remove. (cua--pre-command-handler, cua--post-command-handler): Don't fiddle with inhibit-mark-movement. 2004-12-14 Juri Linkov * buff-menu.el (list-buffers-noselect): Collect internal info for every buffer in BUFFER-LIST arg too. (Buffer-menu-switch-other-window): Bind pop-up-windows to t. (Buffer-menu-switch-other-window, Buffer-menu-2-window): Bind same-window-buffer-names and same-window-regexps to nil. 2004-12-13 Juri Linkov * simple.el (next-error-buffer-p, next-error-find-buffer): Doc fix. * mail/supercite.el (sc-cite-frame-alist): Doc fix. (sc-cite-region, sc-uncite-region, sc-recite-region): Fix previous change to handle not alist as a symbol, but a citation frame as a symbol that represents a variable name. 2004-12-13 Richard M. Stallman * filecache.el (file-cache-add-directory-using-find): Only set up file-cache-find-command-posix-flag if we will use it. * bindings.el (mode-line-buffer-identification-keymap): Don't cancel the mode-line's usual down-mouse-1 binding. * cus-edit.el (custom-face-selected): Handle `default' specs. (custom-face-edit): Increase extra-offset. (custom-display): Handle `default' specs. * xml.el (xml-name-re, xml-entity-value-re): Add defvars. * emacs-lisp/elint.el (elint-standard-variables) (elint-unknown-builtin-args): Move definitions up. * net/browse-url.el (browse-url-url-at-point): Add autoload. * info.el (info-xref-visited): Use `default' instead of t. (Info-try-follow-nearest-node): Don't explicitly load browse-url. * faces.el (header-line, mode-line-inactive, tool-bar): Use `default' instead of t for setting the defaults. (face-spec-choose): Separate `t' from `default'. * subr.el (while-no-input): New macro. 2004-12-13 Frederik Fouvry (tiny change) * filecache.el (file-cache-add-directory-using-find): Only test file-cache-find-command-posix-flag on some systems. 2004-12-13 Stefan Monnier * vc-svn.el (vc-svn-repository-hostname): Adjust to new format. Reported by Ville Skytt,Ad(B . (vc-svn-annotate-current-time, vc-svn-annotate-time-of-rev) (vc-svn-annotate-time, vc-svn-annotate-extract-revision-at-line) (vc-svn-annotate-command, vc-svn-annotate-re): Support for svn annotate. 2004-12-12 Juri Linkov * files.el (find-file-other-window, find-file-other-frame): Add the first buffer to the returned value to return the complete list of all visited buffers. (find-file-read-only, find-file-read-only-other-window) (find-file-read-only-other-frame): Use nil for `mustmatch' arg of `find-file-read-args'. Signal an error about non-existent file only if file name doesn't contain wildcards. Toggle read-only in all visited buffers. (find-alternate-file, find-alternate-file-other-window): Add optional arg `wildcards'. Doc fix. Set `wildcards' to t when called interactively. Pass arg `wildcards' to other functions. (find-file-noselect): Doc fix. * ffap.el (ffap-dired-wildcards): Set default to "[*?][^/]*\\'". Doc fix. (ffap-directory-finder): New variable. (ffap-string-at-point-mode-alist): Add * and ? to `file'. (ffap-file-at-point): Add /* to immediately rejected names. Return absolute file names matching ffap-dired-wildcards. (ffap-read-file-or-url): Set default value for `completing-read' to `buffer-file-name'. (find-file-at-point): When filename matches ffap-dired-wildcards, call ffap-file-finder with t arg `wildcards', instead of dired. (ffap-other-window, ffap-other-frame): Return visited buffers. (ffap-read-only, ffap-read-only-other-window) (ffap-read-only-other-frame, ffap-alternate-file): New commands. (dired-at-point): Call ffap-directory-finder instead of dired. (ffap-dired-other-window, ffap-dired-other-frame) (ffap-list-directory): New commands. (ffap-bindings): New keybindings for new commands. 2004-12-12 Juri Linkov * simple.el (beginning-of-buffer, end-of-buffer): * emacs-lisp/lisp.el (beginning-of-defun, end-of-defun): Do not push mark when mark is active in transient-mark-mode. * simple.el (mark-word): * emacs-lisp/lisp.el (mark-sexp, mark-defun): * textmodes/paragraphs.el (mark-paragraph): Extend the region when mark is active in transient-mark-mode, regardless of the last command. Doc fix. * simple.el (mark-word): Preserve direction when repeating. Make arg optional. Interactive "p" -> "P". (transient-mark-mode, inhibit-mark-movement): Doc fix. * emacs-lisp/lisp.el (mark-sexp): Reverse the condition for preserving direction, to mark forward instead of backward when mark is equal to point (e.g. when C-SPC C-M-SPC is typed in t-m-m). 2004-12-12 Juri Linkov * isearch.el (isearch-edit-string): Set 7th arg of `read-from-minibuffer' to `t' to inherit the current input method (whose name is indicated by [IM] in the minibuffer prompt) from the current buffer to the minibuffer. (isearch-lazy-highlight-update): Put body to `with-local-quit' to allow C-g quitting for lazy highlighting looping inside the search with nested repetition operators. Add overlay to the list before setting its face and other properties to avoid the case of code quitting after placing the new overlay but before it's recorded on the list. Select the window where isearch was activated, to highlight matches in the right window when isearch switches the current window to the minibuffer. * international/isearch-x.el (isearch-process-search-multibyte-characters): Use `isearch-message' as initial input for `read-string' instead of adding it to the minibuffer prompt. After reading a string remove the initial value of `isearch-message' from the string. * replace.el (replace-match-maybe-edit): Doc fix. (perform-replace): Don't call `replace-highlight' when automatic replacement is requested in literal mode, since it is intended only to highlight words during entering a new replacement string for \? in non-literal mode. * replace.el (query-replace-highlight): Add new value `isearch' that allows query replacement to use isearch highlighting. Change type from `boolean' to `choice'. Doc fix. (replace-highlight, replace-dehighlight, perform-replace): Use isearch highlighting if query-replace-highlight eq `isearch'. 2004-12-11 Stefan Monnier * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments) (checkdoc-message-text, checkdoc-defun): Fix format messages for `error'. * textmodes/tex-mode.el (latex-backward-sexp-1): Handle the special case of \end{verbatim}. 2004-12-11 Dan Nicolaescu * term.el (term-termcap-format): Synchronize with terminfo. (term-emulate-terminal): Handle reset. (term-reset-terminal): New function. 2004-12-11 Thien-Thi Nguyen * play/zone.el (zone-programs): Add `zone-pgm-random-life'. (zone-fill-out-screen): New func. (zone-pgm-drip): Use `zone-fill-out-screen'. Also, no longer go to point-min on every cycle. (zone-pgm-paragraph-spaz): Allow spazzing for texinfo-mode. (zone-pgm-random-life-wait): New user var. (zone-pgm-random-life): New func. 2004-12-10 Thien-Thi Nguyen * files.el (auto-mode-alist): Map .com to DCL mode. 2004-12-09 Richard M. Stallman * isearch.el (isearch-mode-map): Treat S-SPC like SPC. 2004-12-09 Nick Roberts * xt-mouse.el (xterm-mouse-event): Correct cursor position in a buffer with a display margin. 2004-12-08 Jay Belanger * calc/calc-keypd.el (calc-keypad-mode): Unbind unused mouse events. (calc-keypad-left-click): Set buffer to calc-keymap-buffer. 2004-12-08 Richard M. Stallman * faces.el: Delete code to set display table. (escape-glyph): Redefine to be less loud. (Copy minibuffer-prompt.) 2004-12-08 Jay Belanger * calc/calc.el: Add math-read-preprocess-string to autoloads. * calc/calc-ext.el (math-read-replacement-list) (math-read-superscripts, math-read-preprocess-string): Move to calc-aent.el. * calc/calc-aent.el (math-read-replacement-list) (math-read-superscripts, math-read-preprocess-string): Move from calc-ext.el. 2004-12-07 Stefan Monnier * isearch.el (isearch-quote-char): Fix up typo in last change. 2004-12-07 Luc Teirlinck * mouse.el (mouse-set-font): Handle the case where the command was not invoked using the mouse. * edmacro.el: `edit-kbd-macro' is now bound to `C-x C-k e'. (edmacro-finish-edit): Further update for keyboard macros that are lambda forms. (edmacro-sanitize-for-string): Correctly remove Meta modifier. 2004-12-07 Stefan Monnier * font-lock.el (font-lock-unfontify-region): Save buffer state. (font-lock-default-unfontify-region): Don't save buffer state any more. 2004-12-07 Jay Belanger * calc/calc-help.el (calc-describe-key): Set calc-summary-indentation even when Calc Summary buffer exists. 2004-12-07 Glenn Morris * calendar/holidays.el (holiday-easter-etc): Make arguments optional for backwards compatibility. Doc fix. Remove un-necessary local vars mandatory, output-list. (holiday-advent): Make arguments optional for backwards compatibility. Doc fix. 2004-12-06 Stefan Monnier * paren.el (show-paren-function): Fix last change (2004-12-02). * international/mule-util.el (char-displayable-p): Return nil for unibyte mode. * subr.el (subregexp-context-p): New function. * isearch.el (isearch-quote-char): Use it. * emacs-lisp/regexp-opt.el (regexp-opt-depth): Use it. (regexp-opt-not-groupie*-re): Remove. (regexp-opt): Properly handle inputs with duplicate entries. 2004-12-06 Richard M. Stallman * info-look.el (info-lookup-maybe-add-help cfengine-mode): Regexp typo. * cus-edit.el (custom-file): Doc fix. * textmodes/org.el: New file. 2004-12-06 Kenichi Handa * ldefs-boot.el: Update international/mule-util.el section. 2004-12-05 Sam Steingold * net/tramp.el (tramp-handle-file-accessible-directory-p): Fix `tramp-time-diff' comparison logic. 2004-12-05 Paul Pogonyshev * progmodes/which-func.el (which-function): Use `run-hook-with-args-until-success' instead of a custom loop. Fixes bug with local hooks. 2004-12-05 Roland Winkler * textmodes/bibtex.el (bibtex-font-lock-url-regexp): Use delete-dups when calculating the initial value. (bibtex-autokey-get-title): Use <=. (bibtex-goto-line): New function. (bibtex-reposition-window): Use line numbers instead of point positions. Use window-body-height. (bibtex-find-crossref): Use bibtex-reposition-window. (bibtex-find-entry): Use bibtex-reposition-window. Always return position of entry if key is found or nil if not found. 2004-12-05 Richard M. Stallman * cus-edit.el (custom-file): Doc fix. * progmodes/sh-script.el (sh-indent-for-then): Change default. 2004-12-03 Stefan Monnier * simple.el (blink-matching-open): * textmodes/tex-mode.el (tex-validate-region): Obey syntax-table text properties. 2004-12-02 Per Abrahamsen * wid-edit.el (widget-specify-field): Add `real-field' property to boundary. (widget-field-at): Use it. 2004-12-02 Richard M. Stallman * progmodes/cc-mode.el (awk-mode autoload): Supply t meaning interactive function. * isearch.el (search-whitespace-regexp): Remove the group. Doc fix. (isearch-mode-map): No special definition for space. (isearch-whitespace-chars): Command deleted. (isearch-forward-regexp): Doc fix. (isearch-quote-char): When a space is not inside brackets, use `[ ]' instead of just space. (isearch-lazy-highlight-search): Bind search-spaces-regexp. * imenu.el (imenu--generic-function): Delete code to exclude matches in comments. * man.el (Man-reverse-face): Change default to `highlight'. * replace.el (occur-1): Specify t for KEEP-PROPS to occur-engine. (occur-engine): Use `face' prop rather than `font-lock-face' when specifying use of `match-face'. (occur-accumulate-lines): Change arg from NO-PROPS to KEEP-PROPS. * emacs-lisp/elint.el (elint-standard-variables): Update list. * add-log.el (add-log-current-defun): Handle the case where point is in the header part of a DEFUN construct. 2004-12-02 Dave Love * progmodes/python.el (python-font-lock-syntactic-keywords): Fix previous change. 2004-12-02 Richard G Bielawski (tiny change) * paren.el (show-paren-function): Check for matching chars specified by text props. 2004-12-02 Jay Belanger * calc/calc.el (calc-read-key-sequence): Leave the old message visible when reading a new key sequence. 2004-12-02 Kim F. Storm * faces.el (escape-glyph): Rename from glyph. (standard-display-table): Set it here. Add escape-glyph face to extra slot characters. * disp-table.el: Undo 2004-12-01 change. Display table is now setup in faces.el. 2004-12-02 Mark A. Hershberger * xml.el (xml-parse-dtd): Don't show validity messages when xml-validating-parser is nil. (xml-substitute-special): Fix validity error messages to actually show the unexpandable entity. Added validity error if & isn't followed by an entity. (xml-parse-tag): Concatenate any string following the a section to the parsed CDATA. (xml-parse-dtd): Skip parameter entity declarations and use of parameter entities. 2004-12-01 Luc Teirlinck * kmacro.el (kmacro-default-counter-format): New var. (kmacro-set-format): Use it. Delete `(printf format)' from prompt. (kmacro-display): Remove `nil' from `and' form. Delete call to `format' inside `message'. (kmacro-start-macro): Use `kmacro-default-counter-format'. 2004-12-01 Stefan Monnier * pcvs.el (cvs-header-msg): New function. (cvs-update-header): Use it. Change calling convention. Correctly handle the case of having simultaneous active processes. (cvs-sentinel): Don't call cvs-update-header any more. (cvs-mode-run): Update call and add cvs-update-header to postproc. 2004-12-01 Jay Belanger * calc/calc-ext.el (calc-inverse, calc-hyperbolic): Change message. 2004-12-01 Juri Linkov * progmodes/prolog.el (prolog-mode-variables): Fix imenu-generic-expression. 2004-12-01 Daniel Pfeiffer * faces.el (glyph): New face. * disp-table.el: Add an autoloaded table, that doesn't require this library, with glyph face. * textmodes/conf-mode.el (conf-ppd-mode-syntax-table): New var. (conf-ppd-mode): New conf-mode wrapper for printer descriptions. (conf-quote-normal): Allow normalizing only ' or ". (conf-mode): Regexp-quote constructed comment-start and don't match section {} where "name" contains braces. * files.el (auto-mode-alist): Add conf-ppd-mode, inittab and acpid files. 2004-12-01 Kenichi Handa * term/x-win.el (x-last-selected-text-cut-encoded): New variable. (x-select-text): Don't treat eight-bit-control/graphic chars specially. Store the encoded text in the X cut buffer. (x-cut-buffer-or-selection-value): Compare the X cut buffer text with x-last-selected-text-cut-encoded. 2004-11-30 Stefan Monnier * man.el (Man-fontify-manpage): Improve handling of ANSI escapes. 2004-11-30 Markus Rost * textmodes/tex-mode.el (tex-main-file): Add a compatibility with AUCTeX. 2004-11-30 Jay Belanger * calc/calc-arith.el (math-possible-signs): Made stronger checks on signs of intervals. (math-pow-of-zero): Strengthen checks for positive and negative exponents. * calc/calc-aent.el, calc/calc-alg.el, calc/calc-arith.el * calc/calc-bin.el, calc/calc-comb.el, calc/calc-cplx.el * calc/calc-embed.el, calc/calc-fin.el, calc/calc-forms.el * calc/calc-frac.el, calc/calc-funcs.el, calc/calc-graph.el * calc/calc-help.el, calc/calc-incom.el, calc/calc-keypd.el * calc/calc-lang.el, calc/calc-map.el, calc/calc-math.el * calc/calc-misc.el, calc/calc-mode.el, calc/calc-mtx.el * calc/calc-poly.el, calc/calc-prog.el, calc/calc-rewr.el * calc/calc-rules.el, calc/calc-sel.el, calc/calc-stat.el * calc/calc-store.el, calc/calc-stuff.el, calc/calc-trail.el * calc/calc-undo.el, calc/calc-units.el, calc/calc-vec.el * calc/calc-yank.el, calc/calcalg2.el, calc/calcalg3.el * calc/calccomp.el, calc/calcsel2.el: Replace dummy autoloaded functions with provide statements. * calc/calc-alg.el (math-defsimplify): Move from calc-ext.el. * calc/calc-embed.el (calc-do-embedded-activate): Remove from autoloads. * calc/calc-ext.el: Remove dummy autoloading functions from autoloads. (calc-load-everything, math-defsimplify): Replace dummy autoloading functions by require statements. (math-defsimplify): Move to calc-alg.el, add to autoloads. * calc/calc-graph.el (calc-gnuplot-name, calc-gnuplot-plot-command) (calc-gnuplot-print): Give them values. * calc/calc.el: Remove calc-Need-calc-aent and calc-Need-calc-misc from autoloads. Add calc-do-embedded-activate to autoloads. (calc-gnuplot-name, calc-gnuplot-plot-command) (calc-gnuplot-print-command): Move them to calc-graph.el. 2004-11-30 YAMAMOTO Mitsuharu * term/mac-win.el (ccl-encode-mac-roman-font) (ccl-encode-mac-cyrillic-font) (ccl-encode-mac-centraleuropean-font, encoder-list) (fontset-add-mac-fonts, create-fontset-from-mac-roman-font): Support Cyrillic, CentralEuropean, and Dingbat font display 2004-11-30 Andre Spiegel * vc-hooks.el (vc-recompute-state): Move here from vc.el. * vc-cvs.el (vc-cvs-state): Handle the case where vc-state is still nil. 2004-11-29 Luc Teirlinck * emulation/tpu-edt.el (tpu-help-keypad-map, tpu-help-text) (tpu-word-separator-list, tpu-skip-chars): defconst->defvar. 2004-11-29 Jay Belanger * calc/calc-arith.el (math-pow-of-zero): Take into account different cases of the base and exponent. 2004-11-26 Teodor Zlatanov * simple.el (next-error-buffer-p): Allow for inclusive and exclusive tests for finding a buffer. (next-error-find-buffer): Pass the exclusive and inclusive tests to next-error-buffer-p. * replace.el (occur-next-error): Switch to the Occur buffer when appropriate, use the exclusive filter to next-error-find-buffer to do it. Use the absolute value of the motion amount. 2004-11-29 Kenichi Handa * startup.el (command-line): Decode all default-directory by locale-coding-system. 2004-11-29 Jay Belanger * calc/calc-aent.el: Remove unnecessary eval-when-compile. (calc-do-quick-calc, calc-do-calc-eval, calc-alg-entry) (math-read-expr-level, calc-check-user-syntax, math-read-factor): Replace calls to calc-extensions by appropriate require, replace calc-extensions-loaded by appropriate featurep. * calc/calc-ext.el: Move require to end of file. Remove redundant loading of calc.el. (calc-extensions-loaded): Remove unnecessary variable. (calc-extensions): Remove unnecessary function. (calc-load-everything): Replace calc-need-macros by appropriate require. * calc/calc-macs.el: Move provide to end of file. (calc-need-macros): Remove unnecessary function. * calc/calc-misc.el (calc-do-handle-whys, calc-last-args-stub) (calc-missing-key, calc-shift-Y-prefix-help, math-concat) (math-trunc, math-floor, calcFunc-inv, math-mod, math-pow): Replace calc-extensions by appropriate require. (calc-power): Replace calc-extensions-loaded by appropriate featurep. * calc/calc-prog.el (calc-user-define-formula, calc-do-defmath): Replace calc-need-macros by appropriate require. * calc/calc.el: Move require to end of file. (calc-info-filename, calc-autoload-directory, calc-extensions-loaded): Remove unnecessary variable. (calc-do-dispatch, calc-mode, calc-check-defines, calc-create-buffer) (calc, calc-keypad, full-calc-keypad, calc-do, calc-normalize) (calc-binary-op, calc-unary-op, calcDigit-start, calcDigit-key) (math-normalize, math-add, math-mul, math-div, math-format-stack-value) (math-stack-value-offset, math-format-value, math-format-flat-expr) (math-format-number, math-format-bignum, math-read-number) (calc-grab-region, calc-grab-rectangle, calc-grab-sum-down) (calc-grab-sum-across, calc-embedded, defmath): Replace calc-extensions by appropriate require. (calc-check-defines): Replace calc-need-macros by appropriate require. 2004-11-29 Kim F. Storm * macros.el (insert-kbd-macro): Handle kmacro functions. 2004-11-28 Juri Linkov * compare-w.el (compare-windows-highlight): Attach each overlay to its window to properly highlight differences while comparing two windows of the same buffer. Fix arguments. (compare-windows-sync-default-function): Fix arguments of `compare-windows-highlight'. * emacs-lisp/edebug.el (edebug-set-global-break-condition): Use `read-expression-history'. Set initial contents only if `edebug-global-break-condition' is non-nil. Set histpos to 1 if initial contents is equal to the last history element. (edebug-set-conditional-breakpoint): Instead of temporarily prepending the current condition to the history, set initial contents to the current condition. Set histpos to 1 if initial contents is equal to the last history element. * info.el (Info-search-whitespace-regexp): Remove shy group. (Info-search): Forward line if search is on the header line. Use search-whitespace-regexp in two other places. 2004-11-27 Luc Teirlinck * fringe.el (fringe-indicators): Add fake defvar to avoid compiler warning. Delay real definition, which uses `set-fringe-indicators-1' till after the definition of that function. 2004-11-28 Kim F. Storm * fringe.el (fringe): New defgroup. (fringe-mode): Move to fringe group. (fringe-indicators): New defcustom. (set-fringe-indicators-1): New defun. * menu-bar.el (menu-bar-options-save): Add fringe-indicators. (menu-bar-showhide-fringe-ind-menu): New keymap. (menu-bar-showhide-fringe-ind-empty) (menu-bar-showhide-fringe-ind-mixed) (menu-bar-showhide-fringe-ind-box) (menu-bar-showhide-fringe-ind-right) (menu-bar-showhide-fringe-ind-left) (menu-bar-showhide-fringe-ind-none): New defuns. (menu-bar-showhide-fringe-menu): Add "Indicators" sub-menu. 2004-11-27 Richard M. Stallman * comint.el (comint-read-noecho): Add trivial compatibility definition. * generic.el (define-generic-mode): Doc fix. * menu-bar.el (menu-bar-options-save): For the options that are toggled with menu-bar-make-mm-toggle, don't check for customized-value prop. 2004-11-27 Eli Zaretskii * mail/supercite.el (sc-cite-region): Handle the case where sc-cite-frame-alist is a symbol. (sc-uncite-region): Handle the case where sc-uncite-frame-alist is a symbol. (sc-recite-region): Handle the case where sc-recite-frame-alist is a symbol. 2004-11-27 Arne J,Ax(Brgensen (tiny change) * wid-edit.el (widget-narrow-to-field): New function. (widget-complete): Use it. 2004-11-27 Jay Belanger * calc/calc-aent.el (calc-eval-error): Declare and initialize the variable. (calc-eval-error): Don't check if the variable calc-eval-error is bound. (calc-buffer, calc-digit-value, math-expr-data): Declare them. (math-alg-inequalities): Move declaration to earlier in the file. * calc/calc-ext.el (calc-command-flags, calc-gnuplot-buffer) (calc-gnuplot-input, math-normalize-a, math-integral-cache): Declare them. * calc/calc-lang.el (math-expr-data, math-expr-token) (math-exp-old-pos): Declare them. * calc/calc-vec.el (math-exp-pos, math-exp-str, math-exp-old-pos) (math-exp-token, math-exp-keep-spaces, math-expr-data): Declare them. 2004-11-27 Kim F. Storm * progmodes/flymake.el: Use (featurep 'xemacs). (flymake-makehash): Change to defsubst. Use fboundp. (flymake-time-to-float): Remove. (flymake-float-time): Merge code from flymake-time-to-float here. (flymake-replace-regexp-in-string): Change to defsubst. (flymake-split-string-remove-empty-edges): Rename to flymake-split-string. (flymake-split-string): Remove previous defalias. (flymake-get-temp-dir): Change to defsubst. (flymake-make-xemacs-menu, flymake-xemacs-window-edges): Define for xemacs only. (flymake-master-file-count-limit): Change into compiler defvar only. (flymake-find-possible-master-files): Let-bind it dynamically while sorting files using flymake-master-file-compare. 2004-11-26 Stefan Monnier * font-lock.el (font-lock-compile-keywords): Don't complain if the end of defun-prompt-regexp matches inside a comment/string but the beginning is correctly outside everything. * progmodes/tcl.el (tcl-omit-ws-regexp): Avoid the case where { or [ appears within a string or a comment. * emacs-lisp/cl-macs.el (cl-parse-loop-clause, labels): Use gensym rather than make-symbol for symbols which are used in a symbol-macrolet or equivalent. 2004-11-26 Jay Belanger * calc-misc.el (calc-last-why-command): Declare it. * calc-vec.el (math-grade-vec): New variable. (calcFunc-grade, calcFunc-rgrade, math-grade-beforep): Replace variable grade-vec by declared variable. (math-rb-close): New variable. (math-read-brackets, math-read-vector): Replace variable close by declared variable. * calc/calc-yank.el (calc-original-buffer, calc-return-buffer) (calc-one-window, calc-edit-handler, calc-restore-trail) (calc-allow-ret): Declare them. * calc/calc-stuff.el (calc-flush-caches): Remove unnecessary variables. (math-lud-cache, math-log2-cache, math-radix-digits-cache) (math-radix-float-cache-tag, math-random-cache) (math-max-digits-cache, math-integral-cache, math-units-table) (math-format-date-cache, math-holidays-cache-tag): Declare them. (math-moc-func): New variable. (math-map-over-constants, math-map-over-constants-rec): Replace variable func by declared variable. * calc/calc-store.el (calc-given-value, calc-store-opers): Declare them. (calc-var-name-map): Move declaration to earlier in the file. (calc-pv-pos): New variable. (calc-permanent-variable, calc-insert-permanent-variable): Replace variable pos by declared variable. * calc/calc-mtx.el (calc-det-lu): New variable. (math-det-raw, math-det-step): Replace variable lu by declared variable. * calc/calc-map.el (math-ms-temp, math-ms-args): New variables. (math-multi-subst, math-multi-subst-rec): Replace variables temp and arg by declared variables. (calcFunc-reducer): Fix incorrect variable. (math-inner-mul-func, math-inner-add-func): New variables. (calcFunc-inner, math-inner-mats): Replace variables mul-func and add-func by declared variables. * calc/calc-incom.el (calc-prev-char, calc-prev-prev-char) (calc-digit-value): Declare them. * calc/calc-help.el (Info-history): Declare it. (calc-describe-key): Make calc-summary-indentation a local variable. (calc-help-long-names): Move declaration to earlier in file. * calc/calc-embed.el (calc-original-buffer): Declare it. (calc-embed-outer-top, calc-embed-outer-bot, calc-embed-top) (calc-embed-bot): New variables. (calc-do-embedded, calc-embedded-mark-formula) (calc-embedded-find-bounds, calc-embedded-duplicate) (calc-embedded-new-formula, calc-embedded-make-info): Replace vars outer-top, outer-bot, bot and top by declared variables. (calc-embed-prev-modes): New variable. (calc-embedded-set-modes, calc-embedded-update): Replace variable prev-modes with declared variable. (calc-embed-vars-used): New variable. (calc-embedded-make-info, calc-embedded-evaluate-expr) (calc-embedded-update, calc-embedded-find-vars): Replace variable vars-used by declared variable. * calc/calc-bin.el (math-format-radix-float): Make pos a local variable. (math-format-radix-float): Remove unnecessary setq. (math-radix-float-cache): Declare it. * calc/calcsel2.el (calc-keep-selection): Declare it. * calc/calc-maint.el: Remove file. 2004-11-26 Roland Winkler * textmodes/bibtex.el (bibtex-sort-entry-class) (bibtex-comment-start): Use defcustom. (bibtex-entry-field-alist): Use nil if initial content of the field is undefined. Fix docstring. (bibtex-parse-keys-timeout, bibtex-autokey-additional-names) (bibtex-generate-autokey, bibtex-parse-buffers-stealthily) (bibtex-mode, bibtex-field-list, bibtex-entry-updat) (bibtex-autofill-entry, bibtex-entry-index, bibtex-next-field): Fix docstring. (bibtex-autokey-title-terminators): Use only one regexp. (bibtex-string-maybe-empty-head): New variable. (bibtex-remove-delimiters-string): New function. (bibtex-text-in-field-bounds, bibtex-text-in-string): Use bibtex-remove-delimiters-string. (bibtex-progress-message, bibtex-field-left-delimiter) (bibtex-field-right-delimiter, bibtex-entry-left-delimiter) (bibtex-entry-right-delimiter, bibtex-search-entry): Use eq. (bibtex-insert-kill): Rename from `bibtex-insert-current-kill'. Simplify. (bibtex-format-entry): Use save-excursion for inherited booktitle. Use eq and bibtex-remove-delimiters-string. For end markers use insertion type so that marker stays after inserted text. (bibtex-autokey-get-names): Return empty string if name is missing. (bibtex-autokey-demangle-name): Call bibtex-autokey-abbrev before calling bibtex-autokey-name-case-convert. (bibtex-autokey-demangle-title): Call bibtex-autokey-titleword-case-convert. Remove call to bibtex-autokey-titleword-case-convert from bibtex-autokey-get-title. (bibtex-global-key-alist, bibtex-read-string-key): New functions. (bibtex-read-key): New optional arg global. (bibtex-files-expand): New optional arg force. (bibtex-complete-string-cleanup): Expansion of abbrev can be absent. (bibtex-complete-crossref-cleanup): Rename from bibtex-complete-key-cleanup. Simplify code. (bibtex-copy-summary-as-kill): Remove arg key. Use looking-at. Operate on current entry. (bibtex-button): Add docstring. (bibtex-entry): Simplify. (bibtex-make-field): Replace optional arg called-by-yank with more specific args move and interactive. (bibtex-end-of-entry): Use forward-sexp. (bibtex-find-entry-globally): Remove. (bibtex-find-crossref): Allow for crossref key located in other buffer. Bound to C-c C-x. (bibtex-find-entry): New optional args global and display. (bibtex-find-text): Fix docstring. Remove arg as-if-interactive. (bibtex-validate): Use arg force of bibtex-files-expand. (bibtex-clean-entry): Bugfix, clean string entries properly. Always keep point at beginning of entry. (bibtex-complete): Bugfix. Handle string entries properly. Call cleanup functions only if needed. (bibtex-String): Use bibtex-read-string-key. (bibtex-url): Use bibtex-remove-delimiters-string. Do not alter case of replacement text. 2004-11-26 Lars Hansen * tramp.el (tramp-handle-directory-files-and-attributes): New function. (tramp-perl-directory-files-and-attributes): New constant. (tramp-file-name-handler-alist): Delete file-directory-files, add directory-files-and-attributes. (tramp-perl-file-attributes): Surround uid and gid by double quotes. Change parameter id-format from nonnumeric. (tramp-convert-file-attributes): New function. (tramp-handle-file-attributes): Use it. (tramp-maybe-send-perl-script): New function. (tramp-handle-file-attributes-with-perl): Use it. Don't convert file mode. Change parameter id-format from nonnumeric. (tramp-handle-file-attributes-with-ls): Change parameter id-format from nonnumeric. (tramp-post-connection): Don't send tramp-perl-file-attributes script. Reset connection property "perl-scripts". (tramp-handle-insert-directory): Run real handler when ls-lisp is in use. 2004-11-26 Lars Hansen * desktop.el (desktop-read): Replace mapcar with mapc. (desktop-create-buffer): Replace mapcar with mapc. Remove redundant piece of code. 2004-11-27 Nick Roberts * progmodes/gud.el (gud-display-line): Use display-buffer for GDB-UI as for GUD. * progmodes/gdb-ui.el (gdb-view-source, gdb-selected-view): Delete variables. (gdb-ann3): Don't make GUD buffer dedicated. (gdb-goto-breakpoint, gdb-display-buffer): Don't always dedicate. (gdb-display-source-buffer): Delete function. (gdb-view-source-function, gdb-view-assembler): Delete functions. (menu): Delete menu bindings for viewing source/assembler. (gdb-setup-windows, gdb-restore-windows): Don't dedicate GUD. No assembler now. (gdb-reset): No need to undedicate source buffers now. (gdb-source-info): No assembler now. 2004-11-26 Nick Roberts * progmodes/gdb-ui.el (gdb-frame-parameters): Match height and width to those for special frames. (gdb-frame-breakpoints-buffer): Use gdb-frame-parameters. Use display-buffer. (gdb-frame-stack-buffer, gdb-frame-threads-buffer) (gdb-frame-registers-buffer, gdb-frame-locals-buffer) (gdb-frame-assembler-buffer): Rework like gdb-frame-breakpoints-buffer. 2004-11-25 Richard M. Stallman * progmodes/flymake.el: Reindent. (flymake-split-string): Turn into defalias. (flymake-fix-file-name): Rename from flymake-fix-path-name. (flymake-ensure-ends-with-slash): Rename arg to FILENAME. (flymake-get-common-file-prefix): Rename from ...path... Doc fix. (flymake-build-relative-filename): Rename from ...path. Fix error message. 2004-11-25 Cheng Gao * progmodes/flymake.el: Much whitespace and capitalization change. Move `provide' to end. Require `compile' only when compiling. 2004-11-24 Jay Belanger * calc/calc-alg.el: Added comment. (math-polynomial-base): Replace variable mpb-top-expr by math-poly-base-top-expr. * calc/calc-poly.el (math-poly-base-top-expr): New variable. (math-polynomial-p1): Replace variable mpb-top-expr by declared variable. (math-poly-base-total-base): New variable. (math-total-polynomial-base, math-polynomial-p1): Replace variable mpb-total-base by declared variable. (math-factored-vars, math-to-list): Declare it. (math-fact-expr): New variable. (calcFunc-factors, calcFunc-factor, math-factor-expr) (math-factor-expr-try, math-factor-expr-part): Replace variable expr by declared variable. (math-fet-x): New variable. (math-factor-expr-try, math-factor-poly-coefs): Replace variable x by declared variable. (math-factor-poly-coefs): Make temp a local variable. * calc/calc-units.el (calc-convert-units): Make units a local variable. (calc-num-units, calc-den-units): New variables. (calc-explain-units, calc-explain-units-rec): Replace variables num-units and den-units by declared variables. (math-cu-unit-list): New variable. (math-build-units-table, math-compare-unit-names) (math-convert-units, math-convert-units-rec): Replace variable unit-list by declared variable. (math-fbu-base, math-fbu-entry): New variables. (math-find-base-units, math-find-base-units-rec): Replace variables base and entry by declared variables. (math-which-standard): New variable. (math-to-standard-units, math-to-standard-rec): Replace variable which-standard by declared variable. (math-fcu-u): New variable. (math-find-compatible-unit, math-find-compatible-unit-rec): Replace variable u by declared variable. (math-cu-new-units, math-cu-pure): New variables. (math-convert-units, math-convert-units-rec): Replace variables new-units and pure by declared variables. (math-try-cancel-units): New variable. (math-simplify-units-quotient): Replace variable try-cancel-units by declared variable. 2004-11-24 Richard M. Stallman * textmodes/ispell.el (ispell-check-version): If default-directory is nonexistent, use home dir. * progmodes/grep.el (grep-regexp-alist): Don't match parens around line numbers. * progmodes/cperl-mode.el (cperl-indent-region) (cperl-imenu--create-perl-index, cperl-xsub-scan): Don't print progress messages. * progmodes/compile.el (compilation-mode-map): Don't inherit from compilation-minor-mode-map; copy its bindings instead. But the menu bar Compile entry now does inherit from compilation-menu-map. * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Use with-no-warnings around compiler-macroexpand. * imenu.el: Don't always require newcomment. (imenu--generic-function): Call comment-normalize-vars if we have a comment syntax. Exit the loop if REGEXP matches the null string. Test comment-start as well as comment-start-skip when deciding whether to check for comments. * tooltip.el (tooltip-mode): Doc fix. * term.el (term-escape-char, term-mode): Doc fixes. 2004-11-24 Dave Love * progmodes/python.el (python-font-lock-syntactic-keywords): Check for escapes in the regexp. (python-quote-syntax): Don't do it here. 2004-11-24 Nick Roberts * progmodes/gdb-ui.el (gdb-breakpoints-mode-map) (gdb-frames-mode-map, gdb-threads-mode-map) (gdb-registers-mode-map, gdb-locals-mode-map) (gdb-assembler-mode-map): Bind "q" to kill-this-buffer. (gdb-set-window-buffer): Rename from dedicated-switch-to-buffer. Suggested by Stefan Monnier : (dedicated-switch-to-buffer): Rework. (gdb-var-evaluate-expression-handler, gdb-put-string): Remove unused variable bindings. (gdb-setup-windows, gdb-display-buffer): Simplify. Use pop-to-buffer. (gdb-view-source-function): Simplify. (gdb-frame-breakpoints-buffer): Use pop-to-buffer, special-display-regexps. 2004-11-24 Glenn Morris * progmodes/f90.el (f90-smart-end) (f90-previous-statement, f90-beginning-of-block): Doc fix. (f90-calculate-indent): Handle un-named PROGRAM blocks. (f90-end-of-block): Doc fix. Make check of outermost block conditional on value of `f90-smart-end'. (f90-block-match): Hack to deal with un-named PROGRAM blocks. Handle case where END-BLOCK is nil. (f90-match-end): Handle un-named PROGRAM blocks. (f90-backslash-not-special): New function. 2004-11-24 Jay Belanger * calc/calc.el (calc-embedded-active): Removed unnecessary declaration. (calc-show-banner): Removed redundant declaration. * calc/calc-graph.el (calc-gnuplot-default-device) (calc-gnuplot-default-output, calc-gnuplot-print-device) (calc-gnuplot-print-output, calc-gnuplot-geometry) (calc-graph-default-resolution, calc-graph-default-resolution-3d): Remove redundant initial values. * calc/calc-arith.el (math-scalar-functions) (math-nonscalar-functions, math-scalar-if-args-functions) (math-real-functions, math-positive-functions) (math-nonnegative-functions, math-real-scalar-functions) (math-real-if-arg-functions, math-integer-functions) (math-num-integer-functions, math-rounding-functions) (math-float-rounding-functions, math-integer-if-args-functions) (math-super-types): Move declarations to earlier in file. (math-unit-prefixes): Declared it. (math-floor-prec, math-trunc-prec): New variables. (math-trunc-fancy): Replace variable prec by declared variable. (math-floor-fancy): Replace variable prec by declared variable. (math-com-bterms): New variable. (math-commutative-equal, math-commutative-collect): Replace variable bterms by declared variable. * calc/calc-misc.el (math-trunc): Replace variable prec by math-trunc-prec. (math-floor): Replace variable prec by math-floor-prec. * calc/calc-forms.el (math-fd-date, math-fd-dt, math-fd-year) (math-fd-month, math-fd-day, math-fd-weekday, math-fd-hour) (math-fd-minute, math-fd-second, math-fd-bc-flag): New variables. (math-format-date, math-format-date-part): Replace variables date, dt, year, month, day, weekday, hour, minute, second and bc-flag by declared variables. (math-pd-str): New variable. (math-parse-date, math-parse-date-word, math-parse-standard-date): Replace variable str by declared variable. (math-daylight-savings-hook, math-tzone-names): Move definitions to earlier in the file. (var-TimeZone, math-exp-str, math-exp-pos): Declare them. (math-sh-year): New variable. (math-setup-add-holidays, math-setup-holidays) (math-setup-year-holidays): Replace variable `year' by declared variable. * calc/calc-math.el (math-nrf-n, math-nrf-nf, math-nrf-nfm1): New variables. (math-nth-root-float, math-nth-root-float-iter): Replace variables n, nf and nfm1 by declared variables. (math-nri-n): New variable. (math-nth-root-integer, math-nth-root-int-iter): Replace variable n by declared variable. (calcFunc-log): Removed misplaced condition. 2004-11-24 Stefan Monnier * generic.el (generic-mode-set-comments): Accept an empty comment-end. 2004-11-24 Nick Roberts * progmodes/gdb-ui.el (dedicated-switch-to-buffer): New function. (gdb-ann3, gdb-setup-windows, gdb-restore-windows): Dedicate gdb-related windows. (gdb-display-buffer): Dedicate gdb-related windows. Don't grab other frames. (gdb-reset): Remove dedicated property after debugging. 2004-11-24 Jay Belanger * calc/calc-sel.el: Add comment. * calc/calc.el (math-stack-value-offset): Replace variables c, wid and off with math-svo-c, math-svo-wid and math-svo-off. * calc/calccomp.el (math-comp-sel-tag): Declare it. (math-svo-c, math-svo-wid, math-svo-off): New variables. (math-stack-value-offset-fancy): Replace variables c, wid and off by declared variables. (math-comp-just, math-comp-comma-spc): New variables. (math-compose-expr, math-compose-matrix): Replace variables `just' and comma-spc by declared variable. (math-comp-vector-prec): New variable. (math-compose-expr, math-compose-matrix, math-compose-rows): Replace variable vector-prec by declared variable. (math-comp-left-bracket, math-comp-right-bracket) (math-comp-comma): New variables. (math-compose-expr, math-compose-rows): Replace variables left-bracket, right-bracket and comma by declared variables. (math-comp-full-width): New variable. (math-comp-to-string-flat, math-comp-to-string-flat-term): Replace variable full-width by declared variable. (math-comp-highlight, math-comp-word, math-comp-level) (math-comp-margin, math-comp-pos, math-comp-buf, math-comp-base) (math-comp-hgt, math-comp-tag, math-comp-hpos, math-comp-vpos): New variables. (math-comp-to-string-flat, math-comp-to-string-flat-term) (math-comp-sel-flat-term): Replace variables comp-highlight, comp-word, comp-level, comp-margin, comp-pos and comp-buf by declared variables. (math-comp-simplify, math-comp-simplify-term) (math-comp-add-string, math-comp-add-string-sel): Replace variables comp-highlight, comp-buf, comp-base, comp-height, comp-tag, comp-hpos and comp-vpos by declared variables. 2004-11-23 Jan Dj,Ad(Brv * cus-start.el (all): Add x-use-old-gtk-file-dialog. * mail/emacsbug.el (report-emacs-bug): Catch error that x-server-vendor and x-server-version may throw. 2004-11-23 Kim F. Storm * subr.el (substitute-key-definition-key): Optimize. Don't call indirect-function for nil defn (always signals error). * ido.el (ido-read-internal): Fix require-match check when ido-directory-too-big is set. 2004-11-23 Jay Belanger * calc/calc-ext.el (math-read-replacement-list) (math-read-superscripts): New variables. (math-read-preprocess-string): New function. (math-read-expr): Filter input through math-read-preprocess-string. * calc/calc-aent.el (math-read-exprs): Filter input through math-read-preprocess-string. 2004-11-23 Daniel Pfeiffer * progmodes/compile.el (compilation-start): In cd command use substitute-env-vars -- not quite shell compatible but better than nothing. (compilation-error-regexp-alist-alist): Simplify ftnchek to only handle the newer versions messages, which are more parseable. 2004-11-22 Stefan Monnier * reveal.el (reveal-mode-map): New var. (reveal-mode): Use it. 2004-11-23 Nick Roberts * progmodes/gdb-ui.el (gdb-flush-pending-output): New variable. (gdb-send-item, gdb-resync, gud-gdba-marker-filter): Use it. 2004-11-22 Stefan Monnier * buff-menu.el (list-buffers-noselect): Re-add the leading space in the header-line when needed. Use fixed-pitch only in the header-line. Build the underline automatically. Use emdash if available. 2004-11-22 Richard M. Stallman * dired.el (dired-recursive-copies): Move from dired-aux.el. * dired-aux.el (dired-recursive-copies): Move to dired.el. 2004-11-22 Nick Roberts * progmodes/gdb-ui.el (gdb-resync): New function. (gdb-pre-prompt, gdb-prompt, gdb-starting, gdb-stopping) (gdb-frame-begin, gdb-stopped, gdb-post-prompt): Use it to fail more gracefully. (gdb-variables): Delete variable. Re-order variables to reduce byte-compiler warnings. 2004-11-22 Stefan Monnier * descr-text.el (describe-char): * paren.el (show-paren-function): * subr.el (syntax-after): Undo last change. * progmodes/python.el (run-python): Don't hard code *Python*. Don't modify global process-environment. (python-send-region, python-load-file): Don't assume that python-buffer == (process-buffer (python-proc)). (python-switch-to-python): Simplify. * dired.el (dired-align-file): Don't assume line starts with spaces. 2004-11-21 Jay Belanger * calc/calc-ext.el (math-read-big-expr, math-read-big-bigp): Replace variable `lines' by math-read-big-lines. (math-read-big-expr): Replace variables the-baseline, the-h2 and err-msg by math-read-big-baseline, math-read-big-h2 and math-read-err-msg. (math-read-big-bigp): Replace variable h2 with math-rb-h2. * calc/calc-lang.el (math-read-big-rec): Fix typo. (math-read-big-balance): Replace unbound variable by value. (math-read-big-lines): New variable. (math-read-big-rec, math-read-big-char, math-read-big-emptyp) (math-read-big-error, math-read-big-balance): Replace variable `lines' by declared variable. (math-read-big-baseline, math-read-big-h2): New variables. (math-read-big-rec): Replace variables the-baseline and the-h2 by declared variables. (math-rb-h1, math-rb-h2, math-rb-v1, math-rb-v2): New variables. (math-read-big-rec, math-read-big-char, math-read-big-emptyp) (math-read-big-balance): Replace variables h1, h2, v1 and v2 by declared variables. (math-read-big-err-msg): New variable. (math-read-big-error): Replace variable err-msg by declared variable. 2004-11-21 Stefan Monnier * ses.el: Add coding cookie. Fix up docstrings, follow new commenting conventions. (ses-header-line-menu): Fix missing variable rename for header-row. (ses-cell-size): Remove. (ses-make-cell): New function. (ses-cell, ses-insert-row, ses-insert-column): Use it. (ses-calculate-cell): Remove unused var `symbol'. (ses-narrowed-p): New function. (ses-goto-data, undo-more, ses-reconstruct-all): Use it. (ses-initial-file-trailer): Change ;;; to ;; for local vars. (ses-load, ses-reconstruct-all): Adjust string search accordingly. (ses-setup): Use restore-buffer-modified-p. (ses-cleanup): Remove unused var `end'. (ses-header-string-left-offset): Remove. (ses-create-header-string): Adjust to new behavior of `align-to'. Truncate excessively large fields to preserve alignment. (ses-reconstruct-all): Remove unused var `refs'. (ses-read-cell-printer): Remove unused var `prompt'. (ses-delete-row): Remove unused var `pos'. (ses-delete-column): Remove unused var `new'. 2004-11-21 Vinicius Jose Latorre * ps-print.el: Insert :version tag into all defgroup and defcustom. Use (featurep 'xemacs) instead of (eq ps-print-emacs-type 'xemacs). Eliminate eval-and-compile usage. (ps-insert-file): Use insert-file-contents instead of insert-file. (ps-setup): Code fix. * printing.el (pr-setup, lpr-setup): Code fix. 2004-11-21 Jay Belanger * calc/calc-prog.el (math-integral-cache-state, calc-lang) (calc-original-buffer): Declare them. (calc-user-formula-alist): New variable. (calc-user-define-formula, calc-fix-user-formula) (calc-user-define-composition, calc-finish-formula-edit): Replace variable `alist' by declared variable. (var-q0, var-q1, var-q2, var-q3, var-q4, var-q5, var-q6) (var-q7, var-q7, var-q8, var-q9): Declare them. (calc-kbd-push): Don't check to see if var-q0 through var-q9 are bound. (calcFunc-typeof): Replace undeclared variable by expression. (math-exp-env): New variable. (math-define-body, math-define-exp): Replace exp-env by declared var. (math-define-exp): Replace misplaced variable by expression. * calc/calcalg3.el (calc-curve-nvars, calc-curve-varnames) (calc-curve-model, calc-curve-coefnames): New variables. (calc-curve-fit, calc-get-fit-variables): Replace variables nvars, varnames, model and coefnames by declared variables. (math-root-widen): New variable. (math-search-root, math-find-root): Replace variable root-widen by declared variable. (var-DUMMY): Declare it. (math-root-vars, math-min-vars): Move the declarations to earlier in the file. (math-brent-min): Make d a local variable. (math-find-minimum): Replace non-existent variable. (math-ninteg-romberg): Remove unnecessary variable. (math-ninteg-temp): New variable. (math-ninteg-romberg, math-ninteg-midpoint): Replace variable integ-temp by declared variable. (math-fit-first-var, math-fit-first-coef, math-fit-new-coefs): New variables. (math-general-fit): Replace variables first-var, first-coef and new-coefs by declared variables. (calcFunc-fitvar): Replace variable first-var by declared variable. (calcFunc-fitparam): Replace variable first-coef by declared variable. (calcFunc-fitdummy): Replace variable new-coefs by declared variable. (math-all-vars-vars, math-all-vars-found): New variables. (math-all-vars-in, math-all-vars-rec): Replace variables vars and found by declared variable math-all-vars-vars. 2004-11-20 Luc Teirlinck * emacs-lisp/cust-print.el (custom-printers): Use `defvar' instead of `defconst'. 2004-11-20 Richard M. Stallman * isearch.el (isearch-mode-map): Don't bind SPC. (isearch-whitespace-chars): Function deleted. (isearch-search): Bind search-spaces-regexp. (isearch-lazy-highlight-search): Likewise. (search-whitespace-regexp): Doc fix. (isearch-forward-regexp): Doc fix. * emacs-lisp/bytecomp.el (byte-compile-form): Move the calls to byte-compile-set-symbol-position, to avoid having two for the same symbol occurrence. * comint.el (comint-input-ring-size): Increase to 150. * hexl.el (hexl-mode-old-hl-line-mode, hexl-mode-old-ruler-mode): New variables. (hexl-mode): Set those variables, record ruler-mode and hl-line-mode. (hexl-mode-exit): Restore status of ruler-mode and hl-line-mode. * imenu.el (imenu--generic-function): Ensure we keep moving backward even if BEG isn't further back. * replace.el (query-replace-read-to, query-replace-read-from): Specify t for KEEP-ALL in read-from-minibuffer. * progmodes/python.el (python-switch-to-python): If Python isn't running, start it. Don't alter debug-ignored-errors. * progmodes/cperl-mode.el (cperl-indent-region): Don't mind imenu-scanning-message. * bindings.el (global-map): Bind C-e to move-end-of-line. * simple.el (line-move-finish): New arg FORWARD. Ignore invisible newlines, not intangible ones. Conditions for acceptable stopping positions depend on FORWARD. (line-move): Pass FORWARD arg to line-move-finish. * buff-menu.el (list-buffers-noselect): Eliminate space at the start of HEADER. Compensate for this change in the code to add display properties. Don't make the first line intangible. * info.el (Info-search): Fix previous change. 2004-11-20 Thien-Thi Nguyen * Makefile.in (recompile): Revert 2004-11-19 change. (compile): Likewise. 2004-11-19 Luc Teirlinck * Makefile.in (compile): Set `max-specpdl-size' before compiling. 2004-11-19 Vinicius Jose Latorre * progmodes/ebnf2ps.el: Fix typos. Insert :version tag into all defgroup and defcustom. Eliminate eval-and-compile usage. * progmodes/ebnf-otz.el: Fix typos. 2004-11-19 Jay Belanger * calc/calc-yank.el (calc-edit-disp-trail): New variable. (calc-edit-finish, calc-finish-stack-edit): Replace variable disp-trail by declared variable. * calc/calc-sel.el (calc-edit-disp-trail): Declare it. (calc-finish-selection-edit): Replace variable disp-trail by declared variable. (calc-selection-cache-entry): Move declaration to earlier in the file. (calc-selection-cache-num, calc-selection-cache-comp) (calc-selection-cache-offset, calc-selection-true-num) (calc-final-point-line, calc-final-point-column) (calc-original-buffer): Declare them. (calc-fnp-op, calc-fnp-num): New variables. (calc-find-nth-part, calc-find-nth-part-rec) (calc-select-previous): Replace op and num by declared variables. (calc-rsf-old, calc-rsf-new): New variables. (calc-replace-sub-formula, calc-replace-sub-formula-rec): Replace variables old and new by declared variables. (calc-sel-reselect): New variable. (calc-auto-selection, calc-enter-selection, calc-edit-selection) (calc-sel-evaluate, calc-sel-expand-formula, calc-sel-expand-formula) (calc-sel-mult-both-sides, calc-sel-add-both-sides): Replace variable reselect with declared variable. * calc/calc-rewr.el (math-regs, math-num-regs, math-prog-last) (math-bound-vars, math-conds, math-copy-neg, math-rhs) (math-pattern, math-remembering, math-aliased-vars, math-mt-many) (math-import-list, math-rewrite-phase): Declare them. (math-rewrite): Use let* to declare variables. (calc-rewrite-selection): Make rules a local variable. (calc-rewr-sel): New variable. (calc-rewrite-selection, calc-locate-selection-marker) (calc-rewrite): Use the declared variable calc-rewr-sel instead of sel. (math-rewrite-whole-expr): New variable. (math-rewrite, math-rewrite-phase): Replace variable expr by declared variable. (math-rewrite-heads-heads, math-rewrite-heads-skips) (math-rewrite-heads-blanks ): New variables. (math-rewrite-heads, math-rewrite-heads-rec): Replace variables heads, skips and blanks by declared variables. (math-rwcomp-subst-old, math-rwcomp-subst-new) (math-rwcomp-subst-old-func, math-rwcomp-subst-new-func): New variables. (math-rwcomp-substitute, math-rwcomp-subst-rec): Replace variables old, new, old-func and new-func by declared variables. (math-rwcomp-assoc-args, math-rwcomp-addsub-args): Remove unnecessary variable. (math-apply-rw-regs): New variable. (math-apply-rewrites, math-rwapply-replace-regs) (math-rwapply-reg-looks-negp): Replace variable regs by declared var. (math-apply-rw-ruleset): New variable. (math-apply-rewrites, math-rwapply-remember): Replace variable ruleset by declared variable. 2004-11-19 Richard M. Stallman * info.el (Info-search): Use search-whitespace-regexp. 2004-11-19 Thien-Thi Nguyen * vc-rcs.el (vc-rcs-parse): New function. (vc-rcs-annotate-command): Likewise. (vc-rcs-annotate-current-time): Likewise. (vc-rcs-annotate-time): Likewise. (vc-rcs-annotate-extract-revision-at-line): Likewise. 2004-11-19 Thien-Thi Nguyen * Makefile.in (recompile): Set `max-specpdl-size' before compiling. 2004-11-18 Jay Belanger * calc/calc-alg.el (math-simplify-divisor): Remove unnecessary vars. 2004-11-17 Vinicius Jose Latorre * printing.el: Eliminate use of interactive-p and eval-and-compile. Use of (featurep 'xemacs) instead of (eq ps-print-emacs-type 'xemacs). Use make-temp-file to generate PostScript files in any situation. (pr-ps-temp-file): Now specify a prefix to generate temporary files. (pr-interactive-p): Eliminate var. (pr-save-interactive): Eliminate macro. (pr-interface, pr-ps-directory-preview) (pr-ps-directory-using-ghostscript, pr-ps-directory-print) (pr-ps-directory-ps-print, pr-ps-buffer-preview) (pr-ps-buffer-using-ghostscript, pr-ps-buffer-print) (pr-ps-buffer-ps-print, pr-ps-region-preview) (pr-ps-region-using-ghostscript, pr-ps-region-print) (pr-ps-region-ps-print, pr-ps-mode-preview) (pr-ps-mode-using-ghostscript, pr-ps-mode-print, pr-ps-mode-ps-print) (pr-printify-directory, pr-txt-directory, pr-despool-preview) (pr-despool-using-ghostscript, pr-despool-print, pr-despool-ps-print) (pr-ps-file-up-preview, pr-ps-file-using-ghostscript) (pr-ps-file-up-ps-print, pr-toggle-file-duplex, pr-toggle-file-tumble) (pr-toggle-file-landscape, pr-toggle-ghostscript, pr-toggle-faces) (pr-toggle-spool, pr-toggle-duplex, pr-toggle-tumble) (pr-toggle-landscape, pr-toggle-upside-down, pr-toggle-line) (pr-toggle-zebra, pr-toggle-header, pr-toggle-header-frame) (pr-toggle-lock, pr-toggle-region, pr-toggle-mode, pr-ps-name) (pr-txt-name, pr-ps-utility, pr-ps-fast-fire, pr-txt-fast-fire) (pr-update-menus, pr-interface-ps-prin, pr-interface-preview): Eliminate pr-save-interactive usage. (pr-menu-lock, pr-ps-utility-args, pr-set-outfilename): Eliminate pr-interactive-p usage. (pr-toggle-file-duplex-menu, pr-toggle-file-tumble-menu) (pr-toggle-file-landscape-menu, pr-toggle-ghostscript-menu) (pr-toggle-faces-menu, pr-toggle-spool-menu, pr-toggle-duplex-menu) (pr-toggle-tumble-menu, pr-toggle-landscape-menu) (pr-toggle-upside-down-menu, pr-toggle-line-menu, pr-toggle-zebra-menu) (pr-toggle-header-menu, pr-toggle-header-frame-menu) (pr-toggle-lock-menu, pr-toggle-region-menu, pr-toggle-mode-menu): New funs. (pr-ps-file): Use make-temp-file to generate a temporary file. 2004-11-17 Jay Belanger * calc/calc-alg.el (calc-poly-div): Make calc-poly-div-remainder a local variable. (math-eval-rules-cache, math-eval-rules-cache-other): Declare them. (math-top-only): New variable. (math-simplify, math-simplify-step): Replace variable top-only by declared variable math-top-only. (math-simplify-expr): Declare it. Replace argument expr in all calls of math-defsimplify by math-simplify-expr. (math-simplify-plus, math-simplify-times, math-simplify-divide) (math-simplify-divisor, math-simplify-one-divisor) (math-simplify-mod, math-simplify-ineq, math-simplify-sqrt) (math-simplify-pow): Replace variable expr by declared variable math-simplify-expr. (math-simplify-divisor): Remove local variables temp and op. (math-simplify-one-divisor): Make temp and op local variables. (math-simplify-divisor-nover, math-simplify-divisor-dover): New variables. (math-simplify-divisor, math-simplify-one-divisor): Replace variables nover and dover by declared variables. (math-expr-subst-new, math-expr-subst-old): New variables. (math-expr-subst, math-expr-subst-rec): Replace variables new and old by declared variables. (math-is-poly-degree, math-is-poly-loose): New variables. (math-is-polynomial, math-is-poly-rec): Replace variables degree and loose by declared variables. (math-poly-base-const-ok, math-poly-base-pred): New variables. (math-polynomial-base, math-polynomial-base-rec): Replace variables const-ok and mpb-pred by declared variables. * calc/calc-poly.el (calc-poly-div-remainder): Declare it. * calc/calc-ext.el (math-defsimplify): Change the argument in the created function to math-simplify-expr. * calc/calc-units.el (math-simplify-expr): Declare it. Replace argument expr in all calls of math-defsimplify by math-simplify-expr. (math-simplify-units-prod): Replace variable expr by declared variable math-simplify-expr. 2004-11-17 Stefan Monnier * buff-menu.el (list-buffers-noselect): Massage to fit in 80 columns. Replace mapcar->dolist, format->string. 2004-11-17 Miles Bader * progmodes/idlw-shell.el, progmodes/idlw-toolbar.el * progmodes/idlwave.el: Remove RCS keywords. 2004-11-17 J.D. Smith * progmodes/idlwave.el, progmodes/idlw-toolbar.el * progmodes/idlw-shell.el, progmodes/idlw-rinfo.el: Update to IDLWAVE version 5.5. Too many changes to list them here. * progmodes/idlw-help.el: New file. 2004-11-16 Richard M. Stallman * international/iso-cvt.el (iso-tex2iso-trans-tab): Discard spaces after \i according to TeX rules. * international/mule.el (set-buffer-file-coding-system): New arg NOMODIFY. (after-insert-file-set-coding): Pass that new arg. Prevent set-buffer-multibyte from trying to lock the file. * buff-menu.el (list-buffers-noselect): New arg BUFFER-LIST. * saveplace.el (save-place): Doc fix. * dabbrev.el (dabbrev-expand): When handling SPC M-/, temporarily widen before finding the following word to copy. * emacs-lisp/lucid.el (map-keymap): Definition deleted. (cl-map-keymap): Definition deleted. * subr.el (map-keymap-internal): New function. 2004-11-16 Stefan Monnier * textmodes/flyspell.el (flyspell-mouse-map): Pop the menu when pressing rather than when releasing mouse-2. Simplify. 2004-11-15 Stefan Monnier * progmodes/compile.el (compilation-setup): Don't set buffer-read-only. (compilation-mode): Set it here instead. * emacs-lisp/cl-compat.el (pair-with-newsyms): Use make-symbol. * emacs-lisp/cl-macs.el: Use make-symbol rather than gensym. (loop, cl-parse-loop-clause, defsetf): Use backquote. 2004-11-14 Stefan Monnier * progmodes/compile.el (compilation-internal-error-properties): Fix up a transposition-typo. Check end-col before using it. 2004-11-14 Frederic Han (tiny change) * international/iso-cvt.el (iso-tex2iso-trans-tab): Discard whitespace after macro \i when converting it. 2004-11-16 Juri Linkov * emacs-lisp/find-func.el (find-function-regexp): Optimize `define-minor-mode'. Add `defun-cvs-mode'. Add `deffoo'. Add `f' to [^cgv] to exclude `defface'. Remove invalid `\W' from [^cgv\W]. Doc fix. (find-function-search-for-symbol): Replace "\\>" with "\\_>". 2004-11-15 Luc Teirlinck * play/life.el: Maintainer is now FSF. (life-patterns, life-neighbor-deltas, life-window-start) (life-current-generation, life-generation-string): Use defvar instead of defconst. 2004-11-15 Stefan Monnier * progmodes/compile.el (compilation-move-to-column): New fun. (compilation-internal-error-properties) (compilation-next-error-function): Use it to make sure we don't go past the end of line. 2004-11-15 John Paul Wallington * autoinsert.el (auto-insert-alist): Insert the user's name in copyright notice, rather than Free Software Foundation, for the Emacs Lisp header case too. 2004-11-15 Vinicius Jose Latorre * printing.el (pr-ps-file-print, pr-toggle-duplex): Fix typos. Reported by Glenn Morris . (pr-switches-string): If SWITCHES is nil, return nil. Otherwise, return the list of string in a string. (pr-call-process): Message if calling process returns an error, that is, the exit status is different of zero. 2004-11-15 Jay Belanger * calc/calcalg2.el (math-integrate-by-parts): Remove unused variable var-thing. (math-integ-depth, math-integ-level, math-integral-limit) (math-enable-subst, math-any-substs, math-integ-msg) (math-prev-parts-v, math-good-parts, math-max-integral-limit) (math-int-threshold, math-int-factors, math-double-roots) (math-solve-simplifying, var-IntegLimit, math-solve-sign) (var-GenCount): Declare these variables. (calcFunc-integ): Don't check if var-IntegLimit is bound. (math-integral-cache, math-integral-cache-state): Move declarations to earlier in the file. (math-deriv-var, math-deriv-total, math-deriv-symb) (math-cur-record, math-has-rules, math-t1, math-t2, math-t3) (math-so-far, math-integ-expr, math-expr-parts, calc-low) (calc-high, math-solve-var, math-solve-full, math-solve-vars) (math-try-solve-sign, math-solve-b, math-solve-system-vv) (math-solve-res): New variables (math-derivative, calcFunc-deriv, calcFunc-tderiv) (math-integral, math-replace-integral-parts) (math-integrate-by-parts, calc-dump-integral-cache) (math-try-integral, math-do-integral, math-do-integral) (math-do-integral-methods, math-try-solve-for) (math-try-solve-prod, math-solve-poly-funny-powers) (math-solve-crunch-poly, math-decompose-poly) (math-solve-find-root-term, math-find-root-in-prod) (math-integ-try-linear-substitutions) (math-integ-try-substitutions, math-expr-rational-in) (math-expr-rational-in-rec, calcFunc-table, math-scan-for-limits) (math-solve-prod, math-solve-quartic, math-poly-all-roots) (math-solve-for, math-solve-system, math-solve-system-rec) (math-solve-get-sign, math-solve-get-int) (math-solve-system-subst): Replace undeclared variables with newly declared variables. 2004-11-14 Stefan Monnier * winner.el (winner-active-region, winner-edges, winner-window-list): Define at toplevel. (winner-mode-map): Move init inside declaration. 2004-11-14 Luc Teirlinck * files.el (convert-standard-filename): Doc fix. 2004-11-14 Daniel Pfeiffer * files.el (auto-mode-alist): Handle .gtkrc, and under /etc passwd, group, shadow, default/* and pam.d/*. 2004-11-14 Vinicius Jose Latorre * printing.el (pr-menu-spec): Adjust menu specification. 2004-11-13 Vinicius Jose Latorre * printing.el: Doc fix. Insert :version tag into all defcustom. Handle interactive-p as is recommended in Emacs Lisp Reference. Set the file permission bits for newly created files. Reported by Glenn Morris . The printing menu specification (in `pr-menu-spec') was merged. Suggested by Stefan Monnier . (pr-version): New version number (6.8.3). (pr-file-modes): New option. (pr-interactive-p): New var. (pr-save-interactive, pr-save-file-modes): New macros. (pr-setup): Code fix. (pr-menu-spec): Menu specification merged. (pr-call-process, pr-text2ps): Set file permission bits. (pr-despool-print): Set file permission bits. Handle interactive-p as is recommended. (pr-interface, pr-ps-directory-preview) (pr-ps-directory-using-ghostscript, pr-ps-directory-print) (pr-ps-directory-ps-print, pr-ps-buffer-preview) (pr-ps-buffer-using-ghostscript, pr-ps-buffer-print) (pr-ps-buffer-ps-print, pr-ps-region-preview) (pr-ps-region-using-ghostscript, pr-ps-region-print) (pr-ps-region-ps-print, pr-ps-mode-preview) (pr-ps-mode-using-ghostscript, pr-ps-mode-print, pr-ps-mode-ps-print) (pr-printify-directory, pr-txt-directory, pr-despool-preview) (pr-despool-using-ghostscript, pr-despool-ps-print) (pr-ps-file-up-preview, pr-ps-file-using-ghostscript) (pr-ps-file-up-ps-print, pr-toggle-file-duplex, pr-toggle-file-tumble) (pr-toggle-file-landscape, pr-toggle-ghostscript, pr-toggle-faces) (pr-toggle-spool, pr-toggle-duplex, pr-toggle-tumble) (pr-toggle-landscape, pr-toggle-upside-down, pr-toggle-line) (pr-toggle-zebra, pr-toggle-header, pr-toggle-header-frame) (pr-toggle-lock, pr-toggle-region, pr-toggle-mode, pr-ps-name) (pr-txt-name, pr-ps-utility, pr-ps-fast-fire, pr-txt-fast-fire) (pr-menu-lock, pr-update-menus, pr-ps-utility-args) (pr-set-outfilename, pr-interface-ps-print, pr-interface-preview): Handle interactive-p as is recommended. 2004-11-13 Stefan Monnier * emacs-lisp/byte-opt.el (byte-optimize-inline-handler): Simplify. (byte-decompile-bytecode-1): Remove unused vars `tag' and `retcount'. * font-lock.el (font-lock-fontify-syntactically-region): Fix last fix so it doesn't forget to highlight the beginning of the region either. 2004-11-13 Daniel Pfeiffer * progmodes/cc-mode.el (c-basic-common-initc-font-lock-init) (c-font-lock-init): Eliminate obsolete make-local-hook. (c-mode, c++-mode, objc-mode, java-mode, idl-mode, pike-mode) (awk-mode): Use run-mode-hooks. * progmodes/cperl-mode.el (cperl-mode): Use run-mode-hooks. 2004-11-13 Kim F. Storm * mouse.el (mouse-drag-copy-region): Add :version. (mouse-drag-mode-line-1): Let bind mouse-autoselect-window to nil while dragging mode line, so mode line can be dragged downwards. (mouse-drag-region-1): Let bind make-cursor-line-fully-visible while pressing mouse button so window doesn't scroll until we release the mouse if clicking on partially visible line. 2004-11-12 Jay Belanger * calc/calc-graph.el (calc-dumb-map): Declare it. (calc-graph-show-dumb): Check if calc-dumb-map is non-nil rather than unbound. (calc-graph-name): Made `end' a local variable. (calc-graph-lookup): Made `varname' a local variable. (var-DUMMY, var-DUMMY2, var-PlotRejects, calc-gnuplot-trail-mark): Declare them. (calc-graph-format-data): Don't check if var-PlotRejects is bound. (calc-graph-plot, calc-graph-compute-3d): Remove references to the unused variable y3vec. (calc-graph-show-dumb): Remove reference to unused variable found-pt. (calc-graph-kill-hook, calc-graph-plot): Remove reference to calc-graph-prev-kill-hook. (calc-graph-yvalue, calc-graph-yvec, calc-graph-numsteps) (calc-graph-numsteps3, calc-graph-xvalue, calc-graph-xvec) (calc-graph-xname, calc-graph-yname, calc-graph-xstep) (calc-graph-ycache, calc-graph-ycacheptr, calc-graph-refine) (calc-graph-keep-file, calc-graph-xval, calc-graph-xlow) (calc-graph-xhigh, calc-graph-yval, calc-graph-yp, calc-graph-xp) (calc-graph-zp, calc-graph-yvector, calc-graph-resolution) (calc-graph-y3value, calc-graph-y3name) (calc-graph-y3step, calc-graph-y3step, calc-graph-zval) (calc-graph-stepcount, calc-graph-is-splot) (calc-graph-surprise-splot, calc-graph-blank) (calc-graph-non-blank, calc-graph-curve-num): New variables. (calc-graph-plot, calc-graph-compute-2d, calc-graph-refine-2d) (calc-graph-recompute-2d, calc-graph-compute-3d) (calc-graph-format-data): Replace undeclared variables with the above newly declared variables. 2004-11-12 Diane Murray (tiny change) * mail/rmail.el (rmail-get-new-mail): Use the renamed variables `rsf-beep' and `rsf-sleep-after-message'. * mail/rmail-spam-filter.el (rmail-spam-filter): Only check white list if `message-sender' is non-nil. 2004-11-12 Kevin Rodgers (tiny change) * desktop.el (desktop-create-buffer, desktop-save): Avoid some consing by using mapc instead of mapcar. 2004-11-12 Nick Roberts * tooltip.el (require): Explain why CL is needed. 2004-11-11 Vinicius Jose Latorre * printing.el: Insert :version into defgroup (printing). All reference to Files option in menubar were changed to File. (pr-version): New version number (6.8.2). (pr-get-symbol): Call easy-menu-intern. (pr-region-active-p): Now is a fun (it was defsubst). To avoid compilation gripes. 2004-11-11 Stefan Monnier * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Understand the new byte-compile-function-environment binding to t. * font-lock.el (font-lock-fontify-syntactically-region): Don't forget to highlight the last char when we hit `end'. * mwheel.el (mouse-wheel-progressive-speed): Fix typo in name. (mwheel-scroll): Adjust accordingly. * cvs-status.el: Reduce spurious warnings. (cvs-status-checkout): Remove. (cvs-status-mode-map): Use cvs-mode-checkout instead. * pcvs.el (cvs-mode-checkout): New command. * international/iso-cvt.el (iso-cvt-define-menu): Fix typo. * tooltip.el: Require CL. * emacs-lisp/bytecomp.el: Use push. (byte-compile-file-form-defalias): Rename from byte-compile-defalias. (defalias): Remove the `byte-compile' property and add a `byte-hunk-handler'. 2004-11-11 Juri Linkov * info.el (Info-search): Save match data for isearch. Skip Tag Table node. * descr-text.el (describe-char): Replace syntax-after with code from its previous version. * files.el (magic-mode-alist): Use optimization for SGML mode too. (set-auto-mode): Doc fix. Remove unused variable `xml'. * international/mule.el (sgml-html-meta-auto-coding-function): Remove > after * calc/calc-comb.el (math-prime-factors-finished): Declare it as a variable. (calcFunc-dfac): Replace unbound max by n. (math-stirling-local-cache): New variable. (math-stirling-number, math-stirling-1, math-stirling-2): Replace the variable `cache' by the declared variable math-stirling-local-cache. (var-RandSeed): Declare it as a variable. (math-init-random-base, math-random-digit): Don't check to see if var-RandSeed is bound. (math-random-cache, math-gaussian-cache, calc-verbose-nextprime): Declare them instead of just setting them. (math-init-random-base): Made i a local variable. (math-random-digit): Made math-random-last a local variable. (math-prime-test-cache): Move declaration to before it is used. (math-prime-test-cache-k, math-prime-test-cache-q) (math-prime-test-cache-nm1, math-prime-factors-finished): Declare them as variables. 2004-11-11 Jay Belanger * calc/calc-ext.el (math-defcache): Use defvar for the new variables it creates. 2004-11-11 Lars Hansen * desktop.el (desktop-buffer-mode-handlers, desktop-after-read-hook) (desktop-clear-preserve-buffers-regexp, desktop-file-name-format) (desktop-globals-to-clear, desktop-no-desktop-file-hook, desktop-path) (desktop-save): Add :version. 2004-11-11 Stefan Monnier * printing.el (pr-get-symbol): Don't downcase. 2004-11-10 Jay Belanger * calc/calc-aent.el (calc-do-quick-calc): Use kill-new to append string to kill-ring. * calc/calc-aent.el (calc-alg-exp, math-toks) (math-exp-pos,math-exp-old-pos, math-exp-token) (math-exp-keep-spaces, math-exp-str): New variables. (calc-do-alg-entry, calcAlg-equals, calcAlg-edit) (calcAlg-enter): Use declared variable calc-alg-exp. (math-build-parse-table, math-find-user-token): Use declared variable math-toks. (math-read-exprs, math-read-token, calc-check-user-syntax) (calc-match-user-syntax, match-factor-after, math-read-factor): Use declared variables math-exp-pos math-exp-old-pos. (math-read-exprs, math-read-token, math-read-expr-level) (calc-check-user-syntax, calc-match-user-syntax) (match-factor-after, math-read-factor): Use declared variable math-exp-token. (math-read-exprs, math-read-expr-list, math-read-token) (math-read-factor): Use declared variable math-exp-keep-spaces. (math-read-exprs, math-read-token): Use declared variable math-exp-str. (calc-match-user-syntax): Make m a local variable. * calc/calc-ext.el (math-read-expr): Use declared variables math-exp-pos, math-exp-old-pos, math-exp-str, math-exp-token, math-exp-keep-spaces. * calc/calc-forms.el (math-read-angle-bracket): Use declared variables math-exp-pos, math-exp-str. * calc/calc-lang.el (math-parse-tex-sum): Use declared variable math-exp-old-pos. (math-parse-fortran-vector, math-parse-fortran-vector-end) (math-parse-eqn-prime): Use declared variable math-exp-token. * calc/calc-vec.el (math-read-brackets, math-check-for-commas): Use declared variable math-exp-pos. (math-check-for-commas): Use declared variable math-exp-str. (math-read-brackets): Use declared variables math-exp-old-pos, math-exp-keep-spaces. (math-read-brackets, math-read-vector, math-read-matrix): Use declared variable math-exp-token. 2004-11-10 Stefan Monnier * emacs-lisp/easymenu.el (easy-menu-define-key): Understand the case where the keymap is a symbol. (easy-menu-add-item): Use keymap-prompt. Simplify. * files.el (magic-mode-alist): Reduce backtracking in the HTML regexp. * textmodes/sgml-mode.el (sgml-tag-text-p): New fun. (sgml-parse-tag-backward): Use it to skip spurious < or >. 2004-11-10 Thien-Thi Nguyen * ebuff-menu.el: Doc fixes throughout. (electric-buffer-menu-mode-hook): New defvar. 2004-11-10 Nick Roberts * tooltip.el: Don't require cl, comint, gud, gdb-ui for compilation. The resulting compiler warnings appear to be harmless. 2004-11-10 Daniel Pfeiffer * textmodes/conf-mode.el: New file. * files.el (auto-mode-alist, magic-mode-alist): Use it. 2004-11-09 Stefan Monnier * international/iso-cvt.el (iso-cvt-define-menu): Clean up namespace. 2004-11-09 Jay Belanger * calc/calc-ext.el (calc-init-extensions): Remove old code. * calc/calc-ext.el (math-expr-data, math-mt-many, math-mt-func) (calc-z-prefix-buf, calc-z-prefix-msgs): New variables. (calc-z-prefix-help, calc-user-function-list): Use declared variables calc-z-prefix-buf, calc-z-prefix-msgs. (math-map-tree, math-map-tree-rec): Use declared variables math-mt-many, math-mt-func. (math-read-expression, math-read-string): Use declared variable math-expr-data. * calc/calc-ext.el (math-normalize-nonstandard): Use declared variable math-normalize-a. * calc/calc.el (math-normalize-a): New variable. (math-normalize): Use declared variable math-normalize-a. * calc/calc-poly.el (math-expand-form): Use declared variable math-mt-many. * calc/calc-rewr.el (math-rewrite, math-rewrite-phase): Use declared variable math-mt-many. (math-rewrite): Use declared variable math-mt-func. * calc/calc-vec.el (math-read-brackets, math-read-vector) (math-read-matrix): Use declared variable math-expr-data. * calc/calc-lang.el (math-parse-fortran-vector) (math-parse-fortran-vector-end, math-parse-tex-sum) (math-parse-eqn-matrix, math-parse-eqn-prime) (math-read-math-subscr): Use declared variable math-expr-data. * calc/calc-aent.el (math-read-exprs, math-read-expr-list) (math-read-expr-level, math-read-token, calc-check-user-syntax) (calc-match-user-syntax, math-read-if, math-factor-after) (math-read-factor): Use declared variable math-expr-data. 2004-11-09 Glenn Morris * calendar/diary-lib.el (diary-from-outlook) (diary-from-outlook-gnus, diary-from-outlook-rmail): Do not use interactive-p; but rather new optional argument NOCONFIRM. 2004-11-09 Stefan Monnier * emacs-lisp/easymenu.el (easy-menu-intern): Revert to no-downcasing. (easy-menu-name-match): Revert correspondingly. 2004-11-09 Richard M. Stallman * emacs-lisp/bytecomp.el (byte-compile-defalias): Turn off warnings for the new function even if definition not constant. If the definition isn't a quoted symbol, record (FUNCTION . t). (byte-compile-function-environment): Now allow (FUNCTION . t) as elt. (byte-compile-callargs-warn): Handle (FUNCTION . t). (display-call-tree, byte-compile-arglist-warn): Handle t returned by byte-compile-fdefinition. 2004-11-09 Jan Dj,Ad(Brv * Makefile.in (maintainer-clean): Depend on distclean. * help-fns.el (help-C-file-name): File name must be in build-files to be returned. 2004-11-09 Jay Belanger * calc/calc.el (calc-mode-hook, calc-trail-mode-hook) (calc-start-hook, calc-end-hook, calc-load-hook): New variables. * calc/calc.el (calc, calc-trail-display, calc-mode): Remove obsolete sections. * calc/calc.el (calc-x-paste-text): Remove. * calc/calc-ext.el (calc-init-extensions): Bind calc-yank to mouse-2. 2004-11-09 Nick Roberts * progmodes/gdb-ui.el (gdb-current-stack-level): New variable. (gdb-info-frames-custom, gdb-frame-handler): Use it to find current frame (in case of recursive calls). (gdb-show-changed-values): Add :version keyword. 2004-11-09 Kenichi Handa * international/mule-cmds.el: Change coding: tag back to iso-2022-7bit. 2004-11-08 Stefan Monnier * international/mule-cmds.el: Change coding-system to utf-8. (select-safe-coding-system-interactively): New function extracted from select-safe-coding-system. (select-safe-coding-system): Use it. 2004-11-08 Richard M. Stallman * subr.el (syntax-after): Doc fix. * paren.el (show-paren-function): Change calls to syntax-after for new way of returning the value. * menu-bar.el (menu-bar-file-menu): Make this the real name and menu-bar-files-menu the alias. Use the former. (global-map): Use `file', not `files', as the symbol. * info.el (Info-revert-find-node): Don't use beginning-of-buffer. * filesets.el (filesets-spawn-external-viewer, filesets-run-cmd): Don't use beginning-of-buffer. (filesets-cmd-show-result): Use with-no-warnings. 2004-11-08 Juri Linkov * progmodes/compile.el (compile): Don't overwrite last command in minibuffer history with default command if they are not equal. 2004-11-08 Jay Belanger * calc/calcalg2.el (math-do-integral-methods): Try linear then non-linear substitutions. 2004-11-08 Jay Belanger * calc/calcalg2.el (math-linear-subst-tried): New variable. (math-do-integral): Set `math-linear-subst-tried' to nil. (math-do-integral-methods): Use `math-linear-subst-tried' to determine what type of substitution to try. (math-integ-try-linear-substituion): Set `math-linear-subst-tried' to t. 2004-11-08 Kim F. Storm * Makefile.in (bootstrap-clean): New target for 'make bootstrap'. 2004-11-07 Juri Linkov * info-look.el (info-lookup): Allow reusing in the current buffer not only *info* buffer, but all (even renamed) Info buffers by checking for major-mode instead of *info* buffer name. (c-mode, autoconf-mode, emacs-lisp-mode, scheme-mode) (octave-mode, maxima-mode) : Allow long dashes generated by Texinfo 4.7 before definitions. (texinfo-mode) : Add space to suffix to find command definitions with argument separated by space. 2004-11-06 Richard M. Stallman * simple.el (next-error group, face): Move before first use. (next-error-highlight, next-error-highlight-no-select): Likewise. * simple.el (line-move-invisible-p): Rename from line-move-invisible. (line-move): New args NOERROR and TO-END. Return t if succeed in moving specified number of lines. (move-end-of-line): New function. * simple.el (beginning-of-buffer-other-window): Use with-no-warnings. (end-of-buffer-other-window): Likewise. * simple.el (line-move-ignore-invisible): Default to t. * subr.el (syntax-after): Return the syntax letter, not the raw code. * emacs-lisp/elp.el (elp-results): Delete wasteful beginning-of-buffer. * international/iso-cvt.el (iso-cvt-define-menu): Rename menu-bar-files-menu to menu-bar-file-menu. * net/browse-url.el (browse-url-gnome-moz-program) (browse-url-gnome-moz-arguments): Move up before first use. * net/tramp.el (tramp group): Add :version. * progmodes/ada-xref.el (ada-gdb-application): Use goto-char instead of beginning-of-buffer. * progmodes/cperl-mode.el (cperl-info-on-command): Use goto-char instead of beginning-of-buffer. * progmodes/idlw-shell.el (idlwave-shell-examine-map): Move up before first use. (idlwave-shell-temp-pro-file): Likewise. (idlwave-shell-temp-rinfo-save-file): Likewise. (idlwave-shell-temp-file): Minor doc fix. * textmodes/flyspell.el (flyspell-external-point-words): Use goto-char instead of beginning-of-buffer. 2004-11-06 Kai Grossjohann * net/tramp.el (tramp-coding-commands): Additionally try "uudecode -o /dev/stdout" before trying "uudecode -o -". Suggested by Han Boetes. (tramp-uudecode): Mention `uudecode -o /dev/stdout'. 2004-11-06 David Ponce * recentf.el (recentf-menu-path): Use menu item name. 2004-11-06 Eli Zaretskii * progmodes/gdb-ui.el: Don't call define-fringe-bitmap if the display doesn't support images. 2004-11-06 Andreas Schwab * tempo.el (tempo-match-finder): Doc fix. * emacs-lisp/easymenu.el (easy-menu-get-map): Fix last change. 2004-11-06 Stefan Monnier * emacs-lisp/easymenu.el (easy-menu-get-map-look-for-name): Remove. (easy-menu-lookup-name): New fun to replace it. (easy-menu-get-map): Use it to obey menu item names (rather than just keys) when looking up `path'. (easy-menu-always-true-p): Rename from easy-menu-always-true. (easy-menu-convert-item-1): Adjust to new name. 2004-11-06 Peter Heslin (tiny change) * outline.el (hide-body): Don't hide lines at the top of the file that precede the first header line. 2004-11-06 Paul Pogonyshev * align.el (align-areas): Delete whitespace before reindenting, so that tabs are never placed after spaces. 2004-11-06 Alan Shutko * macros.el (insert-kbd-macro): Do completions based on macros, rather than all commands. 2004-11-06 David Hansen (tiny change) * tempo.el (tempo-match-finder): Use [:word:] instead of "^\\b", to solve a bug whereby tags with 'b' don't match. 2004-11-05 Juri Linkov * info.el (Info-search): Don't search in node header lines and file headers. * emacs-lisp/edebug.el (edebug-next-token-class): Allow all symbol-constituent characters after dot, not only digits. 2004-11-04 Daniel Pfeiffer * files.el (set-auto-mode): Don't get error after setting -*-mode-*-. 2004-11-04 Jan Dj,Ad(Brv * dired.el (dired-read-dir-and-switches): Call read-directory-name if a dialog will be used, read-file-name otherwise. 2004-11-04 Richard M. Stallman * textmodes/table.el (table group): Add :version. * textmodes/ispell.el (ispell-word): Don't alter args; set them only thru `interactive' spec. * textmodes/flyspell.el (flyspell-word): Don't alter FOLLOWING; set it only thru `interactive' spec. * progmodes/f90.el (f90-end-of-block): Don't use interactive-p. * net/browse-url.el (browse-url-maybe-new-window): Use called-interactively-p. * mail/supercite.el (sc-cite-region): Don't use interactive-p. Add arg INTERACTIVE. (sc-version): Don't use interactive-p. Rename arg to MESSAGE. * international/mule-cmds.el (set-input-method, toggle-input-method): Don't use interactive-p. Add arg INTERACTIVE. * eshell/esh-mode.el (eshell-show-maximum-output): Don't use interactive-p. (eshell-truncate-buffer): Just message, no error, if buffer is short. * mouse.el (mouse-show-mark): Get positions to delete from mark and point, not from mouse-drag-overlay. * imenu.el (imenu-eager-completion-buffer): Add :version. * filesets.el (filesets group): Add :version. 2004-11-03 Daniel Pfeiffer * files.el (xml-based-modes): Delete var. (magic-mode-alist): New more general var. (set-auto-mode): Use it. * buff-menu.el (Buffer-menu-make-sort-button): Preserve point even when clicking from another window. 2004-11-03 Thien-Thi Nguyen * vc-cvs.el (vc-cvs-local-month-numbers): Delete var. (vc-cvs-annotate-time): Incorporate value of deleted var. Remove special-case handling of beginning-of-buffer cruft. Cache ending position (point) and return value in text property `vc-cvs-annotate-time', and consult it on subsequent invocations. * vc-cvs.el (vc-cvs-annotate-command): Delete extraneous lines from beginning of buffer. * vc-mcvs.el (vc-mcvs-annotate-command): Likewise. * progmodes/grep.el (grep-default-command): Take empty string for tag if all other methods yield nil. Shell-quote the tag. * vc.el (vc-annotate-display-autoscale): Add prefix-arg spec in `interactive' form, and mention it in the docstring. Also, make sure point is at bol after calling `annotate-time'. 2004-11-02 Richard M. Stallman * cus-edit.el (customize-group-other-window): Select the window that displays the custom buffer. (custom-buffer-create-other-window): Likewise. * comint.el (comint-insert-input): Fix previous change. * emacs-lisp/elp.el (elp-instrument-function): Use called-interactively-p. * emacs-lisp/easymenu.el (easy-menu-intern): Don't downcase; rather, case-flip the first letter of each word. * emacs-lisp/easy-mmode.el (define-minor-mode): Use called-interactively-p. * emacs-lisp/bytecomp.el (byte-compile-warning-types): Add interactive-only. (byte-compile-warnings): Add interactive-only as option. (byte-compile-interactive-only-functions): New variable. (byte-compile-form): Warn about calls to functions in byte-compile-interactive-only-functions. * emacs-lisp/autoload.el (update-file-autoloads): Don't use interactive-p; take new arg SAVE-AFTER. * emacs-lisp/advice.el (ad-make-advised-definition): Use called-interactively-p. 2004-11-02 Jan Dj,Ad(Brv * files.el (find-file-existing): New function. * menu-bar.el (menu-bar-files-menu): Make "Open File..." call find-file-existing. Add "New File..." that calls find-file. * diropen.pbm, diropen.xpm: New files. * toolbar/tool-bar.el (tool-bar-setup): Tool bar item dired uses icon diropen. New tool bar item find-file-existing uses icon open. * dired.el (dired-read-dir-and-switches): Call read-directory-name instead of read-file-name. 2004-11-02 Ulf Jasper * calendar/icalendar.el (icalendar-version): Increase to 0.08. (icalendar--split-value): Change name of work buffer. (icalendar--get-weekday-abbrev): Return nil on error. (icalendar--date-to-isodate): New function. (icalendar-convert-diary-to-ical) (icalendar-extract-ical-from-buffer): Use only two args for make-obsolete (XEmacs compatibility). (icalendar-export-file, icalendar-import-file): Blank at end of prompt. (icalendar-export-region): Doc fix. If error, return non-nil and write errors to a buffer. Use correct weekday for weekly recurring events. Check whether date has been parsed for ordinary events. Make weekly events start in the year 2000. DTEND is non-inclusive, shift end date by one day if necessary (not for entries that have date and time). Rename local let variables: oops -> found-error, datestring -> startdatestring. 2004-11-02 Kim F. Storm * files.el (set-auto-mode-0): Don't rely on dynamic binding of keep-mode-if-same variable. Add it as optional arg instead. (set-auto-mode): Call set-auto-mode-0 with keep-mode-if-same. * ehelp.el (electric-help-map): Reorder Q/q and R/r entries so substitute-command-keys will select lower-case bindings like those used in the static help texts. * descr-text.el (describe-text-properties): Don't err if called in the *Help* buffer; output to *Help-2* buffer instead. * kmacro.el (group kmacro): Add :version. (kmacro-keyboard-quit): New function to cleanup on C-g. (kmacro-start-macro): Set defining-kbd-macro to append when appending to last macro. * simple.el (keyboard-quit): Call kmacro-keyboard-quit. 2004-11-02 Nick Roberts * progmodes/gdb-ui.el (gdb-enable-debug-log) (gdb-use-inferior-io-buffer, gdb-use-colon-colon-notation) (gud-gdba-command-name, gdb-show-main, gdb-many-windows): Add :version keyword. 2004-11-02 Pavel Kobiakov * progmodes/flymake.el (flymake-err-line-patterns): Use `flymake-reformat-err-line-patterns-from-compile-el' to convert `compilation-error-regexp-alist-alist' to internal Flymake format. * progmodes/flymake.el: Eliminate byte-compiler warnings. 2004-11-01 Jay Belanger * calc/calc-frac.el (calc-over-notation): Replace `completing-read' with `interactive "s"'. 2004-11-01 Jan Dj,Ad(Brv * mouse.el (mouse-yank-at-click, mouse-yank-secondary): Revert change from 2004-10-16. '*' checks the current buffer, but the mouse click may be in another buffer. 2004-11-01 John Paul Wallington * files.el (large-file-warning-threshold): Add :version keyword. (kill-some-buffers): Doc fix. * thumbs.el (group thumbs): Add :version keyword. * textmodes/bibtex.el (bibtex-make-field): Fix typo. 2004-11-01 Richard M. Stallman * textmodes/ispell.el (ispell-word): Don't use interactive-p. * textmodes/flyspell.el (flyspell-word): Don't use interactive-p. * allout.el (allout group): Add :version. (allout-init): Don't use interactive-p. (allout-ascend-to-depth, allout-ascend, allout-end-of-level) (allout-forward-current-level, allout-backward-current-level): Don't use interactive-p. * textmodes/bibtex.el (bibtex-make-field): Don't use interactive-p. (bibtex-find-text): Likewise. * progmodes/vhdl-mode.el (vhdl-fill-region) (vhdl-beginning-of-statement): Don't use interactive-p. * progmodes/idlwave.el (idlwave-update-routine-info): Don't use interactive-p. * progmodes/idlw-shell.el (idlwave-shell-send-char): Don't use interactive-p. * progmodes/cperl-mode.el (cperl-switch-to-doc-buffer): Don't use interactive-p. * progmodes/ada-xref.el (ada-make-body-gnatstub): Don't use interactive-p. * play/fortune.el (fortune-to-signature): Don't use interactive-p. (fortune-in-buffer): Doc fix. * play/5x5.el (5x5-new-game): Set up the buffer even if not interactive. * net/eudc.el (eudc-display-records): Use with-output-to-temp-buffer; don't select the temporary buffer. (eudc-get-email): New optional arg ERROR; don't use interactive-p. (eudc-get-phone): Likewise. 2004-11-01 Kim F. Storm * man.el (Man-xref-normal-file): Fix help-echo. 2004-10-31 Stefan Monnier * reveal.el (reveal-last-tick): New var. (reveal-post-command): Use it to avoid closing overlays when we're appending text to them. 2004-10-31 Roland Winkler * textmodes/bibtex.el: Require button. (bibtex-autokey-transcriptions): Translate TeX `\ ' to space. (bibtex-reference-keys): Distinguish between header keys and crossref keys. (bibtex-beginning-of-field): New function. (bibtex-url-map): Remove. (bibtex-font-lock-keywords): Use bibtex-font-lock-crossref. (bibtex-font-lock-url-regexp): Assume that field names begin at the beginning of a line. (bibtex-font-lock-url): Simplify. Do not use bibtex-enclosing-field. Remove field delimiters. Use bibtex-beginning-of-field. Bugfix, point can be inside a field with a url. (bibtex-font-lock-crossref, bibtex-button-action, bibtex-button): New functions. (bibtex-mark-active, bibtex-run-with-idle-timer): Remove. (bibtex-key-in-head): Simplify. (bibtex-current-line): Use bolp. (bibtex-parse-keys): Remove unused arg `add'. Use bibtex-type-in-head and bibtex-key-in-head. (bibtex-parse-entry, bibtex-autofill-entry): Use bibtex-type-in-head and bibtex-key-in-head. (bibtex-autokey-get-field): Do not alter case of replacement text. (bibtex-autokey-get-names): Do all processing of name list. (bibtex-autokey-get-year): New function. (bibtex-autokey-get-title): Do all processing of title words. (bibtex-generate-autokey): Simplify. (bibtex-string-files-init): Use default-directory. Allow for absolute file names in bibtex-string-files. (bibtex-files, bibtex-file-path): New variables. (bibtex-files-expand): New function. (bibtex-find-entry-globally): New command. (bibtex-summary-function): New variable. (bibtex-summary): Default value of bibtex-summary-function. (bibtex-find-crossref): New optional args pnt and split. (bibtex-complete-key-cleanup): Call bibtex-summary-function. (bibtex-copy-summary-as-kill): New command bound to C-cC-t. (bibtex-validate): Fix docstring. Check only abbreviated month fields. Fix handling of required and alternative fields. Identify duplicate keys even if bibtex-maintain-sorted-entries is nil. Use cons and display-buffer. (bibtex-validate-globally): New command. (bibtex-clean-entry): Use bibtex-files-expand. Do not call bibtex-parse-keys and bibtex-parse-strings for updating bibtex-reference-keys and bibtex-strings. (bibtex-realign): Remove blank lines past the last entry. (bibtex-reformat): Use bibtex-entry-format as default. (bibtex-choose-completion-string): Remove. (bibtex-complete): Do not use bibtex-choose-completion-string. (bibtex-url): Simplify. 2004-10-31 Jan Dj,Ad(Brv * x-dnd.el (x-dnd-test-function, x-dnd-protocol-alist) (x-dnd-types-alist, x-dnd-open-file-other-window) (x-dnd-known-types): Add :version. 2004-10-31 John Paul Wallington * ibuffer.el (group ibuffer): Add :version keyword. 2004-10-31 Kim F. Storm * ido.el (group ido): Add :version keyword. (ido-mode): Remove :version keyword. * emulation/cua-base.el (group cua): Add :version keyword. (cua-mode): Remove :version keyword. 2004-10-30 Luc Teirlinck * autorevert.el (auto-revert-tail-mode-text): Add :version keyword. * help-at-pt.el (help-at-pt-timer): Move defvar up to avoid compiler warning. (help-at-pt-timer-delay): Add :initialize keyword. Simplify :set function. (help-at-pt-display-when-idle): Remove autoload. 2004-10-30 Stefan Monnier * makefile.w32-in (custom-deps, autoloads): Fix *-hooks -> *-hook. 2004-10-30 Juri Linkov * help.el (function-called-at-point): * help-fns.el (variable-at-point): Read -> intern. 2004-10-30 Simon Josefsson * progmodes/autoconf.el (autoconf-font-lock-keywords): Recognize AS_* too. 2004-10-29 Simon Josefsson * subr.el (read-passwd): Move back from password.el. * password.el: Remove, not ready yet. 2004-10-29 Andreas Schwab * speedbar.el (speedbar-frame-parameters): Improve customize type. 2004-10-29 Sam Steingold * mouse.el (mouse-show-mark): Replace the last occurrence of x-lost-selection-hooks with x-lost-selection-functions. 2004-10-28 Stefan Monnier * mouse.el (mouse-show-mark): Adjust to new name and don't assume x-lost-selection-functions is bound. * mouse-sel.el (mouse-sel-mode): * emacs-lisp/lselect.el: Adjust to new names for x-(lost|sent)-selection-functions. * subr.el (x-lost-selection-hooks, x-sent-selection-hooks): New obsolete aliases of x-lost-selection-functions and x-sent-selection-functions. 2004-10-28 Kim F. Storm * imenu.el (imenu-scanning-message): Remove. (imenu-progress-message): Make it a no-op. 2004-10-28 John Paul Wallington * files.el (set-auto-mode): Call `throw' correctly. 2004-10-28 Juri Linkov * info.el (Info-file-list-for-emacs): Add ("Info" . "info") to search `Info-...' commands in `info' manual. (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node): Add 'info-file "emacs" property. (Info-find-emacs-command-nodes): Fix index line number regexp. Set real line number (instead of fake 0) in first element of the returned list. (Info-goto-emacs-command-node): Use line number of first element to set point in the first found Info node. * progmodes/grep.el (grep-regexp-alist): Move match highlighting code to `grep-mode-font-lock-keywords'. (grep-mode-font-lock-keywords): Delete grep markers instead of making them invisible. 2004-10-28 Jan Dj,Ad(Brv * mail/emacsbug.el (report-emacs-bug): Insert x-server-vendor and x-server-version in bug report. 2004-10-28 Daniel Pfeiffer * files.el (set-auto-mode-0): New function. (set-auto-mode): Use it to handle aliased modes and to be consistent between C-x C-f and C-x C-w. 2004-10-28 Kenichi Handa * international/utf-8.el (utf-translate-cjk-charsets): Add katakana-jisx0201. * international/subst-jis.el: Add data for JISX0201. 2004-10-27 Stefan Monnier * obsolete/hilit19.el (hilit-mode): New function. Move all the toplevel side-effecting stuff into it, so that loading hilit19 doesn't mess everything up any more. 2004-10-27 Richard M. Stallman * add-log.el (add-change-log-entry): Set up mailing address and full name later, and don't alter add-log-mailing-address or add-log-full-name. * elide-head.el (elide-head): Change error to message. (elide-head-show): Likewise. * apropos.el (apropos-macrop): Doc fix. * mouse.el (mouse-show-mark): Do most processing the same regardless of transient-mark-mode. * shadowfile.el (shadow-copy-files): Use interactive-p only to control whether to print a message. * tar-mode.el (tar-mode): Use write-contents-functions, not write-contents-hooks. * eshell/em-unix.el (eshell-du-sum-directory): Don't use directory-sep-char. 2004-10-27 Richard M. Stallman * strokes.el (strokes-unload-hook): Fix previous change. * type-break.el (type-break-run-at-time): Always use run-at-time; forget the alternatives. (type-break-cancel-function-timers): Always use cancel-function-timers; forget the alternatives. * pcomplete.el (pcomplete-entries): Don't use directory-sep-char. 2004-10-27 Kenichi Handa * international/subst-jis.el: Use utf-translate-cjk-substitutable-p. * international/subst-gb2312.el: Likewise. * international/subst-big5.el: Likewise. * international/subst-ksc.el: Likewise. * international/utf-8.el (utf-translate-cjk-unicode-range-string): New variable. (utf-translate-cjk-set-unicode-range): New function. (utf-translate-cjk-unicode-range): Make it customizable. (utf-8-post-read-conversion): Use utf-translate-cjk-unicode-range-string. (ccl-decode-mule-utf-8): Check utf-subst-table-for-decode for more Unicode ranges. 2004-10-26 Daniel Pfeiffer * files.el (auto-mode-alist): Add pod, js, xbm and xpm and group trivial variants to shorten the list. (xml-based-modes): New var. (set-auto-mode): Give interpreter-mode-alist or * calc/calc.el (calc,full-calc, calc-quit, calc-keypad) (full-calc-keypad, calc-trail-display): Use an extra argument instead of `interactive-p'. * calc/calc-misc.el (calc-other-window): Use an extra argument instead of `interactive-p'. * calc/calc-rewr.el (calc-match): Use an extra argument instead of `interactive-p'. 2004-10-26 Kim F. Storm * help.el (describe-key): Describe both down-event and up-event for a mouse click. 2004-10-26 Richard M. Stallman * woman.el (woman): Don't call interactive-p. * pcomplete.el (pcomplete): Instead of interactive-p, use an arg set non-nil by the interactive spec. * menu-bar.el (menu-bar-make-toggle): Instead of interactive-p, use an arg set non-nil by the interactive spec. * man.el (Man-cleanup-manpage): Instead of interactive-p, use an arg set non-nil by the interactive spec. 2004-10-26 Pavel Kobiakov * progmodes/flymake.el (flymake-split-string): Use `flymake-split-string-remove-empty-edges' in any case. 2004-10-26 Masatake YAMATO * progmodes/flymake.el (flymake-err-line-patterns): Use `compilation-error-regexp-alist-alist' instead of `compilation-error-regexp-alist'. 2004-10-25 Stefan Monnier * textmodes/tex-mode.el (tex-font-lock-keywords-1): Fix up the spurious verbatim face on the \ of \end{verbatim}. 2004-10-25 Jay Belanger * calc/calc-incom.el (calc-digit-dots): Inhibit read-only before erasing minibuffer. 2004-10-25 Simon Josefsson * subr.el (read-passwd): Move to net/password.el. * net/password.el (read-passwd): Add. Autoload it. 2004-10-25 Kai Grossjohann * mouse-sel.el (mouse-sel-mode): Specify custom group. * simple.el (process-file): Fix logic. 2004-10-24 Luc Teirlinck * indent.el (set-left-margin, set-right-margin): Delete redundant code. (increase-right-margin): Remove erroneous call to `interactive-p'. 2004-10-24 Kim F. Storm * help.el (describe-mode): Fix 2004-10-13 change. Copy pure "Auto Fill" string so it can be propertized later without causing a read-only error. 2004-10-24 Luc Teirlinck * info.el (Info-find-emacs-command-nodes): Adapt to Texinfo-4.7 style indexes. 2004-10-24 Kai Grossjohann * simple.el (process-file): Accept nil for INFILE. Reported by Luc Teirlinck. 2004-10-24 Masatake YAMATO * progmodes/gdb-ui.el (gdb-assembler-font-lock-keywords): Handle periods and underscores in a function name. Remove the address fontification. 2004-10-24 Masatake YAMATO * progmodes/asm-mode.el (asm-font-lock-keywords): Use font-lock-variable-name-face for registers. 2004-10-24 Nick Roberts * progmodes/gdb-ui.el (gdb-get-create-buffer): Allow modes to run kill-all-local-variables. (gdb-breakpoints-mode, gdb-frames-mode, gdb-threads-mode) (gdb-registers-mode, gdb-locals-mode, gdb-assembler-mode): Use kill-all-local-variables and provide mode-hooks. (gdb-assembler-font-lock-keywords): New font lock keywords definition. (gdb-assembler-mode): Use 'gdb-assembler-font-lock-keywords'. Suggested by Masatake YAMATO . 2004-10-23 Kai Grossjohann * simple.el (process-file): New function, similar to call-process but supports file handlers. * vc.el (vc-do-command): Use it, instead of call-process. * net/tramp-vc.el (vc-do-command): Do not advise it if process-file is fboundp. * net/tramp.el (tramp-file-name-handler-alist): Add entry for process-file. (tramp-handle-process-file): New function. (tramp-file-name-for-operation): Support process-file. 2004-10-23 Ulf Jasper * calendar/icalendar.el (icalendar--weekday-array): New constant. (icalendar-weekdayabbrev-table) (icalendar-monthnumber-table): Delete. (icalendar--get-month-number): Use calendar-month-name-array. (icalendar--get-weekday-number): New function. (icalendar--get-weekday-abbrev) Use calendar-day-name-array. (icalendar-export-region): Handle multi-line entries. (icalendar--convert-ical-to-diary): Use calendar-day-name-array. 2004-10-23 John Paul Wallington * ibuffer.el (ibuffer-find-file): Remove `in