2003-07-03 Martin Stjernholm * progmodes/cc-menus.el (cc-imenu-init): Do not set `imenu-create-index-function' if the second argument is left out. This bug broke the imenu support in C, C++ and Java modes. * progmodes/cc-engine.el, progmodes/cc-align.el (c-add-stmt-syntax, c-lineup-arglist) (c-lineup-arglist-close-under-paren): Fixes to cope with special brace lists in Pike. 2003-07-03 Alan Mackenzie * progmodes/cc-mode.el (awk-mode): Call c-awk-after-change to ensure syntax-table props at loading. * progmodes/cc-fonts.el: Put (cc-require-when-compile 'cc-awk) to eliminate compile-time errors. * progmodes/cc-awk.el, progmodes/cc-engine.el: Add code to analyze AWK top-level forms properly (c-guess-basic-syntax CASE 5P), c-awk-backward-syntactic-ws. 2003-07-03 Martin Stjernholm * progmodes/cc-fix.el: cc-mode-19.el has been renamed to progmodes/cc-fix.el since it now contains compatibility stuff for later versions than (X)Emacs 19. * progmodes/cc-langs.el (c-paren-nontype-kwds): New language constant. (c-other-decl-kwds, c-postfix-decl-spec-kwds): Add compiler specific declspec keywords: __attribute__ for gcc and __declspec for msvc. * progmodes/cc-fonts.el (c-font-lock-declarations) (c-complex-decl-matchers): Support specifiers in a couple more contexts to cope with msvc '__declspec'. * progmodes/cc-engine.el (c-forward-keyword-clause): Support `c-paren-nontype-kwds'. * progmodes/cc-langs.el (c-primary-expr-regexp): Don't match a bare period as a float. * progmodes/cc-bytecomp.el (cc-bytecomp-setup-environment): Do not cover functions that have been bound. (cc-external-require): New macro to use for requiring external packages, to handle the environment correctly. * progmodes/cc-defs.el, progmodes/cc-fix.el, progmodes/cc-fonts.el, progmodes/cc-mode.el: Replaced external require's with `cc-external-require'. * progmodes/cc-engine.el (c-beginning-of-member-init-list) (c-guess-basic-syntax): Fixes in handling of bitfields. * progmodes/cc-langs.el (comment-end): Put a space in front of the comment ender in C, as it was before the move from cc-mode.el. 2003-07-03 Alan Mackenzie * progmodes/cc-fonts.el: Do not load progmodes/cc-awk.elc or awk-font-lock-keywords unless there is an AWK Mode buffer. * progmodes/cc-awk.el: New file that implements AWK support, superseding the old separate derived mode in awk-mode.el. * progmodes/cc-vars.el, cc-mode-19.el, progmodes/cc-langs.el, * progmodes/cc-mode.el, progmodes/cc-defs.el, * progmodes/cc-engine.el, progmodes/cc-fonts.el: Changes for the new AWK support. 2003-07-03 Martin Stjernholm * progmodes/cc-engine.el, progmodes/cc-langs.el (c-decl-block-key, c-search-uplist-for-classkey): Check that the modifier is followed by "{" in Pike before considering it to start a class-like block. * progmodes/cc-mode.el (c-initialize-cc-mode): Add some compatibility to make this function behave somewhat more as documented for derived modes. It's still not enough to make the old AWK mode behave reasonably, but it's been like this a long time now so fixing it more might cause trouble elsewhere. :P * progmodes/cc-fonts.el (c-remove-font-lock-face): New macro to remove a font lock face properly (especially in XEmacs). * progmodes/cc-bytecomp.el (cc-bytecomp-obsolete-fun): Add the same kludge as in `cc-bytecomp-obsolete-var' to avoid a confused compiler warning. * progmodes/cc-engine.el (c-forward-type): Fix a bug in the handling of concatenated types when the component types are known. * progmodes/cc-fonts.el (c-constant-face-name): Add face name variable to avoid the use of `font-lock-constant-face' for constants in emacsen that doesn't have it. * progmodes/cc-styles.el, progmodes/cc-vars.el, * progmodes/cc-cmds.el: Fixes for the syntactic symbols for module and composition blocks. * progmodes/cc-mode.el (c-basic-common-init): Use `open-paren-in-column-0-is-defun-start' if it exists and works. * progmodes/cc-vars.el (c-emacs-features): Add `col-0-paren' to detect when `open-paren-in-column-0-is-defun-start' exists and actually works. * progmodes/cc-vars.el, progmodes/cc-langs.el (c-primitive-type-kwds, c-font-lock-extra-types): "complex" and "imaginary" aren't keywords in C99, only macros that expand to the keywords "_Complex" and "_Imaginary", so make the former a bit less hardcoded by putting it on `c-font-lock-extra-types' instead. There are also "bool" and "_Bool" that work the same way. (c-constant-kwds): "false" and "true" are standard constant macros in C99. * progmodes/cc-menus.el, progmodes/cc-langs.el, * progmodes/cc-engine.el, progmodes/cc-fonts.el, * progmodes/cc-cmds.el: Fixed various regexps to use POSIX char classes when that is supported. * progmodes/cc-defs.el (c-alpha, c-alnum, c-digit, c-upper, c-lower): New constants to make it easier to create regexps that use POSIX char classes in emacsen that support them. * progmodes/cc-vars.el (c-emacs-features): Detect in the regexp engine understands POSIX char classes. * progmodes/cc-mode.el (c-after-change): Add kludge for bug where this function sometimes gets positions outside the buffer range. * progmodes/cc-engine.el (c-beginning-of-member-init-list): Better handling of parentheses in unexpected places. * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Fix a regexp match order problem that could cause empty template args on the form "<>" to be missed. * progmodes/cc-engine.el (c-parse-state): Add kludge to avoid an infinite loop when Emacs' open-paren-in-column-zero rule kicks in and causes the sexp functions to misbehave. * progmodes/cc-engine.el (c-beginning-of-member-init-list): Fix bug when C++-like code is encountered in non-C++ mode. * progmodes/cc-defs.el (c-make-keywords-re): Add option to specify the language to look up `c-nonsymbol-key' in. * progmodes/cc-cmds.el, progmodes/cc-engine.el (c-auto-newline-analysis): New dynamically bound variable to turn off the topmost-intro-cont/statement-cont kludge for brace lists during the analysis for the auto newline feature. This fixes some cases where the setting for `brace-list-open' on `c-hanging-braces-alist' didn't have any effect. * progmodes/cc-langs.el (c-literal-start-regexp): Yet another language variable. * progmodes/cc-fonts.el (c-font-lock-doc-comments) (c-find-invalid-doc-markup, javadoc-font-lock-keywords): Fix fontification of the markup in Javadoc comments. * progmodes/cc-engine.el: Fixes in face handling to cope with doc comments. (c-find-decl-spots): More failsafe skipping of comments and strings that only have been partially fontified. * progmodes/cc-defs.el (c-got-face-at): New subst to test faces at positions easier. * progmodes/cc-defs.el (c-safe-scan-lists): New wrapper macro to avoid the warnings with too many args to `scan-lists' in Emacs. * progmodes/cc-engine.el (c-syntactic-skip-backward): New function to make syntactic searches in the backward direction easier. (c-beginning-of-statement-1): Optimize skipping over large paren sexps somewhat. (c-safe-position): Remove the odd macro handling which was centered around the point instead of the passed position. * progmodes/cc-engine.el (c-in-knr-argdecl): Do not trip up on initialization expressions. * progmodes/cc-align.el (c-lineup-arglist) (c-lineup-close-paren, c-lineup-arglist-close-under-paren): Tune the "macro block" heuristics to work better in nested arglist situations. * progmodes/cc-styles.el (c-set-offset): Don't find a default syntactic element through syntactic analysis if called outside a CC Mode buffer. * progmodes/cc-mode.el (c-basic-common-init): Install `c-fill-paragraph' on `fill-paragraph-function'. Although it's not the normal way to call it in a CC Mode buffer it makes a direct call to `fill-paragraph' work better. * progmodes/cc-vars.el, progmodes/cc-mode.el (c-require-final-newline): Make this variable an alist to specify a value for each language. The default value causes `require-final-newline' to be set to t only in languages where the standard requires a final newline. * progmodes/cc-mode.el, progmodes/cc-vars.el (c-require-final-newline): Add a variable to make the initialization of `require-final-newline' more configurable. * progmodes/cc-vars.el (c-mode-common-hook): Do not change the format string to "CC Mode Common Hook" since that causes confusion (although it is a more accurate name). * progmodes/cc-fonts.el (javadoc-font-lock-keywords) (autodoc-font-lock-keywords): Support for Javadoc and Pike Autodoc doc comments. * progmodes/cc-vars.el (c-doc-comment-style): New variable to control the fontification of documentation comments on top of the normal mode font lock. * progmodes/cc-langs.el, progmodes/cc-fonts.el (c-primary-expr-regexp, c-font-lock-declarations): Avoid false recognition of parens as casts when they are followed by an operator that is both prefix and infix. * progmodes/cc-cmds.el (c-guess-fill-prefix): Tune the heuristics of when to use `c-block-comment-prefix' for an unclosed block comment. * progmodes/cc-engine.el, progmodes/cc-langs.el (c-nonsymbol-sexp-kwds, c-forward-keyword-clause): Handle keywords like "extern" that can be followed by e.g. a string literal. * progmodes/cc-defs.el (c-make-keywords-re): Make a regexp correctly with one submatch when adorn is set and the list is empty. * progmodes/cc-fonts.el (c-font-lock-declarations): Fix a search that could go far past the relevant region and cause slowness. Do not limit the declaration detection to the fontified region since that can cause misfontification in multiline declarations. * progmodes/cc-engine.el (c-find-decl-spots): Add limit argument to handle declarations spanning the fontification limit better. * progmodes/cc-engine.el (c-in-literal, c-literal-limits) (c-literal-limits-fast, c-beginning-of-inheritance-list): Use the paren cache instead of the impaired ad hoc in `beginning-of-defun', so that these functions doesn't trip up on "{" in the first column inside strings or comments. * progmodes/cc-vars.el (c-hanging-braces-alist): Add `statement-cont' and made it auto newline free by default. * progmodes/cc-cmds.el (c-electric-brace): Add `statement-cont' to the list of syntactic symbols to consider for auto newlines since it can be used for in-statement brace lists. * progmodes/cc-vars.el (c-emacs-features): There's no need to have this constant autoloaded. * progmodes/cc-fonts.el (c-font-lock-declarations): Use `c-recognize-typeless-decls' to avoid fontifying some macro constructs as declarations in languages where a preceding type is mandatory. * progmodes/cc-langs.el (c-recognize-typeless-decls): New language variable. * progmodes/cc-align.el (c-lineup-close-paren): Use `c-syntactic-eol' when checking if the open paren ends its line. * progmodes/cc-langs.el (c-syntactic-eol): Handle a line continuation backslash. * progmodes/cc-align.el (c-snug-do-while): Compatibility fix for changed structure in `c-syntactic-context'. * progmodes/cc-engine.el (c-parse-state): Filter angle bracket arglist parens in a better way than disabling the syntax table properties completely. * progmodes/cc-fonts.el (c-cpp-matchers): Handle line continuations in cpp expressions. Do not fontify symbols after #ifdef etc as variables since that isn't consistent with how the face is used elsewhere (i.e. only for the definition of the symbol). * progmodes/cc-mode.el: Add autoload directives for the interface functions in cc-langs. * progmodes/cc-fonts.el (c-font-lock-declarations): Add a property to handle refontication in multiline declaration arglists better. (c-font-lock-<>-arglists): Fix to handle recursive template arglists better. (As a side effect this will make fontification work better in older emacsen too.) * progmodes/cc-engine.el (c-forward-<>-arglist) (c-remove-<>-arglist-properties): Use a common text property `c-type' for all sorts of CC Mode char classification, to avoid cases when then same char is given conflicting types. (c-forward-<>-arglist): New reparse argument to control that aspect explicitly. (c-forward-name, c-forward-type): Changes in the handling of recursive template arglists. Fixes to cope with the new 'known type classification. * progmodes/cc-mode.el (c-basic-common-init): Add the new char property `c-type' to `text-property-default-nonsticky'. * progmodes/cc-defs.el (c-put-char-property) (c-get-char-property, c-clear-char-property) (c-clear-char-properties): Generalize `c-put-char-syntax' and `c-get-char-syntax' to handle any property. * progmodes/cc-bytecomp.el (cc-bytecomp-defun): Fix bug that caused existing function definitions to be overridden by phonies when the bytecomp environment is restored. * progmodes/cc-cmds.el (c-mask-paragraph): Masking is necessary in normal code too to avoid getting a fill prefix from a nearby comment. Change the name from `c-mask-comment' to a more accurate one. * progmodes/cc-defs.el, progmodes/cc-mode.el: Change the auto-load-alist strategy to not add entries on package load, to be defensive in the case that autoloads are updated in older emacsen. The bug that would occur in that case would probably be rather nasty for the average user. * progmodes/cc-fonts.el (c-font-lock-declarations): Fine tuning of the decision tree that tells declarations from expressions to produce better results in some ambiguous cases. * progmodes/cc-fonts.el (c-font-lock-syntactic-face-function): Remove since it doesn't give the control we want. (c-font-lock-invalid-string): Replacement for `c-font-lock-syntactic-face-function' that puts the error face on the string opener only, to avoid the annoying excessive use of the error face while a string literal is being written. (c-basic-matchers-before): Use `c-font-lock-invalid-string'. * progmodes/cc-engine.el (c-string-syntax) (c-string-limit-regexp): Add constants to use when handling string limits, since not all old emacsen react well to the "|" syntax class. (c-literal-limits, c-literal-limits-fast, c-literal-type): Use `c-string-syntax' and `c-string-limit-regexp'. Replace some hardcoded comment start regexps with `c-comment-start-regexp'. * progmodes/cc-mode.el: Added an association for pike-mode on `interpreter-mode-alist'. * progmodes/cc-mode.el: Add the `auto-mode-alist' entries to the end instead of the start of the list, to avoid overriding user additions that are made before this file is loaded when the entries don't correspond to any already on `auto-mode-alist'. This is done through the third append argument to `add-to-alist'. That doesn't exist in older (X)Emacsen, so the function is advised in cc-defs. However, that advice doesn't help if the autoloads are updated in an old (X)Emacs with this version of CC Mode, but I believe it's unlikely that anyone does that when CC Mode isn't distributed with with it. * progmodes/cc-defs.el (add-to-list): Add advice to get the optional third append argument in older (X)Emacsen. * progmodes/cc-langs.el (c-keywords-obarray): Kludge for strange bug in Emacs that gives so odd errors that I frankly don't even muster to begin trying to narrow it down. If someone is so inclined, restore the commented code, byte compile, and try to open a C++ file or something in font lock mode. * progmodes/cc-langs.el: Update the IDL support from the specs. This also adds the keywords for the variants PSDL and CIDL. (This is mostly done from reading the grammars only; very lightly tested.) * progmodes/cc-langs.el (c-type-list-kwds): Add "new" in Java. * progmodes/cc-fonts.el: Make sure that `parse-sexp-lookup-properties' is properly insulated from clobbering by the font-lock package at all relevant entry points. * progmodes/cc-langs.el (c-opt-after-id-concat-key): New language constant to make the recognition of identifier qualifiers more flexible. Recognize the identifier before ".*" as a qualifier in Java. (c-identifier-key): Recognize "::*" inside identifiers in C++. Recognize identifiers ending with ".*" in Java for the sake of import directives. (c-type-list-kwds, c-ref-list-kwds): Recognize "import" and "package" declarations in Java. * progmodes/cc-vars.el (c-doc-face, c-doc-marker-face) (c-doc-markup-face): Remove since they aren't used (and probably won't be). * progmodes/cc-langs.el (c-ref-list-kwds): New language constant to specify keywords followed by references. (c-last-identifier-range): New variable to avoid going back to search for the identifier to font lock after a call to `c-forward-name'. (c-type-prefix-kwds, c-type-list-kwds): Fix classification of "@interface" etc in Objective-C. * progmodes/cc-engine.el (c-forward-keyword-clause): Fix handling of keyword prefixes in `c-type-list-kwds' and `c-colon-type-list-kwds' clauses. (c-keyword-sym, c-keyword-member): New functions to lookup and categorize keywords. (c-forward-keyword-clause): New function to move over a keyword and its associated clause according to `c-<>-arglist-kwds' etc. * progmodes/cc-langs.el (c-typeless-decl-kwds) (c-type-list-kwds, c-colon-type-list-kwds) (c-colon-type-list-re, c-paren-type-kwds): New language constants and variables to generalize the recognition of various language constructs. (c-keywords): Did away with the list of `*-kwds' constants. It's now built through macro expansion. (c-keywords-obarray): New language variable which contains each keyword as a symbol, to make fast reverse lookup of keywords to the `*-kwds' lists they come from. * progmodes/cc-defs.el (c-lang-defconst-eval-immediately): Add macro to be able to do direct evaluation in `c-lang-defconst' forms. * progmodes/cc-engine.el (c-syntactic-re-search-forward): Fix a bug which could cause the point to end up outside the containing sexp if PAREN-LEVEL was used. * progmodes/cc-engine.el, progmodes/cc-fonts.el, progmodes/cc-langs.el: Generalize the C++ template arglist support to handle angle bracket arglists in any language. (c-recognize-<>-arglists, c-<>-arglist-kwds) (c-opt-<>-arglist-start): New language variables to control angle bracket arglists. (c-opt-type-suffix-key): Use `c-recognize-<>-arglists' in Objective-C instead of matching a protocol reference list as a type suffix. * progmodes/cc-align.el (c-gnu-impose-minimum): Fix a missing `save-excursion' that caused the point to jump around. * progmodes/cc-mode.el, progmodes/cc-menus.el (objc-mode) (cc-imenu-init): Fix initialization bug that has made the Objective-C support inoperational since 5.26. (cc-imenu-objc-generic-expression): Update submatch indices due to changes in `cc-imenu-c++-generic-expression'. (cc-imenu-objc-function): Don't add an empty "C" menu since imenu doesn't like that. * progmodes/cc-align.el (c-lineup-arglist) (c-lineup-arglist-close-under-paren, c-lineup-close-paren): Add DWIM to the functions that line up at or after the arglist open paren to avoid that if there are brace blocks inside, e.g. when a macro contains a code block. * progmodes/cc-vars.el (objc-font-lock-extra-types): Change default to treat identifiers starting with capital letters as types, according to Objective-C naming conventions. The types previously on the list is part of the language and therefore on `c-primitive-type-kwds' instead. * progmodes/cc-fonts.el: Fix font locking in Objective-C. Be more careful about returning nil from functions used directly as font-lock matchers. * progmodes/cc-mode.el (c-font-lock-init): Make the syntax table modification element of `font-lock-defaults' parameterized over the languages. * progmodes/cc-langs.el: Update the Objective-C constants according to the language spec. The "@" chars that start directives are now considered part of the keywords to make things easier. * progmodes/cc-defs.el (c-(up|down)-list-(forward|backward)): Make the position optional and added docstrings. (c-go-(up|down)-list-(forward|backward)): Add variants of the above that move point and return successfulness instead. * progmodes/cc-fonts.el (c-font-lock-<>-arglists): New function to fontify all occurrences of template arglists in C++. * progmodes/cc-engine.el (c-disallow-comma-in-<>-arglists): New variable to be able to avoid false recognition of template arglists in some cases. * progmodes/cc-fonts.el, progmodes/cc-langs.el (c-decl-prefix-re, c-font-lock-declarations): Match template open brackets to get a declaration in the first template argument. (c-complex-decl-matchers): Fontify the second type in a "class X = Y" expression in C++. * progmodes/cc-engine.el (c-forward-<>-arglist): Break out the recursive part to a new function to improve efficiency when a nested template arglist search turns out to be futile. * progmodes/cc-menus.el (cc-imenu-java-generic-expression): Improve to avoid false matches on e.g. "else if (foo)". * progmodes/cc-engine.el (c-forward-token-2) (c-backward-token-2): New functions that work like the -1 variants but that handle multicharacter operator tokens. * progmodes/cc-engine.el (c-inside-bracelist-p) (c-guess-basic-syntax): Do away with the hardcoded regexps to recognize "typedef" declaration prefixes, "extern" and "namespace" blocks, "enum"-style brace list declarations and Java-style array initializers with "new". * progmodes/cc-langs.el (c-brace-list-decl-kwds) (c-brace-list-key, c-inexpr-brace-list-kwds) (c-opt-inexpr-brace-list-key): New language constants and variables to parameterize some more of the hardcoded regexps in cc-engine. * progmodes/cc-align.el (c-lineup-cascaded-calls): Do not allow cascaded call lists containing both "->" and ".". * progmodes/cc-align.el, progmodes/cc-cmds.el, progmodes/cc-defs.el, progmodes/cc-engine.el, progmodes/cc-fonts.el, progmodes/cc-langs.el, progmodes/cc-mode.el, progmodes/cc-styles.el: New language variable system to make it easier to set up optimized language variables and to extend them in third party derived modes. cc-langs is no longer required at runtime. * progmodes/cc-mode.el (c-basic-common-init): No longer initializes the language variables. It's necessary that the caller does that directly since the evaluated values for them now get compiled in directly. (c-font-lock-init, c-common-init): Separate the font-lock initialization from `c-common-init'. * progmodes/cc-mode.el (c-define-abbrev-table): Do not override an existing abbrev table. (c-Java-defun-prompt-regexp): Move here from cc-langs since cc-langs isn't always loaded at runtime. * progmodes/cc-langs.el (c-make-init-lang-vars-fun) (c-init-language-vars): Change to allow language variable initialization from derived modes. (c-mode-menu): New language variable for the mode menu. (c-make-mode-syntax-table, c-mode-syntax-table) (make-c++-template-syntax-table): New language variables for syntax tables. The code that initializes them has been moved to cc-mode to make it possible to avoid loading cc-langs at runtime. * progmodes/cc-engine.el, progmodes/cc-langs.el (c-hungry-delete-key, c-auto-newline, c-auto-hungry-string): Move these state variables from cc-langs to cc-engine to make it possible to avoid loading cc-langs at runtime. * progmodes/cc-defs.el (c-lang-defconst, c-lang-const): Move from cc-langs and rewritten to make the language constant system usable from derived modes. (c-add-language): New function intended for use from derived modes that add new C-like languages. * progmodes/cc-defs.el, progmodes/cc-vars.el (c-buffer-is-cc-mode): Move from cc-vars to cc-defs to define it during compilation. * progmodes/cc-bytecomp.el (cc-require-when-compile): New support macro for compile time `require's. * progmodes/cc-defs.el, progmodes/cc-mode.el (c-version): Move from cc-mode to cc-defs to make it accessible to the other components. * progmodes/cc-engine.el (c-forward-token-1, c-backward-token-1): Compatibility fix for emacsen that doesn't understand generic string delimiters. * progmodes/cc-vars.el (c-emacs-features): Add detection of generic string and comment delimiters. * progmodes/cc-defs.el, progmodes/cc-langs.el (c-make-keywords-re): Change interface to make it more extensible. * progmodes/cc-langs.el, progmodes/cc-defs.el (c-regexp-opt) (c-regexp-opt-depth, c-make-keywords-re): Move from cc-langs to cc-defs since they are generally useful. * progmodes/cc-bytecomp.el, progmodes/cc-defs.el (cc-eval-when-compile): Move from cc-bytecomp to cc-defs to allow use at runtime. * progmodes/cc-bytecomp.el (cc-eval-when-compile): Workaround for a bug with nested `eval-when-compile' in XEmacs 21. * progmodes/cc-mode.el: Added autoloaded forms to install the appropriate file suffixes on `auto-mode-alist'. Necessary in XEmacs 21.5, and it can be useful elsewhere too. * progmodes/cc-align.el (c-lineup-cascaded-calls): Handle "." too, for use in Java. * progmodes/cc-engine.el (c-forward-sws, c-backward-sws): Do not handle cpp directives in languages that doesn't have any. * progmodes/cc-langs.el (c-operators): Add a high level description of all operators, along with their precedence and associativity. * progmodes/cc-align.el (c-lineup-multi-inher): Fix bug where the position of the point and not the beginning of the line was used to calculate the indentation. * progmodes/cc-defs.el, progmodes/cc-engine.el (c-backward-single-comment, c-backward-comments): Add kludge for the bug in `forward-comment' in most (X)Emacs versions where it moves back over the "*/" of a block comment if there's no matching "/*". This has become more important now since it can cause incorrect caching by `c-backward-sws'. * progmodes/cc-cmds.el (c-hungry-backspace) (c-hungry-delete-forward): New functions to do hungry deletion regardless of hungry-delete mode. Contributed by Kevin Ryde. * progmodes/cc-engine.el (c-forward-sws, c-backward-sws) (c-invalidate-sws-region): Use text properties to cache regions with complex syntactic whitespace. This helps a lot in improving responsiveness when there are lots of comments and cpp directives before point. * progmodes/cc-guess.el, progmodes/cc-langs.el, progmodes/cc-menus.el, progmodes/cc-mode.el, progmodes/cc-styles.el, progmodes/cc-vars.el, progmodes/cc-engine.el, progmodes/cc-fonts.el, progmodes/cc-cmds.el, progmodes/cc-defs.el: Introduce a classification of functions into those that make "hidden buffer changes" and those who don't. This is prompted by the increasing use of text properties for various things, to correctly cover the silly buffer modifications that is caused by text property changes. (c-save-buffer-state): New macro that's put around any code that can manipulate text properties. * progmodes/cc-mode.el (c-basic-common-init): Setup `text-property-default-nonsticky' to avoid messing with the rear-nonsticky property on each character in Emacs 21. * progmodes/cc-defs.el (c-clear-char-syntax, c-put-char-syntax): Macros that sets and removes the syntax-table property on a single character and makes the property nonsticky in both directions in a suitable way for each (X)Emacs flavor. * progmodes/cc-vars.el, progmodes/cc-defs.el, * progmodes/cc-engine.el, progmodes/cc-mode.el: Use `lookup-syntax-properties' in XEmacs to control whether the syntax-table property has any effect or not. (c-parse-sexp-lookup-properties): New macro that expands to either `parse-sexp-lookup-properties' or `lookup-syntax-properties'. * progmodes/cc-defs.el, progmodes/cc-engine.el, progmodes/cc-fonts.el: Put the faces into the buffer in the same way as the font-lock package does. This fixes a compatibility problem with XEmacs which sets an extra font-lock property. * progmodes/cc-fonts.el (c-put-font-lock-face): A macro that finds out the right way to put font lock faces at compile time. We're definitely not byte code portable between Emacs and XEmacs now. * progmodes/cc-engine.el (c-forward-sws, c-backward-sws): Implement a cache for the last large skipped over syntactic whitespace. This also has most effect after many macros. * progmodes/cc-engine.el, progmodes/cc-defs.el (c-forward-syntactic-ws, c-backward-syntactic-ws): Utilize the limit better when one is passed. These are now macros to avoid a little overhead when no limit is given. (c-forward-sws, c-backward-sws): New functions called by the macros above to do the unbounded search. * progmodes/cc-fonts.el (c-font-lock-declarations): Implement a cache for the first backward search for a preceding `c-decl-prefix-re' match. This typically speeds up interactive refontification a lot on the top level of macro heavy header files. * progmodes/cc-vars.el (c-emacs-features): Add check for syntax text properties. * progmodes/cc-mode.el (c-basic-common-init): Turn on `parse-sexp-lookup-properties' if it's supported. Define the variable in any case since it's used at runtime to check on this. * progmodes/cc-langs.el (c-identifier-key): Support C++ destructor names. (c-identifier-start, c-op-token-regexp, c-type-modifier-kwds) (c-opt-type-modifier-key, c-opt-type-component-key) (c-typedef-specifier-kwds, c-typedef-specifier-key) (c-paren-stmt-kwds, c-paren-stmt-key, c-syntactic-ws-start): A bunch of new language constants and variables to support the improved handling of names and types. * progmodes/cc-fonts.el (c-font-lock-declarators) (c-font-lock-declarations): Handle C++ template declarations and template references. Fontify complex types and names more accurately by delegating it to `c-forward-type' and `c-forward-name'. Fontify the identifiers in typedef declarations as types. * progmodes/cc-engine.el (c-forward-<>-arglist): New function to move forward over a C++ template arglist. It also marks the '<' and '>' chars with paren syntax using the syntax-table property, to speed up later calls in emacsen that support syntax text properties (Emacs >= 20 and (undocumented) XEmacs 21). This also has the very interesting effect that if font locking is used with decoration level 3 or higher in these emacsen then template arglists will behave just like paren sexps with the various sexp movement commands. (c-forward-name): New function to move over a name. Simple in most languages except C++ where a name can contain template arglists and therefore almost arbitrary expressions. (c-on-identifier): Fix for Pike operator identifiers. (c-simple-skip-symbol-backward, c-syntactic-content) (c-remove-<>-paren-properties): New helper functions. * progmodes/cc-defs.el (c-clear-char-syntax) (c-mark-paren-open, c-mark-paren-close): New support functions to handle syntactic properties on C++ template arglist brackets. (c-put-type-face, c-put-reference-face): Helpers to put faces on regions, since there are a bit of that inside `c-forward-name' etc in progmodes/cc-engine.el. * progmodes/cc-engine.el, progmodes/cc-fonts.el, * progmodes/cc-langs.el: Fix the names on a number of regexp language variables to conform to the nomenclature and shortened some names. * progmodes/cc-align.el, progmodes/cc-cmds.el, * progmodes/cc-fonts.el, progmodes/cc-engine.el (c-syntactic-re-search-forward): Remove the COUNT argument since it's never used. Add an argument to tell which subexpression whose end should be tested for syntactic relevance. Using this also removes some optimizations, so that it's possible to use a look behind subexpression that matches the end of a literal or a close paren when PAREN-LEVEL is used. (c-guess-continued-construct): Don't match <<= or >>= for the stream-op syntactic element. * progmodes/cc-defs.el (c-paren-re, c-identifier-re): Remove these helper macros since better and more correct tools are now available in progmodes/cc-langs.el. * progmodes/cc-align.el (c-lineup-string-cont): New lineup function to line up string literals that will be concatenated. * progmodes/cc-langs.el (c-populate-syntax-table): XEmacs classifies the hard space character as a symbol character but it's better to let it be in the punctuation class so that it's always highlighted with the inverted invalid face. It can perhaps be argued that that character is allowed in identifiers in some languages (haven't checked), but using it would still be extremely confusing. * progmodes/cc-engine.el (c-beginning-of-statement-1): Fix a case when a labeled substatement caused incorrect association of the following continuation clause. * progmodes/cc-engine.el (c-syntactic-re-search-forward): Handle the case when the syntactic match position is in the middle of a comment starter. (c-guess-continued-construct): Analyze the "K&R region" of a function nested inside a function as func-decl-cont and not statement-cont. New case E. Also clean up case C (stream-op recognition) a bit. * progmodes/cc-engine.el (c-parse-state, c-check-state-cache): Move the check on `c-state-cache-start' from `c-check-state-cache' to `c-parse-state' so that the state cache isn't zapped if `c-check-state-cache' but not `c-parse-state' is called during a temporary narrowing. This fixes a performance problem that could occur when `fill-paragraph' is used in font lock mode on a comment at the end of a large class or function. (c-state-cache-start): Fix buffer localness. * progmodes/cc-langs.el: Updates from the C99 standard (or actually from the latest web accessible draft of it). * progmodes/cc-langs.el: Update the keywords and operator tokens from the latest C++ and Java standards. Some other multichar token corrections. * progmodes/cc-cmds.el, progmodes/cc-engine.el, progmodes/cc-vars.el (c-syntactic-context) (c-syntactic-element): Do not bind any values to these variables globally since they should always be dynamically bound. This makes it much easier to debug cases when they've gotten global values somehow. * progmodes/cc-langs.el (c-regexp-opt): Fix to work around the non-greedy behavior that the regexp engine sometimes exposes. This bug only shows in (X)Emacs 19 where there's no regexp-opt package. * progmodes/cc-engine.el (c-syntactic-re-search-forward): Add a feature to filter out matches in the middle of tokens. Changed the comment to a docstring since I consider this function generally useful. * progmodes/cc-defs.el (c-mode-symbol): Break out a part of `c-mode-var'. * progmodes/cc-align.el (c-lineup-cascaded-calls) (c-lineup-gcc-asm-reg): Cope with that `c-most-enclosing-brace' might return nil. * progmodes/cc-engine.el (c-found-types, c-clear-found-types) (c-add-type, c-check-type, c-add-complex-type) (c-list-found-types, c-forward-type): Add a sort of symbol table for types: If a name is recognized as a type in a declaration it's added in an obarray to be able to recognize it in other ambiguous declarations. (c-remove-ws): New helper function to canonicalize fully qualified identifiers for `c-found-types'. * progmodes/cc-defs.el (c-mode-var): New defsubst to access mode prefixed variables uniformly. * progmodes/cc-align.el (c-lineup-arglist-close-under-paren): Work correctly with nested arglist-cont-nonempty symbols. (c-lineup-arglist-operators): New lineup function to line up infix operators under the open paren of the surrounding sexp. * progmodes/cc-engine.el (c-forward-syntactic-ws): Fix a bug that could cause an infinite loop if something that looks like a macro begins in the middle of a line. (c-parse-state): Fix a bug that could cause `c-state-cache' to contain two conses in sequence when there's an unbalanced open paren in a macro. * progmodes/cc-defs.el (c-face-name-p): A defsubst to recognize the name of a face in a way that works also in XEmacs. * progmodes/cc-engine.el (c-forward-type): New function to move past a type spec. * progmodes/cc-engine.el (c-syntactic-re-search-forward): Fix behavior when the limit is reached inside a comment, string, or a macro. * progmodes/cc-align.el, progmodes/cc-cmds.el, * progmodes/cc-engine.el (c-forward-single-comment) (c-forward-comments, c-backward-single-comment, c-backward-comments): New replacements for `c-forward-comment' that wraps `forward-comment' more efficiently in each of the four different cases it's actually used. These replacements also treats line continuations as whitespace. (c-forward-comment): Remove. The four different cases above are basically different, so it's better to make them into separate functions than choose between them at runtime using the argument. * progmodes/cc-align.el (c-gnu-impose-minimum): Fix bug due to the new placement of cpp-macro and comment-intro in the syntactic context, as pointed out by Kevin Ryde. Change the method that decides whether point is inside a top-level construct to one that doesn't depend on the set of syntactic elements so much. * progmodes/cc-defs.el (c-point): Use the functions `line-beginning-position' and `line-end-position' in emacsen that have them (currently Emacs 20 and later). * progmodes/cc-cmds.el (c-mask-comment): Fix a bug that sometimes caused code after a closed block comment to be taken into account when the fill prefix is calculated. * progmodes/cc-align.el (c-lineup-arglist, c-lineup-argcont) (c-lineup-math, c-lineup-cascaded-calls, c-lineup-gcc-asm-reg): Fixes to cope correctly with nested arglists for the lineups that can be used with arglist-cont-nonempty. * progmodes/cc-engine.el (c-add-stmt-syntax, c-guess-basic-syntax): Change the anchor position of arglist-cont-nonempty and arglist-close so that a relative indentation like + can be used with consistent results. Prior to this, the indentation engine more or less assumed that arglist-cont-nonempty always used `c-lineup-arglist'. Those two syntax symbols also get the opening paren as an extra position, to make it possible for `c-lineup-arglist' to continue to do a proper job. * progmodes/cc-engine.el (c-get-syntactic-indentation): A vector with an absolute indentation column now only overrides the indentation for surrounding structures, i.e. those whose syntactic elements are earlier in the `c-syntactic-context' list, but not nested ones. This so that e.g. `c-lineup-arglist' can reliably line up with the first argument but still allow relative indentation changes for nested things, e.g. the arglist-close of a nested argument list. This change means that the order in `c-syntactic-context' has become more essential. (c-guess-basic-syntax): Changes to make the nesting order of the returned syntax list correct. Compatibility note: This change means that `c-lineup-dont-change' now (again) isn't absolutely sure to keep the current indentation. However, I believe that most people use it for comments, macros and string literals, and since those are nested innermost it won't matter. * progmodes/cc-align.el, progmodes/cc-defs.el, * progmodes/cc-engine.el, progmodes/cc-vars.el (c-guess-basic-syntax, c-calc-offset) (c-get-syntactic-indentation, c-syntactic-context): Extend the representation of the syntactic context: Previously it was a list containing cons cells of the found syntactic symbols and their relpos values. Now each element is instead a list containing the syntactic symbol in the first element and the relpos (if any) in the second. After that there might be more elements, depending on the syntactic symbol. The line-up functions get these additional elements as extra arguments. This change is slightly incompatible. Although the calling convention for line-up functions is strictly extended, the format of the `c-syntactic-context' variable has changed slightly. It's believed that this incompatibility is minor, though; not a single line-up function distributed with CC Mode needed to be changed, for instance. * progmodes/cc-styles.el (c-set-style, c-set-style-1): Add another state for the `dont-override' flag where it only keeps globally set variables. * progmodes/cc-mode.el (c-postprocess-file-styles): Do nothing except in CC Mode modes. * progmodes/cc-vars.el, progmodes/cc-fonts.el, progmodes/cc-langs.el, progmodes/cc-mode.el: Add font lock support. * progmodes/cc-engine.el (c-beginning-of-syntax): New function to be used for font-lock-beginning-of-syntax-function. It uses the state cache to quickly find a good position. * progmodes/cc-defs.el (c-major-mode-is): Allow a list of modes. Made it a macro ensure that it's optimized to either eq or memq for constant arguments. * progmodes/cc-mode.el (c-common-init): Do away with the hardcoded setting of `comment-column'; it's a user variable that we have no business meddling with. Since the default value for it is 32 in all supported (X)Emacs versions, it's also safe from a compatibility perspective. * progmodes/cc-mode.el (c-basic-common-init): New function that contains only the syntax and line breaking/filling initialization. It's intended for use by other modes that embed CC Mode. * progmodes/cc-engine.el (c-add-stmt-syntax): Fix some cases of wrong anchoring, e.g. for else-if compounds. * progmodes/cc-engine.el (c-guess-basic-syntax): Fix anchor position for defun-open in K&R style functions. * progmodes/cc-engine.el (c-in-knr-argdecl): Don't trip up on macros. (c-search-decl-header-end): Handle C++ template arguments more correctly. (c-beginning-of-decl-1): Fix when the declaration is first in a macro. * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way to handle protection labels, one which doesn't get confused by inherit colons. (c-end-of-decl-1): Don't treat functions that have "class" or "struct" in the return type as classes or structs. * progmodes/cc-langs.el (c-make-keywords-re): Fix the keyword adornment so that it works when a keyword ends with "_". * progmodes/cc-cmds.el (c-mask-comment): More fixes when used from `c-do-auto-fill' and point is at or near the limit of the comment. Fix bug when the prefix from `c-guess-fill-prefix' is longer than the text on the first line of the comment when it's masked. * progmodes/cc-cmds.el (c-mask-comment): Fix bug where point was moved to the following line when it was at the first line of a block comment where comment-start-skip matched to eol. 2003-07-01 Luc Teirlinck * info.el (Info-fontify-menu-headers): Only fontify `* Menu:' at the beginning of a line. (Info-extract-menu-node-name): Correctly initialize while loop. (Info-scroll-prefer-subnodes): Change default to nil. * simple.el (vis-mode): Update documentation string to reflect earlier changes. 2003-06-30 Richard M. Stallman * loadup.el (pure-space-overflow): Set it if overflow. * startup.el (pure-space-overflow): New variable. (fancy-splash-screens-1): Display warning if overflow. (normal-splash-screen): Likewise. * vc.el (vc-default-show-log-entry): Use with-no-warnings. * subr.el (lazy-completion-table, dynamic-completion-table): New macros. 2003-06-28 Richard M. Stallman * menu-bar.el (menu-bar-options-menu): Move mouse-set-fonts item here. * international/mule-cmds.el (mule-menu-keymap): Delete mouse-set-fonts item here. 2003-06-29 Nick Roberts * gdb-ui.el (gdb-display-number-end): Don't re-initialise local variables to preserve array slices. (gdb-array-slice): Rename gdb-mouse-array-slice. (gdb-array-slice): Interactive function bound to "\r" for text terminals. (gdb-view-source): Rename gdb-view-source-function. Set uninitialised variables (defvars) to nil. 2003-06-29 Kai Großjohann * international/mule-cmds.el (set-display-table-and-terminal-coding-system): Remove CVS conflict markers and some code. 2003-06-27 Kai Großjohann * international/mule-cmds.el (menu-bar-options-menu): Move `mouse-set-fonts' here from Options/Mule submenu. 2003-06-26 Stephen Eglen * iswitchb.el (iswitchb-read-buffer): Remove redundant variable iswitchb-prepost-hooks. (iswitchb-xemacs): Delete variable and use (featurep 'xemacs) and fboundp instead. (iswitchb-completions): Remove two redundant arguments and local variables. (All above from Stefan Monnier). 2003-06-20 Masatake YAMATO * progmodes/asm-mode.el (asm-font-lock-keywords): Support labels starting with "." and directives starting with ".". 2003-06-22 Andreas Schwab * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Avoid variable as format argument for error. Don't call symbol-name on string. * eshell/esh-opt.el (eshell-do-opt): Avoid variable as format argument for error. * simple.el (vis-mode): Doc fix. 2003-06-22 Glenn Morris * calendar/diary-lib.el (diary-check-diary-file): New function. (diary, view-diary-entries, show-all-diary-entries) (mark-diary-entries): Use it. (view-other-diary-entries): Doc fix. Use `prefix-numeric-value'. (diary-syntax-table, diary-attrtype-convert, diary-mail-days): Doc fix. (diary-modified, d-file): No need to defvar (for compiler). (list-diary-entries): No need for `let*' so use `let'. (simple-diary-display): Use `diary-file' directly rather than inheriting `d-file' from `list-diary-entries' caller. (make-fancy-diary-buffer, show-all-diary-entries): `mode-line-format' already buffer-local. (diary-mail-addr): Set to the empty string (rather than nil) if undefined, as per `user-mail-address'. (diary-mail-entries): Doc fix. Error if `diary-mail-address' unset. (mark-sexp-diary-entries): Don't regexp-quote sexp-mark twice. Remove an un-needed `if'. (list-sexp-diary-entries): Remove local vars mark and s-entry, and use `let' rather than `let*'. (diary-date, insert-monthly-diary-entry) (insert-yearly-diary-entry, insert-anniversary-diary-entry) (insert-block-diary-entry, insert-cyclic-diary-entry) (font-lock-diary-date-forms): No need for `let*' so use `let'. (make-diary-entry): Doc fix. Use `or' rather than `if'. (diary-font-lock-keywords): Use `when'. `cal-islam' is required feature, not `cal-islamic'. `calendar-islamic-month-name-array-leap-year' does not exist - use `calendar-islamic-month-name-array'. 2003-06-21 Kenichi Handa * international/utf-16.el: Many name changes: utf-16-{be,le} -> utf-16{be,le}. (mule-utf-16-le, utf-16-le, mule-utf-16-be, utf-16-be): New coding system aliases for backward compatibility. * international/utf-7.el: Adjusted for the name change: xxx-utf-16-{le,be} -> xxx-utf-16{le,be}. * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859): Adjust for the name change: xxx-utf-16-{le,be} -> xxx-utf-16{le,be}. * international/mule-conf.el: Adjusted for the name change: xxx-utf-16-{le,be} -> xxx-utf-16{le,be}. * international/mule-cmds.el (reset-language-environment): Adjust for the name change: xxx-utf-16-{le,be} -> xxx-utf-16{le,be}. 2003-06-20 Luc Teirlinck * vc.el (vc-rename-file): Fix typo. 2003-06-19 Andreas Schwab * info.el (Info-fontify-node): Improve calculation of other-tag. 2003-06-19 Stefan Monnier * progmodes/cc-mode.el (c-mode): Reverting last change. 2003-06-18 Stefan Monnier * progmodes/gud.el (gud-find-expr-function): Rename from gud-find-expr. (gud-find-fortran-expr): Move to fortran.el. * progmodes/fortran.el (fortran-gud-find-expr): Move from gud.el where it was called gud-find-fortran-expr. (fortran-mode): Set gud-find-expr-function. 2003-06-18 Nick Roberts * gdb-ui.el (gud-display1): Keep the gdb command, "display", in the command history. (gdb-restore-windows): Make restore work when gdb-many-windows is nil. (gdb-source-info, gdba): Display assembler if there is no symbol table for main, or message if there is no main. (gdb-assembler-custom): Move point to current line of assembler. * progmodes/gud.el (gud-menu-map): Add dbx support for "run" and "nexti". (dbx): Define gud-nexti and gud-run. (gud-find-expr, gud-find-fortran-expr): New functions. (gud-find-expr): New variable. (gud-find-c-expr): Simplify. * progmodes/fortran.el (fortran-gud-syntax-table): Syntax table for parsing Fortran expressions for gud-print. (Stefan Monnier) (fortran-mode): Add local variable gud-find-expr. * progmodes/cc-mode.el (c-mode): Add local variable gud-find-expr. 2003-06-18 Stefan Monnier * subr.el (looking-back): Handle the case of non-trivial regexps. Add an optional `limit' argument. (push, pop, with-temp-file, with-temp-message, delay-mode-hooks) (with-syntax-table): Add edebug info. 2003-06-17 Stefan Monnier * simple.el (kill-new): Leave yank-handler property alone if no explicit yank-handler is specified. (vis-mode-saved-buffer-invisibility-spec): Rename from saved-buffer-invisibility-spec. (vis-mode): Correctly handle the case where the mode is turned on or off several times in a row. 2003-06-17 Luc Teirlinck * info.el (Info-fontify-node): Give only the last whitespace character after the node name the display property. Give all other such whitespace the invisibility property. 2003-06-17 Pinku Surana * progmodes/sql.el: Add support for SQLite interpreter. 2003-06-17 Kai Großjohann Version 2.0.35 of Tramp released. * net/tramp.el (tramp-password-end-of-line): Use "xy" with plink. (tramp-completion-function-alist): Add completion function for "remcp", "remsh" and "plink1". Factor out the `regular' file name handling via a remote shell of some sort into a specific function. Intent is to later put that part of Tramp into a special file, so that the Tramp `core' is just a dispatcher that dispatches to various handlers. (tramp-sh-file-name-handler): New function. (tramp-foreign-file-name-handler-alist): New default value. Call tramp-sh-file-name-handler as default case. (tramp-file-name-handler): Do not invoke the old remote-shell handler. (tramp-find-foreign-file-name-handler): Return after first match is found. From Francis Litterio . (tramp-handle-file-newer-than-file-p): `tramp-time-diff' returns integer, not list. Do not apply `car' to the return value of `tramp-time-diff'. Reported by David D. Smith . (tramp-time-diff): Convert return value of subtract-time to a number of seconds in a correct manner, by applying float-time or time-to-seconds. Also correct compat code accordingly. The XEmacs branch for itimer-time-difference didn't need correction, it returned a float already. Reported by David D. Smith . (tramp-handle-insert-file-contents): When calling `file-local-copy', let-bind `inhibit-file-name-operation' accordingly. This makes sure that jka-compr is not called when `insert-file-contents-literally' is invoked. From Katsumi Yamaoka . (tramp-do-copy-or-rename-via-buffer): Avoid calling jka-compr when writing the target file. (tramp-foreign-file-name-handler-alist): Add comment about default value having to come last. (tramp-handle-file-local-copy, tramp-handle-write-region): Add the "-p" hack. (tramp-handle-copy-file): Set file modes of target file. (tramp-handle-file-local-copy) (tramp-do-copy-or-rename-via-buffer): Use binary coding system, instead of no-conversion. They are the same on Emacs but different on XEmacs. (tramp-shell-prompt-pattern): Allow multiple escape sequences (each with optional trailing space). * net/tramp-uu.el: * net/tramp-util.el: * net/tramp-efs.el: Use iso-2022-7bit encoding with coding cookie for XEmacs compatibility. 2003-06-17 Kenichi Handa * term/x-win.el (x-select-request-type): New variable. (x-select-utf8-or-ctext): New function. (x-selection-value): New function. (x-cut-buffer-or-selection-value): Call x-selection-value to get a selection data. Set next-selection-coding-system to nil. * select.el (x-get-selection): If the string returned by x-get-selection-internal has text property `foreign-selection', decode it while preserving that property. 2003-06-16 Stefan Monnier * menu-bar.el (ispell-menu-bar): Don't autoload. (cvs-global-menu): Use the function rather than the variable. * pcvs-defs.el (cvs-global-menu): Define as a function as well. * emacs-lisp/debug.el (debug): Fix call to message. 2003-06-16 Michael Mauger (tiny change) * emulation/cua-base.el (cua-mode): Use explicit arg to turn off minor modes. 2003-06-16 Stefan Monnier * emacs-lisp/cl-extra.el (cl-macroexpand-all): Don't burp if (cadr (caddr found)) encounters a non-list element. * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Use map-keymap. (defsubst*): Don't put a `cl-whole argument if it's not used. * emacs-lisp/cl-specs.el (pushnew): Use keywordp. * emacs-lisp/disass.el (disassemble): Accept plain expressions. * add-log.el (add-log-edit-prev-comment, add-log-edit-next-comment): New commands. (change-log-mode-map): Bind them. (smerge-resolve-function): Declare to quieten the byte-compiler. (change-log-mode): Add the keymap to the docstring. 2003-06-16 Luc Teirlinck * simple.el (vis-mode): New function. (saved-buffer-invisibility-spec): New variable. 2003-06-16 Juanma Barranquero * progmodes/sh-script.el (sh-while-getopts, sh-if, sh-case): Revert part of previous change. 2003-06-16 Pieter E.J. Pareit * progmodes/mixal-mode.el: New file. 2003-06-16 Markus Rost * files.el (recover-session-finish): Don't give up when there are two consecutive empty lines in the auto-save-list file. 2003-06-14 Stefan Monnier * emacs-lisp/copyright.el (copyright-update-year): New function extracted from copyright-update. When `arg' is set, replace the year, not the `copyright' text. Ignore `copyright-update = nil' if called interactively. Use "," rather than ", " if that's what was used before. Recognize mixes of 2 and 4 digit years. Use replace-match. (copyright-update): Add interactivep arg. Use it instead of use last-command. Use replace-match. Don't assume (point-min) == 1. * textmodes/tex-mode.el (tex-compile-commands): Handle tex-start-commands like tex-start-tex does. * cus-edit.el (custom-get-fresh-buffer): Kill overlays before erasing the buffer. 2003-06-13 Ilya N. Golubev (tiny change) * shell.el (shell-command-separator-regexp): New variable. (shell-directory-tracker): Make regexp used for skipping to next command correspond to one used for command itself. 2003-06-13 Katsumi Yamaoka * textmodes/texinfmt.el (texinfo-format-scan): Silence `whitespace-cleanup'. 2003-06-12 Glenn Morris * calendar/timeclock.el (display-time-hook) (timeclock-modeline-display): Define for byte-compiler. (timeclock-time-to-date, timeclock-workday-remaining) (timeclock-time-to-seconds, timeclock-seconds-to-time): Move earlier in the file so defined before used. (timeclock-status-string): No need for `let*' so use `let'. (timeclock-query-out): Always return a non-nil value. 2003-06-10 Rajesh Vaidheeswarran * whitespace.el (whitespace-version): Bump to 3.3 (whitespace-cleanup): Respect user preference for silence * whitespace.el: Remove :tag in commentary :link. Remove empty lines in comment, since commentary seems to have a problem with that. 2003-06-09 Stefan Monnier * textmodes/tex-mode.el (tex-search-noncomment): New macro. (tex-last-unended-begin, tex-next-unmatched-end): Use it so we don't get confused by \begin and \end in comments. (tex-compile): Change dir before calling tex-compile-default. 2003-06-09 Luc Teirlinck * bindings.el (global-map): Bind `kill-whole-line' to C-S-. Remove M-S- binding: too close to C-M-. * dired.el (dired-re-dot): Make it handle trailing /. (dired-get-filename): Update documentation string. Revert previous change and fix typo in earlier version. 2003-06-10 Kim F. Storm * info.el (Info-fontify-node): Make `invisible' property non-sticky so that whitespace added by filling stays visible. Make refilling less aggressive by starting at beginning of current line rather than beginning of current paragraph. 2003-06-09 Andreas Schwab * dired.el (dired-get-filename): Complain only about "." and "..", not all directories. 2003-06-08 Nick Roberts * gdb-ui.el (gdb-get-current-frame, gdb-frame-handler): Use Gdb command `info frame' instead of `frame' to preserve point. (gdb-invalidate-assembler): Only run disassemble again if frame has changed. (gdb-append-to-inferior-io): Revert change from 2003-05-17. 2003-06-07 Stefan Monnier * textmodes/texinfo.el (texinfo-enable-quote-macros): Fix thinko. (texinfo-insert-@table): Remove unused arg. (texinfo-show-structure): Remove unused var `source-buffer'. * info.el (Info-goto-node, Info-follow-reference, Info-menu-update) (Info-fontify-node): Don't search past header-end. Use match-string and line-end-position. * skeleton.el (skeleton-proxy-new): Consume the mark-active state. * textmodes/tex-mode.el (tex-mode-syntax-table) (tex-latex-indent-syntax-table): Don't use easy-mmode-defsyntax. 2003-06-07 Jason Rumney * mwheel.el (mouse-wheel-up-event, mouse-wheel-down-event): Use wheel-* events on darwin. 2003-06-06 Era Eriksson (tiny change) * shell.el (shell-resync-dirs): Tolerate an extra line of output before the list of directories from `shell-dirstack-query' (it looks for, and ignores, a literal copy of the value of shell-dirstack-query). 2003-06-06 Lute Kamstra * info.el (Info-complete-menu-item): Revert change of 2003-06-03. 2003-06-06 Klaus Zeitler * progmodes/sh-script.el: Fix bug in "Options Loop" skeleton for ksh. Add newlines to a few skeletons, add "select" keyword for bash. 2003-06-06 Andreas Schwab * info.el (Info-select-node): Doc fix. 2003-06-06 Miles Bader * frame.el (set-frame-font): Default to frame's current default font. 2003-06-06 Kim F. Storm * info.el (Info-fontify-node): Don't refill over lines ending in a period; this should fix problems with lists like one in the "(emacs)Library Keywords" section. 2003-06-05 Markus Rost * dired.el (dired-get-filename): Don't err for . and .. for calls from dired-add-entry. 2003-06-05 Takaaki Ota * textmodes/table.el (table-cell-horizontal-chars): Rename from table-cell-horizontal-char. Now a string value instead of a character. ?= is allowed for horizontal boundary as well as ?-. (table-command-remap-alist, table-command-list): Change defconst to defvar because the value is modified. (table-insert, table-insert-row, table-insert-column) (table-recognize, table-recognize-region, table-widen-cell) (table-span-cell, table-split-cell-vertically): Change due to table-cell-horizontal-chars. (table--cell-horizontal-char-p): New function. (table--generate-source-scan-lines, table-delete-row) (table-delete-column, table--spacify-frame) (table--find-row-column, table--probe-cell-left-up) (table--probe-cell-right-bottom, table--probe-cell): Change due to table-cell-horizontal-chars. From David Abrahams 2003-06-05 Juanma Barranquero * gud.el: Moved to progmodes. 2003-06-05 Benjamin Riefenstahl (tiny change) * progmodes/tcl.el (tcl-mode): Set imenu-generic-expression to the value of tcl-imenu-generic-expression instead of the symbol. 2003-06-05 Luc Teirlinck * info.el (Info-mode): Mention `c' and remove duplicate mention of `q' in documentation string. 2003-06-05 Lute Kamstra * shell.el (shell-mode): Put `shell-filter-ctrl-a-ctrl-b' on `comint-output-filter-functions' when bash is used as the inferior shell. (shell-filter-ctrl-a-ctrl-b): New function. 2003-06-05 Dave Love * vc-hooks.el (vc-make-backup-files): Add :group backup. 2003-06-05 Kim F. Storm * info.el (Info-fontify-node): Individually refill menus and paragraphs to preserve menu items and varying indentation. Only color first 9 menu items differently. 2003-06-05 Juanma Barranquero * desktop.el: Add new maintainer. 2003-06-04 Stefan Monnier * textmodes/sgml-mode.el (sgml-parse-tag-backward): Try and detect when we're starting from within a tag. (sgml-get-context): When called from inside a tag, do something useful. Rename the arg now that it's never used for `full' context anymore. (sgml-calculate-indent): Make `lcon' an argument. Return nil when we DON'T know what to do. If the initial lcon turns out to be wrong, try again. (sgml-indent-line): If sgml-calculate-indent returns nil, don't indent. 2003-06-04 Jason Rumney * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event): Default to new wheel-up and wheel-down events on MacOS. * term/mac-win.el: No need to bind wheel events specially. 2003-06-04 Luc Teirlinck * simple.el (yank-excluded-properties): Expand documentation string. 2003-06-04 Richard M. Stallman * emacs-lisp/lisp-mnt.el (lm-keywords-finder-p): Use with-no-warnings. * gud.el (gud-minor-mode-type): Move defvar up. * progmodes/compile.el (compilation-next-error): When moving fwd, compare position of point with the errors. * dired.el (dired-get-filename): Err for . and .. in usual case. (dired-get-file-for-visit): Specify no-error to dired-get-filename, and check for real errors here. (dired-unmark-all-files): Specify no-error to dired-get-filename. * buff-menu.el (list-buffers-noselect): Use window-inside-edges to compute the number of offset spaces. (list-buffers-noselect): Use Buffer-menu-buffer+size to indent the dashes properly. Put some in fixed-pitch. 2003-06-04 Lars Hansen * desktop.el (desktop-create-buffer): Undo last change. (desktop-kill, desktop-save, desktop-remove): Use expand-directory rather than concat to construct desktop filename. (desktop-kill, desktop-read, desktop-change-dir): Ensure desktop-dirname is a directory name. (desktop-change-dir): Fix bug when DIR was relative. 2003-06-04 Alex Coventry (tiny change) * files.el (after-find-file): Fix arguments of call to `sit-for'. 2003-06-03 Stefan Monnier * info.el (Info-extract-menu-node-name): Remove unused arg errmessage. (Info-follow-reference): Update corresponding call. (Info-node-spec-re): New const. (Info-complete-menu-item): Use it to only allow : when necessary. (Info-fontify-node): Use it as well. Fixup typo. * info.el (info-fontify-node): Use better help-echo text. Use :align-to display prop. Use `invisible' rather than `display' prop to hide text. * info.el (Info-mode-hook): Obey obsolete `Info-fontify'. (Info-find-in-tag-table-1): Remove unused vars. (Info-display-images-node): Remove unused var paragraph-markers. (Info-header-line): Remove. (Info-select-node): Don't set it. (Info-search): Remove unused var `current'. (Info-follow-reference): Remove unused var `beg'. (Info-extract-menu-node-name): Remove unused var `i'. (Info-complete-menu-item): Use `with-current-buffer'. (Info-index): Remove unused var `rnode'. (Info-mode): Set header-line-format to check text-properties directly. (Info-find-emacs-command-nodes): Remove unused var `found' and `exact'. (Info-fontify-node): Use `push'. (Info-speedbar-hierarchy-buttons): Use `dolist'. (Info-speedbar-goto-node, Info-speedbar-fetch-file-nodes): Check the return value of `string-match'. (Info-speedbar-fetch-file-nodes): Factor out common code. 2003-06-03 Lute Kamstra * cus-edit.el (custom-get-fresh-buffer): Test for nonexistence buffer. 2003-06-03 Richard M. Stallman * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Add save-excursion. * windmove.el (windmove-reference-loc, windmove-frame-edges): Use window-inside-edges. (windmove-do-window-select): Fix error messages. * files.el (after-find-file): Simplify msg if nonexistent directory. (make-directory): Doc fix. * dabbrev.el (dabbrev--goto-start-of-abbrev): Use minibuffer-prompt-end. * comint.el (comint-move-point-for-output): Renamed from comint-scroll-to-bottom-on-output. Old name is alias. All uses changed. Doc fix. (comint-scroll-show-maximum-output): Doc fix. * comint.el (comint-exec-1): Don't use directory-sep-char. (comint-dynamic-complete-as-filename): Likewise. * bindings.el (global-map): Delete C-M-delete and C-M-backspace. 2003-06-03 Markus Rost * progmodes/ps-mode.el (ps-mode): Use autoload cookie in the standard way. 2003-06-02 Stefan Monnier * textmodes/bibtex.el (bibtex-member-of-regexp) (bibtex-assoc-of-regexp, bibtex-format-entry, bibtex-find-entry) (bibtex-autokey-demangle-name, bibtex-string-files-init, bibtex-mode): Fix up regexp usage and use match-string. 2003-06-02 Roland Winkler * textmodes/bibtex.el: Long overdue merge. Don't require `compile' since it seems unnecessary. For all internal variables and functions the docstring comments have been converted into proper docstrings. (bibtex-maintainer-address, bibtex-maintainer-salutation) (bibtex-version): Remove support for bug reporting. (bibtex-field-delimiters, bibtex-entry-delimiters) (bibtex-sort-ignore-string-entries, bibtex-maintain-sorted-entries) Replace make-variable-buffer-local by make-local-variable for (bibtex-entry-format): New tag `required-fields'. (bibtex-maintain-sorted-entries): New var. (bibtex-sort-entry-class, bibtex-sort-entry-class-alist): New vars. (bibtex-predefined-month-strings, bibtex-predefined-strings): Make into alists with pairs (abbreviation expansion). (bibtex-autokey-titleword-change-strings) (bibtex-autokey-transcriptions): Make into alists. Add new replacement pairs. (bibtex-autokey-use-crossref): New var. Replace bibtex-autokey-year-use-crossref-entry because updated code for autokey generation handles crossrefs independently of particular fields. (bibtex-reference-key, bibtex-mode-syntax-table): Remove = because it can't be part of a string's key. (bibtex-complete-key-cleanup): New var. (bibtex-complete): Merge bibtex-complete-string and bibtex-complete-key into it (and bind to M-tab). (bibtex-valid-entry-re, bibtex-any-valid-entry-re) (bibtex-valid-entry-whitespace-re, bibtex-empty-field-re) (bibtex-quoted-string-re): New vars. (bibtex-field-name-for-parsing): Don't make-variable-buffer-local. (zmacs-regions): Declare to quieten the byte-compiler. (bibtex-comment-start): Don't include the space. (bibtex-font-lock-syntactic-keywords): New var. (bibtex-font-lock-keywords): Remove the entry for @Comment. (bibtex-parse-field-string): Merge the functionality of bibtex-parse-field-string-braced, bibtex-parse-quoted-string and bibtex-parse-field-string-quoted. (bibtex-search-forward-field-string): Remove. (bibtex-parse-association): Use when. (bibtex-parse-field-name): Use when. (bibtex-parse-field-text): Use when and cond. (bibtex-parse-field): Use let. (bibtex-search-forward-field, bibtex-search-backward-field): Make bound optional, use let, setq, and cddr. (bibtex-start-of-field, bibtex-start-of-name-in-field) (bibtex-end-of-name-in-field): Use nth. (bibtex-name-in-field, bibtex-text-in-field-bounds) (bibtex-text-in-field, bibtex-type-in-head, bibtex-key-in-head) (bibtex-text-in-string): New functions. (bibtex-reference-key-in-string): New fun. Merge of bibtex-start-of-reference-key-in-string and bibtex-end-of-reference-key-in-string. (bibtex-parse-string-prefix): Use let and when. (bibtex-parse-string-postfix): Use when. (bibtex-search-forward-string, bibtex-search-backward-string): Use save-excursion and setq. (bibtex-member-of-regexp): Use let. (bibtex-assoc-of-regexp): Use caar and let. (bibtex-skip-to-valid-entry): Return buffer position. (bibtex-map-entries): Use save-excursion. (bibtex-progress-message): Simplify. (bibtex-search-entry): Use skip-chars-forward, when, save-match-data. (bibtex-move-outside-of-entry): Handle the case that point is before first entry. (bibtex-enclosing-field): Use save-excursion, when. (bibtex-format-field-delimiters): Merge into bibtex-format-entry. (bibtex-enclosing-entry-maybe-empty-head): Simplify. (bibtex-format-entry): Simplify. Handle new tag required-fields of bibtex-entry-format. (bibtex-autokey-abbrev): Accept negative values of len. (bibtex-autokey-get-field, bibtex-autokey-demangle-title): New funs. (bibtex-autokey-get-namefield, bibtex-autokey-get-namelist) (bibtex-autokey-get-yearfield-digits, bibtex-autokey-get-yearfield) (bibtex-autokey-get-titlestring): Remove. (bibtex-autokey-get-names): Simplify. (bibtex-autokey-get-titles): Rename to bibtex-autokey-get-title. (bibtex-autokey-demangle-name): Simplify, avoid error messages. (bibtex-generate-autokey): Simplify. (bibtex-parse-keys): Simplify, use push. (bibtex-parse-strings): New fun similar to bibtex-parse-keys. (bibtex-string-files-init): New fun. (bibtex-parse-buffers-stealthily): Use bibtex-parse-keys, bibtex-string-files-init and bibtex-parse-strings. (bibtex-complete): Rename to bibtex-complete-internal, use push, bibtex-reference-key-in-string, no sorting. (bibtex-complete-string-cleanup): New fun, displays expansion of completed strings. (bibtex-choose-completion-string): New fun. Required for choose-completion-string-functions. (bibtex-do-auto-fill): Remove. Set fill-prefix in bibtex-mode. (bibtex-pop): Simplify. (bibtex-mode): Move setting of bibtex-string to bibtex-parse-strings. Set choose-completion-string-functions. (bibtex-print-help-message,bibtex-make-field, bibtex-end-of-entry) (bibtex-count-entries): Simplify. (bibtex-entry-index, bibtex-lessp): New funs for generalized sorting scheme of indices, see bibtex-maintain-sorted-entries. (bibtex-sort-buffer): Use bibtex-lessp for sorting. (bibtex-find-crossref, bibtex-find-entry): New funs. (bibtex-find-entry-location): Rename to bibtex-prepare-new-entry, use bibtex-lessp, Simplify. (bibtex-validate): Simplify. Fixe bug of internal variable questionable-month. (bibtex-remove-OPT-or-ALT): Use when. (bibtex-remove-delimiters, bibtex-kill-field, bibtex-kill-entry) (bibtex-clean-entry, bibtex-fill-entry, bibtex-reformat): Simplify. (bibtex-convert-alien): Use deactivate-mark rather than the non-existent bibtex-mark-active variable. (bibtex-complete-string, bibtex-complete-key): Merge into new `smart' defun bibtex-complete. (bibtex-String): Update for new sorting scheme, distinguish empty and non-empty key strings. 2003-06-02 Stefan Monnier * sort.el (sort-subr): Add `predicate' arg. Remove `sortcar' code. 2003-06-02 Lute Kamstra * emacs-lisp/lisp-mnt.el (lm-synopsis): Use relative filenames correctly. Show the synopsis to the user when appropriate. Do not kill buffers that were created outside `lm-synopsis'. 2003-06-01 Stefan Monnier * cus-edit.el (custom-get-fresh-buffer): Be extra paranoid, just in case some used a file of the wrong name. * progmodes/sh-script.el (sh-is-quoted-p): New fun. (sh-font-lock-paren): Use it to allow \C in case patterns. (sh-get-indent-info): Check the \n before the line for string-status. (sh-feature): Remove unused var `function'. (sh-get-indent-info): Remove unused variables. (sh-prev-thing): Remove unused vars `going', `n', and `found'. (sh-set-indent): Remove unused var `new-val' and `val0'. (sh-learn-buffer-indent): Remove unused vars `last-pos' and `lines'. (sh-guess-basic-offset): Remove unused var `return' and `j'. 2003-05-27 David Ponce * ruler-mode.el Version 1.6 Take into account changes made to the display margins, fringes and scroll-bar handling. (ruler-mode-margins-char): Remove. Not used anymore. (ruler-mode-pad-face, ruler-mode-fringes-face): New faces. (ruler-mode-margins-face): New definition. Move. (ruler-mode-left-fringe-cols) (ruler-mode-right-fringe-cols) (ruler-mode-left-scroll-bar-cols) (ruler-mode-right-scroll-bar-cols): Reimplement. Move. (ruler-mode-full-window-width) (ruler-mode-window-col): New functions. (ruler-mode-mouse-set-left-margin) (ruler-mode-mouse-set-right-margin) (ruler-mode-mouse-add-tab-stop) (ruler-mode-mouse-del-tab-stop): Reimplement. (ruler-mode-mouse-current-grab-object): Rename to... (ruler-mode-dragged-symbol): New. (ruler-mode-mouse-grab-any-column): Use it. Clean up. (ruler-mode-mouse-drag-any-column): Likewise. (ruler-mode-mouse-drag-any-column-iteration): Simplify. (ruler-mode): Restore previous `header-line-format' if `ruler-mode-header-line-format-old' has a local binding in current buffer. (ruler-mode-left-margin-help-echo) (ruler-mode-right-margin-help-echo): Remove. (ruler-mode-margin-help-echo) (ruler-mode-fringe-help-echo): New constants. (ruler-mode-ruler): Use them. Reimplement. 2003-06-01 Jason Rumney * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event): Default to new wheel-up and wheel-down events on Windows. * term/w32-win.el: No need to bind wheel events specially. 2003-06-01 Michael Kifer * desktop.el (desktop-create-buffer): Add (desktop-first-buffer) to the let-statement to avoid the startup error that desktop-first-buffer is undefined. 2003-06-01 Andreas Schwab * man.el (Man-name-regexp): Also match Latin-1 soft hyphen. (Man-build-references-alist): Handle Latin-1 soft hyphen. 2003-05-31 Stephen Eglen * iswitchb.el (iswitchb-buffer-ignore): Update custom type to allow functions. 2003-05-31 Stefan Monnier * view.el (view-file, view-file-other-window, view-file-other-frame): Signal an error when trying to visit an inexistent file. * vc-hooks.el (vc-call-backend): Give better error message when a backend function is missing. (vc-find-file-hook): USe unless. Merge if and cond. * vc.el (vc-directory-exclusion-list): Add MCVS and .svn. (vc-checkin-hook): Adjust option to new name. * log-edit.el (log-edit-maximum-comment-ring-size) (log-edit-comment-ring, log-edit-comment-ring-index) (log-edit-last-comment-match): Rename vars from vc-maximum-comment-ring-size, vc-comment-ring, vc-comment-ring-index, and vc-last-comment-match. (log-edit-new-comment-index, log-edit-previous-comment) (log-edit-next-comment, log-edit-comment-search-backward) (log-edit-comment-search-forward, log-edit-comment-to-change-log): Rename funs from vc-new-comment-index, vc-previous-comment, vc-next-comment, vc-comment-search-reverse, vc-comment-search-forward, and vc-comment-to-change-log. * wid-edit.el (widget-specify-insert): Simplify. (widget-editable-list-entry-create): Don't assume that %d and %i are in the format string. (widget-map-buttons): Remove unused var `parent'. (widget-move): Remove unused shadowed var `new'. (widget-color-action): Remove unused var `pos'. * cus-edit.el (custom-get-fresh-buffer): New fun. (custom-buffer-create, custom-buffer-create-other-window) (customize-browse): Use it instead of killing buffers. (custom-bury-buffer): Obey the argument. (custom-variable-reset-saved, custom-variable-reset-standard): Remove unused var `comment-widget'. (custom-face-edit-deactivate): Remove unused var `to'. (custom-save-variables): Remove unused var `sep'. 2003-05-31 John Paul Wallington * files.el (large-file-warning-threshold): Add type, groups. * progmodes/delphi.el (delphi-ignore-changes): Defvar; non-constant. 2003-05-31 Kenichi Handa * files.el (recover-file): Bind coding-system-for-read to auto-save-coding. 2003-05-31 Juanma Barranquero * misc.el (mark-beginning-of-buffer, mark-end-of-buffer) (upcase-char, forward-to-word, backward-to-word): Move from unused.el. * unused.el: Deleted (contents moved to misc.el). * options.el: * emacs-lisp/float.el: * textmodes/scribe.el: Moved to obsolete. * byte-run.el: * derived.el: * float-sup.el: * map-ynp.el: * regi.el: * timer.el: * warnings.el: Moved to emacs-lisp. * enriched.el: Moved to textmodes. * textmodes/outline.el: Moved to lisp. * which-func.el: Moved to progmodes. * loadup.el: Load byte-run.el, map-ynp.el, timer.el and float-sup.el from emacs-lisp. 2003-05-31 Tom Wurgler (tiny change) * subr.el (looking-back): New function to check for regular expression before point. 2003-05-30 Stefan Monnier * newcomment.el (comment-empty-lines): New var. (comment-region-internal): Use it. * textmodes/tex-mode.el (latex-block-args-alist) (latex-block-body-alist): New vars. (latex-insert-block): Use them. (tex-string-prefix-p): New fun. (tex-guess-main-file): Use it to detect when the main file is in a parent directory. (tex-main-file): Try to find a main-file in parent directories. (tex-compile-default): Don't use `gv' on pdf files just because `gv' was used recently on a ps file. Remove unused arg `dir'. Reuse a previous command as-is if it applied to the same file. (tex-compile): Use the right file name when file is not in dir. * textmodes/refill.el (refill-adjust-ignorable-overlay): Don't hardcode pint-min == 1. (refill-fill-paragraph-at): Use a more robust method to detect when the paragraph is after point. Remove unused var `fill-pfx'. * xml.el (xml-parse-tag): Return (foo nil) rather than (foo nil "") for , to make it behave like . * emacs-lisp/edebug.el (edebug-storing-offsets): Move indent and debug to inside the macro. (edebug-read-storing-offsets): Simplify. (edebug-read-quote, edebug-read-function): Place the start-position correctly. (edebug-read-backquote-new): Remove. (edebug-read-backquote-level): New var to replace it. (edebug-read-backquote): Increment it. Don't store offsets one extra time. (edebug-read-comma): Decrement it. Read the comma as a plain symbol if outside of any new-style backquote. (edebug-read-list): Use edebug-read-backquote-level. Don't call edebug-read-backquote directly. This way the extra offsets store is done exactly when it's needed. (edebug-read-vector): Use push. (defmacro): Add support for the `declare' thingy. 2003-05-29 Stefan Monnier * forms.el (forms-mode-hook): Rename from forms-mode-hooks. (forms-mode): Use add-hook rather than make-local-variable+setq. Use with-current-buffer. Run the new and the old hooks. (forms--update): Use with-current-buffer and line-end-position. (forms--goto-record): New fun. (forms-jump-record, forms-insert-record, forms-delete-record): Use it. (forms--process-format-list): Remove unused var `this-item'. (forms--intuit-from-file): Remove unused var `the-result'. (forms--trans): Remove unused var `x'. (forms--exit, forms-exit, forms-exit-no-save): Remove unused arg. * emacs-lisp/edebug.el (edebug-window-list): Use push. (edebug-macrop): Use functionp. (edebug-functionp): Remove. (edebug-get-displayed-buffer-points): Use push. (edebug-set-buffer-points): Use save-current-buffer and buffer-live-p. (edebug-list-form): Remove dead code. (backquote-form): Correctly handle `(a . ,b). (edebug-mode-map, global-edebug-map): Move init to inside the defvar. (define-derived-mode, define-minor-mode): Remove outdated spec. (save-match-data, with-output-to-string, with-current-buffer) (combine-after-change-calls, with-temp-buffer, dolist, dotimes) (unless, when): Remove specs that are now in the corresponding macro. * emacs-lisp/easy-mmode.el (define-minor-mode): Add edebug spec. Accept a :keymap argument, as you'd expect. * derived.el (define-derived-mode): Add a proper edebug declaration. 2003-05-29 Luc Teirlinck * simple.el (kill-whole-line): Make it interact correctly with the kill ring. 2003-05-29 Kenichi Handa * international/mule.el (ctext-non-standard-encodings-alist): Rename from non-standard-icccm-encodings-alist. (ctext-non-standard-encodings-regexp): New variable. (ctext-post-read-conversion): Full rewrite. (ctext-non-standard-designations-alist): Rename from non-standard-designations-alist. (ctext-pre-write-conversion): Full rewrite. 2003-05-28 Stefan Monnier * info.el (Info-fontify-node): Hide \n------- rather than -------\n. * skeleton.el (skeleton-edebug-spec): First cut of an edebug spec. (define-skeleton): Use it. 2003-05-28 Andreas Schwab * descr-text.el (describe-char): Use `char' instead of `(char-after)'. Fix display of unicode. 2003-05-28 Nick Roberts * gud.el (gud-gdb-goto-stackframe, gud-gdb-get-stackframe): Add server prefix to the gdb commands used by the speedbar. 2003-05-28 Kai Großjohann * simple.el (kill-region): If nothing was killed, and the previous command was not a kill, break kill sequence. 2003-05-28 Richard M. Stallman * textmodes/refill.el (refill-fill-paragraph-at): Avoid refilling the following paragraph. (refill-doit): Doc fix. * emulation/vip.el (ctl-x-map): Don't bind C-x C-i or C-x 3. (global-map): Don't bind C-z. (vip-setup): New function to rebind C-x 7 and C-z. * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Undo previous change (don't check for eob). Widen at the beginning. * map-ynp.el (map-y-or-n-p): No special handling for exit-prefix. In help string, mention C-g but not ESC. * jka-compr.el (jka-compr-insert-file-contents): When REPLACE, delete the proper range of text. * info.el (Info-index): Add autoload cookie. * forms.el (forms-mode): Use write-file-functions instead of local-write-file-hooks. Use make-local-variable to make it local. * descr-text.el (describe-char-unicode-data): New dummy definition. (unicode-data): Comment out since we can't use UnicodeData.txt as is. (describe-char-unicodedata-file): Variable renamed and commented out. * faces.el (set-face-attribute): Set face-modified prop to t when we change the new-frame defaults. (face-spec-set): Set face-modified prop to nil when we change the new-frame defaults. * cus-edit.el (custom-face-state-set): Non-nil `face-modified' means face was set outside of Custom. 2003-05-28 Richard M. Stallman * byte-run.el (with-no-warnings): New function. * emacs-lisp/bytecomp.el (byte-compile-no-warnings): New function. (with-no-warnings): Set up compile handler. * startup.el (command-line-1): Use with-no-warnings. * type-break.el (type-break-cancel-function-timers): Use with-no-warnings. 2003-05-28 Luc Teirlinck * env.el (substitute-env-vars): Fix typo. 2003-05-28 Walter C. Pelissero (tiny change) * net/browse-url.el (browse-url-mozilla): Correct the conditionals for using ,new-window. 2003-05-27 Glenn Morris * progmodes/sh-script.el (sh-here-document-word): Document new treatment of leading "-". (sh-maybe-here-document): Strip a leading "-" from closing heredoc delimiter, if present. * align.el (align-rules-list): Doc fix. * calendar/timeclock.el: Update copyright. (timeclock-ask-before-exiting): Put `timeclock-query-out' on `kill-emacs-query-functions' rather than `kill-emacs-hook'. (timeclock-mode-string): Doc fix. (timeclock-modeline-display): Doc fix. Use `global-mode-string' rather than `mode-line-format'. (timeclock-query-out): Doc fix. (timeclock-update-modeline): No need for `let*', so use `let'. Add some help-echo text to `timeclock-mode-string'. (timeclock-mode-string): Give it the risky-local-variable property, so that help-echo text will display. (timeclock-find-discrep): Set `accum' to 0 if `timeclock-discrepancy' is nil. 2003-05-27 Stefan Monnier * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function): Don't infinite loop at bob. (emacs-lisp-mode): Mark its main custom group to be `lisp'. (prin1-char): New fun. (eval-last-sexp-1): Use it. Use with-syntax-table as well. (eval-defun-1): Don't replace `defvar' with `defconst'. 2003-05-27 Kai Großjohann * bindings.el (global-map): Bind M-S- * gud.el (gud-find-class): Remove unused var `pos'. (gdb-script-mode-syntax-table, gdb-script-font-lock-keywords) (gdb-script-font-lock-syntactic-keywords) (gdb-script-font-lock-syntactic-face, gdb-script-basic-indent) (gdb-script-skip-to-head, gdb-script-calculate-indentation) (gdb-script-indent-line, gdb-script-mode): New mode to edit .gdbinit-like scripts. 2003-05-26 John Paul Wallington * faces.el (display-supports-face-attributes-p): Doc fix. (x-create-frame-with-faces): Call `face-set-after-frame-default'. 2003-05-26 Kai Großjohann * bindings.el (global-map): Don't bind S-. Too many people hit it by mistake. 2003-05-26 Andre Spiegel * vc.el (vc-delete-file): Fix free variable reference. (vc-annotate-display): Remove obsolescence declaration; it isn't obsolete. 2003-05-25 Kevin Ryde * info-look.el (autoconf-mode setups): Recognise AH_ and AU_ entries in "(autoconf)Autoconf Macro Index". Add "(autoconf)M4 Macro Index" and "(autoconf)Autotest Macro Index". Remove duplicate copy of "(automake)Macro and Variable Index". Keep automake after all autoconf possibilities, so as to prefer those. 2003-05-25 Stefan Monnier * skeleton.el (skeleton-internal-1): Don't loop if interactor of subskeleton is nil. (skeleton-pair-default-alist): New var. (skeleton-pair-insert-maybe): Use it. Don't munge multibyte chars. 2003-05-25 Nick Roberts * gdb-ui.el (gdb-info-breakpoints-custom, gdb-assembler-custom): Put string associated with breakpoint at start of line so that it is always visible. (gdb-display-source-buffer): Display assembler during execution, when requested. (gud-menu-map): Add a toggle button to menubar for gdb-many-windows. (gdb-many-windows): Define explicitly as a function and a variable (formerly as a minor mode). These need to be global so layout can be reset from any buffer. (gdb-assembler-mode): Keep fringe outside margin as the overlay arrow is not used for assembler. 2003-05-25 Tim Van Holder * which-func.el (which-func-update-timer): New variable. (which-function-mode): Use it. 2003-05-25 Richard M. Stallman * simple.el (idle-update-delay): New variable. 2003-05-25 Luc Teirlinck * simple.el (forward-visible-line): Fix negative arguments. 2003-05-25 Juanma Barranquero * skeleton.el (skeleton-pair-insert-maybe): Remove leftover reference to skeleton-abbrev-cleanup. 2003-05-24 Andreas Schwab * files.el (insert-directory): Preserve CR in a file name. 2003-05-24 Stefan Monnier * skeleton.el (skeleton-abbrev-cleanup, skeleton-proxy): Remove obsolete code. * term/w32-win.el (iconify-or-deiconify-frame): * term/mac-win.el (iconify-or-deiconify-frame): Move to frame.el. * term/x-win.el (iconify-or-deiconify-frame): Move to frame.el. Turn on mouse-wheel support by default. * frame.el (iconify-or-deiconify-frame): Move from term/x-win.el. 2003-05-24 Kai Großjohann * net/tramp.el: Version 2.0.34 released. (tramp-handle-file-symlink-p): If target of symlink is absolute, return a Tramp filename. (Ie, return "/user@host:/target" instead of "/target".) (tramp-handle-file-truename): Deal with new return value from `file-symlink-p'. (tramp-handle-expand-file-name): Make default method explicit in file name. (tramp-unified-filenames): Move to an earlier spot in the file. (top-level): If tramp-unified-filenames is set and we're running on XEmacs, load tramp-efs. (tramp-wait-for-shell-prompt, tramp-barf-if-no-shell-prompt): New functions, used by tramp-send-command-internal. (tramp-open-connection-setup-interactive-shell): Simplify using `tramp-send-command-internal'. (tramp-send-command-internal): New function. (tramp-methods): New entries "remsh" and "remcp" are like "rsh" and "rcp" but invoke "remsh" instead of "rsh". This is useful on Cray systems, for instance. Unify tramp-rsh-program, tramp-telnet-program, tramp-su-program into tramp-login-program. Likewise with tramp-login-args, tramp-copy-program, tramp-copy-args, tramp-copy-keep-date-arg. Users changed. New method plink1; like plink but pass "-1" to force protocol version 1. (tramp-default-method): Use plink as the default on machines where the plink program is present. (tramp-completion-file-name-handler): Add safe-magic property. (tramp-shell-prompt-pattern): Allow ANSI escapes at end of prompt. (ANSI escapes elsewhere in the prompt are recognized properly already.) * net/tramp-efs.el: New file. 2003-05-24 Michael Albinus * net/tramp.el (tramp-handle-file-truename): `sym' shouldn't be quoted. (tramp-methods, tramp-multi-connection-function-alist): Use argument "-p Password:" for "sudo" method, because password prompt might be changed by either passprompt option in /etc/sudoers, or SUDO_PROMPT environment variable. Suggested by Peter Oliver . 2003-05-23 Stefan Monnier * mail/supercite.el: Use `push' and replace `regi-pos' by equivalents. (sc-emacs-features): Remove. Use better tests instead. (sc-minor-mode): Use define-minor-mode. (sc-mode-string, sc-set-mode-string): Remove. Use a better modeline expression instead. (sc-completing-read, sc-read-string, sc-submatch, sc-member) (sc-string-text): Remove those compatibility functions. * pcvs.el (cvs-temp-buffer): Kill running process in displayed buffers. (cvs-make-cvs-buffer): Fix up format of the header. * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): Match more cases of /.../ patterns. 2003-05-23 Nick Roberts * gdb-ui.el (gdba): Accommodate Fortran programs. (gud-gdba-command-name): Use -noasync in all cases (as Fortran seems to require it also). (gdb-source-info): Parse correctly when compilation directory specifies host also (IRIX). 2003-05-23 Andre Spiegel * vc-cvs.el (vc-cvs-checkout): Don't leave the branch when REV is t. From Don Provan 2003-05-23 Richard M. Stallman * forms.el (forms--mode-commands1): Bind \t, not `tab'. (forms--mode-commands): Don't bind \t in the maps where we call forms--mode-commands1. 2003-05-23 Taro Kawagishi * arc-mode.el (archive-lzh-summarize): Calculate correct total header size for LZH level 1 header. 2003-05-23 Richard M. Stallman * textmodes/paragraphs.el (repunctuate-sentences): Add doc string. 2003-05-23 Daniel Ortmann (tiny change) * textmodes/paragraphs.el (repunctuate-sentences): New function. 2003-05-23 Lute Kamstra * emacs-lisp/lisp-mnt.el: Make the description of the library more accurate. (lm-any-header): New user option. (lm-section-start): New function; rewrite of `lm-section-mark'. (lm-section-mark): Make alias of `lm-section-start'. (lm-section-end): New function. (lm-code-start): New function; rewrite of `lm-code-mark'. (lm-code-mark): Make alias of `lm-code-start'. (lm-commentary-start): New function; rewrite of `lm-commentary-mark'. (lm-commentary-mark): Make alias of `lm-commentary-start'. (lm-commentary-end): New function. (lm-history-start): New function; rewrite of `lm-history-mark'. (lm-history-mark): Make alias of `lm-history-start'. (lm-commentary): Use `lm-commentary-end' to find the end of the commentary section. * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine): Use `lm-commentary-end' to find the end of the commentary section. 2003-05-22 Stefan Monnier * skeleton.el (define-skeleton): Use the `no-self-insert' property. (skeleton-proxy-new): Fix docstring. Remove broken interactive spec. Rely on use `no-self-insert' rather than `skeleton-abbrev-cleanup'. (skeleton-internal-1): Add a `recursive' argument. (skeleton-internal-list): Use it to propagate `recursive'. 2003-05-22 Ken Stevens * ispell.el: Sync to version 3.6. Summary: MIME support added for e-mail processing that skips encoded regions. Allow user to skip saving Fcc messages with large attachments. Fixed region skipping bug with multi-line comments - e.g. tex $ regions spanning multiple lines. Added support for postscript and uuencoded regions. Redundant dictionary file names purged. Dictionary definition field name changed from "Character Set" to "Coding System". Fixed bug in reloading dictionaries. Modified headers to reflect new version. XEmacs menu now adds customize item. (ispell-check-version): No longer an aliased function. Returns library path if not called interactively. Variable `temporary-file-directory' protected if not loaded. (check-ispell-version): Now the alias for `ispell-check-version'. (ispell-message-fcc-skip): New variable that determines if and when to query about saving Fcc copy of message if an attachment is large. (ispell-skip-html): Declare buffer-local. (ispell-local-dictionary-alist): Docstring expanded. Tag name changed from "Character Set" to "Coding System". (ispell-dictionary-alist-1): Remove redundant command-line option to load brasileiro, british, and castellano dictionary files. (ispell-dictionary-alist-2): Remove redundant command-line option to load czech dictionary file. (ispell-dictionary-alist-3): Move francais-tex here. (ispell-dictionary-alist-4): Remove german and german8 dictionaries. The deutsch ones are the correct definitions. `nederlands' and `nederlands8' dictionaries moved here. (ispell-dictionary-alist-5): `polish' and `portugues' dictionaries moved here. Removed redundant command-line option to `norsk' and `portugues'. (ispell-dictionary-alist-6): Remove redundant command-line option to load `russian' and `slovak' dictionary files. (ispell-dictionary-alist): Tag name changed from "Character Set" to "Coding System". (ispell-version): Update to 3.6. (ispell-library-directory): Calls non-deprecated function. (ispell-valid-dictionary-list): New function returning all valid dictionaries on machine. (ispell-checking-message): Documentation string improved. (ispell-skip-region-alist): Add uuencoded and postscript region skipping. Improve http/e-mail/file regexp to not match `/.\w'. (ispell-html-skip-alists): New variable for html region support. (ispell-send-string): Remove redundant xemacs check. (ispell-word): Fix spelling error in documentation string, add extent information to support highlighting in ispell-minor-mode. (ispell-command-loop): Disable horizontal scrollbar in XEmacs choices buffer. (ispell-show-choices): Directly select `choices-window'. (ispell-help): Use default buffer size for electric help. (ispell-adjusted-window-height): Correct for XEmacs detection. (ispell-start-process): Don't double specify dictionary file name. (ispell-init-process): Set `ispell-library-path' each call. (ispell-change-dictionary): Now only completes valid dictionaries. (ispell-region): Add support for MIME region skipping and Fcc message query for large attachments. (ispell-begin-skip-region-regexp): Add documentation string. Add message support and clean up code for generic and html regions. (ispell-begin-skip-region): Function is now requires alist argument. (ispell-begin-tex-skip-regexp): Add comments and support improved html and message regions. (ispell-skip-region-list): New function for MIME and region skipping. (ispell-tex-arg-end): Add documentation string. (ispell-ignore-fcc): New function to query saving Fcc message. (ispell-skip-region): Calculate alist for key match dynamically, html skipping pushed to alists. (ispell-get-line): Add support for multi-line comment regions. (ispell): Check that variables to continue spelling are bound. (ispell-message-text-end): Postscript and uuencoded regions now supported as MIME regions, rather than as end-of-message region. (ispell-mime-multipartp): New function supporting MIME. (ispell-mime-skip-part): New function supporting MIME. (ispell-message): Add MIME support. (ispell-buffer-local-parsing): Variable `ispell-skip-html' now local. (ispell-buffer-local-dict): Fix bug for detecting and reloading new dictionary. 2003-05-22 Stephen J. Turnbull * subr.el (split-string): Implement specification that splitting on explicit separators retains null fields. Add new argument OMIT-NULLS. Special-case (split-string "a string"). 2003-05-22 Stefan Monnier * international/mule-cmds.el (select-safe-coding-system): Try default-buffer-file-coding-system too for automatic selection. 2003-05-21 Stefan Monnier * simple.el (ctl-x-map): Remove the C-x U binding added recently. 2003-05-21 Dave Love * descr-text.el (unicodedata-file): New. (unicode-data): New (adapted from unicode branch). (describe-char): Use it. Print char's unicode differently. Avoid elements with null cadr when formatting list. Clarify error message when used in Help buffer. (button): Require when compiling. (describe-char-after): Alias for obsolete command. 2003-05-21 Nick Roberts * gdb-ui.el (gud-gdba-command-name): Use -noasync option for Gdb with MS windows. (gdb-display-end): Only make buffer writeable temporarily. Move "View" submenu up one level. 2003-05-21 Nick Roberts * gdb-ui.el (gdb-view-source, gdb-selected-view): New variables. (gdba): Inhibit DOS window in MS Windows. (gdb-inferior-io-mode): Use hexl instead of cat. (gdb-info-breakpoints-custom, gdb-assembler-custom, gdb-reset): Use text in margin for MS Windows as there is no image support. (gdb-restore-windows, gdb-setup-windows): Restore/start with assembler view if appropriate. (gdb-assembler-custom): Assembler code should display at point. Parse address correctly. (gdb-frame-handler): Accommodate selection of display of source or assembler. Add radio buttons to select display of source or assembler. 2003-05-20 Lars Hansen * desktop.el (desktop-save): Ensure parameter is expanded and ends with a slash before assigning it to desktop-dirname and default-directory. (desktop-read): Put buffers existing prior to evaluating the desktop (and not reused) at the end of the buffer list. (desktop-create-buffer): Don't update desktop-first-buffer for old desktop files. 2003-05-19 John Paul Wallington * xml.el (xml-name-regexp): Wrap in `eval-and-compile'. 2003-05-19 Dave Love * xml.el: Doc fixes. (xml-parse-file, xml-parse-region): Autoload. (xml-syntax-table, xml-name-regexp): New. (xml-parse-region): Narrow to region, set syntax-table and case-fold-search. Reject fewer valid documents. (xml-parse-tag): Remove arg END. Callers changed. (xml-parse-tag): Use skip-syntax-forward. Use PARSE-DTD arg properly. Don't use buffer-substring-no-properties. Don't bind case-fold-search. Fix syntax for empty elements. Hoist consing of end-of-tag regexp out of loop. (xml-parse-attlist): Remove arg. Callers changed. Use skip-syntax-forward, replace-regexp-in-string, forward-sexp. Allow non-ASCII names. (xml-skip-dtd): Remove arg. Callers changed. Change matching code. (xml-parse-dtd): Grok external DTDs. Allow non-ASCII. Don't use match-string-no-properties. (xml-ucs-to-string): Delete. (xml-substitute-entity): New. (xml-substitute-special): Use it. (xml-debug-print-internal): Simplify insertions. (xml-parse-file): Avoid finding file in xml-mode. 2003-05-19 Kai Großjohann * simple.el (kill-whole-line): New function. * bindings.el (global-map): Bind it. 2003-05-19 Richard M. Stallman * net/goto-addr.el (goto-address-fontify-maximum-size): Value t means no limit. (goto-address-fontify): Implement that feature. * emacs-lisp/find-func.el (find-function-on-key): Move the call to find-function-other-window outside the save-excursion. * find-file.el (ff-special-constructs): Delete the Ada entry. * faces.el (x-create-frame-with-faces): Don't call face-set-after-frame-default. (face-set-after-frame-default): Copy attrs of global `default' face to FRAME's `default' face. 2003-05-19 Joe Kelsey * skeleton.el (skeleton-internal-1): Allow - as alternate interesting point marker and revert @ to just setting skeleton-positions. 2003-05-18 Stefan Monnier * emacs-lisp/lisp.el (beginning-of-defun-raw): Use shy-group. * progmodes/executable.el (executable-set-magic): Remove unused vars `point' and `buffer-modified-p'. * mail/sendmail.el (mail-mode): Don't bother setting paragraph-start. * mail/mail-extr.el: Use explicit coding tag. * international/mule.el (sgml-xml-auto-coding-function) (sgml-html-meta-auto-coding-function): Don't assume point-min == 1. * language/china-util.el (hz-set-msb-table): Build when compiling. (big5-to-cns): Pre-build the alist when compiling. * language/ind-util.el (indian-regexp-of-hashtbl-keys): Don't bother sorting the argument to regexp-opt. (indian--puthash-char): Use dolist rather than mapc. 2003-05-18 Nick Roberts * gdb-ui.el (put-arrow): Rename gdb-put-arrow and simplify. (put-string): Rename gdb-put-string and simplify. (remove-strings): Rename gdb-remove-strings. (remove-arrow): Rename gdb-remove-arrow. (gdb-assembler-custom): Try to get line marker (arrow) to display in window (revisited). Use with-current-buffer where possible. 2003-05-18 John Paul Wallington * ibuffer.el (ibuffer-display-summary): New customizable variable. (ibuffer-update-title-and-summary): Respect it. 2003-05-18 Michael Kifer * ediff-mult.el (ediff-default-filtering-regexp): New variable. * ediff-util.el (ediff-maybe-save-and-delete-merge): Change in a message. * ediff.el (ediff-directories,ediff-directory-revisions) (ediff-directories3,ediff-merge-directories) (ediff-merge-directories-with-ancestor,ediff-merge-directory-revisions) (ediff-merge-directory-revisions-with-ancestor): Make use of the new ediff-default-filtering-regexp variable. 2003-05-18 Richard M. Stallman * which-func.el (which-func-current, which-func-format): Preload the risky-local-variable properties for them. * subr.el (prepare-change-group): Reinstate BUFFER arg; make it work. 2003-05-18 Nick Roberts * gud.el (gdb): Define gud-nexti. (gud-menu-map): Add gud-nexti to map. (gud-tool-bar-map): Add gud-nexti and gud-stepi to toolbar. * toolbar/gud-stepi.xpm, toolbar/gud-stepi.pbm, toolbar/gud-nexti.xpm, toolbar/gud-nexti.pbm: New icons for debugger. 2003-05-17 John Paul Wallington * international/ja-dic-cnv.el (skkdic-okuri-nasi-entries) (skkdic-okuri-nasi-entries-count): Use defvar for non-constants. * register.el (number-to-register): Use `string-to-number' instead of `string-to-int'. 2003-05-17 Stefan Monnier * log-edit.el: Don't require vc.el anymore. (log-edit-mode-map): Fold vc-log-mode-map into it. (vc-log-mode-map): Redefine as an alias. (vc-previous-comment): Don't widen. (vc-comment-to-change-log): Don't redundantly set paragraph-separate. Don't require `add-log' since it's already required at toplevel. * vc.el (vc-log-mode-map, vc-maximum-comment-ring-size) (vc-comment-ring, vc-comment-ring-index, vc-last-comment-match): Move vars to log-edit.el. (vc-new-comment-index, vc-previous-comment, vc-next-comment) (vc-comment-search-reverse, vc-comment-search-forward) (vc-comment-to-change-log): Move funs to log-edit.el. (vc-clear-context): Don't empty the comment-ring. (vc-finish-logentry): Don't add the comment onto the comment-ring. * log-edit.el (vc-log-mode-map, vc-maximum-comment-ring-size) (vc-comment-ring, vc-comment-ring-index, vc-last-comment-match): Move vars from vc.el. (vc-new-comment-index, vc-previous-comment, vc-next-comment) (vc-comment-search-reverse, vc-comment-search-forward) (vc-comment-to-change-log): Move funs from vc.el. (log-edit-show-files): Remove unused var `editbuf'. * progmodes/tcl.el (tcl-indent-exp): Remove dead code. (tcl-tab-always-indent): Default to tab-always-indent. * progmodes/perl-mode.el (perl-end-of-function): Remove unused var. (perl-tab-always-indent): Default to tab-always-indent. * which-func.el (which-func-format): Make it risky-local-variable. (which-func-table): New var. (which-func-current): Make it into a constant modeline spec. (which-func-previous): Remove. (which-func-update): Only update the selected window. (which-func-update-1): Use the new var to allow the current function to be different for a buffer shown in two windows. * subr.el (with-selected-window): New macro. (dolist, dotimes, with-current-buffer): Use backquotes. (when, unless, save-match-data, combine-after-change-calls) (with-output-to-string, with-temp-buffer): Add `declare' info. (listify-key-sequence): Don't allocate unnecessarily. (read-quoted-char): Allow up to base 36. (prepare-change-group): Remove unimplemented argument. (macro-declaration-function): Avoid `dolist' and `cadr'. * wid-edit.el (pp-to-string, Info-goto-node): Don't autoload. (widget-choose, widget-map-buttons): Use with-current-buffer. (widget-field-add-space): Change to nil (and to defconst). (widget-info-link-action): Use `info'. 2003-05-17 Nick Roberts * gdb-ui.el (gdb-info-frames-custom): Reverse contrast of face for selected frame. (gdb-annotation-rules): Stop using frames-invalid and breakpoints-invalid annotations. Update after post-prompt instead. (gdb-post-prompt): Update frames and breakpoints here. (gdb-invalidate-frame-and-assembler) (gdb-invalidate-breakpoints-and-assembler): Remove. (gdb-current-address): Remove. (gdb-previous-address): New variable. (gud-until): Extend to work in Assembler buffer. (gdb-append-to-inferior-io): Select IO buffer when there is output. (gdb-assembler-custom): Try to get line marker (arrow) to display in window. Correct parsing for OS dependent output syntax of Gdb command, where. (gdb-frame-handler): Correct parsing for OS dependent output syntax of Gdb command, frame. (gdb-invalidate-assembler): Update assembler buffer correctly when frame changes (revisited). 2003-05-16 Stefan Monnier * imenu.el (imenu--split-menu): Remove unused var `count'. Don't copy the sequence since we're already modifying it elsewhere. (imenu--create-keymap): Rename from imenu--create-keymap-1. Add optional `cmd' argument. Remove unused var `counter'. (imenu-update-menubar): Use the new arg to keep the old behavior. (imenu--mouse-menu): Don't use the arg, to recover the lost behavior. 2003-05-16 Lute Kamstra * hl-line.el (hl-line-highlight, global-hl-line-highlight): Use `line-beginning-position' to determine the beginning of the next line. 2003-05-16 Kenichi Handa * international/mule-cmds.el (mule-menu-keymap): Enable the menu set-various-coding-system when default-enable-multibyte-characters is non-nil. 2003-05-15 Stefan Monnier * emacs-lisp/autoload.el (make-autoload): Add arglist for define-derived-mode. 2003-05-15 Lute Kamstra * hl-line.el: Rewrite the local minor mode so that it can be sticky as well and made sticky the default. Reimplement the global minor mode. Update the commentary section to document these changes. (hl-line-sticky-flag): New user option. (hl-line-overlay): Make it buffer-local and give it a docstring. (global-hl-line-overlay): New variable. (hl-line-mode): Rewrite to use `hl-line-sticky-flag'. (hl-line-highlight): Rewrite to use `hl-line-sticky-flag'. (hl-line-unhighlight): Update docstring. (global-hl-line-mode): Implement directly so that is does not depend on `hl-line-mode' any more. (global-hl-line-highlight, global-hl-line-unhighlight): New functions. 2003-05-15 Kenichi Handa * international/code-pages.el (cyrillic-koi8-t): Alias of koi8-t. 2003-05-15 Vinicius Jose Latorre * ps-print.el: Avoid unnecessary calls to funs in header and footer variables. Reported by Greg Hill . (ps-print-version): New version number (6.6.1). (ps-begin-page): Code fix. (ps-generate-string-list, ps-header-footer-string): New funs. (ps-lh-cache, ps-rh-cache, ps-lf-cache, ps-rf-cache): New vars. * ps-mule.el (ps-mule-header-string-charsets): Call ps-header-footer-string to avoid unnecessary calls to functions in header and footer variables. 2003-05-15 John Paul Wallington * mail/rmail.el (rmail-ignored-headers): Ignore Face: header. 2003-05-14 Stefan Monnier * textmodes/tex-mode.el (tex-compile-history, tex-input-files-re) (tex-use-reftex, tex-compile-commands): New vars. (tex-summarize-command, tex-uptodate-p, tex-executable-exists-p) (tex-command-executable, tex-command-active-p, tex-compile-default) New functions. (tex-compile): New command. (tex-mode-map): Bind it to C-c C-c. * vc-svn.el (completion-ignored-extensions): Add .svn. (vc-svn-delete-file): New function. * pcvs.el (cvs-append-to-ignore): New arg `old-dir'. (cvs-mode-ignore): Use it. * pcvs-parse.el (cvs-parse-table): Remove unused var `type'. Look up `.cvsignore' to see what to do with `new-dir' messages. (cvs-parse-merge): Remove unused var `handled'. 2003-05-14 Christoph Wedler * format.el (format-annotate-function): Copy coding system into the new temp buffer. 2003-05-14 John Paul Wallington * ls-lisp.el (insert-directory): Discard --dired switch when `ls-lisp-use-insert-directory-program' is nil. 2003-05-13 Stefan Monnier * textmodes/ispell.el (xemacsp): Remove. Use (featurep 'xemacs). (ispell-graphic-p): Inline and then remove. (toplevel): Get rid of unnecessary loop. (ispell-parse-output, ispell-complete-word): Replace (substring s 0 1) with a call to aref. (ispell-get-line): Remove unused arg `reg-end'. (ispell-region): Update corresponding call. * progmodes/cpp.el (cpp-make-overlay-hidden): Don't make intangible. * progmodes/compile.el (compile-internal): Use with-current-buffer. (compilation-set-window-height): Use save-selected-window. * progmodes/ada-xref.el (ada-xref-update-project-menu): Use easymenu. (ada-goto-declaration-other-frame): Remove unused arg other-frame. (ada-gdb-application): Remove unused vars comint-exec, in-post-mode, and gud-gdb-massage-args. * progmodes/cc-langs.el (c-lang-defvar-init-form-tail): This is actually not a constant. * progmodes/autoconf.el (autoconf-current-defun-function): Copy the syntax table before modifying it. * progmodes/ada-mode.el (ada-in-comment-p, ada-in-string-p) (ada-in-string-or-comment-p): Use line-beginning-position. * textmodes/reftex.el (reftex-select-with-char): Don't assume that point-min == 1. * textmodes/reftex-toc.el (reftex-toc-visit-location): Don't switch the current window if the new buffer is in another. (reftex-toc): Don't assume that point-min == 1. * textmodes/reftex-parse.el (reftex-what-macro): Don't assume that point-min == 1. * textmodes/reftex-cite.el (reftex-extract-bib-entries) (reftex-extract-bib-entries-from-thebibliography): New arg re-list. (reftex-extract-bib-entries): Use ^ rather than \(\`\|[\n\r]\). Use member-ignore-case. Don't add unnecessary trailing \n. (reftex-offer-bib-menu): Consolidate duplicated code from reftex-extract-bib-entries and reftex-extract-bib-entries-from-thebibliography. * simple.el (back-to-indentation): Simplify. (undo-equiv-table, undo-in-region, undo-no-redo): New vars. (undo): Use them to implement the no-redo form of undo. (undo-only): New fun. (shell-command): Don't require `shell' since shell-mode is autoloaded. (insert-buffer): Simplify. (completion-setup-function): Use minibufferp. (event-apply-alt-modifier, event-apply-super-modifier) (event-apply-hyper-modifier, event-apply-shift-modifier) (event-apply-control-modifier, event-apply-meta-modifier): Fix docstring to show the proper key sequence. * uniquify.el (uniquify-after-kill-buffer-p): Set default to t. (uniquify-ignore-buffers-re): Revert to nil now that uniquify is more careful about preserving buffer names. * menu-bar.el (menu-bar-options-menu) : Use menu-bar-make-mm-toggle. * files.el (file-relative-name): Remove dead code. Make sure \n in a filename does not confuse us. * help-fns.el (describe-variable): Mention permanent local status. * comint.el (comint-carriage-motion, comint-output-filter): Bind inhibit-read-only rather than buffer-read-only. (comint-truncate-buffer): Bind inhibit-read-only. * pcvs.el (cvs-make-cvs-buffer): Add the tag info. (cvs-mode): Prevent pilot-error. * vc-mcvs.el (vc-mcvs-registered, vc-mcvs-root): Check the output of file-name-directory for nil. 2003-05-13 Simon Josefsson * mail/smtpmail.el (smtpmail-open-stream): Don't hard code starttls-program. 2003-05-13 Rajesh Vaidheeswarran * whitespace.el (whitespace-global-mode): Add :link entry to the commentary section in whitespace.el 2003-05-13 Nick Roberts * gdb-ui.el (gdb-invalidate-assembler): Update assembler buffer correctly when frame changes. (gdb-info-threads-custom, gdb-threads-buffer-name) (gdb-display-threads-buffer, gdb-frame-threads-buffer) (gdb-threads-mode-map, gdb-threads-mode, gdb-get-thread-number) (gdb-threads-select, gdb-threads-mouse-select): New functions and variable for a buffer that provides a selectable threads list. 2003-05-12 Stefan Monnier * pcvs-parse.el (cvs-parse-table): `New directory' messages include the full path. * pcvs.el (cvs-minor-current-files): Move before first use. (defun-cvs-mode): Remove unused var `restdoc'. (cvs-edit-log-revision, ediff-after-quit-hook-internal): Declare. (cvs-mode-diff-backup): Remove unused var `filter'. (cvs-mode-run): Remove unused var `cvs-buf'. (cvs-mode-do): Remove unused arg `parse'. (cvs-retrieve-revision): Make sure HEAD gets the head of the branch. * textmodes/sgml-mode.el (sgml-namespace-re): New const. (sgml-namespace-face): New face. (sgml-font-lock-keywords-1): Use them. 2003-05-11 Kevin Ryde * info-look.el (info-lookup-make-completions): Allow colons in index entries by looking for ": " to terminate, as per latest info.el. 2003-05-11 Stefan Monnier * vc-mcvs.el (vc-mcvs-command): Filter output of `status'. (vc-mcvs-state, vc-mcvs-dir-state, vc-mcvs-print-log, vc-mcvs-diff): Change dir so that the filtered output of `mcvs makes sense. (vc-mcvs-mode-line-string): Handle the case where CVS is desync'd. (vc-mcvs-diff-tree): Don't bother with the local-diff code. (vc-mcvs-create-snapshot): Use `branch' and `switch'. 2003-05-10 Stefan Monnier * newcomment.el (comment-indent): Try to align to adjacent comments. (comment-with-narrowing): Actually use the arguments. (comment-valid-prefix-p): Rename from comment-valid-prefix and fix to actually use its argument. * tex-mode.el (tex-mode-syntax-table): ~ is not whitespace. (tex-guess-mode): Add `renewcommand'. (tex-mode): Move the autoload to get the correct docstring and usage. * uniquify.el (uniquify-rationalize-file-buffer-names): Refresh the dirname in the case that rename-buffer was skipped. (uniquify-buffer-file-name): Return a dirname with no trailing slash. * mail/smtpmail.el (smtpmail-send-queued-mail): Use point-at-bol instead of forward-line. 2003-05-10 Oliver Scholz * startup.el (fancy-splash-default-action): Fix docstring. 2003-05-09 Sam Steingold * pcvs.el (cvs-mode-find-file): Fixed the last patch's logic. 2003-05-09 Stefan Monnier * newcomment.el (comment-indent): Be more careful when inserting the space, and insert it before setting `begpos'. * vc.el: New backend functions `delete-file' and `repository-hostname'. (vc-stay-local): New var. Mostly taken from vc-cvs-stay-local. (vc-stay-local-p): New fun. Adapted from vc-cvs-stay-local-p. (vc-diff-switches-list): Revert to the Emacs-21.[123] semantics. Mark as obsolete. (vc-delete-file): New command. (vc-default-rename-file): New function. (vc-rename-file): Use it. Be careful to disallow renaming if the file is locked or out-of-date. (vc-ensure-vc-buffer, vc-next-action-on-file, vc-insert-headers) (vc-cancel-version, vc-annotate): Use buffer-file-name variable. * vc-mcvs.el (vc-mcvs-stay-local): Remove unused var. (vc-mcvs-state, vc-mcvs-dir-state, vc-mcvs-print-log, vc-mcvs-diff) (vc-mcvs-diff-tree, vc-mcvs-annotate-command) (vc-mcvs-make-version-backups-p): Use vc-stay-local-p. (vc-mcvs-checkin): Disallow commits to a numbered rev. (vc-mcvs-repository-hostname): New function. (vc-mcvs-stay-local-p): Remove. * vc-cvs.el (vc-cvs-mode-line-string): Use vc-default-mode-line-string. (vc-cvs-delete-file, vc-cvs-rename-file): New functions. * vc-svn.el (vc-svn-rename-file): New fun. (vc-svn-diff): Correctly check svn's return status. (vc-svn-state, vc-svn-dir-state, vc-svn-print-log, vc-svn-diff) (vc-svn-diff-tree): Use vc-stay-local-p. (vc-svn-register-switches, vc-svn-diff-switches, vc-svn-header) (vc-svn-use-edit): Fix the :version property. (vc-svn-stay-local): Remove unused var. (vc-svn-mode-line-string): Remove, use the default instead. (vc-svn-repository-hostname): New fun taken from vc-svn-stay-local-p. (vc-svn-stay-local-p): Remove. * uniquify.el: Use the original buffer-name as `base' in place of the nondirectory part of the file name. (uniquify-rationalize-file-buffer-names): Split the `newbuffile' arg into `base' and `dirname'. Reuse old uniquify-items to avoid recomputing their base&dirname. (uniquify-buffer-file-name): Only return the directory part. (uniquify-rerationalize-w/o-cb): Don't bother resetting proposed names. (rename-buffer): Use the `newname' arg as base. (create-file-buffer): Split the file name into base and dirname. 2003-05-09 Jesper Harder * mail/smtpmail.el (smtpmail-send-queued-mail): Don't use kill-line. 2003-05-08 Stefan Monnier * uniquify.el (uniquify-after-kill-buffer-p): Fix misleading docstring. (uniquify-make-item): Make `proposed' optional. (uniquify-rationalize-file-buffer-names): Don't compute the initial proposed name. (uniquify-buffer-file-name): Remove dead code. (uniquify-strip-common-suffix): New var. (uniquify-rationalize): Always recompute initial proposed name. Strip common suffix if requested. * vc-rcs.el (vc-rcs-register, vc-rcs-checkin, vc-rcs-checkout) (vc-rcs-find-version, vc-rcs-diff): Use vc-switches. * vc-sccs.el (vc-sccs-register, vc-sccs-find-version) (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-diff): Use vc-switches. (vc-sccs-register): Remove unused var `|'. * vc-mcvs.el (vc-mcvs-read): Don't require `file' to exist. (vc-mcvs-diff): Don't return 0 for newly added empty files. (vc-mcvs-register, vc-mcvs-checkin, vc-mcvs-find-version) (vc-mcvs-checkout, vc-mcvs-diff, vc-mcvs-diff-tree): Use vc-switches. * vc-cvs.el (vc-cvs-dired-state-info): Use `added' for added files and don't use `concat' unnecessarily. Remove impossible cases. (vc-cvs-diff): Don't return 0 for newly added empty files. (vc-cvs-stay-local-p): Simplify. (vc-cvs-register, vc-cvs-checkin, vc-cvs-find-version, vc-cvs-diff) (vc-cvs-diff-tree, vc-cvs-checkout): Use vc-switches. * vc-svn.el (vc-svn-dired-state-info): Use `added' for added files and don't use `concat' unnecessarily. Remove impossible cases. (vc-svn-register, vc-svn-find-version, vc-svn-diff-tree): Use vc-switches. (vc-svn-checkin): Use vc-switches. Fix up regexp. (vc-svn-diff): Use vc-switches. Don't return 0 for newly added empty files. Don't use svn's return status. (vc-svn-parse-status): Recognize copied files as well. Use the last-modified revision for workfile-version. * vc-hooks.el (vc-default-workfile-unchanged-p): Pass nil rather than (vc-workfile-version file) to diff. * vc.el (with-vc-properties, with-vc-file, edit-vc-file): Add `declare's for debugging and indentation. (vc-do-command): Use `remq'. (vc-buffer-context): Remove unused var `curbuf'. (vc-next-action-dired): Remove unused var `dired-dir'. (vc-switches): New fun. (vc-diff-switches-list): Use it. (vc-dired-hook): Remove unused var `cvs-dir'. (vc-dired-purge): Remove unused var `subdir'. (vc-cancel-version): Remove unused var `config'. (vc-rename-master): Use dolist iso mapcar. (vc-rename-file): Remove redundant tests. Clear the properties of the old file name. (vc-annotate): Pass the complete filename to `annotate-command'. (vc-annotate-lines): Remove unused var `overlay'. 2003-05-08 Glenn Morris * calendar/diary-lib.el (diary-pull-attrs): Make `ret-attr', `attr' local. (list-diary-entries): Make `temp' local. (fancy-diary-display): Make `marks', `temp-face', `faceinfo' local. (diary-mail-entries): There is no fancy-diary-buffer if there are no diary entries. Use call-interactively. (mark-diary-entries): Make `temp' local. (mark-sexp-diary-entries): Make `marks' local, remove `temp'. (list-sexp-diary-entries): Make `temp' local. (add-to-diary-list): Make `prefix' local. 2003-05-08 Dave Love * international/utf-7.el: New file. 2003-05-07 Francis J. Wright * files.el (insert-file-contents-literally): Allow it to be called within a magic file name handler. 2003-05-07 Stefan Monnier * uniquify.el (uniquify-rationalize-file-buffer-names): Don't uniquify if there is no filename. * vc-hooks.el: Use buffer-file-name variable rather than function. (vc-handled-backends): Add SVN and MCVS. (vc-mode-line): Call vc-backend only once. (find-file-hook, find-file-not-found-hook): Use the new names rather than ...-hooks. * uniquify.el (uniquify-item, uniquify-get-proposed-name) (uniquify-rationalize-conflicting-sublist): Rename filename -> dirname. (uniquify-rationalize): New fun. Set uniquify-managed to the fix-list. (uniquify-rationalize-file-buffer-names): Use it and make the args non-optional (i.e. don't support "re-rationalize all" any more). (uniquify-rerationalize-w/o-cb): New fun. (uniquify-maybe-rerationalize-w/o-cb): Use it to rerationalize immediately and only the relevant buffers. Merged from uniquify-delay-rationalize-file-buffer-names and uniquify-delayed-rationalize-file-buffer-names. (kill-buffer-hook, rename-buffer): Use it. 2003-05-06 Jesper Harder * progmodes/compile.el (compile-internal): Don't quote nil and t in docstrings. * emacs-lisp/eldoc.el (eldoc-echo-area-use-multiline-p): Likewise. * emacs-lisp/cl-macs.el (case, typecase): Likewise. * allout.el (allout-auto-activation) (allout-use-mode-specific-leader, allout-reindent-bodies) (allout-unprotected): Likewise. * progmodes/tcl.el (tcl-explain-indentation): Likewise. * progmodes/idlwave.el (idlwave-complete-special): Likewise. * progmodes/cpp.el (cpp-edit-list): Likewise. * progmodes/cperl-mode.el (cperl-lineup): Likewise. * progmodes/cc-align.el (c-lineup-argcont, c-lineup-gcc-asm-reg): Likewise. * play/mpuz.el (mpuz-silent): Likewise. * play/decipher.el (decipher-ignore-spaces): Likewise. * net/rlogin.el (rlogin-process-connection-type): Likewise. * mail/rmail.el (rmail-primary-inbox-list): Likewise. * mail/mailalias.el (mail-directory-function) (mail-directory-requery, mail-directory): Likewise. * emacs-lisp/lucid.el (buffer-syntactic-context): Likewise. * emacs-lisp/lmenu.el (popup-dialog-box): Likewise. * type-break.el (type-break-good-rest-interval) (type-break-query-mode, type-break-query-function) (type-break-mode-line-message-mode): Likewise. * skeleton.el (skeleton-autowrap, skeleton-untabify) (skeleton-newline-indent-rigidly, skeleton-insert) (skeleton-read): Likewise. * simple.el (newline): Likewise. * ps-print.el (ps-zebra-stripe-follow): Likewise. * mwheel.el (mouse-wheel-scroll-amount): Likewise. * env.el (setenv): Likewise. 2003-05-06 Stefan Monnier * imenu.el (imenu--generic-function): Use font-lock-defaults case setting if imenu-case-fold-search is not locally set. * uniquify.el (uniquify-managed): New var. (uniquify-rationalize-file-buffer-names, rename-buffer): Use it and set it to prevent accidental renaming of unrelated buffers. (uniquify-delay-rationalize-file-buffer-names): Use it to avoid the cost of uniquify when killing unrelated buffers. * newcomment.el (comment-set-column, comment-kill) (comment-or-uncomment-region): Call comment-normalize-vars since these functions are autoloaded. * help-fns.el (help-add-fundoc-usage): Use t for "no arglist". * emacs-lisp/advice.el (ad-make-advised-docstring): Adjust usage. 2003-05-06 Lute Kamstra * hl-line.el: Removed an erroneous comment. (hl-line-mode): Use buffer local hooks. (global-hl-line-mode): Turn local modes on unconditionally. (hl-line-highlight): Comment fix. 2003-05-06 Richard M. Stallman * newcomment.el (comment-search-forward): Delete autoload cookie. 2003-05-06 Kenichi Handa * arc-mode.el (archive-set-buffer-as-visiting-file): Use after-insert-file-set-coding, not after-insert-file-set-buffer-file-coding-system. 2003-05-05 Stefan Monnier * uniquify.el (uniquify-buffer-name-style) (uniquify-after-kill-buffer-p, uniquify-ask-about-buffer-names-p) (uniquify-ignore-buffers-re, uniquify-min-dir-content) (uniquify-separator, uniquify-trailing-separator-p): Remove redundant group specification. (uniquify-file-name-nondirectory): Delete. (uniquify-rationalize-file-buffer-names): Simplify. Use directory names as `filename' component of uniquify-item. (uniquify-get-proposed-name): Adjust now that `filename' does not include `base'. * vc-svn.el: New file. 2003-05-05 John Paul Wallington * emacs-lisp/autoload.el (batch-update-autoloads): Call `update-directory-autoloads'. 2003-05-04 Dan Nicolaescu * dired.el (dired-find-file): Bind find-file-run-dired around the call to find-file. 2003-05-04 Stefan Monnier * uniquify.el: Move provide to end of file. (uniquify-ref-base, uniquify-ref-filename, uniquify-ref-buffer) (uniquify-ref-proposed, uniquify-set-proposed): Remove. (uniquify-item): New struct. Update users of uniquify-ref-*. (uniquify-get-proposed-name, uniquify-rationalize-a-list): Make `depth' optional. (uniquify-non-file-buffer-names): Remove. (uniquify-rationalize-file-buffer-names): Don't set it up. Use uniquify-make-item and don't pass the now-optional depth. (uniquify-rationalize-conflicting-sublist): Check the new buffer name directly instead of relying on uniquify-non-file-buffer-names. (uniquify-rename-buffer): Use with-current-buffer and pass the `unique' arg to rename-buffer. * vc-mcvs.el (vc-mcvs-mode-line-string): Fix thinko. (vc-mcvs-rename-file): New function. 2003-05-04 Emmanuel Briot * progmodes/ada-mode.el * progmodes/ada-prj.el * progmodes/ada-stmt.el * progmodes/ada-xref.el (ada-xemacs): Variable removed, since it's better to use (featurep 'xemacs). Removed warnings generated with Emacs 21.3.x (mostly by adding needed `require' statements). 2003-05-04 Nick Roberts * toolbar/gud-break.pbm, toolbar/gud-cont.pbm, toolbar/gud-display.pbm, toolbar/gud-down.pbm, toolbar/gud-finish.pbm, toolbar/gud-until.pbm, toolbar/gud-next.pbm, toolbar/gud-print.pbm, toolbar/gud-remove.pbm, toolbar/gud-run.pbm, toolbar/gud-step.pbm, toolbar/gud-up.pbm: Correct size for cleaner bitmaps. 2003-05-03 Stefan Monnier * emacs-lisp/cl-extra.el (cl-map-keymap): Redefine as alias. (cl-map-keymap-recursively): Use map-keymap. (cl-macroexpand-all): Don't quote functions. * emacs-lisp/lucid.el (cl-map-keymap): Be careful with aliases. * emacs-lisp/advice.el (ad-get-enabled-advices, ad-special-forms) (ad-arglist, ad-subr-arglist): Use push and match-string. (ad-make-advised-docstring): Extract & reinsert the usage info. * help-fns.el (help-add-fundoc-usage): Allow arglist to be a string. 2003-05-03 Nick Roberts * gdb-ui.el (breakpoint-enabled-icon, breakpoint-disabled-icon): Include bitmap data for monochrome display. (breakpoint-enabled-pbm-data, breakpoint-disabled-pbm-data): New constants. 2003-05-03 Richard M. Stallman * emacs-lisp/autoload.el (update-directory-autoloads): Renamed from update-autoloads-from-directories. * progmodes/cperl-mode.el (cperl-nonoverridable-face): Doc fix. * mail/sendmail.el (mail-dont-send, mail-bury): Make ARG optional. * view.el (Helper-return-blurb): Add defvar. (Also rearrange defuns.) * uniquify.el (uniquify-ignore-buffers-re): Change default to match some Gnus buffers. * newcomment.el (comment-search-forward): Add autoload cookie. * isearch.el (isearch-complete): Update isearch-message. * filesets.el (filesets-data): Add another defvar. (filesets-verbosity): Doc fix. 2003-05-02 Tak Ota * recentf.el (recentf-cleanup): Swap tests for exclusion and accessibility. 2003-05-01 Eduardo Muñoz (tiny change) * ls-lisp.el (ls-lisp-format-file-size): New function to implement "-h" switch. (ls-lisp-format): Use it. 2003-05-01 Kenichi Handa * international/utf-8.el (utf-translate-cjk-mode): Update the second extra slot of the translation table utf-translation-table-for-encode. (mule-utf-8): Set the property translation-table-for-encode. 2003-04-30 Stefan Monnier * pcvs.el (cvs-vc-command-advice): Don't parse "cvs update -p" output. (cvs-mode-find-file): Don't complain if bound to a non-mouse event. * textmodes/fill.el (text-property-default-nonsticky): Add fill-space. (fill-delete-newlines): Respect the new property. (fill-newline): Use the property instead of leaving "spurious" spaces. * emacs-lisp/easymenu.el (easy-menu-get-map): Correctly handle non-submap bindings. 2003-04-30 Emmanuel Briot * progmodes/ada-mode.el (ada-search-directories): Take into account ADA_INCLUDE_PATH for better compatibility with GNAT. (ada-contextual-menu): Menu defined through `easy-menu-define' instead. Various adjustments to the indentation engine (handling of subtypes, begin blocks, etc.). (ada-create-menu): Major rewrite of the handling of menus to use `easy-menu-define' for cleaner code and better compatibility with XEmacs. All menus that were previously in ada-xref.el and ada-prj.el are now defined in this package, which makes it easier to edit menus. (ada-narrow-to-defun): Add support for `narrow-to-region'. No longer explicitely load ada-xref.el and ada-prj.el. Use autoload statements instead. * progmodes/ada-xref.el (ada-gnatls-args): New variable. Add support for specifying arguments to gnatls. (ada-initialize-runtime-library): Properly parse "." in the output of gnatls. (ada-add-keymap): Remove since this is now done in ada-mode.el itself. (ada-add-ada-menu): Likewise. (ada-set-default-project-file): New parameter KEEP-EXISTING. (ada-prj-find-prj-file): New parameter FILE. (ada-parse-prj-file): Take into account the ADA_INCLUDE_PATH and ADA_OBJECTS_PATH environment variables. Minor reorganization of the code. (ada-get-all-references): Add support for GNAT 3.16 cross-references. * progmodes/ada-prj.el (ada-prj-add-keymap): Move to ada-mode.el directly. Add dependency on ada-xref.el to avoid compilation warnings. (ada-prj-get-prj-dir): Remove, no longer needed. * progmodes/ada-stmt.el (ada-stmt-add-to-ada-menu): Move to ada-mode.el. (ada-template-map): Merge with the keymap handling in ada-mode.el. 2003-04-29 Stefan Monnier * isearch.el (isearch-complete1): Don't allocate unnecessarily. (isearch-complete-edit): Adjust to Emacs-21's new minibuffer handling. (isearch-update-ring): Use push. 2003-04-29 Oliver Scholz * play/gamegrid.el: Added a comment explaining the various ways to save a game score on POSIX systems. (gamegrid-add-score-with-update-game-score): Use `cond' instead of `if'. Provide for the case that FILE is an absolute filename. Create the directory "$HOME/.emacs.d/games", if necessary. 2003-04-29 John Paul Wallington * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Use `string-match'. 2003-04-28 Dave Love * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Avoid cl warnings from caaar & al. 2003-04-28 Kenichi Handa * international/mule-cmds.el (reset-language-environment): Raise the priority of mule-utf-8, mule-utf-16-be-with-signature and mule-utf-16-le-with-signature. * international/mule-conf.el: Set coding-category-utf-16-be to mule-utf-16-be-with-signature, coding-category-utf-16-le to mule-utf-16-le-with-signature. Raise the priority of coding-category-utf-8, coding-category-utf-16-be, and coding-category-utf-16-le 2003-04-27 Luc Teirlinck * scroll-bar.el (scroll-bar-drag-1): Replace beginning-of-line with vertical-motion. 2003-04-27 David Ponce * recentf.el Major rewrite. The code is reordered, cleaner and faster. Introduce new options to automatically cleanup the recent list, and to handle filename transformation (for example to use true filenames). (recentf-version): New constant. (recentf-save-file-header): Move. (recentf-data-cache): New variable. (recentf-update-menu-p, recentf-initialized-p): Remove. (recentf-menu-customization-changed): Move. Doc fix. (recentf-max-saved-items): Doc fix. (recentf-save-file): Doc fix. No more expand filename here. (recentf-exclude, recentf-menu-action) (recentf-menu-filter): Doc fix. (recentf-menu-append-commands-flag): Rename from... (recentf-menu-append-commands-p): Make obsolete. (recentf-keep-non-readable-files-flag): Rename from... (recentf-keep-non-readable-files-p): Make obsolete. (recentf-auto-cleanup, recentf-filename-handler): New options. (recentf-string-equal, recentf-string-lessp) (recentf-string-member): New functions. (recentf-trunc-list): Move. (recentf-dump-variable): Move. Better code and output format. (recentf-auto-cleanup-timer): New variable. (recentf-auto-cleanup): New function. (recentf-push, recentf-expand-file-name): New functions. (recentf-add-file): In-line. Use above functions. (recentf-remove-if-non-readable): In-line. Expand file name. (recentf-find-file): Use `recentf-remove-if-non-readable'. (recentf-directory-compare): Move. Use `recentf-string-equal' and `recentf-string-lessp' to do comparisons. (recentf-menu-items-for-commands) (recentf-menu-filter-commands): Move. (recentf-elements, recentf-make-menu-element) (recentf-menu-element-item, recentf-menu-element-value) (recentf-set-menu-element-item, recentf-set-menu-element-value) (recentf-sub-menu-element-p, recentf-make-default-menu-element) (recentf-menu-elements): In-line. Some doc fix. (recentf-apply-menu-filter): Better code. (recentf-make-menu-items): Doc fix. Use `recentf-menu-append-commands-flag'. (recentf-make-menu-item): In-lined. Better code. (recentf-clear-data): New function. (recentf-sort-ascending, recentf-sort-descending) (recentf-sort-basenames-ascending) (recentf-sort-basenames-descending) (recentf-sort-directories-ascending) (recentf-sort-directories-descending) (recentf-show-basenames-ascending) (recentf-show-basenames-descending): In-line. Better code. Doc fix. (recentf-show-basenames) (recentf-relative-filter): Better code. Doc fix. (recentf-arrange-by-rule-subfilter): Doc fix. Improve :set code. (recentf-match-rule-p): Use filename instead of file-path. (recentf-arrange-by-rule, recentf-build-mode-rules) (recentf-arrange-by-mode, recentf-build-dir-rules) (recentf-file-name-nondir) (recentf-filter-changer-alist): Some doc fix and code cleanup. (recentf-filter-changer-goto-next): Doc fix. Call `recentf-clear-data'. (recentf-filter-changer-get-current) (recentf-filter-changer-get-next): In-line. Doc fix and better code. (recentf-filter-changer): Doc fix and better code. (recentf-cancel-dialog): Doc fix. (recentf-dialog-mode-map): Initialize in defvar. (recentf-dialog-mode): Doc fix. (recentf-track-opened-file): Rename from... (recentf-add-file-hook): Remove. (recentf-track-closed-file): Rename from... (recentf-remove-file-hook): Remove. (recentf-update-menu-hook): Remove. Replace by... (recentf-update-menu): New. Better catch unnecessary updates. Display a message on error. (recentf-used-hooks): New constant. (recentf-enabled-p): New function. (recentf-edit-selected-items) (recentf-open-files-action) (recentf-open-files-item-shift): Doc fix. (recentf-edit-list-action) (recentf-open-files-item): Doc fix. Code cleanup. (recentf-edit-list, recentf-open-files) (recentf-open-more-files): Likewise. Remove autoload cookie. (recentf-save-list, recentf-cleanup): Likewise. Move. (recentf-load-list): New command. (recentf-mode): Better code. Does nothing if enabling the already enabled mode. 2003-04-27 Alan Mackenzie * emacs-lisp/regexp-opt.el (regexp-opt-depth): Don't count a "//(" which appears inside a character set. (regexp-opt-not-groupie*-re): New constant. 2003-04-26 John Paul Wallington * ibuffer.el (ibuffer-name-map, ibuffer-mode-name-map) (ibuffer-mode-filter-group-map): Initialize in `defvar'. (ibuffer-do-view-1): Use `make-frame' instead of `new-frame'. 2003-04-25 Jan Nieuwenhuizen * info.el (Info-unescape-quotes, Info-split-parameter-string) (Info-display-images-node): New functions for displaying images. (Info-select-node): Call Info-display-images-node. 2003-04-25 David Ponce * files.el (file-relative-name): Recognize "c:/foo" as absolute file name. 2003-04-24 Sam Steingold * calendar/diary-lib.el (fancy-diary-display-mode): Bind "q" to `quit-window' in the fancy diary buffer. * emacs-lisp/cl-indent.el: `symbol-macrolet' is similar to `let', not `multiple-value-bind'. 2003-04-24 Lars Hansen * subr.el (assq-delete-all): Ignore non-cons elements. 2003-04-24 John Paul Wallington * help-mode.el (help-make-xrefs): Remove extra paren. 2003-04-23 Stefan Monnier * newcomment.el (comment-normalize-vars): Prompt the user for the comment-start to use rather than signalling an error. Fix regexp. (uncomment-region): Don't leave half-removed comment markers. 2003-04-23 Richard M. Stallman * mail/sendmail.el (mail-send-and-exit): Make arg optional. * files.el (view-read-only): Doc fix. * simple.el (back-to-indentation): Call backward-prefix-chars. * help-mode.el (help-make-xrefs): Clean up the loop that scans over a keymap inserted by \\{...}; it now stops at end of buffer. * filesets.el: Don't call filesets-init. * emacs-lisp/bytecomp.el (byte-compile-defun): Generate and compile a defalias form, unless byte-compile-compatibility. * progmodes/scheme.el (scheme-mode-syntax-table): Use prefix syntax for ', `, comma, @ and #. * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table): Give @ prefix syntax. 2003-04-23 Andre Spiegel * vc-cvs.el (vc-cvs-stay-local): Keep the old default. Simplify doc string. 2003-04-23 Wolfgang Scherer * vc-cvs.el (vc-cvs-stay-local): Allow lists of host regexps. (vc-cvs-stay-local-p): Handle them. (vc-cvs-parse-root): New function, used by the above. 2003-04-22 Stefan Monnier * vc-mcvs.el (vc-mcvs-root): Cache the result. (vc-mcvs-registered): Simplify. Use file-relative-name. (vc-mcvs-register): Simplify. Don't burp if MCVS/TYPES doesn't exist. (vc-mcvs-command): Filter F-NN names in the output for diff and log. 2003-04-21 Stefan Monnier * info.el (Info-default-dirs): New fun extracted from Info-initialize. (info-initialize): Use it. Obey the "final :" convention for INFOPATH. * textmodes/fill.el (fill-region-as-paragraph): Fix "last line goes to fill-column+1" problem. * emacs-lisp/bytecomp.el (byte-compile-defvar): Improve message. 2003-04-20 Richard M. Stallman * simple.el (kill-line): Doc fix. 2003-04-20 Sam Steingold * pcvs.el (cvs-examine): Respect `find-file-visit-truename'. 2003-04-20 Glenn Morris * which-func.el (which-func-modes): Add f90-mode. (which-function): Handle imenu submenus. * progmodes/fortran.el (fortran-abbrev-start): Make XEmacs compatible. * progmodes/f90.el (f90-font-lock-keywords-2): Use override for font-lock-variable-name-face in declarations. Highlight continuation characters. (f90-indent-new-line): Remove direct call to f90-indent-line-no, f90-update-line. (f90-abbrev-start): Fix XEmacs compatibility. 2003-04-19 Stefan Monnier * vc-mcvs.el: New file. * vc-cvs.el (vc-cvs-dir-state): Use vc-cvs-command. (vc-cvs-could-register, vc-cvs-make-version-backups-p): Use defalias. (vc-cvs-merge-news): Simplify. (vc-cvs-diff): Remove unused var `options'. (vc-cvs-parse-entry): Use the same algorithm as cvs does. 2003-04-19 Richard M. Stallman * desktop.el (desktop-buffer-mh): Don't require mh-e; it causes trouble in compilation. * add-log.el (add-log-current-defun-function): Add autoload cookie. * newcomment.el (comment-use-syntax): Add autoload cookie. * emacs-lisp/bytecomp.el (byte-compile-log-file) (byte-recompile-directory): Don't use byte-goto-log-buffer. Instead, set default-directory and then call compilation-mode. (byte-compile-from-buffer): Force byte-compile-last-position to end of buffer before issuing final warnings. 2003-04-18 Stefan Monnier * emulation/cua-base.el (cua-mode): Use define-minor-mode. (cua-global-mark-face): Fix face format. * emacs-lisp/easy-mmode.el (define-minor-mode): Only echo a message if the body didn't do so already. (easy-mmode-define-keymap): Remove unused var `suppress'. * view.el (view-read-only): Move to files.el. * files.el (view-read-only): Move from view.el. 2003-04-17 Stefan Monnier * files.el (view-read-only): Don't declare a second time. (find-file-read-only, find-file-read-only-other-window) (find-file-read-only-other-frame): Check that file does exist. (large-file-warning-threshold): New custom. (find-file-noselect): Use it. (report-errors): New macro. (normal-mode): Use it. (toggle-read-only): Really toggle, even if view-mode is on. (parse-colon-path): Remove unused `cd-prefix' var. (make-backup-file-name-1): Remove unused `failed' var. (basic-save-buffer): Remove unused `tempsetmodes' var. (basic-save-buffer-2): Remove unused `temp' var. (insert-directory): Remove unused `available' var. 2003-04-17 John Paul Wallington * hexl.el (hexl-find-file): Bind `default-major-mode' to `fundamental-mode'. 2003-04-16 Stefan Monnier * reveal.el (reveal-post-command): Use overlay-get for overlays. 2003-04-16 Kenichi Handa * international/mule-cmds.el (describe-language-environment): At first, require all necessary features. 2003-04-16 Dave Love * progmodes/xscheme.el: Moved from lisp directory. 2003-04-16 Glenn Morris * progmodes/f90.el (f90-indent-to, f90-indent-line-no) (f90-no-block-limit, f90-end-of-block, f90-beginning-of-block) (f90-comment-region, f90-indent-line, f90-indent-region) (f90-find-breakpoint, f90-block-match): Trivial simplifications. (f90-looking-at-do, f90-looking-at-select-case) (f90-looking-at-if-then, f90-looking-at-where-or-forall): Drop XEmacs 19 support and simplify. (f90-indent-new-line): No need for case-fold-search. Simplify. (f90-fill-region): Make marker nil when done. Simplify. * progmodes/fortran.el (fortran-column-ruler): Minor doc change. 2003-04-16 Richard M. Stallman * man.el (Man-follow-manual-reference): Don't require match when calling completing-read. 2003-04-15 Glenn Morris * progmodes/fortran.el: Whitespace changes, some re-ordering of code, trivial commentary change. (fortran, fortran-indent, fortran-comment) (fortran-tab-mode-default, fortran-continuation-indent) (fortran-comment-indent-style, fortran-blink-matching-if) (fortran-continuation-string, fortran-electric-line-number) (fortran-break-before-delimiters, fortran-mode-hook) (fortran-end-prog-re, fortran-imenu-generic-expression): Minor doc changes. (fortran-tab-mode-minor-mode-string): New variable. (fortran-tab-mode-string): Now customization is meaningful. (fortran-column-ruler-fixed, fortran-column-ruler-tab) (fortran-analyze-depth): Use defcustom. (fortran-if-start-re, fortran-end-prog-re1, fortran-fill) (fortran-break-line, fortran-prepare-abbrev-list-buffer) (fortran-auto-fill): Add doc string. (fortran-type-types): New constant (was local to let binding). (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2) (fortran-font-lock-syntactic-keywords): Initialize in defvar. (fortran-font-lock-keywords-3): Initialize in defvar. Use 1+ now depth of fortran-type-types has changed. Remove extra and. (fortran-mode-menu): Minor re-organization. Use lookup-key. (fortran-mode): Doc changes. Some re-organization. Use fortran-tab-mode-minor-mode-string. (fortran-comment-indent): Add doc string. Move save-excursion. Use 1+. (fortran-indent-comment, fortran-fill-statement): Change interactive spec. Use unless. (fortran-comment-region): Doc change. Reverse logic of arg test. Use zerop. (fortran-abbrev-start, fortran-split-line) (fortran-electric-line-number, fortran-indent-subprogram) (fortran-strip-sequence-nos): Change interactive spec. (fortran-remove-continuation): Add doc string. Use when. (fortran-numerical-continuation-char): Doc change. Use 1+. (fortran-previous-statement, fortran-next-statement) (fortran-beginning-do, fortran-calculate-indent) (fortran-end-do, fortran-end-if, fortran-beginning-if): Use zerop, 1+, 1-. (fortran-blink-match, fortran-check-for-matching-do): Use when. (fortran-indent-line): Change interactive spec. Remove un-needed if. Use when. (fortran-indent-to-column): Doc change. Use when, unless. (fortran-find-comment-start-skip): No longer interactive. (fortran-analyze-file-format): Minor doc change. Remove un-needed setq. (minor-mode-alist): Use add-to-list. (fortran-fill-paragraph): Change interactive spec, doc string. * progmodes/f90.el: Whitespace changes, trivial commentary changes. (f90, f90-indent, f90-program-indent, f90-continuation-indent) (f90-indented-comment-re, f90-imenu-generic-expression) (f90-mark-subprogram, f90-join-lines): Minor doc changes. (f90-menu): Shift definition to initialization of f90-mode-map. Add customization section. (f90-mode): Minor doc change. Do not call easy-menu-add. Set `beginning-of-defun-function' and `end-of-defun-function' to appropriate F90 functions. (f90-indent-line, f90-indent-line, f90-indent-subprogram) (f90-break-line, f90-do-auto-fill, f90-insert-end) (f90-upcase-keywords, f90-capitalize-keywords) (f90-downcase-keywords): Change interactive spec. 2003-04-14 Stefan Monnier * font-lock.el (font-lock-multiline, font-lock-fontified) (font-lock-set-defaults): Move back from font-core.el and merge it back with font-lock-set-defaults-1. (font-lock-mode-internal): New function (basically the body of the old font-lock-mode minor mode). * font-core.el (font-lock-maximum-size, font-lock-verbose): Remove. (font-lock-multiline, font-lock-fontified, font-lock-set-defaults): Move back to font-lock.el. (font-lock-default-function): Use font-lock-mode-internal. * files.el (auto-mode-alist): Add entries for *.ins and *.dtx. (recover-file): Abbreviate file name in messages. * textmodes/tex-mode.el (latex-mode-map): Bind latex-split-block. (tex-font-lock-keywords-2): Comment out unused var `type'. (tex-guess-mode): New name for old `tex-mode'. (tex-mode): Make it a derived mode of text-mode. (plain-tex-mode, latex-mode): Change parent from text-mode to tex-mode. (tex-common-initialization): Don't setup syntax-table any more. (tex-validate-buffer): Remove unused var `oend'. Use with-current-buffer and line-beginning-position. (tex-recenter-output-buffer): Remove unused var `old-buffer'. (latex-indent): Return `noindent' if no indentation can happen. (doctex-font-lock-^^A, doctex-font-lock-syntactic-face-function) (doctex-font-lock-syntactic-keywords, doctex-font-lock-keywords) (doctex-mode): New funs for DocTeX mode, derived from LaTeX mode. * font-lock.el (font-lock-preprocessor-face): New var and face. 2003-04-14 Andrew Choi * term/mac-win.el: Unconditionally set process-connection-type to nil. 2003-04-14 Richard M. Stallman * derived.el (define-derived-mode): Make generated code work in Emacs versions that do not have run-mode-hooks. * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): At end of buffer, run the global binding of the same key. * international/mule.el (after-insert-file-set-coding): Properly treat INSERTED as number of characters, for both for both the argument and the value. * desktop.el (desktop-base-file-name): Renamed from desktop-basefilename. Add defvaralias. 2003-04-14 John Paul Wallington * international/fontset.el (create-fontset-from-ascii-font): Doc fix. (x-must-resolve-font-name): Fix error message typo. 2003-04-13 Glenn Morris * progmodes/fortran.el (fortran-previous-statement): Check for fortran-continuation-string. (fortran-calculate-indent): Do not add extra whitespace to strings broken over lines. (fortran-fill): Handle long strings that must be broken. 2003-04-13 Michael Albinus (tiny change) * net/ange-ftp.el (ange-ftp-expand-symlink): If result of expansion is a symlink, expand again. (ange-ftp-file-symlink-p): Return target of symlink literally. 2003-04-13 Masatake YAMATO * bindings.el (toplevel): Don't change the face of major-mode on the mode line. Setting the face on the mode line code is installed by my mistake in my last change. 2003-04-12 Stefan Monnier * add-log.el (change-log-version-number-search): Fix old bug. (add-change-log-entry): Avoid inserting the same funname again. (add-log-indent-text): New var. (add-log-indent): New fun. (change-log-mode): Use it. * net/browse-url.el: Don't autoload all these defcustoms. (browse-url-default-macosx-browser): New fun. (browse-url-browser-function): Use it for system-type = darwin. (browse-url-usr1-signal): Remove. (browse-url-mosaic): Use SIGUSR1 directly instead. (browse-url-gnome-moz-program): New var. (browse-url-gnome-moz, browse-url-default-browser): Use it. * emacs-lisp/bytecomp.el: Use push, with-current-buffer, dolist, ... (byte-compile-const-variables): New var. (byte-compile-close-variables): Reset it. (byte-compile-file-form-defvar, byte-compile-defvar): Update it. (byte-compile-const-symbol-p): Now arg `value' to check defconsts. (byte-compile-variable-ref): Use it and improve warning message. (byte-compile-check-lambda-list): Use byte-compile-const-symbol-p. (byte-compile-lapcode): Remove unused vars. (byte-compile-eval): Fix thinko in handling of old-autoloads. (byte-recompile-directory): Use the expanded form for directory. (byte-compile-track-mouse): Use modern backquote syntax. (byte-compile-defvar): Detect and properly handle (defconst a). (byte-compile-defalias-warn): Remove unused arg `alias'. (byte-compile-defalias): Update call. 2003-04-13 Masatake YAMATO * help.el (describe-minor-mode): New function implementation. Accept both minor mode string and minor mode indicator. (describe-minor-mode-completion-table-for-indicator) (describe-minor-mode-completion-table-for-symbol): New functions. minor-mode-list is used here. (describe-minor-mode-from-symbol): Renamed from (old) describe-minor-mode. Use describe-minor-mode-completion-table-for-symbol. Don't use eval. Just use symbol-name. (describe-minor-mode-from-indicator): Document is updated. Use `format-mode-line'. Use describe-minor-mode-from-symbol instead of describe-minor-mode. Use describe-minor-mode-completion-table-for-indicator. (expand-minor-mode-indicator-object): Remove. (lookup-minor-mode-from-indicator): Remove the fist white space from both indicator and anindicator before comparing them. * bindings.el (mode-line-major-mode-keymap) (mode-line-minor-mode-keymap): Define keys for the maps here in `defvar'. 2003-04-12 Stefan Monnier * server.el (server-socket-name): Use new safe location for socket. (server-ensure-safe-dir): New fun. (server-start): Use it and letf. (server-process-filter): Re-enable the -eval feature. 2003-04-12 Glenn Morris * play/gomoku.el (gomoku-buffer-name): New constant. (gomoku-mode): Doc fix. Add call to kill-all-local-variables. (gomoku): Do not call gomoku-switch-to-window directly. (gomoku-prompt-for-other-game): Throw an error if no new game. (gomoku-switch-to-window): Use gomoku-buffer-name. * progmodes/f90.el (f90-abbrev-start): Only offer help if abbrev-mode is active. (f90-join-lines): Make it behave more like standard join-line. (f90-fill-region, f90-menu): Adapt for new f90-join-lines. * progmodes/fortran.el (fortran-abbrev-start): Only offer help if abbrev-mode is active. 2003-04-12 John Paul Wallington * help-fns.el (help-add-fundoc-usage): Pass an empty string to `format' if no newlines are necessary. 2003-04-11 Stefan Monnier * bindings.el (global-map): Bind [select-window]. 2003-04-11 John Paul Wallington * type-break.el (type-break-warning-countdown-string): Doc fix. 2003-04-11 ARISAWA Akihiro (tiny change) * international/utf-8.el (utf-translate-cjk-mode): Fix incorrect place of parenthesis. 2003-04-11 Masatake YAMATO * progmodes/etags.el (select-tags-table-mode-map): Don't create new keymap. Instead copy from button-buffer-map. Bind push-button to `t' instead of binding select-tags-table-select directly. (tags-select-tags-table): New button. (select-tags-table): Put a button for each selections. 2003-04-11 Kenichi Handa * international/mule.el: Don't set after-insert-file-adjust-coding-function. (after-insert-file-set-coding): Renamed from after-insert-file-set-buffer-file-coding-system. 2003-04-11 Kenichi Handa * international/quail.el (quail-guidance-str) (quail-guidance-frame): New variables. (quail-guidance-win): Delete this variable. (quail-setup-overlays): Make overlay not rear-advancing. (quail-kill-guidance-buf): Delete this function. (quail-activate): Add/remove quail-show-guidance to/from post-command-hook. (quail-input-method): Don't setup quail-guidance-buf. Initialize quail-guidance-str to "". (quail-start-translation): Call quail-show-guidance at first. (quail-start-conversion): Likewise. (quail-terminate-translation): Don't erase quail-guidance-buf. (quail-update-translation): Stretch overlays if their starting and ending positions are same. (quail-update-current-translations): Check the width of the current window, not the width of quail-guidance-win. (quail-make-guidance-frame): Delete the arg BUF. Fix position calculation. Don't set the window buffer, just return the new frame. (quail-minibuffer-message): New function. (quail-show-guidance): Renamed from quail-show-guidance-buf. Use message and quail-minibuffer-message to display the guidance. (quail-hide-guidance): Renamed from quail-hide-guidance-buf. Only delete quail-guidance-frame. (quail-update-guidance): Just update quail-guidance-str, not display it. (quail-get-translations): Renamed from quail-show-translations. Return a string instead of inserting it in quail-guidance-buf. 2003-04-11 Kenichi Handa * international/mule-cmds.el (sort-coding-systems): Set lower priority to a utf-16 base coding system. Set higher priority to a coding system listed in coding-category-list. 2003-04-10 Juanma Barranquero * frame.el (modify-all-frames-parameters): Deleted. 2003-04-10 Sebastian Tennant (tiny change) * desktop.el (desktop-buffer-file): Restore major-mode if it is different from the normal mode. 2003-04-10 Kenichi Handa * international/mule.el: Set after-insert-file-adjust-coding-function to after-insert-file-set-buffer-file-coding-system instead of adding it to after-insert-file-functions. * language/ind-util.el (indian-2-column-to-ucs-region): Fix for the case of replacing multibyte characters. 2003-04-09 Richard M. Stallman * files.el (file-chase-links): Fix previous change. 2003-04-09 Juanma Barranquero * frame.el (new-frame): Add obsolescence declaration. 2003-04-09 Ehud Karni * frame.el (set-frame-font): Allow keeping frame size after changing font. (modify-all-frames-parameters): New function to change parameters in all existing and future frames. 2003-04-09 Thien-Thi Nguyen * man.el (Man-heading-regexp): Accept hyphen. 2003-04-09 Kenichi Handa * international/fontset.el: Specify rescale ratio 1.3 for CDAC fonts. * international/mule-conf.el: Register ?\221 and ?\226 in latin-extra-code-table. 2003-04-08 Richard M. Stallman * subr.el (minor-mode-list): New variable. (add-minor-mode): Add to it. * files.el (file-chase-links): New arg LIMIT. After that many iterations, just return what we've got. * map-ynp.el (map-y-or-n-p): When formatting chars in ACTION-ALIST, use single-key-description. * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): At end of buffer, just call `newline'. * mail/rmailsum.el (rmail-make-basic-summary-line): If there's no From field, still try to use the To field. 2003-04-09 Kenichi Handa * international/mule-diag.el (print-coding-system-briefly): If DOC-STRING is `tightly', print the doc-string tightly. (list-coding-systems-1): Sort coding systems. Call print-coding-system-briefly with the arg DOC-STRING `tightly'. 2003-04-08 Kai Großjohann * net/tramp.el: Version 2.0.33 released. Change coding cookie to `iso-2022-7bit' for XEmacs compatibility. (From Steve Youngs .) 2003-04-08 Michael Albinus * net/tramp-ftp.el (tramp-ftp-file-name-handler): Do not disable file name handlers for `file-exists-p' and `file-directory-p'. 2003-04-08 Kenichi Handa * international/mule-conf.el: Register ?\225 in latin-extra-code-table. * international/utf-16.el (utf-16-le-decode-loop) (utf-16-be-decode-loop): New temporary variables. (ccl-decode-mule-utf-16-le): Use utf-16-le-decode-loop. (ccl-decode-mule-utf-16-be): Use utf-16-be-decode-loop. (ccl-decode-mule-utf-16-le-with-signature) (ccl-decode-mule-utf-16-be-with-signature) (ccl-decode-mule-utf-16): New CCL programs. (utf-16-le-encode-loop, utf-16-be-encode-loop): New temporary variables. (ccl-encode-mule-utf-16-le): Use utf-16-le-encode-loop. (ccl-encode-mule-utf-16-be): Use utf-16-be-encode-loop. (ccl-encode-mule-utf-16-le-with-signature) (ccl-encode-mule-utf-16-be-with-signature): New CCL programs. (mule-utf-16-post-read-conversion): New function. (mule-utf-16-le-with-signature, mule-utf-16-be-with-signature), (mule-utf-16): New coding systems. (utf-16-le-with-signature, utf-16-be-with-signature), (utf-16): Aliases of the above coding systems. 2003-04-08 Martin Stjernholm * progmodes/cc-langs.el (c-symbol-key): Use POSIX char classes to match symbols. This makes CC Mode cope with the full range of identifier characters in e.g. Java. 2003-04-07 Francesco Potortì * xt-mouse.el (xterm-mouse-event-read): New function. (xterm-mouse-event): Use it to get xterm sequences above #x7f. Suggested by Aman Bhargava . 2003-04-07 Kai Großjohann * man.el (Man-getpage-in-background): Set GROFF_NO_SGR env var in all cases, whether or not start-process is fboundp. 2003-04-06 Richard M. Stallman * calendar/cal-menu.el (cal-menu-update): Use easy-menu-create-menu rather than easy-menu-change. * dired.el (dired-view-file): Let viewer program run asynchronously. 2003-04-06 Ben North (tiny change) * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Correct the starting point for previous-single-property-change. 2003-04-06 Lars Hansen * desktop.el: Handle multiple desktop files in different dirs. Other cleanups. Command line option --no-desktop introduced. (desktop-read): Record buffers in the desktop file in the same order as that in the buffer list, (desktop-save): Put buffers in the order given in desktop file, regardless of what handlers do. (desktop-file-version): New variable. Version number of desktop file format. (desktop-create-buffer-form): Variable deleted. (desktop-save): New customizable variable. (desktop-kill): Use `desktop-save'. (desktop-file-name-format): New option: format in which desktop file names should be saved. (desktop-file-name): New function to convert a filename to the format specified in `desktop-file-name-format'. (desktop-create-buffer): Parameters renamed to descriptive systematic names. These parameters are visible to handlers. Renames: ver -> desktop-file-version mim -> desktop-buffer-minor-modes pt -> desktop-buffer-point mk -> desktop-buffer-mark ro -> desktop-buffer-read-only locals -> desktop-buffer-locals. (desktop-buffer-major-mode, desktop-buffer-file-name) (desktop-buffer-name): Delete unused customizable variables. (desktop-buffer-misc): Delete unused variable. (desktop-save, desktop-buffer-dired-misc-data): Use `desktop-file-name'. (desktop-path): New customizable variable. List of directories in which to lookup the desktop file. Replaces hardcoded list. (desktop-globals-to-clear): New variable replaces hardcoded list. (desktop-globals-to-save): Variable made customizable. (desktop-clear-preserve-buffers-regexp): New customizable variable. (desktop-after-read-hook): New hook run after a desktop is read. (desktop-no-desktop-file-hook): New hook when no desktop file found. (desktop-change-dir): New function. (desktop-save-in-load-dir): New function. Save desktop in directory from which it was loaded. (desktop-revert): New function. Revert to the last loaded desktop. 2003-04-06 Masatake YAMATO * progmodes/etags.el (tag-find-file-of-tag): Renamed from find-file-of-tag to avoid name space pollution. (tag-find-file-of-tag-noselect): Likewise. (etags-list-tags, etags-tags-apropos): Use tag-find-file-of-tag instead of find-file-of-tag. 2003-04-06 Masatake YAMATO * info.el (Info-goto-emacs-command-node): If command is given as a string, convert it to a symbol. 2003-04-05 Kevin Ryde * info-look.el (emacs-lisp-mode): Add prefix/suffix matching regexps. 2003-04-05 Andre Spiegel * vc-cvs.el (vc-cvs-get-entries): New function that uses the right coding system for accessing CVS/Entries. (vc-cvs-registered, vc-cvs-dir-state-heuristic): Use it. 2003-04-04 Vinicius Jose Latorre * subr.el (number-sequence): Adjust code. 2003-04-04 Stefan Monnier * textmodes/refill.el (refill-fill-paragraph-at): Undo last fix. (refill-fill-paragraph-at): Don't skip prefix since markers work right. * textmodes/fill.el (fill-delete-newlines): Remove trailing whitespace. (fill-paragraph): Don't skip prefix now that markers work right. 2003-04-04 John Paul Wallington * ibuffer.el (ibuffer-insert-filter-group): `help-echo' text property dynamically respects `tooltip-mode'. (define-ibuffer-column name): Likewise. * ibuf-ext.el (ibuffer-format-filter-group-data): Don't append "\n". 2003-04-04 Masatake YAMATO * progmodes/etags.el (find-file-of-tag-noselect, find-file-of-tag): New helper functions. (snarf-tag-function): Doc string is changed. Explained about new optional argument, `use-explicit'. (etags-snarf-tag): Add one optional argument `use-explicit'. (file-of-tag-function): Doc string is changed. Explained about new optional argument, `relative'. (file-of-tag): Doc string is changed. Explained about new optional argument, `relative'. Pass `relative' to `file-of-tag-function'. (etags-file-of-tag): Add new argument `relative`. (list-tags): Set `buffer-read-only' to t after making the major mode apropos-mode. (etags-list-tags): Use `make-text-button' instead of `add-text-properties'. Used `snarf-tag-function', `goto-tag-location-function' and `find-file-of-tag' instead of `find-tag-other-window' (it's too simple). (find-tag-in-order): Use `find-file-of-tag-noselect' instead of `find-file'. (etags-tags-apropos): Use `find-file-of-tag-noselect' instead of `find-file'. Do not use `etags-goto-tag-location` directly; use `goto-tag-location-function' instead. Print relative file paths instead of complete ones in *Tags List* buffer, so lines in the buffer become shorter. (etags-tags-apropos-additional): Use `make-text-button' instead of `add-text-properties'. 2003-04-04 Andreas Schwab * net/tramp.el (tramp-send-string): Handle empty string. 2003-04-03 Richard M. Stallman * emacs-lisp/easymenu.el (easy-menu-define): Don't make a defvar for nil. (easy-menu-convert-item-1): Doc fix. (easy-menu-change): Call easy-menu-create-menu. * subr.el (read-quoted-char): Remember the input char before translation thru function-key-map, and use that for unreading. * shadowfile.el (shadow-parse-fullname): Rename from shadow-parse-fullpath. (shadow-parse-name): Rename from shadow-parse-path. (shadow-make-fullname): Rename from shadow-make-fullpath. (shadow-replace-name-component): Was shadow-replace-path-component. Callers of the above functions changed. (shadow-expand-cluster-in-file-name): Doc fix. (shadow-same-site, shadow-file-match): Doc fix. (shadow-define-literal-group): Doc fix. * kmacro.el (kmacro-end-and-call-macro): Doc fix. * hexl.el (hexl-find-file): Ignore user's value of default-major-mode. * files.el (hack-local-variables-prop-line): New arg MODE-ONLY. (hack-local-variables): When MODE-ONLY is set, pass it along to hack-local-variables-prop-line. * delsel.el (delete-active-region): Don't explicitly deactivate mark. 2003-04-03 Masatake YAMATO * progmodes/etags.el: Require button.el. (etags-tags-apropos): Use `make-text-button' instead of `add-text-properties'. Use `snarf-tag-function' and `etags-goto-tag-location' instead of `find-tag-other-window' (it's too simple). * man.el (Man-xref-header-file): Fix previous change. 2003-04-03 Kenichi Handa * subr.el (number-sequence): New function. 2003-04-02 Ehud Karni (tiny change) * sort.el (sort-reorder-buffer): Fix saving of markers at the end of the sorted region. 2003-04-02 Masatake YAMATO * woman.el (woman-xref): Removed. (woman-mode): Use `Man-highlight-references' instead of `WoMan-highlight-references'. (WoMan-highlight-references): Removed. * man.el (toplevel): Require button. (Man-header-file-path): New option. (Man-synopsis-regexp, Man-files-regexp, Man-include-regexp) (Man-file-name-regexp, Man-normal-file-prefix-regexp) (Man-header-regexp, Man-normal-file-regexp): New variables. (Man-mode-map): Inherit from `button-buffer-map'. Don't define "\r" and mouse-2 directly. These key are defined in `button-buffer-map'. (Man-xref-man-page, Man-xref-header-file, Man-xref-normal-file): New buttons. `Man-xref-man-page' comes from woman.el. (man-follow-mouse): Removed. (Man-fontify-manpage): Use `Man-highlight-references' instead of calling `add-text-properties' directly. (Man-highlight-references, Man-highlight-references0): New functions. (Man-view-header-file): New function. 2003-04-02 Stefan Monnier * textmodes/refill.el (refill-fill-paragraph-at): Don't preserve the trailing space since fill.el doesn't remove it anymore. (refill-mode): Reset fill-paragraph-function even if it was nil. * textmodes/fill.el (fill-region-as-paragraph): Don't remove space at end of paragraph: it makes refill.el unusable. Remove obsolete `save-restriction'. (fill-paragraph, fill-comment-paragraph): Don't add newline at EOP. (fill-delete-newlines): Don't add a trailing space. (fill-newline): Don't leave markers before the prefix. * progmodes/asm-mode.el (asm-calculate-indentation, asm-indent-line): New functions. (asm-mode): Use them in indent-line-function. Set tab-always-indent to nil to stay closer to previous tab behavior. Set comment-add. Remove space at end of comment-add. (asm-newline): Obsolete. Use newline-and-indent instead. (asm-mode-map): Remove TAB binding. (asm-code-level-empty-comment-pattern) (asm-flush-left-empty-comment-pattern) (asm-inline-empty-comment-pattern): Remove. (asm-comment): Use newcomment functions instead. (asm-colon): Don't tab if colon is not after a label. (asm-line-matches, asm-pop-comment-level): Remove. 2003-04-02 Kai Großjohann * emulation/crisp.el (top-level): Quote second arg to `eval-after-load'. 2003-04-02 Miles Bader * scroll-bar.el (scroll-bar-mode): Correctly specify `nil' choice. 2003-04-01 Stefan Monnier * progmodes/asm-mode.el (asm-mode-syntax-table): Setup entries that do not depend on asm-comment-char. (asm-mode-map): Declare and init at the same time. (asm-code-level-empty-comment-pattern) (asm-flush-left-empty-comment-pattern) (asm-inline-empty-comment-pattern): Use \s< so they do not depend on asm-comment-char. Turn them into constants. (asm-mode): Simplify. (asm-line-matches): Remove unused arg. 2003-04-01 Dave Love * time.el: Doc fixes. (display-time-mail-face): Change :type and default to nil. (display-time-mail-icon): Use pbm, not xbm. (display-time-mail-string): New. (display-time-string-forms): Use display-time-mail-string. Add checks in display property. 2003-04-01 Kenichi Handa * language/indian.el (indian-font-char-index-table): Fix the order of CDAC fonts. 2003-04-01 Kim F. Storm * simple.el (pop-global-mark-quick-repeat): Remove defcustom. (set-mark-command): Unconditionally repeat pop-global-mark without C-x prefix. Fix doc. * emulation/cua-base.el (cua-set-mark): Unconditionally repeat pop-global-mark without C-x prefix. Fix doc. 2003-03-31 Stefan Monnier * reveal.el (reveal-post-command): Better error handling. 2003-03-31 Nick Roberts * gdb-ui.el (gdb-inferior-io-mode): Remove Unix pathname for cat so that it can run on NT also. 2003-03-31 Masatake YAMATO * progmodes/asm-mode.el (asm-mode): Support skipping C lang style comments. * bindings.el (mode-line-major-mode-keymap): New variable. (mode-line-minor-mode-help): New function, bound to mode-line-minor-mode-keymap. (mode-line-modes): Split mode-line-mode definitions to mode-name, mode-line-process and minor-mode-alist. For mode-name, mode-line-major-mode-keymap is used. * help.el (describe-minor-mode, describe-minor-mode-from-indicator) (lookup-minor-mode-from-indicator): New functions. 2003-03-31 Kai Großjohann * files.el (file-relative-name): Remove superfluous `and'. Clarify docstring. From Lars Hansen. 2003-03-31 Kenichi Handa * international/utf-16.el (ccl-decode-mule-utf-16-le): Don't assume the signature bytes. (ccl-decode-mule-utf-16-be): Likewise. (ccl-encode-mule-utf-16-le): Don't produce the signature bytes. (ccl-encode-mule-utf-16-be): Likewise. 2003-03-30 Kevin Ryde * info-look.el (sh-mode): Add doc-specs for commands and variables. 2003-03-29 Kai Großjohann * international/utf-8.el (utf-translate-cjk-mode): Minor mode, replaces variable utf-translate-cjk which must be set via Custom. * files.el (file-relative-name): If FILENAME and DIRECTORY are on different drives (on DOS/Windows) or use different handlers, do like `expand-file-name' on FILENAME and return an absolute name. From Lars Hansen . * tramp.el: Version 2.0.31 released. (tramp-handle-expand-file-name): Do not allow ".." to cross file handler boundaries, so that "/user@host:/../foo" expands to itself, rather than "/foo". This is intended to work in conjunction with a change in `file-relative-name' which makes sure to use absolute file names if FILE and DIRECTORY have different handlers. (tramp-handle-insert-directory): Comment out XEmacs kludge. Suggested by Katsumi Yamaoka . 2003-03-29 Michael Albinus * trampver.el: New file, to support Autoconf in Tramp CVS repository. * tramp.el (tramp-version, tramp-bug-report-address): Move to trampver.el, which is required now. (tramp-chunksize): Type can be nil as well. Reported by Markus Rost . * tramp-smb.el (tramp-smb-read-file-entry): Make reading size of a listing entry more robust. Ranges from 10 chars (Samba 1) to 7-9 chars (Samba 2). 2003-03-29 John Paul Wallington * international/mule.el (with-category-table): Use `make-symbol' to avoid variable capture. Set table within `unwind-protect'. Ensure table is restored in correct buffer. Add docstring. 2003-03-29 Kenichi Handa * language/japan-util.el: If system-type is not for Windows, prefer japanese-iso-8bit. 2003-03-28 Sudish Joseph (tiny change) * term/mac-win.el (iconify-or-deiconify-frame): Define for compatibility with packages that use it. 2003-03-28 Lute Kamstra * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer): Fix docstring. (checkdoc-interactive, checkdoc-message-interactive): Make them perform spell checking when appropriate. (checkdoc-interactive-loop): Fix docstring and a few typos. (checkdoc-interactive-ispell-loop) (checkdoc-message-interactive-ispell-loop): New functions. (checkdoc-next-error): Fix docstring. (checkdoc-this-string-valid-engine): Fix typo. (checkdoc-ispell-docstring-engine): Do test for checkdoc-autofix-flag = nil. 2003-03-28 Jonathan Yavner * emacs-lisp/testcover.el (testcover-mark-all): Handle screwy top-level macros that put functions as properties. (testcover-mark): No error for functions that just return a constant. 2003-03-27 Andreas Schwab * vc-cvs.el (vc-cvs-parse-entry): Make sure a file with conflicts is marked as edited. 2003-03-26 Kenichi Handa * files.el (recode-file-name): New function. * international/characters.el: Setup categories for Indian characters. 2003-03-26 Steve Youngs * em-unix.el (eshell-plain-locate-behavior): Make the default nil on Emacs, t on XEmacs. 2003-03-25 Stefan Monnier * emacs-lisp/byte-opt.el (byte-optimize-set): New. Turn `set' into `setq' when applicable. 2003-03-24 Stefan Monnier * emacs-lisp/easy-mmode.el (define-minor-mode): Pass unknown keyword args blindly to defcustom. Use custom-set-minor-mode. 2003-03-24 Kim F. Storm * simple.el: Rework last change so C-x C-SPC C-SPC does not repeat pop-global-mark by default. (pop-global-mark-quick-repeat): New user option. (set-mark-command): Use it. * emulation/cua-base.el (cua-set-mark): Check pop-global-mark-quick-repeat. 2003-03-24 John Paul Wallington * emacs-lisp/easymenu.el (easy-menu-add-item): Don't default to the global map. * emerge.el (emerge-show-file-name): Read event irrespective of whether minibuffer window is resized. Clear minibuffer when done. * cus-theme.el (customize-create-theme): Rename from `custom-theme-create'. 2003-03-24 Luc Teirlinck * cus-edit.el (custom-mode): Make `custom-local-buffer' local. 2003-03-23 Peter Breton * net/net-utils.el (dns-lookup-host): New function. 2003-03-23 Martin Stjernholm * progmodes/cc-mode.el (c-parse-state): Add kludge to avoid an infinite loop when Emacs' open-paren-in-column-zero rule kicks in and causes the sexp functions to misbehave. 2003-03-22 Peter Breton * filecache.el (file-cache-add-directory-recursively) (file-cache-complete, file-cache-display): New functions. * generic-x.el (etc-modules-conf-generic-mode): New generic mode. (rul-generic-mode): Bugfixes by Rolf.Sandau@marconi.com. * dirtrack.el (dirtrack-cygwin-directory-function): New function. Remove timestamp. 2003-03-22 Kim F. Storm * ido.el (ido-mode): Remove unused NOBIND arg. Fix doc string accordingly. (ido-define-mode-map): Bind C-l for both file and dir modes. (ido-wide-find-file, ido-wide-find-dir, ido-make-directory): Let-bind enable-recursive-minibuffers to t around read-string. 2003-03-22 Kenichi Handa * international/fontset.el (setup-default-fontset): Use indian-font-char-range for specifying ranges of indian-glyph chars. Setup for AKRUTI fonts. * language/indian.el (indian-font-foundry): New variable. (indian-script-language-alist): New variable. (indian-font-char-index-table): New variable. (indian-font-char): New function. (indian-font-char-range): New function. (font-ccl-encoder-alist): Add entry for AKRUTI font. 2003-03-22 Kim F. Storm * progmodes/cperl-mode.el (cperl-electric-backspace): Add delete-selection property. * simple.el (set-mark-command): Doc fixes. Allow pop-global-mark to be repeated with C-x C-SPC C-SPC... C-u C-u C-SPC now unconditionally sets the mark. * emulation/cua-base.el (cua-set-mark): Doc fixes. Allow pop-global-mark to be repeated with C-x C-SPC C-SPC... C-u C-u C-SPC now unconditionally sets the mark. 2003-03-20 Mark A. Hershberger * xml.el (xml-parse-attlist): Fix typo in attribute parsing. 2003-03-20 Kenichi Handa * international/utf-8.el (ccl-decode-mule-utf-8): Fix a bug in handling invalid 5 to 6 bytes sequence. 2003-03-19 Simon Marshall * progmodes/make-mode.el (makefile-font-lock-syntactic-keywords): New variable. (makefile-mode): Use it for value of font-lock-syntactic-keywords. 2003-03-19 John Paul Wallington * cus-theme.el (custom-theme-create): Add autoload cookie. 2003-03-19 Kenichi Handa * dired.el (dired-get-filename): Pay attention to the case that `read' returns a unibyte string. Don't encode the file name by buffer-file-coding-system. 2003-03-18 Kenichi Handa * language/european.el ("Latin-6"): Fix input-method. ("Latin-7"): Fix input-method. * international/utf-8.el (utf-fragment-on-decoding): Don't call register-char-codings. (utf-fragment-on-decoding): Don't update char-coding-system-table. (utf-translate-cjk): Don't call register-char-codings nor optimize-char-coding-system-table. Don't update char-coding-system-table. * international/ucs-tables.el (ucs-unify-8859): Don't call register-char-codings. (ucs-unify-8859): Don't call optimize-char-coding-system-table. (ucs-fragment-8859): Don't update char-coding-system-table. Don't call register-char-codings nor optimize-char-coding-system-table. * international/mule.el (optimize-char-coding-system-table): Remove this function. (register-char-codings): Make it obsolete. (char-coding-system-table): Defconst it here. (make-coding-system): Don't call register-char-codings, call define-coding-system-internal. * international/mule-conf.el (no-conversion): Call define-coding-system-internal on this coding system instead of calling register-char-codings. * international/mule-cmds.el (find-coding-systems-for-charsets): Use find-coding-systems-string instead of looking up char-coding-system-table. * international/code-pages.el (cp-fix-safe-chars): Make it obsolete. (cp-make-coding-system): Don't call cp-fix-safe-chars. 2003-03-18 Stefan Monnier * startup.el (command-line-1): Use command-execute for any command. 2003-03-17 Stefan Monnier * buff-menu.el (list-buffers-noselect): Use the display property to properly align header-line text with the buffer's contents. 2003-03-17 Kenichi Handa * international/mule.el (ctext-post-read-conversion): Convert the search pattern to multibyte by string-to-multibyte. 2003-03-16 Deepak Goel * calc/calc-forms.el (math-tzone-names): Introduce UTC as an alias for GMT. Suggested by bob@rattlesnake.com. 2003-03-15 Stefan Monnier * pcvs.el (cvs-mode!): Remove unused argument. * emacs-lisp/easymenu.el (easy-menu-name-match): Catch any error that member-ignore-case might signal. (easy-menu-add-item): Default to the global map, as documented. (easy-menu-convert-item-1): Use match-string. 2003-03-15 Mark A. Hershberger * xml.el (xml-ucs-to-string): New function to convert Unicode codepoints to strings. Uses decode-char (mule.el) if available. (xml-parse-tag, xml-parse-attlist, xml-skip-dtd, xml-parse-dtd) (xml-parse-elem-type): Use ' \t\n\r' instead of '[:space:]'. (xml-parse-attlist): Add attribute normalization. (xml-parse-tag): Replace "\r\n" and "\r" with "\n". 2003-03-14 John Paul Wallington * files.el (recover-session): Error if there are no previous sessions to recover. * subr.el (posn-col-row): Simplify. * arc-mode.el (archive-subtype, archive-file-list-start) (archive-file-list-end, archive-proper-file-start) (archive-read-only, archive-local-name, archive-mode-map) (archive-file-name-indent, archive-remote) (archive-alternate-display, archive-superior-buffer) (archive-subfile-mode): Doc fixes. 2003-03-14 Stefan Monnier * indent.el (indent-for-tab-command): If tab-always-indent is non-nil and the user hits TAB a second time, just insert a tab. * textmodes/texinfo.el (texinfo-outline-level): Remove. (texinfo-mode): Set outline-heading-alist instead. (texinfo-section-list): Reorder for the needs of outline-heading-alist. (texinfo-insert-block): Don't cons needlessly. (texinfo-enable-quote-macros, texinfo-enable-quote-envs): New vars. (texinfo-insert-quote): Use them. * textmodes/outline.el (outline-level): Demote it to defvar. (outline-heading-alist): Document extended semantics. (outline-head-from-level): New fun. (outline-promote, outline-demote): Use it. (outline-show-heading): New fun. (hide-sublevels, show-children): Use it together with outline-map-region. (outline-get-next-sibling): Don't call outline-level at eob. 2003-03-14 Simon Josefsson * fringe.el (fringe-mode): Autoload so that Options->Show/Hide->Fringe->Customize works. 2003-03-13 Stefan Monnier * textmodes/outline.el (outline-mode-menu-bar-map): Add entries. (outline-mode-prefix-map): Match new bindings to those of allout. (outline-map-region): New fun. (outline-map-tree): Remove. (outline-promote, outline-demote): Apply to region if active. Change the default to apply to the subtree. (outline-move-subtree-up, outline-move-subtree-down): New funs. (outline-invisible-p): Add optional `pos' argument. (outline-next-visible-heading, outline-toggle-children): Use it. (outline-get-next-sibling): Don't call outline-level at eob. * custom.el (custom-set-minor-mode): New fun. 2003-03-13 Dave Love * international/latin1-disp.el (ucs-tables): Don't require. (latin1-display-face): New. (latin1-display-char): Use it. 2003-03-13 Kenichi Handa * international/mule-cmds.el (reset-language-environment): Set default-file-name-coding-system to iso-latin-1. * language/european.el (iso-latin-1): Definition of this coding system moved to mule-conf.el. * international/mule-conf.el (iso-latin-1): Move from european.el. * term/x-win.el (x-select-text): Don't set a text containing eight-bit-control/graphic into the cut buffer. 2003-03-12 Kenichi Handa * files.el (insert-directory): Decode by what specified. * language/japan-util.el (setup-japanese-environment-internal): By defalt, use japanese-iso-8bit for file names, and prefer japanese-shift-jis on DOS and Windows. * international/quail.el (quail-show-guidance-buf): Make the quail guidance buffer inherit the current value of quail-current-package. * international/utf-8.el (ccl-decode-mule-utf-8): Don't lose bytes on handling an invalid byte sequence. 2003-03-11 Jason Rumney * files.el (auto-mode-alist): Add .xsl for sgml-mode. 2003-03-11 Mark A. Hershberger * xml.el (xml-skip-dtd): Fix parsing of DOCTYPE. 2003-03-11 John Paul Wallington * subr.el (posn-col-row): Heed frame parameter `line-spacing' and `default-line-spacing', rather than buffer-local `line-spacing'. 2003-03-10 Per Abrahamsen * cus-edit.el (customize-rogue): New command. 2003-03-10 Andreas Schwab * info.el (Info-extract-menu-node-name) (Info-following-node-name): Revert last change. 2003-03-10 Thien-Thi Nguyen * progmodes/scheme.el (scheme-mode-syntax-table): Construct w/o using `with-syntax-table'. 2003-03-10 John Paul Wallington * subr.el (posn-col-row): Take into account `line-spacing'. * ebuff-menu.el (electric-buffer-update-highlight): Do nothing if major mode isn't `Electric-buffer-menu-mode'. * term/x-win.el (vendor-specific-keysyms) (x-last-selected-text-primary): Doc fixes. (x-win-suspend-error): Use proper noun in error message. 2003-03-09 Kai Großjohann * man.el (Man-getpage-in-background): Always use `setenv' for environment variables, instead of modifying process-environment directly. The previous version let-bound process-environment -- the let-binding is skipped for GROFF_NO_SGR because there is already a let-binding in effect in some outer scope. * emulation/crisp.el (top-level): Interoperate with cua. 2003-03-08 Kim F. Storm * emulation/cua-base.el: Provide `cua' feature. 2003-03-08 Juanma Barranquero * emulation/cua-base.el (cua--standard-movement-commands): Fix docstring. 2003-03-07 Kai Großjohann * man.el (Man-getpage-in-background): Only change default-directory if necessary. 2003-03-07 Andreas Schwab * info.el (Info-following-node-name): Skip trailing period. (Info-extract-menu-node-name): Allow period in node name. 2003-03-07 Kevin Rodgers (tiny change) * dired-x.el (dired-guess-shell-case-fold-search): New user option. (dired-guess-default): Use it. 2003-03-07 Thien-Thi Nguyen * progmodes/dcl-mode.el (dcl-font-lock-keywords): New var. (dcl-font-lock-defaults): New var. (dcl-mode): Make and init local var `font-lock-defaults'. 2003-03-06 Kevin Rodgers (tiny change) * ffap.el (dired-at-point): Check whether the user can create a directory before asking about creating it. 2003-03-06 John Paul Wallington * ebuff-menu.el (electric-buffer-list): Respect `Buffer-menu-use-header-line'. (electric-buffer-menu-looper): Likewise. * buff-menu.el (Buffer-menu-mode-map): Add docstring. (Buffer-menu-buffer): Fix indentation. (list-buffers-noselect): Calculate header-line spacing to take into account width of left fringe and left scrollbar. 2003-03-05 Vinicius Jose Latorre * ps-print.el (ps-print-version): New version number (6.6). (ps-begin-job): If background and foreground color are the same, give an error. (ps-default-fg, ps-default-bg): Better doc. (ps-rgb-color): Became a defun, check RGB value list. (ps-default-background): New internal var. (ps-begin-file): Code fix. 2003-03-05 Richard M. Stallman * replace.el (query-replace-read-args): Use save-excursion. (map-query-replace-regexp): Use prefix-numeric-value. 2003-03-05 Juanma Barranquero * term/w32-win.el (x-handle-geometry): Put sizes on `initial-frame-alist' too. * startup.el (command-line-x-option-alist): Make --border-color set the border-color frame parameter, not border-width. * faces.el (frame-set-background-mode): Fix reference to attribute "backgroundMode". 2003-03-05 Reto Zimmermann * progmodes/vhdl-mode.el: Version 3.32.12 released. Modifications for displaying all projects in hierarchy browser and case insensitive hierarchy browsing. Change Rod's email address. Include `itimer.el' patch for XEmacs. Backquote fix. Change some documentation strings. Add "ERROR: " prefix to all error messages. Enhanced usage of hideshow. (vhdl-in-literal): Remove unused argument LIM. (vhdl-compiler-alist): Enhance customization for compilers; add "Speedwave", "Simili", "Synopsys Design Compiler", "Cadence NC", "Savant", "ProVHDL" and "VeriBest" compilers. Add new error message syntax for Modelsim. Add Synplify, column no in error regexp. Include library name in library command. Add unit-to-file name mapping for Savant. Add library option in Makefile generation command. Add command to create library directory. Built-in Makefile generation is always default. (vhdl-create-mode-menu): Split menus for compilers, projects, models. Add customization for `global-font-lock-mode'. Fix `customize-group' entries for XEmacs and change "Gen." to "Generate". Get *Messages* buffer. Fix "Auto Load Setup File" menu entry. Add faces customization to "Options". Add "Options" entry. Include `speedbar-indentation-width'. (vhdl-replace-string): Allow casing (use `vhdl-file-name-case'). (vhdl-template-exit, vhdl-template-next, vhdl-template-return): Fix template abortion. (vhdl-speedbar-port-copy): Add subprogram copy; copy port of component in package. (vhdl-fixup-whitespace-region): No whitespace after '(' and before ')'. Better treat comments and strings. Fix "=> ," alignment. (vhdl-port-paste-testbench): Print file names created. Better handling when file exist/open. Additional comments in code. Replace keywords in testbench entity and architecture file headers. Adjust case in testbench configuration. (vhdl-port-paste-instance): Special case: no number in instance name. (vhdl-speedbar-expand-units): Fix speedbar frame switching oddity. (vhdl-font-lock-keywords-2): Enhance highlighting of instantiation; highlight instantiations without map. Highlight quantity declaration names. Highlight formal parameters. Fix label highlighting for signal asst. (vhdl-mode): `comment-padding' for Emacs 21 only. Remove forced `turn-on-font-lock'. Remove `hippie-expand-only-buffers' setting. Update online documentation and web address. (vhdl-comment-uncomment-region): Remove usage of `comment-dwim' again. Change ARG for uncommenting. (vhdl-speedbar-make-*-line): Fix for displaying XEmacs speedbar images. (vhdl-fontify-buffer): Toggle font-lock-mode for better recovery. (vhdl-port-list): Add context clause. (vhdl-port-paste-signals): Include direction comments. (vhdl-testbench-declarations, vhdl-testbench-statements): New default. (vhdl-port-*): Include name in status messages. (vhdl-package-alist): Scan for and display subprogram body. Change key to lower case, add original case identifier. Scan for packages used by package body. (vhdl-speedbar-find-file): Always jump to design unit if buffer open. (vhdl-speedbar-insert-hierarchy): Mark non-existing entities/packages. Message "No VHDL design units!". (vhdl-compile-init): Allow fourth element (column no) in error regexp. Fix `nconc' bug. Eliminate redundant regexps. (vhdl-minibuffer-tab): No indentation. Use `hippie-expand-only-buffers' to take expansions from VHDL buffers only; don't overwrite non-nil default of `hippie-expand-only-buffers'; check whether `hippie-expand-only-buffers' is bound. (vhdl-ams-types, vhdl-ams-enum-values): Add identifiers from `nature_pkg' package. (vhdl-align-alist): Fix "when/else ... =>" case. Align declaration keywords only at beg. of line. Align <=, := and == among each other. (vhdl-port-copy): Extended identifiers for signal names. Fix on empty generic/port clause. Fix parsing of comment on first line. Allow generic clause begin on first line. Add "inout" and "linkage" to direction modes. (vhdl-font-lock-function-face): Change DarkCyan to Cyan4. (vhdl-file-header): Insert VHDL language standard string. (vhdl-instance-name): Unique numbers in instance names. (vhdl-compile): Check for existing compile directory. Print out file name if compiler does not; put it in quotes if contains spaces. Check compiler name. (vhdl-compiler): Change empty value from "" to nil. (vhdl-make): Check for existing compile directory. Fix missing options if there is a target. Check compiler name. (vhdl-template-field): Fix case on all VHDL words. (vhdl-template-others): Re-electrified "others". (vhdl-speedbar-expand-architecture): Give user control over displayed hierarchy depth. (vhdl-project-alist): Insert library name in Makefile name. Sources exclude regexp. Add file-specific compile exceptions. Enhance customization of projects. (vhdl-get-hierarchy): Include configurations in hierarchy list. Fix bug with configurations. Consider configurations; also at lower levels. (vhdl-speedbar-item-info): Enhance displaying. (vhdl-scan-file-contents): Fix skipping of comments in scanning. Sources exclude regexp. Allow comment lines in instantiations. Fix used packages in package body scanning. Allow code before first block configuration. Scan also for "is" keyword of design units. Scan configuration specification. Clear directory alists first. Consistency check. Check for multiply scanned design units. Scan components/subprograms in package. Scan library clauses and subconfigurations. Limit file size for scanning. (vhdl-entity-alist): Change key to lower case, add original case identifier. (vhdl-electric-tab): Not overwrite non-nil default of `hippie-expand-only-buffers'. (vhdl-electric-tab): Check whether `hippie-expand-only-buffers' is bound; use it to take expansions from VHDL buffers only. (vhdl-electric-tab): Toggle comment indent. (vhdl-generate-makefile): Check compiler name. Add library option in Makefile generation command. (vhdl-generate-makefile): Add dependencies for components in package. (vhdl-template-elsif): No expansion in concurrent part (except AMS). (vhdl-insert-string-or-file): Resolve environment variables. (vhdl-insert-string-or-file): Fix NTEmacs `file-exists-p' problem. (vhdl-submit-bug-report): Prompt for summary. (vhdl-resolve-paths): Rearrange environment variable resolution. (vhdl-scan-project-contents): Rearrange environment variable resolution. (vhdl-scan-project-contents): Allow absolute paths. (vhdl-doc-coding-style): Update RMM URL. (vhdl-end-of-leader): Consider "is" keyword in VHDL'93. (vhdl-model-insert): Replace header prompts too. (vhdl-template-header): New argument `is-model'. (vhdl-template-generate-body): Remove "begin" for VHDL'93. (vhdl-actual-port-name): Change default value (no "_i" extension). (vhdl-template-modify): Delete date instead of kill. (vhdl-get-source-files): Don't match source files beginning with ".". (vhdl-project-*-alist): Merge with variables `vhdl-*-alist'. (vhdl-speedbar-*): Many enhancements and fixes in hierarchy browser. (vhdl-speedbar-expand-*): Display used packages. (vhdl-sequential-statement-p): Better algorithm. (vhdl-electric-mode, vhdl-stutter-mode): Change key bindings. (vhdl-electric-...): No stuttering within literals. (vhdl-template-footer): Replace keywords in footer as in header. (vhdl-align-...): Enhance alignment, add progress reporting. (vhdl-beautify-region): Bug fix. (vhdl-comment-insert-inline): Remove wrapping to next line if too long. (vhdl-testbench-configuration-name) (vhdl-update-sensitivity-list-buffer): Fix starting cursor position. (vhdl-prepare-search-[12]): Fix search within hidden code. (vhdl-speedbar-jump-to-unit): Disable cursor re-positioning. (vhdl-template-for): Fix sequential statement part detection. (vhdl-electric-space): Fix wrapping for non-word characters. (vhdl-template-standard-package): Don't insert "std" library. (vhdl-template-architecture): Code optimization. (vhdl-template-package): Search for existing package name. (vhdl-template-component-decl, vhdl-port-paste-declaration): Insert "is" in VHDL'93. (match-string-no-properties, vhdl-forward-comment): New aliases. (vhdl-speedbar-library-face, vhdl-speedbar-subprogram-face): New faces. (file-expand-wildcards, regexp-opt, subst-char-in-string) (vhdl-add-modified-file, vhdl-align-buffer, vhdl-align-declarations) (vhdl-align-list, vhdl-align-region-2, vhdl-align-region-groups) (vhdl-align-same-indent, vhdl-aput, vhdl-auto-load-project) (vhdl-backward-same-indent, vhdl-beginning-of-block) (vhdl-character-to-event, vhdl-compile-directory) (vhdl-compile-print-file-name, vhdl-compose-components-package) (vhdl-compose-insert-generic, vhdl-compose-insert-port) (vhdl-compose-insert-signal, vhdl-compose-new-component) (vhdl-compose-place-component, vhdl-compose-wire-components) (vhdl-default-directory, vhdl-delete, vhdl-delete-indentation) (vhdl-do-group, vhdl-do-list, vhdl-do-same-indent) (vhdl-duplicate-project, vhdl-end-of-block, vhdl-expand-abbrev) (vhdl-expand-paren, vhdl-export-project, vhdl-fill-group) (vhdl-fill-list, vhdl-fill-region, vhdl-fill-same-indent) (vhdl-fix-case-word, vhdl-fix-clause, vhdl-forward-comment) (vhdl-forward-same-indent, vhdl-generate-makefile-1) (vhdl-get-compile-options, vhdl-get-components-package-name) (vhdl-get-end-of-unit, vhdl-get-make-options, vhdl-get-packages) (vhdl-get-visible-signals, vhdl-goto-marker) (vhdl-hs-forward-sexp-func, vhdl-hs-minor-mode, vhdl-import-project) (vhdl-indent-group, vhdl-insert-file-contents, vhdl-load-cache) (vhdl-makefile-name, vhdl-match-string-downcase, vhdl-max-marker) (vhdl-parse-group-comment, vhdl-paste-group-comment) (vhdl-port-paste-context-clause, vhdl-port-paste-initializations) (vhdl-port-reverse-direction, vhdl-process-command-line-option) (vhdl-project-p, vhdl-re-search-backward, vhdl-re-search-forward) (vhdl-remove-trailing-spaces, vhdl-require-hierarchy-info) (vhdl-resolve-env-variable, vhdl-run-when-idle, vhdl-save-cache) (vhdl-save-caches, vhdl-scan-context-clause) (vhdl-scan-directory-contents, vhdl-set-compiler, vhdl-set-project) (vhdl-show-messages, vhdl-sort-alist, vhdl-speedbar-check-unit) (vhdl-speedbar-contract-all, vhdl-speedbar-contract-level) (vhdl-speedbar-display-directory, vhdl-speedbar-display-projects) (vhdl-speedbar-expand-all, vhdl-speedbar-expand-config) (vhdl-speedbar-expand-package, vhdl-speedbar-expand-project) (vhdl-speedbar-generate-makefile, vhdl-speedbar-insert-projects) (vhdl-speedbar-insert-subpackages, vhdl-speedbar-line-key) (vhdl-speedbar-line-project, vhdl-speedbar-line-text) (vhdl-speedbar-make-design, vhdl-speedbar-make-subpack-line) (vhdl-speedbar-make-subprogram-line, vhdl-speedbar-place-component) (vhdl-speedbar-refresh, vhdl-speedbar-set-depth) (vhdl-speedbar-update-current-project, vhdl-statistics-buffer) (vhdl-subprog-copy, vhdl-subprog-flatten, vhdl-subprog-paste-body) (vhdl-subprog-paste-call, vhdl-subprog-paste-declaration) (vhdl-subprog-paste-specification, vhdl-template-others-hook) (vhdl-template-replace-header-keywords, vhdl-toggle-project) (vhdl-uniquify, vhdl-update-file-contents, vhdl-update-hierarchy) (vhdl-update-progress-info, vhdl-update-sensitivity-list) (vhdl-update-sensitivity-list-buffer) (vhdl-update-sensitivity-list-process, vhdl-use-direct-instantiation) (vhdl-warning, vhdl-warning-when-idle) (vhdl-widget-directory-validate, vhdl-work-library) (vhdl-write-file-hooks-init): New functions. (vhdl-append, vhdl-add-warning, vhdl-align-noindent-buffer) (vhdl-align-noindent-region, vhdl-create-customize-menu) (vhdl-forward-unit, vhdl-modify-date-init, vhdl-project-switch) (vhdl-scan-file-contents, vhdl-speedbar-display-hierarchy) (vhdl-speedbar-toggle-hierarchy): Functions deleted. (vhdl-in-comment-p, vhdl-in-string-p, vhdl-standard-p): Define as functions, not defsubsts. (vhdl-in-comment-or-string-p, vhdl-speedbar-project-p): Delete defsubsts. (vhdl-compose, vhdl-naming, vhdl-speedbar, vhdl-template) (vhdl-testbench): New customization groups. (vhdl-electric): Customization group deleted. (vhdl-align-alist, vhdl-doc-coding-style, vhdl-doc-keywords) (vhdl-imenu-generic-expression): Define as constants instead of variables. (vhdl-ams-packages, vhdl-doc-release-notes, vhdl-emacs-21) (vhdl-hs-start-regexp, vhdl-time-stamp, vhdl-xemacs): New constants. (vhdl-font-lock-keywords-0): Constants deleted. (vhdl-prepare-search-1, vhdl-prepare-search-2, vhdl-visit-file): New macros. (vhdl-ext-syntax-table): Macro deleted. (vhdl-align-group-separate, vhdl-align-same-indent) (vhdl-architecture-file-name, vhdl-compile-use-local-error-regexp) (vhdl-components-package-name, vhdl-compose-architecture-name) (vhdl-compose-create-files, vhdl-compose-include-header) (vhdl-copyright-string, vhdl-default-library, vhdl-directive-keywords) (vhdl-entity-file-name, vhdl-file-name-case) (vhdl-include-group-comments, vhdl-include-type-comments) (vhdl-indent-syntax-based, vhdl-makefile-generation-hook) (vhdl-package-file-name, vhdl-project-auto-load) (vhdl-project-file-name, vhdl-project-sort, vhdl-speedbar-auto-open) (vhdl-speedbar-cache-file-name, vhdl-speedbar-display-mode) (vhdl-speedbar-jump-to-unit, vhdl-speedbar-save-cache) (vhdl-speedbar-scan-limit, vhdl-speedbar-update-on-saving) (vhdl-testbench-configuration-name) (vhdl-testbench-include-configuration, vhdl-testbench-include-header) (vhdl-testbench-include-library, vhdl-use-components-package) (vhdl-use-direct-instantiation): New options. (vhdl-compiler-options, vhdl-speedbar, vhdl-speedbar-hierarchy-indent) (vhdl-speedbar-show-hierarchy, vhdl-testbench-architecture-header) (vhdl-testbench-entity-header): Options deleted. (speedbar-indentation-width, vhdl-compile-file-name) (vhdl-config-alist, vhdl-directive-keywords-regexp) (vhdl-directory-alist, vhdl-font-lock-keywords-0, vhdl-menu-max-size) (vhdl-mode-ext-syntax-table, vhdl-modified-file-list) (vhdl-port-flattened, vhdl-port-reversed-direction) (vhdl-speedbar-hierarchy-depth, vhdl-speedbar-last-selected-project) (vhdl-speedbar-show-projects, vhdl-speedbar-shown-project-list) (vhdl-speedbar-shown-unit-alist, vhdl-speedbar-update-current-unit) (vhdl-subprog-flattened, vhdl-subprog-list, vhdl-updated-project-list) (vhdl-warnings): New variables. (vhdl-project-ent-inst-list, vhdl-project-entity-alist) (vhdl-project-package-alist, vhdl-speedbar-last-file-name) (vhdl-speedbar-shown-units-alist, vhdl-startup-warnings): Delete vars. 2003-03-04 Rob Kaut (tiny change) * progmodes/vhdl-mode.el (vhdl-comment-uncomment-region): Remove two comment characters at start of line instead of one. 2003-03-03 Vinicius Jose Latorre * printing.el (pr-get-symbol): Move it to next eval-and-compile. 2003-03-03 John Paul Wallington * ibuf-macs.el (ibuffer-aif): Use `make-symbol' instead of `gensym' in case user calls macro at runtime. (ibuffer-save-marks): Likewise. 2003-03-03 Kenichi Handa * language/japan-util.el (japanese-symbol-table): Add two entries to make it complete. 2003-03-03 Andreas Schwab * info.el (Info-fontify-node): Don't hide indentation before the reference name. Don't process a reference twice when a new tag is inserted. (Info-hide-note-references): Fix doc and customize type. 2003-03-02 Matt Swift * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column): New custom variable. (lisp-fill-paragraph): Use it. Add ?, to `paragraph-separate' so that first docstring lines ending with a comma are respected. Add "`(" to same so that function and macro bodies beginning with a backquote do not get disturbed. Revise the comments. 2003-03-01 Jan Djärv * startup.el (command-line): Call menu-bar-mode with 1 instead of t. * menu-bar.el (menu-bar-mode): Change to define-minor-mode and initialize as for tool-bar-mode. 2003-02-28 Kai Großjohann * net/tramp.el: Version 2.0.30 released. Replace term "path" with "localname" unless it is used for a search path. (tramp-handle-expand-file-name): Allow ".." to cross host boundaries. (tramp-open-connection-setup-interactive-shell): Unset $ENV in addition to setting $PS1 when starting the Bourne-ish shell. Some sh implementations (eg, bash when called as sh) read the file named there on startup, which could clobber $PS1. (tramp-do-copy-or-rename-file-one-local): New function. Not implemented. Not used. Should invoke rcp or scp directly to keep the time. 2003-02-28 Michael Albinus * net/tramp-smb.el: Replace term `path' with `localname' unless it is used for a search path. In GNU, the word `path' is reserved for search paths. * net/tramp.el (tramp-send-string, tramp-send-region): Remove. (tramp-send-string): New function. Takes over the role of the functions above, in order to have a unique place handling `tramp-chunksize'. Same implementation as `tramp-send-region'. (tramp-chunksize): It's now a defcustom. Set to 500 on systems only known to have a buggy `process-send-string' implementation. First black-listed constellation is GNU Emacs/ hpux. (tramp-send-region): Correct debug message. (tramp-bug): Add `tramp-chunksize'. 2003-02-26 Matt Swift * startup.el: Streamline code in several functions for efficiency and readability. Rephrase booleans to avoid `(not noninteractive)'. Clarify several booleans expressions using De Morgan's laws. (command-line): Fix barf when first command-line option handled by `command-line-1' is in the form --OPT=VAL. (command-line-1): Restore intended behavior of the --directory/-L command-line option: "-L a -L b -L c" on the command-line now puts '(a b c) at the front of `load-path'. 2003-02-26 Oliver Scholz * play/gamegrid.el (gamegrid-add-score): Add info to docstring. (gamegrid-add-score-with-update-game-score-1): New function, factored out of `gamegrid-add-score-with-update-game-score'. (gamegrid-add-score-with-update-game-score): Use it. Fall back on `gamegrid-add-score-insecure' if the requested file does not exist in $(gamedir), in case the user has installed a game on his own. (gamegrid-add-score-insecure): Accept optional directory argument. 2003-02-25 Andreas Schwab * progmodes/make-mode.el (makefile-font-lock-keywords): Protect shell variable references by requiring that $ is not preceded by another $. 2003-02-25 Kenichi Handa * env.el (setenv): Fix previous change. 2003-02-25 Ramakrishnan M (tiny change) * language/mlm-util.el (mlm-char-glyph): Fix more rules. 2003-02-24 Stefan Monnier * progmodes/simula.el: Move abbrev loading to after the fun it uses. (simula-install-standard-abbrevs): Use dolist. Use system-flag when calling define-abbrev. 2003-02-24 Dave Love * obsolete/cplus-md.el: Delete. (Requires removed c-mode.el.) * env.el (read-envvar-name): Decode names. (substitute-env-vars): Use eval-when-compile and char class. (setenv): Doc fix. Encode the data (after checking that's possible). (getenv): Encode the name and decode the result. 2003-02-24 Ken Manheimer * allout.el (allout-pre-command-business): Fix docstring. 2003-02-24 Ramakrishnan M (tiny change) * language/mlm-util.el (mlm-char-glyph): Fix several composing rules. 2003-02-24 Kenichi Handa * international/characters.el: Fix syntaxes of gb2312 and big5. * language/japan-util.el (sentence-end-save): Variable deleted. (setup-japanese-environment-internal): Don't setup sentence-end. (exit-japanese-environment): Function deleted. * language/japanese.el ("Japanese"): Delete `exit-function'. * textmodes/paragraphs.el (sentence-end): Add Chinese and Japanese characters. 2003-02-24 Ramakrishnan M (tiny change) * language/mlm-util.el (mlm-char-glyph): Add entries for "halant + rakar + halant" and "halant + rrakar + halant". 2003-02-23 Richard M. Stallman * replace.el (query-replace-read-args): Return just 3 values. (query-replace, query-replace-regexp) (query-replace-regexp-eval, map-query-replace-regexp) (replace-string, replace-regexp): Read the start and end args separately so that the expressions are recorded in command-history. * menu-bar.el (Revert Buffer): Condition on buffer-file-number. * startup.el (inhibit-startup-hooks): New variable. (normal-top-level): Obey that variable. (command-line-1): Run emacs-startup-hook before term-setup-hook. Set inhibit-startup-hooks too. * files.el (revert-buffer): Different error message for reverting a nonexistent file. 2003-02-22 Stefan Monnier * progmodes/cperl-mode.el: Merge changes from CPerl-5.0. (toplevel): Require man. Don't autoload tmm-prompt (it's in loaddefs.el). (cperl-electric-backspace-untabify): New var. (cperl-electric-backspace): Use it. (cperl-vc-header-alist): Extract numeric version from the Id. (cperl-build-manpage): New fun. (cperl-menu): Use it. Add toggle-autohelp. (cperl-mode) : Understand prototypes. (cperl-electric-brace): Use `cperl-after-block-p' for detection. (cperl-electric-keyword): Make $if (etc: "$@%&*") non-electric. '(' after keyword would insert a doubled paren. (cperl-calculate-indent): Update syntaxification before checks. Fix wrong indent of blocks starting with POD. (cperl-find-pods-heres): If no end of HERE-doc found, mark to the end of buffer. This enables recognition of end of HERE-doc "as one types". Require "\n" after trailing tag of HERE-doc. \( made non-quoting outside of string/comment (gdj-contributed). Likewise for \$. Remove `here-doc-group' text property at start (makes this property reliable). Text property `first-format-line' ==> t. Do not recognize $opt_s and $opt::s as s///. (cperl-after-block-p): Optional arg pre-block to check for a pre-block Recognize `continue' blocks too. (cperl-after-expr-p): Update syntaxification before checks. Work after here-docs, formats, and PODs too (affects many electric constructs). (cperl-fix-line-spacing): Allow "_" in $vars of foreach etc. (cperl-perldoc): Use case-sensitive search. * progmodes/cperl-mode.el: Merge changes from CPerl-4.35. (cperl-xemacs-p): Move. (cperl-can-font-lock): New var to replace window-system. (cperl-enable-font-lock): Use it. (cperl-use-major-mode): New var. (cperl-mode): Use it. (cperl-calculate-indent): Remove code whose removal was missed in some earlier merge. (cperl-tags-hier-init): Use display-popup-menus-p. 2003-02-22 Kai Großjohann * files.el (abbreviate-file-name): Shorten docstring: variables are now hyperlinks and `C-h v' need not be mentioned explicitly. 2003-02-21 Kai Großjohann * files.el (abbreviate-file-name): Document removal of automounter prefixes. Reported by Lars Hansen. 2003-02-21 Kim F. Storm * emulation/cua-base.el: Add run-time check to catch users trying to use older versions of CUA-mode, rather than the version distributed with Emacs. Use autoload cookies and eval-after-load. * startup.el (command-line): Clarify and tidy up the message printed when there are errors in the user-init-file. Do not encapsulate the error data; it's read by humans here. Do not split windows when displaying the *Message* buffer. 2003-02-20 Stefan Monnier * subr.el (with-syntax-table): Don't copy the table any more. 2003-02-20 Ehud Karni (tiny change) * mail/rmail.el (rmail-insert-inbox-text): Make the pop3 mechanism work on cygwin systems too. 2003-02-20 Juanma Barranquero * progmodes/ebrowse.el (ebrowse-show-file-name-at-point): Remove useless check. 2003-02-20 Andreas Schwab * info.el (Info-extract-menu-node-name): Stop if colon is followed by open paren. 2003-02-20 Francesco Potortì * mail/undigest.el (unforward-rmail-message): Allow nested unforwarding, that is, preserve old Forwarded-From/Date headers. 2003-02-20 Kenichi Handa * term/w32-win.el: Call set-fontset-font with NAME nil. * international/mule-diag.el (print-fontset): If FONTSET is nil, use the default fontset. (describe-fontset): If the current frame is not using a fontset, call print-fontset with nil. 2003-02-19 Andre Spiegel * vc.el (vc-binary-assoc, vc-binary-suffixes): Remove; these were accidentally left over during the VC redesign in 2000. 2003-02-18 Juanma Barranquero * help-macro.el (make-help-screen): Fix character constant. * mouse-sel.el (mouse-sel-determine-selection-thing): Likewise. * calc/calc-graph.el (calc-graph-plot): Likewise. * calc/calc-prog.el (calc-macro-edit-variable): Likewise. * emacs-lisp/edebug.el: Likewise. * emacs-lisp/helper.el (Helper-help-scroller): Likewise. * language/cyril-util.el (standard-display-cyrillic-translit): Likewise. * mail/rfc822.el (rfc822-nuke-whitespace): Likewise. * progmodes/cperl-mode.el (cperl-electric-keyword) (cperl-electric-pod, cperl-do-auto-fill): Likewise. * textmodes/reftex-ref.el (reftex-reference): Likewise. * textmodes/table.el (table-generate-source): Use ?\\ instead of space in "work in progress" message. * emacs-lisp/tq.el (tq-create): Fix quoted lambda expression. 2003-02-17 Dave Love * progmodes/ebrowse.el (ebrowse-output): Don't use gensym. 2003-02-17 Markus Rost * calendar/calendar.el (diary-file-name-prefix-function): Fix custom type. 2003-02-17 Andre Spiegel * vc-cvs.el (vc-cvs-dir-state): Protect against DIR not being under CVS control. Suggested by Masanobu UMEDA. 2003-02-17 Kenichi Handa * files.el (insert-directory): Add workaround for the case that we can't trust ls's output as to byte positions of filenames. 2003-02-15 Richard M. Stallman * ffap.el: Many doc fixes. (ffap-replace-file-component): Renamed from ffap-replace-path-component. Callers changed. (ffap-host-to-filename): Renamed from ffap-host-to-path. Callers chgd. * international/iso-ascii.el (iso-ascii-display-table): New variable. (iso-ascii-standard-display-table): New variable. (iso-ascii-display): Define in iso-ascii-display-table. (iso-ascii-mode): New command. * tar-mode.el (tar-header-block-summarize): Use l for symlink, h for hard link. 2003-02-15 David Kastrup * net/ange-ftp.el (ange-ftp-get-file-entry): Allow for graceful failure returning nil, as documented. 2003-02-14 Dave Love * international/code-pages.el: Undo `Trailing whitepace deleted.' damage. (cp1125, mik): Nullify mime-charset. * language/cyrillic.el ("Cyrillic-KOI8"): Fix input-method. ("Russian"): New. ("Bulgarian"): Add tutorial. * international/mule-cmds.el (locale-language-names): Use Italian, Russian, Turkish, Chinese-EUC-TW. (set-locale-environment): Set ps-paper-type. 2003-02-14 ARISAWA Akihiro (tiny change) * time.el (display-time-string-forms): Add face property to mail string. 2003-02-14 Juanma Barranquero * international/mule-cmds.el (view-hello-file): Use `view-file' instead of `find-file-read-only'. * dired-aux.el (dired-query-alist): Fix use of character constant. * simple.el (backward-delete-char-untabify): Likewise. * strokes.el (strokes-read-complex-stroke): Likewise. * wid-edit.el (widget-choose): Likewise. * xml.el (xml-parse-elem-type): Likewise. * emacs-lisp/testcover-ses.el (ses-exercise-signals): Likewise. * progmodes/cperl-mode.el (cperl-next-bad-style): Likewise. * progmodes/idlwave.el (idlwave-show-begin): Likewise. 2003-02-13 Stefan Monnier * international/mule-cmds.el (sort-coding-systems): Use \'. (select-safe-coding-system): Remove redundant assq check. Remove raw-text, emacs-mule and no-conversion from the list of proposed encodings unless there's nothing else. 2003-02-13 Markus Rost * files.el (find-alternate-file): Undo last change. * dired.el (dired-directory): Add autoload cookie. 2003-02-13 Juanma Barranquero * international/characters.el: Use new ?\s syntax instead of "? " followed by a comment. * ruler-mode.el (ruler-mode-margins-char): Likewise. 2003-02-13 Dave Love * newcomment.el (comment-indent): Ensure space before added comment. 2003-02-13 Vinicius Jose Latorre * ps-print.el: Change the policy of background/foreground default color. (ps-print-version): New version number (6.5.9). (ps-default-fg, ps-default-bg): Adjust default value. (ps-begin-file, ps-begin-job): ps-default-fg and ps-default-bg variables now use `t' to indicate the use of Emacs session background/foreground color. (ps-output-string-prim): If index out of range, insert hexadecimal representation of character. 2003-02-13 Kim F. Storm * help.el (where-is): Rename remap-command to command-remapping. * help-fns.el (describe-function-1): Likewise. 2003-02-12 Glenn Morris * progmodes/fortran.el (fortran-fill): Fill lines that do not have comments. 2003-02-12 Stefan Monnier * progmodes/fortran.el (fortran-mode): Set comment-use-syntax. (fortran-fill-paragraph): Use fill-comment-paragraph. 2003-02-12 Juanma Barranquero * files.el (file-truename): Revert change from 2002-11-27. 2003-02-12 Luc Teirlinck * help-fns.el (describe-function-1): Change output for keyboard macros. 2003-02-12 Andreas Schwab * progmodes/sh-script.el (sh-mode-map): Don't remap beginning-of-defun to the non-existing command sh-beginning-of-compound-command. 2003-02-12 Karl Chen * files.el (find-alternate-file): Check whether `dired-directory' is bound. 2003-02-12 Simon Marshall * progmodes/make-mode.el (makefile-font-lock-keywords): Fontify single character variable references, but protect shell variables references. (makefile-mode): Make `$' be punctuation in font-lock-defaults. 2003-02-12 Ami Fischman Face markup of calendar and diary displays: Any entry line that ends with [foo:value] where foo is a face attribute (except :box :stipple) or with [face:blah] tags, will have these values applied to the calendar and fancy diary displays. These attributes "stack" on calendar displays. File-wide attributes can be defined as follows: the first line matching "^# [tag:value]" defines the value for that particular tag. All of the tags' regexps can be customized. * calendar/calendar.el (diary-face-attrs): New custom. (diary-file-name-prefix-function): New custom. (diary-glob-file-regexp-prefix): New custom. (diary-file-name-prefix): New custom. (generate-calendar-window): Check that font-lock-mode is bound before checking value. (mark-visible-calendar-date): Add the ability to pass face attribute/value pairs in the mark argument. Handle the mark. * calendar/diary-lib.el (diary-attrtype-convert): Convert an attribute value string to the desired type. (diary-pull-attrs): New function that pulls the attributes off a diary entry, merges with file-global attributes, and returns the (possibly modified) entry and a list of attribute/values using diary-attrtype-convert. (list-diary-entries, fancy-diary-display, show-all-diary-entries) (mark-diary-entries, mark-sexp-diary-entries) (list-sexp-diary-entries): Add handling of file-global attributes; add handling of entry attributes using diary-pull-attrs. (mark-calendar-days-named, mark-calendar-days-named) (mark-calendar-date-pattern, mark-calendar-month) (add-to-diary-list): Add optional paramater `color' for passing face attribute info through the callchain. Pass this parameter around. 2003-02-11 Stefan Monnier * progmodes/etags.el (find-tag-tag): Move (default foo) to before `:' in the prompt. (find-tag): Make sure we move point in the proper window. * progmodes/meta-mode.el (meta-fill-paragraph): Remove. (meta-common-initialization): Don't set fill-paragraph-function now that fill-paragraph takes care of comments. * progmodes/scheme.el (scheme-mode-syntax-table): Don't switch the current buffer's syntax-table. * progmodes/simula.el (simula-font-lock-syntactic-keywords): New var. (simula-font-lock-keywords-1): Simplify. (simula-font-lock-keywords-2): Use regexp-opt. (simula-emacs-features): Remove. (simula-mode-syntax-table): Setup %...\n as comment style b. (simula-mode-map): Remove compatibility cruft. (simula-keep-region-active): Remove. (simula-popup-menu): Simplify. (simula-mode): Move abbrev-table setup to top-level. (simula-match-string-or-comment): Remove. * progmodes/tcl.el (tcl-omit-ws-regexp): Correctly handle cases like `proc foo {a {b c} d} {'. (tcl-mode): Make comment-start-skip more selective. * info-xref.el (info-xref-check): Use line-beginning-position. (info-xref-all-info-files): Cons a bit less. (info-xref-check-buffer): Use push and replace-regexp-in-string. (info-xref-output): Call insert only once. (info-xref-whitespace): Remove. 2003-02-11 John Paul Wallington * ibuffer.el (toplevel): Don't require `font-lock'; require `font-core' instead, even though it is dumped. * ibuf-ext.el (ibuffer-save-with-custom, ibuffer-add-to-tmp-hide) (ibuffer-add-to-tmp-show): Doc fixes. * language/tamil.el ("Tamil"): Doc fix. 2003-02-11 Juanma Barranquero * language/vietnamese.el ("Vietnamese"): Fix typos. * info-xref.el (info-xref-check-buffer): Fix typo. * makefile.w32-in (DONTCOMPILE): Add malayalam.el and tamil.el. 2003-02-11 Kenichi Handa * loadup.el: Load "language/malayalam" and "language/tamil". 2003-02-11 KAWABATA, Taichi * Makefile.in (DONTCOMPILE): Add malayalam.el and tamil.el. * language/devan-util.el: Maintainer's mail address changed. (devanagari-composable-pattern): Add DANDA character. (dev-char-glyph): Add an entry for DANDA. * language/devanagari.el: Maintainer's mail address changed. * language/indian.el: Maintainer's mail address changed. * language/ind-util.el (indian-dev-base-table): Table fixed. (indian-pnj-base-table): Table contents defined. (indian-gjr-base-table): Likewise. (indian-ori-base-table): Likewise. (indian-bng-base-table): Likewise. (indian-asm-base-table): Likewise. (indian-tlg-base-table): Likewise. (indian-knd-base-table): Likewise. (indian-mlm-base-table): Likewise. (indian-tml-base-table): Likewise. (indian-pnj-itrans-v5-hash, indian-gjr-itrans-v5-hash) (indian-ori-itrans-v5-hash, indian-bng-itrans-v5-hash) (indian-asm-itrans-v5-hash, indian-tlg-itrans-v5-hash) (indian-knd-itrans-v5-hash, indian-mlm-itrans-v5-hash) (indian-tml-itrans-v5-hash): New variables. * language/malayalam.el: New file. * language/mlm-util.el: New file. * language/tamil.el: New file. * language/tml-util.el: New file. 2003-02-11 Kevin Ryde * info-xref.el: New file. 2003-02-10 Stefan Monnier * textmodes/page-ext.el (pages-directory-mode-map): New. (pages-directory-map): Redefine as an varalias. (pages-directory-mode): Use new map var and run mode hook. (pages-directory-address-mode): Use define-derived-mode. * textmodes/texinfmt.el (texinfo-format-iftex, texinfo-format-ifhtml) (texinfo-format-ifplaintext, texinfo-format-tex, texinfo-format-html) (texinfo-format-ifnotinfo, texinfo-format-titlepage) (texinfo-format-titlespec, texinfo-format-ignore, texinfo-if-set) (texinfo-if-clear): Use re-search-forward's return value. (texinfo-sort-startkeyfun, texinfo-format-buffer-1) (texinfo-format-region): Use line-{end,beginning}-position. (texinfo-append-refill, texinfo-alias): Use match-string-no-properties. * emacs-lisp/eldoc.el (eldoc-echo-area-multiline-supported-p) (eldoc-use-idle-timer-p): Remove. (timer): Never require. It only works in current Emacs anyway. (eldoc-mode, eldoc-message, eldoc-display-message-p) (eldoc-docstring-format-sym-doc, eldoc-remove-command): Simplify. * ffap.el (ffap-complete-as-file-p): Use minibuffer-completing-file-name. * international/mule.el (load-with-code-conversion): Use push. * font-core.el (font-lock-defontify): Use restore-buffer-modified-p. * gud.el (gud-gdb-run-command-fetch-lines, gud-display-line): Use with-current-buffer and simplify. * help-mode.el (help-xref-on-pp): Only add xref if the text is less than 5K. * pcvs-parse.el (cvs-parse-table): "no longer in repo" does not make the file dead if we used the -n arg. * emacs-lisp/cl-macs.el (process-get): Add setf method. * server.el (server-previous-strings): Remove. (server-process-filter): Use (process-get 'previous-string) instead. (server-sentinel): Remove code made superfluous. 2003-02-10 Luc Teirlinck * info.el (Info-follow-nearest-node): Implement new behavior. 2003-02-10 Juanma Barranquero * progmodes/ebnf-otz.el (ebnf-optimize, ebnf-optimize1): Fix typo. * progmodes/ebnf2ps.el (ebnf2ps): Fix typo. (ebnf-syntactic): Change group name and tag from "ebnf-syntatic". (ebnf-syntax, ebnf-lex-comment-char, ebnf-lex-eop-char) (ebnf-terminal-regexp, ebnf-case-fold-search) (ebnf-iso-alternative-p, ebnf-iso-normalize-p) (ebnf-yac-ignore-error-recovery): Add to group "ebnf-syntactic", not "ebnf-syntatic". (ebnf-optimize, ebnf-print-buffer, ebnf-print-region) (ebnf-spool-buffer, ebnf-spool-region, ebnf-eps-buffer) (ebnf-eps-region, ebnf-syntax-buffer, ebnf-syntax-region) (ebnf-generate-region): Fix typo. 2003-02-10 KAWABATA, Taichi * language/ind-util.el (indian-itrans-v5-table): Add entries for "E" and "O". 2003-02-10 Martin Stjernholm * progmodes/cc-styles.el (c-set-offset): Don't find a default syntactic element through syntactic analysis if called outside a CC Mode buffer. 2003-02-09 Martin Stjernholm * progmodes/cc-mode.el (c-basic-common-init): Install `c-fill-paragraph' on `fill-paragraph-function'. Although it's not the normal way to call it in a CC Mode buffer it makes a direct call to `fill-paragraph' work better. 2003-02-08 Kim F. Storm * printing.el (pr-get-symbol): Define during compile. 2003-02-07 Vinicius Jose Latorre * printing.el: New file. 2003-02-07 Francesco Potortì * language/european.el ("French", "Slovenian"): Fix doc strings. 2003-02-06 John Paul Wallington * mail/rmailsum.el (rmail-summary-previous-msg): Add docstring. (rmail-summary-line-count-flag, rmail-summary-previous-labeled-message) (rmail-summary-next-labeled-message, rmail-summary-resend) (rmail-summary-override-mail-send-and-exit): Doc fixes. 2003-02-06 Francesco Potortì * language/european.el ("Italian"): New. 2003-02-06 Matthew Swift * dired.el (dired-move-to-filename-regexp): Support "K" suffix on "ls -alh" output. 2003-02-05 Juanma Barranquero * font-lock.el (font-lock-reference-face): Add obsolescence declaration and remove redundant info from docstring. * log-edit.el (cvs-commit-buffer-require-final-newline) (cvs-changelog-full-paragraphs): Likewise. * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button) (mouse-wheel-click-button): Likewise. * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name): Likewise. * vc.el (vc-annotate-display, vc-checkout-carefully): Likewise. * vc-hooks.el (vc-ignore-vc-files, vc-master-templates) (vc-header-alist): Likewise. * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Likewise. * textmodes/outline.el (outline-visible): Likewise. 2003-02-05 Kim F. Storm * ido.el (ido-define-mode-map): Undo last change (duplicates part of 2003-02-04 change). Remap `viper' delete commands only in file or dir mode. 2003-02-05 Kai Großjohann * ido.el (ido-define-mode-map): Interact with Viper. 2003-02-05 Kai Großjohann * net/tramp.el: Version 2.0.29 released. (tramp-send-region): Protect against tramp-chunksize being nil. (tramp-chunksize): Set default to 500 as workaround for some ssh connections. (tramp-handle-directory-file-name): New implementation. Not sure if it works. (tramp-md5-function): Require md5 before checking function md5. If using md5-encode, put wrapper around it that converts vector of bytes to ascii text. (top-level): Avoid byte-compiler warnings of unused variables if the byte-compiler supports this. This is for the with-parsed-tramp-file-name macro which is wont to produce such stuff. 2003-02-05 Michael Albinus * net/tramp.el (tramp-handle-directory-file-name): Handle the case PATH is "". (tramp-completion-handle-file-name-all-completions): Define `tramp-current-user' locally. See `tramp-parse-passwd'. (tramp-parse-passwd): For su-alike methods it would be desirable to return "root@localhost" as default. Unfortunately, we have no information whether any user name has been typed already. So we (mis-)use tramp-current-user as indication, assuming it is set in `tramp-completion-handle-file-name-all-completions'. (tramp-send-region): Handle the case `tramp-chunksize' is equal 0. I did it accidently. Infinite loop ... (tramp-get-device): `tramp-make-tramp-file-name' must not be called with NIL path. It fails in case of multi-method. (tramp-file-name-for-operation): Apply `expand-file-name' for relative file names only. Otherwise there might be problems if the default directory is another Tramp directory as the directory the file is based on. (tramp-find-foreign-file-name-handler): Check whether FILENAME is a Tramp file name. It isn't if it comes from an expanded file name (like "/xx:yy//zz"). (tramp-devices): New variable. Keeps virtual device numbers. Devices must distinguish physical file systems. The device numbers provided by "lstat" aren't unique, because we operate on different hosts. So we use virtual device numbers, generated by `tramp-get-device'. Both Ange-FTP and EFS use device number -1. In order to be different, we use device number (-1 x), whereby "x" is unique for a given (multi-method method user host). Suggested by Kai. (tramp-perl-file-attributes): Always return device number -1. There will be a virtual device number set in `tramp-handle-file-attributes', which replaces this one. (tramp-handle-file-attributes): Set virtual device number. (tramp-get-device): New function. Returns the virtual device number. If it doesn't exist, generate a new one. (tramp-handle-file-regular-p): Use Emacs file name primitives instead of calling tramp-handle-* equivalents directly. Needed for tramp-smb. (tramp-completion-function-alist-ssh): Add parsing of "/etc/ssh_config" and "~/.ssh/config". Suggested by Kai. (tramp-completion-function-alist, tramp-set-completion-function): Doc string update. (tramp-parse-sconfig, tramp-parse-sconfig-group): New functions. Provide parsing of "~/.ssh/config" style files. (tramp-completion-handle-expand-file-name): Apply `tramp-drop-volume-letter'. Otherwise, there are problems on W32 systems. (tramp-completion-mode): Perform check (integerp last-input-event) before (event-modifiers last-input-event) -- there might be problems if `last-input-event' is a mouse event. (tramp-parse-rhosts, tramp-parse-shosts) (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc): Use `file-readable-p' instead of `file-exists-p'. Otherwise these functions might block. Reported by . * net/tramp-ftp.el (top-level): eval-after-load "ange-ftp" '(tramp-disable-ange-ftp). Suggested by Kai. (tramp-ftp-file-name-handler): `tramp-disable-ange-ftp' not needed any longer. (top-level): Defaults for `tramp-default-method-alist' must be a list. * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Apply `tramp-handle-directory-file-name'. (tramp-smb-handle-file-attributes): Apply `tramp-get-device'. ATIME and CTIME are (0 0) now (= "don't know"), which is more honest. (tramp-smb-handle-make-directory): Use Emacs file name primitives instead of calling tramp-smb-handle-* equivalents directly. (tramp-smb-read-file-entry): Return size as a number, not a string. (top-level): Defaults for `tramp-default-method-alist' must be a list. 2003-02-05 Stefan Monnier * completion.el (eval-when-compile-load-eval, completion-eval-when) (cmpl-read-time-eval, minibuffer-window-selected-p): Remove. (completion-min-length, completion-max-length) (completion-prefix-min-length): Don't hard-code the default value when byte-compiling. (complete): Inline minibuffer-window-selected-p. 2003-02-04 Richard M. Stallman * term.el (term-raw-map): Set it up at load time. (term-char-mode): Don't set up term-raw-map here. (term-set-escape-char): Don't set up C-x subcommand. (term-ansi-face-already-done): Renamed from term-ansi-face-alredy-done. (term-command-hook): Avoid error if STRING is empty. (term, term-mode): Doc fixes. * term.el: Redesign handling of colors and faces. Delete all the faces that this mode used to make. (ansi-term-color-vector): New variable. (ansi-term-fg-faces-vector, ansi-term-bg-faces-vector) (ansi-term-inv-bg-faces-vector, ansi-term-inv-fg-faces-vector): Variables deleted. (term-default-fg-color, term-default-bg-color): Use defcustom. (term-handle-colors-array): Use ansi-term-color-vector, and specify face attributes rather than faces in `face' property. * term.el (term-ansi-fg-faces-vector, term-ansi-bg-faces-vector) (term-ansi-inv-fg-faces-vector, term-ansi-inv-bg-faces-vector) (term-ansi-reverse-faces-vector): Delete unused variables. (term-ignore-error): Delete macro. * simple.el (back-to-indentation): Skip all whitespace except for newlines. * files.el (find-alternate-file): Handle dired-directory like buffer-file-name. * dired.el (dired-find-buffer-nocreate): Avoid error if dired-directory is nil. 2003-02-04 Juanma Barranquero * image.el (image-type-regexps): Fix typo. * international/characters.el: Restore missing space and put a comment to protect it from being deleted as trailing whitespace. * ruler-mode.el (ruler-mode-margins-char): Likewise. 2003-02-04 Francesco Potortì * mail/rmailout.el (rmail-output): If preserving MIME-version, preserve Content-type too. 2003-02-04 Kim F. Storm * ido.el (ido-define-mode-map): Remap viper delete char/word commands to their ido specific equivalents. Disable ESC in viper mode (to avoid exiting insert mode), since ido doesn't work in viper command mode. (ido-delete-backward-updir, ido-delete-backward-word-updir): Handle remapped viper commands. 2003-02-03 Juanma Barranquero * calculator.el (calculator): Don't use the minibuffer even in electric mode; use a private buffer and display it in the minibuffer window using `set-window-buffer'. 2003-02-03 Dave Love * emacs-lisp/benchmark.el: New. 2003-02-02 Andreas Schwab * progmodes/asm-mode.el (asm-font-lock-keywords): Allow arbitrary words separated by dots. Match optional parenthesized word at start of line. * font-lock.el (font-lock-match-c-style-declaration-item-and-skip-to-next): Don't require underscore in word before double open-paren. 2003-02-02 John Paul Wallington * hexl.el (hexl-mode-map): Bind C-m to `hexl-self-insert-command'. 2003-02-01 Stephen Gildea * time-stamp.el: Tweak doc strings and preamble commentary. (time-stamp): Fix parsing of "%%a" in time-stamp-pattern (change regexp subpattern 5) (time-stamp-pattern): Initialize to nil to avoid regexp work in default case. (time-stamp-string): Call set-time-zone-rule instead of setenv. (time-stamp-hhmmss): Remove (not needed after all). (time-stamp-month-dd-yyyy, time-stamp-dd/mm/yyyy) (time-stamp-mon-dd-yyyy, time-stamp-dd-mon-yy, time-stamp-yy/mm/dd) (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd, time-stamp-yymmdd) (time-stamp-hh:mm:ss, time-stamp-hhmm): Make obsolete. 2003-01-31 Stefan Monnier * cus-edit.el (custom-unlispify-menu-entry): Use with-current-buffer. (custom-save-variables): Use dolist, simplify. Output a message if a `requests' entry looks suspicious. (custom-save-faces): Use dolist, simplify. 2003-01-31 Christoph Wedler * antlr-mode.el: Bug fixes, miscellaneous. (antlr-mode): Make major mode work with cc-mode-5.29 or higher, make it more robust against changes in cc-mode's style variables by using `boundp' and function `c-init-language-vars' if defined. (antlr-c++-mode-extra): Only ask if language is not "Cpp". (antlr-read-value): With completion, ignore case. (antlr-run-tool-interactive): New function. (antlr-run-tool): Use it for `interactive' specification. * antlr-mode.el: Simplify Emacs/XEmacs compatibility. (cond-emacs-xemacs): New compile-time macro. (defunx): New compile-time macro. (ignore-errors-x): New compile-time macro. (save-buffer-state-x): New compile-time macro. (antlr-scan-sexps, antlr-simple-scan-sexps): Deletia. (antlr-scan-lists, antlr-simple-scan-sexps): Deletia. (antlr-simple-default-directory): Deletia. (antlr-default-directory): Define directly. (antlr-simple-read-shell-command): Deletia. (antlr-read-shell-command): Define directly. (antlr-simple-with-displaying-help-buffer): Deletia. (antlr-with-displaying-help-buffer): Define directly. (antlr-fast-invalidate-context-cache): Deletia. (antlr-slow-invalidate-context-cache): Deletia. (antlr-invalidate-context-cache): Define directly. (antlr-fast-syntactic-context): Deletia. (antlr-slow-syntactic-context): Deletia. (antlr-syntactic-context): Define directly. (antlr-mode-menu): Use new macros. (antlr-font-lock-additional-keywords): Ditto. (antlr-skip-sexps): Ditto. (antlr-end-of-rule): Ditto. (antlr-beginning-of-rule): Ditto. (antlr-end-of-body): Ditto. (antlr-beginning-of-body): Ditto. (antlr-hide-actions): Ditto. (antlr-option-kind): Ditto. * antlr-mode.el: In Emacs, use face attribute :weight, not :bold. (antlr-font-lock-keyword-face): Use new macros. (antlr-font-lock-syntax-face): Ditto. (antlr-font-lock-ruledef-face): Ditto. (antlr-font-lock-tokendef-face): Ditto. (antlr-font-lock-literal-face): Ditto. Changes from 2002-05-24: * antlr-mode.el: Version 2.2a. Changes from 2002-05-03: * antlr-mode.el: Make context parsing faster on Emacs, for faster syntax highlighting, indentation and imenu support. Suggested by Aaron Davies . (antlr-slow-context-cache): New variable. (antlr-slow-syntactic-context): Use cache. (antlr-slow-cache-enabling-symbol): New internal variable. (antlr-slow-cache-diff-threshold): New variable. (antlr-fast-invalidate-context-cache): Renamed from antlr-xemacs-bug-workaround. (antlr-imenu-create-index-function): Search from beginning. * antlr-mode.el: More sophisticated indentation, i.e., use the indentation engine of cc-mode for most actions. (antlr-c-common-init): Allow nil for `antlr-indent-style'. (antlr-indent-line): Use indentation engine of cc-mode more often. (antlr-indent-at-bol-alist): Only used for header actions. (antlr-disabling-cc-syntactic-symbols): New variable. (antlr-indent-item-regexp): Delete stuff for actions. (antlr-indent-at-bol-alist): With language "Java", indent "package" and "import" at column 0 in header part. * antlr-mode.el (antlr-simple-default-directory): Define. (antlr-simple-read-shell-command): Define. (antlr-simple-with-displaying-help-buffer): Define. (antlr-simple-scan-sexps, antlr-simple-scan-lists): Renamed from antlr-scan-{sexps,lists}-internal. Changes from 2002-02-28: * antlr-mode.el: Version 2.2 is released. * antlr-mode.el (antlr): Moved to SourceForge.net * antlr-mode.el: Minor bug fixes: insert options and indentation. (antlr-option-location): Don't use point as position where to insert options if point is in comment. (antlr-mode): Don't set style here. (antlr-c-common-init): Set style here. If boundp, set `c-current-comment-prefix' to not break indentation in comments. Hm, I should probably split `c-common-init' from cc-mode into two parts, one of which I could use for antlr-mode.el. Changes from 2002-01-31: * antlr-mode.el (antlr-font-lock-additional-keywords): Also highlight `~' with `antlr-font-lock-syntax-face'. Suggested by Helmut Neukirchen . 2003-01-31 Joe Buehler * comint.el: * dired-aux.el: * dired.el: * dirtrack.el: * dos-w32.el: * fast-lock.el: * filecache.el: * files.el: * hippie-exp.el: * international/mule.el: * net/browse-url.el: * pcomplete.el: * recentf.el: * shell.el: * woman.el: Added cygwin to system-type comparisons. 2003-01-31 Francesco Potortì * mail/undigest.el (rmail-forward-separator-regex): New custom variable. (unforward-rmail-message): Use it. 2003-01-30 Dave Love * textmodes/ispell.el (lookup-words): Fix last change. 2003-01-29 John Paul Wallington * font-lock.el (lisp-font-lock-keywords-1): Match `deftheme'. * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for `deftheme'. Fix docstring offsets for `define-ibuffer-filter' and `define-ibuffer-sorter'. (lisp-imenu-generic-expression): Add `deftheme' to types. * custom.el (customize-mark-to-save, customize-mark-as-set) (custom-remove-theme): Doc fixes. 2003-01-29 Didier Verna * cus-edit.el (custom-save-variables): Also save non theme'd ones. * cus-edit.el (custom-save-faces): Ditto. 2003-01-29 Juanma Barranquero * composite.el (decompose-composite-char): Fix docstring. * select.el (x-set-cut-buffer): Fix docstring. Check type with `stringp' instead of `substring'. * textmodes/reftex.el (reftex-TeX-master-file): Use really the buffer file name if no other master file is located. * progmodes/cperl-mode.el (cperl-beautify-level) (cperl-beautify-regexp): Fix use of `prefix-numeric-value'. (cperl-calculate-indent): Fix typo. 2003-01-29 Taro Kawagishi * arc-mode.el (archive-lzh-summarize): Fix previous change. 2003-01-29 Kim F. Storm * emacs-lisp/authors.el: New format of AUTHORS file; list each author name once followed by contributed and changed files. Improve selection of entries to include in list, and generate list of unrecognized entries indicating syntax errors in ChangeLog files. (authors-coding-system): New variable. (authors-many-files): Update doc string. (authors-aliases): Change format. Now one entry with multiple aliases per author. (authors-valid-file-names, authors-renamed-files-alist) (authors-renamed-files-regexps): New variables. (authors-canonical-file-name): New function. Validates that file exists or occurs in one of the above lists. Record unrecognized file names in global authors-invalid-file-names list. (authors-add): Change to record per-change counts. (authors-canonical-author-name): Handle new format of authors-aliases list. (authors-scan-change-log): Rename FILE arg to LOG-FILE. Change doc string to describe new entry format. Only add author entries for valid file names. (authors-print): Replace by authors-add-to-author-list. (authors-add-to-author-list): New function which reorders per-file entries and adds them to global authors-author-list. (authors): Instead of authors-print to insert in *Authors* buffer, use authors-add-to-author-list to reorder the list and then insert result in *Authors* buffer with new format. Generate *Authors Errors* compilation-mode buffer listing unrecognized ChangeLog entries. 2003-01-28 Benjamin Riefenstahl * term/mac-win.el: Add entries in function-key-map for [tab], [backspace], [escape]. 2003-01-28 Kim F. Storm * info.el (Info-extract-menu-node-name): Another fix for 2003-01-24 change. Also stop search if : is followed by TAB. 2003-01-28 John Paul Wallington * ibuf-ext.el (ibuffer-yank-filter-group): Move check for empty `ibuffer-filter-group-kill-ring' out of `interactive' declaration. 2003-01-28 Martin Stjernholm * progmodes/cc-vars.el, progmodes/cc-mode.el (c-require-final-newline): Made this variable an alist to specify a value for each language. The default value causes `require-final-newline' to be set to t only in languages where the standard requires a final newline. 2003-01-27 Kim F. Storm * simple.el (kill-new): Improve doc string for yank-handler. Signal args-out-of-range error if yank-handler is specified for an empty string. * subr.el (insert-for-yank): Remove COMMAND element from yank handler. 2003-01-27 Dave Love * dired-x.el (dired-filename-at-point): Fix last change and tidy up. * thingatpt.el (thing-at-point-file-name-chars): Include non-ASCII again and re-write the filename ops. 2003-01-27 David Ponce * makefile.w32-in (update-subdirs-SH): Create lisp/subdirs.el. 2003-01-27 Juanma Barranquero * filesets.el (filesets-file-open): Fix typo. * vcursor.el (vcursor-disable): Likewise. * eshell/esh-cmd.el (eshell-separate-commands): Likewise. * progmodes/cc-styles.el (c-make-styles-buffer-local): Likewise. * progmodes/cc-vars.el (c-offsets-alist): Likewise. * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Likewise. 2003-01-26 Martin Stjernholm * progmodes/cc-vars.el, progmodes/cc-mode.el (c-require-final-newline): Add a variable to make the initialization of `require-final-newline' more configurable. 2003-01-26 Jan Djärv * emacs-lisp/authors.el (authors-aliases): Add Jan D. Set iso-2022-7bit coding: cookie. 2003-01-26 Kim F. Storm * info.el (Info-extract-menu-node-name): Fix 2003-01-24 change. Don't search for next colon if current colon is followed by one of ".", ",", ";", or ")". (info-insert-file-contents) [!MSDOS]: Avoid byte-compiler warning. (Info-find-node) [!MSDOS]: Avoid byte-compiler warning. 2003-01-26 Richard M. Stallman * thingatpt.el (thing-at-point-file-name-chars): Undo previous change. 2003-01-25 Bill Wohler * mh-e: Created directory. ChangeLog will appear in a week when we release version 7.2. * mail/mh-alias.el, mail/mh-comp.el, mail/mh-customize.el, mail/mh-e.el, mail/mh-funcs.el, mail/mh-identity.el, mail/mh-index.el, mail/mh-loaddefs.el, mail/mh-mime.el, mail/mh-pick.el, mail/mh-seq.el, mail/mh-speed.el, mail/mh-utils.el, mail/mh-xemacs-compat.el: Moved to mh-e directory. Note that reply2.pbm and reply2.xpm, which were created by the MH-E package, were left in mail since they can probably be used by other mail packages. * makefile.w32-in (WINS): Add mh-e. * makefile.nt (WINS): Add mh-e. 2003-01-25 Richard M. Stallman * emacs-lisp/bytecomp.el (byte-compile-file-form-custom-declare-variable): Compile any lambda-expressions among the args. * view.el (view-mode): Doc fix. * ido.el: Many doc fixes. (ido-complete): Fix message. 2003-01-25 Taro Kawagishi * arc-mode.el (archive-unixdate): Correct the date field string. (archive-lzh-summarize): Extend it to allow the LZH level 2 header type (which is most prevalent now), in addition to the already supported level 0 and 1 header types. 2003-01-25 Markus Rost * international/mule-cmds.el (set-language-info) (current-language-environment): Simplify setting the type of current-language-environment. 2003-01-25 Kim F. Storm * emulation/cua-base.el (cua--init-keymaps): Move C-S-x and C-S-c bindings from cua--cua-keys-keymap to cua--region-keymap, as they are only needed when the region is active. This also makes the output from C-h b look normal when cua-mode is enabled (no C-S-x/c bindings). 2003-01-25 Michael Kifer * ediff.el (ediff-revision): Better defaults. * ediff-vers.el (ediff-vc-latest-version): New function. (ediff-vc-internal): Use latest version instead of working version. 2003-01-24 Thien-Thi Nguyen * info.el (Info-extract-menu-node-name): When looking for end of menu item, don't stop at first ":"; instead, continue until trailing context is either a space or newline. (Info-complete-menu-item): Var `pattern': allow ":" in menu item. (Info-menu): Likewise, for regexp used in backwards search. (Info-try-follow-nearest-node): Remove case added in previous edit. Change regexp in the following case to allow ":" in menu item. (Info-fontify-node): Fix bug: Handle `next-property-change' returning point-max as "hasn't already been done". 2003-01-24 Thien-Thi Nguyen * info.el (Info-try-follow-nearest-node): Add case: Handle menu item terminated by ": " as an index entry. 2003-01-24 Juanma Barranquero * isearch.el (isearch-forward): Fix typo. 2003-01-24 Kenichi Handa * international/mule.el (decode-coding-inserted-region): Rename from decode-coding-region-as-inserted-from-file to make it fit well in the Lisp manual. * jka-compr.el (jka-compr-insert-file-contents): Call decode-coding-inserted-region. 2003-01-24 John Paul Wallington * ibuffer.el (ibuffer-window-list): Remove. (ibuffer-confirm-operation-on): Use `window-list' instead. (ibuffer-load-hook): New customizable variable. (toplevel): Run it. (ibuffer-customize): New command. (ibuffer-mode-map): Bind it. (ibuffer-mode-map): Add menu separator in View>Sort menu. (ibuffer-mode): Tidy. (ibuffer-fontification-alist, ibuffer-always-show-last-buffer) (ibuffer-default-directory, ibuffer-default-sorting-mode) (ibuffer-maybe-show-predicates, ibuffer-hook, ibuffer-mode-hook) (ibuffer-map-lines): Doc fixes. * ibuf-ext.el (ibuffer-copy-filename-as-kill): C-u means relative filenames. Use `kill-new'. 2003-01-23 Dave Love * abbrev.el (write-abbrev-file): Simplify, and put a coding cookie in the file. 2003-01-23 Masatake YAMATO * progmodes/asm-mode.el (asm-mode): Add syntax table entries for /* */ comments. 2003-01-23 Kenichi Handa * files.el (insert-directory): Read the output of "ls" by no-conversion, and decode it later while preserving `dired-filename' property. 2003-01-23 Markus Rost * descr-text.el (describe-text-mode-hook): Add a group. 2003-01-23 John Paul Wallington * term/mac-win.el (interprogram-paste-function): Handle empty clipboard. 2003-01-22 Aubrey Jaffer (tiny change) * info.el (Info-index): Change pattern so that index entries with colons can be read properly; also, require at least one space after the colons, which makeinfo puts in. 2003-01-22 Andreas Schwab * jka-compr.el (jka-compr-insert-file-contents): Fix typo in last change. 2003-01-22 Markus Rost * Makefile.in (bootstrap-after): New target. (bootstrap): Move finder-data, custom-deps to bootstrap-after. 2003-01-22 Kai Großjohann * info.el (Info-index-next): Use "(`,' tries to find next)" for more matches for consistency with standalone info browser. 2003-01-22 Kenichi Handa * international/mule.el (decode-coding-region-as-inserted-from-file): New function. * jka-compr.el (jka-compr-insert-file-contents): Read a process output without decoding. Decode the result by decode-coding-region-as-inserted-from-file. 2003-01-22 Kim F. Storm * ido.el (ido-make-file-list, ido-make-dir-list): Don't move visited directories to end of list; it's the wrong thing to do if we want to find a file or directory in such directories. * simple.el: Doc fixes. * subr.el: Doc fixes. 2003-01-20 Nick Roberts * gud.el (gud-display-line): If the current file is newer than its buffer, offer to reread the file. (gud-keep-buffer): New buffer local variable. Ensures offer to reread file is made just once. 2003-01-20 Stefan Monnier * emacs-lisp/regexp-opt.el (regexp-opt-group): Undo last change. Fix the docstring instead. 2003-01-20 Glenn Morris * calendar/calendar.el (calendar-only-one-frame-setup): Autoload it. 2003-01-20 Richard M. Stallman * simple.el (completion-setup-function): Set default-directory in the minibuffer, so it'll be copied into the completion list buffer. * emacs-lisp/regexp-opt.el (regexp-opt-group): Compute HALF2 properly. * loadup.el (load-path): Rename `path' local var. * progmodes/octave-mod.el (octave-mode-map): Change C-c i bindings to C-c C-i. Duplicate its bindings with last char a ctl char. Also change C-c f to C-c C-f. 2003-01-20 Markus Rost * ls-lisp.el (ls-lisp-use-insert-directory-program): Make default value system dependent. (ls-lisp-support-shell-wildcards): Add autoload cookie. 2003-01-19 Kim F. Storm * msb.el: Use `dir' instead of `path' everywhere. 2003-01-18 Kim F. Storm * simple.el (kill-new, kill-append, kill-region): New optional parameter yank-handler. (yank-excluded-properties): Add yank-handler to list. (yank-undo-function): New variable. (yank): Use it to undo previous yank or yank-pop command. Allow insert-for-yank to override this-command. * subr.el (insert-for-yank): Arg list changed; now only accepts one string rather than any number of strings; no callers needed change. Use yank-handler text property on the arg string. Set yank-undo-function variable appropriately for yank-pop. 2003-01-18 Stefan Monnier * textmodes/fill.el (fill-comment-paragraph): Fix simplistic regexp-concatenation. * add-log.el (add-change-log-entry): Don't leave space at eol. (add-log-current-defun): Perl functions names can't have (or {. * progmodes/sh-script.el (sh-indent-line): Use indent-line-to. (sh-non-closing-paren): New const. (sh-case, sh-while-getopts): Use it to make props non-sticky. (sh-add-completer): Use test-completion. 2003-01-18 Vasily Korytov (tiny change) * progmodes/cperl-mode.el: Don't make faces depend on window-system. 2003-01-18 Markus Rost * cus-edit.el (customize-changed-options): Undo last doc change. 2003-01-17 Stefan Monnier * skeleton.el (skeleton-internal-list, skeleton-internal-1): Don't treat \n specially in sub-skeletons. 2003-01-17 Dave Love * international/ucs-tables.el: Redo 8859-6 change in the right place. 2003-01-17 Kenichi Handa * international/fontset.el: Don't setup the default fontset and font-encoding-alist at the top level. (setup-default-fontset): New function. (create-fontset-from-fontset-spec): Delete autoload cookie. * term/x-win.el: Require fontset unconditionally again. Call setup-default-fontset at the top level. * term/w32-win.el: Call setup-default-fontset. * term/mac-win.el: Require fontset and call setup-default-fontset. 2003-01-16 Stefan Monnier * textmodes/fill.el (fill-region-as-paragraph): Only erase `hard' property until end-of-paragraph. 2003-01-16 Kenichi Handa * international/ucs-tables.el: Undo the last change. 2003-01-15 Dave Love * thingatpt.el (thing-at-point-file-name-chars): Include non-ASCII and use documented treatment of -. * dired-x.el (dired-filename-at-point): Fix filename-chars. * international/ucs-tables.el: Set up tables for 8859-6. * server.el (server-window): Customize. (server-mode): New. (server-unload-hook): Call server-start. 2003-01-15 John Wiegley * eshell/em-hist.el (eshell-save-history-on-exit): Rename `eshell-ask-to-save-history' to `eshell-save-history-on-exit', because the former name is somewhat unrelated to the variables' possible values. 2003-01-15 Deepak Goel * calc/README: Add new maintainer. * calc/*: Ditto. * calc/calc.el (calc-bug-address): Change address to deego@gnufans.org. 2003-01-15 Andrew Innes * makefile.w32-in (loaddefs.el): Invoke make to build stub file using appropriate rule for build environment. (loaddefs.el-SH, loaddefs.el-CMD): New targets. Include small set of autoloads and defvars, sufficient to dump bootstrap emacs. (update-subdirs-SH): Use hard-coded list of top-level lisp subdirs, because find program on Windows is not compatible with Unix find. (compile-CMD, compile-SH): Use `batch-byte-compile-if-not-done'. Explicitly load loaddefs.el so that bootstrap emacs can compile properly. (bootstrap-clean): Add dependency on loaddefs.el, to ensure minimal stub sufficient for dumping bootstrap emacs is available. * loadup.el: Include lisp/textmodes in load-path for bootstrap emacs, to resolve ispell menu reference. 2003-01-15 YAMAMOTO Mitsuharu (tiny change) * international/mule.el (optimize-char-coding-system-table): Optimize it. * term/mac-win.el: Setup the fontset "fontset-mac" correctly. 2003-01-14 Stefan Monnier * pcvs-info.el (cvs-fileinfo-from-entries): Deal with Solaris' occasional use of "05" rather than " 5" for day-of-month. * log-view.el (log-view-message-re): The rev might be locked. 2003-01-14 Nick Roberts * gdb-ui.el: Improve commentary. (gdb-window-height, gdb-window-width, gdb-display-number-end): Customize the dimensions of frames for displayed expressions. (gdb-error-begin): Comment out because it is not used because of bug/quirk in annotations. (gdb-reset): Use with-current-buffer. 2003-01-14 Kim F. Storm * ido.el (ido-read-internal, ido-file-internal) (ido-copy-current-file-name, ido-wide-find-dirs-or-files): Don't use `path' as name of local variables holding a file name. * arc-mode.el (archive-arc-rename-entry): Fix error message. (archive-lzh-summarize): Rename local var `path' to `dir'. (archive-unique-fname) [!MSDOS]: Avoid byte-compiler warning. * dired.el: Doc fixes. * dired-aux.el: Rename `whole-path' to `whole-name' throughout. (dired-mark-read-regexp): Use "Abs." prefix instead of "Path". * dired-x.el: Doc fixes. * fast-lock.el (fast-lock-cache-name): Doc fix. * net/browse-url.el (browse-url-filename-alist): Doc fix. 2003-01-14 John Paul Wallington * apropos.el (apropos): Restore autoload cookie. Fix typo in "error retrieving function documentation" output. 2003-01-14 Kim F. Storm * subr.el (process-put, process-get): New functions. * simple.el (clone-process): Copy process' plist to new process. 2003-01-13 Markus Rost * cus-dep.el (custom-make-dependencies): Don't set standard-value and version numbers for variables. Handle faces. * cus-edit.el (customize-changed-options): Doc addition. Load the version deps earlier. Use other tests for groups and variables. Handle faces. 2003-01-14 Kim F. Storm * ido.el: Doc fixes. (ido-max-file-prompt-width): Rename from ido-max-prompt-path. (ido-rewrite-file-prompt-functions): Rename from ido-make-file-prompt-hook. Directory name is now in dynamic variable `dirname' (instead of `path'). (ido-rewrite-file-prompt-rules): Rename from ido-rewrite-prompt-path-rules. (ido-make-prompt): Directory name now in `dirname' var. (ido-complete): Fix error message. 2003-01-13 John Paul Wallington * server.el (server-process-filter): Use `minibufferp' to test whether we are inside a minibuffer. (server-process, server-kill-new-buffers): Doc fixes. 2003-01-13 Dave Love * international/utf-16.el (mule-utf-16-be, mule-utf-16-le): Remove pre-write-conversion. 2003-01-13 Kim F. Storm * hexl.el (hexl-mode-map): Don't quote remapped command names. 2003-01-13 David Ponce * ruler-mode.el (ruler-mode): Cleanup buffer local variable `header-line-format' if it didn't exist when `ruler-mode' was enabled. 2003-01-13 Masatake YAMATO * ruler-mode.el (ruler-mode-comment-column-char) (ruler-mode-goal-column-char, ruler-mode-set-goal-column-ding-flag) (ruler-mode-mouse-current-grab-object): New variables. (ruler-mode-comment-column-face, ruler-mode-goal-column-face): New faces. (ruler-mode-mouse-set-fill-column): Remove. (ruler-mode-mouse-grab-any-column) (ruler-mode-mouse-drag-any-column-iteration) (ruler-mode-mouse-drag-any-column): New functions. (ruler-mode-map): [header-line down-mouse-2] Bound to `ruler-mode-mouse-grab-any-column' instead of `ruler-mode-mouse-set-fill-column'. (ruler-mode-ruler-help-echo): Update its value. (ruler-mode-ruler-help-echo-when-goal-column): New help string used when goal-column is already set. (ruler-mode-ruler-help-echo-tab): Rename to... (ruler-mode-ruler-help-echo-when-tab-stops): New. (ruler-mode-fill-column-help-echo, ruler-mode-comment-column-help-echo) (ruler-mode-goal-column-help-echo): New help strings. (ruler-mode-ruler): Use `ruler-mode-ruler-help-echo-when-goal-column' instead of `ruler-mode-ruler-help-echo' if `goal-column' is set. Show `comment-column' and `goal-column'. Echo the different help string for each *-column characters on the ruler. 2003-01-13 Richard M. Stallman * apropos.el (apropos-documentation-property): New function. (apropos): Use apropos-documentation-property. * files.el (mode-line-process): Mark as risky. * help.el (where-is): Catch errors in indirect-function. * server.el (server-process-filter): Comment out -eval. Don't switch buffers if inside isearch or minibuffer. * progmodes/compile.el (compilation-revert-buffer): If buffer has a file, revert it in the normal way. * term/x-win.el: Require fontset conditionally again. 2003-01-13 Kim F. Storm * ido.el (ido-enable-tramp-completion): New defcustom. (ido-enter-single-matching-directory): Change default to 'slash. (ido-is-tramp-root): New defun. (ido-is-root-directory, ido-is-ftp-directory, ido-is-slow-ftp-host) (ido-may-cache-directory, ido-final-slash, ido-read-internal) (ido-complete, ido-make-file-list1, ido-make-dir-list1): Handle tramp completion. (ido-file-name-all-completions1): New defun for tramp completion. (ido-file-name-all-completions): Use it. (ido-set-matches1): Relax matching of text with trailing slash. (ido-exhibit): Handle tramp completion. Simplified code using nested cond forms using new `refresh' var. Fixed handling of /~user/ paths. 2003-01-12 Andreas Schwab * arc-mode.el (archive-mode-map): Use command remapping instead of substitute-key-definition. * emerge.el (emerge-setup-fixed-keymaps): Likewise. * msb.el (msb-mode-map): Likewise. * forms.el (forms--change-commands): Likewise. * hexl.el (hexl-mode-map): Likewise. * mail/mailabbrev.el (Commentary): Likewise. * play/decipher.el (decipher-mode-map): Likewise. * play/gomoku.el (gomoku-mode-map): Likewise. * play/landmark.el (lm-mode-map): Likewise. * play/solitaire.el (solitaire-mode-map): Likewise. * progmodes/sh-script.el (sh-mode-map): Likewise. * textmodes/picture.el (picture-substitute): Likewise. * ielm.el (inferior-emacs-lisp-mode): Bind comint-dynamic-complete-functions locally. * buff-menu.el (Buffer-menu-select): Fix for effect of header line. 2003-01-11 Andreas Schwab * textmodes/sgml-mode.el (sgml-font-lock-keywords-2): Add flag to merge with existing fontification. 2003-01-11 Nick Roberts * gud.el (gud-kill-buffer-hook): Save gud-minor-mode type. (gud-reset): New function. Reset environment at end of debugging. (gud-sentinel): Call gud-reset or gdb-reset. (gud-menu-map, gud-tool-bar-map, gdb): Change gud-goto to gud-until. * gdb-ui.el (gud-display): Use GDB command ptype instead of whatis to find out if variable should be dereferenced. (gud-display1): Exit if there is `No symbol'. (gdb-expressions-mode-map): Correction to key-binding. (gdb-reset): New function. Reset environment at end of debugging. (gdb-quit): Remove. 2003-01-10 Dave Love * international/code-pages.el (cp-make-coding-system): Fix last change. 2003-01-10 Kai Großjohann * dired.el (dired-garbage-files-regexp): Use \\' instead of $ and use regexp-opt for readability. 2003-01-10 Mark A. Hershberger * xml.el (xml-parse-tag, xml-parse-attlist, xml-skip-dtd) (xml-parse-dtd, xml-parse-elem-type): Be more flexible in recognizing empty elements. 2003-01-10 Luc Teirlinck * progmodes/sh-script.el (sh-set-shell): Make sh-shell-file the default shell. 2003-01-09 John Wiegley * pcomplete.el (pcomplete-termination-string): Add a variable for modifying the string which is inserted after a completion or expansion using pcomplete. 2003-01-09 Karl Berry * sort.el (sort-regexp-fields): Pass noerror to re-search-forward, so that we don't fail if no records match record-regexp. 2003-01-09 Markus Rost * cus-edit.el (customize-group, customize-group-other-window): Remove unnecessary calls to custom-load-symbol. (custom-group-value-create): Load widget deps if state is not hidden. If widget deps are loaded, load them in advance. (custom-menu-create): If widget deps are loaded, load them earlier. 2003-01-09 John Paul Wallington * language/ethio-util.el (ethio-gemination) (exit-ethiopic-environment): Doc fixes. * language/viet-util.el (viet-encode-viqr-region) (viet-decode-viqr-region, viet-encode-viqr-buffer) (viet-decode-viqr-buffer): Doc fixes. 2003-01-09 ShengHuo ZHU * paths.el: Remove gnus-startup-file. 2003-01-08 Bill Wohler * mail/mh-alias.el, mail/mh-customize.el, mail/mh-identity.el, mail/mh-loaddefs.el, toolbar/alias.pbm, toolbar/alias.xpm: Added. * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el, mail/mh-index.el, mail/mh-mime.el, mail/mh-pick.el, mail/mh-seq.el, mail/mh-speed.el, mail/mh-utils.el, mail/mh-xemacs-compat.el: Upgraded to MH-E version 7.1. 2003-01-08 Kim F. Storm * mail/undigest.el (unforward-rmail-message): Don't use global variable `n'. 2003-01-08 Francesco Potortì * mail/undigest.el (unforward-rmail-message): Simplified. No functional change. 2003-01-07 Markus Rost * custom.el (custom-autoload, custom-variable-p): New functions. * emacs-lisp/autoload.el (make-autoload): Generate custom-autoload for autoloaded defcustoms. * help-fns.el (describe-variable): Use custom-variable-p. * simple.el (set-variable): Load deps of custom variables without type. * cus-edit.el (custom-variable-prompt): Doc change. Use custom-variable-p. (customize-option): Remove search in loaddefs.el. (customize-apropos): Use custom-variable-p. (custom-save-variables): Use custom-variable-p to detect non-rogue variables. 2003-01-07 Francesco Potortì * mail/undigest.el (unforward-rmail-message): Skip all newlines after the initial separator. (unforward-rmail-message): Forwarded-From: and Forwarded-Date: instead of Forwarded-from: and Forwarded-date:. 2003-01-07 Kai Großjohann * dired.el (dired-garbage-files-regexp): Add `.aux$'. These are produced by TeX. 2003-01-07 Andre Spiegel * vc-rcs.el (vc-rcs-checkout): Fix the check whether we are on a branch. 2003-01-06 Dave Love * textmodes/ispell.el (lookup-words): Cope with null lookup-dict. * language/chinese.el ("Chinese-EUC-TW"): New. 2003-01-06 John Paul Wallington * mail/rmail.el (rmail-mmdf-delim1, rmail-mmdf-delim2): Doc fixes. 2003-01-05 Richard M. Stallman * obsolete/uncompress.el: Display message that this pkg is obsolete. * isearch.el (isearch-repeat): Error if try to repeat search and there was no previous search. * dired.el (dired-recursive-deletes): Fix custom type. * dabbrev.el (dabbrev--substitute-expansion): Convert all whitespace to single spaces, except when it's carried over from the existing text. * simple.el (split-line): Clean up implementation. * mail/rmail.el (rmail-font-lock-keywords): Discard code to match both cases. (rmail-variables): Specify case-insensitive matching for font-lock. 2003-01-05 Alexander Pohoyda (tiny change) * mail/sendmail.el (mail-font-lock-keywords): * mail/rmail.el (rmail-font-lock-keywords): Match multiline In-Reply-To and X-*. 2003-01-05 Mark A. Hershberger * xml.el (xml-substitute-special): Check for & last. 2003-01-05 Dave Love * buff-menu.el (Buffer-menu-execute): Fix for effect of header line. 2003-01-05 Dave Love * international/mule-diag.el (non-iso-charset-alist): Add vietnamese-tcvn. * international/mule-cmds.el (locale-language-names): Use Croatian, Swedish. 2003-01-05 Andreas Schwab * buff-menu.el (Buffer-menu-buffer+size): Don't clobber buffer name. 2003-01-05 Dave Love * language/european.el ("Latin-6", "Croatian"): New. ("Latin-7"): Fix nonascii-translation. Add input method. ("Lithuanian", "Latvian"): Add nonascii-translation. ("German", "Spanish", "Dutch", "Welsh", "Swedish"): Fix nonascii-translation. * language/georgian.el ("Georgian"): Fix nonascii-translation. * international/mule-cmds.el (set-locale-environment): Ignore empty values of environment variables. * emacs-lisp/byte-opt.el (byte-optimize-nth) (byte-optimize-nthcdr): Fix for case of wrong-length forms. 2003-01-04 Nick Roberts * gdb-ui.el: Acknowledge Tom Lord as author of gdba.el. Use let construction to bind buffer-read-only to nil. (gdba): 'set height 0' in GDB. (gdb-display-end, gdb-frame-handler): Corrections to forming full expression name for header-line in display frame. (gdb-info-breakpoints-custom): Highlight breakpoints since they may be clicked on with mouse-2. (gdb-quit): Delete frames of displayed expressions when quitting. (gdb-delete-frames): New function. (gdb-source-info): Don't create stack buffer automatically. 2003-01-04 Thien-Thi Nguyen * xml.el (xml-substitute-special): Move "&" -> "&" last. 2003-01-04 Kim F. Storm * simple.el (split-line): If present, copy fill-prefix from current line to new line. Don't copy if prefix arg. From Lisp, arg may be an alternative prefix string to copy. Inspired by Ehud Karni . * mail/sendmail.el (mail-split-line): New function. (mail-mode-map): Remap split-line to mail-split-line. 2003-01-03 Dave Love * emacs-lisp/find-func.el (find-variable-noselect): Make it work with new load-history format. * international/mule-cmds.el (sort-coding-systems): Adjust priority of utf-16 and x-ctext. * international/utf-8.el (utf-translate-cjk): Call optimize-char-coding-system-table. * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859): Call optimize-char-coding-system-table. * international/mule.el (register-char-codings): Don't call optimize-char-coding-system-table here. (keyboard-coding-system): Doc fix. Update :version. * textmodes/nroff-mode.el (nroff-mode-hook): Customize. (nroff-imenu-expression): New. (nroff-mode): Use it. * autoinsert.el (auto-insert-alist): Add man page skeleton. 2003-01-03 Andre Spiegel * vc-rcs.el (vc-rcs-revert): Unlock only if the user does have the lock. 2003-01-03 Kim F. Storm * emulation/cua-base.el (cua--pre-command-handler): Corrected handling of delete-selection properties. 2003-01-03 John Paul Wallington * emacs-lisp/eldoc.el (eldoc-get-var-docstring): Only return a documentation string when `sym' is non-nil. 2003-01-02 Steven Tamm * scroll-bar.el (toggle-scroll-bar, scroll-bar-mode): Have scroll bars correctly default to being on the right for Mac Carbon port by testing "mac-carbon" feature, not window-system. 2003-01-02 Markus Rost * cus-edit.el (customize-group, customize-group-other-window): Call custom-load-symbol unconditionally. (customize-face, customize-face-other-window): Fix format arg. 2003-01-02 John Paul Wallington * menu-bar.el (menu-bar-left-scroll-bar): Set `scroll-bar-mode' to `left'. 2003-01-01 Richard M. Stallman * mail/rmail.el (rmail-reply): Don't call mail-strip-quoted-names. * files.el (backup-buffer): Cope if file-modes returns nil. 2002-12-30 Steven Tamm * scroll-bar.el (toggle-scroll-bar, scroll-bar-mode): Have scroll bars correctly default to being on the right for Mac Carbon port 2002-12-29 Nick Roberts * gdb-ui.el (gdb-delete-display): Rename (gdb-delete-expression). (gdb-goto-bp-this-line): Rename (gdb-goto-breakpoint). (gdb-toggle-bp-this-line): Rename (gdb-toggle-breakpoint). (gdb-delete-bp-this-line): Rename (gdb-delete-breakpoint). (gdb-toggle-disp-this-line): Rename (gdb-toggle-display). (gdb-delete-disp-this-line): Rename (gdb-delete-display). (gud-gdba-marker-filter): Remove unnecessary save-match-data. (gdb-mouse-goto-breakpoint, gdb-frames-select): New functions. (gdb-frames-mouse-select): Simplify. Make keybindings (gdb-goto-breakpoint, gdb-frames-select, etc) consistent with other modes in Emacs. (gdb-display-source-buffer): Return window of source buffer for (gud-display-line). 2002-12-29 Markus Rost * button.el (defface button): Add group. * cus-edit.el (customize-browse): Call `widget-setup'. 2002-12-29 Andreas Schwab * Makefile.in: Generate cus-load.el and finder-inf.el in the source directory. Change dependencies on lisp files to explicitly use $(lisp). (compile-calc): Fix command substitution. * cus-dep.el (generated-custom-dependencies-file): New variable. (custom-make-dependencies): Use it instead of hardcoding cus-load.el. * finder.el (generated-finder-keywords-file): New variable. (finder-compile-keywords): Use it instead of hardcoding finder-inf.el. 2002-12-28 Richard M. Stallman * info-look.el (info-lookup): Fix error message typo. * comint.el (comint-mode): Locally set scroll-conservatively. (comint-postoutput-scroll-to-bottom): comint-scroll-show-maximum-output is active only when point is at end. * dired.el (dired-goto-file): Handle \ and ^M quoted by backslash. Fix error message. * files.el (find-file-noselect-1): Kill local value of `cursor-type'. * simple.el (repeat-complex-command): Signal real error on failure. 2002-12-28 Andreas Schwab * progmodes/make-mode.el (makefile-font-lock-keywords): Highlight automatic variable references enclosed in parens and optionally suffixed by F or D. 2002-12-27 Miles Bader * info.el (Info-complete-menu-item): Make `Info-complete-cache' a buffer-local variable. 2002-12-26 Markus Rost * cus-edit.el (customize-group-other-window): Use pop-to-buffer in the same way as `custom-buffer-create-other-window'. (customize-variable-other-window, customize-option-other-window): Definitions moved up. 2002-12-26 Kai Großjohann * net/tramp*.el: Sync with upstream version 2.0.28. Bugfixes. * net/tramp-ftp.el: Glue code with Ange-FTP, broken out of tramp.el. From Michael Albinus. * net/tramp-smb.el: New file for using smbclient to access Windows shares with Tramp. From Michael Albinus. 2002-12-26 Andreas Schwab * international/mule-cmds.el (select-safe-coding-system): Fix typo. 2002-12-26 Andre Spiegel * vc.el (vc-next-action-on-file): Use t argument to vc-checkout in order to get the latest version on the current branch. Update documentation of vc-BACKEND-checkout to explain this. * vc-rcs.el (vc-rcs-checkout): Handle t argument for REV. (vc-rcs-checkin): By default, specify the current workfile branch as the check-in revision. * vc-cvs.el (vc-cvs-checkout): Handle t argument for REV. * vc-sccs.el (vc-sccs-checkout): Likewise. 2002-12-26 Nick Roberts * gdb-ui.el (gdb-info-display-custom): Ensure that frames/buffers of displayed expressions are deleted when the displayed expressions are deleted. (gdb-delete-disp-this-line, gdb-delete-display): Frame/buffer deletion is handled by gdb-info-display-custom now. (gdb-source-info): Undo earlier change (do create display buffer automatically). 2002-12-25 Markus Rost * cus-edit.el (custom-save-faces): Fix typo. 2002-12-23 Francesco Potortì * mail/undigest.el (unforward-rmail-message): Do not assume that the forwarded message's Date: header comes after From:. Use a Forwarded-from: rather than a Forwarded-by: header. Add a Forwarded-date: header. 2002-12-23 Nick Roberts * gdb-ui.el (gdb-display-number-end): Make auto-display of expressions in GDB work on text-only terminals. (gdb-post-prompt): Compute current frame properly. (gdb-get-current-frame, gdb-frame-handler): New functions. (gdb-source-info): Move last statement into if clause. Tidy, improve documentation. 2002-12-23 Richard M. Stallman * emacs-lisp/checkdoc.el: Don't define a name for the minor mode menu. * emacs-lisp/easymenu.el (easy-menu-do-define): Handle nil for SYMBOL. (easy-menu-define): Doc fix, say SYMBOL can be nil. * window.el (save-selected-window): Save and restore selected windows of all frames. * cus-start.el (scroll-up-aggressively, scroll-down-aggressively): Update custom types. 2002-12-23 Alex Schroeder Merging Dave Love 's custom_themes branch containing Alex Schroeder's adaptation of Jan Vroonhof 's code. Doc strings corrected by RMS. * cus-edit.el (customize-save-variable): Take themes into account. (custom-variable-save): Take themes into account. (custom-variable-reset-saved): Add comment-widget. (custom-variable-reset-standard): Add comment-widget. (custom-variable-reset-standard): Take themes into account. (custom-face-save): Take themes into account. (custom-face-reset-standard): Take themes into account. (custom-save-variables): Take themes into account. (custom-save-faces): Take themes into account. (custom-save-resets): New function. (custom-save-loaded-themes): New function. (customize-save-customized): Take themes into account. * cus-face.el (custom-set-faces): Call custom-theme-set-faces. (custom-theme-set-faces): New function. (custom-theme-face-value): New function. (custom-theme-reset-internal-face): New function. (custom-theme-reset-faces): New function. (custom-reset-faces): New function. * custom.el (custom-known-themes): New variable. (custom-declare-theme): New function. (deftheme): New macro. (custom-make-theme-feature): New function. (custom-theme-p): New function. (custom-check-theme): New function. (custom-push-theme): New function. (custom-theme-set-variables): Take themes into account. (custom-loaded-themes): New variable. (custom-theme-loaded-p): New function. (provide-theme): New function. (require-theme): New function. (custom-remove-theme): New function. (custom-do-theme-reset): New function. (custom-theme-load-themes): New function. (custom-load-themes): New function. (custom-theme-value): New function. (custom-theme-variable-value): New function. (custom-theme-reset-internal): New function. (custom-theme-reset-variables): New function. (custom-reset-variables): New function. * cus-theme.el: New file. 2002-12-23 Matthew Swift * emacs-lisp/rx.el (rx-and): Generate a shy group. Specify `no-group' when calling rx-to-string. (rx-submatch): Specify `no-group' when calling rx-to-string. (rx-kleene): Use rx-atomic-p to decide whether to make a group. (rx-atomic-p): New function. 2002-12-23 Kevin Ryde * info-look.el (info-lookup): For ease of use try item case-insensitive if not found case-sensitive. Do case sensitive search in index nodes, so items differing only in case go correctly to their respective nodes. 2002-12-22 Richard M. Stallman * subr.el (add-to-invisibility-spec): If it was t, start it out at (t). * textmodes/texinfmt.el (tex-start-of-header, tex-end-of-header): Add defvars. * textmodes/tex-mode.el (tex-print): Call shell-quote-argument on the file name. * textmodes/outline.el (outline-next-visible-heading): When going forward, test outline-invisible-p at start of header. 2002-12-22 Kevin Ryde * textmodes/makeinfo.el (makeinfo-buffer): Display result using Info-mode. (makeinfo-compilation-sentinel-buffer, makeinfo-current-node): New functions. (makeinfo-compile): Add a sentinel parameter. (makeinfo-compilation-sentinel-region): Renamed from makeinfo-compilation-sentinel, and makeinfo-temp-file now never nil. (makeinfo-region): Use this. * info.el (Info-revert-find-node): New function. 2002-12-22 Nick Roberts * tooltip.el (tooltip-gud-tips): Output tooltip without switching process filter (gdba in gdb-ui.el only). (gdb-tooltip-print): New function. (tooltip-gud-process-output): Undo previous change. (tooltip-strip-annotations): Remove. 2002-12-22 Zoltan Kemenczy * gud.el (gud-menu-map): Add jdb support for "run". (gud-jdb-find-source-using-classpath): Use 'identity. (gud-jdb-marker-filter): Marker regexp and filename filtering change to support a backwards-incompatible change in Sun's jdb line number display in SDK versions 1.4. (gud-format-command): gud-find-class now requires two parameters (file and linenumber). (gud-find-class): Bulk of the change related to using c-syntactic symbols to locate nested class declarations in java sources visited by java-mode (cc-mode). 2002-12-21 Nick Roberts * gdb-ui.el: Remove the concept of an instance. This means that a lot of functions have been renamed. Accessors are prefixed with gdb-get, setters with gdb-set and the word instance has been removed from many function and variable names. (gdb-display-buffer): Protect source buffer as well as GUD buffer when requesting new buffers. (gdb-source-info): Two changes : Don't create display buffer automatically, compute source window correctly. 2002-12-21 Richard M. Stallman * man.el (Man-getpage-in-background): Put GROFF_NO_SGR in env. * ls-lisp.el (original-insert-directory): Make this a variable, don't set its function definition. (insert-directory): Use funcall to call that function. * bindings.el (help-echo): Change tooltip string. * chistory.el (command-history-map): Move definition up. * faces.el (help-xref-stack): Add defvar to avoid warning. 2002-12-21 Andreas Schwab * dired.el (dired-insert-directory): Preserve text properties when quoting. 2002-12-20 Francesco Potortì * mail/undigest.el (rmail-mail-separator): Renamed from rmail-digest-mail-separator. All users changed. (unforward-rmail-message): Rewritten to be more robust and to additionally account for the common style of forwarding messages by citing them entirely with headers. 2002-12-18 Dave Love * international/utf-8-subst.el: Deleted. * international/ucs-tables.el (ucs-fragment-8859): Don't modify char-coding-system-table elements destructively. Use optimize-char-coding-system-table. * international/mule.el (optimize-char-coding-system-table): New. (register-char-codings): Use it. * international/utf-8.el (ucs-mule-cjk-to-unicode) (ucs-unicode-to-mule-cjk): Revert last change. (utf-subst-table-for-encode): Initially use ucs-mule-cjk-to-unicode. (utf-subst-table-for-decode): Initially use ucs-unicode-to-mule-cjk. (utf-fragment-on-decoding, utf-translate-cjk): Don't modify char-coding-system-table elements destructively. (utf-translate-cjk): Set ucs-mule-cjk-to-unicode, ucs-unicode-to-mule-cjk to new hash tables with realistic parameters. 2002-12-18 John Paul Wallington * info.el (Info-dir-remove-duplicates): Avoid infloop when deleting last entry. 2002-12-17 Nick Roberts * gdb-ui.el (gdba-marker-filter, gdb-output-burst): Merge and rename gud-gdba-marker-filter. (gdb-append-to-inferior-io): Only pop up IO buffer if there is output. (gdb-make-instance): Remove (put into gdba). Use gdb-instance-enqueue-input instead of gdb-instance-enqueue-idle-input for user functions. (gdb-instance-target-string): Simplify. (in-gdb-instance-context): Remove. Expand Commentary. 2002-12-17 Kenichi Handa * international/mule.el (set-file-name-coding-system): New function. * international/mule-cmds.el (mule-keymap, set-coding-system-map): Add bindings for set-file-name-coding-system. 2002-12-17 Kenichi Handa * international/mule-cmds.el (universal-coding-system-argument): Bind coding-system-require-warning to t. (select-safe-coding-system): Handle t in the arg DEFAULT-CODING-SYSTEM specially. Use read-coding-system to read a coding-system to allow users to specify unsafe coding system on their risk. 2002-12-16 Francesco Potortì * mail/undigest.el (rmail-digest-methods) (rmail-digest-mail-separator): New variables. (rmail-digest-parse-mime, rmail-digest-parse-rfc1153strict) (rmail-digest-parse-rfc1153sloppy, rmail-digest-rfc1153) (rmail-digest-parse-rfc934): New functions. (undigestify-rmail-message): Completely rewritten. 2002-12-16 Kim F. Storm * ido.el (ido-read-file-name): Remove debug message. 2002-12-16 Daniel Pfeiffer * buff-menu.el (Buffer-menu, Buffer-menu-use-header-line) (Buffer-menu-buffer-face, Buffer-menu-buffer+size-width) (Buffer-menu-mode-width): New customization. (Buffer-menu-sort-column): New var. (Buffer-menu-no-header): New function for not changing header line and recognizing swapped M&R columns, used by modifying commands in Buffer Menu. (Buffer-menu-buffer+size): New function for variable width buffer name. (list-buffers-noselect): Rewritten for nicer menu. 2002-12-16 Markus Rost * filesets.el (filesets-build-menu-now): Don't clear messages. * allout.el: Avoid name conflicts with outline.el. Replace globally string "outline-" with string "allout-". Replaced 1446 occurrences; there was no string "allout-" before the change and there seems to be no dependency on outline.el. Put `quotes' around many function and variable names. Doc changes to adjust to the change to prefix "allout-". Don't provide `outline'. Use " Allout" as mode line string, not " Outl". Put group `allout' in group `editing'. Update Copyright notice. Autoload `allout-init'. (allout-init): Give report also in case auto-activation was inhibited. (my-mark-marker): Test for feature `xemacs' instead of a string parse. 2002-12-16 Stefan Monnier * xml.el (xml-parse-tag): Allow spaces between / and >. 2002-12-15 David Kastrup * emacs-lisp/autoload.el (autoload-ensure-default-file): Insert missing space in file end comment. 2002-12-15 Simon Josefsson * mail/smtpmail.el (smtpmail-via-smtp): Fall back to user-mail-address as sender. 2002-12-15 Dave Love * international/mule-cmds.el (standard-keyboard-coding-systems): Delete. (set-locale-environment): Don't use it. * international/utf-8.el (ucs-mule-cjk-to-unicode) (utf-subst-table-for-encode, ucs-unicode-to-mule-cjk) (utf-subst-table-for-decode): Specify :size, :rehash-size. (utf-translate-cjk): :set rewritten to load subst-... files. Add :set-after. (ccl-decode-mule-utf-8): Consider CJK translation for r3<#x3400. 2002-12-15 Gustav Hållberg (tiny change) * progmodes/compile.el (compile-reinitialize-errors): Don't mark the buffer as modified unless it really is. 2002-12-14 Andreas Schwab * wid-edit.el (widget-move): Don't loop infinitely when there is no field or button. 2002-12-13 Stefan Monnier * uniquify.el (uniquify-rationalize-file-buffer-names, rename-buffer) (uniquify-delay-rationalize-file-buffer-names, kill-buffer-hook): Undo 2002/09/27 change because kill-buffer-hook is not permanent-local. * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Optimize the remaining part of for-effect and/or expressions. 2002-12-13 Markus Rost * emacs-lisp/easy-mmode.el (define-minor-mode): Use `custom-current-group'. Pass all groups to the hook. (easy-mmode-define-global-mode): Use `custom-current-group'. * international/mule-cmds.el (current-language-environment): Set type according to `language-info-alist' also here. * progmodes/compile.el (compilation-menu-map): Use `kill-compilation' to stop compilation. 2002-12-13 Kenichi Handa * language/european.el (encode-mac-roman): Fix last change. * language/cyrillic.el (ccl-encode-koi8, ccl-encode-koi8-u) (ccl-encode-alternativnyj): Fix last change. 2002-12-13 Nick Roberts * gdb-ui.el: Improve documentation strings. (gdb-many-windows): Set default value to nil. 2002-12-12 Dave Love * international/subst-big5.el, international/subst-gb2312.el: * international/subst-jis.el, international/subst-ksc.el: New. * custom.el (defcustom, custom-set-variables): Doc fix. * emacs-lisp/bytecomp.el (byte-compile-if): Suppress warnings from things protected by `(if (fboundp ...' or `(if (boundp ...'. * emacs-lisp/byte-opt.el (byte-optimize-featurep): New. 2002-12-12 Glenn Morris * progmodes/fortran.el (fortran-mode-abbrev-table): Handle `define-abbrev' with either 5 or 6 arguments. 2002-12-12 Markus Rost * international/mule-cmds.el (set-language-info): Update custom-type of `current-language-environment'. (current-language-environment): Fix custom type. 2002-12-11 Pavel Janík * progmodes/antlr-mode.el (antlr): New URL. 2002-12-10 R. Bernstein * gud.el (bashdb): Prompt now included parenthesis for subshell levels. Fix erroneous print expression command, and fix typos. (perldb): Undo previous change in prompt regexp. 2002-12-10 Steven Tamm * generic-x.el (javascript-generic-mode): Added C style block comments as used in ECMA-262 standard. 2002-12-10 Kenichi Handa * language/european.el ("Swedish"): Change tutorial file name to TUTORIAL.sv in this language environment. 2002-12-09 John Paul Wallington * ibuffer.el (ibuffer-mode): If `show-paren-mode' is enabled, disable it buffer-locally. (ibuffer-mouse-popup-menu): Use `=' instead of `eq' to compare `eventpt' and point. * ibuf-ext.el (ibuffer-remove-duplicates): New function. (ibuffer-set-filter-groups-by-mode): Use it instead of `delete-duplicates' so we don't require cl library at runtime. (ibuffer-insert-filter-group-before): Don't use `position' so we don't require cl library at runtime. * chistory.el (command-history-mode): Add interactive spec. Improve doc string. 2002-12-09 Richard M. Stallman * isearch.el (isearch-no-upper-case-p): \\ only quotes one character. 2002-12-09 Markus Rost * mwheel.el (mouse-wheel-scroll-amount): Revert previous change - customize type 'float is now defined. 2002-12-09 Dave Love * international/code-pages.el (mik, pt154): New coding systems. * international/ucs-tables.el: Fix properly. 2002-12-09 Andreas Schwab * international/ucs-tables.el: Fix last change. 2002-12-09 Kenichi Handa * international/titdic-cnv.el (titdic-convert): Process the header part in multibyte mode. 2002-12-08 Dave Love * international/code-pages.el (mule-diag): Move where it's required. * international/ucs-tables.el: Add latin-jisx0201 characters. Fix translation-table-for-input for lao, thai, tibetan. 2002-12-08 Andreas Schwab * files.el (insert-directory): Insert free space only when listing a full directory. 2002-12-08 Nick Roberts * gdb-ui.el : Remove inappropriate key-bindings. (gdb-info-breakpoints-custom, gdb-goto-bp-this-line): Parse correctly when breakpoint has no line number. (def-gdb-auto-update-handler, gdb-info-locals-handler), (gdb-display-end): Avoid using insert-buffer. (gdb-frames-select-by-mouse): Rename gdb-frames-mouse-select. 2002-12-07 Richard M. Stallman * progmodes/compile.el (compilation-enter-directory-regexp-alist) (compilation-leave-directory-regexp-alist): Match byte compiler output. * emacs-lisp/cl-macs.el: Add local variable list to turn off cl-function warnings. * emacs-lisp/bytecomp.el (byte-compile-eval): Handle (t . SYMBOL) elements in load-history. (byte-compile-cl-warn): No cl warnings for cl-defsubst-expand and cl-struct-setf-expander. * emacs-lisp/autoload.el (autoload-print-form-outbuf): New variable. (autoload-print-form): Use autoload-print-form-outbuf. (generate-file-autoloads): Bind autoload-print-form-outbuf. * calendar/calendar.el (calendar-day-name): Move defn down. * speedbar.el (speedbar-directory-buttons-follow): Don't use directory-sep-char. 2002-12-06 Masatake YAMATO (tiny change) * register.el (describe-register-1): Use window-width to truncate string in a register. Check whether the string in a register is an empty string or a sequence of white spaces. 2002-12-07 Andreas Schwab * faces.el (face-font-selection-order) (face-font-family-alternatives, face-font-registry-alternatives): Remove period from :tag value. * cus-edit.el (custom-face-edit-fix-value): Change :reverse-video to :inverse-video. 2002-12-07 Markus Rost * wid-edit.el (define-widget number): Clarify doc and error message. (define-widget float): New widget. 2002-12-07 Andreas Schwab * eshell/em-ls.el (eshell-ls-product-regexp): Fix typo. * files.el (find-file-read-args): Reenable wildcard processing unconditionally. 2002-12-06 Robert J. Chassell * textmodes/texinfmt.el (texinfo-format-scan): Handle new functions for copyright notice and copying permissions. (texinfo-copying, texinfo-insertcopying): New functions. 2002-12-03 TAKAHASHI Kaoru * textmodes/texinfmt.el (texinfo-format-ifxml) (texinfo-format-xml): New function. (ifxml, ifnotxml): New aliases. 2002-12-06 Dave Love * international/utf-8-subst.el: Revert last change. 2002-12-06 Miles Bader * info.el (Info-insert-dir): Make dir-node-cache variables buffer-local, so that killing the *info* buffer forces the dir-node to be rebuilt. 2002-12-06 Markus Rost * finder.el (finder-compile-keywords): Don't insert a keyword to the generated file. 2002-12-05 Andreas Schwab * speedbar.el (speedbar-highlight-face): Fix face spec. 2002-12-05 Stefan Monnier * gdb-ui.el: Replace uses of (gdb-get-instance-buffer 'gdba) and gdb-proc with gud-comint-buffer instead. (gdb-proc): Remove. (def-gdb-var): Simplify. (gdb-get-create-instance-buffer): Avoid make-variable-buffer-local. Set gud-comint-buffer as well as gud-minor-mode and tool-bar-map. (gdb-goto-bp-this-line): Select the window while doing the goto-line. (gdb-info-locals-handler): Avoid replace-regexp. * calendar/calendar.el (facemenu-unlisted-faces): Only update after facemenu is loaded. (calendar-font-lock-keywords): Accept non-ASCII month names. Use regexp-opt. * gdb-ui.el (gud-gdb-complete-string, gud-gdb-complete-break) (gud-gdb-complete-list, gud-gdb-complete-in-progress): Remove. (gdba): Call `gdb' and then make modifications. Always call gdb-clear-inferior-io rather than just "the first time". (gud-break, gud-remove): Definitions moved to inside gdba. (gdb-target-name): Remove. Use gud-target-name instead. (gdba-complete-filter, gdba-common-init): Remove. The changes were integrated into the generic code. * gud.el: Use match-string. (gud-menu-map): Re-fix gdb-running to gud-running. Activate up/down and finish for pdb. (gud-def): Use backquotes. (gdb, sdb, dbx, xdb, pdb, jdb, bashdb): Remove redundant menu bindings. (gud-gdb-complete-in-progress, gud-gdb-complete-string) (gud-gdb-complete-break, gud-gdb-complete-list): Rename to gud-gdb-fetch-lines-in-progress, gud-gdb-fetch-lines-string, gud-gdb-fetch-lines-break and gud-gdb-fetched-lines. (gud-gdb-fetch-lines-filter): Rename from gud-gdb-complete-filter. Add a `filter' argument and run it on `string'. (gud-gdb-run-command-fetch-lines): Use it instead of gud-gdb-speedbar-stack-filter. Add a `skip' arg. Return the fetched lines. (gud-gdb-complete-command): Use it instead of cooking up something by hand using gud-gdb-complete-filter. (gud-gdb-get-stackframe): Use the new calling convention of gud-gdb-run-command-fetch-lines. (gud-gdb-fetched-stack-frame-list): Remove. (gud-gdb-speedbar-stack-filter): Remove. (gud-jdb-marker-filter): Change RE for easier extraction of submatches. (gud-bashdb-command-name): Add "--debugger" argument here. (bashdb): Use default gud-find-file and don't bother with a massage-args function now that --debugger is make explicit. (gud-bashdb-massage-args, gud-bashdb-find-file): Remove. (bashdb): Don't provide. (gud-target-name): New var. (gud-common-init): Set it. Also reset gud-running and gud-last-last-frame. 2002-12-05 Dave Love * international/utf-8-subst.el: Update safe-chars of mule-utf-8, mule-utf-16-le, mule-utf-16-be. 2002-12-05 Richard M. Stallman * textmodes/outline.el (outline-mode): Doc fix. 2002-12-05 Edward M. Reingold * calendar/solar.el (solar-atn2): Give correct quadrant for arctan. 2002-12-05 Kenichi Handa * international/titdic-cnv.el (quail-misc-package-ext-info): Remove duplicate entry for chinese-b5-quick. (batch-miscdic-convert): Don't try to call miscdic-convert on files in the directory just following the arg "-dir". 2002-12-04 Stefan Monnier * gdb-ui.el: Fold top-level `setq's and `define-key's into their corresponding defvar. (gdb-inferior-io-mode-map): New var. Add bindings to it rather than to comint-mode-map. (gdb-display-number-end): Use dolist. Remove always-true test. (gdb-delete-line): Move and simplify. (gdb-display-end): Don't bother going to beg-of-line since we're there. (gdb-array-format1): Use dolist. (gdb-make-windows-menu, gdb-make-frames-menu): Move to top-level code. Move the menus to within the GUD menu. Make the menus only appear in gdba mode. * gdb-ui.el (gdb-inferior-io-mode-map): Remove (unused). (gdb-inferior-io-mode): Use define-minor-mode. (gdb-source-info): Don't burp if there's no source file. (gdb-inferior-io-interrupt, gdb-inferior-io-quit) (gdb-inferior-io-stop, gdb-inferior-io-eof) (gdb-display-breakpoints-buffer, gdb-frame-breakpoints-buffer) (gdb-display-stack-buffer, gdb-frame-stack-buffer) (gdb-display-registers-buffer, gdb-frame-registers-buffer) (gdb-display-locals-buffer, gdb-frame-locals-buffer) (gdb-display-display-buffer, gdb-frame-display-buffer) (gdb-display-gdb-buffer, gdb-frame-gdb-buffer) (gdb-display-assembler-buffer, gdb-frame-assembler-buffer): Remove the spurious left over arg from the "big reorg". 2002-12-04 Richard M. Stallman * gud.el (gud-menu-map): Update for bashdb. (perldb): Change prompt regexp. (gud-bashdb-history, gud-bashdb-massage-args, gud-bashdb-marker-filter) (gud-bashdb-find-file, gud-bashdb-command-name, bashdb): New. * progmodes/cc-vars.el: Simply require wid-edit and custom in eval-when-compile. * progmodes/cc-menus.el: Don't require imenu. * progmodes/cc-langs.el: Don't require cl. (c-delete-duplicates): New function. Use instead of delete-duplicates. * progmodes/cc-bytecomp.el (cc-bytecomp-obsolete-var): Add an else-clause to the if to avoid confused compiler warning. * tooltip.el (tooltip-gud-tips-p): Undo previous change. 2002-12-03 Stefan Monnier * gdb-ui.el: Get rid of (quote ..); use match-string and ignore. * gdb-ui.el (gdba, gdb-starting, gdb-stopped, gdb-quit): Update gdb-running -> gud-running. (gdba): Use the default for gud-find-file. (def-gdb-variable): Remove: fold into def-gdb-var. (def-gdb-var): Use buffer-local-value and with-current-buffer. * gud.el (gud-running): Rename from gdb-running. Update uses. (gud-tool-bar-map): Use tool-bar-local-item-from-menu rather than tool-bar-add-item-from-menu to avoid let binding tool-bar-map which fails if tool-bar.el is loaded in the mean time. (gud-file-name): New fun. (gud-find-file): Use it as default value for gud-find-file. (gud-speedbar-buttons): Discriminate on gud-minor-mode rather than on gud-find-file. (gud-gdb-find-file, gud-dbx-file-name, gud-dbx-find-file) (gud-xdb-file-name, gud-xdb-find-file, gud-perldb-find-file) (gud-pdb-find-file, gud-jdb-find-file): Remove. (gud-query-cmdline): Don't stuff the whole cwd in the command. (gdb, dbx, xdb, perldb, pdb, jdb): Use the default for gud-find-file. (gud-mipsdbx-massage-args): Remove. (gud-dbx-command-name): New var. Do what gud-mipsdbx-massage-args did. (gud-irixdbx-marker-filter): Use match-string and gud-file-name. (gud-jdb-command-name): New var. (gud-common-init): Re-instate RMS code of 11/13. 2002-12-03 Dave Love * international/ucs-tables.el (ucs-unify-8859, ucs-unify-8859) (ucs-fragment-8859): Don't use set-buffer-major-mode-hook. (ucs-set-table-for-input): Use optional arg. Check for null `cs'. 2002-12-03 Andreas Schwab * cus-edit.el (custom-display): Add checkbox for type mac. * whitespace.el (whitespace-highlight-face): Fix face spec. 2002-12-02 Stefan Monnier * simple.el (completion-setup-function): Fix last change to use minibuffer-completing-file-name instead. * add-log.el (change-log-mode): Set indent-line-function explicitly to what it was before indent-line-function's default was changed. 2002-12-02 Richard M. Stallman * textmodes/ispell.el (ispell-dict-map): Move specific dictionary selection into a submenu. * textmodes/fill.el (fill-indent-to-left-margin): New function. (fill-newline, fill-region-as-paragraph): Use that. * simple.el (completion-setup-function): Handle ffap-read-file-or-url-internal specially like read-file-name-internal. 2002-12-02 Simon Marshall * font-lock.el (c++-font-lock-extra-types): Fix previous change. 2002-12-02 François Pinard * progmodes/make-mode.el (makefile-font-lock-keywords): Highlight more make keywords: defined, endef, override, export, unexport and vpath. 2002-12-02 Dave Love * autoarg.el (autoarg-kp-mode): Give it a :group. 2002-12-02 Noah Friedman * complete.el (PC-do-completion): Do not add wildcards to pattern unless filename is non-nil. 2002-12-02 Andreas Schwab * mwheel.el (mouse-wheel-scroll-amount): Fix customize type. * paren.el (show-paren-mismatch-face): Fix face spec. 2002-11-30 Nick Roberts * gdb-ui.el (gdb-many-windows): Define as a minor mode. (toggle-gdb-windows): Remove. (Patch from Stefan Monnier) * tooltip.el (tooltip-gud-process-output): Handle annotations that are output with gdba in gdb-ui.el. (tooltip-strip-annotations): New function. 2002-11-29 Dave Love * autoarg.el (autoarg-mode): Give it a :group. 2002-11-29 Bill Wohler * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el, mail/mh-mime.el, mail/mh-pick.el, mail/mh-seq.el, mail/mh-utils.el, mail/mh-xemacs-compat.el: Upgraded to MH-E version 7.0. * mail/mh-index.el, mail/mh-speed.el: New files for indexed searches and speedbar support in MH-E version 7.0. * toolbar/reply-all.pbm, toolbar/reply-all.xpm, toolbar/reply-from.pbm, toolbar/reply-from.xpm, toolbar/reply-to.pbm, toolbar/reply-to.xpm: New toolbar images for MH-E version 7.0. 2002-11-29 Markus Rost * mwheel.el (mouse-wheel-inhibit-click-time): Fix custom type. 2002-11-29 Richard M. Stallman * mail/rmail.el (rmail-convert-to-babyl-format): Make search for message delimiter case-sensitive. * simple.el (yank-window-start): New variable. (yank): Record yank-window-start. (yank-pop): Use yank-window-start. * info.el (Info-additional-directory-list): Doc fix. * indent.el (indent-according-to-mode, indent-region): Doc fix. * tooltip.el (tooltip-gud-tips-p): Doc fix. * eshell/em-script.el: Require eshell. * eshell/esh-ext.el, eshell/em-cmpl.el: Require esh-util. 2002-11-29 Kim F. Storm * mwheel.el: Avoid accidental yanking of text while scrolling with the mouse wheel. This adds a short period after each mouse wheel scroll event where a click on the mouse wheel button is ignored. (mouse-wheel-click-event, mouse-wheel-inhibit-click-time): New customs. (mouse-wheel-click-button, mwheel-inhibit-click-event-timer): New vars. (mwheel-inhibit-click-timeout,mwheel-filter-click-events): New defuns. (mwheel-scroll): Add mwheel-filter-click-events as pre-command-hook. Start mwheel-inhibit-click-event-timer with timeout handler mwheel-inhibit-click-timeout. 2002-11-28 Nick Roberts * tooltip.el (tooltip-gud-tips-setup): Remove. (tooltip-gud-debugger): Remove. (tooltip-gud-print-command): Use gud-minor mode instead of tooltip-gud-tips-setup and tooltip-gud-debugger. * gdb-ui.el (gdb-starting): Set gdb-running to t. (gdb-stopped): Set gdb-running to nil. (gdb-quit): Reset some variables including tool-bar-map. * gud.el (gdb-running): New variable. (gud-menu-map): Use gdb-running to grey out toolbar buttons with gdba in gdb-ui.el. (gud-tool-bar-map): Move to avoid byte compiler warning. 2002-11-27 Jason Rumney * files.el (file-truename): Canonicalize non-existent names on w32. 2002-11-28 Kim F. Storm * ido.el (ido-xemacs): Remove defvar. All uses changed to check (featurep 'xemacs) instead. (ido-visit-buffer): Use select-frame-set-input-focus unconditionally. 2002-11-27 Dave Love * emacs-lisp/cl-macs.el: Move `predicates for analyzing Lisp forms' block to top (before uses). (help-fns): Don't require at top level. (Recursively.) (cl-transform-lambda): Require help-fns. 2002-11-26 Dave Love * language/european.el (encode-mac-roman): Deal with unencodable characters. * language/cyrillic.el (ccl-encode-koi8, ccl-encode-koi8-u) (ccl-encode-alternativnyj): Deal with unencodable characters. * international/code-pages.el (cp-make-coding-system): Deal with unencodable characters. 2002-11-24 Richard M. Stallman * mail/sendmail.el (mail-signature): Handle case where value of mail-signature is a string. * menu-bar.el (menu-bar-describe-menu): Add "What's This?" item. * faces.el (face-set-after-frame-default): Ignore errors in face-spec-face-set. * cus-face.el (custom-declare-face): Add face-defface-spec prop after applying the face spec. 2002-11-23 Nick Roberts * tooltip.el (tooltip-gud-print-command): Add server prefix to the print command for gdb to keep it out of the command history. * gdb-ui.el: Major re-organization. Simplify legacy gdba code to allow only one gdb process. 2002-11-23 Markus Rost * scroll-all.el (scroll-all-mode): Move arg LIGHTER to the right place. Add groups. 2002-11-22 Simon Marshall * font-lock.el (c++-font-lock-extra-types): Add various STL classes. 2002-11-21 Nick Roberts * gdb-ui.el : General tidying. Patches from Stefan Monnier. 2002-11-20 Simon Josefsson * play/morse.el (morse-code): Add non-ASCII characters, according to table at http://www.soton.ac.uk/~scp93ch/morse/. 2002-11-21 Richard M. Stallman * dired.el (dired-sort-inhibit): New variable. (dired-sort-toggle-or-edit): Err if dired-sort-inhibit non-nil. * find-dired.el (find-dired): Set dired-sort-inhibit to t buffer-locally. 2002-11-21 Eugene Exarevsky * progmodes/sql.el: Added LINTER support. (sql-linter-program): New variable. (sql-linter-options): New variable. (sql-mode-menu): Added Linter keywords. (sql-mode-linter-font-lock-keywords): New variable. (sql-highlight-linter-keywords): New function. (sql-linter): New function. (sql-ms-options): New variable. (sql-ms): Use it. 2002-11-21 John Paul Wallington * ibuffer.el (ibuffer-formats): Change default value; bump width of size column in first format to 7. 2002-11-20 Stefan Monnier * help-fns.el (describe-variable): Look for (defvar . ) in the load-history since `defvar' now uses this format. * custom.el (custom-declare-variable): Use push. Use the (defvar . ) format in load-history like `defvar' does. * subr.el (symbol-file): Accept a non-atomic `function' arg. (with-local-quit): Add debug and indentation info. 2002-11-20 John Paul Wallington * subr.el (symbol-file): Remove unused variable `functions'. 2002-11-20 Markus Rost * Makefile.in (setwins_almost): Renamed from finder_setwins. (custom-deps): Use it. (finder-data): Adjust to that name change. 2002-11-19 Stefan Monnier * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info): Turn errors into messages so they don't get ignored. (eldoc-get-fnsym-args-string): Use help-split-fundoc. (eldoc-beginning-of-sexp): Simplify. (eldoc-function-arglist): Remove. (eldoc-function-argstring): Use help-function-arglist instead. (eldoc-function-argstring-from-docstring-method-table) (eldoc-function-argstring-from-docstring): Remove. * emacs-lisp/cl.el (multiple-value-call): Add docstring. 2002-11-19 Dave Love * emacs-lisp/bytecomp.el (maphash, map-char-table): Use byte-compile-funarg. * emacs-lisp/byte-opt.el (side-effect-free-fns): Several additions. 2002-11-19 Markus Rost * progmodes/vhdl-mode.el (defgroup vhdl-related): Declare the members here rather than with custom-add-to-group. This is the intended way of using defgroup and also lets custom-make-dependencies do its job. (defgroup vhdl-highlight-faces): Ditto. * emacs-lisp/shadow.el (defgroup lisp-shadow): New group name. Previous group name shadow is used in shadowfile.el. (shadows-compare-text-p): Use group lisp-shadow. 2002-11-19 Stefan Monnier * emacs-lisp/cl.el (multiple-value-call): Add docstring. 2002-11-19 Masatake Yamato (tiny change) * register.el (describe-register-1): Don't assign to val the value returned by `remove-list-of-text-properties'. 2002-11-18 Kai Großjohann * calendar/diary-lib.el (fancy-diary-font-lock-keywords): Grok month numbers, too. 2002-11-18 Juanma Barranquero * mail/smtpmail.el (smtpmail-send-queued-mail): Add autoload cookie. 2002-11-18 Markus Rost * pcvs.el (cvs-minor-mode, cvs-mode-commit-hook): Add group. * textmodes/refill.el (defgroup refill): New group. * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Add group. * textmodes/sgml-mode.el (html-autoview-mode): Add group. * textmodes/paragraphs.el (use-hard-newlines): Add group. * progmodes/compile.el (compilation-shell-minor-mode): Add group. (compilation-minor-mode): Add group. * reveal.el (global-reveal-mode): Add group. * bookmark.el (bookmark-menu-length): Fix group name. 2002-11-17 Richard M. Stallman * mail/rmail.el (rmail-ignored-headers): Add more headers. * calendar/parse-time.el (parse-time-elt): Var renamed from `elt'. (parse-time-val): Var renamed from `val'. All uses changed. * files.el (parse-time-rules): Mark it as risky. * finder.el (finder-commentary): Use buffer *Finder-package*. * menu-bar.el (menu-bar-options-menu): Improve tooltip string. * simple.el (indicate-unused-lines) (default-indicate-unused-lines): New variable aliases. 2002-11-18 Kenichi Handa * progmodes/cc-vars.el: Undo previous change. 2002-11-18 Kenichi Handa * language/cyrillic.el (cyrillic-iso-8bit): Make it safe. * language/european.el (iso-latin-1): Make it safe. (iso-latin-2, iso-latin-3, iso-latin-4, iso-latin-5, iso-latin-8) (iso-latin-9): Likewise. * language/greek.el (greek-iso-8bit): Make it safe. * language/hebrew.el (hebrew-iso-8bit): Make it safe. * language/lao.el (lao): Make it safe. * language/thai.el (thai-tis620): Make it safe. 2002-11-17 Markus Rost * speedbar.el (defgroup speedbar): Use group 'etags instead of nonexisting group 'tags. * emacs-lisp/re-builder.el: Add provide call. * mail/feedmail.el (feedmail-fiddle-headers-upwardly) (feedmail-fiddle-plex-user-list): Fix typo in group name. * progmodes/make-mode.el (makefile-space-face): Fix group name. * textmodes/ispell.el (defgroup ispell): Arrange that definition starts at beginning of line. * textmodes/table.el (defgroup table-hooks): New group. (table-cell-map-hook): Fix typo in group name. * calendar/diary-lib.el (diary-button-face): Add group and version number. * warnings.el (defgroup warnings): New group. 2002-11-16 Markus Rost * emacs-lisp/autoload.el (update-autoloads-from-directories): Sort the list of files with no autoloads. 2002-11-16 Alan Shutko * calendar/diary-lib.el (list-diary-entries): Pass a marker indicating source of entry to add-to-diary-list. (diary-button-face, diary-entry, diary-goto-entry): New, to support click to diary file. (fancy-diary-display): Buttonize diary entries. Use new mode fancy-diary-display-mode. (list-sexp-diary-entries): Pass a marker indicating source of entry to add-to-diary-list. (diary-date): Return mark as well as entry. (add-to-diary-list): Add new marker argument, appended to diary-entries-list. (diary-mode, fancy-diary-display-mode): New derived modes, for diary file and fancy diary buffer respectively. (fancy-diary-font-lock-keywords, diary-font-lock-keywords): New variables. (font-lock-diary-sexps, font-lock-diary-date-forms): New functions, used in diary-font-lock-keywords. * calendar/calendar.el (diary-face): New. (european-calendar-display-form, describe-calendar-mode) (mark-visible-calendar-date, calendar-mark-today): Tidy doc string. (calendar-mode): Set up font-lock mode, using new variable calendar-font-lock-keywords. (generate-calendar-window): Fontify if font-lock-mode is on. (calendar-font-lock-keywords): New variable. 2002-11-16 Ivan Zakharyaschev (tiny change) * international/codepage.el (cp866-decode-table): Fix the translation table. 2002-11-16 Martin Stjernholm * progmodes/cc-bytecomp.el (cc-bytecomp-defun): Fixed bug that caused existing function definitions to be overridden by phonies when the bytecomp environment is restored. 2002-11-15 Nick Roberts * toolbar/gud-break.pbm, toolbar/gud-cont.pbm, toolbar/gud-display.pbm, toolbar/gud-down.pbm, toolbar/gud-finish.pbm, toolbar/gud-goto.pbm, toolbar/gud-next.pbm, toolbar/gud-print.pbm, toolbar/gud-remove.pbm, toolbar/gud-run.pbm, toolbar/gud-step.pbm, toolbar/gud-up.pbm: Icons for debugger (pbm files). 2002-11-15 Richard M. Stallman * international/mule.el (set-buffer-file-coding-system): Redo prev chg. 2002-11-15 John Paul Wallington * ibuffer.el (ibuffer-use-other-window, ibuffer-use-header-line) (ibuffer-visit-buffer, ibuffer-redisplay, ibuffer-update): Doc fix. (ibuffer-mode-hooks): Remove spurious defvar. (ibuffer): Run `ibuffer-hook' instead of `ibuffer-hooks'. (ibuffer-mode): Run `ibuffer-mode-hook' instead of `ibuffer-mode-hooks'. 2002-11-15 Markus Rost * mail/rmailedit.el: Add provide call. * play/bruce.el: Add provide call. * emacs-lisp/gulp.el: Add provide call. 2002-11-14 Richard M. Stallman * international/mule.el (set-buffer-file-coding-system): Undo prv chg. 2002-11-14 Markus Rost * custom.el (custom-declare-group): Remove unnecessary line of code. * cus-dep.el (custom-make-dependencies): Bind load-file-name. 2002-11-14 Edward M. Reingold * calendar/diary-lib.el (make-diary-entry): Allow for local variables at end of diary file. 2002-11-14 Kim F. Storm * files.el (mode-name): Mark it as risky-local-variable like the other mode-line elements (moved from bindings.el). * bindings.el (mode-name): Moved mark as risky-local-variable to files.el. 2002-11-14 Juanma Barranquero * gud.el: Fix feature name in `provide'. * gdb-ui.el: Fix feature name in `require'. 2002-11-14 Per Cederqvist (tiny change) * progmodes/etags.el (find-tag-default): Copy text at point without properties. 2002-11-14 Kenichi Handa * progmodes/cc-vars.el: Don't cc-bytecomp-defun char-table-p. 2002-11-14 Kim F. Storm * textmodes/fill.el (fill-nobreak-invisible): New var. (fill-nobreak-p): Test it; return t if set and point invisible. (fill-newline): Test it; remove invisible prop on newline if set. * info.el (Info-fontify-node): New local list paragraph-markers. Record markers for mangled *note references on that list. When done, go back through those markers and fill each mangled paragraph with `fill-nobreak-invisible' let-bound to t. Don't use `display' property; insert "see" directly in buffer. 2002-11-14 Nick Roberts * gdb-ui.el: New file, User Interface for running GDB * gud.el:(gud-find-file): Set up GDB tool bar. (gud-menu-map): New commands: run, goto. Enable some commands for gdba. (gud-query-cmdline): Pass default directory to gdba. (gdb): Define gud-goto and gud-run. (gud-gdb-complete-command): Maybe use gdba-complete-filter. (gud-mode): Set up local tool bar. (gud-display-line): For gdba, call gdb-display-source-buffer. (gud-basic-call): For gdba, maybe delete the current prompt. (gud-tool-bar-map): New variable. (gud-read-address): Correction. * toolbar/gud-break.xpm, toolbar/gud-cont.xpm, toolbar/gud-display.xpm, toolbar/gud-down.xpm, toolbar/gud-finish.xpm, toolbar/gud-goto.xpm, toolbar/gud-next.xpm, toolbar/gud-print.xpm, toolbar/gud-remove.xpm, toolbar/gud-run.xpm, toolbar/gud-step.xpm, toolbar/gud-up.xpm: Icons for debugger. 2002-11-13 Stefan Monnier * pcvs.el (cvs-mode-run): Don't pass "." if not needed. 2002-11-13 Andre Spiegel * vc-rcs.el (vc-rcs-registered): Improve comment. * vc-sccs.el (vc-sccs-registered): Improve comment. 2002-11-13 Tim Van Holder (tiny change) * progmodes/compile.el (compilation-error-regexp-alist): Don't include colon and space after a file name as part of the name. 2002-11-13 Richard M. Stallman * gud.el (gdb): Undo 10-26 change. 2002-11-13 Kenichi Handa * replace.el (occur-engine): Set buffer-file-coding-system of OUT-BUF to that of one of BUFFERS if they locally bind that variable. 2002-11-13 Markus Rost * custom.el (custom-handle-all-keywords): Fix arg passed to custom-add-to-group. 2002-11-12 Stefan Monnier * pcvs-defs.el (cvs-mode-map): Remove M-f binding. (cvs-minor-mode-map): Add e binding in log-view-mode. * progmodes/perl-mode.el (perl-hanging-paren-p): New fun. (perl-indent-line): Look at the open-paren to indent a close-paren. (perl-calculate-indent): Try to better indent args after hanging paren. Remove special code for open-paren-in-column-0. * textmodes/sgml-mode.el (sgml-namify-char): New cmd. (sgml-name-char): Use it. (sgml-tag-last, sgml-tag-history): New vars. (sgml-tag): Use them. (sgml-skip-tag-forward): Use sgml-tag-syntax-table. (sgml-delete-tag): Remove resulting empty lines. (sgml-tag) : Don't make intangible. (sgml-parse-tag-backward): Add limit argument. (html-autoview-mode): Use define-minor-mode. 2002-11-12 Markus Rost * vc-rcs.el (vc-rcs-registered): Handle the autoload cookie so that the definition is found by `find-function-search-for-symbol' and etags. * vc-sccs.el (vc-sccs-registered): Ditto. * emulation/edt.el (defgroup edt): Arrange that definition starts at beginning of line. * ls-lisp.el (defgroup ls-lisp): Remove autoload cookie. * hi-lock.el (defgroup hi-lock-interactive-text-highlighting): Remove autoload cookie. * newcomment.el (defgroup comment): Remove autoload cookie. 2002-11-11 Markus Rost * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button): Declare with defvar, not with defcustom. * cus-dep.el: Don't require 'autoload. (custom-make-dependencies): Handle :version also for autoloaded options. * winner.el (defgroup winner): Arrange that definition starts at beginning of line. * emulation/edt.el: Simplify Emacs 19 compatibility. 2002-11-11 Fabrice Bauzac (tiny change) * dired-aux.el (dired-show-file-type): Format filename with "%s" to escape any format-like sequences it could contain. 2002-11-11 Per Abrahamsen * cus-edit.el (custom-save-delete): Force emacs-lisp-mode. 2002-11-11 Juanma Barranquero * bindings.el (mode-name): Mark it as risky-local-variable. 2002-11-09 Dave Love * international/mule-cmds.el (current-language-environment): Fix :type. * international/ucs-tables.el: Revert to using translation-table-for-input instead of keyboard-translate-table. * international/quail.el (quail-input-string-to-events): Revert last change. * simple.el (quoted-insert): Bind translation-table-for-input, not keyboard-translate-table. 2002-11-08 Stefan Monnier * arc-mode.el (archive-zip-summarize): Don't hardcode (point-min) = 1. * complete.el (PC-do-completion): Make partial-completion work with incomplete directory names. * textmodes/tex-mode.el (latex-standard-block-names): Rename from standard-latex-block-names. (tex-font-lock-keywords-1): Add providecommand, renewenvironment, and renewtheorem. Highlight \it and \bf separately since they may overlap. (tex-font-lock-suscript, tex-font-lock-unfontify-region): New funs. (tex-font-lock-keywords-3, tex-verbatim-environments) (tex-font-lock-syntactic-keywords): New vars. (superscript, subscript, tex-verbatim-face): New faces. (tex-font-lock-syntactic-face-function): Handle \verb construct. (tex-common-initialization): Update font-lock-defaults setting. (tex-insert-braces): Make it into a skeleton. (latex-fill-nobreak-predicate): Don't break after \. (latex-insert-block): Rename from tex-latex-block. (latex-down-list): Use tex-mode-syntax-table when skipping parens rather than the indentation syntax-table. (latex-close-block): Rename from tex-close-latex-block. (latex-split-block): New fun. (latex-indent): Don't indent inside a verbatim block. (latex-find-indent): Stick \begin{verbatim} to the margin. 2002-11-08 John Wiegley * calendar/timeclock.el (timeclock-modeline-display): Use assq as well as memq to find `global-mode-string' within `mode-line-format'. The structure of that variable has changed in 21.3. 2002-11-07 Stefan Monnier * format.el (format-decode): Be careful with the order in `format'. * eshell/esh-cmd.el (function-p-func): Avoid `xemacs-p'. * eshell/em-glob.el: Require esh-util. (eshell-glob-initialize): Don't assume eshell-special-chars-outside-quoting is available. * textmodes/fill.el (fill-paragraph): Consider a comment-start as a paragraph starter when filling non-comments. (fill-comment-paragraph): Don't narrow while doing the fill. Recognize paragraph starters and separators within comments. Use adaptive-fill-prefix when it works. Use comment-search-forward. * progmodes/compile.el (grep-default-command): New fun. (grep): Use it. (compilation-menu-map): New var. (compilation-minor-mode-map, compilation-shell-minor-mode-map): Use it. (compilation-mode-map): Simplify. (compilation-shell-minor-mode, compilation-minor-mode): Use define-minor-mode. * elide-head.el (elide-head): Don't make intangible. * help.el (where-is): Rename map to defs (a list of syms is not a map). Test fboundp first, to speed things up. Use push. * isearch.el (isearch-hidden): New var. (isearch-search-and-update): Test it. (isearch-range-invisible): Set it. * progmodes/tcl.el (tcl-mode): Don't set paragraph-start, paragraph-separate, comment-column, and fill-paragraph-function. Simplify outline-regexp. (tcl-do-fill-paragraph): Remove. 2002-11-07 Markus Rost * mail/sendmail.el (mail-default-directory): Set the version to 21.4. * progmodes/compile.el (grep-compute-defaults): Undo previous change. Definition moved down. (grep-command, grep-find-command, grep-tree-command): Allow value nil. Do not declare :get property. (grep-use-null-device): Fix type. Do not declare :get property. * emacs-lisp/checkdoc.el (checkdoc-find-error): Use get-file-buffer instead of get-buffer. * cus-dep.el (custom-make-dependencies): Fix comment inserted in cus-load.el. 2002-11-07 Juanma Barranquero * help.el (where-is): Report also aliases of the passed command. 2002-11-06 Dave Love * simple.el (quoted-insert): Bind keyboard-translate-table around read-char. * international/ucs-tables.el: Use keyboard-translate-table coding system property, not translation-table-for-input, for vietnamese-viscii & al. (translation-table-for-input): Set, don't defvar, and make permanent-local. (ucs-unify-8859, ucs-unify-8859, ucs-fragment-8859): Add/remove set-buffer-major-mode-hook, not quail-activate-hook. (ucs-set-table-for-input): Renamed from ucs-quail-activate. (ucs-unify-8859, ucs-unify-8859, ucs-fragment-8859): Setup keyboard-translate-table, not translation-table-for-input. Modify set-buffer-major-mode-hook, not quail-activate-hook. (ucs-fragment-8859): Don't use translation-table-for-input coding system property. (ucs-quail-activate): Deleted. (ucs-set-table-for-input): New. (ucs-minibuffer-setup): Use it. * international/quail.el (quail-input-string-to-events): Use keyboard-translate-table, not translation-table-for-input. * files.el (normal-mode): Call ucs-set-table-for-input. * international/mule.el (set-buffer-file-coding-system): Call ucs-set-table-for-input. 2002-11-06 Richard M. Stallman * replace.el (query-replace, query-replace-regexp): Doc fixes. * emacs-lisp/bytecomp.el (byte-compile-lambda): Handle progn like let, inside interactive spec. * textmodes/tex-mode.el (tex-dvi-view-command): Value can be sexp. Initialize to a suitable sexp. (tex-view): Evaluate tex-dvi-view-command and use the value. 2002-11-06 Kenichi Handa * international/mule.el (coding-system-eol-type-mnemonic): Use eol-mnemonic-undecided if CODING-SYSTEM is nil. 2002-11-06 Kim F. Storm * info.el (Info-fontify-node): Fixed hiding of *note references with embedded file names like (xxx.yyy). Avoid making any lines visibly longer if hiding newlines inside note references by wrapping line after references if it contained a newline (unfortunately this makes more lines appear "shorter"). Properly reindent multi-line menu entry descriptions. 2002-11-05 Juanma Barranquero * language/cyrillic.el ("Bulgarian"): Fix typo. * international/mule.el (coding-system-eol-type-mnemonic): Move from mule-util.el. * international/mule-util.el (coding-system-eol-type-mnemonic): Move to mule.el. 2002-11-04 Juanma Barranquero * files.el (find-buffer-visiting): Accept new optional PREDICATE argument to return only a buffer that satisfies the predicate. (insert-file-1): New function. (insert-file-literally): Use it. (insert-file): Use it. 2002-11-04 Robert Fenk (tiny change) * desktop.el (desktop-relative-file-names): New variable. (desktop-save): Use it. 2002-11-03 Andre Spiegel * vc.el (vc-dired-mode): Adapt dired-move-to-filename-regexp to its current version in dired.el. 2002-11-03 Stefan Monnier * emacs-lisp/autoload.el (generate-file-autoloads) (update-file-autoloads): Strip .gz and other such extensions. (update-autoloads-from-directories): Also consider compressed files. * info.el (Info-streamline-headings): New var. (Info-dir-remove-duplicates): New fun. (Info-insert-dir): Use it. Simplify the code with push,mapc,dolist. (Info-select-node): Simplify handling of Info-header-line. (Info-forward-node): Undo 2000/12/15 since we don't narrow any more. (Info-mode): Set header-line-format once and for all. (Info-fontify-node): Accept bogus first line with `File:' missing. Only make first line invisible if Info-use-header-line. Don't use `intangible': it's evil. Use inhibit-read-only. (Info-follow-reference, Info-next-reference, Info-prev-reference) (Info-try-follow-nearest-node): Don't bind inhibit-point-motion-hooks since we don't use intangible any more. * image.el (insert-image): Don't make intangible since adjust_point_for_property should be sufficient by default. 2002-11-02 Stefan Monnier * textmodes/fill.el (fill-paragraph-handle-comment): New var. (fill-comment-paragraph): New fun (generalizes of lisp-fill-paragraph). (fill-paragraph): Use them. * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Use fill-comment-paragraph. 2002-11-02 Stefan Monnier * bindings.el (mode-line-change-eol) (mode-line-eol-desc-cache, mode-line-eol-desc): New. (mode-line-mule-info): Use them for the EOL part of the modeline. * server.el (server-sentinel): Kill buffers if applicable. (server-temp-file-p): Make arg optional. (server-done): Use it to simplify. (server-switch-buffer): If server-window is a function, use it. * mail/undigest.el (rmail-digest-end-regexps): Simplify. (undigestify-rmail-message): Fix paren-bug and simplify. 2002-11-02 Kim F. Storm * info.el (Info-hide-note-references): nil value now does no reformatting at all. New choice 'tag reformats tag but shows the section reference. (Info-fontify-node): Use it. 2002-11-01 Stefan Monnier * textmodes/tex-mode.el (tex-common-initialization): comment-start-skip shouldn't match on the next line. * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Use match-string. Don't bother making paragraph-start a superset of paragraph-separate. Use line-beginning-position. * textmodes/sgml-mode.el (sgml-skip-tag-backward) (sgml-skip-tag-forward): Deal with xml-style empty tags. 2002-11-01 Kim F. Storm * info.el (Info-hide-note-references): New defcustom. (Info-fontify-node): Use it. 2002-10-31 Kim F. Storm * shell.el (explicit-bash-args): Bash 1.x doesn't grok --noediting option; added run-time check to exclude it. * info.el (Info-follow-reference, Info-next-reference) (Info-prev-reference, Info-try-follow-nearest-node): Bind inhibit-point-motion-hooks to t while parsing reference. (Info-fontify-node): When font-lock-mode is enabled, display "*note" and "* menu" references in a more user friendly format. 2002-10-30 Stefan Monnier * textmodes/fill.el (fill-move-to-break-point): Skip white space _before_ checking to see if we're hitting the margin. (fill-region-as-paragraph): Don't fiddle with the undo-list any more: it's now done by the C primitives. Don't use narrowing. Reorganize the line-breaking part of the code to simplify the control flow and make it work in the absence of narrowing. (fill-region): Don't use narrowing. 2002-10-30 Dave Love * textmodes/po.el (po-content-type-charset-alist): Delete most entries. (po-find-charset): Doc fix. Remove interactive spec. (po): Provide. (po-find-file-coding-system-guts): Re-written to use coding-system-alist, and code-pages, not codepage stuff. * term/x-win.el: Remove some ancient compatibility code. Populate x-keysym-table. 2002-10-30 Andreas Schwab * subr.el (replace-regexp-in-string): Doc fix. 2002-10-29 Dave Love * cus-start.el (selection-coding-system, scalable-fonts-allowed): Add. * progmodes/scheme.el (syntax-case): Define scheme-indent-function. * international/mule-conf.el: Doc fixes. 2002-10-29 Richard M. Stallman * server.el (server-switch-buffer): Say when no server buffers remain. * net/goto-addr.el (goto-address-url-regexp): Don't match `mailto'. 2002-10-28 Masayuki Ataka (tiny change) * progmodes/make-mode.el (makefile-warn-continuations): Call re-search-forward with NOERROR t. 2002-10-29 Kim F. Storm * ido.el (ido-wide-find-dirs-or-files): Fixed problem that caused incomplete list of matches to be returned. 2002-10-29 Masayuki Ataka (tiny change) * textmodes/texinfo.el (texinfo-environments): Add environment; copying, documentdescription, ifplaintext, ifnotplaintext, and verbatim. * textmodes/texinfmt.el (texinfo-format-ifplaintext): New function. (ifplaintext, ifnotplaintext) (afourpaper, afivepaper, afourlatex, afourwide) (documentlanguage, documentencoding): New aliases. 2002-10-29 John Paul Wallington * ibuffer.el (ibuffer-mouse-popup-menu): Set point before popping up filter groups menu. Preserve point unless a menu command has moved it from point clicked. 2002-10-29 David Kastrup * calc/calc.el (calc-any-evaltos): Initialize to nil, since calc-refresh-evaltos appears to need this. 2002-10-28 Dave Love * international/mule-diag.el (non-iso-charset-alist): Move to avoid compilation warning. (mule-diag): Provide. * international/code-pages.el (cp-make-coding-system): Use utf-translation-table-for-decode, not utf-8-translation-table-for-decode. (mule-diag): Require. * language/thai-util.el (thai-composition-function): Don't use prog1. * language/lao-util.el (lao-composition-function): Don't use prog1. * language/european.el (diacritic-composition-function): Modify confused prog1 form. * international/quail.el (quail-keyboard-layout-alist): Fix pc105-uk. (quail-keyboard-layout): Customize. Move after quail-keyboard-layout-alist. 2002-10-28 Miles Bader * progmodes/make-mode.el (makefile-warn-continuations): Don't barf when there _aren't_ any suspicious continuations. 2002-10-28 Matthew Swift * progmodes/compile.el (grep-find-use-xargs): Fix docstring. 2002-10-27 Michael Kifer * ediff-wind.el (ediff-control-frame-parameters): Add scrollbar-height. 2002-10-27 Andreas Schwab * progmodes/sh-script.el (sh-mode-syntax-table): Don't make ^L end-of-comment syntax. 2002-10-27 Kim F. Storm * ido.el (ido-cannot-complete-command): New defcustom, default to ido-completion-help (similar to iswitchb-cannot-complete-hook). (ido-complete): Call value of ido-cannot-complete-command rather than ido-completion-help when no common completion. 2002-10-27 Dave Love * international/code-pages.el (iso-8859-11): New. 2002-10-27 Kim F. Storm * pcvs.el (cvs-checkout): Use read-directory-name. (cvs-query-directory): Likewise. 2002-10-26 Richard M. Stallman * progmodes/make-mode.el (makefile-cleanup-continuations): Default for variable is nil. (makefile-warn-continuations): New function. (makefile-mode): Put it on write-file-functions. * international/mule-cmds.el (select-safe-coding-system): Delete debugging setq. * shell.el (shell): Look for .emacs_SHELL under ~/.emacs.d after looking in ~. * startup.el (command-line): Look for .emacs under ~/.emacs.d after looking in ~. * simple.el (toggle-truncate-lines): When turning off truncation, clear out the hscroll value in this buffer's windows. * simple.el (display-message-or-buffer): Don't display empty output in the echo area. * man.el (Man-default-man-entry): Don't look for all word chars, look only for characters that are normally part of a shell command. * gud.el (gdb): Pass default-directory to GDB via -cd option. * font-lock.el (c++-font-lock-keywords...): Add `restrict' keyword. * find-file.el (ff-find-related-file): Fix autoload cookie. * emacs-lisp/unsafep.el (unsafep-variable): Pass second arg to risky-local-variable-p. * files.el (risky-local-variable-p): VAL=nil has special meaning. * Makefile.in (compile-always): Avoid error in old Bash versions. 2002-10-26 John Paul Wallington * textmodes/picture.el (picture-mouse-set-point): New command. (picture-mode-map): Bind it. (picture-motion-reverse): Doc fix. 2002-10-25 Stefan Monnier * textmodes/outline.el (outline-next-heading): Make sure the match-data is really correct where returning. 2002-10-24 Matthew Swift * textmodes/outline.el (outline-minor-mode): Add customization group. 2002-10-23 Richard M. Stallman * files.el (risky-local-variable-p): New arg VAL. (compile-command): Use `stringp' for `safe-local-variable' prop. (hack-one-local-variable): Pass VAL to `risky-local-variable-p'. 2002-10-23 Francis J. Wright * woman.el (woman-version): Update to 0.551 (beta). (woman-parse-colon-path): Add support for current Cygwin mount conventions. (woman-Cyg-to-Win): New function to convert absolute filename from Cygwin to Windows form by executing external program cygpath if possible. (woman-man.conf-path): Update default to current common locations and to support Cygwin; update documentation. (woman-parse-man.conf): Generalize regexp to "man.*\\.conf" to match possible names of man.conf file; tidy code and documentation. (woman-manpath): Simplify default and documentation; essentially move code that was here into `woman-parse-colon-path'. (woman-default-indent): Change Linux to GNU in documentation. (woman-addition-face): Make documentation consistent with other WoMan faces. (woman-emulate-tbl): New variable, determines whether tbl emulation is required. (woman-decode-region): Add check for preprocessor requests. (woman0-process-escapes, woman-special-characters) (woman-get-next-char, woman-parse-numeric-value): Add support for long groff names of the form [xxx]. (woman-strings, woman-change-fonts): Now call `woman-match-name'. (woman2-PD, woman2-na): Doc fix. (woman-match-name): New function. (woman2-TS): New function. (woman2-TE): New alias for `woman2-fi'. 2002-10-23 Kim F. Storm * ido.el (ido-restrict-to-matches): New command. (ido-define-mode-map): Bind it to C-SPC and C-@ in ido-mode-map. 2002-10-22 Bob Halley (tiny change) * eshell/esh-io.el (eshell-set-output-handle): Fix so that multiple redirection can work. 2002-10-21 Stefan Monnier * ielm.el (inferior-emacs-lisp-mode): If hexl not found, use cat. Don't hardcode point-min == 1. * hexl.el (hexl-mode-old-write-contents-hooks): Remove. (hexl-mode, hexl-current-address, hexl-address-to-marker) (hexl-insert-char): Don't hardcode point-min == 1. (hexl-isearch-search-function): New fun. (hexl-mode-old-isearch-search-fun-function): New var. (hexl-mode): Use them. (hexl-mode, hexl-mode-exit, hexl-maybe-dehexlify-buffer): Use write-contents-functions rather then write-contents-hooks. * textmodes/text-mode.el (text-mode-syntax-table): Make ' a prefix. (paragraph-indent-text-mode-abbrev-table) (paragraph-indent-text-mode-syntax-table): Remove. (paragraph-indent-text-mode): Use the :abbrev and :syntax-table args. 2002-10-21 Juanma Barranquero * eshell/esh-util.el (directory-files-and-attributes): Copy docstring from Emacs 21. Arg DIR renamed to DIRECTORY for consistency. 2002-10-20 Andreas Schwab * apropos.el (apropos-group): Use customize-group-other-window. 2002-10-18 Stefan Monnier * progmodes/perl-mode.el (perl-mode-syntax-table): Change $ back to just "/" instead of "/ p". (perl-font-lock-syntactic-keywords): Use ". p" for the `$'. 2002-10-18 Juanma Barranquero * textmodes/artist.el (artist-ff-is-bottommost-line): Fix misplaced ELSE expression on IF. 2002-10-17 Juanma Barranquero * align.el (align-rules-list, align-exclude-rules-list): Fix typos. * subr.el (remq): Likewise. * vc-cvs.el (vc-cvs-sticky-tag-display): Likewise. * vc-hooks.el (vc-insert-file): Likewise. * vcursor.el (vcursor-other-window): Likewise. * wid-edit.el (widget-choose): Likewise. * calendar/diary-lib.el (diary-name-pattern): Likewise. * emacs-lisp/elint.el (elint-error, elint-warning): Likewise. * emacs-lisp/lisp.el (beginning-of-defun): Likewise. * emulation/edt-mapper.el (top-level): Likewise. * eshell/esh-var.el (eshell/define): Likewise. * mail/feedmail.el (feedmail-nuke-body-in-fcc) (feedmail-queue-draft-directory): Likewise. * net/netrc.el (netrc-parse): Likewise. * obsolete/cplus-md.el (c++-empty-arglist-indent): Likewise. * progmodes/ebrowse.el (ebrowse-ts) (ebrowse-view/find-file-and-search-pattern) (ebrowse-draw-file-member-info): Likewise. * progmodes/idlwave.el (idlwave-region-active-p): Likewise. * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise. * progmodes/sh-script.el (sh-indent-for-then): Likewise. * textmodes/bibtex.el (bibtex-find-entry-location): Likewise. * textmodes/sgml-mode.el (sgml-close-tag, html-imenu-index): Likewise. 2002-10-17 Dave Love * international/mule-diag.el (non-iso-charset-alist): Add koi8-u. * international/code-pages.el (cp-make-translation-table): Use ucs-mule-to-mule-unicode. (cp-fix-safe-chars): Fix typo. (non-iso-charset-alist): Don't define. (cp-make-coding-system): Use utf-8-translation-table-for-decode. Define translation-table-for-input. (cp866): Reinstate. (alternativnj): Don't define alias. (koi8-u): Deleted. * language/european.el ("Slovenian"): Use slovenian input-method. (encode-mac-roman): Use ucs-mule-to-mule-unicode. * language/cyrillic.el (cyrillic-alternativnyj-decode-table): Fix the table. (cyrillic-alternativnyj): Don't give it `mime-charset' property. (cp866): Delete this alias. ("Bulgarian"): Fix the value of `input-method'. 2002-10-16 Luc Teirlinck * dired-aux.el (dired-add-entry): Put point in correct position before inserting marker char. 2002-10-16 Andreas Schwab * dired.el (dired-readin-insert): Expand dired-directory. * dired-aux.el (dired-insert-subdir-doinsert): Preserve point. 2002-10-16 Markus Rost * textmodes/reftex-vars.el: Move reftex-set-dirty here from reftex.el. Move the provide call to end of file. * textmodes/reftex.el: Move reftex-set-dirty to reftex-vars.el. 2002-10-15 Dave Love * man.el (Man-getpage-in-background): Set width in environment. 2002-10-15 Kenichi Handa * mail/sendmail.el (sendmail-send-it): Call select-message-coding-system before changing the current buffer to " sendmail temp". 2002-10-14 Andre Spiegel * files.el (insert-directory): Handle //SUBDIRED// lines in recursive listings from ls --dired. * vc.el (vc-dired-reformat-line): Simplified. Handles text properties correctly now. 2002-10-14 Juanma Barranquero * international/mule.el (set-selection-coding-system): Fix spacing. 2002-10-13 Richard M. Stallman * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Treat `ignore' specially--prevent warnings about functions called for effect, in its args. Don't warn when `pop' is used for effect. * emacs-lisp/autoload.el (autoload-print-form): Cleanup. * uniquify.el (uniquify-get-proposed-name): Don't use directory-sep-char. * thingatpt.el (read-from-whole-string): Add call to `ignore'. * find-file.el (ff-related-file-alist): New alias. (ff-find-related-file): New alias. 2002-10-13 Andreas Schwab * dired.el (dired-insert-directory): When looking for existing indentation, goto OPOINT instead of beginning of buffer. 2002-10-12 Stefan Monnier * cus-dep.el (custom-make-dependencies): Ignore preloaded files. 2002-10-12 Michael Kifer * ediff-init.el (ediff-frame-char-height): Use frame-selected-window. * ediff-util.el (ediff-file-checked-in-p): Changed progn with and. * ediff-wind.el (ediff-skip-unsuitable-frames): Distinguish selected frame from frame of selected window. (ediff-frame-has-dedicated-windows): Don't select any frames to avoid changing selected windows. (ediff-setup-control-frame): Make sure auto-raise is properly set for the control frame. 2002-10-10 Simon Josefsson * browse-url.el (browse-url-mozilla): Doc fix. 2002-10-10 Steve Youngs * browse-url.el (browse-url-mozilla-new-window-is-tab): New. (browse-url-mozilla): Use it. 2002-10-11 Miles Bader * vc-cvs.el (vc-cvs-parse-entry): Don't barf when an `Entries' files contains an invalid timestamp. 2002-10-11 Simon Josefsson * mail/sendmail.el (mail-envelope-from): New option `header' to use RFC 2822 From: header as the envelope address. (mail-envelope-from): New function, this should be used instead of looking at the `mail-envelope-from' variable. (sendmail-send-it): Use it. * mail/smtpmail.el (smtpmail-via-smtp): Use it. 2002-10-11 Andre Spiegel * dired.el (dired-insert-directory): Fix check for indentation from ls --dired. * vc.el (vc-dired-reformat-line): As a temporary fix, remove all text properties from the reformatted line. 2002-10-10 Stefan Monnier * textmodes/paragraphs.el (forward-paragraph): Keep track of remaining paragraphs to skip more carefully. * add-log.el (add-change-log-entry): Don't call find-file at all if we're already in the proper buffer. (change-log-resolve-conflict): New fun. (change-log-mode): Use it and use define-derived-mode. (change-log-merge): Allow other-log to be a buffer. Don't add a \n if there are already enough \n's. * finder-inf.el, subdirs.el, cus-load.el: Remove. * finder.el ("finder-inf"): Don't fail if the file is absent. * cus-dep.el (custom-make-dependencies): Don't use find-file. Use feature names rather than file names if applicable. * cus-edit.el (customize-mode): New command. * custom.el (custom-group-of-mode): New fun. (custom-load-symbol): Don't use preloaded-file-list now that load-history is always complete. Don't look up the expanded file name in load-history (looked like an XEmacsism). * smerge-mode.el (smerge-ediff): Autoload. (smerge-match-conflict): Don't assume as much about smerge-begin-re. (smerge-resolve-function): New var. (smerge-resolve): New command. (smerge-basic-map): Bind it. 2002-10-10 Andre Spiegel * vc-cvs.el (vc-cvs-parse-entry): Parse the time stamp found in CVS/Entries, rather than comparing it textually. 2002-10-10 Markus Rost * international/encoded-kb.el: Add `provide' call. 2002-10-09 David Kastrup * calc/calc-alg.el (calcFunc-ln): In symbolic manipulations, ln(-1) should be i*pi, not pi. 2002-10-09 Markus Rost * vc-cvs.el (vc-cvs-registered): In the autoload version use load instead of require to avoid loops when loaddefs.el is loaded after vc-cvs.el. * cus-edit.el (Custom-reset-current): Don't test for default-boundp. (Custom-reset-saved): Don't test for saved-value. 2002-10-08 Stefan Monnier * vc.el (vc-find-version): Use the new backend op `find-version'. (vc-default-find-version): Provide the new backend op `find-version' in terms of the old `checkout' op. * vc-rcs.el (vc-rcs-find-version): New fun. (vc-rcs-checkout): Remove `workfile' arg and simplify. * vc-sccs.el (vc-sccs-find-version): New fun. (vc-sccs-checkout): Remove `workfile' arg and simplify. * vc-cvs.el (vc-cvs-find-version): New fun. 2002-10-08 John Paul Wallington * info.el (Info-next-menu-item, Info-last-menu-item) (info-emacs-manual): Add docstrings. (Info-index): Use `string-to-number' instead of `string-to-int'. 2002-10-08 Kenichi Handa * international/ucs-tables.el (ucs-translation-table-for-decode): Define it as a translation-table. 2002-10-07 Richard M. Stallman * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. * progmodes/compile.el (grep-compute-defaults): Set the standard-value properties of the variables being initialized. * thingatpt.el (thing-at-point-url-path-regexp): Doc fix. 2002-10-07 Kim F. Storm * emulation/cua-base.el (cua-normal-cursor-color): Fixed initialization to make "Erase Customization" work. 2002-10-07 Stefan Monnier * vc.el (vc-maybe-resolve-conflicts): Always call vc-resolve-conflicts in case some other package redefined it. (vc-resolve-conflicts): Make it into an alias for smerge-ediff. * textmodes/fill.el (fill-paragraph): Go to BOL before calling forward-paragraph to make sure its return value is meaningful. 2002-10-06 Kai Großjohann * net/tramp.el: Version 2.0.25 released. (tramp-handle-file-truename): If it's a directory, append slash only if result doesn't end in a slash already. (tramp-handle-file-truename): Restructure logic. If list of steps is nil, return "/" as the real name. (tramp-completion-mode): Add "\\(" and "\\)". Otherwise, `match-string' doesn't make sense. From Michael Albinus. (tramp-host-with-port-regexp): New defcustom. Equal to previous `tramp-host-regexp'. From Michael Albinus. (tramp-host-regexp): Taken off hashes in host names. Otherwise, scanning files like .rhosts would take comments as host names. From Michael Albinus. (tramp-file-name-structure, tramp-multi-file-name-hop-structure): Replace `tramp-host-regexp' by `tramp-host-with-port-regexp'. From Michael Albinus. (tramp-action-terminal): New function. (tramp-terminal-prompt-regexp): New variable, matches "tset" prompts. (tramp-actions-before-shell): Use them. (tramp-handle-shell-command): Logic error. From Ivan Zakharyaschev . 2002-10-06 Markus Holmberg (tiny change) * thingatpt.el (thing-at-point-uri-schemes): New variable. (thing-at-point-url-regexp): Use it. 2002-10-06 Glenn Morris * progmodes/fortran.el (fortran-beginning-do): Ignore labelled DO loops. 2002-10-05 Stefan Monnier * vc.el (vc-log-mode-map): Explicitly inherit from text-mode. (vc-maybe-resolve-conflicts): Don't check smerge-mode and smerge-ediff. (vc-print-log): Don't check log-view-mode. (vc-default-show-log-entry): Don't check log-view-goto-rev. (vc-log-mode): Remove. (vc-log-edit): Don't check log-edit. 2002-10-04 Stefan Monnier * vc-cvs.el (vc-cvs-show-log-entry): * vc-rcs.el (vc-rcs-show-log-entry): Delete. * smerge-mode.el (smerge-ediff): Add name-{mine,other,base} args. 2002-10-04 Markus Rost * vc.el (vc-default-show-log-entry): Fix typo. 2002-10-04 Steven Tamm * term/mac-win.el: Add lines to handle the new [return] event. 2002-10-03 Stefan Monnier * textmodes/fill.el (fill-paragraph): Give up if there's no paragraph at or after point. * textmodes/paragraphs.el (forward-paragraph): Return the steps left. * vc.el (vc-print-log): Unconditionally use `show-log-entry'. (vc-default-show-log-entry): New fun. * subr.el (read-key-auxiliary-map, read-key): Remove. (read-quoted-char): Undo the `read-key' change of 2002-06-23. 2002-10-03 Markus Rost * progmodes/ada-stmt.el (ada-stmt-add-to-ada-menu): Handle the menu pseudo-keys generated by easymenu which are lowercase in Emacs 22.1. * progmodes/ada-xref.el (ada-xref-update-project-menu) (ada-add-ada-menu): Ditto. 2002-10-03 John Paul Wallington * frame.el (delete-frame-hook): Variable alias for `delete-frame-functions'. Mark obsolete. 2002-10-02 Stefan Monnier * textmodes/outline.el (outline-1, outline-2, outline-3, outline-4) (outline-5, outline-6, outline-7, outline-8): New faces. (outline-font-lock-faces, outline-font-lock-levels): New vars. (outline-font-lock-face): New fun. (outline-font-lock-keywords): Use it. (outline-font-lock-level): Remove. (outline-mode, outline-next-preface, outline-next-heading) (outline-previous-heading, outline-next-visible-heading): Use shy group. (outline-level) : Update calling convention. (outline-level) : Take advantage of it. (outline-demote): Don't assume the match-data is still uptodate. (outline-up-heading): Simplify and make sure the match data is properly set at the end. 2002-10-02 Markus Rost * progmodes/sh-script.el (sh-alias-alist): Use append instead of nconc. * startup.el (normal-top-level): Reset standard-value property of `user-full-name' here. 2002-10-02 Per Abrahamsen * wid-edit.el (widget-default-get): Change to return external value. (widget-choice-action): Update caller. (widget-editable-list-entry-create): Update caller. * wid-edit.el (widget-types-copy): New function. (default): Added :copy keyword. (menu-choice): Ditto. (checklist): Ditto. (radio-button-choice): Ditto. (editable-list): Ditto. (group): Ditto. (widget-copy): New function. (widget-create-child): Use it. (widget-create-child-value): Use it. 2002-10-01 Bill Wohler * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el, mail/mh-mime.el, mail/mh-pick.el, mail/mh-seq.el, mail/mh-utils.el, mail/mh-xemacs-compat.el, mail/reply2.pbm, mail/reply2.xpm, toolbar/execute.pbm, toolbar/execute.xpm, toolbar/page-down.pbm, toolbar/page-down.xpm, toolbar/refile.pbm, toolbar/refile.xpm, toolbar/repack.pbm, toolbar/repack.xpm, toolbar/rescan.pbm, toolbar/rescan.xpm, toolbar/show.pbm, toolbar/show.xpm, toolbar/widen.pbm, toolbar/widen.xpm: Upgraded to mh-e version 6.1.1. Full ChangeLog available in http://prdownloads.sourceforge.net/mh-e/mh-e-6.1.tgz?download . There were no user-visible changes in 6.1.1 from 6.1--only the section of the Makefile that installs the files into Emacs was changed. 2002-10-01 Stefan Monnier * pcvs.el (cvs-mode-find-file): Look up font-lock-face so it also works when font-lock is turned off. * jit-lock.el (jit-lock-fontify-now): Don't widen. Let the jit-lock-functions do it if they want to. 2002-10-01 Juanma Barranquero * eshell/esh-module.el (eshell-load-defgroups): Add "no-byte-compile: t" to subdirs.el. * makefile.w32-in (update-subdirs-CMD): Likewise. * forms-d2.el: * forms-pass.el: * generic-x.el: * patcomp.el: * paths.el: * version.el: * international/mule-conf.el: * language/czech.el: * language/devanagari.el: * language/english.el: * language/georgian.el: * language/greek.el: * language/hebrew.el: * language/japanese.el: * language/korean.el: * language/lao.el: * language/misc-lang.el: * language/romanian.el: * language/slovak.el: * language/thai.el: * language/utf-8-lang.el: * emacs-lisp/cl-specs.el: * eshell/esh-maint.el: * mail/blessmail.el: * play/bruce.el: * term/apollo.el: * term/AT386.el: * term/bobcat.el: * term/internal.el: * term/iris-ansi.el: * term/keyswap.el: * term/linux.el: * term/lk201.el: * term/news.el: * term/vt102.el: * term/vt125.el: * term/vt200.el: * term/vt201.el: * term/vt220.el: * term/vt240.el: * term/vt300.el: * term/vt320.el: * term/vt400.el: * term/vt420.el: * term/wyse50.el: Add "no-byte-compile: t" in first line. 2002-10-01 Kenichi Handa * international/utf-16.el: Don't provide utf-16. * international/utf-8.el (ccl-decode-mule-utf-8): Remove unnecessary line. 2002-09-30 Kenichi Handa * language/thai.el (thai-tis620): Add `mime-charset' property. * language/indian.el: Don't register "ISO10646.*-1" in font-ccl-encoder-alist. * language/cyrillic.el (ccl-decode-koi8): Refer to ucs-translation-table-for-decode. (ccl-decode-koi8-u): Likewise. (ccl-decode-alternativnyj): Likewise. (cyrillic-koi8): Put `dependency' property. (koi8-u): Likewise. (cyrillic-alternativnyj): Likewise. * international/utf-8.el (ucs-mule-to-mule-unicode): Don't define this translation-table name here. (utf-translation-table-for-encode): New translation-table name. (utf-fragmentation-table): Renamed from utf-8-fragmentation-table. (utf-defragmentation-table): New variable. (ucs-mule-cjk-to-unicode): Renamed from utf-8-subst-rev-table. (utf-subst-table-for-encode): New translation-table name. (ucs-unicode-to-mule-cjk): Renamed from utf-8-subst-table. (utf-subst-table-for-decode): New translation-table name. (utf-fragment-on-decoding): Renamed from utf-8-fragment-on-decoding. Correctly handle the case that unify-8859-on-encoding-mode is off. Handle mule-utf-16-le and mule-utf-16-be too. (utf-translate-cjk): Renamed from utf-8-translate-cjk. Handle mule-utf-16-le and mule-utf-16-be too. (ccl-decode-mule-utf-8): Refer to utf-translation-table-for-decode and utf-subst-table-for-decode. (ccl-encode-mule-utf-8): Refer to utf-translation-table-for-encode and utf-subst-table-for-encode. (mule-utf-8): Fix `safe-charsets' property, put `dependency' property. * international/utf-8-subst.el: Setup ucs-unicode-to-mule-cjk and ucs-mule-cjk-to-unicode, not utf-8-subst-table and utf-8-subst-rev-table. * international/utf-16.el (utf-16-decode-ucs): Look up utf-subst-table-for-decode. Fix for the case that the looking up succeeds. (ccl-decode-mule-utf-16-le): Translate characters by utf-translation-table-for-decode. (ccl-decode-mule-utf-16-be): Likewise. (ccl-encode-mule-utf-16-le): Look up utf-subst-table-for-encode at first. Translate characters by utf-translation-table-for-encode. (ccl-encode-mule-utf-16-be): Likewise. (mule-utf-16-le, mule-utf-16-be): Add `dependency' property. * loadup.el: Preload international/utf-16. Don't call ucs-unify-8859. * international/ucs-tables.el: Don't bind utf-8-translation-table-for-decode while setting up ucs-mule-8859-to-ucs-table, etc. Add `dependency' property to iso-8859-* coding systems. (ucs-unify-8859): Arguments changed to FOR-ENCODE and FOR-DECODE. If FOR-DECODE is non-nil, make ucs-mule-8859-to-mule-unicode populate the translation table named ucs-translation-table-for-decode. If FOR-ENCODE is non-nil, make ucs-mule-to-mule-unicode populates the translation table named utf-translation-table-for-encode. Call register-char-codings for mule-utf-16-be and mule-utf-16-le too. (ucs-fragment-8859): Arguments changed to FOR-ENCODE and FOR-DECODE. If FOR-DECODE is non-nil, make the translation table named ucs-translation-table-for-decode vacant. If FOR-ENCODE is non-nil, make a proper char-table populates the translation table name utf-translation-table-for-encode. Call register-char-codings for all mule-utf-* to to reset their status to the original. (unify-8859-on-encoding-mode): Call ucs-unify-8859 and ucs-fragment-8859 with fixed arguments. Set the version to 21.3. (unify-8859-on-decoding-mode): Likewise. Remove dependency. (ccl-encode-unicode-font): Delete. (ucs-tables-unload-hook): Delete. * international/mule.el (decode-char): Refer to the translation hash table named utf-subst-table-for-decode. Refer to the translation table named utf-translation-table-for-decode instead of utf-8-translation-table-for-decode. (encode-char): Refer to the translation hash table named utf-subst-table-for-encode. Refer to the translation table named utf-translation-table-for-encode instead of utf-8-translation-table-for-encode. * international/mule-diag.el (describe-coding-system): Describe `dependency' property. * international/mule-conf.el (emacs-mule): Add property `composition'. * international/fontset.el (ucs-mule-to-mule-unicode): Define this translation table name here. (ucs-mule-cjk-to-unicode): New translation table name. (ccl-encode-unicode-font): Merge the code in ucs-tables.el. (font-ccl-encoder-alist): Change the font registry pattern to "ISO10646.*-*". 2002-09-30 Colin Walters * calc/calc-stuff.el (calc-flush-caches): Add optional arg `inhibit-msg'. * calc/calc-prog.el (calc-kbd-report, calc-kbd-query): Don't bind `executing-kbd-macro' and `defining-kbd-macro'. * calc/calc-ext.el (calc-reset): Don't bind `executing-kbd-macro'. Call `calc-flush-caches' with inhibit-msg arg. (calc-change-mode): Remove extra arg for `calc-save-modes'. * calc/calc-mode.el (calc-save-modes): Remove `quiet' arg. Don't bind `executing-kbd-macro'. 2002-09-29 Noah Friedman * subr.el (read-key): Use read-key-auxiliary-map, not read-key-aux-map. 2002-09-29 Richard M. Stallman * startup.el (user-mail-address): Initialize to a useful value once Emacs is started up; initialize to "" at loadup time. (command-line): "", not nil, means user-mail-address not set yet. 2002-09-29 Kai Großjohann * net/tramp.el: Version 2.0.24 released. (tramp-methods, tramp-completion-function-alist): Rename "*-old" methods to "*_old". From Michael Albinus. (tramp-completion-function-alist): Use `tramp-completion-function-alist-ssh' for the "fcp" method. From Michael Albinus. (tramp-default-method-alist): Use "su" for "root@localhost". (tramp-host-regexp): Allow "#" for "host#port" kludge. (tramp-ange-ftp-file-name-p): If METHOD is nil, find the right default method. Require additional args USER and HOST for this. Callers changed. (tramp-handle-file-local-copy): More local bindings. Bind results of tramp-get-{remote,local}-{de,en}coding earlier to avoid nasty "are you awake" problem. (tramp-action-password): Protect against clobbered match data. (tramp-open-connection-setup-interactive-shell): Explicitly set tramp-last-cmd-time before invoking tramp-send-command the first time. Otherwise, tramp-send-command would issue "echo are you awake" right at the first time, which is not what we want. Reported by Douglas Gray Stephens. (tramp-find-inline-encoding): Don't redirect stdout to /dev/null to avoid "chmode go-rwx" operation from "mimencode >/dev/null" as root(!), and to check the output of the decoding command. (tramp-maybe-open-connection): Don't send "are you awake" if process has died. 2002-09-29 Colin Walters * calc/calc.el (calc-dispatch-map): Actually set to keymap. 2002-09-29 Mike Williams * textmodes/sgml-mode.el (sgml-guess-indent): Handle tabs correctly. 2002-09-29 Richard M. Stallman * custom.el (defcustom): Doc fix. 2002-09-28 Richard M. Stallman * loadhist.el (unload-feature): When undefining a variable, delete its buffer-local bindings. 2002-09-28 Luc Teirlinck * subr.el (remove-yank-excluded-properties): Fix bugs in handling of category properties. 2002-09-28 Vinicius Jose Latorre * ps-print.el (ps-print-emacs-type): Error if ps-print is activated in Epoch, inLucid or in Emacs v19 or lesser. Value can no longer be `lucid'. (ps-print-version): New version number (6.5.8). (faces): Never do (require 'faces). 2002-09-28 Simon Josefsson * mail/smtpmail.el (smtpmail-via-smtp): Only negotiate starttls on streams that were opened using starttls. 2002-09-28 Paul Reilly * files.el (auto-mode-alist): Add support for Java Enterprise ARchive (ear/EAR) and Web ARchive (war/WAR) files. 2002-09-28 John Paul Wallington * progmodes/m4-mode.el (m4-font-lock-keywords) (m4-mode-syntax-table, m4-mode-abbrev-table, m4-m4-buffer) (m4-m4-region): Doc fixes. 2002-09-27 Stefan Monnier * emacs-lisp/cl-macs.el: Use the new usage-in-docstring syntax. (cl-push, cl-pop): Remove. Use pop and push throughout the file instead. (cl-transform-lambda): Add usage info to docstring if the arglist is complex. * emacs-lisp/autoload.el (make-autoload): Add usage info to docstring. (autoload-print-form): Also quote open-[-in-column 0. * help-fns.el (help-with-tutorial): Use minibuffer-completion-help. (help-split-fundoc): Don't support old syntax any more. (help-add-fundoc-usage): New fun. * emacs-lisp/cl-extra.el (cl-push, cl-pop): Remove. Use pop and push throughout the file instead. (cl-hash-lookup): Remove. (cl-make-hash-table, cl-hash-table-p, cl-gethash, cl-puthash) (cl-remhash, cl-clrhash, cl-maphash, cl-hash-table-count): Simplify. * emacs-lisp/cl-seq.el (cl-push, cl-pop): Remove. Use pop and push throughout the file instead. * emacs-lisp/edebug.el: Don't precompute menu shortcuts during loading since the current keymaps might be all weird. * emacs-lisp/easy-mmode.el (define-minor-mode): Don't add properties to the name since they're added by mode-line-format already. (define-minor-mode): Run (,mode -1) when needed. * tar-mode.el (tar-untar-buffer): Handle dir-entries. (tar-summarize-buffer, tar-mode, tar-extract, tar-copy, tar-expunge) (tar-alter-one-field, tar-subfile-save-buffer, tar-mode-write-file): Don't hardcode 1 == point-min. * abbrev.el (write-abbrev-file): Don't hardcode point-min == 1. * subr.el (read-key-auxiliary-map): New var. (read-key): Use it. (make-temp-file): Make the file have mode 600. (add-minor-mode): Don't add properties to the name since it's added by mode-line-format already. Be more careful with the mode-line-menu entry name. * userlock.el (ask-user-about-supersession-threat): Don't abort when the user hits mouse-2. * register.el (set-register): Use push. (point-to-register): Set kill-buffer-hook in this buffer. (register-swap-out): Use dolist. (kill-buffer-hook): Don't change globally. * server.el (server-select-display): New function. (server-process-filter): Add support for `-display' and `-eval' args. (server-visit-files): Use save-current-buffer, push, and dolist. Add server-kill-buffer to kill-buffer-hook. (kill-buffer-hook): Don't modify globally. (server-switch-buffer): Be a bit more careful with multiple displays. (server-socket-name): Always use /tmp and non-qualified hostname. * uniquify.el (uniquify-rationalize-file-buffer-names): Add to kill-buffer-hook for buffers with conflict. (rename-buffer): Check kill-buffer-hook to see if there was a conflict. (uniquify-delay-rationalize-file-buffer-names): Remove useless check. (kill-buffer-hook): Don't change globally. 2002-09-27 Stefan Monnier . * calc/calc.el (calc-bug-address, calc-scan-for-dels, calc-stack) (calc-stack-top, calc-always-load-extensions) (calc-line-numbering, calc-line-breaking, calc-display-just) (calc-display-origin, calc-number-radix, calc-leading-zeros) (calc-group-digits, calc-group-char, calc-point-char) (calc-frac-format, calc-prefer-frac, calc-hms-format) (calc-date-format, calc-float-format, calc-complex-format) (calc-full-float-format, calc-complex-mode, calc-infinite-mode) (calc-display-strings, calc-matrix-just, calc-break-vectors) (calc-full-vectors, calc-full-trail-vectors, calc-vector-commas) (calc-vector-brackets, calc-matrix-brackets, calc-language) (calc-language-option, calc-function-open, calc-function-open) (calc-function-close, calc-language-output-filter) (calc-language-input-filter, calc-radix-formatter) (calc-left-label, calc-right-label, calc-word-size) (calc-previous-modulo, calc-simplify-mode, calc-auto-recompute) (calc-display-raw, calc-internal-prec, calc-inverse-flag) (calc-hyperbolic-flag, calc-keep-args-flag, calc-angle-mode) (calc-algebraic-mode, calc-incomplete-algebraic-mode) (calc-symbolic-mode, calc-matrix-mode, calc-shift-prefix) (calc-window-height, calc-display-trail, calc-show-selections) (calc-use-selections, calc-assoc-selections) (calc-display-working-message, calc-auto-why, calc-timing) (calc-display-sci-high, calc-display-sci-low, calc-other-modes) (calc-other-modes, calc-Y-help-msgs, calc-loaded-settings-file): Make into real defvars. (calc-mode-var-list): Delete. (calc-mode-save-mode, calc-standard-date-formats) (calc-autorange-units, calc-was-keypad-mode, calc-full-mode) (calc-user-parse-tables, 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) (calc-invocation-macro, calc-show-banner): Make into defvars, taken from `calc-mode-var-list'. (calc-emacs-type-epoch, calc-emacs-type-19) (calc-emacs-type-lucid, calc-emacs-type-gnu19): Make into defvars. (calc-version, calc-version-date, calc-trail-pointer) (calc-trail-overlay, calc-undo-list, calc-redo-list) (calc-main-buffer, calc-trail-buffer, calc-why, calc-next-why) (calc-inverse-flag, calc-hyperbolic-flag, calc-keep-args-flag) (calc-last-kill, calc-previous-alg-entry, calc-dollar-values) (calc-dollar-used, calc-hashes-used, calc-quick-prev-results) (calc-said-hello, calc-executing-macro, calc-any-selections) (calc-help-phase, calc-full-help-flag, calc-refresh-count) (calc-display-dirty, calc-prepared-composition) (calc-selection-cache-default-entry, calc-embedded-info) (calc-embedded-active, calc-standalone-flag, var-EvalRules) (math-eval-rules-cache-tag, math-radix-explicit-format) (math-expr-function-mapping, math-expr-variable-mapping) (math-read-expr-quotes, math-working-step, math-working-step-2) (var-i, var-pi, var-e, var-phi, var-gamma, var-Modes): Make into defvars, from toplevel setq. (calc-mode-map): Set up keymap in more modern fashion. (calc-dispatch-map): Ditto. (calc-command-flags, calc-final-point-line) (calc-final-point-column): Defvar. (calc-do): Use `save-current-buffer' instead of `save-excursion'. (sel-mode): Defvar. (calc-any-evaltos): Ditto. (calc-buffer, calc-prev-char, calc-prev-prev-char) (calc-digit-value): Ditto. (math-eval-rules-cache, math-eval-rules-cache-other): Ditto. (math-sub-bignum): Bind `diff'. (calc-selection-cache-entry): Defvar. (calc-count-lines): Reference `pos' instead of `newpos'. 2002-09-27 Simon Josefsson * mail/mail-hist.el (mail-hist-next-input): Fix docstring. 2002-09-26 Richard M. Stallman * mail/unrmail.el (unrmail): Do the work directly, without actually selecting the messages in the from file. (unrmail-unprune): New subroutine. * files.el (backup-buffer): Bind local var MODES. Don't use renaming for a suid or sgid file. Use backup-buffer-copy to do copying. (backup-buffer-copy): New subroutine. Clear suid and sgid bits for the copy. 2002-09-26 Edward M. Reingold * calendar/solar.el (solar-equinoxes-solstices): Use time properly adjusted for DST in the result. 2002-09-26 Richard M. Stallman * follow.el (follow-generic-filter): Simply bind deactivate-mark. Bind inhibit-read-only; don't mess with buffer-read-only. * speedbar.el (speedbar-refresh): Simply bind deactivate-mark. 2002-09-26 Luc Teirlinck * ielm.el (inferior-emacs-lisp-mode): Treat the header as output, if comint-use-prompt-regexp-instead-of-fields is nil. 2002-09-26 John Paul Wallington * ibuffer.el (ibuffer-update): Call `minibufferp' with argument instead of within `with-current-buffer'. 2002-09-26 Stephen Eglen * iswitchb.el (iswitchb-completions): Test that iswitchb-common-match-string is a string, before printing common completions. 2002-09-25 Stefan Monnier * server.el: Use built-in network primitives. (server-program, server-previous-string): Remove. (server-previous-strings): New var. (server-socket-name): New var. (server-log): Minor change to the output format. (server-sentinel): Clean up global state when a client disconnects. (server-unquote-arg): New fun. (server-start): Use server-socket-name and make-network-process. (server-process-filter): Now talks to the clients directly. Normalize file name after unquoting and decoding. (server-buffer-done): Just close the connection. (server-switch-buffer): Handle the case where all windows are dedicated or minibuffers. * font-lock.el (fast-lock-mode, lazy-lock-mode, jit-lock-mode): Don't bind them variables. (font-lock-turn-off-thing-lock, font-lock-after-fontify-buffer) (font-lock-after-unfontify-buffer): Check that the vars are bound. (font-lock-dont-widen): New var. (font-lock-default-fontify-region): Use it. * emacs-lisp/find-func.el (find-library-name): Correctly find "file.el.gz" from "file.elc" or "file.elc.gz". 2002-09-25 Kenichi Handa * international/mule-cmds.el (select-safe-coding-system): Handle safe but rejected default coding systems and unsafe default coding systems differently. * international/mule-diag.el (list-character-sets): Use the buffer name "*Character Set List*", not "*Help*". List also indirectly supported character sets. (list-charset-chars): Use the buffer name "*Character List*", not "*Help*". Display the current charset name in the modeline. (non-iso-charset-alist): Add mapped charset list for `mac-roman'. (sort-listed-character-sets): Don't alter the region showing indirectly supported charsets. 2002-09-24 Simon Josefsson * mail/mail-extr.el (mail-extr-ignore-single-names): Change default. (mail-extract-address-components): Doc fix. 2002-09-24 Markus Rost * simple.el (edit-and-eval-command): Protect command-history. (repeat-complex-command): Protect command-history. 2002-09-24 Juanma Barranquero * replace.el (occur-find-match): New function. (occur-next, occur-prev): Use it. * progmodes/sh-script.el (sh-mark-init): Don't set `occur-buffer'. (sh-mark-line): Likewise. Use 'occur-target and 'occur-match instead of 'occur and 'occur-point. * eshell/em-unix.el (eshell-occur-mode-mouse-goto) (eshell-poor-mans-grep): Remove references to `occur-buffer'. 2002-09-24 Stefan Monnier * descr-text.el (describe-text-category): Use *Help*. Don't kill-buffer. (describe-text-properties, describe-char): Delay self-inspection test. Use *Help*. Use syntax-after. Use `pos' rather than (point). Distinguish the before/after part of a composition. 2002-09-23 Kenichi Handa * international/quail.el (quail-completion): Be sure to scroll quail-completion-buf. 2002-09-23 Richard M. Stallman * ielm.el (*1): Fix previous change. 2002-09-23 Juanma Barranquero * net/tramp.el (tramp-unified-filenames): Autoload it. 2002-09-23 Michael Kifer * ediff-init.el (ediff-get-next-window): Bug fix. 2002-09-22 Oliver Scholz * play/gamegrid.el (gamegrid-face): New variable to emulate a buffer-local default face. (gamegrid-xbm): New variable; XBM image as a replacement for `gamegrid-xpm' on Emacsen compiled without XPM-support. (gamegrid-colorize-glyph): Ported XEmacs-code for the generation of images to Emacs. (gamegrid-match-spec): Call `gamegrid-make-image-from-vector' to convert XEmacs-type image descriptors. (gamegrid-color-display-p): Remove (use `display-colors-p' instead.) (gamegrid-make-image-from-vector): New function. Convert XEmacs' image descriptors. (gamegrid-display-type): Use Emacs' standard `display-.*-p' functions to check for display capabilities. Fix the recognition of image-support in Emacs 21 by this way. (gamegrid-hide-cursor): Removed. (gamegrid-setup-default-font): Ported the code from XEmacs to Emacs: create a new face and assign the variable `gamegrid-face' to it. Make sure that the face is not higher than the smallest image used by the game. (gamegrid-initialize-display): Use `(setq cursor-type nil)' instead of `gamegrid-hide-cursor'. (gamegrid-set-face): If `gamegrid-display-mode' is 'glyph, put an image in the buffer, instead of applying a face. [This is because Emacs display-tables are not as capable as the display-tables in XEmacs. Maybe this function should be renamed to reflect the change?] (gamegrid-init-buffer): If `gamegrid-display-mode' is 'glyph, put the face held by `gamegrid-face' in an overlay over the whole buffer to emulate a buffer-local default-face. 2002-09-22 Markus Triska (tiny change) * play/doctor.el (doctor-doc): Add 2 question words. (doctor-getnoun): Parse and save the complete object phrase. 2002-09-22 Richard M. Stallman * international/mule-cmds.el (select-safe-coding-system): Cope if default-coding-system gives nil which was then used in `min'. * mail/sendmail.el (sendmail-send-it): If user's buffer is unibyte, make tembuf unibyte. 2002-09-22 Kai Großjohann * net/tramp.el: Version 2.0.22 released. (tramp-parse-rhosts, tramp-parse-shosts) (tramp-parse-hosts, tramp-parse-passwd): Apply `push' but `add-to-list' for performance reasons. (tramp-get-completion-user-host): Return `nil' in case both `user' and 'host' are empty (not necessarily `nil'. (tramp-parse-netrc, tramp-parse-netrc-group): New functions. (tramp-user-regexp): " \t" are not user regexp characters. (tramp-completion-handle-file-name-all-completions): Remove Ange-FTP completion. It has a bug not handling the "/ftp:" prefix completely, and it returns local completions as well. (tramp-completion-function-alist-ftp): New constant. (tramp-completion-function-alist): Add completion function for "ftp". From Michael Albinus . 2002-09-22 Kai Großjohann * net/tramp.el: Version 2.0.21 released. (tramp-handle-file-newer-than-file-p): If mtime of both files is known, return a useful result. Better error message in case one is a Tramp file and one isn't. (tramp-handle-file-local-copy, tramp-handle-write-region) (tramp-find-shell, tramp-open-connection-telnet) (tramp-open-connection-rsh, tramp-open-connection-su) (tramp-open-connection-setup-interactive-shell) (tramp-post-connection, tramp-maybe-open-connection) (tramp-method-out-of-band-p): Correct number of args for `tramp-get-rsh-program' and similar functions. 2002-09-22 Kai Großjohann * net/tramp.el: Version 2.0.20 released. 2002-09-20 Kai Großjohann * net/tramp.el (tramp-completion-function-alist): Escape open paren in docstring. (tramp-user-regexp, tramp-host-regexp): Allow empty strings. (tramp-handle-insert-file-contents): Call tramp-message-for-buffer instead of tramp-message. (tramp-open-connection-rsh): Handle empty string as user name. (tramp-open-connection-su): Handle empty string as host name. Handle nil user name. (tramp-handle-file-local-copy, tramp-handle-write-region) (tramp-completion-handle-file-name-all-completions) (tramp-open-connection-telnet, tramp-open-connection-rsh) (tramp-open-connection-su, tramp-post-connection) (tramp-maybe-open-connection, tramp-method-out-of-band-p) (tramp-get-connection-function, tramp-get-remote-sh) (tramp-get-rsh-program, tramp-get-rsh-args) (tramp-get-rcp-program, tramp-get-rcp-args) (tramp-get-rcp-keep-date-arg, tramp-get-su-program) (tramp-get-su-args, tramp-get-telnet-program) (tramp-get-telnet-args): Use `tramp-find-method', perhaps require additional args USER, HOST. (tramp-action-password, tramp-open-connection-telnet) (tramp-open-connection-su, tramp-open-connection-multi) (tramp-method-out-of-band-p): `tramp-method-out-of-band-p' now takes USER and HOST arguments, to be able to use `tramp-find-method'. Update callers. (tramp-find-method): New function. 2002-09-20 Kai Großjohann * net/tramp.el (tramp-handle-insert-directory): Handle "--dired" in SWITCHES (by removing it). 2002-09-18 Kai Großjohann * net/tramp.el (tramp-file-name-handler): Add `file-remote-p' property. 2002-09-17 Kai Großjohann * net/tramp.el (top-level): Maybe autoload uudecode-decode-region. 2002-09-16 Kai Großjohann * net/tramp.el (tramp-bug): Add tramp-methods. 2002-09-16 Kai Großjohann * net/tramp.el (tramp-methods): Update docstring: tramp-encoding-command, tramp-decoding-command, tramp-encoding-function and tramp-decoding-function are not parameters anymore. (tramp-uuencode-region): Autoload it. 2002-09-13 Kai Großjohann * net/tramp.el: Version 2.0.19 released. * net/tramp-uu.el: New file, implements uuencode in Lisp. * net/tramp.el (tramp-coding-commands): Use `tramp-uuencode-region' as local encoder for the uuencode based entries. 2002-09-13 Kai Großjohann * net/tramp.el (tramp-handle-write-region): Wrong parens. 2002-09-13 Kai Großjohann * net/tramp.el: Version 2.0.18 released. * net/tramp.el (tramp-perl-decode): Perl changes to accommodate older versions of Perl. Now tested with 5.004. Suggestion from Michael Albinus. 2002-09-12 Kai Großjohann * net/tramp.el (tramp-find-inline-encoding): Call tramp-call-local-coding-command with nil for INPUT and OUTPUT. (tramp-call-local-coding-command): OUTPUT equals nil means to discard the output. INPUT equals nil means /dev/null. 2002-09-12 Kai Großjohann * net/tramp.el (tramp-encoding-shell): Default to environment variable COMSPEC on Windows. (tramp-handle-write-region): More debugging output. (tramp-find-inline-encoding): Ditto. 2002-09-11 Michael Albinus * net/tramp.el (tramp-completion-handle-file-name-all-completions): Define `result1'. (tramp-parse-hosts-group): Discard IPv6 entries. 2002-09-11 Kai Großjohann * net/tramp.el (tramp-post-connection): Only send Perl mime-encode/decode implementations when using inline method. (tramp-handle-file-local-copy) (tramp-handle-write-region, tramp-post-connection) (tramp-coding-commands, tramp-find-inline-encoding): For the inline encodings, distinguish between local and remote commands, instead of between commands and functions. (The local commands can be functions, too.) If the local host is a Windows machine, we can't expect the same commands to work there as on the remote host. (tramp-call-local-coding-command): New function for calling local encoding and decoding commands. (tramp-set-remote-encoding, tramp-get-remote-encoding) (tramp-set-remote-decoding, tramp-get-remote-decoding) (tramp-set-local-encoding, tramp-get-local-encoding) (tramp-set-local-decoding, tramp-get-local-decoding): New functions. (tramp-get-encoding-command, tramp-set-encoding-command) (tramp-get-decoding-command, tramp-set-decoding-command) (tramp-get-encoding-function, tramp-set-encoding-function) (tramp-get-decoding-function, tramp-set-decoding-function): Old functions, removed. 2002-09-10 Kai Großjohann * net/tramp.el (tramp-open-connection-setup-interactive-shell): Change command to invoke /bin/sh slightly to make it compatible with the `rc' shell. Suggested by Daniel Pittman. 2002-09-10 Michael Albinus * net/tramp.el (tramp-handle-write-region): Added missing `)'. Hope it's the right place. 2002-09-09 Kai Großjohann * net/tramp.el (tramp-open-connection-setup-interactive-shell): Do "exec env PS1='$ ' /bin/sh" instead of just "exec /bin/sh" in order to get a sane shell prompt. If people have ${CWD}, say, in their shell prompt, then the default login shell might display something harmless, but the /bin/sh will display a dollar sign which confused the subsequent prompt recognition. (tramp-multi-action-password): More debugging output. (tramp-encoding-shell): Renamed from tramp-sh-program. More documentation. Default to cmd.exe on Windows NT. (tramp-encoding-command-switch): New variable. Use instead of hard-wired "-c" which is only good for /bin/sh. (tramp-encoding-reads-stdin): New variable. If t, commands are called like "/bin/sh -c COMMAND * net/tramp.el (tramp-methods): Remove `tramp-completion-function' entries. They are handled now by `tramp-completion-function-alist'. (tramp-completion-function): Defvar removed. I've never used it. Hmm. (tramp-get-completion-function) (tramp-get-completion-rsh, tramp-get-completion-ssh) (tramp-get-completion-telnet, tramp-get-completion-su): Functions removed as well. Not necessary any longer due to extended customization means. (tramp-completion-function-alist): New defcustom. Holds all FUNCTION FILE pairs used for user and host name completion relevant for METHOD. (tramp-completion-function-alist-rsh) (tramp-completion-function-alist-ssh) (tramp-completion-function-alist-telnet) (tramp-completion-function-alist-su): Defconst for initializing `tramp-completion-function-alist'. Unfortunately, mainly UNIX-like values are known for me until now. Needs to be completed for at least VMS++ like operating systems. (tramp-set-completion-function) (tramp-get-completion-function): New functions for configuration of `tramp-completion-function-alist'. The old definition of `tramp-get-completion-function' has been discarded. (tramp-completion-handle-file-name-all-completions): Change function call for user/host completion according to definition in `tramp-completion-function-alist'. (tramp-parse-passwd): Added exception handling for "root", because `tramp-get-completion-su' (the previous place for this stuff) doesn't exist any longer. 2002-09-07 Kai Großjohann * net/tramp.el (tramp-enter-password): Use `tramp-password-end-of-line' to terminate the line. (tramp-bug): Include new variable `tramp-password-end-of-line'. (tramp-password-end-of-line): New variable. People who use plink under Windows might have to issue "\r\n" after the password, but they need to send just "\n" after the other commands. So this variable was introduced to complement `tramp-rsh-end-of-line'. (tramp-wait-for-output, tramp-post-connection): Allow "\r" at end of line of the output delimiter. 2002-09-06 Kai Großjohann * net/tramp.el (tramp-handle-file-local-copy, tramp-find-shell) (tramp-open-connection-setup-interactive-shell): Add some comments about Douglas Grey Stephen's suggestions to make Tramp work better with plink under Windows. I'm not sure what to think of them, but now I have a guinea pig to try it out on. Said guinea pig is having other problems, though... Also remove some commented-out code. 2002-09-06 Michael Albinus * net/tramp.el (tramp-get-completion-methods): Algorithm slightly tuned. (tramp-get-completion-user-host): Accept user names as they are if typed until "@". (tramp-completion-mode): Replace `last-input-char' by modern `last-input-event'. Check for `event-modifiers'. 2002-09-06 Kai Großjohann * net/tramp.el (file-expand-wildcards): Corrected check to see if advising is necessary. 2002-09-05 Michael Albinus * net/tramp.el (tramp-postfix-single-method-format) (tramp-postfix-multi-method-format) (tramp-postfix-multi-hop-format) (tramp-postfix-user-format): New format strings. (tramp-postfix-single-method-regexp) (tramp-postfix-multi-method-regexp) (tramp-postfix-multi-hop-regexp) (tramp-postfix-user-regexp) (tramp-make-multi-tramp-file-format) (tramp-make-tramp-file-name): Apply them. (tramp-completion-handle-file-name-all-completions): Fix for invoking ange-ftp in case of "/ftp:xxx" file names. 2002-09-04 Michael Albinus * net/tramp.el (tramp-prefix-format) (tramp-postfix-host-format): New format strings. (tramp-prefix-regexp, tramp-method-regexp) (tramp-postfix-single-method-regexp) (tramp-postfix-multi-method-regexp) (tramp-postfix-multi-hop-regexp) (tramp-user-regexp, tramp-postfix-user-regexp) (tramp-host-regexp, tramp-postfix-host-regexp) (tramp-path-regexp): New atomar regular expressions. If corresponding format strings exist, derived from them. (tramp-file-name-structure) (tramp-multi-file-name-structure) (tramp-multi-file-name-hop-structure) (tramp-make-multi-tramp-file-format) (tramp-completion-mode) (tramp-completion-dissect-file-name) (tramp-parse-rhosts-group) (tramp-parse-shosts-group) (tramp-parse-hosts-group) (tramp-parse-passwd-group): Apply these expressions. (tramp-file-name-structure-unified) (tramp-file-name-structure-separate) (tramp-make-tramp-file-format-unified) (tramp-make-tramp-file-format-separate) (tramp-make-tramp-file-format) (tramp-make-tramp-file-user-nil-format-unified) (tramp-make-tramp-file-user-nil-format-separate) (tramp-make-tramp-file-user-nil-format) (tramp-multi-file-name-structure-unified) (tramp-multi-file-name-structure-separate) (tramp-multi-file-name-hop-structure-unified) (tramp-multi-file-name-hop-structure-separate) (tramp-make-multi-tramp-file-format-unified) (tramp-make-multi-tramp-file-format-separate): Removed. (tramp-make-tramp-file-name): Allow partial tramp file names. Generate tramp file format on-the-fly depending on parameters. Apply atomar format strings resp expressions. (tramp-get-completion-methods) (tramp-get-completion-user-host): Apply `tramp-make-tramp-file-name'. (tramp-parse-hosts-group): Take all host names and IP addresses into account. (tramp-bug): Remove `tramp-make-tramp-file-format'. 2002-09-01 Michael Albinus * net/tramp.el (tramp-methods): Add `tramp-completion-function' for "su" and "sudo". (tramp-get-completion-telnet): Implement it. (tramp-parse-hosts) (tramp-parse-hosts-group) (tramp-get-completion-su) (tramp-parse-passwd) (tramp-parse-passwd-group): New functions. 2002-08-31 Michael Albinus * net/tramp.el (tramp-completion-mode): Check for `last-input-char'. (tramp-completion-file-name-handler-alist): Add handler for `file-exists-p. (tramp-completion-handle-file-exists-p): New function. (tramp-completion-handle-file-name-completion): Simplified. (tramp-completion-dissect-file-name): Regexp's reorganized. (tramp-completion-handle-file-name-all-completions): Call completion-function only if `user' or `host' is given. (tramp-get-completion-user-host): New function. (tramp-get-completion-rsh) (tramp-get-completion-ssh): Apply it. 2002-08-29 Michael Albinus * net/tramp.el (tramp-completion-file-name-handler-alist): Add handler for `expand-file-name'. (tramp-completion-handle-expand-file-name): New function. 2002-08-26 Michael Albinus * net/tramp.el (tramp-completion-mode): New function. (tramp-completion-handle-file-name-directory) (tramp-completion-handle-file-name-all-completions): Apply it. (tramp-methods): Remove double definition of `ssh1-old' and `ssh2-old'. (tramp-point-at-eol): New defalias. (tramp-parse-rhosts-group) (tramp-parse-shosts-group): Apply it. 2002-08-25 Michael Albinus * net/tramp.el (tramp-get-completion-methods) (tramp-get-completion-rsh) (tramp-get-completion-ssh): Add "[" for XEmacs. (tramp-completion-file-name-regexp-separate): Expression adapted. (tramp-completion-file-name-handler-alist): Add handler for `file-name-directory' and `file-name-nondirectory'. (tramp-completion-handle-file-name-directory) (tramp-completion-handle-file-name-nondirectory) (tramp-completion-run-real-handler): New functions. (tramp-completion-file-name-handler) (tramp-completion-handle-file-name-all-completions): Apply `tramp-completion-run-real-handler'. (tramp-parse-rhosts) (tramp-parse-shosts): Use `with-temp-buffer'. `result' renamed to `res' (otherwise side effects in XEmacs). 2002-08-24 Michael Albinus * net/tramp.el (tramp-completion-file-name-regexp) (tramp-completion-file-name-handler-alist) (tramp-flatten-list) (tramp-completion-dissect-file-name) (tramp-get-completion-rsh) (tramp-parse-rhosts) (tramp-parse-rhosts-group) (tramp-get-completion-ssh): Doc string tuned. (tramp-methods): Doc string and custom type extended for `tramp-completion-function'. (tramp-completion-function): Variable added. Is it really used? Other variables like `tramp-completion-function' aren't used. (tramp-completion-file-name-handler-alist): Add handler for `file-name-completion'. (tramp-completion-handle-file-name-completion): New function. 2002-08-18 Michael Albinus * net/tramp.el (tramp-parse-rhosts) (tramp-parse-rhosts-group) (tramp-parse-shosts) (tramp-parse-shosts-group): New functions. 2002-08-17 Michael Albinus * net/tramp.el (tramp-completion-dissect-file-name) (tramp-completion-dissect-file-name1): New functions. 2002-08-16 Michael Albinus * net/tramp.el (tramp-get-completion-function) (tramp-get-completion-rsh) (tramp-get-completion-ssh) (tramp-get-completion-telnet): New functions. (tramp-methods): Add `tramp-completion-function' for all methods. 2002-08-15 Michael Albinus * net/tramp.el (tramp-get-completion-methods): New function. (tramp-find-default-method): Allow host to be nil (like user). 2002-08-14 Michael Albinus * net/tramp.el (tramp-completion-file-name-regexp-unified) (tramp-completion-file-name-regexp-separate) (tramp-completion-file-name-regexp) (tramp-completion-file-name-handler-alist): New defcustoms. (tramp-completion-file-name-handler): New function. Add `tramp-completion-file-name-handler' to `file-name-handler-alist'. (tramp-run-real-handler): Add `tramp-completion-file-name-handler' to `inhibit-file-name-handlers'. (tramp-completion-handle-file-name-all-completions) (tramp-completion-handle-file-name-completion): New functions. 2002-08-12 Michael Albinus * net/tramp.el (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp' must be called again after activating `ange-ftp'. (tramp-ange-ftp-file-name-p): Check for XEmacs. 2002-08-08 Michael Albinus * net/tramp.el (tramp-do-copy-or-rename-file): Don't pass KEEP-DATE to tramp-invoke-ange-ftp 'rename. (tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to tramp-invoke-ange-ftp 'write-region. (tramp-handle-set-file-modes): Change order of FILENAME and MODE passing to tramp-invoke-ange-ftp 'set-file-modes. (tramp-flatten-list): New function. Maybe this functionality does exist already elsewhere in the libraries. (tramp-invoke-ange-ftp): Apply `tramp-flatten-list' to parameter list in order to avoid nested lists, f.e. when invoked from `tramp-handle-dired-call-process'. 2002-09-05 Kai Großjohann * net/tramp.el (tramp-chunksize): New kluge variable. (tramp-send-region): If tramp-chunksize is non-nil, send region in parts and sleep 0.1 seconds between chunks. 2002-09-03 Kai Großjohann * net/tramp.el (tramp-handle-insert-directory): Use `insert-buffer-substring' instead of `insert-buffer', which is not supposed to be used from Lisp. Remember old point in a variable instead of using `mark'. Suggestion from Stefan Monnier. (tramp-unified-filenames): New variable. Use it in default value of other filename variables. (file-expand-wildcards): Don't advise unless "[" and "]" are used in the filename format. 2002-09-01 Kai Großjohann * net/tramp.el (tramp-methods): Remove duplicate definition of ssh1-old and ssh2-old. 2002-09-22 Kai Großjohann * dired.el (dired-insert-directory): Always add "--dired" to to SWITCHES for remote files. * files.el (insert-directory): Comment saying that "--dired" might be in the SWITCHES. * net/ange-ftp.el (ange-ftp-ls): Handle "--dired" in LSARGS. (ange-ftp-insert-directory): Comment explaining "--dired" handling. 2002-09-21 Markus Rost * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Give %!._- word constituent syntax. 2002-09-21 Richard M. Stallman * cus-dep.el (custom-make-dependencies): Bind to t around evaluating the def-form. * custom.el (custom-dont-initialize): New variable. (custom-declare-variable): Don't init the variable if custom-dont-initialize is non-nil. 2002-09-21 John Paul Wallington * net/eudc.el (eudc-install-menu): Use `define-key' and `easy-menu-create-menu' to avoid duplication of menu. 2002-09-20 Kim F. Storm * kmacro.el (kmacro-step-edit-query): Use RET to execute rest of macro and terminate editing. (kmacro-step-edit-macro): Push previous macro onto ring if changed by step editing. 2002-09-19 Tom Tromey * play/blackbox.el (bb-right): Respect prefix argument. (bb-left, bb-up, bb-down): Likewise. 2002-09-19 Richard M. Stallman * cus-dep.el (custom-make-dependencies): Fix previous change. 2002-09-19 Juanma Barranquero * ielm.el (ielm-eval-input): Call `error-message-string' instead of the non-existent `ielm-format-error'. 2002-09-19 Stefan Monnier * emacs-lisp/easymenu.el (easy-menu-remove): * emacs-lisp/ewoc.el (ewoc--node-branch): Add docstring. * international/mule-diag.el (describe-coding-system): Remove unused `coding-spec' variable. (list-input-methods): Be more careful when setting up the help buffer. * international/ucs-tables.el (unify-8859-on-encoding-mode): Set init value to t to reflect reality. (ucs-minibuffer-setup): Use minibuffer-selected-window. 2002-09-18 Stefan Monnier * progmodes/make-mode.el (makefile-cleanup-continuations-p): Rename to makefile-cleanup-continuations. (makefile-mode): Use write-file-functions. (makefile-fill-paragraph): Use match-string-no-properties. (makefile-fill-paragraph): Use line-end-position. (makefile-add-log-defun): Simplify. 2002-09-18 Richard M. Stallman * dired.el (dired-mark-pop-up): Doc fix. * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Put the definition straight into loaddefs.el as well as executing it here. 2002-09-18 Colin Walters * calc/calc.el (calc-mode): Add font-lock-defontify to change-major-mode-hook. 2002-09-18 Richard M. Stallman * Makefile.in (bootstrap-clean): Use cd to shorten arg strings. Don't ignore errors in rm line. * menu-bar.el (menu-bar-search-menu): Nicer help string. * replace.el (occur-engine-add-prefix): Use 7 spaces. (occur-engine): Use 7 digits to align tabs in the data. * emacs-lisp/bytecomp.el (byte-compile-output-docform): Don't make the definition dynamic if it shares structure with the arg list. * gud.el (gud-pdb-marker-regexp): Allow : and \ in file name. (pdb): In gud-remove, pass down the file name. * cus-dep.el (custom-make-dependencies): Sort MEMBERS before use. 2002-09-18 Luc Teirlinck * ielm.el (*1, *2, *3): New variables. (ielm-eval-input): Make temporary buffers current on entry and exit to the let bindings for *, ** and ***. (inferior-emacs-lisp-mode): Mention *1, *2 and *3 in the docstring. Do not overrule global bindings for *, ** and ***. 2002-09-18 Tom Tromey * progmodes/make-mode.el (makefile-fill-paragraph): Find comment boundaries before filling. 2002-09-18 Stefan Monnier * server.el (server-done): Fix harmlessly wrong arg to save-buffer. (server-switch-buffer): Only select a different window if next-buffer is non-nil. Don't switch in a dedicated window. If next-buffer is already displayed, reuse that window. * diff-mode.el (diff-mode): Use compilation-minor-mode. Don't unbind compilation-last-buffer after autoloading compile.el. Hide the compilation-minor-mode bindings altogether. 2002-09-18 Kai Großjohann * dired.el (dired-insert-directory): Never add "--dired" when listing remote directories. 2002-09-18 Michael Kifer * ediff-hooks.el: Put back the autoloads (for XEmacs compatibility). * ediff-init.el: Use defalias instead of fset. * ediff-util.el: Use defalias instead of fset. * viper-util.el (viper-chars-in-region): Simplification. * viper.el (viper-emacs-state-mode-list): Added modes. 2002-09-18 Jonathan Yavner * emacs-lisp/testcover.el: New file. Uses edebug to instrument a module of code, with graphical display of poor-coverage spots. * emacs-lisp/testcover-ses.el: New file. Demonstrates use of testcover on a interactive module like ses. * emacs-lisp/testcover-unsafep.el: New file. Demonstrates use of testcover on a noninteractive module like unsafep. 2002-09-18 Miles Bader * diff-mode.el (diff-mode): Don't evaluate `compilation-last-buffer' unless it's bound. 2002-09-17 Stefan Monnier * server.el (server-log): Add `client' arg. (server-start): Don't bother canceling the sentinel. (server-process-filter): Use replace-regexp-in-string and handle the new &n quoting. Use push. Use server-log's new arg. Don't output the C-x # message if `nowait'. (server-buffer-done): Use server-log's new arg. 2002-09-16 Jonathan Yavner * ses.el: New file. * emacs-lisp/unsafep.el: New file. * files.el (auto-mode-alist): Add ".ses" for ses-mode. (inhibit-quit): This is risky for unsafep, doesn't matter much for anybody else. (risky-local-variable-p): New function. Split off from hack-one-local-variable so unsafep can use it. Add \|-history$ to the list of disallowed local variable names (malicious user could stuff a `display' property in there that would be activated when naïve user called up the history). 2002-09-16 Markus Rost * ls-lisp.el (ls-lisp-format-time-list): Fix type and provide :tag's. 2002-09-16 Richard M. Stallman * play/gomoku.el (gomoku-move-up, gomoku-move-down): Use forward-line and move-to-column. * cus-edit.el (custom-variable-backup-value): New function. (custom-variable-reset-backup): New function. (custom-variable-menu): Add item for custom-variable-reset-backup. (custom-variable-set, custom-variable-reset-saved) (custom-variable-reset-standard): Call custom-variable-backup-value. 2002-09-16 Stefan Monnier * dired.el (dired-font-lock-keywords): Use regexp-opt. (dired-move-to-filename): Better message when we fail to find the file. (dired-sort-toggle): Minor optimization. 2002-09-16 Juanma Barranquero * dired-aux.el (dired-add-entry): Add missing argument to `dired-mark'. 2002-09-16 John Paul Wallington * xscheme.el (scheme-interaction-mode): Doc fix. * net/eudc.el (eudc-plist-get): Doc fix. 2002-09-16 Kim F. Storm * menu-bar.el (menu-bar-last-search-type): New var. (nonincremental-repeat-search-forward) (nonincremental-repeat-search-backward): Repeat string or regexp search depending on menu-bar-last-search-type. (nonincremental-search-forward, nonincremental-re-search-forward) (nonincremental-search-backward, nonincremental-re-search-backward): Set menu-bar-last-search-type to string or regexp. (nonincremental-repeat-re-search-forward): Removed. (nonincremental-repeat-re-search-backward): Removed. (menu-bar-replace-menu): New keymap for "Edit->Replace" submenu. (menu-bar-i-search-menu): New keymap for "Incremental Search" submenu. (menu-bar-adv-search-menu): Removed. (menu-bar-search-menu): Reorganized. (menu-bar-edit-menu): Added "Replace" submenu. 2002-09-15 Richard M. Stallman * scroll-bar.el (scroll-bar-mode): Specify :initialize. * menu-bar.el (menu-bar-make-mm-toggle): Don't put a quote before FNAME when it's not being evaluated. 2002-09-15 Markus Rost * dired.el (dired-move-to-filename): Fix previous change. 2002-09-14 Kim F. Storm * emulation/keypad.el (keypad-setup, keypad-shifted-setup) (keypad-numlock-setup, keypad-numlock-shifted-setup): Change `Remove Binding' option to `Unspecified/User-defined'. (keypad-setup): Enhance explanation of setup type `none'. 2002-09-14 Richard M. Stallman * time.el (display-time-mode): Set display-time-load-average here. (display-time-load-average): Initialize to nil. (display-time-default-load-average): Add "None" alternative. (display-time-update): Handle "None" alternative for load-average. * dired-aux.el (dired-bunch-files): Put the arg FILES back as it was after temporary destructive mods. (dired-add-entry): Use dired-insert-directory to handle indentation. Explicitly restore the line's marker character. Preserve the old file name's text properties. (dired-add-entry-do-indentation): Function deleted. (dired-relist-file): Doc fix. (dired-rename-file): Change argument names. (foo-rename-file): New function. (dired-do-hardlink): Use dired-hardlink. (dired-hardlink): New function. (dired-insert-subdir-doinsert): Use dired-insert-directory; that handles indentation, text props and header line. dired-readin-insert gets no args. Use `last' instead of `reverse'. * dired.el (dired-use-ls-dired): New variable. (dired-directory): Document the rules better. * dired.el (dired-insert-headerline): Function deleted. (dired-revert): Pass no args to dired-readin. (dired-move-to-filename): First try using dired-filename property. (dired-move-to-end-of-filename): Likewise. (dired-why): Try to show the start of this page of warnings. (dired-log): Insert the buffer name at start of page, not end. (dired-log-summary): If just one failure, explain it in echo area. * dired.el (dired-internal-noselect): Always set dired-directory, when buffer is not new. Pass dir-or-list, not dirname, to dired-mode. Call dired-readin with no args. Don't call dired-after-readin-hook here. (dired-find-buffer-nocreate): Expand dirname. Expand the dir from dired-directory to compare with dirname. (dired-readin): Take no args. Get the directory from dired-directory. Run dired-before-reading hook inside save-excursion. Run dired-after-readin-hook here. Don't make undo entries at all. Call dired-readin-insert with no args. Don't change indentation here. Don't insert headerline here. (dired-readin-insert): Take no args. Get dir and file-list from dired-directory. Call dired-insert-directory the new way. Don't insert "wildcard" info here. (dired-insert-directory): New arg FILE-LIST. First arg now DIR, always just the directory. This function fully handles setting up the buffer text: update indentation, insert headerline and "wildcard" info. Pass --dired arg if appropriate; put info in dired-filename props. Don't expand file names here. * warnings.el (display-warning): In batch mode, exclude the final newline from the arg to `message'. 2002-09-13 Markus Rost * files.el (diff-buffer-with-file): Check whether associated file exists. Display message for 1 second. Always return nil. 2002-09-13 Stefan Monnier * diff-mode.el (diff-mode): Turn on compilation-minor-mode support again, but more carefully this time. * progmodes/perl-mode.el (perl-mode-syntax-table): Mark $, % and @ such that backward-sexp correctly skips them. (perl-font-lock-keywords-2): Use regexp-opt. (perl-font-lock-syntactic-keywords) (perl-font-lock-syntactic-face-function): Better handle PODs. Handle package names with ' in them and ($$) in `sub' declarations. Handle format statements. Handle regexp and quote-like ops. (perl-empty-syntax-table): New var. (perl-quote-syntax-table): New fun. * pcvs.el (cvs-mode-find-file): Work even if point is at beg-of-line. (cvs-do-removal): Bind inhibit-read-only while modifying the buffer. * newcomment.el (comment-with-narrowing): Use the `declare' thingy. * derived.el (define-derived-mode): Properly ignore unknown args. * emacs-lisp/easy-mmode.el (define-minor-mode): Add a :require arg. Don't call the function during init if mode is on by default. * simple.el: Provide `simple'. (transient-mark-mode, line-number-mode, column-number-mode): Pass an explicit `:require nil' argument. 2002-09-13 Francesco Potortì * play/tetris.el (tetris-blank-options, tetris-cell-options): Remove various redundant `(t nil)'. * play/snake.el (snake-border-options): Use color on tty if available. * play/tetris.el (tetris-border-options): Likewise. * play/pong.el (pong-border-options): Likewise, plus reset color on tty to be [0.5 0.5 0.5]. 2002-09-13 Kim F. Storm * kmacro.el (kmacro-start-macro): Doc fix. 2002-09-13 Juanma Barranquero * progmodes/idlw-shell.el (idlwave-shell-cleanup): Fix reference to `idlwave-idlwave_routine_info-compiled'. * whitespace.el (whitespace-unload-hook): Call `remove-hook' with three arguments, not four. 2002-09-13 Kim F. Storm * kmacro.el (kmacro-keymap): Changed bindings: C-x C-k s to kmacro-start-macro, C-x C-k b to kmacro-bind-to-key. 2002-09-12 Richard M. Stallman * international/mule-cmds.el (universal-coding-system-argument): Read the coding system inside `interactive' spec, for command-history. 2002-09-12 Stefan Monnier * emacs-lisp/find-func.el (find-library-name): Don't forget the empty suffix. Fix stale variable name. * gud.el (gud-gdb-massage-args, gud-sdb-massage-args) (gud-pdb-massage-args): Delete. (gdb, sdb, pdb): Don't pass gud-*-massage-args any more. (gud-gdb-command-name): New var. Put "--fullname" in there. (gud-query-cmdline): Use the most recent executable as the default. Don't add "--fullname" (it's only valid/meaningful for GDB). (gud-xdb-marker-filter): Use match-string. (gud-perldb-massage-args): Don't add "-d". (gud-perldb-command-name): Add "-d". (gud-common-init): If `massage-args' is nil, don't call it. (gud-format-command): Don't hardcode point-min==1. * derived.el: Require CL when compiling. 2002-09-12 Simon Josefsson * mail/smtpmail.el (smtpmail-send-it): Don't use : in filenames (for cygwin). Suggested by Andrew Senior . Use expand-file-name. Also don't require time-stamp. 2002-09-11 Richard M. Stallman * derived.el (define-derived-mode): When making new abbrev table, don't try to copy the parent's abbrev table. * ruler-mode.el (ruler-mode-left-scroll-bar-cols): Always round scroll-bar-width parameter up. If it is nil, use 14. * abbrev.el (copy-abbrev-table): New function. 2002-09-11 Vinicius Jose Latorre * ps-print.el: Adjust ps-print-color-p, ps-default-fg and ps-default-bg setting. (ps-print-version): New version number (6.5.7). (ps-mark-active-p): New fun. (ps-print-preprint-region): Adjust code. 2002-09-11 Dave Love * international/mule.el (non-standard-designations-alist) (ctext-pre-write-conversion): Don't generate invalid extended segments for iso8859. * language/cyrillic.el ("Ukrainian"): Fix nonascii-translation. (cyrillic-alternativnyj-decode-table): Fix some entries. * international/ucs-tables.el: Fix last change. * international/utf-8.el (utf-8-fragment-on-decoding): Fix last change. 2002-09-11 Kim F. Storm * edmacro.el (edit-kbd-macro): Recognize new C-x e binding, kmacro-end-and-call-macro. 2002-09-11 Juanma Barranquero * newcomment.el (uncomment-region): Fix let/let* use. 2002-09-11 Simon Josefsson * time-stamp.el (time-stamp-hhmmss): New function. * gud.el (gud-gdb-massage-args): Don't secretly add -fullname. (gud-query-cmdline): Add --fullname to the user cmdline. * mail/smtpmail.el (smtpmail-default-smtp-server): Doc fix. 2002-09-11 Kim F. Storm * kmacro.el (kmacro-call-macro): Rephrase repeat prompt. (kmacro-step-edit-map): Bind "A" to `append-end'. (kmacro-step-edit-prompt): Fix prompt. (kmacro-step-edit-query): Handle `append-end' response. (kmacro-step-edit-pre-command): Activate `append-end' at end of macro when required. 2002-09-11 Stefan Monnier * derived.el (define-derived-mode): Fix typo. * menu-bar.el (line-number-mode, column-number-mode) (transient-mark-mode): Use minor mode directly. (menu-bar-make-toggle): Remove `props' arg. Move customize-mark-as-set directly into the toggle function. * whitespace.el (whitespace-global-mode): Use define-minor-mode. Use the new file hook names. (whitespace-describe): Remove. Move the text to `Commentary:'. (whitespace-unload-hook): Use the new file hook names. * finder.el (finder-find-library): Remove. (finder-commentary): Use find-library-name and add completion. * simple.el (transient-mark-mode, line-number-mode) (column-number-mode): Use define-minor-mode. (define-mail-user-agent): Delete. Moved to subr.el. * loadup.el ("simple.el"): Move to after loaddefs.el. * subr.el (define-mail-user-agent): Moved from simple.el. 2002-09-10 Richard M. Stallman * pcvs-info.el (cvs-check-fileinfo): Don't use boolp. (boolp): Function deleted. 2002-09-10 Dave Love * international/utf-8.el (ucs-mule-to-mule-unicode): Define unconditionally. (utf-8-fragmentation-table): New. Use it in top-level mapc. (utf-8-fragment-on-decoding): Use it to keep utf-8-translation-table-for-decode variable and translation table in sync. * international/ucs-tables.el: Bind utf-8-translation-table-for-decode when setting up tables and remove useless optimize-char-table. (ucs-mule-to-mule-unicode): Deleted. (ucs-unify-8859): Maybe optimize ucs-mule-to-mule-unicode. * international/utf-16.el (utf-16-le-pre-write-conversion) (utf-16-be-pre-write-conversion): Deleted. (mule-utf-16-le, mule-utf-16-be): Register encoding translation table. 2002-09-10 Richard M. Stallman * files.el (diff-buffer-with-file): Simplify. Don't signal an error if buffer has no file. Call sit-for after `diff' returns. * play/gamegrid.el (gamegrid-make-color-tty-face): Handle string as COLOR arg. (gamegrid-display-type): Don't assume display-color-p implies a color-x terminal. (gamegrid-hide-cursor): Set `cursor-type' local variable. * descr-text.el (describe-text-mode): Add font-lock-defontify to change-major-mode-hook. * ibuffer.el (ibuffer-mode): Add font-lock-defontify to change-major-mode-hook. * comint.el (comint-mode): Add font-lock-defontify to change-major-mode-hook. * info.el (Info-mode): Add font-lock-defontify to change-major-mode-hook. * replace.el (occur-mode): Add font-lock-defontify to change-major-mode-hook. * font-core.el (font-lock-defontify): New function. 2002-09-10 Richard M. Stallman * ps-print.el (ps-printer-name-option): Doc fix. 2002-09-10 Vinicius Jose Latorre * ps-print.el: Adjust ps-postscript-code-directory setting. XEmacs version check was adjusted. (ps-print-version): New version number (6.5.6). (ps-print-color-p, ps-page-dimensions-database): Autoload var. (ps-print-code, ps-print-preprint-region): Adjust code. 2002-09-10 Kai Großjohann * files.el (auto-mode-alist): ~/.gnus, ~/.viper are in emacs-lisp-mode, like ~/.emacs. 2002-09-10 Stefan Monnier * newcomment.el (uncomment-region): Be more careful with `='. 2002-09-10 Deepak Goel * play/doctor.el (doc//): Rename from `//'. Update callers. (doc$): Rename from `$'. Update callers. 2002-09-10 Miles Bader * simple.el (do-auto-fill): `fill-indent-according-to-mode' is a variable, not a function. * kmacro.el (kmacro-call-macro): Deal with a non-numeric prefix arg. 2002-09-10 Kim F. Storm * macros.el (apply-macro-to-region-lines): Let-bind mark-active to nil while executing macro to avoid triggering delete-selection-mode. * simple.el (keyboard-quit): Set defining-kbd-macro to nil to cancel defining keyboard macro when applicable. 2002-09-09 Markus Rost * simple.el (transient-mark-mode, line-number-mode) (column-number-mode): Undo previous change because of bootstrapping. 2002-09-09 Stefan Monnier * derived.el (define-derived-mode): Add keyword arguments. (derived-mode-make-docstring): Take abbrev and syntax table names. * font-core.el (font-lock-change-mode): Just turn off font-lock-mode. (font-lock-default-function): Change arg name. * cus-start.el (transient-mark-mode): Delete. Done in simple.el. * paren.el (show-paren-function): Use syntax-after. * emacs-lisp/syntax.el (syntax-after): Delete. Moved to subr.el. * subr.el (symbol-file): Also work for autoloaded funcs. (syntax-after): New fun moved from syntax.el. * find-file.el (ff-pre-find-hook, ff-pre-load-hook, ff-post-load-hook) (ff-not-found-hook, ff-file-created-hook): Rename from *-hooks. Update callers (but still run the old hooks as well). * emacs-lisp/find-func.el (find-library-suffixes, find-library-name) (find-library): New funs. (find-function-search-for-symbol): Use it. * emacs-lisp/bytecomp.el (byte-compile-file): Don't switch buffer. * isearch.el (isearch-cmds): Add docstring. (isearch-mouse-2): Lookup binding in the proper buffer. Use call-interactively and remove the now useless `arg'. (isearch-search-fun-function): New var. (isearch-search-fun): New fun. (isearch-search, isearch-lazy-highlight-search): Use it. 2002-09-09 Stefan Monnier * simple.el (what-line): Don't hard-code 1. (transient-mark-mode, line-number-mode, column-number-mode): Use define-minor-mode. (do-auto-fill): Only ignore prefix if it's really empty. 2002-09-09 Markus Rost * files.el (save-some-buffers-action-alist): Use lower case for help string of diff-buffer-with-file. 2002-09-09 Richard M. Stallman * calendar/calendar.el (mouse-scroll-calendar-left) (mouse-scroll-calendar-right, mouse-calendar-other-month): New commands. (calendar-mode-line-format): Use them. * emacs-lisp/bytecomp.el (byte-recompile-directory): Set and then bind default-directory. * startup.el (fancy-splash-head, normal-splash-screen): Change the messages that explain about GNU or GNU/Linux. * info.el (Info-search): Add (point-min) to subfile positions to get them right. Skip the current subfile using forward-line. * files.el (make-backup-file-name-1): When make-directory fails, ignore backup-directory-alist. (make-directory): Expand DIR before looking for handler. 2002-09-09 Jari Aalto * progmodes/cperl-mode.el (cperl-noscan-files-regexp): In addition to RCS, exclude CVS directories. * ls-lisp.el (ls-lisp-format-time-list): New variable. (ls-lisp-format-time): Use it. * files.el (auto-mode-alist): Use sh-mode for .bash files. 2002-09-09 Dave Love * ps-print.el: Many doc fixes. 2002-09-09 John Paul Wallington * play/doctor.el (doctor-cadr, doctor-caddr, doctor-cddr): Remove. Update callers. 2002-09-08 Markus Rost * diff.el (diff): Doc fix. 2002-09-08 Richard M. Stallman * emacs-lisp/bytecomp.el (byte-compile-delete-errors): Default to nil. * simple.el (undo-elt-in-region): Fix one-off error at END. (forward-visible-line): Handle invisibility by ignoring invisible newlines. Also include entire invisible lines beyond the stopping point. * cus-edit.el (custom-save-variables, custom-save-faces): Clarify the comments written into .emacs. 2002-09-08 Markus Triska * play/doctor.el (doctor-doc): Recognize question words and use qlist. Use doctor-shorten's return value. (doctor-shorten): Compute a return value, don't alter `sent'. (doctor-hates1): Add a question mark. (doctor-strangelove): Unused function deleted. 2002-09-08 Kim F. Storm * kmacro.el (kmacro-end-and-call-macro): New command to end and call keyboard macro in one step. Bind it to C-x e by default. (kmacro-call-macro): Use format-kbd-macro. (kmacro-step-edit-macro): New command to interactively step edit and execute last keyboard macro. (kmacro-keymap): Bind SPC [C-x C-k SPC] to kmacro-step-edit-macro. (kmacro-step-edit-mini-window-height): New custom var. (kmacro-step-edit-map): New keymap (parent is query-replace-map). (kmacro-step-edit-prefix-commands): New var. (kmacro-step-edit-prompt, kmacro-step-edit-query) (kmacro-step-edit-insert, kmacro-step-edit-pre-command) (kmacro-step-edit-minibuf-setup, kmacro-step-edit-post-command): New aux functions for step editing keyboard macros. * subr.el (read-quoted-char): Apply listify-key-sequence to vector returned by this-single-command-raw-keys before appending it to unread-command-event. 2002-09-07 Colin Walters * progmodes/compile.el (compile-internal): Add optional argument no-async. * diff.el (diff): Add optional argument no-async, and use the above argument. * files.el (diff-buffer-with-file): Call diff synchronously, so we don't delete the temporary file before diff has a chance to read it. * ibuf-ext.el (ibuffer-diff-with-file): Just call `diff-buffer-with-file'. 2002-09-07 John Paul Wallington * emacs-lisp/cl-indent.el (extended-loop-p): Doc fix. * emacs-lisp/find-func.el (find-function-recenter-line): Add custom type. Doc fix. 2002-09-06 Stefan Monnier * menu-bar.el (menu-bar-make-mm-toggle): New macro. (showhide-menu-bar, showhide-toolbar, menu-bar-toggle-auto-compression) (toggle-highlight-paren-mode, toggle-global-lazy-font-lock-mode): Remove. Use the minor mode function directly instead. (menu-bar-mode): Add message and customize-mark-as-set and return the new value as do other minor modes. * edmacro.el (edmacro-subseq): Don't use cl-push/cl-pop. 2002-09-06 Simon Marshall * progmodes/etags.el (find-tag-tag, complete-tag): Bind completion-ignore-case based on tags-case-fold-search, so that case-sensitivity of tag completion matches that of tag search. 2002-09-06 Juanma Barranquero * calendar/solar.el (calendar-time-display-form): Fix spacing. * double.el (double-prefix-only): Likewise. * emacs-lisp/easymenu.el (easy-menu-define): Likewise. * emacs-lisp/find-func.el (find-function-search-for-symbol): Likewise. * emacs-lisp/float.el (string-to-float): Likewise. * emacs-lisp/rx.el (rx): Likewise. * faces.el (copy-face): Likewise. * hilit-chg.el (highlight-changes-colours) (highlight-changes-active-string) (highlight-changes-passive-string) (highlight-changes-rotate-faces, global-highlight-changes): Likewise. * international/mule.el (decode-char): Likewise. * progmodes/idlwave.el (idlwave-support-inheritance) (idlwave-routine-entry-compare): Likewise. * progmodes/idlw-shell.el (idlwave-shell-use-breakpoint-glyph): Likewise. * progmodes/pascal.el (pascal-start-keywords): Likewise. * progmodes/sh-script.el (sh-indent-for-fi, sh-indent-for-done): Likewise. * progmodes/vhdl-mode.el (vhdl-progress-interval) (vhdl-corresponding-begin): Likewise. * simple.el (choose-completion-string-functions): Likewise. * textmodes/reftex.el (reftex-TeX-master-file): Likewise. * textmodes/fill.el (fill-nonuniform-paragraphs) (fill-individual-paragraphs): Likewise. * vcursor.el (vcursor-toggle-vcursor-map): Likewise. * warnings.el (warning-level-aliases): Likewise. * speedbar.el (speedbar-mode): Fix spacing and typos. * textmodes/reftex-vars.el (reftex-label-menu-flags): Fix typo. 2002-09-05 Markus Rost * textmodes/table.el (table-command-prefix): Fix type. 2002-09-05 Andre Spiegel * vc-hooks.el: Don't require vc.el at compile-time; it causes recursive requirements during bootstrap. 2002-09-05 Kenichi Handa * international/mule.el (decode-char): Cancel the previous change. 2002-09-04 Mats Lidell (tiny change) * language/european.el ("Swedish"): New set-language-info-alist call. 2002-09-04 Richard M. Stallman * help-fns.el (help-with-tutorial): Properly set up completion-reference-buffer in the *Completion* buffer. 2002-09-04 John Paul Wallington * startup.el (use-fancy-splash-screens-p): If `fancy-splash-frame' returns nil, return nil. 2002-09-04 Andre Spiegel * vc-hooks.el: Require vc.el at compile-time. (vc-workfile-unchanged-p, vc-default-workfile-unchanged-p): Moved here from vc.el. * vc.el (vc-workfile-unchanged-p, vc-default-workfile-unchanged-p): Moved to vc-hooks.el. * vc-rcs.el (vc-rcs-state): Don't require vc.el. 2002-09-04 Kenichi Handa * international/mule.el (decode-char): Translate a character by utf-8-translation-table-for-decode only when utf-8-fragment-on-decoding is non-nil. 2002-09-02 Stefan Monnier * textmodes/text-mode.el (paragraph-indent-text-mode-abbrev-table) (paragraph-indent-text-mode-syntax-table, paragraph-indent-text-mode): Use text-mode's syntax-table and abbrev-table. (text-mode): Set require-final-newline to t. * newcomment.el (comment-make-extra-lines): Only use the dummy `=' char when there's really nothing else. Don't remove spaces if it leads to an incorrect comment. * pcvs.el (cvs-run-process): Use a pty rather than a pipe to work around the cvs/ssh/libc bug. (cvs-update-header): Understand `cvs admin -m:' syntax. (defun-cvs-mode): Use the new `declare' thingy. (cvs-edit-log-text-at-point, cvs-mode-edit-log, cvs-do-edit-log) (cvs-edit-log-minor-wrap, cvs-edit-log-filelist): New funs. (cvs-mode-undo): Use `cvs add' for (CONFLICT. REMOVED). * pcvs-parse.el (cvs-parse-table): Create a `need-update' node rather than a message for new directories. (cvs-parse-status): Add support for `Entry Invalid'. * smerge-mode.el (smerge-diff-buffer-name): Default to *vc-diff*. (smerge-combine-with-next): New function. (smerge-diff): Don't output `wrote /tmp/foo' messages. Insert message if no diffs were found. * mail/sendmail.el (mail-mode): Don't set local-abbrev-table. (mail-mode-abbrev-table): Set to text-mode-abbrev-table. 2002-09-02 Kai Großjohann * net/tramp.el: Version 2.0.15 released. (require 'base64): Most modern Emacsen have the base64 encode/decode functions built in, so test to see if they are bound before we go blindly requiring base64.el. From Steve Youngs . (tramp-feature-write-region-fix): XEmacs doesn't have a 'find-operation-coding-system' and this variable doesn't seem to be used anywhere so wrap it in (unless (featurep 'xemacs)). From Steve Youngs . (tramp-methods): Remove duplicate definition of ssh1-old and ssh2-old. (tramp-open-connection-su): Use user name "root" if no user name is given. From Michael Albinus : * net/tramp.el (tramp-invoke-ange-ftp): (tramp-ange-ftp-file-name-p): Check for XEmacs. (tramp-do-copy-or-rename-file): Don't pass KEEP-DATE to tramp-invoke-ange-ftp 'rename. (tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to tramp-invoke-ange-ftp 'write-region. (tramp-handle-set-file-modes): Change order of FILENAME and MODE passing to tramp-invoke-ange-ftp 'set-file-modes. (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp' must be called again after activating `ange-ftp'. 2002-09-02 Kim F. Storm * ido.el (ido-ignore-item-temp-list): New variable. (ido-read-internal): Don't set ido-default-item if the default is member of ido-ignore-item-temp-list. Don't return first match for C-j if no text is entered. (ido-buffer-internal): Check for empty string return. (ido-make-buffer-list1): Use member instead of memq. (ido-window-buffer-p): Likewise. (ido-get-bufname): Ignore buffers on ido-ignore-item-temp-list. (ido-ignore-item-p): Ignore items on ido-ignore-item-temp-list. * replace.el (multi-occur): Made "ido-aware": Changed prompt to use C-j instead of RET to end. Set ido-ignore-item-temp-list to the selected buffers so far, so they are automatically excluded from the list of choices. Use add-to-list instead of push. 2002-09-01 Richard M. Stallman * term/x-win.el (function-key-map): Define S-iso-lefttab. 2002-09-01 Kim F. Storm * edmacro.el (edit-kbd-macro): Recognize new default binding for C-x e in addition to old binding. 2002-09-01 Mario Lang * files.el (save-some-buffers-action-alist): New variable. (save-some-buffers): Use that. (diff-buffer-with-file): New function. 2002-09-01 Richard M. Stallman * ruler-mode.el (defgroup ruler-mode): Use `convenience' as parent. * dired.el (defgroup dired): Use `files' as parent. (dired-get-filename): Ignore handler if it has safe-magic prop. * jka-compr.el (jka-compr-handler): Add safe-magic property. 2002-08-31 Richard M. Stallman * simple.el (kill-line): Use end-of-visible-line to determine if rest of line is blank. (end-of-visible-line): Cope if end-of-line moved back over invisible intangible chars at end of line. * simple.el (completion-setup-function): Don't use directory-sep-char. 2002-09-01 Glenn Morris * progmodes/f90.el (f90-menu): Remove ":active" keyword where not needed. (f90-menu, f90-add-imenu-menu): Use lookup-key. Remove (eval-when-compile) for free variables. 2002-08-31 Andreas Schwab * font-core.el (font-lock-change-mode): Avoid changing buffer state in any way. 2002-08-30 Stefan Monnier * emacs-lisp/easymenu.el (easy-menu-filter-return): Handle the case where the filter returns a single menu entry. (easy-menu-add): Improve docstring. (easy-menu-current-active-maps): Remove. (easy-menu-get-map): Use current-active-maps. * cus-edit.el (custom-unlispify-menu-entry): Don't remove the -p prefix from variables since they shouldn't have it anyway. (custom-group-menu-create, customize-menu-create): Only cdr if applicable, since custom-menu-create might return a vector (i.e. a single menu entry). 2002-08-30 Edward M. Reingold * calendar/diary-lib.el (diary-mail-entries): Don't overwrite user's value of diary-list-include-blanks, but generate message instead if there are no entries. 2002-08-30 ARISAWA Akihiro (tiny change) * ps-print.el (ps-lp-system): Fixed typo in `usg-unix-v'. 2002-08-30 Markus Rost * menu-bar.el (menu-bar-read-mail): Doc fix. 2002-08-30 John Paul Wallington * ibuffer.el (ibuffer-update): Revert expansion of `caddr'. (ibuffer-fontification-alist): Check hidden buffer case isn't visiting a file and change its face to italic. 2002-08-30 Juanma Barranquero * replace.el (occur-mode): Add interactive declaration. * bs.el (bs-message-without-log): Fix typo. * font-core.el (font-lock-defaults): Likewise. * font-lock.el (font-lock-add-keywords): Likewise. * mouse-copy.el (mouse-copy-work-around-drag-bug): Likewise. * textmodes/bibtex.el (bibtex-mode): Likewise. * emulation/viper-ex.el (ex-compile-command): Likewise. * progmodes/idlwave.el (idlwave-max-extra-continuation-indent): Likewise. * progmodes/dcl-mode.el (dcl-calc-cont-indent-relative): Likewise. * allout.el (my-mark-marker): Likewise. 2002-08-30 Simon Josefsson * mail/smtpmail.el (smtpmail-via-smtp): Delete process buffer unless s-debug-info is enabled. 2002-08-29 John Paul Wallington * ibuffer.el (ibuffer-update): Use `minibufferp'. Expand `caddr'. * mwheel.el (mouse-wheel-up-button): Doc fix. 2002-08-29 Juanma Barranquero * replace.el (occur-mode-hook): New hook. (occur-mode): Use it. (occur-hook): Set default to nil. 2002-08-29 Stefan Monnier * net/ange-ftp.el: Use match-string and drop useless `function's. (ange-ftp-get-process): Bind `ange-ftp-this-user' and `ange-ftp-this-host' before running ange-ftp-process-startup-hook. (ange-ftp-ls-parser): Use `switches' arg instead of dynamic binding. (ange-ftp-parse-dired-listing): Update the calls. (dired-local-variables-file): Declare to shut quieten the compiler. (ange-ftp-file-entry-active-p): Remove. (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion): Don't exclude dangling symlinks. (ange-ftp-file-name-completion-1): Make predicate optional. (ange-ftp-parse-list-func-alist): Use add-to-list to update. (ange-ftp-fix-name-for-bs2000): Use subst-char-in-string. (ange-ftp-bs2000-posix-hook-installed): Remove. (ange-ftp-add-bs2000-posix-host): Don't use it anymore. (ange-ftp-bs2000-cd-to-posix): Use `ange-ftp-this-user' and `ange-ftp-this-host' instead of `user' and `host'. 2002-08-29 Richard M. Stallman * emacs-lisp/bytecomp.el (byte-compile-warning-prefix): Decide here whether to print which form we're compiling. If we do that, still print file and line. Make file name relative to default-directory. Print fewer newlines. (byte-compile-log-file): Print something even if no file. Print messages for entering and leaving directories, and set default-directory. (displaying-byte-compile-warnings): Only sometimes bind warning-series. (byte-compile-warning-series): New function. (byte-compile-file): Set byte-compile-last-logged-file, don't bind it. (byte-compile-display-log-head-p): Function deleted. * warnings.el (warning-series): Now can be a marker, not an integer. (display-warning): Handle new value for warning-series. * emacs-lisp/bytecomp.el (byte-compile-log-file): Use \f. (byte-compile-cl-warn): Add cl-macroexpand-all, cl-compiling-file to don't-warn list. 2002-08-29 Kim F. Storm * kmacro.el: Change default bindings from F7/F8 to F3/F4. Change default binding of C-x e to kmacro-end-or-call-macro. (kmacro-call-repeat-key, kmacro-call-repeat-with-arg): New custom variables. (kmacro-get-prefix-arg): New function. (kmacro-repeat-on-last-key): Rename from kmacro-repeat-loop and improve. Callers changed. (kmacro-call-macro): Repeat macro by repeating last key or key defined in kmacro-call-repeat-key. New third arg non-nil means to end current macro. (kmacro-end-or-call-macro): Call kmacro-call-macro appropriately to get repeat last key functionality. (kmacro-start-macro-or-insert-counter): Improve doc string. 2002-08-28 Luc Teirlinck * files.el (find-buffer-visiting): Compare file attributes using buffer-file-truename. 2002-08-28 Richard M. Stallman * files.el (make-auto-save-file-name, make-backup-file-name-1): Don't use directory-sep-char. 2002-08-28 Juanma Barranquero * replace.el (occur-hook): Renamed from `occur-mode-hook'. (occur-mode): Remove call to `occur-mode-hook'. (occur-rename-buffer): Fix reference to `occur-mode-hook' in docstring. (occur-1): Add call to `occur-hook'. * subr.el (make-variable-frame-localizable): Alias for `make-variable-frame-local'. 2002-08-28 Miles Bader * rfn-eshadow.el (read-file-name-electric-shadow-properties) (read-file-name-electric-shadow-tty-properties) (read-file-name-electric-shadow-mode): Remove compatibility defs. * comint.el (comint-carriage-motion): Start at START. 2002-08-27 Francesco Potortì * net/ange-ftp.el (ange-ftp-skip-msgs): Skip the 530 response given by vsFTPd when accessed with a kerberised FTP client. 2002-08-27 Richard M. Stallman * files.el (find-alternate-file): Bind kill-buffer-query-functions locally, don't set it. 2002-08-27 Andreas Schwab * kmacro.el (kmacro-start-macro): Doc fix. 2002-08-27 Carsten Dominik * textfile/reftex-ref.el (reftex-goto-label): New command. * textfile/reftex-vars.el (reftex-part-resets-chapter): New option. * textfile/reftex-parse.el (reftex-roman-number): New function. (reftex-section-number): Better handling of parts: No chapter counter resets. * textfile/reftex.el (reftex-highlight-overlays): Added a third overlay. (reftex-mode-menu): Added entry for `reftex-toc-recenter. Also moved `reftex-reset-mode' to top level. * textfile/reftex-toc.el (reftex-toc-recenter): New command. (reftex-toc-pre-command-hook): Don't remove highlight overlay. (reftex-toc-post-command-hook): Use overlay no 2 for highlighting. * textfile/reftex-sel.el (reftex-get-offset): Get offset of document pointer *before* position, not after. (reftex-insert-docstruct): Get offset of document pointer *before* position, not after. * textfiles/reftex-parse.el (reftex-where-am-I): Prefer marker match over section title match. * textfiles/reftex-cite.el (reftex-bib-or-thebib): New function which determines on a per-file-basis if BibTeX is being used locally for citations. (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better cooperation with chapterbib. (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for better cooperation with chapterbib. * textfiles/reftex-dcr.el (reftex-view-cr-cite): Use `reftex-bib-or-thebib' for better cooperation with chapterbib. 2002-08-26 Kim F. Storm * subr.el (suppress-keymap): Use command remapping instead of substitute-key-definition to undefine self-inserting keys. 2002-08-26 Juanma Barranquero * makefile.w32-in (WINS): Add calc and obsolete. 2002-08-26 Stefan Monnier * emacs-lisp/easy-mmode.el (define-minor-mode): Use customize-mark-as-set for global minor modes. 2002-08-25 Miles Bader * rfn-eshadow.el (file-name-shadow-properties-custom-type): Renamed from `read-file-name-electric-shadow-properties-custom-type'. Change name of face. (file-name-shadow-properties): Renamed from `read-file-name-electric-shadow-properties'. (file-name-shadow-tty-properties): Renamed from `read-file-name-electric-shadow-tty-properties'. (file-name-shadow): Renamed from `read-file-name-electric-shadow'. (rfn-eshadow-setup-minibuffer): Update references to renamed variables. (file-name-shadow-mode): Renamed from `read-file-name-electric-shadow-mode'. Update references to renamed variables. 2002-08-24 Sam Steingold * subr.el (eval-after-load): Do not call load-symbol-file-load-history (deleted yesterday). 2002-08-24 John Paul Wallington * startup.el (normal-splash-screen): Ensure splash buffer is killed. Use tabs in output. Fix test whether previous buffer was *scratch* buffer. * progmodes/simula.el (simula-abbrev-keyword-default) (simula-abbrev-keyword, simula-abbrev-stdproc-default) (simula-abbrev-stdproc): Doc fix - escape open parens in column 0. * apropos.el (command-apropos): Use `defalias' instead of `fset'. * mail/rmail.el (rmail-speedbar-match-folder-regexp): Doc fix. 2002-08-24 Glenn Morris * progmodes/f90.el (f90-xemacs-flag, f90-xemacs-menu) (f90-menu-bar-menu, f90-change-case-menu, f90-font-lock-on) (f90-font-lock-off, f90-font-lock-menu): Delete. Use easy-menu-define instead. (f90-mode): Use easy-menu-add. No longer (require 'imenu) when compiling. (f90-mark-subprogram, f90-indent-region, f90-fill-region) (f90-abbrev-start): Use fboundp. (f90-imenu-flag): Delete - use imenu--index-alist instead. 2002-08-23 Richard M. Stallman * loadhist.el (unload-feature): Distinguish functions from variables in load-history. (feature-symbols): Doc fix. * files.el (ange-ftp-completion-hook-function): Add safe-magic prop. * subr.el (symbol-file-load-history-loaded) (load-symbol-file-load-history): Deleted. (symbol-file): Don't call load-symbol-file-load-history. 2002-08-23 Andre Spiegel * vc-hooks.el (vc-kill-buffer-hook): Add it to kill-buffer-hook again. 2002-08-22 Katsumi Yamaoka * frame.el (select-frame-by-name, select-frame-set-input-focus): Always call x-focus-frame, if using x. Use set-mouse-position on all systems, if focus-follows-mouse. 2002-08-22 Kai Großjohann * net/tramp.el: Version 2.0.14 released. (tramp-shell-prompt-pattern): New variable. (tramp-actions-before-shell, tramp-multi-actions) (tramp-find-shell, tramp-open-connection-multi) (tramp-open-connection-setup-interactive-shell): Use it. (tramp-open-connection-telnet, tramp-open-connection-rsh) (tramp-open-connection-su): Mention `tramp-shell-prompt-pattern' in the docstring. (tramp-bug): Report `tramp-shell-prompt-pattern'. (tramp-process-one-multi-action, tramp-process-one-action): Make message clearer so people don't confuse it with Emacs asking them a question if the regexp happens to end with "?". (tramp-verbose): Change default value from 10 to 9. Also change some logging levels so that 10 is reserved for stuff which is needed for debugging only, but 9 catches everything that people might like to see in order to see that Tramp is actually working. 2002-08-22 Kim F. Storm * emacs-lisp/authors.el (authors-aliases, authors-fixed-entries): Corrected spelling mistakes (for Joseph Arceneaux). 2002-08-21 Glenn Morris * progmodes/f90.el: eval-when-compile a few defvars. (f90-xemacs-flag): Wrap in eval-and-compile. (f90-font-lock-keywords): Doc fix. (f90-mode-abbrev-table): Work with or without 6th arg of define-abbrev. (f90-mark-subprogram-overlay): Variable deleted. (f90-mark-subprogram): Remove overlay bit. Don't be silent about pushing mark. (f90-abbrev-start): unread-command-event is obsolete in XEmacs. 2002-08-21 Kai Großjohann * net/tramp.el: Version 2.0.13 released. (tramp-handle-write-region): Don't check to see if remote end is awake after sending data to remote host: we want to send "EOF" not "echo are you awake"... (tramp-maybe-open-connection): Swap args for tramp-time-diff. (tramp-yn-prompt-regexp): New variable. (tramp-action-yn): New function, using it. (tramp-feature-write-region-fix): New internal variable. Not yet used. Should be used in `tramp-handle-write-region'. 2002-08-21 Kim F. Storm * bindings.el (mode-line-format): Moved global-mode-string last. (mode-line-position): Moved %p first. Added padding to %l/%c to eliminate jumpiness in modeline. Use (%l,%c) format if both line-number-mode and column-number-mode are enabled. 2002-08-20 Martin Stjernholm * progmodes/cc-engine.el (c-forward-syntactic-ws): Fixed a bug that could cause an infinite loop if something that looks like a macro begins in the middle of a line. * progmodes/cc-engine.el (c-parse-state): Fixed a bug that could cause `c-state-cache' to contain two conses in sequence when there's an unbalanced open paren in a macro. 2002-08-20 Glenn Morris * progmodes/fortran.el (fortran-current-defun): Use save-excursion. * imenu.el (imenu--generic-function): Use mapc. (imenu-syntax-alist): Doc fix. 2002-08-20 Richard M. Stallman * font-core.el (font-lock-change-mode): New function. (font-lock-mode): Use font-lock-change-mode instead of font-lock-unfontify-buffer. (font-lock-maximum-size, font-lock-verbose): Add defvars. 2002-08-20 Carsten Dominik * textfiles/reftex-cite.el (reftex-bib-or-thebib): New function which determines on a per-file-basis if BibTeX is being used locally for citations. (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better cooperation with chapterbib. (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for better cooperation with chapterbib. * textfiles/reftex-dcr.el (reftex-view-cr-cite): Use `reftex-bib-or-thebib' for better cooperation with chapterbib. 2002-08-20 Kim F. Storm * kmacro.el: Major rework based on discussions with RMS. Most important change is that C-x C-k is now bound to a keymap with keyboard macro related commands. The original binding on C-x C-k is moved to C-x C-k e. * binding.el: Remove macro related bindings (now in kmacro.el). * edmacro.el: Remove C-x C-k binding (now in kmacro.el). 2002-08-19 Stefan Monnier * help-fns.el (help-split-fundoc): Replace the function name from the docstring with the one that should be displayed. (help-make-usage): Understand CL style arglists. (describe-function-1): Adapt to the new behavior of help-split-fundoc. (describe-variable): Use delete-region. 2002-08-19 Kenichi Handa * international/mule.el (sgml-xml-auto-coding-function): Call re-search-forward with NOERROR t. 2002-08-19 Miles Bader [original idea from Luc Teirlinck ] * comint.el (comint-inhibit-carriage-motion): New variable. (comint-carriage-motion): Argument STRING removed. New arguments START and END; interpret characters between START and END rather than using special comint state. (comint-output-filter): Call `comint-carriage-motion'. (comint-output-filter-functions): Don't add `comint-carriage-motion'. * ielm.el (inferior-emacs-lisp-mode): Give `comint-inhibit-carriage-motion' a local value of t. 2002-08-18 Richard M. Stallman * textmodes/table.el: New file. * font-core.el (font-lock-mode): Set change-major-mode-hook locally. 2002-08-18 Andreas Schwab * ibuf-ext.el (ibuffer-list-buffer-modes): Doc fix. 2002-08-17 Carsten Dominik * textmodes/reftex.el (reftex-mode): Create special syntax tables. (reftex-syntax-table): Set a default in case this is being used outside a LaTeX file. (reftex-syntax-table-for-bib): Set a default in case this is being used outside a LaTeX file. 2002-08-17 Richard M. Stallman * tar-mode.el (tar-subfile-mode): Use add-hook and remove-hook, and use write-file-functions instead of local-write-file-hooks. (tar-untar-buffer): Don't try to extract directories. * menu-bar.el (fringe-mode): Set to nil. * mail/rmail.el (rmail-search-mime-header-function): Doc fix. 2002-08-15 Richard M. Stallman * calendar/appt.el (appt-delete): Use substring-no-properties. (appt-make-list): Don't use prin1-to-string; use the string unchanged. 2002-08-15 Jan Nieuwenhuizen * server.el (server-process-filter): Simplify code. (server-goto-line-column): New function. (server-visit-files): Use server-goto-line-column. Offer to revert only if file has changed. 2002-08-15 Richard M. Stallman * files.el (recover-this-file): New function. (after-find-file): Recommend recover-this-file. * font-core.el (font-lock-mode): Add font-lock-unfontify-buffer to change-major-mode-hook when font lock is enabled. * simple.el (toggle-truncate-lines): Force redisplay. Display status message. 2002-08-15 Carsten Dominik * textmodes/reftex.el (reftex-mode): Moved the creation of special syntax tables to top-level. 2002-08-15 David Kastrup * net/ange-ftp.el (ange-ftp-wipe-file-entries): Fix type mismatch; use `hash-table-size' instead of `length'. 2002-08-14 Stefan Monnier * help-fns.el (locate-library): Use locate-file(-completion). (help-split-fundoc): Tighten the regexp and recognize a usage-info where the function name is `fn'. (help-function-arglist): Follow aliases and macros. (describe-function-1): Use keymapp. If the docstring contains a usage info, use it even if the function is not a subroutine. Find usage info in aliases' docstring if necessary. (describe-variable): Get the value before setting up the *Help* buffer. * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Use find-file-hook instead of find-file-hooks. (define-minor-mode): Get rid of this silly `togglep'. Add an explicit `toggle' argument (used for interactive calls). Emit a warning when a nil argument turns the mode off. * language/ethio-util.el (setup-ethiopic-environment-internal) (exit-ethiopic-environment): Use find-file-hook and write-file-functions instead of find-file-hooks and write-file-hooks. * window.el (handle-select-window): Don't do anything if the window has disappeared since the event was generated. (split-window-save-restore-data): Use push and with-current-buffer. * saveplace.el: * play/meese.el: * obsolete/hilit19.el: * completion.el (dynamic-completion-mode): * emacs-lisp/find-func.el (find-function-search-for-symbol): Use find-file-hook instead of find-file-hooks. * imenu.el (imenu-always-use-completion-buffer-p): Make obsolete. (imenu-use-popup-menu, imenu-eager-completion-buffer): New vars. (imenu-space-replacement): Allow nil value. (imenu--completion-buffer): Use new vars and simplify. Fix handling of minibuffer-setup-hook. Use minibuffer-completion-help instead of rolling our own. (imenu-choose-buffer-index): Use the new var. * startup.el (command-line): Load custom-file if not done yet. 2002-08-14 Kenichi Handa * select.el (xselect-convert-to-string): If TYPE is non-nil, encode the selection data string. Always return cons of type and string. (selection-converter-alist): Add (UTF8_STRING . xselect-convert-to-string). 2002-08-12 Stefan Monnier * newcomment.el (comment-region): Force `lines' when `block' is set. 2002-08-12 Richard M. Stallman * menu-bar.el (menu-bar-next-tag-other-window, menu-bar-next-tag) (menu-bar-right-scroll-bar, menu-bar-left-scroll-bar) (menu-bar-no-scroll-bar, menu-bar-toggle-auto-compression) (menu-bar-toggle-cua-mode, menu-bar-read-mail) (menu-bar-help-extra-packages, help-with-tutorial-spec-language) (menu-bar-text-mode-auto-fill): New commands, used in menu bar menus instead of lambda expressions. (menu-bar-showhide-fringe-menu-customize-left) (menu-bar-showhide-fringe-menu-customize-right) (menu-bar-showhide-fringe-menu-customize-disable) (menu-bar-showhide-fringe-menu-customize-reset): Doc fixes. (menu-bar-options-menu): Use toggle-truncate-lines. (showhide-date-time): Call customize-mark-as-set. * emacs-lisp/find-func.el (find-function-search-for-symbol): Obey `definition-name' properties. * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Put `definition-name' properties on the functions whose names are constructed. * textmodes/page-ext.el (pages-target-buffer): Add defvar. Renamed from target-buffer. (pages-directory, pages-copy-header-and-position): Uses changed. * calendar/appt.el (appt-make-list): Correct the parsing of each appointment from time-string. 2002-08-12 Stefan Monnier * scroll-all.el (scroll-all-mode): Use define-minor-mode. (scroll-all-mode) : Delete. (running-xemacs): Delete. (minor-mode-alist): Don't manipulate it directly. 2002-08-10 Kenichi Handa * international/mule-cmds.el (search-unencodable-char): New function. (select-safe-coding-system): Show unencodable characters. (unencodable-char-position): Deleted, and implemented in C in coding.c. 2002-04-09 John Wiegley * esh-util.el: Removed eshell-under-cygwin-p, and all uses of it. * em-cmpl.el (eshell-cmpl-ignore-case): Ditto. * em-dirs.el (eshell/cd): Ditto. * em-glob.el (eshell-glob-case-insensitive): Ditto. * em-hist.el (eshell-previous-matching-input-string-position): Ditto. * esh-ext.el (eshell-binary-suffixes): Ditto. 2002-08-09 Richard M. Stallman * textmodes/page-ext.el (pages-directory-mode): Undo previous change. * simple.el (set-variable): Give locality status in prompt. 2002-08-09 Benjamin Rutt * simple.el (set-variable): If given a prefix argument, set variable buffer-locally. 2002-08-09 John Paul Wallington * font-core.el (font-lock-function): Make it buffer-local. 2002-08-08 Richard M. Stallman * emacs-lisp/checkdoc.el (checkdoc, checkdoc-interactive) (checkdoc-message-interactive, checkdoc-interactive-loop) (checkdoc-current-buffer, checkdoc-continue, checkdoc-comments) (checkdoc-defun): Update checkdoc-spellcheck-documentation-flag correctly. (checkdoc-ispell-docstring-engine): Don't test for checkdoc-autofix-flag = nil. 2002-08-07 John Paul Wallington * xt-mouse.el (xterm-mouse-mode): Make it a global mode. * wid-browse.el (widget-minor-mode): Fix doc typo. 2002-08-07 Kai Großjohann * net/tramp.el: Version 2.0.12 released. (tramp-find-shell, tramp-open-connection-setup-interactive-shell): Comment out possibly obsolete "echo hello" commands. (tramp-run-real-handler): If operation is `ange-ftp-hook-function', use first arg as the real operation. (tramp-check-ls-commands): Use / instead of \ as directory separator. (Relevant for XEmacs on Windows.) (tramp-maybe-open-connection): Use tramp-wait-for-output when waiting for the "are you awake" command. Use a different string for the "are you awake" command. (tramp-send-command): New optional arg NEVEROPEN means to never invoke tramp-maybe-open-connection. (tramp-maybe-open-connection): Use it 2002-08-07 Richard M. Stallman * warnings.el (warning-prefix-function, warning-series) (warning-fill-prefix, warning-group-format): Add autoload cookies. 2002-08-07 Kenichi Handa * international/mule-cmds.el (select-safe-coding-system): Call pop-to-buffer inside save-window-excursion and save-excursion. 2002-08-06 John Paul Wallington * help-fns.el (describe-function-1): Skip arglist note if function's definition is a keymap. 2002-08-06 Sam Steingold * calendar/diary-lib.el (diary-mail-entries): Use `compose-mail' and `mail-user-agent' instead of straight sendmail. (diary-modified, diary-entries-list, displayed-year) (displayed-month, entry, date, number, date-string, d-file) (original-date): Defvar without binding to avoid compiler warnings. 2002-08-05 Alan Shutko * ibuffer.el (ibuffer-mode-map): Added ibuffer-filter-by-used-mode. (ibuffer-mode-map): Added ibuffer-filter-by-used-mode. (ibuffer-mode): Added ibuffer-filter-by-used-mode to doc string. * ibuf-ext.el (ibuffer-list-buffer-modes): New. (ibuffer-filter-by-used-mode): New. 2002-08-05 John Paul Wallington * ediff-util.el (ediff-copy-list): Use `defalias' instead of `fset' and `symbol-function'. 2002-08-05 John Wiegley * pcomplete.el (pcomplete-entries): Don't set `above-cutoff' to a value unless pcomplete-cycle-cutoff-length is non-nil. 2002-04-09 John Paul Wallington * esh-util.el (eshell-under-cygwin-p): New function. * em-cmpl.el (eshell-cmpl-ignore-case): Use it. * em-dirs.el (eshell/cd): Ditto. * em-glob.el (eshell-glob-case-insensitive): Ditto. * em-hist.el (eshell-previous-matching-input-string-position): Ditto. * esh-ext.el (eshell-binary-suffixes): Ditto. 2002-08-05 Richard M. Stallman * international/mule-cmds.el (select-safe-coding-system): Check for non-nil CODING-SYSTEM before warning it disagrees with AUTO-CS. * net/ange-ftp.el (ange-ftp-smart-gateway): Doc fix. 2002-08-05 Gerd Moellmann * image.el (image-jpeg-p): Accept "Exif" marker. 2002-08-05 Kai Großjohann * net/tramp.el: Version 2.0.11 released. (tramp-perl-file-attributes): Print uid and gid as signed integers. (tramp-invoke-ange-ftp): Correct check for Ange-FTP being loaded. Invoke Ange-FTP with tramp-run-real-handler to avoid Ange-FTP calling Tramp again. (tramp-find-file-exists-command): Check for `ls -d' last, after all the variants on `test -e'. (tramp-post-connection): Erase buffer before finding a command to check if file exists. 2002-08-05 David Kastrup * calc/calc.el (math-format-stack-value): Revert a broken if->when replacement and reformat so that this does not happen again. Fixes a pretty lethal line formatting/yanking bug. 2002-08-04 John Paul Wallington * startup.el (fancy-splash-frame): Check selected frame last. 2002-08-04 Kai Großjohann * net/tramp.el: Version 2.0.10 released. (tramp-uudecode): New shell function `tramp_uudecode' to decode to standard output even if `uudecode -p' and `uudecode -o -' don't work. (tramp-post-connection): After finding the right shell, wait a bit. This is a kludge to avoid a race condition, even though I don't understand why there is a race condition in the first place. (tramp-post-connection): Install the `tramp_uudecode' shell function on the remote host. (tramp-coding-commands): Add an alternative for `tramp_uudecode'. (tramp-bug): Include more variables in the report. 2002-08-04 Kai Großjohann * net/tramp.el: Version 2.0.9 released. (tramp-bug): Add wording about additional info to include in bug report. (tramp-find-shell): Set $PS1 for invocation of second shell (for tilde expansion). (tramp-find-shell): Shell prompt must match at end of buffer. Do this also for fallback shell prompt. (tramp-find-shell): More debugging output. (tramp-find-inline-encoding): When checking the decoding command, some commands fail when reading from /dev/null. So we pass a known string through the encoding command and pass that through the decoding command. So we know whether the decoding command can deal with some real input. 2002-08-04 Andreas Schwab * net/tramp.el (tramp-perl-encode, tramp-perl-decode): Doc fix. 2002-08-03 Andrew Choi * term/mac-win.el: Set keys to enable mouse wheel support. 2002-08-03 Kai Großjohann * net/tramp.el: Version 2.0.8. (tramp-perl-encode, tramp-perl-encode): Double the backslashes. 2002-08-03 Kai Großjohann * net/tramp.el: Version 2.0.7. (tramp-perl-encode-with-module, tramp-perl-decode-with-module) (tramp-perl-encode, tramp-perl-decode): Escape `%' characters because of `format' and say so in the docstring. 2002-08-03 Glenn Morris * progmodes/f90.el (f90-font-lock-keywords-1): Fix highlighting of `type' forms. (f90-font-lock-keywords-2): Fix `implicit type(foo)' case. (f90-type-def-re): Fix value. 2002-08-03 Kai Großjohann * net/tramp.el: Version 2.0.6. (tramp-default-method): Change to "ssh" from "sm". (tramp-wrong-passwd-regexp): Restructure. Add additional alternative. (tramp-su-program): New internal variable for method parameter. (tramp-perl-encode-with-module, tramp-perl-decode-with-module): New variables. Very short Perl one-liner, but requires Perl module MIME::Base64 to be installed on the remote site. (tramp-perl-encode, tramp-perl-decode): New base64 encoder/decoder. From Juanma Barranquero . (tramp-handle-file-truename): Invoke Ange-FTP properly (even though Ange-FTP doesn't do anything for this operation). (tramp-handle-set-visited-file-modtime): Comment change. (tramp-handle-make-directory): Save-excursion. (tramp-handle-expand-many-files): Don't try to invoke Ange-FTP twice, once is enough. (tramp-action-permission-denied): Show *tramp/foo* buffer so the user knows what's wrong. (tramp-post-connection): Support the two Perl encoders and decoders. (tramp-coding-commands): Ditto. Add some todo items. 2002-08-02 Richard M. Stallman * international/mule.el (merge-coding-systems): New function. (set-buffer-file-coding-system): Use merge-coding-systems. Change prompt for args. (revert-buffer-with-coding-system): New command. * international/mule-cmds.el (mule-keymap, set-coding-system-map): Add bindings for revert-buffer-with-coding-system. (set-coding-system-map): Clarify menu item info for set-buffer-file-coding-system. (set-coding-system-map): Reorder and add separators. * emacs-lisp/edebug.el (edebug-eval-top-level-form): Use eval-expression. * subr.el (atomic-change-group): Doc fix. 2002-07-31 Colin Walters * ibuffer.el (ibuffer-hooks): Rename to `ibuffer-hook'; Add defvaralias for compatibility. (ibuffer-mode-hooks): Rename to `ibuffer-mode-hook'; Add defvaralias for compatibility. 2002-07-31 John Paul Wallington * ibuffer.el (ibuffer-fontification-alist): Use `font-lock-constant-face' instead of `font-lock-reference-face'. 2002-07-31 John Wiegley * pcomplete.el (pcomplete-comint-setup): Use `add-to-list', to prevent adding the symbol `pcomplete' to shell-dynamic-complete-functions to many times. 2002-07-31 Markus Rost * help-fns.el (describe-function-1): Test function for obsolescence only if it is a symbol. * ediff.el (ediff-backup): New autoloaded command. 2002-07-31 Richard M. Stallman * makefile.w32-in (compile-after-backup): Renamed from `compile'. Use `compile-always'. (bootstrap): Use `compile', not `compile-files'. Use `update-subdirs'. (compile): Renamed from `compile-files'. (compile-CMD, compile-SH): Renamed from `compile-files-*'. * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions): Check that (car elt) is a string. * pcomplete.el (pcomplete-entries): Doc fix. * international/mule.el (non-standard-icccm-encodings-alist): Doc fix. 2002-07-31 Andreas Schwab * dired.el: Hide disabling of dired-find-alternate-file behind autoload-cookie. 2002-07-31 Tak Ota * makefile.w32-in: Revert some changes from 2002-07-23 because they don't work on MSVC/nmake builds. (update-subdirs-CMD): Generate the right list of subdirectories. 2002-07-30 Kai Großjohann * net/tramp.el: New version 2.0.5. (tramp-methods): Remove inline encoding method parameters. The encoding is now autodetected. Also shorten the list of methods (u/m distinction gone) and rename the remaining methods to have longer, but more mnemonic, names. (tramp-login-prompt-regexp, tramp-password-prompt-regexp) (tramp-wrong-passwd-regexp): Trailing `$' not needed, regexp is matched at end of buffer anyway. (tramp-yesno-prompt-regexp): New variable, for questions where the user should say "yes" or "no". (tramp-file-name-structure-unified) (tramp-file-name-structure-separate): Allow dash in method names. (tramp-actions-before-shell): New variable, contains list of pattern/action pairs. Output sent by remote end is scanned for the patterns, then the actions are executed. (tramp-multi-actions): Like `tramp-actions-before-shell', but executed for each hop in a multi-hop connection. (tramp-last-cmd-time): New variable. If nothing has been sent to remote end for 60 seconds, look to see if the remote end is still alive. (tramp-perl-mime-encode, tramp-perl-mime-decode): Remove. It didn't work. (tramp-perl-encode, tramp-perl-decode): New variables, these require the MIME::Base64 module on the remote end. (tramp-handle-file-attributes): Restructure logic. (tramp-handle-file-attributes-with-ls) (tramp-handle-file-attributes-with-perl): More debugging. (tramp-handle-directory-files): Grok fifth arg `files-only' for XEmacs. (tramp-handle-make-directory, tramp-handle-delete-directory) (tramp-handle-delete-file, tramp-handle-insert-directory): Expand file name. (tramp-handle-shell-command): Use `when', not `if'. (tramp-handle-file-local-copy, tramp-handle-write-region): Adapt to autodetection of inline encoding. (tramp-invoke-ange-ftp): Require ange-ftp to make sure that variable ange-ftp-name-format is defined before binding it. (tramp-action-login, tramp-action-password, tramp-action-succeed) (tramp-action-permission-denied, tramp-action-yesno): Functions called from `tramp-actions-before-shell'. (tramp-multi-action-login, tramp-multi-action-password) (tramp-multi-action-succeed, tramp-multi-action-permission-denied): Functions called from `tramp-multi-actions'. (tramp-process-one-action, tramp-process-actions): Pattern matching and action invocation code for `tramp-actions-before-shell'. (tramp-process-one-multi-action, tramp-process-multi-actions): Same for `tramp-multi-actions'. (tramp-open-connection-telnet, tramp-open-connection-rsh) (tramp-open-connection-su): Process actions instead of hardwired logic. (tramp-multi-connect-telnet, tramp-multi-connect-rlogin) (tramp-multi-connect-su): Ditto. (tramp-post-connection): New method for tramp_encode and tramp_decode scripts. (tramp-post-connection): Invoke inline autodetection code. (tramp-coding-commands): List of inline codings. (tramp-find-inline-encoding): This is the inline autodetection code. (tramp-maybe-open-connection): If nothing was sent to connection for 60 seconds, look if it connection is still alive. (tramp-send-command): Remember that something was sent to the connection. (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name): Use backticks for constructing alist. (tramp-get-encoding-command, tramp-set-encoding-command) (tramp-get-decoding-command, tramp-set-decoding-command) (tramp-get-encoding-function, tramp-set-encoding-function) (tramp-get-decoding-function, tramp-set-decoding-function): Use for results of inline autodetection. (tramp-get-encoding-command, tramp-get-decoding-command) (tramp-get-encoding-function, tramp-get-decoding-function): Remove these old functions. 2002-07-30 Kenichi Handa * language/indian.el (in-is13194): Give correct `safe-chars' property. (devanagari): Define it as an alias of in-is13194. * international/mule.el (safe-chars): Put `char-table-extra-slots' property with value 0. * files.el (revert-buffer): Fix previous change. 2002-07-29 Richard M. Stallman * bindings.el (help-echo): If global-mode-string is non-nil, display some spaces after it. * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions): Don't call string-match on non-string. * textmodes/ispell.el (check-ispell-version): Bind default-directory to avoid errors. Kill the old temp buffer at the beginning. 2002-07-29 Glenn Morris * scroll-all.el (scroll-all-mode): Make argument optional. Doc fix. 2002-07-29 John Paul Wallington * scroll-all.el (scroll-all-mode): Handle numeric arg. Use `if' instead of `cond'. 2002-07-29 Kenichi Handa * international/mule.el (ctext-post-read-conversion): Add support for embedded utf-8 encoding (ESC % G ... ESC % @). 2002-07-28 Kenichi Handa * files.el (revert-buffer): Before calling insert-file-contents, kill the local variable buffer-file-coding-system. 2002-07-28 Richard M. Stallman * bindings.el (mode-line-format): Handle vc-mode specially. Move mode-line-position to after global-mode-string. (mode-line-modes): Move the starting 3 spaces out of here. (mode-line-position): Separate with a space, not dashes. * vc-hooks.el: Don't add to minor-mode-alist. * emacs-lisp/edebug.el (edebug-debugger): If inside redisplay, just return. * emacs-lisp/debug.el (debug): If inside redisplay, just return. * info.el (Info-find-index-name): Improve last change. 2002-07-27 Richard M. Stallman * files.el (file-name-sans-extension): Avoid expanding DIRECTORY. * calendar/cal-hebrew.el (diary-rosh-hodesh): Cons mark on in the third case. 2002-07-27 Markus Rost * ps-print.el: Update copyright year. (ps-begin-cut-regexp, ps-end-cut-regexp): Fix type. 2002-07-26 Kai Großjohann * eshell/eshell.el (eshell): Numeric prefix arg means to switch to the session with that number. Old behavior still available with nonumeric prefix args. 2002-07-08 Simon Josefsson * mail/mail-extr.el (mail-extr-all-top-level-domains): Update names. 2002-07-26 Juanma Barranquero * warnings.el (lwarn, warn, warning-levels): Doc fix. (warning-suppress-log-types): Fix typo. (display-warning): Fix typo. Remove useless assignment to free variable `group-string'. 2002-07-25 Markus Rost * ediff-wind.el (ediff-window-setup-function): Extend type declaration. 2002-07-25 Sam Steingold * replace.el (occur-rename-buffer): New command. (occur-mode-map): Bind "r" to it. Added keybindings for `kill-this-buffer', `clone-buffer' and `quit-window'. 2002-07-25 Kevin Ryde * info.el (Info-find-index-name): Search for a function definition with a return type. 2002-07-25 David Ponce * emacs-lisp/bytecomp.el (byte-compile-set-symbol-position): Don't recompute `entry' on each iteration. (byte-compile-delete-first): Make it defsubst. 2002-07-25 Sam Steingold * progmodes/cc-engine.el (c-search-uplist-for-classkey): When `search-end' is a cons, use its car. 2002-07-25 Dave Love * obsolete/c-mode.el: Deleted. 2002-07-25 Carsten Dominik * textmodes/reftex.el (reftex-compile-variables): Simplified regular expression. * textmodes/reftex-parse.el (reftex-locate-bibliography-files): Simplified the regexp. * textmodes/reftex-cite.el (reftex-get-bibkey-default): New function. (reftex-extract-bib-entries-from-thebibliography): Use `reftex-get-bibkey-default' to get a default regex. (reftex-extract-bib-entries): Use `reftex-get-bibkey-default' to get a default regex. * textmodes/reftex-toc.el (reftex-toc-mode): Use `make-local-hook' for XEmacs compatibility (got OK from RMS). * textmodes/reftex-index.el (reftex-index-mode): Likewise. * textmodes/reftex-sel.el (reftex-select-label-mode): Likewise. (reftex-select-bib-mode): Likewise. 2002-07-25 Colin Walters * ibuffer.el (ibuffer-mouse-popup-menu): Allow point to be moved by menu functions. 2002-07-24 Dave Love * international/mule.el (set-auto-coding): Doc fix. * international/utf-16.el: New file. * language/european.el ("German", "French", "Spanish", "Turkish"): Add alternative coding systems. ("Dutch"): Likewise. Add input method. ("Welsh", "Latin-7"): Add nonascii-translation. * language/georgian.el ("Georgian"): Add nonascii-translation. * international/titdic-cnv.el: Doc fixes. (tit-process-header): Add coding cookie. (titdic-convert): Force writing as iso-2022-7bit. * international/ja-dic-cnv.el (skkdic-convert): Add coding cookie. * international/mule-cmds.el: Doc fixes. (unencodable-char-position): New. (select-safe-coding-system): Use it to indicate problematic characters and add extra explanation. Avoid checking auto-coding for compressed files. (leim-list-header): Add coding cookie. (input-method-verbose-flag): Modify :type. (locale-language-names): Add bs, wa. Modify cy. 2002-07-24 Richard M. Stallman * emacs-lisp/bytecomp.el (byte-compile-log-warning): Bind warning-group-format. * emacs-lisp/bytecomp.el (byte-compile-cl-functions): New variable. (byte-compile-cl-warn): Use that variable. (byte-compile-find-cl-functions): New function. (displaying-byte-compile-warnings): Call byte-compile-find-cl-functions. * warnings.el (warning-levels): Add %s to the strings. (warning-group-format): New variable. (warning-suppress-log-types): Renamed from warning-suppress-log. (warning-suppress-types): Renamed from warning-suppress. (display-warning): Implement those changes. 2002-07-23 Richard M. Stallman * warnings.el: Add `provide' call. * files.el (basic-save-buffer-2): If there's an error writing the file, unrename the backup file if it was just made. (backup-buffer, basic-save-buffer-2, basic-save-buffer-1) (basic-save-buffer): Value now has form (MODES . BACKUPNAME) when a backup was just made by renaming. Otherwise it's nil. * wid-edit.el (widget-convert): Handle an argument that's a keyword. Recognize explicit :args specification. * international/mule-cmds.el (select-safe-coding-system): Don't ask for confirmation of mismatch if find-file-literally was used. 2002-07-23 Markus Rost * add-log.el (add-log-current-defun): Fix typo in documentation. 2002-07-22 Markus Rost * add-log.el (add-log-mailing-address): Fix type. Can be a string. * ido.el (ido-separator): Fix type. 2002-07-23 Andrew Innes * makefile.w32-in (DONTCOMPILE): Remove cus-start.el. (DONTCOMPILE): Add various language files. (DONTCOMPILE): Remove term/xterm.el. (finder-inf.el): Remove. (update-authors): New target. (TAGS-LISP): Remove $(lispsource). (compile-always): Renamed from `compile-files'. (compile): New target, adapted from `compile-files'. (compile-calc): New target. (recompile): Change `.' to $(lisp). (bootstrap): Add update-subdirs and finder-data to dependencies; change compile-files to compile. 2002-07-22 Andre Spiegel * vc.el (vc-next-action-on-file): Preserve find-file-literally. 2002-07-22 Dan Nicolaescu * simple.el (undo, undo-more): Adjust messages when undoing in a region. 2002-07-22 John Paul Wallington * net/browse-url.el (browse-url-lynx-input-attempts): Use defcustom. (browse-url-lynx-input-delay): Add custom type and group. * cus-start.el (double-click-fuzz): Added. 2002-07-22 Alan Shutko * calendar/solar.el (diary-sabbath-candles): Add optional MARK parameter, specifying what face or character to use in the calendar display. These will now return (MARK . ENTRY). * calendar/lunar.el (diary-phases-of-moon): Add optional MARK parameter, specifying what face or character to use in the calendar display. These will now return (MARK . ENTRY). * calendar/cal-hebrew.el (diary-omer, diary-yahrzeit) (diary-rosh-hodesh, diary-parasha, diary-parasha): Add optional MARK parameter, specifying what face or character to use in the calendar display. These will now return (MARK . ENTRY). * calendar/diary-lib.el (mark-sexp-diary-entries): Retrieve mark from diary-sexp-entry and pass it to mark-visible-calendar-date. (list-sexp-diary-entries): Update doc string for new docs for .... If diary-sexp-entry returns a cons, only add the text to the diary list. (diary-sexp-entry): Allow sexps to return a cons of the form (MARK . STRING) to specify what face or character mark should be used in the calendar display. (diary-date, diary-block, diary-float, diary-anniversary) (diary-cyclic): Add optional MARK parameter, specifying what face or character to use in the calendar display. These will now return (MARK . ENTRY). * calendar/diary-lib.el (check-calendar-holidays, diary-iso-date) (calendar-holiday-list, diary-french-date, diary-mayan-date) (diary-julian-date, diary-astro-day-number, diary-chinese-date) (diary-islamic-date, list-islamic-diary-entries) (mark-islamic-diary-entries, mark-islamic-calendar-date-pattern) (diary-hebrew-date, diary-omer, diary-yahrzeit, diary-parasha) (diary-rosh-hodesh, list-hebrew-diary-entries) (mark-hebrew-diary-entries, mark-hebrew-calendar-date-pattern) (diary-coptic-date, diary-persian-date, diary-phases-of-moon) (diary-sunrise-sunset, diary-sabbath-candles): Remove interactive flag from autoloads. 2002-07-22 Carsten Dominik * textmodes/reftex-vars.el (reftex-index-verify-function): New option. (reftex-bibliography-commands): New option. (reftex-toc-split-windows-horizontally): New option. (reftex-toc-split-windows-horizontally-fraction): New option. (reftex-include-file-commands): New option. (reftex-cite-format-builtin): Added ?n for nocite. * textmodes/reftex-index.el (reftex-query-index-phrase): Use `reftex-index-verify-function'. * textmodes/reftex-toc.el (reftex-re-enlarge): Handle horizontal splitting. (reftex-toc): Handle horizontal splitting. (reftex-last-window-width): New variable. * textmodes/reftex-parse.el (reftex-locate-bibliography-files): Use `reftex-bibliography-commands'. (reftex-locate-bibliography-files): Regexp relaxed to allow for cases where \bibliography is not the first thing on the line. * textmodes/reftex.el (reftex-compile-variables): Use `reftex-include-file-commands'. (reftex-type-query-prompt): Changed defconst to defvar. (reftex-type-query-help, reftex-typekey-to-format-alist) (reftex-typekey-to-prefix-alist, reftex-env-or-mac-alist) (reftex-special-env-parsers, reftex-label-mac-list) (reftex-label-env-list, reftex-typekey-list) (reftex-words-to-typekey-alist, reftex-key-to-index-macro-alist) (reftex-query-index-macro-prompt, reftex-query-index-macro-help) (reftex-no-follow-message, reftex-no-info-message): Likewise. (reftex-mode): Define systax table for bibtex parsing. (reftex-syntax-table-for-bib): Syntax table for bibtex parsing. * textmodes/reftex-cite.el (reftex-format-names): %a as name format lists all names. (reftex-parse-bibtex-entry): Use `reftex-syntax-table-for-bib'. (reftex-with-special-syntax-for-bib): New macro. 2002-07-21 Richard M. Stallman * international/ucs-tables.el (ucs-quail-activate): Cope if buffer-file-coding-system is nil. * bindings.el (last-buffer): Use buffer-list with frame arg. Create *scratch* if no other choice exists. Fix bugs. 2002-07-21 Kai Großjohann * net/tramp.el: Bump version to 2.0.2. (tramp-methods): Rename methods invoking "ssh1" or "ssh2" to longer names. Use old names "sm1", "sm2" and so on for methods invoking "ssh -1" or "ssh -2". (tramp-multi-file-name-structure-separate): Typo, its name was set to "tramp-file-name-structure-separate". Trivial patch. From Steve Youngs . (tramp-multi-sh-program): New variable. (tramp-open-connection-multi): Use it. Now you can use multi methods from Windows (at least in principle). (tramp-do-copy-or-rename-via-buffer): New function. (tramp-do-copy-or-rename-file): Use it. Change and simplify logic. Omit special case of invoking rcp directly to copy the files. (tramp-open-connection-su, tramp-multi-connect-telnet) (tramp-multi-connect-rlogin, tramp-multi-connect-su) (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name): Use backticks in format-spec for brevity and to avoid character/number confusion in XEmacs. 2002-07-20 Richard M. Stallman * wid-edit.el (widget-documentation-string-value-create): Say "Hide Rest", not just "Hide". * cus-edit.el (custom-variable-value-create): Say "Show Value", not just "Show". Also "Hide Value". Output a newline before the doc string. (custom-face-value-create): Say "Show Face" and "Hide Face". * files.el (toggle-read-only): Clean up the hint message. * emacs-lisp/bytecomp.el: Use warnings.el. (byte-compile-warning-prefix): New function. (byte-compile-log-file): Return page start position. (byte-compile-log-warning): New function. (byte-compile-warn): Use byte-compile-log-warning. (byte-compile-report-error): Likewise. Also use error-message-string. (displaying-byte-compile-warnings): Bind warning-series. Don't bind or use byte-compile-warnings-point-max. Don't display the log buffer at the end. (byte-compile-warnings-point-max): Variable deleted. (byte-compile-log-1): Rewrite for trace info, not used for warnings. (byte-compile-last-warned-form, byte-compile-last-logged-file): Defvars moved. * warnings.el: New file. 2002-07-19 Richard M. Stallman * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Delete `values' and `values-list' from list of CL functions. 2002-07-19 John Paul Wallington * emacs-lisp/bytecomp.el (compile-defun): Bind `read-with-symbol-positions' to current buffer. 2002-07-19 Andre Spiegel * vc-hooks.el (vc-insert-file): When called with a LIMIT regexp, delete anything that comes after LIMIT from the buffer. * vc-rcs.el (vc-rcs-fetch-master-state): Be more careful to check if this is really an RCS master file. * vc.el: Improve comment of vc-BACKEND-workfile-unchanged-p. 2002-07-19 Juanma Barranquero * emacs-lisp/bytecomp.el (dot, dot-max, dot-min, dot-marker) (buffer-flush-undo, baud-rate, compiled-function-p, define-function) (unread-command-char, executing-macro, post-command-idle-hook) (post-command-idle-delay): Move obsolescence declarations to subr.el. * subr.el (dot, dot-max, dot-min, dot-marker, buffer-flush-undo) (baud-rate, compiled-function-p, define-function, unread-command-char) (executing-macro, post-command-idle-hook, post-command-idle-delay): Move obsolescence declarations from emacs-lisp/bytecomp.el. (directory-sep-char, mode-line-inverse-video): Add obsolescence declaration. 2002-07-18 J.D. Smith * progmodes/idlwave.el: Updated to IDLWAVE version 4.14. Too many changes to list them here. * progmodes/idlw-shell.el: Updated to IDLWAVE version 4.14. Too many changes to list them here. * progmodes/idlw-rinfo.el: Updated to IDLWAVE version 4.14. Too many changes to list them here. * progmodes/idlw-toolbar.el: Updated to IDLWAVE version 4.14 with only minor documentation changes. 2002-07-18 Dave Love * info-look.el: Support current auto{conf,make} manuals. 2002-07-18 Juanma Barranquero * bindings.el (last-buffer): Add missing frame argument. 2002-07-18 Richard M. Stallman * timer.el (timer-inc-time): Doc fix. * replace.el (keep-lines, flush-lines): Interactively report read-only error before reading regexp argument. * dabbrev.el (dabbrev--search): Use inhibit-point-motion-hooks. * bindings.el (last-buffer): Handle buffer-list and buffer-predicate frame parameters like bury-buffer. * simple.el (choose-completion-delete-max-match): Handle minibuffer prompts explicitly. 2002-07-18 Juanma Barranquero * international/mule-util.el (string-to-sequence, truncate-string): Add autoload cookie to obsolescence declaration. * rect.el (move-to-column-force): Likewise. * composite.el (decompose-composite-char): Likewise; also remove redundant info. 2002-07-18 Kim F. Storm * loadup.el: Load international/utf-8 before international/characters. 2002-07-17 Dave Love * international/ucs-tables.el: Optimize tables. Deal with some non-8859 charsets. (ucs-mule-to-mule-unicode): New. (ucs-unify-8859): Use utf-8-fragment-on-decoding, set up Quail translation. (ucs-fragment-8859): Modified consistent with ucs-unify-8859. (unify-8859-on-encoding-mode): Doc mod. Fix custom version. (unify-8859-on-decoding-mode): Doc mod. Change code. Fix custom version. Add custom dependencies. (ucs-insert): Check for null from decode-char. (translation-table-for-input, ucs-quail-activate) (ucs-minibuffer-setup, ccl-encode-unicode-font) (ucs-tables-unload-hook): New. * international/mule.el (define-translation-hash-table): New. (decode-char): Use utf-8-translation-table-for-decode. (encode-char): Use ucs-mule-to-mule-unicode. * international/characters.el: Fix settings of U+2000-U+2027. Remove Ω. * international/mule-cmds.el (locale-language-names): Fix be, add sr_YU@cyrillic, modify tg. (locale-charset-language-names): Put @euro last. * language/cyrillic.el (cyrillic-koi8-r-decode-table) (cyrillic-alternativnyj-decode-table): Fill out with mule-unicode. (cyrillic-koi8-r-decode-table): Make unbound after use. (ccl-decode-koi8, ccl-decode-alternativnyj): Change expansion factor. Use utf-8-translation-table-for-decode. (ccl-encode-koi8, ccl-encode-koi8): Don't check r0. (cyrillic-unify-encoding): New function. (cyrillic-koi8): Modify safe-chars, valid-codes. Remove charset-origin-alist. (Cp878, cp866): New alias. (ccl-encode-8859-5-font): New. (font-ccl-encoder-alist): Add ccl-encode-8859-5-font. (ccl-encode-koi8-font, ccl-encode-alternativnyj-font): Remove redundant parens. ("Cyrillic-KOI8"): Add cyrillic-iso-8bit to coding-priority. (cyrillic-koi8-u-decode-table, ccl-decode-koi8-u) (ccl-encode-koi8-u, koi8-u, ccl-encode-koi8-u-font, "Ukrainian"): New. (cyrillic-alternativnyj): Modify safe-chars, add mime-charset. ("Cyrillic-ALT"): Change input method. ("Windows-1251", "Tajik", "Bulgarian", "Belarusian"): New. * international/utf-8.el (utf-8-subst-table) (utf-8-subst-rev-table, utf-8-translation-table-for-decode) (utf-8-fragment-on-decoding, ccl-untranslated-to-ucs) (utf-8-ccl-regs, utf-8-translate-cjk): New. (ccl-encode-mule-utf-8): Use utf-8-subst-rev-table. (ccl-decode-mule-utf-8, ccl-untranslated-to-ucs) (utf-8-untranslated-to-ucs, utf-8-compose): Rewritten. (mule-utf-8): Remove pre-write-conversion. (utf-8-post-read-conversion): Comment out. * international/ccl.el (ccl-command-table): Add lookup-integer, lookup-character. (ccl-extended-code-table): Add lookup-int-const-tbl, lookup-char-const-tbl. (ccl-compile-lookup-integer, ccl-compile-lookup-character) (ccl-dump-lookup-int-const-tbl, ccl-dump-lookup-char-const-tbl): New functions. (define-ccl-program): Doc update. * international/utf-8-subst.el: Populate utf-8-subst-rev-table. (utf-8-subst-table): Don't set. 2002-07-17 Kenichi Handa * international/mule.el (define-coding-system-alias): Don't append ALIAS in the property `alias-coding-systems' if ALIAS's eol-type is not auto-detection. * international/mule-diag.el (print-coding-system-briefly): Fix the handling of an alias of which eol-type is not auto-detection. * international/mule-conf.el (us-ascii): Define it as an alias of iso-safe. 2002-07-17 Juanma Barranquero * help-fns.el (describe-function-1): Put empty line before "Not documented" text. * timer.el (timer-set-time-with-usecs): Mark obsolete. 2002-07-16 Stefan Monnier * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Make sure to change the global tool-bar-map. * vc.el (vc-default-comment-history): Hard code *vc*. This is because print-log always prints there now. (vc-annotate-font-lock-keywords): New var. (vc-annotate-mode): Use it. Set truncate-lines as well. (vc-annotate-display-select): Unify the two error reports. (vc-annotate-offset): New var. (vc-annotate-lines): New fun extracted from vc-annotate-display. (vc-annotate-display): Use it, via font-lock. * help-fns.el (help-split-fundoc, help-function-arglist) (help-make-usage): New funs, extracted from describe-function-1. (describe-function-1): Use them. * help.el (help-key-description): Show the untranslated keys when they start with ESC and the ESC was not translated. * help-mode.el (view): Always require. (help-xref-mule-regexp): Don't use defconst for variables. (help-setup-xref): Keep the last 10 elements of the stack. (help-xref-override-view-map): New var. (help-make-xrefs): Use it instead of building a new map each time. (help-function-def): Allow help-fun to take a buffer as arg. * diff-mode.el (diff-reverse-direction): Simplify. (diff-after-change-function): Fix typo. (diff-post-command-hook): Take care of edge cases. (diff-current-defun): Do `goto-char' after setting the mode. * mouse-sel.el (mouse-sel-mode): Use define-minor-mode. Fold mouse-sel-bindings into it. (mouse-sel-bound-events): Turn it into an alist. (mouse-insert-selection): Delegate to mouse-yank-at-click if mouse-sel-default-bindings asks for it. 2002-07-16 Andre Spiegel * files.el: Bind toggle-read-only to C-x C-q. (toggle-read-only): Display a warning message if the file is under version control. * vc-hooks.el: Don't bind vc-toggle-read-only to C-x C-q. (vc-toggle-read-only): Explain in the doc string that users can bind this to C-x C-q. (vc-checkout-model): Change doc string to refer to vc-next-action, not vc-toggle-read-only. * vc.el (vc-next-action-on-file): Ignore buffer-read-only while comparing to file on disk. Fix the case when claiming the lock on a file that has unlocked changes. (vc-log-mode): Don't mention vc-toggle-read-only in the doc string. 2002-07-16 Richard M. Stallman * simple.el (choose-completion-string): Doc fix. * cus-edit.el: New operation :custom-standard-value. (Custom-reset-standard): Use it. (custom-variable, custom-face): Define it. (custom-variable-standard-value, custom-face-standard-value): New fns. (custom-face-save): Don't save a face whose value is standard. (custom-save-faces): Use SYMBOL, not 'default, to set NOW and COMMENT. * cus-edit.el (custom-face-edit-fix-value): If VALUE is not a list, pass it thru. * compare-w.el (compare-windows-whitespace): Always allow newline even if it does not have whitespace syntax. 2002-07-16 Juanma Barranquero * timer.el (timer-set-time, timer-set-time-with-usecs): Fix docstring. 2002-07-15 Juanma Barranquero * help-fns.el (describe-variable): Show documentation for aliased variable if alias does not have its own. 2002-07-15 Mike Williams * mouse-sel.el (mouse-sel-bindings): Save/restore interprogram cut/paste functions. 2002-07-14 Richard M. Stallman * files.el (find-alternate-file): Offer to save a modified buffer. Handle kill-buffer-query-functions better. * startup.el (normal-splash-screen, fancy-splash-text): Update name of help menu item for ordering printed manuals. * emacs-lisp/checkdoc.el: Fix doc typos. 2002-07-14 Stefan Monnier * textmodes/tex-mode.el: Set encoding to utf-8. (tex-start-options): Make it into always-a-string. Remove silly custom options that are covered by the other var. (tex-start-commands): Fix docstring. (tex-open-quote, tex-close-quote): Add options. (tex-command): Provide default. (tex-font-lock-keywords-1): Highlight $$...$$. (tex-font-lock-keywords-2): Fix latin-1 chars. (tex-mode-map): Remove redundant \t binding. (tex-mode): Add `subsection' and `newcommand' to known latex cmds. (latex-mode): Use add-hook for fill-nobreak-predicate. (tex-common-initialization): Set indent-tabs-mode to nil. (tex-insert-quote): Undo magic if invoked twice in a row. (latex-fill-nobreak-predicate): Don't use narrowing. (tex-latex-block): Don't cons uselessly. (tex-last-unended-begin): Signal user-friendlier error. (tex-goto-last-unclosed-latex-block): Don't catch signal. (tex-start-tex): Switch order of tex-start-options and tex-start-commands to make it obey docstrings. 2002-07-14 Mike Williams * mouse-sel.el (mouse-sel-bound-events): New constant. (mouse-sel-bindings): Save/restore original mouse-bindings. 2002-07-13 Stefan Monnier * emacs-lisp/cl.el (cl-set-substring): Fix thinko. (cl-hack-byte-compiler): Avoid infinite require loop. * net/ange-ftp.el: Use hash-tables. (ange-ftp-make-hashtable, ange-ftp-map-hashtable) (ange-ftp-make-hash-key, ange-ftp-get-hash-entry) (ange-ftp-put-hash-entry, ange-ftp-del-hash-entry): Remove. Replace with make-hash-table, maphash, gethash, puthash and remhash. (ange-ftp-hash-entry-exists-p): Rewrite. (ange-ftp-vms-delete-file-entry, ange-ftp-vms-add-file-entry): Change mapatom -> maphash. (ange-ftp-file-entry-active-p, ange-ftp-file-entry-not-ignored-p): Update to new calling mode. * progmodes/ebrowse.el (ebrowse-symbol-regexp): Avoid cl-set-substring. (ebrowse-hash-table-to-alist): Delete. (ebrowse-tags-read-name, ebrowse-tags-list-members-in-file) (ebrowse-tags-complete-symbol): Use the hashtable for completion. * textmodes/sgml-mode.el (sgml-quote): Use narrowing. Improve the regexp used when unquoting. (sgml-pretty-print): New function. (sgml-get-context): Better handling of improperly nested tags. (sgml-show-context): Don't use the FULL arg of sgml-get-context. 2002-07-13 Andreas Schwab * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Check the inherited table entry. 2002-07-13 Glenn Morris * calendar/timeclock.el (timeclock-in): Handle the case where no log file exists (ie the very first call). 2002-07-13 Kai Großjohann * net/ange-ftp.el: Do not hook into file-name-handler-alist, this is done by Tramp. * net/tramp.el (tramp-multi-file-name-structure-unified): Add missing slash and move colon from start to end of each hop. (tramp-multi-file-name-hop-structure-unified): Move colon from start to end of each hop. 2002-07-13 Kim F. Storm * progmodes/compile.el (grep-tree): Fixed autoload. Corrected use of undefined variable `match-files-aliases'. 2002-07-12 Glenn Morris * calendar/timeclock.el (timeclock-get-workday-function): `timeclock-workday' is not a valid option, rather a possible return value. 2002-07-12 Richard M. Stallman * net/ange-ftp.el (ange-ftp-write-region): Don't bind executing-kbd-macro; instead, pass non-nil VISIT arg to ange-ftp-real-write-region. * replace.el (flush-lines, keep-lines): Convert REND to a marker. * help-fns.el (help-with-tutorial): Display completion list right away. * ediff-ptch.el (ediff-test-patch-utility): Catch error and return nil. * startup.el (command-line): Set memory-signal-data. (fancy-splash-text, normal-splash-screen): Mention "Read the Emacs Manual" or C-h r. Rearrange the initial help to put the help cmds on left and the actions (exit, undo) on the right. Other small text clarifications. (fancy-splash-text, actions page): Add blank line to balance help page. * help.el (help-map): Add binding for info-emacs-manual. (print-help-return-message): Doc fix. * strokes.el (strokes-help): Call print-help-return-message while inside with-output-to-temp-buffer. * info.el (info-emacs-manual): New function. (Info-use-header-line): Doc fix. * emacs-lisp/cl.el (multiple-value-call): Add alias. * progmodes/compile.el (compilation-normalize-filename): New subroutine, taken out of compilation-parse-errors. (compilation-parse-errors): Use that, and for directories too. Don't check whether a directory really exists. 2002-07-12 Juanma Barranquero * help-fns.el (describe-variable): Remove useless "Documentation:" string. * timer.el (timer-set-time-with-usecs): Fix documentation. Simplify extraction of time data. 2002-07-12 John Paul Wallington * help-fns.el (describe-variable): Mention if the variable is an alias. Put `defvaralias' info before the documentation. 2002-07-12 Kenichi Handa * international/mule-cmds.el (locale-language-names): Change "mk" (Macedonian), "ru" (Russian), and "sp" (Serbian with Cyrillic alphabet) to "Cyrillic-ISO". 2002-07-11 Kai Großjohann * net/tramp.el (tramp-default-method): New default method "sm" which I guess to be good for most people. (tramp-default-method-alist): Use "ftp" method (ie, forwarding to Ange-FTP) for some user/host combinations. (tramp-file-name-structure, tramp-file-name-regexp) (tramp-make-tramp-file-format, tramp-make-tramp-file-user-nil-format) (tramp-multi-file-name-structure, tramp-multi-file-name-hop-structure) (tramp-make-multi-tramp-file-format): New default value which unifies the filename syntax between Tramp and Ange-FTP. The new syntax is "/method:user@host:path". Note the colon after the method. (tramp-handle-file-name-directory): Don't return "/" when completing a remote root directory (where the filename looks like "/method:user@host:/"). (tramp-handle-ange-ftp): Deleted. (tramp-disable-ange-ftp): New function, called at toplevel, deletes Ange-FTP from file-name-handler-alist. (tramp-handle-make-symbolic-link): Implement. 2002-07-10 Juanma Barranquero * ido.el (ido-enter-single-matching-directory): Delete leftover comment. * speedbar.el (speedbar-tag-hierarchy-method): Fix typos. (speedbar-vc-do-check): Likewise. (speedbar-obj-do-check): Likewise. (speedbar-mouse-hscroll): Likewise. (speedbar-file-lists): Likewise. * emacs-lisp/authors.el (authors-obsolete-file-p): Fix typo. 2002-07-09 Ole Aamot * compile.el (compilation-error-regexp-alist): Recognize Valgrind messages. 2002-07-09 Juanma Barranquero * faces.el (face-id): Fix typo. * hexl.el (hexl-mode): Likewise. * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise. * progmodes/ebnf-yac.el (ebnf-yac-error): Likewise. * speedbar.el (speedbar-make-specialized-keymap): Fix docstring. (speedbar-desired-buffer): Likewise. (speedbar-line-file): Likewise. (speedbar-special-mode-key-map): Fix typo. (speedbar-dynamic-tags-function-list): Likewise. (speedbar-use-images): Likewise. (speedbar-up-directory): Likewise. (speedbar-item-info): Likewise. (speedbar-set-timer): Likewise. (speedbar-insert-button): Likewise. (speedbar-make-button): Likewise. (speedbar-make-tag-line): Likewise. (speedbar-insert-files-at-point): Likewise. (speedbar-update-special-contents): Likewise. (speedbar-find-selected-file): Likewise. (speedbar-add-indicator): Likewise. (speedbar-do-function-pointer): Likewise. (speedbar-goto-this-file): Likewise. (speedbar-line-path): Likewise. (speedbar-mouse-event-p): Likewise. (speedbar-dir-follow): Likewise. (speedbar-tag-find): Likewise. (speedbar-fetch-etags-command): Likewise. (speedbar-fetch-etags-arguments): Likewise. (speedbar-toggle-etags): Likewise. (speedbar-extract-one-symbol): Likewise. (speedbar-parse-c-or-c++tag): Likewise. (speedbar-unhighlight-one-tag-line): Likewise. (speedbar-directory-face): Likewise. (defimage-speedbar): Likewise. (speedbar-convert-emacs21-imagespec-to-xemacs): Likewise. 2002-07-09 Miles Bader * hexl.el (hexl-find-file): Bind `completion-ignored-extensions' to nil when prompting for a filename. 2002-07-09 Kenichi Handa * files.el (insert-directory): Be sure to bind coding-system-for-write to the just decided coding-system-for-read. 2002-07-09 Kim F. Storm * ido.el (ido-make-merged-file-list): Move fully matching item to head of list. (ido-find-common-substring): Return substring instead of t. 2002-07-08 Juanma Barranquero * info.el (Info-directory-list): Fix docstring. 2002-07-08 Miles Bader * comint.el (comint-dynamic-list-completions): Sort COMPLETIONS before first use. 2002-07-08 Kim F. Storm * files.el (after-find-file): Don't check for read-only status of files just created (and not yet saved on disk). * ido.el (ido-completion-help): Changed XEmacs specific code to avoid byte compiler warning in GNU Emacs. (ido-set-matches1): Use regexp-quote instead of identity. (ido-complete-space): New function. (ido-define-mode-map): Bind it to SPACE. 2002-07-07 Stefan Monnier * font-lock.el (font-lock-default-unfontify-region): Use remove-list-of-text-properties. (font-lock-extra-managed-props): Doc fix. * facemenu.el: Move `provide' to the end. (facemenu-read-color): Don't cons unnecessarily. * language/ind-util.el (indian-make-hash): * language/devan-util.el (dev-char-glyph-hash, dev-glyph-glyph-hash) (dev-glyph-glyph-2-hash): Switch makehash -> make-hash-table. * subr.el (insert-string): Update the obsolete info. (makehash): Move from C and mark obsolete. * emacs-lisp/debug.el (debug-on-entry): Fix the wrapper used for aliases to also work for interactive functions. Use the same wrapper for subroutines. (cancel-debug-on-entry): Get rid of the now-useless wrapper. (debug-on-entry-1): Correctly skip docstrings and interactive forms. * textmodes/texinfo.el (texinfo-font-lock-keywords): Disable the automatic environment name update. (texinfo-clone-environment): Fix it not to incorrectly match prefixes. 2002-07-07 Richard M. Stallman * emacs-lisp/easymenu.el (easy-menu-popup-menu): Function deleted. * emacs-lisp/advice.el (ad-compile-function): Disable cl-function warnings if cl is loaded. * files.el (safe-local-eval-forms): New user option. (hack-one-local-variable-eval-safep): Support it. Also allow `safe-local-eval-function' property to be a function or a list of functions. (c-add-style): Delete `safe-local-eval-function' property. * files.el (after-find-file): Make buffer read-only if file is marked that way, even for root. * files.el (save-some-buffers): Doc fix. * bindings.el (completion-ignored-extensions): Add .gmo and .mo. 2002-07-06 Francesco Potortì * dos-w32.el (file-name-buffer-file-type-alist): Add knowledge of .sx[dmicw] file suffixes for Open office data files. * files.el (auto-mode-alist): Likewise. * international/mule.el (auto-coding-alist): Likewise. 2002-07-05 Kim F. Storm * emulation/cua-rect.el (cua--rectangle-operation): Don't call FCT if current column is outside rectangle. (cua--delete-rectangle): Do nothing if zero width or out of bounds. 2002-07-04 Stefan Monnier * net/ange-ftp.el: Use add-hook and find-file-hook. (ange-ftp-parse-netrc): Use run-hooks and find-file-hook. (ange-ftp-ls-parser): Make it into a function. Ignore trailing @ in symlink targets. (ange-ftp-file-entry-p): Ignore FTP errors. (ange-ftp-insert-directory): Use ange-ftp-expand-symlink to correctly expand "/flint:/bla -> ./etc" to /flint:/etc. 2002-07-04 Per Abrahamsen * simple.el (toggle-truncate-lines): New command. 2002-07-04 Miles Bader * comint.el (comint-displayed-dynamic-completions): New variable. (comint-dynamic-list-completions): Be more careful about choosing when to scroll an existing completions window. 2002-07-03 Andreas Schwab * net/tramp.el (tramp-handle-ange-ftp): Move interactive spec after doc string. 2002-07-03 Juanma Barranquero * net/tramp.el (tramp-send-eof): Fix typo. (tramp-kill-process): Likewise. * play/dunnet.el (dun-physobj-desc): Likewise. * textmodes/reftex-vars.el (reftex-label-alist): Likewise. * calendar/timeclock.el (timeclock-workday-remaining): Likewise. (timeclock-workday-elapsed): Likewise. * allout.el (outline-goto-prefix): Likewise. * emulation/tpu-edt.el (tpu-delete-to-eol): Likewise. (tpu-delete-to-bol): Likewise. * subr.el (chars-in-region): Add obsolescence declaration for `chars-in-region'. 2002-07-03 Miles Bader * faces.el (header-line): Don't use a `common' clause for inheriting from the mode-line face, since we can't override it, and we don't want it for ttys. 2002-07-02 Richard M. Stallman * net/ange-ftp.el (ange-ftp-hook-function): Add file-remote-p prop. * files.el (hack-one-local-variable-constantp): New function. (hack-one-local-variable-eval-safep): New function. Check for `eval:' calling fn with `safe-local-eval-function' property. (hack-one-local-variable): Use hack-one-local-variable-eval-safep. (c-add-style, c-set-style): Add safe-local-eval-function property. * files.el (insert-directory): Handle --dired option to ls. * files.el (file-remote-p): New function. * emacs-lisp/easymenu.el (easy-menu-popup-menu): New function. * startup.el (fancy-splash-screens): Switch to a chosen frame. (fancy-splash-frame): Choose the right frame to use. (use-fancy-splash-screens-p): Check dimensions of the right frame in order to decide. * emacs-lisp/bytecomp.el (byte-compile-warning-types): Rename cl-func to cl-functions. Enable it by default. (byte-compile-file-form-eval-boundary): Turn off cl-functions warnings if the file loads cl. (byte-compile-initial-macro-environment): For eval-and-compile, use byte-compile-eval-before-compile to eval. (byte-compile-eval-before-compile): New function to turn off cl-functions when appropriate, for eval-and-compile. (byte-compile-warnings): Doc fix. 2002-07-02 Dave Love * emacs-lisp/bytecomp.el (byte-compile-warnings): Add cl-func option. (byte-compile-cl-warn): New function. (byte-compile-form): Use it, to warn about calling cl functions. (byte-compile-warning-types): Doc fix. 2002-07-02 Juanma Barranquero * mail/rmailsum.el (rmail-user-mail-address-regexp): Fix typo. * textmodes/reftex-cite.el (reftex-citation): Fix typo. * progmodes/cperl-mode.el (cperl-break-one-line-blocks-when-indent): Fix typo. 2002-07-02 Kim F. Storm * emacs-lisp/bindat.el: New file. 2002-07-01 Sam Steingold * textmodes/tex-mode.el (tex-file): Call `save-some-buffers' before `tex-main-file' because if the current buffer is new, its file might not exist yet, and then `tex-main-file' will incorrectly return "foo.tex.tex". 2002-07-01 Juanma Barranquero * ido.el (ido-minibuffer-setup-hook): Doc fix. 2002-07-01 Dave Love Make strokes a proper minor mode, and don't try to overload mouse-2, which doesn't work satisfactorily. * strokes.el: Doc fixes. (strokes-mode): Defcustom deleted; replaced by minor mode def with re-written function. (strokes-while-inhibiting-garbage-collector): Comment out. (define-stroke, strokes-fix-button2-command, strokes-insinuated) (strokes-insinuate, global-set-stroke, describe-stroke) (load-user-strokes, save-strokes, strokes-bug-address) (strokes-click-command): Deleted. (strokes-execute-stroke): Remove strokes-click-p case. (strokes-describe-stroke): Remove strokes-click-p stuff. (strokes-help): Fix. (strokes-report-bug): Alias to report-emacs-bug. (strokes-prompt-user-save-strokes): Modify format of the file. (strokes-mode-map, strokes-unload-hook): New. (strokes-buffer-name): Don't customize. 2002-07-01 Richard M. Stallman * info.el (Info-index): Get immediate error if used in `dir'. * textmodes/picture.el (picture-forward-column) (picture-move-down): Never deactivate the mark. 2002-06-30 Simon Josefsson * menu-bar.el (menu-bar-options-menu): Move elisp mode names from menu entry into balloon help. 2002-06-30 Andreas Schwab * files.el (directory-free-space-args): Don't use `-P' on Darwin. * term/mac-win.el: Don't set it here. 2002-06-29 Stefan Monnier * pcvs-defs.el (cvs-mode-map): Bind ! to `force'. 2002-06-29 Andreas Schwab * term/mac-win.el: Use directory-free-space-program instead of obsolete variable dired-free-space-program. On Darwin, don't set directory-free-space-program, shell-file-name and process-connection-type; set directory-free-space-args to not include `-P' and use utf-8 for file name coding system. * simple.el (shell-command-on-region): Handle errors and signals from shell command execution. (display-message-or-buffer): Fix last change. (shell-command-default-error-buffer): Doc fix. * dired.el (dired-view-file): Quote file name for dired-run-shell-command. 2002-06-29 Kim F. Storm * kmacro.el: New file. 2002-06-28 John Wiegley * pcmpl-cvs.el: Added my name as the maintainer of this file. 2002-06-28 Andreas Schwab * shell.el (explicit-bash-args): New user option. 2002-06-28 Kim F. Storm * ido.el: New file. 2002-06-28 Stefan Monnier * derived.el (define-derived-mode): Preserve the `mode-class' rather than the `special' symbol property. (derived-mode-class): Make it obsolete. 2002-06-27 Andreas Schwab * net/tramp.el (tramp-handle-ange-ftp): Fix typo. 2002-06-27 Juanma Barranquero * emacs-lisp/bytecomp.el (baud-rate): Fix obsolescence declaration. (meta-flag): Likewise. * international/mule-util.el (string-to-sequence): Likewise. * subr.el (char-bytes): Likewise. (make-local-hook): Likewise. (baud-rate): Remove redundant info from docstring. * faces.el (frame-update-faces): Fix obsolescence declaration. (internal-get-face): Remove redundant info from docstring and fix obsolescence declaration. * rect.el (move-to-column-force): Likewise. * help-fns.el (describe-function-1): Use semicolon instead of dot. (describe-variable): Likewise. 2002-06-27 Stefan Monnier * mwheel.el (mouse-wheel-change-button): Deactivate before changing. (mouse-wheel-up-button, mouse-wheel-down-button): Obsolete. (mouse-wheel-up-event, mouse-wheel-down-event): New vars. (mouse-wheel-follow-mouse): Change default to t. (mwheel-event-button): Return the basic event symbol. (mwheel-scroll): Work with non-mouse events. (mouse-wheel-mode): Use the new vars. (mwheel-install): Obey `uninstall'. * term/xterm.el (function-key-map): Add some bindings. * uniquify.el (uniquify-delay-rationalize-file-buffer-names): Rename from delay-uniquify-rationalize-file-buffer-names. Only rationalize if the buffer is under uniquify control. (uniquify-delayed-rationalize-file-buffer-names): Rename from delayed-uniquify-rationalize-file-buffer-names. 2002-06-27 Kai Großjohann * net/tramp.el (tramp-file-name-structure) (tramp-multi-file-name-hop-structure): Split for easier readability. (tramp-handle-make-symbolic-link): Use user/host/method/... from LINKNAME, not FILENAME. (tramp-handle-verify-visited-file-modtime): Call tramp-ange-ftp-file-name-p with right parameters. (tramp-handle-verify-visited-file-modtime): `insert' does not work for integers, convert them to strings first. (tramp-handle-ange-ftp): New function to perform setup for replacing Ange-FTP with Tramp. (tramp-repair-jka-compr): New function to factor out some previously top-level code. Call the function at top-level. 2002-06-27 Juanma Barranquero * composite.el (decompose-composite-char): Fix docstring. * faces.el (describe-face): Capitalize "not documented" message. * help-fns.el (describe-variable): Likewise. (describe-function-1): Likewise. Also, document the obsolescence of the function, if applicable. 2002-06-26 Juanma Barranquero * info.el (info-menu-5): Fix documentation. (Info-fontify-maximum-menu-size): Remove reference to `Info-fontify'. 2002-06-26 Richard M. Stallman * emacs-lisp/cl.el (values): Simplify definition. * simple.el (shell-command): Match & only at end of whole command. (display-message-or-buffer): Don't use the echo area if output buffer is visible. * tooltip.el (tooltip-x-offset, tooltip-y-offset): Doc fixes. * progmodes/cperl-mode.el: Many trivial doc fixes. (cperl-non-problems): Definition deleted. (cperl-menu): Don't refer to cperl-non-problems. (cperl-word-at-point): Add doc string. (cperl-beautify-regexp-piece): Fix error message. (cperl-invert-if-unless): Fix error message. * dired.el (dired-find-alternate-file): Mark as disabled. 2002-06-25 Kai Großjohann * net/tramp.el (tramp-ftp-method): New user option. (tramp-invoke-ange-ftp): New function to forward calls to Ange-FTP. (with-parsed-tramp-file-name): New macro for the usual big `let' statement to dissect a file-name. (tramp-handle-make-symbolic-link, tramp-handle-load) (tramp-handle-file-name-directory) (tramp-handle-file-name-nondirectory, tramp-handle-file-truename) (tramp-handle-file-truename, tramp-handle-file-directory-p) (tramp-handle-file-regular-p, tramp-handle-file-symlink-p) (tramp-handle-file-writable-p, tramp-handle-file-writable-p): Use the new macro and forward call to Ange-FTP if applicable. (tramp-make-ange-ftp-file-name): New helper function to convert a file name into an Ange-FTP file name, used by `tramp-invoke-ange-ftp'. (tramp-default-method-alist): New user option. (tramp-find-default-method): Use it. (tramp-sh-extra-args): New variable. (tramp-find-shell): Use it. (tramp-open-connection-rsh): Support a kludgy feature for the "-p" option to ssh. If host name is given as "host#42", uses the "-p 42" option. 2002-06-25 Andreas Schwab * replace.el (occur-1): Avoid invalid message format string. 2002-06-24 Stefan Monnier * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Check for `noruntime' even if the function has a known si