]> code.delx.au - gnu-emacs/blobdiff - lisp/ChangeLog
(after-find-file): Use %s to output MSG.
[gnu-emacs] / lisp / ChangeLog
index 1fee51b822c0cf804979d9f99797a1dc713b3f05..e9bb0e762340c655b21ceb12259b38e9d4568377 100644 (file)
-2002-04-01  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-04-22  Richard M. Stallman  <rms@gnu.org>
 
-       * cus-start.el: Rename `x-autoselect-window' to
-       `autoselect-window'.
+       * files.el (after-find-file): Use %s to output MSG.
+
+       * dired.el (dired-mouse-find-file-other-window):
+       Handle events that move out of the window.
+
+2002-04-23  Martin Stjernholm  <mast@lysator.liu.se>
+
+       * progmodes/cc-cmds.el (c-mask-comment): Fixed bug where point
+       was moved to the following line when it was at the first line
+       of a block comment where comment-start-skip matched to eol.
+
+2002-04-22  Richard M. Stallman  <rms@gnu.org>
+
+       * simple.el (line-move-finish): Find beg and end of line
+       before calling line-move-to-column.  Do consider intangible
+       when finding the end.  Take more care in analyzing the results
+       of intangibility after line-move-to-column.
+
+2002-04-22  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * international/mule-diag.el (list-input-methods-1): Doc fix
+       (LEIM is now part of the standard distribution).
+
+       * tmm.el (tmm-completion-prompt): Doc fix.
+
+       * hilit-chg.el (global-highlight-changes): Capitalize status
+       texts.
+
+2002-04-22  Edward M. Reingold  <reingold@emr.cs.iit.edu>
+
+       * diary-lib.el (include-other-diary-files): Allow modifying
+        included buffer, to turn off selective display.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-mode.el: (c-define-abbrev-table): New function to
+       pass the SYSTEM-FLAG to `define-abbrev' in a way that works in
+       emacsen that doesn't support it.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-align.el, progmodes/cc-engine.el,
+       progmodes/cc-styles.el, progmodes/cc-vars.el
+       (c-guess-basic-syntax, c-lineup-topmost-intro-cont): Find
+       correct anchor for statement-cont in top level constructs.
+       Analyze variable initializations in top level constructs as
+       topmost-intro-cont instead of statement-cont.  That is an
+       incompatible change but it gives better consistency.  The new
+       lineup function c-lineup-topmost-intro-cont' compensates for
+       it and is now put on topmost-intro-cont by default.
+
+       * progmodes/cc-align.el, progmodes/cc-engine.el,
+       progmodes/cc-langs.el (c-lineup-argcont): Lineup function
+       contributed by Kevin Ryde.
+
+       (c-in-gcc-asm-p): Function to recognize asm statements.
+       Contributed by Kevin Ryde.
+
+       (c-opt-asm-stmt-key): New language variable to recognize the
+       beginning of asm statements.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el (c-guess-basic-syntax): Detect
+       variable declarations after class and struct declarations
+       correctly.  Fixed limit error when finding the anchor for
+       template-args-cont and topmost-intro-cont.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el (c-beginning-of-defun,
+       c-declaration-limits): Find the "line oriented" declaration
+       start too, just like the "line oriented" end is found.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-vars.el (c-offsets-alist): A more sane default
+       for `inexpr-statement'.  This is not compatible, though.  I
+       think the benefit of a good default style outweights that in
+       this case.  Besides, `inexpr-statement' is not very common.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el (c-electric-delete-forward): Fixed
+       silly bug that caused it to delete backwards in hungry delete
+       mode.  (It's amazing that this bug hasn't been reported.)
+
+       * progmodes/cc-cmds.el (c-declaration-limits, c-mark-function):
+       Extracted the code to get the declaration limits from
+       `c-mark-function' to a new `c-declaration-limits'.
+
+       (c-indent-defun): Use the same method to get the limits of the
+       declaration or macro as `c-mark-function'.
+
+       * progmodes/cc-engine.el (c-beginning-of-decl-1): Handle brace
+       list initializers correctly (but costly; it ought to be
+       integrated into `c-beginning-of-statement-1').
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el, progmodes/cc-engine.el
+       (c-beginning-of-defun, c-end-of-defun, c-mark-function):
+       Rewritten to detect the declaration limits better.  Now
+       handles K&R argdecls, class definitions followed by variables
+       etc.
+
+       (c-in-knr-argdecl): Broke out the K&R argdecl test in
+       `c-beginning-of-decl-1' to this new function.
+
+       (c-end-of-statement-1, c-end-of-decl-1): Replaced
+       `c-end-of-statement-1' with `c-end-of-decl-1', which correctly
+       handles declarations that continue after the block.
+
+       * progmodes/cc-engine.el (c-syntactic-re-search-forward):
+       Added an option to restrict matching to the top level of the
+       current paren sexp.
+
+       * progmodes/cc-langs.el (c-opt-block-decls-with-vars-key): New
+       regexp to recognize declarations that continue after the
+       block.
+
+       (c-syntactic-eol): New regexp to match a "syntactic" eol.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
+       that often caused the backward limit to be lost at the top
+       level.  This improves performance a bit.
+
+       * progmodes/cc-engine.el (c-syntactic-re-search-forward): New
+       function that works like `re-search-forward' but only returns
+       matches in syntactically significant text.
+
+       * progmodes/cc-engine.el: Fixed a faster and more accurate way
+       to recognize K&R argdecls.
+
+       (c-beginning-of-decl-1): New function that put point at the
+       beginning of the declaration.  It handles K&R argdecl blocks.
+
+       (c-guess-basic-syntax): Replaced the `knr-argdecl' recognition
+       code with one that doesn't depend on the current indentation.
+       The anchor position for `knr-argdecl' has also changed, but in
+       a way that is unlikely to cause compatibility problems.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-defs.el, progmodes/cc-engine.el
+       (c-forward-comment): `forward-comment' in XEmacs skips over
+       line continuations in the backward direction.  Correct for
+       that.  Also made this a defun since it has grown too large now
+       to be a defsubst.
+
+       * progmodes/cc-langs.el: More convenient and decentralized
+       setup of the language specific variables.  The regexp-opt
+       mangling is also done at compile time now.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el (c-indent-line-or-region): Call
+       `c-indent-line' directly instead of through
+       `indent-according-to-mode' so that this function always
+       indents syntactically.
+
+       * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
+       where a class beginning with a nested class could cause an
+       infinite loop (the state outside the narrowed out class is
+       never used now).
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-align.el, progmodes/cc-cmds.el,
+       progmodes/cc-engine.el, progmodes/cc-vars.el: Fixes so that
+       the context sensitive analysis inside macros is restricted to
+       the bodies of #define's; other things, like #if expressions,
+       never have anything in common with their surroundings.  The
+       old `cpp-macro-cont' syntax is now used in situations where
+       the syntactic analysis isn't applicable, and a new syntactic
+       element `cpp-define-intro' is used to add indentation in
+       #define bodies.
+
+       (c-lineup-cpp-define): New name for `c-lineup-macro-cont' to
+       better reflect its use.
+
+       * progmodes/cc-engine.el (c-guess-basic-syntax): Ignore line
+       continuation backslashes in the detection of
+       `arglist-cont-nonempty'.
+
+       * progmodes/cc-align.el: Use the vector form in the return
+       value in all cases where lineup functions return absolute
+       columns.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el (c-add-stmt-syntax,
+       c-guess-basic-syntax): Anchor `brace-list-intro' and
+       `bracec-list-close' better for brace lists nested inside
+       expressions.
+
+       * progmodes/cc-engine.el, progmodes/cc-langs.el,
+       progmodes/cc-mode.el, progmodes/cc-styles.el: Cleaned up the
+       various language specific variables and their initialization.
+       The keyword regexps are now lists that are combined with
+       regexp-opt.  Some variables have changed names to fit better
+       with the naming convention.
+
+       * progmodes/cc-defs.el, progmodes/cc-vars.el
+       (c-buffer-is-cc-mode): The value is the mode symbol of the
+       original CC Mode mode.
+
+       (c-major-mode-is): Compare against the buffer local variable
+       `c-buffer-is-cc-mode', which is faster than using
+       `derived-mode-class'.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el (c-forward-syntactic-ws,
+       c-backward-syntactic-ws, c-forward-token-1,
+       c-backward-token-1, c-in-literal, c-literal-limits,
+       c-collect-line-comments, c-literal-type, c-on-identifier,
+       c-guess-basic-syntax): These functions are now considered part
+       of the "CC Mode API" and may be used by other code.  That's
+       signified by making their documentation into docstrings.
+
+       (c-whack-state, c-hack-state, c-skip-case-statement-forward):
+       Removed these internal functions since they aren't used.
+
+       (c-forward-to-cpp-expression): Classified this function as
+       internal.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-langs.el (c-ObjC-class-key, c-Java-class-key):
+       Simplified these regexps; the class keywords they contain
+       ought to be enough to avoid false matches, so checking for
+       following identifiers etc is just unnecessary (and might also
+       fail for oddly formatted code).
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el, progmodes/cc-cmds.el
+       (c-forward-comment-lc): New function that behaves like
+       `c-forward-comment', with the exception that line
+       continuations are treated as whitespace.
+
+       (c-beginning-of-statement): Use `c-forward-comment-lc', to
+       work correctly in macros and other places where line
+       continuations should be treated as whitespace.
+
+       * progmodes/cc-engine.el (c-guess-basic-syntax): Analyze a
+       normal label in a switch block as a case label, to get
+       consistent lineup with the case labels.
+
+       * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
+       in skipping over a macro that ends with an empty line.
+
+       * progmodes/cc-styles.el: Require cc-align since styles added
+       with `c-add-style' often contains references to functions
+       defined there, and so the `c-valid-offset' check might
+       otherwise complain on them.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-align.el, progmodes/cc-mode.texi,
+       progmodes/cc-vars.el: Added two new lineup functions:
+
+       (c-lineup-knr-region-comment): A new lineup function to get
+       (what most people think is) better indentation of comments in
+       the "K&R region" between the function header and its body.
+
+       (c-lineup-gcc-asm-reg): New lineup function for better
+       indentation inside gcc asm blocks.  Contributed by Kevin Ryde.
+
+       (c-offsets-alist): Use `c-lineup-gcc-asm-reg' and
+       `c-lineup-knr-region-comment' in the default offset
+       configuration, since these two functions have little impact
+       outside their intended use, and they generally do the right
+       thing when they kick in.
+
+       * progmodes/cc-engine.el (c-guess-continued-construct,
+       c-guess-basic-syntax): Handle nested functions in all
+       languages, not just Pike.  In C and C++ there's a gcc
+       extension for this, and it also gives better treatment of
+       macros that are followed by blocks.
+
+       * progmodes/cc-langs.el (c-symbol-key): Made this variable
+       mode specific, to handle Pike special symbols like `== better.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el, progmodes/cc-engine.el,
+       progmodes/cc-vars.el (c-report-syntactic-errors): A new
+       variable to control the syntactic error messages.  It defaults
+       to off; since CC Mode ignores most syntactic errors it might
+       as well ignore them all for the sake of consistency.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el (c-looking-at-inexpr-block):
+       Optimization.  Can give a noticeable speedup if there's a
+       large preceding function or class body.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-align.el, progmodes/cc-cmds.el: Use more
+       efficient and correct insertion functions in many places.
+       Always inherit text properties correctly if the text is
+       permanent.  Also do it for speed in temporary insertions,
+       since I figure it's less work to continue the surrounding text
+       properties than to break them.
+
+       * progmodes/cc-styles.el (c-read-offset): Unbind SPC in the
+       completion to make it easier to enter lists.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el (c-beginning-of-defun): Fixed bug where
+       c-state-cache was clobbered.
+
+       * progmodes/cc-cmds.el, progmodes/cc-engine.el
+       (c-calculate-state): Moved from cc-cmds.el to cc-engine.el due
+       to dependency.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el (c-parse-state): Ignore unbalanced
+       open parens in macros (if point isn't in the same one).
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el (c-context-open-line): New function
+       that is the `open-line' equivalent to `c-context-line-break'.
+
+       * progmodes/cc-mode.el (c-mode-base-map): Compatibility fix
+       for Emacs 21 since `indent-new-comment-line' has been changed
+       to `comment-indent-new-line' there.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el, progmodes/cc-langs.el
+       (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): New
+       variables containing the character sets used to recognize
+       statement/declaration boundaries.  These variables might help
+       to support languages like javascript and awk, where newlines
+       sometimes delimits statements.
+
+       (c-crosses-statement-barrier-p): Use `c-stmt-delim-chars' as
+       the set of statement delimiting characters, to allow it to be
+       changed dynamically and per-mode.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el (c-looking-at-bos,
+       c-looking-at-inexpr-block, c-add-stmt-syntax,
+       c-guess-basic-syntax): Treat blocks directly inside function
+       calls like "bare" statements inside function calls, and not
+       like in-expression statements.  This to make indentation of
+       such blocks consistent with other statements inside macro
+       calls.
+
+       * progmodes/cc-engine.el (c-guess-basic-syntax): Made
+       arglist-cont anchor correctly in arglists that contain
+       statements.
+
+       * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed
+       consistent anchoring of defun-block-intro in defuns in code
+       blocks (can only occur in Pike).
+
+       * progmodes/cc-engine.el (c-looking-at-inexpr-block,
+       c-looking-at-inexpr-block-backward): Changed the arguments to
+       require containing sexps and paren state, for better
+       efficiency.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el, progmodes/cc-engine.el,
+       progmodes/cc-vars.el: Improved anchoring of statement and
+       handling of labels in front of substatements.
+
+       (c-guess-continued-construct, c-guess-basic-syntax): Improved
+       and unified anchoring at statements.  Statements beginning
+       with comments or labels are now avoided, by going out of
+       blocks and containing statements if necessary.  This nesting
+       handling also fixes the case when there's a statement after a
+       block open brace.  Added the syntactic symbol
+       `substatement-label'.
+
+       (c-electric-colon): Map the new `substatement-label' to
+       `label' when consulting `c-hanging-colons-alist'.
+
+       (c-offsets-alist): Added substatement-label.  Updated the
+       comments for the new anchoring positions at statements.
+
+       * progmodes/cc-engine.el (c-guess-basic-syntax): Use more sane
+       anchor points for knr-argdecl-intro and access-label.  They
+       used to refer to some point on the same line, a bug which was
+       neutralized by a kludge in `c-get-syntactic-indentation' which
+       ignored such anchor points.
+
+       (c-get-syntactic-indentation): Removed the kludge that was
+       necessary due to buggy anchor points.
+
+       * progmodes/cc-engine.el (c-guess-basic-syntax): Do not check
+       the absence of a comma before arglist-close (case 7A) in any
+       language, since there's nothing better to do that case anyway.
+       Added special case to make in-expression statements be
+       recognized as normal arglist-cont if we're directly in a macro
+       arglist, for consistency with other "bare" statements.
+
+       * progmodes/cc-engine.el (c-looking-at-bos): Added optional
+       limit arg for backward searches.
+
+       * progmodes/cc-engine.el (c-looking-at-inexpr-block): Anchor
+       gcc in-expression statements at the surrounding open
+       parenthesis.  Treat a class body as an in-expression class if
+       it's used in an object clone expression in Pike.
+
+       * progmodes/cc-engine.el (c-get-offset,
+       c-get-syntactic-indentation): Allow several anchor positions
+       in the list of syntactic symbols.  Only the first is used as
+       the base for the offset calculation.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el (c-indent-defun): Indent the current
+       macro if inside one at the top level.  Do not throw an error
+       if used at the top level outside a macro.
+
+       * progmodes/cc-cmds.el (c-backslash-region): Do tab width
+       alignment only if the backslashes can't be aligned with
+       surrounding backslashes.
+
+       * progmodes/cc-engine.el (c-end-of-macro): New function.
+
+       * progmodes/cc-engine.el (c-least-enclosing-brace): Rewritten
+       to not be destructive.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el (c-context-line-break): Only do a macro
+       line break when point is inside the content of it; if it's in
+       the cpp keyword a normal line break is done.
+
+       * progmodes/cc-engine.el (c-guess-basic-syntax): Do not add
+       cpp-macro-cont inside the argument list to a #define.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-defs.el (c-forward-comment): Implemented a
+       kludge to avoid the problem most forward-comment incarnations
+       have with `\' together with comment parsing.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el (c-check-state-cache): Fixed bug
+       which could cause the state returned by `c-parse-state' to
+       lack a closed paren element.  That in turn could result in
+       very long searches, since it's common that they start from the
+       last preceding close brace.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el (c-beginning-of-statement-1): Do not
+       treat else-if as a single continuation, since that'd make it
+       hard to get the right anchor point when there's a line break
+       between the two keywords.  This change causes else-clause to
+       be anchored on the closest preceding else-if and not always on
+       the starting if, but that doesn't affect the indentation for
+       any reasonably sane style.  Also introduced a noerror flag.
+
+       (c-beginning-of-closest-statement): Removed;
+       c-beginning-of-statement-1 now avoids the problem this one
+       solved.
+
+       * progmodes/cc-engine.el (c-guess-continued-construct,
+       c-guess-basic-syntax): Better and more uniform anchor points
+       for 'statement-cont and 'substatement.  The effect is
+       noticeable mostly when there's a label on the same line as the
+       beginning of the statement, or when there are more stuff
+       before the start of the statement.
+
+       * progmodes/cc-engine.el (c-looking-at-inexpr-block): Added
+       flag to disable looking at the type of the surrounding paren
+       since that confuses c-beginning-of-statement-1 and a couple of
+       other places.
+
+       * progmodes/cc-engine.el (c-guess-basic-syntax): Avoid
+       stepping to the previous statement in case 18.  Improvements
+       in recognition of statement blocks on the top level.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el (c-beginning-of-statement-1,
+       c-crosses-statement-barrier-p): Rewritten to get a well
+       defined and documented behavior.  This fixes some tricky cases
+       in recognition of do-while constructs.
+
+       (c-backward-to-start-of-do, c-backward-to-start-of-if):
+       Removed; use c-beginning-of-statement-1 instead.
+
+       (c-guess-continued-construct, c-guess-basic-syntax): Various
+       fixes to not depend on the bugs previously in
+       c-beginning-of-statement-1.  Cleanups in cases 18 and 17 to
+       use the new behavior of c-beginning-of-statement-1 better.
+       Fixed recognition of catch blocks inside macros.
+
+       * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
+       in skipping over a macro.
+
+       * progmodes/cc-langs.el (c-label-kwds): New variable to
+       contain the appropriate c-*-label-kwds value.
+
+       * progmodes/cc-vars.el (defcustom-c-stylevar): Fixed value
+       evaluation bug that caused the widget for
+       c-block-comment-prefix to bug out.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el (c-guess-basic-syntax): Improved
+       recognition of statements: They are now recognized in contexts
+       where they normally can't occur, e.g. on the top level or in
+       function call arguments.  This is mainly useful to recognize
+       statements in macros at the top level, and in arguments to
+       macros.  The cases has been moved around quite a bit, and case
+       10 has been copied to case 18.  (The cases has not been
+       renumbered because of this.)
+
+       (c-guess-continued-construct): New function which has the
+       rules which are common between cases 10 and 18.
+
+       * progmodes/cc-engine.el (c-beginning-of-statement-1,
+       c-backward-to-start-of-do, c-backward-to-start-of-if): Fixes
+       so that they really obey the passed limits.
+
+       (c-safe-position): Return nil if the state doesn't contain a
+       suitable position.
+
+       (c-guess-basic-syntax): Fixes some too short limits in calls
+       to c-beginning-of-statement-1.  Some fixes for top level
+       analysis in ObjC mode.
+
+       * progmodes/cc-engine.el (c-beginning-of-statement-1): Fixed
+       bug in do-while statements where the body is not a block.
+
+       * progmodes/cc-styles.el (c-set-style): Reset
+       c-special-indent-hook to its global value if in override mode.
+       Fixes problem where functions on that hook remained after
+       style switch.
+
+       * progmodes/cc-engine.el (c-evaluate-offset, c-get-offset):
+       Use c-benign-error to report the c-strict-syntax-p error.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-align.el, progmodes/cc-defs.el,
+       progmodes/cc-cmds.el, progmodes/cc-engine.el, cc-vars.el:
+       Several fixes to treat macros as code and not literals and to
+       handle line continuations transparently.
+
+       (c-skip-ws-forward, c-skip-ws-backward): New macros to skip
+       through whitespace and line continuations, but not comments
+       and macros.
+
+       (c-in-literal): No longer recognizes macros as literals by
+       default. An extra flag argument is required to do that.
+
+       (c-macro-start, c-query-macro-start,
+       c-query-and-set-macro-start): Added a cache for the macro
+       start position.
+
+       (c-forward-syntactic-ws, c-backward-syntactic-ws): Fixes for
+       more speed when limits are given.  Workaround for bad behavior
+       in forward-comment in some emacsen when it hits a buffer limit
+       with a large repeat count.
+
+       (c-lineup-macro-cont): Improved behavior when
+       c-syntactic-indentation-in-macros is nil.
+
+       (c-syntactic-indentation-in-macros, c-backslash-max-column,
+       c-auto-align-backslashes): New customization variables to
+       control macro handling.
+
+       * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
+       Fixes to handle line continuations.
+
+       * progmodes/cc-defs.el, progmodes/cc-styles.el
+       (c-get-style-variables, c-set-offset): Report style errors
+       with message and ding instead of error signal.  This to avoid
+       interrupted mode init if there's some style problem.
+
+       (c-benign-error): New macro to report errors that doesn't need
+       to interrupt the operation.
+
+       * progmodes/cc-defs.el (c-point): Added eonl and eopl
+       positions.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el (c-electric-brace, c-indent-region):
+       Removed most of the c-state-cache fiddling, since the global
+       state cache now handles this.
+
+       * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
+       when there's an open paren at the very first char of the
+       visible buffer region.
+
+       * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
+       Cache the state globally and invalidate it below every buffer
+       change with the new after change function
+       `c-check-state-cache'.  This gives a considerable performance
+       boost when editing large functions or classes.
+
+       * progmodes/cc-engine.el (c-whack-state-after): Slight
+       optimization.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el, progmodes/cc-langs.el,
+       progmodes/cc-align.el: Improvements to syntactic analysis
+       inside macros:
+
+       (c-block-stmt-1-kwds, c-block-stmt-2-kwds): New variables used
+       by `c-guess-basic-syntax'.
+
+       (c-parse-state): Fixed bug with braces inside macros when
+       using cached state info.
+
+       (c-forward-to-cpp-expression): New function to aid in
+       syntactic analysis inside macros.
+
+       (c-beginning-of-statement-1, c-backward-syntactic-ws): Fixes
+       to work better inside macros.
+
+       (c-forward-syntactic-ws): Whitespace between the # and the
+       command should be allowed in preprocessor directives.
+
+       (c-lineup-macro-cont): New lineup function to get context
+       sensitive indentation inside macros.
+
+       (c-offsets-alist): Made `c-lineup-macro-cont' the default for
+       cpp-macro-cont.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el (c-beginning-of-statement-1,
+       c-forward-syntactic-ws): Fixes to handle continued lines.
+
+       (c-backward-to-start-of-if, c-guess-basic-syntax): Do
+       syntactic analysis inside macros.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el (c-indent-region): Did a speedup made
+       possible by the more flexible state cache.
+
+       * progmodes/cc-engine.el (c-parse-state, c-whack-state-before,
+       c-whack-state-after, c-hack-state,
+       c-narrow-out-enclosing-class, c-guess-basic-syntax): Improved
+       the state cache system.  It now can use partial info from an
+       old cached state to calculate a new one at a different
+       position.  Removed some kludges to avoid the state cache.  The
+       new functions `c-whack-state-before' and `c-whack-state-after'
+       replace the now obsolete `c-whack-state'.
+
+       * progmodes/cc-engine.el (c-beginning-of-statement-1):
+       Optimized backing through a macro.  This can speed things up
+       quite a bit when there are long macros before point.
+
+       (c-beginning-of-macro): Do not ignore the limit.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el (c-electric-continued-statement): Fixed
+       a bug where the keyword wasn't reindented correctly if
+       followed by another keyword or identifier.
+
+       * progmodes/cc-engine.el (c-parse-state): Ignore closed brace
+       pairs that are in macros.  Fixes some cases where e.g. the
+       second of two "do { } while (0)" macros after each other
+       indented differently.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el (c-beginning-of-macro,
+       c-forward-syntactic-ws): Recognize "#!" as a preprocessor
+       directive when it begins a line, to allow for script
+       interpreter lines like "#!/usr/bin/pike" at the beginning of
+       the file.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el (c-looking-at-inexpr-block):
+       Recognize brace blocks inside a parenthesis expression as
+       inexpr-statement.  Useful when writing statements as macro
+       arguments.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el (c-fill-paragraph, c-do-auto-fill,
+       c-mask-comment): Broke out the comment masking code from
+       `c-fill-paragraph' to a new function `c-mask-comment', to be
+       able to do the same thing in `c-do-auto-fill'.  This should
+       make auto-fill-mode behave better.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el (c-electric-brace, c-electric-paren):
+       Check `executing-macro' to avoid blinking parens when macros
+       are executed.
+
+       * progmodes/cc-mode.el, progmodes/cc-styles.el
+       (c-setup-filladapt): Moved from cc-mode.el to cc-styles.el for
+       consistency with `c-setup-paragraph-variables' (which was
+       placed there due to the dependency from `c-set-style').
+
+       * progmodes/cc-styles.el, progmodes/cc-vars.el: Fixed bug with
+       incomplete initialization from the style variable fallbacks if
+       there already is a style called "user" defined when CC Mode
+       starts up for the first time.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el, progmodes/cc-vars.el
+       (c-comment-indent, c-indent-comment-alist): Added new variable
+       `c-indent-comment-alist' to allow better control over
+       `c-comment-indent'.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-align.el (c-lineup-C-comments): Try to match
+       both `comment-start-skip' and the comment prefix on the
+       current line with the comment starter, so that we line up
+       comments which matches `c-comment-prefix-regexp' on the first
+       line (after the `/') without the need to make
+       `comment-start-skip' match whatever `c-comment-prefix-regexp'
+       matches.
+
+       * progmodes/cc-mode.el, progmodes/cc-styles.el (c-common-init,
+       c-set-style-1, c-setup-paragraph-variables): Moved the
+       variable initialization based on `c-comment-prefix-regexp' to
+       a new function `c-setup-paragraph-variables', which is now
+       used both at mode init and when a style that sets
+       `c-comment-prefix-regexp' is activated.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el (c-beginning-of-member-init-list):
+       Better handling of C++ template args to avoid confusion with
+       `<' and `>' used as operators in member init expressions.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el (c-most-enclosing-brace,
+       c-least-enclosing-brace): Added optional second arg to limit
+       the search to before a certain point.
+
+       * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
+       which could cause incorrect analysis if a cached state is used
+       (usually only happens when an electric key reindents a line).
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-defs.el (c-forward-comment): More idiosyncrasy
+       insulation.  This time for XEmacs 21.
+
+       * progmodes/cc-engine.el, progmodes/cc-langs.el: Improved
+       handling of inheritance lists:
+
+       (c-beginning-of-inheritance-list): Rewritten to use a more
+       syntactically correct method that doesn't get confused by
+       badly placed linebreaks and comments.
+
+       (c-guess-basic-syntax): Several fixes to the handling of
+       inheritance lists in combination with templates.  'inher-intro
+       is now anchored on the start of the class declaration and not
+       the indentation of the current line.  Switched places on cases
+       5D.3 and 5D.4 and made them use more syntactically correct
+       methods.
+
+       (c-inher-key): Removed since the code in
+       `c-guess-basic-syntax' now uses token-based search.
+
+       * progmodes/cc-cmds.el, progmodes/cc-mode.el (c-mode-menu):
+       Added a submenu to access some toggles.
+
+       (c-toggle-syntactic-indentation): New function to toggle the
+       variable `c-syntactic-indentation'.
+
+       * progmodes/cc-styles.el (c-set-style): Improved the error
+       message for incorrect offsets a bit.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el (c-indent-exp): Don't require that the
+       sexp follows point immediately, instead find the closest
+       following open paren that ends on another line.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-align.el (c-lineup-cascaded-calls): New
+       indentation function.
+
+       * progmodes/cc-engine.el (c-beginning-of-macro): Bugfix for
+       directives with whitespace between the '#' and the name.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el (c-forward-syntactic-ws,
+       c-backward-syntactic-ws): Handle line continuations as
+       whitespace.  Don't move past a macro if that'd take us past
+       the limit.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-engine.el (c-beginning-of-macro,
+       c-forward-syntactic-ws): Multiline strings begin with `#"' in
+       Pike, and that shouldn't be confused with a preprocessor
+       directive.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el: Extended the kludge to interoperate
+       with the delsel and pending-del packages wrt to the new
+       function `c-electric-delete-forward'.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el (c-indent-exp): Keep the indentation of
+       the block itself, i.e. only indent the contents in it.
+
+       * progmodes/cc-styles.el (c-set-style): Use the default
+       argument to completing-read instead of initial-contents, if
+       the function is recent enough to support it.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-mode.el (c-mode-help-address): Removed
+       bug-gnu-emacs@gnu.org from the receiver list for bug reports.
+       I've almost never seen a bug reported this way that should go
+       to that list, but it's rather common that the reports concern
+       the combination CC Mode and XEmacs instead.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el (c-electric-paren): Fixed bug when both
+       brace-elseif-brace and brace-catch-brace are active and
+       there's a "else if"-block before the catch block.
+
+       * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
+       Detect function headers that span lines.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el (c-electric-brace,
+       c-electric-semi&comma, c-electric-colon, c-electric-paren):
+       Check for last on line only for doing the auto-newline-mode
+       stuff, not for the reindentation.
+
+       * progmodes/cc-cmds.el (c-electric-brace): Fixed bugs in the
+       handling of c-syntactic-indentation: When it's nil, indent the
+       new lines but don't reindent the current one.  Reindent the
+       line only when the inserted brace comes first on it, instead
+       of last.
+
+       * progmodes/cc-cmds.el (c-electric-brace,
+       c-electric-semi&comma): Fixed two places where
+       c-syntactic-indentation wasn't heeded.
+
+       * progmodes/cc-cmds.el (c-electric-pound): Don't be electric
+       inside a macro.
+
+       * progmodes/cc-engine.el (c-backward-to-start-of-if): Try a
+       little harder to find a fallback position when an orphan else
+       is found.  Fixed case where an else following a do-while
+       statement could be associated with an if inside the do-while.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el (c-guess-fill-prefix): Tuned the dwim
+       for the fallback to add a single space after the comment
+       prefix.
+
+       * progmodes/cc-cmds.el (c-indent-new-comment-line): Somewhat
+       better behavior in some special cases, especially for
+       single-line comments.  Avoid breaking up a comment starter or
+       ender.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el (c-outline-level): Applied patch from
+       the Emacs sources to make this work in invisible text.
+
+       * progmodes/cc-langs.el (c-switch-label-key): Fixed regexp to
+       not be confused by a later ':' on the same line as the label.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el, progmodes/cc-mode.el
+       (c-electric-delete, c-electric-delete-forward): Split
+       `c-electric-delete' into two functions where
+       `c-electric-delete-forward' always deletes forward and
+       `c-electric-delete' only contains the code necessary for
+       XEmacs to choose between backward and forward deletion.
+       `c-electric-delete-forward' is now bound to C-d to get the
+       electric behavior on that key too.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-cmds.el (c-fill-paragraph): Fixed bogus direct
+       use of c-comment-prefix-regexp, which caused an error when
+       it's a list.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init,
+       c-default-style): Removed the hardcoded switch to "java" style
+       in Java mode.  It's instead taken care of by the default value
+       for c-default-style.
+
+2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
+
+       * progmodes/cc-align.el (c-lineup-math): Fix bug where lineup
+       was triggered by equal signs in string literals.
+
+2002-04-21  Kim F. Storm  <storm@cua.dk>
+
+       * subr.el (insert-buffer-substring-no-properties): New function.
+       (insert-buffer-substring-as-yank): New function.
+
+2002-04-19  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * files.el (file-name-non-special): Don't mangle the 0'th arg and the
+       return value of file-name-completion and file-name-all-completions.
+
+2002-04-19  Glenn Morris <gmorris@ast.cam.ac.uk>
+
+       * progmodes/f90.el: Update maintainer.
+       (f90-line-continued): Recognize blank/comment lines embedded in
+       continuation lines.
+       (f90-looking-at-program-block-start): No extra indentation after
+       function or subroutine keyword appears in single quotes.
+
+2002-04-19  Miles Bader  <miles@gnu.org>
+
+       * custom.el (customize-mark-to-save, customize-mark-as-set)
+       (custom-quote): Moved here from `cus-edit.el'.
+       * cus-edit.el (customize-mark-to-save, customize-mark-as-set)
+       (custom-quote): Moved to `custom.el'.
+
+2002-04-18  Richard M. Stallman  <rms@gnu.org>
+
+       * facemenu.el (list-text-properties-at): Command deleted.
+
+       * rect.el (insert-rectangle): Use insert-for-yank.
+
+       * register.el (insert-register): Use insert-for-yank.
+       (describe-register-1): Discard text props in yank-excluded-properties.
+
+       * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
+       Fix parts in construction of `menu-item' item at end.
+
+       * mail/mailabbrev.el (mail-mode-abbrev-table): Delete defvar.
+
+       * subr.el (insert-for-yank): New function.
+
+       * simple.el (yank-excluded-properties): New user option.
+       (yank-pop, yank): Use insert-for-yank.
+
+2002-04-19  Kim F. Storm  <storm@cua.dk>
+
+       * simple.el (pop-to-mark-command): Do not set this-command.
+       (set-mark-command): Always jump to mark when called with arg.
+
+2002-04-18  Francesco Potorti`  <pot@gnu.org>
+
+       * comint.el (comint-watch-for-password-prompt): Remove whitespace
+       at the beginning of password prompts.
+
+2002-04-18  Andrew Innes  <andrewi@gnu.org>
+
+       * facemenu.el: Remove require of wid-edit.
+
+2002-04-17  Colin Walters  <walters@verbum.org>
+
+       * ibuffer.el (ibuffer-visit-buffer): Optionally allow reducing to
+       one window.
+       (ibuffer-visit-buffer-1-window): Simply call `ibuffer-visit-buffer'.
+       (ibuffer-current-state-list): Reinstate optional argument; now
+       just call `point' inside the mapping function.
+
+2002-04-17  Francesco Potorti`  <pot@gnu.org>
+
+       * dired-aux.el (dired-star-subst-regexp)
+       (dired-quark-subst-regexp): New constants.
+       (dired-do-shell-command, dired-shell-stuff-it): Use them.
+       (dired-do-shell-command): Raise an error if both `*' and `?'
+       substitution marks are used in the same command.
+       (dired-shell-stuff-it): Substitute all instances of `*' and `?'
+       in a command given via dired-do-shell-command.
+
+       * comint.el (comint-password-prompt-regexp): Match "Repeat passphrase".
+
+2002-04-16  Jason Rumney  <jasonr@gnu.org>
+
+       * international/mule-cmds.el (locale-preferred-coding-systems):
+       Add "jpn".
+
+2002-04-16  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * term.el (term-emulate-terminal): Fix last change.
+
+2002-04-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
+
+       * bindings.el (mode-line-mode-menu): Update names to reflect
+       latest changes.
+
+2002-04-16  Mike Williams  <mdub@bigfoot.com>
+
+       * textmodes/sgml-mode.el (sgml-at-indentation-p): Move to fix
+       compilation error.
+
+2002-04-16  Michael Kifer  <kifer@cs.stonybrook.edu>
+
+       * viper-ex.el: Patch by Samuel Padgett. Copyright papers received.
+       (viper-ex-print-buf-name): New variable.
+       (viper-ex-print-buf): New variable.
+       (ex-token-alist): Invoke ex-print on ":print" Ex commands.
+       (ex-g-marks): New variable.
+       (ex-print): New function.
+       (ex-print-display-lines): New function.
+
+       * viper.el (viper-set-hooks): Add window-setup-hook, which sets
+       the cursor color.
+
+       * ediff-util.el (ediff-cleanup-mess): Delete ctl window on exit
+       when the window is not in its own frame.
+       (ediff-clone-buffer-for-region-comparison): More robust window
+       arrangement while prompting for regions to compare.
+       (ediff-make-cloned-buffer): Use generate-new-buffer-name.
+       (ediff-inferior-compare-regions): Deleted unused vars
+       ctl-buf and quit-now.
+
+2002-04-15  Richard M. Stallman  <rms@gnu.org>
+
+       * facemenu.el (facemenu-add-new-face): Use this only for faces.
+       Delete arg MENU.
+       (facemenu-add-new-color): New function.
+       (facemenu-set-foreground, facemenu-set-background):
+       Use facemenu-add-new-color.
+
+2002-04-15  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * ediff-init.el (ediff-current-diff-face-A)
+       (ediff-current-diff-face-B, ediff-current-diff-face-C)
+       (ediff-current-diff-face-Ancestor, ediff-fine-diff-face-A)
+       (ediff-fine-diff-face-B, ediff-fine-diff-face-C)
+       (ediff-fine-diff-face-Ancestor, ediff-even-diff-face-A)
+       (ediff-even-diff-face-B, ediff-even-diff-face-C)
+       (ediff-even-diff-face-Ancestor, ediff-odd-diff-face-A)
+       (ediff-odd-diff-face-B, ediff-odd-diff-face-C)
+       (ediff-odd-diff-face-Ancestor): Add special color definitions for
+       tty and MS-DOS displays.
+
+2002-04-15  Andrew Innes  <andrewi@gnu.org>
+
+       * facemenu.el: Require wid-edit.
+
+2002-04-15  Miles Bader  <miles@gnu.org>
+
+       * faces.el (highlight): Force foreground to be black on a tty, so
+       this face is readable on a dark-background tty.
+       * wid-edit.el (widget-field-face, widget-single-line-field-face):
+       Likewise.
+
+2002-04-14  Kim F. Storm  <storm@cua.dk>
+
+       * simple.el (pop-to-mark-command, push-mark-command): New commands.
+       (set-mark-command): Use them.
+       Enhanced functionality when command is repeated:
+       - If first command set the mark (no prefix arg), repeat temporarily
+       enables transient-mark-mode.
+       - If first command jumped to mark off ring (with argument),
+       repeat (with or without arg) jump to next mark off ring.
+       - Use C-u C-u prefix to set mark after jump.
+       (exchange-point-and-mark): Temporarily enable transient-mark-mode
+       if prefix arg.
+
+2002-04-14  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
+
+       * speedbar.el (speedbar-tag-hierarchy-method)
+       (speedbar-toggle-updates, speedbar-toggle-images): Doc fixes.
+
+2002-04-14  Mike Williams  <mdub@bigfoot.com>
+
+       * textmodes/sgml-mode.el (sgml-parse-tag-backward): Fix to work at
+       beginning of buffer.
+
+2002-04-14  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
+
+       * speedbar.el (speedbar-generic-item-info)
+       (speedbar-sort-tags): Doc fix.
+       (speedbar-add-supported-extension): Fix typo in interactive spec.
+
+2002-04-13  Colin Walters  <walters@verbum.org>
+
+       * ibuffer.el (ibuffer-forward-line): Just skip header if we're
+       only moving one line forward.
+       (ibuffer-map-lines): Preserve point position even if we delete
+       lines.  Only call mapping functions with buffer and mark
+       arguments; the other two were unused.
+       (ibuffer-redisplay, ibuffer-update): Always skip special areas.
+
+       * ibuf-macs.el, ibuf-ext.el: Update callers of `ibuffer-map-lines'.
+
+       * calc/calc-bin.el (math-format-radix-float): Use `when'.
+
+       * calc/calc.el (math-format-number): Load `calc-ext' before we
+       call `math-group-float'.
+
+       * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
+       Renamed from `gamegrid-add-score'.
+       (gamegrid-add-score-insecure): Restored from the old
+       `gamegrid-add-score'.
+       (gamegrid-add-score): Just dispatch on `system-type' to one of the
+       previous two functions.
+
+2002-04-13  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
+
+       * iswitchb.el: Update commentary to include new function
+       iswitchb-exclude-nonmatching.
+
+2002-04-12  John Wiegley  <johnw@gnu.org>
+
+       * eshell/esh-ext.el (eshell-script-interpreter): Fix for CRLF
+       operating systems to the regexp used to detect a script's interpreter.
+
+2002-04-12  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * frame.el (frames-on-display-list): Use `equal' to compare the
+       `display' frame parameter to the argument DISPLAY.
+
+2002-04-12  Dave Love  <fx@gnu.org>
+
+       * help.el (string-key-binding): Deal with margin events.
+
+2002-04-12  Francesco Potorti`  <pot@gnu.org>
+
+       * comint.el (comint-password-prompt-regexp): Match " SMB password".
+
+2002-04-11  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * sort.el (sort-reorder-buffer): Don't assume point-min == 1.
+
+       * xt-mouse.el (xterm-mouse-mode): Use define-minor-mode.
+
+       * emacs-lisp/lucid.el (device-class, buffer-syntactic-context)
+       (buffer-syntactic-context-depth): New funs.
+
+       * emacs-lisp/edebug.el (edebug-eval-defun): Don't use defconst
+       on variables.
+
+       * emacs-lisp/debug.el (debug-on-entry): Use push.
+       (debugger-make-xrefs): Don't assume point-min == 1.
+
+       * progmodes/cc-engine.el (c-backward-to-start-of-if):
+       Don't assume point-min == 1.
+
+       * progmodes/etags.el (etags-verify-tags-table, etags-snarf-tag)
+       (etags-list-tags, etags-tags-apropos, select-tags-table):
+       Don't assume point-min == 1.
+
+2002-04-12  Mike Williams  <mdub@bigfoot.com>
+
+       * textmodes/sgml-mode.el (sgml-guess-indent): New function.
+
+2002-04-11  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * textmodes/fill.el (fill-context-prefix): Fix up last change.
+
+       * simple.el (line-move): Use memq rather than or.
+       (transpose-sexps): Don't presume as much of forward-sexp's behavior.
+       (do-auto-fill): Use fill-move-to-break-point.
+       (syntax-code-table): Remove.
+
+       * textmodes/fill.el (canonically-space-region): Obey sentence-end.
+       Don't add spaces at end of sentences at end of line.
+       (fill-move-to-break-point): Make sure the result is always greater
+       than linebeg, so we ensure forward progress.
+       (fill-region-as-paragraph): Compare to `to' rather than eobp.
+       (fill-paragraph): Don't rebind fill-paragraph-function.
+
+2002-04-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
+
+       * menu-bar.el (menu-bar-adv-search-menu): Add incremental search.
+
+2002-04-11  Andreas Schwab  <schwab@suse.de>
+
+       * files.el (file-name-non-special): Handle return value of t from
+       `file-name-completion'.
+
+2002-04-10  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * textmodes/fill.el (fill-context-prefix): Match the two prefixes
+       differently to avoid pathological exponential-time case.
+       (adaptive-fill-regexp): Add ! and %.
+       (fill-delete-prefix): Remove indentation while removing prefix.
+       (fill-delete-newlines): Obey sentence-end.
+       (fill-move-to-break-point, fill-newline): New functions extracted
+       from fill-region-as-paragraph.
+       (fill-region-as-paragraph): Use them.
+       Don't fiddle with fill-indent-according-to-mode.
+
+2002-04-10  Colin Walters  <walters@verbum.org>
+
+       * play/snake.el (snake-score-file): Default to just "snake-scores".
+
+       * play/tetris.el (tetris-score-file): Likewise.
+
+       * play/gamegrid.el (gamegrid-add-score): Rewrite from scratch to
+       use `update-game-score'.
+
+       * ibuffer.el (ibuffer-canonicalize-state-list): Delete unused function.
+       (ibuffer-current-buffers-with-marks): Don't call `buffer-list'
+       ourselves; take it as an argument.  Caller updated.
+       (ibuffer-mode): Make mode-class special.
+
+2002-04-10  Richard M. Stallman  <rms@gnu.org>
+
+       * dired.el (dired-view-command-alist): New variable.
+       (dired-view-file): Use external viewers for some files names.
+
+       * mouse.el (mouse-drag-region-1): Display region highlight
+       only in the selected window.
+
+       * subr.el (remove-hook): When there are no more local hooks,
+       kill the buffer-local value.
+
+       * isearch.el (isearch-mode): Don't call make-frame-visible
+       if frame is already visible.
+
+       * cus-face.el (custom-face-attributes): Fix typo in `ultra-bold'.
+
+2002-04-09  Emmanuel Briot  <briot@act-europe.fr>
+
+       * progmodes/ada-prj.el: Add support for the new project file
+       fields: gnatfind-opt, debug-pre-cmd and debug-post-cmd.  Fix
+       widget handling for Emacs 21.  ada-mode now only supports a single
+       active project file, instead of one per buffer.  This is far less
+       confusing.
+
+       * progmodes/ada-stmt.el: Menu changed from Statements to
+       Templates.
+       (ada-func-or-proc-name): Get real subprogram name, after change in
+       ada-mode.el.
+
+       * progmodes/ada-xref.el: Ada-mode no longer supports a different
+       project file per buffer.  This was too complex.  Instead, there is
+       now a single active project file at any given time, and the user
+       can switch the active one through the Ada menu.  This revision
+       also provides better handling of the Windows command line, and the
+       various available shells on that platform.  ada-mode is now fully
+       integrated with the GNU visual debugger gvd, see
+       http://libre.act-europe.fr.
+       (ada-prj-default-comp-opt): Use the new GNAT switch -gnatQ.  This
+       is only available with GNAT 3.14.
+       (ada-prj-gnatfind-switches, ada-cd-command): New variable.
+       (ada-quote-cmd): New function.
+       (ada-initialize-runtime-library): Get the location of the actual
+       runtime the compiler will be using, including support for
+       cross-platform environments.
+       (ada-treat-cmd-string): Add support for the new variable
+       ${full_current} add support for debug-pre-cmd and debug-post-cmd,
+       two commands to run just prior to running the debugger, and just
+       after starting it.  This provide better support for cross-platform
+       and remote debugging.
+       (ada-get-absolute-dir): Remove, replace with expand-file-name.
+       (ada-gdb-application): New parameter executable-name.
+       (ada-get-ali-file-name): Better handling of separate packages.
+       Checkin on behalf of the ada-mode maintainer.
+
+       * progmodes/ada-mode.el (ada-case-exception-file)
+       (ada-indent-handle-comment-special): New variables.
+       (ada-case-exception-substring): New variable.  Casing exceptions
+       can now also be defined for substrings, in addition to full
+       identifier names.  This provides more flexibility.
+       (ada-align-list): New function, provide support for align.el in
+       ada-mode.
+       (ada-procedure-start-regexp): Add support for operators and
+       generic formal subprograms and packages.
+       (ada-imenu-comment-re): New variable.
+       (ada-imenu-generic-expression): Add support for protected types.
+       (ada-mode): Set comment-start only after running ada-mode-hook, so
+       that the user can change ada-comment-start in the hook.  Add
+       support for ispell in comments.  Add support for align.el.
+       (ada-save-exception-file, ada-create-case-exception-substring)
+       (ada-adjust-case-substring): New functions.
+       (ada-get-current-indent): Properly handles keywords with
+       uppercases.
+       (ada-goto-matching-end): Rewritten, fixes problems in the handling
+       of nested blocks.
+       (ada-untab-hard): Do not touch the contents of comments and
+       strings.
+
+2002-04-09  Mike Williams  <mdub@bigfoot.com>
+
+       * textmodes/sgml-mode.el (sgml-lexical-context):
+       Use sgml-parse-tag-backward to find start point.
+       (sgml-looking-back-at): Doc fix.
+
+2002-04-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
+
+       * isearch.el (isearch-message-prefix): Use minibuffer-prompt face
+       for prompt.
+
+2002-04-08  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * autorevert.el (auto-revert-mode, global-auto-revert-mode):
+       Use define-minor-mode.
+       (auto-revert-buffers): Use with-current-buffer.
+       Avoid changing the minor modes.
+
+       * international/iso-acc.el (iso-accents-accent-key): Use `vector'
+       rather than char-to-string since last-input-char can be any event.
+
+       * international/titdic-cnv.el (tit-dictionary):
+       Use defvar for non-constants.
+
+       * progmodes/cwarn.el (global-cwarn-mode): Use define-minor-mode.
+       (global-cwarn-mode): Use easy-mmode-define-global-mode.
+       (cwarn-font-lock-keywords): New function.
+       Replaces cwarn-font-lock-remove-keywords cwarn-font-lock-add-keywords.
+       (cwarn-font-lock-match): New macro.
+       (cwarn-font-lock-match-assignment-in-expression)
+       (cwarn-font-lock-match-dangerous-semicolon)
+       (cwarn-font-lock-match-reference): Use it.
+
+       * progmodes/cperl-mode.el (cperl-make-face, cperl-force-face):
+       Use defvar rather than defconst since it's meant to be settable.
+       (cperl-syntax-done-to): Don't hardcode 1 as (point-min).
+       (cperl-fix-line-spacing): Add missing \ in [ t].
+
+       * loadup.el: Call ucs-unify-8859 directly rather than
+       unify-8859-on-encoding-mode.
+       (fns-*.el): Don't use it anymore.  Keep the load-history in purespace.
+
+       * textmodes/sgml-mode.el (sgml-comment-indent-new-line): New fun.
+       (sgml-mode): Use it for comment-line-break-function.
+
+2002-04-08  Jason Rumney  <jasonr@gnu.org>
+
+       * international/mule-cmds.el (reset-language-environment):
+       Handle coding-systems not being defined yet.
+
+2002-04-08  Sam Steingold  <sds@gnu.org>
+
+       * vc-cvs.el (vc-cvs-valid-version-number-p): New function.
+       (vc-cvs-checkin): Use it.
+
+2002-04-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
+
+       * files.el (display-time-string): Fix last change.
+
+2002-04-07  Sam Steingold  <sds@gnu.org>
+
+       * vc-cvs.el (vc-cvs-checkin): Pass the required argument to `error'.
+
+2002-04-07  Jason Rumney  <jasonr@gnu.org>
+
+       * international/mule-cmds.el (set-default-coding-systems)
+       (reset-language-environment): Preserve eols on
+       default-process-coding-system.
+       (coding-system-change-text-conversion): Fix case where CODING is nil.
+
+2002-04-07  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
+
+       * subr.el (play-sound): Move here from simple.el.
+
+       * simple.el (play-sound): Move to subr.el.
+
+2002-04-06  Richard M. Stallman  <rms@gnu.org>
+
+       * files.el (display-time-string-forms): Mark as risky.
+
+       * enriched.el (enriched-decode-foreground, enriched-decode-background):
+       Use proper format for desired elts of `face' property.
+       Don't test display-color-p; make the properties unconditionally.
+
+       * progmodes/compile.el (compilation-error-regexp-alist):
+       New alternatives for FILE:LINE.COL and for ranges of columns and lines.
+
+2002-04-06  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+       * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
+       for customization type.
+       Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.
+
+2002-04-06  Mike Williams  <mdub@bigfoot.com>
+
+       * textmodes/xml-lite.el: Remove.
+
+2002-04-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
+
+       * simple.el (play-sound): New function (uses play-sound-internal).
+
+2002-04-04  Richard M. Stallman  <rms@gnu.org>
+
+       * files.el (mode-line-format, mode-line-modified)
+       (mode-line-mule-info, mode-line-buffer-identification)
+       (mode-line-modes, mode-line-position): Explicitly mark as risky.
+       (hack-one-local-variable): Don't recognize "mode-line-..." as risky.
+
+       * calendar/solar.el (solar-northern-spring-or-summer-season): Doc fix.
+
+       * mail/mailabbrev.el (mail-abbrev-make-syntax-table):
+       Use (syntax-table), not old-syntax-table.
+
+       * enriched.el (enriched-decode-foreground)
+       (enriched-decode-background): Don't call facemenu-get-face.
+
+2002-04-04  Mike Williams  <mdub@bigfoot.com>
+
+       * textmodes/sgml-mode.el: Add missing require.
+       (sgml-lexical-context): Fix up CDATA detection for boundary cases.
+
+2002-04-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
+
+       * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line): Move to
+       spot indicated by text property `cvs-goal-column', if present.
+
+       * pcvs-info.el (cvs-fileinfo-pp): Use text property
+       `cvs-goal-column' to indicate position of file name (if present).
+
+2002-04-03  Richard M. Stallman  <rms@gnu.org>
+
+       * mail/mailabbrev.el (mail-abbrev-complete-alias):
+       Call mail-abbrev-make-syntax-table.
+
+       * format.el (format-deannotate-region): Doc fix.
+
+       * enriched.el (enriched-face-ans): Delete special treatment
+       for fg:... and bg:... faces.
+       (enriched-decode-foreground): Return a list that specifies
+       the foreground color, rather than creating a face.
+       (enriched-decode-background): Likewise.
+
+       * shell.el (shell-mode): Don't reinit comint-input-ring
+       if that was already done.
+
+2002-04-03  Edward M. Reingold  <reingold@emr.cs.iit.edu>
+
+       * solar.el (solar-spring-or-summer-season): Delete.
+       (solar-northern-spring-or-summer-season): New variable.
+       (solar-sunrise-and-sunset, solar-moment, solar-sunrise-sunset):
+       Rewrite.
+
+       * solar.el (diary-sabbath-candles-minutes): New variable.
+       (diary-sabbath-candles): Use it instead of fixed 18 minutes.
+
+       * calendar.el (update-calendar-mode-line): Force mode-line update.
+       Make date under the cursor available as `date' in
+       calendar-mode-line-format.
+       Eval items in calendar-mode-line-format list.
+
+       * cal-tex.el (cal-tex-hook, cal-tex-year-hook, cal-tex-month-hook)
+       (cal-tex-week-hook, cal-tex-daily-hook): Add doc strings.
+
+       * cal-tex.el (cal-tex-latexify-list): Fix doc string.
+
+       * cal-tex.el (cal-tex-insert-day-names): LaTeXify day names.
+       (cal-tex-cursor-week-iso, cal-tex-week-hours, cal-tex-weekly4-box)
+       (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
+       (cal-tex-daily-page, cal-tex-mini-calendar): LaTeXify day names.
+
+       * cal-tex.el: Change all instances (interactive "P") to
+       (interactive "p").
+       (cal-tex-cursor-month): Add hfill and newline at end of month that
+       ended on Saturday.
+       (cal-tex-preamble): Change to LaTeX2e.
+       (cal-tex-cursor-filofax-year): Don't use default month names in
+       LaTeX macros in case user changes them.
+       (cal-tex-month-name): New function.  Used throughout in case user
+       has done something funny with month names.
+
+       * cal-hebrew.el (holiday-rosh-hashanah-etc): Spelling correction.
+       (diary-rosh-hodesh): Spelling correction.
+
+2002-04-03  Mike Williams  <mdub@bigfoot.com>
+
+       * textmodes/sgml-mode.el (sgml-lexical-context)
+       (sgml-parse-tag-backward): Extend support for CDATA to include
+       conditional sections.
+
+2002-04-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
+
+       * cus-start.el: Rename `autoselect-window' to
+       `mouse-autoselect-window'.
+
+2002-04-02  Richard M. Stallman  <rms@gnu.org>
+
+       * files.el (hack-one-local-variable):
+       Clear text props from string value.
+
+2002-04-02  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
+       (f90-procedures-re, f90-operators-re, f90-hpf-keywords-re):
+       Use regexp-opt.
+       (f90-keywords-re, f90-keywords-level-3-re): Add `pure' and `elemental'
+       from F95.
+       (f90-procedures-re): Add `null' and `cpu_time' from F95.
+       (f90-font-lock-keywords-1): Minor reorganization so we don't need
+       `override' any more.
+       (f90-font-lock-keywords-3): Use `keep' rather than `override'.
+       (f90-indent-subprogram): Use indent-region.
+       (f90-break-line): Use indent-according-to-mode.
+
+2002-04-02  Mike Williams  <mdub@bigfoot.com>
+
+       * textmodes/sgml-mode.el (sgml-close-tag): Rename from
+       sgml-insert-end-tag. Simplify by using sgml-lexical-context.
+       (sgml-get-context): Remove use of sgml-inside-tag-p.
+       (sgml-inside-tag-p): Remove.
+       (sgml-looking-back-at): Short-circuit at beg of buffer.
+       (sgml-lexical-context, sgml-calculate-indent): Add support for
+       CDATA sections.
+
+2002-04-01  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * help.el (help-key-description): New fun.
+       (describe-key-briefly, describe-key): Use it and
+       this-single-command-raw-keys plus new arg `untranslated'.
+
+       * textmodes/sgml-mode.el (sgml-at-indentation-p, sgml-tag)
+       (sgml-parse-tag-name, sgml-looking-back-at, sgml-parse-tag-backward)
+       (sgml-inside-tag-p, sgml-get-context, sgml-show-context)
+       (sgml-insert-end-tag): New funs taken from xml-lite.el.
+       (sgml-calculate-indent): Use them.
+       (sgml-slash-matching): Rename from sgml-slash.
+       (sgml-slash): Copied from xml-lite and changed to use
+       sgml-slash-matching and sgml-quick-keys.
+
+       * international/mule-cmds.el (standard-keyboard-coding-systems):
+       Add koi8-u and koi8-r.
+
+       * eshell/.cvsignore: New file.
+
+       * eshell/esh-groups.el: Remove.
+
+       * progmodes/tcl.el: Change maintainer.
+       (tcl-electric-hash-style): Change default to nil.
+       (tcl-imenu-generic-expression): Use tcl-proc-regexp.
+       (tcl-do-auto-fill): Remove.
+       (tcl-auto-fill-mode): Rewrite using comment-auto-fill-only-comments.
+
+2002-04-01  Mike Williams  <mdub@bigfoot.com>
+
+       * textmodes/sgml-mode.el: Doc fixes.
+       (sgml-mode): Set indent-line-function to sgml-indent-line.
+       (sgml-calculate-indent): Add an explicit check for 'text syntax,
+       to protect against future enhancements to sgml-lexical-context.
+       (sgml-empty-tag-p, sgml-unclosed-tag-p): New funcs.
+
+       * textmodes/xml-lite.el: Removed much redundant stuff.
+       (xml-lite-parse-tag-backward): Simplify parsing by assuming we
+       always start within text. Make use of sgml-unclosed-tag-p.
+
+2002-04-01  Ville Skytt\e,Ad\e(B  <ville.skytta@xemacs.org>
+
+       * tcl.el (tcl-imenu-generic-expression): New value.
+       (tcl-imenu-create-index-function): Function deleted.
+       (tcl-mode): Check for filladapt-mode.
+       Use tcl-imenu-generic-expression instead of
+       tcl-imenu-create-index-function.
+       (inferior-tcl-mode): Doc fix.
+       Change not legally significant.
+
+2002-04-01  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
+
+       * cus-start.el: Rename `x-autoselect-window' to `autoselect-window'.
 
        * window.el (handle-select-window): New function.
        Update copyright.
-       
+
 2002-04-01  Richard M. Stallman  <rms@gnu.org>
 
        * info.el (info-tool-bar-map): Use tool-bar-local-item-from-menu.
        * toolbar/tool-bar.el (tool-bar-local-item): Renamed from
        tool-bar-add-item, and new arg MAP.
        (tool-bar-add-item): Now calls tool-bar-local-item.
-       (tool-bar-local-item-from-menu): Renamed from 
+       (tool-bar-local-item-from-menu): Renamed from
        tool-bar-add-item-from-menu, and new arg IN-MAP.
        (tool-bar-add-item-from-menu): Now calls tool-bar-local-item-from-menu.
 
        * help-fns.el (help-with-tutorial): Allow various ways
        to specify the text in the [...] line, in handling the <...> line.
 
-       * progmodes/idlw-rinfo.el (idlwave-system-routines): 
+       * progmodes/idlw-rinfo.el (idlwave-system-routines):
        WOLRDTITLE => WORLDTITLE.  SUPRESS_VALUE => SUPPRESS_VALUE.
 
        * subr.el (redraw-modeline): Define alias.
        * files.el (file-expand-wildcards): Use save-match-data.
 
        * files.el (format-alist): Mark as risky.
-       
+
        * simple.el (kill-new): Doc fix.
 
        * emacs-lisp/byte-opt.el (side-effect-free-fns)
 
 2002-03-29  Colin Walters  <walters@verbum.org>
 
-       * ibuffer.el (ibuffer-mark-interactive): Use
-       `ibuffer-forward-line' instead of `forward-line'.
+       * ibuffer.el (ibuffer-mark-interactive): Use `ibuffer-forward-line'
+       instead of `forward-line'.
        (ibuffer-forward-line): Be sure to skip over special properties
        before moving, too.
 
 
        * calc/calc-misc.el (calc-delete-windows-keep): Function deleted.
 
+2002-03-29  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * textmodes/sgml-mode.el (sgml-lexical-context): Return (text . START)
+       instead of nil when point is outside of any tag.
+       (sgml-beginning-of-tag): Adjust to the change.
+       (sgml-calculate-indent): Use the new info returned by
+       sgml-lexical-context.  Try to handle unclosed tags.
+
+       * textmodes/xml-lite.el (xml-lite-get-context): Don't stop parsing
+       at unclosed tags unless it is at indentation.
+       Kill nested unclosed tags.
+       (xml-lite-calculate-indent, xml-lite-indent-line): Remove.
+       (xml-lite-mode): Use sgml-indent-line instead.
+
 2002-03-29  Eli Zaretskii  <eliz@is.elta.co.il>
 
        * files.el (auto-save-file-name-transforms): Don't run "\\2" via
        * startup.el (command-line): Recompute auto-save-file-name-transforms
        using the updated value of temporary-file-directory.
 
+2002-03-29  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * textmodes/xml-lite.el (xml-lite-get-context): Allow stopping
+       even with an empty context.  Don't save excursion any more.
+       Don't complain about unmatched start-tags in sgml-unclosed-tags.
+       Ignore end-tags in sgml-empty-tags.
+       (xml-lite-get-context, xml-lite-calculate-indent)
+       (xml-lite-insert-end-tag): Save excursion around xml-lite-get-context.
+       (xml-lite-indent-line): Use back-to-indentation.
+
+       * textmodes/sgml-mode.el (sgml-basic-offset): New var.
+       (sgml-name-re, sgml-attrs-re): New consts.
+       (sgml-tag-name-re, sgml-start-tag-regex, sgml-font-lock-keywords-1)
+       (sgml-mode): Use them.
+       (sgml-lexical-context): Default to (point-min) if nothing else works.
+       (sgml-calculate-indent): Indent slightly differently.
+       (sgml-indent-line): Use back-to-indentation.
+       (sgml-parse-dtd): New function.
+       (sgml-unclosed-tags): New var.
+       (html-mode): Set it.
+
 2002-03-29  Simon Marshall  <simon.marshall@misys.com>
 
        * font-lock.el (save-buffer-state): Use make-symbol to bind `modified'.
 
 2002-03-29  Richard M. Stallman  <rms@gnu.org>
 
-       * dired-aux.el (dired-do-query-replace-regexp, dired-do-search): 
+       * dired-aux.el (dired-do-query-replace-regexp, dired-do-search):
        Use FILTER arg in dired-get-marked-files to exclude directories.
        (dired-nondirectory-p): New function.
 
 
        * bindings.el (mode-line-mule-info): Use :propertize, not :eval.
 
+2002-03-28  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * textmodes/xml-lite.el (xml-lite-in-string-p):
+       Use sgml-lexical-context.
+       (xml-lite-parse-tag-backward): Use sgml-tag-syntax-table.
+       (xml-lite-get-context): Check that open/close tags match.
+       Don't stop scanning while we're ignoring matching tags.
+
+       * textmodes/sgml-mode.el (sgml-make-syntax-table): New fun.
+       (sgml-mode-syntax-table): Use it.
+       (sgml-tag-syntax-table, sgml-tag-name-re): New const.
+       (sgml-tags-invisible): Use it.
+       (sgml-lexical-context): New fun.
+       (sgml-maybe-end-tag, sgml-beginning-of-tag): Use it.
+       (sgml-quote): Accept \n as entity reference terminator.
+       (sgml-calculate-indent, sgml-indent-line): New funs.
+
 2002-03-28  Andre Spiegel  <spiegel@gnu.org>
 
        * vc-cvs.el (vc-cvs-global-switches): New user option.
        `query-replace-read-args'.
        (operation query-replace-regexp): Ditto.
 
-2002-03-27  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-03-27  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * textmodes/xml-lite.el: Fix copyright notice.
+       (xml-lite-basic-offset): Rename from xml-lite-indent-offset.
+       (xml-lite-indent-comment-offset): Remove.
+       (xml-lite-calculate-indent): Use new name.  Use natural alignment
+       for comments.
+       (xml-lite-in-string-p): Simplify.
+
+2002-03-27  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * allout.el (outline-layout): Doc fix.
 
 
        * subr.el (substring-no-properties): Function deleted (now in C).
 
-2002-03-25  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-03-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * mwheel.el (mouse-wheel-mode): Use global-set-key and
        global-unset-key.
        fore- and background colors of the faces we create, since facemenu
        doesn't.
 
-2002-03-24  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-03-24  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * mwheel.el (mouse-wheel-mode): Use the result of
        current-global-map instead of the variable `global-map'.
        * mail/emacsbug.el (report-emacs-bug-hook): Remove submitter
        directions as the last action.
 
-2002-03-21  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-03-21  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * startup.el (fancy-splash-tail, normal-splash-screen):
        Update copyright.
        <top-level>: Remove the setup for all known codepages: it seems
        to cause crashes in the CCL driver.
 
-2002-03-16  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-03-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * textmodes/bibtex.el (bibtex-sort-ignore-string-entries)
        (bibtex-entry-field-alist): Doc fix.
        * files.el (load-completion): New function.
        (load-library): Use it.
 
-2002-03-15  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-03-15  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * calendar/cal-french.el (calendar-goto-french-date): Fix prompt
        to match the actual code.
 
        * comint.el: Remove documentation on setting up pcomplete.
 
-2002-03-11  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-03-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * font-lock.el (java-font-lock-extra-types): Add "URL" as separate
        item.  Doc fix.
        (hif-conditional): New function to evaluate a conditional
        expression.
 
-2002-03-06  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-03-06  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * language/czech.el ("Czech"): Fix the documentation.
 
        (mode-line-inactive, header-line): Move the `t' section to the
        beginning so the `:inherit' setting can be shared.
 
-2002-03-04  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-03-04  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * net/snmp-mode.el: Require tempo when compiling to prevent
        warnings.  Update copyright notice.
        * font-lock.el (java-font-lock-extra-types):
        Match java.net.URL, etc.
 
-2002-02-28  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-02-28  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * hexl.el (hexl-options): Doc fix.
        Update Commentary section.
        * progmodes/tcl.el (tcl-do-fill-paragraph): Find and fill on more
        natural paragraph boundaries.  Don't fail at beginning of buffer.
 
-2002-02-20  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-02-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * tar-mode.el (tar-next-line, tar-previous-line): Add doc string,
        call the argument "arg" to match plain next-line and
        * cus-start.el: Add automatic-hscroll-margin and
        automatic-hscroll-step.
 
-2002-02-16  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-02-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * cus-start.el (x-autoselect-window): Allow customization.
 
        * cus-start.el: Don't warn about "x-*" symbols when building a
        non-GUI version.
 
-2002-02-11  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-02-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * strokes.el (strokes-do-stroke, strokes-do-complex-stroke):
        Doc fix.
        (dump-charsets, dump-codings): Deleted (obsolete).
        From Dave Love <fx@gnu.org>.
 
-2002-02-10  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-02-10  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * menu-bar.el (menu-bar-showhide-menu): Rename functions for toggling.
 
 
        * ediff.el: Typo in comment.
 
-2002-02-09  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-02-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * menu-bar.el (menu-bar-options-save): Take care of
        line-number-mode and column-number-mode variables.
        * subr.el (global-set-key, local-set-key): Accept a symbol for the
        KEY argument (like define-key).
 
-2002-02-06  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-02-06  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * textmodes/flyspell.el (flyspell-insert-function): Doc fix.
 
        * cus-edit.el (customize-mark-to-save): New function.
        * menu-bar.el (menu-bar-options-save): Rewrote.
 
-2002-02-05  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-02-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * cus-start.el (x-use-underline-position-properties):
        Allow customization.
        * window.el (save-selected-window): Move macro before first use.
        (balance-windows): Fix misplaced parenthesis.
 
-2002-02-03  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-02-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * calculator.el (calculator-displayers): Doc fixes.
 
-2002-02-03  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-02-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * menu-bar.el (menu-bar-help-menu): Use different text for tool-tip.
        (menu-bar-options-save): Save also the value of `display-time-mode'.
        looking for X-Coding-System header, and restore the pruned state
        before returning.
 
-2002-02-02  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-02-02  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * cus-edit.el (customize-save-variable): Fix typo in prompt.
 
        * emulation/pc-select.el (pc-select-save-and-set-mode):
        Properly use MODE-VAR.
 
-2002-01-29  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-01-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * menu-bar.el (menu-bar-help-menu): Change menu-item "Show Emacs
        Version" to "About Emacs".
 
        * calendar/calendar.el (generate-calendar-month): Doc fix.
 
-2002-01-27  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-01-27  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * time.el (display-time-mail-directory): New option.
        (display-time-mail-function): Update doc-string.
        with `byte-compile-dynamic'.
        (ibuffer-default-directory, toplevel): Doc files.
 
-2002-01-20  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-01-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * tempo.el (tempo-define-template): Doc fix.
 
 
        * term/w32-win.el (mouse-set-font): Use w32-list-proportional-fonts.
 
-2002-01-19  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-01-19  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * language/tibet-util.el (tibetan-decompose-region)
        (tibetan-decompose-string): Fix typo in docstring.
 
        * mail/feedmail.el (feedmail): Fix :link spec.
 
-2002-01-16  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-01-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * net/ldap.el (ldap-ldapsearch-prog): Default to OpenLDAP version
        2 ldapsearch.
        (comint-send-input): New arg NO-NEWLINE.
        (comint-send-eof): Call comint-send-eof with NO-NEWLINE.
 
-2002-01-12  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-01-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * textmodes/flyspell.el (flyspell-check-pre-word-p): Prevent
        delaying when executing keyboard macros.
 
        * textmodes/flyspell.el (flyspell-mode-line-string): Fix custom type.
 
-2002-01-08  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-01-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * progmodes/ada-mode.el (ada-initialize-properties, ada-mode):
        Do not use make-local-hook.
 
        * ediff-hook.el: Add an autoload cookie.
 
-2002-01-08  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-01-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * net/eudcb-ph.el, net/ldap.el: New maintainer.  New e-mail
        address of the author.
        * help-fns.el (describe-variable, describe-function):
        Do save-excursion.
 
-2002-01-06  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-01-06  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * net/ldap.el (ldap-search-internal): Skip error message from
        ldapsearch.  Allow listing attribute names only.  Do not open
        * net/eudcb-ldap.el (eudc-attribute-display-method-alist): Use
        proper attribute name labeledUri instead of deprecated labeledUrl.
 
-2002-01-05  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-01-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * net/eudc-hotlist.el (eudc-edit-hotlist): Avoid error when
        editing an empty hotlist.
 
        * mail/sendmail.el (mail-recover-1, mail-recover): Doc fix.
 
-2002-01-04  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-01-04  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * net/ldap.el (ldap-host-parameters-alist): Remove duplicated
        entry.
        does not exist, call mail-recover-1 to allow recovery from past
        auto-saved drafts.
 
-2002-01-03  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-01-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * time.el (display-time-load-average-threshold): Fix defcustom
        (add type and group).
        * bindings.el (function-key-map): Don't bind shifted keypad
        numeric keys.
 
-2002-01-02  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-01-02  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * enriched.el (enriched-handle-display-prop): Remove unused
        variables.
        * cus-edit.el (custom-face-edit-fix-value): New function.
        (custom-face-edit): Use it, to convert :italic and :bold to new forms.
 
-2001-12-30  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-12-30  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * progmodes/octave-mod.el (octave-abbrev-table):
        * progmodes/idlwave.el (idlwave-mode-abbrev-table):
 
        * international/fontset.el: Don't require ind-util when compiling.
 
-2001-12-25  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-12-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * emulation/tpu-edt.el (tpu-reset-screen-size): Use
        set-frame-height and set-frame-width instead of set-screen-height
        * play/yow.el (yow): Use an arg to distinguish interactive calls,
        not interactive-p.
 
-2001-12-22  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-12-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * emacs-lisp/elint.el (elint-unknown-builtin-args): Remove
        mocklisp entries.
        * textmodes/refill.el (refill-mode): Don't barf when redundantly
        turning refill-mode off.
 
-2001-12-22  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-12-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * time.el (display-time-load-average-threshold): New variable.
        (display-time-update): Use it.
        print-coding-system-briefly): Make printed output have a similar
        format as describe-character-set.
 
-2001-12-20  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-12-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * play/blackbox.el (bb-member): Remove, use member instead.
        (bb-delete): Remove, use delete instead.
 
        * international/fontset.el: Require `ind-util' when compiling.
 
-2001-12-18  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-12-18  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * language/ethio-util.el (ethio-modify-vowel): Use char-to-string
        instead of decompose-composite-char.
 
        * newcomment.el (comment-indent): Jump to the middle of empty comments.
 
-2001-12-14  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-12-14  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * select.el (xselect-convert-to-class, xselect-convert-to-name):
        Document.
        * international/mule.el (set-auto-coding): Don't search for
        "unibyte:" or "coding:" if set-auto-mode-1 returns nil.
 
-2001-12-13  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-12-13  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * mail/mailabbrev.el (mail-abbrevs-setup): Do not use make-local-hook.
 
        * language/european.el: Remove autoload cookies.  Fix registration
        of diacritic composition function.
 
-2001-12-11  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-12-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * calendar/todo-mode.el: Require time-stamp.
 
        Use `select-frame-set-input-focus'--needed when window manager
        uses "click to focus" policy.
 
-2001-12-09  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-12-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * COPYING: Moved back.
 
        * textmodes/picture.el (picture-mode-map): Don't use defconst
        for a variable.
 
-2001-12-02  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-12-02  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * textmodes/reftex-index.el (reftex-index-mode):
        Remove make-local-hook.
        (Info-index): Use it.  Add completion to the interactive spec.
        (Info-menu-update): Simplify call to `Info-complete-menu-item'.
 
-2001-11-29  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-11-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * COPYING: Removed.
 
        (register-char-codings): Use it to cope with generic chars in
        safe-chars.
 
-2001-11-29  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-11-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * play/blackbox.el (blackbox-mode, blackbox): Doc fix.
 
        * frame.el (show-trailing-whitespace): Remove :set argument (the
        value was essentially identical to the defalt).
 
-2001-11-26  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-11-26  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * hexl.el (hexl-mode, hexl-follow-ascii): Remove make-local-hook.
 
 
        * help-funs.el (describe-syntax): Put (interactive) after doc string.
 
-2001-11-26  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-11-26  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * international/quail.el (quail-help): Require help-mode in
        top-level instead.
        * language/devan-util.el: Comment out parts of the file
        which apparently are garbled.
 
-2001-11-25  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-11-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * mail/smtpmail.el (smtpmail-deduce-address-list): Don't use
        insert-string.
 
-2001-11-25  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-11-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * play/snake.el (snake-mode): Remove make-local-hook.
 
        Don't recognize a "telephone number" at the beginning of the name.
        (mail-extr-leading-garbage): Match non-word characters only.
 
-2001-11-16  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-11-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * startup.el (command-line-processed): Doc fix.
 
        (multiple-value-apply, nth-value): Use defsubst rather than defalias
        to get better doc strings.
 
-2001-11-15  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-11-15  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * derived.el: Fix autoload cookie.
 
        (log-view-current-tag): Take an optional `where' arg.
        (log-view-diff): New user command.
 
-2001-11-12  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-11-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * progmodes/cpp.el (cpp-choose-face): Fix typo.
 
        * calc/calc-ext.el (calc-init-extensions): Update autoload names
        to match files renamed on initial calc import.
 
-2001-11-12  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-11-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * textmodes/flyspell.el (flyspell-default-dictionary):
        Fix previous change.
        (radio-button-choice): Ditto.
        (editable-list): Ditto.
 
-2001-11-09  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-11-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * play/gomoku.el: Move definitions of constants to the beginning
        of file, before their use.
        (debugger-setup-buffer): Call it.
        (debugger-mode-map): Bind RET and mouse-2.
 
-2001-10-31  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-10-31  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * startup.el: Document command line option --no-window-system
        instead of --no-windows.
        * progmodes/compile.el (compilation-set-window-height):
        Select old window only if it's still live.
 
-2001-10-22  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-10-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * help-mode.el (help-buffer): Remove debugging code.
        From Stefan Monnier <monnier@cs.yale.edu>.