2003-07-08 Kim F. Storm <storm@cua.dk>
[emacs.git] / lisp / ChangeLog
blob05bffad4c08f9972e4856c43329411eb8dbff4ab
1 2003-07-08  Kim F. Storm  <storm@cua.dk>
3         * international/mule-cmds.el (set-display-table-and-terminal-coding-system):
4         Don't break bootstrap if standard-display-table isn't setup yet.
6 2003-07-07  Richard M. Stallman  <rms@gnu.org>
8         * ehelp.el (ehelp-command): Use defalias to define ehelp-command.
9         Give it a doc string, and autoload it.
11         * desktop.el (desktop-buffer-info, desktop-buffer-mh):
12         Use with-no-warnings.
14         * info.el (Info-search): If find invisible text, search again.
16         * isearch.el (search-whitespace-regexp): Add a shy group around it.
18         * man.el (Man-name-regexp): Match + as part of name.
20         * simple.el (visible-mode): Renamed from vis-mode.
21         (vis-mode-saved-buffer-invisibility-spec): Doc fix.
23         * simple.el (current-word): New arg REALLY-WORD specifies
24         don't include punctuation chars.
26         * emacs-lisp/debug.el (debug, debugger-env-macro):
27         Use with-no-warnings while accessing and binding
28         unread-command-char.
30         * international/mule-cmds.el (set-display-table-and-terminal-coding-system):
31         Use explicit loop instead of calling standard-display-default.
33         * net/ange-ftp.el (ange-ftp-file-symlink-p):
34         Use condition-case to catch error in ange-ftp-get-files.
36         * net/browse-url.el (browse-url-browser-function):
37         Add alternative for Epiphany.
38         (browse-url-epiphany-program, browse-url-epiphany-arguments)
39         (browse-url-epiphany-startup-arguments)
40         (browse-url-epiphany-new-window-is-tab): New variables.
41         (browse-url-epiphany, browse-url-epiphany-sentinel): New functions.
43         * progmodes/compile.el (compile-auto-highlight): Default now t.
44         (compile): Doc fix.
45         (compilation-next-error): Fix previous change.
47         * textmodes/tex-mode.el (tex-main-file): Use with-no-warnings.
49         * textmodes/sgml-mode.el (xml-mode): Add autoload cookie.
51 2003-07-07  Nick Roberts  <nick@nick.uklinux.net>
53         * gdb-ui.el (gdb-source-info): Display current frame when
54         attaching to an existing process.
55         (gdb-setup-windows, gdb-source-info): Start with gud-comint-buffer
56         while laying out windows when attaching to an existing process.
58 2003-07-07  Stefan Monnier  <monnier@cs.yale.edu>
60         * info.el (Info-menu): Use Info-menu-entry-name-re.
62 2003-07-06  Stefan Monnier  <monnier@cs.yale.edu>
64         * vc-hooks.el (vc-stay-local, vc-stay-local-p): Move from vc.el.
65         * vc.el (vc-stay-local, vc-stay-local-p): Move to vc-hooks.el.
67         * info.el (Info-menu-entry-name-re): Be careful to avoid multiple ways
68         to match the same text.
70 2003-07-06  John Paul Wallington  <jpw@gnu.org>
72         * vc.el (vc-annotate-offset): Move defvar up.
74 2003-07-06  Kim F. Storm  <storm@cua.dk>
76         * info.el (Info-menu-entry-name-re): Add `:' to second [] part.
77         This should fix the infinite loop when extracting menu names.
79 2003-07-05  Martin Stjernholm  <bug-cc-mode@gnu.org>
81         * files.el (auto-mode-alist, interpreter-mode-alist):
82         Remove entries to CC Mode modes to avoid duplicates; they are now added
83         with autoload directives in cc-mode.el.
85 2003-07-05  Martin Stjernholm  <bug-cc-mode@gnu.org>
87         * progmodes/cc-langs.el, progmodes/cc-styles.el (c-style-alist)
88         (c-lang-variable-inits, c-lang-variable-inits-tail): The values of
89         these are changed, so declare them as variables and not constants.
91         * progmodes/cc-mode.el: Fix some autoload problems: Try to
92         ensure that the entry for ".c" extension comes before the one for
93         ".C" on `auto-mode-alist', to behave better on case insensitive OS:es.
94         Fix incorrect entries that were added to `interpreter-mode-alist'.
95         Move the autoload directives for AWK to the top level since they
96         aren't recognized anywhere else.  Do not use the new AWK mode doc
97         in the autoload form for the old AWK mode.
99 2003-06-30  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
101         * textmodes/bibtex.el (bibtex-sort-entry-class): New entry catch-all.
102         (bibtex-sort-ignore-string-entries): Default value t.
103         (bibtex-entry-kill-ring-max): Reintroduce as it was removed
104         erroneously in previous version.
105         (bibtex-string-files): Docstring reflects new parsing scheme.
106         (bibtex-autokey-transcriptions): Merge some rewrite entries, fix
107         docstring, add # as one of the chars to crush
108         (bibtex-autokey-prefix-string, bibtex-autokey-names)
109         (bibtex-autokey-names-stretch, bibtex-autokey-additional-names)
110         (bibtex-autokey-name-change-strings)
111         (bibtex-autokey-name-case-convert, bibtex-autokey-name-length)
112         (bibtex-autokey-name-separator, bibtex-autokey-year-length)
113         (bibtex-autokey-use-crossref, bibtex-autokey-titlewords)
114         (bibtex-autokey-title-terminators)
115         (bibtex-autokey-titlewords-stretch)
116         (bibtex-autokey-titleword-ignore)
117         (bibtex-autokey-titleword-case-convert)
118         (bibtex-autokey-titleword-abbrevs)
119         (bibtex-autokey-titleword-abbrevs)
120         (bibtex-autokey-titleword-change-strings)
121         (bibtex-autokey-titleword-length)
122         (bibtex-autokey-titleword-separator)
123         (bibtex-autokey-name-year-separator)
124         (bibtex-autokey-year-title-separator)
125         (bibtex-autokey-before-presentation-function)
126         (bibtex-entry-type-history, bibtex-entry-maybe-empty-head):
127         Fix docstring.
128         (bibtex-strings, bibtex-reference-keys):
129         Use lazy-completion-table and make-variable-buffer-local.
130         (bibtex-sort-entry-class-alist): Use downcase, account for catch-all.
131         (bibtex-braced-string-syntax-table)
132         (bibtex-quoted-string-syntax-table): New variables.
133         (bibtex-parse-nested-braces): Remove.
134         (bibtex-parse-field-string): Use syntax table and forward-sexp.
135         (bibtex-parse-association): Simplify.
136         (bibtex-parse-field-name): Obey bibtex-autoadd-commas.
137         (bibtex-parse-field-text): Simplify.
138         (bibtex-search-forward-field, bibtex-search-backward-field):
139         argument BOUND can take value t.
140         (bibtex-start-of-field, bibtex-start-of-name-in-field)
141         (bibtex-end-of-name-in-field, bibtex-end-of-field)
142         (bibtex-start-of-text-in-field, bibtex-end-of-text-in-field)
143         (bibtex-start-of-text-in-string, bibtex-end-of-text-in-string)
144         (bibtex-end-of-string, bibtex-type-in-head): Use defsubst.
145         (bibtex-skip-to-valid-entry): Return buffer position of beginning
146         and ending of entry.  Update for changes of bibtex-search-entry.
147         Simplify.
148         (bibtex-map-entries): FUN is called with three arguments.
149         (bibtex-search-entry): Return a cons pair with buffer positions of
150         beginning and end of entry.
151         (bibtex-enclosing-field): Simplify.
152         (bibtex-format-entry): Use booktitle to set a missing title.
153         (bibtex-autokey-get-names): Fiddle with regexps.
154         (bibtex-generate-autokey): Use identity.
155         (bibtex-parse-keys): Use simplified parsing algorithm if
156         bibtex-parse-keys-fast is non-nil. Simplify. Change order of
157         arguments. Return alist of keys.
158         (bibtex-parse-strings): Simplify. Return alist of strings.
159         (bibtex-complete-string-cleanup): Fix docstring.
160         (bibtex-read-key): New function.
161         (bibtex-mode): Fix docstring. Do not parse for keys and
162         strings when the mode is entered. Set fill-paragraph-function to
163         bibtex-fill-field. Setup font-lock-mark-block-function the way
164         font-lock intended.
165         (bibtex-entry): Use bibtex-read-key. Obey bibtex-autofill-types.
166         (bibtex-parse-entry, bibtex-autofill-entry): New functions.
167         (bibtex-print-help-message, bibtex-remove-OPT-or-ALT)
168         (bibtex-Preamble): Avoid hard coded constants.
169         (bibtex-make-field): Fix docstring. Simplify.
170         (bibtex-beginning-of-entry): Always return new position of point.
171         (bibtex-end-of-entry): Rearrange cond clauses.
172         (bibtex-count-entries, bibtex-validate, bibtex-reformat):
173         Update for changes of bibtex-map-entries.
174         (bibtex-ispell-abstract): Do not move point.
175         (bibtex-entry-index): Use downcase. Simplify.
176         (bibtex-lessp): Handle catch-all.
177         (bibtex-find-crossref): Turn into a command.
178         (bibtex-find-entry): Simplify. Use bibtex-read-key. Fix regexp.
179         (bibtex-clean-entry): Use bibtex-read-key. Handle string and
180         preamble entries.
181         (bibtex-fill-field-bounds): New function.
182         (bibtex-fill-field): New command. Bound to fill-paragraph-function.
183         (bibtex-fill-entry): Use bibtex-fill-field-bounds
184         (bibtex-String): Use bibtex-strings.  Always obey
185         bibtex-sort-ignore-string-entries.
187 2003-07-05  John Paul Wallington  <jpw@gnu.org>
189         * cus-theme.el (customize-create-theme):
190         Call `customize-create-theme' in Reset widget's notify function.
192         * ibuffer.el (ibuffer-backward-line, ibuffer-forward-line)
193         (ibuffer-mark-interactive): Use `or' instead of `unless'.
194         (define-ibuffer-column name): Add summarizer.
195         (define-ibuffer-column size): Likewise.
196         (define-ibuffer-column filename): Likewise.
197         (define-ibuffer-column process): Likewise.  Change BODY's output too.
198         (define-ibuffer-column filename-and-process): Likewise, likewise.
199         (ibuffer): Remove local vars `already-in' and `need-update'.
201         * ibuf-ext.el: Don't require `derived' at compile-time.
203 2003-07-05  Kim F. Storm  <storm@cua.dk>
205         * info.el: Disable paragraph refilling.
206         (Info-refill-paragraphs): New defcustom.
207         (Info-fontify-node): Use it.
209 2003-07-04  Stefan Monnier  <monnier@cs.yale.edu>
211         * emacs-lisp/cl-macs.el (cl-transform-lambda): Strip &cl-defs
212         thingies from constructors created by defstruct.
214         * emacs-lisp/bytecomp.el (byte-compile-defvar): Check and set
215         the default value of the variable.
216         (byte-code-meter): Move declaration to top level.
218         * pcvs-parse.el (cvs-parse-status): Ignore extra fields from CVSNT.
220         * info.el (Info-following-node-name-re): New fun.
221         (Info-following-node-name): Remove.
222         (Info-insert-dir): Use the new fun.
223         (Info-extract-pointer): Don't save restriction; use new fun.
224         (Info-menu-entry-name-re): New const.
225         (Info-menu-entry-name-re): Use it along with new fun.
226         (Info-node-spec-re): Use new fun.
227         (Info-complete-menu-item, Info-fontify-node): Use new const.
228         (Info-goto-node, Info-follow-reference, Info-menu-update):
229         Use match-string.
230         (Info-follow-reference): Use assoc-string.
231         Use a list of strings for the completion table.
232         (Info-fontify-node): Use match-string, line-end-position.
233         Limit the search for `node:' to the first line.
235         * newcomment.el (uncomment-region): Remove padding coming from
236         comment-start rather than just from comment-padding.
238         * vc-cvs.el (vc-cvs-repository-hostname): New operation.
239         (vc-cvs-stay-local-p): Use vc-stay-local-p.
240         (vc-cvs-rename-file): Remove (use the default).
241         (vc-cvs-register): Register parent dir if needed.
242         (vc-cvs-could-register): Return non-nil if parent can be registered.
243         (vc-cvs-state, vc-cvs-dir-state, vc-cvs-print-log, vc-cvs-diff)
244         (vc-cvs-diff-tree, vc-cvs-make-version-backups-p): Use vc-stay-local-p.
246         * vc-svn.el (vc-svn-use-edit): Make it into a const.
247         (vc-svn-update): Fix the arguments to `svn'.
248         (vc-svn-diff-tree): Just use `vc-svn-diff'.
249         (vc-svn-create-snapshot, vc-svn-retrieve-snapshot):
250         Simple implementations, assuming `name' is a URL.
252         * progmodes/sh-script.el (sh-font-lock-paren): Add [ and ] to the
253         set of chars allowed unquoted in a case pattern.
255         * font-core.el (font-lock-defaults-alist): Remove obsolete entries.
257         * font-lock.el (font-lock-extra-types-widget)
258         (c-font-lock-extra-types, c++-font-lock-extra-types)
259         (objc-font-lock-extra-types, java-font-lock-extra-types)
260         (c-font-lock-keywords-1, c-font-lock-keywords-2, c-font-lock-keywords)
261         (c-font-lock-keywords-3, c-font-lock-syntactic-face-function)
262         (font-lock-match-c++-style-declaration-item-and-skip-to-next)
263         (font-lock-match-c++-structor-declaration)
264         (c++-font-lock-keywords-1, c++-font-lock-keywords-2)
265         (c++-font-lock-keywords-3, c++-font-lock-keywords)
266         (objc-font-lock-keywords-1, objc-font-lock-keywords-2)
267         (objc-font-lock-keywords-3, objc-font-lock-keywords)
268         (java-font-lock-keywords-1, java-font-lock-keywords-2)
269         (java-font-lock-keywords-3, java-font-lock-keywords)
270         (java-font-lock-syntactic-face-function): Remove obsolete code
271         and constants.  It's all in cc-fonts.el now.
273 2003-07-04  Glenn Morris  <gmorris@ast.cam.ac.uk>
275         * mail/sendmail.el (mail-specify-envelope-from)
276         (mail-envelope-from): Doc fix.
278 2003-07-04  Martin Stjernholm  <mast@lysator.liu.se>
280         * generic-x.el: Do away with the dependency on `c-emacs-features'
281         when populating `rul-generic-mode-syntax-table'; we already know
282         this isn't XEmacs.
284 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
286         * progmodes/cc-menus.el (cc-imenu-init): Do not set
287         `imenu-create-index-function' if the second argument is left
288         out.  This bug broke the imenu support in C, C++ and Java modes.
290 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
292         * progmodes/cc-engine.el, progmodes/cc-align.el
293         (c-add-stmt-syntax, c-lineup-arglist)
294         (c-lineup-arglist-close-under-paren): Fixes to cope with
295         special brace lists in Pike.
297 2003-07-03  Alan Mackenzie  <bug-cc-mode@gnu.org>
299         * progmodes/cc-mode.el: awk-mode: Call c-awk-after-change to
300         ensure syntax-table props at loading.
302         * progmodes/cc-fonts.el: Put (cc-require-when-compile 'cc-awk)
303         to eliminate compile-time errors.
305 2003-07-03  Alan Mackenzie  <bug-cc-mode@gnu.org>
307         * progmodes/cc-awk.el, progmodes/cc-engine.el: Add code to
308         analyze AWK top-level forms properly (c-guess-basic-syntax
309         CASE 5P), c-awk-backward-syntactic-ws.
311 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
313         * progmodes/cc-fix.el: cc-mode-19.el has been renamed to
314         progmodes/cc-fix.el since it now contains compatibility stuff
315         for later versions than (X)Emacs 19.
317 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
319         * progmodes/cc-langs.el (c-paren-nontype-kwds): New language constant.
321         (c-other-decl-kwds, c-postfix-decl-spec-kwds): Add compiler
322         specific declspec keywords: __attribute__ for gcc and
323         __declspec for msvc.
325         * progmodes/cc-fonts.el (c-font-lock-declarations)
326         (c-complex-decl-matchers): Support specifiers in a couple more
327         contexts to cope with msvc '__declspec'.
329         * progmodes/cc-engine.el (c-forward-keyword-clause):
330         Support `c-paren-nontype-kwds'.
332 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
334         * progmodes/cc-langs.el (c-primary-expr-regexp): Don't match a
335         bare period as a float.
337 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
339         * progmodes/cc-bytecomp.el (cc-bytecomp-setup-environment):
340         Do not cover functions that have been bound.
342         (cc-external-require): New macro to use for requiring external
343         packages, to handle the environment correctly.
345         * progmodes/cc-defs.el, progmodes/cc-fix.el,
346         progmodes/cc-fonts.el, progmodes/cc-mode.el: Replaced external
347         require's with `cc-external-require'.
349 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
351         * progmodes/cc-engine.el (c-beginning-of-member-init-list)
352         (c-guess-basic-syntax): Fixes in handling of bitfields.
354 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
356         * progmodes/cc-langs.el (comment-end): Put a space in front of
357         the comment ender in C, as it was before the move from cc-mode.el.
359 2003-07-03  Alan Mackenzie  <bug-cc-mode@gnu.org>
361         * progmodes/cc-fonts.el: Do not load progmodes/cc-awk.elc or
362         awk-font-lock-keywords unless there is an AWK Mode buffer.
364 2003-07-03  Alan Mackenzie  <bug-cc-mode@gnu.org>
366         * progmodes/cc-awk.el: New file that implements AWK support,
367         superseding the old separate derived mode in awk-mode.el.
369         * progmodes/cc-vars.el, cc-mode-19.el, progmodes/cc-langs.el,
370         progmodes/cc-mode.el, progmodes/cc-defs.el,
371         progmodes/cc-engine.el, progmodes/cc-fonts.el: Changes for the
372         new AWK support.
374 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
376         * progmodes/cc-engine.el, progmodes/cc-langs.el
377         (c-decl-block-key, c-search-uplist-for-classkey): Check that
378         the modifier is followed by "{" in Pike before considering it
379         to start a class-like block.
381 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
383         * progmodes/cc-mode.el (c-initialize-cc-mode): Add some
384         compatibility to make this function behave somewhat more as
385         documented for derived modes.  It's still not enough to make
386         the old AWK mode behave reasonably, but it's been like this a
387         long time now so fixing it more might cause trouble
388         elsewhere. :P
390 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
392         * progmodes/cc-fonts.el (c-remove-font-lock-face): New macro
393         to remove a font lock face properly (especially in XEmacs).
395         * progmodes/cc-bytecomp.el (cc-bytecomp-obsolete-fun):
396         Add the same kludge as in `cc-bytecomp-obsolete-var' to avoid a
397         confused compiler warning.
399         * progmodes/cc-engine.el (c-forward-type): Fix a bug in the
400         handling of concatenated types when the component types are known.
402         * progmodes/cc-fonts.el (c-constant-face-name): Add face name variable
403         to avoid the use of `font-lock-constant-face' for constants in
404         emacsen that doesn't have it.
406 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
408         * progmodes/cc-styles.el, progmodes/cc-vars.el,
409         progmodes/cc-cmds.el: Fixes for the syntactic symbols for
410         module and composition blocks.
412 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
414         * progmodes/cc-mode.el (c-basic-common-init):
415         Use `open-paren-in-column-0-is-defun-start' if it exists and works.
417         * progmodes/cc-vars.el (c-emacs-features): Add `col-0-paren'
418         to detect when `open-paren-in-column-0-is-defun-start' exists
419         and actually works.
421 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
423         * progmodes/cc-align.el (c-lineup-argcont, c-lineup-gcc-asm-reg):
424         Don't quote nil in docstrings.
426 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
428         * progmodes/cc-vars.el, progmodes/cc-langs.el
429         (c-primitive-type-kwds, c-font-lock-extra-types): "complex"
430         and "imaginary" aren't keywords in C99, only macros that
431         expand to the keywords "_Complex" and "_Imaginary", so make
432         the former a bit less hardcoded by putting it on
433         `c-font-lock-extra-types' instead.  There are also "bool" and
434         "_Bool" that work the same way.
435         (c-constant-kwds): "false" and "true" are standard constant
436         macros in C99.
438 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
440         * progmodes/cc-menus.el, progmodes/cc-langs.el,
441         progmodes/cc-engine.el, progmodes/cc-fonts.el,
442         progmodes/cc-cmds.el: Fixed various regexps to use POSIX char
443         classes when that is supported.
445         * progmodes/cc-defs.el (c-alpha, c-alnum, c-digit, c-upper, c-lower):
446         New constants to make it easier to create regexps
447         that use POSIX char classes in emacsen that support them.
449 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
451         * progmodes/cc-vars.el (c-emacs-features): Detect in the
452         regexp engine understands POSIX char classes.
454 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
456         * progmodes/cc-mode.el (c-after-change): Add kludge for bug
457         where this function sometimes gets positions outside the
458         buffer range.
460 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
462         * progmodes/cc-engine.el (c-beginning-of-member-init-list):
463         Better handling of paretheses in unexpected places.
465         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Fix a
466         regexp match order problem that could cause empty template
467         args on the form "<>" to be missed.
469 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
471         * progmodes/cc-engine.el (c-parse-state): Add kludge to
472         avoid an infinite loop when Emacs' open-paren-in-column-zero
473         rule kicks in and causes the sexp functions to misbehave.
475 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
477         * progmodes/cc-engine.el (c-beginning-of-member-init-list):
478         Fix bug when C++-like code is encountered in non-C++ mode.
480 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
482         * progmodes/cc-defs.el (c-make-keywords-re): Add option to
483         specify the language to look up `c-nonsymbol-key' in.
485 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
487         * progmodes/cc-cmds.el, progmodes/cc-engine.el
488         (c-auto-newline-analysis): New dynamically bound variable to
489         turn off the topmost-intro-cont/statement-cont kludge for
490         brace lists during the analysis for the auto newline feature.
491         This fixes some cases where the setting for `brace-list-open'
492         on `c-hanging-braces-alist' didn't have any effect.
494 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
496         * progmodes/cc-langs.el (c-literal-start-regexp): Yet another
497         language variable.
499         * progmodes/cc-fonts.el (c-font-lock-doc-comments)
500         (c-find-invalid-doc-markup, javadoc-font-lock-keywords):
501         Fix fontification of the markup in Javadoc comments.
503         * progmodes/cc-engine.el: Fixes in face handling to cope with
504         doc comments.
506         (c-find-decl-spots): More failsafe skipping of comments and
507         strings that only have been partially fontified.
509         * progmodes/cc-defs.el (c-got-face-at): New subst to test
510         faces at positions easier.
512         * progmodes/cc-defs.el (c-safe-scan-lists): New wrapper macro
513         to avoid the warnings with too many args to `scan-lists' in Emacs.
515 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
517         * progmodes/cc-engine.el (c-syntactic-skip-backward):
518         New function to make syntactic searches in the backward direction
519         easier.
521         (c-beginning-of-statement-1): Optimize skipping over large paren
522         sexps somewhat.
524         (c-safe-position): Remove the odd macro handling which was
525         centered around the point instead of the passed position.
527 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
529         * progmodes/cc-engine.el (c-in-knr-argdecl): Do not trip up on
530         initialization expressions.
532         * progmodes/cc-align.el (c-lineup-arglist)
533         (c-lineup-close-paren, c-lineup-arglist-close-under-paren):
534         Tune the "macro block" heuristics to work better in nested
535         arglist situations.
537 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
539         * progmodes/cc-styles.el (c-set-offset): Don't find a default
540         syntactic element through syntactic analysis if called outside
541         a CC Mode buffer.
543 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
545         * progmodes/cc-mode.el (c-basic-common-init):
546         Install `c-fill-paragraph' on `fill-paragraph-function'.
547         Although it's not the normal way to call it in a CC Mode buffer it
548         makes a direct call to `fill-paragraph' work better.
550 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
552         * progmodes/cc-vars.el, progmodes/cc-mode.el
553         (c-require-final-newline): Make this variable an alist to
554         specify a value for each language.  The default value causes
555         `require-final-newline' to be set to t only in languages where
556         the standard requires a final newline.
558 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
560         * progmodes/cc-mode.el, progmodes/cc-vars.el
561         (c-require-final-newline): Add a variable to make the
562         initialization of `require-final-newline' more configurable.
564         * progmodes/cc-vars.el (c-mode-common-hook): Do not change the
565         format string to "CC Mode Common Hook" since that causes
566         confusion (although it is a more accurate name).
568 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
570         * progmodes/cc-fonts.el (javadoc-font-lock-keywords)
571         (autodoc-font-lock-keywords): Support for Javadoc and Pike
572         Autodoc doc comments.
574         * progmodes/cc-vars.el (c-doc-comment-style): New variable to
575         control the fontification of documentation comments on top of
576         the normal mode font lock.
578 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
580         * progmodes/cc-langs.el, progmodes/cc-fonts.el
581         (c-primary-expr-regexp, c-font-lock-declarations): Avoid false
582         recognition of parens as casts when they are followed by an
583         operator that is both prefix and infix.
585 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
587         * progmodes/cc-cmds.el (c-guess-fill-prefix): Tune the
588         heuristics of when to use `c-block-comment-prefix' for an
589         unclosed block comment.
591 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
593         * progmodes/cc-engine.el, progmodes/cc-langs.el
594         (c-nonsymbol-sexp-kwds, c-forward-keyword-clause):
595         Handle keywords like "extern" that can be followed by e.g. a string
596         literal.
598         * progmodes/cc-defs.el (c-make-keywords-re): Make a regexp
599         correctly with one submatch when adorn is set and the list is empty.
601 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
603         * progmodes/cc-fonts.el (c-font-lock-declarations): Fix a
604         search that could go far past the relevant region and cause
605         slowness.  Do not limit the declaration detection to the
606         fontified region since that can cause misfontification in
607         multiline declarations.
609         * progmodes/cc-engine.el (c-find-decl-spots): Add limit
610         argument to handle declarations spanning the fontification
611         limit better.
613 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
615         * progmodes/cc-engine.el (c-in-literal, c-literal-limits)
616         (c-literal-limits-fast, c-beginning-of-inheritance-list):
617         Use the paren cache instead of the impaired ad hoc in
618         `beginning-of-defun', so that these functions doesn't trip up
619         on "{" in the first column inside strings or comments.
621 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
623         * progmodes/cc-vars.el (c-hanging-braces-alist):
624         Add `statement-cont' and made it auto newline free by default.
626         * progmodes/cc-cmds.el (c-electric-brace):
627         Add `statement-cont' to the list of syntactic symbols to consider
628         for auto newlines since it can be used for in-statement brace lists.
630         * progmodes/cc-vars.el (c-emacs-features): There's no need to
631         have this constant autoloaded.
633 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
635         * progmodes/cc-fonts.el (c-font-lock-declarations):
636         Use `c-recognize-typeless-decls' to avoid fontifying some macro
637         constructs as declarations in languages where a preceding type
638         is mandatory.
640         * progmodes/cc-langs.el (c-recognize-typeless-decls):
641         New language variable.
643 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
645         * progmodes/cc-align.el (c-lineup-close-paren):
646         Use `c-syntactic-eol' when checking if the open paren ends its line.
648         * progmodes/cc-langs.el (c-syntactic-eol): Handle a line
649         continuation backslash.
651 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
653         * progmodes/cc-align.el (c-snug-do-while): Compatibility fix
654         for changed structure in `c-syntactic-context'.
656 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
658         * progmodes/cc-engine.el (c-parse-state): Filter angle bracket
659         arglist parens in a better way than disabling the syntax table
660         properties completely.
662         * progmodes/cc-fonts.el (c-cpp-matchers): Handle line
663         continuations in cpp expressions. Do not fontify symbols after
664         #ifdef etc as variables since that isn't consistent with how
665         the face is used elsewhere (i.e. only for the definition of
666         the symbol).
668 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
670         * progmodes/cc-mode.el: Add autoload directives for the
671         interface functions in cc-langs.
673 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
675         * progmodes/cc-fonts.el (c-font-lock-declarations): Add a
676         property to handle refontication in multiline declaration
677         arglists better.
678         (c-font-lock-<>-arglists): Fix to handle recursive template
679         arglists better.  (As a side effect this will make
680         fontification work better in older emacsen too.)
682         * progmodes/cc-engine.el (c-forward-<>-arglist)
683         (c-remove-<>-arglist-properties): Use a common text property
684         `c-type' for all sorts of CC Mode char classification, to
685         avoid cases when then same char is given conflicting types.
686         (c-forward-<>-arglist): New reparse argument to control that
687         aspect explicitly.
688         (c-forward-name, c-forward-type): Changes in the handling of
689         recursive template arglists.  Fixes to cope with the new 'known
690         type classification.
692 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
694         * progmodes/cc-mode.el (c-basic-common-init): Add the new
695         char property `c-type' to `text-property-default-nonsticky'.
697         * progmodes/cc-defs.el (c-put-char-property)
698         (c-get-char-property, c-clear-char-property)
699         (c-clear-char-properties): Generalize `c-put-char-syntax' and
700         `c-get-char-syntax' to handle any property.
702         * progmodes/cc-bytecomp.el (cc-bytecomp-defun): Fix bug that
703         caused existing function definitions to be overridden by
704         phonies when the bytecomp environment is restored.
706 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
708         * progmodes/cc-cmds.el (c-mask-paragraph): Masking is
709         necessary in normal code too to avoid getting a fill prefix
710         from a nearby comment.  Change the name from `c-mask-comment'
711         to a more accurate one.
713         * progmodes/cc-defs.el, progmodes/cc-mode.el: Change the
714         auto-load-alist strategy to not add entries on package load,
715         to be defensive in the case that autoloads are updated in
716         older emacsen.  The bug that would occur in that case would
717         probably be rather nasty for the average user.
719 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
721         * progmodes/cc-fonts.el (c-font-lock-declarations):
722         Fine tuning of the decision tree that tells declarations from
723         expressions to produce better results in some ambiguous cases.
725         * progmodes/cc-fonts.el (c-font-lock-syntactic-face-function):
726         Remove since it doesn't give the control we want.
727         (c-font-lock-invalid-string): Replacement for
728         `c-font-lock-syntactic-face-function' that puts the error face
729         on the string opener only, to avoid the annoying excessive use
730         of the error face while a string literal is being written.
731         (c-basic-matchers-before): Use `c-font-lock-invalid-string'.
733         * progmodes/cc-engine.el (c-string-syntax)
734         (c-string-limit-regexp): Add constants to use when handling
735         string limits, since not all old emacsen react well to the "|"
736         syntax class.
738         (c-literal-limits, c-literal-limits-fast, c-literal-type):
739         Use `c-string-syntax' and `c-string-limit-regexp'.  Replace some
740         hardcoded comment start regexps with `c-comment-start-regexp'.
742 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
744         * progmodes/cc-mode.el: Added an association for pike-mode on
745         `intepreter-mode-alist'.
747 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
749         * progmodes/cc-mode.el: Add the `auto-mode-alist' entries to
750         the end instead of the start of the list, to avoid overriding
751         user additions that are made before this file is loaded when
752         the entries don't correspond to any already on `auto-mode-alist'.
753         This is done through the third append argument to
754         `add-to-alist'.  That doesn't exist in older (X)Emacsen, so
755         the function is advised in cc-defs.  However, that advice
756         doesn't help if the autoloads are updated in an old (X)Emacs
757         with this version of CC Mode, but I believe it's unlikely that
758         anyone does that when CC Mode isn't distributed with with it.
760         * progmodes/cc-defs.el (add-to-list): Add advice to get the
761         optional third append argument in older (X)Emacsen.
763         * progmodes/cc-langs.el (c-keywords-obarray): Kludge for
764         strange bug in Emacs that gives so odd errors that I frankly
765         don't even muster to begin trying to narrow it down.
766         If someone is so inclined, restore the commented code, byte
767         compile, and try to open a C++ file or something in font lock mode.
769 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
771         * progmodes/cc-langs.el: Update the IDL support from the
772         specs.  This also adds the keywords for the variants PSDL and
773         CIDL.  (This is mostly done from reading the grammars only;
774         very lightly tested.)
776         * progmodes/cc-langs.el (c-type-list-kwds): Add "new" in Java.
778         * progmodes/cc-fonts.el: Make sure that
779         `parse-sexp-lookup-properties' is properly insulated from
780         clobbering by the font-lock package at all relevant entry points.
782 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
784         * progmodes/cc-langs.el (c-opt-after-id-concat-key):
785         New language constant to make the recognition of identifier
786         qualifiers more flexible.  Recognize the identifier before
787         ".*" as a qualifier in Java.
788         (c-identifier-key): Recognize "::*" inside identifiers in C++.
789         Recognize identifiers ending with ".*" in Java for the sake of
790         import directives.
791         (c-type-list-kwds, c-ref-list-kwds): Recognize "import" and
792         "package" declarations in Java.
794         * progmodes/cc-vars.el (c-doc-face, c-doc-marker-face)
795         (c-doc-markup-face): Remove since they aren't used (and
796         probably won't be).
798         * progmodes/cc-langs.el (c-ref-list-kwds): New language
799         constant to specify keywords followed by references.
800         (c-last-identifier-range): New variable to avoid going back to
801         search for the identifier to font lock after a call to
802         `c-forward-name'.
803         (c-type-prefix-kwds, c-type-list-kwds): Fix classification of
804         "@interface" etc in Objective-C.
806         * progmodes/cc-engine.el (c-forward-keyword-clause):
807         Fix handling of keyword prefixes in `c-type-list-kwds' and
808         `c-colon-type-list-kwds' clauses.
809         (c-keyword-sym, c-keyword-member): New functions to lookup and
810         categorize keywords.
811         (c-forward-keyword-clause): New function to move over a keyword
812         and its associated clause according to `c-<>-arglist-kwds' etc.
814         * progmodes/cc-langs.el (c-typeless-decl-kwds)
815         (c-type-list-kwds, c-colon-type-list-kwds)
816         (c-colon-type-list-re, c-paren-type-kwds): New language
817         constants and variables to generalize the recognition of
818         various language constructs.
819         (c-keywords): Did away with the list of `*-kwds' constants.
820         It's now built through macro expansion.
821         (c-keywords-obarray): New language variable which contains each
822         keyword as a symbol, to make fast reverse lookup of keywords to
823         the `*-kwds' lists they come from.
825 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
827         * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
828         Add macro to be able to do direct evaluation in
829         `c-lang-defconst' forms.
831         * progmodes/cc-engine.el (c-syntactic-re-search-forward):
832         Fix a bug which could cause the point to end up outside the
833         containing sexp if PAREN-LEVEL was used.
835         * progmodes/cc-engine.el, progmodes/cc-fonts.el,
836         progmodes/cc-langs.el: Generalize the C++ template arglist
837         support to handle angle bracket arglists in any language.
838         (c-recognize-<>-arglists, c-<>-arglist-kwds)
839         (c-opt-<>-arglist-start): New language variables to control
840         angle bracket arglists.
841         (c-opt-type-suffix-key): Use `c-recognize-<>-arglists' in
842         Objective-C instead of matching a protocol reference list as a
843         type suffix.
845 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
847         * progmodes/cc-align.el (c-gnu-impose-minimum): Fix a missing
848         `save-excursion' that caused the point to jump around.
850 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
852         * progmodes/cc-mode.el, progmodes/cc-menus.el (objc-mode)
853         (cc-imenu-init): Fix initialization bug that has made the
854         Objective-C support inoperational since 5.26.
855         (cc-imenu-objc-generic-expression): Update submatch indices
856         due to changes in `cc-imenu-c++-generic-expression'.
857         (cc-imenu-objc-function): Don't add an empty "C" menu since
858         imenu doesn't like that.
860 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
862         * progmodes/cc-align.el (c-lineup-arglist)
863         (c-lineup-arglist-close-under-paren, c-lineup-close-paren):
864         Add DWIM to the functions that line up at or after the
865         arglist open paren to avoid that if there are brace blocks
866         inside, e.g. when a macro contains a code block.
868 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
870         * progmodes/cc-vars.el (objc-font-lock-extra-types):
871         Change default to treat identifiers starting with capital letters as
872         types, according to Objective-C naming conventions.  The types
873         previously on the list is part of the language and therefore
874         on `c-primitive-type-kwds' instead.
876         * progmodes/cc-fonts.el: Fix font locking in Objective-C.
877         Be more careful about returning nil from functions used
878         directly as font-lock matchers.
880         * progmodes/cc-mode.el (c-font-lock-init): Make the syntax
881         table modification element of `font-lock-defaults'
882         parameterized over the languages.
884         * progmodes/cc-langs.el: Update the Objective-C constants
885         according to the language spec.  The "@" chars that start
886         directives are now considered part of the keywords to make
887         things easier.
889 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
891         * progmodes/cc-defs.el: (c-(up|down)-list-(forward|backward)):
892         Make the position optional and added docstrings.
894         (c-go-(up|down)-list-(forward|backward)): Add variants of the
895         above that move point and return successfulness instead.
897 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
899         * progmodes/cc-fonts.el (c-font-lock-<>-arglists):
900         New function to fontify all occurrences of template arglists in C++.
902         * progmodes/cc-engine.el (c-disallow-comma-in-<>-arglists):
903         New variable to be able to avoid false recognition of template
904         arglists in some cases.
906 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
908         * progmodes/cc-fonts.el, progmodes/cc-langs.el
909         (c-decl-prefix-re, c-font-lock-declarations): Match template
910         open brackets to get a declaration in the first template argument.
911         (c-complex-decl-matchers): Fontify the second type in a "class
912         X = Y" expression in C++.
914 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
916         * progmodes/cc-engine.el (c-forward-<>-arglist): Break out the
917         recursive part to a new function to improve efficiency when a
918         nested template arglist search turns out to be futile.
920 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
922         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
923         Improve to avoid false matches on e.g. "else if (foo)".
925 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
927         * progmodes/cc-engine.el (c-forward-token-2)
928         (c-backward-token-2): New functions that work like the -1
929         variants but that handle multicharacter operator tokens.
931         * progmodes/cc-engine.el (c-inside-bracelist-p)
932         (c-guess-basic-syntax): Do away with the hardcoded regexps to
933         recognize "typedef" declaration prefixes, "extern" and
934         "namespace" blocks, "enum"-style brace list declarations and
935         Java-style array initializers with "new".
937         * progmodes/cc-langs.el (c-brace-list-decl-kwds)
938         (c-brace-list-key, c-inexpr-brace-list-kwds)
939         (c-opt-inexpr-brace-list-key): New language constants and
940         variables to parameterize some more of the hardcoded regexps
941         in cc-engine.
943 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
945         * progmodes/cc-align.el (c-lineup-cascaded-calls): Do not
946         allow cascaded call lists containing both "->" and ".".
948 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
950         * progmodes/cc-align.el, progmodes/cc-cmds.el,
951         progmodes/cc-defs.el, progmodes/cc-engine.el,
952         progmodes/cc-fonts.el, progmodes/cc-langs.el,
953         progmodes/cc-mode.el, progmodes/cc-styles.el: New language
954         variable system to make it easier to set up optimized language
955         variables and to extend them in third party derived modes.
956         cc-langs is no longer required at runtime.
958         * progmodes/cc-mode.el (c-basic-common-init): No longer
959         initializes the language variables.  It's necessary that the
960         caller does that directly since the evaluated values for them
961         now get compiled in directly.
962         (c-font-lock-init, c-common-init): Separate the font-lock
963         initialization from `c-common-init'.
965         * progmodes/cc-mode.el (c-define-abbrev-table): Do not
966         override an existing abbrev table.
967         (c-Java-defun-prompt-regexp): Move here from cc-langs since
968         cc-langs isn't always loaded at runtime.
970         * progmodes/cc-langs.el (c-make-init-lang-vars-fun)
971         (c-init-language-vars): Change to allow language variable
972         initialization from derived modes.
973         (c-mode-menu): New language variable for the mode menu.
974         (c-make-mode-syntax-table, c-mode-syntax-table)
975         (make-c++-template-syntax-table): New language variables for syntax
976         tables.  The code that initializes them has been moved to cc-mode
977         to make it possible to avoid loading cc-langs at runtime.
979         * progmodes/cc-engine.el, progmodes/cc-langs.el
980         (c-hungry-delete-key, c-auto-newline, c-auto-hungry-string):
981         Move these state variables from cc-langs to cc-engine to make
982         it possible to avoid loading cc-langs at runtime.
984         * progmodes/cc-defs.el (c-lang-defconst, c-lang-const):
985         Move from cc-langs and rewritten to make the language constant
986         system usable from derived modes.
988         (c-add-language): New function intended for use from derived modes
989         that add new C-like languages.
991         * progmodes/cc-defs.el, progmodes/cc-vars.el
992         (c-buffer-is-cc-mode): Move from cc-vars to cc-defs to define
993         it during compilation.
995         * progmodes/cc-bytecomp.el (cc-require-when-compile):
996         New support macro for compile time `require's.
998 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1000         * progmodes/cc-defs.el, progmodes/cc-mode.el (c-version):
1001         Move from cc-mode to cc-defs to make it accessible to the
1002         other components.
1004         * progmodes/cc-engine.el (c-forward-token-1, c-backward-token-1):
1005         Compatibility fix for emacsen that doesn't understand generic
1006         string delimiters.
1008         * progmodes/cc-vars.el (c-emacs-features): Add detection of
1009         generic string and comment delimiters.
1011         * progmodes/cc-defs.el, progmodes/cc-langs.el
1012         (c-make-keywords-re): Change interface to make it more extensible.
1014         * progmodes/cc-langs.el, progmodes/cc-defs.el (c-regexp-opt)
1015         (c-regexp-opt-depth, c-make-keywords-re): Move from cc-langs
1016         to cc-defs since they are generally useful.
1018         * progmodes/cc-bytecomp.el, progmodes/cc-defs.el
1019         (cc-eval-when-compile): Move from cc-bytecomp to cc-defs to
1020         allow use at runtime.
1022 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1024         * progmodes/cc-bytecomp.el (cc-eval-when-compile):
1025         Workaround for a bug with nested `eval-when-compile' in XEmacs 21.
1027 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1029         * progmodes/cc-mode.el: Added autoloaded forms to install the
1030         appropriate file suffixes on `auto-mode-alist'.  Necessary in
1031         XEmacs 21.5, and it can be useful elsewhere too.
1033 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1035         * progmodes/cc-align.el (c-lineup-cascaded-calls): Handle "."
1036         too, for use in Java.
1038         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1039         Do not handle cpp directives in languages that doesn't have any.
1041 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1043         * progmodes/cc-langs.el (c-operators): Add a high level description
1044         of all operators, along with their precedence and associativity.
1046         * progmodes/cc-align.el (c-lineup-multi-inher): Fix bug
1047         where the position of the point and not the beginning of the
1048         line was used to calculate the indentation.
1050 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1052         * progmodes/cc-defs.el, progmodes/cc-engine.el
1053         (c-backward-single-comment, c-backward-comments): Add kludge
1054         for the bug in `forward-comment' in most (X)Emacs versions
1055         where it moves back over the "*/" of a block comment if
1056         there's no matching "/*".  This has become more important now
1057         since it can cause incorrect caching by `c-backward-sws'.
1059 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1061         * progmodes/cc-cmds.el (c-hungry-backspace)
1062         (c-hungry-delete-forward): New functions to do hungry deletion
1063         regardless of hungry-delete mode.  Contributed by Kevin Ryde.
1065         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws)
1066         (c-invalidate-sws-region): Use text properties to cache regions
1067         with complex syntactic whitespace.  This helps a lot in
1068         improving responsiveness when there are lots of comments and
1069         cpp directives before point.
1071 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1073         * progmodes/cc-guess.el, progmodes/cc-langs.el,
1074         progmodes/cc-menus.el, progmodes/cc-mode.el,
1075         progmodes/cc-styles.el, progmodes/cc-vars.el,
1076         progmodes/cc-engine.el, progmodes/cc-fonts.el,
1077         progmodes/cc-cmds.el, progmodes/cc-defs.el: Introduce a
1078         classification of functions into those that make "hidden
1079         buffer changes" and those who don't.  This is prompted by the
1080         increasing use of text properties for various things, to
1081         correctly cover the silly buffer modifications that is caused
1082         by text property changes.
1083         (c-save-buffer-state): New macro that's put around any code that
1084         can manipulate text properties.
1086 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1088         * progmodes/cc-mode.el (c-basic-common-init):
1089         Setup `text-property-default-nonsticky' to avoid messing with the
1090         rear-nonsticky property on each character in Emacs 21.
1092         * progmodes/cc-defs.el (c-clear-char-syntax, c-put-char-syntax):
1093         Macros that sets and removes the
1094         syntax-table property on a single character and makes the
1095         property nonsticky in both directions in a suitable way for
1096         each (X)Emacs flavor.
1098         * progmodes/cc-vars.el, progmodes/cc-defs.el,
1099         progmodes/cc-engine.el, progmodes/cc-mode.el:
1100         Use `lookup-syntax-properties' in XEmacs to control whether the
1101         syntax-table property has any effect or not.
1103         (c-parse-sexp-lookup-properties): New macro that expands to either
1104         `parse-sexp-lookup-properties' or `lookup-syntax-properties'.
1106 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1108         * progmodes/cc-defs.el, progmodes/cc-engine.el,
1109         progmodes/cc-fonts.el: Put the faces into the buffer in the
1110         same way as the font-lock package does.  This fixes a
1111         compatibility problem with XEmacs which sets an extra
1112         font-lock property.
1114         * progmodes/cc-fonts.el (c-put-font-lock-face): A macro that
1115         finds out the right way to put font lock faces at compile
1116         time.  We're definitely not byte code portable between Emacs
1117         and XEmacs now.
1119         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1120         Implement a cache for the last large skipped over syntactic
1121         whitespace.  This also has most effect after many macros.
1123         * progmodes/cc-engine.el, progmodes/cc-defs.el
1124         (c-forward-syntactic-ws, c-backward-syntactic-ws): Utilize the
1125         limit better when one is passed.  These are now macros to
1126         avoid a little overhead when no limit is given.
1127         (c-forward-sws, c-backward-sws): New functions called by the
1128         macros above to do the unbounded search.
1130         * progmodes/cc-fonts.el (c-font-lock-declarations):
1131         Implement a cache for the first backward search for a
1132         preceding `c-decl-prefix-re' match.  This typically speeds up
1133         interactive refontification a lot on the top level of macro
1134         heavy header files.
1136 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1138         * progmodes/cc-vars.el (c-emacs-features): Add check for
1139         syntax text properties.
1141         * progmodes/cc-mode.el (c-basic-common-init): Turn on
1142         `parse-sexp-lookup-properties' if it's supported.  Define the
1143         variable in any case since it's used at runtime to check on this.
1145         * progmodes/cc-langs.el (c-identifier-key): Support C++
1146         destructor names.
1147         (c-identifier-start, c-op-token-regexp, c-type-modifier-kwds)
1148         (c-opt-type-modifier-key, c-opt-type-component-key)
1149         (c-typedef-specifier-kwds, c-typedef-specifier-key)
1150         (c-paren-stmt-kwds, c-paren-stmt-key, c-syntactic-ws-start):
1151         A bunch of new language constants and variables to support the
1152         improved handling of names and types.
1154         * progmodes/cc-fonts.el (c-font-lock-declarators)
1155         (c-font-lock-declarations): Handle C++ template declarations
1156         and template references.  Fontify complex types and names more
1157         accurately by delegating it to `c-forward-type' and
1158         `c-forward-name'.  Fontify the identifiers in typedef
1159         declarations as types.
1161         * progmodes/cc-engine.el (c-forward-<>-arglist): New function
1162         to move forward over a C++ template arglist.  It also marks
1163         the '<' and '>' chars with paren syntax using the syntax-table
1164         property, to speed up later calls in emacsen that support
1165         syntax text properties (Emacs >= 20 and (undocumented) XEmacs 21).
1166         This also has the very interesting effect that if font locking
1167         is used with decoration level 3 or higher in these emacsen
1168         then template arglists will behave just like paren sexps with
1169         the various sexp movement commands.
1170         (c-forward-name): New function to move over a name.  Simple in
1171         most languages except C++ where a name can contain template
1172         arglists and therefore almost arbitrary expressions.
1173         (c-on-identifier): Fix for Pike operator identifiers.
1174         (c-simple-skip-symbol-backward, c-syntactic-content)
1175         (c-remove-<>-paren-properties): New helper functions.
1177         * progmodes/cc-defs.el: (c-clear-char-syntax)
1178         (c-mark-paren-open, c-mark-paren-close): New support functions
1179         to handle syntactic properties on C++ template arglist brackets.
1180         (c-put-type-face, c-put-reference-face): Helpers to put faces on
1181         regions, since there are a bit of that inside `c-forward-name' etc
1182         in progmodes/cc-engine.el.
1184         * progmodes/cc-engine.el, progmodes/cc-fonts.el,
1185         progmodes/cc-langs.el: Fix the names on a number of regexp
1186         language variables to conform to the nomenclature and
1187         shortened some names.
1189         * progmodes/cc-align.el, progmodes/cc-cmds.el,
1190         progmodes/cc-fonts.el, progmodes/cc-engine.el
1191         (c-syntactic-re-search-forward): Remove the COUNT argument
1192         since it's never used.  Add an argument to tell which
1193         subexpression whose end should be tested for syntactic
1194         relevance.  Using this also removes some optimizations, so
1195         that it's possible to use a look behind subexpression that
1196         matches the end of a literal or a close paren when PAREN-LEVEL
1197         is used.
1199         (c-guess-continued-construct): Don't match <<= or >>= for the
1200         stream-op syntactic element.
1202         * progmodes/cc-defs.el (c-paren-re, c-identifier-re):
1203         Remove these helper macros since better and more correct tools are
1204         now available in progmodes/cc-langs.el.
1206 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1208         * progmodes/cc-align.el (c-lineup-string-cont): New lineup
1209         function to line up string literals that will be concatenated.
1211 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1213         * progmodes/cc-langs.el (c-populate-syntax-table):
1214         XEmacs classifies the hard space character as a symbol character
1215         but it's better to let it be in the punctuation class so that it's
1216         always highlighted with the inverted invalid face.  It can
1217         perhaps be argued that that character is allowed in
1218         identifiers in some languages (haven't checked), but using it
1219         would still be extremely confusing.
1221 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1223         * progmodes/cc-engine.el (c-beginning-of-statement-1): Fix a
1224         case when a labeled substatement caused incorrect association
1225         of the following continuation clause.
1227         * progmodes/cc-engine.el (c-syntactic-re-search-forward):
1228         Handle the case when the syntactic match position is in the
1229         middle of a comment starter.
1231         (c-guess-continued-construct): Analyze the "K&R region" of a
1232         function nested inside a function as func-decl-cont and not
1233         statement-cont.  New case E.  Also clean up case C (stream-op
1234         recognition) a bit.
1236         * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
1237         Move the check on `c-state-cache-start' from
1238         `c-check-state-cache' to `c-parse-state' so that the state
1239         cache isn't zapped if `c-check-state-cache' but not
1240         `c-parse-state' is called during a temporary narrowing.
1241         This fixes a performance problem that could occur when
1242         `fill-paragraph' is used in font lock mode on a comment at the
1243         end of a large class or function.
1245         (c-state-cache-start): Fix buffer localness.
1247 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1249         * progmodes/cc-langs.el: Updates from the C99 standard (or
1250         actually from the latest web accessible draft of it).
1252 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1254         * progmodes/cc-langs.el: Update the keywords and operator
1255         tokens from the latest C++ and Java standards.  Some other
1256         multichar token corrections.
1258 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1260         * progmodes/cc-cmds.el, progmodes/cc-engine.el,
1261         progmodes/cc-vars.el (c-syntactic-context)
1262         (c-syntactic-element): Do not bind any values to these
1263         variables globally since they should always be dynamically
1264         bound.  This makes it much easier to debug cases when they've
1265         gotten global values somehow.
1267 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1269         * progmodes/cc-langs.el (c-regexp-opt): Fix to work around the
1270         non-greedy behavior that the regexp engine sometimes exposes.
1271         This bug only shows in (X)Emacs 19 where there's no regexp-opt package.
1273         * progmodes/cc-engine.el (c-syntactic-re-search-forward):
1274         Add a feature to filter out matches in the middle of tokens.
1275         Changed the comment to a docstring since I consider this
1276         function generally useful.
1278         * progmodes/cc-defs.el (c-mode-symbol): Break out a part of
1279         `c-mode-var'.
1281         * progmodes/cc-align.el (c-lineup-cascaded-calls)
1282         (c-lineup-gcc-asm-reg): Cope with that `c-most-enclosing-brace'
1283         might return nil.
1285 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1287         * progmodes/cc-engine.el (c-found-types, c-clear-found-types)
1288         (c-add-type, c-check-type, c-add-complex-type)
1289         (c-list-found-types, c-forward-type): Add a sort of symbol
1290         table for types: If a name is recognized as a type in a
1291         declaration it's added in an obarray to be able to recognize
1292         it in other ambiguous declarations.
1294         (c-remove-ws): New helper function to canonicalize fully
1295         qualified identifiers for `c-found-types'.
1297         * progmodes/cc-defs.el (c-mode-var): New defsubst to access
1298         mode prefixed variables uniformly.
1300 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1302         * progmodes/cc-align.el (c-lineup-arglist-close-under-paren):
1303         Work correctly with nested arglist-cont-nonempty symbols.
1305         (c-lineup-arglist-operators): New lineup function to line up infix
1306         operators under the open paren of the surrounding sexp.
1308 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1310         * progmodes/cc-engine.el (c-forward-syntactic-ws): Fix a bug
1311         that could cause an infinite loop if something that looks like
1312         a macro begins in the middle of a line.
1314         (c-parse-state): Fix a bug that could cause `c-state-cache'
1315         to contain two conses in sequence when there's an unbalanced
1316         open paren in a macro.
1318 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1320         * progmodes/cc-defs.el (c-face-name-p): A defsubst to
1321         recognize the name of a face in a way that works also in XEmacs.
1323         * progmodes/cc-engine.el (c-forward-type): New function to
1324         move past a type spec.
1326         * progmodes/cc-engine.el (c-syntactic-re-search-forward):
1327         Fix behavior when the limit is reached inside a comment,
1328         string, or a macro.
1330         * progmodes/cc-align.el, progmodes/cc-cmds.el,
1331         progmodes/cc-engine.el (c-forward-single-comment,
1332         c-forward-comments, c-backward-single-comment,
1333         c-backward-comments): New replacements for `c-forward-comment'
1334         that wraps `forward-comment' more efficiently in each of the
1335         four different cases it's actually used.  These replacements
1336         also treats line continuations as whitespace.
1338         (c-forward-comment): Remove.  The four different cases above
1339         are basically different, so it's better to make them into
1340         separate functions than choose between them at runtime using
1341         the argument.
1343 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1345         * progmodes/cc-align.el (c-gnu-impose-minimum): Fix bug due
1346         to the new placement of cpp-macro and comment-intro in the
1347         syntactic context, as pointed out by Kevin Ryde.  Change the
1348         method that decides whether point is inside a top-level
1349         construct to one that doesn't depend on the set of syntactic
1350         elements so much.
1352         * progmodes/cc-defs.el (c-point): Use the functions
1353         `line-beginning-position' and `line-end-position' in emacsen
1354         that have them (currently Emacs 20 and later).
1356 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1358         * progmodes/cc-cmds.el (c-mask-comment): Fix a bug that
1359         sometimes caused code after a closed block comment to be taken
1360         into account when the fill prefix is calculated.
1362 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1364         * progmodes/cc-align.el (c-lineup-arglist, c-lineup-argcont)
1365         (c-lineup-math, c-lineup-cascaded-calls, c-lineup-gcc-asm-reg):
1366         Fixes to cope correctly with nested arglists for the lineups
1367         that can be used with arglist-cont-nonempty.
1369 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1371         * progmodes/cc-engine.el (c-add-stmt-syntax, c-guess-basic-syntax):
1372         Change the anchor position of
1373         arglist-cont-nonempty and arglist-close so that a relative
1374         indentation like + can be used with consistent results.
1375         Prior to this, the indentation engine more or less assumed that
1376         arglist-cont-nonempty always used `c-lineup-arglist'.
1377         Those two syntax symbols also get the opening paren as an extra
1378         position, to make it possible for `c-lineup-arglist' to
1379         continue to do a proper job.
1381         * progmodes/cc-engine.el (c-get-syntactic-indentation):
1382         A vector with an absolute indentation column now only overrides
1383         the indentation for surrounding structures, i.e. those whose
1384         syntactic elements are earlier in the `c-syntactic-context'
1385         list, but not nested ones.  This so that
1386         e.g. `c-lineup-arglist' can reliably line up with the first
1387         argument but still allow relative indentation changes for
1388         nested things, e.g. the arglist-close of a nested argument
1389         list.  This change means that the order in
1390         `c-syntactic-context' has become more essential.
1391         (c-guess-basic-syntax): Changes to make the nesting order of the
1392         returned syntax list correct.
1394         Compatibility note: This change means that `c-lineup-dont-change'
1395         now (again) isn't absolutely sure to keep the current indentation.
1396         However, I believe that most people use it for comments, macros
1397         and string literals, and since those are nested innermost it won't
1398         matter.
1400 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1402         * progmodes/cc-align.el, progmodes/cc-defs.el,
1403         progmodes/cc-engine.el, progmodes/cc-vars.el
1404         (c-guess-basic-syntax, c-calc-offset)
1405         (c-get-syntactic-indentation, c-syntactic-context):
1406         Extend the representation of the syntactic context: Previously it was
1407         a list containing cons cells of the found syntactic symbols
1408         and their relpos values.  Now each element is instead a list
1409         containing the syntactic symbol in the first element and the
1410         relpos (if any) in the second.  After that there might be more
1411         elements, depending on the syntactic symbol.  The line-up
1412         functions get these additional elements as extra arguments.
1414         This change is slightly incompatible.  Although the calling
1415         convention for line-up functions is strictly extended, the format
1416         of the `c-syntactic-context' variable has changed slightly.  It's
1417         believed that this incompatibility is minor, though; not a single
1418         line-up function distributed with CC Mode needed to be changed,
1419         for instance.
1421 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1423         * progmodes/cc-styles.el (c-set-style, c-set-style-1):
1424         Add another state for the `dont-override' flag where it only keeps
1425         globally set variables.
1427 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1429         * progmodes/cc-mode.el (c-postprocess-file-styles): Do nothing
1430         except in CC Mode modes.
1432 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1434         * progmodes/cc-vars.el, progmodes/cc-fonts.el,
1435         progmodes/cc-langs.el, progmodes/cc-mode.el: Add font lock support.
1437         * progmodes/cc-engine.el (c-beginning-of-syntax): New function
1438         to be used for font-lock-beginning-of-syntax-function.
1439         It uses the state cache to quickly find a good position.
1441         * progmodes/cc-defs.el (c-major-mode-is): Allow a list of
1442         modes.  Made it a macro ensure that it's optimized to either
1443         eq or memq for constant arguments.
1445         * progmodes/cc-mode.el (c-common-init): Do away with the
1446         hardcoded setting of `comment-column'; it's a user variable
1447         that we have no business meddling with.  Since the default
1448         value for it is 32 in all supported (X)Emacs versions, it's
1449         also safe from a compatibility perspective.
1451         * progmodes/cc-mode.el (c-basic-common-init): New function
1452         that contains only the syntax and line breaking/filling
1453         initialization.  It's intended for use by other modes that
1454         embed CC Mode.
1456 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1458         * progmodes/cc-engine.el (c-add-stmt-syntax): Fix some cases
1459         of wrong anchoring, e.g. for else-if compounds.
1461 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1463         * progmodes/cc-engine.el (c-guess-basic-syntax): Fix anchor
1464         position for defun-open in K&R style functions.
1466         * progmodes/cc-engine.el (c-in-knr-argdecl): Don't trip up on macros.
1468         (c-search-decl-header-end): Handle C++ template arguments more
1469         correctly.
1471         (c-beginning-of-decl-1): Fix when the declaration is first in a macro.
1473 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1475         * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
1476         to handle protection labels, one which doesn't get confused by
1477         inherit colons.
1479         (c-end-of-decl-1): Don't treat functions that have "class" or
1480         "struct" in the return type as classes or structs.
1482 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1484         * progmodes/cc-langs.el (c-make-keywords-re): Fix the
1485         keyword adornment so that it works when a keyword ends with "_".
1487 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1489         * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
1490         from `c-do-auto-fill' and point is at or near the limit of the
1491         comment.  Fix bug when the prefix from `c-guess-fill-prefix'
1492         is longer than the text on the first line of the comment when
1493         it's masked.
1495 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1497         * progmodes/cc-cmds.el (c-mask-comment): Fix bug where point
1498         was moved to the following line when it was at the first line
1499         of a block comment where comment-start-skip matched to eol.
1501 2003-07-01  Luc Teirlinck  <teirllm@mail.auburn.edu>
1503         * info.el (Info-fontify-menu-headers): Only fontify `* Menu:' at
1504         the beginning of a line.
1505         (Info-extract-menu-node-name): Correctly initialize while loop.
1506         (Info-scroll-prefer-subnodes): Change default to nil.
1508         * simple.el (vis-mode): Update documentation string to reflect
1509         earlier changes.
1511 2003-06-30  Richard M. Stallman  <rms@gnu.org>
1513         * progmodes/compile.el (compile-auto-highlight): Default now t.
1514         (compile): Doc fix.
1516         * progmodes/compile.el (compilation-next-error): Fix previous change.
1518         * emacs-lisp/debug.el (debug): 
1520         * loadup.el (pure-space-overflow): Set it if overflow.
1522         * startup.el (pure-space-overflow): New variable.
1523         (fancy-splash-screens-1): Display warning if overflow.
1524         (normal-splash-screen): Likewise.
1526         * vc.el (vc-default-show-log-entry): Use with-no-warnings.
1528         * subr.el (lazy-completion-table, dynamic-completion-table):
1529         New macros.
1531 2003-06-28  Richard M. Stallman  <rms@gnu.org>
1533         * menu-bar.el (menu-bar-options-menu): Move mouse-set-fonts item here.
1535         * international/mule-cmds.el (mule-menu-keymap):
1536         Delete mouse-set-fonts item here.
1538 2003-06-29  Nick Roberts  <nick@nick.uklinux.net>
1540         * gdb-ui.el (gdb-display-number-end): Don't re-initialise local
1541         variables to preserve array slices.
1542         (gdb-array-slice): Rename gdb-mouse-array-slice.
1543         (gdb-array-slice): Interactive function bound to "\r" for text
1544         terminals.
1545         (gdb-view-source): Rename gdb-view-source-function.
1546         Set uninitialised variables (defvars) to nil.
1548 2003-06-29  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
1550         * international/mule-cmds.el
1551         (set-display-table-and-terminal-coding-system): Remove CVS
1552         conflict markers and some code.
1554 2003-06-27  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
1556         * international/mule-cmds.el (menu-bar-options-menu):
1557         Move `mouse-set-fonts' here from Options/Mule submenu.
1559 2003-06-26  Stephen Eglen  <stephen@gnu.org>
1561         * iswitchb.el (iswitchb-read-buffer): Remove redundant variable
1562         iswitchb-prepost-hooks. 
1563         (iswitchb-xemacs): Delete variable and use (featurep 'xemacs)
1564         and fboundp instead.
1565         (iswitchb-completions): Remove two redundant arguments and local
1566         variables. (All above from Stefan Monnier).
1568 2003-06-20  Masatake YAMATO  <jet@gyve.org>
1570         * progmodes/asm-mode.el (asm-font-lock-keywords):
1571         Support labels starting with "." and directives starting with ".".
1573 2003-06-22  Andreas Schwab  <schwab@suse.de>
1575         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1576         Avoid variable as format argument for error.
1577         Don't call symbol-name on string.
1579         * eshell/esh-opt.el (eshell-do-opt): Avoid variable as format
1580         argument for error.
1582         * simple.el (vis-mode): Doc fix.
1584 2003-06-22  Glenn Morris  <gmorris@ast.cam.ac.uk>
1586         * calendar/diary-lib.el (diary-check-diary-file): New function.
1587         (diary, view-diary-entries, show-all-diary-entries)
1588         (mark-diary-entries): Use it.
1589         (view-other-diary-entries): Doc fix.  Use `prefix-numeric-value'.
1590         (diary-syntax-table, diary-attrtype-convert, diary-mail-days): Doc fix.
1591         (diary-modified, d-file): No need to defvar (for compiler).
1592         (list-diary-entries): No need for `let*' so use `let'.
1593         (simple-diary-display): Use `diary-file' directly rather than
1594         inheriting `d-file' from `list-diary-entries' caller.
1595         (make-fancy-diary-buffer, show-all-diary-entries):
1596         `mode-line-format' already buffer-local.
1597         (diary-mail-addr): Set to the empty string (rather than nil) if
1598         undefined, as per `user-mail-address'.
1599         (diary-mail-entries): Doc fix.  Error if `diary-mail-address' unset.
1600         (mark-sexp-diary-entries): Don't regexp-quote sexp-mark twice.
1601         Remove an un-needed `if'.
1602         (list-sexp-diary-entries): Remove local vars mark and s-entry, and
1603         use `let' rather than `let*'.
1604         (diary-date, insert-monthly-diary-entry)
1605         (insert-yearly-diary-entry, insert-anniversary-diary-entry)
1606         (insert-block-diary-entry, insert-cyclic-diary-entry)
1607         (font-lock-diary-date-forms): No need for `let*' so use `let'.
1608         (make-diary-entry): Doc fix.  Use `or' rather than `if'.
1609         (diary-font-lock-keywords): Use `when'.  `cal-islam' is required
1610         feature, not `cal-islamic'.
1611         `calendar-islamic-month-name-array-leap-year' does not exist - use
1612         `calendar-islamic-month-name-array'.
1614 2003-06-21  Kenichi Handa  <handa@m17n.org>
1616         * international/utf-16.el: Many name changes: utf-16-{be,le} ->
1617         utf-16{be,le}.
1618         (mule-utf-16-le, utf-16-le, mule-utf-16-be, utf-16-be): New coding
1619         system aliases for backward compatibility.
1621         * international/utf-7.el: Adjusted for the name change:
1622         xxx-utf-16-{le,be} -> xxx-utf-16{le,be}.
1624         * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
1625         Adjusted for the name change: xxx-utf-16-{le,be} ->
1626         xxx-utf-16{le,be}.
1628         * international/mule-conf.el: Adjusted for the name change:
1629         xxx-utf-16-{le,be} -> xxx-utf-16{le,be}.
1631         * international/mule-cmds.el (reset-language-environment):
1632         Adjusted for the name change: xxx-utf-16-{le,be} ->
1633         xxx-utf-16{le,be}.
1635 2003-06-20  Luc Teirlinck  <teirllm@mail.auburn.edu>
1637         * vc.el (vc-rename-file): Fix typo.
1639 2003-06-19  Andreas Schwab  <schwab@suse.de>
1641         * info.el (Info-fontify-node): Improve calculation of other-tag.
1643 2003-06-19  Stefan Monnier  <monnier@cs.yale.edu>
1645         * progmodes/cc-mode.el (c-mode): Reverting last change.
1647 2003-06-18  Stefan Monnier  <monnier@cs.yale.edu>
1649         * progmodes/gud.el (gud-find-expr-function): Rename from gud-find-expr.
1650         (gud-find-fortran-expr): Move to fortran.el.
1652         * progmodes/fortran.el (fortran-gud-find-expr): Move from gud.el
1653         where it was called gud-find-fortran-expr.
1654         (fortran-mode): Set gud-find-expr-function.
1656 2003-06-18  Nick Roberts  <nick@nick.uklinux.net>
1658         * gdb-ui.el (gud-display1): Keep the gdb command, "display", in
1659         the command history.
1660         (gdb-restore-windows): Make restore work when gdb-many-windows
1661         is nil.
1662         (gdb-source-info, gdba): Display assembler if there is no symbol
1663         table for main, or message if there is no main.
1664         (gdb-assembler-custom): Move point to current line of assembler.
1666         * progmodes/gud.el (gud-menu-map): Add dbx support for "run" and
1667         "nexti".
1668         (dbx): Define gud-nexti and gud-run.
1669         (gud-find-expr, gud-find-fortran-expr): New functions.
1670         (gud-find-expr): New variable.
1671         (gud-find-c-expr): Simplify.
1673         * progmodes/fortran.el (fortran-gud-syntax-table): Syntax table
1674         for parsing Fortran expressions for gud-print. (Stefan Monnier)
1675         (fortran-mode): Add local variable gud-find-expr.
1677         * progmodes/cc-mode.el (c-mode): Add local variable gud-find-expr.
1679 2003-06-18  Stefan Monnier  <monnier@cs.yale.edu>
1681         * subr.el (looking-back): Handle the case of non-trivial regexps.
1682         Add an optional `limit' argument.
1683         (push, pop, with-temp-file, with-temp-message, delay-mode-hooks)
1684         (with-syntax-table): Add edebug info.
1686 2003-06-17  Stefan Monnier  <monnier@cs.yale.edu>
1688         * simple.el (kill-new): Leave yank-handler property alone if no
1689         explicit yank-handler is specified.
1690         (vis-mode-saved-buffer-invisibility-spec): Rename from
1691         saved-buffer-invisibility-spec.
1692         (vis-mode): Correctly handle the case where the mode is turned on
1693         or off several times in a row.
1695 2003-06-17  Luc Teirlinck  <teirllm@mail.auburn.edu>
1697         * info.el (Info-fontify-node): Give only the last whitespace
1698         character after the node name the display property.  Give all
1699         other such whitespace the invisibility property.
1701 2003-06-17  Pinku Surana  <surana@rcn.com>
1703         * progmodes/sql.el: Add support for SQLite interpreter.
1705 2003-06-17  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
1707         Version 2.0.35 of Tramp released.
1709         * net/tramp.el (tramp-password-end-of-line): Use "xy" with plink.
1710         (tramp-completion-function-alist): Add completion function for
1711         "remcp", "remsh" and "plink1".
1712         Factor out the `regular' file name handling via a remote shell of
1713         some sort into a specific function.  Intent is to later put that
1714         part of Tramp into a special file, so that the Tramp `core' is
1715         just a dispatcher that dispatches to various handlers.
1716         (tramp-sh-file-name-handler): New function.
1717         (tramp-foreign-file-name-handler-alist): New default value.
1718         Call tramp-sh-file-name-handler as default case.
1719         (tramp-file-name-handler): Do not invoke the old remote-shell handler.
1720         (tramp-find-foreign-file-name-handler): Return after first match
1721         is found.  From Francis Litterio <franl@world.std.com>.
1722         (tramp-handle-file-newer-than-file-p):  `tramp-time-diff' returns
1723         integer, not list.  Do not apply `car' to the return value of
1724         `tramp-time-diff'.  Reported by David D. Smith
1725         <ultrasoul@ultrasoul.com>.
1726         (tramp-time-diff): Convert return value of subtract-time to a
1727         number of seconds in a correct manner, by applying float-time or
1728         time-to-seconds.  Also correct compat code accordingly.
1729         The XEmacs branch for itimer-time-difference didn't need correction,
1730         it returned a float already.  Reported by David D. Smith
1731         <ultrasoul@ultrasoul.com>.
1732         (tramp-handle-insert-file-contents): When calling
1733         `file-local-copy', let-bind `inhibit-file-name-operation'
1734         accordingly.  This makes sure that jka-compr is not called when
1735         `insert-file-contents-literally' is invoked.  From Katsumi Yamaoka
1736         <yamaoka@jpl.org>.
1737         (tramp-do-copy-or-rename-via-buffer): Avoid calling jka-compr when
1738         writing the target file.
1739         (tramp-foreign-file-name-handler-alist): Add comment about default
1740         value having to come last.
1741         (tramp-handle-file-local-copy, tramp-handle-write-region): Add the
1742         "-p" hack.
1743         (tramp-handle-copy-file): Set file modes of target file.
1744         (tramp-handle-file-local-copy)
1745         (tramp-do-copy-or-rename-via-buffer): Use binary coding system,
1746         instead of no-conversion.  They are the same on Emacs but
1747         different on XEmacs.
1748         (tramp-shell-prompt-pattern): Allow multiple escape
1749         sequences (each with optional trailing space).
1751         * net/tramp-uu.el:
1752         * net/tramp-util.el:
1753         * net/tramp-efs.el: Use iso-2022-7bit encoding with coding cookie
1754         for XEmacs compatibility.
1756 2003-06-17  Kenichi Handa  <handa@m17n.org>
1758         * term/x-win.el (x-select-request-type): New variable.
1759         (x-select-utf8-or-ctext): New function.
1760         (x-selection-value): New function.
1761         (x-cut-buffer-or-selection-value): Call x-selection-value to get
1762         a selection data.  Set next-selection-coding-system to nil.
1764         * select.el (x-get-selection): If the string returned by
1765         x-get-selection-internal has text property `foreign-selection',
1766         decode it while preserving that property.
1768 2003-06-16  Stefan Monnier  <monnier@cs.yale.edu>
1770         * menu-bar.el (ispell-menu-bar): Don't autoload.
1771         (cvs-global-menu): Use the function rather than the variable.
1773         * pcvs-defs.el (cvs-global-menu): Define as a function as well.
1775         * emacs-lisp/debug.el (debug): Fix call to message.
1777 2003-06-16  Michael Mauger  <mmaug@yahoo.com> (tiny change)
1779         * emulation/cua-base.el (cua-mode): Use explicit arg to turn off
1780         minor modes.
1782 2003-06-16  Stefan Monnier  <monnier@cs.yale.edu>
1784         * emacs-lisp/cl-extra.el (cl-macroexpand-all):
1785         Don't burp if (cadr (caddr found)) encounters a non-list element.
1787         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Use map-keymap.
1788         (defsubst*): Don't put a `cl-whole argument if it's not used.
1790         * emacs-lisp/cl-specs.el (pushnew): Use keywordp.
1792         * emacs-lisp/disass.el (disassemble): Accept plain expressions.
1794         * add-log.el (add-log-edit-prev-comment, add-log-edit-next-comment):
1795         New commands.
1796         (change-log-mode-map): Bind them.
1797         (smerge-resolve-function): Declare to quieten the byte-compiler.
1798         (change-log-mode): Add the keymap to the docstring.
1800 2003-06-16  Luc Teirlinck  <teirllm@mail.auburn.edu>
1802         * simple.el (vis-mode): New function.
1803         (saved-buffer-invisibility-spec): New variable.
1805 2003-06-16  Juanma Barranquero  <lektu@terra.es>
1807         * progmodes/sh-script.el (sh-while-getopts, sh-if, sh-case):
1808         Revert part of previous change.
1810 2003-06-16  Pieter E.J. Pareit  <pieter.pareit@skynet.be>
1812         * progmodes/mixal-mode.el: New file.
1814 2003-06-16  Markus Rost  <rost@math.ohio-state.edu>
1816         * files.el (recover-session-finish): Don't give up when there are
1817         two consecutive empty lines in the auto-save-list file.
1819 2003-06-14  Stefan Monnier  <monnier@cs.yale.edu>
1821         * emacs-lisp/copyright.el (copyright-update-year): New function
1822         extracted from copyright-update.
1823         When `arg' is set, replace the year, not the `copyright' text.
1824         Ignore `copyright-update = nil' if called interactively.
1825         Use "," rather than ", " if that's what was used before.
1826         Recognize mixes of 2 and 4 digit years.
1827         Use replace-match.
1828         (copyright-update): Add interactivep arg.
1829         Use it instead of use last-command.
1830         Use replace-match.  Don't assume (point-min) == 1.
1832         * textmodes/tex-mode.el (tex-compile-commands):
1833         Handle tex-start-commands like tex-start-tex does.
1835         * cus-edit.el (custom-get-fresh-buffer): Kill overlays before erasing
1836         the buffer.
1838 2003-06-13  Ilya N. Golubev  <gin@mo.msk.ru>  (tiny change)
1840         * shell.el (shell-command-separator-regexp): New variable.
1841         (shell-directory-tracker): Make regexp used for skipping to next
1842         command correspond to one used for command itself.
1844 2003-06-13  Katsumi Yamaoka  <yamaoka@jpl.org>  (tiny change)
1846         * textmodes/texinfmt.el (texinfo-format-scan):
1847         Silence `whitespace-cleanup'.
1849 2003-06-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
1851         * calendar/timeclock.el (display-time-hook)
1852         (timeclock-modeline-display): Define for byte-compiler.
1853         (timeclock-time-to-date, timeclock-workday-remaining)
1854         (timeclock-time-to-seconds, timeclock-seconds-to-time):
1855         Move earlier in the file so defined before used.
1856         (timeclock-status-string): No need for `let*' so use `let'.
1857         (timeclock-query-out): Always return a non-nil value.
1859 2003-06-10  Rajesh Vaidheeswarran  <rv@gnu.org>
1861         * whitespace.el (whitespace-version): Bump to 3.3
1862         (whitespace-cleanup): Respect user preference for silence
1864         * whitespace.el: Remove :tag in commentary :link.  Remove empty
1865         lines in comment, since commentary seems to have a problem with that.
1867 2003-06-09  Stefan Monnier  <monnier@cs.yale.edu>
1869         * textmodes/tex-mode.el (tex-search-noncomment): New macro.
1870         (tex-last-unended-begin, tex-next-unmatched-end): Use it
1871         so we don't get confused by \begin and \end in comments.
1872         (tex-compile): Change dir before calling tex-compile-default.
1874 2003-06-09  Luc Teirlinck  <teirllm@mail.auburn.edu>
1876         * bindings.el (global-map): Bind `kill-whole-line' to
1877         C-S-<backspace>.  Remove M-S-<backspace> binding: too close to
1878         C-M-<backspace>.
1880         * dired.el (dired-re-dot): Make it handle trailing /.
1881         (dired-get-filename): Update documentation string.
1882         Revert previous change and fix typo in earlier version.
1884 2003-06-10  Kim F. Storm  <storm@cua.dk>
1886         * info.el (Info-fontify-node): Make `invisible' property
1887         non-sticky so that whitespace added by filling stays visible.
1888         Make refilling less agressive by starting at beginning of current
1889         line rather than beginning of current paragraph.
1891 2003-06-09  Andreas Schwab  <schwab@suse.de>
1893         * dired.el (dired-get-filename): Complain only about "." and "..",
1894         not all directories.
1896 2003-06-08  Nick Roberts  <nick@nick.uklinux.net>
1898         * gdb-ui.el (gdb-get-current-frame, gdb-frame-handler): Use Gdb
1899         command `info frame' instead of `frame' to preserve point.
1900         (gdb-invalidate-assembler): Only run disassemble again if frame
1901         has changed.
1902         (gdb-append-to-inferior-io): Revert change from 2003-05-17.
1904 2003-06-07  Stefan Monnier  <monnier@cs.yale.edu>
1906         * textmodes/texinfo.el (texinfo-enable-quote-macros): Fix thinko.
1907         (texinfo-insert-@table): Remove unused arg.
1908         (texinfo-show-structure): Remove unused var `source-buffer'.
1910         * info.el (Info-goto-node, Info-follow-reference, Info-menu-update)
1911         (Info-fontify-node): Don't search past header-end.
1912         Use match-string and line-end-position.
1914         * skeleton.el (skeleton-proxy-new): Consume the mark-active state.
1916         * textmodes/tex-mode.el (tex-mode-syntax-table)
1917         (tex-latex-indent-syntax-table): Don't use easy-mmode-defsyntax.
1919 2003-06-07  Jason Rumney  <jasonr@gnu.org>
1921         * mwheel.el (mouse-wheel-up-event, mouse-wheel-down-event):
1922         Use wheel-* events on darwin.
1924 2003-06-06  Era Eriksson  <era@iki.fi>  (tiny change)
1926         * shell.el (shell-resync-dirs): Tolerate an extra line of output
1927         before the list of directories from `shell-dirstack-query' (it
1928         looks for, and ignores, a literal copy of the value of
1929         shell-dirstack-query).
1931 2003-06-06  Lute Kamstra  <Lute.Kamstra@cwi.nl>
1933         * info.el (Info-complete-menu-item): Revert change of 2003-06-03.
1935 2003-06-06  Klaus Zeitler  <kzeitler@lucent.com>
1937         * progmodes/sh-script.el: Fix bug in "Options Loop" skeleton for
1938         ksh.  Add newlines to a few skeletons, add "select" keyword for bash.
1940 2003-06-06  Andreas Schwab  <schwab@suse.de>
1942         * info.el (Info-select-node): Doc fix.
1944 2003-06-06  Miles Bader  <miles@gnu.org>
1946         * frame.el (set-frame-font): Default to frame's current default font.
1948 2003-06-06  Kim F. Storm  <storm@cua.dk>
1950         * info.el (Info-fontify-node): Don't refill over lines ending in a
1951         period; this should fix problems with lists like one in the
1952         (emacs)Library Keywords section.
1954 2003-06-05  Markus Rost  <rost@math.ohio-state.edu>
1956         * dired.el (dired-get-filename): Don't err for . and .. for calls
1957         from dired-add-entry.
1959 2003-06-05  Takaaki Ota  <Takaaki.Ota@am.sony.com>
1961         * textmodes/table.el (table-cell-horizontal-chars): Renamed from
1962         table-cell-horizontal-char.  Now a string value instead of a
1963         character.  ?= is allowed for horizontal boundary as well as ?-.
1964         (table-command-remap-alist, table-command-list): Changed defconst to
1965         defvar because the value is modified.
1966         (table-insert, table-insert-row, table-insert-column)
1967         (table-recognize, table-recognize-region, table-widen-cell)
1968         (table-span-cell, table-split-cell-vertically): Change due to
1969         table-cell-horizontal-chars.
1970         (table--cell-horizontal-char-p): New function.
1971         (table--generate-source-scan-lines, table-delete-row)
1972         (table-delete-column, table--spacify-frame)
1973         (table--find-row-column, table--probe-cell-left-up)
1974         (table--probe-cell-right-bottom, table--probe-cell): Change due to
1975         table-cell-horizontal-chars.  From David Abrahams
1976         <dave@boost-consulting.com>
1978 2003-06-05  Juanma Barranquero  <lektu@terra.es>
1980         * gud.el: Moved to progmodes.
1982 2003-06-05  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>  (tiny change)
1984         * progmodes/tcl.el (tcl-mode): Set imenu-generic-expression to the
1985         value of tcl-imenu-generic-expression instead of the symbol.
1987 2003-06-05  Luc Teirlinck  <teirllm@mail.auburn.edu>
1989         * info.el (Info-mode): Mention `c' and remove duplicate mention
1990         of `q' in documentation string.
1992 2003-06-05  Lute Kamstra  <Lute.Kamstra@cwi.nl>
1994         * shell.el (shell-mode): Put `shell-filter-ctrl-a-ctrl-b' on
1995         `comint-output-filter-functions' when bash is used as the inferior
1996         shell.
1997         (shell-filter-ctrl-a-ctrl-b): New function.
1999 2003-06-05  Dave Love  <fx@gnu.org>
2001         * vc-hooks.el (vc-make-backup-files): Add :group backup.
2003 2003-06-05  Kim F. Storm  <storm@cua.dk>
2005         * info.el (Info-fontify-node): Individually refill menus and
2006         paragraphs to preserve menu items and varying indentation.
2007         Only color first 9 menu items differently.
2009 2003-06-05  Juanma Barranquero  <lektu@terra.es>
2011         * desktop.el: Add new maintainer.
2013 2003-06-04  Stefan Monnier  <monnier@cs.yale.edu>
2015         * textmodes/sgml-mode.el (sgml-parse-tag-backward): Try and detect
2016         when we're starting from within a tag.
2017         (sgml-get-context): When called from inside a tag, do something useful.
2018         Rename the arg now that it's never used for `full' context anymore.
2019         (sgml-calculate-indent): Make `lcon' an argument.
2020         Return nil when we DON'T know what to do.
2021         If the initial lcon turns out to be wrong, try again.
2022         (sgml-indent-line): If sgml-calculate-indent returns nil, don't indent.
2024 2003-06-04  Jason Rumney  <jasonr@gnu.org>
2026         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
2027         Default to new wheel-up and wheel-down events on MacOS.
2029         * term/mac-win.el: No need to bind wheel events specially.
2031 2003-06-04  Luc Teirlinck  <teirllm@mail.auburn.edu>
2033         * simple.el (yank-excluded-properties): Expand documentation string.
2035 2003-06-04  Richard M. Stallman  <rms@gnu.org>
2037         * emacs-lisp/lisp-mnt.el (lm-keywords-finder-p):
2038         Use with-no-warnings.
2040         * gud.el (gud-minor-mode-type): Move defvar up.
2042         * progmodes/compile.el (compilation-next-error): When moving fwd,
2043         compare position of point with the errors.
2045         * dired.el (dired-get-filename): Err for . and .. in usual case.
2046         (dired-get-file-for-visit): Specify no-error to dired-get-filename,
2047         and check for real errors here.
2048         (dired-unmark-all-files): Specify no-error to dired-get-filename.
2050         * buff-menu.el (list-buffers-noselect): Use window-inside-edges
2051         to compute the number of offset spaces.
2052         (list-buffers-noselect): Use Buffer-menu-buffer+size to
2053         indent the dashes properly.  Put some in fixed-pitch.
2055 2003-06-04  Lars Hansen  <larsh@math.ku.dk>
2057         * desktop.el (desktop-create-buffer): Undo last change.
2058         (desktop-kill, desktop-save, desktop-remove): Use expand-directory
2059         rather than concat to construct desktop filename.
2060         (desktop-kill, desktop-read, desktop-change-dir):
2061         Ensure desktop-dirname is a directory name.
2062         (desktop-change-dir): Fix bug when DIR was relative.
2064 2003-06-04  Alex Coventry  <alex_c@mit.edu>  (tiny change)
2066         * files.el (after-find-file): Fix arguments of call to `sit-for'.
2068 2003-06-03  Stefan Monnier  <monnier@cs.yale.edu>
2070         * info.el (Info-extract-menu-node-name): Remove unused arg errmessage.
2071         (Info-follow-reference): Update corresponding call.
2072         (Info-node-spec-re): New const.
2073         (Info-complete-menu-item): Use it to only allow : when necessary.
2074         (Info-fontify-node): Use it as well.  Fixup typo.
2076         * info.el (info-fontify-node): Use better help-echo text.
2077         Use :align-to display prop.
2078         Use `invisible' rather than `display' prop to hide text.
2080         * info.el (Info-mode-hook): Obey obsolete `Info-fontify'.
2081         (Info-find-in-tag-table-1): Remove unused vars.
2082         (Info-display-images-node): Remove unused var paragraph-markers.
2083         (Info-header-line): Remove.
2084         (Info-select-node): Don't set it.
2085         (Info-search): Remove unused var `current'.
2086         (Info-follow-reference): Remove unused var `beg'.
2087         (Info-extract-menu-node-name): Remove unused var `i'.
2088         (Info-complete-menu-item): Use `with-current-buffer'.
2089         (Info-index): Remove unused var `rnode'.
2090         (Info-mode): Set header-line-format to check text-properties directly.
2091         (Info-find-emacs-command-nodes): Remove unused var `found' and `exact'.
2092         (Info-fontify-node): Use `push'.
2093         (Info-speedbar-hierarchy-buttons): Use `dolist'.
2094         (Info-speedbar-goto-node, Info-speedbar-fetch-file-nodes):
2095         Check the return value of `string-match'.
2096         (Info-speedbar-fetch-file-nodes): Factor out common code.
2098 2003-06-03  Lute Kamstra  <Lute.Kamstra@cwi.nl>
2100         * cus-edit.el (custom-get-fresh-buffer): Test for nonexistence buffer.
2102 2003-06-03  Richard M. Stallman  <rms@gnu.org>
2104         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
2105         Add save-excursion.
2107         * windmove.el (windmove-reference-loc, windmove-frame-edges):
2108         Use window-inside-edges.
2109         (windmove-do-window-select): Fix error messages.
2111         * files.el (after-find-file): Simplify msg if nonexistent directory.
2112         (make-directory): Doc fix.
2114         * dabbrev.el (dabbrev--goto-start-of-abbrev):
2115         Use minibuffer-prompt-end.
2117         * comint.el (comint-move-point-for-output): Renamed from
2118         comint-scroll-to-bottom-on-output.  Old name is alias.
2119         All uses changed.  Doc fix.
2120         (comint-scroll-show-maximum-output): Doc fix.
2122         * comint.el (comint-exec-1): Don't use directory-sep-char.
2123         (comint-dynamic-complete-as-filename): Likewise.
2125         * bindings.el (global-map): Delete C-M-delete and C-M-backspace.
2127 2003-06-03  Markus Rost  <rost@math.ohio-state.edu>
2129         * progmodes/ps-mode.el (ps-mode): Use autoload cookie in the
2130         standard way.
2132 2003-06-02  Stefan Monnier  <monnier@cs.yale.edu>
2134         * textmodes/bibtex.el (bibtex-member-of-regexp)
2135         (bibtex-assoc-of-regexp, bibtex-format-entry, bibtex-find-entry)
2136         (bibtex-autokey-demangle-name, bibtex-string-files-init, bibtex-mode):
2137         Fix up regexp usage and use match-string.
2139 2003-06-02  Roland Winkler  <roland.winkler@physik.uni-erlangen.de>
2141         * textmodes/bibtex.el: Long overdue merge.
2142         Don't require `compile' since it seems unnecessary.
2143         For all internal variables and functions the docstring comments have
2144         been converted into proper docstrings
2145         (bibtex-maintainer-address, bibtex-maintainer-salutation)
2146         (bibtex-version): Remove support for bug reporting.
2147         (bibtex-field-delimiters, bibtex-entry-delimiters)
2148         (bibtex-sort-ignore-string-entries, bibtex-maintain-sorted-entries)
2149         Replace make-variable-buffer-local by make-local-variable for
2150         (bibtex-entry-format): New tag `required-fields'.
2151         (bibtex-maintain-sorted-entries): New var.
2152         (bibtex-sort-entry-class, bibtex-sort-entry-class-alist): New vars.
2153         (bibtex-predefined-month-strings, bibtex-predefined-strings):
2154         Make into alists with pairs (abbreviation expansion).
2155         (bibtex-autokey-titleword-change-strings)
2156         (bibtex-autokey-transcriptions): Make into alists.
2157         Add new replacement pairs.
2158         (bibtex-autokey-use-crossref): New var.
2159         Replace bibtex-autokey-year-use-crossref-entry because updated code
2160         for autokey generation handles crossrefs independently of
2161         particular fields.
2162         (bibtex-reference-key, bibtex-mode-syntax-table):
2163         Remove = because it can't be part of a string's key.
2164         (bibtex-complete-key-cleanup): New var.
2165         (bibtex-complete): Merge bibtex-complete-string and bibtex-complete-key
2166         into it (and bind to M-tab).
2167         (bibtex-valid-entry-re, bibtex-any-valid-entry-re)
2168         (bibtex-valid-entry-whitespace-re, bibtex-empty-field-re)
2169         (bibtex-quoted-string-re): New vars.
2170         (bibtex-field-name-for-parsing): Don't make-variable-buffer-local.
2171         (zmacs-regions): Declare to quieten the byte-compiler.
2172         (bibtex-comment-start): Don't include the space.
2173         (bibtex-font-lock-syntactic-keywords): New var.
2174         (bibtex-font-lock-keywords): Remove the entry for @Comment.
2175         (bibtex-parse-field-string): Merge the functionality of
2176         bibtex-parse-field-string-braced, bibtex-parse-quoted-string and
2177         bibtex-parse-field-string-quoted.
2178         (bibtex-search-forward-field-string): Remove.
2179         (bibtex-parse-association): Use when.
2180         (bibtex-parse-field-name): Use when.
2181         (bibtex-parse-field-text): Use when and cond.
2182         (bibtex-parse-field): Use let.
2183         (bibtex-search-forward-field, bibtex-search-backward-field):
2184         Make bound optional, use let, setq, and cddr.
2185         (bibtex-start-of-field, bibtex-start-of-name-in-field)
2186         (bibtex-end-of-name-in-field): Use nth.
2187         (bibtex-name-in-field, bibtex-text-in-field-bounds)
2188         (bibtex-text-in-field, bibtex-type-in-head, bibtex-key-in-head)
2189         (bibtex-text-in-string): New functions.
2190         (bibtex-reference-key-in-string): New fun.  Merge of
2191         bibtex-start-of-reference-key-in-string and
2192         bibtex-end-of-reference-key-in-string.
2193         (bibtex-parse-string-prefix): Use let and when.
2194         (bibtex-parse-string-postfix): Use when.
2195         (bibtex-search-forward-string, bibtex-search-backward-string):
2196         Use save-excursion and setq.
2197         (bibtex-member-of-regexp): Use let.
2198         (bibtex-assoc-of-regexp): Use caar und let.
2199         (bibtex-skip-to-valid-entry): Return buffer position.
2200         (bibtex-map-entries): Use save-excursion.
2201         (bibtex-progress-message): Simplify.
2202         (bibtex-search-entry): Use skip-chars-forward, when, save-match-data.
2203         (bibtex-move-outside-of-entry): Handle the case that point is before
2204         first entry.
2205         (bibtex-enclosing-field): Use save-excursion, when.
2206         (bibtex-format-field-delimiters): Merge into bibtex-format-entry.
2207         (bibtex-enclosing-entry-maybe-empty-head): Simplify.
2208         (bibtex-format-entry): Simplify.  Handle new tag required-fields of
2209         bibtex-entry-format.
2210         (bibtex-autokey-abbrev): Accept negative values of len.
2211         (bibtex-autokey-get-field, bibtex-autokey-demangle-title): New funs.
2212         (bibtex-autokey-get-namefield, bibtex-autokey-get-namelist)
2213         (bibtex-autokey-get-yearfield-digits, bibtex-autokey-get-yearfield)
2214         (bibtex-autokey-get-titlestring): Remove.
2215         (bibtex-autokey-get-names): Simplify.
2216         (bibtex-autokey-get-titles): Rename to bibtex-autokey-get-title.
2217         (bibtex-autokey-demangle-name): Simplify, avoid error messages.
2218         (bibtex-generate-autokey): Simplify.
2219         (bibtex-parse-keys): Simplify, use push.
2220         (bibtex-parse-strings): New fun similar to bibtex-parse-keys.
2221         (bibtex-string-files-init): New fun.
2222         (bibtex-parse-buffers-stealthily): Use bibtex-parse-keys,
2223         bibtex-string-files-init and bibtex-parse-strings.
2224         (bibtex-complete): Rename to bibtex-complete-internal, use push,
2225         bibtex-reference-key-in-string, no sorting.
2226         (bibtex-complete-string-cleanup): New fun, displays expansion of
2227         completed strings.
2228         (bibtex-choose-completion-string): New fun.  Required for
2229         choose-completion-string-functions.
2230         (bibtex-do-auto-fill): Remove.  Set fill-prefix in bibtex-mode.
2231         (bibtex-pop): Simplify.
2232         (bibtex-mode): Move setting of bibtex-string to bibtex-parse-strings.
2233         Set choose-completion-string-functions.
2234         (bibtex-print-help-message,bibtex-make-field, bibtex-end-of-entry)
2235         (bibtex-count-entries): Simplify.
2236         (bibtex-entry-index, bibtex-lessp): New funs for generalized sorting
2237         scheme of indices, see bibtex-maintain-sorted-entries.
2238         (bibtex-sort-buffer): Use bibtex-lessp for sorting.
2239         (bibtex-find-crossref, bibtex-find-entry): New funs.
2240         (bibtex-find-entry-location): Rename to bibtex-prepare-new-entry, use
2241         bibtex-lessp, Simplify.
2242         (bibtex-validate): Simplify.  Fixe bug of internal variable
2243         questionable-month.
2244         (bibtex-remove-OPT-or-ALT): Use when.
2245         (bibtex-remove-delimiters, bibtex-kill-field, bibtex-kill-entry)
2246         (bibtex-clean-entry, bibtex-fill-entry, bibtex-reformat): Simplify.
2247         (bibtex-convert-alien): Use deactivate-mark rather than the
2248         non-existent bibtex-mark-active variable.
2249         (bibtex-complete-string, bibtex-complete-key): Merge into new
2250         `smart' defun bibtex-complete.
2251         (bibtex-String): Update for new sorting scheme, distinguish empty and
2252         non-empty key strings.
2254 2003-06-02  Stefan Monnier  <monnier@cs.yale.edu>
2256         * sort.el (sort-subr): Add `predicate' arg.  Remove `sortcar' code.
2258 2003-06-02  Lute Kamstra  <Lute.Kamstra@cwi.nl>
2260         * emacs-lisp/lisp-mnt.el (lm-synopsis): Use relative filenames
2261         correctly.  Show the synopsis to the user when appropriate.
2262         Do not kill buffers that were created outside `lm-synopsis'.
2264 2003-06-01  Stefan Monnier  <monnier@cs.yale.edu>
2266         * cus-edit.el (custom-get-fresh-buffer): Be extra paranoid,
2267         just in case some used a file of the wrong name.
2269         * progmodes/sh-script.el (sh-is-quoted-p): New fun.
2270         (sh-font-lock-paren): Use it to allow \C in case patterns.
2271         (sh-get-indent-info): Check the \n before the line for string-status.
2272         (sh-feature): Remove unused var `function'.
2273         (sh-get-indent-info): Remove unused variables.
2274         (sh-prev-thing): Remove unused vars `going', `n', and `found'.
2275         (sh-set-indent): Remove unused var `new-val' and `val0'.
2276         (sh-learn-buffer-indent): Remove unused vars `last-pos' and `lines'.
2277         (sh-guess-basic-offset): Remove unused var `return' and `j'.
2279 2003-05-27  David Ponce  <david@dponce.com>
2281         * ruler-mode.el
2283         Version 1.6
2285         Take into account changes made to the display margins, fringes and
2286         scroll-bar handling.
2288         (ruler-mode-margins-char): Remove.  Not used anymore.
2289         (ruler-mode-pad-face, ruler-mode-fringes-face): New faces.
2290         (ruler-mode-margins-face): New definition.  Move.
2291         (ruler-mode-left-fringe-cols)
2292         (ruler-mode-right-fringe-cols)
2293         (ruler-mode-left-scroll-bar-cols)
2294         (ruler-mode-right-scroll-bar-cols): Reimplement.  Move.
2295         (ruler-mode-full-window-width)
2296         (ruler-mode-window-col): New functions.
2297         (ruler-mode-mouse-set-left-margin)
2298         (ruler-mode-mouse-set-right-margin)
2299         (ruler-mode-mouse-add-tab-stop)
2300         (ruler-mode-mouse-del-tab-stop): Reimplement.
2301         (ruler-mode-mouse-current-grab-object): Rename to...
2302         (ruler-mode-dragged-symbol): New.
2303         (ruler-mode-mouse-grab-any-column): Use it.  Clean up.
2304         (ruler-mode-mouse-drag-any-column): Likewise.
2305         (ruler-mode-mouse-drag-any-column-iteration): Simplify.
2306         (ruler-mode): Restore previous `header-line-format' if
2307         `ruler-mode-header-line-format-old' has a local binding in current
2308         buffer.
2309         (ruler-mode-left-margin-help-echo)
2310         (ruler-mode-right-margin-help-echo): Remove.
2311         (ruler-mode-margin-help-echo)
2312         (ruler-mode-fringe-help-echo): New constants.
2313         (ruler-mode-ruler): Use them.  Reimplement.
2315 2003-06-01  Jason Rumney  <jasonr@gnu.org>
2317         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
2318         Default to new wheel-up and wheel-down events on Windows.
2320         * term/w32-win.el: No need to bind wheel events specially.
2322 2003-06-01  Michael Kifer  <kifer@cs.stonybrook.edu>
2324         * desktop.el (desktop-create-buffer): Added (desktop-first-buffer) to
2325         the let-statement to avoid the startup error that desktop-first-buffer
2326         is undefined.
2328 2003-06-01  Andreas Schwab  <schwab@suse.de>
2330         * man.el (Man-name-regexp): Also match Latin-1 soft hyphen.
2331         (Man-build-references-alist): Handle Latin-1 soft hyphen.
2333 2003-05-31  Stephen Eglen  <stephen@gnu.org>
2335         * iswitchb.el (iswitchb-buffer-ignore): Update custom type to
2336         allow functions.
2338 2003-05-31  Stefan Monnier  <monnier@cs.yale.edu>
2340         * view.el (view-file, view-file-other-window, view-file-other-frame):
2341         Signal an error when trying to visit an inexistent file.
2343         * vc-hooks.el (vc-call-backend): Give better error message
2344         when a backend function is missing.
2345         (vc-find-file-hook): USe unless.  Merge if and cond.
2347         * vc.el (vc-directory-exclusion-list): Add MCVS and .svn.
2348         (vc-checkin-hook): Adjust option to new name.
2350         * log-edit.el (log-edit-maximum-comment-ring-size)
2351         (log-edit-comment-ring, log-edit-comment-ring-index)
2352         (log-edit-last-comment-match): Rename vars from
2353         vc-maximum-comment-ring-size, vc-comment-ring, vc-comment-ring-index,
2354         and vc-last-comment-match.
2355         (log-edit-new-comment-index, log-edit-previous-comment)
2356         (log-edit-next-comment, log-edit-comment-search-backward)
2357         (log-edit-comment-search-forward, log-edit-comment-to-change-log):
2358         Rename funs from vc-new-comment-index, vc-previous-comment,
2359         vc-next-comment, vc-comment-search-reverse, vc-comment-search-forward,
2360         and vc-comment-to-change-log.
2362         * wid-edit.el (widget-specify-insert): Simplify.
2363         (widget-editable-list-entry-create): Don't assume that %d and %i are
2364         in the format string.
2365         (widget-map-buttons): Remove unused var `parent'.
2366         (widget-move): Remove unused shadowed var `new'.
2367         (widget-color-action): Remove unused var `pos'.
2369         * cus-edit.el (custom-get-fresh-buffer): New fun.
2370         (custom-buffer-create, custom-buffer-create-other-window)
2371         (customize-browse): Use it instead of killing buffers.
2372         (custom-bury-buffer): Obey the argument.
2373         (custom-variable-reset-saved, custom-variable-reset-standard):
2374         Remove unused var `comment-widget'.
2375         (custom-face-edit-deactivate): Remove unused var `to'.
2376         (custom-save-variables): Remove unused var `sep'.
2378 2003-05-31  John Paul Wallington  <jpw@gnu.org>
2380         * files.el (large-file-warning-threshold): Add type, groups.
2382         * progmodes/delphi.el (delphi-ignore-changes): Defvar; non-constant.
2384 2003-05-31  Kenichi Handa  <handa@m17n.org>
2386         * files.el (recover-file): Bind coding-system-for-read to
2387         auto-save-coding.
2389 2003-05-31  Juanma Barranquero  <lektu@terra.es>
2391         * misc.el (mark-beginning-of-buffer, mark-end-of-buffer)
2392         (upcase-char, forward-to-word, backward-to-word): Moved from unused.el.
2394         * unused.el: Deleted (contents moved to misc.el).
2396         * options.el:
2397         * emacs-lisp/float.el:
2398         * textmodes/scribe.el: Moved to obsolete.
2400         * byte-run.el:
2401         * derived.el:
2402         * float-sup.el:
2403         * map-ynp.el:
2404         * regi.el:
2405         * timer.el:
2406         * warnings.el: Moved to emacs-lisp.
2408         * enriched.el: Moved to textmodes.
2410         * textmodes/outline.el: Moved to lisp.
2412         * which-func.el: Moved to progmodes.
2414         * loadup.el: Load byte-run.el, map-ynp.el, timer.el and float-sup.el
2415         from emacs-lisp.
2417 2003-05-31  Tom Wurgler  <twurgler@goodyear.com>  (tiny change)
2419         * subr.el (looking-back): New function to check for regular
2420         expression before point.
2422 2003-05-30  Stefan Monnier  <monnier@cs.yale.edu>
2424         * newcomment.el (comment-empty-lines): New var.
2425         (comment-region-internal): Use it.
2427         * textmodes/tex-mode.el (latex-block-args-alist)
2428         (latex-block-body-alist): New vars.
2429         (latex-insert-block): Use them.
2430         (tex-string-prefix-p): New fun.
2431         (tex-guess-main-file): Use it to detect when the main file
2432         is in a parent directory.
2433         (tex-main-file): Try to find a main-file in parent directories.
2434         (tex-compile-default): Don't use `gv' on pdf files just because
2435         `gv' was used recently on a ps file.  Remove unused arg `dir'.
2436         Reuse a previous command as-is if it applied to the same file.
2437         (tex-compile): Use the right file name when file is not in dir.
2439         * textmodes/refill.el (refill-adjust-ignorable-overlay):
2440         Don't hardcode pint-min == 1.
2441         (refill-fill-paragraph-at): Use a more robust method to detect
2442         when the paragraph is after point.  Remove unused var `fill-pfx'.
2444         * xml.el (xml-parse-tag): Return (foo nil) rather than (foo nil "")
2445         for <foo/>, to make it behave like <foo></foo>.
2447         * emacs-lisp/edebug.el (edebug-storing-offsets): Move indent
2448         and debug to inside the macro.
2449         (edebug-read-storing-offsets): Simplify.
2450         (edebug-read-quote, edebug-read-function): Place the
2451         start-position correctly.
2452         (edebug-read-backquote-new): Remove.
2453         (edebug-read-backquote-level): New var to replace it.
2454         (edebug-read-backquote): Increment it.
2455         Don't store offsets one extra time.
2456         (edebug-read-comma): Decrement it.  Read the comma as a plain
2457         symbol if outside of any new-style backquote.
2458         (edebug-read-list): Use edebug-read-backquote-level.
2459         Don't call edebug-read-backquote directly.  This way the extra
2460         offsets store is done exactly when it's needed.
2461         (edebug-read-vector): Use push.
2462         (defmacro): Add support for the `declare' thingy.
2464 2003-05-29  Stefan Monnier  <monnier@cs.yale.edu>
2466         * forms.el (forms-mode-hook): Rename from forms-mode-hooks.
2467         (forms-mode): Use add-hook rather than make-local-variable+setq.
2468         Use with-current-buffer.  Run the new and the old hooks.
2469         (forms--update): Use with-current-buffer and line-end-position.
2470         (forms--goto-record): New fun.
2471         (forms-jump-record, forms-insert-record, forms-delete-record): Use it.
2472         (forms--process-format-list): Remove unused var `this-item'.
2473         (forms--intuit-from-file): Remove unused var `the-result'.
2474         (forms--trans): Remove unused var `x'.
2475         (forms--exit, forms-exit, forms-exit-no-save): Remove unused arg.
2477         * emacs-lisp/edebug.el (edebug-window-list): Use push.
2478         (edebug-macrop): Use functionp.
2479         (edebug-functionp): Remove.
2480         (edebug-get-displayed-buffer-points): Use push.
2481         (edebug-set-buffer-points): Use save-current-buffer and buffer-live-p.
2482         (edebug-list-form): Remove dead code.
2483         (backquote-form): Correctly handle `(a . ,b).
2484         (edebug-mode-map, global-edebug-map): Move init to inside the defvar.
2485         (define-derived-mode, define-minor-mode): Remove outdated spec.
2486         (save-match-data, with-output-to-string, with-current-buffer)
2487         (combine-after-change-calls, with-temp-buffer, dolist, dotimes)
2488         (unless, when): Remove specs that are now in the corresponding macro.
2490         * emacs-lisp/easy-mmode.el (define-minor-mode): Add edebug spec.
2491         Accept a :keymap argument, as you'd expect.
2493         * derived.el (define-derived-mode): Add a proper edebug declaration.
2495 2003-05-29  Luc Teirlinck  <teirllm@mail.auburn.edu>
2497         * simple.el (kill-whole-line): Make it interact correctly with
2498         the kill ring.
2500 2003-05-29  Kenichi Handa  <handa@m17n.org>
2502         * international/mule.el (ctext-non-standard-encodings-alist):
2503         Renamed from non-standard-icccm-encodings-alist.
2504         (ctext-non-standard-encodings-regexp): New variable
2505         (ctext-post-read-conversion): Full rewrite.
2506         (ctext-non-standard-designations-alist): Renamed from
2507         non-standard-designations-alist.
2508         (ctext-pre-write-conversion): Full rewrite.
2510 2003-05-28  Stefan Monnier  <monnier@cs.yale.edu>
2512         * info.el (Info-fontify-node): Hide \n------- rather than -------\n.
2514         * skeleton.el (skeleton-edebug-spec): First cut of an edebug spec.
2515         (define-skeleton): Use it.
2517 2003-05-28  Andreas Schwab  <schwab@suse.de>
2519         * descr-text.el (describe-char): Use `char' instead of
2520         `(char-after)'.  Fix display of unicode.
2522 2003-05-28  Nick Roberts  <nick@nick.uklinux.net>
2524         * gud.el (gud-gdb-goto-stackframe, gud-gdb-get-stackframe):
2525         Add server prefix to the gdb commands used by the speedbar.
2527 2003-05-28  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
2529         * simple.el (kill-region): If nothing was killed, and the
2530         previous command was not a kill, break kill sequence.
2532 2003-05-28  Richard M. Stallman  <rms@gnu.org>
2534         * textmodes/refill.el (refill-fill-paragraph-at):
2535         Avoid refilling the following paragraph.
2536         (refill-doit): Doc fix.
2538         * emulation/vip.el (ctl-x-map): Don't bind C-x C-i or C-x 3.
2539         (global-map): Don't bind C-z.
2540         (vip-setup): New function to rebind C-x 7 and C-z.
2542         * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
2543         Undo previous change (don't check for eob).  Widen at the beginning.
2545         * map-ynp.el (map-y-or-n-p): No special handling for exit-prefix.
2546         In help string, mention C-g but not ESC.
2548         * jka-compr.el (jka-compr-insert-file-contents):
2549         When REPLACE, delete the proper range of text.
2551         * info.el (Info-index): Add autoload cookie.
2553         * forms.el (forms-mode): Use write-file-functions instead
2554         of local-write-file-hooks.  Use make-local-variable to make it local.
2556         * descr-text.el (describe-char-unicode-data): New dummy definition.
2557         (unicode-data): Commented out since we can't use UnicodeData.txt as is.
2558         (describe-char-unicodedata-file): Variable renamed and commented out.
2560         * faces.el (set-face-attribute): Set face-modified prop to t
2561         when we change the new-frame defaults.
2562         (face-spec-set): Set face-modified prop to nil
2563         when we change the new-frame defaults.
2565         * cus-edit.el (custom-face-state-set): non-nil `face-modified'
2566         means face was set outside of Custom.
2568 2003-05-28  Richard M. Stallman  <rms@gnu.org>
2570         * byte-run.el (with-no-warnings): New function.
2572         * emacs-lisp/bytecomp.el (byte-compile-no-warnings): New function.
2573         (with-no-warnings): Set up compile handler.
2575         * startup.el (command-line-1): Use with-no-warnings.
2577         * type-break.el (type-break-cancel-function-timers):
2578         Use with-no-warnings.
2580 2003-05-28  Luc Teirlinck  <teirllm@mail.auburn.edu>
2582         * env.el (substitute-env-vars): Fix typo.
2584 2003-05-28  Walter C. Pelissero  <walter@pelissero.de>  (tiny change)
2586         * net/browse-url.el (browse-url-mozilla): Correct the conditionals
2587         for using ,new-window.
2589 2003-05-27  Glenn Morris  <gmorris@ast.cam.ac.uk>
2591         * progmodes/sh-script.el (sh-here-document-word):
2592         Document new treatment of leading "-".
2593         (sh-maybe-here-document): Strip a leading "-" from closing
2594         heredoc delimiter, if present.
2596         * align.el (align-rules-list): Doc fix.
2598         * calendar/timeclock.el: Update copyright.
2599         (timeclock-ask-before-exiting): Put `timeclock-query-out' on
2600         `kill-emacs-query-functions' rather than `kill-emacs-hook'.
2601         (timeclock-mode-string): Doc fix.
2602         (timeclock-modeline-display): Doc fix.  Use `global-mode-string'
2603         rather than `mode-line-format'.
2604         (timeclock-query-out): Doc fix.
2605         (timeclock-update-modeline): No need for `let*', so use `let'.
2606         Add some help-echo text to `timeclock-mode-string'.
2607         (timeclock-mode-string): Give it the risky-local-variable
2608         property, so that help-echo text will display.
2609         (timeclock-find-discrep): Set `accum' to 0 if
2610         `timeclock-discrepancy' is nil.
2612 2003-05-27  Stefan Monnier  <monnier@cs.yale.edu>
2614         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function):
2615         Don't infinite loop at bob.
2616         (emacs-lisp-mode): Mark its main custom group to be `lisp'.
2617         (prin1-char): New fun.
2618         (eval-last-sexp-1): Use it.  Use with-syntax-table as well.
2619         (eval-defun-1): Don't replace `defvar' with `defconst'.
2621 2003-05-27  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
2623         * bindings.el (global-map): Bind M-S-<backspace to kill-whole-line.
2625 2003-05-26  Stefan Monnier  <monnier@cs.yale.edu>
2627         * gud.el (gud-find-class): Remove unused var `pos'.
2628         (gdb-script-mode-syntax-table, gdb-script-font-lock-keywords)
2629         (gdb-script-font-lock-syntactic-keywords)
2630         (gdb-script-font-lock-syntactic-face, gdb-script-basic-indent)
2631         (gdb-script-skip-to-head, gdb-script-calculate-indentation)
2632         (gdb-script-indent-line, gdb-script-mode): New mode to edit
2633         .gdbinit-like scripts.
2635 2003-05-26  John Paul Wallington  <jpw@gnu.org>
2637         * faces.el (display-supports-face-attributes-p): Doc fix.
2638         (x-create-frame-with-faces): Call `face-set-after-frame-default'.
2640 2003-05-26  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
2642         * bindings.el (global-map): Don't bind S-<backspace>.  Too many
2643         people hit it by mistake.
2645 2003-05-26  Andre Spiegel  <spiegel@gnu.org>
2647         * vc.el (vc-delete-file): Fix free variable reference.
2648         (vc-annotate-display): Remove obsolesence declaration; it isn't
2649         obsolete.
2651 2003-05-25  Kevin Ryde  <user42@zip.com.au>
2653         * info-look.el (autoconf-mode setups): Recognise AH_ and AU_ entries
2654         in "(autoconf)Autoconf Macro Index".  Add "(autoconf)M4 Macro Index"
2655         and "(autoconf)Autotest Macro Index".  Remove duplicate copy of
2656         "(automake)Macro and Variable Index".  Keep automake after all
2657         autoconf possibilities, so as to prefer those.
2659 2003-05-25  Stefan Monnier  <monnier@cs.yale.edu>
2661         * skeleton.el (skeleton-internal-1): Don't loop if interactor of
2662         subskeleton is nil.
2663         (skeleton-pair-default-alist): New var.
2664         (skeleton-pair-insert-maybe): Use it.  Don't munge multibyte chars.
2666 2003-05-25  Nick Roberts  <nick@nick.uklinux.net>
2668         * gdb-ui.el (gdb-info-breakpoints-custom, gdb-assembler-custom):
2669         Put string associated with breakpoint at start of line so that it
2670         is always visible.
2671         (gdb-display-source-buffer): Display assembler during execution,
2672         when requested.
2673         (gud-menu-map): Add a toggle button to menubar for gdb-many-windows.
2674         (gdb-many-windows): Define explicitly as a function and a variable
2675         (formerly as a minor mode). These need to be global so layout can
2676         be reset from any buffer.
2677         (gdb-assembler-mode): Keep fringe outside margin as the overlay
2678         arrow is not used for assembler.
2680 2003-05-25   Tim Van Holder  <tim.vanholder@anubex.com>
2682         * which-func.el (which-func-update-timer): New variable.
2683         (which-function-mode): Use it.
2685 2003-05-25  Richard M. Stallman  <rms@gnu.org>
2687         * simple.el (idle-update-delay): New variable.
2689 2003-05-25  Luc Teirlinck  <teirllm@mail.auburn.edu>
2691         * simple.el (forward-visible-line): Fix negative arguments.
2693 2003-05-25  Juanma Barranquero  <lektu@terra.es>
2695         * skeleton.el (skeleton-pair-insert-maybe): Remove leftover
2696         reference to skeleton-abbrev-cleanup.
2698 2003-05-24  Andreas Schwab  <schwab@suse.de>
2700         * files.el (insert-directory): Preserve CR in a file name.
2702 2003-05-24  Stefan Monnier  <monnier@cs.yale.edu>
2704         * skeleton.el (skeleton-abbrev-cleanup, skeleton-proxy):
2705         Remove obsolete code.
2707         * term/w32-win.el (iconify-or-deiconify-frame):
2708         * term/mac-win.el (iconify-or-deiconify-frame): Move to frame.el.
2710         * term/x-win.el (iconify-or-deiconify-frame): Move to frame.el.
2711         Turn on mouse-wheel support by default.
2713         * frame.el (iconify-or-deiconify-frame): Move from term/x-win.el.
2715 2003-05-24  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
2717         * net/tramp.el: Version 2.0.34 released.
2718         (tramp-handle-file-symlink-p): If target of symlink is absolute,
2719         return a Tramp filename.  (Ie, return "/user@host:/target" instead
2720         of "/target".)
2721         (tramp-handle-file-truename): Deal with new return value from
2722         `file-symlink-p'.
2723         (tramp-handle-expand-file-name): Make default method explicit in
2724         file name.
2725         (tramp-unified-filenames): Move to an earlier spot in the file.
2726         (top-level): If tramp-unified-filenames is set and we're running
2727         on XEmacs, load tramp-efs.
2728         (tramp-wait-for-shell-prompt, tramp-barf-if-no-shell-prompt):
2729         New functions, used by tramp-send-command-internal.
2730         (tramp-open-connection-setup-interactive-shell): Simplify using
2731         `tramp-send-command-internal'.
2732         (tramp-send-command-internal): New function.
2733         (tramp-methods): New entries "remsh" and "remcp" are like "rsh"
2734         and "rcp" but invoke "remsh" instead of "rsh".  This is useful on
2735         Cray systems, for instance.  Unify tramp-rsh-program,
2736         tramp-telnet-program, tramp-su-program into tramp-login-program.
2737         Likewise with tramp-login-args, tramp-copy-program,
2738         tramp-copy-args, tramp-copy-keep-date-arg.  Users changed.  New
2739         method plink1; like plink but pass "-1" to force protocol version 1.
2740         (tramp-default-method): Use plink as the default on machines where
2741         the plink program is present.
2742         (tramp-completion-file-name-handler): Add safe-magic property.
2743         (tramp-shell-prompt-pattern): Allow ANSI escapes at
2744         end of prompt.  (ANSI escapes elsewhere in the prompt are
2745         recognized properly already.)
2747         * net/tramp-efs.el: New file.
2749 2003-05-24 Michael Albinus  <Michael.Albinus@alcatel.de>
2751         * net/tramp.el (tramp-handle-file-truename): `sym' shouldn't be
2752         quoted.
2753         (tramp-methods, tramp-multi-connection-function-alist):
2754         Use argument "-p Password:" for "sudo" method, because password prompt
2755         might be changed by either passprompt option in /etc/sudoers, or
2756         SUDO_PROMPT environment variable.  Suggested by Peter Oliver
2757         <peter.oliver@aquila-networks.co.uk>.
2759 2003-05-23  Stefan Monnier  <monnier@cs.yale.edu>
2761         * mail/supercite.el: Use `push' and replace `regi-pos' by equivalents.
2762         (sc-emacs-features): Remove.  Use better tests instead.
2763         (sc-minor-mode): Use define-minor-mode.
2764         (sc-mode-string, sc-set-mode-string): Remove.
2765         Use a better modeline expression instead.
2766         (sc-completing-read, sc-read-string, sc-submatch, sc-member)
2767         (sc-string-text): Remove those compatibility functions.
2769         * pcvs.el (cvs-temp-buffer): Kill running process in displayed buffers.
2770         (cvs-make-cvs-buffer): Fix up format of the header.
2772         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
2773         Match more cases of /.../ patterns.
2775 2003-05-23  Nick Roberts  <nick@nick.uklinux.net>
2777         * gdb-ui.el (gdba): Accommodate Fortran programs.
2778         (gud-gdba-command-name): Use -noasync in all cases (as Fortran
2779         seems to require it also).
2780         (gdb-source-info): Parse correctly when compilation directory
2781         specifies host also (IRIX).
2783 2003-05-23  Andre Spiegel  <spiegel@gnu.org>
2785         * vc-cvs.el (vc-cvs-checkout): Don't leave the branch when
2786         REV is t.  From Don Provan <dprovan@bivio.net>
2788 2003-05-23  Richard M. Stallman  <rms@gnu.org>
2790         * forms.el (forms--mode-commands1): Bind \t, not `tab'.
2791         (forms--mode-commands): Don't bind \t in the maps where
2792         we call forms--mode-commands1.
2794 2003-05-23  Taro Kawagishi <tarok@acm.org>
2796         * arc-mode.el (archive-lzh-summarize): Calculate correct total
2797         header size for LZH level 1 header.
2799 2003-05-23  Richard M. Stallman  <rms@gnu.org>
2801         * textmodes/paragraphs.el (repunctuate-sentences): Add doc string.
2803 2003-05-23  Daniel Ortmann  <dortmann@lsil.com>  (tiny change)
2805         * textmodes/paragraphs.el (repunctuate-sentences): New function.
2807 2003-05-23  Lute Kamstra  <Lute.Kamstra@cwi.nl>
2809         * emacs-lisp/lisp-mnt.el: Make the description of the library more
2810         accurate.
2811         (lm-any-header): New user option.
2812         (lm-section-start): New function; rewrite of `lm-section-mark'.
2813         (lm-section-mark): Make alias of `lm-section-start'.
2814         (lm-section-end): New function.
2815         (lm-code-start): New function; rewrite of `lm-code-mark'.
2816         (lm-code-mark): Make alias of `lm-code-start'.
2817         (lm-commentary-start): New function; rewrite of `lm-commentary-mark'.
2818         (lm-commentary-mark): Make alias of `lm-commentary-start'.
2819         (lm-commentary-end): New function.
2820         (lm-history-start): New function; rewrite of `lm-history-mark'.
2821         (lm-history-mark): Make alias of `lm-history-start'.
2822         (lm-commentary): Use `lm-commentary-end' to find the end of the
2823         commentary section.
2825         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
2826         Use `lm-commentary-end' to find the end of the commentary section.
2828 2003-05-22  Stefan Monnier  <monnier@cs.yale.edu>
2830         * skeleton.el (define-skeleton): Use the `no-self-insert' property.
2831         (skeleton-proxy-new): Fix docstring.  Remove broken interactive spec.
2832         Rely on use `no-self-insert' rather than `skeleton-abbrev-cleanup'.
2833         (skeleton-internal-1): Add a `recursive' argument.
2834         (skeleton-internal-list): Use it to propagate `recursive'.
2836 2003-05-22  Ken Stevens  <kstevens@ichips.intel.com>
2838         * ispell.el: Sync to version 3.6.
2839         Summary: MIME support added for e-mail processing that
2840         skips encoded regions.  Allow user to skip saving Fcc messages with
2841         large attachments.  Fixed region skipping bug with multi-line
2842         comments - e.g.  tex $ regions spanning multiple lines.
2843         Added support for postscript and uuencoded regions.
2844         Redundant dictionary file names purged.
2845         Dictionary definition field name changed from "Character Set"
2846         to "Coding System".  Fixed bug in reloading dictionaries.
2847         Modified headers to reflect new version.  XEmacs menu now adds
2848         customize item.
2849         (ispell-check-version): No longer an aliased function.
2850         Returns library path if not called interactively.
2851         Variable `temporary-file-directory' protected if not loaded.
2852         (check-ispell-version): Now the alias for `ispell-check-version'.
2853         (ispell-message-fcc-skip): New variable that determines if and when
2854         to query about saving Fcc copy of message if an attachment is large.
2855         (ispell-skip-html): Declared buffer-local.
2856         (ispell-local-dictionary-alist): Docstring expanded.
2857         Tag name changed from "Character Set" to "Coding System".
2858         (ispell-dictionary-alist-1): Removed redundant command-line option to
2859         load brasileiro, british, and castellano dictionary files.
2860         (ispell-dictionary-alist-2): Removed redundant command-line option to
2861         load czech dictionary file.
2862         (ispell-dictionary-alist-3): Moved francais-tex here.
2863         (ispell-dictionary-alist-4): Removed german and german8 dictionaries.
2864         The deutsch ones are the correct definitions.  `nederlands'
2865         and `nederlands8' dictionaries moved here.
2866         (ispell-dictionary-alist-5): `polish' and `portugues' dictionaries
2867         moved here.  Removed redundant command-line option to `norsk'
2868         and `portugues'.
2869         (ispell-dictionary-alist-6): Removed redundant command-line option to
2870         load `russian' and `slovak' dictionary files.
2871         (ispell-dictionary-alist): Tag name changed from "Character Set" to
2872         "Coding System".
2873         (ispell-version): Updated to 3.6.
2874         (ispell-library-directory): Calls non-deprecated function.
2875         (ispell-valid-dictionary-list): New function returning all valid
2876         dictionaries on machine.
2877         (ispell-checking-message): Documentation string improved.
2878         (ispell-skip-region-alist): Added uuencoded and postscript region
2879         skipping.  Improved http/e-mail/file regexp to not match `/.\w'.
2880         (ispell-html-skip-alists): New variable for html region support.
2881         (ispell-send-string): Removed redundant xemacs check.
2882         (ispell-word): Fix spelling error in documentation string, added
2883         extent information to support highlighting in ispell-minor-mode.
2884         (ispell-command-loop): Disable horizontal scrollbar in XEmacs
2885         choices buffer.
2886         (ispell-show-choices): Directly select `choices-window'.
2887         (ispell-help): Use default buffer size for electric help.
2888         (ispell-adjusted-window-height): Correct for xemacs detection.
2889         (ispell-start-process): Don't double specify dictionary file name.
2890         (ispell-init-process): Set `ispell-library-path' each call.
2891         (ispell-change-dictionary): Now only completes valid dictionaries.
2892         (ispell-region): Add support for MIME region skipping and Fcc
2893         message query for large attachments.
2894         (ispell-begin-skip-region-regexp): Add documentation string.
2895         Added message support and cleaned up code for generic and html regions.
2896         (ispell-begin-skip-region): Function is now requires alist argument.
2897         (ispell-begin-tex-skip-regexp): Added comments and support
2898         improved html and message regions.
2899         (ispell-skip-region-list): New function for MIME and region skipping.
2900         (ispell-tex-arg-end): Add documentation string.
2901         (ispell-ignore-fcc): New function to query saving Fcc message.
2902         (ispell-skip-region): Calculate alist for key match dynamically,
2903         html skipping pushed to alists.
2904         (ispell-get-line): Add support for multi-line comment regions.
2905         (ispell): Check that variables to continue spelling are bound.
2906         (ispell-message-text-end): Postscript and uuencoded regions now
2907         supported as MIME regions, rather than as end-of-message region.
2908         (ispell-mime-multipartp): New function supporting MIME.
2909         (ispell-mime-skip-part): New function supporting MIME.
2910         (ispell-message): Add MIME support.
2911         (ispell-buffer-local-parsing): Variable `ispell-skip-html' now local.
2912         (ispell-buffer-local-dict): Fixed bug for detecting and reloading
2913         new dictionary.
2915 2003-05-22  Stephen J. Turnbull  <stephen@xemacs.org>
2917         * subr.el (split-string): Implement specification that splitting on
2918         explicit separators retains null fields.  Add new argument
2919         OMIT-NULLS.  Special-case (split-string "a string").
2921 2003-05-22  Stefan Monnier  <monnier@cs.yale.edu>
2923         * international/mule-cmds.el (select-safe-coding-system):
2924         Try default-buffer-file-coding-system too for automatic selection.
2926 2003-05-21  Stefan Monnier  <monnier@cs.yale.edu>
2928         * simple.el (ctl-x-map): Remove the C-x U binding added recently.
2930 2003-05-21  Dave Love  <fx@gnu.org>
2932         * descr-text.el (unicodedata-file): New.
2933         (unicode-data): New (adapted from unicode branch).
2934         (describe-char): Use it.  Print char's unicode differently.
2935         Avoid elements with null cadr when formatting list.  Clarify error
2936         message when used in Help buffer.
2937         (button): Require when compiling.
2938         (describe-char-after): Alias for obsolete command.
2940 2003-05-21  Nick Roberts  <nick@nick.uklinux.net>
2942         * gdb-ui.el (gud-gdba-command-name): Use -noasync option for Gdb
2943         with MS windows.
2944         (gdb-display-end): Only make buffer writeable temporarily.
2945         Move "View" submenu up one level.
2947 2003-05-21  Nick Roberts  <nick@nick.uklinux.net>
2949         * gdb-ui.el (gdb-view-source, gdb-selected-view): New variables.
2950         (gdba): Inhibit DOS window in MS Windows.
2951         (gdb-inferior-io-mode): Use hexl instead of cat.
2952         (gdb-info-breakpoints-custom, gdb-assembler-custom, gdb-reset):
2953         Use text in margin for MS Windows as there is no image support.
2954         (gdb-restore-windows, gdb-setup-windows): Restore/start with
2955         assembler view if appropriate.
2956         (gdb-assembler-custom): Assembler code should display at point.
2957         Parse address correctly.
2958         (gdb-frame-handler): Accommodate selection of display of source
2959         or assembler.
2960         Add radio buttons to select display of source or assembler.
2962 2003-05-20  Lars Hansen  <larsh@math.ku.dk>
2964         * desktop.el (desktop-save): Ensure parameter is expanded and ends
2965         with a slash before assigning it to desktop-dirname and
2966         default-directory.
2967         (desktop-read): Put buffers existing prior to evaluating the
2968         desktop (and not reused) at the end of the buffer list.
2969         (desktop-create-buffer): Don't update desktop-first-buffer for old
2970         desktop files.
2972 2003-05-19  John Paul Wallington  <jpw@gnu.org>
2974         * xml.el (xml-name-regexp): Wrap in `eval-and-compile'.
2976 2003-05-19  Dave Love  <fx@gnu.org>
2978         * xml.el: Doc fixes.
2979         (xml-parse-file, xml-parse-region): Autoload.
2980         (xml-syntax-table, xml-name-regexp): New.
2981         (xml-parse-region): Narrow to region, set syntax-table and
2982         case-fold-search.  Reject fewer valid documents.
2983         (xml-parse-tag): Remove arg END.  Callers changed.
2984         (xml-parse-tag): Use skip-syntax-forward.  Use PARSE-DTD arg
2985         properly.  Don't use buffer-substring-no-properties.  Don't bind
2986         case-fold-search.  Fix syntax for empty elements.  Hoist consing
2987         of end-of-tag regexp out of loop.
2988         (xml-parse-attlist): Remove arg.  Callers changed.
2989         Use skip-syntax-forward, replace-regexp-in-string, forward-sexp.
2990         Allow non-ASCII names.
2991         (xml-skip-dtd): Remove arg.  Callers changed.  Change matching code.
2992         (xml-parse-dtd): Grok external DTDs.  Allow non-ASCII.
2993         Don't use match-string-no-properties.
2994         (xml-ucs-to-string): Delete.
2995         (xml-substitute-entity): New.
2996         (xml-substitute-special): Use it.
2997         (xml-debug-print-internal): Simplify insertions.
2998         (xml-parse-file): Avoid finding file in xml-mode.
3000 2003-05-19  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
3002         * simple.el (kill-whole-line): New function.
3003         * bindings.el (global-map): Bind it.
3005 2003-05-19  Richard M. Stallman  <rms@gnu.org>
3007         * net/goto-addr.el (goto-address-fontify-maximum-size):
3008         Value t means no limit.
3009         (goto-address-fontify): Implement that feature.
3011         * emacs-lisp/find-func.el (find-function-on-key):
3012         Move the call to find-function-other-window outside
3013         the save-excursion.
3015         * find-file.el (ff-special-constructs): Delete the Ada entry.
3017         * faces.el (x-create-frame-with-faces):
3018         Don't call face-set-after-frame-default.
3019         (face-set-after-frame-default): Copy attrs of global `default'
3020         face to FRAME's `default' face.
3022 2003-05-19  Joe Kelsey  <joek@flyingcroc.net>
3024         * skeleton.el (skeleton-internal-1): Allow - as alternate
3025         interesting point marker and revert @ to just setting
3026         skeleton-positions.
3028 2003-05-18  Stefan Monnier  <monnier@cs.yale.edu>
3030         * emacs-lisp/lisp.el (beginning-of-defun-raw): Use shy-group.
3032         * progmodes/executable.el (executable-set-magic): Remove unused
3033         vars `point' and `buffer-modified-p'.
3035         * mail/sendmail.el (mail-mode): Don't bother setting paragraph-start.
3037         * mail/mail-extr.el: Use explicit coding tag.
3039         * international/mule.el (sgml-xml-auto-coding-function)
3040         (sgml-html-meta-auto-coding-function): Don't assume point-min == 1.
3042         * language/china-util.el (hz-set-msb-table): Build when compiling.
3043         (big5-to-cns): Pre-build the alist when compiling.
3045         * language/ind-util.el (indian-regexp-of-hashtbl-keys): Don't bother
3046         sorting the argument to regexp-opt.
3047         (indian--puthash-char): Use dolist rather than mapc.
3049 2003-05-18  Nick Roberts  <nick@nick.uklinux.net>
3051         * gdb-ui.el (put-arrow): Rename gdb-put-arrow and simplify.
3052         (put-string): Rename gdb-put-string and simplify.
3053         (remove-strings): Rename gdb-remove-strings.
3054         (remove-arrow): Rename gdb-remove-arrow.
3055         (gdb-assembler-custom): Try to get line marker (arrow) to display
3056         in window (revisited).
3057         Use with-current-buffer where possible.
3059 2003-05-18  John Paul Wallington  <jpw@gnu.org>
3061         * ibuffer.el (ibuffer-display-summary): New customizable variable.
3062         (ibuffer-update-title-and-summary): Respect it.
3064 2003-05-18  Michael Kifer  <kifer@cs.stonybrook.edu>
3066         * ediff-mult.el (ediff-default-filtering-regexp): New variable.
3068         * ediff-util.el (ediff-maybe-save-and-delete-merge): Change in a
3069         message.
3071         * ediff.el (ediff-directories,ediff-directory-revisions)
3072         (ediff-directories3,ediff-merge-directories)
3073         (ediff-merge-directories-with-ancestor,ediff-merge-directory-revisions)
3074         (ediff-merge-directory-revisions-with-ancestor): Make use of the new
3075         ediff-default-filtering-regexp variable.
3077 2003-05-18  Richard M. Stallman  <rms@gnu.org>
3079         * which-func.el (which-func-current, which-func-format):
3080         Preload the risky-local-variable properties for them.
3082         * subr.el (prepare-change-group): Reinstate BUFFER arg; make it work.
3084 2003-05-18  Nick Roberts  <nick@nick.uklinux.net>
3086         * gud.el (gdb): Define gud-nexti.
3087         (gud-menu-map): Add gud-nexti to map.
3088         (gud-tool-bar-map): Add gud-nexti and gud-stepi to toolbar.
3090         * toolbar/gud-stepi.xpm, toolbar/gud-stepi.pbm,
3091         toolbar/gud-nexti.xpm, toolbar/gud-nexti.pbm: New icons for debugger.
3093 2003-05-17  John Paul Wallington  <jpw@gnu.org>
3095         * international/ja-dic-cnv.el (skkdic-okuri-nasi-entries)
3096         (skkdic-okuri-nasi-entries-count): Use defvar for non-constants.
3098         * register.el (number-to-register): Use `string-to-number' instead
3099         of `string-to-int'.
3101 2003-05-17  Stefan Monnier  <monnier@cs.yale.edu>
3103         * log-edit.el: Don't require vc.el anymore.
3104         (log-edit-mode-map): Fold vc-log-mode-map into it.
3105         (vc-log-mode-map): Redefine as an alias.
3106         (vc-previous-comment): Don't widen.
3107         (vc-comment-to-change-log): Don't redundantly set paragraph-separate.
3108         Don't require `add-log' since it's already required at toplevel.
3110         * vc.el (vc-log-mode-map, vc-maximum-comment-ring-size)
3111         (vc-comment-ring, vc-comment-ring-index, vc-last-comment-match):
3112         Move vars to log-edit.el.
3113         (vc-new-comment-index, vc-previous-comment, vc-next-comment)
3114         (vc-comment-search-reverse, vc-comment-search-forward)
3115         (vc-comment-to-change-log): Move funs to log-edit.el.
3116         (vc-clear-context): Don't empty the comment-ring.
3117         (vc-finish-logentry): Don't add the comment onto the comment-ring.
3119         * log-edit.el (vc-log-mode-map, vc-maximum-comment-ring-size)
3120         (vc-comment-ring, vc-comment-ring-index, vc-last-comment-match):
3121         Move vars from vc.el.
3122         (vc-new-comment-index, vc-previous-comment, vc-next-comment)
3123         (vc-comment-search-reverse, vc-comment-search-forward)
3124         (vc-comment-to-change-log): Move funs from vc.el.
3125         (log-edit-show-files): Remove unused var `editbuf'.
3127         * progmodes/tcl.el (tcl-indent-exp): Remove dead code.
3128         (tcl-tab-always-indent): Default to tab-always-indent.
3130         * progmodes/perl-mode.el (perl-end-of-function): Remove unused var.
3131         (perl-tab-always-indent): Default to tab-always-indent.
3133         * which-func.el (which-func-format): Make it risky-local-variable.
3134         (which-func-table): New var.
3135         (which-func-current): Make it into a constant modeline spec.
3136         (which-func-previous): Remove.
3137         (which-func-update): Only update the selected window.
3138         (which-func-update-1): Use the new var to allow the current
3139         function to be different for a buffer shown in two windows.
3141         * subr.el (with-selected-window): New macro.
3142         (dolist, dotimes, with-current-buffer): Use backquotes.
3143         (when, unless, save-match-data, combine-after-change-calls)
3144         (with-output-to-string, with-temp-buffer): Add `declare' info.
3145         (listify-key-sequence): Don't allocate unnecessarily.
3146         (read-quoted-char): Allow up to base 36.
3147         (prepare-change-group): Remove unimplemented argument.
3148         (macro-declaration-function): Avoid `dolist' and `cadr'.
3150         * wid-edit.el (pp-to-string, Info-goto-node): Don't autoload.
3151         (widget-choose, widget-map-buttons): Use with-current-buffer.
3152         (widget-field-add-space): Change to nil (and to defconst).
3153         (widget-info-link-action): Use `info'.
3155 2003-05-17  Nick Roberts  <nick@nick.uklinux.net>
3157         * gdb-ui.el (gdb-info-frames-custom): Reverse contrast of face for
3158         selected frame.
3159         (gdb-annotation-rules): Stop using frames-invalid and
3160         breakpoints-invalid annotations.  Update after post-prompt instead.
3161         (gdb-post-prompt): Update frames and breakpoints here.
3162         (gdb-invalidate-frame-and-assembler)
3163         (gdb-invalidate-breakpoints-and-assembler): Remove.
3164         (gdb-current-address): Remove.
3165         (gdb-previous-address): New variable.
3166         (gud-until): Extend to work in Assembler buffer
3167         (gdb-append-to-inferior-io): Select IO buffer when there is output.
3168         (gdb-assembler-custom): Try to get line marker (arrow) to display
3169         in window.  Correct parsing for OS dependent output syntax of Gdb
3170         command, where.
3171         (gdb-frame-handler): Correct parsing for OS dependent output
3172         syntax of Gdb command, frame.
3173         (gdb-invalidate-assembler): Update assembler buffer correctly when
3174         frame changes (revisited).
3176 2003-05-16  Stefan Monnier  <monnier@cs.yale.edu>
3178         * imenu.el (imenu--split-menu): Remove unused var `count'.
3179         Don't copy the sequence since we're already modifying it elsewhere.
3180         (imenu--create-keymap): Rename from imenu--create-keymap-1.
3181         Add optional `cmd' argument.  Remove unused var `counter'.
3182         (imenu-update-menubar): Use the new arg to keep the old behavior.
3183         (imenu--mouse-menu): Don't use the arg, to recover the lost behavior.
3185 2003-05-16  Lute Kamstra  <Lute.Kamstra@cwi.nl>
3187         * hl-line.el (hl-line-highlight, global-hl-line-highlight):
3188         Use `line-beginning-position' to determine the beginning of the next
3189         line.
3191 2003-05-16  Kenichi Handa  <handa@m17n.org>
3193         * international/mule-cmds.el (mule-menu-keymap): Enable the menu
3194         set-various-coding-system when
3195         default-enable-multibyte-characters is non-nil.
3197 2003-05-15  Stefan Monnier  <monnier@cs.yale.edu>
3199         * emacs-lisp/autoload.el (make-autoload): Add arglist for
3200         define-derived-mode.
3202 2003-05-15  Lute Kamstra  <Lute.Kamstra@cwi.nl>
3204         * hl-line.el: Rewrite the local minor mode so that it can be
3205         sticky as well and made sticky the default.  Reimplement the
3206         global minor mode.  Update the commentary section to document
3207         these changes.
3208         (hl-line-sticky-flag): New user option.
3209         (hl-line-overlay): Make it buffer-local and give it a docstring.
3210         (global-hl-line-overlay): New variable.
3211         (hl-line-mode): Rewrite to use `hl-line-sticky-flag'.
3212         (hl-line-highlight): Rewrite to use `hl-line-sticky-flag'.
3213         (hl-line-unhighlight): Update docstring.
3214         (global-hl-line-mode): Implement directly so that is does not
3215         depend on `hl-line-mode' any more.
3216         (global-hl-line-highlight, global-hl-line-unhighlight): New functions.
3218 2003-05-15  Kenichi Handa  <handa@m17n.org>
3220         * international/code-pages.el (cyrillic-koi8-t): Alias of koi8-t.
3222 2003-05-15  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3224         * ps-print.el: Avoid unnecessary calls to funs in header and footer
3225         variables.  Reported by Greg Hill <ghill@synergymicro.com>.
3226         (ps-print-version): New version number (6.6.1).
3227         (ps-begin-page): Code fix.
3228         (ps-generate-string-list, ps-header-footer-string): New funs.
3229         (ps-lh-cache, ps-rh-cache, ps-lf-cache, ps-rf-cache): New vars.
3231         * ps-mule.el (ps-mule-header-string-charsets):
3232         Call ps-header-footer-string to avoid unnecessary calls to functions
3233         in header and footer variables.
3235 2003-05-15  John Paul Wallington  <jpw@gnu.org>
3237         * mail/rmail.el (rmail-ignored-headers): Ignore Face: header.
3239 2003-05-14  Stefan Monnier  <monnier@cs.yale.edu>
3241         * textmodes/tex-mode.el (tex-compile-history, tex-input-files-re)
3242         (tex-use-reftex, tex-compile-commands): New vars.
3243         (tex-summarize-command, tex-uptodate-p, tex-executable-exists-p)
3244         (tex-command-executable, tex-command-active-p, tex-compile-default)
3245         New functions.
3246         (tex-compile): New command.
3247         (tex-mode-map): Bind it to C-c C-c.
3249         * vc-svn.el (completion-ignored-extensions): Add .svn.
3250         (vc-svn-delete-file): New function.
3252         * pcvs.el (cvs-append-to-ignore): New arg `old-dir'.
3253         (cvs-mode-ignore): Use it.
3255         * pcvs-parse.el (cvs-parse-table): Remove unused var `type'.
3256         Look up `.cvsignore' to see what to do with `new-dir' messages.
3257         (cvs-parse-merge): Remove unused var `handled'.
3259 2003-05-14  Christoph Wedler  <christoph.wedler@sap.com>
3261         * format.el (format-annotate-function): Copy coding system into the
3262         new temp buffer.
3264 2003-05-14  John Paul Wallington  <jpw@gnu.org>
3266         * ls-lisp.el (insert-directory): Discard --dired switch when
3267         `ls-lisp-use-insert-directory-program' is nil.
3269 2003-05-13  Stefan Monnier  <monnier@cs.yale.edu>
3271         * textmodes/ispell.el (xemacsp): Remove.  Use (featurep 'xemacs).
3272         (ispell-graphic-p): Inline and then remove.
3273         (toplevel): Get rid of unnecessary loop.
3274         (ispell-parse-output, ispell-complete-word): Replace (substring s 0 1)
3275         with a call to aref.
3276         (ispell-get-line): Remove unused arg `reg-end'.
3277         (ispell-region): Update corresponding call.
3279         * progmodes/cpp.el (cpp-make-overlay-hidden): Don't make intangible.
3281         * progmodes/compile.el (compile-internal): Use with-current-buffer.
3282         (compilation-set-window-height): Use save-selected-window.
3284         * progmodes/ada-xref.el (ada-xref-update-project-menu): Use easymenu.
3285         (ada-goto-declaration-other-frame): Remove unused arg other-frame.
3286         (ada-gdb-application): Remove unused vars comint-exec, in-post-mode,
3287         and gud-gdb-massage-args.
3289         * progmodes/cc-langs.el (c-lang-defvar-init-form-tail):
3290         This is actually not a constant.
3292         * progmodes/autoconf.el (autoconf-current-defun-function):
3293         Copy the syntax table before modifying it.
3295         * progmodes/ada-mode.el (ada-in-comment-p, ada-in-string-p)
3296         (ada-in-string-or-comment-p): Use line-beginning-position.
3298         * textmodes/reftex.el (reftex-select-with-char): Don't assume
3299         that point-min == 1.
3301         * textmodes/reftex-toc.el (reftex-toc-visit-location):
3302         Don't switch the current window if the new buffer is in another.
3303         (reftex-toc): Don't assume that point-min == 1.
3305         * textmodes/reftex-parse.el (reftex-what-macro): Don't assume
3306         that point-min == 1.
3308         * textmodes/reftex-cite.el (reftex-extract-bib-entries)
3309         (reftex-extract-bib-entries-from-thebibliography): New arg re-list.
3310         (reftex-extract-bib-entries): Use ^ rather than \(\`\|[\n\r]\).
3311         Use member-ignore-case.  Don't add unnecessary trailing \n.
3312         (reftex-offer-bib-menu): Consolidate duplicated code from
3313         reftex-extract-bib-entries and
3314         reftex-extract-bib-entries-from-thebibliography.
3316         * simple.el (back-to-indentation): Simplify.
3317         (undo-equiv-table, undo-in-region, undo-no-redo): New vars.
3318         (undo): Use them to implement the no-redo form of undo.
3319         (undo-only): New fun.
3320         (shell-command): Don't require `shell' since shell-mode is autoloaded.
3321         (insert-buffer): Simplify.
3322         (completion-setup-function): Use minibufferp.
3323         (event-apply-alt-modifier, event-apply-super-modifier)
3324         (event-apply-hyper-modifier, event-apply-shift-modifier)
3325         (event-apply-control-modifier, event-apply-meta-modifier):
3326         Fix docstring to show the proper key sequence.
3328         * uniquify.el (uniquify-after-kill-buffer-p): Set default to t.
3329         (uniquify-ignore-buffers-re): Revert to nil now that uniquify
3330         is more careful about preserving buffer names.
3332         * menu-bar.el (menu-bar-options-menu) <cua-mode>:
3333         Use menu-bar-make-mm-toggle.
3335         * files.el (file-relative-name): Remove dead code.
3336         Make sure \n in a filename does not confuse us.
3338         * help-fns.el (describe-variable): Mention permanent local status.
3340         * comint.el (comint-carriage-motion, comint-output-filter):
3341         Bind inhibit-read-only rather than buffer-read-only.
3342         (comint-truncate-buffer): Bind inhibit-read-only.
3344         * pcvs.el (cvs-make-cvs-buffer): Add the tag info.
3345         (cvs-mode): Prevent pilot-error.
3347         * vc-mcvs.el (vc-mcvs-registered, vc-mcvs-root): Check the output
3348         of file-name-directory for nil.
3350 2003-05-13  Simon Josefsson  <jas@extundo.com>
3352         * mail/smtpmail.el (smtpmail-open-stream): Don't hard code
3353         starttls-program.
3355 2003-05-13  Rajesh Vaidheeswarran  <rv@gnu.org>
3357         * whitespace.el (whitespace-global-mode): Add :link entry
3358         to the commentary section in whitespace.el
3360 2003-05-13  Nick Roberts  <nick@nick.uklinux.net>
3362         * gdb-ui.el (gdb-invalidate-assembler): Update assembler buffer
3363         correctly when frame changes.
3364         (gdb-info-threads-custom, gdb-threads-buffer-name)
3365         (gdb-display-threads-buffer, gdb-frame-threads-buffer)
3366         (gdb-threads-mode-map, gdb-threads-mode, gdb-get-thread-number)
3367         (gdb-threads-select, gdb-threads-mouse-select): New functions and
3368         variable for a buffer that provides a selectable threads list.
3370 2003-05-12  Stefan Monnier  <monnier@cs.yale.edu>
3372         * pcvs-parse.el (cvs-parse-table): `New directory' messages include
3373         the full path.
3375         * pcvs.el (cvs-minor-current-files): Move before first use.
3376         (defun-cvs-mode): Remove unused var `restdoc'.
3377         (cvs-edit-log-revision, ediff-after-quit-hook-internal): Declare.
3378         (cvs-mode-diff-backup): Remove unused var `filter'.
3379         (cvs-mode-run): Remove unused var `cvs-buf'.
3380         (cvs-mode-do): Remove unused arg `parse'.
3381         (cvs-retrieve-revision): Make sure HEAD gets the head of the branch.
3383         * textmodes/sgml-mode.el (sgml-namespace-re): New const.
3384         (sgml-namespace-face): New face.
3385         (sgml-font-lock-keywords-1): Use them.
3387 2003-05-11  Kevin Ryde  <user42@zip.com.au>
3389         * info-look.el (info-lookup-make-completions): Allow colons in index
3390         entries by looking for ": " to terminate, as per latest info.el.
3392 2003-05-11  Stefan Monnier  <monnier@cs.yale.edu>
3394         * vc-mcvs.el (vc-mcvs-command): Filter output of `status'.
3395         (vc-mcvs-state, vc-mcvs-dir-state, vc-mcvs-print-log, vc-mcvs-diff):
3396         Change dir so that the filtered output of `mcvs makes sense.
3397         (vc-mcvs-mode-line-string): Handle the case where CVS is desync'd.
3398         (vc-mcvs-diff-tree): Don't bother with the local-diff code.
3399         (vc-mcvs-create-snapshot): Use `branch' and `switch'.
3401 2003-05-10  Stefan Monnier  <monnier@cs.yale.edu>
3403         * newcomment.el (comment-indent): Try to align to adjacent comments.
3404         (comment-with-narrowing): Actually use the arguments.
3405         (comment-valid-prefix-p): Rename from comment-valid-prefix
3406         and fix to actually use its argument.
3408         * tex-mode (tex-mode-syntax-table): ~ is not whitespace.
3409         (tex-guess-mode): Add `renewcommand'.
3410         (tex-mode): Move the autoload to get the correct docstring and usage.
3412         * uniquify.el (uniquify-rationalize-file-buffer-names):
3413         Refresh the dirname in the case that rename-buffer was skipped.
3414         (uniquify-buffer-file-name): Return a dirname with no trailing slash.
3416         * mail/smtpmail.el (smtpmail-send-queued-mail): Use point-at-bol
3417         instead of forward-line.
3419 2003-05-10  Oliver Scholz  <alkibiades@gmx.de>
3421         * startup.el (fancy-splash-default-action): Fix docstring.
3423 2003-05-09  Sam Steingold  <sds@gnu.org>
3425         * pcvs.el (cvs-mode-find-file): Fixed the last patch's logic.
3427 2003-05-09  Stefan Monnier  <monnier@cs.yale.edu>
3429         * newcomment.el (comment-indent): Be more careful when inserting
3430         the space, and insert it before setting `begpos'.
3432         * vc.el: New backend functions `delete-file' and `repository-hostname'.
3433         (vc-stay-local): New var.  Mostly taken from vc-cvs-stay-local.
3434         (vc-stay-local-p): New fun.  Adapted from vc-cvs-stay-local-p.
3435         (vc-diff-switches-list): Revert to the Emacs-21.[123] semantics.
3436         Mark as obsolete.
3437         (vc-delete-file): New command.
3438         (vc-default-rename-file): New function.
3439         (vc-rename-file): Use it.
3440         Be careful to disallow renaming if the file is locked or out-of-date.
3441         (vc-ensure-vc-buffer, vc-next-action-on-file, vc-insert-headers)
3442         (vc-cancel-version, vc-annotate): Use buffer-file-name variable.
3444         * vc-mcvs.el (vc-mcvs-stay-local): Remove unused var.
3445         (vc-mcvs-state, vc-mcvs-dir-state, vc-mcvs-print-log, vc-mcvs-diff)
3446         (vc-mcvs-diff-tree, vc-mcvs-annotate-command)
3447         (vc-mcvs-make-version-backups-p): Use vc-stay-local-p.
3448         (vc-mcvs-checkin): Disallow commits to a numbered rev.
3449         (vc-mcvs-repository-hostname): New function.
3450         (vc-mcvs-stay-local-p): Remove.
3452         * vc-cvs.el (vc-cvs-mode-line-string): Use vc-default-mode-line-string.
3453         (vc-cvs-delete-file, vc-cvs-rename-file): New functions.
3455         * vc-svn.el (vc-svn-rename-file): New fun.
3456         (vc-svn-diff): Correctly check svn's return status.
3457         (vc-svn-state, vc-svn-dir-state, vc-svn-print-log, vc-svn-diff)
3458         (vc-svn-diff-tree): Use vc-stay-local-p.
3459         (vc-svn-register-switches, vc-svn-diff-switches, vc-svn-header)
3460         (vc-svn-use-edit): Fix the :version property.
3461         (vc-svn-stay-local): Remove unused var.
3462         (vc-svn-mode-line-string): Remove, use the default instead.
3463         (vc-svn-repository-hostname): New fun taken from vc-svn-stay-local-p.
3464         (vc-svn-stay-local-p): Remove.
3466         * uniquify.el: Use the original buffer-name as `base' in place of the
3467         nondirectory part of the file name.
3468         (uniquify-rationalize-file-buffer-names):
3469         Split the `newbuffile' arg into `base' and `dirname'.
3470         Reuse old uniquify-items to avoid recomputing their base&dirname.
3471         (uniquify-buffer-file-name): Only return the directory part.
3472         (uniquify-rerationalize-w/o-cb): Don't bother reseting proposed names.
3473         (rename-buffer): Use the `newname' arg as base.
3474         (create-file-buffer): Split the file name into base and dirname.
3476 2003-05-09  Jesper Harder  <harder@ifa.au.dk>  (tiny change)
3478         * mail/smtpmail.el (smtpmail-send-queued-mail): Don't use kill-line.
3480 2003-05-08  Stefan Monnier  <monnier@cs.yale.edu>
3482         * uniquify.el (uniquify-after-kill-buffer-p): Fix misleading docstring.
3483         (uniquify-make-item): Make `proposed' optional.
3484         (uniquify-rationalize-file-buffer-names): Don't compute the
3485         initial proposed name.
3486         (uniquify-buffer-file-name): Remove dead code.
3487         (uniquify-strip-common-suffix): New var.
3488         (uniquify-rationalize): Always recompute initial proposed name.
3489         Strip common suffix if requested.
3491         * vc-rcs.el (vc-rcs-register, vc-rcs-checkin, vc-rcs-checkout)
3492         (vc-rcs-find-version, vc-rcs-diff): Use vc-switches.
3494         * vc-sccs.el (vc-sccs-register, vc-sccs-find-version)
3495         (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-diff): Use vc-switches.
3496         (vc-sccs-register): Remove unused var `|'.
3498         * vc-mcvs.el (vc-mcvs-read): Don't require `file' to exist.
3499         (vc-mcvs-diff): Don't return 0 for newly added empty files.
3500         (vc-mcvs-register, vc-mcvs-checkin, vc-mcvs-find-version)
3501         (vc-mcvs-checkout, vc-mcvs-diff, vc-mcvs-diff-tree): Use vc-switches.
3503         * vc-cvs.el (vc-cvs-dired-state-info): Use `added' for added files and
3504         don't use `concat' unnecessarily.  Remove impossible cases.
3505         (vc-cvs-diff): Don't return 0 for newly added empty files.
3506         (vc-cvs-stay-local-p): Simplify.
3507         (vc-cvs-register, vc-cvs-checkin, vc-cvs-find-version, vc-cvs-diff)
3508         (vc-cvs-diff-tree, vc-cvs-checkout): Use vc-switches.
3510         * vc-svn.el (vc-svn-dired-state-info): Use `added' for added files and
3511         don't use `concat' unnecessarily.  Remove impossible cases.
3512         (vc-svn-register, vc-svn-find-version, vc-svn-diff-tree):
3513         Use vc-switches.
3514         (vc-svn-checkin): Use vc-switches.  Fix up regexp.
3515         (vc-svn-diff): Use vc-switches.
3516         Don't return 0 for newly added empty files.
3517         Don't use svn's return status.
3518         (vc-svn-parse-status): Recognize copied files as well.
3519         Use the last-modified revision for workfile-version.
3521         * vc-hooks.el (vc-default-workfile-unchanged-p): Pass nil
3522         rather than (vc-workfile-version file) to diff.
3524         * vc.el (with-vc-properties, with-vc-file, edit-vc-file):
3525         Add `declare's for debugging and indentation.
3526         (vc-do-command): Use `remq'.
3527         (vc-buffer-context): Remove unused var `curbuf'.
3528         (vc-next-action-dired): Remove unused var `dired-dir'.
3529         (vc-switches): New fun.
3530         (vc-diff-switches-list): Use it.
3531         (vc-dired-hook): Remove unused var `cvs-dir'.
3532         (vc-dired-purge): Remove unused var `subdir'.
3533         (vc-cancel-version): Remove unused var `config'.
3534         (vc-rename-master): Use dolist iso mapcar.
3535         (vc-rename-file): Remove redundant tests.
3536         Clear the properties of the old file name.
3537         (vc-annotate): Pass the complete filename to `annotate-command'.
3538         (vc-annotate-lines): Remove unused var `overlay'.
3540 2003-05-08  Glenn Morris  <gmorris@ast.cam.ac.uk>
3542         * calendar/diary-lib.el (diary-pull-attrs): Make `ret-attr',
3543         `attr' local.
3544         (list-diary-entries): Make `temp' local.
3545         (fancy-diary-display): Make `marks', `temp-face', `faceinfo' local.
3546         (diary-mail-entries): There is no fancy-diary-buffer if there are
3547         no diary entries.  Use call-interactively.
3548         (mark-diary-entries): Make `temp' local.
3549         (mark-sexp-diary-entries): Make `marks' local, remove `temp'.
3550         (list-sexp-diary-entries): Make `temp' local.
3551         (add-to-diary-list): Make `prefix' local.
3553 2003-05-08  Dave Love  <fx@gnu.org>
3555         * international/utf-7.el: New file.
3557 2003-05-07  Francis J. Wright  <F.J.Wright@qmul.ac.uk>
3559         * files.el (insert-file-contents-literally): Allow it to be called
3560         within a magic file name handler.
3562 2003-05-07  Stefan Monnier  <monnier@cs.yale.edu>
3564         * uniquify.el (uniquify-rationalize-file-buffer-names):
3565         Don't uniquify if there is no filename.
3567         * vc-hooks.el: Use buffer-file-name variable rather than function.
3568         (vc-handled-backends): Add SVN and MCVS.
3569         (vc-mode-line): Call vc-backend only once.
3570         (find-file-hook, find-file-not-found-hook): Use the new
3571         names rather than ...-hooks.
3573         * uniquify.el (uniquify-item, uniquify-get-proposed-name)
3574         (uniquify-rationalize-conflicting-sublist): Rename filename -> dirname.
3575         (uniquify-rationalize): New fun.  Set uniquify-managed to the fix-list.
3576         (uniquify-rationalize-file-buffer-names): Use it and make the args
3577         non-optional (i.e. don't support "re-rationalize all" any more).
3578         (uniquify-rerationalize-w/o-cb): New fun.
3579         (uniquify-maybe-rerationalize-w/o-cb): Use it to rerationalize
3580         immediately and only the relevant buffers.
3581         Merged from uniquify-delay-rationalize-file-buffer-names and
3582         uniquify-delayed-rationalize-file-buffer-names.
3583         (kill-buffer-hook, rename-buffer): Use it.
3585 2003-05-06  Jesper Harder  <harder@ifa.au.dk>
3587         * progmodes/compile.el (compile-internal): Don't quote nil and t in
3588         docstrings.
3590         * emacs-lisp/eldoc.el (eldoc-echo-area-use-multiline-p): Likewise.
3592         * emacs-lisp/cl-macs.el (case, typecase): Likewise.
3594         * allout.el (allout-auto-activation)
3595         (allout-use-mode-specific-leader, allout-reindent-bodies)
3596         (allout-unprotected): Likewise.
3598         * progmodes/tcl.el (tcl-explain-indentation): Likewise.
3600         * progmodes/idlwave.el (idlwave-complete-special): Likewise.
3602         * progmodes/cpp.el (cpp-edit-list): Likewise.
3604         * progmodes/cperl-mode.el (cperl-lineup): Likewise.
3606         * progmodes/cc-align.el (c-lineup-argcont, c-lineup-gcc-asm-reg):
3607         Likewise.
3609         * play/mpuz.el (mpuz-silent): Likewise.
3611         * play/decipher.el (decipher-ignore-spaces): Likewise.
3613         * net/rlogin.el (rlogin-process-connection-type): Likewise.
3615         * mail/rmail.el (rmail-primary-inbox-list): Likewise.
3617         * mail/mailalias.el (mail-directory-function)
3618         (mail-directory-requery, mail-directory): Likewise.
3620         * emacs-lisp/lucid.el (buffer-syntactic-context): Likewise.
3622         * emacs-lisp/lmenu.el (popup-dialog-box): Likewise.
3624         * type-break.el (type-break-good-rest-interval)
3625         (type-break-query-mode, type-break-query-function)
3626         (type-break-mode-line-message-mode): Likewise.
3628         * skeleton.el (skeleton-autowrap, skeleton-untabify)
3629         (skeleton-newline-indent-rigidly, skeleton-insert)
3630         (skeleton-read): Likewise.
3632         * simple.el (newline): Likewise.
3634         * ps-print.el (ps-zebra-stripe-follow): Likewise.
3636         * mwheel.el (mouse-wheel-scroll-amount): Likewise.
3638         * env.el (setenv): Likewise.
3640 2003-05-06  Stefan Monnier  <monnier@cs.yale.edu>
3642         * imenu.el (imenu--generic-function): Use font-lock-defaults
3643         case setting if imenu-case-fold-search is not locally set.
3645         * uniquify.el (uniquify-managed): New var.
3646         (uniquify-rationalize-file-buffer-names, rename-buffer): Use it and set
3647         it to prevent accidental renaming of unrelated buffers.
3648         (uniquify-delay-rationalize-file-buffer-names): Use it to avoid
3649         the cost of uniquify when killing unrelated buffers.
3651         * newcomment.el (comment-set-column, comment-kill)
3652         (comment-or-uncomment-region): Call comment-normalize-vars
3653         since these functions are autoloaded.
3655         * help-fns.el (help-add-fundoc-usage): Use t for "no arglist".
3656         * emacs-lisp/advice.el (ad-make-advised-docstring): Adjust usage.
3658 2003-05-06  Lute Kamstra  <Lute.Kamstra@cwi.nl>
3660         * hl-line.el: Removed an erroneous comment.
3661         (hl-line-mode): Use buffer local hooks.
3662         (global-hl-line-mode): Turn local modes on unconditionally.
3663         (hl-line-highlight): Comment fix.
3665 2003-05-06  Richard M. Stallman  <rms@gnu.org>
3667         * newcomment.el (comment-search-forward): Delete autoload cookie.
3669 2003-05-06  Kenichi Handa  <handa@m17n.org>
3671         * arc-mode.el (archive-set-buffer-as-visiting-file):
3672         Use after-insert-file-set-coding, not
3673         after-insert-file-set-buffer-file-coding-system.
3675 2003-05-05  Stefan Monnier  <monnier@cs.yale.edu>
3677         * uniquify.el (uniquify-buffer-name-style)
3678         (uniquify-after-kill-buffer-p, uniquify-ask-about-buffer-names-p)
3679         (uniquify-ignore-buffers-re, uniquify-min-dir-content)
3680         (uniquify-separator, uniquify-trailing-separator-p): Remove redundant
3681         group specification.
3682         (uniquify-file-name-nondirectory): Delete.
3683         (uniquify-rationalize-file-buffer-names): Simplify.
3684         Use directory names as `filename' component of uniquify-item.
3685         (uniquify-get-proposed-name): Adjust now that `filename' does not
3686         include `base'.
3688         * vc-svn.el: New file.
3690 2003-05-05  John Paul Wallington  <jpw@gnu.org>
3692         * emacs-lisp/autoload.el (batch-update-autoloads):
3693         Call `update-directory-autoloads'.
3695 2003-05-04  Dan Nicolaescu  <dann@ics.uci.edu>
3697         * dired.el (dired-find-file): Bind find-file-run-dired around
3698         the call to find-file.
3700 2003-05-04  Stefan Monnier  <monnier@cs.yale.edu>
3702         * uniquify.el: Move provide to end of file.
3703         (uniquify-ref-base, uniquify-ref-filename, uniquify-ref-buffer)
3704         (uniquify-ref-proposed, uniquify-set-proposed): Remove.
3705         (uniquify-item): New struct.  Update users of uniquify-ref-*.
3706         (uniquify-get-proposed-name, uniquify-rationalize-a-list):
3707         Make `depth' optional.
3708         (uniquify-non-file-buffer-names): Remove.
3709         (uniquify-rationalize-file-buffer-names): Don't set it up.
3710         Use uniquify-make-item and don't pass the now-optional depth.
3711         (uniquify-rationalize-conflicting-sublist): Check the new buffer
3712         name directly instead of relying on uniquify-non-file-buffer-names.
3713         (uniquify-rename-buffer): Use with-current-buffer and pass
3714         the `unique' arg to rename-buffer.
3716         * vc-mcvs.el (vc-mcvs-mode-line-string): Fix thinko.
3717         (vc-mcvs-rename-file): New function.
3719 2003-05-04  Emmanuel Briot  <briot@gnat.com>
3721         * progmodes/ada-mode.el
3722         * progmodes/ada-prj.el
3723         * progmodes/ada-stmt.el
3724         * progmodes/ada-xref.el (ada-xemacs): Variable removed, since it's
3725         better to use (featurep 'xemacs).
3726         Removed warnings generated with Emacs 21.3.x (mostly by adding
3727         needed `require' statements).
3729 2003-05-04  Nick Roberts  <nick@nick.uklinux.net>
3731         * toolbar/gud-break.pbm, toolbar/gud-cont.pbm, toolbar/gud-display.pbm,
3732         toolbar/gud-down.pbm, toolbar/gud-finish.pbm, toolbar/gud-until.pbm,
3733         toolbar/gud-next.pbm, toolbar/gud-print.pbm, toolbar/gud-remove.pbm,
3734         toolbar/gud-run.pbm, toolbar/gud-step.pbm, toolbar/gud-up.pbm:
3735         Correct size for cleaner bitmaps.
3737 2003-05-03  Stefan Monnier  <monnier@cs.yale.edu>
3739         * emacs-lisp/cl-extra.el (cl-map-keymap): Redefine as alias.
3740         (cl-map-keymap-recursively): Use map-keymap.
3741         (cl-macroexpand-all): Don't quote functions.
3743         * emacs-lisp/lucid.el (cl-map-keymap): Be careful with aliases.
3745         * emacs-lisp/advice.el (ad-get-enabled-advices, ad-special-forms)
3746         (ad-arglist, ad-subr-arglist): Use push and match-string.
3747         (ad-make-advised-docstring): Extract & reinsert the usage info.
3749         * help-fns.el (help-add-fundoc-usage): Allow arglist to be a string.
3751 2003-05-03  Nick Roberts  <nick@nick.uklinux.net>
3753         * gdb-ui.el (breakpoint-enabled-icon, breakpoint-disabled-icon):
3754         Include bitmap data for monochrome display.
3755         (breakpoint-enabled-pbm-data, breakpoint-disabled-pbm-data):
3756         New constants.
3758 2003-05-03  Richard M. Stallman  <rms@gnu.org>
3760         * emacs-lisp/autoload.el (update-directory-autoloads): Renamed from
3761         update-autoloads-from-directories.
3763         * progmodes/cperl-mode.el (cperl-nonoverridable-face): Doc fix.
3765         * mail/sendmail.el (mail-dont-send, mail-bury): Make ARG optional.
3767         * view.el (Helper-return-blurb): Add defvar.  (Also rearrange defuns.)
3769         * uniquify.el (uniquify-ignore-buffers-re): Change default
3770         to match some Gnus buffers.
3772         * newcomment.el (comment-search-forward): Add autoload cookie.
3774         * isearch.el (isearch-complete): Update isearch-message.
3776         * filesets.el (filesets-data): Add another defvar.
3777         (filesets-verbosity): Doc fix.
3779 2003-05-02  Tak Ota  <Takaaki.Ota@am.sony.com>  (tiny change)
3781         * recentf.el (recentf-cleanup): Swap tests for exclusion and
3782         accessibility.
3784 2003-05-01  Eduardo Mu\e,Aq\e(Boz  <emufer@terra.es>  (tiny change)
3786         * ls-lisp.el (ls-lisp-format-file-size): New function to implement
3787         "-h" switch.
3788         (ls-lisp-format): Use it.
3790 2003-05-01  Kenichi Handa  <handa@m17n.org>
3792         * international/utf-8.el (utf-translate-cjk-mode): Update the
3793         second extra slot of the translation table
3794         utf-translation-table-for-encode.
3795         (mule-utf-8): Set the property translation-table-for-encode.
3797 2003-04-30  Stefan Monnier  <monnier@cs.yale.edu>
3799         * pcvs.el (cvs-vc-command-advice): Don't parse "cvs update -p" output.
3800         (cvs-mode-find-file): Don't complain if bound to a non-mouse event.
3802         * textmodes/fill.el (text-property-default-nonsticky): Add fill-space.
3803         (fill-delete-newlines): Respect the new property.
3804         (fill-newline): Use the property instead of leaving "spurious" spaces.
3806         * emacs-lisp/easymenu.el (easy-menu-get-map): Correctly handle
3807         non-submap bindings.
3809 2003-04-30  Emmanuel Briot  <briot@gnat.com>
3811         * progmodes/ada-mode.el (ada-search-directories): Take into account
3812         ADA_INCLUDE_PATH for better compatibility with GNAT.
3813         (ada-contextual-menu): Menu defined through `easy-menu-define'
3814         instead.  Various adjustments to the indentation engine (handling of
3815         subtypes, begin blocks, etc.).
3816         (ada-create-menu): Major rewrite of the handling of menus to use
3817         `easy-menu-define' for cleaner code and better compatibility with
3818         XEmacs.  All menus that were previously in ada-xref.el and
3819         ada-prj.el are now defined in this package, which makes it easier to
3820         edit menus.
3821         (ada-narrow-to-defun): Add support for `narrow-to-region'.
3822         No longer explicitely load ada-xref.el and ada-prj.el.  Use autoload
3823         statements instead.
3825         * progmodes/ada-xref.el (ada-gnatls-args): New variable.
3826         Add support for specifying arguments to gnatls.
3827         (ada-initialize-runtime-library): Properly parse "." in the output
3828         of gnatls.
3829         (ada-add-keymap): Remove since this is now done in ada-mode.el itself.
3830         (ada-add-ada-menu): Likewise.
3831         (ada-set-default-project-file): New parameter KEEP-EXISTING.
3832         (ada-prj-find-prj-file): New parameter FILE.
3833         (ada-parse-prj-file): Take into account the ADA_INCLUDE_PATH and
3834         ADA_OBJECTS_PATH environment variables.  Minor reorganization of the
3835         code
3836         (ada-get-all-references): Add support for GNAT 3.16 cross-references.
3838         * progmodes/ada-prj.el (ada-prj-add-keymap): Move to ada-mode.el
3839         directly.  Add dependency on ada-xref.el to avoid compilation
3840         warnings.
3841         (ada-prj-get-prj-dir): Remove, no longer needed.
3843         * progmodes/ada-stmt.el (ada-stmt-add-to-ada-menu):
3844         Move to ada-mode.el.
3845         (ada-template-map): Merge with the keymap handling in ada-mode.el.
3847 2003-04-29  Stefan Monnier  <monnier@cs.yale.edu>
3849         * isearch.el (isearch-complete1): Don't allocate unnecessarily.
3850         (isearch-complete-edit): Adjust to Emacs-21's new minibuffer handling.
3851         (isearch-update-ring): Use push.
3853 2003-04-29  Oliver Scholz  <epameinondas@gmx.de>
3855         * play/gamegrid.el: Added a comment explaining the various ways to
3856         save a game score on POSIX systems.
3857         (gamegrid-add-score-with-update-game-score): Use `cond' instead of
3858         `if'.  Provide for the case that FILE is an absolute filename.
3859         Create the directory "$HOME/.emacs.d/games", if necessary.
3861 2003-04-29  John Paul Wallington  <jpw@gnu.org>
3863         * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Use `string-match'.
3865 2003-04-28  Dave Love  <fx@gnu.org>
3867         * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Avoid cl warnings
3868         from caaar & al.
3870 2003-04-28  Kenichi Handa  <handa@m17n.org>
3872         * international/mule-cmds.el (reset-language-environment):
3873         Raise the priority of mule-utf-8, mule-utf-16-be-with-signature and
3874         mule-utf-16-le-with-signature.
3876         * international/mule-conf.el: Set coding-category-utf-16-be to
3877         mule-utf-16-be-with-signature, coding-category-utf-16-le to
3878         mule-utf-16-le-with-signature.  Raise the priority of
3879         coding-category-utf-8, coding-category-utf-16-be, and
3880         coding-category-utf-16-le
3882 2003-04-27  Luc Teirlinck  <teirllm@mail.auburn.edu>
3884         * scroll-bar.el (scroll-bar-drag-1): Replace beginning-of-line with
3885         vertical-motion.
3887 2003-04-27  David Ponce  <david@dponce.com>
3889         * recentf.el
3891         Major rewrite.  The code is reordered, cleaner and faster.
3892         Introduce new options to automatically cleanup the recent list,
3893         and to handle filename transformation (for example to use true
3894         filenames).
3896         (recentf-version): New constant.
3897         (recentf-save-file-header): Move.
3898         (recentf-data-cache): New variable.
3899         (recentf-update-menu-p, recentf-initialized-p): Remove.
3900         (recentf-menu-customization-changed): Move.  Doc fix.
3901         (recentf-max-saved-items): Doc fix.
3902         (recentf-save-file): Doc fix.  No more expand filename here.
3903         (recentf-exclude, recentf-menu-action)
3904         (recentf-menu-filter): Doc fix.
3905         (recentf-menu-append-commands-flag): Rename from...
3906         (recentf-menu-append-commands-p): Make obsolete.
3907         (recentf-keep-non-readable-files-flag): Rename from...
3908         (recentf-keep-non-readable-files-p): Make obsolete.
3909         (recentf-auto-cleanup, recentf-filename-handler): New options.
3910         (recentf-string-equal, recentf-string-lessp)
3911         (recentf-string-member): New functions.
3912         (recentf-trunc-list): Move.
3913         (recentf-dump-variable): Move.  Better code and output format.
3914         (recentf-auto-cleanup-timer): New variable.
3915         (recentf-auto-cleanup): New function.
3916         (recentf-push, recentf-expand-file-name): New functions.
3917         (recentf-add-file): In-line.  Use above functions.
3918         (recentf-remove-if-non-readable): In-line.  Expand file name.
3919         (recentf-find-file): Use `recentf-remove-if-non-readable'.
3920         (recentf-directory-compare): Move.  Use `recentf-string-equal'
3921         and `recentf-string-lessp' to do comparisons.
3922         (recentf-menu-items-for-commands)
3923         (recentf-menu-filter-commands): Move.
3924         (recentf-elements, recentf-make-menu-element)
3925         (recentf-menu-element-item, recentf-menu-element-value)
3926         (recentf-set-menu-element-item, recentf-set-menu-element-value)
3927         (recentf-sub-menu-element-p, recentf-make-default-menu-element)
3928         (recentf-menu-elements): In-line.  Some doc fix.
3929         (recentf-apply-menu-filter): Better code.
3930         (recentf-make-menu-items): Doc fix.
3931         Use `recentf-menu-append-commands-flag'.
3932         (recentf-make-menu-item): In-lined.  Better code.
3933         (recentf-clear-data): New function.
3934         (recentf-sort-ascending, recentf-sort-descending)
3935         (recentf-sort-basenames-ascending)
3936         (recentf-sort-basenames-descending)
3937         (recentf-sort-directories-ascending)
3938         (recentf-sort-directories-descending)
3939         (recentf-show-basenames-ascending)
3940         (recentf-show-basenames-descending: In-line.   Better code.  Doc fix.
3941         (recentf-show-basenames)
3942         (recentf-relative-filter): Better code.  Doc fix.
3943         (recentf-arrange-by-rule-subfilter): Doc fix.  Improve :set code.
3944         (recentf-match-rule-p): Use filename instead of file-path.
3945         (recentf-arrange-by-rule, recentf-build-mode-rules)
3946         (recentf-arrange-by-mode, recentf-build-dir-rules)
3947         (recentf-file-name-nondir)
3948         (recentf-filter-changer-alist): Some doc fix and code cleanup.
3949         (recentf-filter-changer-goto-next): Doc fix.
3950         Call `recentf-clear-data'.
3951         (recentf-filter-changer-get-current)
3952         (recentf-filter-changer-get-next): In-line.  Doc fix and better code.
3953         (recentf-filter-changer): Doc fix and better code.
3954         (recentf-cancel-dialog): Doc fix.
3955         (recentf-dialog-mode-map): Initialize in defvar.
3956         (recentf-dialog-mode): Doc fix.
3957         (recentf-track-opened-file): Rename from...
3958         (recentf-add-file-hook): Remove.
3959         (recentf-track-closed-file): Rename from...
3960         (recentf-remove-file-hook): Remove.
3961         (recentf-update-menu-hook): Remove.  Replace by...
3962         (recentf-update-menu): New.  Better catch unnecessary updates.
3963         Display a message on error.
3964         (recentf-used-hooks): New constant.
3965         (recentf-enabled-p): New function.
3966         (recentf-edit-selected-items)
3967         (recentf-open-files-action)
3968         (recentf-open-files-item-shift): Doc fix.
3969         (recentf-edit-list-action)
3970         (recentf-open-files-item): Doc fix.  Code cleanup.
3971         (recentf-edit-list, recentf-open-files)
3972         (recentf-open-more-files): Likewise.  Remove autoload cookie.
3973         (recentf-save-list, recentf-cleanup): Likewise.  Move.
3974         (recentf-load-list): New command.
3975         (recentf-mode): Better code.  Does nothing if enabling the already
3976         enabled mode.
3978 2003-04-27  Alan Mackenzie  <acm@muc.de>
3980         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Don't count a "//("
3981         which appears inside a character set.
3982         (regexp-opt-not-groupie*-re): New constant.
3984 2003-04-26  John Paul Wallington  <jpw@gnu.org>
3986         * ibuffer.el (ibuffer-name-map, ibuffer-mode-name-map)
3987         (ibuffer-mode-filter-group-map): Initialize in `defvar'.
3988         (ibuffer-do-view-1): Use `make-frame' instead of `new-frame'.
3990 2003-04-25  Jan Nieuwenhuizen  <janneke@gnu.org>
3992         * info.el (Info-unescape-quotes, Info-split-parameter-string)
3993         (Info-display-images-node): New functions for displaying images.
3994         (Info-select-node): Call Info-display-images-node.
3996 2003-04-25  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
3998         * files.el (file-relative-name): Recognize "c:/foo" as absolute
3999         file name.  Tiny change from David PONCE <david.ponce@wanadoo.fr>.
4001 2003-04-24  Sam Steingold  <sds@gnu.org>
4003         * calendar/diary-lib.el (fancy-diary-display-mode): Bind "q" to
4004         `quit-window' in the fancy diary buffer.
4006         * emacs-lisp/cl-indent.el: `symbol-macrolet' is similar to `let',
4007         not `multiple-value-bind'.
4009 2003-04-24  Lars Hansen  <larsh@math.ku.dk>
4011         * subr.el (assq-delete-all): Ignore non-cons elements.
4013 2003-04-24  John Paul Wallington  <jpw@gnu.org>
4015         * help-mode.el (help-make-xrefs): Remove extra paren.
4017 2003-04-23  Stefan Monnier  <monnier@cs.yale.edu>
4019         * newcomment.el (comment-normalize-vars): Prompt the user for
4020         the comment-start to use rather than signalling an error.  Fix regexp.
4021         (uncomment-region): Don't leave half-removed comment markers.
4023 2003-04-23  Richard M. Stallman  <rms@gnu.org>
4025         * mail/sendmail.el (mail-send-and-exit): Make arg optional.
4027         * files.el (view-read-only): Doc fix.
4029         * simple.el (back-to-indentation): Call backward-prefix-chars.
4031         * help-mode.el (help-make-xrefs): Clean up the loop that scans
4032         over a keymap inserted by \\{...}; it now stops at end of buffer.
4034         * filesets.el: Don't call filesets-init.
4036         * emacs-lisp/bytecomp.el (byte-compile-defun): Generate and
4037         compile a defalias form, unless byte-compile-compatibility.
4039         * progmodes/scheme.el (scheme-mode-syntax-table):
4040         Use prefix syntax for ', `, comma, @ and #.
4042         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4043         Give @ prefix syntax.
4045 2003-04-23  Andre Spiegel  <spiegel@gnu.org>
4047         * vc-cvs.el (vc-cvs-stay-local): Keep the old default.
4048         Simplify doc string.
4050 2003-04-23  Wolfgang Scherer  <wolfgang.scherer@gmx.de>
4052         * vc-cvs.el (vc-cvs-stay-local): Allow lists of host regexps.
4053         (vc-cvs-stay-local-p): Handle them.
4054         (vc-cvs-parse-root): New function, used by the above.
4056 2003-04-22  Stefan Monnier  <monnier@cs.yale.edu>
4058         * vc-mcvs.el (vc-mcvs-root): Cache the result.
4059         (vc-mcvs-registered): Simplify.  Use file-relative-name.
4060         (vc-mcvs-register): Simplify.  Don't burp if MCVS/TYPES doesn't exist.
4061         (vc-mcvs-command): Filter F-NN names in the output for diff and log.
4063 2003-04-21  Stefan Monnier  <monnier@cs.yale.edu>
4065         * info.el (Info-default-dirs): New fun extracted from Info-initialize.
4066         (info-initialize): Use it.  Obey the "final :" convention for INFOPATH.
4068         * textmodes/fill.el (fill-region-as-paragraph):
4069         Fix "last line goes to fill-column+1" problem.
4071         * emacs-lisp/bytecomp.el (byte-compile-defvar): Improve message.
4073 2003-04-20  Richard M. Stallman  <rms@gnu.org>
4075         * simple.el (kill-line): Doc fix.
4077 2003-04-20  Sam Steingold  <sds@gnu.org>
4079         * pcvs.el (cvs-examine): Respect `find-file-visit-truename'.
4081 2003-04-20  Glenn Morris  <gmorris@ast.cam.ac.uk>
4083         * which-func.el (which-func-modes): Add f90-mode.
4084         (which-function): Handle imenu submenus.
4086         * progmodes/fortran.el (fortran-abbrev-start): Make XEmacs compatible.
4088         * progmodes/f90.el (f90-font-lock-keywords-2): Use override for
4089         font-lock-variable-name-face in declarations.
4090         Highlight continuation characters.
4091         (f90-indent-new-line): Remove direct call to f90-indent-line-no,
4092         f90-update-line.
4093         (f90-abbrev-start): Fix XEmacs compatibility.
4095 2003-04-19  Stefan Monnier  <monnier@cs.yale.edu>
4097         * vc-mcvs.el: New file.
4099         * vc-cvs.el (vc-cvs-dir-state): Use vc-cvs-command.
4100         (vc-cvs-could-register, vc-cvs-make-version-backups-p): Use defalias.
4101         (vc-cvs-merge-news): Simplify.
4102         (vc-cvs-diff): Remove unused var `options'.
4103         (vc-cvs-parse-entry): Use the same algorithm as cvs does.
4105 2003-04-19  Richard M. Stallman  <rms@gnu.org>
4107         * desktop.el (desktop-buffer-mh): Don't require mh-e;
4108         it causes trouble in compilation.
4110         * add-log.el (add-log-current-defun-function): Add autoload cookie.
4112         * newcomment.el (comment-use-syntax): Add autoload cookie.
4114         * emacs-lisp/bytecomp.el (byte-compile-log-file)
4115         (byte-recompile-directory): Don't use byte-goto-log-buffer.
4116         Instead, set default-directory and then call compilation-mode.
4117         (byte-compile-from-buffer): Force byte-compile-last-position
4118         to end of buffer before issuing final warnings.
4120 2003-04-18  Stefan Monnier  <monnier@cs.yale.edu>
4122         * emulation/cua-base.el (cua-mode): Use define-minor-mode.
4123         (cua-global-mark-face): Fix face format.
4125         * emacs-lisp/easy-mmode.el (define-minor-mode): Only echo a message
4126         if the body didn't do so already.
4127         (easy-mmode-define-keymap): Remove unused var `suppress'.
4129         * view.el (view-read-only): Move to files.el.
4130         * files.el (view-read-only): Move from view.el.
4132 2003-04-17  Stefan Monnier  <monnier@cs.yale.edu>
4134         * files.el (view-read-only): Don't declare a second time.
4135         (find-file-read-only, find-file-read-only-other-window)
4136         (find-file-read-only-other-frame): Check that file does exist.
4137         (large-file-warning-threshold): New custom.
4138         (find-file-noselect): Use it.
4139         (report-errors): New macro.
4140         (normal-mode): Use it.
4141         (toggle-read-only): Really toggle, even if view-mode is on.
4142         (parse-colon-path): Remove unused `cd-prefix' var.
4143         (make-backup-file-name-1): Remove unused `failed' var.
4144         (basic-save-buffer): Remove unused `tempsetmodes' var.
4145         (basic-save-buffer-2): Remove unused `temp' var.
4146         (insert-directory): Remove unused `available' var.
4148 2003-04-17  John Paul Wallington  <jpw@gnu.org>
4150         * hexl.el (hexl-find-file): Bind `default-major-mode' to
4151         `fundamental-mode'.
4153 2003-04-16  Stefan Monnier  <monnier@cs.yale.edu>
4155         * reveal.el (reveal-post-command): Use overlay-get for overlays.
4157 2003-04-16  Kenichi Handa  <handa@m17n.org>
4159         * international/mule-cmds.el (describe-language-environment):
4160         At first, require all necessary features.
4162 2003-04-16  Dave Love  <fx@gnu.org>
4164         * progmodes/xscheme.el: Moved from lisp directory.
4166 2003-04-16  Glenn Morris  <gmorris@ast.cam.ac.uk>
4168         * progmodes/f90.el (f90-indent-to, f90-indent-line-no)
4169         (f90-no-block-limit, f90-end-of-block, f90-beginning-of-block)
4170         (f90-comment-region, f90-indent-line, f90-indent-region)
4171         (f90-find-breakpoint, f90-block-match): Trivial simplifications.
4172         (f90-looking-at-do, f90-looking-at-select-case)
4173         (f90-looking-at-if-then, f90-looking-at-where-or-forall):
4174         Drop XEmacs 19 support and simplify.
4175         (f90-indent-new-line): No need for case-fold-search.  Simplify.
4176         (f90-fill-region): Make marker nil when done.  Simplify.
4178         * progmodes/fortran.el (fortran-column-ruler): Minor doc change.
4180 2003-04-16  Richard M. Stallman  <rms@gnu.org>
4182         * man.el (Man-follow-manual-reference): Don't require match
4183         when calling completing-read.
4185 2003-04-15  Glenn Morris  <gmorris@ast.cam.ac.uk>
4187         * progmodes/fortran.el: Whitespace changes, some re-ordering of
4188         code, trivial commentary change.
4189         (fortran, fortran-indent, fortran-comment)
4190         (fortran-tab-mode-default, fortran-continuation-indent)
4191         (fortran-comment-indent-style, fortran-blink-matching-if)
4192         (fortran-continuation-string, fortran-electric-line-number)
4193         (fortran-break-before-delimiters, fortran-mode-hook)
4194         (fortran-end-prog-re, fortran-imenu-generic-expression):
4195         Minor doc changes.
4196         (fortran-tab-mode-minor-mode-string): New variable.
4197         (fortran-tab-mode-string): Now customization is meaningful.
4198         (fortran-column-ruler-fixed, fortran-column-ruler-tab)
4199         (fortran-analyze-depth): Use defcustom.
4200         (fortran-if-start-re, fortran-end-prog-re1, fortran-fill)
4201         (fortran-break-line, fortran-prepare-abbrev-list-buffer)
4202         (fortran-auto-fill): Add doc string.
4203         (fortran-type-types): New constant (was local to let binding).
4204         (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
4205         (fortran-font-lock-syntactic-keywords): Initialize in defvar.
4206         (fortran-font-lock-keywords-3): Initialize in defvar.  Use 1+ now
4207         depth of fortran-type-types has changed.  Remove extra and.
4208         (fortran-mode-menu): Minor re-organization.  Use lookup-key.
4209         (fortran-mode): Doc changes.  Some re-organization.
4210         Use fortran-tab-mode-minor-mode-string.
4211         (fortran-comment-indent): Add doc string.  Move save-excursion.
4212         Use 1+.
4213         (fortran-indent-comment, fortran-fill-statement):
4214         Change interactive spec.  Use unless.
4215         (fortran-comment-region): Doc change.  Reverse logic of arg
4216         test.  Use zerop.
4217         (fortran-abbrev-start, fortran-split-line)
4218         (fortran-electric-line-number, fortran-indent-subprogram)
4219         (fortran-strip-sequence-nos): Change interactive spec.
4220         (fortran-remove-continuation): Add doc string.  Use when.
4221         (fortran-numerical-continuation-char): Doc change.  Use 1+.
4222         (fortran-previous-statement, fortran-next-statement)
4223         (fortran-beginning-do, fortran-calculate-indent)
4224         (fortran-end-do, fortran-end-if, fortran-beginning-if):
4225         Use zerop, 1+, 1-.
4226         (fortran-blink-match, fortran-check-for-matching-do): Use when.
4227         (fortran-indent-line): Change interactive spec.  Remove un-needed
4228         if.  Use when.
4229         (fortran-indent-to-column): Doc change.  Use when, unless.
4230         (fortran-find-comment-start-skip): No longer interactive.
4231         (fortran-analyze-file-format): Minor doc change.
4232         Remove un-needed setq.
4233         (minor-mode-alist): Use add-to-list.
4234         (fortran-fill-paragraph): Change interactive spec, doc string.
4236         * progmodes/f90.el: Whitespace changes, trivial commentary changes.
4237         (f90, f90-indent, f90-program-indent, f90-continuation-indent)
4238         (f90-indented-comment-re, f90-imenu-generic-expression)
4239         (f90-mark-subprogram, f90-join-lines): Minor doc changes.
4240         (f90-menu): Shift definition to initialization of f90-mode-map.
4241         Add customization section.
4242         (f90-mode): Minor doc change.  Do not call easy-menu-add.
4243         Set `beginning-of-defun-function' and `end-of-defun-function' to
4244         appropriate F90 functions.
4245         (f90-indent-line, f90-indent-line, f90-indent-subprogram)
4246         (f90-break-line, f90-do-auto-fill, f90-insert-end)
4247         (f90-upcase-keywords, f90-capitalize-keywords)
4248         (f90-downcase-keywords): Change interactive spec.
4250 2003-04-14  Stefan Monnier  <monnier@cs.yale.edu>
4252         * font-lock.el (font-lock-multiline, font-lock-fontified)
4253         (font-lock-set-defaults): Move back from font-core.el and merge
4254         it back with font-lock-set-defaults-1.
4255         (font-lock-mode-internal): New function (basically the body of
4256         the old font-lock-mode minor mode).
4258         * font-core.el (font-lock-maximum-size, font-lock-verbose): Remove.
4259         (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
4260         Move back to font-lock.el
4261         (font-lock-default-function): Use font-lock-mode-internal.
4263         * files.el (auto-mode-alist): Add entries for *.ins and *.dtx.
4264         (recover-file): Abbreviate file name in messages.
4266         * textmodes/tex-mode.el (latex-mode-map): Bind latex-split-block.
4267         (tex-font-lock-keywords-2): Comment out unused var `type'.
4268         (tex-guess-mode): New name for old `tex-mode'.
4269         (tex-mode): Make it a derived mode of text-mode.
4270         (plain-tex-mode, latex-mode): Change parent from text-mode to tex-mode.
4271         (tex-common-initialization): Don't setup syntax-table any more.
4272         (tex-validate-buffer): Remove unused var `oend'.
4273         Use with-current-buffer and line-beginning-position.
4274         (tex-recenter-output-buffer): Remove unused var `old-buffer'.
4275         (latex-indent): Return `noindent' if no indentation can happen.
4276         (doctex-font-lock-^^A, doctex-font-lock-syntactic-face-function)
4277         (doctex-font-lock-syntactic-keywords, doctex-font-lock-keywords)
4278         (doctex-mode): New funs for DocTeX mode, derived from LaTeX mode.
4280         * font-lock.el (font-lock-preprocessor-face): New var and face.
4282 2003-04-14  Andrew Choi  <akochoi@shaw.ca>
4284         * term/mac-win.el: Unconditionally set process-connection-type to nil.
4286 2003-04-14  Richard M. Stallman  <rms@gnu.org>
4288         * derived.el (define-derived-mode): Make generated code work in
4289         Emacs versions that do not have run-mode-hooks.
4291         * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
4292         At end of buffer, run the global binding of the same key.
4294         * international/mule.el (after-insert-file-set-coding):
4295         Properly treat INSERTED as number of characters, for both
4296         for both the argument and the value.
4298         * desktop.el (desktop-base-file-name):
4299         Renamed from desktop-basefilename.  Add defvaralias.
4301 2003-04-14  John Paul Wallington  <jpw@gnu.org>
4303         * international/fontset.el (create-fontset-from-ascii-font): Doc fix.
4304         (x-must-resolve-font-name): Fix error message typo.
4306 2003-04-13  Glenn Morris  <gmorris@ast.cam.ac.uk>
4308         * progmodes/fortran.el (fortran-previous-statement): Check for
4309         fortran-continuation-string.
4310         (fortran-calculate-indent): Do not add extra whitespace to
4311         strings broken over lines.
4312         (fortran-fill): Handle long strings that must be broken.
4314 2003-04-13  Michael Albinus  <Michael.Albinus@alcatel.de>  (tiny change)
4316         * net/ange-ftp.el (ange-ftp-expand-symlink): If result of
4317         expansion is a symlink, expand again.
4318         (ange-ftp-file-symlink-p): Return target of symlink literally.
4320 2003-04-13  Masatake YAMATO  <jet@gyve.org>
4322         * bindings.el (toplevel): Don't change the face
4323         of major-mode on the mode line. Setting the face on
4324         the mode line code is installed by my mistake in
4325         my last change.
4327 2003-04-12  Stefan Monnier  <monnier@cs.yale.edu>
4329         * add-log.el (change-log-version-number-search): Fix old bug.
4330         (add-change-log-entry): Avoid inserting the same funname again.
4331         (add-log-indent-text): New var.
4332         (add-log-indent): New fun.
4333         (change-log-mode): Use it.
4335         * net/browse-url.el: Don't autoload all these defcustoms.
4336         (browse-url-default-macosx-browser): New fun.
4337         (browse-url-browser-function): Use it for system-type = darwin.
4338         (browse-url-usr1-signal): Remove.
4339         (browse-url-mosaic): Use SIGUSR1 directly instead.
4340         (browse-url-gnome-moz-program): New var.
4341         (browse-url-gnome-moz, browse-url-default-browser): Use it.
4343         * emacs-lisp/bytecomp.el: Use push, with-current-buffer, dolist, ...
4344         (byte-compile-const-variables): New var.
4345         (byte-compile-close-variables): Reset it.
4346         (byte-compile-file-form-defvar, byte-compile-defvar): Update it.
4347         (byte-compile-const-symbol-p): Now arg `value' to check defconsts.
4348         (byte-compile-variable-ref): Use it and improve warning message.
4349         (byte-compile-check-lambda-list): Use byte-compile-const-symbol-p.
4350         (byte-compile-lapcode): Remove unused vars.
4351         (byte-compile-eval): Fix thinko in handling of old-autoloads.
4352         (byte-recompile-directory): Use the expanded form for directory.
4353         (byte-compile-track-mouse): Use modern backquote syntax.
4354         (byte-compile-defvar): Detect and properly handle (defconst a).
4355         (byte-compile-defalias-warn): Remove unused arg `alias'.
4356         (byte-compile-defalias): Update call.
4358 2003-04-13  Masatake YAMATO  <jet@gyve.org>
4360         * help.el (describe-minor-mode): New function implementation.
4361         Accept both minor mode string and minor mode indicator.
4362         (describe-minor-mode-completion-table-for-indicator)
4363         (describe-minor-mode-completion-table-for-symbol): New functions.
4364         minor-mode-list is used here.
4365         (describe-minor-mode-from-symbol):
4366         Renamed from (old) describe-minor-mode.
4367         Use describe-minor-mode-completion-table-for-symbol.
4368         Don't use eval. Just use symbol-name.
4369         (describe-minor-mode-from-indicator): Document is updated.
4370         Use `format-mode-line'.
4371         Use describe-minor-mode-from-symbol instead of describe-minor-mode.
4372         Use describe-minor-mode-completion-table-for-indicator.
4373         (expand-minor-mode-indicator-object): Remove.
4374         (lookup-minor-mode-from-indicator): Remove the fist white
4375         space from both indicator and anindicator before comparing them.
4377         * bindings.el (mode-line-major-mode-keymap)
4378         (mode-line-minor-mode-keymap): Define keys for the maps
4379         here in `defvar'.
4381 2003-04-12  Stefan Monnier  <monnier@cs.yale.edu>
4383         * server.el (server-socket-name): Use new safe location for socket.
4384         (server-ensure-safe-dir): New fun.
4385         (server-start): Use it and letf.
4386         (server-process-filter): Re-enable the -eval feature.
4388 2003-04-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
4390         * play/gomoku.el (gomoku-buffer-name): New constant.
4391         (gomoku-mode): Doc fix.  Add call to kill-all-local-variables.
4392         (gomoku): Do not call gomoku-switch-to-window directly.
4393         (gomoku-prompt-for-other-game): Throw an error if no new game.
4394         (gomoku-switch-to-window): Use gomoku-buffer-name.
4396         * progmodes/f90.el (f90-abbrev-start): Only offer help if
4397         abbrev-mode is active.
4398         (f90-join-lines): Make it behave more like standard join-line.
4399         (f90-fill-region, f90-menu): Adapt for new f90-join-lines.
4401         * progmodes/fortran.el (fortran-abbrev-start): Only offer help if
4402         abbrev-mode is active.
4404 2003-04-12  John Paul Wallington  <jpw@gnu.org>
4406         * help-fns.el (help-add-fundoc-usage): Pass an empty string to
4407         `format' if no newlines are necessary.
4409 2003-04-11  Stefan Monnier  <monnier@cs.yale.edu>
4411         * bindings.el (global-map): Bind [select-window].
4413 2003-04-11  John Paul Wallington  <jpw@gnu.org>
4415         * type-break.el (type-break-warning-countdown-string): Doc fix.
4417 2003-04-11  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>  (tiny change)
4419         * international/utf-8.el (utf-translate-cjk-mode): Fix incorrect
4420         place of parenthesis.
4422 2003-04-11  Masatake YAMATO  <jet@gyve.org>
4424         * progmodes/etags.el (select-tags-table-mode-map):
4425         Don't create new keymap. Instead copy from button-buffer-map.
4426         Bind push-button to `t' instead of binding
4427         select-tags-table-select directly
4428         (tags-select-tags-table): New button.
4429         (select-tags-table): Put a button for each selections.
4431 2003-04-11  Kenichi Handa  <handa@m17n.org>
4433         * international/mule.el:
4434         Don't set after-insert-file-adjust-coding-function.
4435         (after-insert-file-set-coding):
4436         Renamed from after-insert-file-set-buffer-file-coding-system.
4438 2003-04-11  Kenichi Handa  <handa@m17n.org>
4440         * international/quail.el (quail-guidance-str)
4441         (quail-guidance-frame): New variables.
4442         (quail-guidance-win): Delete this variable.
4443         (quail-setup-overlays): Make overlay not rear-advancing.
4444         (quail-kill-guidance-buf): Delete this function.
4445         (quail-activate): Add/remove quail-show-guidance to/from
4446         post-command-hook.
4447         (quail-input-method): Don't setup quail-guidance-buf.
4448         Initialize quail-guidance-str to "".
4449         (quail-start-translation): Call quail-show-guidance at first.
4450         (quail-start-conversion): Likewise.
4451         (quail-terminate-translation): Don't erase quail-guidance-buf.
4452         (quail-update-translation): Stretch overlays if their starting and
4453         ending positions are same.
4454         (quail-update-current-translations): Check the width of the
4455         current window, not the width of quail-guidance-win.
4456         (quail-make-guidance-frame): Delete the arg BUF.  Fix position
4457         calculation.  Don't set the window buffer, just return the new frame.
4458         (quail-minibuffer-message): New function.
4459         (quail-show-guidance): Renamed from quail-show-guidance-buf.
4460         Use message and quail-minibuffer-message to display the guidance.
4461         (quail-hide-guidance): Renamed from quail-hide-guidance-buf.
4462         Only delete quail-guidance-frame.
4463         (quail-update-guidance): Just update quail-guidance-str, not
4464         display it.
4465         (quail-get-translations): Renamed from quail-show-translations.
4466         Return a string instead of inserting it in quail-guaidance-buf.
4468 2003-04-11  Kenichi Handa  <handa@m17n.org>
4470         * international/mule-cmds.el (sort-coding-systems): Set lower
4471         priority to a utf-16 base coding system.  Set higher priority to a
4472         coding system listed in coding-category-list.
4474 2003-04-10  Juanma Barranquero  <lektu@terra.es>
4476         * frame.el (modify-all-frames-parameters): Deleted.
4478 2003-04-10  Sebastian Tennant  <seb@albert.vcisp.net>  (tiny change)
4480         * desktop.el (desktop-buffer-file): Restore major-mode if it is
4481         different from the normal mode.
4483 2003-04-10  Kenichi Handa  <handa@m17n.org>
4485         * international/mule.el:
4486         Set after-insert-file-adjust-coding-function to
4487         after-insert-file-set-buffer-file-coding-system instead of adding
4488         it to after-insert-file-functions.
4490         * language/ind-util.el (indian-2-column-to-ucs-region): Fix for
4491         the case of replacing multibyte characters.
4493 2003-04-09  Richard M. Stallman  <rms@gnu.org>
4495         * files.el (file-chase-links): Fix previous change.
4497 2003-04-09  Juanma Barranquero  <lektu@terra.es>
4499         * frame.el (new-frame): Add obsolescence declaration.
4501 2003-04-09  Ehud Karni  <ehud@unix.mvs.co.il>
4503         * frame.el (set-frame-font): Allow keeping frame size after
4504         changing font.
4505         (modify-all-frames-parameters): New function to change parameters
4506         in all existing and future frames.
4508 2003-04-09  Thien-Thi Nguyen  <ttn@gnu.org>
4510         * man.el (Man-heading-regexp): Accept hyphen.
4512 2003-04-09  Kenichi Handa  <handa@m17n.org>
4514         * international/fontset.el: Specify rescale ratio 1.3 for CDAC fonts.
4516         * international/mule-conf.el: Register ?\221 and ?\226 in
4517         latin-extra-code-table.
4519 2003-04-08  Richard M. Stallman  <rms@gnu.org>
4521         * subr.el (minor-mode-list): New variable.
4522         (add-minor-mode): Add to it.
4524         * files.el (file-chase-links): New arg LIMIT.
4525         After that many iterations, just return what we've got.
4527         * map-ynp.el (map-y-or-n-p): When formatting chars in ACTION-ALIST,
4528         use single-key-description.
4530         * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
4531         At end of buffer, just call `newline'.
4533         * mail/rmailsum.el (rmail-make-basic-summary-line): If there's
4534         no From field, still try to use the To field.
4536 2003-04-09  Kenichi Handa  <handa@m17n.org>
4538         * international/mule-diag.el (print-coding-system-briefly):
4539         If DOC-STRING is `tightly', print the doc-string tightly.
4540         (list-coding-systems-1): Sort coding systems.
4541         Call print-coding-system-briefly with the arg DOC-STRING `tightly'.
4543 2003-04-08  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
4545         * net/tramp.el: Version 2.0.33 released.
4546         Change coding cookie to `iso-2022-7bit' for XEmacs
4547         compatibility.  (From Steve Youngs <youngs@xemacs.org>.)
4549 2003-04-08  Michael Albinus  <Michael.Albinus@alcatel.de>
4551         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
4552         Do not disable file name handlers for `file-exists-p' and
4553         `file-directory-p'.
4555 2003-04-08  Kenichi Handa  <handa@m17n.org>
4557         * international/mule-conf.el: Register ?\225 in latin-extra-code-table.
4559         * international/utf-16.el (utf-16-le-decode-loop)
4560         (utf-16-be-decode-loop): New temporary variables.
4561         (ccl-decode-mule-utf-16-le): Use utf-16-le-decode-loop.
4562         (ccl-decode-mule-utf-16-be): Use utf-16-be-decode-loop
4563         (ccl-decode-mule-utf-16-le-with-signature)
4564         (ccl-decode-mule-utf-16-be-with-signature)
4565         (ccl-decode-mule-utf-16): New CCL programs.
4566         (utf-16-le-encode-loop, utf-16-be-encode-loop): New temporary
4567         variables.
4568         (ccl-encode-mule-utf-16-le): Use utf-16-le-encode-loop.
4569         (ccl-encode-mule-utf-16-be): Use utf-16-be-encode-loop
4570         (ccl-encode-mule-utf-16-le-with-signature)
4571         (ccl-encode-mule-utf-16-be-with-signature): New CCL programs.
4572         (mule-utf-16-post-read-conversion): New function.
4573         (mule-utf-16-le-with-signature, mule-utf-16-be-with-signature),
4574         (mule-utf-16): New coding systems.
4575         (utf-16-le-with-signature, utf-16-be-with-signature),
4576         (utf-16): Aliases of the above coding systems.
4578 2003-04-08  Martin Stjernholm  <bug-cc-mode@gnu.org>
4580         * progmodes/cc-langs.el (c-symbol-key): Use POSIX char classes
4581         to match symbols.  This makes CC Mode cope with the full range
4582         of identifier characters in e.g. Java.
4584 2003-04-07  Francesco Potort\e,Al\e(B  <pot@gnu.org>
4586         * xt-mouse.el (xterm-mouse-event-read): New function.
4587         (xterm-mouse-event): Use it to get xterm sequences above #x7f.
4588         Suggested by Aman Bhargava <emacs-bug@amanb.net>.
4590 2003-04-07  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
4592         * man.el (Man-getpage-in-background): Set GROFF_NO_SGR env var in
4593         all cases, whether or not start-process is fboundp.
4595 2003-04-06  Richard M. Stallman  <rms@gnu.org>
4597         * calendar/cal-menu.el (cal-menu-update): Use easy-menu-create-menu
4598         rather than easy-menu-change.
4600         * dired.el (dired-view-file): Let viewer program run asynchronously.
4602 2003-04-06  Ben North  <ben@redfrontdoor.org>  (tiny change)
4604         * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
4605         Correct the starting point for previous-single-property-change.
4607 2003-04-06  Lars Hansen  <larsh@math.ku.dk>
4609         * desktop.el: Handle multiple desktop files in different dirs.
4610         Other cleanups.
4611         Command line option --no-desktop introduced.
4612         (desktop-read): Record buffers in the desktop file in
4613         the same order as that in the buffer list,
4614         (desktop-save): Put buffers in the order given in desktop file,
4615         regardless of what handlers do.
4616         (desktop-file-version): New variable. Version number of desktop
4617         file format.
4618         (desktop-create-buffer-form): Variable deleted.
4619         (desktop-save): New customizable variable.
4620         (desktop-kill): Use `desktop-save'.
4621         (desktop-file-name-format): New option: format in
4622         which desktop file names should be saved.
4623         (desktop-file-name): New function to convert a filename to the
4624         format specified in `desktop-file-name-format'.
4625         (desktop-create-buffer): Parameters renamed to descriptive
4626         systematic names. These parameters are visible to handlers.
4627         Renames:
4628         ver    -> desktop-file-version
4629         mim    -> desktop-buffer-minor-modes
4630         pt     -> desktop-buffer-point
4631         mk     -> desktop-buffer-mark
4632         ro     -> desktop-buffer-read-only
4633         locals -> desktop-buffer-locals
4634         (desktop-buffer-major-mode, desktop-buffer-file-name)
4635         (desktop-buffer-name): Delete unused customizable variables.
4636         (desktop-buffer-misc): Delete unused variable.
4637         (desktop-save, desktop-buffer-dired-misc-data):
4638         Use `desktop-file-name'.
4639         (desktop-path): New customizable variable.  List of directories in
4640         which to lookup the desktop file.  Replaces hardcoded list.
4641         (desktop-globals-to-clear): New variable replaces hardcoded list.
4642         (desktop-clear-preserve-buffers-regexp): New customizable variable.
4643         (desktop-after-read-hook): New hook run after a desktop is read.
4644         (desktop-no-desktop-file-hook): New hook when no desktop file found.
4645         (desktop-change-dir): New function.
4646         (desktop-save-in-load-dir): New function.  Save desktop in
4647         directory from which it was loaded.
4648         (desktop-revert): New function. Revert to the last loaded desktop.
4650 2003-04-06  Masatake YAMATO  <jet@gyve.org>
4652         * progmodes/etags.el (tag-find-file-of-tag): Renamed from
4653         find-file-of-tag to avoid name space pollution.
4654         (tag-find-file-of-tag-noselect): Likewise.
4655         (etags-list-tags, etags-tags-apropos):
4656         Use tag-find-file-of-tag instead of find-file-of-tag.
4658 2003-04-06  Masatake YAMATO  <jet@gyve.org>
4660         * info.el (Info-goto-emacs-command-node): If command
4661         is given as a string, convert it to a symbol.
4663 2003-04-05  Kevin Ryde  <user42@zip.com.au>
4665         * info-look.el (emacs-lisp-mode): Add prefix/suffix matching regexps.
4667 2003-04-05  Andre Spiegel  <spiegel@gnu.org>
4669         * vc-cvs.el (vc-cvs-get-entries): New function that uses the
4670         right coding system for accessing CVS/Entries.
4671         (vc-cvs-registered, vc-cvs-dir-state-heuristic): Use it.
4673 2003-04-04  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4675         * subr.el (number-sequence): Adjust code.
4677 2003-04-04  Stefan Monnier  <monnier@cs.yale.edu>
4679         * textmodes/refill.el (refill-fill-paragraph-at): Undo last fix.
4680         (refill-fill-paragraph-at): Don't skip prefix since markers work right.
4682         * textmodes/fill.el (fill-delete-newlines): Remove trailing whitespace.
4683         (fill-paragraph): Don't skip prefix now that markers work right.
4685 2003-04-04  John Paul Wallington  <jpw@gnu.org>
4687         * ibuffer.el (ibuffer-insert-filter-group): `help-echo' text
4688         property dynamically respects `tooltip-mode'.
4689         (define-ibuffer-column name): Likewise.
4691         * ibuf-ext.el (ibuffer-format-filter-group-data): Don't append "\n".
4693 2003-04-04  Masatake YAMATO  <jet@gyve.org>
4695         * progmodes/etags.el (find-file-of-tag-noselect, find-file-of-tag):
4696         New helper functions.
4697         (snarf-tag-function): Doc string is changed.  Explained about new
4698         optional argument, `use-explicit'.
4699         (etags-snarf-tag): Add one optional argument `use-explicit'.
4700         (file-of-tag-function): Doc string is changed.  Explained about new
4701         optional argument, `relative'.
4702         (file-of-tag): Doc string is changed.  Explained about new optional
4703         argument, `relative'.  Pass `relative' to `file-of-tag-function'.
4704         (etags-file-of-tag): Add new argument `relative`.
4705         (list-tags): Set `buffer-read-only' to t after making the major mode
4706         apropos-mode.
4707         (etags-list-tags): Use `make-text-button' instead of
4708         `add-text-properties'.  Used `snarf-tag-function',
4709         `goto-tag-location-function' and `find-file-of-tag' instead of
4710         `find-tag-other-window' (it's too simple).
4711         (find-tag-in-order): Use `find-file-of-tag-noselect' instead of
4712         `find-file'.
4713         (etags-tags-apropos): Use `find-file-of-tag-noselect' instead of
4714         `find-file'.  Do not use `etags-goto-tag-location` directly; use
4715         `goto-tag-location-function' instead.  Print relative file paths
4716         instead of complete ones in *Tags List* buffer, so lines in the
4717         buffer become shorter.
4718         (etags-tags-apropos-additional): Use `make-text-button' instead of
4719         `add-text-properties'.
4721 2003-04-04  Andreas Schwab  <schwab@suse.de>
4723         * net/tramp.el (tramp-send-string): Handle empty string.
4725 2003-04-03  Richard M. Stallman  <rms@gnu.org>
4727         * emacs-lisp/easymenu.el (easy-menu-define):
4728         Don't make a defvar for nil.
4729         (easy-menu-convert-item-1): Doc fix.
4730         (easy-menu-change): Call easy-menu-create-menu.
4732         * subr.el (read-quoted-char): Remember the input char
4733         before translation thru function-key-map, and use that for unreading.
4735         * shadowfile.el (shadow-parse-fullname):
4736         Renamed from shadow-parse-fullpath.
4737         (shadow-parse-name): Renamed from shadow-parse-path.
4738         (shadow-make-fullname): Renamed from shadow-make-fullpath.
4739         (shadow-replace-name-component): Was shadow-replace-path-component.
4740         Callers of the above functions changed.
4741         (shadow-expand-cluster-in-file-name): Doc fix.
4742         (shadow-same-site, shadow-file-match): Doc fix.
4743         (shadow-define-literal-group): Doc fix.
4745         * kmacro.el (kmacro-end-and-call-macro): Doc fix.
4747         * hexl.el (hexl-find-file): Ignore user's value of default-major-mode.
4749         * files.el (hack-local-variables-prop-line): New arg MODE-ONLY.
4750         (hack-local-variables): When MODE-ONLY is set, pass it along to
4751         hack-local-variables-prop-line.
4753         * delsel.el (delete-active-region): Don't explicitly deactivate mark.
4755 2003-04-03  Masatake YAMATO  <jet@gyve.org>
4757         * progmodes/etags.el: Require button.el.
4758         (etags-tags-apropos): Use `make-text-button' instead of
4759         `add-text-properties'.  Use `snarf-tag-function' and
4760         `etags-goto-tag-location' instead of `find-tag-other-window' (it's
4761         too simple).
4763         * man.el (Man-xref-header-file): Fix previous change.
4765 2003-04-03  Kenichi Handa  <handa@m17n.org>
4767         * subr.el (number-sequence): New function.
4769 2003-04-02  Ehud Karni  <ehud@unix.mvs.co.il>  (tiny change)
4771         * sort.el (sort-reorder-buffer): Fix saving of markers at the end
4772         of the sorted region.
4774 2003-04-02  Masatake YAMATO  <jet@gyve.org>
4776         * woman.el (woman-xref): Removed.
4777         (woman-mode): Use `Man-highlight-references' instead of
4778         `WoMan-highlight-references'.
4779         (WoMan-highlight-references): Removed.
4781         * man.el (toplevel): Require button.
4782         (Man-header-file-path): New option.
4783         (Man-synopsis-regexp, Man-files-regexp, Man-include-regexp)
4784         (Man-file-name-regexp, Man-normal-file-prefix-regexp)
4785         (Man-header-regexp, Man-normal-file-regexp): New variables.
4786         (Man-mode-map): Inherit from `button-buffer-map'.  Don't define
4787         "\r" and mouse-2 directly.  These key are defined in
4788         `button-buffer-map'.
4789         (Man-xref-man-page, Man-xref-header-file, Man-xref-normal-file):
4790         New buttons.  `Man-xref-man-page' comes from woman.el.
4791         (man-follow-mouse): Removed.
4792         (Man-fontify-manpage): Use `Man-highlight-references' instead of
4793         calling `add-text-properties' directly.
4794         (Man-highlight-references, Man-highlight-references0): New functions.
4795         (Man-view-header-file): New function.
4797 2003-04-02  Stefan Monnier  <monnier@cs.yale.edu>
4799         * textmodes/refill.el (refill-fill-paragraph-at): Don't preserve
4800         the trailing space since fill.el doesn't remove it anymore.
4801         (refill-mode): Reset fill-paragraph-function even if it was nil.
4803         * textmodes/fill.el (fill-region-as-paragraph):
4804         Don't remove space at end of paragraph: it makes refill.el unusable.
4805         Remove obsolete `save-restriction'.
4806         (fill-paragraph, fill-comment-paragraph): Don't add newline at EOP.
4807         (fill-delete-newlines): Don't add a trailing space.
4808         (fill-newline): Don't leave markers before the prefix.
4810         * progmodes/asm-mode.el (asm-calculate-indentation, asm-indent-line):
4811         New functions.
4812         (asm-mode): Use them in indent-line-function.
4813         Set tab-always-indent to nil to stay closer to previous tab behavior.
4814         Set comment-add.  Remove space at end of comment-add.
4815         (asm-newline): Obsolete.  Use newline-and-indent instead.
4816         (asm-mode-map): Remove TAB binding.
4817         (asm-code-level-empty-comment-pattern)
4818         (asm-flush-left-empty-comment-pattern)
4819         (asm-inline-empty-comment-pattern): Remove.
4820         (asm-comment): Use newcomment functions instead.
4821         (asm-colon): Don't tab if colon is not after a label.
4822         (asm-line-matches, asm-pop-comment-level): Remove.
4824 2003-04-02  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
4826         * emulation/crisp.el (top-level): Quote second arg to
4827         `eval-after-load'.
4829 2003-04-02  Miles Bader  <miles@gnu.org>
4831         * scroll-bar.el (scroll-bar-mode): Correctly specify `nil' choice.
4833 2003-04-01  Stefan Monnier  <monnier@cs.yale.edu>
4835         * progmodes/asm-mode.el (asm-mode-syntax-table): Setup entries
4836         that do not depend on asm-comment-char.
4837         (asm-mode-map): Declare and init at the same time.
4838         (asm-code-level-empty-comment-pattern)
4839         (asm-flush-left-empty-comment-pattern)
4840         (asm-inline-empty-comment-pattern): Use \s< so they do not depend
4841         on asm-comment-char.  Turn them into constants.
4842         (asm-mode): Simplify.
4843         (asm-line-matches): Remove unused arg.
4845 2003-04-01  Dave Love  <fx@gnu.org>
4847         * time.el: Doc fixes.
4848         (display-time-mail-face): Change :type and default to nil.
4849         (display-time-mail-icon): Use pbm, not xbm.
4850         (display-time-mail-string): New.
4851         (display-time-string-forms): Use display-time-mail-string.
4852         Add checks in display property.
4854 2003-04-01  Kenichi Handa  <handa@m17n.org>
4856         * language/indian.el (indian-font-char-index-table): Fix the
4857         order of CDAC fonts.
4859 2003-04-01  Kim F. Storm  <storm@cua.dk>
4861         * simple.el (pop-global-mark-quick-repeat): Remove defcustom.
4862         (set-mark-command): Unconditionally repeat pop-global-mark without
4863         C-x prefix.  Fix doc.
4865         * emulation/cua-base.el (cua-set-mark): Unconditionally repeat
4866         pop-global-mark without C-x prefix.  Fix doc.
4868 2003-03-31  Stefan Monnier  <monnier@cs.yale.edu>
4870         * reveal.el (reveal-post-command): Better error handling.
4872 2003-03-31  Nick Roberts  <nick@nick.uklinux.net>
4874         * gdb-ui.el (gdb-inferior-io-mode): Remove Unix pathname for cat
4875         so that it can run on NT also.
4877 2003-03-31  Masatake YAMATO  <jet@gyve.org>
4879         * progmodes/asm-mode.el (asm-mode): Support skipping C lang style
4880         comments.
4882         * bindings.el (mode-line-major-mode-keymap): New variable.
4883         (mode-line-minor-mode-help): New function, bound to
4884         mode-line-minor-mode-keymap.
4885         (mode-line-modes): Split mode-line-mode definitions to
4886         mode-name, mode-line-process and minor-mode-alist.
4887         For mode-name, mode-line-major-mode-keymap is used.
4889         * help.el (describe-minor-mode, describe-minor-mode-from-indicator)
4890         (lookup-minor-mode-from-indicator): New functions.
4892 2003-03-31  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
4894         * files.el (file-relative-name): Remove superfluous `and'.
4895         Clarify docstring.  From Lars Hansen.
4897 2003-03-31  Kenichi Handa  <handa@m17n.org>
4899         * international/utf-16.el (ccl-decode-mule-utf-16-le):
4900         Don't assume the signature bytes.
4901         (ccl-decode-mule-utf-16-be): Likewise.
4902         (ccl-encode-mule-utf-16-le): Don't produce the signature bytes.
4903         (ccl-encode-mule-utf-16-be): Likewise.
4905 2003-03-30  Kevin Ryde  <user42@zip.com.au>
4907         * info-look.el (sh-mode): Add doc-specs for commands and variables.
4909 2003-03-29  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
4911         * international/utf-8.el (utf-translate-cjk-mode): Minor mode,
4912         replaces variable utf-translate-cjk which must be set via Custom.
4914         * files.el (file-relative-name): If FILENAME and DIRECTORY are on
4915         different drives (on DOS/Windows) or use different handlers, do
4916         like `expand-file-name' on FILENAME and return an absolute name.
4917         From Lars Hansen <larsh@math.ku.dk>.
4919         * tramp.el: Version 2.0.31 released.
4920         (tramp-handle-expand-file-name): Do not allow ".." to
4921         cross file handler boundaries, so that "/user@host:/../foo"
4922         expands to itself, rather than "/foo".  This is intended to work
4923         in conjunction with a change in `file-relative-name' which makes
4924         sure to use absolute file names if FILE and DIRECTORY have
4925         different handlers.
4926         (tramp-handle-insert-directory): Comment out XEmacs
4927         kludge.  Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
4929 2003-03-29  Michael Albinus  <Michael.Albinus@alcatel.de>
4931         * trampver.el: New file, to support Autoconf in Tramp CVS repository.
4932         * tramp.el (tramp-version, tramp-bug-report-address): Move to
4933         trampver.el, which is required now.
4934         (tramp-chunksize): Type can be nil as well.
4935         Reported by Markus Rost <rost@math.ohio-state.edu>.
4936         * tramp-smb.el (tramp-smb-read-file-entry): Make reading size of a
4937         listing entry more robust.  Ranges from 10 chars (Samba 1) to 7-9
4938         chars (Samba 2).
4940 2003-03-29  John Paul Wallington  <jpw@gnu.org>
4942         * international/mule.el (with-category-table): Use `make-symbol'
4943         to avoid variable capture.  Set table within `unwind-protect'.
4944         Ensure table is restored in correct buffer.  Add docstring.
4946 2003-03-29  Kenichi Handa  <handa@m17n.org>
4948         * language/japan-util.el: If system-type is not for Windows,
4949         prefer japanese-iso-8bit.
4951 2003-03-28  Sudish Joseph  <sudish@corp.earthlink.net>  (tiny change)
4953         * term/mac-win.el (iconify-or-deiconify-frame): Define for
4954         compatibility with packages that use it.
4956 2003-03-28  Lute Kamstra  <Lute.Kamstra@cwi.nl>
4958         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer):
4959         Fix docstring.
4960         (checkdoc-interactive, checkdoc-message-interactive): Make them
4961         perform spell checking when appropriate.
4962         (checkdoc-interactive-loop): Fix docstring and a few typos.
4963         (checkdoc-interactive-ispell-loop)
4964         (checkdoc-message-interactive-ispell-loop): New functions.
4965         (checkdoc-next-error): Fix docstring.
4966         (checkdoc-this-string-valid-engine): Fix typo.
4967         (checkdoc-ispell-docstring-engine): Do test for
4968         checkdoc-autofix-flag = nil.
4970 2003-03-28  Jonathan Yavner  <jyavner@engineer.com>
4972         * emacs-lisp/testcover.el (testcover-mark-all): Handle screwy
4973         top-level macros that put functions as properties.
4974         (testcover-mark): No error for functions that just return a constant.
4976 2003-03-27  Andreas Schwab  <schwab@suse.de>
4978         * vc-cvs.el (vc-cvs-parse-entry): Make sure a file with conflicts
4979         is marked as edited.
4981 2003-03-26  Kenichi Handa  <handa@m17n.org>
4983         * files.el (recode-file-name): New function.
4985         * international/characters.el: Setup categories for Indian characters.
4987 2003-03-26  Steve Youngs  <youngs@xemacs.org>
4989         * em-unix.el (eshell-plain-locate-behavior): Make the default
4990         nil on Emacs, t on XEmacs.
4992 2003-03-25  Stefan Monnier  <monnier@cs.yale.edu>
4994         * emacs-lisp/byte-opt.el (byte-optimize-set): New.
4995         Turn `set' into `setq' when applicable.
4997 2003-03-24  Stefan Monnier  <monnier@cs.yale.edu>
4999         * emacs-lisp/easy-mmode.el (define-minor-mode): Pass unknown keyword
5000         args blindly to defcustom.  Use custom-set-minor-mode.
5002 2003-03-24  Kim F. Storm  <storm@cua.dk>
5004         * simple.el: Rework last change so C-x C-SPC C-SPC does not
5005         repeat pop-global-mark by default.
5006         (pop-global-mark-quick-repeat): New user option.
5007         (set-mark-command): Use it.
5009         * emulation/cua-base.el (cua-set-mark):
5010         Check pop-global-mark-quick-repeat.
5012 2003-03-24  John Paul Wallington  <jpw@gnu.org>
5014         * emacs-lisp/easymenu.el (easy-menu-add-item): Don't default to
5015         the global map.
5017         * emerge.el (emerge-show-file-name): Read event irrespective of
5018         whether minibuffer window is resized.  Clear minibuffer when done.
5020         * cus-theme.el (customize-create-theme): Rename from
5021         `custom-theme-create'.
5023 2003-03-24  Luc Teirlinck  <teirllm@mail.auburn.edu>
5025         * cus-edit.el (custom-mode): Make `custom-local-buffer' local.
5027 2003-03-23  Peter Breton  <pbreton@attbi.com>
5029         * net/net-utils.el (dns-lookup-host): New function.
5031 2003-03-23  Martin Stjernholm  <bug-cc-mode@gnu.org>
5033         * progmodes/cc-mode.el (c-parse-state): Add kludge to avoid
5034         an infinite loop when Emacs' open-paren-in-column-zero rule
5035         kicks in and causes the sexp functions to misbehave.
5037 2003-03-22  Peter Breton  <pbreton@cs.umb.edu>
5039         * filecache.el (file-cache-add-directory-recursively)
5040         (file-cache-complete, file-cache-display): New functions.
5042         * generic-x.el (etc-modules-conf-generic-mode): New generic mode.
5043         (rul-generic-mode): Bugfixes by Rolf.Sandau@marconi.com.
5045         * dirtrack.el (dirtrack-cygwin-directory-function): New function.
5046         Remove timestamp.
5048 2003-03-22  Kim F. Storm  <storm@cua.dk>
5050         * ido.el (ido-mode): Remove unused NOBIND arg.  Fix doc string
5051         accordingly.
5052         (ido-define-mode-map): Bind C-l for both file and dir modes.
5053         (ido-wide-find-file, ido-wide-find-dir, ido-make-directory):
5054         Let-bind enable-recursive-minibuffers to t around read-string.
5056 2003-03-22  Kenichi Handa  <handa@m17n.org>
5058         * international/fontset.el (setup-default-fontset):
5059         Use indian-font-char-range for specifying ranges of indian-glyph
5060         chars.  Setup for AKRUTI fonts.
5062         * language/indian.el (indian-font-foundry): New variable.
5063         (indian-script-language-alist): New variable.
5064         (indian-font-char-index-table): New variable.
5065         (indian-font-char): New function.
5066         (indian-font-char-range): New function.
5067         (font-ccl-encoder-alist): Add entry for AKRUTI font.
5069 2003-03-22  Kim F. Storm  <storm@cua.dk>
5071         * progmodes/cperl-mode.el (cperl-electric-backspace):
5072         Add delete-selection property.
5074         * simple.el (set-mark-command): Doc fixes.
5075         Allow pop-global-mark to be repeated with C-x C-SPC C-SPC...
5076         C-u C-u C-SPC now unconditionally sets the mark.
5078         * emulation/cua-base.el (cua-set-mark): Doc fixes.
5079         Allow pop-global-mark to be repeated with C-x C-SPC C-SPC...
5080         C-u C-u C-SPC now unconditionally sets the mark.
5082 2003-03-20  Mark A. Hershberger  <mah@everybody.org>
5084         * xml.el (xml-parse-attlist): Fix typo in attribute parsing.
5086 2003-03-20  Kenichi Handa  <handa@m17n.org>
5088         * international/utf-8.el (ccl-decode-mule-utf-8): Fix a bug in
5089         handling invalid 5 to 6 bytes sequence.
5091 2003-03-19  Simon Marshall  <simon@gnu.org>
5093         * progmodes/make-mode.el (makefile-font-lock-syntactic-keywords):
5094         New variable.
5095         (makefile-mode): Use it for value of font-lock-syntactic-keywords.
5097 2003-03-19  John Paul Wallington  <jpw@gnu.org>
5099         * cus-theme.el (custom-theme-create): Add autoload cookie.
5101 2003-03-19  Kenichi Handa  <handa@m17n.org>
5103         * dired.el (dired-get-filename): Pay attention to the case that
5104         `read' returns a unibyte string.  Don't encode the file name by
5105         buffer-file-coding-system.
5107 2003-03-18  Kenichi Handa  <handa@m17n.org>
5109         * language/european.el ("Latin-6"): Fix input-method.
5110         ("Latin-7"): Fix input-method.
5112         * international/utf-8.el (utf-fragment-on-decoding):
5113         Don't call register-char-codings.
5114         (utf-fragment-on-decoding): Don't update char-coding-system-table.
5115         (utf-translate-cjk): Don't call register-char-codings nor
5116         optimize-char-coding-system-table.  Don't update
5117         char-coding-system-table.
5119         * international/ucs-tables.el (ucs-unify-8859): Don't call
5120         register-char-codings.
5121         (ucs-unify-8859): Don't call optimize-char-coding-system-table.
5122         (ucs-fragment-8859): Don't update char-coding-system-table.
5123         Don't call register-char-codings nor optimize-char-coding-system-table.
5125         * international/mule.el (optimize-char-coding-system-table):
5126         Remove this function.
5127         (register-char-codings): Make it obsolete.
5128         (char-coding-system-table): Defconst it here.
5129         (make-coding-system): Don't call register-char-codings, call
5130         define-coding-system-internal.
5132         * international/mule-conf.el (no-conversion):
5133         Call define-coding-system-internal on this coding system instead of
5134         calling register-char-codings.
5136         * international/mule-cmds.el (find-coding-systems-for-charsets):
5137         Use find-coding-systems-string instead of looking up
5138         char-coding-system-table.
5140         * international/code-pages.el (cp-fix-safe-chars): Make it obsolete.
5141         (cp-make-coding-system): Don't call cp-fix-safe-chars.
5143 2003-03-18  Stefan Monnier  <monnier@cs.yale.edu>
5145         * startup.el (command-line-1): Use command-execute for any command.
5147 2003-03-17  Stefan Monnier  <monnier@cs.yale.edu>
5149         * buff-menu.el (list-buffers-noselect): Use the display property
5150         to properly align header-line text with the buffer's contents.
5152 2003-03-17  Kenichi Handa  <handa@m17n.org>
5154         * international/mule.el (ctext-post-read-conversion): Convert the
5155         search pattern to multibyte by string-to-multibyte.
5157 2003-03-16  Deepak Goel  <deego@gnufans.org>
5159         * calc/calc-forms.el (math-tzone-names): Introduce UTC as an alias
5160         for GMT.  Suggested by bob@rattlesnake.com.
5162 2003-03-15  Stefan Monnier  <monnier@cs.yale.edu>
5164         * pcvs.el (cvs-mode!): Remove unused argument.
5166         * emacs-lisp/easymenu.el (easy-menu-name-match): Catch any error
5167         that member-ignore-case might signal.
5168         (easy-menu-add-item): Default to the global map, as documented.
5169         (easy-menu-convert-item-1): Use match-string.
5171 2003-03-15  Mark A. Hershberger  <mah@everybody.org>
5173         * xml.el (xml-ucs-to-string): New function to convert Unicode
5174         codepoints to strings.  Uses decode-char (mule.el) if available.
5175         (xml-parse-tag, xml-parse-attlist, xml-skip-dtd, xml-parse-dtd)
5176         (xml-parse-elem-type): Use ' \t\n\r' instead of '[:space:]'.
5177         (xml-parse-attlist): Add attribute normalization.
5178         (xml-parse-tag): Replace "\r\n" and "\r" with "\n".
5180 2003-03-14  John Paul Wallington  <jpw@gnu.org>
5182         * files.el (recover-session): Error if there are no previous
5183         sessions to recover.
5185         * subr.el (posn-col-row): Simplify.
5187         * arc-mode.el (archive-subtype, archive-file-list-start)
5188         (archive-file-list-end, archive-proper-file-start)
5189         (archive-read-only, archive-local-name, archive-mode-map)
5190         (archive-file-name-indent, archive-remote)
5191         (archive-alternate-display, archive-superior-buffer)
5192         (archive-subfile-mode): Doc fixes.
5194 2003-03-14  Stefan Monnier  <monnier@cs.yale.edu>
5196         * indent.el (indent-for-tab-command): If tab-always-indent is non-nil
5197         and the user hits TAB a second time, just insert a tab.
5199         * textmodes/texinfo.el (texinfo-outline-level): Remove.
5200         (texinfo-mode): Set outline-heading-alist instead.
5201         (texinfo-section-list): Reorder for the needs of outline-heading-alist.
5202         (texinfo-insert-block): Don't cons needlessly.
5203         (texinfo-enable-quote-macros, texinfo-enable-quote-envs): New vars.
5204         (texinfo-insert-quote): Use them.
5206         * textmodes/outline.el (outline-level): Demote it to defvar.
5207         (outline-heading-alist): Document extended semantics.
5208         (outline-head-from-level): New fun.
5209         (outline-promote, outline-demote): Use it.
5210         (outline-show-heading): New fun.
5211         (hide-sublevels, show-children):
5212         Use it together with outline-map-region.
5213         (outline-get-next-sibling): Don't call outline-level at eob.
5215 2003-03-14  Simon Josefsson  <jas@extundo.com>
5217         * fringe.el (fringe-mode): Autoload so that
5218         Options->Show/Hide->Fringe->Customize works.
5220 2003-03-13  Stefan Monnier  <monnier@cs.yale.edu>
5222         * textmodes/outline.el (outline-mode-menu-bar-map): Add entries.
5223         (outline-mode-prefix-map): Match new bindings to those of allout.
5224         (outline-map-region): New fun.
5225         (outline-map-tree): Remove.
5226         (outline-promote, outline-demote): Apply to region if active.
5227         Change the default to apply to the subtree.
5228         (outline-move-subtree-up, outline-move-subtree-down): New funs.
5229         (outline-invisible-p): Add optional `pos' argument.
5230         (outline-next-visible-heading, outline-toggle-children): Use it.
5231         (outline-get-next-sibling): Don't call outline-level at eob.
5233         * custom.el (custom-set-minor-mode): New fun.
5235 2003-03-13  Dave Love  <fx@gnu.org>
5237         * international/latin1-disp.el (ucs-tables): Don't require.
5238         (latin1-display-face): New.
5239         (latin1-display-char): Use it.
5241 2003-03-13  Kenichi Handa  <handa@m17n.org>
5243         * international/mule-cmds.el (reset-language-environment):
5244         Set default-file-name-coding-system to iso-latin-1.
5246         * language/european.el (iso-latin-1): Definition of this coding
5247         system moved to mule-conf.el.
5249         * international/mule-conf.el (iso-latin-1): Moved from
5250         european.el.
5252         * term/x-win.el (x-select-text): Don't set a text containing
5253         eight-bit-control/graphic into the cut buffer.
5255 2003-03-12  Kenichi Handa  <handa@m17n.org>
5257         * files.el (insert-directory): Decode by what specified.
5259         * language/japan-util.el (setup-japanese-environment-internal):
5260         By defalt, use japanese-iso-8bit for file names, and prefer
5261         japanese-shift-jis on DOS and Windows.
5263         * international/quail.el (quail-show-guidance-buf): Make the quail
5264         guidance buffer inherit the current value of quail-current-package.
5266         * international/utf-8.el (ccl-decode-mule-utf-8): Don't lose bytes
5267         on handling an invalid byte sequence.
5269 2003-03-11  Jason Rumney  <jasonr@gnu.org>
5271         * files.el (auto-mode-alist): Add .xsl for sgml-mode.
5273 2003-03-11  Mark A. Hershberger  <mah@everybody.org>
5275         * xml.el (xml-skip-dtd): Fix parsing of DOCTYPE.
5277 2003-03-11  John Paul Wallington  <jpw@gnu.org>
5279         * subr.el (posn-col-row): Heed frame parameter `line-spacing' and
5280         `default-line-spacing', rather than buffer-local `line-spacing'.
5282 2003-03-10  Per Abrahamsen  <abraham@dina.kvl.dk>
5284         * cus-edit.el (customize-rogue): New command.
5286 2003-03-10  Andreas Schwab  <schwab@suse.de>
5288         * info.el (Info-extract-menu-node-name)
5289         (Info-following-node-name): Revert last change.
5291 2003-03-10  Thien-Thi Nguyen  <ttn@gnu.org>
5293         * progmodes/scheme.el (scheme-mode-syntax-table):
5294         Construct w/o using `with-syntax-table'.
5296 2003-03-10  John Paul Wallington  <jpw@gnu.org>
5298         * subr.el (posn-col-row): Take into account `line-spacing'.
5300         * ebuff-menu.el (electric-buffer-update-highlight): Do nothing
5301         if major mode isn't `Electric-buffer-menu-mode'.
5303         * term/x-win.el (vendor-specific-keysyms)
5304         (x-last-selected-text-primary): Doc fixes.
5305         (x-win-suspend-error): Use proper noun in error message.
5307 2003-03-09  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
5309         * man.el (Man-getpage-in-background): Always use `setenv' for
5310         environment variables, instead of modifying process-environment
5311         directly.  The previous version let-bound process-environment --
5312         the let-binding is skipped for GROFF_NO_SGR because there is
5313         already a let-binding in effect in some outer scope.
5315         * emulation/crisp.el (top-level): Interoperate with cua.
5317 2003-03-08  Kim F. Storm  <storm@cua.dk>
5319         * emulation/cua-base.el: Provide `cua' feature.
5321 2003-03-08  Juanma Barranquero  <lektu@terra.es>
5323         * emulation/cua-base.el (cua--standard-movement-commands):
5324         Fix docstring.
5326 2003-03-07  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
5328         * man.el (Man-getpage-in-background): Only change
5329         default-directory if necessary.
5331 2003-03-07  Andreas Schwab  <schwab@suse.de>
5333         * info.el (Info-following-node-name): Skip trailing period.
5334         (Info-extract-menu-node-name): Allow period in node name.
5336 2003-03-07  Kevin Rodgers  <kevin.rodgers@ihs.com>
5338         * dired-x.el (dired-guess-shell-case-fold-search): New user option.
5339         (dired-guess-default): Use it.
5341 2003-03-07  Thien-Thi Nguyen  <ttn@gnu.org>
5343         * progmodes/dcl-mode.el (dcl-font-lock-keywords): New var.
5344         (dcl-font-lock-defaults): New var.
5345         (dcl-mode): Make and init local var `font-lock-defaults'.
5347 2003-03-06  Kevin Rodgers  <kevin.rodgers@ihs.com>
5349         * ffap.el (dired-at-point): Check whether the user can create a
5350         directory before asking about creating it.
5352 2003-03-06  John Paul Wallington  <jpw@gnu.org>
5354         * ebuff-menu.el (electric-buffer-list):
5355         Respect `Buffer-menu-use-header-line'.
5356         (electric-buffer-menu-looper): Likewise.
5358         * buff-menu.el (Buffer-menu-mode-map): Add docstring.
5359         (Buffer-menu-buffer): Fix indentation.
5360         (list-buffers-noselect): Calculate header-line spacing to take
5361         into account width of left fringe and left scrollbar.
5363 2003-03-05  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5365         * ps-print.el (ps-print-version): New version number (6.6).
5366         (ps-begin-job): If background and foreground color are the same, give
5367         an error.
5368         (ps-default-fg, ps-default-bg): Better doc.
5369         (ps-rgb-color): Became a defun, check RGB value list.
5370         (ps-default-background): New internal var.
5371         (ps-begin-file): Code fix.
5373 2003-03-05  Richard M. Stallman  <rms@gnu.org>
5375         * replace.el (query-replace-read-args): Use save-excursion.
5376         (map-query-replace-regexp): Use prefix-numeric-value.
5378 2003-03-05  Juanma Barranquero  <lektu@terra.es>
5380         * term/w32-win.el (x-handle-geometry): Put sizes on
5381         `initial-frame-alist' too.
5383         * startup.el (command-line-x-option-alist): Make --border-color set
5384         the border-color frame parameter, not border-width.
5386         * faces.el (frame-set-background-mode): Fix reference to attribute
5387         "backgroundMode".
5389 2003-03-05  Reto Zimmermann  <reto@gnu.org>
5391         * progmodes/vhdl-mode.el: Version 3.32.12 released.
5392         Modifications for displaying all projects in hierarchy browser and case
5393         insensitive hierarchy browsing.  Change Rod's email address.
5394         Include `itimer.el' patch for XEmacs.  Backquote fix.  Change some
5395         documentation strings.  Add "ERROR: " prefix to all error
5396         messages.  Enhanced usage of hideshow.
5397         (vhdl-in-literal): Remove unused argument LIM.
5398         (vhdl-compiler-alist): Enhance customization for compilers; add
5399         "Speedwave", "Simili", "Synopsys Design Compiler", "Cadence NC",
5400         "Savant", "ProVHDL" and "VeriBest" compilers.
5401         Add new error message syntax for Modelsim.
5402         Add Synplify, column no in error regexp.
5403         Include library name in library command.
5404         Add unit-to-file name mapping for Savant.
5405         Add library option in Makefile generation command.
5406         Add command to create library directory.
5407         Built-in Makefile generation is always default.
5408         (vhdl-create-mode-menu): Split menues for compilers, projects, models.
5409         Add customization for `global-font-lock-mode'.
5410         Fix `customize-group' entries for XEmacs and
5411         change "Gen." to "Generate".  Get *Messages* buffer.
5412         Fix "Auto Load Setup File" menu entry.
5413         Add faces customization to "Options".  Add "Options" entry.
5414         Include `speedbar-indentation-width'.
5415         (vhdl-replace-string): Allow casing (use `vhdl-file-name-case').
5416         (vhdl-template-exit, vhdl-template-next, vhdl-template-return):
5417         Fix template abortion.
5418         (vhdl-speedbar-port-copy): Add subprogram copy; copy port of component
5419         in package.
5420         (vhdl-fixup-whitespace-region): No whitespace after '(' and before ')'.
5421         Better treat comments and strings.  Fix "=> ," alignment.
5422         (vhdl-port-paste-testbench): Print file names created.
5423         Better handling when file exist/open.  Additional comments in code.
5424         Replace keywords in testbench entity and architecture file headers.
5425         Adjust case in testbench configuration.
5426         (vhdl-port-paste-instance): Special case: no number in instance name.
5427         (vhdl-speedbar-expand-units): Fix speedbar frame switching oddity.
5428         (vhdl-font-lock-keywords-2): Enhance highlighting of instantiation;
5429         highlight instantiations without map.
5430         Highlight quantity declaration names.  Highlight formal parameters.
5431         Fix label highlighting for signal asst.
5432         (vhdl-mode): `comment-padding' for Emacs 21 only.
5433         Remove forced `turn-on-font-lock'.
5434         Remove `hippie-expand-only-buffers' setting.
5435         Update online documentation and web address.
5436         (vhdl-comment-uncomment-region): Remove usage of `commend-dwim' again.
5437         Change ARG for uncommenting.
5438         (vhdl-speedbar-make-*-line): Fix for displaying XEmacs speedbar images.
5439         (vhdl-fontify-buffer): Toggle font-lock-mode for better recovery.
5440         (vhdl-port-list): Add context clause.
5441         (vhdl-port-paste-signals): Include direction comments.
5442         (vhdl-testbench-declarations, vhdl-testbench-statements): New default.
5443         (vhdl-port-*): Include name in status messages.
5444         (vhdl-package-alist): Scan for and display subprogram body.
5445         Change key to lower case, add original case identifier.
5446         Scan for packages used by package body.
5447         (vhdl-speedbar-find-file): Always jump to design unit if buffer open.
5448         (vhdl-speedbar-insert-hierarchy): Mark non-existing entities/packages.
5449         Message "No VHDL design units!".
5450         (vhdl-compile-init): Allow fourth element (column no) in error regexp.
5451         Fix `nconc' bug.  Eliminate redundant regexps.
5452         (vhdl-minibuffer-tab): No indentation.
5453         Use `hippie-expand-only-buffers' to take
5454         expansions from VHDL buffers only; don't overwrite non-nil default of
5455         `hippie-expand-only-buffers'; check whether
5456         `hippie-expand-only-buffers' is bound.
5457         (vhdl-ams-types, vhdl-ams-enum-values): Add identifiers from
5458         `nature_pkg' package.
5459         (vhdl-align-alist): Fix "when/else ... =>" case.
5460         Align declaration keywords only at beg. of line.
5461         Align <=, := and == among each other.
5462         (vhdl-port-copy): Extended identifiers for signal names.
5463         Fix on empty generic/port clause.
5464         Fix parsing of comment on first line.
5465         Allow generic clause begin on first line.
5466         Add "inout" and "linkage" to direction modes.
5467         (vhdl-font-lock-function-face): Change DarkCyan to Cyan4.
5468         (vhdl-file-header): Insert VHDL language standard string.
5469         (vhdl-instance-name): Unique numbers in instance names.
5470         (vhdl-compile): Check for existing compile directory.
5471         Print out file name if compiler does not; put it in
5472         quotes if contains spaces.  Check compiler name.
5473         (vhdl-compiler): Change empty value from "" to nil.
5474         (vhdl-make): Check for existing compile directory.
5475         Fix missing options if there is a target.  Check compiler name.
5476         (vhdl-template-field): Fix case on all VHDL words.
5477         (vhdl-template-others): Re-electrified "others".
5478         (vhdl-speedbar-expand-architecture): Give user control over displayed
5479         hierarchy depth.
5480         (vhdl-project-alist): Insert library name in Makefile name.
5481         Sources exclude regexp.  Add file-specific compile exceptions.
5482         Enhance customization of projects.
5483         (vhdl-get-hierarchy): Include configurations in hierarchy list.
5484         Fix bug with configurations.
5485         Consider configurations; also at lower levels.
5486         (vhdl-speedbar-item-info): Enhance displaying.
5487         (vhdl-scan-file-contents): Fix skipping of comments in scanning.
5488         Sources exclude regexp.
5489         Allow comment lines in instantiations.
5490         Fix used packages in package body scanning.
5491         Allow code before first block configuration.
5492         Scan also for "is" keyword of design units.
5493         Scan configuration specification.
5494         Clear directory alists first.
5495         Consistency check.
5496         Check for multiply scanned design units.
5497         Scan components/subprograms in package.
5498         Scan library clauses and subconfigurations.
5499         Limit file size for scanning.
5500         (vhdl-entity-alist): Change key to lower case, add original case
5501         identifier.
5502         (vhdl-electric-tab): Not overwrite non-nil default of
5503         `hippie-expand-only-buffers'.
5504         (vhdl-electric-tab): Check whether `hippie-expand-only-buffers' is
5505         bound; use it to take expansions from VHDL buffers only.
5506         (vhdl-electric-tab): Toggle comment indent.
5507         (vhdl-generate-makefile): Check compiler name.
5508         Add library option in Makefile generation command.
5509         (vhdl-generate-makefile): Add dependencies for components in package.
5510         (vhdl-template-elsif): No expansion in concurrent part (except AMS).
5511         (vhdl-insert-string-or-file): Resolve environment variables.
5512         (vhdl-insert-string-or-file): Fix NTEmacs `file-exists-p' problem.
5513         (vhdl-submit-bug-report): Prompt for summary.
5514         (vhdl-resolve-paths): Rearrange environment variable resolution.
5515         (vhdl-scan-project-contents): Rearrange environment variable
5516         resolution.
5517         (vhdl-scan-project-contents): Allow absolute paths.
5518         (vhdl-doc-coding-style): Update RMM URL.
5519         (vhdl-end-of-leader): Consider "is" keyword in VHDL'93.
5520         (vhdl-model-insert): Replace header prompts too.
5521         (vhdl-template-header): New argument `is-model'.
5522         (vhdl-template-generate-body): Remove "begin" for VHDL'93.
5523         (vhdl-actual-port-name): Change default value (no "_i" extension).
5524         (vhdl-template-modify): Delete date instead of kill.
5525         (vhdl-get-source-files): Don't match source files beginning with ".".
5526         (vhdl-project-*-alist): Merge with variables `vhdl-*-alist'.
5527         (vhdl-speedbar-*): Many enhancements and fixes in hierarchy browser.
5528         (vhdl-speedbar-expand-*): Display used packages.
5529         (vhdl-sequential-statement-p): Better algorithm.
5530         (vhdl-electric-mode, vhdl-stutter-mode): Change key bindings.
5531         (vhdl-electric-...): No stuttering within literals.
5532         (vhdl-template-footer): Replace keywords in footer as in header.
5533         (vhdl-align-...): Enhance alignment, add progress reporting.
5534         (vhdl-beautify-region): Bug fix.
5535         (vhdl-comment-insert-inline): Remove wrapping to next line if too long.
5536         (vhdl-testbench-configuration-name)
5537         (vhdl-update-sensitivity-list-buffer): Fix starting cursor position.
5538         (vhdl-prepare-search-[12]): Fix search within hidden code.
5539         (vhdl-speedbar-jump-to-unit): Disable cursor re-positioning.
5540         (vhdl-template-for): Fix sequential statement part detection.
5541         (vhdl-electric-space): Fix wrapping for non-word characters.
5542         (vhdl-template-standard-package): Don't insert "std" library.
5543         (vhdl-template-architecture): Code optimization.
5544         (vhdl-template-package): Search for existing package name.
5545         (vhdl-template-component-decl, vhdl-port-paste-declaration):
5546         Insert "is" in VHDL'93.
5547         (match-string-no-properties, vhdl-forward-comment): New aliases.
5548         (vhdl-speedbar-library-face, vhdl-speedbar-subprogram-face): New faces.
5549         (file-expand-wildcards, regexp-opt, subst-char-in-string)
5550         (vhdl-add-modified-file, vhdl-align-buffer, vhdl-align-declarations)
5551         (vhdl-align-list, vhdl-align-region-2, vhdl-align-region-groups)
5552         (vhdl-align-same-indent, vhdl-aput, vhdl-auto-load-project)
5553         (vhdl-backward-same-indent, vhdl-beginning-of-block)
5554         (vhdl-character-to-event, vhdl-compile-directory)
5555         (vhdl-compile-print-file-name, vhdl-compose-components-package)
5556         (vhdl-compose-insert-generic, vhdl-compose-insert-port)
5557         (vhdl-compose-insert-signal, vhdl-compose-new-component)
5558         (vhdl-compose-place-component, vhdl-compose-wire-components)
5559         (vhdl-default-directory, vhdl-delete, vhdl-delete-indentation)
5560         (vhdl-do-group, vhdl-do-list, vhdl-do-same-indent)
5561         (vhdl-duplicate-project, vhdl-end-of-block, vhdl-expand-abbrev)
5562         (vhdl-expand-paren, vhdl-export-project, vhdl-fill-group)
5563         (vhdl-fill-list, vhdl-fill-region, vhdl-fill-same-indent)
5564         (vhdl-fix-case-word, vhdl-fix-clause, vhdl-forward-comment)
5565         (vhdl-forward-same-indent, vhdl-generate-makefile-1)
5566         (vhdl-get-compile-options, vhdl-get-components-package-name)
5567         (vhdl-get-end-of-unit, vhdl-get-make-options, vhdl-get-packages)
5568         (vhdl-get-visible-signals, vhdl-goto-marker)
5569         (vhdl-hs-forward-sexp-func, vhdl-hs-minor-mode, vhdl-import-project)
5570         (vhdl-indent-group, vhdl-insert-file-contents, vhdl-load-cache)
5571         (vhdl-makefile-name, vhdl-match-string-downcase, vhdl-max-marker)
5572         (vhdl-parse-group-comment, vhdl-paste-group-comment)
5573         (vhdl-port-paste-context-clause, vhdl-port-paste-initializations)
5574         (vhdl-port-reverse-direction, vhdl-process-command-line-option)
5575         (vhdl-project-p, vhdl-re-search-backward, vhdl-re-search-forward)
5576         (vhdl-remove-trailing-spaces, vhdl-require-hierarchy-info)
5577         (vhdl-resolve-env-variable, vhdl-run-when-idle, vhdl-save-cache)
5578         (vhdl-save-caches, vhdl-scan-context-clause)
5579         (vhdl-scan-directory-contents, vhdl-set-compiler, vhdl-set-project)
5580         (vhdl-show-messages, vhdl-sort-alist, vhdl-speedbar-check-unit)
5581         (vhdl-speedbar-contract-all, vhdl-speedbar-contract-level)
5582         (vhdl-speedbar-display-directory, vhdl-speedbar-display-projects)
5583         (vhdl-speedbar-expand-all, vhdl-speedbar-expand-config)
5584         (vhdl-speedbar-expand-package, vhdl-speedbar-expand-project)
5585         (vhdl-speedbar-generate-makefile, vhdl-speedbar-insert-projects)
5586         (vhdl-speedbar-insert-subpackages, vhdl-speedbar-line-key)
5587         (vhdl-speedbar-line-project, vhdl-speedbar-line-text)
5588         (vhdl-speedbar-make-design, vhdl-speedbar-make-subpack-line)
5589         (vhdl-speedbar-make-subprogram-line, vhdl-speedbar-place-component)
5590         (vhdl-speedbar-refresh, vhdl-speedbar-set-depth)
5591         (vhdl-speedbar-update-current-project, vhdl-statistics-buffer)
5592         (vhdl-subprog-copy, vhdl-subprog-flatten, vhdl-subprog-paste-body)
5593         (vhdl-subprog-paste-call, vhdl-subprog-paste-declaration)
5594         (vhdl-subprog-paste-specification, vhdl-template-others-hook)
5595         (vhdl-template-replace-header-keywords, vhdl-toggle-project)
5596         (vhdl-uniquify, vhdl-update-file-contents, vhdl-update-hierarchy)
5597         (vhdl-update-progress-info, vhdl-update-sensitivity-list)
5598         (vhdl-update-sensitivity-list-buffer)
5599         (vhdl-update-sensitivity-list-process, vhdl-use-direct-instantiation)
5600         (vhdl-warning, vhdl-warning-when-idle)
5601         (vhdl-widget-directory-validate, vhdl-work-library)
5602         (vhdl-write-file-hooks-init): New functions.
5603         (vhdl-aappend, vhdl-add-warning, vhdl-align-noindent-buffer)
5604         (vhdl-align-noindent-region, vhdl-create-customize-menu)
5605         (vhdl-forward-unit, vhdl-modify-date-init, vhdl-project-switch)
5606         (vhdl-scan-file-contents, vhdl-speedbar-display-hierarchy)
5607         (vhdl-speedbar-toggle-hierarchy): Functions deleted.
5608         (vhdl-in-comment-p, vhdl-in-string-p, vhdl-standard-p): Define as
5609         functions, not defsubsts.
5610         (vhdl-in-comment-or-string-p, vhdl-speedbar-project-p):
5611         Delete defsubsts.
5612         (vhdl-compose, vhdl-naming, vhdl-speedbar, vhdl-template)
5613         (vhdl-testbench): New customization groups.
5614         (vhdl-electric): Customization group deleted.
5615         (vhdl-align-alist, vhdl-doc-coding-style, vhdl-doc-keywords)
5616         (vhdl-imenu-generic-expression): Define as constants instead of
5617         variables.
5618         (vhdl-ams-packages, vhdl-doc-release-notes, vhdl-emacs-21)
5619         (vhdl-hs-start-regexp, vhdl-time-stamp, vhdl-xemacs): New constants.
5620         (vhdl-font-lock-keywords-0): Constants deleted.
5621         (vhdl-prepare-search-1, vhdl-prepare-search-2, vhdl-visit-file):
5622         New macros.
5623         (vhdl-ext-syntax-table): Macro deleted.
5624         (vhdl-align-group-separate, vhdl-align-same-indent)
5625         (vhdl-architecture-file-name, vhdl-compile-use-local-error-regexp)
5626         (vhdl-components-package-name, vhdl-compose-architecture-name)
5627         (vhdl-compose-create-files, vhdl-compose-include-header)
5628         (vhdl-copyright-string, vhdl-default-library, vhdl-directive-keywords)
5629         (vhdl-entity-file-name, vhdl-file-name-case)
5630         (vhdl-include-group-comments, vhdl-include-type-comments)
5631         (vhdl-indent-syntax-based, vhdl-makefile-generation-hook)
5632         (vhdl-package-file-name, vhdl-project-auto-load)
5633         (vhdl-project-file-name, vhdl-project-sort, vhdl-speedbar-auto-open)
5634         (vhdl-speedbar-cache-file-name, vhdl-speedbar-display-mode)
5635         (vhdl-speedbar-jump-to-unit, vhdl-speedbar-save-cache)
5636         (vhdl-speedbar-scan-limit, vhdl-speedbar-update-on-saving)
5637         (vhdl-testbench-configuration-name)
5638         (vhdl-testbench-include-configuration, vhdl-testbench-include-header)
5639         (vhdl-testbench-include-library, vhdl-use-components-package)
5640         (vhdl-use-direct-instantiation): New options.
5641         (vhdl-compiler-options, vhdl-speedbar, vhdl-speedbar-hierarchy-indent)
5642         (vhdl-speedbar-show-hierarchy, vhdl-testbench-architecture-header)
5643         (vhdl-testbench-entity-header): Options deleted.
5644         (speedbar-indentation-width, vhdl-compile-file-name)
5645         (vhdl-config-alist, vhdl-directive-keywords-regexp)
5646         (vhdl-directory-alist, vhdl-font-lock-keywords-0, vhdl-menu-max-size)
5647         (vhdl-mode-ext-syntax-table, vhdl-modified-file-list)
5648         (vhdl-port-flattened, vhdl-port-reversed-direction)
5649         (vhdl-speedbar-hierarchy-depth, vhdl-speedbar-last-selected-project)
5650         (vhdl-speedbar-show-projects, vhdl-speedbar-shown-project-list)
5651         (vhdl-speedbar-shown-unit-alist, vhdl-speedbar-update-current-unit)
5652         (vhdl-subprog-flattened, vhdl-subprog-list, vhdl-updated-project-list)
5653         (vhdl-warnings): New variables.
5654         (vhdl-project-ent-inst-list, vhdl-project-entity-alist)
5655         (vhdl-project-package-alist, vhdl-speedbar-last-file-name)
5656         (vhdl-speedbar-shown-units-alist, vhdl-startup-warnings): Delete vars.
5658 2003-03-04  Rob Kaut  <rob@siworks.com>  (tiny change)
5660         * progmodes/vhdl-mode.el (vhdl-comment-uncomment-region):
5661         Remove two comment characters at start of line instead of one.
5663 2003-03-03  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
5665         * printing.el (pr-get-symbol): Move it to next eval-and-compile.
5667 2003-03-03  John Paul Wallington  <jpw@gnu.org>
5669         * ibuf-macs.el (ibuffer-aif): Use `make-symbol' instead of
5670         `gensym' in case user calls macro at runtime.
5671         (ibuffer-save-marks): Likewise.
5673 2003-03-03  Kenichi Handa  <handa@m17n.org>
5675         * language/japan-util.el (japanese-symbol-table): Add two entries
5676         to make it complete.
5678 2003-03-03  Andreas Schwab  <schwab@suse.de>
5680         * info.el (Info-fontify-node): Don't hide indentation before the
5681         reference name.  Don't process a reference twice when a new tag is
5682         inserted.
5683         (Info-hide-note-references): Fix doc and customize type.
5685 2003-03-02  Matt Swift  <swift@alum.mit.edu>
5687         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
5688         New custom variable.
5689         (lisp-fill-paragraph): Use it.  Add ?, to `paragraph-separate' so
5690         that first docstring lines ending with a comma are respected.
5691         Add "`(" to same so that function and macro bodies beginning with a
5692         backquote do not get disturbed.  Revise the comments.
5694 2003-03-01  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
5696         * startup.el (command-line): Call menu-bar-mode with 1 instead of t.
5698         * menu-bar.el (menu-bar-mode): Change to define-minor-mode
5699         and initialize as for tool-bar-mode.
5701 2003-02-28  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
5703         * net/tramp.el: Version 2.0.30 released.
5704         Replace term "path" with "localname" unless it is used for a
5705         search path.
5706         (tramp-handle-expand-file-name): Allow ".." to cross host boundaries.
5707         (tramp-open-connection-setup-interactive-shell): Unset $ENV in
5708         addition to setting $PS1 when starting the Bourne-ish shell.
5709         Some sh implementations (eg, bash when called as sh) read the file
5710         named there on startup, which could clobber $PS1.
5711         (tramp-do-copy-or-rename-file-one-local): New function.
5712         Not implemented.  Not used.  Should invoke rcp or scp directly to keep
5713         the time.
5715 2003-02-28  Michael Albinus  <Michael.Albinus@alcatel.de>
5717         * net/tramp-smb.el: Replace term `path' with `localname'
5718         unless it is used for a search path.  In GNU, the word `path' is
5719         reserved for search paths.
5721         * net/tramp.el (tramp-send-string, tramp-send-region): Removed.
5722         (tramp-send-string): New function.  Takes over the role of the
5723         functions above, in order to have a unique place handling
5724         `tramp-chunksize'.  Same implementation as `tramp-send-region'.
5725         (tramp-chunksize): It's now a defcustom.  Set to 500 on systems
5726         only known to have a buggy `process-send-string' implementation.
5727         First black-listed constellation is GNU Emacs/ hpux.
5728         (tramp-send-region): Correct debug message.
5729         (tramp-bug): Add `tramp-chunksize'.
5731 2003-02-26  Matt Swift  <swift@alum.mit.edu>
5733         * startup.el: Streamline code in several functions for efficiency
5734         and readability.  Rephrase booleans to avoid `(not noninteractive)'.
5735         Clarify several booleans expressions using De Morgan's laws.
5737         (command-line): Fix barf when first command-line option handled by
5738         `command-line-1' is in the form --OPT=VAL.
5739         (command-line-1): Restore intended behavior of the --directory/-L
5740         command-line option: "-L a -L b -L c" on the command-line now puts
5741         '(a b c) at the front of `load-path'.
5743 2003-02-26  Oliver Scholz  <alkibiades@gmx.de>
5745         * play/gamegrid.el (gamegrid-add-score): Add info to docstring.
5746         (gamegrid-add-score-with-update-game-score-1): New function,
5747         factored out of `gamegrid-add-score-with-update-game-score'.
5748         (gamegrid-add-score-with-update-game-score): Use it.  Fall back on
5749         `gamegrid-add-score-insecure' if the requested file does not exist
5750         in $(gamedir), in case the user has installed a game on his own.
5751         (gamegrid-add-score-insecure): Accept optional directory argument.
5753 2003-02-25  Andreas Schwab  <schwab@suse.de>
5755         * progmodes/make-mode.el (makefile-font-lock-keywords): Protect shell
5756         variable references by requireing that $ is not preceded by another $.
5758 2003-02-25  Kenichi Handa  <handa@m17n.org>
5760         * env.el (setenv): Fix previous change.
5762 2003-02-25  Ramakrishnan M  <rama@gnu.org>  (tiny change)
5764         * language/mlm-util.el (mlm-char-glyph): Fix more rules.
5766 2003-02-24  Stefan Monnier  <monnier@cs.yale.edu>
5768         * progmodes/simula.el: Move abbrev loading to after the fun it uses.
5769         (simula-install-standard-abbrevs): Use dolist.
5770         Use system-flag when calling define-abbrev.
5772 2003-02-24  Dave Love  <fx@gnu.org>
5774         * obsolete/cplus-md.el: Delete.  (Requires removed c-mode.el.)
5776         * env.el (read-envvar-name): Decode names.
5777         (substitute-env-vars): Use eval-when-compile and char class.
5778         (setenv): Doc fix.  Encode the data (after checking that's possible).
5779         (getenv): Encode the name and decode the result.
5781 2003-02-24  Ken Manheimer  <klm@zope.com>
5783         * allout.el (allout-pre-command-business): Fix docstring.
5785 2003-02-24  Ramakrishnan M  <rama@gnu.org>  (tiny change)
5787         * language/mlm-util.el (mlm-char-glyph): Fix several composing rules.
5789 2003-02-24  Kenichi Handa  <handa@m17n.org>
5791         * international/characters.el: Fix syntaxes of gb2312 and big5.
5793         * language/japan-util.el (sentence-end-save): Variable deleted.
5794         (setup-japanese-environment-internal): Don't setup sentence-end.
5795         (exit-japanese-environment): Function deleted.
5797         * language/japanese.el ("Japanese"): Delete `exit-function'.
5799         * textmodes/paragraphs.el (sentence-end): Add Chinese and Japanese
5800         characters.
5802 2003-02-24  Ramakrishnan M  <rama@gnu.org>  (tiny change)
5804         * language/mlm-util.el (mlm-char-glyph): Add entries for "halant +
5805         rakar + halant" and "halant + rrakar + halant".
5807 2003-02-23  Richard M. Stallman  <rms@gnu.org>
5809         * replace.el (query-replace-read-args): Return just 3 values.
5810         (query-replace, query-replace-regexp)
5811         (query-replace-regexp-eval, map-query-replace-regexp)
5812         (replace-string, replace-regexp): Read the start and end args
5813         separately so that the expressions are recorded in command-history.
5815         * menu-bar.el (Revert Buffer): Condition on buffer-file-number.
5817         * startup.el (inhibit-startup-hooks): New variable.
5818         (normal-top-level): Obey that variable.
5819         (command-line-1): Run emacs-startup-hook before term-setup-hook.
5820         Set inhibit-startup-hooks too.
5822         * files.el (revert-buffer): Different error message
5823         for reverting a nonexistent file.
5825 2003-02-22  Stefan Monnier  <monnier@cs.yale.edu>
5827         * progmodes/cperl-mode.el: Merge changes from CPerl-5.0.
5828         (toplevel): Require man.
5829         Don't autoload tmm-prompt (it's in loaddefs.el).
5830         (cperl-electric-backspace-untabify): New var.
5831         (cperl-electric-backspace): Use it.
5832         (cperl-vc-header-alist): Extract numeric version from the Id.
5833         (cperl-build-manpage): New fun.
5834         (cperl-menu): Use it.  Add toggle-autohelp.
5835         (cperl-mode) <defun-prompt_regexp>: Understand prototypes.
5836         (cperl-electric-brace): Use `cperl-after-block-p' for detection.
5837         (cperl-electric-keyword): Make $if (etc: "$@%&*") non-electric.
5838         '(' after keyword would insert a doubled paren.
5839         (cperl-calculate-indent): Update syntaxification before checks.
5840         Fix wrong indent of blocks starting with POD.
5841         (cperl-find-pods-heres): If no end of HERE-doc found, mark to the end
5842         of buffer.  This enables recognition of end of HERE-doc "as one types".
5843         Require "\n" after trailing tag of HERE-doc.
5844         \( made non-quoting outside of string/comment (gdj-contributed).
5845         Likewise for \$.  Remove `here-doc-group' text property at start
5846         (makes this property reliable).
5847         Text property `first-format-line' ==> t.
5848         Do not recognize $opt_s and $opt::s as s///.
5849         (cperl-after-block-p): Optional arg pre-block to check for a pre-block
5850         Recognize `continue' blocks too.
5851         (cperl-after-expr-p): Update syntaxification before checks.  Work after
5852         here-docs, formats, and PODs too (affects many electric constructs).
5853         (cperl-fix-line-spacing): Allow "_" in $vars of foreach etc.
5854         (cperl-perldoc): Use case-sensitive search.
5856         * progmodes/cperl-mode.el: Merge changes from CPerl-4.35.
5857         (cperl-xemacs-p): Move.
5858         (cperl-can-font-lock): New var to replace window-system.
5859         (cperl-enable-font-lock): Use it.
5860         (cperl-use-major-mode): New var.
5861         (cperl-mode): Use it.
5862         (cperl-calculate-indent): Remove code whose removal was missed
5863         in some earlier merge.
5864         (cperl-tags-hier-init): Use display-popup-menus-p.
5866 2003-02-22  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
5868         * files.el (abbreviate-file-name): Shorten docstring: variables
5869         are now hyperlinks and `C-h v' need not be mentioned explicitly.
5871 2003-02-21  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
5873         * files.el (abbreviate-file-name): Document removal of
5874         automounter prefixes.  Reported by Lars Hansen.
5876 2003-02-21  Kim F. Storm  <storm@cua.dk>
5878         * emulation/cua-base.el: Add run-time check to catch users trying
5879         to use older versions of CUA-mode, rather than the version
5880         distributed with Emacs.  Use autoload cookies and eval-after-load.
5882         * startup.el (command-line): Clarify and tidy up the message
5883         printed when there are errors in the user-init-file.
5884         Do not encapsulate the error data; it's read by humans here.
5885         Do not split windows when displaying the *Message* buffer.
5887 2003-02-20  Stefan Monnier  <monnier@cs.yale.edu>
5889         * subr.el (with-syntax-table): Don't copy the table any more.
5891 2003-02-20  Ehud Karni  <ehud@unix.mvs.co.il>  (tiny change)
5893         * mail/rmail.el (rmail-insert-inbox-text): Make the pop3 mechanism
5894         work on cygwin systems too.
5896 2003-02-20  Juanma Barranquero  <lektu@terra.es>
5898         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
5899         Remove useless check.
5901 2003-02-20  Andreas Schwab  <schwab@suse.de>
5903         * info.el (Info-extract-menu-node-name): Stop if colon is
5904         followed by open paren.
5906 2003-02-20  Francesco Potort\e,Al\e(B  <pot@gnu.org>
5908         * mail/undigest.el (unforward-rmail-message): Allow nested
5909         unforwarding, that is, preserve old Forwarded-From/Date headers.
5911 2003-02-20  Kenichi Handa  <handa@m17n.org>
5913         * term/w32-win.el: Call set-fontset-font with NAME nil.
5915         * international/mule-diag.el (print-fontset): If FONTSET is nil,
5916         use the default fontset.
5917         (describe-fontset): If the current frame is not using a fontset,
5918         call print-fontset with nil.
5920 2003-02-19  Andre Spiegel  <spiegel@gnu.org>
5922         * vc.el (vc-binary-assoc, vc-binary-suffixes): Remove; these
5923         were accidentally left over during the VC redesign in 2000.
5925 2003-02-18  Juanma Barranquero  <lektu@terra.es>
5927         * help-macro.el (make-help-screen): Fix character constant.
5929         * mouse-sel.el (mouse-sel-determine-selection-thing): Likewise.
5931         * calc/calc-graph.el (calc-graph-plot): Likewise.
5933         * calc/calc-prog.el (calc-macro-edit-variable): Likewise.
5935         * emacs-lisp/edebug.el: Likewise.
5937         * emacs-lisp/helper.el (Helper-help-scroller): Likewise.
5939         * language/cyril-util.el (standard-display-cyrillic-translit):
5940         Likewise.
5942         * mail/rfc822.el (rfc822-nuke-whitespace): Likewise.
5944         * progmodes/cperl-mode.el (cperl-electric-keyword)
5945         (cperl-electric-pod, cperl-do-auto-fill): Likewise.
5947         * textmodes/reftex-ref.el (reftex-reference): Likewise.
5949         * textmodes/table.el (table-generate-source): Use ?\\ instead of
5950         space in "work in progress" message.
5952         * emacs-lisp/tq.el (tq-create): Fix quoted lambda expression.
5954 2003-02-17  Dave Love  <fx@gnu.org>
5956         * progmodes/ebrowse.el (ebrowse-output): Don't use gensym.
5958 2003-02-17  Markus Rost  <rost@math.ohio-state.edu>
5960         * calendar/calendar.el (diary-file-name-prefix-function):
5961         Fix custom type.
5963 2003-02-17  Andre Spiegel  <spiegel@gnu.org>
5965         * vc-cvs.el (vc-cvs-dir-state): Protect against DIR not being
5966         under CVS control.  Suggested by Masanobu UMEDA.
5968 2003-02-17  Kenichi Handa  <handa@m17n.org>
5970         * files.el (insert-directory): Add workaround for the case that we
5971         can't trust ls's output as to byte positions of filenames.
5973 2003-02-15  Richard M. Stallman  <rms@gnu.org>
5975         * ffap.el: Many doc fixes.
5976         (ffap-replace-file-component):
5977         Renamed from ffap-replace-path-component.  Callers changed.
5978         (ffap-host-to-filename): Renamed from ffap-host-to-path.  Callers chgd.
5980         * international/iso-ascii.el (iso-ascii-display-table): New variable.
5981         (iso-ascii-standard-display-table): New variable.
5982         (iso-ascii-display): Define in iso-ascii-display-table.
5983         (iso-ascii-mode): New command.
5985         * tar-mode.el (tar-header-block-summarize):
5986         Use l for symlink, h for hard link.
5988 2003-02-15  David Kastrup  <dak@gnu.org>
5990         * net/ange-ftp.el (ange-ftp-get-file-entry): Allow for graceful
5991         failure returning nil, as documented.
5993 2003-02-14  Dave Love  <fx@gnu.org>
5995         * international/code-pages.el: Undo `Trailing whitepace deleted.'
5996         damage.
5997         (cp1125, mik): Nullify mime-charset.
5999         * language/cyrillic.el ("Cyrillic-KOI8"): Fix input-method.
6000         ("Russian"): New.
6001         ("Bulgarian"): Add tutorial.
6003         * international/mule-cmds.el (locale-language-names): Use Italian,
6004         Russian, Turkish, Chinese-EUC-TW.
6005         (set-locale-environment): Set ps-paper-type.
6007 2003-02-14  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>  (tiny change)
6009         * time.el (display-time-string-forms): Add face property to mail
6010         string.
6012 2003-02-14  Juanma Barranquero  <lektu@terra.es>
6014         * international/mule-cmds.el (view-hello-file): Use `view-file'
6015         instead of `find-file-read-only'.
6017         * dired-aux.el (dired-query-alist): Fix use of character constant.
6019         * simple.el (backward-delete-char-untabify): Likewise.
6021         * strokes.el (strokes-read-complex-stroke): Likewise.
6023         * wid-edit.el (widget-choose): Likewise.
6025         * xml.el (xml-parse-elem-type): Likewise.
6027         * emacs-lisp/testcover-ses.el (ses-exercise-signals): Likewise.
6029         * progmodes/cperl-mode.el (cperl-next-bad-style): Likewise.
6031         * progmodes/idlwave.el (idlwave-show-begin): Likewise.
6033 2003-02-13  Stefan Monnier  <monnier@cs.yale.edu>
6035         * international/mule-cmds.el (sort-coding-systems): Use \'.
6036         (select-safe-coding-system): Remove redundant assq check.
6037         Remove raw-text, emacs-mule and no-conversion from the list of
6038         proposed encodings unless there's nothing else.
6040 2003-02-13  Markus Rost  <rost@math.ohio-state.edu>
6042         * files.el (find-alternate-file): Undo last change.
6044         * dired.el (dired-directory): Add autoload cookie.
6046 2003-02-13  Juanma Barranquero  <lektu@terra.es>
6048         * international/characters.el: Use new ?\s syntax instead of "? "
6049         followed by a comment.
6051         * ruler-mode.el (ruler-mode-margins-char): Likewise.
6053 2003-02-13  Dave Love  <fx@gnu.org>
6055         * newcomment.el (comment-indent): Ensure space before added comment.
6057 2003-02-13  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
6059         * ps-print.el: Change the policy of background/foreground default
6060         color.
6061         (ps-print-version): New version number (6.5.9).
6062         (ps-default-fg, ps-default-bg): Adjust default value.
6063         (ps-begin-file, ps-begin-job): ps-default-fg and ps-default-bg
6064         variables now use `t' to indicate the use of Emacs session
6065         background/foreground color.
6066         (ps-output-string-prim): If index out of range, insert hexadecimal
6067         representation of character.
6069 2003-02-13  Kim F. Storm  <storm@cua.dk>
6071         * help.el (where-is): Rename remap-command to command-remapping.
6072         * help-fns.el (describe-function-1): Likewise.
6074 2003-02-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
6076         * progmodes/fortran.el (fortran-fill): Fill lines that do not have
6077         comments.
6079 2003-02-12  Stefan Monnier  <monnier@cs.yale.edu>
6081         * progmodes/fortran.el (fortran-mode): Set comment-use-syntax.
6082         (fortran-fill-paragraph): Use fill-comment-paragraph.
6084 2003-02-12  Juanma Barranquero  <lektu@terra.es>
6086         * files.el (file-truename): Revert change from 2002-11-27.
6088 2003-02-12  Luc Teirlinck  <teirllm@mail.auburn.edu>
6090         * help-fns.el (describe-function-1): Change output for keyboard macros.
6092 2003-02-12  Andreas Schwab  <schwab@suse.de>
6094         * progmodes/sh-script.el (sh-mode-map): Don't remap
6095         beginning-of-defun to the non-existing command
6096         sh-beginning-of-compound-command.
6098 2003-02-12  Karl Chen  <quarl@hkn.eecs.berkeley.edu>  (tiny change)
6100         * files.el (find-alternate-file): Check whether `dired-directory'
6101         is bound.
6103 2003-02-12  Simon Marshall  <simon@gnu.org>
6105         * progmodes/make-mode.el (makefile-font-lock-keywords):
6106         Fontify single character variable references, but protect shell
6107         variables references.
6108         (makefile-mode): Make `$' be punctuation in font-lock-defaults.
6110 2003-02-12  Ami Fischman  <ami@fischman.org>
6112         Face markup of calendar and diary displays: Any entry line that
6113         ends with [foo:value] where foo is a face attribute (except :box
6114         :stipple) or with [face:blah] tags, will have these values applied
6115         to the calendar and fancy diary displays. These attributes "stack"
6116         on calendar displays.  File-wide attributes can be defined as
6117         follows: the first line matching "^# [tag:value]" defines the
6118         value for that particular tag.  All of the tags' regexps can be
6119         customized.
6121         * calendar/calendar.el (diary-face-attrs): New custom.
6122         (diary-file-name-prefix-function): New custom.
6123         (diary-glob-file-regexp-prefix): New custom.
6124         (diary-file-name-prefix): New custom.
6125         (generate-calendar-window): Check that font-lock-mode is bound
6126         before checking value.
6127         (mark-visible-calendar-date): Add the ability to pass face
6128         attribute/value pairs in the mark argument.  Handle the mark.
6130         * calendar/diary-lib.el (diary-attrtype-convert): Convert an
6131         attribute value string to the desired type.
6132         (diary-pull-attrs): New function that pulls the attributes off a
6133         diary entry, merges with file-global attributes, and returns
6134         the (possibly modified) entry and a list of attribute/values using
6135         diary-attrtype-convert.
6136         (list-diary-entries, fancy-diary-display, show-all-diary-entries)
6137         (mark-diary-entries, mark-sexp-diary-entries)
6138         (list-sexp-diary-entries): Add handling of file-global attributes;
6139         add handling of entry attributes using diary-pull-attrs.
6140         (mark-calendar-days-named, mark-calendar-days-named)
6141         (mark-calendar-date-pattern, mark-calendar-month)
6142         (add-to-diary-list): Add optional paramater `color' for passing
6143         face attribute info through the callchain.  Pass this parameter around.
6145 2003-02-11  Stefan Monnier  <monnier@cs.yale.edu>
6147         * progmodes/etags.el (find-tag-tag): Move (default foo) to before
6148         `:' in the prompt.
6149         (find-tag): Make sure we move point in the proper window.
6151         * progmodes/meta-mode.el (meta-fill-paragraph): Remove.
6152         (meta-common-initialization): Don't set fill-paragraph-function
6153         now that fill-paragraph takes care of comments.
6155         * progmodes/scheme.el (scheme-mode-syntax-table): Don't switch
6156         the current buffer's syntax-table.
6158         * progmodes/simula.el (simula-font-lock-syntactic-keywords): New var.
6159         (simula-font-lock-keywords-1): Simplify.
6160         (simula-font-lock-keywords-2): Use regexp-opt.
6161         (simula-emacs-features): Remove.
6162         (simula-mode-syntax-table): Setup %...\n as comment style b.
6163         (simula-mode-map): Remove compatibility cruft.
6164         (simula-keep-region-active): Remove.
6165         (simula-popup-menu): Simplify.
6166         (simula-mode): Move abbrev-table setup to top-level.
6167         (simula-match-string-or-comment): Remove.
6169         * progmodes/tcl.el (tcl-omit-ws-regexp): Correctly handle cases
6170         like `proc foo {a {b c} d} {'.
6171         (tcl-mode): Make comment-start-skip more selective.
6173         * info-xref.el (info-xref-check): Use line-beginning-position.
6174         (info-xref-all-info-files): Cons a bit less.
6175         (info-xref-check-buffer): Use push and replace-regexp-in-string.
6176         (info-xref-output): Call insert only once.
6177         (info-xref-whitespace): Remove.
6179 2003-02-11  John Paul Wallington  <jpw@gnu.org>
6181         * ibuffer.el (toplevel): Don't require `font-lock';
6182         require `font-core' instead, even though it is dumped.
6184         * ibuf-ext.el (ibuffer-save-with-custom, ibuffer-add-to-tmp-hide)
6185         (ibuffer-add-to-tmp-show): Doc fixes.
6187         * language/tamil.el ("Tamil"): Doc fix.
6189 2003-02-11  Juanma Barranquero  <lektu@terra.es>
6191         * language/vietnamese.el ("Vietnamese"): Fix typos.
6193         * info-xref.el (info-xref-check-buffer): Fix typo.
6195         * makefile.w32-in (DONTCOMPILE): Add malayalam.el and tamil.el.
6197 2003-02-11  Kenichi Handa  <handa@m17n.org>
6199         * loadup.el: Load "language/malayalam" and "language/tamil".
6201 2003-02-11  KAWABATA, Taichi  <kawabata@m17n.org>
6203         * Makefile.in (DONTCOMPILE): Add malayalam.el and tamil.el.
6205         * language/devan-util.el: Maintainer's mail address changed.
6206         (devanagari-composable-pattern): Add DANDA character.
6207         (dev-char-glyph): Add an entry for DANDA.
6209         * language/devanagari.el: Maintainer's mail address changed.
6211         * language/indian.el: Maintainer's mail address changed.
6213         * language/ind-util.el (indian-dev-base-table): Table fixed.
6214         (indian-pnj-base-table): Table contents defined.
6215         (indian-gjr-base-table): Likewise.
6216         (indian-ori-base-table): Likewise.
6217         (indian-bng-base-table): Likewise.
6218         (indian-asm-base-table): Likewise.
6219         (indian-tlg-base-table): Likewise.
6220         (indian-knd-base-table): Likewise.
6221         (indian-mlm-base-table): Likewise.
6222         (indian-tml-base-table): Likewise.
6223         (indian-pnj-itrans-v5-hash, indian-gjr-itrans-v5-hash)
6224         (indian-ori-itrans-v5-hash, indian-bng-itrans-v5-hash)
6225         (indian-asm-itrans-v5-hash, indian-tlg-itrans-v5-hash)
6226         (indian-knd-itrans-v5-hash, indian-mlm-itrans-v5-hash)
6227         (indian-tml-itrans-v5-hash): New variables.
6229         * language/malayalam.el: New file.
6230         * language/mlm-util.el: New file.
6231         * language/tamil.el: New file.
6232         * language/tml-util.el: New file.
6234 2003-02-11  Kevin Ryde  <user42@zip.com.au>
6236         * info-xref.el: New file.
6238 2003-02-10  Stefan Monnier  <monnier@cs.yale.edu>
6240         * textmodes/page-ext.el (pages-directory-mode-map): New.
6241         (pages-directory-map): Redefine as an varalias.
6242         (pages-directory-mode): Use new map var and run mode hook.
6243         (pages-directory-address-mode): Use define-derived-mode.
6245         * textmodes/texinfmt.el (texinfo-format-iftex, texinfo-format-ifhtml)
6246         (texinfo-format-ifplaintext, texinfo-format-tex, texinfo-format-html)
6247         (texinfo-format-ifnotinfo, texinfo-format-titlepage)
6248         (texinfo-format-titlespec, texinfo-format-ignore, texinfo-if-set)
6249         (texinfo-if-clear): Use re-search-forward's return value.
6250         (texinfo-sort-startkeyfun, texinfo-format-buffer-1)
6251         (texinfo-format-region): Use line-{end,beginning}-position.
6252         (texinfo-append-refill, texinfo-alias): Use match-string-no-properties.
6254         * emacs-lisp/eldoc.el (eldoc-echo-area-multiline-supported-p)
6255         (eldoc-use-idle-timer-p): Remove.
6256         (timer): Never require.  It only works in current Emacs anyway.
6257         (eldoc-mode, eldoc-message, eldoc-display-message-p)
6258         (eldoc-docstring-format-sym-doc, eldoc-remove-command): Simplify.
6260         * ffap.el (ffap-complete-as-file-p):
6261         Use minibuffer-completing-file-name.
6263         * international/mule.el (load-with-code-conversion): Use push.
6265         * font-core.el (font-lock-defontify): Use restore-buffer-modified-p.
6267         * gud.el (gud-gdb-run-command-fetch-lines, gud-display-line):
6268         Use with-current-buffer and simplify.
6270         * help-mode.el (help-xref-on-pp): Only add xref if the text
6271         is less than 5K.
6273         * pcvs-parse.el (cvs-parse-table): "no longer in repo" does not
6274         make the file dead if we used the -n arg.
6276         * emacs-lisp/cl-macs.el (process-get): Add setf method.
6278         * server.el (server-previous-strings): Remove.
6279         (server-process-filter): Use (process-get 'previous-string) instead.
6280         (server-sentinel): Remove code made superfluous.
6282 2003-02-10  Luc Teirlinck  <teirllm@mail.auburn.edu>
6284         * info.el (Info-follow-nearest-node): Implement new behavior.
6286 2003-02-10  Juanma Barranquero  <lektu@terra.es>
6288         * progmodes/ebnf-otz.el (ebnf-optimize, ebnf-optimize1): Fix typo.
6290         * progmodes/ebnf2ps.el (ebnf2ps): Fix typo.
6291         (ebnf-syntactic): Change group name and tag from "ebnf-syntatic".
6292         (ebnf-syntax, ebnf-lex-comment-char, ebnf-lex-eop-char)
6293         (ebnf-terminal-regexp, ebnf-case-fold-search)
6294         (ebnf-iso-alternative-p, ebnf-iso-normalize-p)
6295         (ebnf-yac-ignore-error-recovery): Add to group "ebnf-syntactic", not
6296         "ebnf-syntatic".
6297         (ebnf-optimize, ebnf-print-buffer, ebnf-print-region)
6298         (ebnf-spool-buffer, ebnf-spool-region, ebnf-eps-buffer)
6299         (ebnf-eps-region, ebnf-syntax-buffer, ebnf-syntax-region)
6300         (ebnf-generate-region): Fix typo.
6302 2003-02-10  KAWABATA, Taichi  <kawabata@m17n.org>
6304         * language/ind-util.el (indian-itrans-v5-table): Add entries for
6305         "E" and "O".
6307 2003-02-10  Martin Stjernholm  <bug-cc-mode@gnu.org>
6309         * progmodes/cc-styles.el (c-set-offset): Don't find a default
6310         syntactic element through syntactic analysis if called outside
6311         a CC Mode buffer.
6313 2003-02-09  Martin Stjernholm  <bug-cc-mode@gnu.org>
6315         * progmodes/cc-mode.el (c-basic-common-init):
6316         Install `c-fill-paragraph' on `fill-paragraph-function'.
6317         Although it's not the normal way to call it in a CC Mode buffer it
6318         makes a direct call to `fill-paragraph' work better.
6320 2003-02-08  Kim F. Storm  <storm@cua.dk>
6322         * printing.el (pr-get-symbol): Define during compile.
6324 2003-02-07  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
6326         * printing.el: New file.
6328 2003-02-07  Francesco Potort\e,Al\e(B  <pot@gnu.org>
6330         * language/european.el ("French", "Slovenian"): Fix doc strings.
6332 2003-02-06  John Paul Wallington  <jpw@gnu.org>
6334         * mail/rmailsum.el (rmail-summary-previous-msg): Add docstring.
6335         (rmail-summary-line-count-flag, rmail-summary-previous-labeled-message)
6336         (rmail-summary-next-labeled-message, rmail-summary-resend)
6337         (rmail-summary-override-mail-send-and-exit): Doc fixes.
6339 2003-02-06  Francesco Potort\e,Al\e(B  <pot@gnu.org>
6341         * language/european.el ("Italian"): New.
6343 2003-02-06  Matthew Swift  <swift@alum.mit.edu>
6345         * dired.el (dired-move-to-filename-regexp): Support "K" suffix on
6346         "ls -alh" output.
6348 2003-02-05  Juanma Barranquero  <lektu@terra.es>
6350         * font-lock.el (font-lock-reference-face): Add obsolescence
6351         declaration and remove redundant info from docstring.
6353         * log-edit.el (cvs-commit-buffer-require-final-newline)
6354         (cvs-changelog-full-paragraphs): Likewise.
6356         * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button)
6357         (mouse-wheel-click-button): Likewise.
6359         * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name): Likewise.
6361         * vc.el (vc-annotate-display, vc-checkout-carefully): Likewise.
6363         * vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6364         (vc-header-alist): Likewise.
6366         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Likewise.
6368         * textmodes/outline.el (outline-visible): Likewise.
6370 2003-02-05  Kim F. Storm  <storm@cua.dk>
6372         * ido.el (ido-define-mode-map):
6373         Undo last change (duplicates part of 2003-02-04 change).
6374         Remap `viper' delete commands only in file or dir mode.
6376 2003-02-05  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
6378         * ido.el (ido-define-mode-map): Interact with Viper.
6380 2003-02-05  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
6382         * net/tramp.el: Version 2.0.29 released.
6383         (tramp-send-region): Protect against tramp-chunksize being nil.
6384         (tramp-chunksize): Set default to 500 as workaround for some ssh
6385         connections.
6386         (tramp-handle-directory-file-name): New implementation.  Not sure
6387         if it works.
6388         (tramp-md5-function): Require md5 before checking function md5.
6389         If using md5-encode, put wrapper around it that converts vector of
6390         bytes to ascii text.
6391         (top-level): Avoid byte-compiler warnings of unused variables if
6392         the byte-compiler supports this.  This is for the
6393         with-parsed-tramp-file-name macro which is wont to produce such stuff.
6395 2003-02-05  Michael Albinus  <Michael.Albinus@alcatel.de>
6397         * net/tramp.el (tramp-handle-directory-file-name): Handle the case
6398         PATH is "".
6399         (tramp-completion-handle-file-name-all-completions):
6400         Define `tramp-current-user' locally.  See `tramp-parse-passwd'.
6401         (tramp-parse-passwd): For su-alike methods it would be desirable
6402         to return "root@localhost" as default.  Unfortunately, we have no
6403         information whether any user name has been typed already.  So we
6404         (mis-)use tramp-current-user as indication, assuming it is set in
6405         `tramp-completion-handle-file-name-all-completions'.
6406         (tramp-send-region): Handle the case `tramp-chunksize' is equal 0.
6407         I did it accidently.  Infinite loop ...
6408         (tramp-get-device): `tramp-make-tramp-file-name' must not be
6409         called with NIL path.  It fails in case of multi-method.
6410         (tramp-file-name-for-operation):  Apply `expand-file-name' for
6411         relative file names only.  Otherwise there might be problems if
6412         the default directory is another Tramp directory as the directory
6413         the file is based on.
6414         (tramp-find-foreign-file-name-handler): Check whether FILENAME is
6415         a Tramp file name.  It isn't if it comes from an expanded file
6416         name (like "/xx:yy//zz").
6417         (tramp-devices): New variable.  Keeps virtual device numbers.
6418         Devices must distinguish physical file systems.  The device
6419         numbers provided by "lstat" aren't unique, because we operate on
6420         different hosts.  So we use virtual device numbers, generated by
6421         `tramp-get-device'.  Both Ange-FTP and EFS use device number -1.
6422         In order to be different, we use device number (-1 x), whereby "x"
6423         is unique for a given (multi-method method user host).
6424         Suggested by Kai.
6425         (tramp-perl-file-attributes): Always return device number -1.
6426         There will be a virtual device number set in
6427         `tramp-handle-file-attributes', which replaces this one.
6428         (tramp-handle-file-attributes): Set virtual device number.
6429         (tramp-get-device): New function.  Returns the virtual device
6430         number.  If it doesn't exist, generate a new one.
6431         (tramp-handle-file-regular-p): Use Emacs file name primitives
6432         instead of calling tramp-handle-* equivalents directly.
6433         Needed for tramp-smb.
6434         (tramp-completion-function-alist-ssh): Add parsing of
6435         "/etc/ssh_config" and "~/.ssh/config".  Suggested by Kai.
6436         (tramp-completion-function-alist, tramp-set-completion-function):
6437         Doc string update.
6438         (tramp-parse-sconfig, tramp-parse-sconfig-group): New functions.
6439         Provide parsing of "~/.ssh/config" style files.
6440         (tramp-completion-handle-expand-file-name):
6441         Apply `tramp-drop-volume-letter'.  Otherwise, there are problems
6442         on W32 systems.
6443         (tramp-completion-mode): Perform check (integerp last-input-event)
6444         before (event-modifiers last-input-event) -- there might be
6445         problems if `last-input-event' is a mouse event.
6446         (tramp-parse-rhosts, tramp-parse-shosts)
6447         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc):
6448         Use `file-readable-p' instead of `file-exists-p'.  Otherwise these
6449         functions might block.  Reported by <kin@neoscale.com>.
6451         * net/tramp-ftp.el (top-level): eval-after-load "ange-ftp"
6452         '(tramp-disable-ange-ftp).  Suggested by Kai.
6453         (tramp-ftp-file-name-handler): `tramp-disable-ange-ftp' not needed
6454         any longer.
6455         (top-level): Defaults for `tramp-default-method-alist' must be a list.
6457         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6458         Apply `tramp-handle-directory-file-name'.
6459         (tramp-smb-handle-file-attributes):  Apply `tramp-get-device'.
6460         ATIME and CTIME are (0 0) now (= "don't know"), which is more honest.
6461         (tramp-smb-handle-make-directory): Use Emacs file name primitives
6462         instead of calling tramp-smb-handle-* equivalents directly.
6463         (tramp-smb-read-file-entry): Return size as a number, not a string.
6464         (top-level): Defaults for `tramp-default-method-alist' must be a list.
6466 2003-02-05  Stefan Monnier  <monnier@cs.yale.edu>
6468         * completion.el (eval-when-compile-load-eval, completion-eval-when)
6469         (cmpl-read-time-eval, minibuffer-window-selected-p): Remove.
6470         (completion-min-length, completion-max-length)
6471         (completion-prefix-min-length): Don't hard-code the default value
6472         when byte-compiling.
6473         (complete): Inline minibuffer-window-selected-p.
6475 2003-02-04  Richard M. Stallman  <rms@gnu.org>
6477         * term.el (term-raw-map): Set it up at load time.
6478         (term-char-mode): Don't set up term-raw-map here.
6479         (term-set-escape-char): Don't set up C-x subcommand.
6480         (term-ansi-face-already-done): Renamed from
6481         term-ansi-face-alredy-done.
6482         (term-command-hook): Avoid error if STRING is empty.
6483         (term, term-mode): Doc fixes.
6485         * term.el: Redesign handling of colors and faces.
6486         Delete all the faces that this mode used to make.
6487         (ansi-term-color-vector): New variable.
6488         (ansi-term-fg-faces-vector, ansi-term-bg-faces-vector)
6489         (ansi-term-inv-bg-faces-vector, ansi-term-inv-fg-faces-vector):
6490         Variables deleted.
6491         (term-default-fg-color, term-default-bg-color): Use defcustom.
6492         (term-handle-colors-array): Use ansi-term-color-vector,
6493         and specify face attributes rather than faces in `face' property.
6495         * term.el (term-ansi-fg-faces-vector, term-ansi-bg-faces-vector)
6496         (term-ansi-inv-fg-faces-vector, term-ansi-inv-bg-faces-vector)
6497         (term-ansi-reverse-faces-vector): Delete unused variables.
6498         (term-ignore-error): Delete macro.
6500         * simple.el (back-to-indentation): Skip all whitespace
6501         except for newlines.
6503         * files.el (find-alternate-file): Handle dired-directory
6504         like buffer-file-name.
6506         * dired.el (dired-find-buffer-nocreate): Avoid error if
6507         dired-directory is nil.
6509 2003-02-04  Juanma Barranquero  <lektu@terra.es>
6511         * image.el (image-type-regexps): Fix typo.
6513         * international/characters.el: Restore missing space and put a
6514         comment to protect it from being deleted as trailing whitespace.
6516         * ruler-mode.el (ruler-mode-margins-char): Likewise.
6518 2003-02-04  Francesco Potort\e,Al\e(B  <pot@gnu.org>
6520         * mail/rmailout.el (rmail-output): If preserving MIME-version,
6521         preserve Content-type too.
6523 2003-02-04  Kim F. Storm  <storm@cua.dk>
6525         * ido.el (ido-define-mode-map): Remap viper delete char/word
6526         commands to their ido specific equivalents.  Disable ESC in
6527         viper mode (to avoid exiting insert mode), since ido doesn't
6528         work in viper command mode.
6529         (ido-delete-backward-updir, ido-delete-backward-word-updir):
6530         Handle remapped viper commands.
6532 2003-02-03  Juanma Barranquero  <lektu@terra.es>
6534         * calculator.el (calculator): Don't use the minibuffer even in
6535         electric mode; use a private buffer and display it in the minibuffer
6536         window using `set-window-buffer'.
6538 2003-02-03  Dave Love  <fx@gnu.org>
6540         * emacs-lisp/benchmark.el: New.
6542 2003-02-02  Andreas Schwab  <schwab@suse.de>
6544         * progmodes/asm-mode.el (asm-font-lock-keywords): Allow arbitrary
6545         words separated by dots.  Match optional parenthesized word at
6546         start of line.
6548         * font-lock.el
6549         (font-lock-match-c-style-declaration-item-and-skip-to-next):
6550         Don't require underscore in word before double open-paren.
6552 2003-02-02  John Paul Wallington  <jpw@gnu.org>
6554         * hexl.el (hexl-mode-map): Bind C-m to `hexl-self-insert-command'.
6556 2003-02-01  Stephen Gildea  <gildea@stop.mail-abuse.org>
6558         * time-stamp.el: Tweak doc strings and preamble commentary.
6559         (time-stamp): Fix parsing of "%%a" in time-stamp-pattern (change
6560         regexp subpattern 5)
6561         (time-stamp-pattern): Initialize to nil to avoid regexp work in
6562         default case.
6563         (time-stamp-string): Call set-time-zone-rule instead of setenv
6564         (time-stamp-hhmmss): Remove (not needed after all).
6565         (time-stamp-month-dd-yyyy, time-stamp-dd/mm/yyyy)
6566         (time-stamp-mon-dd-yyyy, time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
6567         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd, time-stamp-yymmdd)
6568         (time-stamp-hh:mm:ss, time-stamp-hhmm): Make obsolete.
6570 2003-01-31  Stefan Monnier  <monnier@cs.yale.edu>
6572         * cus-edit.el (custom-unlispify-menu-entry): Use with-current-buffer.
6573         (custom-save-variables): Use dolist, simplify.
6574         Output a message if a `requests' entry looks suspicious.
6575         (custom-save-faces): Use dolist, simplify.
6577 2003-01-31  Christoph Wedler  <Christoph.Wedler@sap.com>
6579         * antlr-mode.el: Bug fixes, miscellaneous.
6580         (antlr-mode): Make major mode work with cc-mode-5.29 or higher,
6581         make it more rubust against changes in cc-mode's style variables
6582         by using `boundp' and function `c-init-language-vars' if defined.
6583         (antlr-c++-mode-extra): Only ask if language is not "Cpp".
6584         (antlr-read-value): With completion, ignore case.
6585         (antlr-run-tool-interactive): New function.
6586         (antlr-run-tool): Use it for `interactive' specification.
6588         * antlr-mode.el: Simplify Emacs/XEmacs compatibility.
6589         (cond-emacs-xemacs): New compile-time macro.
6590         (defunx): New compile-time macro.
6591         (ignore-errors-x): New compile-time macro.
6592         (save-buffer-state-x): New compile-time macro.
6594         (antlr-scan-sexps, antlr-simple-scan-sexps): Deletia.
6595         (antlr-scan-lists, antlr-simple-scan-sexps): Deletia.
6596         (antlr-simple-default-directory): Deletia.
6597         (antlr-default-directory): Define directly.
6598         (antlr-simple-read-shell-command): Deletia.
6599         (antlr-read-shell-command): Define directly.
6600         (antlr-simple-with-displaying-help-buffer): Deletia.
6601         (antlr-with-displaying-help-buffer): Define directly.
6602         (antlr-fast-invalidate-context-cache): Deletia.
6603         (antlr-slow-invalidate-context-cache): Deletia.
6604         (antlr-invalidate-context-cache): Define directly.
6605         (antlr-fast-syntactic-context): Deletia.
6606         (antlr-slow-syntactic-context): Deletia.
6607         (antlr-syntactic-context): Define directly.
6609         (antlr-mode-menu): Use new macros.
6610         (antlr-font-lock-additional-keywords): Ditto.
6611         (antlr-skip-sexps): Ditto.
6612         (antlr-end-of-rule): Ditto.
6613         (antlr-beginning-of-rule): Ditto.
6614         (antlr-end-of-body): Ditto.
6615         (antlr-beginning-of-body): Ditto.
6616         (antlr-hide-actions): Ditto.
6617         (antlr-option-kind): Ditto.
6619         * antlr-mode.el: In Emacs, use face attribute :weight, not :bold.
6620         (antlr-font-lock-keyword-face): Use new macros.
6621         (antlr-font-lock-syntax-face): Ditto.
6622         (antlr-font-lock-ruledef-face): Ditto.
6623         (antlr-font-lock-tokendef-face): Ditto.
6624         (antlr-font-lock-literal-face): Ditto.
6626         Changes from 2002-05-24:
6628         * antlr-mode.el: Version 2.2a.
6630         Changes from 2002-05-03:
6632         * antlr-mode.el: Make context parsing faster on Emacs, for faster
6633         syntax highlighting, indentation and imenu support.
6634         Suggested by Aaron Davies <adavies42@users.sourceforge.net>.
6635         (antlr-slow-context-cache): New variable.
6636         (antlr-slow-syntactic-context): Use cache.
6637         (antlr-slow-cache-enabling-symbol): New internal variable.
6638         (antlr-slow-cache-diff-threshold): New variable.
6639         (antlr-fast-invalidate-context-cache): Renamed from
6640         antlr-xemacs-bug-workaround.
6641         (antlr-imenu-create-index-function): Search from beginning.
6643         * antlr-mode.el: More sophisticated indentation, i.e., use the
6644         indentation engine of cc-mode for most actions.
6645         (antlr-c-common-init): Allow nil for `antlr-indent-style'.
6646         (antlr-indent-line): Use indentation engine of cc-mode more often.
6647         (antlr-indent-at-bol-alist): Only used for header actions.
6648         (antlr-disabling-cc-syntactic-symbols): New variable.
6649         (antlr-indent-item-regexp): Delete stuff for actions.
6650         (antlr-indent-at-bol-alist): With language "Java", indent
6651         "package" and "import" at column 0 in header part.
6653         * antlr-mode.el (antlr-simple-default-directory): Define.
6654         (antlr-simple-read-shell-command): Define.
6655         (antlr-simple-with-displaying-help-buffer): Define.
6656         (antlr-simple-scan-sexps, antlr-simple-scan-lists):
6657         Renamed from antlr-scan-{sexps,lists}-internal.
6659         Changes from 2002-02-28:
6661         * antlr-mode: Version 2.2 is released.
6663         * antlr-mode.el (antlr): Moved to SourceForge.net
6665         * antlr-mode.el: Minor bug fixes: insert options and indentation.
6666         (antlr-option-location): Don't use point as position where to
6667         insert options if point is in comment.
6668         (antlr-mode): Don't set style here.
6669         (antlr-c-common-init): Set style here.  If boundp, set
6670         `c-current-comment-prefix' to not break indentation in comments.
6671         Hm, I should probably split `c-common-init' from cc-mode into two
6672         parts, one of which I could use for antlr-mode.el.
6674         Changes from 2002-01-31:
6676         * antlr-mode.el (antlr-font-lock-additional-keywords):
6677         Also hightlight `~' with `antlr-font-lock-syntax-face'.
6678         Suggested by Helmut Neukirchen <neukirchen@itm.mu-luebeck.de>.
6680 2003-01-31  Joe Buehler  <jhpb@draco.hekimian.com>
6682         * comint.el:
6683         * dired-aux.el:
6684         * dired.el:
6685         * dirtrack.el:
6686         * dos-w32.el:
6687         * fast-lock.el:
6688         * filecache.el:
6689         * files.el:
6690         * hippie-exp.el:
6691         * international/mule.el:
6692         * net/browse-url.el:
6693         * pcomplete.el:
6694         * recentf.el:
6695         * shell.el:
6696         * woman.el: Added cygwin to system-type comparisons.
6698 2003-01-31  Francesco Potort\e,Al\e(B  <pot@gnu.org>
6700         * mail/undigest.el (rmail-forward-separator-regex): New custom
6701         variable.
6702         (unforward-rmail-message): Use it.
6704 2003-01-30  Dave Love  <fx@gnu.org>
6706         * textmodes/ispell.el (lookup-words): Fix last change.
6708 2003-01-29  John Paul Wallington  <jpw@gnu.org>
6710         * font-lock.el (lisp-font-lock-keywords-1): Match `deftheme'.
6712         * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
6713         `deftheme'.  Fix docstring offsets for `define-ibuffer-filter' and
6714         `define-ibuffer-sorter'.
6715         (lisp-imenu-generic-expression): Add `deftheme' to types.
6717         * custom.el (customize-mark-to-save, customize-mark-as-set)
6718         (custom-remove-theme): Doc fixes.
6720 2003-01-29  Didier Verna  <didier@xemacs.org>
6722         * cus-edit.el (custom-save-variables): Also save non theme'd ones.
6723         * cus-edit.el (custom-save-faces): Ditto.
6725 2003-01-29  Juanma Barranquero  <lektu@terra.es>
6727         * composite.el (decompose-composite-char): Fix docstring.
6729         * select.el (x-set-cut-buffer): Fix docstring.  Check type with
6730         `stringp' instead of `substring'.
6732         * textmodes/reftex.el (reftex-TeX-master-file): Use really the buffer
6733         file name if no other master file is located.
6735         * progmodes/cperl-mode.el (cperl-beautify-level)
6736         (cperl-beautify-regexp): Fix use of `prefix-numeric-value'.
6737         (cperl-calculate-indent): Fix typo.
6739 2003-01-29  Taro Kawagishi  <tarok@transpulse.org>
6741         * arc-mode.el (archive-lzh-summarize): Fix previous change.
6743 2003-01-29  Kim F. Storm  <storm@cua.dk>
6745         * emacs-lisp/authors.el: New format of AUTHORS file; list each
6746         author name once followed by contributed and changed files.
6747         Improve selection of entries to include in list, and generate list
6748         of unrecognized entries indicating syntax errors in ChangeLog files.
6749         (authors-coding-system): New variable.
6750         (authors-many-files): Update doc string.
6751         (authors-aliases): Change format. Now one entry with multiple
6752         aliases per author.
6753         (authors-valid-file-names, authors-renamed-files-alist)
6754         (authors-renamed-files-regexps): New variables.
6755         (authors-canonical-file-name): New function.  Validates that file
6756         exists or occurs in one of the above lists.  Record unrecognized
6757         file names in global authors-invalid-file-names list.
6758         (authors-add): Change to record per-change counts.
6759         (authors-canonical-author-name): Handle new format of
6760         authors-aliases list.
6761         (authors-scan-change-log): Rename FILE arg to LOG-FILE.
6762         Change doc string to describe new entry format.
6763         Only add author entries for valid file names.
6764         (authors-print): Replace by authors-add-to-author-list.
6765         (authors-add-to-author-list): New function which reorders
6766         per-file entries and adds them to global authors-author-list.
6767         (authors): Instead of authors-print to insert in *Authors* buffer,
6768         use authors-add-to-author-list to reorder the list and then
6769         insert result in *Authors* buffer with new format.
6770         Generate *Authors Errors* compilation-mode buffer listing
6771         unrecognized ChangeLog entries.
6773 2003-01-28  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
6775         * term/mac-win.el: Add entries in function-key-map for
6776         [tab], [backspace], [escape].
6778 2003-01-28  Kim F. Storm  <storm@cua.dk>
6780         * info.el (Info-extract-menu-node-name): Another fix for
6781         2003-01-24 change.  Also stop search if : is followed by TAB.
6783 2003-01-28  John Paul Wallington  <jpw@gnu.org>
6785         * ibuf-ext.el (ibuffer-yank-filter-group): Move check for empty
6786         `ibuffer-filter-group-kill-ring' out of `interactive' declaration.
6788 2003-01-28  Martin Stjernholm  <bug-cc-mode@gnu.org>
6790         * progmodes/cc-vars.el, progmodes/cc-mode.el
6791         (c-require-final-newline): Made this variable an alist to
6792         specify a value for each language.  The default value causes
6793         `require-final-newline' to be set to t only in languages where
6794         the standard requires a final newline.
6796 2003-01-27  Kim F. Storm  <storm@cua.dk>
6798         * simple.el (kill-new): Improve doc string for yank-handler.
6799         Signal args-out-of-range error if yank-handler is specified for
6800         an empty string.
6802         * subr.el (insert-for-yank): Remove COMMAND element from yank handler.
6804 2003-01-27  Dave Love  <fx@gnu.org>
6806         * dired-x.el (dired-filename-at-point): Fix last change and tidy up.
6808         * thingatpt.el (thing-at-point-file-name-chars):
6809         Include non-ASCII again and re-write the filename ops.
6811 2003-01-27  David Ponce  <david@dponce.com>
6813         * makefile.w32-in (update-subdirs-SH): Create lisp/subdirs.el.
6815 2003-01-27  Juanma Barranquero  <lektu@terra.es>
6817         * filesets.el (filesets-file-open): Fix typo.
6819         * vcursor.el (vcursor-disable): Likewise.
6821         * eshell/esh-cmd.el (eshell-separate-commands): Likewise.
6823         * progmodes/cc-styles.el (c-make-styles-buffer-local): Likewise.
6825         * progmodes/cc-vars.el (c-offsets-alist): Likewise.
6827         * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Likewise.
6829 2003-01-26  Martin Stjernholm  <bug-cc-mode@gnu.org>
6831         * progmodes/cc-vars.el, progmodes/cc-mode.el
6832         (c-require-final-newline): Add a variable to make the
6833         initialization of `require-final-newline' more configurable.
6835 2003-01-26  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
6837         * emacs-lisp/authors.el (authors-aliases): Add Jan D.
6838         Set iso-2022-7bit coding: cookie.
6840 2003-01-26  Kim F. Storm  <storm@cua.dk>
6842         * info.el (Info-extract-menu-node-name): Fix 2003-01-24 change.
6843         Don't search for next colon if current colon is followed by
6844         one of ".", ",", ";", or ")".
6845         (info-insert-file-contents) [!MSDOS]: Avoid byte-compiler warning.
6846         (Info-find-node) [!MSDOS]: Avoid byte-compiler warning.
6848 2003-01-26  Richard M. Stallman  <rms@gnu.org>
6850         * thingatpt.el (thing-at-point-file-name-chars): Undo previous change.
6852 2003-01-25  Bill Wohler  <wohler@newt.com>
6854         * mh-e: Created directory. ChangeLog will appear in a week when we
6855         release version 7.2.
6857         * mail/mh-alias.el, mail/mh-comp.el, mail/mh-customize.el, mail/mh-e.el,
6858         mail/mh-funcs.el, mail/mh-identity.el, mail/mh-index.el,
6859         mail/mh-loaddefs.el, mail/mh-mime.el, mail/mh-pick.el,
6860         mail/mh-seq.el, mail/mh-speed.el, mail/mh-utils.el,
6861         mail/mh-xemacs-compat.el: Moved to mh-e directory.
6862         Note that reply2.pbm and reply2.xpm, which were created by the
6863         MH-E package, were left in mail since they can probably be used by
6864         other mail packages.
6866         * makefile.w32-in (WINS): Add mh-e.
6868         * makefile.nt (WINS): Add mh-e.
6870 2003-01-25  Richard M. Stallman  <rms@gnu.org>
6872         * emacs-lisp/bytecomp.el (byte-compile-file-form-custom-declare-variable):
6873         Compile any lambda-expressions among the args.
6875         * view.el (view-mode): Doc fix.
6877         * ido.el: Many doc fixes.
6878         (ido-complete): Fix message.
6880 2003-01-25  Taro Kawagishi  <tarok@transpulse.org>
6882         * arc-mode.el (archive-unixdate): Correct the date field string.
6883         (archive-lzh-summarize): Extend it to allow the LZH level 2 header
6884         type (which is most prevalent now), in addition to the already
6885         supported level 0 and 1 header types.
6887 2003-01-25  Markus Rost  <rost@math.ohio-state.edu>
6889         * international/mule-cmds.el (set-language-info)
6890         (current-language-environment): Simplify setting the type of
6891         current-language-environment.
6893 2003-01-25  Kim F. Storm  <storm@cua.dk>
6895         * emulation/cua-base.el (cua--init-keymaps): Move C-S-x and C-S-c
6896         bindings from cua--cua-keys-keymap to cua--region-keymap, as they are
6897         only needed when the region is active.  This also makes the output
6898         from C-h b look normal when cua-mode is enabled (no C-S-x/c bindings).
6900 2003-01-25  Michael Kifer  <kifer@cs.stonybrook.edu>
6902         * ediff.el (ediff-revision): Better defaults.
6904         * ediff-vers.el (ediff-vc-latest-version): New function.
6905         (ediff-vc-internal): Use latest version instead of working version.
6907 2003-01-24  Thien-Thi Nguyen  <ttn@gnu.org>
6909         * info.el (Info-extract-menu-node-name): When looking for end of menu
6910         item, don't stop at first ":"; instead, continue until trailing
6911         context is either a space or newline.
6912         (Info-complete-menu-item): Var `pattern': allow ":" in menu item.
6913         (Info-menu): Likewise, for regexp used in backwards search.
6914         (Info-try-follow-nearest-node): Remove case added in previous edit.
6915         Change regexp in the following case to allow ":" in menu item.
6916         (Info-fontify-node): Fix bug: Handle `next-property-change' returning
6917         point-max as "hasn't already been done".
6919 2003-01-24  Thien-Thi Nguyen  <ttn@gnu.org>
6921         * info.el (Info-try-follow-nearest-node): Add case: Handle menu item
6922         terminated by ": " as an index entry.
6924 2003-01-24  Juanma Barranquero  <lektu@terra.es>
6926         * isearch.el (isearch-forward): Fix typo.
6928 2003-01-24  Kenichi Handa  <handa@m17n.org>
6930         * international/mule.el (decode-coding-inserted-region):
6931         Rename from decode-coding-region-as-inserted-from-file to make it fit
6932         well in the Lisp manual.
6934         * jka-compr.el (jka-compr-insert-file-contents):
6935         Call docode-coding-inserted-region.
6937 2003-01-24  John Paul Wallington  <jpw@gnu.org>
6939         * ibuffer.el (ibuffer-window-list): Remove.
6940         (ibuffer-confirm-operation-on): Use `window-list' instead.
6941         (ibuffer-load-hook): New customizable variable.
6942         (toplevel): Run it.
6943         (ibuffer-customize): New command.
6944         (ibuffer-mode-map): Bind it.
6945         (ibuffer-mode-map): Add menu seperator in View>Sort menu.
6946         (ibuffer-mode): Tidy.
6947         (ibuffer-fontification-alist, ibuffer-always-show-last-buffer)
6948         (ibuffer-default-directory, ibuffer-default-sorting-mode)
6949         (ibuffer-maybe-show-predicates, ibuffer-hook, ibuffer-mode-hook)
6950         (ibuffer-map-lines): Doc fixes.
6952         * ibuf-ext.el (ibuffer-copy-filename-as-kill): C-u means relative
6953         filenames.  Use `kill-new'.
6955 2003-01-23  Dave Love  <fx@gnu.org>
6957         * abbrev.el (write-abbrev-file): Simplify, and put a coding cookie
6958         in the file.
6960 2003-01-23  Masatake YAMATO  <jet@gyve.org>
6962         * progmodes/asm-mode.el (asm-mode): Add syntax table entries for
6963         /* */ comments.
6965 2003-01-23  Kenichi Handa  <handa@m17n.org>
6967         * files.el (insert-directory): Read the output of "ls" by
6968         no-conversion, and decode it later while preserving
6969         `dired-filename' property.
6971 2003-01-23  Markus Rost  <rost@math.ohio-state.edu>
6973         * descr-text.el (describe-text-mode-hook): Add a group.
6975 2003-01-23  John Paul Wallington  <jpw@shootybangbang.com>
6977         * term/mac-win.el (interprogram-paste-function): Handle empty
6978         clipboard.
6980 2003-01-22  Aubrey Jaffer  <agj@alum.mit.edu>  (tiny change)
6982         * info.el (Info-index): Change pattern so that index entries with
6983         colons can be read properly; also, require at least one space
6984         after the colons, which makeinfo puts in.
6986 2003-01-22  Andreas Schwab  <schwab@suse.de>
6988         * jka-compr.el (jka-compr-insert-file-contents): Fix typo in last
6989         change.
6991 2003-01-22  Markus Rost  <rost@math.ohio-state.edu>
6993         * Makefile.in (bootstrap-after): New target.
6994         (bootstrap): Move finder-data, custom-deps to bootstrap-after.
6996 2003-01-22  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
6998         * info.el (Info-index-next): Use "(`,' tries to find next)" for
6999         more matches for consistency with standalone info browser.
7001 2003-01-22  Kenichi Handa  <handa@m17n.org>
7003         * international/mule.el
7004         (decode-coding-region-as-inserted-from-file): New function.
7006         * jka-compr.el (jka-compr-insert-file-contents): Read a process
7007         output without decoding.  Decode the result by
7008         decode-coding-region-as-inserted-from-file.
7010 2003-01-22  Kim F. Storm  <storm@cua.dk>
7012         * ido.el (ido-make-file-list, ido-make-dir-list): Don't move
7013         visited directories to end of list; it's the wrong thing to do if
7014         we want to find a file or directory in such directories.
7016         * simple.el: Doc fixes.
7017         * subr.el: Doc fixes.
7019 2003-01-20  Nick Roberts  <nick@nick.uklinux.net>
7021         * gud.el (gud-display-line): If the current file is newer than its
7022         buffer, offer to reread the file.
7023         (gud-keep-buffer): New buffer local variable. Ensures offer to
7024         reread file is made just once.
7026 2003-01-20  Stefan Monnier  <monnier@cs.yale.edu>
7028         * emacs-lisp/regexp-opt.el (regexp-opt-group): Undo last change.
7029         Fix the docstring instead.
7031 2003-01-20  Glenn Morris  <gmorris@ast.cam.ac.uk>
7033         * calendar/calendar.el (calendar-only-one-frame-setup): Autoload it.
7035 2003-01-20  Richard M. Stallman  <rms@gnu.org>
7037         * simple.el (completion-setup-function): Set default-directory
7038         in the minibuffer, so it'll be copied into the completion list buffer.
7040         * emacs-lisp/regexp-opt.el (regexp-opt-group): Compute HALF2 properly.
7042         * loadup.el (load-path): Rename `path' local var.
7044         * progmodes/octave-mod.el (octave-mode-map): Change C-c i bindings
7045         to C-c C-i.  Duplicate its bindings with last char a ctl char.
7046         Also change C-c f to C-c C-f.
7048 2003-01-20  Markus Rost  <rost@math.ohio-state.edu>
7050         * ls-lisp.el (ls-lisp-use-insert-directory-program): Make default
7051         value system dependent.
7052         (ls-lisp-support-shell-wildcards): Add autoload cookie.
7054 2003-01-19  Kim F. Storm  <storm@cua.dk>
7056         * msb.el: Use `dir' instead of `path' everywhere.
7058 2003-01-18  Kim F. Storm  <storm@cua.dk>
7060         * simple.el (kill-new, kill-append, kill-region):
7061         New optional parameter yank-handler.
7062         (yank-excluded-properties): Add yank-handler to list.
7063         (yank-undo-function): New variable.
7064         (yank): Use it to undo previous yank or yank-pop command.
7065         Allow insert-for-yank to override this-command.
7067         * subr.el (insert-for-yank): Arg list changed; now only accepts one
7068         string rather than any number of strings; no callers needed change.
7069         Use yank-handler text property on the arg string.
7070         Set yank-undo-function variable appropriately for yank-pop.
7072 2003-01-18  Stefan Monnier  <monnier@cs.yale.edu>
7074         * textmodes/fill.el (fill-comment-paragraph): Fix simplistic
7075         regexp-concatenation.
7077         * add-log.el (add-change-log-entry): Don't leave space at eol.
7078         (add-log-current-defun): Perl functions names can't have (or {.
7080         * progmodes/sh-script.el (sh-indent-line): Use indent-line-to.
7081         (sh-non-closing-paren): New const.
7082         (sh-case, sh-while-getopts): Use it to make props non-sticky.
7083         (sh-add-completer): Use test-completion.
7085 2003-01-18  Vasily Korytov  <deskpot@myrealbox.com>  (tiny change)
7087         * progmodes/cperl-mode.el: Don't make faces depend on window-system.
7089 2003-01-18  Markus Rost  <rost@math.ohio-state.edu>
7091         * cus-edit.el (customize-changed-options): Undo last doc change.
7093 2003-01-17  Stefan Monnier  <monnier@cs.yale.edu>
7095         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
7096         Don't treat \n specially in sub-skeletons.
7098 2003-01-17  Dave Love  <fx@gnu.org>
7100         * international/ucs-tables.el: Redo 8859-6 change in the right place.
7102 2003-01-17  Kenichi Handa  <handa@m17n.org>
7104         * international/fontset.el: Don't setup the default fontset and
7105         font-encoding-alist at the top level.
7106         (setup-default-fontset): New function.
7107         (create-fontset-from-fontset-spec): Delete autoload cookie.
7109         * term/x-win.el: Require fontset unconditionally again.
7110         Call setup-default-fontset at the top level.
7112         * term/w32-win.el: Call setup-default-fontset.
7114         * term/mac-win.el: Require fontset and call setup-default-fontset.
7116 2003-01-16  Stefan Monnier  <monnier@cs.yale.edu>
7118         * textmodes/fill.el (fill-region-as-paragraph): Only erase `hard'
7119         property until end-of-paragraph.
7121 2003-01-16  Kenichi Handa  <handa@m17n.org>
7123         * international/ucs-tables.el: Undo the last change.
7125 2003-01-15  Dave Love  <fx@gnu.org>
7127         * thingatpt.el (thing-at-point-file-name-chars): Include non-ASCII
7128         and use documented treatment of -.
7130         * dired-x.el (dired-filename-at-point): Fix filename-chars.
7132         * international/ucs-tables.el: Set up tables for 8859-6.
7134         * server.el (server-window): Customize.
7135         (server-mode): New.
7136         (server-unload-hook): Call server-start.
7138 2003-01-15  John Wiegley  <johnw@gnu.org>
7140         * eshell/em-hist.el (eshell-save-history-on-exit):
7141         Rename `eshell-ask-to-save-history' to `eshell-save-history-on-exit',
7142         because the former name is somewhat unrelated to the variables'
7143         possible values.
7145 2003-01-15  Deepak Goel  <deego@gnufans.org>
7147         * calc/README: Add new maintainer.
7149         * calc/*: Ditto.
7151         * calc/calc.el (calc-bug-address): Change address to deego@gnufans.org.
7153 2003-01-15  Andrew Innes  <andrewi@gnu.org>
7155         * makefile.w32-in (loaddefs.el): Invoke make to build stub file
7156         using appropriate rule for build environment.
7157         (loaddefs.el-SH, loaddefs.el-CMD): New targets.  Include small set
7158         of autoloads and defvars, sufficient to dump bootstrap emacs.
7159         (update-subdirs-SH): Use hard-coded list of top-level lisp
7160         subdirs, because find program on Windows is not compatible with
7161         Unix find.
7162         (compile-CMD, compile-SH): Use `batch-byte-compile-if-not-done'.
7163         Explicitly load loaddefs.el so that bootstrap emacs can compile
7164         properly.
7165         (bootstrap-clean): Add dependency on loaddefs.el, to ensure
7166         minimal stub sufficient for dumping bootstrap emacs is available.
7168         * loadup.el: Include lisp/textmodes in load-path for bootstrap
7169         emacs, to resolve ispell menu reference.
7171 2003-01-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>  (tiny change)
7173         * international/mule.el (optimize-char-coding-system-table):
7174         Optimize it.
7176         * term/mac-win.el: Setup the fontset "fontset-mac" correctly.
7178 2003-01-14  Stefan Monnier  <monnier@cs.yale.edu>
7180         * pcvs-info.el (cvs-fileinfo-from-entries): Deal with Solaris'
7181         occasional use of "05" rather than " 5" for day-of-month.
7183         * log-view.el (log-view-message-re): The rev might be locked.
7185 2003-01-14  Nick Roberts  <nick@nick.uklinux.net>
7187         * gdb-ui.el: Improve commentary.
7188         (gdb-window-height, gdb-window-width, gdb-display-number-end):
7189         Customize the dimensions of frames for displayed expressions.
7190         (gdb-error-begin): Comment out because it is not used because of
7191         bug/quirk in annotations.
7192         (gdb-reset): Use with-current-buffer.
7194 2003-01-14  Kim F. Storm  <storm@cua.dk>
7196         * ido.el (ido-read-internal, ido-file-internal)
7197         (ido-copy-current-file-name, ido-wide-find-dirs-or-files):
7198         Don't use `path' as name of local variables holding a file name.
7200         * arc-mode.el (archive-arc-rename-entry): Fix error message.
7201         (archive-lzh-summarize): Rename local var `path' to `dir'.
7202         (archive-unique-fname) [!MSDOS]: Avoid byte-compiler warning.
7204         * dired.el: Doc fixes.
7205         * dired-aux.el: Rename `whole-path' to `whole-name' throughout.
7206         (dired-mark-read-regexp): Use "Abs." prefix instead of "Path".
7207         * dired-x.el: Doc fixes.
7209         * fast-lock.el (fast-lock-cache-name): Doc fix.
7211         * net/browse-url.el (browse-url-filename-alist): Doc fix.
7213 2003-01-14  John Paul Wallington  <jpw@shootybangbang.com>
7215         * apropos.el (apropos): Restore autoload cookie.  Fix typo in
7216         "error retrieving function documentation" output.
7218 2003-01-14  Kim F. Storm  <storm@cua.dk>
7220         * subr.el (process-put, process-get): New functions.
7222         * simple.el (clone-process): Copy process' plist to new process.
7224 2003-01-13  Markus Rost  <rost@math.ohio-state.edu>
7226         * cus-dep.el (custom-make-dependencies):  Don't set standard-value
7227         and version numbers for variables.  Handle faces.
7229         * cus-edit.el (customize-changed-options):  Doc addition.  Load the
7230         version deps earlier.  Use other tests for groups and variables.
7231         Handle faces.
7233 2003-01-14  Kim F. Storm  <storm@cua.dk>
7235         * ido.el: Doc fixes.
7236         (ido-max-file-prompt-width): Rename from ido-max-prompt-path.
7237         (ido-rewrite-file-prompt-functions): Rename from
7238         ido-make-file-prompt-hook.  Directory name is now in dynamic
7239         variable `dirname' (instead of `path').
7240         (ido-rewrite-file-prompt-rules): Rename from
7241         ido-rewrite-prompt-path-rules.
7242         (ido-make-prompt): Directory name now in `dirname' var.
7243         (ido-complete): Fix error message.
7245 2003-01-13  John Paul Wallington  <jpw@shootybangbang.com>
7247         * server.el (server-process-filter): Use `minibufferp' to test
7248         whether we are inside a minibuffer.
7249         (server-process, server-kill-new-buffers): Doc fixes.
7251 2003-01-13  Dave Love  <fx@gnu.org>
7253         * international/utf-16.el (mule-utf-16-be, mule-utf-16-le):
7254         Remove pre-write-conversion.
7256 2003-01-13  Kim F. Storm  <storm@cua.dk>
7258         * hexl.el (hexl-mode-map): Don't quote remapped command names.
7260 2003-01-13  David Ponce  <david@dponce.com>
7262         * ruler-mode.el (ruler-mode): Cleanup buffer local variable
7263         `header-line-format' if it didn't exist when `ruler-mode' was enabled.
7265 2003-01-13  Masatake YAMATO  <jet@gyve.org>
7267         * ruler-mode.el (ruler-mode-comment-column-char)
7268         (ruler-mode-goal-column-char, ruler-mode-set-goal-column-ding-flag)
7269         (ruler-mode-mouse-current-grab-object): New variables.
7270         (ruler-mode-comment-column-face, ruler-mode-goal-column-face):
7271         New faces.
7272         (ruler-mode-mouse-set-fill-column): Removed.
7273         (ruler-mode-mouse-grab-any-column)
7274         (ruler-mode-mouse-drag-any-column-iteration)
7275         (ruler-mode-mouse-drag-any-column): New functions.
7276         (ruler-mode-map): [header-line down-mouse-2] Bound to
7277         `ruler-mode-mouse-grab-any-column' instead of
7278         `ruler-mode-mouse-set-fill-column'.
7279         (ruler-mode-ruler-help-echo): Update its value.
7280         (ruler-mode-ruler-help-echo-when-goal-column): New help string used
7281         when goal-column is already set.
7282         (ruler-mode-ruler-help-echo-tab): Rename to...
7283         (ruler-mode-ruler-help-echo-when-tab-stops): New.
7284         (ruler-mode-fill-column-help-echo, ruler-mode-comment-column-help-echo)
7285         (ruler-mode-goal-column-help-echo): New help strings.
7286         (ruler-mode-ruler): Use `ruler-mode-ruler-help-echo-when-goal-column'
7287         instead of `ruler-mode-ruler-help-echo' if `goal-column' is set.
7288         Show `comment-column' and `goal-column'.  Echo the different help
7289         string for each *-column characters on the ruler.
7291 2003-01-13  Richard M. Stallman  <rms@gnu.org>
7293         * apropos.el (apropos-documentation-property): New function.
7294         (apropos): Use apropos-documentation-property.
7296         * files.el (mode-line-process): Mark as risky.
7298         * help.el (where-is): Catch errors in indirect-function.
7300         * server.el (server-process-filter): Comment out -eval.
7301         Don't switch buffers if inside isearch or minibuffer.
7303         * progmodes/compile.el (compilation-revert-buffer):
7304         If buffer has a file, revert it in the normal way.
7306         * term/x-win.el: Require fontset conditionally again.
7308 2003-01-13  Kim F. Storm  <storm@cua.dk>
7310         * ido.el (ido-enable-tramp-completion): New defcustom.
7311         (ido-enter-single-matching-directory): Change default to 'slash.
7312         (ido-is-tramp-root): New defun.
7313         (ido-is-root-directory, ido-is-ftp-directory, ido-is-slow-ftp-host)
7314         (ido-may-cache-directory, ido-final-slash, ido-read-internal)
7315         (ido-complete, ido-make-file-list1, ido-make-dir-list1):
7316         Handle tramp completion.
7317         (ido-file-name-all-completions1): New defun for tramp completion.
7318         (ido-file-name-all-completions): Use it.
7319         (ido-set-matches1): Relax matching of text with trailing slash.
7320         (ido-exhibit): Handle tramp completion.
7321         Simplified code using nested cond forms using new `refresh' var.
7322         Fixed handling of /~user/ paths.
7324 2003-01-12  Andreas Schwab  <schwab@suse.de>
7326         * arc-mode.el (archive-mode-map): Use command remapping instead of
7327         substitute-key-definition.
7328         * emerge.el (emerge-setup-fixed-keymaps): Likewise.
7329         * msb.el (msb-mode-map): Likewise.
7330         * forms.el (forms--change-commands): Likewise.
7331         * hexl.el (hexl-mode-map): Likewise.
7332         * mail/mailabbrev.el (Commentary): Likewise.
7333         * play/decipher.el (decipher-mode-map): Likewise.
7334         * play/gomoku.el (gomoku-mode-map): Likewise.
7335         * play/landmark.el (lm-mode-map): Likewise.
7336         * play/solitaire.el (solitaire-mode-map): Likewise.
7337         * progmodes/sh-script.el (sh-mode-map): Likewise.
7338         * textmodes/picture.el (picture-substitute): Likewise.
7340         * ielm.el (inferior-emacs-lisp-mode):
7341         Bind comint-dynamic-complete-functions locally.
7343         * buff-menu.el (Buffer-menu-select): Fix for effect of header line.
7345 2003-01-11  Andreas Schwab  <schwab@suse.de>
7347         * textmodes/sgml-mode.el (sgml-font-lock-keywords-2): Add flag to
7348         merge with existing fontification.
7350 2003-01-11  Nick Roberts  <nick@nick.uklinux.net>
7352         * gud.el (gud-kill-buffer-hook): Save gud-minor-mode type.
7353         (gud-reset): New function. Reset environment at end of debugging.
7354         (gud-sentinel): Call gud-reset or gdb-reset.
7355         (gud-menu-map, gud-tool-bar-map, gdb): Change gud-goto to gud-until.
7357         * gdb-ui.el (gud-display): Use GDB command ptype instead of whatis
7358         to find out if variable shuld be dereferenced.
7359         (gud-display1): Exit if there is `No symbol'.
7360         (gdb-expressions-mode-map): Correction to key-binding.
7361         (gdb-reset): New function. Reset environment at end of debugging.
7362         (gdb-quit): Remove.
7364 2003-01-10  Dave Love  <fx@gnu.org>
7366         * international/code-pages.el (cp-make-coding-system): Fix last change.
7368 2003-01-10  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
7370         * dired.el (dired-garbage-files-regexp): Use \\' instead of $ and
7371         use regexp-opt for readability.
7373 2003-01-10  Mark A. Hershberger  <mah@everybody.org>
7375         * xml.el (xml-parse-tag, xml-parse-attlist, xml-skip-dtd)
7376         (xml-parse-dtd, xml-parse-elem-type): Be more flexible in recognizing
7377         empty elements.
7379 2003-01-10  Luc Teirlinck  <teirllm@mail.auburn.edu>
7381         * progmodes/sh-script.el (sh-set-shell): Make sh-shell-file the default
7382         shell.
7384 2003-01-09  John Wiegley  <johnw@gnu.org>
7386         * pcomplete.el (pcomplete-termination-string): Add a variable
7387         for modifying the string which is inserted after a completion or
7388         expansion using pcomplete.
7390 2003-01-09  Karl Berry  <karl@gnu.org>
7392         * sort.el (sort-regexp-fields): Pass noerror to re-search-forward,
7393         so that we don't fail if no records match record-regexp.
7395 2003-01-09  Markus Rost  <rost@math.ohio-state.edu>
7397         * cus-edit.el (customize-group, customize-group-other-window):
7398         Remove unnecessary calls to custom-load-symbol.
7399         (custom-group-value-create):
7400         Load widget deps if state is not hidden.  If widget deps are
7401         loaded, load them in advance.
7402         (custom-menu-create): If widget deps are loaded, load them earlier.
7404 2003-01-09  John Paul Wallington  <jpw@shootybangbang.com>
7406         * language/ethio-util.el (ethio-gemination)
7407         (exit-ethiopic-environment): Doc fixes.
7409         * language/viet-util.el (viet-encode-viqr-region)
7410         (viet-decode-viqr-region, viet-encode-viqr-buffer)
7411         (viet-decode-viqr-buffer): Doc fixes.
7413 2003-01-09  ShengHuo ZHU  <zsh@cs.rochester.edu>
7415         * paths.el: Remove gnus-startup-file.
7417 2003-01-08  Bill Wohler  <wohler@newt.com>
7419         * mail/mh-alias.el, mail/mh-customize.el, mail/mh-identity.el,
7420         mail/mh-loaddefs.el, toolbar/alias.pbm, toolbar/alias.xpm: Added.
7422         * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el,
7423         mail/mh-index.el, mail/mh-mime.el, mail/mh-pick.el,
7424         mail/mh-seq.el, mail/mh-speed.el, mail/mh-utils.el,
7425         mail/mh-xemacs-compat.el: Upgraded to MH-E version 7.1.
7427 2003-01-08  Kim F. Storm  <storm@cua.dk>
7429         * mail/undigest.el (unforward-rmail-message): Don't use global
7430         variable `n'.
7432 2003-01-08  Francesco Potort\e,Al\e(B  <pot@gnu.org>
7434         * mail/undigest.el (unforward-rmail-message): Simplified.
7435         No functional change.
7437 2003-01-07  Markus Rost  <rost@math.ohio-state.edu>
7439         * custom.el (custom-autoload, custom-variable-p): New functions.
7441         * emacs-lisp/autoload.el (make-autoload):
7442         Generate custom-autoload for autoloaded defcustoms.
7444         * help-fns.el (describe-variable): Use custom-variable-p.
7446         * simple.el (set-variable): Load deps of custom variables without type.
7448         * cus-edit.el (custom-variable-prompt): Doc change.
7449         Use custom-variable-p.
7450         (customize-option): Remove search in loaddefs.el.
7451         (customize-apropos):  Use custom-variable-p.
7452         (custom-save-variables): Use custom-variable-p to detect
7453         non-rogue variables.
7455 2003-01-07  Francesco Potort\e,Al\e(B  <pot@gnu.org>
7457         * mail/undigest.el (unforward-rmail-message): Skip all newlines
7458         after the initial separator.
7459         (unforward-rmail-message): Forwarded-From: and Forwarded-Date:
7460         instead of Forwarded-from: and Forwarded-date:.
7462 2003-01-07  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
7464         * dired.el (dired-garbage-files-regexp): Add `.aux$'.  These are
7465         produced by TeX.
7467 2003-01-07  Andre Spiegel  <spiegel@gnu.org>
7469         * vc-rcs.el (vc-rcs-checkout): Fix the check whether we are on a
7470         branch.
7472 2003-01-06  Dave Love  <fx@gnu.org>
7474         * textmodes/ispell.el (lookup-words): Cope with null lookup-dict.
7476         * language/chinese.el ("Chinese-EUC-TW"): New.
7478 2003-01-06  John Paul Wallington  <jpw@shootybangbang.com>
7480         * mail/rmail.el (rmail-mmdf-delim1, rmail-mmdf-delim2): Doc fixes.
7482 2003-01-05  Richard M. Stallman  <rms@gnu.org>
7484         * obsolete/uncompress.el: Display message that this pkg is obsolete.
7486         * isearch.el (isearch-repeat): Error if try to repeat search and
7487         there was no previous search.
7489         * dired.el (dired-recursive-deletes): Fix custom type.
7491         * dabbrev.el (dabbrev--substitute-expansion):
7492         Convert all whitespace to single spaces,
7493         except when it's carried over from the existing text.
7495         * simple.el (split-line): Clean up implementation.
7497         * mail/rmail.el (rmail-font-lock-keywords): Discard code to match
7498         both cases.
7499         (rmail-variables): Specify case-insensitive matching for font-lock.
7501 2003-01-05  Alexander Pohoyda  <alexander.pohoyda@gmx.net>  (tiny change)
7503         * mail/sendmail.el (mail-font-lock-keywords):
7504         * mail/rmail.el (rmail-font-lock-keywords): Match multiline
7505         In-Reply-To and X-*.
7507 2003-01-05  Mark A. Hershberger  <mah@everybody.org>
7509         * xml.el (xml-substitute-special): Check for &amp last.
7511 2003-01-05  Dave Love  <fx@gnu.org>
7513         * buff-menu.el (Buffer-menu-execute): Fix for effect of header line.
7515 2003-01-05  Dave Love  <fx@gnu.org>
7517         * international/mule-diag.el (non-iso-charset-alist):
7518         Add vietnamese-tcvn.
7520         * international/mule-cmds.el (locale-language-names):
7521         Use Croatian, Swedish.
7523 2003-01-05  Andreas Schwab  <schwab@suse.de>
7525         * buff-menu.el (Buffer-menu-buffer+size): Don't clobber buffer name.
7527 2003-01-05  Dave Love  <fx@gnu.org>
7529         * language/european.el ("Latin-6", "Croatian"): New.
7530         ("Latin-7"): Fix nonascii-translation.  Add input method.
7531         ("Lithuanian", "Latvian"): Add nonascii-translation.
7532         ("German", "Spanish", "Dutch", "Welsh", "Swedish"):
7533         Fix nonascii-translation.
7535         * language/georgian.el ("Georgian"): Fix nonascii-translation.
7537         * international/mule-cmds.el (set-locale-environment):
7538         Ignore empty values of environment variables.
7540         * emacs-lisp/byte-opt.el (byte-optimize-nth)
7541         (byte-optimize-nthcdr): Fix for case of wrong-length forms.
7543 2003-01-04  Nick Roberts  <nick@nick.uklinux.net>
7545         * gdb-ui.el: Acknowledge Tom Lord as author of gdba.el.
7546         Use let construction to bind buffer-read-only to nil.
7547         (gdba): 'set height 0' in GDB.
7548         (gdb-display-end, gdb-frame-handler): Corrections to forming
7549         full expression name for header-line in display frame.
7550         (gdb-info-breakpoints-custom): Highlight breakpoints since
7551         they may be clicked on with mouse-2.
7552         (gdb-quit): Delete frames of displayed expressions when quitting.
7553         (gdb-delete-frames): New function.
7554         (gdb-source-info): Don't create stack buffer automatically.
7556 2003-01-04  Thien-Thi Nguyen  <ttn@gnu.org>
7558         * xml.el (xml-substitute-special): Move "&amp;" -> "&" last.
7560 2003-01-04  Kim F. Storm  <storm@cua.dk>
7562         * simple.el (split-line): If present, copy fill-prefix from
7563         current line to new line.  Don't copy if prefix arg.
7564         From Lisp, arg may be an alternative prefix string to copy.
7565         Inspired by Ehud Karni <ehud@unix.mvs.co.il>.
7567         * mail/sendmail.el (mail-split-line): New function.
7568         (mail-mode-map): Remap split-line to mail-split-line.
7570 2003-01-03  Dave Love  <fx@gnu.org>
7572         * emacs-lisp/find-func.el (find-variable-noselect): Make it work
7573         with new load-history format.
7575         * international/mule-cmds.el (sort-coding-systems):
7576         Adjust priority of utf-16 and x-ctext.
7578         * international/utf-8.el (utf-translate-cjk):
7579         Call optimize-char-coding-system-table.
7581         * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
7582         Call optimize-char-coding-system-table.
7584         * international/mule.el (register-char-codings): Don't call
7585         optimize-char-coding-system-table here.
7586         (keyboard-coding-system): Doc fix.  Update :version.
7588         * textmodes/nroff-mode.el (nroff-mode-hook): Customize.
7589         (nroff-imenu-expression): New.
7590         (nroff-mode): Use it.
7592         * autoinsert.el (auto-insert-alist): Add man page skeleton.
7594 2003-01-03  Andre Spiegel  <spiegel@gnu.org>
7596         * vc-rcs.el (vc-rcs-revert): Unlock only if the user does have
7597         the lock.
7599 2003-01-03  Kim F. Storm  <storm@cua.dk>
7601         * emulation/cua-base.el (cua--pre-command-handler):
7602         Corrected handling of delete-selection properties.
7604 2003-01-03  John Paul Wallington  <jpw@shootybangbang.com>
7606         * emacs-lisp/eldoc.el (eldoc-get-var-docstring): Only return a
7607         documentation string when `sym' is non-nil.
7609 2003-01-02  Steven Tamm  <steventamm@mac.com>
7611         * scroll-bar.el (toggle-scroll-bar, scroll-bar-mode):
7612         Have scroll bars correctly default to being on the right for Mac
7613         Carbon port by testing "mac-carbon" feature, not window-system.
7615 2003-01-02  Markus Rost  <rost@math.ohio-state.edu>
7617         * cus-edit.el (customize-group, customize-group-other-window):
7618         Call custom-load-symbol unconditionally.
7619         (customize-face, customize-face-other-window): Fix format arg.
7621 2003-01-02  John Paul Wallington  <jpw@shootybangbang.com>
7623         * menu-bar.el (menu-bar-left-scroll-bar): Set `scroll-bar-mode'
7624         to `left'.
7626 2003-01-01  Richard M. Stallman  <rms@gnu.org>
7628         * mail/rmail.el (rmail-reply): Don't call mail-strip-quoted-names.
7630         * files.el (backup-buffer): Cope if file-modes returns nil.
7632 2002-12-30  Steven Tamm  <steventamm@mac.com>
7634         * scroll-bar.el (toggle-scroll-bar, scroll-bar-mode):
7635         Have scroll bars correctly default to being on the right for Mac
7636         Carbon port
7638 2002-12-29  Nick Roberts  <nick@nick.uklinux.net>
7640         * gdb-ui.el (gdb-delete-display): Rename (gdb-delete-expression).
7641         (gdb-goto-bp-this-line): Rename (gdb-goto-breakpoint).
7642         (gdb-toggle-bp-this-line): Rename (gdb-toggle-breakpoint).
7643         (gdb-delete-bp-this-line): Rename (gdb-delete-breakpoint).
7644         (gdb-toggle-disp-this-line): Rename (gdb-toggle-display).
7645         (gdb-delete-disp-this-line): Rename (gdb-delete-display).
7646         (gud-gdba-marker-filter): Remove unnecessary save-match-data.
7647         (gdb-mouse-goto-breakpoint, gdb-frames-select): New functions.
7648         (gdb-frames-mouse-select): Simplify.
7649         Make keybindings (gdb-goto-breakpoint, gdb-frames-select, etc)
7650         consistent with other modes in emacs.
7651         (gdb-display-source-buffer): Return window of source buffer
7652         for (gud-display-line).
7654 2002-12-29  Markus Rost  <rost@math.ohio-state.edu>
7656         * button.el (defface button): Add group.
7658         * cus-edit.el (customize-browse): Call `widget-setup'.
7660 2002-12-29  Andreas Schwab  <schwab@suse.de>
7662         * Makefile.in: Generate cus-load.el and finder-inf.el in the
7663         source directory.  Change dependencies on lisp files to explicitly
7664         use $(lisp).
7665         (compile-calc): Fix command substitution.
7666         * cus-dep.el (generated-custom-dependencies-file): New variable.
7667         (custom-make-dependencies): Use it instead of hardcoding cus-load.el.
7668         * finder.el (generated-finder-keywords-file): New variable.
7669         (finder-compile-keywords): Use it instead of hardcoding finder-inf.el.
7671 2002-12-28  Richard M. Stallman  <rms@gnu.org>
7673         * info-look.el (info-lookup): Fix error message typo.
7675         * comint.el (comint-mode): Locally set scroll-conservatively.
7676         (comint-postoutput-scroll-to-bottom): comint-scroll-show-maximum-output
7677         is active only when point is at end.
7679         * dired.el (dired-goto-file): Handle \ and ^M quoted by backslash.
7680         Fix error message.
7682         * files.el (find-file-noselect-1): Kill local value of `cursor-type'.
7684         * simple.el (repeat-complex-command): Signal real error on failure.
7686 2002-12-28  Andreas Schwab  <schwab@suse.de>
7688         * progmodes/make-mode.el (makefile-font-lock-keywords):
7689         Highlight automatic variable references enclosed in parens and
7690         optionally suffixed by F or D.
7692 2002-12-27  Miles Bader  <miles@gnu.org>
7694         * info.el (Info-complete-menu-item): Make `Info-complete-cache' a
7695         buffer-local variable.
7697 2002-12-26  Markus Rost  <rost@math.ohio-state.edu>
7699         * cus-edit.el (customize-group-other-window): Use pop-to-buffer in
7700         the same way as `custom-buffer-create-other-window'.
7701         (customize-variable-other-window, customize-option-other-window):
7702         Definitions moved up.
7704 2002-12-26  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
7706         * net/tramp*.el: Sync with upstream version 2.0.28.  Bugfixes.
7707         * net/tramp-ftp.el: Glue code with Ange-FTP, broken out of
7708         tramp.el.  From Michael Albinus.
7709         * net/tramp-smb.el: New file for using smbclient to access
7710         Windows shares with Tramp.  From Michael Albinus.
7712 2002-12-26  Andreas Schwab  <schwab@suse.de>
7714         * international/mule-cmds.el (select-safe-coding-system): Fix typo.
7716 2002-12-26  Andre Spiegel  <spiegel@gnu.org>
7718         * vc.el (vc-next-action-on-file): Use t argument to vc-checkout in
7719         order to get the latest version on the current branch.
7720         Update documentation of vc-BACKEND-checkout to explain this.
7722         * vc-rcs.el (vc-rcs-checkout): Handle t argument for REV.
7723         (vc-rcs-checkin): By default, specify the current workfile
7724         branch as the check-in revision.
7726         * vc-cvs.el (vc-cvs-checkout): Handle t argument for REV.
7728         * vc-sccs.el (vc-sccs-checkout): Likewise.
7730 2002-12-26  Nick Roberts  <nick@nick.uklinux.net>
7732         * gdb-ui.el (gdb-info-display-custom): Ensure that frames/buffers
7733         of displayed expressions are deleted when the displayed expressions
7734         are deleted.
7735         (gdb-delete-disp-this-line, gdb-delete-display): Frame/buffer
7736         deletion is handled by gdb-info-display-custom now.
7737         (gdb-source-info): Undo earlier change (do create display buffer
7738         automatically).
7740 2002-12-25  Markus Rost  <rost@math.ohio-state.edu>
7742         * cus-edit.el (custom-save-faces): Fix typo.
7744 2002-12-23  Francesco Potort\e,Al\e(B  <pot@gnu.org>
7746         * mail/undigest.el (unforward-rmail-message): Do not assume that
7747         the forwarded message's Date: header comes after From:.  Use a
7748         Forwarded-from: rather than a Forwarded-by: header.  Add a
7749         Forwarded-date: header.
7751 2002-12-23  Nick Roberts  <nick@nick.uklinux.net>
7753         * gdb-ui.el (gdb-display-number-end): Make auto-display of
7754         expressions in GDB work on text-only terminals.
7755         (gdb-post-prompt): Compute current frame properly.
7756         (gdb-get-current-frame, gdb-frame-handler): New functions.
7757         (gdb-source-info): Move last statement into if clause.
7758         Tidy, improve documentation.
7760 2002-12-23  Richard M. Stallman  <rms@gnu.org>
7762         * emacs-lisp/checkdoc.el: Don't define a name for the minor mode menu.
7764         * emacs-lisp/easymenu.el (easy-menu-do-define): Handle nil for SYMBOL.
7765         (easy-menu-define): Doc fix, say SYMBOL can be nil.
7767         * window.el (save-selected-window): Save and restore
7768         selected windows of all frames.
7770         * cus-start.el (scroll-up-aggressively, scroll-down-aggressively):
7771         Update custom types.
7773 2002-12-23  Alex Schroeder  <alex@emacswiki.org>
7775         Merging Dave Love <fx@gnu.org>'s custom_themes branch containing
7776         Alex Schroeder's adaptation of Jan Vroonhof
7777         <vroonhof@math.ethz.ch>'s code.  Doc strings corrected by RMS.
7779         * cus-edit.el (customize-save-variable): Take themes into account.
7780         (custom-variable-save): Take themes into account.
7781         (custom-variable-reset-saved): Add comment-widget.
7782         (custom-variable-reset-standard): Add comment-widget.
7783         (custom-variable-reset-standard): Take themes into account.
7784         (custom-face-save): Take themes into account.
7785         (custom-face-reset-standard): Take themes into account.
7786         (custom-save-variables): Take themes into account.
7787         (custom-save-faces): Take themes into account.
7788         (custom-save-resets): New function.
7789         (custom-save-loaded-themes): New function.
7790         (customize-save-customized): Take themes into account.
7792         * cus-face.el (custom-set-faces): Call custom-theme-set-faces.
7793         (custom-theme-set-faces): New function.
7794         (custom-theme-face-value): New function.
7795         (custom-theme-reset-internal-face): New function.
7796         (custom-theme-reset-faces): New function.
7797         (custom-reset-faces): New function.
7799         * custom.el (custom-known-themes): New variable.
7800         (custom-declare-theme): New function.
7801         (deftheme): New macro.
7802         (custom-make-theme-feature): New function.
7803         (custom-theme-p): New function.
7804         (custom-check-theme): New function.
7805         (custom-push-theme): New function.
7806         (custom-theme-set-variables): Take themes into account.
7807         (custom-loaded-themes): New variable.
7808         (custom-theme-loaded-p): New function.
7809         (provide-theme): New function.
7810         (require-theme): New function.
7811         (custom-remove-theme): New function.
7812         (custom-do-theme-reset): New function.
7813         (custom-theme-load-themes): New function.
7814         (custom-load-themes): New function.
7815         (custom-theme-value): New function.
7816         (custom-theme-variable-value): New function.
7817         (custom-theme-reset-internal): New function.
7818         (custom-theme-reset-variables): New function.
7819         (custom-reset-variables): New function.
7821         * cus-theme.el: New file.
7823 2002-12-23  Matthew Swift  <swift@alum.mit.edu>
7825         * emacs-lisp/rx.el (rx-and): Generate a shy group.
7826         Specify `no-group' when calling rx-to-string.
7827         (rx-submatch): Specify `no-group' when calling rx-to-string.
7828         (rx-kleene): Use rx-atomic-p to decide whether to make a group.
7829         (rx-atomic-p): New function.
7831 2002-12-23  Kevin Ryde  <user42@zip.com.au>
7833         * info-look.el (info-lookup): For ease of use try item
7834         case-insensitive if not found case-sensitive.
7835         Do case sensitive search in index nodes, so items differing only in
7836         case go correctly to their respective nodes.
7838 2002-12-22  Richard M. Stallman  <rms@gnu.org>
7840         * subr.el (add-to-invisibility-spec): If it was t, start it out at (t).
7842         * textmodes/texinfmt.el (tex-start-of-header, tex-end-of-header):
7843         Add defvars.
7845         * textmodes/tex-mode.el (tex-print): Call shell-quote-argument
7846         on the file name.
7848         * textmodes/outline.el (outline-next-visible-heading):
7849         When going forward, test outline-invisible-p at start of header.
7851 2002-12-22  Kevin Ryde  <user42@zip.com.au>
7853         * textmodes/makeinfo.el (makeinfo-buffer): Display result using
7854         Info-mode.
7855         (makeinfo-compilation-sentinel-buffer, makeinfo-current-node):
7856         New functions.
7857         (makeinfo-compile): Add a sentinel parameter.
7858         (makeinfo-compilation-sentinel-region): Renamed from
7859         makeinfo-compilation-sentinel, and makeinfo-temp-file now never nil.
7860         (makeinfo-region): Use this.
7861         * info.el (Info-revert-find-node): New function.
7863 2002-12-22  Nick Roberts  <nick@nick.uklinux.net>
7865         * tooltip.el (tooltip-gud-tips): Output tooltip without switching
7866         process filter (gdba in gdb-ui.el only).
7867         (gdb-tooltip-print): New function.
7868         (tooltip-gud-process-output): Undo previous change.
7869         (tooltip-strip-annotations): Remove.
7871 2002-12-22  Zoltan Kemenczy  <zoltan@ieee.org>
7873         * gud.el (gud-menu-map): Add jdb support for "run".
7874         (gud-jdb-find-source-using-classpath): Use 'identity.
7875         (gud-jdb-marker-filter): Marker regexp and filename filtering
7876         change to support a backwards-incompatible change in Sun's jdb
7877         line number display in SDK versions 1.4.
7878         (gud-format-command): gud-find-class now requires two
7879         parameters (file and linenumber).
7880         (gud-find-class): Bulk of the change related to using c-syntactic
7881         symbols to locate nested class declarations in java sources
7882         visited by java-mode (cc-mode).
7884 2002-12-21  Nick Roberts  <nick@nick.uklinux.net>
7886         * gdb-ui.el: Remove the concept of an instance. This means that
7887         a lot of functions have been renamed. Accessors are prefixed with
7888         gdb-get, setters with gdb-set and the word instance has been
7889         removed from many function and variable names.
7890         (gdb-display-buffer): Protect source buffer as well
7891         as GUD buffer when requesting new buffers.
7892         (gdb-source-info): Two changes : Don't create display buffer
7893         automatically, compute source window correctly.
7895 2002-12-21  Richard M. Stallman  <rms@gnu.org>
7897         * man.el (Man-getpage-in-background): Put GROFF_NO_SGR in env.
7899         * ls-lisp.el (original-insert-directory): Make this a variable,
7900         don't set its function definition.
7901         (insert-directory): Use funcall to call that function.
7903         * bindings.el (help-echo): Change tooltip string.
7905         * chistory.el (command-history-map): Move definition up.
7907         * faces.el (help-xref-stack): Add defvar to avoid warning.
7909 2002-12-21  Andreas Schwab  <schwab@suse.de>
7911         * dired.el (dired-insert-directory): Preserve text properties
7912         when quoting.
7914 2002-12-20  Francesco Potort\e,Al\e(B  <pot@gnu.org>
7916         * mail/undigest.el (rmail-mail-separator): Renamed from
7917         rmail-digest-mail-separator.  All users changed.
7918         (unforward-rmail-message): Rewritten to be more robust and to
7919         additionally account for the common style of forwarding messages
7920         by citing them entirely with headers.
7922 2002-12-18  Dave Love  <fx@gnu.org>
7924         * international/utf-8-subst.el: Deleted.
7926         * international/ucs-tables.el (ucs-fragment-8859): Don't modify
7927         char-coding-system-table elements destructively.
7928         Use optimize-char-coding-system-table.
7930         * international/mule.el (optimize-char-coding-system-table): New.
7931         (register-char-codings): Use it.
7933         * international/utf-8.el (ucs-mule-cjk-to-unicode)
7934         (ucs-unicode-to-mule-cjk): Revert last change.
7935         (utf-subst-table-for-encode): Initially use ucs-mule-cjk-to-unicode.
7936         (utf-subst-table-for-decode): Initially use ucs-unicode-to-mule-cjk.
7937         (utf-fragment-on-decoding, utf-translate-cjk): Don't modify
7938         char-coding-system-table elements destructively.
7939         (utf-translate-cjk): Set ucs-mule-cjk-to-unicode,
7940         ucs-unicode-to-mule-cjk to new hash tables with realistic parameters.
7942 2002-12-18  John Paul Wallington  <jpw@shootybangbang.com>
7944         * info.el (Info-dir-remove-duplicates): Avoid infloop when
7945         deleting last entry.
7947 2002-12-17  Nick Roberts  <nick@nick.uklinux.net>
7949         * gdb-ui.el (gdba-marker-filter, gdb-output-burst): Merge and
7950         rename gud-gdba-marker-filter.
7951         (gdb-append-to-inferior-io): Only pop up IO buffer if there is output.
7952         (gdb-make-instance): Remove (put into gdba).
7953         Use gdb-instance-enqueue-input instead of
7954         gdb-instance-enqueue-idle-input for user functions.
7955         (gdb-instance-target-string): Simplify.
7956         (in-gdb-instance-context): Remove.
7957         Expand Commentary.
7959 2002-12-17  Kenichi Handa  <handa@m17n.org>
7961         * international/mule.el (set-file-name-coding-system): New function.
7963         * international/mule-cmds.el (mule-keymap, set-coding-system-map):
7964         Add bindings for set-file-name-coding-system.
7966 2002-12-17  Kenichi Handa  <handa@m17n.org>
7968         * international/mule-cmds.el (universal-coding-system-argument):
7969         Bind coding-system-require-warning to t.
7970         (select-safe-coding-system): Handle t in the arg
7971         DEFAULT-CODING-SYSTEM specially.  Use read-coding-system to read a
7972         coding-system to allow users to specify unsafe coding system on
7973         their risk.
7975 2002-12-16  Francesco Potort\e,Al\e(B  <pot@gnu.org>
7977         * mail/undigest.el (rmail-digest-methods)
7978         (rmail-digest-mail-separator): New variables.
7979         (rmail-digest-parse-mime, rmail-digest-parse-rfc1153strict)
7980         (rmail-digest-parse-rfc1153sloppy, rmail-digest-rfc1153)
7981         (rmail-digest-parse-rfc934): New functions.
7982         (undigestify-rmail-message): Completely rewritten.
7984 2002-12-16  Kim F. Storm  <storm@cua.dk>
7986         * ido.el (ido-read-file-name): Remove debug message.
7988 2002-12-16  Daniel Pfeiffer  <occitan@esperanto.org>
7990         * buff-menu.el (Buffer-menu, Buffer-menu-use-header-line)
7991         (Buffer-menu-buffer-face, Buffer-menu-buffer+size-width)
7992         (Buffer-menu-mode-width): New customization.
7993         (Buffer-menu-sort-column): New var.
7994         (Buffer-menu-no-header): New function for not changing header line and
7995         recognizing swapped M&R columns, used by modifying commands in Buffer
7996         Menu.
7997         (Buffer-menu-buffer+size): New function for variable width buffer name.
7998         (list-buffers-noselect): Rewritten for nicer menu.
8000 2002-12-16  Markus Rost  <rost@math.ohio-state.edu>
8002         * filesets.el (filesets-build-menu-now): Don't clear messages.
8004         * allout.el: Avoid name conflicts with outline.el.
8005         Replace globally string "outline-" with string "allout-".
8006         Replaced 1446 occurrences; there was no string "allout-" before the
8007         change and there seems to be no dependency on outline.el.
8008         Put `quotes' around many function and variable names.
8009         Doc changes to adjust to the change to prefix "allout-".
8010         Don't provide `outline'.  Use " Allout" as mode line string,
8011         not " Outl".  Put group `allout' in group `editing'.
8012         Update Copyright notice.  Autoload `allout-init'.
8013         (allout-init): Give report also in case auto-activation was inhibited.
8014         (my-mark-marker): Test for feature `xemacs' instead of a string parse.
8016 2002-12-16  Stefan Monnier  <monnier@cs.yale.edu>
8018         * xml.el (xml-parse-tag): Allow spaces between / and >.
8020 2002-12-15  David Kastrup  <David.Kastrup@t-online.de>
8022         * emacs-lisp/autoload.el (autoload-ensure-default-file):
8023         Insert missing space in file end comment.
8025 2002-12-15  Simon Josefsson  <jas@extundo.com>
8027         * mail/smtpmail.el (smtpmail-via-smtp): Fall back to
8028         user-mail-address as sender.
8030 2002-12-15  Dave Love  <fx@gnu.org>
8032         * international/mule-cmds.el (standard-keyboard-coding-systems):
8033         Delete.
8034         (set-locale-environment): Don't use it.
8036         * international/utf-8.el (ucs-mule-cjk-to-unicode)
8037         (utf-subst-table-for-encode, ucs-unicode-to-mule-cjk)
8038         (utf-subst-table-for-decode): Specify :size, :rehash-size.
8039         (utf-translate-cjk): :set rewritten to load subst-... files.
8040         Add :set-after.
8041         (ccl-decode-mule-utf-8): Consider CJK translation for r3<#x3400.
8043 2002-12-15  Gustav H\e,Ae\e(Bllberg  <gustav@virtutech.se>  (tiny change)
8045         * progmodes/compile.el (compile-reinitialize-errors): Don't mark the
8046         buffer as modified unless it really is.
8048 2002-12-14  Andreas Schwab  <schwab@suse.de>
8050         * wid-edit.el (widget-move): Don't loop infinitely when there is
8051         no field or button.
8053 2002-12-13  Stefan Monnier  <monnier@cs.yale.edu>
8055         * uniquify.el (uniquify-rationalize-file-buffer-names, rename-buffer)
8056         (uniquify-delay-rationalize-file-buffer-names, kill-buffer-hook):
8057         Undo 2002/09/27 change because kill-buffer-hook is not
8058         permanent-local.
8060         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8061         Optimize the remaining part of for-effect and/or expressions.
8063 2002-12-13  Markus Rost  <rost@math.ohio-state.edu>
8065         * emacs-lisp/easy-mmode.el (define-minor-mode):
8066         Use `custom-current-group'. Pass all groups to the hook.
8067         (easy-mmode-define-global-mode): Use `custom-current-group'.
8069         * international/mule-cmds.el (current-language-environment):
8070         Set type according to `language-info-alist' also here.
8072         * progmodes/compile.el (compilation-menu-map):
8073         Use `kill-compilation' to stop compilation.
8075 2002-12-13  Kenichi Handa  <handa@m17n.org>
8077         * language/european.el (encode-mac-roman): Fix last change.
8079         * language/cyrillic.el (ccl-encode-koi8, ccl-encode-koi8-u)
8080         (ccl-encode-alternativnyj): Fix last change.
8082 2002-12-13  Nick Roberts  <nick@nick.uklinux.net>
8084         * gdb-ui.el: Improve documentation strings.
8085         (gdb-many-windows): Set default value to nil.
8087 2002-12-12  Dave Love  <fx@gnu.org>
8089         * international/subst-big5.el, international/subst-gb2312.el:
8090         * international/subst-jis.el, international/subst-ksc.el: New.
8092         * custom.el (defcustom, custom-set-variables): Doc fix.
8094         * emacs-lisp/bytecomp.el (byte-compile-if): Suppress warnings from
8095         things protected by `(if (fboundp ...' or `(if (boundp ...'.
8097         * emacs-lisp/byte-opt.el (byte-optimize-featurep): New.
8099 2002-12-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
8101         * progmodes/fortran.el (fortran-mode-abbrev-table):
8102         Handle `define-abbrev' with either 5 or 6 arguments.
8104 2002-12-12  Markus Rost  <rost@math.ohio-state.edu>
8106         * international/mule-cmds.el (set-language-info):
8107         Update custom-type of `current-language-environment'.
8108         (current-language-environment): Fix custom type.
8110 2002-12-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8112         * progmodes/antlr-mode.el (antlr): New URL.
8114 2002-12-10  R. Bernstein  <rocky@panix.com>
8116         * gud.el (bashdb): Prompt now included parenthesis for subshell levels.
8117         Fix erroneous print expression command, and fix typos.
8118         (perldb): Undo previous change in prompt regexp.
8120 2002-12-10  Steven Tamm  <steventamm@mac.com>
8122         * generic-x.el (javascript-generic-mode): Added C style block
8123         comments as used in ECMA-262 standard.
8125 2002-12-10  Kenichi Handa  <handa@m17n.org>
8127         * language/european.el ("Swedish"): Change tutorial file name to
8128         TUTORIAL.sv in this langauge environment..
8130 2002-12-09  John Paul Wallington  <jpw@shootybangbang.com>
8132         * ibuffer.el (ibuffer-mode): If `show-paren-mode' is enabled,
8133         disable it buffer-locally.
8134         (ibuffer-mouse-popup-menu): Use `=' instead of `eq' to compare
8135         `eventpt' and point.
8137         * ibuf-ext.el (ibuffer-remove-duplicates): New function.
8138         (ibuffer-set-filter-groups-by-mode): Use it instead of
8139         `delete-duplicates' so we don't require cl library at runtime.
8140         (ibuffer-insert-filter-group-before): Don't use `position' so we
8141         don't require cl library at runtime.
8143         * chistory.el (command-history-mode): Add interactive spec.
8144         Improve doc string.
8146 2002-12-09  Richard M. Stallman  <rms@gnu.org>
8148         * isearch.el (isearch-no-upper-case-p): \\ only quotes one character.
8150 2002-12-09  Markus Rost  <rost@math.ohio-state.edu>
8152         * mwheel.el (mouse-wheel-scroll-amount): Revert previous change -
8153         customize type 'float is now defined.
8155 2002-12-09  Dave Love  <fx@gnu.org>
8157         * international/code-pages.el (mik, pt154): New coding systems.
8159         * international/ucs-tables.el: Fix properly.
8161 2002-12-09  Andreas Schwab  <schwab@suse.de>
8163         * international/ucs-tables.el: Fix last change.
8165 2002-12-09  Kenichi Handa  <handa@m17n.org>
8167         * international/titdic-cnv.el (titdic-convert): Process the
8168         header part in multibyte mode.
8170 2002-12-08  Dave Love  <fx@gnu.org>
8172         * international/code-pages.el (mule-diag): Move where it's required.
8174         * international/ucs-tables.el: Add latin-jisx0201 characters.
8175         Fix translation-table-for-input for lao, thai, tibetan.
8177 2002-12-08  Andreas Schwab  <schwab@suse.de>
8179         * files.el (insert-directory): Insert free space only when
8180         listing a full directory.
8182 2002-12-08  Nick Roberts  <nick@nick.uklinux.net>
8184         * gdb-ui.el : Remove inappropriate key-bindings.
8185         (gdb-info-breakpoints-custom, gdb-goto-bp-this-line):
8186         Parse correctly when breakpoint has no line number.
8187         (def-gdb-auto-update-handler, gdb-info-locals-handler),
8188         (gdb-display-end): Avoid using insert-buffer.
8189         (gdb-frames-select-by-mouse): Rename gdb-frames-mouse-select.
8191 2002-12-07  Richard M. Stallman  <rms@gnu.org>
8193         * progmodes/compile.el (compilation-enter-directory-regexp-alist)
8194         (compilation-leave-directory-regexp-alist): Match byte compiler output.
8196         * emacs-lisp/cl-macs.el: Add local variable list
8197         to turn off cl-function warnings.
8199         * emacs-lisp/bytecomp.el (byte-compile-eval): Handle (t . SYMBOL)
8200         elements in load-history.
8201         (byte-compile-cl-warn): No cl warnings for cl-defsubst-expand
8202         and cl-struct-setf-expander.
8204         * emacs-lisp/autoload.el (autoload-print-form-outbuf):
8205         New variable.
8206         (autoload-print-form): Use autoload-print-form-outbuf.
8207         (generate-file-autoloads): Bind autoload-print-form-outbuf.
8209         * calendar/calendar.el (calendar-day-name): Move defn down.
8211         * speedbar.el (speedbar-directory-buttons-follow):
8212         Don't use directory-sep-char.
8214 2002-12-06  Masatake YAMATO  <jet@gyve.org>  (tiny change)
8216         * register.el (describe-register-1): Use window-width
8217         to truncate string in a register.  Check whether the string
8218         in a register is an empty string or a sequence of white spaces.
8220 2002-12-07  Andreas Schwab  <schwab@suse.de>
8222         * faces.el (face-font-selection-order)
8223         (face-font-family-alternatives, face-font-registry-alternatives):
8224         Remove period from :tag value.
8226         * cus-edit.el (custom-face-edit-fix-value): Change :reverse-video
8227         to :inverse-video.
8229 2002-12-07  Markus Rost  <rost@math.ohio-state.edu>
8231         * wid-edit.el (define-widget number): Clarify doc and error message.
8232         (define-widget float): New widget.
8234 2002-12-07  Andreas Schwab  <schwab@suse.de>
8236         * eshell/em-ls.el (eshell-ls-product-regexp): Fix typo.
8238         * files.el (find-file-read-args): Reenable wildcard processing
8239         unconditionally.
8241 2002-12-06  Robert J. Chassell  <bob@rattlesnake.com>
8243         * textmodes/texinfmt.el (texinfo-format-scan): Handle new
8244         functions for copyright notice and copying permissions.
8245         (texinfo-copying, texinfo-insertcopying): New functions.
8247 2002-12-03  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8249         * textmodes/texinfmt.el (texinfo-format-ifxml)
8250         (texinfo-format-xml): New function.
8251         (ifxml, ifnotxml): New aliases.
8253 2002-12-06  Dave Love  <fx@gnu.org>
8255         * international/utf-8-subst.el: Revert last change.
8257 2002-12-06  Miles Bader  <miles@gnu.org>
8259         * info.el (Info-insert-dir): Make dir-node-cache variables
8260         buffer-local, so that killing the *info* buffer forces the
8261         dir-node to be rebuilt.
8263 2002-12-06  Markus Rost  <rost@math.ohio-state.edu>
8265         * finder.el (finder-compile-keywords): Don't insert a keyword to
8266         the generated file.
8268 2002-12-05  Andreas Schwab  <schwab@suse.de>
8270         * speedbar.el (speedbar-highlight-face): Fix face spec.
8272 2002-12-05  Stefan Monnier  <monnier@cs.yale.edu>
8274         * gdb-ui.el: Replace uses of (gdb-get-instance-buffer 'gdba) and
8275         gdb-proc with gud-comint-buffer instead.
8276         (gdb-proc): Remove.
8277         (def-gdb-var): Simplify.
8278         (gdb-get-create-instance-buffer): Avoid make-variable-buffer-local.
8279         Set gud-comint-buffer as well as gud-minor-mode and tool-bar-map.
8280         (gdb-goto-bp-this-line): Select the window while doing the goto-line.
8281         (gdb-info-locals-handler): Avoid replace-regexp.
8283         * calendar/calendar.el (facemenu-unlisted-faces): Only update
8284         after facemenu is loaded.
8285         (calendar-font-lock-keywords): Accept non-ASCII month names.
8286         Use regexp-opt.
8288         * gdb-ui.el (gud-gdb-complete-string, gud-gdb-complete-break)
8289         (gud-gdb-complete-list, gud-gdb-complete-in-progress): Remove.
8290         (gdba): Call `gdb' and then make modifications.
8291         Always call gdb-clear-inferior-io rather than just "the first time".
8292         (gud-break, gud-remove): Definitions moved to inside gdba.
8293         (gdb-target-name): Remove.  Use gud-target-name instead.
8294         (gdba-complete-filter, gdba-common-init): Remove.
8295         The changes were integrated into the generic code.
8297         * gud.el: Use match-string.
8298         (gud-menu-map): Re-fix gdb-running to gud-running.
8299         Activate up/down and finish for pdb.
8300         (gud-def): Use backquotes.
8301         (gdb, sdb, dbx, xdb, pdb, jdb, bashdb): Remove redundant menu bindings.
8302         (gud-gdb-complete-in-progress, gud-gdb-complete-string)
8303         (gud-gdb-complete-break, gud-gdb-complete-list):
8304         Rename to gud-gdb-fetch-lines-in-progress, gud-gdb-fetch-lines-string,
8305         gud-gdb-fetch-lines-break and gud-gdb-fetched-lines.
8306         (gud-gdb-fetch-lines-filter): Rename from gud-gdb-complete-filter.
8307         Add a `filter' argument and run it on `string'.
8308         (gud-gdb-run-command-fetch-lines): Use it instead of
8309         gud-gdb-speedbar-stack-filter.  Add a `skip' arg.
8310         Return the fetched lines.
8311         (gud-gdb-complete-command): Use it instead of cooking up
8312         something by hand using gud-gdb-complete-filter.
8313         (gud-gdb-get-stackframe): Use the new calling convention of
8314         gud-gdb-run-command-fetch-lines.
8315         (gud-gdb-fetched-stack-frame-list): Remove.
8316         (gud-gdb-speedbar-stack-filter): Remove.
8317         (gud-jdb-marker-filter): Change RE for easier extraction of submatches.
8318         (gud-bashdb-command-name): Add "--debugger" argument here.
8319         (bashdb): Use default gud-find-file and don't bother with
8320         a massage-args function now that --debugger is make explicit.
8321         (gud-bashdb-massage-args, gud-bashdb-find-file): Remove.
8322         (bashdb): Don't provide.
8323         (gud-target-name): New var.
8324         (gud-common-init): Set it.
8325         Also reset gud-running and gud-last-last-frame.
8327 2002-12-05  Dave Love  <fx@gnu.org>
8329         * international/utf-8-subst.el: Update safe-chars of mule-utf-8,
8330         mule-utf-16-le, mule-utf-16-be.
8332 2002-12-05  Richard M. Stallman  <rms@gnu.org>
8334         * textmodes/outline.el (outline-mode): Doc fix.
8336 2002-12-05  Edward M. Reingold  <reingold@emr.cs.iit.edu>
8338         * calendar/solar.el (solar-atn2): Give correct quadrant for arctan.
8340 2002-12-05  Kenichi Handa  <handa@m17n.org>
8342         * international/titdic-cnv.el (quail-misc-package-ext-info):
8343         Remove duplicate entry for chinese-b5-quick.
8344         (batch-miscdic-convert): Don't try to call miscdic-convert on
8345         files in the directory just following the arg "-dir".
8347 2002-12-04  Stefan Monnier  <monnier@cs.yale.edu>
8349         * gdb-ui.el: Fold top-level `setq's and `define-key's into their
8350         corresponding defvar.
8351         (gdb-inferior-io-mode-map): New var.
8352         Add bindings to it rather than to comint-mode-map.
8353         (gdb-display-number-end): Use dolist.  Remove always-true test.
8354         (gdb-delete-line): Move and simplify.
8355         (gdb-display-end): Don't bother going to beg-of-line since we're there.
8356         (gdb-array-format1): Use dolist.
8357         (gdb-make-windows-menu, gdb-make-frames-menu):
8358         Move to top-level code.  Move the menus to within the GUD menu.
8359         Make the menus only appear in gdba mode.
8361         * gdb-ui.el (gdb-inferior-io-mode-map): Remove (unused).
8362         (gdb-inferior-io-mode): Use define-minor-mode.
8363         (gdb-source-info): Don't burp if there's no source file.
8364         (gdb-inferior-io-interrupt, gdb-inferior-io-quit)
8365         (gdb-inferior-io-stop, gdb-inferior-io-eof)
8366         (gdb-display-breakpoints-buffer, gdb-frame-breakpoints-buffer)
8367         (gdb-display-stack-buffer, gdb-frame-stack-buffer)
8368         (gdb-display-registers-buffer, gdb-frame-registers-buffer)
8369         (gdb-display-locals-buffer, gdb-frame-locals-buffer)
8370         (gdb-display-display-buffer, gdb-frame-display-buffer)
8371         (gdb-display-gdb-buffer, gdb-frame-gdb-buffer)
8372         (gdb-display-assembler-buffer, gdb-frame-assembler-buffer):
8373         Remove the spurious left over arg from the "big reorg".
8375 2002-12-04  Richard M. Stallman  <rms@gnu.org>
8377         * gud.el (gud-menu-map): Update for bashdb.
8378         (perldb): Change prompt regexp.
8379         (gud-bashdb-history, gud-bashdb-massage-args, gud-bashdb-marker-filter)
8380         (gud-bashdb-find-file, gud-bashdb-command-name, bashdb): New.
8382         * progmodes/cc-vars.el: Simply require wid-edit and custom
8383         in eval-when-compile.
8385         * progmodes/cc-menus.el: Don't require imenu.
8387         * progmodes/cc-langs.el: Don't require cl.
8388         (c-delete-duplicates): New function.  Use instead of delete-duplicates.
8390         * progmodes/cc-bytecomp.el (cc-bytecomp-obsolete-var):
8391         Add an else-clause to the if to avoid confused compiler warning.
8393         * tooltip.el (tooltip-gud-tips-p): Undo previous change.
8395 2002-12-03  Stefan Monnier  <monnier@cs.yale.edu>
8397         * gdb-ui.el: Get rid of (quote ..); use match-string and ignore.
8399         * gdb-ui.el (gdba, gdb-starting, gdb-stopped, gdb-quit):
8400         Update gdb-running -> gud-running.
8401         (gdba): Use the default for gud-find-file.
8402         (def-gdb-variable): Remove: fold into def-gdb-var.
8403         (def-gdb-var): Use buffer-local-value and with-current-buffer.
8405         * gud.el (gud-running): Rename from gdb-running.  Update uses.
8406         (gud-tool-bar-map): Use tool-bar-local-item-from-menu rather than
8407         tool-bar-add-item-from-menu to avoid let binding tool-bar-map
8408         which fails if tool-bar.el is loaded in the mean time.
8409         (gud-file-name): New fun.
8410         (gud-find-file): Use it as default value for gud-find-file.
8411         (gud-speedbar-buttons): Discriminate on gud-minor-mode rather than
8412         on gud-find-file.
8413         (gud-gdb-find-file, gud-dbx-file-name, gud-dbx-find-file)
8414         (gud-xdb-file-name, gud-xdb-find-file, gud-perldb-find-file)
8415         (gud-pdb-find-file, gud-jdb-find-file): Remove.
8416         (gud-query-cmdline): Don't stuff the whole cwd in the command.
8417         (gdb, dbx, xdb, perldb, pdb, jdb): Use the default for gud-find-file.
8418         (gud-mipsdbx-massage-args): Remove.
8419         (gud-dbx-command-name): New var.  Do what gud-mipsdbx-massage-args did.
8420         (gud-irixdbx-marker-filter): Use match-string and gud-file-name.
8421         (gud-jdb-command-name): New var.
8422         (gud-common-init): Re-instate RMS code of 11/13.
8424 2002-12-03  Dave Love  <fx@gnu.org>
8426         * international/ucs-tables.el (ucs-unify-8859, ucs-unify-8859)
8427         (ucs-fragment-8859): Don't use set-buffer-major-mode-hook.
8428         (ucs-set-table-for-input): Use optional arg.  Check for null `cs'.
8430 2002-12-03  Andreas Schwab  <schwab@suse.de>
8432         * cus-edit.el (custom-display): Add checkbox for type mac.
8434         * whitespace.el (whitespace-highlight-face): Fix face spec.
8436 2002-12-02  Stefan Monnier  <monnier@cs.yale.edu>
8438         * simple.el (completion-setup-function): Fix last change to use
8439         minibuffer-completing-file-name instead.
8441         * add-log.el (change-log-mode): Set indent-line-function explicitly
8442         to what it was before indent-line-function's default was changed.
8444 2002-12-02  Richard M. Stallman  <rms@gnu.org>
8446         * textmodes/ispell.el (ispell-dict-map): Move specific
8447         dictionary selection into a submenu.
8449         * textmodes/fill.el (fill-indent-to-left-margin): New function.
8450         (fill-newline, fill-region-as-paragraph): Use that.
8452         * simple.el (completion-setup-function):
8453         Handle ffap-read-file-or-url-internal specially like
8454         read-file-name-internal.
8456 2002-12-02  Simon Marshall  <marshals@perth>
8458         * font-lock.el (c++-font-lock-extra-types): Fix previous change.
8460 2002-12-02  Fran\e,Ag\e(Bois Pinard  <pinard@iro.umontreal.ca>
8462         * progmodes/make-mode.el (makefile-font-lock-keywords): Highlight
8463         more make keywords:  defined, endef, override, export, unexport
8464         and vpath.
8466 2002-12-02  Dave Love  <fx@gnu.org>
8468         * autoarg.el (autoarg-kp-mode): Give it a :group.
8470 2002-12-02  Noah Friedman  <friedman@splode.com>
8472         * complete.el (PC-do-completion): Do not add wildcards to pattern
8473         unless filename is non-nil.
8475 2002-12-02  Andreas Schwab  <schwab@suse.de>
8477         * mwheel.el (mouse-wheel-scroll-amount): Fix customize type.
8479         * paren.el (show-paren-mismatch-face): Fix face spec.
8481 2002-11-30  Nick Roberts  <nick@nick.uklinux.net>
8483         * gdb-ui.el (gdb-many-windows): Define as a minor mode.
8484         (toggle-gdb-windows): Remove. (Patch from Stefan Monnier)
8486         * tooltip.el (tooltip-gud-process-output): Handle annotations that
8487         are output with gdba in gdb-ui.el.
8488         (tooltip-strip-annotations): New function.
8490 2002-11-29  Dave Love  <fx@gnu.org>
8492         * autoarg.el (autoarg-mode): Give it a :group.
8494 2002-11-29  Bill Wohler  <wohler@newt.com>
8496         * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el,
8497         mail/mh-mime.el, mail/mh-pick.el, mail/mh-seq.el,
8498         mail/mh-utils.el, mail/mh-xemacs-compat.el: Upgraded to MH-E
8499         version 7.0.
8501         * mail/mh-index.el, mail/mh-speed.el: New files for indexed
8502         searches and speedbar support in MH-E version 7.0.
8504         * toolbar/reply-all.pbm, toolbar/reply-all.xpm,
8505         toolbar/reply-from.pbm, toolbar/reply-from.xpm,
8506         toolbar/reply-to.pbm, toolbar/reply-to.xpm: New toolbar images for
8507         MH-E version 7.0.
8509 2002-11-29  Markus Rost  <rost@math.ohio-state.edu>
8511         * mwheel.el (mouse-wheel-inhibit-click-time): Fix custom type.
8513 2002-11-29  Richard M. Stallman  <rms@gnu.org>
8515         * mail/rmail.el (rmail-convert-to-babyl-format):
8516         Make search for message delimiter case-sensitive.
8518         * simple.el (yank-window-start): New variable.
8519         (yank): Record yank-window-start
8520         (yank-pop): Use yank-window-start.
8522         * info.el (Info-additional-directory-list): Doc fix.
8524         * indent.el (indent-according-to-mode, indent-region): Doc fix.
8526         * tooltip.el (tooltip-gud-tips-p): Doc fix.
8528         * eshell/em-script.el: Require eshell.
8530         * eshell/esh-ext.el, eshell/em-cmpl.el: Require esh-util.
8532 2002-11-29  Kim F. Storm  <storm@cua.dk>
8534         * mwheel.el: Avoid accidental yanking of text while scrolling with
8535         the mouse wheel.  This adds a short period after each mouse wheel
8536         scroll event where a click on the mouse wheel button is ignored.
8537         (mouse-wheel-click-event, mouse-wheel-inhibit-click-time): New customs.
8538         (mouse-wheel-click-button, mwheel-inhibit-click-event-timer): New vars.
8539         (mwheel-inhibit-click-timeout,mwheel-filter-click-events): New defuns.
8540         (mwheel-scroll): Add mwheel-filter-click-events as pre-command-hook.
8541         Start mwheel-inhibit-click-event-timer with timeout handler
8542         mwheel-inhibit-click-timeout.
8544 2002-11-28  Nick Roberts  <nick@nick.uklinux.net>
8546         * tooltip.el (tooltip-gud-tips-setup): Remove.
8547         (tooltip-gud-debugger): Remove.
8548         (tooltip-gud-print-command): Use gud-minor mode instead of
8549         tooltip-gud-tips-setup and tooltip-gud-debugger.
8551         * gdb-ui.el (gdb-starting): Set gdb-running to t.
8552         (gdb-stopped): Set gdb-running to nil.
8553         (gdb-quit): Reset some variables including tool-bar-map.
8555         * gud.el (gdb-running): New variable.
8556         (gud-menu-map): Use gdb-running to grey out toolbar buttons
8557         with gdba in gdb-ui.el.
8558         (gud-tool-bar-map): Move to avoid byte compiler warning.
8560 2002-11-27  Jason Rumney  <jasonr@gnu.org>
8562         * files.el (file-truename): Canonicalize non-existent names on w32.
8564 2002-11-28  Kim F. Storm  <storm@cua.dk>
8566         * ido.el (ido-xemacs): Remove defvar.  All uses changed to
8567         check (featurep 'xemacs) instead.
8568         (ido-visit-buffer): Use select-frame-set-input-focus unconditionally.
8570 2002-11-27  Dave Love  <fx@gnu.org>
8572         * emacs-lisp/cl-macs.el: Move `predicates for analyzing Lisp
8573         forms' block to top (before uses).
8574         (help-fns): Don't require at top level.  (Recursively.)
8575         (cl-transform-lambda): Require help-fns.
8577 2002-11-26  Dave Love  <fx@gnu.org>
8579         * language/european.el (encode-mac-roman): Deal with unencodable
8580         characters.
8582         * language/cyrillic.el (ccl-encode-koi8, ccl-encode-koi8-u)
8583         (ccl-encode-alternativnyj): Deal with unencodable characters.
8585         * international/code-pages.el (cp-make-coding-system): Deal with
8586         unencodable characters.
8588 2002-11-24  Richard M. Stallman  <rms@gnu.org>
8590         * mail/sendmail.el (mail-signature): Handle case where
8591         value of mail-signature is a string.
8593         * menu-bar.el (menu-bar-describe-menu): Add "What's This?" item.
8595         * faces.el (face-set-after-frame-default): Ignore errors
8596         in face-spec-face-set.
8598         * cus-face.el (custom-declare-face): Add face-defface-spec
8599         prop after applying the face spec.
8601 2002-11-23  Nick Roberts  <nick@nick.uklinux.net>
8603         * tooltip.el (tooltip-gud-print-command): Add server prefix to the
8604         print command for gdb to keep it out of the command history.
8606         * gdb-ui.el: Major re-organisation. Simplify legacy gdba
8607         code to allow only one gdb process.
8609 2002-11-23  Markus Rost  <rost@math.ohio-state.edu>
8611         * scroll-all.el (scroll-all-mode): Move arg LIGHTER to the right
8612         place.  Add groups.
8614 2002-11-22  Simon Marshall  <marshals@perth>
8616         * font-lock.el (c++-font-lock-extra-types): Add various STL classes.
8618 2002-11-21  Nick Roberts  <nick@nick.uklinux.net>
8620         * gdb-ui.el : General tidying. Patches from Stefan Monnier.
8622 2002-11-20  Simon Josefsson  <jas@extundo.com>
8624         * play/morse.el (morse-code): Add non-ASCII characters, according
8625         to table at http://www.soton.ac.uk/~scp93ch/morse/.
8627 2002-11-21  Richard M. Stallman  <rms@gnu.org>
8629         * dired.el (dired-sort-inhibit): New variable.
8630         (dired-sort-toggle-or-edit): Err if dired-sort-inhibit non-nil.
8632         * find-dired.el (find-dired): Set dired-sort-inhibit to t
8633         buffer-locally.
8635 2002-11-21  Eugene Exarevsky  <zheka@relex.ru>
8637         * progmodes/sql.el: Added LINTER support.
8638         (sql-linter-program): New variable.
8639         (sql-linter-options): New variable.
8640         (sql-mode-menu): Added Linter keywords.
8641         (sql-mode-linter-font-lock-keywords): New variable.
8642         (sql-highlight-linter-keywords): New function.
8643         (sql-linter): New function.
8644         (sql-ms-options): New variable.
8645         (sql-ms): Use it.
8647 2002-11-21  John Paul Wallington  <jpw@shootybangbang.com>
8649         * ibuffer.el (ibuffer-formats): Change default value; bump width
8650         of size column in first format to 7.
8652 2002-11-20  Stefan Monnier  <monnier@cs.yale.edu>
8654         * help-fns.el (describe-variable): Look for (defvar . <sym>) in the
8655         load-history since `defvar' now uses this format.
8657         * custom.el (custom-declare-variable): Use push.
8658         Use the (defvar . <sym>) format in load-history like `defvar' does.
8660         * subr.el (symbol-file): Accept a non-atomic `function' arg.
8661         (with-local-quit): Add debug and indentation info.
8663 2002-11-20  John Paul Wallington  <jpw@shootybangbang.com>
8665         * subr.el (symbol-file): Remove unused variable `functions'.
8667 2002-11-20  Markus Rost  <rost@math.ohio-state.edu>
8669         * Makefile.in (setwins_almost): Renamed from finder_setwins.
8670         (custom-deps): Use it.
8671         (finder-data): Adjust to that name change.
8673 2002-11-19  Stefan Monnier  <monnier@cs.yale.edu>
8675         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8676         Turn errors into messages so they don't get ignored.
8677         (eldoc-get-fnsym-args-string): Use help-split-fundoc.
8678         (eldoc-beginning-of-sexp): Simplify.
8679         (eldoc-function-arglist): Remove.
8680         (eldoc-function-argstring): Use help-function-arglist instead.
8681         (eldoc-function-argstring-from-docstring-method-table)
8682         (eldoc-function-argstring-from-docstring): Remove.
8684         * emacs-lisp/cl.el (multiple-value-call): Add docstring.
8686 2002-11-19  Dave Love  <fx@gnu.org>
8688         * emacs-lisp/bytecomp.el (maphash, map-char-table):
8689         Use byte-compile-funarg.
8691         * emacs-lisp/byte-opt.el (side-effect-free-fns): Several additions.
8693 2002-11-19  Markus Rost  <rost@math.ohio-state.edu>
8695         * progmodes/vhdl-mode.el (defgroup vhdl-related): Declare the
8696         members here rather than with custom-add-to-group.  This is the
8697         intended way of using defgroup and also lets
8698         custom-make-dependencies do its job.
8699         (defgroup vhdl-highlight-faces): Ditto.
8701         * emacs-lisp/shadow.el (defgroup lisp-shadow): New group name.
8702         Previous group name shadow is used in shadowfile.el.
8703         (shadows-compare-text-p): Use group lisp-shadow.
8705 2002-11-19  Stefan Monnier  <monnier@cs.yale.edu>
8707         * emacs-lisp/cl.el (multiple-value-call): Add docstring.
8709 2002-11-19  Masatake Yamato  <jet@gyve.org>  (tiny change)
8711         * register.el (describe-register-1): Don't assign to val the value
8712         returned by `remove-list-of-text-properties'.
8714 2002-11-18  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
8716         * calendar/diary-lib.el (fancy-diary-font-lock-keywords):
8717         Grok month numbers, too.
8719 2002-11-18  Juanma Barranquero  <lektu@terra.es>
8721         * mail/smtpmail.el (smtpmail-send-queued-mail): Add autoload cookie.
8723 2002-11-18  Markus Rost  <rost@math.ohio-state.edu>
8725         * pcvs.el (cvs-minor-mode, cvs-mode-commit-hook): Add group.
8727         * textmodes/refill.el (defgroup refill): New group.
8729         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Add group.
8731         * textmodes/sgml-mode.el (html-autoview-mode): Add group.
8733         * textmodes/paragraphs.el (use-hard-newlines): Add group.
8735         * progmodes/compile.el (compilation-shell-minor-mode): Add group.
8736         (compilation-minor-mode): Add group.
8738         * reveal.el (global-reveal-mode): Add group.
8740         * bookmark.el (bookmark-menu-length): Fix group name.
8742 2002-11-17  Richard M. Stallman  <rms@gnu.org>
8744         * mail/rmail.el (rmail-ignored-headers): Add more headers.
8746         * calendar/parse-time.el (parse-time-elt): Var renamed from `elt'.
8747         (parse-time-val): Var renamed from `val'.  All uses changed.
8749         * files.el (parse-time-rules): Mark it as risky.
8751         * finder.el (finder-commentary): Use buffer *Finder-package*.
8753         * menu-bar.el (menu-bar-options-menu): Improve tooltip string.
8755         * simple.el (indicate-unused-lines)
8756         (default-indicate-unused-lines): New variable aliases.
8758 2002-11-18  Kenichi Handa  <handa@m17n.org>
8760         * progmodes/cc-vars.el: Undo previous change.
8762 2002-11-18  Kenichi Handa  <handa@m17n.org>
8764         * language/cyrillic.el (cyrillic-iso-8bit): Make it safe.
8766         * language/european.el (iso-latin-1): Make it safe.
8767         (iso-latin-2, iso-latin-3, iso-latin-4, iso-latin-5, iso-latin-8)
8768         (iso-latin-9): Likewise.
8770         * language/greek.el (greek-iso-8bit): Make it safe.
8772         * language/hebrew.el (hebrew-iso-8bit): Make it safe.
8774         * language/lao.el (lao): Make it safe.
8776         * language/thai.el (thai-tis620): Make it safe.
8778 2002-11-17  Markus Rost  <rost@math.ohio-state.edu>
8780         * speedbar.el (defgroup speedbar): Use group 'etags instead of
8781         nonexisting group 'tags.
8783         * emacs-lisp/re-builder.el: Add provide call.
8785         * mail/feedmail.el (feedmail-fiddle-headers-upwardly)
8786         (feedmail-fiddle-plex-user-list): Fix typo in group name.
8788         * progmodes/make-mode.el (makefile-space-face): Fix group name.
8790         * textmodes/ispell.el (defgroup ispell): Arrange that definition
8791         starts at beginning of line.
8793         * textmodes/table.el (defgroup table-hooks): New group.
8794         (table-cell-map-hook): Fix typo in group name.
8796         * calendar/diary-lib.el (diary-button-face): Add group and version
8797         number.
8799         * warnings.el (defgroup warnings): New group.
8801 2002-11-16  Markus Rost  <rost@math.ohio-state.edu>
8803         * emacs-lisp/autoload.el (update-autoloads-from-directories):
8804         Sort the list of files with no autoloads.
8806 2002-11-16  Alan Shutko  <ats@acm.org>
8808         * calendar/diary-lib.el (list-diary-entries): Pass a marker
8809         indicating source of entry to add-to-diary-list.
8810         (diary-button-face, diary-entry, diary-goto-entry): New, to
8811         support click to diary file.
8812         (fancy-diary-display): Buttonize diary entries.
8813         (list-sexp-diary-entries): Pass a marker indicating source of
8814         entry to add-to-diary-list.
8815         (diary-date): Return mark as well as entry.
8817         * calendar/calendar.el (diary-face): New.
8818         (european-calendar-display-form, describe-calendar-mode)
8819         (mark-visible-calendar-date, calendar-mark-today): Tidy doc string.
8820         (calendar-make-alist): New.
8821         (calendar-mode): Set up font-lock mode.
8822         (generate-calendar-window): Fontify if font-lock-mode is on.
8824 2002-11-16  Ivan Zakharyaschev  <imz@altlinux.org>  (tiny change)
8826         * international/codepage.el (cp866-decode-table): Fix the
8827         translation table.
8829 2002-11-16  Martin Stjernholm  <bug-cc-mode@gnu.org>
8831         * progmodes/cc-bytecomp.el (cc-bytecomp-defun): Fixed bug that
8832         caused existing function definitions to be overridden by
8833         phonies when the bytecomp environment is restored.
8835 2002-11-15  Nick Roberts  <nick@nick.uklinux.net>
8837         * toolbar/gud-break.pbm, toolbar/gud-cont.pbm, toolbar/gud-display.pbm,
8838         toolbar/gud-down.pbm, toolbar/gud-finish.pbm, toolbar/gud-goto.pbm,
8839         toolbar/gud-next.pbm, toolbar/gud-print.pbm, toolbar/gud-remove.pbm,
8840         toolbar/gud-run.pbm, toolbar/gud-step.pbm, toolbar/gud-up.pbm:
8841         Icons for debugger (pbm files).
8843 2002-11-15  Richard M. Stallman  <rms@gnu.org>
8845         * international/mule.el (set-buffer-file-coding-system): Redo prev chg.
8847 2002-11-15  John Paul Wallington  <jpw@shootybangbang.com>
8849         * ibuffer.el (ibuffer-use-other-window, ibuffer-use-header-line)
8850         (ibuffer-visit-buffer, ibuffer-redisplay, ibuffer-update): Doc fix.
8851         (ibuffer-mode-hooks): Remove spurious defvar.
8852         (ibuffer): Run `ibuffer-hook' instead of `ibuffer-hooks'.
8853         (ibuffer-mode): Run `ibuffer-mode-hook' instead of
8854         `ibuffer-mode-hooks'.
8856 2002-11-15  Markus Rost  <rost@math.ohio-state.edu>
8858         * mail/rmailedit.el: Add provide call.
8860         * play/bruce.el: Add provide call.
8862         * emacs-lisp/gulp.el: Add provide call.
8864 2002-11-14  Richard M. Stallman  <rms@gnu.org>
8866         * international/mule.el (set-buffer-file-coding-system): Undo prv chg.
8868 2002-11-14  Markus Rost  <rost@math.ohio-state.edu>
8870         * custom.el (custom-declare-group): Remove unnecessary line of code.
8872         * cus-dep.el (custom-make-dependencies): Bind load-file-name.
8874 2002-11-14  Edward M. Reingold  <reingold@emr.cs.iit.edu>
8876         * calendar/diary-lib.el (make-diary-entry): Allow for local variables
8877         at end of diary file.
8879 2002-11-14  Kim F. Storm  <storm@cua.dk>
8881         * files.el (mode-name): Mark it as risky-local-variable like the
8882         other mode-line elements (moved from bindings.el).
8884         * bindings.el (mode-name): Moved mark as risky-local-variable to
8885         files.el.
8887 2002-11-14  Juanma Barranquero  <lektu@terra.es>
8889         * gud.el: Fix feature name in `provide'.
8891         * gdb-ui.el: Fix feature name in `require'.
8893 2002-11-14  Per Cederqvist  <ceder@lysator.liu.se>  (tiny change)
8895         * progmodes/etags.el (find-tag-default): Copy text at point without
8896         properties.
8898 2002-11-14  Kenichi Handa  <handa@m17n.org>
8900         * progmodes/cc-vars.el: Don't cc-bytecomp-defun char-table-p.
8902 2002-11-14  Kim F. Storm  <storm@cua.dk>
8904         * textmodes/fill.el (fill-nobreak-invisible): New var.
8905         (fill-nobreak-p): Test it; return t if set and point invisible.
8906         (fill-newline): Test it; remove invisible prop on newline if set.
8908         * info.el (Info-fontify-node): New local list paragraph-markers.
8909         Record markers for mangled *note references on that list.
8910         When done, go back through those markers and fill each mangled
8911         paragraph with `fill-nobreak-invisible' let-bound to t.
8912         Don't use `display' property; insert "see" directly in buffer.
8914 2002-11-14  Nick Roberts  <nick@nick.uklinux.net>
8916         * gdb-ui.el: New file, User Interface for running GDB
8918         * gud.el:(gud-find-file): Set up GDB tool bar.
8919         (gud-menu-map): New commands: run, goto.
8920         Enable some commands for gdba.
8921         (gud-query-cmdline): Pass default directory to gdba.
8922         (gdb): Defune gud-goto and gud-run.
8923         (gud-gdb-complete-command): Maybe use gdba-complete-filter.
8924         (gud-mode): Set up local tool bar.
8925         (gud-display-line): For gdba, call gdb-display-source-buffer.
8926         (gud-basic-call): For gdba, maybe delete the current prompt.
8927         (gud-tool-bar-map): New variable.
8928         (gud-read-address): Correction.
8930         * toolbar/gud-break.xpm, toolbar/gud-cont.xpm, toolbar/gud-display.xpm,
8931         toolbar/gud-down.xpm, toolbar/gud-finish.xpm, toolbar/gud-goto.xpm,
8932         toolbar/gud-next.xpm, toolbar/gud-print.xpm, toolbar/gud-remove.xpm,
8933         toolbar/gud-run.xpm, toolbar/gud-step.xpm, toolbar/gud-up.xpm:
8934         Icons for debugger.
8936 2002-11-13  Stefan Monnier  <monnier@cs.yale.edu>
8938         * pcvs.el (cvs-mode-run): Don't pass "." if not needed.
8940 2002-11-13  Andre Spiegel  <spiegel@gnu.org>
8942         * vc-rcs.el (vc-rcs-registered): Improve comment.
8944         * vc-sccs.el (vc-sccs-registered): Improve comment.
8946 2002-11-13  Tim Van Holder  <tim.vanholder@anubex.com>  (tiny change)
8948         * progmodes/compile.el (compilation-error-regexp-alist):
8949         Don't include colon and space after a file name as part of the name.
8951 2002-11-13  Richard M. Stallman  <rms@gnu.org>
8953         * gud.el (gdb): Undo 10-26 change.
8955 2002-11-13  Kenichi Handa  <handa@m17n.org>
8957         * replace.el (occur-engine): Set buffer-file-coding-system of
8958         OUT-BUF to that of one of BUFFERS if they locally bind that variable.
8960 2002-11-13  Markus Rost  <rost@math.ohio-state.edu>
8962         * custom.el (custom-handle-all-keywords): Fix arg passed to
8963         custom-add-to-group.
8965 2002-11-12  Stefan Monnier  <monnier@cs.yale.edu>
8967         * pcvs-defs.el (cvs-mode-map): Remove M-f binding.
8968         (cvs-minor-mode-map): Add e binding in log-view-mode.
8970         * progmodes/perl-mode.el (perl-hanging-paren-p): New fun.
8971         (perl-indent-line): Look at the open-paren to indent a close-paren.
8972         (perl-calculate-indent): Try to better indent args after hanging paren.
8973         Remove special code for open-paren-in-column-0.
8975         * textmodes/sgml-mode.el (sgml-namify-char): New cmd.
8976         (sgml-name-char): Use it.
8977         (sgml-tag-last, sgml-tag-history): New vars.
8978         (sgml-tag): Use them.
8979         (sgml-skip-tag-forward): Use sgml-tag-syntax-table.
8980         (sgml-delete-tag): Remove resulting empty lines.
8981         (sgml-tag) <symbol-plist>: Don't make intangible.
8982         (sgml-parse-tag-backward): Add limit argument.
8983         (html-autoview-mode): Use define-minor-mode.
8985 2002-11-12  Markus Rost  <rost@math.ohio-state.edu>
8987         * vc-rcs.el (vc-rcs-registered): Handle the autoload cookie so
8988         that the definition is found by `find-function-search-for-symbol'
8989         and etags.
8991         * vc-sccs.el (vc-sccs-registered): Ditto.
8993         * emulation/edt.el (defgroup edt): Arrange that definition starts
8994         at beginning of line.
8996         * ls-lisp.el (defgroup ls-lisp): Remove autoload cookie.
8998         * hi-lock.el (defgroup hi-lock-interactive-text-highlighting):
8999         Remove autoload cookie.
9001         * newcomment.el (defgroup comment): Remove autoload cookie.
9003 2002-11-11  Markus Rost  <rost@math.ohio-state.edu>
9005         * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button):
9006         Declare with defvar, not with defcustom.
9008         * cus-dep.el: Don't require 'autoload.
9009         (custom-make-dependencies): Handle :version also for autoloaded
9010         options.
9012         * winner.el (defgroup winner): Arrange that definition starts at
9013         beginning of line.
9015         * emulation/edt.el: Simplify Emacs 19 compatibility.
9017 2002-11-11  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>  (tiny change)
9019         * dired-aux.el (dired-show-file-type): Format filename with "%s" to
9020         escape any format-like sequences it could contain.
9022 2002-11-11  Per Abrahamsen  <abraham@dina.kvl.dk>
9024         * cus-edit.el (custom-save-delete): Force emacs-lisp-mode.
9026 2002-11-11  Juanma Barranquero  <lektu@terra.es>
9028         * bindings.el (mode-name): Mark it as risky-local-variable.
9030 2002-11-09  Dave Love  <fx@gnu.org>
9032         * international/mule-cmds.el (current-language-environment):
9033         Fix :type.
9035         * international/ucs-tables.el: Revert to using
9036         translation-table-for-input instead of keyboard-translate-table.
9038         * international/quail.el (quail-input-string-to-events):
9039         Revert last change.
9041         * simple.el (quoted-insert): Bind translation-table-for-input,
9042         not keyboard-translate-table.
9044 2002-11-08  Stefan Monnier  <monnier@cs.yale.edu>
9046         * arc-mode.el (archive-zip-summarize): Don't hardcode (point-min) = 1.
9048         * complete.el (PC-do-completion): Make partial-completion work
9049         with incomplete directory names.
9051         * textmodes/tex-mode.el (latex-standard-block-names): Rename from
9052         standard-latex-block-names.
9053         (tex-font-lock-keywords-1): Add providecommand, renewenvironment,
9054         and renewtheorem.  Highlight \it and \bf separately since they
9055         may overlap.
9056         (tex-font-lock-suscript, tex-font-lock-unfontify-region): New funs.
9057         (tex-font-lock-keywords-3, tex-verbatim-environments)
9058         (tex-font-lock-syntactic-keywords): New vars.
9059         (superscript, subscript, tex-verbatim-face): New faces.
9060         (tex-font-lock-syntactic-face-function): Handle \verb construct.
9061         (tex-common-initialization): Update font-lock-defaults setting.
9062         (tex-insert-braces): Make it into a skeleton.
9063         (latex-fill-nobreak-predicate): Don't break after \.
9064         (latex-insert-block): Rename from tex-latex-block.
9065         (latex-down-list): Use tex-mode-syntax-table when skipping parens
9066         rather than the indentation syntax-table.
9067         (latex-close-block): Rename from tex-close-latex-block.
9068         (latex-split-block): New fun.
9069         (latex-indent): Don't indent inside a verbatim block.
9070         (latex-find-indent): Stick \begin{verbatim} to the margin.
9072 2002-11-08  John Wiegley  <johnw@gnu.org>
9074         * calendar/timeclock.el (timeclock-modeline-display): Use assq as
9075         well as memq to find `global-mode-string' within
9076         `mode-line-format'.  The structure of that variable has changed in
9077         21.3.
9079 2002-11-07  Stefan Monnier  <monnier@cs.yale.edu>
9081         * format.el (format-decode): Be careful with the order in `format'.
9083         * eshell/esh-cmd.el (function-p-func): Avoid `xemacs-p'.
9085         * eshell/em-glob.el: Require esh-util.
9086         (eshell-glob-initialize): Don't assume
9087         eshell-special-chars-outside-quoting is available.
9089         * textmodes/fill.el (fill-paragraph): Consider a comment-start as
9090         a paragraph starter when filling non-comments.
9091         (fill-comment-paragraph): Don't narrow while doing the fill.
9092         Recognize paragraph starters and separators within comments.
9093         Use adaptive-fill-prefix when it works.  Use comment-search-forward.
9095         * progmodes/compile.el (grep-default-command): New fun.
9096         (grep): Use it.
9097         (compilation-menu-map): New var.
9098         (compilation-minor-mode-map, compilation-shell-minor-mode-map): Use it.
9099         (compilation-mode-map): Simplify.
9100         (compilation-shell-minor-mode, compilation-minor-mode):
9101         Use define-minor-mode.
9103         * elide-head.el (elide-head): Don't make intangible.
9105         * help.el (where-is): Rename map to defs (a list of syms is not a map).
9106         Test fboundp first, to speed things up.  Use push.
9108         * isearch.el (isearch-hidden): New var.
9109         (isearch-search-and-update): Test it.
9110         (isearch-range-invisible): Set it.
9112         * progmodes/tcl.el (tcl-mode): Don't set paragraph-start,
9113         paragraph-separate, comment-column, and fill-paragraph-function.
9114         Simplify outline-regexp.
9115         (tcl-do-fill-paragraph): Remove.
9117 2002-11-07  Markus Rost  <rost@math.ohio-state.edu>
9119         * mail/sendmail.el (mail-default-directory): Set the version to 21.4.
9121         * progmodes/compile.el (grep-compute-defaults): Undo previous change.
9122         Definition moved down.
9123         (grep-command, grep-find-command, grep-tree-command): Allow value nil.
9124         Do not declare :get property.
9125         (grep-use-null-device): Fix type.  Do not declare :get property.
9127         * emacs-lisp/checkdoc.el (checkdoc-find-error):
9128         Use get-file-buffer instead of get-buffer.
9130         * cus-dep.el (custom-make-dependencies): Fix comment inserted in
9131         cus-load.el.
9133 2002-11-07  Juanma Barranquero  <lektu@terra.es>
9135         * help.el (where-is): Report also aliases of the passed command.
9137 2002-11-06  Dave Love  <fx@gnu.org>
9139         * simple.el (quoted-insert): Bind keyboard-translate-table around
9140         read-char.
9142         * international/ucs-tables.el: Use keyboard-translate-table coding
9143         system property, not translation-table-for-input, for
9144         vietnamese-viscii & al.
9145         (translation-table-for-input): Set,
9146         don't defvar, and make permanent-local.
9147         (ucs-unify-8859, ucs-unify-8859, ucs-fragment-8859): Add/remove
9148         set-buffer-major-mode-hook, not quail-activate-hook.
9149         (ucs-set-table-for-input): Renamed from ucs-quail-activate.
9150         (ucs-unify-8859, ucs-unify-8859, ucs-fragment-8859):
9151         Setup keyboard-translate-table, not translation-table-for-input.
9152         Modify set-buffer-major-mode-hook, not quail-activate-hook.
9153         (ucs-fragment-8859): Don't use translation-table-for-input coding
9154         system property.
9155         (ucs-quail-activate): Deleted.
9156         (ucs-set-table-for-input): New.
9157         (ucs-minibuffer-setup): Use it.
9159         * international/quail.el (quail-input-string-to-events):
9160         Use keyboard-translate-table, not translation-table-for-input.
9162         * files.el (normal-mode): Call ucs-set-table-for-input.
9164         * international/mule.el (set-buffer-file-coding-system):
9165         Call ucs-set-table-for-input.
9167 2002-11-06  Richard M. Stallman  <rms@gnu.org>
9169         * replace.el (query-replace, query-replace-regexp): Doc fixes.
9171         * emacs-lisp/bytecomp.el (byte-compile-lambda):
9172         Handle progn like let, inside interactive spec.
9174         * textmodes/tex-mode.el (tex-dvi-view-command): Value can be sexp.
9175         Initialize to a suitable sexp.
9176         (tex-view): Evaluate tex-dvi-view-command and use the value.
9178 2002-11-06  Kenichi Handa  <handa@m17n.org>
9180         * international/mule.el (coding-system-eol-type-mnemonic):
9181         Use eol-mnemonic-undecided if CODING-SYSTEM is nil.
9183 2002-11-06  Kim F. Storm  <storm@cua.dk>
9185         * info.el (Info-fontify-node): Fixed hiding of *note references
9186         with embedded file names like (xxx.yyy).
9187         Avoid making any lines visibly longer if hiding newlines inside
9188         note references by wrapping line after references if it contained
9189         a newline (unfortunaly this makes more lines appear "shorter").
9190         Properly reindent multi-line menu entry descriptions.
9192 2002-11-05  Juanma Barranquero  <lektu@terra.es>
9194         * language/cyrillic.el ("Bulgarian"): Fix typo.
9196         * international/mule.el (coding-system-eol-type-mnemonic):
9197         Move from mule-util.el.
9199         * international/mule-util.el (coding-system-eol-type-mnemonic):
9200         Move to mule.el.
9202 2002-11-04  Juanma Barranquero  <lektu@terra.es>
9204         * files.el (find-buffer-visiting): Accept new optional PREDICATE
9205         argument to return only a buffer that satisfies the predicate.
9206         (insert-file-1): New function.
9207         (insert-file-literally): Use it.
9208         (insert-file): Use it.
9210 2002-11-04  Robert Fenk  <Robert.Fenk@gmx.de>  (tiny change)
9212         * desktop.el (desktop-relative-file-names): New variable.
9213         (desktop-save): Use it.
9215 2002-11-03  Andre Spiegel  <spiegel@gnu.org>
9217         * vc.el (vc-dired-mode): Adapt dired-move-to-filename-regexp to
9218         its current version in dired.el.
9220 2002-11-03  Stefan Monnier  <monnier@cs.yale.edu>
9222         * emacs-lisp/autoload.el (generate-file-autoloads)
9223         (update-file-autoloads): Strip .gz and other such extensions.
9224         (update-autoloads-from-directories): Also consider compressed files.
9226         * info.el (Info-streamline-headings): New var.
9227         (Info-dir-remove-duplicates): New fun.
9228         (Info-insert-dir): Use it.  Simplify the code with push,mapc,dolist.
9229         (Info-select-node): Simplify handling of Info-header-line.
9230         (Info-forward-node): Undo 2000/12/15 since we don't narrow any more.
9231         (Info-mode): Set header-line-format once and for all.
9232         (Info-fontify-node): Accept bogus first line with `File:' missing.
9233         Only make first line invisible if Info-use-header-line.
9234         Don't use `intangible': it's evil.  Use inhibit-read-only.
9235         (Info-follow-reference, Info-next-reference, Info-prev-reference)
9236         (Info-try-follow-nearest-node): Don't bind inhibit-point-motion-hooks
9237         since we don't use intangible any more.
9239         * image.el (insert-image): Don't make intangible since
9240         adjust_point_for_property should be sufficient by default.
9242 2002-11-02  Stefan Monnier  <monnier@cs.yale.edu>
9244         * textmodes/fill.el (fill-paragraph-handle-comment): New var.
9245         (fill-comment-paragraph): New fun (generalizes of lisp-fill-paragraph).
9246         (fill-paragraph): Use them.
9248         * emacs-lisp/lisp-mode.el (lisp-fill-paragraph):
9249         Use fill-comment-paragraph.
9251 2002-11-02  Stefan Monnier  <monnier@cs.yale.edu>
9253         * bindings.el (mode-line-change-eol)
9254         (mode-line-eol-desc-cache, mode-line-eol-desc): New.
9255         (mode-line-mule-info): Use them for the EOL part of the modeline.
9257         * server.el (server-sentinel): Kill buffers if applicable.
9258         (server-temp-file-p): Make arg optional.
9259         (server-done): Use it to simplify.
9260         (server-switch-buffer): If server-window is a function, use it.
9262         * mail/undigest.el (rmail-digest-end-regexps): Simplify.
9263         (undigestify-rmail-message): Fix paren-bug and simplify.
9265 2002-11-02  Kim F. Storm  <storm@cua.dk>
9267         * info.el (Info-hide-note-references): nil value now does no
9268         reformatting at all.  New choice 'tag reformats tag but shows
9269         the section reference.
9270         (Info-fontify-node): Use it.
9272 2002-11-01  Stefan Monnier  <monnier@cs.yale.edu>
9274         * textmodes/tex-mode.el (tex-common-initialization):
9275         comment-start-skip shouldn't match on the next line.
9277         * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Use match-string.
9278         Don't bother making paragraph-start a superset of paragraph-separate.
9279         Use line-beginning-position.
9281         * textmodes/sgml-mode.el (sgml-skip-tag-backward)
9282         (sgml-skip-tag-forward): Deal with xml-style <foo/> empty tags.
9284 2002-11-01  Kim F. Storm  <storm@cua.dk>
9286         * info.el (Info-hide-note-references): New defcustom.
9287         (Info-fontify-node): Use it.
9289 2002-10-31  Kim F. Storm  <storm@cua.dk>
9291         * shell.el (explicit-bash-args): Bash 1.x doesn't grok
9292         --noediting option; added run-time check to exclude it.
9294         * info.el (Info-follow-reference, Info-next-reference)
9295         (Info-prev-reference, Info-try-follow-nearest-node):
9296         Bind inhibit-point-motion-hooks to t while parsing reference.
9297         (Info-fontify-node): When font-lock-mode is enabled, display
9298         "*note" and "* menu" references in a more user friendly format.
9300 2002-10-30  Stefan Monnier  <monnier@cs.yale.edu>
9302         * textmodes/fill.el (fill-move-to-break-point): Skip white space
9303         _before_ checking to see if we're hitting the margin.
9304         (fill-region-as-paragraph): Don't fiddle with the undo-list any more:
9305         it's now done by the C primitives.  Don't use narrowing.
9306         Reorganize the line-breaking part of the code to simplify the control
9307         flow and make it work in the absence of narrowing.
9308         (fill-region): Don't use narrowing.
9310 2002-10-30  Dave Love  <fx@gnu.org>
9312         * textmodes/po.el (po-content-type-charset-alist): Delete most entries.
9313         (po-find-charset): Doc fix.  Remove interactive spec.
9314         (po): Provide.
9315         (po-find-file-coding-system-guts): Re-written to use
9316         coding-system-alist, and code-pages, not codepage stuff.
9318         * term/x-win.el: Remove some ancient compatibility code.
9319         Populate x-keysym-table.
9321 2002-10-30  Andreas Schwab  <schwab@suse.de>
9323         * subr.el (replace-regexp-in-string): Doc fix.
9325 2002-10-29  Dave Love  <fx@gnu.org>
9327         * cus-start.el (selection-coding-system, scalable-fonts-allowed): Add.
9329         * progmodes/scheme.el (syntax-case): Define scheme-indent-function.
9331         * international/mule-conf.el: Doc fixes.
9333 2002-10-29  Richard M. Stallman  <rms@gnu.org>
9335         * server.el (server-switch-buffer): Say when no server buffers remain.
9337         * net/goto-addr.el (goto-address-url-regexp): Don't match `mailto'.
9339 2002-10-28  Masayuki Ataka  <ataka@milk.freemail.ne.jp>  (tiny change)
9341         * progmodes/make-mode.el (makefile-warn-continuations):
9342         Call re-search-forward with NOERROR t.
9344 2002-10-29  Kim F. Storm  <storm@cua.dk>
9346         * ido.el (ido-wide-find-dirs-or-files): Fixed problem that caused
9347         incomplete list of matches to be returned.
9349 2002-10-29  Masayuki Ataka  <ataka@milk.freemail.ne.jp>  (tiny change)
9351         * textmodes/texinfo.el (texinfo-environments): Add environment;
9352         copying, documentdescription, ifplaintext, ifnotplaintext, and
9353         verbatim.
9355         * textmodes/texinfmt.el (texinfo-format-ifplaintext): New function.
9356         (ifplaintext, ifnotplaintext)
9357         (afourpaper, afivepaper, afourlatex, afourwide)
9358         (documentlanguage, documentencoding): New aliases.
9360 2002-10-29  John Paul Wallington  <jpw@shootybangbang.com>
9362         * ibuffer.el (ibuffer-mouse-popup-menu): Set point before popping
9363         up filter groups menu.  Preserve point unless a menu command has
9364         moved it from point clicked.
9366 2002-10-29  David Kastrup  <dak@lola.goethe.zz>
9368         * calc/calc.el (calc-any-evaltos): Initialize to nil, since
9369         calc-refresh-evaltos appears to need this.
9371 2002-10-28  Dave Love  <fx@gnu.org>
9373         * international/mule-diag.el (non-iso-charset-alist): Move to
9374         avoid compilation warning.
9375         (mule-diag): Provide.
9377         * international/code-pages.el (cp-make-coding-system):
9378         Use utf-translation-table-for-decode, not
9379         utf-8-translation-table-for-decode.
9380         (mule-diag): Require.
9382         * language/thai-util.el (thai-composition-function): Don't use prog1.
9384         * language/lao-util.el (lao-composition-function): Don't use prog1.
9386         * language/european.el (diacritic-composition-function):
9387         Modify confused prog1 form.
9389         * international/quail.el (quail-keyboard-layout-alist): Fix pc105-uk.
9390         (quail-keyboard-layout): Customize.
9391         Move after quail-keyboard-layout-alist.
9393 2002-10-28  Miles Bader  <miles@gnu.org>
9395         * progmodes/make-mode.el (makefile-warn-continuations):
9396         Don't barf when there _aren't_ any suspicious continuations.
9398 2002-10-28  Matthew Swift  <swift@alum.mit.edu>
9400         * progmodes/compile.el (grep-find-use-xargs): Fix docstring.
9402 2002-10-27  Michael Kifer  <kifer@cs.stonybrook.edu>
9404         * ediff-wind.el (ediff-control-frame-parameters): Add scrollbar-height.
9406 2002-10-27  Andreas Schwab  <schwab@suse.de>
9408         * progmodes/sh-script.el (sh-mode-syntax-table): Don't make ^L
9409         end-of-comment syntax.
9411 2002-10-27  Kim F. Storm  <storm@cua.dk>
9413         * ido.el (ido-cannot-complete-command): New defcustom, default to
9414         ido-completion-help (similar to iswitchb-cannot-complete-hook).
9415         (ido-complete): Call value of ido-cannot-complete-command rather
9416         than ido-completion-help when no common completion.
9418 2002-10-27  Dave Love  <fx@gnu.org>
9420         * international/code-pages.el (iso-8859-11): New.
9422 2002-10-27  Kim F. Storm  <storm@cua.dk>
9424         * pcvs.el (cvs-checkout): Use read-directory-name.
9425         (cvs-query-directory): Likewise.
9427 2002-10-26  Richard M. Stallman  <rms@gnu.org>
9429         * progmodes/make-mode.el (makefile-cleanup-continuations):
9430         Default for variable is nil.
9431         (makefile-warn-continuations): New function.
9432         (makefile-mode): Put it on write-file-functions.
9434         * international/mule-cmds.el (select-safe-coding-system):
9435         Delete debugging setq.
9437         * shell.el (shell): Look for .emacs_SHELL under ~/.emacs.d
9438         after looking in ~.
9440         * startup.el (command-line): Look for .emacs under ~/.emacs.d
9441         after looking in ~.
9443         * simple.el (toggle-truncate-lines): When turning off truncation,
9444         clear out the hscroll value in this buffer's windows.
9446         * simple.el (display-message-or-buffer): Don't display empty
9447         output in the echo area.
9449         * man.el (Man-default-man-entry): Don't look for all word chars,
9450         look only for characters that are normally part of a shell command.
9452         * gud.el (gdb): Pass default-directory to GDB via -cd option.
9454         * font-lock.el (c++-font-lock-keywords...): Add `restrict' keyword.
9456         * find-file.el (ff-find-related-file): Fix autoload cookie.
9458         * emacs-lisp/unsafep.el (unsafep-variable): Pass second arg to
9459         risky-local-variable-p.
9461         * files.el (risky-local-variable-p): VAL=nil has special meaning.
9463         * Makefile.in (compile-always): Avoid error in old Bash versions.
9465 2002-10-26  John Paul Wallington  <jpw@shootybangbang.com>
9467         * textmodes/picture.el (picture-mouse-set-point): New command.
9468         (picture-mode-map): Bind it.
9469         (picture-motion-reverse): Doc fix.
9471 2002-10-25  Stefan Monnier  <monnier@cs.yale.edu>
9473         * textmodes/outline.el (outline-next-heading): Make sure the match-data
9474         is really correct where returning.
9476 2002-10-24  Matthew Swift  <swift@alum.mit.edu>
9478         * textmodes/outline.el (outline-minor-mode): Add customization group.
9480 2002-10-23  Richard M. Stallman  <rms@gnu.org>
9482         * files.el (risky-local-variable-p): New arg VAL.
9483         (compile-command): Use `stringp' for `safe-local-variable' prop.
9484         (hack-one-local-variable): Pass VAL to `risky-local-variable-p'.
9486 2002-10-23  Francis J. Wright  <F.J.Wright@qmul.ac.uk>
9488         * woman.el (woman-version): Update to 0.551 (beta).
9489         (woman-parse-colon-path): Add support for current Cygwin mount
9490         conventions.
9491         (woman-Cyg-to-Win): New function to convert absolute filename from
9492         Cygwin to Windows form by executing external program cygpath if
9493         possible.
9494         (woman-man.conf-path): Update default to current common locations
9495         and to support Cygwin; update documentation.
9496         (woman-parse-man.conf): Generalize regexp to "man.*\\.conf" to
9497         match possible names of man.conf file; tidy code and documentation.
9498         (woman-manpath): Simplify default and documentation; essentially
9499         move code that was here into `woman-parse-colon-path'.
9500         (woman-default-indent): Change Linux to GNU in documentation.
9501         (woman-addition-face): Make documentation consistent with other
9502         WoMan faces.
9503         (woman-emulate-tbl): New variable, determines whether tbl
9504         emulation is required.
9505         (woman-decode-region): Add check for preprocessor requests.
9506         (woman0-process-escapes, woman-special-characters)
9507         (woman-get-next-char, woman-parse-numeric-value): Add support for
9508         long groff names of the form [xxx].
9509         (woman-strings, woman-change-fonts): Now call `woman-match-name'.
9510         (woman2-PD, woman2-na): Doc fix.
9511         (woman-match-name): New function.
9512         (woman2-TS): New function.
9513         (woman2-TE): New alias for `woman2-fi'.
9515 2002-10-23  Kim F. Storm  <storm@cua.dk>
9517         * ido.el (ido-restrict-to-matches): New command.
9518         (ido-define-mode-map): Bind it to C-SPC and C-@ in ido-mode-map.
9520 2002-10-22  Bob Halley  <halley@play-bow.org>  (tiny change)
9522         * eshell/esh-io.el (eshell-set-output-handle): Fix so that
9523         multiple redirection can work.
9525 2002-10-21  Stefan Monnier  <monnier@cs.yale.edu>
9527         * ielm.el (inferior-emacs-lisp-mode): If hexl not found, use cat.
9528         Don't hardcode point-min == 1.
9530         * hexl.el (hexl-mode-old-write-contents-hooks): Remove.
9531         (hexl-mode, hexl-current-address, hexl-address-to-marker)
9532         (hexl-insert-char): Don't hardcode point-min == 1.
9533         (hexl-isearch-search-function): New fun.
9534         (hexl-mode-old-isearch-search-fun-function): New var.
9535         (hexl-mode): Use them.
9536         (hexl-mode, hexl-mode-exit, hexl-maybe-dehexlify-buffer):
9537         Use write-contents-functions rather then write-contents-hooks.
9539         * textmodes/text-mode.el (text-mode-syntax-table): Make ' a prefix.
9540         (paragraph-indent-text-mode-abbrev-table)
9541         (paragraph-indent-text-mode-syntax-table): Remove.
9542         (paragraph-indent-text-mode): Use the :abbrev and :syntax-table args.
9544 2002-10-21  Juanma Barranquero  <lektu@terra.es>
9546         * eshell/esh-util.el (directory-files-and-attributes): Copy docstring
9547         from Emacs 21.  Arg DIR renamed to DIRECTORY for consistency.
9549 2002-10-20  Andreas Schwab  <schwab@suse.de>
9551         * apropos.el (apropos-group): Use customize-group-other-window.
9553 2002-10-18  Stefan Monnier  <monnier@rum.cs.yale.edu>
9555         * progmodes/perl-mode.el (perl-mode-syntax-table): Change $ back
9556         to just "/" instead of "/ p".
9557         (perl-font-lock-syntactic-keywords): Use ". p" for the `$'.
9559 2002-10-18  Juanma Barranquero  <lektu@terra.es>
9561         * textmodes/artist.el (artist-ff-is-bottommost-line): Fix misplaced
9562         ELSE expression on IF.
9564 2002-10-17  Juanma Barranquero  <lektu@terra.es>
9566         * align.el (align-rules-list, align-exclude-rules-list): Fix typos.
9568         * subr.el (remq): Likewise.
9570         * vc-cvs.el (vc-cvs-sticky-tag-display): Likewise.
9572         * vc-hooks.el (vc-insert-file): Likewise.
9574         * vcursor.el (vcursor-other-window): Likewise.
9576         * wid-edit.el (widget-choose): Likewise.
9578         * calendar/diary-lib.el (diary-name-pattern): Likewise.
9580         * emacs-lisp/elint.el (elint-error, elint-warning): Likewise.
9582         * emacs-lisp/lisp.el (beginning-of-defun): Likewise.
9584         * emulation/edt-mapper.el (top-level): Likewise.
9586         * eshell/esh-var.el (eshell/define): Likewise.
9588         * mail/feedmail.el (feedmail-nuke-body-in-fcc)
9589         (feedmail-queue-draft-directory): Likewise.
9591         * net/netrc.el (netrc-parse): Likewise.
9593         * obsolete/cplus-md.el (c++-empty-arglist-indent): Likewise.
9595         * progmodes/ebrowse.el (ebrowse-ts)
9596         (ebrowse-view/find-file-and-search-pattern)
9597         (ebrowse-draw-file-member-info): Likewise.
9599         * progmodes/idlwave.el (idlwave-region-active-p): Likewise.
9601         * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise.
9603         * progmodes/sh-script.el (sh-indent-for-then): Likewise.
9605         * textmodes/bibtex.el (bibtex-find-entry-location): Likewise.
9607         * textmodes/sgml-mode.el (sgml-close-tag, html-imenu-index): Likewise.
9609 2002-10-17  Dave Love  <fx@gnu.org>
9611         * international/mule-diag.el (non-iso-charset-alist): Add koi8-u.
9613         * international/code-pages.el (cp-make-translation-table): Use
9614         ucs-mule-to-mule-unicode.
9615         (cp-fix-safe-chars): Fix typo.
9616         (non-iso-charset-alist): Don't define.
9617         (cp-make-coding-system): Use utf-8-translation-table-for-decode.
9618         Define translation-table-for-input.
9619         (cp866): Reinstate.
9620         (alternativnj): Don't define alias.
9621         (koi8-u): Deleted.
9623         * language/european.el ("Slovenian"): Use slovenian input-method.
9624         (encode-mac-roman): Use ucs-mule-to-mule-unicode.
9626         * language/cyrillic.el (cyrillic-alternativnyj-decode-table): Fix
9627         the table.
9628         (cyrillic-alternativnyj): Don't give it `mime-charset' property.
9629         (cp866): Delete this alias.
9630         ("Bulgarian"): Fix the value of `input-method'.
9632 2002-10-16  Luc Teirlinck  <teirllm@mail.auburn.edu>
9634         * dired-aux.el (dired-add-entry): Put point in correct position
9635         before inserting marker char.
9637 2002-10-16  Andreas Schwab  <schwab@suse.de>
9639         * dired.el (dired-readin-insert): Expand dired-directory.
9641         * dired-aux.el (dired-insert-subdir-doinsert): Preserve point.
9643 2002-10-16  Markus Rost  <rost@math.ohio-state.edu>
9645         * textmodes/reftex-vars.el: Move reftex-set-dirty here from
9646         reftex.el.  Move the provide call to end of file.
9648         * textmodes/reftex.el: Move reftex-set-dirty to reftex-vars.el.
9650 2002-10-15  Dave Love  <fx@gnu.org>
9652         * man.el (Man-getpage-in-background): Set width in environment.
9654 2002-10-15  Kenichi Handa  <handa@m17n.org>
9656         * mail/sendmail.el (sendmail-send-it): Call
9657         select-message-coding-system before changing the current bufer to
9658         " sendmail temp".
9660 2002-10-14  Andre Spiegel  <spiegel@gnu.org>
9662         * files.el (insert-directory): Handle //SUBDIRED// lines in
9663         recursive listings from ls --dired.
9665         * vc.el (vc-dired-reformat-line): Simplified.  Handles text
9666         properties correctly now.
9668 2002-10-14  Juanma Barranquero  <lektu@terra.es>
9670         * international/mule.el (set-selection-coding-system): Fix spacing.
9672 2002-10-13  Richard M. Stallman  <rms@gnu.org>
9674         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9675         Treat `ignore' specially--prevent warnings about functions
9676         called for effect, in its args.
9677         Don't warn when `pop' is used for effect.
9679         * emacs-lisp/autoload.el (autoload-print-form): Cleanup.
9681         * uniquify.el (uniquify-get-proposed-name):
9682         Don't use directory-sep-char.
9684         * thingatpt.el (read-from-whole-string): Add call to `ignore'.
9686         * find-file.el (ff-related-file-alist): New alias.
9687         (ff-find-related-file): New alias.
9689 2002-10-13  Andreas Schwab  <schwab@suse.de>
9691         * dired.el (dired-insert-directory): When looking for existing
9692         indentation, goto OPOINT instead of beginning of buffer.
9694 2002-10-12  Stefan Monnier  <monnier@cs.yale.edu>
9696         * cus-dep.el (custom-make-dependencies): Ignore preloaded files.
9698 2002-10-12  Michael Kifer  <kifer@cs.stonybrook.edu>
9700         * ediff-init.el (ediff-frame-char-height): Use frame-selected-window.
9702         * ediff-util.el (ediff-file-checked-in-p): Changed progn with and.
9704         * ediff-wind.el (ediff-skip-unsuitable-frames): Distinguish selected
9705         frame from frame of selected window.
9706         (ediff-frame-has-dedicated-windows): Don't select any frames to avoid
9707         changing selected windows.
9708         (ediff-setup-control-frame): Make sure auto-rase is properly set for
9709         the control frame.
9711 2002-10-10  Simon Josefsson  <jas@extundo.com>
9713         * browse-url.el (browse-url-mozilla): Doc fix.
9715 2002-10-10  Steve Youngs  <youngs@xemacs.org>
9717         * browse-url.el (browse-url-mozilla-new-window-is-tab): New.
9718         (browse-url-mozilla): Use it.
9720 2002-10-11  Miles Bader  <miles@gnu.org>
9722         * vc-cvs.el (vc-cvs-parse-entry): Don't barf when an `Entries'
9723         files contains an invalid timestamp.
9725 2002-10-11  Simon Josefsson  <jas@extundo.com>
9727         * mail/sendmail.el (mail-envelope-from): New option `header' to
9728         use RFC 2822 From: header as the envelope address.
9729         (mail-envelope-from): New function, this should be used instead of
9730         looking at the `mail-envelope-from' variable.
9731         (sendmail-send-it): Use it.
9733         * mail/smtpmail.el (smtpmail-via-smtp): Use it.
9735 2002-10-11  Andre Spiegel  <spiegel@gnu.org>
9737         * dired.el (dired-insert-directory): Fix check for indentation
9738         from ls --dired.
9740         * vc.el (vc-dired-reformat-line): As a temporary fix, remove all text
9741         properties from the reformatted line.
9743 2002-10-10  Stefan Monnier  <monnier@cs.yale.edu>
9745         * textmodes/paragraphs.el (forward-paragraph): Keep track of
9746         remaining paragraphs to skip more carefully.
9748         * add-log.el (add-change-log-entry): Don't call find-file at all
9749         if we're already in the proper buffer.
9750         (change-log-resolve-conflict): New fun.
9751         (change-log-mode): Use it and use define-derived-mode.
9752         (change-log-merge): Allow other-log to be a buffer.
9753         Don't add a \n if there are already enough \n's.
9755         * finder-inf.el, subdirs.el, cus-load.el: Remove.
9757         * finder.el ("finder-inf"): Don't fail if the file is absent.
9759         * cus-dep.el (custom-make-dependencies): Don't use find-file.
9760         Use feature names rather than file names if applicable.
9762         * cus-edit.el (customize-mode): New command.
9764         * custom.el (custom-group-of-mode): New fun.
9765         (custom-load-symbol): Don't use preloaded-file-list now that
9766         load-history is always complete.  Don't look up the expanded file
9767         name in load-history (looked like an XEmacsism).
9769         * smerge-mode.el (smerge-ediff): Autoload.
9770         (smerge-match-conflict): Don't assume as much about smerge-begin-re.
9771         (smerge-resolve-function): New var.
9772         (smerge-resolve): New command.
9773         (smerge-basic-map): Bind it.
9775 2002-10-10  Andre Spiegel  <spiegel@gnu.org>
9777         * vc-cvs.el (vc-cvs-parse-entry): Parse the time stamp found in
9778         CVS/Entries, rather than comparing it textually.
9780 2002-10-10  Markus Rost  <rost@math.ohio-state.edu>
9782         * international/encoded-kb.el: Add `provide' call.
9784 2002-10-09  David Kastrup  <David.Kastrup@t-online.de>
9786         * calc/calc-alg.el (calcFunc-ln): In symbolic manipulations,
9787         ln(-1) should be i*pi, not pi.
9789 2002-10-09  Markus Rost  <rost@math.ohio-state.edu>
9791         * vc-cvs.el (vc-cvs-registered): In the autoload version use load
9792         instead of require to avoid loops when loaddefs.el is loaded after
9793         vc-cvs.el.
9795         * cus-edit.el (Custom-reset-current): Don't test for default-boundp.
9796         (Custom-reset-saved): Don't test for saved-value.
9798 2002-10-08  Stefan Monnier  <monnier@cs.yale.edu>
9800         * vc.el (vc-find-version): Use the new backend op `find-version'.
9801         (vc-default-find-version): Provide the new backend op `find-version'
9802         in terms of the old `checkout' op.
9804         * vc-rcs.el (vc-rcs-find-version): New fun.
9805         (vc-rcs-checkout): Remove `workfile' arg and simplify.
9807         * vc-sccs.el (vc-sccs-find-version): New fun.
9808         (vc-sccs-checkout): Remove `workfile' arg and simplify.
9810         * vc-cvs.el (vc-cvs-find-version): New fun.
9812 2002-10-08  John Paul Wallington  <jpw@shootybangbang.com>
9814         * info.el (Info-next-menu-item, Info-last-menu-item)
9815         (info-emacs-manual): Add docstrings.
9816         (Info-index): Use `string-to-number' instead of `string-to-int'.
9818 2002-10-08  Kenichi Handa  <handa@m17n.org>
9820         * international/ucs-tables.el (ucs-translation-table-for-decode):
9821         Define it as a translation-table.
9823 2002-10-07  Richard M. Stallman  <rms@gnu.org>
9825         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
9827         * progmodes/compile.el (grep-compute-defaults): Set the standard-value
9828         properties of the variables being initialized.
9830         * thingatpt.el (thing-at-point-url-path-regexp): Doc fix.
9832 2002-10-07  Kim F. Storm  <storm@cua.dk>
9834         * emulation/cua-base.el (cua-normal-cursor-color):
9835         Fixed initialization to make "Erase Customization" work.
9837 2002-10-07  Stefan Monnier  <monnier@cs.yale.edu>
9839         * vc.el (vc-maybe-resolve-conflicts): Always call vc-resolve-conflicts
9840         in case some other package redefined it.
9841         (vc-resolve-conflicts): Make it into an alias for smerge-ediff.
9843         * textmodes/fill.el (fill-paragraph): Go to BOL before calling
9844         forward-paragraph to make sure its return value is meaningful.
9846 2002-10-06  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
9848         * net/tramp.el: Version 2.0.25 released.
9849         (tramp-handle-file-truename): If it's a directory,
9850         append slash only if result doesn't end in a slash already.
9851         (tramp-handle-file-truename): Restructure logic.  If list of steps
9852         is nil, return "/" as the real name.
9853         (tramp-completion-mode): Add "\\(" and "\\)". Otherwise,
9854         `match-string' doesn't make sense.  From Michael Albinus.
9855         (tramp-host-with-port-regexp): New defcustom. Equal to previous
9856         `tramp-host-regexp'.  From Michael Albinus.
9857         (tramp-host-regexp): Taken off hashes in host names. Otherwise,
9858         scanning files like .rhosts would take comments as host names.
9859         From Michael Albinus.
9860         (tramp-file-name-structure, tramp-multi-file-name-hop-structure):
9861         Replace `tramp-host-regexp' by `tramp-host-with-port-regexp'.
9862         From Michael Albinus.
9863         (tramp-action-terminal): New function.
9864         (tramp-terminal-prompt-regexp): New variable, matches "tset" prompts.
9865         (tramp-actions-before-shell): Use them.
9866         (tramp-handle-shell-command): Logic error.  From Ivan
9867         Zakharyaschev <imz@altlinux.org>.
9869 2002-10-06  Markus Holmberg  <markush@acc.umu.se>  (tiny change)
9871         * thingatpt.el (thing-at-point-uri-schemes): New variable.
9872         (thing-at-point-url-regexp): Use it.
9874 2002-10-06  Glenn Morris  <gmorris@ast.cam.ac.uk>
9876         * progmodes/fortran.el (fortran-beginning-do): Ignore labelled DO
9877         loops.
9879 2002-10-05  Stefan Monnier  <monnier@cs.yale.edu>
9881         * vc.el (vc-log-mode-map): Explicitly inherit from text-mode.
9882         (vc-maybe-resolve-conflicts): Don't check smerge-mode and smerge-ediff.
9883         (vc-print-log): Don't check log-view-mode.
9884         (vc-default-show-log-entry): Don't check log-view-goto-rev.
9885         (vc-log-mode): Remove.
9886         (vc-log-edit): Don't check log-edit.
9888 2002-10-04  Stefan Monnier  <monnier@cs.yale.edu>
9890         * vc-cvs.el (vc-cvs-show-log-entry):
9891         * vc-rcs.el (vc-rcs-show-log-entry): Delete.
9893         * smerge-mode.el (smerge-ediff): Add name-{mine,other,base} args.
9895 2002-10-04  Markus Rost  <rost@math.ohio-state.edu>
9897         * vc.el (vc-default-show-log-entry): Fix typo.
9899 2002-10-04  Steven Tamm  <steventamm@mac.com>
9901         * term/mac-win.el: Add lines to handle the new [return] event.
9903 2002-10-03  Stefan Monnier  <monnier@cs.yale.edu>
9905         * textmodes/fill.el (fill-paragraph): Give up if there's no
9906         paragraph at or after point.
9908         * textmodes/paragraphs.el (forward-paragraph): Return the steps left.
9910         * vc.el (vc-print-log): Unconditionally use `show-log-entry'.
9911         (vc-default-show-log-entry): New fun.
9913         * subr.el (read-key-auxiliary-map, read-key): Remove.
9914         (read-quoted-char): Undo the `read-key' change of 2002-06-23.
9916 2002-10-03  Markus Rost  <rost@math.ohio-state.edu>
9918         * progmodes/ada-stmt.el (ada-stmt-add-to-ada-menu): Handle the
9919         menu pseudo-keys generated by easymenu which are lowercase in
9920         Emacs 21.4.
9922         * progmodes/ada-xref.el
9923         (ada-xref-update-project-menu,ada-add-ada-menu): Ditto.
9925 2002-10-03  John Paul Wallington  <jpw@shootybangbang.com>
9927         * frame.el (delete-frame-hook): Variable alias for
9928         `delete-frame-functions'.  Mark obsolete.
9930 2002-10-02  Stefan Monnier  <monnier@cs.yale.edu>
9932         * textmodes/outline.el (outline-1, outline-2, outline-3, outline-4)
9933         (outline-5, outline-6, outline-7, outline-8): New faces.
9934         (outline-font-lock-faces, outline-font-lock-levels): New vars.
9935         (outline-font-lock-face): New fun.
9936         (outline-font-lock-keywords): Use it.
9937         (outline-font-lock-level): Remove.
9938         (outline-mode, outline-next-preface, outline-next-heading)
9939         (outline-previous-heading, outline-next-visible-heading):
9940         Use shy group.
9941         (outline-level) <var>: Update calling convention.
9942         (outline-level) <fun>: Take advantage of it.
9943         (outline-demote): Don't assume the match-data is still uptodate.
9944         (outline-up-heading): Simplify and make sure the match data is
9945         properly set at the end.
9947 2002-10-02  Markus Rost  <rost@math.ohio-state.edu>
9949         * progmodes/sh-script.el (sh-alias-alist): Use append instead of
9950         nconc.
9952         * startup.el (normal-top-level): Reset standard-value property of
9953         `user-full-name' here.
9955 2002-10-02  Per Abrahamsen  <abraham@dina.kvl.dk>
9957         * wid-edit.el (widget-default-get): Change to return external
9958         value.
9959         (widget-choice-action): Update caller.
9960         (widget-editable-list-entry-create): Update caller.
9962         * wid-edit.el (widget-types-copy): New function.
9963         (default): Added :copy keyword.
9964         (menu-choice): Ditto.
9965         (checklist): Ditto.
9966         (radio-button-choice): Ditto.
9967         (editable-list): Ditto.
9968         (group): Ditto.
9969         (widget-copy): New function.
9970         (widget-create-child): Use it.
9971         (widget-create-child-value): Use it.
9973 2002-10-01  Bill Wohler  <wohler@newt.com>
9975         * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el,
9976         mail/mh-mime.el, mail/mh-pick.el, mail/mh-seq.el,
9977         mail/mh-utils.el, mail/mh-xemacs-compat.el, mail/reply2.pbm,
9978         mail/reply2.xpm, toolbar/execute.pbm, toolbar/execute.xpm,
9979         toolbar/page-down.pbm, toolbar/page-down.xpm, toolbar/refile.pbm,
9980         toolbar/refile.xpm, toolbar/repack.pbm, toolbar/repack.xpm,
9981         toolbar/rescan.pbm, toolbar/rescan.xpm, toolbar/show.pbm,
9982         toolbar/show.xpm, toolbar/widen.pbm, toolbar/widen.xpm:
9983         Upgraded to mh-e version 6.1.1.  Full ChangeLog available in
9984         http://prdownloads.sourceforge.net/mh-e/mh-e-6.1.tgz?download .
9985         There were no user-visible changes in 6.1.1 from 6.1--only the
9986         section of the Makefile that installs the files into Emacs was changed.
9988 2002-10-01  Stefan Monnier  <monnier@cs.yale.edu>
9990         * pcvs.el (cvs-mode-find-file): Look up font-lock-face so it also
9991         works when font-lock is turned off.
9993         * jit-lock.el (jit-lock-fontify-now): Don't widen.
9994         Let the jit-lock-functions do it if they want to.
9996 2002-10-01  Juanma Barranquero  <lektu@terra.es>
9998         * eshell/esh-module.el (eshell-load-defgroups):
9999         Add "no-byte-compile: t" to subdirs.el.
10001         * makefile.w32-in (update-subdirs-CMD): Likewise.
10003         * forms-d2.el:
10004         * forms-pass.el:
10005         * generic-x.el:
10006         * patcomp.el:
10007         * paths.el:
10008         * version.el:
10009         * international/mule-conf.el:
10010         * language/czech.el:
10011         * language/devanagari.el:
10012         * language/english.el:
10013         * language/georgian.el:
10014         * language/greek.el:
10015         * language/hebrew.el:
10016         * language/japanese.el:
10017         * language/korean.el:
10018         * language/lao.el:
10019         * language/misc-lang.el:
10020         * language/romanian.el:
10021         * language/slovak.el:
10022         * language/thai.el:
10023         * language/utf-8-lang.el:
10024         * emacs-lisp/cl-specs.el:
10025         * eshell/esh-maint.el:
10026         * mail/blessmail.el:
10027         * play/bruce.el:
10028         * term/apollo.el:
10029         * term/AT386.el:
10030         * term/bobcat.el:
10031         * term/internal.el:
10032         * term/iris-ansi.el:
10033         * term/keyswap.el:
10034         * term/linux.el:
10035         * term/lk201.el:
10036         * term/news.el:
10037         * term/vt102.el:
10038         * term/vt125.el:
10039         * term/vt200.el:
10040         * term/vt201.el:
10041         * term/vt220.el:
10042         * term/vt240.el:
10043         * term/vt300.el:
10044         * term/vt320.el:
10045         * term/vt400.el:
10046         * term/vt420.el:
10047         * term/wyse50.el: Add "no-byte-compile: t" in first line.
10049 2002-10-01  Kenichi Handa  <handa@m17n.org>
10051         * international/utf-16.el: Don't provide utf-16.
10053         * international/utf-8.el (ccl-decode-mule-utf-8):
10054         Remove unnecessary line.
10056 2002-09-30  Kenichi Handa  <handa@m17n.org>
10058         * language/thai.el (thai-tis620): Add `mime-charset' property.
10060         * language/indian.el: Don't register "ISO10646.*-1" in
10061         font-ccl-encoder-alist.
10063         * language/cyrillic.el (ccl-decode-koi8): Refer to
10064         ucs-translation-table-for-decode.
10065         (ccl-decode-koi8-u): Likewise.
10066         (ccl-decode-alternativnyj): Likewise.
10067         (cyrillic-koi8): Put `dependency' property.
10068         (koi8-u): Likewise.
10069         (cyrillic-alternativnyj): Likewise.
10071         * international/utf-8.el (ucs-mule-to-mule-unicode): Don't define
10072         this translation-table name here.
10073         (utf-translation-table-for-encode): New translation-table name.
10074         (utf-fragmentation-table): Renamed from utf-8-fragmentation-table.
10075         (utf-defragmentation-table): New variable.
10076         (ucs-mule-cjk-to-unicode): Renamed from utf-8-subst-rev-table.
10077         (utf-subst-table-for-encode): New translation-table name.
10078         (ucs-unicode-to-mule-cjk): Renamed from utf-8-subst-table.
10079         (utf-subst-table-for-decode): New translation-table name.
10080         (utf-fragment-on-decoding): Renamed from
10081         utf-8-fragment-on-decoding.  Correctly handle the case that
10082         unify-8859-on-encoding-mode is off.  Handle mule-utf-16-le and
10083         mule-utf-16-be too.
10084         (utf-translate-cjk): Renamed from utf-8-translate-cjk.
10085         Handle mule-utf-16-le and mule-utf-16-be too.
10086         (ccl-decode-mule-utf-8): Refer to utf-translation-table-for-decode
10087         and utf-subst-table-for-decode.
10088         (ccl-encode-mule-utf-8): Refer to utf-translation-table-for-encode
10089         and utf-subst-table-for-encode.
10090         (mule-utf-8): Fix `safe-charsets' property, put `dependency' property.
10092         * international/utf-8-subst.el: Setup ucs-unicode-to-mule-cjk and
10093         ucs-mule-cjk-to-unicode, not utf-8-subst-table and
10094         utf-8-subst-rev-table.
10096         * international/utf-16.el (utf-16-decode-ucs): Look up
10097         utf-subst-table-for-decode.  Fix for the case that the looking up
10098         succeeds.
10099         (ccl-decode-mule-utf-16-le): Translate characters by
10100         utf-translation-table-for-decode.
10101         (ccl-decode-mule-utf-16-be): Likewise.
10102         (ccl-encode-mule-utf-16-le): Look up utf-subst-table-for-encode
10103         at first.  Translate characters by utf-translation-table-for-encode.
10104         (ccl-encode-mule-utf-16-be): Likewise.
10105         (mule-utf-16-le, mule-utf-16-be): Add `dependency' property.
10107         * loadup.el: Preload international/utf-16.  Don't call ucs-unify-8859.
10109         * international/ucs-tables.el: Don't bind
10110         utf-8-translation-table-for-decode while setting up
10111         ucs-mule-8859-to-ucs-table, etc.  Add `depenency' property to
10112         iso-8859-* coding systems.
10113         (ucs-unify-8859): Arguments changed to FOR-ENCODE and FOR-DECODE.
10114         If FOR-DECODE is non-nil, make ucs-mule-8859-to-mule-unicode
10115         populate the translation table named
10116         ucs-translation-table-for-decode.  If FOR-ENCODE is non-nil, make
10117         ucs-mule-to-mule-unicode populates the translation table named
10118         utf-translation-table-for-encode.  Call register-char-codings for
10119         mule-utf-16-be and mule-utf-16-le too.
10120         (ucs-fragment-8859): Arguments changed to FOR-ENCODE and
10121         FOR-DECODE.  If FOR-DECODE is non-nil, make the translation table
10122         named ucs-translation-table-for-decode vacant.  If FOR-ENCODE is
10123         non-nil, make a proper char-table populates the translation table
10124         name utf-translation-table-for-encode.  Call register-char-codings
10125         for all mule-utf-* to to reset their status to the origianl.
10126         (unify-8859-on-encoding-mode): Call ucs-unify-8859 and
10127         ucs-fragment-8859 with fixed arguments.  Set the version to 21.3.
10128         (unify-8859-on-decoding-mode): Likewise.  Remove dependency.
10129         (ccl-encode-unicode-font): Delete.
10130         (ucs-tables-unload-hook): Delete.
10132         * international/mule.el (decode-char): Refer to the translation
10133         hash table named utf-subst-table-for-decode.  Refer to the
10134         translation table named utf-translation-table-for-decode instead
10135         of utf-8-translation-table-for-decode.
10136         (encode-char): Refer to the translation hash table named
10137         utf-subst-table-for-encode.  Refer to the translation table named
10138         utf-translation-table-for-encode instead of
10139         utf-8-translation-table-for-encode.
10141         * international/mule-diag.el (describe-coding-system):
10142         Describe `dependency' property.
10144         * international/mule-conf.el (emacs-mule): Add property `composition'.
10146         * international/fontset.el (ucs-mule-to-mule-unicode): Define this
10147         translation table name here.
10148         (ucs-mule-cjk-to-unicode): New translation table name.
10149         (ccl-encode-unicode-font): Merge the code in ucs-tables.el.
10150         (font-ccl-encoder-alist): Change the font registry pattern to
10151         "ISO10646.*-*".
10153 2002-09-30  Colin Walters  <walters@gnu.org>
10155         * calc/calc-stuff.el (calc-flush-caches): Add optional arg
10156         `inhibit-msg'.
10158         * calc/calc-prog.el (calc-kbd-report, calc-kbd-query): Don't bind
10159         `executing-kbd-macro' and `defining-kbd-macro'.
10161         * calc/calc-ext.el (calc-reset): Don't bind `executing-kbd-macro'.
10162         Call `calc-flush-caches' with inhibit-msg arg.
10163         (calc-change-mode): Remove extra arg for `calc-save-modes'.
10165         * calc/calc-mode.el (calc-save-modes): Remove `quiet' arg.
10166         Don't bind `executing-kbd-macro'.
10168 2002-09-29  Noah Friedman  <friedman@splode.com>
10170         * subr.el (read-key): Use read-key-auxiliary-map, not read-key-aux-map.
10172 2002-09-29  Richard M. Stallman  <rms@gnu.org>
10174         * startup.el (user-mail-address): Initialize to a useful value
10175         once Emacs is started up; initialize to "" at loadup time.
10176         (command-line): "", not nil, means user-mail-address not set yet.
10178 2002-09-29  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10180         * net/tramp.el: Version 2.0.24 released.
10181         (tramp-methods, tramp-completion-function-alist):
10182         Rename "*-old" methods to "*_old".  From Michael Albinus.
10183         (tramp-completion-function-alist):
10184         Use `tramp-completion-function-alist-ssh' for the "fcp" method.
10185         From Michael Albinus.
10186         (tramp-default-method-alist): Use "su" for "root@localhost".
10187         (tramp-host-regexp): Allow "#" for "host#port" kludge.
10188         (tramp-ange-ftp-file-name-p): If METHOD is nil, find the right
10189         default method.  Require additional args USER and HOST for this.
10190         Callers changed.
10191         (tramp-handle-file-local-copy): More local bindings.  Bind results
10192         of tramp-get-{remote,local}-{de,en}coding earlier to avoid nasty
10193         "are you awake" problem.
10194         (tramp-action-password): Protect against clobbered match data.
10195         (tramp-open-connection-setup-interactive-shell): Explicitly set
10196         tramp-last-cmd-time before invoking tramp-send-command the first
10197         time.  Otherwise, tramp-send-command would issue "echo are you
10198         awake" right at the first time, which is not what we want.
10199         Reported by Douglas Gray Stephens.
10200         (tramp-find-inline-encoding): Don't redirect stdout to
10201         /dev/null to avoid "chmode go-rwx" operation from "mimencode
10202         >/dev/null" as root(!), and to check the output of the decoding
10203         command.
10204         (tramp-maybe-open-connection): Don't send "are you awake" if
10205         process has died.
10207 2002-09-29  Colin Walters  <walters@gnu.org>
10209         * calc/calc.el (calc-dispatch-map): Actually set to keymap.
10211 2002-09-29  Mike Williams  <mdub@bigfoot.com>
10213         * textmodes/sgml-mode.el (sgml-guess-indent): Handle tabs correctly.
10215 2002-09-29  Richard M. Stallman  <rms@gnu.org>
10217         * custom.el (defcustom): Doc fix.
10219 2002-09-28  Richard M. Stallman  <rms@gnu.org>
10221         * loadhist.el (unload-feature): When undefining a variable,
10222         delete its buffer-local bindings.
10224 2002-09-28  Luc Teirlinck  <teirllm@mail.auburn.edu>
10226         * subr.el (remove-yank-excluded-properties): Fix bugs in
10227         handling of category properties.
10229 2002-09-28  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
10231         * ps-print.el (ps-print-emacs-type): Error if ps-print is
10232         activated in Epoch, inLucid or in Emacs v19 or lesser.
10233         Value can no longer be `lucid'.
10234         (ps-print-version): New version number (6.5.8).
10235         (faces): Never do (require 'faces).
10237 2002-09-28  Simon Josefsson  <jas@extundo.com>
10239         * mail/smtpmail.el (smtpmail-via-smtp): Only negotiate starttls on
10240         streams that were opened using starttls.
10242 2002-09-28  Paul Reilly  <pmr@pajato.com>
10244         * files.el (auto-mode-alist): Add support for Java Enterprise
10245         ARchive (ear/EAR) and Web ARchive (war/WAR) files.
10247 2002-09-28  John Paul Wallington  <jpw@shootybangbang.com>
10249         * progmodes/m4-mode.el (m4-font-lock-keywords)
10250         (m4-mode-syntax-table, m4-mode-abbrev-table, m4-m4-buffer)
10251         (m4-m4-region): Doc fixes.
10253 2002-09-27  Stefan Monnier  <monnier@cs.yale.edu>
10255         * emacs-lisp/cl-macs.el: Use the new usage-in-docstring syntax.
10256         (cl-push, cl-pop): Remove.
10257         Use pop and push throughout the file instead.
10258         (cl-transform-lambda): Add usage info to docstring if the arglist
10259         is complex.
10261         * emacs-lisp/autoload.el (make-autoload): Add usage info to docstring.
10262         (autoload-print-form): Also quote open-[-in-column 0.
10264         * help-fns.el (help-with-tutorial): Use minibuffer-completion-help.
10265         (help-split-fundoc): Don't support old syntax any more.
10266         (help-add-fundoc-usage): New fun.
10268         * emacs-lisp/cl-extra.el (cl-push, cl-pop): Remove.
10269         Use pop and push throughout the file instead.
10270         (cl-hash-lookup): Remove.
10271         (cl-make-hash-table, cl-hash-table-p, cl-gethash, cl-puthash)
10272         (cl-remhash, cl-clrhash, cl-maphash, cl-hash-table-count): Simplify.
10274         * emacs-lisp/cl-seq.el (cl-push, cl-pop): Remove.
10275         Use pop and push throughout the file instead.
10277         * emacs-lisp/edebug.el: Don't precompute menu shortcuts during
10278         loading since the current keymaps might be all weird.
10280         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't add properties
10281         to the name since they're added by mode-line-format already.
10282         (define-minor-mode): Run (,mode -1) when needed.
10284         * tar-mode.el (tar-untar-buffer): Handle dir-entries.
10285         (tar-summarize-buffer, tar-mode, tar-extract, tar-copy, tar-expunge)
10286         (tar-alter-one-field, tar-subfile-save-buffer, tar-mode-write-file):
10287         Don't hardcode 1 == point-min.
10289         * abbrev.el (write-abbrev-file): Don't hardcode point-min == 1.
10291         * subr.el (read-key-auxiliary-map): New var.
10292         (read-key): Use it.
10293         (make-temp-file): Make the file have mode 600.
10294         (add-minor-mode): Don't add properties to the name since it's
10295         added by mode-line-format already.
10296         Be more careful with the mode-line-menu entry name.
10298         * userlock.el (ask-user-about-supersession-threat): Don't abort
10299         when the user hits mouse-2.
10301         * register.el (set-register): Use push.
10302         (point-to-register): Set kill-buffer-hook in this buffer.
10303         (register-swap-out): Use dolist.
10304         (kill-buffer-hook): Don't change globally.
10306         * server.el (server-select-display): New function.
10307         (server-process-filter): Add support for `-display' and `-eval' args.
10308         (server-visit-files): Use save-current-buffer, push, and dolist.
10309         Add server-kill-buffer to kill-buffer-hook.
10310         (kill-buffer-hook): Don't modify globally.
10311         (server-switch-buffer): Be a bit more careful with multiple displays.
10312         (server-socket-name): Always use /tmp and non-qualified hostname.
10314         * uniquify.el (uniquify-rationalize-file-buffer-names):
10315         Add to kill-buffer-hook for buffers with conflict.
10316         (rename-buffer): Check kill-buffer-hook to see if there was a conflict.
10317         (uniquify-delay-rationalize-file-buffer-names): Remove useless check.
10318         (kill-buffer-hook): Don't change globally.
10320 2002-09-27  Stefan Monnier  <monnier@cs.yale.edu>.
10322         * calc/calc.el (calc-bug-address, calc-scan-for-dels, calc-stack)
10323         (calc-stack-top, calc-always-load-extensions)
10324         (calc-line-numbering, calc-line-breaking, calc-display-just)
10325         (calc-display-origin, calc-number-radix, calc-leading-zeros)
10326         (calc-group-digits, calc-group-char, calc-point-char)
10327         (calc-frac-format, calc-prefer-frac, calc-hms-format)
10328         (calc-date-format, calc-float-format, calc-complex-format)
10329         (calc-full-float-format, calc-complex-mode, calc-infinite-mode)
10330         (calc-display-strings, calc-matrix-just, calc-break-vectors)
10331         (calc-full-vectors, calc-full-trail-vectors, calc-vector-commas)
10332         (calc-vector-brackets, calc-matrix-brackets, calc-language)
10333         (calc-language-option, calc-function-open, calc-function-open)
10334         (calc-function-close, calc-language-output-filter)
10335         (calc-language-input-filter, calc-radix-formatter)
10336         (calc-left-label, calc-right-label, calc-word-size)
10337         (calc-previous-modulo, calc-simplify-mode, calc-auto-recompute)
10338         (calc-display-raw, calc-internal-prec, calc-inverse-flag)
10339         (calc-hyperbolic-flag, calc-keep-args-flag, calc-angle-mode)
10340         (calc-algebraic-mode, calc-incomplete-algebraic-mode)
10341         (calc-symbolic-mode, calc-matrix-mode, calc-shift-prefix)
10342         (calc-window-height, calc-display-trail, calc-show-selections)
10343         (calc-use-selections, calc-assoc-selections)
10344         (calc-display-working-message, calc-auto-why, calc-timing)
10345         (calc-display-sci-high, calc-display-sci-low, calc-other-modes)
10346         (calc-other-modes, calc-Y-help-msgs, calc-loaded-settings-file):
10347         Make into real defvars.
10348         (calc-mode-var-list): Delete.
10349         (calc-mode-save-mode, calc-standard-date-formats)
10350         (calc-autorange-units, calc-was-keypad-mode, calc-full-mode)
10351         (calc-user-parse-tables, calc-gnuplot-default-device)
10352         (calc-gnuplot-default-output, calc-gnuplot-print-device)
10353         (calc-gnuplot-print-output, calc-gnuplot-geometry)
10354         (calc-graph-default-resolution, calc-graph-default-resolution-3d)
10355         (calc-invocation-macro, calc-show-banner): Make into defvars,
10356         taken from `calc-mode-var-list'.
10357         (calc-emacs-type-epoch, calc-emacs-type-19)
10358         (calc-emacs-type-lucid, calc-emacs-type-gnu19): Make into defvars.
10359         (calc-version, calc-version-date, calc-trail-pointer)
10360         (calc-trail-overlay, calc-undo-list, calc-redo-list)
10361         (calc-main-buffer, calc-trail-buffer, calc-why, calc-next-why)
10362         (calc-inverse-flag, calc-hyperbolic-flag, calc-keep-args-flag)
10363         (calc-last-kill, calc-previous-alg-entry, calc-dollar-values)
10364         (calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
10365         (calc-said-hello, calc-executing-macro, calc-any-selections)
10366         (calc-help-phase, calc-full-help-flag, calc-refresh-count)
10367         (calc-display-dirty, calc-prepared-composition)
10368         (calc-selection-cache-default-entry, calc-embedded-info)
10369         (calc-embedded-active, calc-standalone-flag, var-EvalRules)
10370         (math-eval-rules-cache-tag, math-radix-explicit-format)
10371         (math-expr-function-mapping, math-expr-variable-mapping)
10372         (math-read-expr-quotes, math-working-step, math-working-step-2)
10373         (var-i, var-pi, var-e, var-phi, var-gamma, var-Modes): Make into
10374         defvars, from toplevel setq.
10375         (calc-mode-map): Set up keymap in more modern fashion.
10376         (calc-dispatch-map): Ditto.
10377         (calc-command-flags, calc-final-point-line)
10378         (calc-final-point-column): Defvar.
10379         (calc-do): Use `save-current-buffer' instead of `save-excursion'.
10380         (sel-mode): Defvar.
10381         (calc-any-evaltos): Ditto.
10382         (calc-buffer, calc-prev-char, calc-prev-prev-char)
10383         (calc-digit-value): Ditto.
10384         (math-eval-rules-cache, math-eval-rules-cache-other): Ditto.
10385         (math-sub-bignum): Bind `diff'.
10386         (calc-selection-cache-entry): Defvar.
10387         (calc-count-lines): Reference `pos' instead of `newpos'.
10389 2002-09-27  Simon Josefsson  <jas@extundo.com>
10391         * mail/mail-hist.el (mail-hist-next-input): Fix docstring.
10393 2002-09-26  Richard M. Stallman  <rms@gnu.org>
10395         * mail/unrmail.el (unrmail): Do the work directly,
10396         without actually selecting the messages in the from file.
10397         (unrmail-unprune): New subroutine.
10399         * files.el (backup-buffer): Bind local var MODES.
10400         Don't use renaming for a suid or sgid file.
10401         Use backup-buffer-copy to do copying.
10402         (backup-buffer-copy): New subroutine.
10403         Clear suid and sgid bits for the copy.
10405 2002-09-26  Edward M. Reingold  <reingold@emr.cs.iit.edu>
10407         * calendar/solar.el (solar-equinoxes-solstices):
10408         Use time properly adjusted for DST in the result.
10410 2002-09-26  Richard M. Stallman  <rms@gnu.org>
10412         * follow.el (follow-generic-filter): Simply bind deactivate-mark.
10413         Bind inhibit-read-only; don't mess with buffer-read-only.
10415         * speedbar.el (speedbar-refresh): Simply bind deactivate-mark.
10417 2002-09-26  Luc Teirlinck  <teirllm@mail.auburn.edu>
10419         * ielm.el (inferior-emacs-lisp-mode): Treat the header as
10420         output, if comint-use-prompt-regexp-instead-of-fields is nil.
10422 2002-09-26  John Paul Wallington  <jpw@shootybangbang.com>
10424         * ibuffer.el (ibuffer-update): Call `minibufferp' with argument
10425         instead of within `with-current-buffer'.
10427 2002-09-26  Stephen Eglen  <stephen@gnu.org>
10429         * iswitchb.el (iswitchb-completions): Test that
10430         iswitchb-common-match-string is a string, before printing common
10431         completions.
10433 2002-09-25  Stefan Monnier  <monnier@cs.yale.edu>
10435         * server.el: Use built-in network primitives.
10436         (server-program, server-previous-string): Remove.
10437         (server-previous-strings): New var.
10438         (server-socket-name): New var.
10439         (server-log): Minor change to the output format.
10440         (server-sentinel): Clean up global state when a client disconnects.
10441         (server-unquote-arg): New fun.
10442         (server-start): Use server-socket-name and make-network-process.
10443         (server-process-filter): Now talks to the clients directly.
10444         Normalize file name after unquoting and decoding.
10445         (server-buffer-done): Just close the connection.
10446         (server-switch-buffer): Handle the case where all windows are
10447         dedicated or minibuffers.
10449         * font-lock.el (fast-lock-mode, lazy-lock-mode, jit-lock-mode):
10450         Don't bind them variables.
10451         (font-lock-turn-off-thing-lock, font-lock-after-fontify-buffer)
10452         (font-lock-after-unfontify-buffer): Check that the vars are bound.
10453         (font-lock-dont-widen): New var.
10454         (font-lock-default-fontify-region): Use it.
10456         * emacs-lisp/find-func.el (find-library-name):
10457         Correctly find "file.el.gz" from "file.elc" or "file.elc.gz".
10459 2002-09-25  Kenichi Handa  <handa@etl.go.jp>
10461         * international/mule-cmds.el (select-safe-coding-system):
10462         Handle safe but rejected default coding systems and unsafe default
10463         coding systems differently.
10465         * international/mule-diag.el (list-character-sets): Use the buffer
10466         name "*Character Set List*", not "*Help*".  List also indirectly
10467         supported character sets.
10468         (list-charset-chars): Use the buffer name "*Character List*", not
10469         "*Help*".  Display the current charset name in the modeline.
10470         (non-iso-charset-alist): Add mapped charset list for `mac-roman'.
10471         (sort-listed-character-sets): Don't alter the region showing
10472         indirectly supported charsets.
10474 2002-09-24  Simon Josefsson  <jas@extundo.com>
10476         * mail/mail-extr.el (mail-extr-ignore-single-names): Change default.
10477         (mail-extract-address-components): Doc fix.
10479 2002-09-24  Markus Rost  <rost@math.ohio-state.edu>
10481         * simple.el (edit-and-eval-command): Protect command-history.
10482         (repeat-complex-command): Protect command-history.
10484 2002-09-24  Juanma Barranquero  <lektu@terra.es>
10486         * replace.el (occur-find-match): New function.
10487         (occur-next, occur-prev): Use it.
10489         * progmodes/sh-script.el (sh-mark-init): Don't set `occur-buffer'.
10490         (sh-mark-line): Likewise. Use 'occur-target and 'occur-match
10491         instead of 'occur and 'occur-point.
10493         * eshell/em-unix.el (eshell-occur-mode-mouse-goto)
10494         (eshell-poor-mans-grep): Remove references to `occur-buffer'.
10496 2002-09-24  Stefan Monnier  <monnier@cs.yale.edu>
10498         * descr-text.el (describe-text-category): Use *Help*.
10499         Don't kill-buffer.
10500         (describe-text-properties, describe-char):
10501         Delay self-inspection test.  Use *Help*.
10502         Use syntax-after.  Use `pos' rather than (point).
10503         Distinguish the before/after part of a composition.
10505 2002-09-23  Kenichi Handa  <handa@etl.go.jp>
10507         * international/quail.el (quail-completion): Be sure to scroll
10508         quail-completion-buf.
10510 2002-09-23  Richard M. Stallman  <rms@gnu.org>
10512         * ielm.el (*1): Fix previous change.
10514 2002-09-23  Juanma Barranquero  <lektu@terra.es>
10516         * net/tramp.el (tramp-unified-filenames): Autoload it.
10518 2002-09-23  Michael Kifer  <kifer@cs.stonybrook.edu>
10520         * ediff-init.el (ediff-get-next-window): Bug fix.
10522 2002-09-22  Oliver Scholz  <alkibiades@gmx.de>
10524         * play/gamegrid.el (gamegrid-face): New variable to emulate a
10525         buffer-local default face.
10526         (gamegrid-xbm): New variable; XBM image as a replacement for
10527         `gamegrid-xpm' on Emacsen compiled without XPM-support.
10528         (gamegrid-colorize-glyph): Ported XEmacs-code for the generation
10529         of images to Emacs.
10530         (gamegrid-match-spec): Call `gamegrid-make-image-from-vector' to
10531         convert XEmacs-type image descriptors.
10532         (gamegrid-color-display-p): Remove (use `display-colors-p' instead.)
10533         (gamegrid-make-image-from-vector): New function.  Convert XEmacs'
10534         image descriptors.
10535         (gamegrid-display-type): Use Emacs' standard `display-.*-p'
10536         functions to check for display capabilities.  Fix the recognition
10537         of image-support in Emacs 21 by this way.
10538         (gamegrid-hide-cursor): Removed.
10539         (gamegrid-setup-default-font): Ported the code from XEmacs to
10540         Emacs: create a new face and assign the variable `gamegrid-face'
10541         to it.  Make sure that the face is not higher than the smallest
10542         image used by the game.
10543         (gamegrid-initialize-display): Use `(setq cursor-type nil)'
10544         instead of `gamegrid-hide-cursor'.
10545         (gamegrid-set-face): If `gamegrid-display-mode' is 'glyph, put an
10546         image in the buffer, instead of applying a face.  [This is because
10547         Emacs display-tables are not as capable as the display-tables in
10548         XEmacs.  Maybe this function should be renamed to reflect the change?]
10549         (gamegrid-init-buffer): If `gamegrid-display-mode' is 'glyph, put
10550         the face held by `gamegrid-face' in an overlay over the whole
10551         buffer to emulate a buffer-local default-face.
10553 2002-09-22  Markus Triska  <triska@gmx.at>  (iny change)
10555         * play/doctor.el (doctor-doc): Add 2 question words.
10556         (doctor-getnoun): Parse and save the complete object phrase.
10558 2002-09-22  Richard M. Stallman  <rms@gnu.org>
10560         * international/mule-cmds.el (select-safe-coding-system): Cope if
10561         default-coding-system gives nil which was then used in `min'.
10563         * mail/sendmail.el (sendmail-send-it): If user's buffer
10564         is unibyte, make tembuf unibyte.
10566 2002-09-22  Kai Gro\e,A_\e(Bjohann  <grossjoh@ls6.informatik.uni-dortmund.de>
10568         * net/tramp.el: Version 2.0.22 released.
10569         (tramp-parse-rhosts, tramp-parse-shosts)
10570         (tramp-parse-hosts, tramp-parse-passwd): Apply `push' but
10571         `add-to-list' for performance reasons.
10572         (tramp-get-completion-user-host): Return `nil' in case both `user'
10573         and 'host' are empty (not necessarily `nil'.
10574         (tramp-parse-netrc, tramp-parse-netrc-group): New functions.
10575         (tramp-user-regexp): " \t" are not user regexp characters.
10576         (tramp-completion-handle-file-name-all-completions):
10577         Remove Ange-FTP cmpletion. It has a bug not handling the "/ftp:" prefix
10578         completely, and it returns local completions as well.
10579         (tramp-completion-function-alist-ftp): New constant.
10580         (tramp-completion-function-alist): Add completion function for "ftp".
10581         From Michael Albinus <Michael.Albinus@alcatel.de>.
10583 2002-09-22  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10585         * net/tramp.el: Version 2.0.21 released.
10586         (tramp-handle-file-newer-than-file-p): If mtime of both files is
10587         known, return a useful result.  Better error message in case one
10588         is a Tramp file and one isn't.
10589         (tramp-handle-file-local-copy, tramp-handle-write-region)
10590         (tramp-find-shell, tramp-open-connection-telnet)
10591         (tramp-open-connection-rsh, tramp-open-connection-su)
10592         (tramp-open-connection-setup-interactive-shell)
10593         (tramp-post-connection, tramp-maybe-open-connection)
10594         (tramp-method-out-of-band-p): Correct number of args for
10595         `tramp-get-rsh-program' and similar functions.
10597 2002-09-22  Kai Gro\e,A_\e(Bjohann  <grossjoh@ls6.informatik.uni-dortmund.de>
10599         * net/tramp.el: Version 2.0.20 released.
10601 2002-09-20  Kai Gro\e,A_\e(Bjohann  <grossjoh@ls6.informatik.uni-dortmund.de>
10603         * net/tramp.el (tramp-completion-function-alist): Escape open
10604         paren in docstring.
10605         (tramp-user-regexp, tramp-host-regexp): Allow empty strings.
10606         (tramp-handle-insert-file-contents): Call tramp-message-for-buffer
10607         instead of tramp-message.
10608         (tramp-open-connection-rsh): Handle empty string as user name.
10609         (tramp-open-connection-su): Handle empty string as host name.
10610         Handle nil user name.
10611         (tramp-handle-file-local-copy, tramp-handle-write-region)
10612         (tramp-completion-handle-file-name-all-completions)
10613         (tramp-open-connection-telnet, tramp-open-connection-rsh)
10614         (tramp-open-connection-su, tramp-post-connection)
10615         (tramp-maybe-open-connection, tramp-method-out-of-band-p)
10616         (tramp-get-connection-function, tramp-get-remote-sh)
10617         (tramp-get-rsh-program, tramp-get-rsh-args)
10618         (tramp-get-rcp-program, tramp-get-rcp-args)
10619         (tramp-get-rcp-keep-date-arg, tramp-get-su-program)
10620         (tramp-get-su-args, tramp-get-telnet-program)
10621         (tramp-get-telnet-args): Use `tramp-find-method', perhaps require
10622         additional args USER, HOST.
10623         (tramp-action-password, tramp-open-connection-telnet)
10624         (tramp-open-connection-su, tramp-open-connection-multi)
10625         (tramp-method-out-of-band-p): `tramp-method-out-of-band-p' now
10626         takes USER and HOST arguments, to be able to use
10627         `tramp-find-method'.  Update callers.
10628         (tramp-find-method): New function.
10630 2002-09-20  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10632         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
10633         in SWITCHES (by removing it).
10635 2002-09-18  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10637         * net/tramp.el (tramp-file-name-handler): Add `file-remote-p' property.
10639 2002-09-17  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10641         * net/tramp.el (top-level): Maybe autoload uudecode-decode-region.
10643 2002-09-16  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10645         * net/tramp.el (tramp-bug): Add tramp-methods.
10647 2002-09-16  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10649         * net/tramp.el (tramp-methods): Update docstring:
10650         tramp-encoding-command, tramp-decoding-command,
10651         tramp-encoding-function and tramp-decoding-function are not
10652         parameters anymore.
10653         (tramp-uuencode-region): Autoload it.
10655 2002-09-13  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10657         * net/tramp.el: Version 2.0.19 released.
10659         * net/tramp-uu.el: New file, implements uuencode in Lisp.
10661         * net/tramp.el (tramp-coding-commands):
10662         Use `tramp-uuencode-region' as local encoder for the uuencode based
10663         entries.
10665 2002-09-13  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10667         * net/tramp.el (tramp-handle-write-region): Wrong parens.
10669 2002-09-13  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10671         * net/tramp.el: Version 2.0.18 released.
10673         * net/tramp.el (tramp-perl-decode): Perl changes to accomodate
10674         older versions of Perl.  Now tested with 5.004.  Suggestion from
10675         Michael Albinus.
10677 2002-09-12  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10679         * net/tramp.el (tramp-find-inline-encoding):
10680         Call tramp-call-local-coding-command with nil for INPUT and OUTPUT.
10681         (tramp-call-local-coding-command): OUTPUT equals nil means to
10682         discard the output.  INPUT equals nil means /dev/null.
10684 2002-09-12  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10686         * net/tramp.el (tramp-encoding-shell): Default to environment
10687         variable COMSPEC on Windows.
10688         (tramp-handle-write-region): More debugging output.
10689         (tramp-find-inline-encoding): Ditto.
10691 2002-09-11  Michael Albinus  <Michael.Albinus@alcatel.de>
10693         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10694         Define `result1'.
10695         (tramp-parse-hosts-group): Discard IPv6 entries.
10697 2002-09-11  Kai Gro\e,A_\e(Bjohann  <grossjoh@ls6.informatik.uni-dortmund.de>
10699         * net/tramp.el (tramp-post-connection): Only send Perl
10700         mime-encode/decode implementations when using inline method.
10701         (tramp-handle-file-local-copy)
10702         (tramp-handle-write-region, tramp-post-connection)
10703         (tramp-coding-commands, tramp-find-inline-encoding): For the
10704         inline encodings, distinguish between local and remote commands,
10705         instead of between commands and functions.  (The local commands
10706         can be functions, too.)  If the local host is a Windows machine,
10707         we can't expect the same commands to work there as on the remote host.
10708         (tramp-call-local-coding-command): New function for calling local
10709         encoding and decoding commands.
10710         (tramp-set-remote-encoding, tramp-get-remote-encoding)
10711         (tramp-set-remote-decoding, tramp-get-remote-decoding)
10712         (tramp-set-local-encoding, tramp-get-local-encoding)
10713         (tramp-set-local-decoding, tramp-get-local-decoding): New functions.
10714         (tramp-get-encoding-command, tramp-set-encoding-command)
10715         (tramp-get-decoding-command, tramp-set-decoding-command)
10716         (tramp-get-encoding-function, tramp-set-encoding-function)
10717         (tramp-get-decoding-function, tramp-set-decoding-function):
10718         Old functions, removed.
10720 2002-09-10  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10722         * net/tramp.el (tramp-open-connection-setup-interactive-shell):
10723         Change command to invoke /bin/sh slightly to make it compatible
10724         with the `rc' shell.  Suggested by Daniel Pittman.
10726 2002-09-10  Michael Albinus  <Michael.Albinus@alcatel.de>
10728         * net/tramp.el (tramp-handle-write-region): Added missing
10729         `)'.  Hope it's the right place.
10731 2002-09-09  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10733         * net/tramp.el (tramp-open-connection-setup-interactive-shell):
10734         Do "exec env PS1='$ ' /bin/sh" instead of just "exec /bin/sh" in
10735         order to get a sane shell prompt.  If people have ${CWD}, say, in
10736         their shell prompt, then the default login shell might display
10737         something harmless, but the /bin/sh will display a dollar sign
10738         which confused the subsequent prompt recognition.
10739         (tramp-multi-action-password): More debugging output.
10740         (tramp-encoding-shell): Renamed from tramp-sh-program.
10741         More documentation.  Default to cmd.exe on Windows NT.
10742         (tramp-encoding-command-switch): New variable.  Use instead of
10743         hard-wired "-c" which is only good for /bin/sh.
10744         (tramp-encoding-reads-stdin): New variable.  If t, commands are
10745         called like "/bin/sh -c COMMAND <INPUT", if nil, they are called
10746         like "/bin/sh -c COMMAND INPUT", ie the input file is the last arg.
10747         (tramp-multi-sh-program): Always default to tramp-encoding-shell.
10748         (tramp-handle-file-local-copy, tramp-handle-write-region):
10749         Respect tramp-encoding-shell and friends.
10750         (tramp-find-inline-encoding): Use new-style calls for checking if
10751         the local commands work.
10753 2002-09-07  Michael Albinus  <Michael.Albinus@alcatel.de>
10755         * net/tramp.el (tramp-methods): Remove `tramp-completion-function'
10756         entries. They are handled now by `tramp-completion-function-alist'.
10757         (tramp-completion-function): Defvar removed. I've never used
10758         it. Hmm.
10759         (tramp-get-completion-function)
10760         (tramp-get-completion-rsh, tramp-get-completion-ssh)
10761         (tramp-get-completion-telnet, tramp-get-completion-su):
10762         Functions removed as well.  Not necessary any longer due to extended
10763         customization means.
10764         (tramp-completion-function-alist): New defcustom. Holds all
10765         FUNCTION FILE pairs used for user and host name completion
10766         relevant for METHOD.
10767         (tramp-completion-function-alist-rsh)
10768         (tramp-completion-function-alist-ssh)
10769         (tramp-completion-function-alist-telnet)
10770         (tramp-completion-function-alist-su): Defconst for initializing
10771         `tramp-completion-function-alist'. Unfortunately, mainly UNIX-like
10772         values are known for me until now. Needs to be completed for at
10773         least VMS++ like operating systems.
10774         (tramp-set-completion-function)
10775         (tramp-get-completion-function): New functions for configuration
10776         of `tramp-completion-function-alist'. The old definition of
10777         `tramp-get-completion-function' has been discarded.
10778         (tramp-completion-handle-file-name-all-completions):
10779         Change function call for user/host completion according to definition
10780         in `tramp-completion-function-alist'.
10781         (tramp-parse-passwd): Added exception handling for "root", because
10782         `tramp-get-completion-su' (the previous place for this stuff)
10783         doesn't exist any longer.
10785 2002-09-07  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10787         * net/tramp.el (tramp-enter-password):
10788         Use `tramp-password-end-of-line' to terminate the line.
10789         (tramp-bug): Include new variable `tramp-password-end-of-line'.
10790         (tramp-password-end-of-line): New variable.  People who use plink
10791         under Windows might have to issue "\r\n" after the password, but
10792         they need to send just "\n" after the other commands.  So this
10793         variable was introduced to complement `tramp-rsh-end-of-line'.
10794         (tramp-wait-for-output, tramp-post-connection): Allow "\r" at end
10795         of line of the output delimiter.
10797 2002-09-06  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10799         * net/tramp.el (tramp-handle-file-local-copy, tramp-find-shell)
10800         (tramp-open-connection-setup-interactive-shell): Add some comments
10801         about Douglas Grey Stephen's suggestions to make Tramp work better
10802         with plink under Windows.  I'm not sure what to think of them, but
10803         now I have a guinea pig to try it out on.  Said guinea pig is
10804         having other problems, though...  Also remove some commented-out code.
10806 2002-09-06  Michael Albinus  <Michael.Albinus@alcatel.de>
10808         * net/tramp.el (tramp-get-completion-methods): Algorithm slightly
10809         tuned.
10810         (tramp-get-completion-user-host): Accept user names as they are if
10811         typed until "@".
10812         (tramp-completion-mode): Replace `last-input-char' by modern
10813         `last-input-event'. Check for `event-modifiers'.
10815 2002-09-06  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10817         * net/tramp.el (file-expand-wildcards): Corrected check to see if
10818         advising is necessary.
10820 2002-09-05  Michael Albinus  <Michael.Albinus@alcatel.de>
10822         * net/tramp.el (tramp-postfix-single-method-format)
10823         (tramp-postfix-multi-method-format)
10824         (tramp-postfix-multi-hop-format)
10825         (tramp-postfix-user-format): New format strings.
10826         (tramp-postfix-single-method-regexp)
10827         (tramp-postfix-multi-method-regexp)
10828         (tramp-postfix-multi-hop-regexp)
10829         (tramp-postfix-user-regexp)
10830         (tramp-make-multi-tramp-file-format)
10831         (tramp-make-tramp-file-name): Apply them.
10832         (tramp-completion-handle-file-name-all-completions): Fix for
10833         invoking ange-ftp in case of "/ftp:xxx" file names.
10835 2002-09-04  Michael Albinus  <Michael.Albinus@alcatel.de>
10837         * net/tramp.el (tramp-prefix-format)
10838         (tramp-postfix-host-format): New format strings.
10839         (tramp-prefix-regexp, tramp-method-regexp)
10840         (tramp-postfix-single-method-regexp)
10841         (tramp-postfix-multi-method-regexp)
10842         (tramp-postfix-multi-hop-regexp)
10843         (tramp-user-regexp, tramp-postfix-user-regexp)
10844         (tramp-host-regexp, tramp-postfix-host-regexp)
10845         (tramp-path-regexp): New atomar regular expressions.
10846         If corresponding format strings exist, derived from them.
10847         (tramp-file-name-structure)
10848         (tramp-multi-file-name-structure)
10849         (tramp-multi-file-name-hop-structure)
10850         (tramp-make-multi-tramp-file-format)
10851         (tramp-completion-mode)
10852         (tramp-completion-dissect-file-name)
10853         (tramp-parse-rhosts-group)
10854         (tramp-parse-shosts-group)
10855         (tramp-parse-hosts-group)
10856         (tramp-parse-passwd-group): Apply these expressions.
10857         (tramp-file-name-structure-unified)
10858         (tramp-file-name-structure-separate)
10859         (tramp-make-tramp-file-format-unified)
10860         (tramp-make-tramp-file-format-separate)
10861         (tramp-make-tramp-file-format)
10862         (tramp-make-tramp-file-user-nil-format-unified)
10863         (tramp-make-tramp-file-user-nil-format-separate)
10864         (tramp-make-tramp-file-user-nil-format)
10865         (tramp-multi-file-name-structure-unified)
10866         (tramp-multi-file-name-structure-separate)
10867         (tramp-multi-file-name-hop-structure-unified)
10868         (tramp-multi-file-name-hop-structure-separate)
10869         (tramp-make-multi-tramp-file-format-unified)
10870         (tramp-make-multi-tramp-file-format-separate): Removed.
10871         (tramp-make-tramp-file-name): Allow partial tramp file
10872         names. Generate tramp file format on-the-fly depending on
10873         parameters. Apply atomar format strings resp expressions.
10874         (tramp-get-completion-methods)
10875         (tramp-get-completion-user-host): Apply `tramp-make-tramp-file-name'.
10876         (tramp-parse-hosts-group): Take all host names and IP addresses
10877         into account.
10878         (tramp-bug): Remove `tramp-make-tramp-file-format'.
10880 2002-09-01  Michael Albinus  <Michael.Albinus@alcatel.de>
10882         * net/tramp.el (tramp-methods): Add `tramp-completion-function'
10883         for "su" and "sudo".
10884         (tramp-get-completion-telnet): Implement it.
10885         (tramp-parse-hosts)
10886         (tramp-parse-hosts-group)
10887         (tramp-get-completion-su)
10888         (tramp-parse-passwd)
10889         (tramp-parse-passwd-group): New functions.
10891 2002-08-31  Michael Albinus  <Michael.Albinus@alcatel.de>
10893         * net/tramp.el (tramp-completion-mode): Check for `last-input-char'.
10894         (tramp-completion-file-name-handler-alist): Add handler for
10895         `file-exists-p.
10896         (tramp-completion-handle-file-exists-p): New function.
10897         (tramp-completion-handle-file-name-completion): Simplified.
10898         (tramp-completion-dissect-file-name): Regexp's reorganised.
10899         (tramp-completion-handle-file-name-all-completions):
10900         Call completion-function only if `user' or `host' is given.
10901         (tramp-get-completion-user-host): New function.
10902         (tramp-get-completion-rsh)
10903         (tramp-get-completion-ssh): Apply it.
10905 2002-08-29  Michael Albinus  <Michael.Albinus@alcatel.de>
10907         * net/tramp.el (tramp-completion-file-name-handler-alist):
10908         Add handler for `expand-file-name'.
10909         (tramp-completion-handle-expand-file-name): New function.
10911 2002-08-26  Michael Albinus  <Michael.Albinus@alcatel.de>
10913         * net/tramp.el (tramp-completion-mode): New function.
10914         (tramp-completion-handle-file-name-directory)
10915         (tramp-completion-handle-file-name-all-completions): Apply it.
10916         (tramp-methods): Remove double definition of `ssh1-old' and `ssh2-old'.
10917         (tramp-point-at-eol): New defalias.
10918         (tramp-parse-rhosts-group)
10919         (tramp-parse-shosts-group):: Apply it.
10921 2002-08-25  Michael Albinus  <Michael.Albinus@alcatel.de>
10923         * net/tramp.el (tramp-get-completion-methods)
10924         (tramp-get-completion-rsh)
10925         (tramp-get-completion-ssh): Add "[" for Xemacs.
10926         (tramp-completion-file-name-regexp-separate): Expression adapted.
10927         (tramp-completion-file-name-handler-alist): Add handler for
10928         `file-name-directory' and `file-name-nondirectory'.
10929         (tramp-completion-handle-file-name-directory)
10930         (tramp-completion-handle-file-name-nondirectory)
10931         (tramp-completion-run-real-handler): New functions.
10932         (tramp-completion-file-name-handler)
10933         (tramp-completion-handle-file-name-all-completions):
10934         Apply `tramp-completion-run-real-handler'.
10935         (tramp-parse-rhosts)
10936         (tramp-parse-shosts): Use `with-temp-buffer'. `result\e$,1!=\e(B renamed to
10937         `res' (otherwise side effects in XEmacs).
10939 2002-08-24  Michael Albinus  <Michael.Albinus@alcatel.de>
10941         * net/tramp.el (tramp-completion-file-name-regexp)
10942         (tramp-completion-file-name-handler-alist)
10943         (tramp-flatten-list)
10944         (tramp-completion-dissect-file-name)
10945         (tramp-get-completion-rsh)
10946         (tramp-parse-rhosts)
10947         (tramp-parse-rhosts-group)
10948         (tramp-get-completion-ssh): Doc string tuned.
10949         (tramp-methods): Doc string and custom type extended for
10950         `tramp-completion-function'.
10951         (tramp-completion-function): Variable added. Is it really used?
10952         Other variables like `tramp-completion-function' aren't used.
10953         (tramp-completion-file-name-handler-alist): Add handler for
10954         `file-name-completion'.
10955         (tramp-completion-handle-file-name-completion): New function.
10957 2002-08-18  Michael Albinus  <Michael.Albinus@alcatel.de>
10959         * net/tramp.el (tramp-parse-rhosts)
10960         (tramp-parse-rhosts-group)
10961         (tramp-parse-shosts)
10962         (tramp-parse-shosts-group): New functions.
10964 2002-08-17  Michael Albinus  <Michael.Albinus@alcatel.de>
10966         * net/tramp.el (tramp-completion-dissect-file-name)
10967         (tramp-completion-dissect-file-name1): New functions.
10969 2002-08-16  Michael Albinus  <Michael.Albinus@alcatel.de>
10971         * net/tramp.el (tramp-get-completion-function)
10972         (tramp-get-completion-rsh)
10973         (tramp-get-completion-ssh)
10974         (tramp-get-completion-telnet): New functions.
10975         (tramp-methods): Add `tramp-completion-function' for all methods.
10977 2002-08-15  Michael Albinus  <Michael.Albinus@alcatel.de>
10979         * net/tramp.el (tramp-get-completion-methods): New function.
10980         (tramp-find-default-method): Allow host to be nil (like user).
10982 2002-08-14  Michael Albinus  <Michael.Albinus@alcatel.de>
10984         * net/tramp.el (tramp-completion-file-name-regexp-unified)
10985         (tramp-completion-file-name-regexp-separate)
10986         (tramp-completion-file-name-regexp)
10987         (tramp-completion-file-name-handler-alist): New defcustoms.
10988         (tramp-completion-file-name-handler): New function.
10989         Add `tramp-completion-file-name-handler' to `file-name-handler-alist'.
10990         (tramp-run-real-handler): Add `tramp-completion-file-name-handler'
10991         to `inhibit-file-name-handlers'.
10992         (tramp-completion-handle-file-name-all-completions)
10993         (tramp-completion-handle-file-name-completion): New functions.
10995 2002-08-12  Michael Albinus  <Michael.Albinus@alcatel.de>
10997         * net/tramp.el (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp'
10998         must be called again after activating `ange-ftp'.
10999         (tramp-ange-ftp-file-name-p): Check for Xemacs.
11001 2002-08-08  Michael Albinus  <Michael.Albinus@alcatel.de>
11003         * net/tramp.el (tramp-do-copy-or-rename-file): Don't pass
11004         KEEP-DATE to tramp-invoke-ange-ftp 'rename.
11005         (tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to
11006         tramp-invoke-ange-ftp 'write-region.
11007         (tramp-handle-set-file-modes): Change order of FILENAME and MODE
11008         passing to tramp-invoke-ange-ftp 'set-file-modes.
11009         (tramp-flatten-list): New function. Maybe this functionality does
11010         exist already elsewhere in the libraries.
11011         (tramp-invoke-ange-ftp): Apply `tramp-flatten-list' to parameter
11012         list in order to avoid nested lists, f.e. when invoked from
11013         `tramp-handle-dired-call-process'.
11015 2002-09-05  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11017         * net/tramp.el (tramp-chunksize): New kluge variable.
11018         (tramp-send-region): If tramp-chunksize is non-nil, send region in
11019         parts and sleep 0.1 seconds between chunks.
11021 2002-09-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11023         * net/tramp.el (tramp-handle-insert-directory):
11024         Use `insert-buffer-substring' instead of `insert-buffer', which is not
11025         supposed to be used from Lisp.  Remember old point in a variable
11026         instead of using `mark'.  Suggestion from Stefan Monnier.
11027         (tramp-unified-filenames): New variable.  Use it in default value
11028         of other filename variables.
11029         (file-expand-wildcards): Don't advise unless "[" and "]" are used
11030         in the filename format.
11032 2002-09-01  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11034         * net/tramp.el (tramp-methods): Remove duplicate definition of
11035         ssh1-old and ssh2-old.
11037 2002-09-22  Kai Gro\e,A_\e(Bjohann  <grossjoh@ls6.informatik.uni-dortmund.de>
11039         * dired.el (dired-insert-directory): Always add "--dired" to to
11040         SWITCHES for remote files.
11041         * files.el (insert-directory): Comment saying that "--dired"
11042         might be in the SWITCHES.
11043         * net/ange-ftp.el (ange-ftp-ls): Handle "--dired" in LSARGS.
11044         (ange-ftp-insert-directory): Comment explaining "--dired" handling.
11046 2002-09-21  Markus Rost  <rost@math.ohio-state.edu>
11048         * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Give %!._-
11049         word constituent syntax.
11051 2002-09-21  Richard M. Stallman  <rms@gnu.org>
11053         * cus-dep.el (custom-make-dependencies): Bind to t
11054         around evaluating the def-form.
11056         * custom.el (custom-dont-initialize): New variable.
11057         (custom-declare-variable): Don't init the variable
11058         if custom-dont-initialize is non-nil.
11060 2002-09-21  John Paul Wallington  <jpw@shootybangbang.com>
11062         * net/eudc.el (eudc-install-menu): Use `define-key' and
11063         `easy-menu-create-menu' to avoid duplication of menu.
11065 2002-09-20  Kim F. Storm  <storm@cua.dk>
11067         * kmacro.el (kmacro-step-edit-query): Use RET to execute rest of
11068         macro and terminate editing.
11069         (kmacro-step-edit-macro): Push previous macro onto ring if changed
11070         by step editing.
11072 2002-09-19  Tom Tromey  <tromey@redhat.com>
11074         * play/blackbox.el (bb-right): Respect prefix argument.
11075         (bb-left, bb-up, bb-down): Likewise.
11077 2002-09-19  Richard M. Stallman  <rms@gnu.org>
11079         * cus-dep.el (custom-make-dependencies): Fix previous change.
11081 2002-09-19  Juanma Barranquero  <lektu@terra.es>
11083         * ielm.el (ielm-eval-input): Call `error-message-string' instead
11084         of the non-existent `ielm-format-error'.
11086 2002-09-19  Stefan Monnier  <monnier@cs.yale.edu>
11088         * emacs-lisp/easymenu.el (easy-menu-remove):
11089         * emacs-lisp/ewoc.el (ewoc--node-branch): Add docstring.
11091         * international/mule-diag.el (describe-coding-system):
11092         Remove unused `coding-spec' variable.
11093         (list-input-methods): Be more careful when setting up the help buffer.
11095         * international/ucs-tables.el (unify-8859-on-encoding-mode):
11096         Set init value to t to reflect reality.
11097         (ucs-minibuffer-setup): Use minibuffer-selected-window.
11099 2002-09-18  Stefan Monnier  <monnier@cs.yale.edu>
11101         * progmodes/make-mode.el (makefile-cleanup-continuations-p):
11102         Rename to makefile-cleanup-continuations.
11103         (makefile-mode): Use write-file-functions.
11104         (makefile-fill-paragraph): Use match-string-no-properties.
11105         (makefile-fill-paragraph): Use line-end-position.
11106         (makefile-add-log-defun): Simplify.
11108 2002-09-18  Richard M. Stallman  <rms@gnu.org>
11110         * dired.el (dired-mark-pop-up): Doc fix.
11112         * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Put the
11113         definition straight into loaddefs.el as well as executing it here.
11115 2002-09-18  Colin Walters  <walters@debian.org>
11117         * calc/calc.el (calc-mode): Add font-lock-defontify to
11118         change-major-mode-hook.
11120 2002-09-18  Richard M. Stallman  <rms@gnu.org>
11122         * Makefile.in (bootstrap-clean): Use cd to shorten arg strings.
11123         Don't ignore errors in rm line.
11125         * menu-bar.el (menu-bar-search-menu): Nicer help string.
11127         * replace.el (occur-engine-add-prefix): Use 7 spaces.
11128         (occur-engine): Use 7 digits to align tabs in the data.
11130         * emacs-lisp/bytecomp.el (byte-compile-output-docform):
11131         Don't make the definition dynamic if it shares structure
11132         with the arg list.
11134         * gud.el (gud-pdb-marker-regexp): Allow : and \ in file name.
11135         (pdb): In gud-remove, pass down the file name.
11137         * cus-dep.el (custom-make-dependencies): Sort MEMBERS before use.
11139 2002-09-18  Luc Teirlinck  <teirllm@mail.auburn.edu>
11141         * ielm.el: (*1, *2, *3): New variables.
11142         (ielm-eval-input): Make temporary buffers current on entry and
11143         exit to the let bindings for *, ** and ***.
11144         (inferior-emacs-lisp-mode): Mention *1, *2 and *3 in the docstring.
11145         Do not overrule global bindings for *, ** and ***.
11147 2002-09-18  Tom Tromey  <tromey@redhat.com>
11149         * progmodes/make-mode.el (makefile-fill-paragraph): Find comment
11150         boundaries before filling.
11152 2002-09-18  Stefan Monnier  <monnier@cs.yale.edu>
11154         * server.el (server-done): Fix harmlessly wrong arg to save-buffer.
11155         (server-switch-buffer): Only select a different window if
11156         next-buffer is non-nil.  Don't switch in a dedicated window.
11157         If next-buffer is already displayed, reuse that window.
11159         * diff-mode.el (diff-mode): Use compilation-minor-mode.
11160         Don't unbind compilation-last-buffer after autoloading compile.el.
11161         Hide the compilation-minor-mode bindings altogether.
11163 2002-09-18  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11165         * dired.el (dired-insert-directory): Never add "--dired" when
11166         listing remote directories.
11168 2002-09-18  Michael Kifer  <kifer@cs.stonybrook.edu>
11170         * ediff-hooks.el: Put back the autoloads (for XEmacs compatibility).
11172         * ediff-init.el: Use defalias instead of fset.
11174         * ediff-util.el: Use defalias instead of fset.
11176         * viper-util.el (viper-chars-in-region): Simplification.
11178         * viper.el (viper-emacs-state-mode-list): Added modes.
11180 2002-09-18  Jonathan Yavner  <jyavner@engineer.com>
11182         * emacs-lisp/testcover.el: New file.  Uses edebug to instrument a
11183         module of code, with graphical display of poor-coverage spots.
11185         * emacs-lisp/testcover-ses.el: New file.  Demonstrates use of
11186         testcover on a interactive module like ses.
11188         * emacs-lisp/testcover-unsafep.el: New file.  Demonstrates use of
11189         testcover on a noninteractive module like unsafep.
11191 2002-09-18  Miles Bader  <miles@gnu.org>
11193         * diff-mode.el (diff-mode): Don't evaluate `compilation-last-buffer'
11194         unless it's bound.
11196 2002-09-17  Stefan Monnier  <monnier@cs.yale.edu>
11198         * server.el (server-log): Add `client' arg.
11199         (server-start): Don't bother canceling the sentinel.
11200         (server-process-filter): Use replace-regexp-in-string and
11201         handle the new &n quoting.  Use push.  Use server-log's new arg.
11202         Don't output the C-x # message if `nowait'.
11203         (server-buffer-done): Use server-log's new arg.
11205 2002-09-16  Jonathan Yavner  <jyavner@engineer.com>
11207         * ses.el: New file.
11209         * emacs-lisp/unsafep.el: New file.
11211         * files.el (auto-mode-alist): Add ".ses" for ses-mode.
11212         (inhibit-quit): This is risky for unsafep, doesn't matter much for
11213         anybody else.
11214         (risky-local-variable-p): New function.  Split off from
11215         hack-one-local-variable so unsafep can use it.  Add \|-history$ to
11216         the list of disallowed local variable names (malicious user could
11217         stuff a `display' property in there that would be activated when
11218         na\e,Ao\e(Bve user called up the history).
11220 2002-09-16  Markus Rost  <rost@math.ohio-state.edu>
11222         * ls-lisp.el (ls-lisp-format-time-list): Fix type and provide :tag's.
11224 2002-09-16  Richard M. Stallman  <rms@gnu.org>
11226         * play/gomoku.el (gomoku-move-up, gomoku-move-down):
11227         Use forward-line and move-to-column.
11229         * cus-edit.el (custom-variable-backup-value): New function.
11230         (custom-variable-reset-backup): New function.
11231         (custom-variable-menu): Add item for custom-variable-reset-backup.
11232         (custom-variable-set, custom-variable-reset-saved)
11233         (custom-variable-reset-standard): Call custom-variable-backup-value.
11235 2002-09-16  Stefan Monnier  <monnier@cs.yale.edu>
11237         * dired.el (dired-font-lock-keywords): Use regexp-opt.
11238         (dired-move-to-filename): Better message when we fail to find the file.
11239         (dired-sort-toggle): Minor optimization.
11241 2002-09-16  Juanma Barranquero  <lektu@terra.es>
11243         * dired-aux.el (dired-add-entry): Add missing argument to
11244         `dired-mark'.
11246 2002-09-16  John Paul Wallington  <jpw@shootybangbang.com>
11248         * xscheme.el (scheme-interaction-mode): Doc fix.
11250         * net/eudc.el (eudc-plist-get): Doc fix.
11252 2002-09-16  Kim F. Storm  <storm@cua.dk>
11254         * menu-bar.el (menu-bar-last-search-type): New var.
11255         (nonincremental-repeat-search-forward)
11256         (nonincremental-repeat-search-backward): Repeat string or
11257         regexp search depending on menu-bar-last-search-type.
11258         (nonincremental-search-forward, nonincremental-re-search-forward)
11259         (nonincremental-search-backward, nonincremental-re-search-backward):
11260         Set menu-bar-last-search-type to string or regexp.
11261         (nonincremental-repeat-re-search-forward): Removed.
11262         (nonincremental-repeat-re-search-backward): Removed.
11263         (menu-bar-replace-menu): New keymap for "Edit->Replace" submenu.
11264         (menu-bar-i-search-menu): New keymap for "Incremental Search" submenu.
11265         (menu-bar-adv-search-menu): Removed.
11266         (menu-bar-search-menu): Reorganized.
11267         (menu-bar-edit-menu): Added "Replace" submenu.
11269 2002-09-15  Richard M. Stallman  <rms@gnu.org>
11271         * scroll-bar.el (scroll-bar-mode): Specify :initialize.
11273         * menu-bar.el (menu-bar-make-mm-toggle): Don't put a quote befor FNAME
11274         when it's not being evaluated.
11276 2002-09-15  Markus Rost  <rost@math.ohio-state.edu>
11278         * dired.el (dired-move-to-filename): Fix previous change.
11280 2002-09-14  Kim F. Storm  <storm@cua.dk>
11282         * emulation/keypad.el (keypad-setup, keypad-shifted-setup)
11283         (keypad-numlock-setup, keypad-numlock-shifted-setup):
11284         Change `Remove Binding' option to `Unspecified/User-defined'.
11285         (keypad-setup): Enhance explanation of setup type `none'.
11287 2002-09-14  Richard M. Stallman  <rms@gnu.org>
11289         * time.el (display-time-mode): Set display-time-load-average here.
11290         (display-time-load-average): Initialize to nil.
11291         (display-time-default-load-average): Add "None" alternative.
11292         (display-time-update): Handle "None" alternative for load-average.
11294         * dired-aux.el (dired-bunch-files): Put the arg FILES
11295         back as it was after temporary destrucive mods.
11296         (dired-add-entry): Use dired-insert-directory to handle indentation.
11297         Explicitly restore the line's marker character.
11298         Preserve the old file name's text properties.
11299         (dired-add-entry-do-indentation): Function deleted.
11300         (dired-relist-file): Doc fix.
11301         (dired-rename-file): Change argument names.
11302         (foo-rename-file): New function.
11303         (dired-do-hardlink): Use dired-hardlink.
11304         (dired-hardlink): New function.
11305         (dired-insert-subdir-doinsert): Use dired-insert-directory;
11306         that handles indentation, text props and header line.
11307         dired-readin-insert gets no args.
11308         Use `last' instead of `reverse'.
11310         * dired.el (dired-use-ls-dired): New variable.
11311         (dired-directory): Document the rules better.
11313         * dired.el (dired-insert-headerline): Function deleted.
11314         (dired-revert): Pass no args to dired-readin.
11315         (dired-move-to-filename): First try using dired-filename property.
11316         (dired-move-to-end-of-filename): Likewise.
11317         (dired-why): Try to show the start of this page of warnings.
11318         (dired-log): Insert the buffer name at start of page, not end.
11319         (dired-log-summary): If just one failure, explain it in echo area.
11321         * dired.el (dired-internal-noselect):
11322         Always set dired-directory, when buffer is not new.
11323         Pass dir-or-list, not dirname, to dired-mode.
11324         Call dired-readin with no args.
11325         Don't call dired-after-readin-hook here.
11326         (dired-find-buffer-nocreate): Expand dirname.
11327         Expand the dir from dired-directory to compare with dirname.
11329         (dired-readin): Take no args.  Get the directory from dired-directory.
11330         Run dired-before-reading hook inside save-excursion.
11331         Run dired-after-readin-hook here.
11332         Don't make undo entries at all.
11333         Call dired-readin-insert with no args.
11334         Don't change indentation here.
11335         Don't insert headerline here.
11337         (dired-readin-insert): Take no args.
11338         Get dir and file-list from dired-directory.
11339         Call dired-insert-directory the new way.
11340         Don't insert "wildcard" info here.
11342         (dired-insert-directory): New arg FILE-LIST.
11343         First arg now DIR, always just the directory.
11344         This function fully handles setting up the buffer text:
11345         update indentation, insert headerline and "wildcard" info.
11346         Pass --dired arg if appropriate; put info in dired-filename props.
11347         Don't expand file names here.
11349         * warnings.el (display-warning): In batch mode,
11350         exclude the final newline from the arg to `message'.
11352 2002-09-13  Markus Rost  <rost@math.ohio-state.edu>
11354         * files.el (diff-buffer-with-file): Check whether associated file
11355         exists.  Display message for 1 second.  Always return nil.
11357 2002-09-13  Stefan Monnier  <monnier@cs.yale.edu>
11359         * diff-mode.el (diff-mode): Turn on compilation-minor-mode
11360         support again, but more carefully this time.
11362         * progmodes/perl-mode.el (perl-mode-syntax-table): Mark $, % and @
11363         such that backward-sexp correctly skips them.
11364         (perl-font-lock-keywords-2): Use regexp-opt.
11365         (perl-font-lock-syntactic-keywords)
11366         (perl-font-lock-syntactic-face-function): Better handle PODs.
11367         Handle package names with ' in them and ($$) in `sub' declarations.
11368         Handle format staements.  Handle regexp and quote-like ops.
11369         (perl-empty-syntax-table): New var.
11370         (perl-quote-syntax-table): New fun.
11372         * pcvs.el (cvs-mode-find-file): Work even if point is at beg-of-line.
11373         (cvs-do-removal): Bind inhibit-read-only while modifying the buffer.
11375         * newcomment.el (comment-with-narrowing): Use the `declare' thingy.
11377         * derived.el (define-derived-mode): Properly ignore unknown args.
11379         * emacs-lisp/easy-mmode.el (define-minor-mode): Add a :require arg.
11380         Don't call the function during init if mode is on by default.
11382         * simple.el: Provide `simple'.
11383         (transient-mark-mode, line-number-mode, column-number-mode):
11384         Pass an explicit `:require nil' argument.
11386 2002-09-13  Francesco Potort\e,Al\e(B  <pot@gnu.org>
11388         * play/tetris.el (tetris-blank-options, tetris-cell-options):
11389         Remove various redundant `(t nil)'.
11391         * play/snake.el (snake-border-options): Use color on tty if available.
11393         * play/tetris.el (tetris-border-options): Likewise.
11395         * play/pong.el (pong-border-options): Likewise, plus reset
11396         color on tty to be [0.5 0.5 0.5].
11398 2002-09-13  Kim F. Storm  <storm@cua.dk>
11400         * kmacro.el (kmacro-start-macro): Doc fix.
11402 2002-09-13  Juanma Barranquero  <lektu@terra.es>
11404         * progmodes/idlw-shell.el (idlwave-shell-cleanup): Fix reference
11405         to `idlwave-idlwave_routine_info-compiled'.
11407         * whitespace.el (whitespace-unload-hook): Call `remove-hook' with
11408         three arguments, not four.
11410 2002-09-13  Kim F. Storm  <storm@cua.dk>
11412         * kmacro.el (kmacro-keymap): Changed bindings:
11413         C-x C-k s to kmacro-start-macro, C-x C-k b to kmacro-bind-to-key.
11415 2002-09-12  Richard M. Stallman  <rms@gnu.org>
11417         * international/mule-cmds.el (universal-coding-system-argument):
11418         Read the coding system inside `interactive' spec, for command-history.
11420 2002-09-12  Stefan Monnier  <monnier@cs.yale.edu>
11422         * emacs-lisp/find-func.el (find-library-name): Don't forget
11423         the empty suffix.  Fix stale variable name.
11425         * gud.el (gud-gdb-massage-args, gud-sdb-massage-args)
11426         (gud-pdb-massage-args): Delete.
11427         (gdb, sdb, pdb): Don't pass gud-*-massage-args any more.
11428         (gud-gdb-command-name): New var.  Put "--fullname" in there.
11429         (gud-query-cmdline): Use the most recent executable as the default.
11430         Don't add "--fullname" (it's only valid/meaningful for GDB).
11431         (gud-xdb-marker-filter): Use match-string.
11432         (gud-perldb-massage-args): Don't add "-d".
11433         (gud-perldb-command-name): Add "-d".
11434         (gud-common-init): If `massage-args' is nil, don't call it.
11435         (gud-format-command): Don't hardcode point-min==1.
11437         * derived.el: Require CL when compiling.
11439 2002-09-12  Simon Josefsson  <jas@extundo.com>
11441         * mail/smtpmail.el (smtpmail-send-it): Don't use : in filenames
11442         (for cygwin). Suggested by Andrew Senior <aws@watson.ibm.com>.
11443         Use expand-file-name.  Also don't require time-stamp.
11445 2002-09-11  Richard M. Stallman  <rms@gnu.org>
11447         * derived.el (define-derived-mode): When making new abbrev table,
11448         don't try to copy the parent's abbrev table.
11450         * ruler-mode.el (ruler-mode-left-scroll-bar-cols):
11451         Always round scroll-bar-width parameter up.
11452         If it is nil, use 14.
11454         * abbrev.el (copy-abbrev-table): New function.
11456 2002-09-11  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
11458         * ps-print.el: Adjust ps-print-color-p, ps-default-fg and
11459         ps-default-bg setting.
11460         (ps-print-version): New version number (6.5.7).
11461         (ps-mark-active-p): New fun.
11462         (ps-print-preprint-region): Adjust code.
11464 2002-09-11  Dave Love  <fx@gnu.org>
11466         * international/mule.el (non-standard-designations-alist)
11467         (ctext-pre-write-conversion): Don't generate invalid extended
11468         segments for iso8859.
11470         * language/cyrillic.el ("Ukrainian"): Fix nonascii-translation.
11471         (cyrillic-alternativnyj-decode-table): Fix some entries.
11473         * international/ucs-tables.el: Fix last change.
11475         * international/utf-8.el (utf-8-fragment-on-decoding): Fix last
11476         change.
11478 2002-09-11  Kim F. Storm  <storm@cua.dk>
11480         * edmacro.el (edit-kbd-macro): Recognize new C-x e binding,
11481         kmacro-end-and-call-macro.
11483 2002-09-11  Juanma Barranquero  <lektu@terra.es>
11485         * newcomment.el (uncomment-region): Fix let/let* use.
11487 2002-09-11  Simon Josefsson  <jas@extundo.com>
11489         * time-stamp.el (time-stamp-hhmmss): New function.
11491         * gud.el (gud-gdb-massage-args): Don't secretly add -fullname.
11492         (gud-query-cmdline): Add --fullname to the user cmdline.
11494         * mail/smtpmail.el (smtpmail-default-smtp-server): Doc fix.
11496 2002-09-11  Kim F. Storm  <storm@cua.dk>
11498         * kmacro.el (kmacro-call-macro): Rephrase repeat prompt.
11499         (kmacro-step-edit-map): Bind "A" to `append-end'.
11500         (kmacro-step-edit-prompt): Fix prompt.
11501         (kmacro-step-edit-query): Handle `append-end' response.
11502         (kmacro-step-edit-pre-command): Activate `append-end' at end of
11503         macro when required.
11505 2002-09-11  Stefan Monnier  <monnier@cs.yale.edu>
11507         * derived.el (define-derived-mode): Fix typo.
11509         * menu-bar.el (line-number-mode, column-number-mode)
11510         (transient-mark-mode): Use minor mode directly.
11511         (menu-bar-make-toggle): Remove `props' arg.
11512         Move customize-mark-as-set directly into the toggle function.
11514         * whitespace.el (whitespace-global-mode): Use define-minor-mode.
11515         Use the new file hook names.
11516         (whitespace-describe): Remove.  Move the text to `Commentary:'.
11517         (whitespace-unload-hook): Use the new file hook names.
11519         * finder.el (finder-find-library): Remove.
11520         (finder-commentary): Use find-library-name and add completion.
11522         * simple.el (transient-mark-mode, line-number-mode)
11523         (column-number-mode): Use define-minor-mode.
11524         (define-mail-user-agent): Delete.  Moved to subr.el.
11526         * loadup.el ("simple.el"): Move to after loaddefs.el.
11528         * subr.el (define-mail-user-agent): Moved from simple.el.
11530 2002-09-10  Richard M. Stallman  <rms@gnu.org>
11532         * pcvs-info.el (cvs-check-fileinfo): Don't use boolp.
11533         (boolp): Function deleted.
11535 2002-09-10  Dave Love  <fx@gnu.org>
11537         * international/utf-8.el (ucs-mule-to-mule-unicode):
11538         Define unconditionally.
11539         (utf-8-fragmentation-table): New.  Use it in top-level mapc.
11540         (utf-8-fragment-on-decoding): Use it to keep
11541         utf-8-translation-table-for-decode variable and translation table
11542         in sync.
11544         * international/ucs-tables.el: Bind utf-8-translation-table-for-decode
11545         when setting up tables and remove useless optimize-char-table.
11546         (ucs-mule-to-mule-unicode): Deleted.
11547         (ucs-unify-8859): Maybe optimize ucs-mule-to-mule-unicode.
11549         * international/utf-16.el (utf-16-le-pre-write-conversion)
11550         (utf-16-be-pre-write-conversion): Deleted.
11551         (mule-utf-16-le, mule-utf-16-be): Register encoding translation table.
11553 2002-09-10  Richard M. Stallman  <rms@gnu.org>
11555         * files.el (diff-buffer-with-file): Simplify.
11556         Don't signal an error if buffer has no file.
11557         Call sit-for after `diff' returns.
11559         * play/gamegrid.el (gamegrid-make-color-tty-face):
11560         Handle string as COLOR arg.
11561         (gamegrid-display-type): Don't assume display-color-p
11562         implies a color-x terminal.
11563         (gamegrid-hide-cursor): Set `cursor-type' local variable.
11565         * descr-text.el (describe-text-mode): Add font-lock-defontify to
11566         change-major-mode-hook.
11568         * ibuffer.el (ibuffer-mode): Add font-lock-defontify to
11569         change-major-mode-hook.
11571         * comint.el (comint-mode): Add font-lock-defontify to
11572         change-major-mode-hook.
11574         * info.el (Info-mode): Add font-lock-defontify to
11575         change-major-mode-hook.
11577         * replace.el (occur-mode): Add font-lock-defontify to
11578         change-major-mode-hook.
11580         * font-core.el (font-lock-defontify): New function.
11582 2002-09-10  Richard M. Stallman  <rms@gnu.org>
11584         * ps-print.el (ps-printer-name-option): Doc fix.
11586 2002-09-10  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
11588         * ps-print.el: Adjust ps-postscript-code-directory setting.
11589         XEmacs version check was adjusted.
11590         (ps-print-version): New version number (6.5.6).
11591         (ps-print-color-p, ps-page-dimensions-database): Autoload var.
11592         (ps-print-code, ps-print-preprint-region): Adjust code.
11594 2002-09-10  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11596         * files.el (auto-mode-alist): ~/.gnus, ~/.viper are in
11597         emacs-lisp-mode, like ~/.emacs.
11599 2002-09-10  Stefan Monnier  <monnier@cs.yale.edu>
11601         * newcomment.el (uncomment-region): Be more careful with `='.
11603 2002-09-10  Deepak Goel  <deego@glue.umd.edu>
11605         * play/doctor.el (doc//): Rename from `//'.  Update callers.
11606         (doc$): Rename from `$'.  Update callers.
11608 2002-09-10  Miles Bader  <miles@gnu.org>
11610         * simple.el (do-auto-fill): `fill-indent-according-to-mode' is a
11611         variable, not a function.
11613         * kmacro.el (kmacro-call-macro): Deal with a non-numeric prefix arg.
11615 2002-09-10  Kim F. Storm  <storm@cua.dk>
11617         * macros.el (apply-macro-to-region-lines): Let-bind mark-active to
11618         nil while executing macro to avoid triggering delete-selection-mode.
11620         * simple.el (keyboard-quit): Set defining-kbd-macro to nil to
11621         cancel defining keyboard macro when applicable.
11623 2002-09-09  Markus Rost  <rost@math.ohio-state.edu>
11625         * simple.el (transient-mark-mode, line-number-mode)
11626         (column-number-mode): Undo previous change because of bootstrapping.
11628 2002-09-09  Stefan Monnier  <monnier@cs.yale.edu>
11630         * derived.el (define-derived-mode): Add keyword arguments.
11631         (derived-mode-make-docstring): Take abbrev and syntax table names.
11633         * font-core.el (font-lock-change-mode): Just turn off font-lock-mode.
11634         (font-lock-default-function): Change arg name.
11636         * cus-start.el (transient-mark-mode): Delete.  Done in simple.el.
11638         * paren.el (show-paren-function): Use syntax-after.
11640         * emacs-lisp/syntax.el (syntax-after): Delete.  Moved to subr.el.
11642         * subr.el (symbol-file): Also work for autoloaded funcs.
11643         (syntax-after): New fun moved from syntax.el.
11645         * find-file.el (ff-pre-find-hook, ff-pre-load-hook, ff-post-load-hook)
11646         (ff-not-found-hook, ff-file-created-hook): Rename from *-hooks.
11647         Update callers (but still run the old hooks as well).
11649         * emacs-lisp/find-func.el (find-library-suffixes, find-library-name)
11650         (find-library): New funs.
11651         (find-function-search-for-symbol): Use it.
11653         * emacs-lisp/bytecomp.el (byte-compile-file): Don't switch buffer.
11655         * isearch.el (isearch-cmds): Add docstring.
11656         (isearch-mouse-2): Lookup binding in the proper buffer.
11657         Use call-interactively and remove the now useless `arg'.
11658         (isearch-search-fun-function): New var.
11659         (isearch-search-fun): New fun.
11660         (isearch-search, isearch-lazy-highlight-search): Use it.
11662 2002-09-09  Stefan Monnier  <monnier@cs.yale.edu>
11664         * simple.el (what-line): Don't hard-code 1.
11665         (transient-mark-mode, line-number-mode, column-number-mode):
11666         Use define-minor-mode.
11667         (do-auto-fill): Only ignore prefix if it's really empty.
11669 2002-09-09  Markus Rost  <rost@math.ohio-state.edu>
11671         * files.el (save-some-buffers-action-alist): Use lower case for
11672         help string of diff-buffer-with-file.
11674 2002-09-09  Richard M. Stallman  <rms@gnu.org>
11676         * calendar/calendar.el (mouse-scroll-calendar-left)
11677         (mouse-scroll-calendar-right, mouse-calendar-other-month):
11678         New commands.
11679         (calendar-mode-line-format): Use them.
11681         * emacs-lisp/bytecomp.el (byte-recompile-directory):
11682         Set and then bind default-directory.
11684         * startup.el (fancy-splash-head, normal-splash-screen):
11685         Change the messages that explain about GNU or GNU/Linux.
11687         * info.el (Info-search): Add (point-min) to subfile positions
11688         to get them right.  Skip the current subfile using forward-line.
11690         * files.el (make-backup-file-name-1): When make-directory fails,
11691         ignore backup-directory-alist.
11692         (make-directory): Expand DIR before looking for handler.
11694 2002-09-09  Jari Aalto  <jari.aalto@poboxes.com>
11696         * progmodes/cperl-mode.el (cperl-noscan-files-regexp):
11697         In addition to RCS, exclude CVS directories.
11699         * ls-lisp.el (ls-lisp-format-time-list): New variable.
11700         (ls-lisp-format-time): Use it.
11702         * files.el (auto-mode-alist): Use sh-mode for .bash files.
11704 2002-09-09  Dave Love  <d.love@dl.ac.uk>
11706         * ps-print.el: Many doc fixes.
11708 2002-09-09  John Paul Wallington  <jpw@shootybangbang.com>
11710         * play/doctor.el (doctor-cadr, doctor-caddr, doctor-cddr): Remove.
11711         Update callers.
11713 2002-09-08  Markus Rost  <rost@math.ohio-state.edu>
11715         * diff.el (diff): Doc fix.
11717 2002-09-08  Richard M. Stallman  <rms@gnu.org>
11719         * emacs-lisp/bytecomp.el (byte-compile-delete-errors): Default to nil.
11721         * simple.el (undo-elt-in-region): Fix one-off error at END.
11722         (forward-visible-line): Handle invisibility by ignoring
11723         invisible newlines.  Also include entire invisible lines beyond
11724         the stopping point.
11726         * cus-edit.el (custom-save-variables, custom-save-faces):
11727         Clarify the comments written into .emacs.
11729 2002-09-08  Markus Triska  <triska@gmx.at>
11731         * play/doctor.el (doctor-doc): Recognize question words
11732         and use qlist.  Use doctor-shorten's return value.
11733         (doctor-shorten): Compute a return value, don't alter `sent'.
11734         (doctor-hates1): Add a question mark.
11735         (doctor-strangelove): Unused function deleted.
11737 2002-09-08  Kim F. Storm  <storm@cua.dk>
11739         * kmacro.el (kmacro-end-and-call-macro): New command to end and
11740         call keyboard macro in one step. Bind it to C-x e by default.
11741         (kmacro-call-macro): Use format-kbd-macro.
11742         (kmacro-step-edit-macro): New command to interactively step edit
11743         and execute last keyboard macro.
11744         (kmacro-keymap): Bind SPC [C-x C-k SPC] to kmacro-step-edit-macro.
11745         (kmacro-step-edit-mini-window-height): New custom var.
11746         (kmacro-step-edit-map): New keymap (parent is query-replace-map).
11747         (kmacro-step-edit-prefix-commands): New var.
11748         (kmacro-step-edit-prompt, kmacro-step-edit-query)
11749         (kmacro-step-edit-insert, kmacro-step-edit-pre-command)
11750         (kmacro-step-edit-minibuf-setup, kmacro-step-edit-post-command):
11751         New aux functions for step editing keyboard macros.
11753         * subr.el (read-quoted-char): Apply listify-key-sequence to vector
11754         returned by this-single-command-raw-keys before appending it to
11755         unread-command-event.
11757 2002-09-07  Colin Walters  <walters@debian.org>
11759         * progmodes/compile.el (compile-internal): Add optional argument
11760         no-async.
11762         * diff.el (diff): Add optional argument no-async, and use the
11763         above argument.
11765         * files.el (diff-buffer-with-file): Call diff synchronously, so we
11766         don't delete the temporary file before diff has a chance to read
11767         it.
11769         * ibuf-ext.el (ibuffer-diff-with-file): Just call
11770         `diff-buffer-with-file'.
11772 2002-09-07  John Paul Wallington  <jpw@shootybangbang.com>
11774         * emacs-lisp/cl-indent.el (extended-loop-p): Doc fix.
11776         * emacs-lisp/find-func.el (find-function-recenter-line):
11777         Add custom type.  Doc fix.
11779 2002-09-06  Stefan Monnier  <monnier@cs.yale.edu>
11781         * menu-bar.el (menu-bar-make-mm-toggle): New macro.
11782         (showhide-menu-bar, showhide-toolbar, menu-bar-toggle-auto-compression)
11783         (toggle-highlight-paren-mode, toggle-global-lazy-font-lock-mode):
11784         Remove.  Use the minor mode function directly instead.
11785         (menu-bar-mode): Add message and customize-mark-as-set and return
11786         the new value as do other minor modes.
11788         * edmacro.el (edmacro-subseq): Don't use cl-push/cl-pop.
11790 2002-09-06  Simon Marshall  <simon@gnu.org>
11792         * progmodes/etags.el (find-tag-tag, complete-tag):
11793         Bind completion-ignore-case based on tags-case-fold-search, so that
11794         case-sensitivity of tag completion matches that of tag search.
11796 2002-09-06  Juanma Barranquero  <lektu@terra.es>
11798         * calendar/solar.el (calendar-time-display-form): Fix spacing.
11800         * double.el (double-prefix-only): Likewise.
11802         * emacs-lisp/easymenu.el (easy-menu-define): Likewise.
11804         * emacs-lisp/find-func.el (find-function-search-for-symbol): Likewise.
11806         * emacs-lisp/float.el (string-to-float): Likewise.
11808         * emacs-lisp/rx.el (rx): Likewise.
11810         * faces.el (copy-face): Likewise.
11812         * hilit-chg.el (highlight-changes-colours)
11813         (highlight-changes-active-string)
11814         (highlight-changes-passive-string)
11815         (highlight-changes-rotate-faces, global-highlight-changes): Likewise.
11817         * international/mule.el (decode-char): Likewise.
11819         * progmodes/idlwave.el (idlwave-support-inheritance)
11820         (idlwave-routine-entry-compare): Likewise.
11822         * progmodes/idlw-shell.el (idlwave-shell-use-breakpoint-glyph):
11823         Likewise.
11825         * progmodes/pascal.el (pascal-start-keywords): Likewise.
11827         * progmodes/sh-script.el (sh-indent-for-fi, sh-indent-for-done):
11828         Likewise.
11830         * progmodes/vhdl-mode.el (vhdl-progress-interval)
11831         (vhdl-corresponding-begin): Likewise.
11833         * simple.el (choose-completion-string-functions): Likewise.
11835         * textmodes/reftex.el (reftex-TeX-master-file): Likewise.
11837         * textmodes/fill.el (fill-nonuniform-paragraphs)
11838         (fill-individual-paragraphs): Likewise.
11840         * vcursor.el (vcursor-toggle-vcursor-map): Likewise.
11842         * warnings.el (warning-level-aliases): Likewise.
11844         * speedbar.el (speedbar-mode): Fix spacing and typos.
11846         * textmodes/reftex-vars.el (reftex-label-menu-flags): Fix typo.
11848 2002-09-05  Markus Rost  <rost@math.ohio-state.edu>
11850         * textmodes/table.el (table-command-prefix): Fix type.
11852 2002-09-05  Andre Spiegel  <spiegel@gnu.org>
11854         * vc-hooks.el: Don't require vc.el at compile-time; it causes
11855         recursive requirements during bootstrap.
11857 2002-09-05  Kenichi Handa  <handa@etl.go.jp>
11859         * international/mule.el (decode-char): Cancel the previous change.
11861 2002-09-04  Mats Lidell  <matsl@contactor.se>  (tiny change)
11863         * language/european.el ("Swedish"): New set-language-info-alist call.
11865 2002-09-04  Richard M. Stallman  <rms@gnu.org>
11867         * help-fns.el (help-with-tutorial): Properly set up
11868         completion-reference-buffer in the *Completion* buffer.
11870 2002-09-04  John Paul Wallington  <jpw@shootybangbang.com>
11872         * startup.el (use-fancy-splash-screens-p): If `fancy-splash-frame'
11873         returns nil, return nil.
11875 2002-09-04  Andre Spiegel  <spiegel@gnu.org>
11877         * vc-hooks.el: Require vc.el at compile-time.
11878         (vc-workfile-unchanged-p, vc-default-workfile-unchanged-p):
11879         Moved here from vc.el.
11881         * vc.el (vc-workfile-unchanged-p, vc-default-workfile-unchanged-p):
11882         Moved to vc-hooks.el.
11884         * vc-rcs.el (vc-rcs-state): Don't require vc.el.
11886 2002-09-04  Kenichi Handa  <handa@etl.go.jp>
11888         * international/mule.el (decode-char): Translate a character by
11889         utf-8-translation-table-for-decode only when
11890         utf-8-fragment-on-decoding is non-nil.
11892 2002-09-02  Stefan Monnier  <monnier@cs.yale.edu>
11894         * textmodes/text-mode.el (paragraph-indent-text-mode-abbrev-table)
11895         (paragraph-indent-text-mode-syntax-table, paragraph-indent-text-mode):
11896         Use text-mode's syntax-table and abbrev-table.
11897         (text-mode): Set require-final-newline to t.
11899         * newcomment.el (comment-make-extra-lines): Only use the
11900         dummy `=' char when there's really nothing else.
11901         Don't remove spaces if it leads to an incorrect comment.
11903         * pcvs.el (cvs-run-process): Use a pty rather than a pipe to work
11904         around the cvs/ssh/libc bug.
11905         (cvs-update-header): Understand `cvs admin -m<rev>:<msg>' syntax.
11906         (defun-cvs-mode): Use the new `declare' thingy.
11907         (cvs-edit-log-text-at-point, cvs-mode-edit-log, cvs-do-edit-log)
11908         (cvs-edit-log-minor-wrap, cvs-edit-log-filelist): New funs.
11909         (cvs-mode-undo): Use `cvs add' for (CONFLICT. REMOVED).
11911         * pcvs-parse.el (cvs-parse-table): Create a `need-update'
11912         node rather than a message for new directories.
11913         (cvs-parse-status): Add support for `Entry Invalid'.
11915         * smerge-mode.el (smerge-diff-buffer-name): Default to *vc-diff*.
11916         (smerge-combine-with-next): New function.
11917         (smerge-diff): Don't output `wrote /tmp/foo' messages.
11918         Insert message if no diffs were found.
11920         * mail/sendmail.el (mail-mode): Don't set local-abbrev-table.
11921         (mail-mode-abbrev-table): Set to text-mode-abbrev-table.
11923 2002-09-02  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11925         * net/tramp.el: Version 2.0.15 released.
11926         (require 'base64): Most modern Emacsen have the base64
11927         encode/decode functions built in, so test to see if they are bound
11928         before we go blindly requiring base64.el.
11929         From Steve Youngs <youngs@xemacs.org>.
11930         (tramp-feature-write-region-fix): XEmacs doesn't have a
11931         'find-operation-coding-system' and this variable doesn't seem to
11932         be used anywhere so wrap it in (unless (featurep 'xemacs)).
11933         From Steve Youngs <youngs@xemacs.org>.
11934         (tramp-methods): Remove duplicate definition of ssh1-old and ssh2-old.
11935         (tramp-open-connection-su): Use user name "root" if no user name
11936         is given.
11938         From Michael Albinus <Michael.Albinus@alcatel.de>:
11939         * net/tramp.el (tramp-invoke-ange-ftp):
11940         (tramp-ange-ftp-file-name-p): Check for Xemacs.
11941         (tramp-do-copy-or-rename-file): Don't pass KEEP-DATE to
11942         tramp-invoke-ange-ftp 'rename.
11943         (tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to
11944         tramp-invoke-ange-ftp 'write-region.
11945         (tramp-handle-set-file-modes): Change order of FILENAME and MODE
11946         passing to tramp-invoke-ange-ftp 'set-file-modes.
11947         (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp' must be called
11948         again after activating `ange-ftp'.
11950 2002-09-02  Kim F. Storm  <storm@cua.dk>
11952         * ido.el (ido-ignore-item-temp-list): New variable.
11953         (ido-read-internal): Don't set ido-default-item if the default is
11954         member of ido-ignore-item-temp-list.
11955         Don't return first match for C-j if no text is entered.
11956         (ido-buffer-internal): Check for empty string return.
11957         (ido-make-buffer-list1): Use member instead of memq.
11958         (ido-window-buffer-p): Likewise.
11959         (ido-get-bufname): Ignore buffers on ido-ignore-item-temp-list.
11960         (ido-ignore-item-p): Ignore items on ido-ignore-item-temp-list.
11962         * replace.el (multi-occur): Made "ido-aware":
11963         Changed prompt to use C-j instead of RET to end.
11964         Set ido-ignore-item-temp-list to the selected buffers so far, so
11965         they are automatically excluded from the list of choices.
11966         Use add-to-list instead of push.
11968 2002-09-01  Richard M. Stallman  <rms@gnu.org>
11970         * term/x-win.el (function-key-map): Define S-iso-lefttab.
11972 2002-09-01  Kim F. Storm  <storm@cua.dk>
11974         * edmacro.el (edit-kbd-macro): Recognize new default binding for
11975         C-x e in addition to old binding.
11977 2002-09-01  Mario Lang  <mlang@debian.org>
11979         * files.el (save-some-buffers-action-alist): New variable.
11980         (save-some-buffers): Use that.
11981         (diff-buffer-with-file): New function.
11983 2002-09-01  Richard M. Stallman  <rms@gnu.org>
11985         * ruler-mode.el (defgroup ruler-mode): Use `convenience' as parent.
11987         * dired.el (defgroup dired): Use `files' as parent.
11988         (dired-get-filename): Ignore handler if it has safe-magic prop.
11990         * jka-compr.el (jka-compr-handler): Add safe-magic property.
11992 2002-08-31  Richard M. Stallman  <rms@gnu.org>
11994         * simple.el (kill-line): Use end-of-visible-line to determine
11995         if rest of line is blank.
11996         (end-of-visible-line): Cope if end-of-line moved back over
11997         invisible intangible chars at end of line.
11999         * simple.el (completion-setup-function): Don't use directory-sep-char.
12001 2002-09-01  Glenn Morris  <gmorris@ast.cam.ac.uk>
12003         * progmodes/f90.el (f90-menu): Remove ":active" keyword where not
12004         needed.
12005         (f90-menu, f90-add-imenu-menu): Use lookup-key.
12006         Remove (eval-when-compile) for free variables.
12008 2002-08-31  Andreas Schwab  <schwab@suse.de>
12010         * font-core.el (font-lock-change-mode): Avoid changing buffer
12011         state in any way.
12013 2002-08-30  Stefan Monnier  <monnier@cs.yale.edu>
12015         * emacs-lisp/easymenu.el (easy-menu-filter-return):
12016         Handle the case where the filter returns a single menu entry.
12017         (easy-menu-add): Improve docstring.
12018         (easy-menu-current-active-maps): Remove.
12019         (easy-menu-get-map): Use current-active-maps.
12021         * cus-edit.el (custom-unlispify-menu-entry): Don't remove
12022         the -p prefix from variables since they shouldn't have it anyway.
12023         (custom-group-menu-create, customize-menu-create):
12024         Only cdr if applicable, since custom-menu-create might return
12025         a vector (i.e. a single menu entry).
12027 2002-08-30  Edward M. Reingold  <reingold@emr.cs.iit.edu>
12029         * calendar/diary-lib.el (diary-mail-entries): Don't overwrite
12030         user's value of diary-list-include-blanks, but generate message
12031         instead if there are no entries.
12033 2002-08-30  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>  (tiny change)
12035         * ps-print.el (ps-lp-system): Fixed typo in `usg-unix-v'.
12037 2002-08-30  Markus Rost  <rost@math.ohio-state.edu>
12039         * menu-bar.el (menu-bar-read-mail): Doc fix.
12041 2002-08-30  John Paul Wallington  <jpw@shootybangbang.com>
12043         * ibuffer.el (ibuffer-update): Revert expansion of `caddr'.
12044         (ibuffer-fontification-alist): Check hidden buffer case isn't
12045         visiting a file and change its face to italic.
12047 2002-08-30  Juanma Barranquero  <lektu@terra.es>
12049         * replace.el (occur-mode): Add interactive declaration.
12051         * bs.el (bs-message-without-log): Fix typo.
12053         * font-core.el (font-lock-defaults): Likewise.
12055         * font-lock.el (font-lock-add-keywords): Likewise.
12057         * mouse-copy.el (mouse-copy-work-around-drag-bug): Likewise.
12059         * textmodes/bibtex.el (bibtex-mode): Likewise.
12061         * emulation/viper-ex.el (ex-compile-command): Likewise.
12063         * progmodes/idlwave.el (idlwave-max-extra-continuation-indent):
12064         Likewise.
12066         * progmodes/dcl-mode.el (dcl-calc-cont-indent-relative): Likewise.
12068         * allout.el (my-mark-marker): Likewise.
12070 2002-08-30  Simon Josefsson  <jas@extundo.com>
12072         * mail/smtpmail.el (smtpmail-via-smtp): Delete process buffer
12073         unless s-debug-info is enabled.
12075 2002-08-29  John Paul Wallington  <jpw@shootybangbang.com>
12077         * ibuffer.el (ibuffer-update): Use `minibufferp'.  Expand `caddr'.
12079         * mwheel.el (mouse-wheel-up-button): Doc fix.
12081 2002-08-29  Juanma Barranquero  <lektu@terra.es>
12083         * replace.el (occur-mode-hook): New hook.
12084         (occur-mode): Use it.
12085         (occur-hook): Set default to nil.
12087 2002-08-29  Stefan Monnier  <monnier@cs.yale.edu>
12089         * net/ange-ftp.el: Use match-string and drop useless `function's.
12090         (ange-ftp-get-process): Bind `ange-ftp-this-user' and
12091         `ange-ftp-this-host' before running ange-ftp-process-startup-hook.
12092         (ange-ftp-ls-parser): Use `switches' arg instead of dynamic binding.
12093         (ange-ftp-parse-dired-listing): Update the calls.
12094         (dired-local-variables-file): Declare to shut quieten the compiler.
12095         (ange-ftp-file-entry-active-p): Remove.
12096         (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
12097         Don't exclude dangling symlinks.
12098         (ange-ftp-file-name-completion-1): Make predicate optional.
12099         (ange-ftp-parse-list-func-alist): Use add-to-list to update.
12100         (ange-ftp-fix-name-for-bs2000): Use subst-char-in-string.
12101         (ange-ftp-bs2000-posix-hook-installed): Remove.
12102         (ange-ftp-add-bs2000-posix-host): Don't use it anymore.
12103         (ange-ftp-bs2000-cd-to-posix): Use `ange-ftp-this-user' and
12104         `ange-ftp-this-host' instead of `user' and `host'.
12106 2002-08-29  Richard M. Stallman  <rms@gnu.org>
12108         * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
12109         Decide here whether to print which form we're compiling.
12110         If we do that, still print file and line.  Make file name
12111         relative to default-directory.  Print fewer newlines.
12112         (byte-compile-log-file): Print something even if no file.
12113         Print messages for entering and leaving directories,
12114         and set default-directory.
12115         (displaying-byte-compile-warnings): Only sometimes bind warning-series.
12116         (byte-compile-warning-series): New function.
12117         (byte-compile-file): Set byte-compile-last-logged-file, don't bind it.
12118         (byte-compile-display-log-head-p): Function deleted.
12120         * warnings.el (warning-series): Now can be a marker, not an integer.
12121         (display-warning): Handle new value for warning-series.
12123         * emacs-lisp/bytecomp.el (byte-compile-log-file): Use \f.
12124         (byte-compile-cl-warn): Add cl-macroexpand-all, cl-compiling-file
12125         to don't-warn list.
12127 2002-08-29  Kim F. Storm  <storm@cua.dk>
12129         * kmacro.el: Change default bindings from F7/F8 to F3/F4.
12130         Change default binding of C-x e to kmacro-end-or-call-macro.
12131         (kmacro-call-repeat-key, kmacro-call-repeat-with-arg): New custom
12132         variables.
12133         (kmacro-get-prefix-arg): New function.
12134         (kmacro-repeat-on-last-key): Rename from kmacro-repeat-loop and
12135         improve.  Callers changed.
12136         (kmacro-call-macro): Repeat macro by repeating last key or
12137         key defined in kmacro-call-repeat-key.  New third arg non-nil
12138         means to end current macro.
12139         (kmacro-end-or-call-macro): Call kmacro-call-macro appropriately
12140         to get repeat last key functionality.
12141         (kmacro-start-macro-or-insert-counter): Improve doc string.
12143 2002-08-28  Luc Teirlinck  <teirllm@mail.auburn.edu>
12145         * files.el (find-buffer-visiting): Compare file attributes
12146         using buffer-file-truename.
12148 2002-08-28  Richard M. Stallman  <rms@gnu.org>
12150         * files.el (make-auto-save-file-name, make-backup-file-name-1):
12151         Don't use directory-sep-char.
12153 2002-08-28  Juanma Barranquero  <lektu@terra.es>
12155         * replace.el (occur-hook): Renamed from `occur-mode-hook'.
12156         (occur-mode): Remove call to `occur-mode-hook'.
12157         (occur-rename-buffer): Fix reference to `occur-mode-hook' in docstring.
12158         (occur-1): Add call to `occur-hook'.
12160         * subr.el (make-variable-frame-localizable): Alias for
12161         `make-variable-frame-local'.
12163 2002-08-28  Miles Bader  <miles@gnu.org>
12165         * rfn-eshadow.el (read-file-name-electric-shadow-properties)
12166         (read-file-name-electric-shadow-tty-properties)
12167         (read-file-name-electric-shadow-mode): Remove compatibility defs.
12169         * comint.el (comint-carriage-motion): Start at START.
12171 2002-08-27  Francesco Potort\e,Al\e(B  <pot@gnu.org>
12173         * net/ange-ftp.el (ange-ftp-skip-msgs): Skip the 530 response
12174         given by vsFTPd when accessed with a kerberised FTP client.
12176 2002-08-27  Richard M. Stallman  <rms@gnu.org>
12178         * files.el (find-alternate-file):
12179         Bind kill-buffer-query-functions locally, don't set it.
12181 2002-08-27  Andreas Schwab  <schwab@suse.de>
12183         * kmacro.el (kmacro-start-macro): Doc fix.
12185 2002-08-27  Carsten Dominik  <dominik@sand.science.uva.nl>
12187         * textfile/reftex-ref.el (reftex-goto-label): New command.
12189         * textfile/reftex-vars.el (reftex-part-resets-chapter): New option.
12191         * textfile/reftex-parse.el (reftex-roman-number): New function.
12192         (reftex-section-number): Better handling of parts: No chapter
12193         counter resets.
12195         * textfile/reftex.el (reftex-highlight-overlays): Added a third
12196         overlay.
12197         (reftex-mode-menu): Added entry for `reftex-toc-recenter.
12198         Also moved `reftex-reset-mode' to top level.
12200         * textfile/reftex-toc.el (reftex-toc-recenter): New command.
12201         (reftex-toc-pre-command-hook): Don't remove highlight overlay.
12202         (reftex-toc-post-command-hook): Use overlay no 2 for highlighting.
12204         * textfile/reftex-sel.el (reftex-get-offset): Get offset of
12205         document pointer *before* position, not after.
12206         (reftex-insert-docstruct): Get offset of document pointer *before*
12207         position, not after.
12209         * textfiles/reftex-parse.el (reftex-where-am-I): Prefer marker
12210         match over section title match.
12212         * textfiles/reftex-cite.el (reftex-bib-or-thebib): New function
12213         which determines on a per-file-basis if BibTeX is being used
12214         locally for citations.
12215         (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better
12216         cooperation with chapterbib.
12217         (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for
12218         better cooperation with chapterbib.
12220         * textfiles/reftex-dcr.el (reftex-view-cr-cite):
12221         Use `reftex-bib-or-thebib' for better cooperation with chapterbib.
12223 2002-08-26  Kim F. Storm  <storm@cua.dk>
12225         * subr.el (suppress-keymap): Use command remapping instead of
12226         substitute-key-definition to undefine self-inserting keys.
12228 2002-08-26  Juanma Barranquero  <lektu@terra.es>
12230         * makefile.w32-in (WINS): Add calc and obsolete.
12232 2002-08-26  Stefan Monnier  <monnier@cs.yale.edu>
12234         * emacs-lisp/easy-mmode.el (define-minor-mode):
12235         Use customize-mark-as-set for global minor modes.
12237 2002-08-25  Miles Bader  <miles@gnu.org>
12239         * rfn-eshadow.el (file-name-shadow-properties-custom-type):
12240         Renamed from `read-file-name-electric-shadow-properties-custom-type'.
12241         Change name of face.
12242         (file-name-shadow-properties): Renamed from
12243         `read-file-name-electric-shadow-properties'.
12244         (file-name-shadow-tty-properties): Renamed from
12245         `read-file-name-electric-shadow-tty-properties'.
12246         (file-name-shadow): Renamed from `read-file-name-electric-shadow'.
12247         (rfn-eshadow-setup-minibuffer): Update references to renamed variables.
12248         (file-name-shadow-mode): Renamed from
12249         `read-file-name-electric-shadow-mode'.  Update references to
12250         renamed variables.
12252 2002-08-24  Sam Steingold  <sds@gnu.org>
12254         * subr.el (eval-after-load): Do not call
12255         load-symbol-file-load-history (deleted yesterday).
12257 2002-08-24  John Paul Wallington  <jpw@shootybangbang.com>
12259         * startup.el (normal-splash-screen): Ensure splash buffer is
12260         killed.  Use tabs in output.  Fix test whether previous buffer was
12261         *scratch* buffer.
12263         * progmodes/simula.el (simula-abbrev-keyword-default)
12264         (simula-abbrev-keyword, simula-abbrev-stdproc-default)
12265         (simula-abbrev-stdproc): Doc fix - escape open parens in column 0.
12267         * apropos.el (command-apropos): Use `defalias' instead of `fset'.
12269         * mail/rmail.el (rmail-speedbar-match-folder-regexp): Doc fix.
12271 2002-08-24  Glenn Morris  <gmorris@ast.cam.ac.uk>
12273         * progmodes/f90.el (f90-xemacs-flag, f90-xemacs-menu)
12274         (f90-menu-bar-menu, f90-change-case-menu, f90-font-lock-on)
12275         (f90-font-lock-off, f90-font-lock-menu): Delete.
12276         Use easy-menu-define instead.
12277         (f90-mode): Use easy-menu-add.
12278         No longer (require 'imenu) when compiling.
12279         (f90-mark-subprogram, f90-indent-region, f90-fill-region)
12280         (f90-abbrev-start): Use fboundp.
12281         (f90-imenu-flag): Delete - use imenu--index-alist instead.
12283 2002-08-23  Richard M. Stallman  <rms@gnu.org>
12285         * loadhist.el (unload-feature): Distinguish functions from
12286         variables in load-history.
12287         (feature-symbols): Doc fix.
12289         * files.el (ange-ftp-completion-hook-function): Add safe-magic prop.
12291         * subr.el (symbol-file-load-history-loaded)
12292         (load-symbol-file-load-history): Deleted.
12293         (symbol-file): Don't call load-symbol-file-load-history.
12295 2002-08-23  Andre Spiegel  <spiegel@gnu.org>
12297         * vc-hooks.el (vc-kill-buffer-hook): Add it to kill-buffer-hook again.
12299 2002-08-22  Katsumi Yamaoka  <yamaoka@jpl.org>  (tiny change)
12301         * frame.el (select-frame-by-name, select-frame-set-input-focus):
12302         Always call x-focus-frame, if using x.
12303         Use set-mouse-position on all systems, if focus-follows-mouse.
12305 2002-08-22  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12307         * net/tramp.el: Version 2.0.14 released.
12308         (tramp-shell-prompt-pattern): New variable.
12309         (tramp-actions-before-shell, tramp-multi-actions)
12310         (tramp-find-shell, tramp-open-connection-multi)
12311         (tramp-open-connection-setup-interactive-shell): Use it.
12312         (tramp-open-connection-telnet, tramp-open-connection-rsh)
12313         (tramp-open-connection-su): Mention `tramp-shell-prompt-pattern'
12314         in the docstring.
12315         (tramp-bug): Report `tramp-shell-prompt-pattern'.
12316         (tramp-process-one-multi-action, tramp-process-one-action):
12317         Make message clearer so people don't confuse it with Emacs asking
12318         them a question if the regexp happens to end with "?".
12319         (tramp-verbose): Change default value from 10 to 9.  Also change
12320         some logging levels so that 10 is reserved for stuff which is
12321         needed for debugging only, but 9 catches everything that people
12322         might like to see in order to see that Tramp is actually working.
12324 2002-08-22  Kim F. Storm  <storm@cua.dk>
12326         * emacs-lisp/authors.el (authors-aliases, authors-fixed-entries):
12327         Corrected spelling mistakes (for Joseph Arceneaux).
12329 2002-08-21  Glenn Morris  <gmorris@ast.cam.ac.uk>
12331         * progmodes/f90.el: eval-when-compile a few defvars.
12332         (f90-xemacs-flag): Wrap in eval-and-compile.
12333         (f90-font-lock-keywords): Doc fix.
12334         (f90-mode-abbrev-table): Work with or without 6th arg of define-abbrev.
12335         (f90-mark-subprogram-overlay): Variable deleted.
12336         (f90-mark-subprogram): Remove overlay bit.  Don't be silent about
12337         pushing mark.
12338         (f90-abbrev-start): unread-command-event is obsolete in XEmacs.
12340 2002-08-21  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12342         * net/tramp.el: Version 2.0.13 released.
12343         (tramp-handle-write-region): Don't check to see if remote end is
12344         awake after sending data to remote host: we want to send "EOF" not
12345         "echo are you awake"...
12346         (tramp-maybe-open-connection): Swap args for tramp-time-diff.
12347         (tramp-yn-prompt-regexp): New variable.
12348         (tramp-action-yn): New function, using it.
12349         (tramp-feature-write-region-fix): New internal variable.  Not yet
12350         used.  Should be used in `tramp-handle-write-region'.
12352 2002-08-21  Kim F. Storm  <storm@cua.dk>
12354         * bindings.el (mode-line-format): Moved global-mode-string last.
12355         (mode-line-position): Moved %p first.  Added padding to %l/%c to
12356         eliminate jumpyness in modeline.  Use (%l,%c) format if both
12357         line-number-mode and column-number-mode are enabled.
12359 2002-08-20  Martin Stjernholm  <bug-cc-mode@gnu.org>
12361         * progmodes/cc-engine.el (c-forward-syntactic-ws): Fixed a bug
12362         that could cause an infinite loop if something that looks like
12363         a macro begins in the middle of a line.
12365         * progmodes/cc-engine.el (c-parse-state): Fixed a bug that
12366         could cause `c-state-cache' to contain two conses in sequence
12367         when there's an unbalanced open paren in a macro.
12369 2002-08-20  Glenn Morris  <gmorris@ast.cam.ac.uk>
12371         * progmodes/fortran.el (fortran-current-defun): Use save-excursion.
12373         * imenu.el (imenu--generic-function): Use mapc.
12374         (imenu-syntax-alist): Doc fix.
12376 2002-08-20  Richard M. Stallman  <rms@gnu.org>
12378         * font-core.el (font-lock-change-mode): New function.
12379         (font-lock-mode): Use font-lock-change-mode instead of
12380         font-lock-unfontify-buffer.
12381         (font-lock-maximum-size, font-lock-verbose): Add defvars.
12383 2002-08-20  Carsten Dominik  <dominik@astro.uva.nl>
12385         * textfiles/reftex-cite.el (reftex-bib-or-thebib): New function
12386         which determines on a per-file-basis if BibTeX is being used
12387         locally for citations.
12388         (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better
12389         cooperation with chapterbib.
12390         (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for
12391         better cooperation with chapterbib.
12393         * textfiles/reftex-dcr.el (reftex-view-cr-cite):
12394         Use `reftex-bib-or-thebib' for better cooperation with chapterbib.
12396 2002-08-20  Kim F. Storm  <storm@cua.dk>
12398         * kmacro.el: Major rework based on discussions with RMS.
12399         Most important change is that C-x C-k is now bound to a keymap
12400         with keyboard macro related commands.  The original binding on
12401         C-x C-k is moved to C-x C-k e.
12403         * binding.el: Remove macro related bindings (now in kmacro.el).
12405         * edmacro.el: Remove C-x C-k binding (now in kmacro.el).
12407 2002-08-19  Stefan Monnier  <monnier@cs.yale.edu>
12409         * help-fns.el (help-split-fundoc): Replace the function name
12410         from the docstring with the one that should be displayed.
12411         (help-make-usage): Understand CL style arglists.
12412         (describe-function-1): Adapt to the new behavior of help-split-fundoc.
12413         (describe-variable): Use delete-region.
12415 2002-08-19  Kenichi Handa  <handa@etl.go.jp>
12417         * international/mule.el (sgml-xml-auto-coding-function):
12418         Call re-search-forward with NOERROR t.
12420 2002-08-19  Miles Bader  <miles@gnu.org>
12422         [original idea from Luc Teirlinck <teirllm@mail.auburn.edu>]
12423         * comint.el (comint-inhibit-carriage-motion): New variable.
12424         (comint-carriage-motion): Argument STRING removed.  New arguments
12425         START and END; interpret characters between START and END rather
12426         than using special comint state.
12427         (comint-output-filter): Call `comint-carriage-motion'.
12428         (comint-output-filter-functions): Don't add `comint-carriage-motion'.
12429         * ielm.el (inferior-emacs-lisp-mode):
12430         Give `comint-inhibit-carriage-motion' a local value of t.
12432 2002-08-18  Richard M. Stallman  <rms@gnu.org>
12434         * textmodes/table.el: New file.
12436         * font-core.el (font-lock-mode): Set change-major-mode-hook locally.
12438 2002-08-18  Andreas Schwab  <schwab@suse.de>
12440         * ibuf-ext.el (ibuffer-list-buffer-modes): Doc fix.
12442 2002-08-17  Carsten Dominik  <dominik@astro.uva.nl>
12444         * textmodes/reftex.el (reftex-mode): Create special syntax tables.
12445         (reftex-syntax-table): Set a default in case this is being used
12446         outside a LaTeX file.
12447         (reftex-syntax-table-for-bib): Set a default in case this is being
12448         used outside a LaTeX file.
12450 2002-08-17  Richard M. Stallman  <rms@gnu.org>
12452         * tar-mode.el (tar-subfile-mode): Use add-hook and remove-hook,
12453         and use write-file-functions instead of local-write-file-hooks.
12454         (tar-untar-buffer): Don't try to extract directories.
12456         * menu-bar.el (fringe-mode): Set to nil.
12458         * mail/rmail.el (rmail-search-mime-header-function): Doc fix.
12460 2002-08-15  Richard M. Stallman  <rms@gnu.org>
12462         * calendar/appt.el (appt-delete): Use substring-no-properties.
12463         (appt-make-list): Don't use prin1-to-string; use the string unchanged.
12465 2002-08-15  Jan Nieuwenhuizen  <janneke@gnu.org>  (tiny change)
12467         * server.el (server-process-filter): Simplify code.
12468         (server-goto-line-column): New function.
12469         (server-visit-files): Use server-goto-line-column.
12470         Offer to revert only if file has changed.
12472 2002-08-15  Richard M. Stallman  <rms@gnu.org>
12474         * files.el (recover-this-file): New function.
12475         (after-find-file): Recommend recover-this-file.
12477         * font-core.el (font-lock-mode): Add font-lock-unfontify-buffer
12478         to change-major-mode-hook when font lock is enabled.
12480         * simple.el (toggle-truncate-lines): Force redisplay.
12481         Display status message.
12483 2002-08-15  Carsten Dominik  <dominik@sand.science.uva.nl>
12485         * textmodes/reftex.el (reftex-mode): Moved the creation of special
12486         syntax tables to top-level.
12488 2002-08-15  David Kastrup  <David.Kastrup@t-online.de>
12490         * net/ange-ftp.el (ange-ftp-wipe-file-entries): Fix type mismatch;
12491         use `hash-table-size' instead of `length'.
12493 2002-08-14  Stefan Monnier  <monnier@cs.yale.edu>
12495         * help-fns.el (locate-library): Use locate-file(-completion).
12496         (help-split-fundoc): Tighten the regexp and recognize a usage-info
12497         where the function name is `fn'.
12498         (help-function-arglist): Follow aliases and macros.
12499         (describe-function-1): Use keymapp.
12500         If the docstring contains a usage info, use it even if the function is
12501         not a subroutine.  Find usage info in aliases' docstring if necessary.
12502         (describe-variable): Get the value before setting up the *Help* buffer.
12504         * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
12505         Use find-file-hook instead of find-file-hooks.
12506         (define-minor-mode): Get rid of this silly `togglep'.
12507         Add an explicit `toggle' argument (used for interactive calls).
12508         Emit a warning when a nil argument turns the mode off.
12510         * language/ethio-util.el (setup-ethiopic-environment-internal)
12511         (exit-ethiopic-environment): Use find-file-hook and
12512         write-file-functions instead of find-file-hooks and write-file-hooks.
12514         * window.el (handle-select-window): Don't do anything if the window
12515         has disappeared since the event was generated.
12516         (split-window-save-restore-data): Use push and with-current-buffer.
12518         * saveplace.el:
12519         * play/meese.el:
12520         * obsolete/hilit19.el:
12521         * completion.el (dynamic-completion-mode):
12522         * emacs-lisp/find-func.el (find-function-search-for-symbol):
12523         Use find-file-hook instead of find-file-hooks.
12525         * imenu.el (imenu-always-use-completion-buffer-p): Make obsolete.
12526         (imenu-use-popup-menu, imenu-eager-completion-buffer): New vars.
12527         (imenu-space-replacement): Allow nil value.
12528         (imenu--completion-buffer): Use new vars and simplify.
12529         Fix handling of minibuffer-setup-hook.
12530         Use minibuffer-completion-help instead of rolling our own.
12531         (imenu-choose-buffer-index): Use the new var.
12533         * startup.el (command-line): Load custom-file if not done yet.
12535 2002-08-14  Kenichi Handa  <handa@etl.go.jp>
12537         * select.el (xselect-convert-to-string): If TYPE is non-nil, encode
12538         the selection data string.  Always return cons of type and string.
12539         (selection-converter-alist): Add (UTF8_STRING .
12540         xselect-convert-to-string).
12542 2002-08-12  Stefan Monnier  <monnier@cs.yale.edu>
12544         * newcomment.el (comment-region): Force `lines' when `block' is set.
12546 2002-08-12  Richard M. Stallman  <rms@gnu.org>
12548         * menu-bar.el (menu-bar-next-tag-other-window, menu-bar-next-tag)
12549         (menu-bar-right-scroll-bar, menu-bar-left-scroll-bar)
12550         (menu-bar-no-scroll-bar, menu-bar-toggle-auto-compression)
12551         (menu-bar-toggle-cua-mode, menu-bar-read-mail)
12552         (menu-bar-help-extra-packages, help-with-tutorial-spec-language)
12553         (menu-bar-text-mode-auto-fill): New commands, used
12554         in menu bar menus instead of lambda expressions.
12556         (menu-bar-showhide-fringe-menu-customize-left)
12557         (menu-bar-showhide-fringe-menu-customize-right)
12558         (menu-bar-showhide-fringe-menu-customize-disable)
12559         (menu-bar-showhide-fringe-menu-customize-reset): Doc fixes.
12561         (menu-bar-options-menu): Use toggle-truncate-lines.
12562         (showhide-date-time): Call customize-mark-as-set.
12564         * emacs-lisp/find-func.el (find-function-search-for-symbol):
12565         Obey `definition-name' properties.
12567         * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
12568         Put `definition-name' properties on the functions whose
12569         names are constructed.
12571         * textmodes/page-ext.el (pages-target-buffer): Add defvar.
12572         Renamed from target-buffer.
12573         (pages-directory, pages-copy-header-and-position): Uses changed.
12575         * calendar/appt.el (appt-make-list): Correct the parsing of
12576         each appointment from time-string.
12578 2002-08-12  Stefan Monnier  <monnier@cs.yale.edu>
12580         * scroll-all.el (scroll-all-mode): Use define-minor-mode.
12581         (scroll-all-mode) <defcustom>: Delete.
12582         (running-xemacs): Delete.
12583         (minor-mode-alist): Don't manipulate it directly.
12585 2002-08-10  Kenichi Handa  <handa@etl.go.jp>
12587         * international/mule-cmds.el (search-unencodable-char): New function.
12588         (select-safe-coding-system): Show unencodable characters.
12589         (unencodable-char-position): Deleted, and implemented in C in coding.c.
12591 2002-04-09  John Wiegley  <johnw@gnu.org>
12593         * esh-util.el: Removed eshell-under-cygwin-p, and all uses of it.
12594         * em-cmpl.el (eshell-cmpl-ignore-case): Ditto.
12595         * em-dirs.el (eshell/cd): Ditto.
12596         * em-glob.el (eshell-glob-case-insensitive): Ditto.
12597         * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
12598         * esh-ext.el (eshell-binary-suffixes): Ditto.
12600 2002-08-09  Richard M. Stallman  <rms@gnu.org>
12602         * textmodes/page-ext.el (pages-directory-mode): Undo previous change.
12604         * simple.el (set-variable): Give locality status in prompt.
12606 2002-08-09  Benjamin Rutt  <rutt@cis.ohio-state.edu>
12608         * simple.el (set-variable): If given a prefix argument, set
12609         variable buffer-locally.
12611 2002-08-09  John Paul Wallington  <jpw@shootybangbang.com>
12613         * font-core.el (font-lock-function): Make it buffer-local.
12615 2002-08-08  Richard M. Stallman  <rms@gnu.org>
12617         * emacs-lisp/checkdoc.el (checkdoc, checkdoc-interactive)
12618         (checkdoc-message-interactive, checkdoc-interactive-loop)
12619         (checkdoc-current-buffer, checkdoc-continue, checkdoc-comments)
12620         (checkdoc-defun):
12621         Update checkdoc-spellcheck-documentation-flag correctly.
12622         (checkdoc-ispell-docstring-engine): Don't test for
12623         checkdoc-autofix-flag = nil.
12625 2002-08-07  John Paul Wallington  <jpw@shootybangbang.com>
12627         * xt-mouse.el (xterm-mouse-mode): Make it a global mode.
12629         * wid-browse.el (widget-minor-mode): Fix doc typo.
12631 2002-08-07  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12633         * net/tramp.el: Version 2.0.12 released.
12634         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12635         Comment out possibly obsolete "echo hello" commands.
12636         (tramp-run-real-handler): If operation is
12637         `ange-ftp-hook-function', use first arg as the real operation.
12638         (tramp-check-ls-commands): Use / instead of \ as directory
12639         separator.  (Relevant for XEmacs on Windows.)
12640         (tramp-maybe-open-connection): Use tramp-wait-for-output when
12641         waiting for the "are you awake" command.  Use a different string
12642         for the "are you awake" command.
12643         (tramp-send-command): New optional arg NEVEROPEN means to never
12644         invoke tramp-maybe-open-connection.
12645         (tramp-maybe-open-connection): Use it
12647 2002-08-07  Richard M. Stallman  <rms@gnu.org>
12649         * warnings.el (warning-prefix-function, warning-series)
12650         (warning-fill-prefix, warning-group-format): Add autoload cookies.
12652 2002-08-07  Kenichi Handa  <handa@etl.go.jp>
12654         * international/mule-cmds.el (select-safe-coding-system):
12655         Call pop-to-buffer inside save-window-excursion and save-excursion.
12657 2002-08-06  John Paul Wallington  <jpw@shootybangbang.com>
12659         * help-fns.el (describe-function-1): Skip arglist note if
12660         function's definition is a keymap.
12662 2002-08-06  Sam Steingold  <sds@gnu.org>
12664         * calendar/diary-lib.el (diary-mail-entries): Use `compose-mail'
12665         and `mail-user-agent' instead of straight sendmail.
12666         (diary-modified, diary-entries-list, displayed-year)
12667         (displayed-month, entry, date, number, date-string, d-file)
12668         (original-date): Defvar without binding to avoid compiler warnings.
12670 2002-08-05  Alan Shutko  <ats@acm.org>
12672         * ibuffer.el (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
12673         (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
12674         (ibuffer-mode): Added ibuffer-filter-by-used-mode to doc string.
12676         * ibuf-ext.el (ibuffer-list-buffer-modes): New.
12677         (ibuffer-filter-by-used-mode): New.
12679 2002-08-05  John Paul Wallington  <jpw@shootybangbang.com>
12681         * ediff-util.el (ediff-copy-list): Use `defalias' instead of
12682         `fset' and `symbol-function'.
12684 2002-08-05  John Wiegley  <johnw@gnu.org>
12686         * pcomplete.el (pcomplete-entries): Don't set `above-cutoff' to a
12687         value unless pcomplete-cycle-cutoff-length is non-nil.
12689 2002-04-09  John Paul Wallington  <jpw@shootybangbang.com>
12691         * esh-util.el (eshell-under-cygwin-p): New function.
12692         * em-cmpl.el (eshell-cmpl-ignore-case): Use it.
12693         * em-dirs.el (eshell/cd): Ditto.
12694         * em-glob.el (eshell-glob-case-insensitive): Ditto.
12695         * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
12696         * esh-ext.el (eshell-binary-suffixes): Ditto.
12698 2002-08-05  Richard M. Stallman  <rms@gnu.org>
12700         * international/mule-cmds.el (select-safe-coding-system): Check for
12701         non-nil CODING-SYSTEM before warning it disagrees with AUTO-CS.
12703         * net/ange-ftp.el (ange-ftp-smart-gateway): Doc fix.
12705 2002-08-05  Gerd Moellmann  <gerd@gnu.org>
12707         * image.el (image-jpeg-p): Accept "Exif" marker.
12709 2002-08-05  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12711         * net/tramp.el: Version 2.0.11 released.
12712         (tramp-perl-file-attributes): Print uid and gid as signed integers.
12713         (tramp-invoke-ange-ftp): Correct check for Ange-FTP being loaded.
12714         Invoke Ange-FTP with tramp-run-real-handler to avoid Ange-FTP
12715         calling Tramp again.
12716         (tramp-find-file-exists-command): Check for `ls -d' last, after
12717         all the variants on `test -e'.
12718         (tramp-post-connection): Erase buffer before finding a command to
12719         check if file exists.
12721 2002-08-05  David Kastrup  <David.Kastrup@t-online.de>
12723         * calc/calc.el (math-format-stack-value): Revert a broken
12724         if->when replacement and reformat so that this does not happen
12725         again.  Fixes a pretty lethal line formatting/yanking bug.
12727 2002-08-04  John Paul Wallington  <jpw@shootybangbang.com>
12729         * startup.el (fancy-splash-frame): Check selected frame last.
12731 2002-08-04  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12733         * net/tramp.el: Version 2.0.10 released.
12734         (tramp-uudecode): New shell function `tramp_uudecode' to decode to
12735         standard output even if `uudecode -p' and `uudecode -o -' don't work.
12736         (tramp-post-connection): After finding the right shell, wait a
12737         bit.  This is a kludge to avoid a race condition, even though I
12738         don't understand why there is a race condition in the first place.
12739         (tramp-post-connection): Install the `tramp_uudecode' shell
12740         function on the remote host.
12741         (tramp-coding-commands): Add an alternative for `tramp_uudecode'.
12742         (tramp-bug): Include more variables in the report.
12744 2002-08-04  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12746         * net/tramp.el: Version 2.0.9 released.
12747         (tramp-bug): Add wording about additional info to include in bug
12748         report.
12749         (tramp-find-shell): Set $PS1 for invocation of second shell (for
12750         tilde expansion).
12751         (tramp-find-shell): Shell prompt must match at end of buffer.
12752         Do this also for fallback shell prompt.
12753         (tramp-find-shell): More debugging output.
12754         (tramp-find-inline-encoding): When checking the decoding command,
12755         some commands fail when reading from /dev/null.  So we pass a
12756         known string through the encoding command and pass that through
12757         the decoding command.  So we know whether the decoding command can
12758         deal with some real input.
12760 2002-08-04  Andreas Schwab  <schwab@suse.de>
12762         * net/tramp.el (tramp-perl-encode, tramp-perl-decode): Doc fix.
12764 2002-08-03  Andrew Choi  <akochoi@shaw.ca>
12766         * term/mac-win.el: Set keys to enable mouse wheel support.
12768 2002-08-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12770         * net/tramp.el: Version 2.0.8.
12771         (tramp-perl-encode, tramp-perl-encode): Double the backslashes.
12773 2002-08-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12775         * net/tramp.el: Version 2.0.7.
12776         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
12777         (tramp-perl-encode, tramp-perl-decode): Escape `%' characters
12778         because of `format' and say so in the docstring.
12780 2002-08-03  Glenn Morris  <gmorris@ast.cam.ac.uk>
12782         * progmodes/f90.el (f90-font-lock-keywords-1): Fix highlighting of
12783         `type' forms.
12784         (f90-font-lock-keywords-2): Fix `implicit type(foo)' case.
12785         (f90-type-def-re): Fix value.
12787 2002-08-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12789         * net/tramp.el: Version 2.0.6.
12790         (tramp-default-method): Change to "ssh" from "sm".
12791         (tramp-wrong-passwd-regexp): Restructure.  Add additional alternative.
12792         (tramp-su-program): New internal variable for method parameter.
12793         (tramp-perl-encode-with-module, tramp-perl-decode-with-module):
12794         New variables.  Very short Perl one-liner, but requires Perl
12795         module MIME::Base64 to be installed on the remote site.
12796         (tramp-perl-encode, tramp-perl-decode): New base64
12797         encoder/decoder.  From Juanma Barranquero <lektu@terra.es>.
12798         (tramp-handle-file-truename): Invoke Ange-FTP properly (even
12799         though Ange-FTP doesn't do anything for this operation).
12800         (tramp-handle-set-visited-file-modtime): Comment change.
12801         (tramp-handle-make-directory): Save-excursion.
12802         (tramp-handle-expand-many-files): Don't try to invoke Ange-FTP
12803         twice, once is enough.
12804         (tramp-action-permission-denied): Show *tramp/foo* buffer so the
12805         user knows what's wrong.
12806         (tramp-post-connection): Support the two Perl encoders and decoders.
12807         (tramp-coding-commands): Ditto.  Add some todo items.
12809 2002-08-02  Richard M. Stallman  <rms@gnu.org>
12811         * international/mule.el (merge-coding-systems): New function.
12812         (set-buffer-file-coding-system): Use merge-coding-systems.
12813         Change prompt for args.
12814         (revert-buffer-with-coding-system): New command.
12816         * international/mule-cmds.el (mule-keymap, set-coding-system-map):
12817         Add bindings for revert-buffer-with-coding-system.
12818         (set-coding-system-map): Clarify menu item info for
12819         set-buffer-file-coding-system.
12820         (set-coding-system-map): Reorder and add separators.
12822         * emacs-lisp/edebug.el (edebug-eval-top-level-form):
12823         Use eval-expression.
12825         * subr.el (atomic-change-group): Doc fix.
12827 2002-07-31  Colin Walters  <walters@debian.org>
12829         * ibuffer.el (ibuffer-hooks): Rename to `ibuffer-hook'; Add
12830         defvaralias for compatibility.
12831         (ibuffer-mode-hooks): Rename to `ibuffer-mode-hook'; Add
12832         defvaralias for compatibility.
12834 2002-07-31  John Paul Wallington  <jpw@shootybangbang.com>
12836         * ibuffer.el (ibuffer-fontification-alist):
12837         Use `font-lock-constant-face' instead of `font-lock-reference-face'.
12839 2002-07-31  John Wiegley  <johnw@gnu.org>
12841         * pcomplete.el (pcomplete-comint-setup): Use `add-to-list', to
12842         prevent adding the symbol `pcomplete' to
12843         shell-dynamic-complete-functions to many times.
12845 2002-07-31  Markus Rost  <rost@math.ohio-state.edu>
12847         * help-fns.el (describe-function-1): Test function for
12848         obsolescence only if it is a symbol.
12850         * ediff.el (ediff-backup): New autoloaded command.
12852 2002-07-31  Richard M. Stallman  <rms@gnu.org>
12854         * makefile.w32-in (compile-after-backup): Renamed from `compile'.
12855         Use `compile-always'.
12856         (bootstrap): Use `compile', not `compile-files'.  Use `update-subdirs'.
12857         (compile): Renamed from `compile-files'.
12858         (compile-CMD, compile-SH): Renamed from `compile-files-*'.
12860         * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
12861         Check that (car elt) is a string.
12863         * pcomplete.el (pcomplete-entries): Doc fix.
12865         * international/mule.el (non-standard-icccm-encodings-alist): Doc fix.
12867 2002-07-31  Andreas Schwab  <schwab@suse.de>
12869         * dired.el: Hide disabling of dired-find-alternate-file behind
12870         autoload-cookie.
12872 2002-07-31  Tak Ota  <Takaaki.Ota@am.sony.com>  (tiny change)
12874         * makefile.w32-in: Revert some changes from 2002-07-23 because they
12875         don't work on MSVC/nmake builds.
12876         (update-subdirs-CMD): Generate the right list of subdirectories.
12878 2002-07-30  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12880         * net/tramp.el: New version 2.0.5.
12881         (tramp-methods): Remove inline encoding method parameters.
12882         The encoding is now autodetected.  Also shorten the list of
12883         methods (u/m distinction gone) and rename the remaining methods to
12884         have longer, but more mnemonic, names.
12885         (tramp-login-prompt-regexp, tramp-password-prompt-regexp)
12886         (tramp-wrong-passwd-regexp): Trailing `$' not needed, regexp is
12887         matched at end of buffer anyway.
12888         (tramp-yesno-prompt-regexp): New variable, for questions where the
12889         user should say "yes" or "no".
12890         (tramp-file-name-structure-unified)
12891         (tramp-file-name-structure-separate): Allow dash in method names.
12892         (tramp-actions-before-shell): New variable, contains list of
12893         pattern/action pairs.  Output sent by remote end is scanned for
12894         the patterns, then the actions are executed.
12895         (tramp-multi-actions): Like `tramp-actions-before-shell', but
12896         executed for each hop in a multi-hop connection.
12897         (tramp-last-cmd-time): New variable.  If nothing has been sent to
12898         remote end for 60 seconds, look to see if the remote end is still
12899         alive.
12900         (tramp-perl-mime-encode, tramp-perl-mime-decode): Remove.
12901         It didn't work.
12902         (tramp-perl-encode, tramp-perl-decode): New variables, these
12903         require the MIME::Base64 module on the remote end.
12904         (tramp-handle-file-attributes): Restructure logic.
12905         (tramp-handle-file-attributes-with-ls)
12906         (tramp-handle-file-attributes-with-perl): More debugging.
12907         (tramp-handle-directory-files): Grok fifth arg `files-only' for XEmacs.
12908         (tramp-handle-make-directory, tramp-handle-delete-directory)
12909         (tramp-handle-delete-file, tramp-handle-insert-directory):
12910         Expand file name.
12911         (tramp-handle-shell-command): Use `when', not `if'.
12912         (tramp-handle-file-local-copy, tramp-handle-write-region):
12913         Adapt to autodetection of inline encoding.
12914         (tramp-invoke-ange-ftp): Require ange-ftp to make sure that
12915         variable ange-ftp-name-format is defined before binding it.
12916         (tramp-action-login, tramp-action-password, tramp-action-succeed)
12917         (tramp-action-permission-denied, tramp-action-yesno):
12918         Functions called from `tramp-actions-before-shell'.
12919         (tramp-multi-action-login, tramp-multi-action-password)
12920         (tramp-multi-action-succeed, tramp-multi-action-permission-denied):
12921         Functions called from `tramp-multi-actions'.
12922         (tramp-process-one-action, tramp-process-actions):
12923         Pattern matching and action invocation code for
12924         `tramp-actions-before-shell'.
12925         (tramp-process-one-multi-action, tramp-process-multi-actions):
12926         Same for `tramp-multi-actions'.
12927         (tramp-open-connection-telnet, tramp-open-connection-rsh)
12928         (tramp-open-connection-su): Process actions instead of hardwired logic.
12929         (tramp-multi-connect-telnet, tramp-multi-connect-rlogin)
12930         (tramp-multi-connect-su): Ditto.
12931         (tramp-post-connection): New method for tramp_encode and
12932         tramp_decode scripts.
12933         (tramp-post-connection): Invoke inline autodetection code.
12934         (tramp-coding-commands): List of inline codings.
12935         (tramp-find-inline-encoding): This is the inline autodetection code.
12936         (tramp-maybe-open-connection): If nothing was sent to connection
12937         for 60 seconds, look if it connection is still alive.
12938         (tramp-send-command): Remember that something was sent to the
12939         connection.
12940         (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
12941         Use backticks for constructing alist.
12942         (tramp-get-encoding-command, tramp-set-encoding-command)
12943         (tramp-get-decoding-command, tramp-set-decoding-command)
12944         (tramp-get-encoding-function, tramp-set-encoding-function)
12945         (tramp-get-decoding-function, tramp-set-decoding-function):
12946         Use for results of inline autodetection.
12947         (tramp-get-encoding-command, tramp-get-decoding-command)
12948         (tramp-get-encoding-function, tramp-get-decoding-function):
12949         Remove these old functions.
12951 2002-07-30  Kenichi Handa  <handa@etl.go.jp>
12953         * language/indian.el (in-is13194): Give correct `safe-chars' property.
12954         (devanagari): Define it as an alias of in-is13194.
12956         * international/mule.el (safe-chars):
12957         Put `char-table-extra-slots' property with value 0.
12959         * files.el (revert-buffer): Fix previous change.
12961 2002-07-29  Richard M. Stallman  <rms@gnu.org>
12963         * bindings.el (help-echo): If global-mode-string is non-nil,
12964         display some spaces after it.
12966         * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
12967         Don't call string-match on non-string.
12969         * textmodes/ispell.el (check-ispell-version): Bind default-directory
12970         to avoid errors.  Kill the old temp buffer at the beginning.
12972 2002-07-29  Glenn Morris  <gmorris@ast.cam.ac.uk>
12974         * scroll-all.el (scroll-all-mode): Make argument optional.  Doc fix.
12976 2002-07-29  John Paul Wallington  <jpw@shootybangbang.com>
12978         * scroll-all.el (scroll-all-mode): Handle numeric arg.  Use `if'
12979         instead of `cond'.
12981 2002-07-29  Kenichi Handa  <handa@etl.go.jp>
12983         * international/mule.el (ctext-post-read-conversion): Add support
12984         for embedded utf-8 encoding (ESC % G ... ESC % @).
12986 2002-07-28  Kenichi Handa  <handa@etl.go.jp>
12988         * files.el (revert-buffer): Before calling insert-file-contents,
12989         kill the local variable buffer-file-coding-system.
12991 2002-07-28  Richard M. Stallman  <rms@gnu.org>
12993         * bindings.el (mode-line-format): Handle vc-mode specially.
12994         Move mode-line-position to after global-mode-string.
12995         (mode-line-modes): Move the starting 3 spaces out of here.
12996         (mode-line-position): Separate with a space, not dashes.
12998         * vc-hooks.el: Don't add to minor-mode-alist.
13000         * emacs-lisp/edebug.el (edebug-debugger):
13001         If inside redisplay, just return.
13003         * emacs-lisp/debug.el (debug): If inside redisplay, just return.
13005         * info.el (Info-find-index-name): Improve last change.
13007 2002-07-27  Richard M. Stallman  <rms@gnu.org>
13009         * files.el (file-name-sans-extension): Avoid expanding DIRECTORY.
13011         * calendar/cal-hebrew.el (diary-rosh-hodesh): Cons mark on
13012         in the third case.
13014 2002-07-27  Markus Rost  <rost@math.ohio-state.edu>
13016         * ps-print.el: Update copyright year.
13017         (ps-begin-cut-regexp, ps-end-cut-regexp): Fix type.
13019 2002-07-26  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13021         * eshell/eshell.el (eshell): Numeric prefix arg means to switch
13022         to the session with that number.  Old behavior still available
13023         with nonumeric prefix args.
13025 2002-07-08  Simon Josefsson  <jas@extundo.com>
13027         * mail/mail-extr.el (mail-extr-all-top-level-domains): Update names.
13029 2002-07-26  Juanma Barranquero  <lektu@terra.es>
13031         * warnings.el (lwarn, warn, warning-levels): Doc fix.
13032         (warning-suppress-log-types): Fix typo.
13033         (display-warning): Fix typo. Remove useless assignment to free variable
13034         `group-string'.
13036 2002-07-25  Markus Rost  <rost@math.ohio-state.edu>
13038         * ediff-wind.el (ediff-window-setup-function): Extend type declaration.
13040 2002-07-25  Sam Steingold  <sds@gnu.org>
13042         * replace.el (occur-rename-buffer): New command.
13043         (occur-mode-map): Bind "r" to it.  Added keybindings for
13044         `kill-this-buffer', `clone-buffer' and `quit-window'.
13046 2002-07-25  Kevin Ryde  <user42@zip.com.au>
13048         * info.el (Info-find-index-name): Search for a function definition
13049         with a return type.
13051 2002-07-25  David Ponce  <david@dponce.com>
13053         * emacs-lisp/bytecomp.el (byte-compile-set-symbol-position):
13054         Don't recompute `entry' on each iteration.
13055         (byte-compile-delete-first): Make it defsubst.
13057 2002-07-25  Sam Steingold  <sds@gnu.org>
13059         * progmodes/cc-engine.el (c-search-uplist-for-classkey):
13060         When `search-end' is a cons, use its car.
13062 2002-07-25  Dave Love  <fx@gnu.org>
13064         * obsolete/c-mode.el: Deleted.
13066 2002-07-25  Carsten Dominik  <dominik@astro.uva.nl>
13068         * textmodes/reftex.el (reftex-compile-variables):
13069         Simplified regular expression.
13071         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13072         Simplified the regexp.
13074         * textmodes/reftex-cite.el (reftex-get-bibkey-default): New function.
13075         (reftex-extract-bib-entries-from-thebibliography):
13076         Use `reftex-get-bibkey-default' to get a default regex.
13077         (reftex-extract-bib-entries): Use `reftex-get-bibkey-default' to
13078         get a default regex.
13080         * textmodes/reftex-toc.el (reftex-toc-mode): Use `make-local-hook' for
13081         XEmacs compatibility (got OK from RMS).
13083         * textmodes/reftex-index.el (reftex-index-mode): Likewise.
13085         * textmodes/reftex-sel.el (reftex-select-label-mode): Likewise.
13086         (reftex-select-bib-mode): Likewise.
13088 2002-07-25  Colin Walters  <walters@debian.org>
13090         * ibuffer.el (ibuffer-mouse-popup-menu): Allow point to be moved
13091         by menu functions.
13093 2002-07-24  Dave Love  <fx@gnu.org>
13095         * international/mule.el (set-auto-coding): Doc fix.
13097         * international/utf-16.el: New file.
13099         * language/european.el ("German", "French", "Spanish", "Turkish"):
13100         Add alternative coding systems.
13101         ("Dutch"): Likewise.  Add input method.
13102         ("Welsh", "Latin-7"): Add nonascii-translation.
13104         * language/georgian.el ("Georgian"): Add nonascii-translation.
13106         * international/titdic-cnv.el: Doc fixes.
13107         (tit-process-header): Add coding cookie.
13108         (titdic-convert): Force writing as iso-2022-7bit.
13110         * international/ja-dic-cnv.el (skkdic-convert): Add coding cookie.
13112         * international/mule-cmds.el: Doc fixes.
13113         (unencodable-char-position): New.
13114         (select-safe-coding-system): Use it to indicate problematic
13115         characters and add extra explanation.  Avoid checking auto-coding
13116         for compressed files.
13117         (leim-list-header): Add coding cookie.
13118         (input-method-verbose-flag): Modify :type.
13119         (locale-language-names): Add bs, wa.  Modify cy.
13121 2002-07-24  Richard M. Stallman  <rms@gnu.org>
13123         * emacs-lisp/bytecomp.el (byte-compile-log-warning):
13124         Bind warning-group-format.
13126         * emacs-lisp/bytecomp.el (byte-compile-cl-functions): New variable.
13127         (byte-compile-cl-warn): Use that variable.
13128         (byte-compile-find-cl-functions): New function.
13129         (displaying-byte-compile-warnings):
13130         Call byte-compile-find-cl-functions.
13132         * warnings.el (warning-levels): Add %s to the strings.
13133         (warning-group-format): New variable.
13134         (warning-suppress-log-types): Renamed from warning-suppress-log.
13135         (warning-suppress-types): Renamed from warning-suppress.
13136         (display-warning): Implement those changes.
13138 2002-07-23  Richard M. Stallman  <rms@gnu.org>
13140         * warnings.el: Add `provide' call.
13142         * files.el (basic-save-buffer-2): If there's an error writing the file,
13143         unrename the backup file if it was just made.
13144         (backup-buffer, basic-save-buffer-2, basic-save-buffer-1)
13145         (basic-save-buffer): Value now has form (MODES . BACKUPNAME)
13146         when a backup was just made by renaming.  Otherwise it's nil.
13148         * wid-edit.el (widget-convert): Handle an argument that's a keyword.
13149         Recognize explicit :args specification.
13151         * international/mule-cmds.el (select-safe-coding-system):
13152         Don't ask for confirmation of mismatch if find-file-literally was used.
13154 2002-07-23  Markus Rost  <rost@math.ohio-state.edu>
13156         * add-log.el (add-log-current-defun): Fix typo in documentation.
13158 2002-07-22  Markus Rost  <rost@math.ohio-state.edu>
13160         * add-log.el (add-log-mailing-address): Fix type.  Can be a string.
13162         * ido.el (ido-separator): Fix type.
13164 2002-07-23  Andrew Innes  <andrewi@gnu.org>
13166         * makefile.w32-in (DONTCOMPILE): Remove cus-start.el.
13167         (DONTCOMPILE): Add various language files.
13168         (DONTCOMPILE): Remove term/xterm.el.
13169         (finder-inf.el): Remove.
13170         (update-authors): New target.
13171         (TAGS-LISP): Remove $(lispsource).
13172         (compile-always): Renamed from `compile-files'.
13173         (compile): New target, adapted from `compile-files'.
13174         (compile-calc): New target.
13175         (recompile): Change `.' to $(lisp).
13176         (bootstrap): Add update-subdirs and finder-data
13177         to dependencies; change compile-files to compile.
13179 2002-07-22  Andre Spiegel  <spiegel@gnu.org>
13181         * vc.el (vc-next-action-on-file): Preserve find-file-literally.
13183 2002-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
13185         * simple.el (undo, undo-more): Adjust messages when undoing in a
13186         region.
13188 2002-07-22  John Paul Wallington  <jpw@shootybangbang.com>
13190         * net/browse-url.el (browse-url-lynx-input-attempts): Use defcustom.
13191         (browse-url-lynx-input-delay): Add custom type and group.
13193         * cus-start.el (double-click-fuzz): Added.
13195 2002-07-22  Alan Shutko  <ats@acm.org>
13197         * calendar/solar.el (diary-sabbath-candles): Add optional MARK
13198         parameter, specifying what face or character to use in the
13199         calendar display.  These will now return (MARK . ENTRY).
13201         * calendar/lunar.el (diary-phases-of-moon): Add optional MARK
13202         parameter, specifying what face or character to use in the
13203         calendar display.  These will now return (MARK . ENTRY).
13205         * calendar/cal-hebrew.el (diary-omer, diary-yahrzeit)
13206         (diary-rosh-hodesh, diary-parasha, diary-parasha): Add optional
13207         MARK parameter, specifying what face or character to use in the
13208         calendar display.  These will now return (MARK . ENTRY).
13210         * calendar/diary-lib.el (mark-sexp-diary-entries): Retrieve mark
13211         from diary-sexp-entry and pass it to mark-visible-calendar-date.
13212         (list-sexp-diary-entries): Update doc string for new docs for ....
13213         If diary-sexp-entry returns a cons, only add the text to the diary
13214         list.
13215         (diary-sexp-entry): Allow sexps to return a cons of the form (MARK
13216         . STRING) to specify what face or character mark should be used in
13217         the calendar display.
13218         (diary-date, diary-block, diary-float, diary-anniversary)
13219         (diary-cyclic): Add optional MARK parameter, specifying what face
13220         or character to use in the calendar display.  These will now
13221         return (MARK . ENTRY).
13223         * calendar/diary-lib.el (check-calendar-holidays, diary-iso-date)
13224         (calendar-holiday-list, diary-french-date, diary-mayan-date)
13225         (diary-julian-date, diary-astro-day-number, diary-chinese-date)
13226         (diary-islamic-date, list-islamic-diary-entries)
13227         (mark-islamic-diary-entries, mark-islamic-calendar-date-pattern)
13228         (diary-hebrew-date, diary-omer, diary-yahrzeit, diary-parasha)
13229         (diary-rosh-hodesh, list-hebrew-diary-entries)
13230         (mark-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
13231         (diary-coptic-date, diary-persian-date, diary-phases-of-moon)
13232         (diary-sunrise-sunset, diary-sabbath-candles):
13233         Remove interactive flag from autoloads.
13235 2002-07-22  Carsten Dominik  <dominik@astro.uva.nl>
13237         * textmodes/reftex-vars.el (reftex-index-verify-function): New option.
13238         (reftex-bibliography-commands): New option.
13239         (reftex-toc-split-windows-horizontally): New option
13240         (reftex-toc-split-windows-horizontally-fraction): New option
13241         (reftex-include-file-commands): New option.
13242         (reftex-cite-format-builtin): Added ?n for nocite.
13244         * textmodes/reftex-index.el (reftex-query-index-phrase):
13245         Use `reftex-index-verify-function'.
13247         * textmodes/reftex-toc.el (reftex-re-enlarge):
13248         Handle horizontal splitting.
13249         (reftex-toc): Handle horizontal splitting
13250         (reftex-last-window-width): New variable.
13252         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13253         Use `reftex-bibliography-commands'.
13254         (reftex-locate-bibliography-files): Regexp relaxed to allow for
13255         cases where \bibliography is not the first thing on the line.
13257         * textmodes/reftex.el (reftex-compile-variables):
13258         Use `reftex-include-file-commands'.
13259         (reftex-type-query-prompt): Changed defconst to defvar.
13260         (reftex-type-query-help, reftex-typekey-to-format-alist)
13261         (reftex-typekey-to-prefix-alist, reftex-env-or-mac-alist)
13262         (reftex-special-env-parsers, reftex-label-mac-list)
13263         (reftex-label-env-list, reftex-typekey-list)
13264         (reftex-words-to-typekey-alist, reftex-key-to-index-macro-alist)
13265         (reftex-query-index-macro-prompt, reftex-query-index-macro-help)
13266         (reftex-no-follow-message, reftex-no-info-message): Likewise.
13267         (reftex-mode): Define systax table for bibtex parsing.
13268         (reftex-syntax-table-for-bib): Syntax table for bibtex parsing.
13270         * textmodes/reftex-cite.el (reftex-format-names): %a as name
13271         format lists all names.
13272         (reftex-parse-bibtex-entry): Use `reftex-syntax-table-for-bib'.
13273         (reftex-with-special-syntax-for-bib): New macro.
13275 2002-07-21  Richard M. Stallman  <rms@gnu.org>
13277         * international/ucs-tables.el (ucs-quail-activate):
13278         Cope if buffer-file-coding-system is nil.
13280         * bindings.el (last-buffer): Use buffer-list with frame arg.
13281         Create *scratch* if no other choice exists.  Fix bugs.
13283 2002-07-21  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13285         * net/tramp.el: Bump version to 2.0.2.
13286         (tramp-methods): Rename methods invoking "ssh1" or "ssh2" to
13287         longer names.  Use old names "sm1", "sm2" and so on for methods
13288         invoking "ssh -1" or "ssh -2".
13289         (tramp-multi-file-name-structure-separate): Typo, its name was set
13290         to "tramp-file-name-structure-separate".  Trivial patch.
13291         From Steve Youngs <youngs@xemacs.org>.
13292         (tramp-multi-sh-program): New variable.
13293         (tramp-open-connection-multi): Use it.  Now you can use multi
13294         methods from Windows (at least in principle).
13295         (tramp-do-copy-or-rename-via-buffer): New function.
13296         (tramp-do-copy-or-rename-file): Use it.  Change and simplify
13297         logic.  Omit special case of invoking rcp directly to copy the files.
13298         (tramp-open-connection-su, tramp-multi-connect-telnet)
13299         (tramp-multi-connect-rlogin, tramp-multi-connect-su)
13300         (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
13301         Use backticks in format-spec for brevity and to avoid
13302         character/number confusion in XEmacs.
13304 2002-07-20  Richard M. Stallman  <rms@gnu.org>
13306         * wid-edit.el (widget-documentation-string-value-create):
13307         Say "Hide Rest", not just "Hide".
13309         * cus-edit.el (custom-variable-value-create):
13310         Say "Show Value", not just "Show".  Also "Hide Value".
13311         Output a newline before the doc string.
13312         (custom-face-value-create): Say "Show Face" and "Hide Face".
13314         * files.el (toggle-read-only): Clean up the hint message.
13316         * emacs-lisp/bytecomp.el: Use warnings.el.
13317         (byte-compile-warning-prefix): New function.
13318         (byte-compile-log-file): Return page start position.
13319         (byte-compile-log-warning): New function.
13320         (byte-compile-warn): Use byte-compile-log-warning.
13321         (byte-compile-report-error): Likewise.  Also use error-message-string.
13322         (displaying-byte-compile-warnings): Bind warning-series.
13323         Don't bind or use byte-compile-warnings-point-max.
13324         Don't display the log buffer at the end.
13325         (byte-compile-warnings-point-max): Variable deleted.
13326         (byte-compile-log-1): Rewrite for trace info, not used for warnings.
13327         (byte-compile-last-warned-form, byte-compile-last-logged-file):
13328         Defvars moved.
13330         * warnings.el: New file.
13332 2002-07-19  Richard M. Stallman  <rms@gnu.org>
13334         * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Delete `values'
13335         and `values-list' from list of CL functions.
13337 2002-07-19  John Paul Wallington  <jpw@shootybangbang.com>
13339         * emacs-lisp/bytecomp.el (compile-defun):
13340         Bind `read-with-symbol-positions' to current buffer.
13342 2002-07-19  Andre Spiegel  <spiegel@gnu.org>
13344         * vc-hooks.el (vc-insert-file): When called with a LIMIT regexp,
13345         delete anything that comes after LIMIT from the buffer.
13347         * vc-rcs.el (vc-rcs-fetch-master-state): Be more careful to check
13348         if this is really an RCS master file.
13350         * vc.el: Improve comment of vc-BACKEND-workfile-unchanged-p.
13352 2002-07-19  Juanma Barranquero  <lektu@terra.es>
13354         * emacs-lisp/bytecomp.el (dot, dot-max, dot-min, dot-marker)
13355         (buffer-flush-undo, baud-rate, compiled-function-p, define-function)
13356         (unread-command-char, executing-macro, post-command-idle-hook)
13357         (post-command-idle-delay): Move obsolescence declarations to subr.el.
13359         * subr.el (dot, dot-max, dot-min, dot-marker, buffer-flush-undo)
13360         (baud-rate, compiled-function-p, define-function, unread-command-char)
13361         (executing-macro, post-command-idle-hook, post-command-idle-delay):
13362         Move obsolescence declarations from emacs-lisp/bytecomp.el.
13363         (directory-sep-char, mode-line-inverse-video):
13364         Add obsolescence declaration.
13366 2002-07-18  J.D. Smith  <jdsmith@as.arizona.edu>
13368         * progmodes/idlwave.el: Updated to IDLWAVE version 4.14.  Too many
13369         changes to list them here.
13371         * progmodes/idlw-shell.el: Updated to IDLWAVE version 4.14.
13372         Too many changes to list them here.
13374         * progmodes/idlw-rinfo.el: Updated to IDLWAVE version 4.14.
13375         Too many changes to list them here.
13377         * progmodes/idlw-toolbar.el: Updated to IDLWAVE version 4.14 with
13378         only minor documentation changes.
13380 2002-07-18  Dave Love  <fx@gnu.org>
13382         * info-look.el: Support current auto{conf,make} manuals.
13384 2002-07-18  Juanma Barranquero  <lektu@terra.es>
13386         * bindings.el (last-buffer): Add missing frame argument.
13388 2002-07-18  Richard M. Stallman  <rms@gnu.org>
13390         * timer.el (timer-inc-time): Doc fix.
13392         * replace.el (keep-lines, flush-lines): Interactively report
13393         read-only error before reading regexp argument.
13395         * dabbrev.el (dabbrev--search): Use inhibit-point-motion-hooks.
13397         * bindings.el (last-buffer): Handle buffer-list and buffer-predicate
13398         frame parameters like bury-buffer.
13400         * simple.el (choose-completion-delete-max-match):
13401         Handle minibuffer prompts explicitly.
13403 2002-07-18  Juanma Barranquero  <lektu@terra.es>
13405         * international/mule-util.el (string-to-sequence, truncate-string):
13406         Add autoload cookie to obsolescence declaration.
13408         * rect.el (move-to-column-force): Likewise.
13410         * composite.el (decompose-composite-char): Likewise; also remove
13411         redundant info.
13413 2002-07-18  Kim F. Storm  <storm@cua.dk>
13415         * loadup.el: Load international/utf-8 before international/characters.
13417 2002-07-17  Dave Love  <fx@gnu.org>
13419         * international/ucs-tables.el: Optimize tables.  Deal with some
13420         non-8859 charsets.
13421         (ucs-mule-to-mule-unicode): New.
13422         (ucs-unify-8859): Use utf-8-fragment-on-decoding, set up Quail
13423         translation.
13424         (ucs-fragment-8859): Modified consistent with ucs-unify-8859.
13425         (unify-8859-on-encoding-mode): Doc mod.  Fix custom version.
13426         (unify-8859-on-decoding-mode): Doc mod.  Change code.  Fix custom
13427         version.  Add custom dependencies.
13428         (ucs-insert): Check for null from decode-char.
13429         (translation-table-for-input, ucs-quail-activate)
13430         (ucs-minibuffer-setup, ccl-encode-unicode-font)
13431         (ucs-tables-unload-hook): New.
13433         * international/mule.el (define-translation-hash-table): New.
13434         (decode-char): Use utf-8-translation-table-for-decode.
13435         (encode-char): Use ucs-mule-to-mule-unicode.
13437         * international/characters.el: Fix settings of U+2000-U+2027.
13438         Remove \e$(C'Y\e(B.
13440         * international/mule-cmds.el (locale-language-names): Fix be, add
13441         sr_YU@cyrillic, modify tg.
13442         (locale-charset-language-names): Put @euro last.
13444         * language/cyrillic.el (cyrillic-koi8-r-decode-table)
13445         (cyrillic-alternativnyj-decode-table): Fill out with mule-unicode.
13446         (cyrillic-koi8-r-decode-table): Make unbound after use.
13447         (ccl-decode-koi8, ccl-decode-alternativnyj): Change expansion
13448         factor.  Use utf-8-translation-table-for-decode.
13449         (ccl-encode-koi8, ccl-encode-koi8): Don't check r0.
13450         (cyrillic-unify-encoding): New function.
13451         (cyrillic-koi8): Modify safe-chars, valid-codes.
13452         Remove charset-origin-alist.
13453         (Cp878, cp866): New alias.
13454         (ccl-encode-8859-5-font): New.
13455         (font-ccl-encoder-alist): Add ccl-encode-8859-5-font.
13456         (ccl-encode-koi8-font, ccl-encode-alternativnyj-font):
13457         Remove redundant parens.
13458         ("Cyrillic-KOI8"): Add cyrillic-iso-8bit to coding-priority.
13459         (cyrillic-koi8-u-decode-table, ccl-decode-koi8-u)
13460         (ccl-encode-koi8-u, koi8-u, ccl-encode-koi8-u-font, "Ukrainian"): New.
13461         (cyrillic-alternativnyj): Modify safe-chars, add mime-charset.
13462         ("Cyrillic-ALT"): Change input method.
13463         ("Windows-1251", "Tajik", "Bulgarian", "Belarusian"): New.
13465         * international/utf-8.el (utf-8-subst-table)
13466         (utf-8-subst-rev-table, utf-8-translation-table-for-decode)
13467         (utf-8-fragment-on-decoding, ccl-untranslated-to-ucs)
13468         (utf-8-ccl-regs, utf-8-translate-cjk): New.
13469         (ccl-encode-mule-utf-8): Use utf-8-subst-rev-table.
13470         (ccl-decode-mule-utf-8, ccl-untranslated-to-ucs)
13471         (utf-8-untranslated-to-ucs, utf-8-compose): Rewritten.
13472         (mule-utf-8): Remove pre-write-conversion.
13473         (utf-8-post-read-conversion): Comment out.
13475         * international/ccl.el (ccl-command-table): Add lookup-integer,
13476         lookup-character.
13477         (ccl-extended-code-table): Add lookup-int-const-tbl,
13478         lookup-char-const-tbl.
13479         (ccl-compile-lookup-integer, ccl-compile-lookup-character)
13480         (ccl-dump-lookup-int-const-tbl, ccl-dump-lookup-char-const-tbl):
13481         New functions.
13482         (define-ccl-program): Doc update.
13484         * international/utf-8-subst.el: Populate utf-8-subst-rev-table.
13485         (utf-8-subst-table): Don't set.
13487 2002-07-17  Kenichi Handa  <handa@etl.go.jp>
13489         * international/mule.el (define-coding-system-alias):
13490         Don't append ALIAS in the property `alias-coding-systems' if ALIAS's
13491         eol-type is not auto-detection.
13493         * international/mule-diag.el (print-coding-system-briefly):
13494         Fix the handling of an alias of which eol-type is not auto-detection.
13496         * international/mule-conf.el (us-ascii): Define it as an alias of
13497         iso-safe.
13499 2002-07-17  Juanma Barranquero  <lektu@terra.es>
13501         * help-fns.el (describe-function-1): Put empty line before "Not
13502         documented" text.
13504         * timer.el (timer-set-time-with-usecs): Mark obsolete.
13506 2002-07-16  Stefan Monnier  <monnier@cs.yale.edu>
13508         * toolbar/tool-bar.el (tool-bar-add-item-from-menu):
13509         Make sure to change the global tool-bar-map.
13511         * vc.el (vc-default-comment-history): Hard code *vc*.
13512         This is because print-log always prints there now.
13513         (vc-annotate-font-lock-keywords): New var.
13514         (vc-annotate-mode): Use it.  Set truncate-lines as well.
13515         (vc-annotate-display-select): Unify the two error reports.
13516         (vc-annotate-offset): New var.
13517         (vc-annotate-lines): New fun extracted from vc-annotate-display.
13518         (vc-annotate-display): Use it, via font-lock.
13520         * help-fns.el (help-split-fundoc, help-function-arglist)
13521         (help-make-usage): New funs, extracted from describe-function-1.
13522         (describe-function-1): Use them.
13524         * help.el (help-key-description): Show the untranslated keys
13525         when they start with ESC and the ESC was not translated.
13527         * help-mode.el (view): Always require.
13528         (help-xref-mule-regexp): Don't use defconst for variables.
13529         (help-setup-xref): Keep the last 10 elements of the stack.
13530         (help-xref-override-view-map): New var.
13531         (help-make-xrefs): Use it instead of building a new map each time.
13532         (help-function-def): Allow help-fun to take a buffer as arg.
13534         * diff-mode.el (diff-reverse-direction): Simplify.
13535         (diff-after-change-function): Fix typo.
13536         (diff-post-command-hook): Take care of edge cases.
13537         (diff-current-defun): Do `goto-char' after setting the mode.
13539         * mouse-sel.el (mouse-sel-mode): Use define-minor-mode.
13540         Fold mouse-sel-bindings into it.
13541         (mouse-sel-bound-events): Turn it into an alist.
13542         (mouse-insert-selection): Delegate to mouse-yank-at-click if
13543         mouse-sel-default-bindings asks for it.
13545 2002-07-16  Andre Spiegel  <spiegel@gnu.org>
13547         * files.el: Bind toggle-read-only to C-x C-q.
13548         (toggle-read-only): Display a warning message if the file is under
13549         version control.
13551         * vc-hooks.el: Don't bind vc-toggle-read-only to C-x C-q.
13552         (vc-toggle-read-only): Explain in the doc string that users can bind
13553         this to C-x C-q.
13554         (vc-checkout-model): Change doc string to refer to vc-next-action,
13555         not vc-toggle-read-only.
13557         * vc.el (vc-next-action-on-file): Ignore buffer-read-only while
13558         comparing to file on disk.  Fix the case when claiming the lock
13559         on a file that has unlocked changes.
13560         (vc-log-mode): Don't mention vc-toggle-read-only in the doc string.
13562 2002-07-16  Richard M. Stallman  <rms@gnu.org>
13564         * simple.el (choose-completion-string): Doc fix.
13566         * cus-edit.el: New operation :custom-standard-value.
13567         (Custom-reset-standard): Use it.
13568         (custom-variable, custom-face): Define it.
13569         (custom-variable-standard-value, custom-face-standard-value): New fns.
13570         (custom-face-save): Don't save a face whose value is standard.
13571         (custom-save-faces): Use SYMBOL, not 'default, to set NOW and COMMENT.
13573         * cus-edit.el (custom-face-edit-fix-value):
13574         If VALUE is not a list, pass it thru.
13576         * compare-w.el (compare-windows-whitespace): Always allow newline
13577         even if it does not have whitespace syntax.
13579 2002-07-16  Juanma Barranquero  <lektu@terra.es>
13581         * timer.el (timer-set-time, timer-set-time-with-usecs): Fix docstring.
13583 2002-07-15  Juanma Barranquero  <lektu@terra.es>
13585         * help-fns.el (describe-variable): Show documentation for aliased
13586         variable if alias does not have its own.
13588 2002-07-15  Mike Williams  <mdub@bigfoot.com>
13590         * mouse-sel.el (mouse-sel-bindings): Save/restore interprogram
13591         cut/paste functions.
13593 2002-07-14  Richard M. Stallman  <rms@gnu.org>
13595         * files.el (find-alternate-file): Offer to save a modified buffer.
13596         Handle kill-buffer-query-functions better.
13598         * startup.el (normal-splash-screen, fancy-splash-text):
13599         Update name of help menu item for ordering printed manuals.
13601         * emacs-lisp/checkdoc.el: Fix doc typos.
13603 2002-07-14  Stefan Monnier  <monnier@cs.yale.edu>
13605         * textmodes/tex-mode.el: Set encoding to utf-8.
13606         (tex-start-options): Make it into always-a-string.
13607         Remove silly custom options that are covered by the other var.
13608         (tex-start-commands): Fix docstring.
13609         (tex-open-quote, tex-close-quote): Add options.
13610         (tex-command): Provide default.
13611         (tex-font-lock-keywords-1): Highlight $$...$$.
13612         (tex-font-lock-keywords-2): Fix latin-1 chars.
13613         (tex-mode-map): Remove redundant \t binding.
13614         (tex-mode): Add `subsection' and `newcommand' to known latex cmds.
13615         (latex-mode): Use add-hook for fill-nobreak-predicate.
13616         (tex-common-initialization): Set indent-tabs-mode to nil.
13617         (tex-insert-quote): Undo magic if invoked twice in a row.
13618         (latex-fill-nobreak-predicate): Don't use narrowing.
13619         (tex-latex-block): Don't cons uselessly.
13620         (tex-last-unended-begin): Signal user-friendlier error.
13621         (tex-goto-last-unclosed-latex-block): Don't catch signal.
13622         (tex-start-tex): Switch order of tex-start-options and
13623         tex-start-commands to make it obey docstrings.
13625 2002-07-14  Mike Williams  <mdub@bigfoot.com>
13627         * mouse-sel.el (mouse-sel-bound-events): New constant.
13628         (mouse-sel-bindings): Save/restore original mouse-bindings.
13630 2002-07-13  Stefan Monnier  <monnier@cs.yale.edu>
13632         * emacs-lisp/cl.el (cl-set-substring): Fix thinko.
13633         (cl-hack-byte-compiler): Avoid infinite require loop.
13635         * net/ange-ftp.el: Use hash-tables.
13636         (ange-ftp-make-hashtable, ange-ftp-map-hashtable)
13637         (ange-ftp-make-hash-key, ange-ftp-get-hash-entry)
13638         (ange-ftp-put-hash-entry, ange-ftp-del-hash-entry): Remove.
13639         Replace with make-hash-table, maphash, gethash, puthash and remhash.
13640         (ange-ftp-hash-entry-exists-p): Rewrite.
13641         (ange-ftp-vms-delete-file-entry, ange-ftp-vms-add-file-entry):
13642         Change mapatom -> maphash.
13643         (ange-ftp-file-entry-active-p, ange-ftp-file-entry-not-ignored-p):
13644         Update to new calling mode.
13646         * progmodes/ebrowse.el (ebrowse-symbol-regexp): Avoid cl-set-substring.
13647         (ebrowse-hash-table-to-alist): Delete.
13648         (ebrowse-tags-read-name, ebrowse-tags-list-members-in-file)
13649         (ebrowse-tags-complete-symbol): Use the hashtable for completion.
13651         * textmodes/sgml-mode.el (sgml-quote): Use narrowing.
13652         Improve the regexp used when unquoting.
13653         (sgml-pretty-print): New function.
13654         (sgml-get-context): Better handling of improperly nested tags.
13655         (sgml-show-context): Don't use the FULL arg of sgml-get-context.
13657 2002-07-13  Andreas Schwab  <schwab@suse.de>
13659         * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Check the
13660         inherited table entry.
13662 2002-07-13  Glenn Morris  <gmorris@ast.cam.ac.uk>
13664         * calendar/timeclock.el (timeclock-in): Handle the case where no
13665         log file exists (ie the very first call).
13667 2002-07-13  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13669         * net/ange-ftp.el: Do not hook into file-name-handler-alist, this
13670         is done by Tramp.
13672         * net/tramp.el (tramp-multi-file-name-structure-unified):
13673         Add missing slash and move colon from start to end of each hop.
13674         (tramp-multi-file-name-hop-structure-unified): Move colon from
13675         start to end of each hop.
13677 2002-07-13  Kim F. Storm  <storm@cua.dk>
13679         * progmodes/compile.el (grep-tree): Fixed autoload.
13680         Corrected use of undefined variable `match-files-aliases'.
13682 2002-07-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
13684         * calendar/timeclock.el (timeclock-get-workday-function):
13685         `timeclock-workday' is not a valid option, rather a possible
13686         return value.
13688 2002-07-12  Richard M. Stallman  <rms@gnu.org>
13690         * net/ange-ftp.el (ange-ftp-write-region):
13691         Don't bind executing-kbd-macro; instead, pass non-nil VISIT arg
13692         to ange-ftp-real-write-region.
13694         * replace.el (flush-lines, keep-lines): Convert REND to a marker.
13696         * help-fns.el (help-with-tutorial): Display completion list right away.
13698         * ediff-ptch.el (ediff-test-patch-utility): Catch error and return nil.
13700         * startup.el (command-line): Set memory-signal-data.
13701         (fancy-splash-text, normal-splash-screen):
13702         Mention "Read the Emacs Manual" or C-h r.
13703         Rearrange the initial help to put the help cmds on left
13704         and the actions (exit, undo) on the right.  Other small
13705         text clarifications.
13706         (fancy-splash-text, actions page): Add blank line to balance help page.
13708         * help.el (help-map): Add binding for info-emacs-manual.
13709         (print-help-return-message): Doc fix.
13711         * strokes.el (strokes-help): Call print-help-return-message
13712         while inside with-output-to-temp-buffer.
13714         * info.el (info-emacs-manual): New function.
13715         (Info-use-header-line): Doc fix.
13717         * emacs-lisp/cl.el (multiple-value-call): Add alias.
13719         * progmodes/compile.el (compilation-normalize-filename):
13720         New subroutine, taken out of compilation-parse-errors.
13721         (compilation-parse-errors): Use that, and for directories too.
13722         Don't check whether a directory really exists.
13724 2002-07-12  Juanma Barranquero  <lektu@terra.es>
13726         * help-fns.el (describe-variable): Remove useless "Documentation:"
13727         string.
13729         * timer.el (timer-set-time-with-usecs): Fix documentation.
13730         Simplify extraction of time data.
13732 2002-07-12  John Paul Wallington  <jpw@shootybangbang.com>
13734         * help-fns.el (describe-variable): Mention if the variable is an
13735         alias.  Put `defvaralias' info before the documentation.
13737 2002-07-12  Kenichi Handa  <handa@etl.go.jp>
13739         * international/mule-cmds.el (locale-language-names): Change "mk"
13740         (Macedoninan), "ru" (Russian), and "sp" (Serbian with Cyrillic
13741         alphabet) to "Cyrillic-ISO".
13743 2002-07-11  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13745         * net/tramp.el (tramp-default-method): New default method "sm"
13746         which I guess to be good for most people.
13747         (tramp-default-method-alist): Use "ftp" method (ie, forwarding to
13748         Ange-FTP) for some user/host combinations.
13749         (tramp-file-name-structure, tramp-file-name-regexp)
13750         (tramp-make-tramp-file-format, tramp-make-tramp-file-user-nil-format)
13751         (tramp-multi-file-name-structure, tramp-multi-file-name-hop-structure)
13752         (tramp-make-multi-tramp-file-format): New default value which
13753         unifies the filename syntax between Tramp and Ange-FTP.  The new
13754         syntax is "/method:user@host:path".  Note the colon after the method.
13755         (tramp-handle-file-name-directory): Don't return "/" when
13756         completing a remote root directory (where the filename looks like
13757         "/method:user@host:/").
13758         (tramp-handle-ange-ftp): Deleted.
13759         (tramp-disable-ange-ftp): New function, called at toplevel,
13760         deletes Ange-FTP from file-name-handler-alist.
13761         (tramp-handle-make-symbolic-link): Implement.
13763 2002-07-10  Juanma Barranquero  <lektu@terra.es>
13765         * ido.el (ido-enter-single-matching-directory): Delete leftover comment.
13767         * speedbar.el (speedbar-tag-hierarchy-method): Fix typos.
13768         (speedbar-vc-do-check): Likewise.
13769         (speedbar-obj-do-check): Likewise.
13770         (speedbar-mouse-hscroll): Likewise.
13771         (speedbar-file-lists): Likewise.
13773         * emacs-lisp/authors.el (authors-obsolete-file-p): Fix typo.
13775 2002-07-09  Ole Aamot  <ole@gnu.org>
13777         * compile.el (compilation-error-regexp-alist):
13778         Recognize Valgrind messages.
13780 2002-07-09  Juanma Barranquero  <lektu@terra.es>
13782         * faces.el (face-id): Fix typo.
13784         * hexl.el (hexl-mode): Likewise.
13786         * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise.
13788         * progmodes/ebnf-yac.el (ebnf-yac-error): Likewise.
13790         * speedbar.el (speedbar-make-specialized-keymap): Fix docstring.
13791         (speedbar-desired-buffer): Likewise.
13792         (speedbar-line-file): Likewise.
13793         (speedbar-special-mode-key-map): Fix typo.
13794         (speedbar-dynamic-tags-function-list): Likewise.
13795         (speedbar-use-images): Likewise.
13796         (speedbar-up-directory): Likewise.
13797         (speedbar-item-info): Likewise.
13798         (speedbar-set-timer): Likewise.
13799         (speedbar-insert-button): Likewise.
13800         (speedbar-make-button): Likewise.
13801         (speedbar-make-tag-line): Likewise.
13802         (speedbar-insert-files-at-point): Likewise.
13803         (speedbar-update-special-contents): Likewise.
13804         (speedbar-find-selected-file): Likewise.
13805         (speedbar-add-indicator): Likewise.
13806         (speedbar-do-function-pointer): Likewise.
13807         (speedbar-goto-this-file): Likewise.
13808         (speedbar-line-path): Likewise.
13809         (speedbar-mouse-event-p): Likewise.
13810         (speedbar-dir-follow): Likewise.
13811         (speedbar-tag-find): Likewise.
13812         (speedbar-fetch-etags-command): Likewise.
13813         (speedbar-fetch-etags-arguments): Likewise.
13814         (speedbar-toggle-etags): Likewise.
13815         (speedbar-extract-one-symbol): Likewise.
13816         (speedbar-parse-c-or-c++tag): Likewise.
13817         (speedbar-unhighlight-one-tag-line): Likewise.
13818         (speedbar-directory-face): Likewise.
13819         (defimage-speedbar): Likewise.
13820         (speedbar-convert-emacs21-imagespec-to-xemacs): Likewise.
13822 2002-07-09  Miles Bader  <miles@gnu.org>
13824         * hexl.el (hexl-find-file): Bind `completion-ignored-extensions'
13825         to nil when prompting for a filename.
13827 2002-07-09  Kenichi Handa  <handa@etl.go.jp>
13829         * files.el (insert-directory): Be sure to bind
13830         coding-system-for-write to the just decided coding-system-for-read.
13832 2002-07-09  Kim F. Storm  <storm@cua.dk>
13834         * ido.el (ido-make-merged-file-list): Move fully matching item to
13835         head of list.
13836         (ido-find-common-substring): Return substring instead of t.
13838 2002-07-08  Juanma Barranquero  <lektu@terra.es>
13840         * info.el (Info-directory-list): Fix docstring.
13842 2002-07-08  Miles Bader  <miles@gnu.org>
13844         * comint.el (comint-dynamic-list-completions): Sort COMPLETIONS
13845         before first use.
13847 2002-07-08  Kim F. Storm  <storm@cua.dk>
13849         * files.el (after-find-file): Don't check for read-only status
13850         of files just created (and not yet saved on disk).
13852         * ido.el (ido-completion-help): Changed xemacs specific code to
13853         avoid byte compiler warning in GNU emacs.
13854         (ido-set-matches1): Use regexp-quote instead of identity.
13855         (ido-complete-space): New function.
13856         (ido-define-mode-map): Bind it to SPACE.
13858 2002-07-07  Stefan Monnier  <monnier@cs.yale.edu>
13860         * font-lock.el (font-lock-default-unfontify-region):
13861         Use remove-list-of-text-properties.
13862         (font-lock-extra-managed-props): Doc fix.
13864         * facemenu.el: Move `provide' to the end.
13865         (facemenu-read-color): Don't cons unnecessarily.
13867         * language/ind-util.el (indian-make-hash):
13868         * language/devan-util.el (dev-char-glyph-hash, dev-glyph-glyph-hash)
13869         (dev-glyph-glyph-2-hash): Switch makehash -> make-hash-table.
13871         * subr.el (insert-string): Update the obsolete info.
13872         (makehash): Move from C and mark obsolete.
13874         * emacs-lisp/debug.el (debug-on-entry): Fix the wrapper used for
13875         aliases to also work for interactive functions.
13876         Use the same wrapper for subroutines.
13877         (cancel-debug-on-entry): Get rid of the now-useless wrapper.
13878         (debug-on-entry-1): Correctly skip docstrings and interactive forms.
13880         * textmodes/texinfo.el (texinfo-font-lock-keywords): Disable the
13881         automatic environment name update.
13882         (texinfo-clone-environment): Fix it not to incorrectly match prefixes.
13884 2002-07-07  Richard M. Stallman  <rms@gnu.org>
13886         * emacs-lisp/easymenu.el (easy-menu-popup-menu): Function deleted.
13888         * emacs-lisp/advice.el (ad-compile-function):
13889         Disable cl-function warnings if cl is loaded.
13891         * files.el (safe-local-eval-forms): New user option.
13892         (hack-one-local-variable-eval-safep): Support it.
13893         Also allow `safe-local-eval-function' property to be a function
13894         or a list of functions.
13895         (c-add-style): Delete `safe-local-eval-function' property.
13897         * files.el (after-find-file): Make buffer read-only if file is
13898         marked that way, even for root.
13900         * files.el (save-some-buffers): Doc fix.
13902         * bindings.el (completion-ignored-extensions): Add .gmo and .mo.
13904 2002-07-06  Francesco Potort\e,Al\e(B  <pot@gnu.org>
13906         * dos-w32.el (file-name-buffer-file-type-alist): Add knowledge of
13907         .sx[dmicw] file suffixes for Open office data files.
13909         * files.el (auto-mode-alist): Likewise.
13911         * international/mule.el (auto-coding-alist): Likewise.
13913 2002-07-05  Kim F. Storm  <storm@cua.dk>
13915         * emulation/cua-rect.el (cua--rectangle-operation): Don't call
13916         FCT if current column is outside rectangle.
13917         (cua--delete-rectangle): Do nothing if zero width or out of bounds.
13919 2002-07-04  Stefan Monnier  <monnier@cs.yale.edu>
13921         * net/ange-ftp.el: Use add-hook and find-file-hook.
13922         (ange-ftp-parse-netrc): Use run-hooks and find-file-hook.
13923         (ange-ftp-ls-parser): Make it into a function.
13924         Ignore trailing @ in symlink targets.
13925         (ange-ftp-file-entry-p): Ignore FTP errors.
13926         (ange-ftp-insert-directory): Use ange-ftp-expand-symlink
13927         to correctly expand "/flint:/bla -> ./etc" to /flint:/etc.
13929 2002-07-04  Per Abrahamsen  <abraham@dina.kvl.dk>
13931         * simple.el (toggle-truncate-lines): New command.
13933 2002-07-04  Miles Bader  <miles@gnu.org>
13935         * comint.el (comint-displayed-dynamic-completions): New variable.
13936         (comint-dynamic-list-completions): Be more careful about choosing
13937         when to scroll an existing completions window.
13939 2002-07-03  Andreas Schwab  <schwab@suse.de>
13941         * net/tramp.el (tramp-handle-ange-ftp): Move interactive spec
13942         after doc string.
13944 2002-07-03  Juanma Barranquero  <lektu@terra.es>
13946         * net/tramp.el (tramp-send-eof): Fix typo.
13947         (tramp-kill-process): Likewise.
13949         * play/dunnet.el (dun-physobj-desc): Likewise.
13951         * textmodes/reftex-vars.el (reftex-label-alist): Likewise.
13953         * calendar/timeclock.el (timeclock-workday-remaining): Likewise.
13954         (timeclock-workday-elapsed): Likewise.
13956         * allout.el (outline-goto-prefix): Likewise.
13958         * emulation/tpu-edt.el (tpu-delete-to-eol): Likewise.
13959         (tpu-delete-to-bol): Likewise.
13961         * subr.el (chars-in-region): Add obsolescence declaration for
13962         `chars-in-region'.
13964 2002-07-03  Miles Bader  <miles@gnu.org>
13966         * faces.el (header-line): Don't use a `common' clause for
13967         inheriting from the mode-line face, since we can't override it,
13968         and we don't want it for ttys.
13970 2002-07-02  Richard M. Stallman  <rms@gnu.org>
13972         * net/ange-ftp.el (ange-ftp-hook-function): Add file-remote-p prop.
13974         * files.el (hack-one-local-variable-constantp): New function.
13975         (hack-one-local-variable-eval-safep): New function.
13976         Check for `eval:' calling fn with `safe-local-eval-function' property.
13977         (hack-one-local-variable): Use hack-one-local-variable-eval-safep.
13978         (c-add-style, c-set-style): Add safe-local-eval-function property.
13980         * files.el (insert-directory): Handle --dired option to ls.
13982         * files.el (file-remote-p): New function.
13984         * emacs-lisp/easymenu.el (easy-menu-popup-menu): New function.
13986         * startup.el (fancy-splash-screens): Switch to a chosen frame.
13987         (fancy-splash-frame): Choose the right frame to use.
13988         (use-fancy-splash-screens-p): Check dimensions of the right frame
13989         in order to decide.
13991         * emacs-lisp/bytecomp.el (byte-compile-warning-types):
13992         Rename cl-func to cl-functions.  Enable it by default.
13993         (byte-compile-file-form-eval-boundary): Turn off cl-functions warnings
13994         if the file loads cl.
13995         (byte-compile-initial-macro-environment): For eval-and-compile,
13996         use byte-compile-eval-before-compile to eval.
13997         (byte-compile-eval-before-compile): New function to turn off
13998         cl-functions when appropriate, for eval-and-compile.
13999         (byte-compile-warnings): Doc fix.
14001 2002-07-02  Dave Love  <fx@gnu.org>
14003         * emacs-lisp/bytecomp.el (byte-compile-warnings): Add cl-func option.
14004         (byte-compile-cl-warn): New function.
14005         (byte-compile-form): Use it, to warn about calling cl functions.
14006         (byte-compile-warning-types): Doc fix.
14008 2002-07-02  Juanma Barranquero  <lektu@terra.es>
14010         * mail/rmailsum.el (rmail-user-mail-address-regexp): Fix typo.
14012         * textmodes/reftex-cite.el (reftex-citation): Fix typo.
14014         * progmodes/cperl-mode.el (cperl-break-one-line-blocks-when-indent):
14015         Fix typo.
14017 2002-07-02  Kim F. Storm  <storm@cua.dk>
14019         * emacs-lisp/bindat.el: New file.
14021 2002-07-01  Sam Steingold  <sds@gnu.org>
14023         * textmodes/tex-mode.el (tex-file): Call `save-some-buffers'
14024         before `tex-main-file' because if the current buffer is new, its
14025         file might not exist yet, and then `tex-main-file' will
14026         incorrectly return "foo.tex.tex".
14028 2002-07-01  Juanma Barranquero  <lektu@terra.es>
14030         * ido.el (ido-minibuffer-setup-hook): Doc fix.
14032 2002-07-01  Dave Love  <fx@gnu.org>
14034         Make strokes a proper minor mode, and don't try to overload
14035         mouse-2, which doesn't work satisfactorily.
14037         * strokes.el: Doc fixes.
14038         (strokes-mode): Defcustom deleted; replaced by minor mode def with
14039         re-written function.
14040         (strokes-while-inhibiting-garbage-collector): Comment out.
14041         (define-stroke, strokes-fix-button2-command, strokes-insinuated)
14042         (strokes-insinuate, global-set-stroke, describe-stroke)
14043         (load-user-strokes, save-strokes, strokes-bug-address)
14044         (strokes-click-command): Deleted.
14045         (strokes-execute-stroke): Remove strokes-click-p case.
14046         (strokes-describe-stroke): Remove strokes-click-p stuff.
14047         (strokes-help): Fix.
14048         (strokes-report-bug): Alias to report-emacs-bug.
14049         (strokes-prompt-user-save-strokes): Modify format of the file.
14050         (strokes-mode-map, strokes-unload-hook): New.
14051         (strokes-buffer-name): Don't customize.
14053 2002-07-01  Richard M. Stallman  <rms@gnu.org>
14055         * info.el (Info-index): Get immediate error if used in `dir'.
14057         * textmodes/picture.el (picture-forward-column)
14058         (picture-move-down): Never deactivate the mark.
14060 2002-06-30  Simon Josefsson  <jas@extundo.com>
14062         * menu-bar.el (menu-bar-options-menu): Move elisp mode names from
14063         menu entry into balloon help.
14065 2002-06-30  Andreas Schwab  <schwab@suse.de>
14067         * files.el (directory-free-space-args): Don't use `-P' on Darwin.
14068         * term/mac-win.el: Don't set it here.
14070 2002-06-29  Stefan Monnier  <monnier@cs.yale.edu>
14072         * pcvs-defs.el (cvs-mode-map): Bind ! to `force'.
14074 2002-06-29  Andreas Schwab  <schwab@suse.de>
14076         * term/mac-win.el: Use directory-free-space-program instead of
14077         obsolete variable dired-free-space-program.  On Darwin, don't set
14078         directory-free-space-program, shell-file-name and
14079         process-connection-type; set directory-free-space-args to not
14080         include `-P' and use utf-8 for file name coding system.
14082         * simple.el (shell-command-on-region): Handle errors and signals
14083         from shell command execution.
14084         (display-message-or-buffer): Fix last change.
14085         (shell-command-default-error-buffer): Doc fix.
14087         * dired.el (dired-view-file): Quote file name for
14088         dired-run-shell-command.
14090 2002-06-29  Kim F. Storm  <storm@cua.dk>
14092         * kmacro.el: New file.
14094 2002-06-28  John Wiegley  <johnw@gnu.org>
14096         * pcmpl-cvs.el: Added my name as the maintainer of this file.
14098 2002-06-28  Andreas Schwab  <schwab@suse.de>
14100         * shell.el (explicit-bash-args): New user option.
14102 2002-06-28  Kim F. Storm  <storm@cua.dk>
14104         * ido.el: New file.
14106 2002-06-28  Stefan Monnier  <monnier@cs.yale.edu>
14108         * derived.el (define-derived-mode): Preserve the `mode-class' rather
14109         than the `special' symbol property.
14110         (derived-mode-class): Make it obsolete.
14112 2002-06-27  Andreas Schwab  <schwab@suse.de>
14114         * net/tramp.el (tramp-handle-ange-ftp): Fix typo.
14116 2002-06-27  Juanma Barranquero  <lektu@terra.es>
14118         * emacs-lisp/bytecomp.el (baud-rate): Fix obsolescence declaration.
14119         (meta-flag): Likewise.
14121         * international/mule-util.el (string-to-sequence): Likewise.
14123         * subr.el (char-bytes): Likewise.
14124         (make-local-hook): Likewise.
14125         (baud-rate): Remove redundant info from docstring.
14127         * faces.el (frame-update-faces): Fix obsolescence declaration.
14128         (internal-get-face): Remove redundant info from docstring and
14129         fix obsolescence declaration.
14131         * rect.el (move-to-column-force): Likewise.
14133         * help-fns.el (describe-function-1): Use semicolon instead of dot.
14134         (describe-variable): Likewise.
14136 2002-06-27  Stefan Monnier  <monnier@cs.yale.edu>
14138         * mwheel.el (mouse-wheel-change-button): Deactivate before changing.
14139         (mouse-wheel-up-button, mouse-wheel-down-button): Obsolete.
14140         (mouse-wheel-up-event, mouse-wheel-down-event): New vars.
14141         (mouse-wheel-follow-mouse): Change default to t.
14142         (mwheel-event-button): Return the basic event symbol.
14143         (mwheel-scroll): Work with non-mouse events.
14144         (mouse-wheel-mode): Use the new vars.
14145         (mwheel-install): Obey `uninstall'.
14147         * term/xterm.el (function-key-map): Add some bindings.
14149         * uniquify.el (uniquify-delay-rationalize-file-buffer-names):
14150         Rename from delay-uniquify-rationalize-file-buffer-names.
14151         Only rationalize if the buffer is under uniquify control.
14152         (uniquify-delayed-rationalize-file-buffer-names):
14153         Rename from delayed-uniquify-rationalize-file-buffer-names.
14155 2002-06-27  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
14157         * net/tramp.el (tramp-file-name-structure)
14158         (tramp-multi-file-name-hop-structure): Split for easier readability.
14159         (tramp-handle-make-symbolic-link): Use user/host/method/... from
14160         LINKNAME, not FILENAME.
14161         (tramp-handle-verify-visited-file-modtime):
14162         Call tramp-ange-ftp-file-name-p with right parameters.
14163         (tramp-handle-verify-visited-file-modtime): `insert' does not
14164         work for integers, convert them to strings first.
14165         (tramp-handle-ange-ftp): New function to perform setup for
14166         replacing Ange-FTP with Tramp.
14167         (tramp-repair-jka-compr): New function to factor out some
14168         previously top-level code.  Call the function at top-level.
14170 2002-06-27  Juanma Barranquero  <lektu@terra.es>
14172         * composite.el (decompose-composite-char): Fix docstring.
14174         * faces.el (describe-face): Capitalize "not documented" message.
14176         * help-fns.el (describe-variable): Likewise.
14177         (describe-function-1): Likewise. Also, document the obsolescence
14178         of the function, if applicable.
14180 2002-06-26  Juanma Barranquero  <lektu@terra.es>
14182         * info.el (info-menu-5): Fix documentation.
14183         (Info-fontify-maximum-menu-size): Remove reference to `Info-fontify'.
14185 2002-06-26  Richard M. Stallman  <rms@gnu.org>
14187         * emacs-lisp/cl.el (values): Simplify definition.
14189         * simple.el (shell-command): Match & only at end of whole command.
14190         (display-message-or-buffer): Don't use the echo area
14191         if output buffer is visible.
14193         * tooltip.el (tooltip-x-offset, tooltip-y-offset): Doc fixes.
14195         * progmodes/cperl-mode.el: Many trivial doc fixes.
14196         (cperl-non-problems): Definition deleted.
14197         (cperl-menu): Don't refer to cperl-non-problems.
14198         (cperl-word-at-point): Add doc string.
14199         (cperl-beautify-regexp-piece): Fix error message.
14200         (cperl-invert-if-unless): Fix error message.
14202         * dired.el (dired-find-alternate-file): Mark as disabled.
14204 2002-06-25  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
14206         * net/tramp.el (tramp-ftp-method): New user option.
14207         (tramp-invoke-ange-ftp): New function to forward calls to Ange-FTP.
14208         (with-parsed-tramp-file-name): New macro for the usual big `let'
14209         statement to dissect a file-name.
14210         (tramp-handle-make-symbolic-link, tramp-handle-load)
14211         (tramp-handle-file-name-directory)
14212         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
14213         (tramp-handle-file-truename, tramp-handle-file-directory-p)
14214         (tramp-handle-file-regular-p, tramp-handle-file-symlink-p)
14215         (tramp-handle-file-writable-p, tramp-handle-file-writable-p):
14216         Use the new macro and forward call to Ange-FTP if applicable.
14217         (tramp-make-ange-ftp-file-name): New helper function to convert a
14218         file name into an Ange-FTP file name, used by `tramp-invoke-ange-ftp'.
14219         (tramp-default-method-alist): New user option.
14220         (tramp-find-default-method): Use it.
14221         (tramp-sh-extra-args): New variable.
14222         (tramp-find-shell): Use it.
14223         (tramp-open-connection-rsh): Support a kludgy feature for the
14224         "-p" option to ssh.  If host name is given as "host#42", uses the
14225         "-p 42" option.
14227 2002-06-25  Andreas Schwab  <schwab@suse.de>
14229         * replace.el (occur-1): Avoid invalid message format string.
14231 2002-06-24  Stefan Monnier  <monnier@cs.yale.edu>
14233         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn):
14234         Check for `noruntime' even if the function has a known sig.
14235         (byte-compile-file, byte-compile-output-docform):
14236         Don't hard code point-min = 1.
14238         * pcvs.el (cvs-parse-process): Don't save/restore point.
14239         Fix last change not to introduce spurious dir FIs.
14240         (cvs-move-to-goal-column): New function extracted from
14241         cvs-mode-previous-line.
14242         (cvs-mode-previous-line, cvs-mode-next-line): Use it.
14243         (cvs-addto-collection): Use it to preserve point.
14244         (cvs-vc-command-advice): Ad-hoc workaround for `cvs -q add'.
14246         * mwheel.el (mouse-wheel-scroll-amount,mwheel-scroll,mouse-wheel-mode):
14247         Don't require the first element to be modifier-free.
14249         * pcvs-parse.el (cvs-parse-table):
14250         Handle `nothing known about' with more care.
14252         * pcvs.el (cvs-fileinfo-kill): Remove.
14253         (cvs-parse-process): Add `old-fis' argument.
14254         (cvs-mode-run): Use it instead of cvs-fileinfo-kill.
14256         * descr-text.el (describe-property-list): Make sure there's
14257         a space between the property name and its value.
14258         (describe-text-properties): Don't kill a pre-existing buffer.
14260         * mwheel.el: Undo last patch from Stephen Gildea for now.
14262 2002-06-24  Kim F. Storm  <storm@cua.dk>
14264         * emulation/keypad.el: Added :require 'keypad to defcustoms.
14266 2002-06-23  Stefan Monnier  <monnier@cs.yale.edu>
14268         * subr.el (event-start, event-end, event-click-count):
14269         Accept non-mouse events as well.
14270         (read-key): New function.
14271         (read-quoted-char): Use it.  Use this-single-command-raw-keys as well.
14273         * files.el: Rename (and mark as obsolete)
14274         find-file-hooks to find-file-hook,
14275         find-file-not-found-hooks to find-file-not-found-functions,
14276         write-file-hooks to write-file-functions,
14277         write-contents-hooks to write-contents-functions.
14278         Mark local-write-file-hooks as obsolete.
14279         (locate-file-completion): Don't cons uselessly.  Use test-completion.
14280         (basic-save-buffer): Use (point-min) rather than 1.
14281         (basic-save-buffer-2): Obey the `setmodes' returned by backup-buffer.
14283         * help-fns.el (describe-variable): Only use `buffer' is still live.
14284         Use `delete-region' instead of save-excursion + delete-char.
14285         Document the obsolescence of the variable, if applicable.
14287 2002-06-23  Glenn Morris  <gmorris@ast.cam.ac.uk>
14289         * progmodes/f90.el (f90-do-auto-fill): Respect the value of
14290         comment-auto-fill-only-comments.
14292 2002-06-21  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
14294         * net/ange-ftp.el (backup-buffer): Delete `ange-ftp' property.
14295         This is not a handled operation.
14297 2002-06-21  Kim F. Storm  <storm@cua.dk>
14299         * emulation/cua-base.el (cua--prefix-arg): Make register prefixes
14300         work again.  Corrected error in check for C-u initiated prefix.
14302         * emulation/keypad.el (keypad-setup): Handle kp-begin like kp-space.
14304 2002-06-21  Richard M. Stallman  <rms@gnu.org>
14306         * net/browse-url.el (browse-url-at-mouse): Don't pass an arg
14307         to browse-url-at-point.
14309         * play/zone.el (zone-idle): Var deleted.
14311         * international/iso-acc.el (iso-languages) <french>:
14312         `~ ' now generates `~', `~,' definition deleted.
14314         * format.el (format-annotate-function): Copy multibyte flag
14315         and selective-display into the new temp buffer.
14317         * edmacro.el (edmacro-fix-menu-commands):
14318         Discard `help-echo' events.  Handle (menu-bar) events.
14319         Simplify by converting key sequence to a list and then back to vector.
14321 2002-06-21  Stephen Gildea  <gildea@stop.mail-abuse.org>
14323         * mwheel.el: Allow arbitrary keys for scrolling, add a third
14324         scrolling speed, fix an unwind-protect.
14325         (mouse-wheel-scroll-amount): Now a three-element list.
14326         (mouse-wheel-scroll-down-slow, mouse-wheel-scroll-up-slow)
14327         (mouse-wheel-scroll-down-normal, mouse-wheel-scroll-up-normal)
14328         (mouse-wheel-scroll-down-fast, mouse-wheel-scroll-up-fast):
14329         New functions.
14331 2002-06-21  Andreas Schwab  <schwab@suse.de>
14333         * files.el (find-file-read-args): Add new argument `mustmatch' and
14334         pass it down to read-file-name.
14335         (find-file, find-file-other-window, find-file-other-frame)
14336         (find-file-read-only, find-file-read-only-other-window)
14337         (find-file-read-only-other-frame): Use it and fix prompts.
14339 2002-06-21  Stefan Monnier  <monnier@cs.yale.edu>
14341         * pcvs-defs.el (cvs-version): Use cvs-program rather than "cvs".
14343 2002-06-20  Emmanuel Briot  <briot@act-europe.fr>
14345         * progmodes/ada-mode.el: Update copyright notice.
14346         Synchronize with GNAT release 3.15a1.
14347         Do not attempt to load ada-support, which is only for compatibility
14348         with older Emacs versions, and is not needed for Emacs 21.
14349         Fix various calls to count-lines, that didn't work correctly when the
14350         buffer was narrowed.
14351         (ada-continuation-indent): New variable.
14352         (ada-contextual-menu): New entry "List local references", faster than
14353         "List References".
14354         (ada-mode): New alignment rules provided by S. Leake.
14355         Add support for which-function-mode.
14356         (ada-get-current-indent): Fix indentation of named parameter lists and
14357         nested boolean expressions.
14358         (ada-indent-on-previous-lines): Fix indentation of labels.
14359         (ada-search-prev-end-stmt): Fix searching of the previous
14360         end-statement, specially with regards to nested subprograms.
14361         (comment-region advice): Initially disabled, for better compatibility
14362         with other modes.
14363         (ada-fill-comment-paragraph): Fixed (no longer worked with Emacs 21).
14365         * progmodes/ada-xref.el: Update copyright notice.
14366         (ada-xref-create-ali): The default is now not to create automatically
14367         the ALI files by compiling the unit, since this isn't always reliable
14368         and requires an up-to-date project file.
14369         (ada-prj-default-comp-cmd): No longer use gcc directly to compile
14370         a file, but use gnatmake instead, since this gives access to the GNAT
14371         project files.
14372         (ada-xref-search-with-egrep): New variable, suggested by P. Waroquiers.
14373         (ada-load-project-hook): New variable, for support of GNAT
14374         project files.
14375         (ada-update-project-menu): Fix the detection of the project file name.
14376         (ada-add-keymap): Change key binding for ada-find-file, that conflicted
14377         with another binding in ada-mode.el.
14378         (ada-add-menu): New menu "List Local References", to list the reference
14379         to the entity only in the current file, instead of looking in the whole
14380         project.  Much faster.
14381         (ada-find-references): New parameters arg and local-only.
14382         (ada-find-any-references): New parameters local-only and append.
14383         (ada-goto-declaration): Fix handling of predefined entities in xref.
14384         (ada-get-all-references): Updated to the new xref format in GNAT 3.15,
14385         still compatible with GNAT 3.14 of course.  Fix various calls to
14386         count-lines, that didn't work correctly when the buffer was narrowed.
14388         * progmodes/ada-prj.el: Update copyright.
14389         (ada-prj-load-directory): Make sure we do not use one of the new Emacs
14390         21 dialogs to select the file, since we want a directory name only.
14391         (ada-customize): Add support for the new GNAT project files.
14393 2002-06-20  Francesco Potort\e,Al\e(B  <pot@gnu.org>
14395         * progmodes/etags.el (tag-implicit-name-match-p): New function.
14396         (etags-recognize-tags-table): Use it for implicit tag names.
14398 2002-06-20  Miles Bader  <miles@gnu.org>
14400         * comint.el (comint-get-old-input-default): Strip text properties
14401         for fields too.
14403         * comint.el (comint-output-filter): Run output-filter functions
14404         before setting up the prompt.
14406         * international/characters.el: Re-enable code giving word syntax
14407         to certain japanese-jisx0208 characters.
14409 2002-06-19  Glenn Morris  <gmorris@ast.cam.ac.uk>
14411         * progmodes/f90.el (f90-type-def-re): Fix value.
14412         (f90-looking-at-type-like): Adapt for new `f90-type-def-re' value.
14414 2002-06-18  Stefan Monnier  <monnier@cs.yale.edu>
14416         * international/quail.el (quail-help): Don't assume the buffer
14417         is displayed in the same frame.
14419         * emacs-lisp/debug.el (cancel-debug-on-entry):
14420         * emacs-lisp/regexp-opt.el (regexp-opt-group): Don't cons uselessly.
14422         * pcvs.el (cvs-vc-command-advice): Handle the case where args
14423         are passed to `cvs' before the command name.
14424         (cvs-fileinfo-kill): Mark old FIs as up-to-date rather than dead.
14426         * pcvs-info.el (cvs-add-face): Minor rewrite.
14427         (cvs-fileinfo-pp): Use `cvs-goal-column' with directory entries.
14429         * newcomment.el (comment-normalize-vars): Refresh the comment-foo-skip
14430         regexp when they don't match comment-foo any more.
14432 2002-06-18  Juanma Barranquero  <lektu@terra.es>
14434         * filesets.el (filesets-update-pre010505): Fix typo.
14436         * eshell/em-pred.el (eshell-modifier-help-string): Fix typos.
14438         * emulation/edt.el (edt-substitute): Fix typo.
14440         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): Fix typo.
14442         * comint.el (comint-next-prompt, comint-previous-prompt): Fix typos.
14444         * progmodes/sh-script.el (sh-electric-rparen-needed): Remove.
14446 2002-06-17  Richard M. Stallman  <rms@gnu.org>
14448         * facemenu.el (facemenu-map): Rename to Describe Text
14449         to Describe Properties and use describe-text-properties.
14451         * simple.el (what-cursor-position): Use describe-char.
14453         * descr-text.el (describe-char): Moved from mule-diag.el, renamed
14454         from describe-char-after.  Now calls describe-text-properties.
14455         (describe-property-list): Renamed from describe-text-properties.
14456         (describe-text-properties): Renamed from describe-text-at.
14457         New arg OUTPUT-BUFFER.
14458         (describe-text-properties-1):
14459         New subroutine, broken out from describe-text-properties.
14460         Output a newline before each section of the output.
14462         * international/mule-diag.el (describe-char-after):
14463         Moved to descr-text.el.
14465 2002-06-17  Eli Zaretskii  <eliz@is.elta.co.il>
14467         * international/mule.el (ctext-pre-write-conversion): Fix the values
14468         of FROM and TO if we create a new buffer.
14470 2002-06-17  John Paul Wallington  <jpw@shootybangbang.com>
14472         * comint.el (comint-insert-clicked-input): Insert clicked-on
14473         previous input without properties.
14475 2002-06-16  Andrew Choi  <akochoi@shaw.ca>
14477         * term/mac-win.el (scalable-fonts-allowed): Set to t.
14479 2002-06-15  Colin Walters  <walters@debian.org>
14481         * pcvs-info.el (global-font-lock-mode, font-lock-auto-fontify):
14482         Delete defvars.
14483         (cvs-highlight): Delete.
14484         (cvs-add-face): Use `font-lock-face'.  Always add properties.
14486         * ibuffer.el (ibuffer-movement-cycle): New variable.
14487         (ibuffer-backward-line, ibuffer-forward-line): Use it.
14489 2002-06-15  Richard M. Stallman  <rms@gnu.org>
14491         * emacs-lisp/bytecomp.el (byte-recompile-directory): Doc fix.
14492         (batch-byte-recompile-directory): Undo previous change.
14494         * comint.el (comint-skip-input): New function.
14495         (comint-interrupt-subjob, comint-kill-subjob, comint-quit-subjob)
14496         (comint-stop-subjob): Use comint-skip-input.
14498         * ielm.el (ielm-eval-input): Use error-message-string.
14499         (ielm-format-error, ielm-format-errors): Functions deleted.
14501 2002-06-14  Kim F. Storm  <storm@cua.dk>
14503         * progmodes/compile.el (grep-tree): Doc fixes.
14504         Added SUBDIRS arg for non-interactive use.
14506 2002-06-14  Juanma Barranquero  <lektu@terra.es>
14508         * comint.el (comint-snapshot-last-prompt):
14509         Bind `inhibit-read-only' to t to support read-only prompts.
14510         (comint-output-filter): Likewise.
14512 2002-06-14  Miles Bader  <miles@gnu.org>
14514         * subr.el (copy-tree): Use `nconc' and `nreverse' instead of `nreconc'.
14515         (pop): Move the call to `car' outside the prog1, as the compiler
14516         then generates better code.
14518 2002-06-13  Richard M. Stallman  <rms@gnu.org>
14520         * play/zone.el (zone-timer): New variable holds the idle timer.
14521         (zone): Don't fiddle with the idle timer at all.
14522         (zone-when-idle): Put the idle timer in zone-timer.
14523         If one is already set up, cancel it and make a new one.
14524         (zone-leave-me-alone): Likewise.
14526 2002-06-13  Jason Rumney  <jasonr@gnu.org>
14528         * w32-fns.el (w32-charset-info-alist): Reorder.
14530 2002-06-13  Andreas Schwab  <schwab@suse.de>
14532         * files.el (auto-mode-alist): Move entry for ".in" to the end.
14534 2002-06-13  Miles Bader  <miles@gnu.org>
14536         * comint.el (comint-mode): Don't set `font-lock-defaults'.
14537         (comint-mode-hook): Turn on font-lock by default.
14539 2002-06-12  Karl Fogel  <kfogel@red-bean.com>
14541         * bookmark.el (bookmark-file-or-variation-thereof):
14542         Restore vc-backend check, thanks to Robert Thorpe for noticing.
14544 2002-06-12  Eli Zaretskii  <eliz@is.elta.co.il>
14546         * textmodes/bibtex.el: Change the maintainer to "none".
14548 2002-06-12  Juanma Barranquero  <lektu@terra>
14550         * term/w32-win.el (x-handle-switch): Fix handling of
14551         x-invocation-args for switches with arguments.
14553 2002-06-12  Stefan Monnier  <monnier@cs.yale.edu>
14555         * menu-bar.el (menu-bar-showhide-fringe-menu): Don't use `fringe-mode'
14556         without first making sure it's bound.
14558 2002-06-12  Richard M. Stallman  <rms@gnu.org>
14560         * info.el (Info-fontify-node): Compute header line specially
14561         if node has no next, previous or up links.
14562         Hide the part of the first line that is used in the header.
14563         Use Info-next-link-keymap, etc.
14564         (Info-next-link-keymap, Info-prev-link-keymap)
14565         (Info-up-link-keymap): New variables.
14567         * international/mule-diag.el (describe-char-after): Doc fix.
14569         * view.el (view-mode-enter): Clarify echo area message.
14571         * info.el (Info-select-node): Turn header line on or off here.
14572         (Info-setup-header-line): Function deleted.
14573         (Info-mode): Make Info-header-line local.
14574         (Info-fontify-node): Ignore Info-use-header-line.
14575         Unconditionally compute what the header line should be, and
14576         store it on the `header-line' property of the node's first char.
14577         Bind [header-line down-mouse-1].
14578         Use `keymap' property, not `local-map'.
14579         Bind [mouse-2] for mouse clicks on the node line in the text.
14581         * font-lock.el (font-lock-beginning-of-syntax-function): Doc fix.
14583 2002-06-12  Miles Bader  <miles@gnu.org>
14585         * comint.el (comint-send-input): Properly handle empty and
14586         no-newline input regions.
14588 2002-06-12  Colin Walters  <walters@gnu.org>
14590         * calc/calc.el: Use `when', `unless'.
14591         (calc-trail-mode): Use an italic `font-lock-face'.
14592         (calc-refresh): Ditto.
14594 2002-06-12  Colin Walters  <walters@debian.org>
14596         * font-core.el (font-lock-core-only): Variable deleted.
14597         All uses removed.
14598         (font-lock-set-defaults): Variable alist settings moved back into
14599         font-lock-set-defaults-1.
14600         (turn-on-font-lock-if-enabled): Always turn on font-lock unless it
14601         is specifically excluded by the user.
14603         * font-lock.el (font-lock-set-defaults-1): Set variable alist here.
14605         * help-mode.el (help-mode): Don't set `font-lock-defaults'.
14607         * ibuffer.el (ibuffer-mode): Don't set `font-lock-defaults'.
14609         * info.el (Info-mode): Don't set `font-lock-defaults'.
14611         * replace.el (occur-mode): Don't set `font-lock-defaults'.
14613         * help-mode.el (help-highlight-p, help-highlight-face):
14614         Variable was unused; delete.
14615         (help-make-xrefs): Doc fix.
14617 2002-06-11  Richard M. Stallman  <rms@gnu.org>
14619         * format.el (format-alist): Document new element PRESERVE.
14620         (format-write-file): Implement PRESERVE elt for a format.
14622         * files.el (make-auto-save-file-name): Rename local `filename' to
14623         `file-name'.
14625 2002-06-10  Richard M. Stallman  <rms@gnu.org>
14627         * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Use copy-sequence.
14628         (ebrowse-copy-list): Function deleted.
14630         * eshell/em-unix.el (eshell/diff): Use copy-sequence.
14632         * eshell/esh-mode.el (eshell-mode, eshell-mode): Use copy-sequence.
14634         * eshell/esh-util.el (eshell-copy-list): Function deleted.
14635         (eshell-sublist): Use copy-sequence.
14636         (eshell-copy-tree): Make it an alias for copy-tree.
14638         * emacs-lisp/cl.el (copy-list): Moved back from subr.el.
14640         * subr.el (copy-list): Moved to cl.el.
14641         (copy-tree): Don't use copy-list or cl-pop.
14643 2002-06-10  Miles Bader  <miles@gnu.org>
14645         Make comint use text properties for highlighting instead of overlays:
14646         * comint.el (comint-last-output-overlay): Variable removed.
14647         (comint-send-input, comint-output-filter): Use text properties
14648         instead of overlays.
14649         (comint-insert-clicked-input): Rewrite to work with text
14650         properties as well as overlays
14651         (comint-snapshot-last-prompt): Snapshot using text properties.
14652         (comint-get-old-input-default, comint-extract-string): Don't copy
14653         text properties.
14655         * simple.el (line-move-finish): Inhibit field motion when
14656         computing `line-end'.
14658         * files.el (revert-buffer): Correct typo: variable name is
14659         `buffer-file-format', not `buffer-file-formats'.
14661         * comint.el (comint-send-input, comint-output-filter): Use the
14662         `font-lock-face' property instead of `face'.  Don't check the
14663         highlight-enabling variables anymore.
14664         (comint-highlight-input, comint-highlight-prompt): Variables removed.
14666         * faces.el (display-supports-face-attributes-p): New function.
14667         (face-spec-set-match-display): Support `supports' predicate.
14668         (italic): Try underlining for displays that don't support real italics.
14669         * cus-edit.el (custom-display): Add support for `supports' predicate.
14670         * term/tty-colors.el (color-name-rgb-alist): Use 16-bit RGB values
14671         instead of 8-bit, for consistency with the rest of emacs.
14672         (tty-color-canonicalize): Only copy COLOR if we need to change it.
14673         (tty-color-approximate): Scale values from `color-name-rgb-alist'
14674         appropriately.  Return the whole color description, rather than
14675         just the RGB values.
14676         (tty-color-standard-values): New function.  Code mostly taken from
14677         `tty-color-translate'.
14678         (tty-color-translate, tty-color-values): Use `tty-color-desc' to
14679         do all the work.
14680         (tty-color-desc): Do color lookup here instead of calling
14681         `tty-color-translate' and `tty-color-by-index'; this is now the
14682         main place to do it.
14684 2002-06-09  Martin Stjernholm  <bug-cc-mode@gnu.org>
14686         * progmodes/cc-style.el (c-set-style, c-set-style-1):
14687         Add another state for the `dont-override' flag where it only keeps
14688         globally set variables.
14690 2002-06-08  Colin Walters  <walters@gnu.org>
14692         * descr-text.el (describe-text-properties): Sort the output by the
14693         size of the values.  Put `font-lock-face' property on property names.
14694         (toplevel): Provide `descr-text'.
14696         * international/mule-diag.el (describe-char-after): When there are
14697         text properties, require `descr-text', and just call
14698         `describe-text-properties'.
14700         * international/mule.el (sgml-html-meta-auto-coding-function):
14701         New function.
14702         (auto-coding-from-file-contents): Delete; merge functionality into
14703         `set-auto-coding'.
14704         (set-auto-coding): Move tests from `auto-coding-functions' so that
14705         they have a lower priority than coding: tags.
14706         Put `auto-coding-regexp-alist' tests before coding: tag tests.
14707         (sgml-xml-auto-coding-function): Simply `intern' the match, and
14708         test if it's a valid coding system.
14709         (auto-coding-functions): Add `sgml-html-meta-auto-coding-function'.
14711 2002-06-08  Colin Walters  <walters@verbum.org>
14713         * subr.el (copy-list): Moved here from cl.el.
14714         (copy-tree): Renamed here from `cl-copy-tree' in cl-extra.el.
14716         * emacs-lisp/cl-extra.el (cl-copy-tree): Moved to `copy-tree' in
14717         subr.el.  Add a defalias with the old name.
14719         * emacs-lisp/cl.el (copy-list): Moved to subr.el.
14721         * replace.el (occur-mode): Don't set up categories.  Do set
14722         `font-lock-defaults', and be sure to set `font-lock-core-only'.
14723         (occur-1): Pass `list-matching-lines-face' and
14724         `list-matching-lines-buffer-name-face'.
14725         (occur-engine): Use `font-lock-face' instead of categories.
14727         * info.el (Info-mode): Don't set up categories.  Do set
14728         `font-lock-defaults', and be sure to set `font-lock-core-only'.
14729         (Info-fontify-menu-headers): Use `font-lock-face' instead of
14730         categories.
14731         (Info-fontify-node): Ditto.
14733         * ibuffer.el (ibuffer-category-alist): Delete.
14734         (ibuffer-get-category): Delete.
14735         (ibuffer-compile-make-eliding-form): Use `font-lock-face' instead
14736         of categories.
14737         (ibuffer-compile-format): Don't treat `name' category specially.
14738         (ibuffer-column name): Use `font-lock-face'.
14739         (filename-and-process): Ditto.
14740         (ibuffer-buffer-name-category): Renamed to
14741         `ibuffer-buffer-name-face'.  Don't use categories.
14742         (ibuffer-update-title-and-summary): Use `font-lock-face'.
14743         (ibuffer-insert-filter-group): Ditto.
14744         (ibuffer-mode): Don't set up categories.  Do set
14745         `font-lock-defaults', and be sure to set `font-lock-core-only'.
14746         (ibuffer-compile-format): Don't pass third argument
14747         to column functions.
14748         (filename-and-process): Ditto.
14750         * ibuf-macs.el (define-ibuffer-column): Don't create a third
14751         argument for the generated function.
14753         * font-core.el (font-lock-category-alist): Delete.
14754         (turn-on-font-lock-if-enabled): Don't use it.
14755         (font-lock-symbol-category-alist): Delete.
14756         (font-lock-default-function): Use new `char-property-alias-alist'
14757         to make `font-lock-face' an alias for `face' when font-lock mode
14758         is enabled.
14759         (font-lock-core-only): New variable.
14760         (font-lock-set-defaults): Use it.
14762 2002-06-08  Richard M. Stallman  <rms@gnu.org>
14764         * files.el (find-file-noselect-1): Undo previous change.
14766         * bookmark.el (bookmark-file-or-variation-thereof): Doc fix.
14768 2002-06-07  Karl Fogel  <kfogel@red-bean.com>
14770         * bookmark.el (bookmark-file-or-variation-thereof): Just use
14771         Info-suffix-list, as suggested by Stefan Monnier.
14773 2002-06-05  Eli Zaretskii  <eliz@is.elta.co.il>
14775         * select.el (xselect-convert-to-string): If VALUE is a string,
14776         return a cons of TYPE and the string.
14778 2002-06-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
14780         * language/cyrillic.el (cyrillic-alternativnyj-decode-table):
14781         Fix the table to contain correct characters.
14783 2002-06-04  Richard M. Stallman  <rms@gnu.org>
14785         * simple.el: Don't require cl.
14787 2002-06-03  Richard M. Stallman  <rms@gnu.org>
14789         * dired.el (dired-do-shell-command): Doc fix in autoload.
14791         * info.el (Info-extract-pointer): Ignore Info-header-line.
14793         * progmodes/cc-mode.el (c-postprocess-file-styles):
14794         Do nothing except in CC modes.
14796         * international/mule-cmds.el (select-safe-coding-system):
14797         When computing auto-cs, narrow to FROM...TO.
14798         Put save-excursion outside save-restriction.
14799         New arg FILE; use that for set-auto-coding.
14801 2002-06-01  Richard M. Stallman  <rms@gnu.org>
14803         * simple.el (choose-completion-string-functions): Doc fix.
14804         (choose-completion-string): Add doc string.
14806 2002-06-01  Kim F. Storm  <storm@cua.dk>
14808         * simple.el: Reworked previous change.
14809         (choose-completion-string1): Merged back into choose-completion-string.
14810         (choose-completion-string): Run choose-completion-string-functions
14811         after checking for proper minibuffer window.  Added mini-p arg to
14812         the hook functions.  Insert choice if all hook functions return nil.
14813         (choose-completion-string-functions): Doc update.
14815 2002-06-01  Sam Steingold  <sds@gnu.org>
14817         * files.el (auto-mode-alist): Strip trailing ".in" from the file
14818         name when deciding the mode (for config.h.in, Makefile.in etc).
14820 2002-06-01  Thien-Thi Nguyen  <ttn@gnu.org>
14822         * progmodes/prolog.el (prolog-mode-syntax-table): Add flags to
14823         ?/ and ?* entries to support /* */ style comments.
14824         (prolog-font-lock-keywords): New var.
14825         (prolog-mode): Enable font-locking; set `font-lock-defaults'.
14827 2002-06-01  Kim F. Storm  <storm@cua.dk>
14829         * simple.el (choose-completion-string-functions): New special hook.
14830         (choose-completion-string1): Renamed from choose-completion-string.
14831         (choose-completion-string): Run choose-completion-string-functions
14832         until success, and only call choose-completion-string1 if it fails.
14834 2002-05-31  Stefan Monnier  <monnier@cs.yale.edu>
14836         * textmodes/ispell.el (autoloaded toplevel): Don't use
14837         ispell-library-directory without checking that it's bound.
14839 2002-05-31  Kim F. Storm  <storm@cua.dk>
14841         * emulation/cua-base.el (cua--last-deleted-region-pos)
14842         (cua--last-deleted-region-text): New aux variables.
14843         (cua-delete-region): Set them.
14844         (cua-repeat-replace-region): Use them to find the replacement text.
14846 2002-05-31  Juanma Barranquero  <lektu@terra.es>
14848         * emulation/viper-cmd.el (viper-smart-suffix-list, viper-ask-level):
14849         Fix typos.
14851 2002-05-31  Kim F. Storm  <storm@cua.dk>
14853         * progmodes/compile.el (grep-tree-command, grep-tree-files-aliases)
14854         (grep-tree-ignore-CVS-directories, grep-tree-ignore-case):
14855         New custom variables.
14856         (grep-compute-defaults): Compute grep-tree-command's default value.
14857         (grep-expand-command-macros): New aux function.
14858         (grep-tree-last-regexp, grep-tree-last-files): New aux variables.
14859         (grep-tree): New command like grep-find but extended prompting.
14861 2002-05-30  Richard M. Stallman  <rms@gnu.org>
14863         * files.el (find-file-default): Add defvar for var already used.
14865         * menu-bar.el (menu-bar-showhide-fringe-menu): Use defvar.
14867         * subr.el (open-network-stream, open-network-stream-nowait)
14868         (open-network-stream-server, process-kill-without-query):
14869         Moved from simple.el.
14871         * simple.el (open-network-stream, open-network-stream-nowait)
14872         (open-network-stream-server, process-kill-without-query):
14873         Moved to subr.el.
14875         * simple.el (byte-compiling-files-p): Function deleted.
14877         * textmodes/ispell.el (ispell-library-directory): Renamed from
14878         ispell-library-path.  If Ispell is not installed, init to nil.
14879         (check-ispell-version): Doc fix.
14880         (ispell-menu-map): Get rid of byte-compiling-files-p hackery;
14881         initialize this unconditionally when ispell-menu-map-needed is t.
14882         Local `path' renamed to `dir'.
14884 2002-05-30  Miles Bader  <miles@gnu.org>
14886         * calc/calc.el (calc-show-banner): New variable.
14887         (calc-refresh): Only show banner if `calc-show-banner' is non-nil.
14888         (calc-mode-var-list): Add `calc-show-banner'.
14889         * calc/calc-ext.el (calc-init-extensions): Add binding for `d@'.
14890         (calc-toggle-banner): New function.
14891         * calc/calc-help.el (calc-d-prefix-help): Add `@'.
14893 2002-05-29  Richard M. Stallman  <rms@gnu.org>
14895         * emacs-lisp/cl-indent.el (common-lisp-indent-function-1):
14896         When recognizing a def... construct, make that indentation
14897         tentative, so that it can be overridden if the list in question
14898         is not actually an expression.
14899         (common-lisp-indent-call-method): New subroutine.
14901         * emacs-lisp/bytecomp.el (batch-byte-compile-file):
14902         Delete the output file if we get a file-error.
14904         * tooltip.el (tooltip-mouse-motions-active): New variable.
14905         (tooltip-activate-mouse-motions): Don't kill track-mouse local
14906         if it was not made by us.
14908         * mouse.el (mouse-set-font): Avoid misleading error message
14909         if user makes no selection.
14911         * info.el (Info-setup-header-line): Don't hide the links line.
14913         * files.el (find-file-noselect-1): Return the buffer we created
14914         even if it has been killed within `after-find-file'.
14916         * files.el (auto-mode-alist): Use ada-mode for .ad[bs].dg files.
14918 2002-05-29  Kim F. Storm  <storm@cua.dk>
14920         * simple.el (open-network-stream-server): Pass on optional args
14921         sentinel and filter to make-network-process (from Luke Gorrie).
14923 2002-05-28  Colin Walters  <walters@gnu.org>
14925         * textmodes/sgml-mode.el (xml-mode): New alias for `sgml-mode'.
14927         * emacs-lisp/bytecomp.el (byte-compile-last-line): Deleted.
14928         (byte-compile-delete-first): New function.
14929         (byte-compile-read-position): New variable.
14930         (byte-compile-last-position): New variable.
14931         (byte-compile-current-buffer): New variable.
14932         (byte-compile-log-1): Use it.
14933         (byte-compile-set-symbol-position): New function.
14934         (byte-compile-obsolete, byte-compile-callargs-warn)
14935         (byte-compile-arglist-warn, byte-compile-arglist-warn)
14936         (byte-compile-print-syms, byte-compile-file-form-defmumble)
14937         (byte-compile-check-lambda-list, byte-compile-lambda)
14938         (byte-compile-form, byte-compile-variable-ref)
14939         (byte-compile-subr-wrong-args, byte-compile-negation-optimizer)
14940         (byte-compile-condition-case, byte-compile-defun)
14941         (byte-compile-defvar, byte-compile-autoload)
14942         (byte-compile-lambda-form): Use it.
14943         (byte-compile-from-buffer): Set it, and bind
14944         `read-with-symbol-positions' and `read-symbol-positions-list'.
14946         * emacs-lisp/bytecomp.el (byte-compile-debug): New variable.
14948 2002-05-28  Kim F. Storm  <storm@cua.dk>
14950         * files.el (read-directory-name): New function.
14951         (cd): Use it instead of read-file-name.
14953 2002-05-27  Kim F. Storm  <storm@cua.dk>
14955         * simple.el (push-mark-command): Added optional NOMSG arg.
14957         * emulation/cua-base.el (cua-set-mark): Align pop to mark
14958         behaviour with standard set-mark-command.
14959         (cua--pre-command-handler): Use push-mark-command.
14960         (cua-repeat-replace-region): Improve functionality when
14961         repeated after moving point or changing buffer.
14963 2002-05-26  Colin Walters  <walters@verbum.org>
14965         * startup.el (command-line): Use `when', `unless'.
14966         (command-line-1): New argument "--nosplash".  Handle it.
14968         * startup.el (inhibit-splash-screen): New variable alias for
14969         `inhibit-startup-message'.
14971         * replace.el (perform-replace): Document return value.  Use `pop'.
14973 2002-05-26  Glenn Morris  <gmorris@ast.cam.ac.uk>
14975         * progmodes/f90.el (f90-previous-block, f90-next-block): New names,
14976         and slightly changed behaviour, for `f90-previous-block-start' and
14977         `f90-next-block-end'.
14978         (f90-beginning-of-subprogram, f90-end-of-subprogram): Simplify.
14980 2002-05-26  Simon Josefsson  <jas@extundo.com>
14982         * fringe.el (set-fringe-mode): Work when updating
14983         `default-frame-alist'.
14985 2002-05-26  Kim F. Storm  <storm@cua.dk>
14987         * emulation/cua-base.el (cua--repeat-replace-text): New variable.
14988         (cua-repeat-replace-region): New command.
14989         (cua--init-keymaps): Bind it to M-v in cua--cua-keys-keymap.
14990         Misc improvements to the commentary.
14992 2002-05-26  Simon Josefsson  <jas@extundo.com>
14994         * fringe.el (fringe-query-style): New fringe style "minimal".
14996 2002-05-24  Simon Josefsson  <jas@extundo.com>
14998         * rot13.el (rot13-translate-table): New variable.
14999         (rot13, rot13-string, rot13-region): New functions.
15001 2002-05-25  Martin Stjernholm  <bug-cc-mode@gnu.org>
15003         * progmodes/cc-engine.el (c-add-stmt-syntax): Fixed some cases
15004         of wrong anchoring, e.g. for else-if compounds.
15006 2002-05-25  Miles Bader  <miles@gnu.org>
15008         * menu-bar.el (menu-bar-showhide-fringe-menu-customize-left)
15009         (menu-bar-showhide-fringe-menu-customize-right)
15010         (menu-bar-showhide-fringe-menu-customize-disable):
15011         Use proper calling convention for `customize-set-value'.
15012         Require `fringe' before setting variable.
15014 2002-05-25  Kim F. Storm  <storm@cua.dk>
15016         * emulation/cua-base.el (cua--self-insert-char-p): New function.
15018         * emulation/cua-gmrk.el (cua--init-global-mark): Install default
15019         binding in cua--global-mark-keymap using cua--self-insert-char-p
15020         to handle all global self inserting characters in gmark mode.
15022         * emulation/cua-rect.el (cua--init-rectangles): Install default
15023         binding in cua--rectangle-keymap using cua--self-insert-char-p
15024         to handle all global self inserting characters in rectangle mode.
15026 2002-05-24  Stefan Monnier  <monnier@cs.yale.edu>
15028         * net/ange-ftp.el (read-file-name-internal): Remove the
15029         `ange-ftp' property.
15030         (ange-ftp-real-read-file-name-internal): Remove.
15032 2002-05-24  Glenn Morris  <gmorris@ast.cam.ac.uk>
15034         * progmodes/f90.el: (f90-end-of-subprogram): Remove the final
15035         `forward-line'.
15036         (f90-end-of-block, f90-beginning-of-block, f90-next-block-end)
15037         (f90-previous-block-start): New navigation commands.
15039 2002-05-20  Simon Josefsson  <jas@extundo.com>
15041         * fringe.el: New file.
15043         * menu-bar.el (menu-bar-options-save): Add fringe-mode.
15044         (menu-bar-showhide-fringe-menu): New menu.
15045         (menu-bar-showhide-menu): Add Fringe sub-menu.
15047 2002-05-23  Colin Walters  <walters@verbum.org>
15049         * replace.el (occur-engine): Include all text properties except
15050         mouse-face on the newline at the end of occurences.
15052 2002-05-23  Kim F. Storm  <storm@cua.dk>
15054         * apropos.el (apropos-true-hit, apropos-false-hit-symbol)
15055         (apropos-false-hit-str, apropos-true-hit-doc): New functions.
15056         (apropos-command, apropos-value, apropos-documentation-internal)
15057         (apropos-documentation-check-doc-file)
15058         (apropos-documentation-check-elc-file): Use them to filter out
15059         false matches where only one keyword matches, but more than once.
15061         * apropos.el (apropos-show-scores, apropos-orig-regexp)
15062         (apropos-all-regexp, apropos-synonyms, apropos-words)
15063         (apropos-all-words): New variables.
15064         (aprpos-words-to-regexp, apropos-rewrite-regexp)
15065         (apropos-calc-scores, apropos-score-str, apropos-score-doc)
15066         (apropos-score-symbol): New functions.
15067         (apropos-command, apropos, apropos-value, apropos-documentation):
15068         Allow keywords in addition to regexp. Added scoring.
15069         (apropos-documentation-check-doc-file)
15070         (apropos-documentation-check-elc-file): Added scoring.
15071         (apropos-print): Sort according to score.
15073 2002-05-22  Colin Walters  <walters@cis.ohio-state.edu>
15075         * info.el (Info-mode-hook): Change `font-lock-mode' to
15076         `turn-on-font-lock'.
15078         * font-core.el (font-lock-function): New variable.
15079         (font-lock-default-function): New function, created from
15080         `font-lock-mode'.
15081         (font-lock-mode): Just funcall `font-lock-function'.
15082         (font-lock-symbol-category-alist): New variable.
15084 2002-05-22  Markus Rost  <rost@math.ohio-state.edu>
15086         * files.el (file-newest-backup): Use file-name-sans-versions.
15088         * diff.el (diff-latest-backup-file): Replace the main code by
15089         a call of file-newest-backup.
15091 2002-05-22  Mike Williams  <mdub@bigfoot.com>
15093         * textmodes/sgml-mode.el (sgml-guess-indent): Look further into
15094         the buffer.
15096 2002-05-21  Stefan Monnier  <monnier@cs.yale.edu>
15098         * net/ange-ftp.el (ange-ftp-allow-child-lookup): Re-enable since
15099         the last patch works around the wu-ftpd misfeature that prompted
15100         the disabling of this optimization.
15102 2002-05-21  Colin Walters  <walters@gnu.org>
15104         * international/mule.el (make-coding-system): Doc fixes.
15106         * international/mule.el (auto-coding-functions): New variable.
15107         (auto-coding-from-file-contents): Use it.
15108         (set-auto-coding): Update docs.
15109         (sgml-xml-auto-coding-function): New function.
15111         * international/mule-util.el (truncate-string-to-width):
15112         New optional argument `ellipsis'.  Add commented-out test suite, and
15113         change coding to iso-2022-7bit.
15115 2002-05-21  Colin Walters  <walters@verbum.org>
15117         * font-lock.el (font-lock-defaults, font-lock-defaults-alist)
15118         (font-lock-multiline, font-lock-fontified, font-lock-mode)
15119         (turn-on-font-lock, font-lock-add-keywords, global-font-lock-mode)
15120         (font-lock-global-modes): Moved to font-core.el.
15121         (font-lock-set-defaults-1): Partially moved to font-core.el.
15123         * font-core.el: New file, with functions taken from font-lock.el.
15124         (font-lock-category-alist): New variable.
15125         (font-lock-mode): Use it.
15126         (font-lock-set-defaults): Partially taken from font-lock.el.
15127         Only load font-lock.el when necessary.
15129         * loadup.el: Add font-core.el.
15131         * replace.el (occur-mode-hook): New variable.
15132         (occur-fontify-region-function): Deleted.
15133         (occur-mode): Don't use it.  Set up `font-lock-category-alist'
15134         instead.
15135         (occur-fontify-on-property): Deleted.
15136         (occur-engine): Use categories from `font-lock-category-alist'.
15138         * info.el (Info-fontify): Deleted.
15139         (Info-select-node): Don't use it.
15140         (Info-mode-hook): New variable.
15141         (Info-mode): Set up categories.
15142         (Info-fontify-menu-headers, Info-fontify-node): Use categories.
15144         * ibuffer.el (ibuffer-formats): Update docs.
15145         (ibuffer-category-alist): New variable.
15146         (ibuffer-get-category): New function.
15147         (ibuffer-compile-make-eliding-form): Use category property instead
15148         of face.
15149         (ibuffer-compile-format): Pass current ibuffer buffer to column
15150         functions too.
15151         (ibuffer-buffer-name-category): New function.
15152         (ibuffer-compile-format): If the current column is a `name'
15153         column, figure out the appropriate category to put on it.
15154         (filename-and-process): Use category property.
15155         (ibuffer-fontify-region-function): Deleted.
15156         (ibuffer-unfontify-region-function): Deleted.
15157         (ibuffer-update-title-and-summary): Use category properties.
15158         (ibuffer-insert-filter-group): Ditto.
15159         (ibuffer-mode): Set up category properties.
15161 2002-05-21  Colin Walters  <walters@debian.org>
15163         * replace.el (occur-engine): Increment globalcount all at once
15164         after searching a buffer.
15165         (occur-mode-map): Don't escape plain "o".
15167         * ibuf-macs.el (define-ibuffer-column): Add third argument
15168         `ibuffer-buf'.
15170         * ibuffer.el (toplevel): Require font-lock, to get the face
15171         definitions.
15172         (ibuffer-use-fontification): Deleted.
15173         (column filename-and-process): New column.
15174         (ibuffer-formats): Use it by default.
15175         (ibuffer-name-map, ibuffer-mode-name-map)
15176         (ibuffer-filter-group-map): Don't set parent to `ibuffer-mode-map'.
15177         (ibuffer-do-save, ibuffer-do-toggle-modified)
15178         (ibuffer-do-toggle-read-only, ibuffer-do-delete)
15179         (ibuffer-do-kill-on-deletion-marks): Include name in definition.
15180         (ibuffer): New optional argument `formats'.
15182 2002-05-21  Eli Zaretskii  <eliz@is.elta.co.il>
15184         * indent.el (indent-rigidly): Mention how to remove all indentation.
15186 2002-05-21  Colin Walters  <walters@gnu.org>
15188         * international/mule-diag.el (describe-char-after): Order display
15189         of text properties by the size of their value, for clarity.
15191 2002-05-20  Stefan Monnier  <monnier@cs.yale.edu>
15193         * net/ange-ftp.el (ange-ftp-generate-root-prefixes)
15194         (ange-ftp-file-name-completion): Don't cons unnecessarily.
15195         (ange-ftp-send-cmd): Always `cd' before doing `ls'.
15197         * wid-edit.el (widget-color-complete):
15198         * progmodes/etags.el (tags-complete-tags-table-file):
15199         * progmodes/cpp.el (cpp-choose-symbol): Don't cons unnecessarily.
15201         * textmodes/outline.el (outline-reveal-toggle-invisible):
15202         Reverse the meaning of the second arg.
15204         * reveal.el (reveal-post-command): Reverse the semantics of
15205         reveal-toggle-invisible and support isearch-open-invisible-temporary.
15207 2002-05-20  Markus Rost  <rost@math.ohio-state.edu>
15209         * mail/sendmail.el (mail-recover-1): Remove (debug).
15210         (mail-signature): Fix :type.
15211         (mail-default-directory): New user option.
15212         (mail, mail-recover): Use that option.
15214 2002-05-20  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
15216         * international/mule.el (auto-coding-alist): Use emacs-mule
15217         for auto-save files.
15219 2002-05-20  Miles Bader  <miles@gnu.org>
15221         * files.el (find-file-read-args): Don't trash existing value of
15222         `minibuffer-setup-hook', just add our hook to it.
15224 2002-05-19  Markus Rost  <rost@math.ohio-state.edu>
15226         * international/ucs-tables.el (unify-8859-on-encoding-mode)
15227         (unify-8859-on-decoding-mode): Change :version attributes to strings.
15229         * simple.el (yank-excluded-properties): Change :version attribute
15230         to a string.
15232         * dired.el (dired-view-command-alist): Change :version attribute
15233         to a string.
15235         * xscheme.el (xscheme-start-hook): Change :version attribute to a
15236         string.
15238         * find-dired.el (find-dired): Implement revert-buffer-function.
15240         * mail/emacsbug.el (report-emacs-bug-hook): Do another save-excursion.
15242 2002-05-19  Glenn Morris  <gmorris@ast.cam.ac.uk>
15244         * progmodes/f90.el (f90-match-end, f90-break-line): Simplify a bit.
15245         (f90-get-present-comment-type): Fix earlier change.
15246         (f90-comment-indent): Doc fix.
15247         (f90-equal-symbols, f90-looking-at-do, f90-looking-at-select-case)
15248         (f90-looking-at-if-then): Remove lets.
15249         (f90-looking-at-where-or-forall): Handle if split over lines.
15250         (f90-change-keywords): Doc fix.
15252 2002-05-19  Richard M. Stallman  <rms@gnu.org>
15254         * indent.el (indent-region): Make COLUMN arg optional.
15256         * files.el (find-file-read-args): New function.
15257         (find-file, find-file-other-window, find-file-other-frame)
15258         (find-file-read-only, find-file-read-only-other-window)
15259         (find-file-read-only-other-frame): Use it.
15261         * custom.el (custom-load-symbol): Verify that LOADED is a string.
15263         * arc-mode.el (archive-zip-use-pkzip): Variable deleted.
15264         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
15265         (archive-zip-update-case): Use locate-file to decide whether
15266         to use pkzip.
15267         (archive-zip-extract): Test for pkzip in value of archive-zip-extract.
15269         * files.el (locate-file): Doc fix.
15271 2002-05-19  John Paul Wallington  <jpw@shootybangbang.com>
15273         * mail/rmail.el (rmail-show-message-hook): Offer `goto-address'
15274         as an option.
15276 2002-05-18  Stefan Monnier  <monnier@cs.yale.edu>
15278         * uniquify.el (uniquify-rationalize-file-buffer-names):
15279         Always strip the trailing / even if the file is not a directory.
15281 2002-05-18  Glenn Morris  <gmorris@ast.cam.ac.uk>
15283         * progmodes/f90.el (f90-mode-syntax-table, f90-mode-map): Do the
15284         initialization in the defvar.
15285         (f90-font-lock-on, f90-font-lock-off): Add 'menu-alias property.
15286         (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3)
15287         (f90-font-lock-4): Move the doc strings.
15288         (f90-menu-bar-menu): New internal variable to hold the top-level menu.
15289         (f90-change-case-menu, f90-font-lock-menu): Minor code changes.
15290         (f90-mode-abbrev-table): Initialize in the defvar, with
15291         define-abbrev-table.
15293 2002-05-18  Eli Zaretskii  <eliz@is.elta.co.il>
15295         * tar-mode.el (tar-octal-time): Fix last change.
15297 2002-05-18  Markus Rost  <rost@math.ohio-state.edu>
15299         * mail/emacsbug.el (report-emacs-bug-text-prompt): New variable.
15300         (report-emacs-bug): Store the prompt in
15301         `report-emacs-bug-text-prompt'.  Move Configuration/Important
15302         settings information after the user's report.
15303         (report-emacs-bug-hook): Unclutter by deleting the content of
15304         `report-emacs-bug-text-prompt'.
15306 2002-05-17  Thomas Morgan  <tlm@pocketmail.com>
15308         * forms.el (forms-jump-record, forms-insert-record)
15309         (forms-delete-record): Calculate lines from the beginning of the
15310         accessible portion rather than from the beginning of the buffer.
15312 2002-05-16  Eli Zaretskii  <eliz@is.elta.co.il>
15314         * ps-mule.el (eval-and-compile): Add a trivial replacement for a
15315         possibly missing encode-char.
15316         (ps-mule-font-info-database-bdf): Add associations for Unicode
15317         fonts.  Doc fix.
15318         (ps-mule-font-info-database-ps-bdf): Doc fix.
15319         (ps-mule-encode-ucs2): New function for encoding Unicode characters.
15321         * tar-mode.el (tar-octal-time): Fix the last argument of logior.
15323 2002-05-16  Stefan Monnier  <monnier@cs.yale.edu>
15325         * emacs-lisp/find-func.el (find-function-search-for-symbol):
15326         Find funs defined with defun-cvs-mode.
15327         (find-function-space-re): New const.  Skips comments as well.
15328         (find-function-regexp, find-variable-regexp): Use it.
15330         * pcvs.el (cvs-cmd-do): Accept non-CVS dirs with CVS-ctrl'd subdirs.
15331         (cvs-mode-add-change-log-entry-other-window): Work on multiple files.
15332         (cvs-mode-set-flags): Don't cons unnecessarily.
15334 2002-05-16  Colin Walters  <walters@debian.org>
15336         * menu-bar.el (menu-bar-tools-menu) <calculator>: Renamed to
15337         "Simple Calculator".
15338         (menu-bar-tools-menu) <calc>: New.
15340 2002-05-16  Juanma Barranquero  <lektu@terra.es>
15342         * progmodes/hideshow.el (hs-adjust-block-beginning): Fix typo.
15344         * filesets.el (filesets-ormap): Fix typo.
15346         * faces.el (describe-face): Fix typo.
15348 2002-05-15  Stefan Monnier  <monnier@cs.yale.edu>
15350         * emacs-lisp/easymenu.el (easy-menu-make-symbol):
15351         Don't treat (lambda () ...) as an expression.
15353 2002-05-15  John Paul Wallington  <jpw@shootybangbang.com>
15355         * replace.el (occur-read-primary-args): Handle a bare 'C-u' correctly.
15357 2002-05-15  Eli Zaretskii  <eliz@is.elta.co.il>
15359         * emacs-lisp/easymenu.el (easy-menu-add): Doc fix.
15361 2002-05-14  Glenn Morris  <gmorris@ast.cam.ac.uk>
15363         * progmodes/fortran.el (fortran-directive-re): New name for
15364         fortran-preprocessor-re.  All usage updated.
15365         (fortran-calculate-indent): Give directives zero indentation.
15367 2002-05-14  Jason Rumney  <jasonr@gnu.org>
15369         * emacs-lisp/easymenu.el (easy-menu-name-match): Match both
15370         displayed text and internal name as string.
15372 2002-05-14  Kim F. Storm  <storm@cua.dk>
15374         * emulation/cua-rect.el (cua--rectangle-operation):
15375         Don't highlight empty lines in rectangles.
15377         * emulation/keypad.el: Improved commentary.
15378         (keypad-setup, keypad-shifted-setup): Added choice to setup
15379         Numeric keypad with decimal key; value is selected character.
15380         (keypad-decimal-key, keypad-shifted-decimal-key): Removed options.
15381         (keypad-numlock-setup, keypad-numlock-shifted-setup): New options.
15382         (keypad-setup): Arg list changed to support the new options.
15384 2002-05-14  Richard M. Stallman  <rms@gnu.org>
15386         * dabbrev.el (dabbrev-case-distinction): New option.
15387         (dabbrev--try-find): Handle dabbrev-case-distinction.
15388         (dabbrev--search): Clean up the code.
15389         (dabbrev-upcase-means-case-search): Doc fix.
15390         (dabbrev-case-replace): Fix custom tags and docs.
15392 2002-05-14  Jochen K\e,A|\e(Bpper  <jochen@jochen-kuepper.de>
15394         * calc/calc-units.el (math-standard-units): Update from CODATA.
15396 2002-05-14  Stefan Monnier  <monnier@cs.yale.edu>
15398         * skeleton.el (skeleton-transformation): Default to `identity'.
15399         (skeleton-insert): Use `move-after' markers and `insert' rather
15400         than rely on insert-before-markers.
15401         (skeleton-internal-1): Handle `> \n' specially so that the newline
15402         is inserted before the first line is indented.
15404 2002-05-14  Mike Williams  <mdub@bigfoot.com>
15406         * textmodes/sgml-mode.el (sgml-tag):
15407         Default skeleton-transformation to `identity'.
15409 2002-05-14  Francesco Potort\e,Al\e(B  <pot@gnu.org>
15411         * shell.el (shell-mode): Make second part of initialisation
15412         depend on whether comint-input-ring is empty, rather than depend
15413         on it being nil.
15415 2002-05-14  Richard M. Stallman  <rms@gnu.org>
15417         * files.el (make-auto-save-file-name):
15418         Delete the auto-save file after make-temp-file creates it.
15420 2002-05-13  Kim F. Storm  <storm@cua.dk>
15422         * emulation/cua-base.el (cua-enable-cursor-indications): Default off.
15423         (cua-mode): Print Enabled/Disabled messages if interactive.
15424         Disable delete-selection-mode and pc-selection-mode when cua-mode
15425         is enabled; reenable if cua-mode is turned off.
15426         Remember setting of transient-mark-mode when cua-mode is enabled;
15427         restore if cua-mode is disabled.
15429 2002-05-13  Richard M. Stallman  <rms@gnu.org>
15431         * mail/emacsbug.el (report-emacs-bug): Change the "English please" msg.
15433 2002-05-13  Colin Walters  <walters@gnu.org>
15435         * ibuf-ext.el (ibuffer-format-filter-group-data): New function.
15437         * ibuffer.el (ibuffer-insert-filter-group): New argument filter-string.
15438         (ibuffer-redisplay-engine): Handle it.
15440         * add-log.el (add-log-mailing-address): Can be a list, too.
15441         (add-change-log-entry): If `add-log-mailing-address' is a list,
15442         then handle it.
15444 2002-05-12  Colin Walters  <walters@debian.org>
15446         * replace.el (occur-1): New optional argument `buf-name'.
15447         (occur-revert-function): Use it.
15449         (occur-1): Handle plurals.
15451         (occur-engine): If there are no more matches, then finish
15452         searching the current buffer.
15454 2002-05-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
15456         * net/ange-ftp.el (ange-ftp-try-passive-mode)
15457         (ange-ftp-passive-host-alist): Change :version attributes to be
15458         strings.
15460 2002-05-12  Markus Rost  <rost@math.ohio-state.edu>
15462         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Define it with
15463         define-minor-mode.
15465         * emacs-lisp/find-func.el (find-function-search-for-symbol):
15466         Handle more whitespace/newline combinations in symbol definitions.
15468 2002-05-12  Eli Zaretskii  <eliz@is.elta.co.il>
15470         * w32-vars.el (w32)
15471         * vc-cvs.el (vc-cvs-global-switches)
15472         (vc-cvs-sticky-date-format-string, vc-cvs-sticky-tag-display)
15473         * textmodes/sgml-mode.el (sgml-xml-mode)
15474         * ruler-mode.el (ruler-mode)
15475         * replace.el (query-replace-skip-read-only)
15476         * progmodes/fortran.el (fortran-preprocessor-re)
15477         * net/ange-ftp.el (ange-ftp-passive-host-alist)
15478         * mail/sendmail.el (mail-use-dsn)
15479         * faces.el (mode-line-inactive, minibuffer-prompt)
15480         * add-log.el (add-log-always-start-new-record): Change all
15481         post-21.1 :version attributes to 21.4.
15483 2002-05-12  Richard M. Stallman  <rms@gnu.org>
15485         * mail/smtpmail.el (smtpmail-mail-address): New variable.
15486         (smtpmail-send-it): Bind and use that instead of `mail-address'.
15487         (smtpmail-via-smtp): Likewise.
15489         * ansi-color.el (ansi-color-get-face): Avoid add-to-list on local var.
15490         (ansi-color-apply-sequence): Avoid duplicates in combined face list.
15492         * dired-aux.el (dired-show-file-type): Use -- to say FILE's not option.
15494         * subr.el (functionp): Catch errors in indirect-function.
15496 2002-05-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
15498         * net/ldap.el (ldap-search-internal): Unfold folded lines before
15499         parsing.
15501         * cus-edit.el (customize-set-value): Rename `var' to `variable'
15502         and `val' to `value'.
15503         (customize-save-variable): Rename `var' to `'variable.
15505 2002-05-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
15507         * progmodes/fortran.el (fortran-preprocessor-re): New variable.
15508         Use it for font-locking and indentation.
15509         (fortran-previous-statement, fortran-next-statement): Make them
15510         skip over preprocessor lines.
15511         (fortran-calculate-indent): Use fortran-preprocessor-re.
15513 2002-05-10  Kim F. Storm  <storm@cua.dk>
15515         * emulation/cua-base.el (cua-enable-cua-keys)
15516         (cua-enable-register-prefix): Added value for `other' choice.
15518 2002-05-10  Eli Zaretskii  <eliz@is.elta.co.il>
15520         * menu-bar.el (menu-bar-showhide-scroll-bar-menu)
15521         (menu-bar-showhide-menu): Use display-graphic-p, not window-system.
15522         (menu-bar-showhide-menu) <showhide-menu-bar, showhide-tool-bar>:
15523         Run a named function.
15524         (showhide-menu-bar, showhide-toolbar): Invoke customize-mark-as-set.
15525         (menu-bar-showhide-menu) <column-number-mode, line-number-mode>:
15526         Fix help text.
15528 2002-05-10  Kim F. Storm  <storm@cua.dk>
15530         * emulation/cua-base.el (cua-mode): Misc. changes to use
15531         emulation-mode-map-alists instead of minor-mode-map-alist.
15533 2002-05-09  Richard M. Stallman  <rms@gnu.org>
15535         * mail/rmail.el (rmail-show-message):
15536         Catch error in check-coding-system.
15538         * progmodes/compile.el (compilation-error-regexp-alist):
15539         New element to recognize Python error messages.
15541         * shell.el (shell-replace-by-expanded-directory):
15542         If there's already a / at the end, don't add one.
15544 2002-05-09  Colin Walters  <walters@verbum.org>
15546         * ibuffer.el (ibuffer-mode-map): Add :enable guards for
15547         `ibuffer-filter-disable', `ibuffer-pop-filter',
15548         `ibuffer-or-filter', `ibuffer-negate-filter',
15549         `ibuffer-decompose-filter', `ibuffer-save-filters',
15550         `ibuffer-switch-to-saved-filters', `ibuffer-delete-saved-filters',
15551         `ibuffer-save-filter-groups',
15552         `ibuffer-switch-to-saved-filter-groups',
15553         `ibuffer-delete-saved-filter-groups'.
15555         * ibuf-ext.el (ibuffer-do-occur): Default to 0 context lines.
15557 2002-05-09  Markus Rost  <rost@math.ohio-state.edu>
15559         * woman.el (woman-menu): Move symbol before the comment so that
15560         find-function-search-for-symbol finds it.
15562 2002-05-10  Miles Bader  <miles@gnu.org>
15564         * facemenu.el (list-colors-display): Don't use
15565         `display-color-cells' unless the display class is one for which
15566         that info is relevant.
15568 2002-05-09  Simon Josefsson  <jas@extundo.com>
15570         * mail/smtpmail.el (smtpmail-send-it): Use user-mail-address from
15571         calling buffer.
15572         (smtpmail-auth-credentials): Bump :version to 21.4 (21.3 will not
15573         have the patch).
15575 2002-05-09  Kim F. Storm  <storm@cua.dk>
15577         * wid-edit.el (checkbox): New check-mark image.
15579 2002-05-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
15581         * filesets.el (filesets-running-xemacs): Fix last change.
15583 2002-05-08  Markus Rost  <rost@math.ohio-state.edu>
15585         * help-fns.el (describe-function-1): If the source is
15586         `loaddefs.el', look for the real source.  This is necessary only
15587         for defaliases.
15589         * emacs-lisp/find-func.el (find-function-search-for-symbol):
15590         Add autoload cookie.
15591         (find-function-regexp): Include
15592         "\(quote " to match the defaliases in loaddefs.el.
15594         * filesets.el (filesets-conditional-sort): Use copy-sequence,
15595         not copy-list.
15596         (filesets-menu-path, filesets-menu-before, filesets-menu-in-menu):
15597         Defvar them to nil if running in Emacs.
15599 2002-05-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
15601         * textmodes/flyspell.el (make-flyspell-overlay): Add help text
15602         to flyspell overlays.
15604         * info.el (Info-mode-map): Bind `c' to Info-copy-current-node-name.
15606 2002-05-08  Richard M. Stallman  <rms@gnu.org>
15608         * diff.el (diff-regexp-alist): Doc fix.
15610         * mail/smtpmail.el (netrc-machine, netrc-get): Add autoloads.
15612 2002-05-08  Simon Marshall  <simon@gnu.org>
15614         * msb.el (msb-menu-bar-update-buffers): Fixed frame menu to use
15615         the frame name as the car of a menu entry, rather than the frame.
15617 2002-05-08  Juanma Barranquero  <lektu@terra.es>
15619         * rfn-eshadow.el (read-file-name-electric-shadow-mode): Fix typos
15620         in docstring.
15622 2002-05-07  Colin Walters  <walters@verbum.org>
15624         * replace.el (occur-unfontify-region-function): Delete.
15625         (occur-mode): Don't use it.
15626         (occur-engine): Respect `keep-props'.
15627         (occur-accumulate-lines): If we're moving forward, decrement;
15628         don't increment, and vice versa.
15630 2002-05-08  Toru Tomabechi  <Toru.Tomabechi@orient.unil.ch>
15632         * language/tibet-util.el (tibetan-canonicalize-for-unicode-alist)
15633         (tibetan-canonicalize-for-unicode-regexp): New variables.
15634         (tibetan-canonicalize-for-unicode-region): New function.
15635         (tibetan-strict-unicode): New variable.
15636         (tibetan-pre-write-canonicalize-for-unicode): New function.
15638 2002-05-07  Markus Rost  <rost@math.ohio-state.edu>
15640         * net/ange-ftp.el (ange-ftp-re-read-dir): Don't hide it behind
15641         the autoload-cookie.  Remove comment.
15643         * ffap.el (ffap): Don't hide it behind the autoload-cookie.
15645         * rect.el (close-rectangle): Don't hide it behind the
15646         autoload-cookie.
15648 2002-05-07  Juanma Barranquero  <lektu@terra.es>
15650         * windmove.el (windmove-default-keybindings): Add optional
15651         parameter to allow using a modifier other than 'shift.
15653 2002-05-07  Thomas Link  <t.link@gmx.at>
15655         * filesets.el:
15656         (filesets-external-viewers): Fix customization problem.
15657         (filesets-some): Replaces cl's `some'.  Calls changed.
15658         (filesets-member): Replaces cl's `member*'.  Calls changed.
15659         (filesets-ormap): New function.
15661 2002-05-07  John Paul Wallington  <jpw@shootybangbang.com>
15663         * ibuffer.el (toplevel): Specialize `ibuffer-mode-groups-popup'
15664         menu items.
15666 2002-05-07  Colin Walters  <walters@gnu.org>
15668         * ibuf-ext.el (ibuffer-pop-filter-group): Doc fix.
15669         (ibuffer-clear-filter-groups): Likewise.
15670         (ibuffer-kill-filter-group): Likewise.
15671         (ibuffer-kill-line): Likewise.
15672         (ibuffer-read-filter-group-name): New function.
15673         (ibuffer-jump-to-filter-group): Use it.
15674         (ibuffer-kill-filter-group): Likewise.
15675         (ibuffer-yank-filter-group): Likewise.
15676         (ibuffer-decompose-filter-group): New function.
15678         * ibuffer.el (ibuffer-mode-map): Bind it.  Add :enable guard
15679         around `ibuffer-filters-to-filter-group' menu item.  Fix :enable
15680         guards for `ibuffer-pop-filter-group' and
15681         `ibuffer-clear-filter-groups'.
15683 2002-05-06  Markus Rost  <rost@math.ohio-state.edu>
15685         * emacs-lisp/find-func.el (find-function-search-for-symbol):
15686         Use with-syntax-table.
15688 2002-05-06  Francesco Potort\e,Al\e(B  <pot@gnu.org>
15690         * mail/rmail.el (rmail-font-lock-keywords): Highlight Resent-[Ff]rom:.
15692 2002-05-05  Markus Rost  <rost@math.ohio-state.edu>
15694         * time-stamp.el (time-stamp-format): Doc fix: escape open
15695         parenthesis in column 0.
15697 2002-05-04  Richard M. Stallman  <rms@gnu.org>
15699         * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
15700         Handle both cases: when the menu item has cached info
15701         and when it doesn't.
15703         * filesets.el (filesets-browse-dir-function): Renamed from ...-fn.
15704         (filesets-open-file-function, filesets-save-buffer-function): Likewise.
15705         (filesets-tree-max-level): Doc fix.
15706         (filesets-commands, filesets-external-viewers)
15707         (filesets-ingroup-patterns): Mark as risky.
15708         (filesets-cache-hostname-flag): Doc fix.
15709         (filesets-menu-cache-file): Doc fix.  Mark as risky.
15710         (filesets-menu-before, filesets-menu-path, filesets-menu-in-menu):
15711         Don't defcustom them if running in Emacs.
15713 2002-05-04  Thomas Link  <t.link@gmx.at>
15715         * filesets.el (filesets-ingroup-collect-files):
15716         Fix problem with inclusion groups' :scan-depth property.
15718 2002-05-04  Colin Walters  <walters@verbum.org>
15720         * ibuf-ext.el (ibuffer-kill-filter-group): Test for killing
15721         "Default" group earlier.  Push killed group on
15722         `ibuffer-filter-group-kill-ring'.
15723         (ibuffer-kill-line): Document.  Don't push killed group ourselves.
15724         (ibuffer-yank-filter-group): Renamed from `ibuffer-yank'.
15725         (ibuffer-insert-filter-group-before): New function, broken out
15726         from `ibuffer-yank'.
15727         (ibuffer-yank): Now just call `ibuffer-yank-filter-group'.
15729         * ibuffer.el (ibuffer-mode-operate-menu, ibuffer-mode-mark-menu)
15730         (ibuffer-mode-view-menu): Unused variables; deleted.
15731         (ibuffer-find-file): Pass wildcard flag to `find-file' correctly.
15733 2002-05-04  John Paul Wallington  <jpw@shootybangbang.com>
15735         * ibuffer.el (ibuffer-mode-groups-popup): New variable.
15736         (toplevel): Bind filter group menu entries in it.  Add :enable
15737         forms for some menu items.
15738         (toplevel): Bind [down-mouse-3] in `ibuffer-mode-filter-group-map'
15739         to `ibuffer-mouse-popup-menu'.
15740         (ibuffer-mouse-popup-menu): Test whether or not we're on a filter
15741         group name, and if so, pop up a filter group menu.
15743 2002-05-04  Jason Rumney  <jasonr@gnu.org>
15745         * mwheel.el (mwheel-event-button): Translate mouse-wheel events.
15746         (mwheel-scroll): Recognize nil scroll amount as documented.
15748         * term/w32-win.el (mouse-wheel-scroll-line)
15749         (mouse-wheel-scroll-screen): Remove.
15750         ([mouse-wheel], [C-mouse-wheel], [S-mouse-wheel]): Use mwheel-scroll.
15752         * w32-vars.el: (mouse-wheel-scroll-amount): Removed.
15754 2002-05-04  Markus Rost  <rost@math.ohio-state.edu>
15756         * emacs-lisp/find-func.el (find-function-search-for-symbol):
15757         Bind case-fold-search when searching.
15759 2002-05-04  Eli Zaretskii  <eliz@is.elta.co.il>
15761         * apropos.el (apropos-print): Fix the reference to mouse-2.
15763 2002-05-04  Daniel Pfeiffer  <occitan@esperanto.org>
15765         * play/mpuz.el (mpuz-switch-to-window): Set buffer-read-only directly.
15767 2002-05-04  Kim F. Storm  <storm@cua.dk>
15769         * cus-edit.el (custom-buffer-verbose-help): New variable.
15770         (custom-buffer-create-internal): Remove verbose introduction
15771         in customization buffer when it is nil.
15773 2002-05-03  Dave Love  <fx@gnu.org>
15775         * international/mule-cmds.el (select-safe-coding-system):
15776         Don't offer coding systems that use locking shift.
15777         Ask for confirmation if chosen coding system disagrees with
15778         a `coding:' spec in the file.
15780 2002-05-03  John Wiegley  <johnw@gnu.org>
15782         * eshell/esh-var.el (eshell-modify-global-environment): Added this
15783         customization variable, which will cause any "export" commands
15784         within any eshell buffer to modify the global Emacs environment.
15785         It defaults to nil, which means that such commands will only
15786         modify that Eshell buffer's environment.
15787         (eshell-var-initialize): Initialize `eshell-modify-global-environment'.
15789         * eshell/em-cmpl.el (eshell-command-completions-alist):
15790         Improve default completion targets for objdump, nm and readelf.
15792 2002-05-03  Colin Walters  <walters@verbum.org>
15794         * play/gamegrid.el (gamegrid-user-score-file-directory): New variable.
15795         (gamegrid-add-score-with-update-game-score):
15796         Use `shared-game-score-directory'.  Correctly handle non-setuid case.
15798 2002-05-02  Colin Walters  <walters@verbum.org>
15800         * replace.el (occur-mode-map): Bind "q" to `delete-window'.
15801         (occur-1): If one of the buffers we're searching is the *Occur*
15802         buffer itself, handle it by creating a temporary buffer.  If any
15803         of the buffers being searched are killed, note that in the search
15804         result message.  Also, set local variables before we possibly kill
15805         the buffer.
15807 2002-05-02  Kim F. Storm  <storm@cua.dk>
15809         * menu-bar.el (menu-bar-make-toggle): Added optional PROPS arg.
15810         (menu-bar-options-save): Added cua-mode.
15811         (menu-bar-options-menu): Added toggle for cua-mode.
15812         Disable toggle for transient-mark-mode if cua-mode is enabled.
15814         * emulation/cua-base.el (cua-inhibit-cua-keys): New buffer-local
15815         variable.
15817 2002-05-01  Richard M. Stallman  <rms@gnu.org>
15819         * help.el (view-todo): New function.
15820         (help-map): Bind C-h C-t to view-todo.
15821         (help-for-help): Change the text.
15823 2002-05-01  Glenn Morris  <gmorris@ast.cam.ac.uk>
15825         * progmodes/f90.el: Yet more doc string, commment and whitespace
15826         changes.
15827         (f90-imenu-flag): New name for internal variable f90-imenu.
15828         (f90-blocks-re, f90-program-block-re, f90-end-if-re)
15829         (f90-no-break-re): Use regexp-opt.
15830         (f90-end-type-re): Add closing "\\>".
15831         (f90-indent-region): Correctly indent comments embedded in
15832         continued lines.
15833         (f90-indent-new-line): Make it indent the current line, as it should.
15834         (f90-line-continued, f90-get-present-comment-type)
15835         (f90-looking-at-if-then, f90-indent-line, f90-indent-new-line)
15836         (f90-indent-region, f90-indent-subprogram, f90-do-auto-fill)
15837         (f90-join-lines, f90-fill-region, f90-match-end, f90-insert-end)
15838         (f90-change-keywords): Minor code tidying.
15840         * progmodes/fortran.el (fortran-strip-sequence-nos): Rename from
15841         typo `fortran-strip-sqeuence-nos'.
15843 2002-05-01  Eli Zaretskii  <eliz@is.elta.co.il>
15845         * simple.el (clone-indirect-buffer-other-window): Fix a typo in
15846         pop-up-window.
15848 2002-05-01  Kim F. Storm  <storm@cua.dk>
15850         * emulation/cua-base.el (cua--pre-command-handler):
15851         Only interpret delete-selection property if mark-active.
15852         (cua-mode): Fixed require in defcustom.
15854 2002-05-01  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
15856         * calendar/cal-menu.el (cal-menu-x-popup-menu): Fix argument of
15857         error call.
15859 2002-05-01  Colin Walters  <walters@verbum.org>
15861         * textmodes/tex-mode.el (tex-validate-buffer):
15862         Use `occur-revert-arguments' instead of setting `occur-nlines' and
15863         `occur-buffer'.  Don't test for `input-pending-p' in loop.
15864         Set text property `occur-target' instead of `occur'.
15866 2002-04-30  John Wiegley  <johnw@gnu.org>
15868         * align.el (align-region): Fixed the fix to align-region, because
15869         the "name" argument was appearing twice.
15871 2002-05-01  Martin Stjernholm  <bug-cc-mode@gnu.org>
15873         * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
15874         to handle protection labels, one which doesn't get confused by
15875         inherit colons.
15877         * progmodes/cc-engine.el (c-end-of-decl-1): Don't treat
15878         functions that have "class" or "struct" in the return type as
15879         classes or structs.
15881 2002-04-30  Kim F. Storm  <storm@cua.dk>
15883         * menu-bar.el (menu-bar-custom-menu): Change "Recently Changed
15884         Options" to "New Options..."; rephrase tooltip.
15885         Rephrase tooltip for "Specific Option...".
15886         Added "Saved Options" item.  [from Simon Marshall]
15888 2002-04-30  Richard M. Stallman  <rms@gnu.org>
15890         * time.el (display-time-mail-directory)
15891         (display-time-mail-function): Doc fixes.
15893         * ediff-hook.el: Remove autoload cookies.
15895         * language/tibetan.el (tibetan-obsolete-glyphs): Now in tibet-util.el.
15897         * language/tibet-util.el (tibetan-obsolete-glyphs): From tibetan.el.
15899         * align.el (align-region): Fix call to `message'.
15900         Check that (car rule) is a symbol.
15902         * autoinsert.el (auto-insert-directory): Doc fix.
15904         * facemenu.el (describe-text-at and stuff): Moved to descr-text.el.
15906         * descr-text.el: New file, broken out of facemenu.el.
15908         * emacs-lisp/advice.el (documentation): Add ad-define-subr-args call.
15910 2002-04-29  Markus Rost  <rost@math.ohio-state.edu>
15912         * mail/emacsbug.el (report-emacs-bug-hook):
15913         Use replace-match only if search was successful.
15915 2002-04-29  Richard M. Stallman  <rms@gnu.org>
15917         * net/zone-mode.el (zone-mode): Add write-file-hooks hook locally.
15919         * mail/emacsbug.el (report-emacs-bug-hook): Don't fail completely
15920         if the user edits the Emacs version number in the text.
15922         * filesets.el (filesets-running-xemacs): Make defvar unconditional.
15923         (filesets-ingroup-files): Renamed from filesets-ingroup-paths.
15924         (filesets-error): Simplify definition and make conditional
15925         on filesets-running-xemacs.
15926         (filesets-find-file-using): Renamed from fsfind-file-using.
15928 2002-04-29  Stefan Monnier  <monnier@cs.yale.edu>
15930         * info.el (Info-find-in-tag-table-1, Info-read-subfile): Use point-min.
15931         (Info-read-node-name-1): Complete file names.
15932         (Info-complete-menu-item): Don't cons unnecessarily.
15934         * files.el (locate-file): New fun.
15935         (locate-file-completion): Rename from load-completion and generalize.
15936         (load-library): Use it.
15937         (make-auto-save-file-name): Expand caddr.
15939         * newcomment.el (comment-fill-column): New var.
15940         (comment-indent): Use it.
15941         (comment-or-uncomment-region): New fun.
15942         (comment-dwim): Use it.
15944 2002-04-29  Colin Walters  <walters@verbum.org>
15946         * ibuf-ext.el (ibuffer-kill-filter-group): Call `delete' function.
15947         (ibuffer-kill-line): Copy the filter group data structure when killing.
15948         (ibuffer-yank): Handle case where we're yanking on the default
15949         group correctly.
15950         (ibuffer-delete-saved-filter-groups): Doc fix.
15952         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15953         Test whether or not update-game-score is setuid, and do the right
15954         thing.
15956 2002-04-29  Kim F. Storm  <storm@cua.dk>
15958         * subr.el (remove-yank-excluded-properties): New helper function.
15959         (insert-for-yank, insert-buffer-substring-as-yank): Use it.
15961         * simple.el (yank-excluded-properties): Added help-echo to list.
15963 2002-04-29  Glenn Morris  <gmorris@ast.cam.ac.uk>
15965         * autoinsert.el (auto-insert-directory): Doc fix.
15967         * progmodes/f90.el: Add/change doc strings for many inline
15968         functions.  Whitespace changes.
15969         (f90-indent-line-no, f90-update-line): Minor code changes.
15971 2002-04-29  Kim F. Storm  <storm@cua.dk>
15973         * emulation/cua-base.el: New file.
15975         * emulation/cua-rect.el: New file.
15977         * emulation/cua-gmrk.el: New file.
15979         * emulation/keypad.el: New file.
15981 2002-04-29  Triet Hoai Lai  <thlai@ee.usyd.edu.au>
15983         * language/vietnamese.el (viet-tcvn-decode-table, ccl-decode-tcvn)
15984         (ccl-encode-tcvn, ccl-encode-tcvn-font, vietnamese-tcvn):
15985         New Vietnamese coding system.
15987         * language/viet-util.el: Update Commentary section.
15989 2002-04-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
15991         * filesets.el (filesets-data): Doc fix.
15992         (filesets-running-xemacs): Define even when compiling.
15994         * recentf.el (recentf-cancel-dialog): Remove dot at the end of
15995         sentence.
15997 2002-04-29  Stefan Monnier  <monnier@cs.yale.edu>
15999         * textmodes/fill.el (fill-context-prefix): Fix last change with
16000         yet-another-approach.
16002 2002-04-28  Markus Rost  <rost@math.ohio-state.edu>
16004         * net/ange-ftp.el (ange-ftp-passive-host-alist)
16005         (ange-ftp-bs2000-additional-pubsets): Fix custom type.
16007         * files.el (small-temporary-file-directory): Fix custom type.
16009 2002-04-28  Glenn Morris  <gmorris@ast.cam.ac.uk>
16011         * progmodes/f90.el (f90-xemacs-flag): New variable.
16012         (f90-mark-subprogram-overlay): New variable.
16013         (f90-mark-subprogram): Now it highlights the subprogram.
16014         (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
16015         Fix highlighting of various "type" forms.
16017 2002-04-28  Colin Walters  <walters@verbum.org>
16019         * ibuffer.el (ibuffer-mode): Additional documentation on filter
16020         groups.
16022 2002-04-28  John Paul Wallington  <jpw@shootybangbang.com>
16024         * ibuf-ext.el (ibuffer-set-filter-groups-by-mode): Don't make an
16025         ibuffer-mode filter group if `ibuffer-view-ibuffer' is nil.
16027 2002-04-28  Richard M. Stallman  <rms@gnu.org>
16029         * mail/sendmail.el (mail-recover-1): Decrease non-random-len
16030         by 1 for the newly-readded #.
16032         * files.el (make-auto-save-file-name): Specify # as suffix
16033         in the non-file-visiting case.
16035         * subr.el (make-temp-file): New arg SUFFIX.
16037         * filesets.el: New file.
16039         * replace.el (occur-accumulate-lines): Avoid incf and decf.
16040         (occur-engine-add-prefix): New function.
16041         (occur-engine): Avoid using macrolet, incf and decf.
16042         Use occur-engine-add-prefix instead.
16043         Rename `l' to `lines' and `c' to `matches'.
16045         * replace.el (occur-engine, occur-mode-mouse-goto)
16046         (occur-mode-find-occurrence, occur-mode-goto-occurrence)
16047         (occur-mode-goto-occurrence-other-window)
16048         (occur-mode-display-occurrence): A position is just a marker,
16049         not a list.
16051         * replace.el (occur-revert-arguments):
16052         Renamed from occur-revert-properties.  All uses changed.
16054 2002-04-28  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
16056         * recentf.el (recentf-menu-before): Use string to specify path in
16057         the menu.
16059         * international/mule-cmds.el (read-language-name): Take care of
16060         non-list values.
16062 2002-04-27  Richard M. Stallman  <rms@gnu.org>
16064         * custom.el (custom-load-symbol): Moved from cus-edit.el.
16065         (custom-load-recursion): Likewise.
16067         * cus-edit.el (custom-load-symbol): Moved to custom.el.
16068         (custom-load-recursion): Likewise.
16070         * progmodes/ada-xref.el (ada-add-ada-menu): Menu pseudo-keys
16071         generated by easymenu are now lowercase.
16073 2002-04-27  Richard M. Stallman  <rms@gnu.org>
16075         * menu-bar.el (menu-bar-update-buffers): Add menu items
16076         Next Buffer and Previous Buffer.
16078         * simple.el (next-buffer, prev-buffer): New commands.
16079         Bind C-x left and C-x right to them.
16081         * info.el (Info-header-line): Mark it as risky-local-variable.
16083         * subr.el (insert-for-yank): Replace `category' property
16084         with whatever properties it stands for.
16086         * subr.el (member-ignore-case): Ignore non-strings in LIST.
16088 2002-04-27  Miles Bader  <miles@gnu.org>
16090         * faces.el (read-face-name): Format the prompt correctly when
16091         there's no default.
16093 2002-04-26  Andrew Choi  <akochoi@shaw.ca>
16095         * term/mac-win.el: Don't call ediff-toggle-multiframe.
16096         Set default directory.  Set process-connection-type to nil.
16098 2002-04-26  Richard M. Stallman  <rms@gnu.org>
16100         * loadup.el: Explicitly load cus-face and timer.
16102         * isearch.el: Don't require timer.
16104         * faces.el: Don't require cus-face.
16106         * cus-edit.el (customize-face): Use read-face-name
16107         and handle multiple faces.
16108         (customize-face-other-window): Make it work similarly.
16110         * faces.el (read-face-name): New defaulting features.
16111         New args STRING-DESCRIBING-DEFAULT and MULTIPLE.
16112         (list-faces-display): Use the face, not its name string,
16113         as arg when running customize-face.
16114         Put a `read-face-name' prop on the entire line.
16115         (describe-face): Handle multiple faces via read-face-name.
16117         * textmodes/tex-mode.el (tex-start-options): New variable.
16118         (tex-start-commands): New variable.
16119         (tex-start-options-string): Variable deleted.
16120         (tex-start-tex): Use tex-start-options and tex-start-commands,
16121         not tex-start-options-string.
16122         (tex-command): Doc fix.
16124 2002-04-26  Sam Steingold  <sds@gnu.org>
16126         * mail/smtpmail.el (smtpmail-try-auth-methods): When `host' is
16127         not in the authinfo/netrc, keep `cred' at nil.
16129 2002-04-26  Gerd Moellmann  <gerd@gnu.org>
16131         * find-file.el: Remove Ada-specific example code.
16133 2002-04-25  Michael Kifer  <kifer@cs.stonybrook.edu>
16135         * ediff-hooks.el: Put back the autoloads.
16137 2002-04-25  Colin Walters  <walters@verbum.org>
16139         * ibuffer.el (define column process): Use `ibuffer-aif'.
16141         * ibuf-ext.el (ibuffer-saved-filter-groups): Don't include broken
16142         defaults.
16143         (ibuffer-yank): Be sure to `setq' after we use `nconc'.
16144         (ibuffer-save-filter-groups): Correctly structure filter groups.
16145         (ibuffer-switch-to-saved-filter-groups): Correctly extract filter
16146         groups.
16148 2002-04-25  Simon Josefsson  <jas@extundo.com>
16150         * mail/sendmail.el (mail-use-dsn): New variable to request
16151         delivery status notification from MTA.
16152         (sendmail-send-it): Use it.
16154         * mail/smtpmail.el (smtpmail-queue-counter): New variable.
16155         (smtpmail-send-it): Use it to construct new queue filenames
16156         (needed if you send more than one message per second, which is
16157         possible if you use Gnus Agent).
16159         * mail/smtpmail.el (smtpmail-auth-credentials): Support netrc
16160         files as well.
16161         (smtpmail-try-auth-methods): Support netrc data.
16162         (netrc-parse): Autoload netrc.
16164 2002-04-25  Colin Walters  <walters@verbum.org>
16166         * replace.el (multi-occur-by-filename-regexp): Doc fix.
16167         (occur-engine): Go to `point-min'.  Make nlines argument actually
16168         mean number of context lines.  Handle it.  Pad digits to the right.
16170         * ibuf-ext.el (ibuffer-filtering-groups): Renamed to
16171         `ibuffer-filter-groups'.  All users updated.
16172         (ibuffer-show-empty-filter-groups): New variable.
16173         (ibuffer-saved-filter-groups): New variable.
16174         (ibuffer-maybe-save-stuff): Renamed from
16175         `ibuffer-maybe-save-saved-filters'.  Callers updated.
16176         Handle `ibuffer-saved-filter-groups'.
16177         (ibuffer-hidden-filtering-groups): Renamed to
16178         `ibuffer-hidden-filter-groups'.
16179         (ibuffer-filter-group-kill-ring): New variable.
16180         (ibuffer-save-with-custom): Doc fix.
16181         (ibuffer-set-filter-groups-by-mode): New function.
16182         (ibuffer-clear-filter-groups): New function.
16183         (ibuffer-current-filter-groups-with-position): Renamed from
16184         `ibuffer-current-filter-groups'.  Callers updated.
16185         (ibuffer-kill-filter-group): New function.
16186         (ibuffer-kill-line): New function.
16187         (ibuffer-yank): New function.
16188         (ibuffer-save-filter-groups): New function.
16189         (ibuffer-delete-saved-filter-groups): New function.
16190         (ibuffer-switch-to-saved-filter-groups): New function.
16191         (ibuffer-mark-on-buffer): Add optional arguments for adding a
16192         specific mark, and marking on a specific group.
16194         * ibuffer.el (ibuffer-formats): Doc fix.
16195         (ibuffer-mode-map): Bind <up> to `ibuffer-backward-line'.
16196         Bind new functions from ibuf-ext.el.  Add menu entries for them.
16197         Remove superfluous tooltips.
16198         (ibuffer-toggle-marks): If on a group name, then toggle marks just
16199         in that group.
16200         (ibuffer-mark-interactive): Handle filter groups.
16201         (ibuffer-mark-forward, ibuffer-unmark-forward)
16202         (ibuffer-mark-for-delete, ibuffer-unmark-backward)
16203         (ibuffer-mark-for-delete-backwards): Update docs.
16204         (ibuffer-current-filter-groups): Moved to ibuf-ext.el, and renamed
16205         to `ibuffer-current-filter-groups-with-position'.
16206         (ibuffer-redisplay-engine): Handle `ibuffer-show-empty-filter-groups'.
16207         (ibuffer-mode): Add some documentation about filter groups.
16209 2002-04-25  Andreas Schwab  <schwab@suse.de>
16211         * find-dired.el (find-name-dired): Don't quote pattern twice.
16213 2002-04-26  Miles Bader  <miles@gnu.org>
16215         * cus-edit.el (customize-face, customize-face-other-window):
16216         Use default instead of initial-input for suggested face.
16218 2002-04-25  Gerd Moellmann  <gerd@gnu.org>
16220         * cus-edit.el (customize-face-other-window, customize-face):
16221         Interactively, when point is on text with a face, suggest to
16222         customize that face.
16224 2002-04-25  Glenn Morris  <gmorris@ast.cam.ac.uk>
16226         * progmodes/f90.el: General tidy-up of commentary and some doc
16227         strings.
16229 2002-04-24  Glenn Morris  <gmorris@ast.cam.ac.uk>
16231         * scroll-all.el (scroll-all-function-all) New function to do the
16232         actual work.
16233         (scroll-all-scroll-down-all, scroll-all-scroll-up-all,
16234         scroll-all-page-down-all, scroll-all-page-up-all,
16235         scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
16236         Make them use scroll-all-function-all.
16238         * progmodes/f90.el (f90-get-beg-of-line): Removed and replaced
16239         with line-beginning-position.
16240         (f90-get-end-of-line): Removed and replaced with line-end-position.
16241         (f90-match-piece): Removed and replaced with match-string.
16242         (f90-current-indentation): Remove `current-column'.
16243         (f90-get-present-comment-type): Use match-string rather than
16244         buffer-substring.
16245         (f90-match-end): Use line-beginning-position, line-end-position
16246         rather than beginning-of-line, end-of-line.
16247         (f90-startup-message): Variable removed.
16249 2002-04-24  Colin Walters  <walters@verbum.org>
16251         * replace.el (occur-accumulate-lines): Add optional argument
16252         `no-props'.  Handle it.
16253         (occur-engine): Use it.
16255         * ibuf-ext.el (toplevel): Remove byte-compile-dynamic.  Try to set
16256         up autoloads manually.
16257         (ibuffer-split-list): New function.
16258         (ibuffer-filtering-groups): New variable.
16259         (ibuffer-hidden-filtering-groups): New variable.
16260         (ibuffer-mouse-toggle-filter-group): New function.
16261         (ibuffer-toggle-filter-group): New function.
16262         (ibuffer-toggle-filter-group-1): New function.
16263         (ibuffer-forward-filter-group): New function.
16264         (ibuffer-backward-filter-group): New funtion.
16265         (ibuffer-generate-filter-groups): New function.
16266         (ibuffer-filters-to-filter-group): New function.
16267         (ibuffer-pop-filter-group): New function.
16268         (ibuffer-jump-to-filter-group): New function.
16269         (ibuffer-do-occur): Just use `occur-read-primary-args'
16271         * ibuffer.el (ibuffer-filter-group-name-face): New.
16272         (ibuffer-mode-map): Bind and add menu entries for most new
16273         functions; also, bind the arrow keys to the movement functions.
16274         (ibuffer-mode-filter-group-map): New.
16275         (ibuffer-mouse-toggle-mark): Handle group names.
16276         (ibuffer-mouse-visit-buffer): Error if the current buffer is killed.
16277         (ibuffer-skip-properties): New function.
16278         (ibuffer-backward-line, ibuffer-forward-line): Optionally skip
16279         group names.  Also, handle new properties.
16280         (ibuffer-visit-buffer, ibuffer-visit-buffer-other-window):
16281         Move error handling to `ibuffer-current-buffer'.
16282         (ibuffer-visit-buffer-other-frame, ibuffer-bury-buffer): Ditto.
16283         (ibuffer-visit-tags-table, ibuffer-do-view-1): Ditto.
16284         (ibuffer-toggle-marks): Add optional group argument.
16285         (ibuffer-mark-interactive): Skip group names.
16286         (ibuffer-current-buffer): Clean up error handling.
16287         (ibuffer-fontify-region-function): Fontify group names.
16288         (ibuffer-map-lines): Add extra group argument.  Handle it.
16289         (ibuffer-current-filter-groups): New function.
16290         (ibuffer-redisplay): Handle hidden filtering groups.
16291         (ibuffer-sort-bufferlist): New function, taken from
16292         `ibuffer-insert-buffers-and-marks'.
16293         (ibuffer-insert-filter-group): New function.
16294         (ibuffer-redisplay-engine): Renamed from
16295         `ibuffer-insert-buffers-and-marks'.  Handle new filtering groups.
16296         (ibuffer): Add filter-groups argument.  Handle it.
16297         Use `save-selected-window'.
16298         (ibuffer-mode): Make `ibuffer-filtering-groups' and
16299         `ibuffer-hidden-filtering-groups' buffer-local.
16301         * ibuf-macs.el (ibuffer-save-marks): Call `ibuffer-redisplay-engine'.
16303 2002-04-24  Richard M. Stallman  <rms@gnu.org>
16305         * emacs-lisp/easymenu.el (easy-menu-intern): Downcase before interning.
16306         (easy-menu-define-key-intern): Function deleted; callers intern
16307         and then call easy-menu-define-key.
16308         (easy-menu-do-add-item): Explicitly intern the key, but not BEFORE.
16309         (easy-menu-define-key): Use easy-menu-name-match to match BEFORE.
16310         (easy-menu-name-match): New function.
16311         (add-submenu): New function.
16312         (easy-menu-get-map-look-for-name): Use easy-menu-name-match.
16314 2002-04-24  Eli Zaretskii  <eliz@is.elta.co.il>
16316         * menu-bar.el (menu-bar-adv-search-menu)
16317         (menu-bar-adv-search-menu): Improve the help text.
16319 2002-04-24  Simon Josefsson  <jas@extundo.com>
16321         * net/netrc.el: New file.
16323 2002-04-24  Thomas DeWeese  <tdeweese@rochester.rr.com>
16325         * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
16326         Check if any of the available selection sources has new content
16327         and if so it will return that content.
16329 2002-04-24  Miles Bader  <miles@gnu.org>
16331         * menu-bar.el (buffers-menu-show-directories)
16332         (buffers-menu-show-status): New variables.
16333         (menu-bar-update-buffers-1): Use them.
16335 2002-04-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
16337         * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
16338         from `c-do-auto-fill' and point is at or near the limit of the
16339         comment.  Fixed bug when the prefix from `c-guess-fill-prefix'
16340         is longer than the text on the first line of the comment when
16341         it's masked.
16343 2002-04-24  Miles Bader  <miles@gnu.org>
16345         * menu-bar.el (menu-bar-update-buffers-1): Make sure
16346         `uniquify-buffer-name-style' is bound.
16348 2002-04-23  Colin Walters  <walters@verbum.org>
16350         * replace.el (toplevel): Require `cl' while compiling.
16351         (occur-buffer, occur-nlines): Delete.
16352         (occur-revert-properties): Rename to `occur-revert-properties'.
16353         (occur-mode): Handle it.  Set up font lock.
16354         (occur-revert-function): Simply apply `occur-1'.
16355         (occur-mode-find-occurence, occur-mode-mouse-goto)
16356         (occur-mode-goto-occurrence-other-window)
16357         (occur-mode-display-occurrence): Handle buffer property.
16358         (list-matching-lines-face): Use defcustom.
16359         (list-matching-lines-buffer-name-face): New variable.
16360         (occur-accumulate-lines): Renamed from `ibuffer-accumulate-lines',
16361         in ibuffer.el.
16362         (occur-read-primary-args): Move out of `occur'.
16363         (occur): Delete.  Now simply call `occur-1'.
16364         (multi-occur, multi-occur-by-filename-regexp): New functions.
16365         (occur-1): New function.
16366         (occur-engine): Renamed from `ibuffer-occur-engine' to replace the
16367         previous implementation of `occur'; taken from ibuf-ext.el.
16368         (occur-fontify-on-property): New function.
16369         (occur-fontify-region-function, occur-unfontify-region-function):
16370         New functions.
16372         * ibuffer.el (ibuffer-accumulate-lines): Moved to replace.el.
16374         * ibuf-ext.el (ibuffer-depropertize-string): Delete.
16375         (ibuffer-occur-match-face): Delete.
16376         (ibuffer-occur-props, ibuffer-occur-mode): Delete.
16377         (ibuffer-occur-mouse-display-occurence): Delete.
16378         (ibuffer-occur-goto-occurence, ibuffer-occur-display-occurence)
16379         (ibuffer-do-occur-1, ibuffer-occur-revert-buffer-function): Delete.
16380         (ibuffer-occur-engine): Moved to replace.el.
16381         (ibuffer-do-occur): Simply call `occur-1'.
16383         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16384         Handle the case where we're already viewing the score file.
16386 2002-04-23  Andreas Schwab  <schwab@suse.de>
16388         * menu-bar.el (menu-bar-goto-menu): Fix bindings for next-tag and
16389         next-tag-otherw.
16391 2002-04-23  Miles Bader  <miles@gnu.org>
16393         * menu-bar.el (menu-bar-update-buffers-1): Don't display a
16394         directory separator if there's no directory.  Don't display
16395         directories at all if uniquify is active.  Some code cleanup.
16396         (uniquify-buffer-name-style): Declare (but don't initialize).
16398         * menu-bar.el (menu-bar-update-buffers): Don't use constant lists
16399         for command menu entries, since the low-level menu code modifies
16400         them.  Cache the resulting list.
16401         (menu-bar-buffers-menu-command-entries): New variable.
16403         * menu-bar.el (menu-bar-update-buffers): Add `Select Named Buffer'.
16404         Add separator line before commands
16405         Remove old crufty code that tried to line things up by adding
16406         spaces to entries (it doesn't work).
16407         Move `Frames' submenu after the normal buffers, and add a
16408         separator line before it.
16409         (menu-bar-buffers-menu-list-buffers-entry): Variable removed.
16411 2002-04-22  Richard M. Stallman  <rms@gnu.org>
16413         * files.el (after-find-file): Use %s to output MSG.
16415         * dired.el (dired-mouse-find-file-other-window):
16416         Handle events that move out of the window.
16418 2002-04-23  Martin Stjernholm  <bug-cc-mode@gnu.org>
16420         * progmodes/cc-cmds.el (c-mask-comment): Fixed bug where point
16421         was moved to the following line when it was at the first line
16422         of a block comment where comment-start-skip matched to eol.
16424 2002-04-22  Richard M. Stallman  <rms@gnu.org>
16426         * simple.el (line-move-finish): Find beg and end of line
16427         before calling line-move-to-column.  Do consider intangible
16428         when finding the end.  Take more care in analyzing the results
16429         of intangibility after line-move-to-column.
16431 2002-04-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
16433         * international/mule-diag.el (list-input-methods-1): Doc fix
16434         (LEIM is now part of the standard distribution).
16436         * tmm.el (tmm-completion-prompt): Doc fix.
16438         * hilit-chg.el (global-highlight-changes): Capitalize status texts.
16440 2002-04-22  Edward M. Reingold  <reingold@emr.cs.iit.edu>
16442         * diary-lib.el (include-other-diary-files): Allow modifying
16443         included buffer, to turn off selective display.
16445 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16447         * progmodes/cc-mode.el: (c-define-abbrev-table): New function to
16448         pass the SYSTEM-FLAG to `define-abbrev' in a way that works in
16449         emacsen that doesn't support it.
16451 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16453         * progmodes/cc-align.el, progmodes/cc-engine.el,
16454         progmodes/cc-styles.el, progmodes/cc-vars.el
16455         (c-guess-basic-syntax, c-lineup-topmost-intro-cont):
16456         Find correct anchor for statement-cont in top level constructs.
16457         Analyze variable initializations in top level constructs as
16458         topmost-intro-cont instead of statement-cont.  That is an
16459         incompatible change but it gives better consistency.  The new
16460         lineup function c-lineup-topmost-intro-cont' compensates for
16461         it and is now put on topmost-intro-cont by default.
16463         * progmodes/cc-align.el, progmodes/cc-engine.el,
16464         progmodes/cc-langs.el (c-lineup-argcont): Lineup function
16465         contributed by Kevin Ryde.
16467         (c-in-gcc-asm-p): Function to recognize asm statements.
16468         Contributed by Kevin Ryde.
16470         (c-opt-asm-stmt-key): New language variable to recognize the
16471         beginning of asm statements.
16473 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16475         * progmodes/cc-engine.el (c-guess-basic-syntax):
16476         Detect variable declarations after class and struct declarations
16477         correctly.  Fixed limit error when finding the anchor for
16478         template-args-cont and topmost-intro-cont.
16480 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16482         * progmodes/cc-cmds.el (c-beginning-of-defun)
16483         (c-declaration-limits): Find the "line oriented" declaration
16484         start too, just like the "line oriented" end is found.
16486 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16488         * progmodes/cc-vars.el (c-offsets-alist): A more sane default
16489         for `inexpr-statement'.  This is not compatible, though.
16490         I think the benefit of a good default style outweights that in
16491         this case.  Besides, `inexpr-statement' is not very common.
16493 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16495         * progmodes/cc-cmds.el (c-electric-delete-forward):
16496         Fix silly bug that caused it to delete backwards in hungry delete
16497         mode.  (It's amazing that this bug hasn't been reported.)
16499         * progmodes/cc-cmds.el (c-declaration-limits, c-mark-function):
16500         Extracted the code to get the declaration limits from
16501         `c-mark-function' to a new `c-declaration-limits'.
16503         (c-indent-defun): Use the same method to get the limits of the
16504         declaration or macro as `c-mark-function'.
16506         * progmodes/cc-engine.el (c-beginning-of-decl-1): Handle brace
16507         list initializers correctly (but costly; it ought to be
16508         integrated into `c-beginning-of-statement-1').
16510 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16512         * progmodes/cc-cmds.el, progmodes/cc-engine.el
16513         (c-beginning-of-defun, c-end-of-defun, c-mark-function):
16514         Rewritten to detect the declaration limits better.
16515         Now handles K&R argdecls, class definitions followed by variables etc.
16517         (c-in-knr-argdecl): Broke out the K&R argdecl test in
16518         `c-beginning-of-decl-1' to this new function.
16520         (c-end-of-statement-1, c-end-of-decl-1):
16521         Replace `c-end-of-statement-1' with `c-end-of-decl-1', which correctly
16522         handles declarations that continue after the block.
16524         * progmodes/cc-engine.el (c-syntactic-re-search-forward):
16525         Added an option to restrict matching to the top level of the
16526         current paren sexp.
16528         * progmodes/cc-langs.el (c-opt-block-decls-with-vars-key):
16529         New regexp to recognize declarations that continue after the block.
16531         (c-syntactic-eol): New regexp to match a "syntactic" eol.
16533 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16535         * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
16536         that often caused the backward limit to be lost at the top
16537         level.  This improves performance a bit.
16539         * progmodes/cc-engine.el (c-syntactic-re-search-forward):
16540         New function that works like `re-search-forward' but only returns
16541         matches in syntactically significant text.
16543         * progmodes/cc-engine.el: Fixed a faster and more accurate way
16544         to recognize K&R argdecls.
16546         (c-beginning-of-decl-1): New function that put point at the
16547         beginning of the declaration.  It handles K&R argdecl blocks.
16549         (c-guess-basic-syntax): Replaced the `knr-argdecl' recognition
16550         code with one that doesn't depend on the current indentation.
16551         The anchor position for `knr-argdecl' has also changed, but in
16552         a way that is unlikely to cause compatibility problems.
16554 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16556         * progmodes/cc-defs.el, progmodes/cc-engine.el
16557         (c-forward-comment): `forward-comment' in XEmacs skips over
16558         line continuations in the backward direction.  Correct for
16559         that.  Also made this a defun since it has grown too large now
16560         to be a defsubst.
16562         * progmodes/cc-langs.el: More convenient and decentralized
16563         setup of the language specific variables.  The regexp-opt
16564         mangling is also done at compile time now.
16566 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16568         * progmodes/cc-cmds.el (c-indent-line-or-region):
16569         Call `c-indent-line' directly instead of through
16570         `indent-according-to-mode' so that this function always
16571         indents syntactically.
16573         * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
16574         where a class beginning with a nested class could cause an
16575         infinite loop (the state outside the narrowed out class is
16576         never used now).
16578 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16580         * progmodes/cc-align.el, progmodes/cc-cmds.el,
16581         progmodes/cc-engine.el, progmodes/cc-vars.el: Fixes so that
16582         the context sensitive analysis inside macros is restricted to
16583         the bodies of #define's; other things, like #if expressions,
16584         never have anything in common with their surroundings.
16585         The old `cpp-macro-cont' syntax is now used in situations where
16586         the syntactic analysis isn't applicable, and a new syntactic
16587         element `cpp-define-intro' is used to add indentation in
16588         #define bodies.
16590         (c-lineup-cpp-define): New name for `c-lineup-macro-cont' to
16591         better reflect its use.
16593         * progmodes/cc-engine.el (c-guess-basic-syntax): Ignore line
16594         continuation backslashes in the detection of `arglist-cont-nonempty'.
16596         * progmodes/cc-align.el: Use the vector form in the return
16597         value in all cases where lineup functions return absolute columns.
16599 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16601         * progmodes/cc-engine.el (c-add-stmt-syntax)
16602         (c-guess-basic-syntax): Anchor `brace-list-intro' and
16603         `bracec-list-close' better for brace lists nested inside expressions.
16605         * progmodes/cc-engine.el, progmodes/cc-langs.el,
16606         progmodes/cc-mode.el, progmodes/cc-styles.el: Cleaned up the
16607         various language specific variables and their initialization.
16608         The keyword regexps are now lists that are combined with
16609         regexp-opt.  Some variables have changed names to fit better
16610         with the naming convention.
16612         * progmodes/cc-defs.el, progmodes/cc-vars.el
16613         (c-buffer-is-cc-mode): The value is the mode symbol of the
16614         original CC Mode mode.
16616         (c-major-mode-is): Compare against the buffer local variable
16617         `c-buffer-is-cc-mode', which is faster than using `derived-mode-class'.
16619 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16621         * progmodes/cc-engine.el (c-forward-syntactic-ws)
16622         (c-backward-syntactic-ws, c-forward-token-1)
16623         (c-backward-token-1, c-in-literal, c-literal-limits)
16624         (c-collect-line-comments, c-literal-type, c-on-identifier)
16625         (c-guess-basic-syntax): These functions are now considered part
16626         of the "CC Mode API" and may be used by other code.
16627         That's signified by making their documentation into docstrings.
16629         (c-whack-state, c-hack-state, c-skip-case-statement-forward):
16630         Removed these internal functions since they aren't used.
16632         (c-forward-to-cpp-expression): Classified this function as internal.
16634 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16636         * progmodes/cc-langs.el (c-ObjC-class-key, c-Java-class-key):
16637         Simplified these regexps; the class keywords they contain
16638         ought to be enough to avoid false matches, so checking for
16639         following identifiers etc is just unnecessary (and might also
16640         fail for oddly formatted code).
16642 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16644         * progmodes/cc-engine.el, progmodes/cc-cmds.el
16645         (c-forward-comment-lc): New function that behaves like
16646         `c-forward-comment', with the exception that line
16647         continuations are treated as whitespace.
16649         (c-beginning-of-statement): Use `c-forward-comment-lc', to
16650         work correctly in macros and other places where line
16651         continuations should be treated as whitespace.
16653         * progmodes/cc-engine.el (c-guess-basic-syntax): Analyze a
16654         normal label in a switch block as a case label, to get
16655         consistent lineup with the case labels.
16657         * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
16658         in skipping over a macro that ends with an empty line.
16660         * progmodes/cc-styles.el: Require cc-align since styles added
16661         with `c-add-style' often contains references to functions
16662         defined there, and so the `c-valid-offset' check might
16663         otherwise complain on them.
16665 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16667         * progmodes/cc-align.el, progmodes/cc-mode.texi,
16668         progmodes/cc-vars.el: Added two new lineup functions:
16670         (c-lineup-knr-region-comment): A new lineup function to get
16671         (what most people think is) better indentation of comments in
16672         the "K&R region" between the function header and its body.
16674         (c-lineup-gcc-asm-reg): New lineup function for better
16675         indentation inside gcc asm blocks.  Contributed by Kevin Ryde.
16677         (c-offsets-alist): Use `c-lineup-gcc-asm-reg' and
16678         `c-lineup-knr-region-comment' in the default offset
16679         configuration, since these two functions have little impact
16680         outside their intended use, and they generally do the right
16681         thing when they kick in.
16683         * progmodes/cc-engine.el (c-guess-continued-construct)
16684         (c-guess-basic-syntax): Handle nested functions in all
16685         languages, not just Pike.  In C and C++ there's a gcc
16686         extension for this, and it also gives better treatment of
16687         macros that are followed by blocks.
16689         * progmodes/cc-langs.el (c-symbol-key): Made this variable
16690         mode specific, to handle Pike special symbols like `== better.
16692 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16694         * progmodes/cc-cmds.el, progmodes/cc-engine.el,
16695         progmodes/cc-vars.el (c-report-syntactic-errors): A new
16696         variable to control the syntactic error messages.  It defaults
16697         to off; since CC Mode ignores most syntactic errors it might
16698         as well ignore them all for the sake of consistency.
16700 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16702         * progmodes/cc-engine.el (c-looking-at-inexpr-block):
16703         Optimization.  Can give a noticeable speedup if there's a
16704         large preceding function or class body.
16706 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16708         * progmodes/cc-align.el, progmodes/cc-cmds.el: Use more
16709         efficient and correct insertion functions in many places.
16710         Always inherit text properties correctly if the text is
16711         permanent.  Also do it for speed in temporary insertions,
16712         since I figure it's less work to continue the surrounding text
16713         properties than to break them.
16715         * progmodes/cc-styles.el (c-read-offset): Unbind SPC in the
16716         completion to make it easier to enter lists.
16718 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16720         * progmodes/cc-cmds.el (c-beginning-of-defun): Fixed bug where
16721         c-state-cache was clobbered.
16723         * progmodes/cc-cmds.el, progmodes/cc-engine.el
16724         (c-calculate-state): Moved from cc-cmds.el to cc-engine.el due
16725         to dependency.
16727 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16729         * progmodes/cc-engine.el (c-parse-state): Ignore unbalanced
16730         open parens in macros (if point isn't in the same one).
16732 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16734         * progmodes/cc-cmds.el (c-context-open-line): New function
16735         that is the `open-line' equivalent to `c-context-line-break'.
16737         * progmodes/cc-mode.el (c-mode-base-map): Compatibility fix
16738         for Emacs 21 since `indent-new-comment-line' has been changed
16739         to `comment-indent-new-line' there.
16741 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16743         * progmodes/cc-engine.el, progmodes/cc-langs.el
16744         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma):
16745         New variables containing the character sets used to recognize
16746         statement/declaration boundaries.  These variables might help
16747         to support languages like javascript and awk, where newlines
16748         sometimes delimits statements.
16750         (c-crosses-statement-barrier-p): Use `c-stmt-delim-chars' as
16751         the set of statement delimiting characters, to allow it to be
16752         changed dynamically and per-mode.
16754 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16756         * progmodes/cc-engine.el (c-looking-at-bos)
16757         (c-looking-at-inexpr-block, c-add-stmt-syntax)
16758         (c-guess-basic-syntax): Treat blocks directly inside function
16759         calls like "bare" statements inside function calls, and not
16760         like in-expression statements.  This to make indentation of
16761         such blocks consistent with other statements inside macro calls.
16763         * progmodes/cc-engine.el (c-guess-basic-syntax):
16764         Made arglist-cont anchor correctly in arglists that contain statements.
16766         * progmodes/cc-engine.el (c-guess-basic-syntax):
16767         Fixed consistent anchoring of defun-block-intro in defuns in code
16768         blocks (can only occur in Pike).
16770         * progmodes/cc-engine.el (c-looking-at-inexpr-block)
16771         (c-looking-at-inexpr-block-backward): Changed the arguments to
16772         require containing sexps and paren state, for better efficiency.
16774 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16776         * progmodes/cc-cmds.el, progmodes/cc-engine.el,
16777         progmodes/cc-vars.el: Improved anchoring of statement and
16778         handling of labels in front of substatements.
16780         (c-guess-continued-construct, c-guess-basic-syntax):
16781         Improved and unified anchoring at statements.  Statements beginning
16782         with comments or labels are now avoided, by going out of
16783         blocks and containing statements if necessary.  This nesting
16784         handling also fixes the case when there's a statement after a
16785         block open brace.  Added the syntactic symbol `substatement-label'.
16787         (c-electric-colon): Map the new `substatement-label' to
16788         `label' when consulting `c-hanging-colons-alist'.
16790         (c-offsets-alist): Added substatement-label.  Updated the
16791         comments for the new anchoring positions at statements.
16793         * progmodes/cc-engine.el (c-guess-basic-syntax): Use more sane
16794         anchor points for knr-argdecl-intro and access-label.
16795         They used to refer to some point on the same line, a bug which was
16796         neutralized by a kludge in `c-get-syntactic-indentation' which
16797         ignored such anchor points.
16799         (c-get-syntactic-indentation): Removed the kludge that was
16800         necessary due to buggy anchor points.
16802         * progmodes/cc-engine.el (c-guess-basic-syntax): Do not check
16803         the absence of a comma before arglist-close (case 7A) in any
16804         language, since there's nothing better to do that case anyway.
16805         Added special case to make in-expression statements be
16806         recognized as normal arglist-cont if we're directly in a macro
16807         arglist, for consistency with other "bare" statements.
16809         * progmodes/cc-engine.el (c-looking-at-bos): Added optional
16810         limit arg for backward searches.
16812         * progmodes/cc-engine.el (c-looking-at-inexpr-block):
16813         Anchor gcc in-expression statements at the surrounding open
16814         parenthesis.  Treat a class body as an in-expression class if
16815         it's used in an object clone expression in Pike.
16817         * progmodes/cc-engine.el (c-get-offset)
16818         (c-get-syntactic-indentation): Allow several anchor positions
16819         in the list of syntactic symbols.  Only the first is used as
16820         the base for the offset calculation.
16822 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16824         * progmodes/cc-cmds.el (c-indent-defun): Indent the current
16825         macro if inside one at the top level.  Do not throw an error
16826         if used at the top level outside a macro.
16828         * progmodes/cc-cmds.el (c-backslash-region): Do tab width
16829         alignment only if the backslashes can't be aligned with
16830         surrounding backslashes.
16832         * progmodes/cc-engine.el (c-end-of-macro): New function.
16834         * progmodes/cc-engine.el (c-least-enclosing-brace):
16835         Rewritten to not be destructive.
16837 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16839         * progmodes/cc-cmds.el (c-context-line-break): Only do a macro
16840         line break when point is inside the content of it; if it's in
16841         the cpp keyword a normal line break is done.
16843         * progmodes/cc-engine.el (c-guess-basic-syntax): Do not add
16844         cpp-macro-cont inside the argument list to a #define.
16846 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16848         * progmodes/cc-defs.el (c-forward-comment): Implemented a
16849         kludge to avoid the problem most forward-comment incarnations
16850         have with `\' together with comment parsing.
16852 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16854         * progmodes/cc-engine.el (c-check-state-cache): Fixed bug
16855         which could cause the state returned by `c-parse-state' to
16856         lack a closed paren element.  That in turn could result in
16857         very long searches, since it's common that they start from the
16858         last preceding close brace.
16860 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16862         * progmodes/cc-engine.el (c-beginning-of-statement-1): Do not
16863         treat else-if as a single continuation, since that'd make it
16864         hard to get the right anchor point when there's a line break
16865         between the two keywords.  This change causes else-clause to
16866         be anchored on the closest preceding else-if and not always on
16867         the starting if, but that doesn't affect the indentation for
16868         any reasonably sane style.  Also introduced a noerror flag.
16870         (c-beginning-of-closest-statement): Removed;
16871         c-beginning-of-statement-1 now avoids the problem this one solved.
16873         * progmodes/cc-engine.el (c-guess-continued-construct)
16874         (c-guess-basic-syntax): Better and more uniform anchor points
16875         for 'statement-cont and 'substatement.  The effect is
16876         noticeable mostly when there's a label on the same line as the
16877         beginning of the statement, or when there are more stuff
16878         before the start of the statement.
16880         * progmodes/cc-engine.el (c-looking-at-inexpr-block):
16881         Added flag to disable looking at the type of the surrounding paren
16882         since that confuses c-beginning-of-statement-1 and a couple of
16883         other places.
16885         * progmodes/cc-engine.el (c-guess-basic-syntax):
16886         Avoid stepping to the previous statement in case 18.
16887         Improvements in recognition of statement blocks on the top level.
16889 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16891         * progmodes/cc-engine.el (c-beginning-of-statement-1)
16892         (c-crosses-statement-barrier-p): Rewritten to get a well
16893         defined and documented behavior.  This fixes some tricky cases
16894         in recognition of do-while constructs.
16896         (c-backward-to-start-of-do, c-backward-to-start-of-if):
16897         Removed; use c-beginning-of-statement-1 instead.
16899         (c-guess-continued-construct, c-guess-basic-syntax):
16900         Various fixes to not depend on the bugs previously in
16901         c-beginning-of-statement-1.  Cleanups in cases 18 and 17 to
16902         use the new behavior of c-beginning-of-statement-1 better.
16903         Fixed recognition of catch blocks inside macros.
16905         * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
16906         in skipping over a macro.
16908         * progmodes/cc-langs.el (c-label-kwds): New variable to
16909         contain the appropriate c-*-label-kwds value.
16911         * progmodes/cc-vars.el (defcustom-c-stylevar): Fixed value
16912         evaluation bug that caused the widget for
16913         c-block-comment-prefix to bug out.
16915 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16917         * progmodes/cc-engine.el (c-guess-basic-syntax):
16918         Improved recognition of statements: They are now recognized in
16919         contexts where they normally can't occur, e.g. on the top level or
16920         in function call arguments.  This is mainly useful to recognize
16921         statements in macros at the top level, and in arguments to
16922         macros.  The cases has been moved around quite a bit, and case
16923         10 has been copied to case 18.  (The cases has not been
16924         renumbered because of this.)
16926         (c-guess-continued-construct): New function which has the
16927         rules which are common between cases 10 and 18.
16929         * progmodes/cc-engine.el (c-beginning-of-statement-1)
16930         (c-backward-to-start-of-do, c-backward-to-start-of-if):
16931         Fixes so that they really obey the passed limits.
16933         (c-safe-position): Return nil if the state doesn't contain a
16934         suitable position.
16936         (c-guess-basic-syntax): Fixes some too short limits in calls
16937         to c-beginning-of-statement-1.  Some fixes for top level
16938         analysis in ObjC mode.
16940         * progmodes/cc-engine.el (c-beginning-of-statement-1):
16941         Fixed bug in do-while statements where the body is not a block.
16943         * progmodes/cc-styles.el (c-set-style):
16944         Reset c-special-indent-hook to its global value if in override mode.
16945         Fixes problem where functions on that hook remained after
16946         style switch.
16948         * progmodes/cc-engine.el (c-evaluate-offset, c-get-offset):
16949         Use c-benign-error to report the c-strict-syntax-p error.
16951 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16953         * progmodes/cc-align.el, progmodes/cc-defs.el,
16954         progmodes/cc-cmds.el, progmodes/cc-engine.el, cc-vars.el:
16955         Several fixes to treat macros as code and not literals and to
16956         handle line continuations transparently.
16958         (c-skip-ws-forward, c-skip-ws-backward): New macros to skip
16959         through whitespace and line continuations, but not comments
16960         and macros.
16962         (c-in-literal): No longer recognizes macros as literals by
16963         default. An extra flag argument is required to do that.
16965         (c-macro-start, c-query-macro-start)
16966         (c-query-and-set-macro-start): Added a cache for the macro
16967         start position.
16969         (c-forward-syntactic-ws, c-backward-syntactic-ws): Fixes for
16970         more speed when limits are given.  Workaround for bad behavior
16971         in forward-comment in some emacsen when it hits a buffer limit
16972         with a large repeat count.
16974         (c-lineup-macro-cont): Improved behavior when
16975         c-syntactic-indentation-in-macros is nil.
16977         (c-syntactic-indentation-in-macros, c-backslash-max-column)
16978         (c-auto-align-backslashes): New customization variables to
16979         control macro handling.
16981         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
16982         Fixes to handle line continuations.
16984         * progmodes/cc-defs.el, progmodes/cc-styles.el
16985         (c-get-style-variables, c-set-offset): Report style errors
16986         with message and ding instead of error signal.  This to avoid
16987         interrupted mode init if there's some style problem.
16989         (c-benign-error): New macro to report errors that doesn't need
16990         to interrupt the operation.
16992         * progmodes/cc-defs.el (c-point): Added eonl and eopl positions.
16994 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
16996         * progmodes/cc-cmds.el (c-electric-brace, c-indent-region):
16997         Removed most of the c-state-cache fiddling, since the global
16998         state cache now handles this.
17000         * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
17001         when there's an open paren at the very first char of the
17002         visible buffer region.
17004         * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
17005         Cache the state globally and invalidate it below every buffer
17006         change with the new after change function
17007         `c-check-state-cache'.  This gives a considerable performance
17008         boost when editing large functions or classes.
17010         * progmodes/cc-engine.el (c-whack-state-after): Slight optimization.
17012 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17014         * progmodes/cc-engine.el, progmodes/cc-langs.el,
17015         progmodes/cc-align.el: Improvements to syntactic analysis
17016         inside macros:
17018         (c-block-stmt-1-kwds, c-block-stmt-2-kwds): New variables used
17019         by `c-guess-basic-syntax'.
17021         (c-parse-state): Fixed bug with braces inside macros when
17022         using cached state info.
17024         (c-forward-to-cpp-expression): New function to aid in
17025         syntactic analysis inside macros.
17027         (c-beginning-of-statement-1, c-backward-syntactic-ws):
17028         Fixes to work better inside macros.
17030         (c-forward-syntactic-ws): Whitespace between the # and the
17031         command should be allowed in preprocessor directives.
17033         (c-lineup-macro-cont): New lineup function to get context
17034         sensitive indentation inside macros.
17036         (c-offsets-alist): Made `c-lineup-macro-cont' the default for
17037         cpp-macro-cont.
17039 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17041         * progmodes/cc-engine.el (c-beginning-of-statement-1)
17042         (c-forward-syntactic-ws): Fixes to handle continued lines.
17044         (c-backward-to-start-of-if, c-guess-basic-syntax):
17045         Do syntactic analysis inside macros.
17047 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17049         * progmodes/cc-cmds.el (c-indent-region): Did a speedup made
17050         possible by the more flexible state cache.
17052         * progmodes/cc-engine.el (c-parse-state, c-whack-state-before)
17053         (c-whack-state-after, c-hack-state)
17054         (c-narrow-out-enclosing-class, c-guess-basic-syntax):
17055         Improved the state cache system.  It now can use partial info from
17056         an old cached state to calculate a new one at a different
17057         position.  Removed some kludges to avoid the state cache.
17058         The new functions `c-whack-state-before' and `c-whack-state-after'
17059         replace the now obsolete `c-whack-state'.
17061         * progmodes/cc-engine.el (c-beginning-of-statement-1):
17062         Optimized backing through a macro.  This can speed things up
17063         quite a bit when there are long macros before point.
17065         (c-beginning-of-macro): Do not ignore the limit.
17067 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17069         * progmodes/cc-cmds.el (c-electric-continued-statement):
17070         Fixed a bug where the keyword wasn't reindented correctly if
17071         followed by another keyword or identifier.
17073         * progmodes/cc-engine.el (c-parse-state): Ignore closed brace
17074         pairs that are in macros.  Fixes some cases where e.g. the
17075         second of two "do { } while (0)" macros after each other
17076         indented differently.
17078 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17080         * progmodes/cc-engine.el (c-beginning-of-macro)
17081         (c-forward-syntactic-ws): Recognize "#!" as a preprocessor
17082         directive when it begins a line, to allow for script
17083         interpreter lines like "#!/usr/bin/pike" at the beginning of
17084         the file.
17086 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17088         * progmodes/cc-engine.el (c-looking-at-inexpr-block):
17089         Recognize brace blocks inside a parenthesis expression as
17090         inexpr-statement.  Useful when writing statements as macro arguments.
17092 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17094         * progmodes/cc-cmds.el (c-fill-paragraph, c-do-auto-fill)
17095         (c-mask-comment): Broke out the comment masking code from
17096         `c-fill-paragraph' to a new function `c-mask-comment', to be
17097         able to do the same thing in `c-do-auto-fill'.  This should
17098         make auto-fill-mode behave better.
17100 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17102         * progmodes/cc-cmds.el (c-electric-brace, c-electric-paren):
17103         Check `executing-macro' to avoid blinking parens when macros
17104         are executed.
17106         * progmodes/cc-mode.el, progmodes/cc-styles.el
17107         (c-setup-filladapt): Moved from cc-mode.el to cc-styles.el for
17108         consistency with `c-setup-paragraph-variables' (which was
17109         placed there due to the dependency from `c-set-style').
17111         * progmodes/cc-styles.el, progmodes/cc-vars.el: Fixed bug with
17112         incomplete initialization from the style variable fallbacks if
17113         there already is a style called "user" defined when CC Mode
17114         starts up for the first time.
17116 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17118         * progmodes/cc-cmds.el, progmodes/cc-vars.el
17119         (c-comment-indent, c-indent-comment-alist): Added new variable
17120         `c-indent-comment-alist' to allow better control over
17121         `c-comment-indent'.
17123 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17125         * progmodes/cc-align.el (c-lineup-C-comments): Try to match
17126         both `comment-start-skip' and the comment prefix on the
17127         current line with the comment starter, so that we line up
17128         comments which matches `c-comment-prefix-regexp' on the first
17129         line (after the `/') without the need to make
17130         `comment-start-skip' match whatever `c-comment-prefix-regexp' matches.
17132         * progmodes/cc-mode.el, progmodes/cc-styles.el (c-common-init)
17133         (c-set-style-1, c-setup-paragraph-variables): Moved the
17134         variable initialization based on `c-comment-prefix-regexp' to
17135         a new function `c-setup-paragraph-variables', which is now
17136         used both at mode init and when a style that sets
17137         `c-comment-prefix-regexp' is activated.
17139 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17141         * progmodes/cc-engine.el (c-beginning-of-member-init-list):
17142         Better handling of C++ template args to avoid confusion with
17143         `<' and `>' used as operators in member init expressions.
17145 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17147         * progmodes/cc-engine.el (c-most-enclosing-brace)
17148         (c-least-enclosing-brace): Added optional second arg to limit
17149         the search to before a certain point.
17151         * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
17152         which could cause incorrect analysis if a cached state is used
17153         (usually only happens when an electric key reindents a line).
17155 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17157         * progmodes/cc-defs.el (c-forward-comment): More idiosyncrasy
17158         insulation.  This time for XEmacs 21.
17160         * progmodes/cc-engine.el, progmodes/cc-langs.el:
17161         Improved handling of inheritance lists:
17163         (c-beginning-of-inheritance-list): Rewritten to use a more
17164         syntactically correct method that doesn't get confused by
17165         badly placed linebreaks and comments.
17167         (c-guess-basic-syntax): Several fixes to the handling of
17168         inheritance lists in combination with templates.  'inher-intro
17169         is now anchored on the start of the class declaration and not
17170         the indentation of the current line.  Switched places on cases
17171         5D.3 and 5D.4 and made them use more syntactically correct methods.
17173         (c-inher-key): Removed since the code in
17174         `c-guess-basic-syntax' now uses token-based search.
17176         * progmodes/cc-cmds.el, progmodes/cc-mode.el (c-mode-menu):
17177         Added a submenu to access some toggles.
17179         (c-toggle-syntactic-indentation): New function to toggle the
17180         variable `c-syntactic-indentation'.
17182         * progmodes/cc-styles.el (c-set-style): Improved the error
17183         message for incorrect offsets a bit.
17185 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17187         * progmodes/cc-cmds.el (c-indent-exp): Don't require that the
17188         sexp follows point immediately, instead find the closest
17189         following open paren that ends on another line.
17191 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17193         * progmodes/cc-align.el (c-lineup-cascaded-calls):
17194         New indentation function.
17196         * progmodes/cc-engine.el (c-beginning-of-macro): Bugfix for
17197         directives with whitespace between the '#' and the name.
17199 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17201         * progmodes/cc-engine.el (c-forward-syntactic-ws)
17202         (c-backward-syntactic-ws): Handle line continuations as
17203         whitespace.  Don't move past a macro if that'd take us past
17204         the limit.
17206 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17208         * progmodes/cc-engine.el (c-beginning-of-macro)
17209         (c-forward-syntactic-ws): Multiline strings begin with `#"' in
17210         Pike, and that shouldn't be confused with a preprocessor directive.
17212 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17214         * progmodes/cc-cmds.el: Extended the kludge to interoperate
17215         with the delsel and pending-del packages wrt to the new
17216         function `c-electric-delete-forward'.
17218 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17220         * progmodes/cc-cmds.el (c-indent-exp): Keep the indentation of
17221         the block itself, i.e. only indent the contents in it.
17223         * progmodes/cc-styles.el (c-set-style): Use the default
17224         argument to completing-read instead of initial-contents, if
17225         the function is recent enough to support it.
17227 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17229         * progmodes/cc-mode.el (c-mode-help-address):
17230         Removed bug-gnu-emacs@gnu.org from the receiver list for bug reports.
17231         I've almost never seen a bug reported this way that should go
17232         to that list, but it's rather common that the reports concern
17233         the combination CC Mode and XEmacs instead.
17235 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17237         * progmodes/cc-cmds.el (c-electric-paren): Fixed bug when both
17238         brace-elseif-brace and brace-catch-brace are active and
17239         there's a "else if"-block before the catch block.
17241         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
17242         Detect function headers that span lines.
17244 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17246         * progmodes/cc-cmds.el (c-electric-brace)
17247         (c-electric-semi&comma, c-electric-colon, c-electric-paren):
17248         Check for last on line only for doing the auto-newline-mode
17249         stuff, not for the reindentation.
17251         * progmodes/cc-cmds.el (c-electric-brace): Fixed bugs in the
17252         handling of c-syntactic-indentation: When it's nil, indent the
17253         new lines but don't reindent the current one.  Reindent the
17254         line only when the inserted brace comes first on it, instead
17255         of last.
17257         * progmodes/cc-cmds.el (c-electric-brace)
17258         (c-electric-semi&comma): Fixed two places where
17259         c-syntactic-indentation wasn't heeded.
17261         * progmodes/cc-cmds.el (c-electric-pound): Don't be electric
17262         inside a macro.
17264         * progmodes/cc-engine.el (c-backward-to-start-of-if): Try a
17265         little harder to find a fallback position when an orphan else
17266         is found.  Fixed case where an else following a do-while
17267         statement could be associated with an if inside the do-while.
17269 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17271         * progmodes/cc-cmds.el (c-guess-fill-prefix): Tuned the dwim
17272         for the fallback to add a single space after the comment prefix.
17274         * progmodes/cc-cmds.el (c-indent-new-comment-line): Somewhat better
17275         behavior in some special cases, especially for single-line comments.
17276         Avoid breaking up a comment starter or ender.
17278 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17280         * progmodes/cc-cmds.el (c-outline-level): Applied patch from
17281         the Emacs sources to make this work in invisible text.
17283         * progmodes/cc-langs.el (c-switch-label-key): Fixed regexp to
17284         not be confused by a later ':' on the same line as the label.
17286 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17288         * progmodes/cc-cmds.el, progmodes/cc-mode.el
17289         (c-electric-delete, c-electric-delete-forward):
17290         Split `c-electric-delete' into two functions where
17291         `c-electric-delete-forward' always deletes forward and
17292         `c-electric-delete' only contains the code necessary for
17293         XEmacs to choose between backward and forward deletion.
17294         `c-electric-delete-forward' is now bound to C-d to get the
17295         electric behavior on that key too.
17297 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17299         * progmodes/cc-cmds.el (c-fill-paragraph): Fixed bogus direct
17300         use of c-comment-prefix-regexp, which caused an error when
17301         it's a list.
17303 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17305         * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init)
17306         (c-default-style): Removed the hardcoded switch to "java" style
17307         in Java mode.  It's instead taken care of by the default value
17308         for c-default-style.
17310 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17312         * progmodes/cc-align.el (c-lineup-math): Fix bug where lineup
17313         was triggered by equal signs in string literals.
17315 2002-04-21  Kim F. Storm  <storm@cua.dk>
17317         * subr.el (insert-buffer-substring-no-properties): New function.
17318         (insert-buffer-substring-as-yank): New function.
17320 2002-04-21  Glenn Morris  <gmorris@ast.cam.ac.uk>
17322         * scroll-all.el (minor-mode-alist): Fix usage of `scroll-all-mode'.
17323         (scroll-all-page-down-all, scroll-all-page-up-all) Remove `fkey-'
17324         prefix from scroll commands.  Ignore end-of-buffer errors from
17325         other windows.
17326         (scroll-all-check-to-scroll): Remove `fkey-' prefix from scroll
17327         commands.
17328         (scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
17329         New functions.
17331         * files.el: (auto-mode-alist): .f95 files in f90-mode.
17333         * progmodes/fortran.el: (fortran-beginning-do): Make regexp match
17334         a DO statement irrespective of numeric label.
17336 2002-04-20  Glenn Morris  <gmorris@ast.cam.ac.uk>
17338         * files.el (auto-save-file-name-transforms): Doc fix.
17339         Add third element to "uniquify" filenames.
17340         (make-auto-save-file-name): Use new element of
17341         auto-save-file-name-transforms.
17342         * startup.el (command-line): Add third element to
17343         auto-save-file-name-transforms.
17345 2002-04-19  Stefan Monnier  <monnier@cs.yale.edu>
17347         * files.el (file-name-non-special): Don't mangle the 0'th arg and the
17348         return value of file-name-completion and file-name-all-completions.
17350 2002-04-19  Glenn Morris  <gmorris@ast.cam.ac.uk>
17352         * progmodes/f90.el: Update maintainer.
17353         (f90-line-continued): Recognize blank/comment lines embedded in
17354         continuation lines.
17355         (f90-looking-at-program-block-start): No extra indentation after
17356         function or subroutine keyword appears in single quotes.
17358 2002-04-19  Miles Bader  <miles@gnu.org>
17360         * custom.el (customize-mark-to-save, customize-mark-as-set)
17361         (custom-quote): Moved here from `cus-edit.el'.
17362         * cus-edit.el (customize-mark-to-save, customize-mark-as-set)
17363         (custom-quote): Moved to `custom.el'.
17365 2002-04-18  Richard M. Stallman  <rms@gnu.org>
17367         * facemenu.el (list-text-properties-at): Command deleted.
17369         * rect.el (insert-rectangle): Use insert-for-yank.
17371         * register.el (insert-register): Use insert-for-yank.
17372         (describe-register-1): Discard text props in yank-excluded-properties.
17374         * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
17375         Fix parts in construction of `menu-item' item at end.
17377         * mail/mailabbrev.el (mail-mode-abbrev-table): Delete defvar.
17379         * subr.el (insert-for-yank): New function.
17381         * simple.el (yank-excluded-properties): New user option.
17382         (yank-pop, yank): Use insert-for-yank.
17384 2002-04-19  Kim F. Storm  <storm@cua.dk>
17386         * simple.el (pop-to-mark-command): Do not set this-command.
17387         (set-mark-command): Always jump to mark when called with arg.
17389 2002-04-18  Francesco Potort\e,Al\e(B  <pot@gnu.org>
17391         * comint.el (comint-watch-for-password-prompt): Remove whitespace
17392         at the beginning of password prompts.
17394 2002-04-18  Andrew Innes  <andrewi@gnu.org>
17396         * facemenu.el: Remove require of wid-edit.
17398 2002-04-17  Colin Walters  <walters@verbum.org>
17400         * ibuffer.el (ibuffer-visit-buffer): Optionally allow reducing to
17401         one window.
17402         (ibuffer-visit-buffer-1-window): Simply call `ibuffer-visit-buffer'.
17403         (ibuffer-current-state-list): Reinstate optional argument; now
17404         just call `point' inside the mapping function.
17406 2002-04-17  Francesco Potort\e,Al\e(B  <pot@gnu.org>
17408         * dired-aux.el (dired-star-subst-regexp)
17409         (dired-quark-subst-regexp): New constants.
17410         (dired-do-shell-command, dired-shell-stuff-it): Use them.
17411         (dired-do-shell-command): Raise an error if both `*' and `?'
17412         substitution marks are used in the same command.
17413         (dired-shell-stuff-it): Substitute all instances of `*' and `?'
17414         in a command given via dired-do-shell-command.
17416         * comint.el (comint-password-prompt-regexp): Match "Repeat passphrase".
17418 2002-04-16  Jason Rumney  <jasonr@gnu.org>
17420         * international/mule-cmds.el (locale-preferred-coding-systems):
17421         Add "jpn".
17423 2002-04-16  Eli Zaretskii  <eliz@is.elta.co.il>
17425         * term.el (term-emulate-terminal): Fix last change.
17427 2002-04-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
17429         * bindings.el (mode-line-mode-menu): Update names to reflect
17430         latest changes.
17432 2002-04-16  Mike Williams  <mdub@bigfoot.com>
17434         * textmodes/sgml-mode.el (sgml-at-indentation-p): Move to fix
17435         compilation error.
17437 2002-04-16  Michael Kifer  <kifer@cs.stonybrook.edu>
17439         * viper-ex.el: Patch by Samuel Padgett. Copyright papers received.
17440         (viper-ex-print-buf-name): New variable.
17441         (viper-ex-print-buf): New variable.
17442         (ex-token-alist): Invoke ex-print on ":print" Ex commands.
17443         (ex-g-marks): New variable.
17444         (ex-print): New function.
17445         (ex-print-display-lines): New function.
17447         * viper.el (viper-set-hooks): Add window-setup-hook, which sets
17448         the cursor color.
17450         * ediff-util.el (ediff-cleanup-mess): Delete ctl window on exit
17451         when the window is not in its own frame.
17452         (ediff-clone-buffer-for-region-comparison): More robust window
17453         arrangement while prompting for regions to compare.
17454         (ediff-make-cloned-buffer): Use generate-new-buffer-name.
17455         (ediff-inferior-compare-regions): Deleted unused vars
17456         ctl-buf and quit-now.
17458 2002-04-15  Richard M. Stallman  <rms@gnu.org>
17460         * facemenu.el (facemenu-add-new-face): Use this only for faces.
17461         Delete arg MENU.
17462         (facemenu-add-new-color): New function.
17463         (facemenu-set-foreground, facemenu-set-background):
17464         Use facemenu-add-new-color.
17466 2002-04-15  Eli Zaretskii  <eliz@is.elta.co.il>
17468         * ediff-init.el (ediff-current-diff-face-A)
17469         (ediff-current-diff-face-B, ediff-current-diff-face-C)
17470         (ediff-current-diff-face-Ancestor, ediff-fine-diff-face-A)
17471         (ediff-fine-diff-face-B, ediff-fine-diff-face-C)
17472         (ediff-fine-diff-face-Ancestor, ediff-even-diff-face-A)
17473         (ediff-even-diff-face-B, ediff-even-diff-face-C)
17474         (ediff-even-diff-face-Ancestor, ediff-odd-diff-face-A)
17475         (ediff-odd-diff-face-B, ediff-odd-diff-face-C)
17476         (ediff-odd-diff-face-Ancestor): Add special color definitions for
17477         tty and MS-DOS displays.
17479 2002-04-15  Andrew Innes  <andrewi@gnu.org>
17481         * facemenu.el: Require wid-edit.
17483 2002-04-15  Miles Bader  <miles@gnu.org>
17485         * faces.el (highlight): Force foreground to be black on a tty, so
17486         this face is readable on a dark-background tty.
17487         * wid-edit.el (widget-field-face, widget-single-line-field-face):
17488         Likewise.
17490 2002-04-14  Kim F. Storm  <storm@cua.dk>
17492         * simple.el (pop-to-mark-command, push-mark-command): New commands.
17493         (set-mark-command): Use them.
17494         Enhanced functionality when command is repeated:
17495         - If first command set the mark (no prefix arg), repeat temporarily
17496         enables transient-mark-mode.
17497         - If first command jumped to mark off ring (with argument),
17498         repeat (with or without arg) jump to next mark off ring.
17499         - Use C-u C-u prefix to set mark after jump.
17500         (exchange-point-and-mark): Temporarily enable transient-mark-mode
17501         if prefix arg.
17503 2002-04-14  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
17505         * speedbar.el (speedbar-tag-hierarchy-method)
17506         (speedbar-toggle-updates, speedbar-toggle-images): Doc fixes.
17508 2002-04-14  Mike Williams  <mdub@bigfoot.com>
17510         * textmodes/sgml-mode.el (sgml-parse-tag-backward): Fix to work at
17511         beginning of buffer.
17513 2002-04-14  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
17515         * speedbar.el (speedbar-generic-item-info)
17516         (speedbar-sort-tags): Doc fix.
17517         (speedbar-add-supported-extension): Fix typo in interactive spec.
17519 2002-04-13  Colin Walters  <walters@verbum.org>
17521         * ibuffer.el (ibuffer-forward-line): Just skip header if we're
17522         only moving one line forward.
17523         (ibuffer-map-lines): Preserve point position even if we delete
17524         lines.  Only call mapping functions with buffer and mark
17525         arguments; the other two were unused.
17526         (ibuffer-redisplay, ibuffer-update): Always skip special areas.
17528         * ibuf-macs.el, ibuf-ext.el: Update callers of `ibuffer-map-lines'.
17530         * calc/calc-bin.el (math-format-radix-float): Use `when'.
17532         * calc/calc.el (math-format-number): Load `calc-ext' before we
17533         call `math-group-float'.
17535         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17536         Renamed from `gamegrid-add-score'.
17537         (gamegrid-add-score-insecure): Restored from the old
17538         `gamegrid-add-score'.
17539         (gamegrid-add-score): Just dispatch on `system-type' to one of the
17540         previous two functions.
17542 2002-04-13  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
17544         * iswitchb.el: Update commentary to include new function
17545         iswitchb-exclude-nonmatching.
17547 2002-04-12  John Wiegley  <johnw@gnu.org>
17549         * eshell/esh-ext.el (eshell-script-interpreter): Fix for CRLF
17550         operating systems to the regexp used to detect a script's interpreter.
17552 2002-04-12  Eli Zaretskii  <eliz@is.elta.co.il>
17554         * frame.el (frames-on-display-list): Use `equal' to compare the
17555         `display' frame parameter to the argument DISPLAY.
17557 2002-04-12  Dave Love  <fx@gnu.org>
17559         * help.el (string-key-binding): Deal with margin events.
17561 2002-04-12  Francesco Potort\e,Al\e(B  <pot@gnu.org>
17563         * comint.el (comint-password-prompt-regexp): Match " SMB password".
17565 2002-04-11  Stefan Monnier  <monnier@cs.yale.edu>
17567         * sort.el (sort-reorder-buffer): Don't assume point-min == 1.
17569         * xt-mouse.el (xterm-mouse-mode): Use define-minor-mode.
17571         * emacs-lisp/lucid.el (device-class, buffer-syntactic-context)
17572         (buffer-syntactic-context-depth): New funs.
17574         * emacs-lisp/edebug.el (edebug-eval-defun): Don't use defconst
17575         on variables.
17577         * emacs-lisp/debug.el (debug-on-entry): Use push.
17578         (debugger-make-xrefs): Don't assume point-min == 1.
17580         * progmodes/cc-engine.el (c-backward-to-start-of-if):
17581         Don't assume point-min == 1.
17583         * progmodes/etags.el (etags-verify-tags-table, etags-snarf-tag)
17584         (etags-list-tags, etags-tags-apropos, select-tags-table):
17585         Don't assume point-min == 1.
17587 2002-04-12  Mike Williams  <mdub@bigfoot.com>
17589         * textmodes/sgml-mode.el (sgml-guess-indent): New function.
17591 2002-04-11  Stefan Monnier  <monnier@cs.yale.edu>
17593         * textmodes/fill.el (fill-context-prefix): Fix up last change.
17595         * simple.el (line-move): Use memq rather than or.
17596         (transpose-sexps): Don't presume as much of forward-sexp's behavior.
17597         (do-auto-fill): Use fill-move-to-break-point.
17598         (syntax-code-table): Remove.
17600         * textmodes/fill.el (canonically-space-region): Obey sentence-end.
17601         Don't add spaces at end of sentences at end of line.
17602         (fill-move-to-break-point): Make sure the result is always greater
17603         than linebeg, so we ensure forward progress.
17604         (fill-region-as-paragraph): Compare to `to' rather than eobp.
17605         (fill-paragraph): Don't rebind fill-paragraph-function.
17607 2002-04-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
17609         * menu-bar.el (menu-bar-adv-search-menu): Add incremental search.
17611 2002-04-11  Andreas Schwab  <schwab@suse.de>
17613         * files.el (file-name-non-special): Handle return value of t from
17614         `file-name-completion'.
17616 2002-04-10  Stefan Monnier  <monnier@cs.yale.edu>
17618         * textmodes/fill.el (fill-context-prefix): Match the two prefixes
17619         differently to avoid pathological exponential-time case.
17620         (adaptive-fill-regexp): Add ! and %.
17621         (fill-delete-prefix): Remove indentation while removing prefix.
17622         (fill-delete-newlines): Obey sentence-end.
17623         (fill-move-to-break-point, fill-newline): New functions extracted
17624         from fill-region-as-paragraph.
17625         (fill-region-as-paragraph): Use them.
17626         Don't fiddle with fill-indent-according-to-mode.
17628 2002-04-10  Colin Walters  <walters@verbum.org>
17630         * play/snake.el (snake-score-file): Default to just "snake-scores".
17632         * play/tetris.el (tetris-score-file): Likewise.
17634         * play/gamegrid.el (gamegrid-add-score): Rewrite from scratch to
17635         use `update-game-score'.
17637         * ibuffer.el (ibuffer-canonicalize-state-list): Delete unused function.
17638         (ibuffer-current-buffers-with-marks): Don't call `buffer-list'
17639         ourselves; take it as an argument.  Caller updated.
17640         (ibuffer-mode): Make mode-class special.
17642 2002-04-10  Richard M. Stallman  <rms@gnu.org>
17644         * dired.el (dired-view-command-alist): New variable.
17645         (dired-view-file): Use external viewers for some files names.
17647         * mouse.el (mouse-drag-region-1): Display region highlight
17648         only in the selected window.
17650         * subr.el (remove-hook): When there are no more local hooks,
17651         kill the buffer-local value.
17653         * isearch.el (isearch-mode): Don't call make-frame-visible
17654         if frame is already visible.
17656         * cus-face.el (custom-face-attributes): Fix typo in `ultra-bold'.
17658 2002-04-09  Emmanuel Briot  <briot@act-europe.fr>
17660         * progmodes/ada-prj.el: Add support for the new project file
17661         fields: gnatfind-opt, debug-pre-cmd and debug-post-cmd.
17662         Fix widget handling for Emacs 21.  ada-mode now only supports a single
17663         active project file, instead of one per buffer.  This is far less
17664         confusing.
17666         * progmodes/ada-stmt.el: Menu changed from Statements to Templates.
17667         (ada-func-or-proc-name): Get real subprogram name, after change in
17668         ada-mode.el.
17670         * progmodes/ada-xref.el: Ada-mode no longer supports a different
17671         project file per buffer.  This was too complex.  Instead, there is
17672         now a single active project file at any given time, and the user
17673         can switch the active one through the Ada menu.  This revision
17674         also provides better handling of the Windows command line, and the
17675         various available shells on that platform.  ada-mode is now fully
17676         integrated with the GNU visual debugger gvd, see
17677         http://libre.act-europe.fr.
17678         (ada-prj-default-comp-opt): Use the new GNAT switch -gnatQ.
17679         This is only available with GNAT 3.14.
17680         (ada-prj-gnatfind-switches, ada-cd-command): New variable.
17681         (ada-quote-cmd): New function.
17682         (ada-initialize-runtime-library): Get the location of the actual
17683         runtime the compiler will be using, including support for
17684         cross-platform environments.
17685         (ada-treat-cmd-string): Add support for the new variable
17686         ${full_current} add support for debug-pre-cmd and debug-post-cmd,
17687         two commands to run just prior to running the debugger, and just
17688         after starting it.  This provide better support for cross-platform
17689         and remote debugging.
17690         (ada-get-absolute-dir): Remove, replace with expand-file-name.
17691         (ada-gdb-application): New parameter executable-name.
17692         (ada-get-ali-file-name): Better handling of separate packages.
17693         Checkin on behalf of the ada-mode maintainer.
17695         * progmodes/ada-mode.el (ada-case-exception-file)
17696         (ada-indent-handle-comment-special): New variables.
17697         (ada-case-exception-substring): New variable.  Casing exceptions
17698         can now also be defined for substrings, in addition to full
17699         identifier names.  This provides more flexibility.
17700         (ada-align-list): New fun, provide support for align.el in ada-mode.
17701         (ada-procedure-start-regexp): Add support for operators and
17702         generic formal subprograms and packages.
17703         (ada-imenu-comment-re): New variable.
17704         (ada-imenu-generic-expression): Add support for protected types.
17705         (ada-mode): Set comment-start only after running ada-mode-hook, so
17706         that the user can change ada-comment-start in the hook.
17707         Add support for ispell in comments.  Add support for align.el.
17708         (ada-save-exception-file, ada-create-case-exception-substring)
17709         (ada-adjust-case-substring): New functions.
17710         (ada-get-current-indent): Properly handles keywords with uppercases.
17711         (ada-goto-matching-end): Rewritten, fixes problems in the handling
17712         of nested blocks.
17713         (ada-untab-hard): Do not touch the contents of comments and strings.
17715 2002-04-09  Mike Williams  <mdub@bigfoot.com>
17717         * textmodes/sgml-mode.el (sgml-lexical-context):
17718         Use sgml-parse-tag-backward to find start point.
17719         (sgml-looking-back-at): Doc fix.
17721 2002-04-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
17723         * isearch.el (isearch-message-prefix): Use minibuffer-prompt face
17724         for prompt.
17726 2002-04-08  Stefan Monnier  <monnier@cs.yale.edu>
17728         * autorevert.el (auto-revert-mode, global-auto-revert-mode):
17729         Use define-minor-mode.
17730         (auto-revert-buffers): Use with-current-buffer.
17731         Avoid changing the minor modes.
17733         * international/iso-acc.el (iso-accents-accent-key): Use `vector'
17734         rather than char-to-string since last-input-char can be any event.
17736         * international/titdic-cnv.el (tit-dictionary):
17737         Use defvar for non-constants.
17739         * progmodes/cwarn.el (global-cwarn-mode): Use define-minor-mode.
17740         (global-cwarn-mode): Use easy-mmode-define-global-mode.
17741         (cwarn-font-lock-keywords): New function.
17742         Replaces cwarn-font-lock-remove-keywords cwarn-font-lock-add-keywords.
17743         (cwarn-font-lock-match): New macro.
17744         (cwarn-font-lock-match-assignment-in-expression)
17745         (cwarn-font-lock-match-dangerous-semicolon)
17746         (cwarn-font-lock-match-reference): Use it.
17748         * progmodes/cperl-mode.el (cperl-make-face, cperl-force-face):
17749         Use defvar rather than defconst since it's meant to be settable.
17750         (cperl-syntax-done-to): Don't hardcode 1 as (point-min).
17751         (cperl-fix-line-spacing): Add missing \ in [ t].
17753         * loadup.el: Call ucs-unify-8859 directly rather than
17754         unify-8859-on-encoding-mode.
17755         (fns-*.el): Don't use it anymore.  Keep the load-history in purespace.
17757         * textmodes/sgml-mode.el (sgml-comment-indent-new-line): New fun.
17758         (sgml-mode): Use it for comment-line-break-function.
17760 2002-04-08  Jason Rumney  <jasonr@gnu.org>
17762         * international/mule-cmds.el (reset-language-environment):
17763         Handle coding-systems not being defined yet.
17765 2002-04-08  Sam Steingold  <sds@gnu.org>
17767         * vc-cvs.el (vc-cvs-valid-version-number-p): New function.
17768         (vc-cvs-checkin): Use it.
17770 2002-04-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
17772         * files.el (display-time-string): Fix last change.
17774 2002-04-07  Sam Steingold  <sds@gnu.org>
17776         * vc-cvs.el (vc-cvs-checkin): Pass the required argument to `error'.
17778 2002-04-07  Jason Rumney  <jasonr@gnu.org>
17780         * international/mule-cmds.el (set-default-coding-systems)
17781         (reset-language-environment): Preserve eols on
17782         default-process-coding-system.
17783         (coding-system-change-text-conversion): Fix case where CODING is nil.
17785 2002-04-07  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
17787         * subr.el (play-sound): Move here from simple.el.
17789         * simple.el (play-sound): Move to subr.el.
17791 2002-04-06  Richard M. Stallman  <rms@gnu.org>
17793         * files.el (display-time-string-forms): Mark as risky.
17795         * enriched.el (enriched-decode-foreground, enriched-decode-background):
17796         Use proper format for desired elts of `face' property.
17797         Don't test display-color-p; make the properties unconditionally.
17799         * progmodes/compile.el (compilation-error-regexp-alist):
17800         New alternatives for FILE:LINE.COL and for ranges of columns and lines.
17802 2002-04-06  Per Abrahamsen  <abraham@dina.kvl.dk>
17804         * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
17805         for customization type.
17806         Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.
17808 2002-04-06  Mike Williams  <mdub@bigfoot.com>
17810         * textmodes/xml-lite.el: Remove.
17812 2002-04-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
17814         * simple.el (play-sound): New function (uses play-sound-internal).
17816 2002-04-04  Richard M. Stallman  <rms@gnu.org>
17818         * files.el (mode-line-format, mode-line-modified)
17819         (mode-line-mule-info, mode-line-buffer-identification)
17820         (mode-line-modes, mode-line-position): Explicitly mark as risky.
17821         (hack-one-local-variable): Don't recognize "mode-line-..." as risky.
17823         * calendar/solar.el (solar-northern-spring-or-summer-season): Doc fix.
17825         * mail/mailabbrev.el (mail-abbrev-make-syntax-table):
17826         Use (syntax-table), not old-syntax-table.
17828         * enriched.el (enriched-decode-foreground)
17829         (enriched-decode-background): Don't call facemenu-get-face.
17831 2002-04-04  Mike Williams  <mdub@bigfoot.com>
17833         * textmodes/sgml-mode.el: Add missing require.
17834         (sgml-lexical-context): Fix up CDATA detection for boundary cases.
17836 2002-04-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
17838         * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line): Move to
17839         spot indicated by text property `cvs-goal-column', if present.
17841         * pcvs-info.el (cvs-fileinfo-pp): Use text property
17842         `cvs-goal-column' to indicate position of file name (if present).
17844 2002-04-03  Richard M. Stallman  <rms@gnu.org>
17846         * mail/mailabbrev.el (mail-abbrev-complete-alias):
17847         Call mail-abbrev-make-syntax-table.
17849         * format.el (format-deannotate-region): Doc fix.
17851         * enriched.el (enriched-face-ans): Delete special treatment
17852         for fg:... and bg:... faces.
17853         (enriched-decode-foreground): Return a list that specifies
17854         the foreground color, rather than creating a face.
17855         (enriched-decode-background): Likewise.
17857         * shell.el (shell-mode): Don't reinit comint-input-ring
17858         if that was already done.
17860 2002-04-03  Edward M. Reingold  <reingold@emr.cs.iit.edu>
17862         * solar.el (solar-spring-or-summer-season): Delete.
17863         (solar-northern-spring-or-summer-season): New variable.
17864         (solar-sunrise-and-sunset, solar-moment, solar-sunrise-sunset):
17865         Rewrite.
17867         * solar.el (diary-sabbath-candles-minutes): New variable.
17868         (diary-sabbath-candles): Use it instead of fixed 18 minutes.
17870         * calendar.el (update-calendar-mode-line): Force mode-line update.
17871         Make date under the cursor available as `date' in
17872         calendar-mode-line-format.
17873         Eval items in calendar-mode-line-format list.
17875         * cal-tex.el (cal-tex-hook, cal-tex-year-hook, cal-tex-month-hook)
17876         (cal-tex-week-hook, cal-tex-daily-hook): Add doc strings.
17878         * cal-tex.el (cal-tex-latexify-list): Fix doc string.
17880         * cal-tex.el (cal-tex-insert-day-names): LaTeXify day names.
17881         (cal-tex-cursor-week-iso, cal-tex-week-hours, cal-tex-weekly4-box)
17882         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17883         (cal-tex-daily-page, cal-tex-mini-calendar): LaTeXify day names.
17885         * cal-tex.el: Change all instances (interactive "P") to
17886         (interactive "p").
17887         (cal-tex-cursor-month): Add hfill and newline at end of month that
17888         ended on Saturday.
17889         (cal-tex-preamble): Change to LaTeX2e.
17890         (cal-tex-cursor-filofax-year): Don't use default month names in
17891         LaTeX macros in case user changes them.
17892         (cal-tex-month-name): New function.  Used throughout in case user
17893         has done something funny with month names.
17895         * cal-hebrew.el (holiday-rosh-hashanah-etc): Spelling correction.
17896         (diary-rosh-hodesh): Spelling correction.
17898 2002-04-03  Mike Williams  <mdub@bigfoot.com>
17900         * textmodes/sgml-mode.el (sgml-lexical-context)
17901         (sgml-parse-tag-backward): Extend support for CDATA to include
17902         conditional sections.
17904 2002-04-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
17906         * cus-start.el: Rename `autoselect-window' to
17907         `mouse-autoselect-window'.
17909 2002-04-02  Richard M. Stallman  <rms@gnu.org>
17911         * files.el (hack-one-local-variable):
17912         Clear text props from string value.
17914 2002-04-02  Stefan Monnier  <monnier@cs.yale.edu>
17916         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17917         (f90-procedures-re, f90-operators-re, f90-hpf-keywords-re):
17918         Use regexp-opt.
17919         (f90-keywords-re, f90-keywords-level-3-re): Add `pure' and `elemental'
17920         from F95.
17921         (f90-procedures-re): Add `null' and `cpu_time' from F95.
17922         (f90-font-lock-keywords-1): Minor reorganization so we don't need
17923         `override' any more.
17924         (f90-font-lock-keywords-3): Use `keep' rather than `override'.
17925         (f90-indent-subprogram): Use indent-region.
17926         (f90-break-line): Use indent-according-to-mode.
17928 2002-04-02  Mike Williams  <mdub@bigfoot.com>
17930         * textmodes/sgml-mode.el (sgml-close-tag): Rename from
17931         sgml-insert-end-tag. Simplify by using sgml-lexical-context.
17932         (sgml-get-context): Remove use of sgml-inside-tag-p.
17933         (sgml-inside-tag-p): Remove.
17934         (sgml-looking-back-at): Short-circuit at beg of buffer.
17935         (sgml-lexical-context, sgml-calculate-indent): Add support for
17936         CDATA sections.
17938 2002-04-01  Stefan Monnier  <monnier@cs.yale.edu>
17940         * help.el (help-key-description): New fun.
17941         (describe-key-briefly, describe-key): Use it and
17942         this-single-command-raw-keys plus new arg `untranslated'.
17944         * textmodes/sgml-mode.el (sgml-at-indentation-p, sgml-tag)
17945         (sgml-parse-tag-name, sgml-looking-back-at, sgml-parse-tag-backward)
17946         (sgml-inside-tag-p, sgml-get-context, sgml-show-context)
17947         (sgml-insert-end-tag): New funs taken from xml-lite.el.
17948         (sgml-calculate-indent): Use them.
17949         (sgml-slash-matching): Rename from sgml-slash.
17950         (sgml-slash): Copied from xml-lite and changed to use
17951         sgml-slash-matching and sgml-quick-keys.
17953         * international/mule-cmds.el (standard-keyboard-coding-systems):
17954         Add koi8-u and koi8-r.
17956         * eshell/.cvsignore: New file.
17958         * eshell/esh-groups.el: Remove.
17960         * progmodes/tcl.el: Change maintainer.
17961         (tcl-electric-hash-style): Change default to nil.
17962         (tcl-imenu-generic-expression): Use tcl-proc-regexp.
17963         (tcl-do-auto-fill): Remove.
17964         (tcl-auto-fill-mode): Rewrite using comment-auto-fill-only-comments.
17966 2002-04-01  Mike Williams  <mdub@bigfoot.com>
17968         * textmodes/sgml-mode.el: Doc fixes.
17969         (sgml-mode): Set indent-line-function to sgml-indent-line.
17970         (sgml-calculate-indent): Add an explicit check for 'text syntax,
17971         to protect against future enhancements to sgml-lexical-context.
17972         (sgml-empty-tag-p, sgml-unclosed-tag-p): New funcs.
17974         * textmodes/xml-lite.el: Removed much redundant stuff.
17975         (xml-lite-parse-tag-backward): Simplify parsing by assuming we
17976         always start within text. Make use of sgml-unclosed-tag-p.
17978 2002-04-01  Ville Skytt\e,Ad\e(B  <ville.skytta@xemacs.org>
17980         * tcl.el (tcl-imenu-generic-expression): New value.
17981         (tcl-imenu-create-index-function): Function deleted.
17982         (tcl-mode): Check for filladapt-mode.
17983         Use tcl-imenu-generic-expression instead of
17984         tcl-imenu-create-index-function.
17985         (inferior-tcl-mode): Doc fix.
17986         Change not legally significant.
17988 2002-04-01  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
17990         * cus-start.el: Rename `x-autoselect-window' to `autoselect-window'.
17992         * window.el (handle-select-window): New function.
17993         Update copyright.
17995 2002-04-01  Richard M. Stallman  <rms@gnu.org>
17997         * info.el (info-tool-bar-map): Use tool-bar-local-item-from-menu.
17999         * toolbar/tool-bar.el (tool-bar-local-item): Renamed from
18000         tool-bar-add-item, and new arg MAP.
18001         (tool-bar-add-item): Now calls tool-bar-local-item.
18002         (tool-bar-local-item-from-menu): Renamed from
18003         tool-bar-add-item-from-menu, and new arg IN-MAP.
18004         (tool-bar-add-item-from-menu): Now calls tool-bar-local-item-from-menu.
18006         * help-fns.el (help-with-tutorial): Allow various ways
18007         to specify the text in the [...] line, in handling the <...> line.
18009         * progmodes/idlw-rinfo.el (idlwave-system-routines):
18010         WOLRDTITLE => WORLDTITLE.  SUPRESS_VALUE => SUPPRESS_VALUE.
18012         * subr.el (redraw-modeline): Define alias.
18014 2002-03-31  Richard M. Stallman  <rms@gnu.org>
18016         * files.el (file-expand-wildcards): Use save-match-data.
18018         * files.el (format-alist): Mark as risky.
18020         * simple.el (kill-new): Doc fix.
18022         * emacs-lisp/byte-opt.el (side-effect-free-fns)
18023         (side-effect-and-error-free-fns): Add many functions, remove some.
18025 2002-03-30  Richard M. Stallman  <rms@gnu.org>
18027         * menu-bar.el (menu-bar-tools-menu): Rename gdb item to say GDB.
18029 2002-03-30  Eli Zaretskii  <eliz@gnu.org>
18031         * font-lock.el (save-buffer-state): Fix last change.
18033         * files.el (auto-save-file-name-transforms): Fix last change.
18035         * startup.el (command-line): Fix last change.
18037 2002-03-29  Richard M. Stallman  <rms@gnu.org>
18039         * subr.el (play-sound-file): Moved to simple.el.
18041         * simple.el (play-sound-file): Moved from subr.el, made unconditional.
18043 2002-03-29  Colin Walters  <walters@verbum.org>
18045         * ibuffer.el (ibuffer-mark-interactive): Use `ibuffer-forward-line'
18046         instead of `forward-line'.
18047         (ibuffer-forward-line): Be sure to skip over special properties
18048         before moving, too.
18050         * calc/calc.el (calc-was-split): Var deleted.
18051         (calc): Remove reference to it.
18052         (calc): Ditto.
18053         (calc-quit): Ditto.
18054         (calc-init-base): Ditto.
18056         * calc/calc-misc.el (calc-delete-windows-keep): Function deleted.
18058 2002-03-29  Stefan Monnier  <monnier@cs.yale.edu>
18060         * textmodes/sgml-mode.el (sgml-lexical-context): Return (text . START)
18061         instead of nil when point is outside of any tag.
18062         (sgml-beginning-of-tag): Adjust to the change.
18063         (sgml-calculate-indent): Use the new info returned by
18064         sgml-lexical-context.  Try to handle unclosed tags.
18066         * textmodes/xml-lite.el (xml-lite-get-context): Don't stop parsing
18067         at unclosed tags unless it is at indentation.
18068         Kill nested unclosed tags.
18069         (xml-lite-calculate-indent, xml-lite-indent-line): Remove.
18070         (xml-lite-mode): Use sgml-indent-line instead.
18072 2002-03-29  Eli Zaretskii  <eliz@is.elta.co.il>
18074         * files.el (auto-save-file-name-transforms): Don't run "\\2" via
18075         expand-file-name.
18077         * startup.el (command-line): Recompute auto-save-file-name-transforms
18078         using the updated value of temporary-file-directory.
18080 2002-03-29  Stefan Monnier  <monnier@cs.yale.edu>
18082         * textmodes/xml-lite.el (xml-lite-get-context): Allow stopping
18083         even with an empty context.  Don't save excursion any more.
18084         Don't complain about unmatched start-tags in sgml-unclosed-tags.
18085         Ignore end-tags in sgml-empty-tags.
18086         (xml-lite-get-context, xml-lite-calculate-indent)
18087         (xml-lite-insert-end-tag): Save excursion around xml-lite-get-context.
18088         (xml-lite-indent-line): Use back-to-indentation.
18090         * textmodes/sgml-mode.el (sgml-basic-offset): New var.
18091         (sgml-name-re, sgml-attrs-re): New consts.
18092         (sgml-tag-name-re, sgml-start-tag-regex, sgml-font-lock-keywords-1)
18093         (sgml-mode): Use them.
18094         (sgml-lexical-context): Default to (point-min) if nothing else works.
18095         (sgml-calculate-indent): Indent slightly differently.
18096         (sgml-indent-line): Use back-to-indentation.
18097         (sgml-parse-dtd): New function.
18098         (sgml-unclosed-tags): New var.
18099         (html-mode): Set it.
18101 2002-03-29  Simon Marshall  <simon.marshall@misys.com>
18103         * font-lock.el (save-buffer-state): Use make-symbol to bind `modified'.
18105 2002-03-29  Richard M. Stallman  <rms@gnu.org>
18107         * dired-aux.el (dired-do-query-replace-regexp, dired-do-search):
18108         Use FILTER arg in dired-get-marked-files to exclude directories.
18109         (dired-nondirectory-p): New function.
18111         * dired.el (dired-get-marked-files): New arg FILTER
18112         allows selection of some files.
18114         * progmodes/tcl.el (tcl-imenu-create-index-function): Doc fix.
18116 2002-03-29  Eric M. Ludlam  <eric@siege-engine.com>
18118         * speedbar.el (speedbar-default-directory-list): Made robust
18119         against deleted directories.
18121 2002-03-28  Richard M. Stallman  <rms@gnu.org>
18123         * dired.el (dired-toggle-marks): Renamed from dired-do-toggle.
18124         Bindings changed.
18126         * progmodes/compile.el (compilation-handle-exit):
18127         If compilation-window-height is 0, display status in echo area.
18129         * simple.el (line-move-to-column): Don't call move-to-column if COL=0.
18131         * rect.el (replace-rectangle): Add autoload.
18133         * files.el: Mark many more variables as risky.
18134         (hack-one-local-variable): Recognize several additional
18135         patterns as risky.
18137         * bindings.el (mode-line-mule-info): Use :propertize, not :eval.
18139 2002-03-28  Stefan Monnier  <monnier@cs.yale.edu>
18141         * textmodes/xml-lite.el (xml-lite-in-string-p):
18142         Use sgml-lexical-context.
18143         (xml-lite-parse-tag-backward): Use sgml-tag-syntax-table.
18144         (xml-lite-get-context): Check that open/close tags match.
18145         Don't stop scanning while we're ignoring matching tags.
18147         * textmodes/sgml-mode.el (sgml-make-syntax-table): New fun.
18148         (sgml-mode-syntax-table): Use it.
18149         (sgml-tag-syntax-table, sgml-tag-name-re): New const.
18150         (sgml-tags-invisible): Use it.
18151         (sgml-lexical-context): New fun.
18152         (sgml-maybe-end-tag, sgml-beginning-of-tag): Use it.
18153         (sgml-quote): Accept \n as entity reference terminator.
18154         (sgml-calculate-indent, sgml-indent-line): New funs.
18156 2002-03-28  Andre Spiegel  <spiegel@gnu.org>
18158         * vc-cvs.el (vc-cvs-global-switches): New user option.
18159         (vc-cvs-command): New function.  Update all callers of
18160         `vc-do-command' in vc-cvs.el to use this instead.
18162 2002-03-27  Andrew Innes  <andrewi@gnu.org>
18164         * makefile.w32-in (bootstrap-clean-SH): Use for loop, instead of
18165         relying on shell globbing.
18167 2002-03-27  Colin Walters  <walters@debian.org>
18169         * ibuffer.el (ibuffer-help-buffer-modes): New variable.
18170         (ibuffer-fontification-alist): Use it.
18171         (ibuffer-backward-line): Handle `ibuffer-summary' area.
18172         (ibuffer-forward-line): Ditto.
18174         * ibuf-ext.el (sorter mode-name): Doc fix.
18175         (ibuffer-mark-help-buffers): Use `ibuffer-help-buffer-modes'.
18176         (operation query-replace): Use new `noerror' arg for
18177         `query-replace-read-args'.
18178         (operation query-replace-regexp): Ditto.
18180 2002-03-27  Stefan Monnier  <monnier@cs.yale.edu>
18182         * textmodes/xml-lite.el: Fix copyright notice.
18183         (xml-lite-basic-offset): Rename from xml-lite-indent-offset.
18184         (xml-lite-indent-comment-offset): Remove.
18185         (xml-lite-calculate-indent): Use new name.  Use natural alignment
18186         for comments.
18187         (xml-lite-in-string-p): Simplify.
18189 2002-03-27  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18191         * allout.el (outline-layout): Doc fix.
18193 2002-03-27  Stefan Monnier  <monnier@cs.yale.edu>
18195         * textmodes/xml-lite.el: Don't require `custom'.
18196         (xml-lite-parse-tag-name): Properly treat non-ASCII chars.
18197         (xml-lite-parse-tag-backward): Obey sgml-empty-tags.
18198         (xml-lite-get-context): Drop nested tags not just for comments.
18199         (xml-lite-indent-line): Be more careful about moving point.
18200         (xml-lite-insert-end-tag, xml-lite-slash):
18201         Use indent-according-to-mode instead of xml-lite-indent-line.
18202         (xml-lite-mode): Make xml-lite-orig-indent-line-function buffer-local.
18203         Set sgml-xml-mode.  Don't call force-mode-line-update.
18204         (xml-lite-mode-map): Don't bind TAB.
18206 2002-03-27  Zoltan Kemenczy  <zoltan@ieee.org>
18208         * gud.el (gud-jdb-sourcepath): New variable, saves jdb -sourcepath
18209         parameter value.
18210         (gud-jdb-build-source-files-list): Comment clarification.
18211         (gud-jdb-massage-args): Reworked into loop-based argument list
18212         processing in order to support -classpath and -sourcepath argument
18213         processing.
18214         (gud-jdb-find-source-using-classpath): Prepend gud-jdb-sourcepath
18215         to gud-jdb-classpath to obtain search list.
18216         (gud-jdb-parse-classpath-string): Remove any trailing slashes from
18217         directory names in classpath/sourcepath lists, update comment.
18218         (jdb): Add setting of gud-jdb-sourcepath, update comment.
18219         (gud-find-class): Add gud-jdb-sourcepath use, and correct
18220         behaviour for the case when classpath is not used--backward
18221         compatibility fix.
18223 2002-03-27  Eli Zaretskii  <eliz@is.elta.co.il>
18225         * Makefile.in (compile, compile-always): Don't try to compile
18226         non-existent files or files in empty directories.
18228 2002-03-26  Michael Ernst  <mernst@alum.mit.edu>
18230         * compare-w.el (compare-windows-whitespace): Match all whitespace.
18232         * emacs-lisp/shadow.el (list-load-path-shadows): Only ignore last
18233         copy of standard Lisp directories.
18235         * tar-mode.el (tar-header-block-summarize, tar-get-descriptor):
18236         Support "next has longname" link type.
18238 2002-03-26  Stefan Monnier  <monnier@cs.yale.edu>
18240         * textmodes/xml-lite.el (xml-lite-at-indentation-p): Move.
18241         (xml-lite-in-string-p, xml-lite-looking-back-at, xml-lite-looking-at):
18242         New functions.
18243         (forward-xml-tag, backward-xml-tag, beginning-of-xml-tag)
18244         (end-of-xml-tag): Remove.
18245         (xml-lite-get-context): Better handling of comments.
18246         (xml-lite-calculate-indent): Use xml-lite-in-string-p.
18247         (xml-lite-parse-tag-backward): Rewrite.
18249 2002-03-26  Juanma Barranquero  <lektu@terra.es>
18251         * makefile.w32-in (WINS): Add the toolbar directory.
18253 2002-03-26  Richard M. Stallman  <rms@gnu.org>
18255         * subr.el (substring-no-properties): Function deleted (now in C).
18257 2002-03-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18259         * mwheel.el (mouse-wheel-mode): Use global-set-key and
18260         global-unset-key.
18262 2002-03-24  Richard M. Stallman  <rms@gnu.org>
18264         * mail/rmail.el (rmail-resend): Call mail-abbrev-make-syntax-table.
18266         * progmodes/etags.el (tags-query-replace): Pass t for NOERROR
18267         to query-replace-read-args.
18269         * progmodes/compile.el (compilation-forget-errors):
18270         Don't adjust compilation-parsing-end if it's nil.
18272         * replace.el (query-replace-read-args): New optional arg NOERROR.
18273         (perform-replace): Use save-window-excursion around recursive edit.
18275 2002-03-24  Colin Walters  <walters@verbum.org>
18277         * ibuffer.el (ibuffer): If the user has `ibuffer-use-other-window'
18278         non-nil, then always use another window.
18280 2002-03-24  Gerd Moellmann  <gerd@gnu.org>
18282         * subr.el (macro-declaration-function): New function.  Set the
18283         variable macro-declaration-function to it.
18285         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18286         Handle declarations in macro definitions.
18288 2002-03-24  Eli Zaretskii  <eliz@is.elta.co.il>
18290         * facemenu.el (facemenu-get-face): Remove unused variable `foreground'.
18292         * enriched.el (enriched-face-ans): Support FACE of the form
18293         (:foreground COLOR) and (:background COLOR).
18294         (enriched-decode-foreground, enriched-decode-background): Set the
18295         fore- and background colors of the faces we create, since facemenu
18296         doesn't.
18298 2002-03-24  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18300         * mwheel.el (mouse-wheel-mode): Use the result of
18301         current-global-map instead of the variable `global-map'.
18303 2002-03-23  Richard M. Stallman  <rms@gnu.org>
18305         * mail/mailabbrev.el (mail-abbrev-make-syntax-table): New subroutine
18306         broken out of sendmail-pre-abbrev-expand-hook.
18307         (sendmail-pre-abbrev-expand-hook): Use it.
18309 2002-03-22  Stefan Monnier  <monnier@cs.yale.edu>
18311         * Makefile.in (finder-inf.el): Remove.
18312         (finder-data): Don't depend on finder-inf.el any more.
18313         (compile, compile-always): Handle the case where some files
18314         from DONTCOMPILE are missing (it tried to compile them).
18315         (bootstrap-clean): Use src/emacs only if executable.
18316         (bootstrap): Update subdirs.el and finder-inf.el.
18318         * finder.el: Don't load finder-inf.el during byte-compilation.
18320         * vc-cvs.el (vc-cvs-registered, vc-cvs-dir-state-heuristic):
18321         Don't consider cvs-removed files as under VC control.
18322         VC wouldn't handle them properly anyway and it confuses
18323         vc-file-not-found-hook.
18325         * emacs-lisp/bytecomp.el (batch-byte-compile-if-not-done):
18326         Add autoload cookie.
18328 2002-03-22  Eli Zaretskii  <eliz@is.elta.co.il>
18330         * calendar/calendar.el (calendar): Doc fix.
18332 2002-03-22  Juanma Barranquero  <lektu@terra.es>
18334         * play/gomoku.el (gomoku-font-lock-O-face): Convert to use `defface'.
18335         (gomoku-font-lock-X-face): Likewise.
18336         (gomoku-font-lock-keywords): Use faces instead of variables.
18338 2002-03-21  Stefan Monnier  <monnier@cs.yale.edu>
18340         * Makefile.in (bootstrap): Make sure subdirs.el is ready.
18342 2002-03-21  Kim F. Storm  <storm@cua.dk>
18344         * simple.el (open-network-stream, open-network-stream-nowait)
18345         (open-network-stream-server): Use featurep to test for
18346         supported networking features.
18348 2002-03-21  Thien-Thi Nguyen  <ttn@gnu.org>
18350         * mail/emacsbug.el (report-emacs-bug-hook): Remove submitter
18351         directions as the last action.
18353 2002-03-21  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18355         * startup.el (fancy-splash-tail, normal-splash-screen):
18356         Update copyright.
18358         * novice.el (disabled-command-hook): Clarify output text to match
18359         prompt.
18361 2002-03-20  Jason Rumney  <jasonr@gnu.org>
18363         * frame.el (display-images-p): Do not explicitly check display type.
18365 2002-03-20  pmr-sav  <pmr-sav@hamm.pajato.com>
18367         * mail-utils.el:
18368         Eliminate compilation warnings due to `rfc822-addresses'.
18369         (rmail-dont-reply-to): Eliminate `pos' as a free variable for a
18370         warning free compile.
18372 2002-03-20  Michael Kifer  <kifer@cs.stonybrook.edu>
18374         * ediff-diff.el (ediff-install-fine-diff-if-necessary):
18375         Take the current highlighting style into account.
18376         (ediff-forward-word-function,ediff-whitespace,ediff-word-1)
18377         (ediff-word-2,ediff-word-3,ediff-word-4): Make them buffer local.
18379         * ediff-init.el (ediff-patch-job): New macro.
18381         * ediff-mult.el (ediff-make-new-meta-list-header): New API function.
18382         (ediff-intersect-directories): Use ediff-make-new-meta-list-header.
18384         * ediff-ptch.el (ediff-map-patch-buffer):
18385         Use ediff-make-new-meta-list-header.
18386         (ediff-fixup-patch-map): Use the meta-list API from ediff-mult.el.
18388         * ediff-util.el (ediff-toggle-hilit): Fix toggling of highliting.
18389         (ediff-select-difference): Take highlighting style into account.
18390         (ediff-clone-buffer-for-region-comparison): New function.
18391         (ediff-inferior-compare-regions): Added comparison of current diff
18392         regions.
18394         * ediff.el (ediff-clone-buffer-for-region-comparison)
18395         (ediff-clone-buffer-for-window-comparison): Moved to ediff-util.el.
18397 2002-03-19  pmr-sav  <pmr-sav@hamm.pajato.com>
18399         * mail-utils.el (rmail-dont-reply-to):
18400         Overhaul to correctly apply the regular
18401         expressions in the variable `rmail-dont-reply-to-names' to the list of
18402         destination addresses.  Contributed by lorentey@elte.hu.
18404         * rmail.el (rmail-dont-reply-to-names):
18405         Modify the documentation to make it email
18406         address centric rather than login name centric.  Contributed by
18407         lorentey@elte.hu.
18409 2002-03-18  Colin Walters  <walters@verbum.org>
18411         * ibuf-ext.el (ibuffer-toggle-sorting-mode): Remove `find-if' so
18412         we don't require `cl' at runtime.
18413         (sorting mode mode-name): Don't take the symbol-name of a string.
18415         * ibuffer.el (ibuffer-set-mark): Go back to the beginning of the
18416         line after setting the mark.
18417         (ibuffer-insert-buffers-and-marks): Invert the test for
18418         `ibuffer-sorting-reversep'.
18420 2002-03-18  Stefan Monnier  <monnier@cs.yale.edu>
18422         * international/ucs-tables.el (unify-8859-on-decoding-mode)
18423         (unify-8859-on-encoding-mode): Remove autoload cookie.
18425 2002-03-18  Andre Spiegel  <spiegel@gnu.org>
18427         * vc-rcs.el (vc-rcs-register): Fix handling of
18428         vc-[rcs-]register-switches.
18429         (vc-rcs-checkin-switches, vc-rcs-checkout-switches):
18430         Variables removed, since they weren't used yet.
18432         * vc-cvs.el (vc-cvs-register): Fix handling of
18433         vc-[cvs-]register-switches.
18435         * vc-sccs.el (vc-sccs-register): Fix handling of
18436         vc-[sccs-]register-switches.
18438 2002-03-18  Stefan Monnier  <monnier@cs.yale.edu>
18440         * loadup.el ("emacs-lisp/backquote"): Load earlier.
18441         ("international/ucs-tables"): Load and turn on
18442         unify-8859-on-encoding-mode unconditionally.
18443         (emacs-version): Use `defconst' rather than `setq'.
18445         * eshell/esh-ext.el (eshell-binary-suffixes): Use exec-suffixes.
18447 2002-03-18  Richard M. Stallman  <rms@gnu.org>
18449         * menu-bar.el (menu-bar-options-menu): Cope if
18450         text-mode-hook is not a list.
18452 2002-03-17  Richard M. Stallman  <rms@gnu.org>
18454         * emulation/pc-select.el (pc-selection-mode):
18455         Alter the existing global map, don't replace it.
18457         * files.el (list-directory): Set default-directory at the end.
18459         * dabbrev.el (dabbrev--goto-start-of-abbrev):
18460         Put a limit on field-beginning search.
18462 2002-03-17  Simon Josefsson  <jas@extundo.com>
18464         * net/browse-url.el (browse-url-mosaic-pidfile): New variable.
18465         (browse-url-mosaic): Use it.
18467         * net/browse-url.el (browse-url-filename-alist): Don't begin
18468         docstring with *, you don't want to set this one with M-x set-variable.
18470         * net/browse-url.el: Put * in user option doc strings.
18472 2002-03-17  Stefan Monnier  <monnier@cs.yale.edu>
18474         * textmodes/sgml-mode.el (sgml-xml-mode): Renamed from sgml-xml.
18475         (sgml-xml-guess): Simplify.
18476         (sgml-mode-common): Remove (move into sgml-mode).
18477         (sgml-mode): Add code from sgml-mode-common.
18478         Remove redundant setting of indent-line-function.
18479         Don't set skeleton-transformation when in XML mode.
18481         * international/mule-diag.el (describe-char-after):
18482         Use `internal-describe-syntax-value' again (got lost somewhere).
18484         * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
18485         Use unify-8859-on-decoding-mode.
18486         (unify-8859-on-decoding-mode): Also set translation-table-for-input.
18487         (ucs-insert): Give an error if the unicode char can't be created.
18489         * pcvs-parse.el (cvs-parse-table): Be a bit more lenient.
18490         (cvs-parse-status): Handle the "used to have a conflict" marker.
18492 2002-03-17  Kim F. Storm  <storm@cua.dk>
18494         The following changes are related to the enhanced network process
18495         support.
18497         * simple.el: Update copyright.
18498         (clone-process): Use make-network-process to clone network
18499         processes.  Get command list via (process-contact ... t).
18500         Use set-process-query-on-exit-flag and process-query-on-exit-flag
18501         instead of process-kill-without-query.
18502         (open-network-stream): Replaces C-version from process.c.
18503         (open-network-stream-nowait, open-network-stream-server): New funs.
18504         (process-kill-without-query): Replaces C-version from process.c.
18506         * files.el: Update copyright.
18507         (save-buffers-kill-emacs): Also check for active server
18508         processes.  Use process-query-on-exit-flag.  Only list processes
18509         which has the query-on-exit flag set in connection with user query.
18511         * shadowfile.el: Update copyright.
18512         (shadow-save-buffers-kill-emacs): Also check for active server
18513         processes.  Use process-query-on-exit-flag.
18515 2002-03-16  Simon Marshall  <simon.marshall@misys.com>
18517         * imenu.el (imenu-menubar-modified-tick): Renamed from
18518         imenu-update-menubar-modified-tick.
18519         (imenu-update-menubar): Update imenu-menubar-modified-tick
18520         whenever outer condition succeeds.
18522         * lazy-lock.el (save-buffer-state):
18523         Bind inhibit-modification-hooks and buffer-file-truename
18524         instead of before-change-functions and after-change-functions.
18526 2002-03-16  Eli Zaretskii  <eliz@is.elta.co.il>
18528         * international/codepage.el (codepage-setup): Don't define a
18529         codepage if it is already defined.
18531         * textmodes/po.el (po-content-type-charset-alist): Convert the
18532         car of each association to a string.
18533         (po-find-file-coding-system-guts): If the charset matches a name
18534         of a codepage, set up that codepage and return it as a coding
18535         system to decode the file.
18536         (po-find-charset): Search for the Charset= header even if we've
18537         read less than 4KB.
18538         <top-level>: Remove the setup for all known codepages: it seems
18539         to cause crashes in the CCL driver.
18541 2002-03-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18543         * textmodes/bibtex.el (bibtex-sort-ignore-string-entries)
18544         (bibtex-entry-field-alist): Doc fix.
18546 2002-03-16  Richard M. Stallman  <rms@gnu.org>
18548         * progmodes/cperl-mode.el (cperl-imenu--function-name-regexp-perl):
18549         Move definition above cperl-outline-regexp.
18551         * bindings.el (mode-line-mule-info): In computing help-echo prop,
18552         avoid using save-window-excursion.  And compile the function.
18554 2002-03-15  Stefan Monnier  <monnier@cs.yale.edu>
18556         * files.el (load-completion): New function.
18557         (load-library): Use it.
18559 2002-03-15  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18561         * calendar/cal-french.el (calendar-goto-french-date): Fix prompt
18562         to match the actual code.
18564 2002-03-15  Eli Zaretskii  <eliz@is.elta.co.il>
18566         * textmodes/po.el (po-find-file-coding-system-guts):
18567         Use with-temp-buffer instead of po-with-temp-buffer.
18569         * international/mule-conf.el (file-coding-system-alist): Add an
18570         association for PO files.
18572         * textmodes/po.el: New file.
18574 2002-03-15  Gerd Moellmann  <gerd@gnu.org>
18576         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18577         Fix simple loop indentation.
18579 2002-03-14  Miles Bader  <miles@gnu.org>
18581         * net/rlogin.el (rlogin-mode): Use `define-derived-mode'.
18583 2002-03-14  Richard M. Stallman  <rms@gnu.org>
18585         * textmodes/picture.el (picture-insert)
18586         (picture-clear-column, picture-draw-rectangle):
18587         Use move-to-column, not move-to-column-force.
18589         * dired.el (dired-readin): Clear out undo list.
18590         (dired-fun-in-all-buffers): Definition moved from dired-aux.el.
18591         (dired-delete-entry): New function.
18592         (dired-internal-do-deletions): Use dired-fun-in-all-buffers
18593         and dired-delete-entry, to update this buffer (and others).
18595         * dired-aux.el (dired-fun-in-all-buffers): Moved to dired.el.
18597         * facemenu.el (facemenu-add-new-face):
18598         Pass region args to facemenu-set-face, when there is a region.
18599         (facemenu-set-foreground, facemenu-set-background)
18600         (facemenu-add-face): Doc fixes.
18602         * progmodes/cperl-mode.el (cperl-outline-regexp): Move definition up.
18604 2002-03-14  Miles Bader  <miles@gnu.org>
18606         * emacs-lisp/debug.el: Require `button'.
18607         (debugger-mode-map): Set the parent keymap to `button-buffer-map',
18608         to get TAB and <backtab> bindings.
18610         * net/rlogin.el (rlogin-carriage-filter): Function removed.
18611         (rlogin): Don't install the `rlogin-carriage-filter' filter, as
18612         comint removes carriage returns itself now.
18614         * rfn-eshadow.el (rfn-eshadow-update-overlay):
18615         Bind `inhibit-point-motion-hooks' to t while messing around, to avoid
18616         getting hosed by our own intangible property.
18618 2002-03-13  Stefan Monnier  <monnier@cs.yale.edu>
18620         * progmodes/fortran.el (fortran-mode): Set comment-padding to "$$$".
18621         Add fortran-comment-line-start-skip to comment-start-skip.
18622         (fortran-comment-indent): Keep whole-line comments in column 0.
18623         (fortran-find-comment-start-skip): New arg `all'.
18624         If ALL is nil, make sure we only match comment-start-skip if we
18625         can't match fortran-comment-line-start-skip.
18626         Fix bug that made it return t but without moving point when
18627         matching '!'! (a false-comment followed by a real comment).
18628         (fortran-indent-comment): Use new `all' argument above.
18629         Be careful not to add an incorrect comment-starter like "C"
18630         in comment-column.
18631         (fortran-split-line): When splitting a comment, reuse the comment
18632         starter from the current line rather than fortran-comment-line-start.
18633         (fortran-indent-line, fortran-auto-fill): Simplify thanks to the
18634         cleaner behavior of fortran-find-comment-start-skip.
18635         (fortran-fill): Don't be confused by ! inside a comment.
18636         (fortran-break-line): Minor cleanup and simplification.
18638 2002-03-13  Francesco Potort\e,Al\e(B  <pot@gnu.org>
18640         * progmodes/etags.el (tag-exact-file-name-match-p)
18641         (tag-file-name-match-p, tag-partial-file-name-match-p): Use a
18642         simpler regexp.
18644 2002-03-12  Colin Walters  <walters@debian.org>
18646         * ibuffer.el (ibuffer-redisplay-current): Don't move point when
18647         redisplaying a line.
18649 2002-03-12  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
18651         * term/x-win.el (emacs-session-restore): Take previous id as
18652         an argument.
18653         (emacs-session-save): Add comment that return t means cancel shutdown
18655         * startup.el (command-line): Must check that x-session-previous-id
18656         is bound also, for non-X platforms.
18658 2002-03-12  Gerd Moellmann  <gerd@gnu.org>
18660         * emacs-lisp/cl-indent.el (lisp-loop-keyword-indentation)
18661         (lisp-loop-forms-indentation, lisp-simple-loop-indentation):
18662         New user options.
18663         (extended-loop-p, common-lisp-loop-part-indentation): New functions.
18664         (common-lisp-indent-function-1): Renamed from
18665         common-lisp-indent-function.
18666         (common-lisp-indent-function): Handle loop forms specially.
18667         (lisp-indent-defmethod): Use car/cdr instead of first/rest.
18668         (lisp-backquote-indentation): New user option.
18670 2002-03-12  Francesco Potort\e,Al\e(B  <pot@gnu.org>
18672         * progmodes/etags.el (tag-exact-file-name-match-p)
18673         (tag-file-name-match-p, tag-partial-file-name-match-p):
18674         Assume that the header of a tags section has either a number
18675         or nothing after the last comma.
18677 2002-03-11  Richard M. Stallman  <rms@gnu.org>
18679         * imenu.el (imenu-update-menubar-modified-tick): New variable.
18680         (imenu-update-menubar): Don't call imenu--make-index-alist
18681         if buffer has not changed since last time.
18683         * desktop.el (desktop-buffer-handlers): Doc fix.
18684         (desktop-buffer-file): Explicitly return BUF.
18686         * paren.el (show-paren-function): Move back in other direction
18687         to verify the match is correct.
18689         * mail/supercite.el (sc-select-attribution): Accept whatever value
18690         we get in CHOICE; there is no value meaning "try again".
18692 2002-03-11  Colin Walters  <walters@verbum.org>
18694         * shell.el (toplevel): Revert previous change to use pcomplete.
18695         (shell-mode): Ditto.
18696         (shell-pcomplete-setup-done): Remove.
18697         (shell-pcomplete): Ditto.
18698         (shell-pcomplete-reverse): Ditto.
18700         * comint.el: Remove documentation on setting up pcomplete.
18702 2002-03-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18704         * font-lock.el (java-font-lock-extra-types): Add "URL" as separate
18705         item.  Doc fix.
18707         * image.el (image-type-from-file-header): Make temporary buffer
18708         unibyte.
18710         * subr.el (add-to-list): Doc fix.
18712 2002-03-11  Miles Bader  <miles@gnu.org>
18714         * pcomplete.el (pcomplete-entries): Expand environment variables
18715         in filename.
18717 2002-03-10  Daniel Pfeiffer  <occitan@esperanto.org>
18719         * play/mpuz.el: Use defface instead of facemenu-get-face.
18721 2002-03-10  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
18723         * startup.el (command-line): Add call to emacs-session-restore if
18724         both x-session-id and x-session-previous-id are strings.
18726         * term/x-win.el (x-handle-smid): New function.
18727         (emacs-session-filename): New function.
18728         (emacs-session-save): New function.
18729         (emacs-save-session-functions): New variable.
18730         (emacs-session-restore): New function.
18732 2002-03-09  Eli Zaretskii  <eliz@is.elta.co.il>
18734         * simple.el (shell-command-on-region): Call push-mark with
18735         non-nil second arg, to suppress the "Mark set" message.
18737 2002-03-08  Richard M. Stallman  <rms@gnu.org>
18739         * textmodes/picture.el (picture-forward-column): New arg `interactive'
18740         is non-nil for an interactive call.  Use instead of interactive-p.
18741         (picture-backward-column): Likewise.
18743         * tar-mode.el (tar-untar-buffer): New function.
18745         * info.el (Info-fontify-node): Bind up-clicks, not down-clicks.
18746         Put the mouse-face on the entire xref, like the local keymap.
18748         * find-dired.el (find-name-dired): Use shell-quote-argument.
18750 2002-03-08  Daniel Pfeiffer  <occitan@esperanto.org>
18752         * play/mpuz.el (mpuz-unsolved-face, mpuz-solved-face)
18753         (mpuz-trivial-face, mpuz-text-face, mpuz-solve-when-trivial)
18754         (mpuz-allow-double-multiplicator): New options for nicer look and
18755         new features.
18756         (mpuz-put-number-on-board, mpuz-paint-number, mpuz-solve): New funs.
18757         (mpuz-check-all-solved, mpuz-random-puzzle)
18758         (mpuz-paint-statistics, mpuz-paint-digit, mpuz-close-game)
18759         (mpuz-show-solution): Functions streamlined and removed french
18760         style space before punctuation, added face support and optional
18761         solving of trivial results.
18763 2002-03-07  Colin Walters  <walters@verbum.org>
18765         * ibuf-macs.el (define-ibuffer-column): Add :summarizer property.
18767         * ibuffer.el (ibuffer-update-mode-name): Substitute "view time"
18768         instead of "recency" for clarity.
18769         (ibuffer-compile-format): Document more.  Handle new "summarizer"
18770         columns.
18771         (ibuffer-fontify-region-function): Ditto.
18772         (ibuffer-insert-buffer-line): Ditto.
18773         (ibuffer-map-lines): Ditto.
18774         (ibuffer-insert-buffers-and-marks): Ditto.
18775         (ibuffer-update-title-and-summary): Renamed from
18776         `ibuffer-update-title'.  Handle "summarizer" columns.
18777         (ibuffer-clear-summary-columns): New function.
18779         * ibuf-ext.el (ibuffer-filter-format-alist): Add type and group.
18781 2002-03-07  Gerd Moellmann  <gerd@gnu.org>
18783         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
18784         Use the other-window instead of the other-frame functions when
18785         the window is dedicated.
18787 2002-03-06  ShengHuo ZHU  <zsh@cs.rochester.edu>
18789         * textmodes/bibtex.el (bibtex-make-field): Call bibtex-find-text
18790         with SILENT so that a new field can be added.
18792 2002-03-06  Eli Zaretskii  <eliz@is.elta.co.il>
18794         * files.el (make-auto-save-file-name): Make sure the produced file
18795         name does not contain characters that are invalid for DOS/Windows
18796         filesystems.
18798         * dos-fns.el, w32-fns.el (make-auto-save-file-name):
18799         Remove replacement functions.
18801 2002-03-06  Gerd Moellmann  <gerd@gnu.org>
18803         * font-lock.el (lisp-font-lock-keywords-2): Highlight keywords of
18804         the form `:x'.
18806         * vc.el (vc-branch-part): Add autoload cookie.  This function can
18807         be called from vc-rcs-find-most-recent-rev when visiting a file
18808         checked into RCS in a CVS sandbox.
18810 2002-03-06  Andreas Schwab  <schwab@suse.de>
18812         * progmodes/hideif.el: Augment expression parser to handle
18813         conditional expressions.
18814         (hif-token-regexp): Also match `?' and `:'.
18815         (hif-tokenize): Handle `?' and ':' as tokens.
18816         (hif-expr): Parse conditional expressions.
18817         (hif-or-expr): Parse `||' expressions.
18818         (hif-and-expr): Renamed from hif-term.
18819         (hif-conditional): New function to evaluate a conditional
18820         expression.
18822 2002-03-06  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18824         * language/czech.el ("Czech"): Fix the documentation.
18826         * language/slovak.el ("Slovak"): Likewise.
18828 2002-03-05  ShengHuo ZHU  <zsh@cs.rochester.edu>
18830         * xml.el (xml-parse-attlist): Accept empty strings.
18832 2002-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
18834         * mouse.el (mouse-show-mark): Remove the no-highlight alternative:
18835         all terminals now support highlighting of some kind.
18837         * language/european.el (mac-roman): Fix the safe-chars property.
18839 2002-03-05  Andre Spiegel  <spiegel@gnu.org>
18841         * vc.el (vc-transfer-file): Use `make-temp-file'.
18842         (vc-default-update-changelog): Remove conditional use of
18843         `make-temp-name'.
18845         * vc-cvs.el (vc-cvs-diff-tree): Fix typo in parameter names.
18847 2002-03-05  Michael Kifer  <kifer@cs.stonybrook.edu>
18849         * ediff-init.el: Comments.
18851         * ediff-hook.el: Got rid of autoloads. Not needed, since the hook
18852         is loaded.
18854         * ediff-mult.el (ediff-intersect-directories)
18855         (ediff-prepare-meta-buffer,ediff-get-directory-files-under-revision):
18856         Cleanup.
18857         (ediff-draw-dir-diffs): Now supports the "C" command in directory
18858         difference buffer.
18859         (ediff-dir-diff-copy-file): New function that implements copying
18860         of files from one Ediff dir to another
18861         (ediff-bury-dir-diffs-buffer): Kills the buffer instead.
18862         (ediff-append-custom-diff): Better error msgs.
18864         * ediff-util.el (ediff-compute-custom-diffs-maybe): Buglet fix.
18865         (ediff-inferior-compare-regions): Use
18866         ediff-clone-buffer-for-region-comparison. Better and simpler interface.
18868         * ediff.el (ediff-directories-internal): Cleanup.
18869         (ediff-clone-buffer-for-region-comparison): Better interface.
18871 2002-03-04  Richard M. Stallman  <rms@gnu.org>
18873         * emacs-lisp/easy-mmode.el (define-minor-mode):
18874         Use "P" in interactive spec of minor mode commands.
18876 2002-03-04  Stefan Monnier  <monnier@cs.yale.edu>
18878         * faces.el (face-spec-choose): Allow `t' to appear before the end.
18879         (mode-line, tool-bar, minibuffer-prompt, region, fringe, bold, italic)
18880         (bold-italic, underline, highlight, secondary-selection, fixed-pitch)
18881         (variable-pitch, trailing-whitespace): Don't use the old-style entries.
18882         (mode-line-inactive, header-line): Move the `t' section to the
18883         beginning so the `:inherit' setting can be shared.
18885 2002-03-04  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18887         * net/snmp-mode.el: Require tempo when compiling to prevent
18888         warnings.  Update copyright notice.
18890         * help.el (describe-key-briefly, describe-key): Interpret `undefined'
18891         like not defined at all.
18893 2002-03-03  Stefan Monnier  <monnier@cs.yale.edu>
18895         * textmodes/sgml-mode.el: Change maintainer to FSF.
18896         (sgml-start-tag-regex, sgml-font-lock-keywords-1, sgml-mode-common)
18897         (sgml-tags-invisible, sgml-beginning-of-tag):
18898         Allow _ : and non-ASCII in tag names, as required for XML.
18899         (sgml-name-char): Don't assume anything about charsets handled by
18900         encode-char.
18902         * textmodes/tex-mode.el (tex-guess-main-file): Handle the case
18903         where one of the buffers is narrowed.
18905         * hexl.el (hexlify-command, dehexlify-command): Remove.
18906         (hexlify-buffer, dehexlify-buffer): Use call-process-region
18907         rather than shell-command-on-region.
18909         * newcomment.el (comment-forward): Use forward-comment to skip
18910         over whitespace (or comments) even when comment-use-syntax is nil.
18912         * progmodes/cperl-mode.el (cperl-menu): Add "-emacs" to the version.
18914         * textmodes/xml-lite.el: New file.
18916 2002-03-03  Richard M. Stallman  <rms@gnu.org>
18918         * textmodes/artist.el (artist-system): Use make-temp-file.
18920         * progmodes/ps-mode.el (ps-run-make-tmp-filename): Use make-temp-file.
18922         * mail/sendmail.el (mail-recover-1): Increase non-random-len
18923         by 1 since we changed make-auto-save-file-name to add one
18924         fewer character to the buffer name.
18925         (mail-recover): Really show point at the right place
18926         in the *Directory* buffer.
18928         * files.el (make-auto-save-file-name): Use make-temp-file.
18930         * terminal.el (te-create-terminfo): Use make-temp-file
18931         to create the source file in a safe way.
18933 2002-03-03  Eli Zaretskii  <eliz@is.elta.co.il>
18935         * cus-start.el: Rename automatic-hscroll-step and
18936         automatic-hscroll-margin into hscroll-step and hscroll-margin.
18938         * frame.el (auto-hscroll-mode): Renamed from automatic-hscrolling.
18939         (automatic-hscrolling): Now a defvaralias for auto-hscroll-mode.
18941         * mouse.el (mouse-region-delete-keys): Add deletechar.
18943 2002-03-03  Sam Steingold  <sds@gnu.org>
18945         * play/snake.el (snake-score-file): Fixed parens (broken by the
18946         last patch).
18947         * play/tetris.el (tetris-score-file): Ditto.
18949 2002-03-03  Richard M. Stallman  <rms@gnu.org>
18951         * play/tetris.el (tetris-score-file): Put in home dir, not in /tmp.
18953         * play/snake.el (snake-score-file): Put in home dir, not in /tmp.
18955         * play/gamegrid.el (gamegrid-set-font, gamegrid-setup-face)
18956         (gamegrid-make-mono-tty-face): Fix usage of condition-case.
18958 2002-03-03  Thien-Thi Nguyen  <ttn@gnu.org>
18960         * calendar/diary-lib.el (list-diary-entries): Use `buffer-substring'
18961         instead of `buffer-substring-no-properties' to support enriched mode.
18963 2002-03-02  Richard M. Stallman  <rms@gnu.org>
18965         * find-dired.el (find-grep-dired): Call shell-quote-argument.
18966         Specify the -e option.
18967         Rename arg to `regexp'.
18969 2002-03-02  Milan Zamazal  <pdm@zamazal.org>
18971         * textmodes/tildify.el (tildify-string-alist): Add entry for xml-mode.
18973 2002-03-02  Miles Bader  <miles@gnu.org>
18975         * mwheel.el (mwheel-scroll): Remove `double' and `triple' from the
18976         event-modifiers before looking up in `mouse-wheel-scroll-amount'.
18977         If there's no applicable modifiers entry in the alist in
18978         `mouse-wheel-scroll-amount', fall back to the default, not to
18979         nil (which causes full screen scrolls).
18981 2002-03-01  Andreas Schwab  <schwab@suse.de>
18983         * textmodes/texnfo-upd.el (texinfo-start-menu-description):
18984         Remove extra paren in regexp.
18986 2002-03-01  Eli Zaretskii  <eliz@is.elta.co.il>
18988         * mouse.el (mouse-show-mark): Use display-mouse-p, not
18989         display-graphic-p, to decide whether to move point or use the
18990         highlighting.
18992 2002-02-28  Colin Walters  <walters@verbum.org>
18994         * eshell/esh-var.el (eshell-parse-variable-ref): Use `make-temp-file'.
18996         * calc/calc-graph.el (calc-gnuplot-tempfile): Don't expand against
18997         `temporary-file-directory'; we now do that in `calc-graph-file-cache'.
18998         (calc-temp-file-name): Use `make-temp-file'.
19000 2002-02-28  Richard M. Stallman  <rms@gnu.org>
19002         * font-lock.el (java-font-lock-extra-types):
19003         Match java.net.URL, etc.
19005 2002-02-28  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19007         * hexl.el (hexl-options): Doc fix.
19008         Update Commentary section.
19010         * textmodes/sgml-mode.el (sgml-specials, sgml-quick-keys):
19011         Doc fixes.
19013 2002-02-28  Andre Spiegel  <spiegel@gnu.org>
19015         * vc.el (vc-revert-buffer): If the buffer is not saved, prompt
19016         the user to do that first.
19017         (vc-update): New function.
19019         * vc-hooks.el (vc-menu-map): New entry "Update to Latest Version",
19020         which calls vc-update.  Use the term "Base Version" instead of
19021         "Last Version" for the entries "Revert" and "Compare".
19023 2002-02-28  Kim F. Storm  <storm@cua.dk>
19025         * simple.el (shell-command-on-region): Report non-zero exit
19026         status in mode line instead of buffer.
19028 2002-02-27  Richard M. Stallman  <rms@gnu.org>
19030         * comint.el (comint-preoutput-filter-functions): Doc fix.
19031         (comint-output-filter-functions, comint-input-filter-functions)
19032         (comint-redirect-filter-functions): Likewise.
19034         (comint-redirect-preoutput-filter): Do the local-hook
19035         handling of t when running comint-redirect-filter-functions.
19036         (comint-output-filter): Likewise for comint-preoutput-filter-functions.
19038 2002-02-26  Richard M. Stallman  <rms@gnu.org>
19040         * paths.el (remote-shell-program): Add doc string.
19042 2002-02-26  Colin Walters  <walters@debian.org>
19044         * ibuf-ext.el (sorter mode-name): New.
19045         (ibuffer-do-occur): Don't quote ibuffer-marked-char.
19047         * calc/calc-ext.el (calc-scroll-left): Call scroll-left
19048         interactively, so they do something.
19049         (calc-scroll-right): Ditto.
19051 2002-02-26  Eli Zaretskii  <eliz@is.elta.co.il>
19053         * international/mule.el (ctext-pre-write-conversion): Handle the
19054         case when FROM is a string, and when we are called from
19055         build_annotations_2.
19057 2002-02-26  Richard M. Stallman  <rms@gnu.org>
19059         * rect.el (clear-rectangle-line): Reindent to the same column
19060         that move-to-column reached when it tried to go to endcol.
19062         * icomplete.el (icomplete-exhibit): Use minibuffer-prompt-end.
19064 2002-02-26  Ivar Rummelhoff  <ivarru@math.uio.no>
19066         * winner.el (winner-boring-buffers, winner-set): A window which
19067         displays a buffer whose name is in the list
19068         `winner-boring-buffers', will no longer be restored by `winner-undo'.
19069         (winner-sorted-window-list): Used to improve comparison between
19070         window configurations.
19071         (winner-win-data): Simplified and moved.
19072         (winner-conf): Simplified (now uses `winner-win-data').
19073         (winner-change-fun, winner-save-old-configurations)
19074         (winner-save-(un)conditionally, winner-redo): Changes made while in
19075         the minibuffer will be ignored.  (Such changes are undone upon
19076         exit for the minibuffer, anyway.)
19077         (winner-set-conf): Preserve selected window whenever possible.
19078         (winner-make-point-alist): Simplified.
19079         (winner-mode, winner-save-unconditionally): Save current window
19080         configuration on entering minibuffer.
19081         (minor-mode-alist): Don't add winner-mode to `minor-mode-alist',
19082         since it does not change the overall behavior of Emacs.
19084 2002-02-26  Eli Zaretskii  <eliz@is.elta.co.il>
19086         * international/mule-conf.el (compound-text): Renamed back from
19087         compound-text-no-extensions.
19088         (ctext-no-compositions): Remove the mime-charset property.
19089         (compound-text-with-extensions): Renamed from compound-text.
19090         (x-ctext-with-extensions, ctext-with-extensions): Renamed aliases.
19092 2002-02-26  Juanma Barranquero  <lektu@terra.es>
19094         * faces.el (list-faces-display): Fix typo.
19096 2002-02-25  Richard M. Stallman  <rms@gnu.org>
19098         * frame.el (focus-follows-mouse): Doc fix.
19100 2002-02-26  Miles Bader  <miles@gnu.org>
19102         * mwheel.el (mouse-wheel-mode): Pass vectors instead of symbols
19103         to `define-key', since it no longer accepts the latter.
19105 2002-02-25  Jason Rumney  <jasonr@gnu.org>
19107         * term/w32-win.el (mouse-wheel-scroll-line): Use car of
19108         mouse-wheel-scroll-amount.
19110         * w32-vars.el (mouse-wheel-scroll-amount): Use same definition as
19111         mwheel.el.
19113         * language/japanese.el (iso-2022-jp-2): Add init-bol flag.
19115 2002-02-25  Andre Spiegel  <spiegel@gnu.org>
19117         * vc.el (vc-diff-switches-list): Fix prev change, making the macro
19118         consistent with the others that take a backend name as a symbol.
19120         * vc-cvs.el, vc-rcs.el, vc-sccs.el: Fix calls to vc-diff-switches-list.
19122 2002-02-25  Kim F. Storm  <no-spam@cua.dk>
19124         * comint.el (comint-replace-by-expanded-filename): Do nothing if
19125         comint-match-partial-filename returns nil.
19127         * shell.el (shell-pcomplete-setup-done): New variable.
19128         (shell-pcomplete): Use it instead of shell-pcomplete-setup-p.
19129         (shell-pcomplete-reverse): Ditto.
19131 2002-02-25  Per Abrahamsen  <abraham@dina.kvl.dk>
19133         * ps-print.el (ps-print-printer): Added `lpr' customize group member.
19135 2002-02-25  Juanma Barranquero  <lektu@terra.es>
19137         * subr.el (save-match-data): Doc fix.
19139         * ielm.el (ielm-prompt): Allow customization; make it read-only.
19141 2002-02-25  Kim F. Storm  <storm@cua.dk>
19143         * shell.el (shell-mode-map): Add "Complete" header so completion
19144         menu is shown on the menu bar in shell mode.
19146 2002-02-25  Stefan Monnier  <monnier@cs.yale.edu>
19148         * ielm.el (ielm-match-data): New var.
19149         (inferior-emacs-lisp-mode): Make it buffer-local.
19150         (ielm-eval-input): Use it to preserve match-data between inputs.
19152 2002-02-24  Juanma Barranquero  <lektu@terra.es>
19154         * ielm.el (inferior-emacs-lisp-mode): Use hexl for the dummy process.
19156 2002-02-24  Per Abrahamsen  <abraham@dina.kvl.dk>
19158         * cus-edit.el (custom-unlispify-remove-prefixes): Add to
19159         `custom-buffer' customize group.
19161 2002-02-23  Kim F. Storm  <storm@cua.dk>
19163         * help.el (where-is): Use remap-command.
19165         * help-fns.el (describe-function-1): Use remap-command.
19167         * subr.el (global-set-key, local-set-key): Undo 2002-02-06
19168         change (no longer accept a symbol for the KEY argument).
19170 2002-02-23  Colin Walters  <walters@debian.org>
19172         * calc/calcalg3.el (calc-invent-variables): Convert integer to string.
19173         * calc/calcalg2.el (math-solve-get-sign): Ditto.
19175         * ibuffer.el (ibuffer-compile-format): Don't uselessly bind `pt'
19176         in generated function.
19178         * ibuf-ext.el (ibuffer-old-time): Change to hours.
19179         (ibuffer-mark-old-buffers): Handle it.
19181         * shell.el (shell-pcomplete, shell-pcomplete-reverse): New functions.
19182         (toplevel): Bind them.
19183         (shell-mode): Don't set `comint-dynamic-complete-functions'; it is
19184         not necessary now that we use pcomplete.
19186         * comint.el: Document how use new pcomplete completion facility.
19188 2002-02-23  Richard M. Stallman  <rms@gnu.org>
19190         * mail/rmailsum.el (rmail-summary-output): Properly advance
19191         to next message, by calling rmail-summary-goto-msg.
19193         * net/browse-url.el (browse-url-galeon): Specify --existing
19194         for an existing window.  Use --noraise rather than --no-raise.
19195         Don't use -x.
19197 2002-02-22  Eli Zaretskii  <eliz@is.elta.co.il>
19199         * progmodes/etags.el (find-tag-noselect, find-tag)
19200         (find-tag-other-window, find-tag-other-frame, find-tag-regexp):
19201         Fix a typo in doc strings.
19203 2002-02-20  Deepak Goel  <deego@glue.umd.edu>
19205         * play/snake.el (snake-velocity-queue, snake-update-velocity)
19206         (snake-final-x-velocity, snake-final-y-velocity):
19207         New variable and functions.  Store user's keypresses
19208         into a queue and pop from the queue each subsequent turn.
19209         (snake-update-game, snake-move-left)
19210         (snake-move-right, snake-move-up, snake-move-down, snake-active-p)
19211         (snake-start-game): Use that queue.
19212         (snake-use-glyphs-flag): Renamed from snake-use-glyphs.
19213         (snake-use-color-flag): Likewise.
19214         (snake-mode): Rename uses of those variables.
19216 2002-02-22  Eli Zaretskii  <eliz@is.elta.co.il>
19218         Support for ICCCM  Extended Segments in X selections:
19220         * international/mule-conf.el (ctext-no-compositions): New coding
19221         system.
19222         (compount-text-no-extensions): Renamed from compound-text.
19223         (x-ctext-no-extensions, ctext-no-extensions): Aliases for
19224         compound-text-no-extensions.
19225         (compound-text): Redefined using post-read and pre-write conversions.
19227         * international/mule.el (non-standard-icccm-encodings-alist)
19228         (non-standard-designations-alist): New variables.
19229         (ctext-post-read-conversion, ctext-pre-write-conversion):
19230         New functions.
19232 2002-02-21  Jonathan Kamens  <jik@kamens.brookline.ma.us>
19234         * vc.el (vc-default-init-version): Update documentation to
19235         indicate that the backend can override the default init version.
19236         (vc-register): Use the backend init-version function, if it
19237         exists, to determine the initial version of a file.
19238         (vc-diff-switches-list): Don't symbol-quote backend, since it's
19239         already a symbol.  Don't fail if vc-BACKEND-diff-switches isn't bound.
19241         * vc-hooks.el (vc-mode-line): Set vc-mode to nil if the file is
19242         not version-controlled.  This is necessary, e.g., if the file has
19243         just been reverted, and thus was previously under version control
19244         but isn't any longer.
19245         (vc-find-file-hook): Likewise.
19247 2002-02-21  Martin Lorentzson  <Martin.Lorentzson@telia.com>
19249         * vc-cvs.el (vc-cvs-sticky-date-format-string): New variable.
19250         (vc-cvs-sticky-tag-display): New variable.
19251         (vc-cvs-mode-line-string): Add sticky-tag to the mode-line.
19252         (vc-cvs-checkin): If the input revision is a valid symbolic tag
19253         name, we create it as a branch, commit and switch to it.
19254         (vc-cvs-retrieve-snapshot): Set file-property sticky-tag.
19255         (vc-cvs-valid-symbolic-tag-name-p): New function.
19256         (vc-cvs-parse-sticky-tag): New function.
19257         (vc-cvs-parse-entry): Added parsing of sticky tags.
19259 2002-02-21  Per Abrahamsen  <abraham@dina.kvl.dk>
19261         * toolbar/tool-bar.el (tool-bar-mode): Revert the :init-value to
19262         nil, and then explicitly set the standard-value to t.
19264 2002-02-20  Sam Steingold  <sds@gnu.org>
19266         * textmodes/flyspell.el (flyspell-mode): Autoload the variable
19267         since it is used in the menu bar.
19269 2002-02-20  Richard M. Stallman  <rms@gnu.org>
19271         * simple.el (shell-command-on-region): Display the exit status
19272         when a command fails.
19274         * subr.el (add-hook): Doc fix.
19276         * frame.el (other-frame): Doc fix.
19278         * simple.el (yank): Clear `field' property.
19280 2002-02-20  Tom Tromey  <tromey@cachet>
19282         * progmodes/tcl.el (tcl-do-fill-paragraph): Find and fill on more
19283         natural paragraph boundaries.  Don't fail at beginning of buffer.
19285 2002-02-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19287         * tar-mode.el (tar-next-line, tar-previous-line): Add doc string,
19288         call the argument "arg" to match plain next-line and
19289         previous-line.  From Kevin Ryde <user42@zip.com.au>.
19291 2002-02-19  Sam Steingold  <sds@gnu.org>
19293         * mwheel.el (mouse-wheel-scroll-amount): Can specify different
19294         scroll amounts for different modifiers now.
19295         (mwheel-scroll): Handle the new `mouse-wheel-scroll-amount'
19296         format properly.
19297         (mouse-wheel-mode): Ditto.
19299 2002-02-19  Eli Zaretskii  <eliz@is.elta.co.il>
19301         * textmodes/bibtex.el (bibtex-parse-keys): Put save-match-data
19302         around function body.
19304         * net/browse-url.el (browse-url-maybe-new-window): Reverse the
19305         sense of the comparison, to match the doc strings of functions
19306         that use this macro.
19308 2002-02-19  Per Abrahamsen  <abraham@dina.kvl.dk>
19310         * facemenu.el (describe-text-mode-map): Removed bootstrap kludge.
19312         * toolbar/tool-bar.el (tool-bar-mode): Made the standard value t.
19313         * menu-bar.el (menu-bar-mode): Ditto.
19315 2002-02-18  Andreas Schwab  <schwab@suse.de>
19317         * replace.el (query-replace-regexp-eval): Doc fix.
19319 2002-02-18  Colin Walters  <walters@verbum.org>
19321         * calc/calcalg2.el (math-solve-get-int): Convert return value from
19322         `math-get-from-counter' to a string before calling `concat' on it.
19324         * calc/calc-maint.el (calc-split-manual): Look for calc.texi.
19325         (calc-public-autoloads): Obsolete; remove.
19326         (calc-private-autoloads): Ditto.
19327         (calc-add-autoloads): Ditto.
19329         * calc/calc-macs.el (calc-with-default-simplification): Use &rest
19330         for body.
19332 2002-02-17  Jason Rumney  <jasonr@gnu.org>
19334         * w32-win.el (x-option-alist, x-long-option-alist)
19335         (x-switch-definitions): Remove, use command-line-x-option-alist
19336         instead to be consistent with X.
19337         (x-handle-initial-switch): New function.
19339 2002-02-17  Eli Zaretskii  <eliz@is.elta.co.il>
19341         * faces.el (mode-line-inactive, header-line): Add the :inherit
19342         attribute for the tty case.
19344 2002-02-17  stanislav shalunov  <shalunov@internet2.edu>
19346         * mail/uce.el (uce-reply-to-uce): Fix incorrect behavior when
19347         invoked from Rmail with full headers displayed.
19349 2002-02-17  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
19351         * emacs-lisp/lisp.el (mark-defun): Don't leave multiple marks
19352         when repeated.
19353         * textmodes/paragraphs.el (mark-paragraph): Ditto.
19355 2002-02-17  Per Abrahamsen  <abraham@dina.kvl.dk>
19357         * menu-bar.el (menu-bar-showhide-menu): Added speedbar.
19358         (menu-bar-tools-menu): Removed speedbar.
19360         * textmodes/ispell.el (ispell-menu-map): Added `customize-ispell'
19361         and `flyspell-mode' entries.
19363         * textmodes/flyspell.el (flyspell): Add to ispell group.
19365 2002-02-17  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
19367         * emacs-lisp/lisp.el (mark-sexp): Don't leave multiple marks when
19368         repeated.
19369         (mark-defun): Mark more if repeated.
19371 2002-02-17  Colin Walters  <walters@verbum.org>
19373         * ibuf-ext.el (ibuffer-toggle-sorting-mode): Make it work.
19375         * ibuffer.el (ibuffer-truncate-lines): New option.
19376         (ibuffer-mode): Use it.
19378 2002-02-17  Kim F. Storm  <storm@cua.dk>
19380         * cus-start.el: Add mouse-highlight.
19382 2002-02-16  Eli Zaretskii  <eliz@is.elta.co.il>
19384         * Makefile.in (DONTCOMPILE): Remove cus-start.el.
19386         * cus-start.el: Add automatic-hscroll-margin and
19387         automatic-hscroll-step.
19389 2002-02-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19391         * cus-start.el (x-autoselect-window): Allow customization.
19393         * eshell/em-alias.el (eshell-alias-initialize): Do not use
19394         make-local-hook.
19396         * eshell/em-cmpl.el (eshell-cmpl-initialize): Likewise.
19398         * eshell/em-dirs.el (eshell-dirs-initialize): Likewise.
19400         * eshell/em-glob.el (eshell-glob-initialize): Likewise.
19402         * eshell/em-hist.el (eshell-hist-initialize): Likewise.
19404         * eshell/em-pred.el (eshell-pred-initialize): Likewise.
19406         * eshell/em-prompt.el (eshell-prompt-initialize): Likewise.
19408         * eshell/em-rebind.el (eshell-rebind-initialize): Likewise.
19410         * eshell/em-smart.el (eshell-smart-initialize): Likewise.
19412         * eshell/em-unix.el (eshell-unix-initialize): Likewise.
19414         * eshell/esh-cmd.el (eshell-cmd-initialize): Likewise.
19416         * eshell/esh-ext.el (eshell-ext-initialize): Likewise.
19418         * eshell/esh-io.el (eshell-io-initialize): Likewise.
19420         * eshell/esh-mode.el (eshell-mode): Likewise.
19422         * eshell/esh-test.el (eshell-show-usage-metrics): Likewise.
19424         * eshell/esh-var.el (eshell-var-initialize): Likewise.
19426         * progmodes/idlw-shell.el (idlwave-shell-mode): Likewise.
19428         * progmodes/idlwave.el (idlwave-mode): Likewise.
19430         * textmodes/reftex-sel.el (reftex-select-label-mode)
19431         (reftex-select-bib-mode): Likewise.
19433 2002-02-16  John Wiegley  <johnw@gnu.org>
19435         * eshell/em-hist.el (eshell-hist-initialize): When in the
19436         minibuffer, use the global value of `eshell-history-ring', and
19437         never save it to disk, or ask to save it to disk.  This allows
19438         users of session.el to control whether its global state should be
19439         persisted or not.
19440         (eshell-add-command-to-history): Don't write Eshell's history out
19441         to disk, let the governing mode control that upon exit.
19443 2002-02-16  Eli Zaretskii  <eliz@is.elta.co.il>
19445         * eshell/eshell.el (eshell-command): Before reading from the
19446         minibuffer, add eshell-add-command-to-history to
19447         minibuffer-exit-hook, and remove it after read-from-minibuffer
19448         returns.
19450         * eshell/em-hist.el (eshell-add-input-to-history): New function,
19451         with most of the code from eshell-add-to-history.
19452         (eshell-add-command-to-history): New function, to record in
19453         eshell-history the commands run via eshell-command.
19454         (eshell-add-to-history): Call eshell-add-command-to-history to do
19455         most of the work.
19457 2002-02-16  John Wiegley  <johnw@gnu.org>
19459         * eshell/esh-ext.el (eshell-external-command): Added a fix for
19460         XEmacs' new dired.el, which adds a global entry in the
19461         `file-name-handler-alist'.
19463 2002-02-16  John Wiegley  <johnw@gnu.org>
19465         * align.el (align-region): Added a missing name argument.
19467 2002-02-16  John Wiegley  <johnw@gnu.org>
19469         * eshell/esh-ext.el (eshell-script-interpreter): Allow whitespace
19470         after the #! of a shell interpretor specification.
19472 2002-02-15  Richard M. Stallman  <rms@gnu.org>
19474         * help.el (describe-key-briefly): Make output in INSERT case
19475         look just like what is displayed in the normal case.
19477 2002-02-15  Andreas Schwab  <schwab@suse.de>
19479         * textmodes/tex-mode.el (tex-font-lock-keywords-2):
19480         Require non-letter after specials.
19482 2002-02-15  Eli Zaretskii  <eliz@is.elta.co.il>
19484         * menu-bar.el (menu-bar-tools-menu): Add an item for Calculator.
19486 2002-02-15  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
19488         * simple.el (mark-word): Mark more if repeated.
19489         * textmodes/paragraphs.el (mark-paragraph): Ditto.
19490         (mark-end-of-sentence): Ditto.
19492 2002-02-15  Per Abrahamsen  <abraham@dina.kvl.dk>
19494         * wid-edit.el (widgetp): Made it more robust.
19496 2002-02-14  Per Abrahamsen  <abraham@dina.kvl.dk>
19498         * facemenu.el (describe-text-done): New function.
19499         (describe-text-mode-map): New variable.
19500         (describe-text-mode-hook): New option.
19501         (describe-text-mode): New function.
19502         (describe-text-widget): New function.
19503         (describe-text-sexp): New function.
19504         (describe-text-properties): New function.
19505         (describe-text-category): New command.
19506         (describe-text-at): New command.
19507         (facemenu-menu): Replace `list-text-properties-at' with
19508         `describe-text-at' in the menu.
19510         * wid-edit.el (widgetp): New function.
19511         * wid-edit.el (widget-keymap, widget-insert, widget-setup): Autoload.
19513         * emacs-lisp/pp.el (pp-to-string): Autoloaded.
19515         * wid-browse.el: Removed version and x-url keywords.
19517 2002-02-13  Kim F. Storm  <storm@cua.dk>
19519         * cus-start.el (mode-line-in-non-selected-windows):
19520         Allow customization.
19522 2002-02-13  Richard M. Stallman  <rms@gnu.org>
19524         * textmodes/bibtex.el (bibtex-parse-buffers-stealthily):
19525         Tell bibtex-parse-keys to output no progress messages.
19527 2002-02-12  Eli Zaretskii  <eliz@is.elta.co.il>
19529         * progmodes/pascal.el (pascal-imenu-generic-expression):
19530         Add menu-title and fix parentheses.
19532 2002-02-12  Per Abrahamsen  <abraham@dina.kvl.dk>
19534         * menu-bar.el (menu-bar-options-save): Removed `truncate-lines'.
19535         (menu-bar-options-menu): Don't set default value for `truncate-lines'.
19537 2002-02-12  Per Abrahamsen  <abraham@dina.kvl.dk>
19539         * menu-bar.el (menu-bar-options-save): Only save
19540         `current-language-environment' and `default-input-method' when
19541         marked as customized.
19543         * international/mule-cmds.el
19544         (setup-specified-language-environment):
19545         Mark `current-language-environment' as customized.
19546         (set-input-method): Mark `default-input-method' as customized when
19547         called interactively.
19548         (toggle-input-method): Ditto.
19550 2002-02-11  Colin Walters  <walters@verbum.org>
19552         * ibuffer.el (ibuffer-switch-format): Supply required argument for
19553         `ibuffer-current-formats'.
19555 2002-02-11  Miles Bader  <miles@gnu.org>
19557         * faces.el (mode-line-inactive): Add dark-background variant.
19559 2002-02-11  Per Abrahamsen  <abraham@dina.kvl.dk>
19561         * toolbar/tool-bar.el (tool-bar-mode): Removed standard value.
19562         * menu-bar.el (menu-bar-mode): Ditto.
19563         * cus-edit.el (customize-mark-to-save): Always save variables
19564         without a standard value.
19566         * menu-bar.el (menu-bar-make-toggle): Made it aware of customize.
19567         (menu-bar-options-save): Ditto.
19568         (menu-bar-showhide-menu): Ditto.
19569         (menu-bar-options-menu): Ditto.
19570         (menu-bar-scroll-bar-right, menu-bar-scroll-bar-left)
19571         (menu-bar-scroll-bar-none): Remove.
19572         (menu-bar-showhide-scroll-bar-menu): Use customize aware lambda
19573         expressions instead.
19575         * cus-edit.el (customize-set-value): Return value.
19576         (customize-set-variable): Ditto.
19577         (customize-save-variable): Ditto.
19578         (customize-set-variable): Load dependencies before setting value.
19579         (custom-load-symbol): Autoload it.
19580         (customize-mark-as-set): New function.
19582 2002-02-11  Eli Zaretskii  <eliz@is.elta.co.il>
19584         * cus-start.el: Don't warn about "x-*" symbols when building a
19585         non-GUI version.
19587 2002-02-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19589         * strokes.el (strokes-do-stroke, strokes-do-complex-stroke):
19590         Doc fix.
19591         (strokes-help): Do not use doubled with-output-to-temp-buffer.
19592         Fix the help string.
19593         (strokes-prompt-user-save-strokes): Fix typo.
19594         (strokes-list-strokes): Use proper exit-action argument for
19595         view-buffer.  Update copyright notice.
19597         * international/mule-diag.el: Various doc and message fixes.
19598         (non-iso-charset-alist): Add mac-roman.  Don't add entries for
19599         codepages already present.
19600         (list-block-of-chars): Display space for null entries in
19601         translation table.  Display tab specially.
19602         (list-non-iso-charset-chars): Check for null charsets.  Use pop
19603         for clarity.  Don't break 8-bit sets into sections between ranges.
19604         (list-charset-chars): Avoid indent-tabs-mode.
19605         (describe-char-after): Maybe use the text property for syntax
19606         table information.  Maybe report char-code-property-table info.
19607         Maybe report character's unicode.  Tweak printing of list info.
19608         (list-input-methods): Add xref buttons.
19609         (dump-charsets, dump-codings): Deleted (obsolete).
19610         From Dave Love <fx@gnu.org>.
19612 2002-02-10  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19614         * menu-bar.el (menu-bar-showhide-menu): Rename functions for toggling.
19616 2002-02-10  Michael Kifer  <kifer@cs.stonybrook.edu>
19618         * viper-util.el (viper-read-key-sequence): Fix so it'll read
19619         fast key sequences in emacs native mode
19620         (viper-events-to-keys): Delete.
19622         * viper.el (describe-key, describe-key-briefly): Get rid of
19623         viper-events-to-keys.
19625         * ediff-init.el (ediff-has-gutter-support): Steven Turnbull's patch.
19627         * ediff-wind.el (ediff-setup-control-frame):
19628         Use ediff-has-gutter-support.
19630         * ediff-util.el (ediff-dispose-of-variant-according-to-user):
19631         check if buff is alive.
19633         * ediff.el: Typo in comment.
19635 2002-02-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19637         * menu-bar.el (menu-bar-options-save): Take care of
19638         line-number-mode and column-number-mode variables.
19639         (menu-bar-showhide-menu): New menu-items "Show Line Number" and
19640         "Show Column Number" in "Show/Hide" menu.
19642 2002-02-09  Richard M. Stallman  <rms@gnu.org>
19644         * mail/mailabbrev.el (mail-mode-map): Use eval-after-load to change it.
19646 2002-02-09  Kim F. Storm  <storm@cua.dk>
19648         * faces.el (mode-line-inactive): New face for mode-line for
19649         non-selected windows.
19650         (mode-line): Doc fix: Only used for selected window.
19652 2002-02-08  Eli Zaretskii  <eliz@is.elta.co.il>
19654         * calendar/cal-menu.el (calendar-mode-map): Change the menu item's
19655         name to "Insert Diary Entry".
19657 2002-02-08  Stefan Monnier  <monnier@cs.yale.edu>
19659         * font-lock.el (save-buffer-state): Use restore-buffer-modified-p.
19660         (c-font-lock-syntactic-face-function): Accept doxygen-style comments.
19662 2002-02-08  Richard M. Stallman  <rms@gnu.org>
19664         * textmodes/text-mode.el (text-mode-hook-identify): Define as no-op.
19666 2002-02-08  Andreas Schwab  <schwab@suse.de>
19668         * calc/calc.el (calcDigit-key): Use minibuffer-prompt-end instead
19669         of point-min.
19671 2002-02-08  Eli Zaretskii  <eliz@is.elta.co.il>
19673         * net/ange-ftp.el (ange-ftp-process-handle-line)
19674         (ange-ftp-set-xfer-size): If the file's size is a float, divide
19675         by 1024 instead of using ash.
19677         * international/mule-cmds.el (select-safe-coding-system):
19678         State the buffer's name in the message popped in the *Warning* buffer,
19679         and make sure the offending buffer is displayed.
19681 2002-02-07  Markus Rost  <rost@math.ohio-state.edu>
19683         * ffap.el (ffap-newsgroup-p): Test for non-nil symbol-value of htb.
19685 2002-02-07  Richard M. Stallman  <rms@gnu.org>
19687         * terminal.el (terminal-map): Define [menu-bar] so global def is seen.
19689         * register.el (list-registers): New command.
19690         (describe-register-1): New subroutine, taken out of view-register.
19692         * emacs-lisp/copyright.el (copyright-regexp):
19693         Delete the unibyte copyright symbol; it's redundant.
19694         Fix a spazz in the multibyte encoding here.
19696 2002-02-07  Dave Love  <fx@gnu.org>
19698         * language/cyril-util.el (cyrillic-encode-koi8-r-char)
19699         (cyrillic-encode-alternativnyj-char): Get translation tables from
19700         symbol properties, not as variables.
19701         (standard-display-cyrillic-translit): Include unicodes.
19703 2002-02-06  Kim F. Storm  <storm@cua.dk>
19705         * help.el (where-is): Report remapped commands.
19707         * help-fns.el (describe-function-1): Ditto.
19709         * subr.el (global-set-key, local-set-key): Accept a symbol for the
19710         KEY argument (like define-key).
19712 2002-02-06  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19714         * textmodes/flyspell.el (flyspell-insert-function): Doc fix.
19716 2002-02-06  Richard M. Stallman  <rms@gnu.org>
19718         * mail/mailabbrev.el: Require sendmail only at compile time.
19719         (mail-mode-header-syntax-table): Var deleted.
19720         (mail-abbrev-syntax-table): Init to nil, will compute when needed.
19721         (sendmail-pre-abbrev-expand-hook): Only temporarily change
19722         local-abbrev-table and the syntax table.
19723         Compute mail-abbrev-syntax-table if that has not been done.
19725         * progmodes/compile.el (grep-compute-defaults): Definition moved up.
19727         * emacs-lisp/debug.el (debugger-frame-offset): Var deleted.
19728         (debugger-frame-number): Figure out the offset directly.
19729         (debugger-setup-buffer): Don't use debugger-frame-offset.
19730         (debugger-frame, debugger-frame-clear): Likewise.
19731         (debugger-jump): Don't alter debugger-frame-offset.
19733         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
19734         Replace foo-p as var name with foo-flag, not foo-p-flag.
19736         * hilit-chg.el (highlight-changes-active-string): Default to +Chg.
19737         (highlight-changes-passive-string): Default to -Chg.
19738         (highlight-changes-global-modes): Doc fix.
19740         * dired.el (dired-get-filename): Add /: when appropriate
19741         to avoid taking a local name as remote.
19743         * files.el (file-name-non-special): Add special handling for
19744         file-name-sans-versions, file-name-completion, and
19745         file-name-all-completions.
19747         * isearch.el (isearch-update): Don't update display in kbd macro.
19748         (isearch-lazy-highlight-new-loop): Do nothing in kbd macro.
19750         * subr.el (force-mode-line-update): Doc fix.
19752         * subr.el (atomic-change-group, prepare-change-group)
19753         (activate-change-group, accept-change-group, cancel-change-group):
19754         New functions.
19756         * simple.el (undo-get-state, undo-revert-to-state): Fns deleted.
19757         (transpose-subr-1): Use atomic-change-group.
19759         * subr.el (add-minor-mode): Include the mode's lighter string
19760         in the minor mode menu item name.
19762         * mail/rmail.el (rmail-toggle-header): Avoid possibly slow call to
19763         rmail-count-screen-lines starting from (point-min).
19765         * startup.el (use-fancy-splash-screens-p): Need 19 lines,
19766         beyond the image height, to use the fancy splash screen.
19768         * textmodes/text-mode.el (text-mode-hook-identify): Function deleted.
19769         (text-mode): Set text-mode-variant here.
19771 2002-02-06  Eli Zaretskii  <eliz@is.elta.co.il>
19773         * play/pong.el (pong-height): Don't use height that exceeds the
19774         frame height.
19775         (pong-border-options): Make the border colors slightly more bright.
19777         * play/gamegrid.el (gamegrid-display-type): Treat any
19778         color-capable display as color-x, if display-color-p is fboundp.
19779         (gamegrid-make-color-x-face): Don't call gamegrid-color twice.
19780         (gamegrid-make-color-tty-face): Use the value of color, not the
19781         symbol itself.  Don't call gamegrid-color.
19783 2002-02-05  Eli Zaretskii  <eliz@is.elta.co.il>
19785         * gud.el (gud-refresh): Call recenter only after we are sure we
19786         are in the right window.
19788 2002-02-05  Per Abrahamsen  <abraham@dina.kvl.dk>
19790         * cus-edit.el (customize-mark-to-save): New function.
19791         * menu-bar.el (menu-bar-options-save): Rewrote.
19793 2002-02-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19795         * cus-start.el (x-use-underline-position-properties):
19796         Allow customization.
19798 2002-02-04  Simon Josefsson  <jas@extundo.com>
19800         * dired.el (dired-load-hook, dired-mode-hook)
19801         (dired-before-readin-hook, dired-after-readin-hook): Defcustom.
19803 2002-02-03  Colin Walters  <walters@verbum.org>
19805         * ibuf-ext.el (ibuffer-filter-format-alist)
19806         (ibuffer-cached-filter-formats, ibuffer-compiled-filter-formats):
19807         New variables.
19808         * ibuffer.el (ibuffer): Remove link; the "home page" for ibuffer
19809         is now the Emacs CVS tree.
19810         (ibuffer-formats): Doc fix.
19811         (ibuffer-active-formats-name, ibuffer-current-formats): New functions.
19812         (ibuffer-current-format): Use them.
19813         (ibuffer-recompile-formats, ibuffer-check-formats)
19814         (ibuffer-switch-format, ibuffer-update-title):
19815         Add support for ibuffer-filter-format-alist.
19816         (define-ibuffer-column process): Remove unncessary consing.
19818         * ibuf-macs.el (define-ibuffer-column): Add beginnings of support
19819         for a summary column.
19821 2002-02-03  Andreas Schwab  <schwab@suse.de>
19823         * window.el (save-selected-window): Move macro before first use.
19824         (balance-windows): Fix misplaced parenthesis.
19826 2002-02-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19828         * calculator.el (calculator-displayers): Doc fixes.
19830 2002-02-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19832         * menu-bar.el (menu-bar-help-menu): Use different text for tool-tip.
19833         (menu-bar-options-save): Save also the value of `display-time-mode'.
19834         (showhide-date-time): New function.
19835         (menu-bar-showhide-menu): New menu-item "Date and time".
19837 2002-02-03  Eli Zaretskii  <eliz@is.elta.co.il>
19839         * mail/rmail.el (rmail): Use find-buffer-visiting instead of
19840         get-file-buffer to check for rmail buffer existence.
19842         * term.el (term-emulate-terminal): Extract proper command string
19843         which is supplied to term-command-hook.
19845 2002-02-03  Richard M. Stallman  <rms@gnu.org>
19847         * international/quail.el (quail-help): Don't call help-setup-xref.
19849         * international/mule-cmds.el (describe-input-method):
19850         Call help-setup-xref here.
19851         (describe-current-input-method): Doc fix.
19853         * novice.el (disabled-command-hook): Clarify output text.
19854         Indent the paragraph from the command's doc string.
19856         * dabbrev.el (dabbrev--goto-start-of-abbrev):
19857         Exit loop on beginning of field rather than bobp.
19859 2002-02-02  Eli Zaretskii  <eliz@is.elta.co.il>
19861         * mail/uce.el (uce-reply-to-uce): Prune the headers before copying
19862         the message text into the *mail* buffer, and restore the pruned
19863         state after that.
19865         * mail/rmail.el (rmail-redecode-body): Prune the headers before
19866         looking for X-Coding-System header, and restore the pruned state
19867         before returning.
19869 2002-02-02  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19871         * cus-edit.el (customize-save-variable): Fix typo in prompt.
19873         These changes integrate new version of flyspell.el from its
19874         maintainer, Manuel Serrano:
19876         * textmodes/flyspell.el (flyspell-issue-message-flag): New user option.
19877         (flyspell-mode-on, flyspell-notify-misspell)
19878         (flyspell-small-region, flyspell-external-point-words)
19879         (flyspell-large-region): Use it
19880         (flyspell-before-incorrect-word-string)
19881         (flyspell-after-incorrect-word-string): New user options.
19882         (make-flyspell-overlay): Use them.
19883         (flyspell-version): New function.
19884         (flyspell-incorrect-face, flyspell-duplicate-face): Adapt face
19885         definitions to use :weight.
19886         (flyspell-insert-function): New user option.
19887         (flyspell-auto-correct-word, flyspell-correct-word)
19888         (flyspell-xemacs-correct): Use it.
19889         (flyspell-define-abbrev): New function.
19890         (flyspell-auto-correct-word, flyspell-correct-word)
19891         (flyspell-xemacs-correct): Use it.
19892         (make-flyspell-overlay): Use `evaporate' property.
19893         (flyspell-auto-correct-word, flyspell-correct-word): Remove overlay.
19894         (flyspell-emacs-popup): Use `session' instead of `accept'.
19895         (flyspell-auto-correct-previous-pos): New variable.
19896         (flyspell-auto-correct-previous-hook)
19897         (flyspell-auto-correct-previous-word): New functions.
19899 2002-02-02  Eli Zaretskii  <eliz@is.elta.co.il>
19901         * novice.el (enable-command): If Emacs was invoked as "emacs -q",
19902         don't alter the user's ~/.emacs.
19903         (disable-command): If user-init-file is nil or does not exist,
19904         default to "~/.emacs" (~/_emacs on DOS and, maybe, Windows).
19905         But don't alter the init file if Emacs was invoked as "emacs -q"
19907 2002-02-01  Stefan Monnier  <monnier@cs.yale.edu>
19909         * mail/sendmail.el (mail-mode): Undo half of last change.
19911         * indent.el (indent-for-tab-command): Remove spurious code.
19913         * hi-lock.el (hi-lock-find-patterns): Save restriction.
19915 2002-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
19917         * calendar/time-date.el: Moved from lisp/gnus.
19919         * calendar/parse-time.el: Ditto.
19921 2002-01-31  Richard M. Stallman  <rms@gnu.org>
19923         * international/iso-acc.el (iso-languages): Fix ", " in French.
19925         * cus-start.el (history-length): Specify customization for it.
19927         * emacs-lisp/debug.el (debugger-setup-buffer):
19928         When an eval-buffer frame was reading from a buffer,
19929         insert indication of the buffer position.
19930         (debugger-frame-number): Ignore ;;;-comment lines in backtrace.
19931         (debugger-frame-clear, debugger-frame): Error on non-frame line.
19933         * simple.el (shell-command-on-region): Err if no mark
19934         before reading the command string.
19936         * hl-line.el (hl-line-highlight, hl-line-unhighlight):
19937         Definitions moved down after hl-line-mode var's definition.
19939         * hilit-chg.el (hilit-chg-fixup): Don't alter overlay if not ours.
19940         (hilit-chg-set-face-on-change): Rename arg.
19941         (hilit-chg-make-ov): Detect error earlier.
19943         * ediff-hook.el: Delete autoload cookies.
19945         * comint.el (comint-scroll-show-maximum-output): Default is t.
19947         * emacs-lisp/bytecomp.el (batch-byte-compile): New arg noforce.
19948         (batch-byte-compile-if-not-done): New function.
19950         * Makefile.in (compile): New target.
19951         (compile-always): Renamed from compile-files.
19952         (compile-after-backup): Renamed from compile.
19953         (bootstrap): Depend on compile-always, not compile-files.
19955         * emulation/pc-select.el (pc-select-save-and-set-mode):
19956         Properly use MODE-VAR.
19958 2002-01-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19960         * menu-bar.el (menu-bar-help-menu): Change menu-item "Show Emacs
19961         Version" to "About Emacs".
19962         (menu-bar-options-save): Add `default-frame-alist'
19963         to saved variables.
19964         (menu-bar-showhide-scroll-bar-menu): Use frame-parameters instead
19965         of the variable `scroll-bar-mode'.
19967         * startup.el (normal-splash-screen, display-splash-screen):
19968         New functions (separated from command-line-1).
19969         (command-line-1): Use them.
19971 2002-01-28  Eli Zaretskii  <eliz@is.elta.co.il>
19973         * calendar/calendar.el (generate-calendar-month): Doc fix.
19975 2002-01-27  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19977         * time.el (display-time-mail-directory): New option.
19978         (display-time-mail-function): Update doc-string.
19979         (display-time-mail-icon): Use XPM image when available.
19980         (display-time-string-forms): Use more descriptive text as
19981         help-echo property.
19982         (display-time-mail-check-directory): New function.
19983         (display-time-update): Use it.
19985         * menu-bar.el (menu-bar-showhide-scroll-bar-menu):
19986         Quote `window-system'.
19988         * tmm.el (tmm-get-keymap): Honour :visible in `menu-item'.
19989         Add Keywords header.  Update Commentary section.
19990         Update copyright notice.
19992         * menu-bar.el (menu-bar-scroll-bar-right)
19993         (menu-bar-scroll-bar-left, menu-bar-scroll-bar-none)
19994         (showhide-menu-bar): New functions.
19995         (menu-bar-showhide-menu): New submenu "Show/Hide".
19996         (menu-bar-showhide-scroll-bar-menu): "Scroll-bar" submenu of
19997         "Show/Hide".
19998         Update copyright notice.
20000 2002-01-27  Eli Zaretskii  <eliz@is.elta.co.il>
20002         * lazy-lock.el (lazy-lock-mode): Add a reference to jit-lock.
20004 2002-01-26  Evgeny Roubinchtein  <evgenyr@cs.washington.edu>
20006         * pc-select.el (pc-selection-mode-hook)
20007         (pc-select-saved-settings-alist, pc-select-map)
20008         (pc-select-saved-global-map, pc-select-key-bindings-alist)
20009         (pc-select-default-key-bindings, pc-select-extra-key-bindings)
20010         (pc-select-meta-moves-sexps-key-bindings)
20011         (pc-select-tty-key-bindings, pc-select-old-M-delete-binding):
20012         New variables.
20013         (pc-select-define-keys, pc-select-restore-keys): New functions.
20014         (pc-select-add-to-alist, pc-select-save-and-set-var)
20015         (pc-select-save-and-set-mode, pc-select-restore-var)
20016         (pc-select-restore-mode): New macros.
20017         (pc-selection-mode): Completely rewrote the body of the function;
20018         the main goal was to make pc-selection-mode "turn-off"-able, like
20019         other minor modes.  Use define-minore-mode instead of just a
20020         defun.  Store the key bindings into four alists:
20021         pc-select-default-key-bindings, pc-select-extra-key-bindings,
20022         pc-select-meta-moves-sexps-key-bindings, and
20023         pc-select-tty-key-bindings; then have the pc-select-define-keys
20024         function walk those alists instead of calling define-key
20025         repeatedly.  When the mode is turned on, set the
20026         keybindings in global-map and remember the old keybindings; when
20027         the mode is turned off, restore the previously-saved keybindings.
20028         (pc-selection-mode defcustom): Reflect the fact that the mode is
20029         now "turn-off"-able.
20031 2002-01-26  Eli Zaretskii  <eliz@is.elta.co.il>
20033         * eshell/esh-cmd.el (eshell-eval-command): If eshell-resume-eval
20034         returns t, don't treat that as an error.
20036 2002-01-25  Jason Rumney  <jasonr@gnu.org>
20038         * faces.el (face-font-registry-alternatives) [windows-nt]:
20039         Add ms-oemlatin as an alternative for iso8859-1.
20041 2002-01-25  Stefan Monnier  <monnier@cs.yale.edu>
20043         * pcvs.el (cvs-reread-cvsrc): Distinguish between an empty list of
20044         args and the absence of an entry.  Don't add -f each time.
20046 2002-01-25  Eli Zaretskii  <eliz@is.elta.co.il>
20048         * emacs-lisp/cl-seq.el (mismatch): Doc fix.
20050         Support for more than 8 colors on character terminals:
20052         * term/rxvt.el: New file.
20054         * Makefile.in (DONTCOMPILE): Remove term/xterm.el.
20056         * term/xterm.el (xterm-standard-colors): New variable.
20057         (xterm-rgb-convert-to-16bit, xterm-register-default-colors)
20058         (xterm-rxvt-set-background-mode): New functions.
20059         (toplevel): Call xterm-register-default-colors,
20060         xterm-rxvt-set-background-mode, and tty-set-up-initial-frame-faces.
20061         Add support for more keys from xterm's terminfo entry.
20063         * facemenu.el (list-colors-display): If the argument is nil, don't
20064         show more colors that the number returned by display-color-cells.
20066         * term/pc-win.el (msdos-color-values): Reverse the order of the
20067         colors, since tty-color-define now preserves the registration order.
20069         * w32-fns.el (w32-tty-standard-colors): Reverse the order.
20071         * term/tty-colors.el (tty-standard-colors): Reverse the order.
20072         (tty-register-default-colors): New function; code moved from
20073         startup.el's command-line.
20074         (tty-modify-color-alist): Use nconc instead of cons, to preserve
20075         the order the colors where registered.
20077         * frame.el (display-color-cells): Use tty-display-color-cells.
20079         * startup.el (command-line): Call tty-register-default-colors.
20081 2002-01-25  Richard M. Stallman  <rms@gnu.org>
20083         * subr.el (remove): Doc fix.
20085 2002-01-24  Richard M. Stallman  <rms@gnu.org>
20087         * progmodes/compile.el (compilation-handle-exit):
20088         Add a compilation-handle-exit property to the "finished" message.
20089         (compilation-parse-errors): Stop parsing when that property is seen.
20091         * subr.el (substring-no-properties): New function.
20092         (copy-without-properties): Function deleted.
20094         * term/x-win.el (x-handle-geometry): Put sizes on both
20095         initial-frame-alist and default-frame-alist.
20097         * cus-edit.el (custom-save-all): Bind file-precious-flag to t
20098         for saving .emacs.
20100         * files.el (basic-save-buffer-2): Ignore file-error in delete-file.
20102         * calendar/calendar.el (generate-calendar-month): Doc fix.
20104 2002-01-23  Richard M. Stallman  <rms@gnu.org>
20106         * play/tetris.el (tetris): New defgroup.
20107         (tetris-use-glyphs, tetris-use-color, tetris-draw-border-with-glyphs)
20108         (tetris-default-tick-period): Convert to defcustom.
20109         Added * in docstring to indicate user variable.
20110         (tetris-update-speed-function, tetris-mode-hook, tetris-tty-colors)
20111         (tetris-x-colors, tetris-buffer-name, tetris-buffer-width)
20112         (tetris-buffer-height, tetris-width, tetris-height)
20113         (tetris-top-left-x, tetris-top-left-y): Convert to defcustom.
20115 2002-01-22  Stefan Monnier  <monnier@cs.yale.edu>
20117         * mail/sendmail.el (mail-mode): ">" is not a supercite-style prefix
20118         and is already matched by adaptive-fill-regexp.
20120 2002-01-22  Richard M. Stallman  <rms@gnu.org>
20122         * bindings.el (mode-line-copied-mode-name): New variable.
20123         (mode-line-mode-name): Don't modify mode-name itself!
20124         Instead, make a copy and reuse it.
20126         * subr.el (copy-without-properties): New function.
20128         * progmodes/sh-script.el (sh-set-shell): Doc fix.
20130         * net/ange-ftp.el (ange-ftp-canonize-filename): Avoid duplicate
20131         slash if DIR is just slash.
20133         * progmodes/perl-mode.el (perl-mode-abbrev-table): Restore definition.
20135 2002-01-21  Richard M. Stallman  <rms@gnu.org>
20137         * emacs-lisp/copyright.el (copyright-regexp): Fix previous change.
20139         * net/ange-ftp.el (ange-ftp-bs2000-posix-hook-installed):
20140         Move defvar up.
20142         * textmodes/ispell.el (ispell-help): Clean up echo area if user quits.
20144         * ibuffer.el: Don't require ibuf-ext at load time.
20145         (ibuffer): Require ibuf-ext here.
20147 2002-01-21  Francesco Potort\e,Al\e(B  <pot@gnu.org>
20149         * generic-x.el (apache-conf-generic-mode): Highlight the first
20150         word in a line even if preceded by blanks.
20152 2002-01-21  Richard M. Stallman  <rms@gnu.org>
20154         * window.el (window-body-height): Handle minibuffer window specially.
20155         Otherwise, don't return less than 1.
20157 2002-01-20  Thomas Dorner  <Thomas.Dorner@start.de>
20159         * ange-ftp.el: Added support for BS2000, and for raw ftp
20160         login commands (needed in some circumstances).
20161         (ange-ftp-raw-login): New custom var.
20162         (ange-ftp-normal-login): Perform login with raw ftp commands, if
20163         ange-ftp-raw-login is set and account password is needed.
20164         (ange-ftp-host-type, ange-ftp-guess-host-type): Handle BS2000 hosts.
20165         (ange-ftp-bs2000-filename-pubset-regexp)
20166         (ange-ftp-bs2000-filename-username-regexp)
20167         (ange-ftp-bs2000-filename-prefix-regexp)
20168         (ange-ftp-bs2000-name-template): New consts.
20169         (ange-ftp-bs2000-short-filename-regexp)
20170         (ange-ftp-bs2000-fix-name-regexp-reverse)
20171         (ange-ftp-bs2000-fix-name-regexp): New consts.
20172         (ange-ftp-bs2000-special-prefix): New custom var.
20173         (ange-ftp-fix-name-for-bs2000)
20174         (ange-ftp-fix-dir-name-for-bs2000): New funs.
20175         (ange-ftp-bs2000-host-regexp, ange-ftp-bs2000-posix-host-regexp)
20176         (ange-ftp-bs2000-posix-hook-installed): New vars.
20177         (ange-ftp-parse-bs2000-filename, ange-ftp-parse-bs2000-listing)
20178         (ange-ftp-bs2000-host, ange-ftp-bs2000-posix-host)
20179         (ange-ftp-add-bs2000-host, ange-ftp-add-bs2000-posix-host): New funs.
20180         (ange-ftp-bs2000-filename-regexp): New const.
20181         (ange-ftp-bs2000-additional-pubsets): New custom var.
20182         (ange-ftp-bs2000-cd-to-posix): New fun.
20184 2002-01-20  Colin Walters  <walters@verbum.org>
20186         * ibuffer.el: (toplevel) Require `ibuf-ext', which is now compiled
20187         with `byte-compile-dynamic'.
20188         (ibuffer-default-directory, toplevel): Doc files.
20190 2002-01-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20192         * tempo.el (tempo-define-template): Doc fix.
20194         * scroll-bar.el (scroll-bar-mode): Make argument optional.
20196 2002-01-20  Jason Rumney  <jasonr@gnu.org>
20198         * w32-vars.el: New file.
20200         * loadup.el [windows-nt]: Load it.
20202         * w32-fns.el, term/w32-win.el: Move user variables to w32-vars.el
20203         and make them defcustoms.
20205         * term/w32-win.el (mouse-set-font): Use w32-list-proportional-fonts.
20207 2002-01-19  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20209         * language/tibet-util.el (tibetan-decompose-region)
20210         (tibetan-decompose-string): Fix typo in docstring.
20212         * ruler-mode.el (ruler-mode): New keyword.  Fix :version.
20214 2002-01-18  Richard M. Stallman  <rms@gnu.org>
20216         * comint.el (comint-redirect-send-command-to-process):
20217         Restore previous current buffer.
20219         * window.el (window-body-height): New function.
20221 2002-01-18  Zoltan Kemenczy  <kemenczy@rogers.com>
20223         * gud.el (easy-mmode-defmap): Enable "Up Stack", "Down Stack", and
20224         "Finish Function" menu map entries for jdb mode.
20225         (gud-jdb-use-classpath): New customization variable.
20226         (gud-jdb-command-name): Add customization.
20227         (gud-jdb-classpath, gud-marker-acc-max-length): New variables.
20228         (gud-jdb-classpath-string): New variable.
20229         (gud-jdb-source-files, gud-jdb-class-source-alist): Add doc strings.
20230         (gud-jdb-build-source-files-list): Likewise.
20231         (gud-jdb-massage-args): Record any command argument classpath
20232         string in `gud-jdb-classpath-string'.
20233         (gud-jdb-lowest-stack-level): New function, finds bottom of current
20234         java call stack in jdb output.
20235         (gud-jdb-find-source-using-classpath, gud-jdb-find-source)
20236         (gud-jdb-parse-classpath-string): New functions.
20237         (gud-jdb-marker-filter): Search/detect classpath information in
20238         jdb's output.  marker regexp updated to match oldjdb and jdb output
20239         formats.  Expand search for source files to include new/old methods
20240         using new functions above.  Do not allow `gud-marker-acc' to grow
20241         without bound.
20242         (jdb): Set classpath information (if available) as jdb is started.
20243         Change `gud-break' and `gud-remove'
20244         to use new %c ("class") escape in format strings.
20245         Add `gud-finish', `gud-up', `gud-down' command string functions, and
20246         add them to the local menu map.  Update `comint-prompt-regexp' for
20247         jdb and oldjdb.  If attaching to an already running java VM and
20248         configured to use classpath, send command to query for classpath,
20249         else use previous method for finding and parsing java
20250         sources.  Set `gud-jdb-find-source' function accordingly.
20251         (gud-mode): Doc fix.
20252         (gud-format-command): Add support for new %c ("class") escape.
20253         (gud-find-class): New function in support of %c escape.
20255 2002-01-17  Richard M. Stallman  <rms@gnu.org>
20257         * ibuf-ext.el: Enable byte-compile-dynamic.
20259 2002-01-17  Jason Rumney  <jasonr@gnu.org>
20261         * term/w32-win.el: Restore conditional require of fontset.
20263 2002-01-16  Richard M. Stallman  <rms@gnu.org>
20265         * mouse.el (mouse-drag-region-1): Renamed from mouse-drag-region,
20266         more or less.
20267         (mouse-drag-region): New function.  For a click in the echo area,
20268         show *Messages*.
20270         * ibuf-ext.el: Delete the autoloads for functions defined with
20271         ibuffer-specific commands.
20273         * help.el (describe-distribution): Really call view-file.
20275         * net/ange-ftp.el (ange-ftp-passive-mode): New arg PROC.
20276         (ange-ftp-get-process): Pass that arg.
20278         * comint.el (comint-simple-send): Fix previous change.
20280         * net/telnet.el (telnet-simple-send): Fix previous change.
20282         * progmodes/sql.el (sql-escape-newlines-and-send)
20283         (sql-query-placeholders-and-send): Fix previous change.
20285 2002-01-16  Colin Walters  <walters@verbum.org>
20287         * ibuf-ext.el, ibuf-macs.el, ibuffer.el (toplevel): Remove X-RCS,
20288         URL, Compatibility headers.  Update copyright notice.
20289         * ibuf-macs.el (toplevel): Require `cl' when compiling.
20291 2002-01-16  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
20293         * startup.el (command-line): Set EOL mnemonics for the Mac.
20295 2002-01-16  Andreas Schwab  <schwab@suse.de>
20297         * mail/feedmail.el (feedmail): Fix :link spec.
20299 2002-01-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20301         * net/ldap.el (ldap-ldapsearch-prog): Default to OpenLDAP version
20302         2 ldapsearch.
20304         * net/eudc.el: New maintainer.  Change author's address.
20305         (eudc-pre-select-window-configuration, eudc-insertion-marker):
20306         Variables removed.
20307         (eudc-insert-selected): Function removed.
20308         (eudc-select): Reimplemented.
20309         (eudc-expand-inline): Delete the strings only after its expansion
20310         is chosen not before.
20312         * net/eudcb-ph.el (eudc-ph-open-session): Remove XEmacs case.
20313         Minor coding style fixes.
20315         * net/eudcb-ldap.el: New maintainer.  Change author's address.
20316         (eudc-attribute-display-method-alist): Display mail with
20317         eudc-display-mail.
20319         * net/eudcb-bbdb.el, net/eudc-export.el, net/eudc-hotlist.el,
20320         * net/eudc-vars.el: New maintainer.  Change author's address.
20322         * net/eudc-bob.el: New maintainer.  Change author's address.
20323         (eudc-bob-mail-keymap): New keymap for e-mail addresses.
20324         (eudc-display-mail): New function.
20325         (eudc-bob-play-sound-at-point): Remove XEmacs case.
20327 2002-01-15  Richard M. Stallman  <rms@gnu.org>
20329         * emacs-lisp/autoload.el (make-autoload):
20330         Don't handle define-ibuffer-column, define-ibuffer-filter,
20331         define-ibuffer-sorter, and define-ibuffer-op.
20333 2002-01-14  Richard M. Stallman  <rms@gnu.org>
20335         * calendar/calendar.el (diary-date-forms): Doc fix.
20337 2002-01-14  Eli Zaretskii  <eliz@is.elta.co.il>
20339         * startup.el (command-line): Register the default tty colors even
20340         if the terminal doesn't seem to support colors.
20341         <tty-long-option-alist>: New option --color.
20342         (tty-handle-args): Parse the --color arg.
20344         * term/tty-colors.el (tty-color-mode-alist): New variable.
20346 2002-01-14  Stefan Monnier  <monnier@cs.yale.edu>
20348         * net/ange-ftp.el (ange-ftp-root-dir-p): New function.
20349         (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
20350         Use it.
20351         (ange-ftp-hook-function): Preserve match-data.
20352         (ange-ftp-insert-directory): Typo.
20353         (ange-ftp-shell-command): Check if regexp matched.
20355 2002-01-13  Richard M. Stallman  <rms@gnu.org>
20357         * international/mule-cmds.el: help-map bindings moved to help.el.
20359         * help.el (view-echo-area-messages): New function.
20360         (help-map): Add `e' binding.  Delete obsolete `d' binding.
20361         Change old Info bindings C-f, C-k and C-i to F, K, S.
20362         Move view-emacs-FAQ from F to C-f.
20363         Move view-emacs-problems from P to C-e.
20364         Bindings moved here from mule-cmds.el.
20365         C-l binding for describe-language-environment deleted
20366         (help-for-help): Update for all these changes.
20368         * emacs-lisp/copyright.el (copyright-regexp): Make (C) optional.
20370 2002-01-13  Dave Love  <fx@gnu.org>
20372         * emacs-lisp/copyright.el: Doc fixes.
20373         (copyright-regexp): Add Latin-9 copyright sign.
20374         Match comment delimiters in year lists.
20375         (copyright-current-year): Initialize to load-time year.
20377 2002-01-13  Andreas Schwab  <schwab@suse.de>
20379         * dired-aux.el (dired-do-shell-command): Doc fix.
20381 2002-01-13  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
20383         * startup.el (command-line-x-option-alist): New options "-fs",
20384         "-fw", "-fh", "--fullscreen", "--fullwidth", and "--fullheight".
20386         * term/x-win.el (x-handle-initial-switch): New function.
20388 2002-01-13  Colin Walters  <walters@debian.org>
20390         * emacs-lisp/autoload.el (make-autoload): Handle define-ibuffer-column,
20391         define-ibuffer-filter, define-ibuffer-sorter, and define-ibuffer-op.
20393         * emacs-lisp/lisp-mode.el (toplevel): Ditto.
20395         * ibuffer.el, ibuf-ext.el, ibuf-macs.el: New files.
20397 2002-01-12  Richard M. Stallman  <rms@gnu.org>
20399         * net/browse-url.el (browse-url-grail):
20400         Use browse-url-maybe-new-window.
20402         * net/telnet.el (telnet-simple-send):
20403         Handle comint-input-sender-no-newline like comint-simple-send.
20405         * progmodes/sql.el (sql-query-placeholders-and-send):
20406         Handle comint-input-sender-no-newline like comint-simple-send.
20407         (sql-escape-newlines-and-send): Likewise.
20409         * comint.el (comint-input-sender): Doc fix.
20410         (comint-input-sender-no-newline): New variable.
20411         (comint-simple-send): If comint-input-sender-no-newline,
20412         don't output newline, but maybe send eof.
20413         (comint-send-input): New arg NO-NEWLINE.
20414         (comint-send-eof): Call comint-send-eof with NO-NEWLINE.
20416 2002-01-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20418         * textmodes/flyspell.el (flyspell-check-pre-word-p):
20419         Prevent delaying when executing keyboard macros.
20421 2002-01-12  Richard M. Stallman  <rms@gnu.org>
20423         * simple.el (line-move): If we can't move enough lines,
20424         go to beginning or end of line.
20426         * help-mode.el (help-xref-go-back): Restore POSITION in proper buffer
20427         and proper window.
20429         * help.el (describe-mode): Call help-setup-xref in the help buffer.
20430         Switch buffers only after calling `help-buffer'.
20432         * dired-aux.el (dired-shell-stuff-it): Substitute for * or ?
20433         only when they are surrounded by whitespace.
20434         Use dired-mark-separator when adding one file name to a command.
20435         (dired-do-shell-command): Verify that * is surrounded by whitespace.
20436         Ask for confirmation if * or ? is not surrounded by whitespace.
20437         (dired-bunch-files): Re-reverse the partial file list when it is used.
20439 2002-01-12  Richard M. Stallman  <rms@gnu.org>
20441         * comint.el (comint-dynamic-list-completions): Repeating the command
20442         after displaying a completion list scrolls the list.
20444 2002-01-12  Eli Zaretskii  <eliz@is.elta.co.il>
20446         * files.el (find-file-noselect): Don't consider a buffer as
20447         visiting a file literally if it is in hexl-mode.
20449         * faces.el (minibuffer-prompt): A better face definition for MS-DOS.
20451 2002-01-11  Richard M. Stallman  <rms@gnu.org>
20453         * startup.el (initial-scratch-message): Fix custom type, add group.
20455         * mail/rmail.el (rmail-decode-babyl-format): Disable undo
20456         around the decode-coding-region call.
20458         * emacs-lisp/lisp.el (lisp-complete-symbol): Repeating the command
20459         after displaying a completion list scrolls the list.
20461 2002-01-11  Eli Zaretskii  <eliz@is.elta.co.il>
20463         * version.el (emacs-version): Bump to 21.2.50.
20465 2002-01-10  Thien-Thi Nguyen  <ttn@giblet.glug.org>
20467         * play/zone.el (zone-timeout): New var.
20468         (zone-hiding-modeline): New macro.
20469         (zone-call): New func.
20471         (zone): Init `modeline-hidden-level' symbol property.
20472         Use `zone-call' instead of `funcall'.
20474         (zone-pgm-whack-chars): Use `make-string' (fix bug introduced in 2001-10-26T20:11:25Z!monnier@iro.umontreal.ca).
20476         (zone-pgm-stress): Use `zone-hiding-modeline'.
20478         (zone-pgm-stress-destress): New zone program.
20480 2002-01-10  Eli Zaretskii  <eliz@is.elta.co.il>
20482         * faces.el (minibuffer-prompt): Special face definition for MS-DOS.
20484 2002-01-09  Richard M. Stallman  <rms@gnu.org>
20486         * startup.el (fancy-splash-screens): Set tab-width in correct buffer.
20488 2002-01-09  Michael Kifer  <kifer@cs.stonybrook.edu>
20490         * viper.el (viper-set-hooks): Zap viper-unfriendly bindings in
20491         flyspell-mouse-map.
20493 2002-01-08  Richard M. Stallman  <rms@gnu.org>
20495         * emacs-lisp/regexp-opt.el (regexp-opt): Bind max-specpdl-size.
20497         * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Fix custom type.
20499         * textmodes/flyspell.el (flyspell-mode-line-string): Fix custom type.
20501 2002-01-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20503         * progmodes/ada-mode.el (ada-initialize-properties, ada-mode):
20504         Do not use make-local-hook.
20506 2002-01-08  Eli Zaretskii  <eliz@is.elta.co.il>
20508         * international/quail.el (quail-start-translation)
20509         (quail-start-conversion): Bind last-command-event, last-command,
20510         and this-command in the first let.  This fixes the change from
20511         2000-08-30.
20513 2002-01-08  Michael Kifer  <kifer@cs.stonybrook.edu>
20515         * ediff-hook.el: Add an autoload cookie.
20517 2002-01-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20519         * net/eudcb-ph.el, net/ldap.el: New maintainer.  New e-mail
20520         address of the author.
20522 2002-01-08  Richard M. Stallman  <rms@gnu.org>
20524         * replace.el (occur-mode-goto-occurrence-other-window): New command.
20525         (occur-mode-map): Bind `o' to that.
20527 2002-01-07  Michael Kifer  <kifer@cs.stonybrook.edu>
20529         * viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
20530         new macro that replaces viper-emacs-p and viper-xemacs-p in many
20531         cases. Used to reduce the number of warnings.
20533         * viper-cmd.el: Use viper-cond-compile-for-xemacs-or-emacs.
20534         (viper-standard-value): Move here from viper.el.
20535         (viper-set-unread-command-events): Move to viper-util.el
20536         (viper-check-minibuffer-overlay): Make sure
20537         viper-minibuffer-overlay is moved to cover the entire input field.
20539         * viper-util.el: Use viper-cond-compile-for-xemacs-or-emacs.
20540         (viper-read-key-sequence, viper-set-unread-command-events)
20541         (viper-char-symbol-sequence-p, viper-char-array-p): Moved here.
20543         * viper-ex.el: Use viper-cond-compile-for-xemacs-or-emacs.
20545         * viper-keym.el: Use viper-cond-compile-for-xemacs-or-emacs.
20547         * viper-mous.el: Use viper-cond-compile-for-xemacs-or-emacs.
20549         * viper-macs.el (viper-char-array-p, viper-char-symbol-sequence-p)
20550         (viper-event-vector-p): Move to viper-util.el
20552         * viper.el (viper-standard-value): Move to viper-cmd.el.
20553         Use viper-cond-compile-for-xemacs-or-emacs.
20555         * ediff-help.el: Use ediff-cond-compile-for-xemacs-or-emacs.
20557         * ediff-hook.el: Use ediff-cond-compile-for-xemacs-or-emacs.
20559         * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs):
20560         New macro designed to be used in many places where ediff-emacs-p or
20561         ediff-xemacs-p was previously used.  Reduces the number of warnings.
20562         Use ediff-cond-compile-for-xemacs-or-emacs in many places in lieu
20563         of ediff-xemacs-p.
20564         (ediff-make-current-diff-overlay, ediff-highlight-diff-in-one-buffer)
20565         (ediff-convert-fine-diffs-to-overlays, ediff-empty-diff-region-p)
20566         (ediff-whitespace-diff-region-p, ediff-get-region-contents):
20567         Move to ediff-util.el.
20568         (ediff-event-key): Moved here.
20570         * ediff-merge.el: Got rid of unreferenced variables.
20572         * ediff-mult.el: Use ediff-cond-compile-for-xemacs-or-emacs.
20574         * ediff-util.el: Use ediff-cond-compile-for-xemacs-or-emacs.
20575         (ediff-cleanup-mess): Improve the way windows are set up after
20576         quitting ediff.
20577         (ediff-janitor): Use ediff-dispose-of-variant-according-to-user.
20578         (ediff-dispose-of-variant-according-to-user): New function
20579         designed to be smarter and also understands indirect buffers.
20580         (ediff-highlight-diff-in-one-buffer)
20581         (ediff-unhighlight-diff-in-one-buffer)
20582         (ediff-unhighlight-diffs-totally-in-one-buffer)
20583         (ediff-highlight-diff, ediff-highlight-diff)
20584         (ediff-unhighlight-diff, ediff-unhighlight-diffs-totally)
20585         (ediff-empty-diff-region-p, ediff-whitespace-diff-region-p)
20586         (ediff-get-region-contents, ediff-make-current-diff-overlay):
20587         Moved here.
20588         (ediff-format-bindings-of): New function by Hannu Koivisto
20589         <azure@iki.fi>.
20590         (ediff-setup): Make sure the merge buffer is always widened and
20591         modifiable.
20592         (ediff-write-merge-buffer-and-maybe-kill): Refuse to write the
20593         result of a merge into a file visited by another buffer.
20594         (ediff-arrange-autosave-in-merge-jobs): Check if the merge file
20595         is visited by another buffer and ask to save/delete that buffer.
20596         (ediff-verify-file-merge-buffer): New function to do the above.
20598         * ediff-vers.el: Load ediff-init.el at compile time.
20600         * ediff-wind.el: Use ediff-cond-compile-for-xemacs-or-emacs.
20602         * ediff.el (ediff-windows, ediff-regions-wordwise)
20603         (ediff-regions-linewise): Use indirect buffers to improve
20604         robustness and make it possible to compare regions of the same
20605         buffer (even overlapping regions).
20606         (ediff-clone-buffer-for-region-comparison)
20607         (ediff-clone-buffer-for-window-comparison): New functions.
20608         (ediff-files-internal): Refuse to compare identical files.
20609         (ediff-regions-internal): Get rid of the warning about comparing
20610         regions of the same buffer.
20612         * ediff-diff.el (ediff-convert-fine-diffs-to-overlays): Moved here.
20613         Plus the following fixes courtesy of Dave Love: Doc fixes.
20614         (ediff-word-1): Use word class and move - to the
20615         front per regexp documentation.
20616         (ediff-wordify): Bind forward-word-function outside loop.
20617         (ediff-copy-to-buffer): Use insert-buffer-substring rather than
20618         consing buffer contents.
20619         (ediff-goto-word): Move syntax table setting outside loop.
20621 2002-01-07  Richard M. Stallman  <rms@gnu.org>
20623         * dired.el (dired-copy-filename-as-kill): Call kill-append
20624         if following a kill command.
20626         * help-fns.el (describe-variable, describe-function):
20627         Do save-excursion.
20629 2002-01-06  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20631         * net/ldap.el (ldap-search-internal): Skip error message from
20632         ldapsearch.  Allow listing attribute names only.  Do not open
20633         non-existent files.
20635         * net/eudcb-ldap.el (eudc-ldap-get-field-list): Do not try to
20636         call non-existent function.
20638         * net/eudc.el (top-level): Revert previous change.
20640         * net/net-utils.el (nslookup-font-lock-keywords): Defvar font-lock
20641         variables to prevent warning from byte-compiler.
20643         * net/eudc.el (top-level): Use eudc-xemacs-p instead of
20644         string-match on emacs-version again.
20646         * enriched.el (enriched-make-annotation): Fix the change from
20647         2002-01-05.
20648         (enriched-handle-display-prop): Return proper values.
20650         * net/eudcb-ldap.el (eudc-attribute-display-method-alist):
20651         Use proper attribute name labeledUri instead of deprecated labeledUrl.
20653 2002-01-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20655         * net/eudc-hotlist.el (eudc-edit-hotlist): Avoid error when
20656         editing an empty hotlist.
20658         * net/ldap.el (ldap-search-internal): Make the buffer unibyte.
20659         Use buffer-string instead of buffer-substring for the whole buffer.
20661         * net/eudc-vars.el (eudc-external-viewers): Do not use xv, it is
20662         not free.
20664         * net/eudc-bob.el (eudc-bob-can-display-inline-images)
20665         (eudc-bob-display-jpeg): Use fboundp instead of boundp.
20666         (eudc-bob-save-object): Make the buffer unibyte.
20667         (eudc-bob-generic-keymap): Add new keybinding `!' to pipe the
20668         object to external program.
20670 2002-01-05  Andre Spiegel  <spiegel@gnu.org>
20672         * vc.el (vc-branch-part): Return nil if there's no `.'
20673         (vc-default-previous-version): Renamed from vc-previous-version.
20674         New args BACKEND and FILE.  Return nil for revision numbers
20675         without a `.'
20676         (vc-version-diff): Call vc-BACKEND-previous-version.
20677         (vc-steal-lock): Steal lock before composing mail, so that no mail
20678         is sent when the stealing goes wrong.  And we'll actually see the
20679         error in that case now.
20680         (vc-finish-steal): Removed.
20682         * vc-rcs.el (vc-rcs-steal-lock): Do a real checkout after stealing
20683         the lock, so that we see expanded headers.
20684         (vc-rcs-trunk-p, vc-rcs-branch-part, vc-rcs-branch-p)
20685         (vc-rcs-minor-part, vc-rcs-previous-version): Removed.  These are
20686         available from vc.el.  Updated all callers.
20688 2002-01-05  Richard M. Stallman  <rms@gnu.org>
20690         * enriched.el (enriched-make-annotation): Doc fix.
20692         * format.el (format-replace-strings, format-subtract-regions)
20693         (format-annotate-region, format-annotate-location)
20694         (format-annotate-atomic-property-change)
20695         (format-annotate-single-property-change): Doc fixes.
20697 2002-01-05  Jason Rumney  <jasonr@gnu.org>
20699         * term/w32-win.el: Require fontset unconditionally.
20700         (w32-handle-scroll-bar-event): Remove.
20702 2002-01-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20704         * emacs-lisp/copyright.el (copyright-regexp): Allow multi-line
20705         copyrights to be updated.
20707 2002-01-04  Eli Zaretskii  <eliz@is.elta.co.il>
20709         * textmodes/texinfo.el (texinfo-insert-@end): Fix the change from
20710         2001-10-24.
20712         * mail/sendmail.el (mail-recover-1, mail-recover): Doc fix.
20714 2002-01-04  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20716         * net/ldap.el (ldap-host-parameters-alist): Remove duplicated entry.
20717         (ldap-ignore-attribute-codings): Change the default value to allow
20718         encoding/decoding of attributes.
20719         (ldap-coding-system): Use UTF-8 as the coding-system.  Doc fix.
20721 2002-01-03  Richard M. Stallman  <rms@gnu.org>
20723         * files.el (basic-save-buffer): Undo previous change.
20725         * calendar/diary-lib.el (diary-block): Doc fix.
20727         * custom.el (defcustom): Fix syntax of previous change.
20729 2002-01-03  Per Abrahamsen  <abraham@dina.kvl.dk>
20731         * custom.el (defcustom): Documented :tag, :link and :load.
20733 2002-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
20735         * mail/sendmail.el (mail-recover-1): New function.
20736         (mail-recover): Switch to the *mail* buffer right away.
20737         Use buffer-auto-save-file-name instead of calling
20738         make-auto-save-file-name.  Call dired-noselect instead of invoking
20739         `ls' directly.  Bind coding-system-for-read to emacs-mule-unix
20740         before reading the auto-save file.  If the buffer's auto-save file
20741         does not exist, call mail-recover-1 to allow recovery from past
20742         auto-saved drafts.
20744 2002-01-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20746         * time.el (display-time-load-average-threshold): Fix defcustom
20747         (add type and group).
20749         * net/ange-ftp.el (ange-ftp-shell-command): Remove port
20750         specification from the hostname.
20752 2002-01-02  Richard M. Stallman  <rms@gnu.org>
20754         * facemenu.el (facemenu-active-faces):
20755         Use face-attributes-as-vector, not face-attributes-vector.
20757 2002-01-02  Chris Hanson  <cph@aarau.ai.mit.edu>
20759         * xscheme.el: Eleven years of updates on a private copy.
20761         Extensive changes to support multiple xscheme buffers:
20762         (run-scheme): Break up into new functions to facilitate starting
20763         processes in other buffers.
20764         (xscheme-start, xscheme-read-command-line): New functions.
20765         (start-scheme, select-scheme)
20766         (default-xscheme-runlight)
20767         (global-set-scheme-interaction-buffer)
20768         (local-set-scheme-interaction-buffer)
20769         (local-clear-scheme-interaction-buffer)
20770         (exit-scheme-interaction-mode)
20771         (verify-xscheme-buffer): New functions.
20772         (xscheme-process-name, xscheme-buffer-name)
20773         (xscheme-runlight): New internal vars.
20774         (default-xscheme-runlight): New const.
20775         (xscheme-start-process): Add args for the process/buffer names.
20776         (reset-scheme): Pass process/buffer names.
20777         (scheme-interaction-mode): Initialize new local vars.
20778         (reset-scheme, xscheme-send-string-2, xscheme-process-running-p)
20779         (xscheme-select-process-buffer, xscheme-process-buffer)
20780         (xscheme-send-region, xscheme-send-char, xscheme-send-interrupt)
20781         (xscheme-goto-output-point, xscheme-write-message-1): Use new
20782         var xscheme-process-name.
20783         (xscheme-start-process): Initialize xscheme-process-name and
20784         xscheme-buffer-name in the process buffer.  Pass buffer name to
20785         xscheme-modeline-initialize.
20786         (xscheme-modeline-initialize): Add argument to specify buffer name
20787         for mode-line vars.
20788         (xscheme-process-sentinel): Make sure sentinel is run in the
20789         process buffer so it sees its local vars.
20790         (xscheme-process-filter-initialize, xscheme-set-runlight):
20791         More elaborate logic to handle multiple-buffer mode lines.
20793         (xscheme-enter-input-wait): Re-enable control-G handler upon
20794         entering input wait.
20796         (scheme-interaction-mode): Add arg to preserve local vars.
20797         (xscheme-enter-interaction-mode)
20798         (xscheme-enter-debugger-mode): Preserve local vars.
20799         (xscheme-start-process): Clobber local vars.
20801         (scheme-interaction-mode-commands): Allow end user to add commands
20802         to scheme-interaction-mode keymap.
20803         (scheme-interaction-mode-commands-alist): New variable.
20805         (xscheme-send-string): Don't use insert-before-markers.
20807         Implement a per-buffer kill ring:
20808         (xscheme-insert-expression)
20809         (xscheme-rotate-yank-pointer, xscheme-yank)
20810         (xscheme-yank-pop, xscheme-yank-push): New functions.
20811         (xscheme-expressions-ring)
20812         (xscheme-expressions-ring-yank-pointer)
20813         (xscheme-expressions-ring-max): New variables.
20814         (xscheme-send-string-1): Call xscheme-insert-expression to save
20815         expression in ring.
20816         (xscheme-yank-previous-send): Now an alias for xscheme-yank.
20817         (xscheme-previous-send): Deleted variable.
20819         (xscheme-send-string-2, xscheme-send-char, xscheme-send-proceed)
20820         (xscheme-send-control-g-interrupt): Use process-send-string rather
20821         than send-string.
20823         (xscheme-send-region): Insert a newline after an expression that
20824         is submitted in the interaction buffer, for consistency with
20825         recent changes to Edwin.
20827         (xscheme-delete-output): New function mimics comint-delete-output.
20828         (xscheme-last-input-end): New internal variable.
20829         (xscheme-process-filter-output): Update xscheme-last-input-end.
20831         (xscheme-send-control-g-interrupt): Make sure that
20832         xscheme-control-g-disabled-p is looked up in the right buffer.
20834         (xscheme-enable-control-g): Clear C-g message if visible.
20835         (xscheme-control-g-message-string): New internal var.
20836         (xscheme-send-control-g-interrupt): Use new var.
20838         (xscheme-send-control-g-interrupt, xscheme-send-interrupt):
20839         Delay after sending interrupt in order to work around race condition.
20841         (xscheme-send-control-g-interrupt, xscheme-send-interrupt)
20842         (xscheme-send-char): Use xscheme-send-char rather than send-string
20843         to send single char.
20845         (xscheme-process-filter, xscheme-process-filter-alist):
20846         Add support for evaluating expressions outside of the call-excursion.
20847         (xscheme-process-filter:string-action-noexcursion): New func.
20849         (xscheme-write-value): Change output string to match that used by
20850         Edwin.
20852         (xscheme-coerce-prompt): Don't write a space after a command
20853         prompt.  The PROMPT-FOR-COMMAND- procedures will take care of this
20854         for us.
20856         (reset-scheme): Delete process after killing it.
20858 2002-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
20860         * bindings.el (function-key-map): Don't bind shifted keypad
20861         numeric keys.
20863 2002-01-02  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20865         * enriched.el (enriched-handle-display-prop): Remove unused variables.
20866         (enriched-mode): Doc fix.
20868 2002-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
20870         * international/ucs-tables.el (ucs-8859-8-alist): Comment away
20871         Hebrew points.
20873 2002-01-01  Richard M. Stallman  <rms@gnu.org>
20875         * jka-compr.el (jka-compr-write-region): If START = nil, use whole buf.
20877 2001-12-31  Richard M. Stallman  <rms@gnu.org>
20879         * comint.el, cus-edit.el, diff-mode.el, enriched.el, font-lock.el:
20880         * generic-x.el, info.el, log-view.el, pcvs-info.el, speedbar.el:
20881         * wid-edit.el, woman.el, calendar/calendar.el, textmodes/flyspell.el:
20882         * emulation/viper-init.el, eshell/em-ls.el, progmodes/antlr-mode.el:
20883         * progmodes/cperl-mode.el, progmodes/idlwave.el:
20884         * progmodes/sh-script.el, progmodes/vhdl-mode.el:
20885         Adapt face definitions to use :weight and :slant.
20887         * ps-print.el (ps-font-lock-face-attributes): Use :weight and :slant.
20889         * cus-edit.el (custom-face-edit-fix-value): Delete `assert' call.
20891         * font-lock.el (initializing from font-lock-face-attributes):
20892         Use :weight and :slant, not :bold and :italic.
20894 2001-12-31  Per Abrahamsen  <abraham@dina.kvl.dk>
20896         * cus-edit.el (custom-face-edit-fix-value): New function.
20897         (custom-face-edit): Use it, to convert :italic and :bold to new forms.
20899 2001-12-30  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20901         * progmodes/octave-mod.el (octave-abbrev-table):
20902         * progmodes/idlwave.el (idlwave-mode-abbrev-table):
20903         * progmodes/fortran.el (fortran-mode-abbrev-table):
20904         * progmodes/f90.el (f90-mode-abbrev-table):
20905         * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init):
20906         * progmodes/sql.el (sql-mode-abbrev-table): Mark all the
20907         predefined abbrevs as "system" abbrevs.
20909 2001-12-30  Richard M. Stallman  <rms@gnu.org>
20911         * info.el (Info-fontify-node): For a **** underline line, put the
20912         invisible and intangible props on the following newline, but not
20913         on the previous newline or the last char of the previous line.
20915         * faces.el (face-set-after-frame-default): Don't change `default' face.
20917         * faces.el (minibuffer-prompt): Adopt some default colors.
20919         * replace.el (query-replace-read-args): Immediate error if read-only.
20921         * textmodes/makeinfo.el (makeinfo-compilation-sentinel):
20922         Display the output buffer in a more intelligent way.
20924 2001-12-30  Eli Zaretskii  <eliz@is.elta.co.il>
20926         * ls-lisp.el (insert-directory): Modify the "total" line wording,
20927         in accordance with files.el's insert-directory.
20929 2001-12-29  Richard M. Stallman  <rms@gnu.org>
20931         * files.el (basic-save-buffer): If a before-write hook displays
20932         an echo area message, pause before calling basic-save-buffer-1.
20934 2001-12-29  Markus Rost  <rost@math.ohio-state.edu>
20936         * textmodes/reftex-global.el (reftex-query-replace-document)
20937         (reftex-change-label): Doc fix.
20939         * dired-aux.el (dired-do-query-replace-regexp): Doc fix.
20941         * progmodes/etags.el (tags-query-replace): Doc fix.
20943 2001-12-29  Richard M. Stallman  <rms@gnu.org>
20945         * progmodes/compile.el (compile-internal): Fix previous change.
20947 2001-12-28  Richard M. Stallman  <rms@gnu.org>
20949         * mouse.el (mouse-drag-mode-line-1): When dragging a mode line upward,
20950         shrink the windows above as necessary to get space.
20951         (mouse-drag-move-window-bottom, mouse-drag-window-above): New fns.
20953         * net/ange-ftp.el (ange-ftp-allow-child-lookup): Always return nil.
20954         This fixes a bug that treated all files as directories.
20955         (ange-ftp-insert-directory): Explicitly follow symlinks.
20957         * international/iso-transl.el (iso-transl-char-map) Eliminate the
20958         alias symbols--put the translated sequences here directly.
20960         * progmodes/cc-mode.el (c-mode-abbrev-table)
20961         (c++-mode-abbrev-table, objc-mode-abbrev-table)
20962         (java-mode-abbrev-table, pike-mode-abbrev-table):
20963         Mark all the predefined abbrevs as "system" abbrevs.
20965         * mail/sendmail.el (mail-envelope-from): Fix custom type.
20966         (sendmail-send-it): Check mail-specify-envelope-from
20967         and mail-envelope-from in the mail buffer at start.
20969 2001-12-28  Simon Josefsson  <jas@extundo.com>
20971         * mail/sendmail.el (mail-envelope-from): Fix :type.
20972         (sendmail-send-it): Copy `mail-envelope-from' from calling buffer.
20974 2001-12-28  Richard M. Stallman  <rms@gnu.org>
20976         * net/ldap.el (ldap-search-internal): Handle <file://...> in results.
20978         * simple.el (line-move-invisible): New subroutine.
20979         (line-move-to-column): New subroutine--smarter about advancing over
20980         invisible parts of a line, or lines, but only as long as hpos grows.
20981         (line-move-finish): New subroutine: repeatedly processes desired
20982         column, intangibility, and fields.
20983         (line-move): Use those subroutines.
20984         When moving lines downward, skip invisible text first rather than last.
20986 2001-12-27  Richard M. Stallman  <rms@gnu.org>
20988         * international/mule-diag.el (describe-char-after):
20989         Describe the text properties of the char after point.
20991         * help.el (describe-key): Doc fix.
20993 2001-12-26  Markus Rost  <rost@math.ohio-state.edu>
20995         * find-dired.el (find-dired-sentinel): Precede exit message by
20996         two spaces, to match the regexp in dired-between-files.
20998 2001-12-28  Miles Bader  <miles@gnu.org>
21000         * wid-edit.el (widget-toggle-value-create): Don't eval actual
21001         images (which are lists too).
21003 2001-12-27  Eli Zaretskii  <eliz@is.elta.co.il>
21005         * language/european.el: Fix the doc string of "Latin-5" language
21006         environment.
21008 2001-12-26  Richard M. Stallman  <rms@gnu.org>
21010         * textmodes/flyspell.el (flyspell-mode-map): New keymap,
21011         defined as before 2001-11-09.
21012         (add-minor-mode call): Specify the keymap.
21014         * progmodes/compile.el (compile-internal):
21015         Set TERM variable in process-environment.
21017 2001-12-25  Richard M. Stallman  <rms@gnu.org>
21019         * help-mode.el (help-xref-on-pp): Catch and ignore errors in scanning
21020         the buffer.
21022         * startup.el (command-line): Convert command line args
21023         to Emacs internal representation using locale-coding-system.
21025 2001-12-25  Eli Zaretskii  <eliz@is.elta.co.il>
21027         * international/fontset.el: Don't require ind-util when compiling.
21029 2001-12-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21031         * emulation/tpu-edt.el (tpu-reset-screen-size):
21032         Use set-frame-height and set-frame-width instead of set-screen-height
21033         and set-screen-width.
21035         * vt-control.el (vt-wide, vt-narrow): Use set-frame-width instead
21036         of obsolete set-screen-width.
21038         * locate.el (locate): Remove dot at the end of error argument.
21040         * emerge.el (emerge-show-file-name): Use frame-height instead of
21041         obsolete screen-height.
21043         * mail/mh-utils.el (mh-show-msg): Likewise.
21044         (mh-handle-process-error): Use frame-width instead of obsolete
21045         screen-width.
21047 2001-12-25  Richard M. Stallman  <rms@gnu.org>
21049         * window.el (balance-windows): Use new PRESERVE-BEFORE arg
21050         to enlarge-window.  Use save-selected-window.  Don't try
21051         to resize windows that end at the bottom "level".
21052         Retry changing the sizes until the windows get the desired sizes.
21053         Discount the minibuffer when computing total height available.
21055         * emacs-lisp/debug.el (debugger-mode-map): Bind C-m, not `RET'.
21056         (debugger-make-xrefs): Only make a button for the first symbol
21057         on any line.
21059 2001-12-24  Eli Zaretskii  <eliz@is.elta.co.il>
21061         * term/internal.el (dos-cpNNN-setup, dos-codepage-setup):
21062         Call IT-setup-unicode-display here instead of adding it to
21063         dos-codepage-setup-hook, so that Unicode display tables are set
21064         before dos-codepage-setup-hook runs.
21066 2001-12-24  Richard M. Stallman  <rms@gnu.org>
21068         * net/net-utils.el (ftp-mode-abbrev-table): Don't define it.
21069         (nslookup-mode-abbrev-table): Don't define it.
21070         (smbclient-mode-abbrev-table): Don't define it.
21071         (ftp-mode): Don't use ftp-mode-abbrev-table; don't enable Abbrev mode.
21072         (nslookup-mode, smbclient-mode): Likewise.
21073         (network-connection-service-abbrev-alist): Variable deleted.
21074         (network-connection-mode-setup): Don't set up abbrev table.
21076         * faces.el (minibuffer-prompt): New face.
21077         (minibuffer-prompt-properties): Add `face' property.
21079         * replace.el (occur-mode-display-occurrence): New function.
21080         (occur-mode-map): Bind C-o to it.
21082 2001-12-24  Michael Kifer  <kifer@cs.sunysb.edu>
21084         * viper-cmd.el (viper-change-state): Got rid of make-local-hook.
21085         (viper-special-read-and-insert-char): Make C-m work right in the r
21086         comand.
21087         (viper-buffer-search-enable): Fixed format string.
21089         * viper-ex.el (ex-token-alist): Use ex-set-visited-file-name
21090         instead of viper-info-on-file.
21091         (ex-set-visited-file-name): New function.
21093         * viper.el (viper-emacs-state-mode-list): Added mail-mode.
21095         * ediff-mult.el (ediff-meta-mark-equal-files): Added optional
21096         action argument.
21098         * ediff-init.el: Fixed some doc strings.
21100         * ediff-util.el (ediff-after-quit-hook-internal): New variable.
21101         Got rid of make-local-hook.
21103         * ediff-wind.el (ediff-setup-control-frame): Got rid of
21104         make-local-hook.
21106 2001-12-23  Richard M. Stallman  <rms@gnu.org>
21108         * term/x-win.el (x-handle-geometry): Put height and width
21109         on default-frame-alist, left and top on initial-frame-alist.
21110         * term/w32-win.el (x-handle-geometry): Likewise.
21112         * sort.el (sort-reorder-buffer): Copy all to a temp buffer first.
21114         * play/yow.el (yow): Use an arg to distinguish interactive calls,
21115         not interactive-p.
21117 2001-12-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21119         * emacs-lisp/elint.el (elint-unknown-builtin-args):
21120         Remove mocklisp entries.
21122         * subr.el (insert-string): Moved from mocklisp.c, reimplemented in
21123         Lisp.  Obsoleted.
21125         * emulation/mlconvert.el: File removed.
21127         * emulation/mlsupport.el: Moved to obsolete.
21129         * obsolete/mlsupport.el: Moved there from lisp/emulation.
21131         * emacs-lisp/find-gc.el (source-files): Remove mocklisp.c.
21133         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
21134         Remove mocklisp case.
21136         * help-fns.el (describe-function-1): Remove mocklisp function case.
21138 2001-12-22  Miles Bader  <miles@gnu.org>
21140         * textmodes/refill.el (refill-mode): Don't barf when redundantly
21141         turning refill-mode off.
21143 2001-12-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21145         * time.el (display-time-load-average-threshold): New variable.
21146         (display-time-update): Use it.
21148         These changes allow cycling through past 1, 5 and 15 minutes
21149         load-average displayed in the mode-line.
21151         * time.el (display-time-default-load-average): New customizable option.
21152         (display-time-load-average): New variable.
21153         (display-time-cycle-load-average): New function.
21154         (display-time-update): Use them.
21156 2001-12-21  Richard M. Stallman  <rms@gnu.org>
21158         * apropos.el (apropos-print): SPACING is now nil or a separator string.
21159         (apropos-documentation, apropos-value): Pass a suitable string.
21161 2001-12-21  Eli Zaretskii  <eliz@is.elta.co.il>
21163         * dired.el (dired-free-space-program, dired-free-space-args):
21164         Aliases for back-compatibility.
21166         * info.el (Info-select-node): If Info-use-header-line is nil, set
21167         header-line-format to nil.
21168         (Info-fontify-node): Don't put a keymap text property on the
21169         heading if we are not going to display the header line.  Remove
21170         any such text properties left over from past visits to this node.
21172         * ls-lisp.el (insert-directory): Insert the amount of free disk
21173         space, like files.el's insert-directory does.
21175         * files.el (directory-free-space-program):
21176         Mention file-system-info in the doc string.
21177         (get-free-disk-space): New function; code moved from insert-directory.
21178         (insert-directory): Call get-free-disk-space to get the amount of
21179         free space.
21181 2001-12-21  Richard M. Stallman  <rms@gnu.org>
21183         * help.el (view-order-manuals, view-emacs-news, describe-copying)
21184         (describe-distribution, describe-project): Use view-file.
21186         * emacs-lisp/cl-indent.el (define-modify-macro): Better indent spec.
21188         * net/ange-ftp.el (ange-ftp-file-modtime): Use save-match-data.
21190         * emacs-lisp/easy-mmode.el (define-minor-mode):
21191         Make no arg by default in an interactive call,
21192         so that repeating the command toggles again.
21194         * emacs-lisp/lisp-mode.el (eval-defun-1): Cope with atoms as args.
21196 2001-12-21  Christoph Wedler  <Christoph.Wedler@sap.com>
21198         * antlr-mode.el: More sophisticated indentation of cpp directive.
21199         (antlr-indent-at-bol-alist): New user option.
21200         (antlr-indent-line): Use it.
21201         (antlr-indent-style): New user option.
21202         (antlr-mode): Use it.
21203         (antlr-indent-item-regexp): Customize.
21205         * antlr-mode.el: Syntax highlighting changes.
21206         (antlr-font-lock-literal-regexp): New user option.
21207         (antlr-font-lock-syntax-face): New face used for :, |, ....
21208         (antlr-font-lock-default-face): New face.
21209         (antlr-font-lock-additional-keywords): Use them.
21211         * antlr-mode.el: New command to insert options -- variables.
21212         (antlr-mode-map): New binding [C-c C-o].
21213         (antlr-mode-menu): New submenus.
21214         (antlr-options-use-submenus): New user option.
21215         (antlr-tool-version): New user option.
21216         (antlr-options-auto-colon): New user option.
21217         (antlr-options-style): New user option.
21218         (antlr-options-push-mark): New user option.
21219         (antlr-options-assign-string): New user option.
21220         (antlr-options-headings): New variable.
21222         * antlr-mode.el: New command to insert options -- specific.
21223         (antlr-options-alists): New variable.
21224         (antlr-read-value): New function.
21225         (antlr-read-boolean): New function.
21226         (antlr-language-option-extra): New function.
21227         (antlr-language-limit-n-regexp): Change default to higher LIMIT.
21228         (antlr-c++-mode-extra): New function.
21229         (antlr-grammar-tokens): New function.
21230         (antlr-imenu-create-index-function): New optional argument.
21232         * antlr-mode.el: New command to insert options -- functions.
21233         (antlr-insert-option): New command.
21234         (antlr-insert-option-interactive): New function.
21235         (antlr-options-menu-filter): New function.
21236         (antlr-option-kind): New function.
21237         (antlr-scan-lists): New alias.
21238         (antlr-scan-lists-internal): New function.
21239         (antlr-skip-file-prelude): Hack for special SKIP-COMMENT.
21240         (antlr-option-level): New function.
21241         (antlr-syntactic-grammar-depth): New function.
21242         (antlr-option-location): New function.
21243         (antlr-insert-option-do): New function.
21244         (antlr-option-spec): New function.
21245         (antlr-version-string): New function.
21246         (antlr-insert-option-existing): New function.
21247         (antlr-insert-option-space): New function.
21248         (antlr-insert-option-area): New function.
21250         * antlr-mode.el: New electric keys ":;|&(){}", TAB works better
21251         with narrowing.  Menu change.  Miscellaneous.
21252         (antlr-mode-menu): Include "Indent Region" and "Customize Antlr".
21253         (antlr-mode-map): New bindings for characters in ":;|&(){}".
21254         (antlr-electric-character): New command.
21255         (antlr-class-header-regexp): New variable.
21256         (antlr-font-lock-additional-keywords): Use it.
21257         (antlr-imenu-create-index-function): Use it.
21258         (antlr-file-dependencies): Use it.
21259         (antlr-indent-line): Also works with restrictions.
21260         (antlr-indent-command): Interactive spec - changes the buffer.
21261         (antlr-language-for-option): Deletia.
21262         (antlr-language-option): New function, defined instead.
21263         (antlr-mode): Use it.
21265 2001-12-21  Eli Zaretskii  <eliz@is.elta.co.il>
21267         * jka-compr.el (jka-compr-partial-uncompress): Use null-device
21268         instead of a literal /dev/null.
21270         * Makefile.in (distclean): Remove Makefile in the build
21271         directory, not in the source directory.
21273 2001-12-21  Simon Josefsson  <jas@extundo.com>.
21275         * mail/smtpmail.el (smtpmail-send-queued-mail):
21276         Use with-temp-buffer instead of find-file-noselect, and bind
21277         coding-system-for-read to no-conversion when reading the queued
21278         messages.  (Simon's code modified slightly by Eli Zaretskii.)
21280 2001-12-20  Werner Lemberg  <wl@gnu.org>
21282         * international/mule-diag.el (describe-coding-system)
21283         (print-coding-system-briefly): Make printed output have a similar
21284         format as describe-character-set.
21286 2001-12-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21288         * play/blackbox.el (bb-member): Remove, use member instead.
21289         (bb-delete): Remove, use delete instead.
21290         Update copyright notice.  Defvar for bb-board, bb-x, bb-y,
21291         bb-score, bb-detour-count and bb-balls-placed.
21292         Propertize results of rays.
21294 2001-12-19  Karl Fogel  <kfogel@red-bean.com>
21296         * isearch.el (isearch-forward, isearch-edit-string): Make doc
21297         strings mention keybinding for `isearch-yank-word-or-char',
21298         rather than `isearch-yank-word', since the former is bound now
21299         and the latter is not.
21300         (isearch-yank-word-or-char): Fix formatting.
21302 2001-12-19  Werner Lemberg  <wl@gnu.org>
21304         * language/czech.el, language/european.el, language/slovak.el:
21305         More fixes for language info doc strings.
21307 2001-12-19  Eli Zaretskii  <eliz@is.elta.co.il>
21309         * loadup.el: Add "language" to the load-path.
21311 2001-12-19  Richard M. Stallman  <rms@gnu.org>
21313         * international/mule-cmds.el (describe-language-environment):
21314         Fix calls to help-xref-button.
21316 2001-12-19  Miles Bader  <miles@gnu.org>
21318         * international/fontset.el: Require `ind-util' when compiling.
21320 2001-12-18  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21322         * language/ethio-util.el (ethio-modify-vowel): Use char-to-string
21323         instead of decompose-composite-char.
21325 2001-12-18  Richard M. Stallman  <rms@gnu.org>
21327         * simple.el (eval-expression-print-level)
21328         (eval-expression-print-length): Doc fixes.
21330         * international/mule-diag.el (describe-character-set):
21331         Fix the arg to help-xref-button.
21333         * files.el (directory-free-space-program): New variable.
21334         (directory-free-space-args): New variable.
21335         (insert-directory): Use those two variables for getting free space.
21336         Use file-system-info instead, if that is defined.
21338         * dired.el (dired-free-space-program): Variable deleted.
21339         (dired-free-space-args): Variable deleted.
21340         (dired-insert-directory): Don't try to determine free space.
21342         * files.el (font-lock-defaults): Add risky-local-variables prop.
21343         (hack-one-local-variable): Treat various font-lock variables as risky.
21345 2001-12-18  Werner Lemberg  <wl@gnu.org>
21347         * language/chinese.el, language/cyrillic.el:
21348         * language/czech.el, language/european.el, language/greek.el:
21349         * language/hebrew.el, language/indian.el, language/japanese.el:
21350         * language/korean.el, language/lao.el, language/slovak.el:
21351         * language/thai.el, language/tibetan.el, language/vietnamese.el:
21352         Improve documentation strings of coding systems and language infos.
21354 2001-12-18  Werner LEMBERG  <wl@gnu.org>
21356         Add support for EUC-TW decoding/encoding.
21358         * language/china-util.el (big5-to-flat-code, flat-code-to-big5)
21359         (euc-to-flat-code, flat-code-to-euc, expand-euc-big5-alist):
21360         New auxiliary functions to build `big5-to-cns'.
21361         (big5-to-cns): New translation alist.
21363         * language/chinese.el: Added new coding system `euc-tw' and its
21364         alias `euc-taiwan'.
21365         Updated language `Chinese-CNS' to include euc-tw encoding also.
21366         (ccl-decode-euc-tw, ccl-encode-euc-tw): New functions for handling
21367         euc-tw.
21369 2001-12-18  Dave Love  <fx@gnu.org>
21371         * loadup.el: Add language/utf-8-lang, language/georgian.
21373         * image-file.el (image-file-name-extensions): Add pnm.  Doc fix.
21374         (image-file-name-regexps): Doc fix.
21376         * server.el (server-unload-hook): New function.
21378         * emacs-lisp/lisp-mnt.el (lm-copyright-prefix): Group the leader.
21379         (lm-crack-copyright): Cope with multi-line copyright `lines'.
21381         * simple.el (newline): Doc fix.
21382         (eval-expression-print-level, eval-expression-print-length): Doc
21383         fix.  Amend :type.
21384         (next-line, previous-line): Make arg optional.
21385         (newline): Doc fix.
21387         * Makefile.in (DONTCOMPILE): Add various language files.
21389         * international/quail.el (quail-input-string-to-events): Don't use
21390         string-to-list.
21392         * progmodes/f90.el (f90-break-line): Avoid infinite recursion
21393         calling `newline'.
21395 2001-12-17  Richard M. Stallman  <rms@gnu.org>
21397         * comint.el (comint-dynamic-list-input-ring-select): New function.
21398         Switches back to the old window configuration.
21399         (comint-dynamic-list-input-ring): Bind RET to that function.
21400         (comint-dynamic-list-input-ring-window-conf): New variable.
21402 2001-12-17  Werner Lemberg  <wl@gnu.org>
21404         * international/mule-conf.el: Improve documentation strings of
21405         character sets.
21407 2001-12-16  Richard M. Stallman  <rms@gnu.org>
21409         * dired.el (dired-copy-filename-as-kill): Moved from dired-x.el.
21410         (dired-mode-map): Bind w to dired-copy-filename-as-kill.
21412         * dired-x.el (dired-copy-filename-as-kill): Moved to dired.el.
21414         * autoinsert.el (auto-insert-alist): Redo finding C and C++ headers.
21415         Add a DESCRIPTION for the makefile item.
21417         * find-file.el (ff-other-file-name): New function.
21419 2001-12-16  Eli Zaretskii  <eliz@is.elta.co.il>
21421         * international/quail.el (quail-input-string-to-events): Fix last
21422         change.
21424 2001-12-16  Richard M. Stallman  <rms@gnu.org>
21426         * isearch.el (isearch-edit-string): When we set isearch-string
21427         to the default, also set isearch-message.
21429         * subr.el (temp-buffer-show-hook, temp-buffer-setup-hook): Add defvars.
21431         * startup.el (command-line-1): Display startup screen
21432         even if there are command line args.
21433         Add a note about how to go to editing your files.
21434         (fancy-splash-head): Add a note about how to go to your files.
21435         (fancy-splash-outer-buffer): New variable.
21436         (fancy-splash-screens): Bind variable fancy-splash-outer-buffer.
21438         * subr.el (with-temp-message): At the end, always discard
21439         the temp message, even by clearing the echo area.
21441         * progmodes/sh-script.el (sh-mode): Run sh-mode-hook.
21443 2001-12-16  Stefan Monnier  <monnier@cs.yale.edu>
21445         * log-view.el (log-view-message-re, log-view-current-tag):
21446         Recognize Subversion's log output format.
21448         * international/fontset.el: Build the list L at compile time.
21450         * language/ind-util.el (mapthread): Make a closure.
21452 2001-12-15  Richard M. Stallman  <rms@gnu.org>
21454         * isearch.el (isearch-start-hscroll): New variable.
21455         (isearch-mode): Set isearch-start-hscroll.
21456         (isearch-update): Restore original hscrolling if possible.
21458         * isearch.el (isearch-edit-string):
21459         Treat isearch-yank-word-or-char specially, like isearch-yank-word.
21461         * emacs-lisp/debug.el (debugger-previous-backtrace): New variable.
21462         (debugger-make-xrefs): Optimize by (1) using skip-syntax-forward
21463         rather than regexp search and (2) copying text properties
21464         already set up on text unchanged from the previous backtrace.
21466         * case-table.el (set-case-syntax-pair):
21467         Detect invalid calls and signal an error.
21469 2001-12-15  Richard M. Stallman  <rms@gnu.org>
21471         * language/ind-util.el (range): Function deleted.
21472         (indian-regexp-of-hashtbl-keys): Renamed from `regexp-of-hashtbl-keys'.
21473         All calls changed.
21475         * language/devan-util.el (devanagari-range): Renamed from `range'.
21476         All calls changed.
21477         (devanagari-regexp-of-hashtbl-keys):
21478         Renamed from `regexp-of-hashtbl-keys'.  All calls changed.
21480 2001-12-15  Dave Love  <fx@gnu.org>
21482         * language/ind-util.el: Don't require cl.
21483         (indian-glyph-char, indian-glyph-max-char)
21484         (indian-char-glyph): Moved from indian.el
21485         (indian--puthash-char, mapthread): Don't quote lambda.
21486         (indian--map): New function.
21487         (indian--puthash-v, indian--puthash-c, indian--puthash-m)
21488         (indian--puthash-cv): Use it.
21490         * language/indian.el (indian-glyph-char, indian-glyph-max-char)
21491         (indian-char-glyph): Moved to ind-util.el
21493         * language/devan-util.el (devanagari-post-read-conversion):
21494         New function.
21496         * language/georgian.el: New file.
21498         * international/mule-cmds.el (locale-language-names): Add various
21499         entries.  Remove utf-8 special case.
21500         (locale-charset-language-names, locale-preferred-coding-systems):
21501         Add utf-8 case.
21502         (set-language-environment): Process required-features earlier.
21504         * international/quail.el (quail-keyboard-layout-alist):
21505         Add pc105-uk.
21506         (quail-keyboard-layout-type): Fix :type.
21507         (quail-choose-completion-string): Simplify.
21508         (quail-update-leim-list-file): Don't get fooled by commented-out code.
21509         (quail-input-string-to-events): Run events through
21510         translation-table-for-input.
21512         * international/mule-conf.el (translation-table-for-input):
21513         New variable.
21514         (latin-iso8859-14): Amend description.
21515         (file-coding-system-alist): Add entry for utf-8.
21517         * language/utf-8-lang.el: New file.
21519         * international/code-pages.el: New file.
21521         * language/hebrew.el ("Windows-1255"): New language.
21523         * language/european.el ("Welsh", "Latin-7", "Lithuanian")
21524         ("Latvian"): New languages.
21526 2001-12-14  Stefan Monnier  <monnier@cs.yale.edu>
21528         * xml.el: Use setq rather than (set 'foo bar).
21529         Use push+nreverse rather than append.
21530         (xml-node-name, xml-node-attributes, xml-node-children):
21531         Use defsubst rather than macros.
21532         (xml-parse-region): Handle a nil return value from xml-parse-tag.
21533         (xml-parse-tag): Don't skip white space.  Return nil for a comment.
21534         Concat the two strings surrounding a comment into a single string.
21536         * newcomment.el (comment-indent): Jump to the middle of empty comments.
21538 2001-12-14  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21540         * select.el (xselect-convert-to-class, xselect-convert-to-name):
21541         Document.
21543 2001-12-14  Andre Spiegel  <spiegel@gnu.org>
21545         * vc-hooks.el (vc-checkout-model, vc-state, vc-workfile-version):
21546         Return nil if FILE is not registered.
21547         (vc-check-master-templates, vc-default-make-version-backups-p):
21548         Doc fix.
21550 2001-12-13  David Ponce  <david@dponce.com>
21552         * ruler-mode.el (ruler-mode-extra-left-cols): Remove.
21553         (ruler-mode-left-fringe-cols): New macro.
21554         (ruler-mode-right-fringe-cols): New macro.
21555         (ruler-mode-left-scroll-bar-cols): New macro.
21556         (ruler-mode-right-scroll-bar-cols): New macro.
21557         (ruler-mode-ruler): Use above new macros.
21559 2001-12-13  Richard M. Stallman  <rms@gnu.org>
21561         * files.el (set-auto-mode): Fix previous change.
21563 2001-12-13  Stefan Monnier  <monnier@cs.yale.edu>
21565         * emacs-lisp/easymenu.el (easy-menu-intern): New fun.
21566         (easy-menu-do-define, easy-menu-convert-item-1)
21567         (easy-menu-define-key-intern, easy-menu-get-map): Use it.
21568         (easy-menu-return-item): Only return nil if there is no binding.
21570 2001-12-13  Rajesh Vaidheeswarran  <rv@gnu.org>
21572         * whitespace.el (whitespace-version): 3.2
21573         * whitespace.el (whitespace-force-mode-line-update): Replace with
21574         `whitespace-mode-line-update', which is an alias to the correct
21575         function in various emacsen.
21576         * whitespace.el (whitespace-{un,}highlight-the-space):
21577         Add colorized highlighting of the bogus whitespaces in a buffer/file,
21578         using the `whitespace-highlight-face' if
21579         `whitespace-display-spaces-in-color' is set.
21581 2001-12-13  Eli Zaretskii  <eliz@is.elta.co.il>
21583         * international/mule.el (set-auto-coding): Don't search for
21584         "unibyte:" or "coding:" if set-auto-mode-1 returns nil.
21586 2001-12-13  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21588         * mail/mailabbrev.el (mail-abbrevs-setup): Do not use make-local-hook.
21590         * mail/rmail.el (rmail-fontify-buffer-function): Likewise.
21592         * mail/rmailsum.el (rmail-summary-mode): Likewise.
21594 2001-12-13  Richard M. Stallman  <rms@gnu.org>
21596         * simple.el (undo): Always set this-command to `undo',
21597         so that the next undo after an error will not begin redoing.
21599         * simple.el (shell-command): Doc fix.
21600         (shell-command-on-region): If there is output an an error,
21601         add "...Shell command failed" to the output.
21603 2001-12-13  David Ponce  <david@dponce.com>
21605         * ruler-mode.el (ruler-mode-left-fringe-cols): Variable removed.
21606         (ruler-mode-left-fringe-cols): Function replaced by more efficient
21607         implementation `ruler-mode-extra-left-cols'.
21608         (ruler-mode-ruler): Use above new function.  Take into account
21609         that the fringe areas can now be resized.
21611 2001-12-12  Richard M. Stallman  <rms@gnu.org>
21613         * international/characters.el (Unicode): Comment out
21614         the specifications for kelvin and angstrom signs.
21616         * international/mule.el (make-translation-table-from-vector):
21617         Allow null elements in VEC.
21619         * international/ucs-tables.el (unify-8859-on-encoding-mode)
21620         (unify-8859-on-decoding-mode): Swap the code in their bodies.
21621         Add :version.
21623 2001-12-11  Richard M. Stallman  <rms@gnu.org>
21625         * derived.el (derived-mode-p): Function moved to subr.el.
21627         * subr.el (derived-mode-p): Moved here from derived.el.
21629         * international/mule.el (set-auto-coding): Use set-auto-mode-1.
21631         * files.el (set-auto-mode-1): New subroutine, broken out of
21632         set-auto-mode.
21633         (set-auto-mode, hack-local-variables-prop-line): Use that.
21635 2001-12-11  Dave Love  <fx@gnu.org>
21637         * language/thai-util.el, language/thai.el: Add Unicode equivalents.
21639         * language/european.el: Remove autoload cookies.  Fix registration
21640         of diacritic composition function.
21642 2001-12-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21644         * calendar/todo-mode.el: Require time-stamp.
21646         * net/zone-mode.el (zone-mode): Don't use make-local-hook.
21648 2001-12-11  Richard M. Stallman  <rms@gnu.org>
21650         * emacs-lisp/authors.el (authors-aliases): Delete "Richard Stallmao".
21652         * textmodes/ispell.el (ispell-buffer-local-parsing):
21653         Match xml like sgml.
21655         * emacs-lisp/advice.el (ad-compile-function):
21656         Byte compile the function under another (uninterned) name.
21658         * gud.el (gdb): Define and bind gud-jump.
21660         * font-lock.el (font-lock-mode):
21661         Put our function at the end of after-change-functions.
21663         * ediff-diff.el (ediff-cmp-options): Doc fix.
21665         * comint.el (comint-password-prompt-regexp): Match "UNIX Password".
21667 2001-12-10  Richard M. Stallman  <rms@gnu.org>
21669         * isearch.el (isearch-yank-word-or-char): New function.
21670         (isearch-mode-map): Bind C-w to that.
21672         * menu-bar.el (menu-bar-mode): Make arg optional.
21674         * simple.el (line-move): Cope if next-single-property-change
21675         or previous-single-property-change returns nil.
21677         * emacs-lisp/lisp-mnt.el (lm-verify): New arg NON-FSF-OK.
21678         Don't use interactive-p; instead, pass the proper args
21679         in (interactive...).  Clean up most of the trouble-report strings.
21681 2001-12-10  Eli Zaretskii  <eliz@is.elta.co.il>
21683         * mail/smtpmail.el (smtpmail-send-queued-mail): Insert the
21684         enqueued messages literally.
21686 2001-12-10  Noah Friedman  <friedman@splode.com>
21688         * battery.el (battery-insert-file-contents): Obsolete function
21689         removed.
21690         (battery-read-function): Obsolete function removed.
21691         (battery-linux-proc-apm): Use insert-file-contents.
21693 2001-12-07  Stephen Eglen  <stephen@gnu.org>
21695         * iswitchb.el (iswitchb-visit-buffer):
21696         Use `select-frame-set-input-focus'--needed when window manager
21697         uses "click to focus" policy.
21699 2001-12-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21701         * COPYING: Moved back.
21703 2001-12-07  Eli Zaretskii  <eliz@is.elta.co.il>
21705         * term/internal.el (IT-character-translations): Add entries for
21706         more points.
21708         * international/characters.el: Resurrect the Hebrew category
21709         settings for all Hebrew characters removed by the last change.
21710         Add code for setting the Hebrew category of the Unicode Hebrew
21711         characters.  Set syntax entries for Hebrew punctuation characters.
21713         * international/ucs-tables.el (ucs-8859-8-alist): Add Hebrew
21714         points and directional formatting control characters.
21716 2001-12-07  Dave Love  <fx@gnu.org>
21718         * language/lao-util.el: Add Unicode equivalents for rules.
21719         (lao-post-read-conversion): New function.
21721         * language/lao.el: Add Unicode equivalents.
21722         (lao): Add post-read conversion.
21724         * international/latin1-disp.el: Fix some 8-bit-graphic characters.
21725         Use iso2022 encoding.
21726         (latin1-char-displayable-p): Doc fix.
21727         (latin1-display-ucs-per-lynx): New option.
21728         (latin1-display-ucs-per-lynx): New command.
21729         (latin1-display-reset): Special-case arabic.
21730         (ucs-tables): Require.
21731         (latin1-display-sets, latin1-display-setup): Add arabic.
21732         (latin1-display) <variable>: Use function latin1-display.
21733         (latin1-display) <function>: Add mule-unicode stuff.
21734         (latin1-display-check-font): Don't lose if `info' is nil.
21736         * international/iso-transl.el: Insert Latin-1 characters, not
21737         unibyte codes.
21739         * language/european.el (diacritic-composition-pattern): New constant.
21740         (diacritic-compose-region, diacritic-compose-string)
21741         (diacritic-compose-buffer, diacritic-post-read-conversion)
21742         (diacritic-composition-function): New functions.
21744         * international/utf-8.el (ucs-mule-to-mule-unicode):
21745         New translation table.
21746         (ccl-encode-mule-utf-8): Use it.
21747         (utf-8-untranslated-to-ucs, utf-8-help-echo, utf-8-compose)
21748         (utf-8-post-read-conversion, utf-8-pre-write-conversion): New function.
21749         (utf-8-subst-table): New variable.
21750         (utf-8-compose-scripts): New option.
21751         (mule-utf-8): Update safe-charsets, pre-write and post-read conversion.
21753         * international/ucs-tables.el, international/utf-8-subst.el:
21754         New files.
21756         * international/characters.el: Don't set word syntax (the default)
21757         explicitly.  Add a diacritic category.  Add info for Unicode
21758         equivalents of characters in various Mule charsets and for extra
21759         Unicode characters.  Don't define specific categories for
21760         Indian/Devanagari, since they aren't used.
21762 2001-12-06  Richard M. Stallman  <rms@gnu.org>
21764         * textmodes/fill.el (set-justification): Rename arg VALUE to STYLE.
21765         (set-justification-left, set-justification-right): Doc fix.
21767         * progmodes/f90.el (f90-break-line): Use (newline 1) to insert newline.
21768         (bug-f90-mode): Variable deleted.
21770 2001-12-06  Stefan Monnier  <monnier@cs.yale.edu>
21772         * indent.el (indent-line-function): Default is indent-relative again.
21774 2001-12-07  Miles Bader  <miles@gnu.org>
21776         * progmodes/compile.el (compilation-error-regexp-alist):
21777         Added regexps for RXP.
21779 2001-12-05  Eli Zaretskii  <eliz@is.elta.co.il>
21781         * progmodes/cwarn.el (cwarn-font-lock-match-assignment-in-expression):
21782         Add shift-assignment operators to those highlighted, and highlight
21783         the whole operator rather than just the "=".
21785 2001-12-04  Juanma Barranquero  <lektu@terra.es>
21787         * files.el (save-abbrevs, save-some-buffers): Don't ask the user
21788         before saving abbrevs if `save-abbrevs' has the value `silently'.
21790 2001-12-04  Andreas Schwab  <schwab@suse.de>
21792         * xt-mouse.el (turn-off-xterm-mouse-tracking): Doc fix.
21794 2001-12-04  Colin Walters  <walters@debian.org>
21796         * emacs-lisp/autoload.el (make-autoload): Also generate autoloads
21797         for `defmacro*' forms.
21799         * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
21800         `defmacro*'.
21802 2001-12-03  Stefan Monnier  <monnier@cs.yale.edu>
21804         * progmodes/antlr-mode.el (antlr-c-common-init): Undo last change.
21806 2001-12-02  Richard M. Stallman  <rms@gnu.org>
21808         * files.el (insert-directory): If the df output does not look right,
21809         don't try to use it.  Other cleanups in overall code structure.
21811 2001-12-02  Stefan Monnier  <monnier@cs.yale.edu>
21813         * textmodes/outline.el (outline-mode-prefix-map):
21814         Add bindings for outline-promote and outline-demote.
21815         (outline-minor-mode-menu-bar-map): New var.
21816         (outline-minor-mode): Use it.
21817         (outline-heading-alist): New var (renamed from outline-level-heading).
21818         (outline-level): Use it.
21819         (outline-insert-heading, outline-promote, outline-demote):
21820         Update to use outline-heading-alist.
21822         * disp-table.el (standard-display-european):
21823         Simplify since the function is not interactive any more.
21824         Don't set the existing buffers to unibyte.
21826         * pcvs-util.el (cvs-file-to-string): Move condition-case outside.
21828         * pcvs.el (cvs-reread-cvsrc): Don't use cvs-file-to-string.
21830         * reveal.el (reveal-mode): Fix reveal-mode's lighter.
21832         * shell.el (shell): Use shell-file-name.
21833         Pop to buffer before calling comint to set COLUMNS properly.
21835         * emacs-lisp/cl.el (svref): New alias.
21837         * progmodes/antlr-mode.el (antlr-c-common-init):
21838         Don't inhibit adaptive-fill-mode any more.
21840         * progmodes/delphi.el (delphi-mode): Don't use make-local-hook.
21842         * progmodes/etags.el (tags-with-face): Use make-symbol.
21843         (tags-search, tags-query-replace): Use backquotes.
21845         * textmodes/picture.el (picture-mode-map): Don't use defconst
21846         for a variable.
21848 2001-12-02  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21850         * textmodes/reftex-index.el (reftex-index-mode):
21851         Remove make-local-hook.
21853         * textmodes/reftex-toc.el (reftex-toc-mode): Likewise.
21855 2001-12-02  Kim F. Storm  <storm@cua.dk>
21857         * isearch.el (isearch-resume-enabled): New variable.
21858         (isearch-done): Use that variable.
21860 2001-12-01  Richard M. Stallman  <rms@gnu.org>
21862         * wid-edit.el (widget-button-click): Don't move point permanently:
21863         Avoid mouse-set-point--instead select the window,
21864         then do save-excursion, then move point.
21865         Specify the buffer for get-char-property.
21866         Don't use `@' in interactive.
21868         * indent.el (indent-line-function):
21869         Default is indent-to-left-margin again.
21871         * replace.el (query-replace-read-args): Display message
21872         if FROM contains `\n' or `\t'.
21874 2001-12-01  Stefan Monnier  <monnier@cs.yale.edu>
21876         * indent.el (tab-to-tab-stop): Use delete-horizontal-space.
21878         * bindings.el (minibuffer-local-map): Bind TAB to insert-tab.
21880         * emacs-lisp/regexp-opt.el (regexp-opt):
21881         Bind completion-regexp-list to nil.
21883         * progmodes/hideif.el (hif-nexttoken): Move to before first def.
21885 2001-12-01  Eli Zaretskii  <eliz@is.elta.co.il>
21887         * progmodes/idlwave.el, progmodes/idlw-rinfo.el:
21888         * progmodes/idlw-shell.el, progmodes/idlw-toolbar.el:
21889         Update maintainer.
21891 2001-11-30  Stefan Monnier  <monnier@cs.yale.edu>
21893         * mail/smtpmail.el: Use with-current-buffer.
21894         (message-make-date, message-make-message-id): Autoload when needed.
21895         (smtpmail-send-it): Use them to add `Date:' and `Message-Id:'
21896         headers when missing.
21898         * international/encoded-kb.el (encoded-kbd-mode):
21899         Use define-minor-mode.
21901         * enriched.el (enriched-mode): Use define-minor-mode.
21902         Use dolist and pop and push.
21904         * info.el (Info-find-node-2): Don't call info-insert-file-contents
21905         with the `visit' argument.
21906         (Info-extract-menu-node-name): Use `replace-regexps-in-string'.
21908         * progmodes/hideif.el (hide-ifdef-mode): Only modify
21909         `change-major-mode-hook' locally.  Reset invisibility spec.
21911         * man.el (Man-build-section-alist): Remove last Man-match-substring.
21913 2001-11-30  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
21915         * textmodes/paragraphs.el (mark-paragraph): Clarify doc.
21916         Clarify error message.
21918 2001-11-29  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
21920         * textmodes/paragraphs.el (mark-paragraph): Allow prefix arg.
21922 2001-11-30  Andre Spiegel  <spiegel@gnu.org>
21924         * vc-cvs.el (vc-cvs-parse-status): Store file state in property,
21925         don't just return it.
21927 2001-11-30  Eli Zaretskii  <eliz@is.elta.co.il>
21929         * menu-bar.el (menu-bar-read-lispref, menu-bar-read-lispintro)
21930         (menu-bar-read-emacs-man, search-emacs-glossary)
21931         (emacs-index-search, elisp-index-search): New functions.
21932         (apropso-documentation, apropos, apropos-value, apropos-variable)
21933         (apropos-commands): Modify menu item names and help text.
21934         (elisp-index-search, emacs-index-search, emacs-glossary):
21935         New menu items.
21936         (menu-bar-manuals-menu): Move the Ordering Manuals item to a
21937         submenu.
21938         (info-elisp, info-elintro): New menu items.
21939         (apropos): Modify the menu item name.
21941 2001-11-30  Stefan Monnier  <monnier@cs.yale.edu>
21943         * emacs-lisp/lisp-mode.el (read-if): Add lisp-indent-function prop.
21945         * textmodes/outline.el (outline-promote, outline-demote): Typo.
21947         * man.el (man-follow-mouse): New function.
21948         (Man-mode-map): Bind mouse-2 to it.
21949         (Man-match-substring): Remove.  Replace with `match-string'.
21950         (man): Use the `default-value' argument to `read-string'.
21951         (Man-fontify-manpage): Add mouse-face to cross references.
21953         * emacs-lisp/cl-macs.el (shiftf): Fix more.  Simplify.
21955 2001-11-29  Stefan Monnier  <monnier@cs.yale.edu>
21957         * emacs-lisp/crm.el (completing-read-multiple): Better preserve
21958         the value of require-match in minibuffer-completion-confirm.
21959         Use crm-local-completion-map.
21961         * emacs-lisp/cl-macs.el (shiftf): Fix the fast case so
21962         (let ((a 1) (b 2)) (shiftf a b (cons a b)) b) returns (1 . 2).
21963         (cl-make-type-test): Use char-valid-p for `character'.
21965         * info.el (Info-complete-next-re, Info-complete-cache): New vars.
21966         (Info-complete-menu-item): Rewrite.  Add the ability to search
21967         several sequential nodes.  Add a simple caching mechanism.
21968         (Info-goto-index): New function extracted from Info-index.
21969         (Info-index): Use it.  Add completion to the interactive spec.
21970         (Info-menu-update): Simplify call to `Info-complete-menu-item'.
21972 2001-11-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21974         * COPYING: Removed.
21976 2001-11-29  Dave Love  <fx@gnu.org>
21978         * progmodes/fortran.el: Fontify rewind, backspace.  Doc fixes.
21979         (fortran-window-create, fortran-window-create-momentarily):
21980         Rewrite, moving error condition.
21981         (fortran-beginning-do, fortran-beginning-if): Fix regexps.
21982         (fortran-mode-syntax-table): Revert last change.
21984         * international/mule.el: Doc fixes.
21985         (map-charset-chars): New function.
21986         (register-char-codings): Use it to cope with generic chars in
21987         safe-chars.
21989 2001-11-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21991         * play/blackbox.el (blackbox-mode, blackbox): Doc fix.
21993         * play/cookie1.el (cookie, cookie-insert, shuffle-vector): Doc fixes.
21995         * play/studly.el (studlify-word, studlify-region)
21996         (studlify-buffer): Fix doc-string.
21997         (studlify-buffer): Add autoload cookie.
21999 2001-11-28  Stefan Monnier  <monnier@cs.yale.edu>
22001         * textmodes/outline.el (outline-up-heading): Add `invisible-ok' arg.
22002         (outline-up-heading-all): Remove.
22003         (hide-sublevels): Move to end-of-heading before calling flag-region.
22004         (outline-copy-overlay, outline-discard-overlays): Remove.
22005         (outline-flag-region): Use `remove-overlays'.
22006         Don't move to end-of-heading.
22007         (outline-next-visible-heading, outline-back-to-heading)
22008         (outline-on-heading-p): Use outline-invisible-p.
22009         (outline-font-lock-level): Use outline-up-heading's new arg.
22010         (outline-minor-mode): Simplify.
22011         (outline-map-tree, outline-reveal-toggle-invisible): New funs.
22012         (outline): Put a `reveal-toggle-invisible' property.
22013         (outline-level-heading): New var.
22014         (outline-insert-heading, outline-promote, outline-demote)
22015         (outline-toggle-children): New commands.
22017         * progmodes/hideif.el (hif-end-of-line): New function.
22018         (hide-ifdef-mode): Set line-move-ignore-invisible.
22019         (hide-ifdef-region-internal): New function.
22020         (hide-ifdef-region): Use it.
22021         (hif-defined): Return an integer.
22022         (hif-infix-to-prefix): Remove.
22023         (hif-tokenize): Parse from the buffer rather than from a string.
22024         Correctly tokenize integers.  Use forward-comment.
22025         (hif-expr): Use hif-or.
22026         (hif-term): Use hif-and.
22027         (hif-factor): Use hif-not.  Handle numbers properly.
22028         Don't require parenthesis around `defined's argument.
22029         (hif-and, hif-or, hif-not): New funs.
22030         (hif-canonicalize): Pass a region to hif-tokenize.  Use hif-not.
22031         (hif-hide-line): Don't hide the \n before the line.
22032         (hif-possibly-hide): Correctly handle numeric evaluation results.
22034         * progmodes/make-mode.el: Use line-(end|beginning)-position.
22035         (makefile-mode): Set indent-line-function.
22036         (makefile-browser-insert-continuation): Use with-current-buffer.
22037         (makefile-beginning-of-line-point, makefile-end-of-line-point): Remove.
22039 2001-11-28  Karl Fogel  <kfogel@red-bean.com>
22041         * isearch.el (isearch-yank-internal): New helper function.
22042         (isearch-yank-char): New function.
22043         (isearch-yank-word, isearch-yank-line): Rewrite to use
22044         isearch-yank-internal.
22046 2001-11-28  Eli Zaretskii  <eliz@is.elta.co.il>
22048         * mouse.el (mouse-set-font): Make it a no-op if multiple fonts
22049         aren't supported.  Print a message to that effect if invoked.
22051 2001-11-27  Stephen Eglen  <stephen@gnu.org>
22053         * locate.el (locate): Put point at first matching file rather
22054         than top of buffer.
22056 2001-11-27  Stefan Monnier  <monnier@cs.yale.edu>
22058         * reveal.el: New file.
22060         * progmodes/hideif.el: Misc cleanup.
22061         (hide-ifdef-mode-submap): Put the def in the defvar.
22062         Use substitute-key-definition.
22063         (hide-ifdef-mode): Use define-minor-mode.
22064         (hif-outline-flag-region): Remove.
22065         (hif-show-all): Define in terms of hif-show-ifdef-region.
22066         (hif-after-revert-function): Rename from hif-before-revert-function.
22067         (hide-ifdef-region, hif-show-ifdef-region): Use overlays.
22068         (hif-tokenize): Use with-syntax-table.
22069         (hif-make-range): Use `else' also for `else-p'.
22070         (hif-range-else-p): Remove.
22071         (hif-find-range): Simplify.
22072         (hif-hide-line): Don't bother preserving buffer-modified-p.
22073         (hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
22074         Don't use selective-display and inhibit-read-only.
22076         * subr.el (copy-overlay, remove-overlays): New funs.
22078         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix off-by-two error.
22080 2001-11-27  Sam Steingold  <sds@gnu.org>
22082         * ansi-color.el, bookmark.el, dired.el, emerge.el, fast-lock.el
22083         * lazy-lock.el, mouse-sel.el, mail/feedmail.el
22084         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el, emacs-lisp/ewoc.el
22085         * obsolete/c-mode.el, obsolete/cplus-md.el
22086         * progmodes/dcl-mode.el, progmodes/idlw-shell.el, progmodes/idlwave.el
22087         * term/sun-mouse.el, textmodes/artist.el:
22088         Converted backquote to the new style.
22089         * mouse.el, reposition.el: Likewise (in comments).
22090         * expand.el: Likewise (in a string).
22092 2001-11-27  Richard M. Stallman  <rms@gnu.org>
22094         * cus-edit.el (custom-load-symbol): Don't always load locate-library.
22096 2001-11-26  Richard M. Stallman  <rms@gnu.org>
22098         * wid-edit.el (widget-toggle-value-create): On graphic terminal,
22099         if :on-glyph or :off-glyph is a list, eval it and store it back.
22100         (checkbox): Quote the values for :on-glyph and :off-glyph.
22102         * cus-start.el (recursive-load-depth-limit): Delete item.
22104 2001-11-26  Stefan Monnier  <monnier@cs.yale.edu>
22106         * help-fns.el (describe-categories, help-describe-category-set): New.
22107         describe-categories moved here from src/category.c.
22109 2001-11-26  Sam Steingold  <sds@gnu.org>
22111         * progmodes/cc-mode.el (c-submit-bug-report): Make sure that the
22112         arguments to `insert' are strings.
22114 2001-11-26  Richard M. Stallman  <rms@gnu.org>
22116         * startup.el (command-line-1): Call kill-buffer only in non-fancy case.
22118 2001-11-26  Eli Zaretskii  <eliz@is.elta.co.il>
22120         * international/mule-diag.el: Require help-fns instead of
22121         help-funs.
22123         * help-fns.el: Renamed from help-funs.el.
22125         * startup.el (command-line-1): Don't try to call process-list if
22126         it is not fboundp.
22128 2001-11-26  Sam Steingold  <sds@gnu.org>
22130         * frame.el (show-trailing-whitespace): Remove :set argument (the
22131         value was essentially identical to the defalt).
22133 2001-11-26  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22135         * hexl.el (hexl-mode, hexl-follow-ascii): Remove make-local-hook.
22137         * icomplete.el (icomplete-minibuffer-setup): Likewise.
22139         * hilit-chg.el (hilit-chg-set): Likewise.
22141         * speedbar.el (speedbar-mode): Likewise.
22143         * calendar/calendar.el (calendar-mode): Likewise.
22145         * play/yow.el (psychoanalyze-pinhead): Use insert instead of
22146         insert-string.
22148         * play/gamegrid.el (gamegrid-init-buffer): Likewise.
22150         * term/bg-mouse.el (bg-insert-moused-sexp): Likewise.
22152         * term/sun-mouse.el (sun-yank-selection): Likewise.
22154         * textmodes/bib-mode.el (return-key-bib): Likewise.
22156         * calendar/appt.el (appt-disp-window): Likewise.
22158         * calendar/diary-lib.el (list-diary-entries): Likewise.
22160         * array.el (array-reconfigure-rows): Likewise.
22162         * filecache.el (file-cache-minibuffer-complete): Likewise.
22164         * obsolete/cplus-md.el (fill-c++-comment): Likewise.
22166         * strokes.el (strokes-prompt-user-save-strokes): Likewise.
22168         * allout.el (outline-version, outline-open-topic)
22169         (outline-rebullet-heading, outline-insert-listified)
22170         (outline-latex-verbatim-quote-curr-line)
22171         (outline-latexify-one-item, outlineify-sticky): Likewise.
22173         * vc.el (vc-next-action-on-file): Likewise.
22174         (vc-dired-mode): Remove make-local-hook.
22176 2001-11-26  Andre Spiegel  <spiegel@gnu.org>
22178         * vc.el (vc-find-version): New function.
22179         (vc-version-other-window): Redefined in terms of the above.
22181         * log-view.el (log-view-find-version): New function.
22182         (log-view-mode-map): Bind it to `f'.
22184 2001-11-26  Gerd Moellmann  <gerd@gnu.org>
22186         * language/devan-util.el (dev-char-glyph): Escape `"' in
22187         string literals.
22188         (dev-glyph-glyph, dev-glyph-glyph-2)
22189         (devanagari-compose-syllable-region): Likewise.
22191 2001-11-26  Richard M. Stallman  <rms@gnu.org>
22193         * window.el (save-selected-window): No error if saved window is dead.
22195         * help-funs.el (describe-syntax): Put (interactive) after doc string.
22197 2001-11-26  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22199         * international/quail.el (quail-help): Require help-mode in
22200         top-level instead.
22202         * iswitchb.el (iswitchb-exhibit): Use insert instead of
22203         insert-string.
22205         * icomplete.el (icomplete-exhibit): Likewise.
22207 2001-11-25  Stefan Monnier  <monnier@cs.yale.edu>
22209         * diff-mode.el (diff-end-of-hunk): Watch out for ambiguities.
22210         (diff-hunk-kill): Simplify.
22211         (diff-post-command-hook): Only apply to a single hunk.
22212         (diff-hunk-text): Make `char-offset' non-optional.
22213         (diff-find-text): Return a cons cell.
22214         (diff-find-approx-text): New fun.
22215         (diff-find-source-location): Use it.
22216         (diff-apply-hunk, diff-test-hunk, diff-goto-source):
22217         Adapt to new retval of diff-find-text.
22219         * vc-cvs.el (vc-cvs-parse-entry): Rewrite, comparing the string-
22220         rather than integer- representation of dates.
22222         * textmodes/fill.el (fill-indent-according-to-mode): Default to nil.
22224         * emacs-lisp/syntax.el: Don't profile syntax-ppss any more.
22225         (syntax-after): New fun.
22227         * help-funs.el (describe-syntax): New fun.
22229         * font-lock.el (font-lock-cache-state, font-lock-cache-position)
22230         (font-lock-ppss-stats, font-lock-ppss): Remove.
22231         (font-lock-fontify-syntactically-region): Remove tuning code.
22232         (font-lock-compile-keywords): Fix off-by-one bug.
22233         (font-lock-set-defaults): Don't set removed vars.
22234         (c-keywords): Add `inline'.
22235         (c-type-names): Add `_Complex', `_Imaginary' and `_Bool'.
22237         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22238         Set syntax-begin-function.
22239         (lisp-interaction-mode-abbrev-table): Defvar to its correct value.
22240         (lisp-interaction-mode): Don't set local-abbrev-table any more.
22241         (lisp-mode-auto-fill): Use syntax-ppss and obey
22242         comment-auto-fill-only-comments.
22243         (lisp-fill-paragraph): Use syntax-ppss.
22245 2001-11-25  ShengHuo ZHU  <zsh@cs.rochester.edu>
22247         * mail/rmail.el (rmail-enable-mime-composing): New. A lightweight
22248         version of rmail-enable-mime.
22249         (rmail-forward): Use it.
22251 2001-11-25  Richard M. Stallman  <rms@gnu.org>
22253         * emacs-lisp/lisp-mode.el (lisp-indent-function): Add doc string.
22255         * international/quail.el (quail-keyboard-layout-button):
22256         Define button type.
22257         (quail-keyboard-customize-button): Likewise.
22258         (quail-help): Use those button types.  Require `help-mode'.
22259         Avoid altering the argument `package'.
22261         * help-mode.el (help-function, help-variable, help-face)
22262         (help-coding-system, help-input-method, help-character-set):
22263         Define each button type with its own explicit define-button-type.
22265         * language/devan-util.el: Comment out parts of the file
22266         which apparently are garbled.
22268 2001-11-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22270         * mail/smtpmail.el (smtpmail-deduce-address-list): Don't use
22271         insert-string.
22273 2001-11-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22275         * play/snake.el (snake-mode): Remove make-local-hook.
22277         * play/tetris.el (tetris-mode): Likewise.
22279         * play/decipher.el (decipher-mode): Likewise.
22281         * tmm.el (tmm-add-prompt): Likewise.
22283 2001-11-25  Sam Steingold  <sds@gnu.org>
22285         * menu-bar.el (menu-bar-apropos-menu): New variable.
22286         Moved all `apropos' bindings to this menu.
22287         (menu-bar-help-menu): Added `menu-bar-apropos-menu'.
22289 2001-11-24  KAWABATA, Taichi  <batta@beige.ocn.ne.jp>
22291         The following changes are for new indian languages support based
22292         on Unicode charset and CDAC fonts.
22294         * international/mule-conf.el: Change indian-1-column charset to
22295         indian-glyph charset.
22297         * international/characters.el: Adjusted for the change of
22298         indian-1-column -> indian-glyph.
22300         * international/fontset.el: Delete the setting for indian-1-column
22301         and add the setting for indian-glyph in the default fontset.
22303         * language/indian.el: Completely re-written.
22305         * language/devanagari.el: Completely re-written.
22307         * language/devan-util.el: Completely re-written.
22309         * language/ind-util.el: New file.
22311 2001-11-24  Richard M. Stallman  <rms@gnu.org>
22313         * startup.el (command-line-1): Don't do startup screen
22314         if a subprocess is running.  Call the startup screen buffer
22315         "GNU Emacs".  Make a special mode-line-format for it.
22317         * net/browse-url.el (browse-url-galeon-new-window-is-tab): New var.
22318         (browse-url-galeon): Use that variable.
22320         * mail/supercite.el (sc-toggle-var): Don't use set-variable or
22321         eval-expression.  Eval and set the variable simply.
22323         * files.el (temporary-file-directory): Use defcustom.
22324         (small-temporary-file-directory): Likewise.
22325         (normal-backup-enable-predicate): Move down in file
22326         after definition of temporary-file-directory.
22328         * bindings.el (last-buffer, unbury-buffer): Doc fixes.
22330 2001-11-24  Colin Walters  <walters@debian.org>
22332         * calc/calc-ext.el (calc-init-extensions): Update the rest of the
22333         autoload names to match files renamed on initial calc import.
22335         * calc/calc.el (Commentary): Cleanup, and add logistic curve
22336         fitting suggestion from Robert J. Chassell <bob@rattlesnake.com>.
22338 2001-11-23  Colin Walters  <walters@debian.org>
22340         * Makefile.in (finder_setwins, setwins): Include Calc again.
22342         * calc/calc-rules.el: Add header comment.
22344 2001-11-23  Andre Spiegel  <spiegel@gnu.org>
22346         * vc.el (with-vc-properties): Don't bind `filename' locally.
22347         (with-vc-file, edit-vc-file): Use `make-symbol' for local bindings
22348         to avoid name clashes.  Fix `lisp-indent-function' property for
22349         both.
22351 2001-11-23  Francesco Potort\e,Al\e(B  <pot@gnu.org>
22353         * generic-x.el (mailrc-generic-mode): Highlight the `source' keyword.
22355 2001-11-22  Colin Walters  <walters@debian.org>
22357         * calc/calc-misc.el (report-calc-bug):
22358         Use `reporter-prompt-for-summary-p'.
22360         * calc/INSTALL, calc/Makefile: Remove.
22362 2001-11-22  Miles Bader  <miles@gnu.org>
22364         * emacs-lisp/re-builder.el (reb-match-0, reb-match-1)
22365         (reb-match-2, reb-match-3): Add dark-background variants.
22367 2001-11-22  Colin Walters  <walters@debian.org>
22369         * calc/calc-misc.el (calc-info): Don't perform voodoo, just
22370         (info "Calc").
22371         (report-calc-bug): Use reporter.el.
22373         * mail/reporter.el (reporter-submit-bug-report): Doc fixes.
22375 2001-11-21  Richard M. Stallman  <rms@gnu.org>
22377         * which-func.el (which-function): Call imenu--make-index-alist
22378         if necessary to get a list of functions.
22379         (which-function-imenu-failed): New variable.
22380         (which-func-update): Handle all visible windows.
22381         (which-func-update-1): New subroutine broken out of which-func-update.
22383         * files.el (temporary-file-directory, null-device)
22384         (small-temporary-file-directory): Definitions moved up.
22386         * progmodes/cperl-mode.el (cperl-problems, cperl-tips)
22387         (cperl-non-problems, cperl-praise): Doc fixes.
22389         * progmodes/sh-script.el (sh-mode): Don't use define-derived-mode.
22390         (sh-mode-syntax-table): Function restored.
22391         Variable set up for use by function sh-mode-syntax-table.
22392         (sh-set-shell): Set the syntax table.
22394         * play/gomoku.el (gomoku-mode): Don't use define-derived-mode.
22396         * progmodes/perl-mode.el (perl-mode): Don't use define-derived-mode.
22398         * international/encoded-kb.el: Don't alter minor-map-alist.
22400 2001-11-20  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
22402         * files.el (auto-save-file-name-transforms): Put remote files in
22403         temporary-file-directory rather than /tmp.
22405 2001-11-21  Colin Walters  <walters@debian.org>
22407         * calc/calc-macs.el (calc-slow-wrapper): Move (point) call outside
22408         of (function ...) wrapper.
22410 2001-11-20  Stefan Monnier  <monnier@cs.yale.edu>
22412         * derived.el (define-derived-mode): Create the abbrev-table
22413         from inside the `defvar'.
22415         * jit-lock.el (jit-lock-defer-time): New var.
22416         (jit-lock-defer-timer, jit-lock-buffers): New vars.
22417         (jit-lock-mode): Initialize them.  Cancel the timers more carefully.
22418         (jit-lock-function): Defer fontification if requested.
22419         (jit-lock-stealth-chunk-start): Pay attention to the new non-nil value.
22420         (jit-lock-stealth-fontify): Check the new `jit-lock-defer-multiline'
22421         text property.
22422         (jit-lock-deferred-fontify): New fun.
22424 2001-11-20  Richard M. Stallman  <rms@gnu.org>
22426         * emacs-lisp/lisp-mode.el (lisp-interaction-mode):
22427         Set local-abbrev-table to lisp-mode-abbrev-table.
22429         * emacs-lisp/re-builder.el (reb-mode):
22430         Don't use define-derived-mode.  Call kill-all-local-variables.
22432         * emacs-lisp/lisp-mode.el (lisp-mode, emacs-lisp-mode):
22433         Don't use define-derived-mode.
22435         * help-mode.el (help-mode): Undo 2001-10-07 change.
22437         * replace.el (occur-mode): Undo 2001-5-20 change.
22439 2001-11-20  Jason Rumney  <jasonr@gnu.org>
22441         * w32-fns.el (w32-system-coding-system): Change to an alias for
22442         locale-coding-system.
22443         (set-w32-system-coding-system): Document the above change.
22444         Set locale-coding-system instead.
22446 2001-11-20  Richard M. Stallman  <rms@gnu.org>
22448         * ruler-mode.el: Add pagination.
22449         (ruler-mode-toggle-show-tab-stops): No need to
22450         test `ruler-mode' variable.
22452 2001-11-20  Eli Zaretskii  <eliz@is.elta.co.il>
22454         * play/landmark.el: Mark lm-mode as special.
22456         * play/gomoku.el: Mark gomoku-mode as special.
22458 2001-11-20  Juanma Barranquero  <lektu@terra.es>
22460         * emacs-lisp/re-builder.el (reb-change-target-buffer): New function.
22461         (top-level): Bind it to C-c C-b.
22462         (re-builder): Don't re-enter RE Builder Mode.
22464         * bs.el (bs-delete): Signal an error if the buffer cannot be deleted.
22466 2001-11-20  Stefan Monnier  <monnier@cs.yale.edu>
22468         * progmodes/cperl-mode.el (cperl-perldoc): Require man before binding
22469         `manual-program'.
22471         * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Don't move back
22472         to a line without a comment.
22474 2001-11-20  Eli Zaretskii  <eliz@is.elta.co.il>
22476         * dired.el (dired-listing-switches): Mention in the doc string
22477         that some switches are not supported by ls-lisp.el
22479 2001-11-19  Stefan Monnier  <monnier@cs.yale.edu>
22481         * imenu.el (imenu--split-menu): Use dolist and copy-sequence.
22482         (imenu--create-keymap-2): Remove.
22483         (imenu--create-keymap-1): Simplify, remove third argument.
22484         (imenu--generic-function): Use dolist.
22485         (imenu-find-default): New function.
22486         (imenu--completion-buffer): Use it.
22487         (imenu--mouse-menu): Use popup-menu.
22488         (imenu--menubar-select): Return t rather than calling imenu.
22490         * textmodes/fill.el (fill-delete-prefix, fill-delete-newlines):
22491         New functions, extracted from fill-region-as-paragraph.
22492         (fill-region-as-paragraph): Use them.
22493         Use an end marker instead of eob.
22494         Ignore whitespace-only fill-prefixes when indenting according to mode.
22495         Simplify the loop that searches for spaces backwards.
22497         * textmodes/picture.el (picture-vertical-step)
22498         (picture-horizontal-step): Don't use defconst for variables.
22500         * mail/mail-extr.el: Use backquote/dolist/mapc/when.  Docstring fixes.
22501         (mail-extract-address-components): Downcase domain names.
22502         (mail-extr-delete-char): Remove.  Use delete-char instead.
22504         * emulation/pc-select.el: Doc string fixes.
22505         (pc-selection-mode): Don't treat macos as a tty.
22507         * emacs-lisp/lisp.el (mark-sexp): Mark more if repeated.
22509         * progmodes/cc-engine.el (c-parse-state): Typo. From Martin Stjernholm.
22511         * mwheel.el (mouse-wheel-scroll-amount): Allow float values.
22512         (mouse-wheel-progessive-speed): New var.
22513         (mwheel-scroll): Use it and handle float values.
22515         * lazy-lock.el (lazy-lock-install-hooks): Remove make-local-hook.
22517         * iswitchb.el (iswitchb-mode): Use define-minor-mode.
22518         (iswitchb): Fix the case where the result was selected with the mouse.
22519         (iswitchb-completion-help): Use the normal *Completions* now that
22520         mouse selection works.
22521         (iswitchb-minibuffer-setup): Simplify.
22523         * newcomment.el (comment-column, comment-style, comment-multi-line)
22524         (comment-auto-fill-only-comments): Remove :group arg.
22525         (comment-padding): Add :type.
22526         (comment-indent-new-line): Ignore comment-auto-fill-only-comments
22527         if called interactively.
22529 2001-11-19  Colin Walters  <walters@verbum.org>
22531         * calc/calc.el (toplevel): Add comment and version header.
22532         (calc-init-base): Bump version to 2.02f, update date.
22534 2001-11-19  Richard M. Stallman  <rms@gnu.org>
22536         * net/browse-url.el: Support Mozilla and Galeon.
22537         By default, find the installed browser whichever it is.
22538         (browse-url-mozilla): New function.
22539         (browse-url-mozilla-sentinel): New function.
22540         (browse-url-galeon, browse-url-galeon-sentinel): New functions.
22541         (browse-url-default-browser): New function.
22542         (browse-url-process-environment): Use browse-url-browser-display.
22543         (browse-url-browser-display): Renamed from browse-url-netscape-display.
22544         (browse-url-mozilla-startup-arguments, browse-url-galeon-program)
22545         (browse-url-galeon-arguments, browse-url-galeon-startup-arguments)
22546         (browse-url-mozilla-program, browse-url-mozilla-arguments): New vars.
22547         (browse-url-browser-function): New default, new options.
22549 2001-11-19  Sam Steingold  <sds@gnu.org>
22551         * bindings.el (last-buffer, unbury-buffer): New function.
22552         (mode-line-unbury-buffer): Use `unbury-buffer'.
22554 2001-11-18  Stephen Eglen  <stephen@gnu.org>
22556         * iswitchb.el (iswitchb-cannot-complete-hook): New variable to
22557         control behaviour when no further completion is possible.
22559 2001-11-19  Colin Walters  <walters@verbum.org>
22561         * calc/calc-macs.el (calc-wrapper, calc-slow-wrapper)
22562         (math-showing-full-precision, math-with-extra-prec, math-working)
22563         (calc-with-default-simplification)
22564         (calc-with-trail-buffer): Use backtick.
22565         (Math-zerop, Math-integer-negp, Math-integer-posp, Math-negp)
22566         (Math-looks-negp, Math-posp, Math-integerp, Math-natnump)
22567         (Math-ratp, Math-realp, Math-anglep, Math-numberp, Math-scalarp)
22568         (Math-vectorp, Math-messy-integerp, Math-objectp, Math-objvecp)
22569         (Math-integer-neg, Math-equal, Math-lessp, Math-primp)
22570         (Math-num-integerp, Math-bignum-test, Math-equal-int)
22571         (Math-natnum-lessp, math-format-radix-digit): Change to `defsubst'.
22572         (calc-record-compilation-date-macro): Deleted.  Callers updated.
22573         (math-format-radix-digit): Move to calc-bin.el.
22575         * calc/calc.el (calc-record-compilation-date): Remove.
22576         (calc-bug-address): Update.
22577         (calc-settings-file): Use `user-init-file'.
22579         * calc/calc-mode.el (calc-settings-file-name, calc-save-modes):
22580         Handle null `calc-settings-file'.
22582         * calc/calc-frac.el (calc-over-notation): Use `completing-read'.
22583         * calc/calc-keypd.el (calc-keypad-mode): New.
22584         (calc-do-keypad): Use it.
22585         (calc-keypad-map): Move into `calc-keypad-mode'.
22587         * calc-math.el (calcFunc-sqrt, calcFunc-hypot): Add missing quote
22588         to defalias argument.
22590         * calc-misc.el (math-fixnump, math-fixnatnump, calcFunc-trunc)
22591         (calcFunc-floor): Ditto.
22593         * calc-units.el (calcFunc-usimplify): Ditto.
22595         * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
22596         * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
22597         * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
22598         * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
22599         * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
22600         * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
22601         * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
22602         * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
22603         * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
22604         * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
22605         * calcsel2.el: Change all toplevel `setq' forms to `defvar' forms,
22606         and move them before their first use.  Use `when', `unless'.
22607         Remove trailing periods from error forms.  Add description and
22608         headers suggested by Emacs Lisp coding conventions.
22610 2001-11-19  Stefan Monnier  <monnier@cs.yale.edu>
22612         * newcomment.el (comment-indent):
22613         Fix misindentation for comment-only lines.
22614         (comment-indent-new-line): Only obey comment-multi-line if the
22615         comment-ender is not the end-of-line.
22617 2001-11-19  Richard M. Stallman  <rms@gnu.org>
22619         * net/net-utils.el (network-connection-service-abbrev-alist):
22620         New variable.
22622         * emacs-lisp/cl-indent.el (lisp-indent-defmethod):
22623         Advance to start of 3rd sexp by moving fwd and backing over it.
22624         At first three elements, act like defun.
22626         * delsel.el (delete-selection-pre-hook): Handle and resignal
22627         file-supersession errors to interact properly with userlock.el.
22629 2001-11-18  Richard M. Stallman  <rms@gnu.org>
22631         * progmodes/fortran.el (fortran-mode-syntax-table):
22632         Specify punctuation syntax for backslash.
22634         * progmodes/sh-script.el (sh-must-be-shell-mode): Function deleted.
22635         All calls deleted.
22637         * international/mule-util.el (string-to-sequence): Make it obsolete.
22638         (string-to-list, string-to-vector): Implement them directly
22639         using append and vconcat, not with string-to-sequence.
22641         * startup.el (command-line): Set abbrevs-changed to nil after
22642         reading the init file and the abbrevs file.
22644         * isearch.el (isearch): Use magenta2 as bg for (background light)
22646 2001-11-17  Richard M. Stallman  <rms@gnu.org>
22648         * menu-bar.el (menu-bar-update-buffers-1): Don't pad the buffer name.
22650         * simple.el (minibuffer-history-sexp-flag): Doc fix.
22652 2001-11-17  Stefan Monnier  <monnier@cs.yale.edu>
22654         * font-lock.el (font-lock-compile-keywords): New arg `regexp'.
22655         If set and if applicable, add a regexp to highlight defun-like
22656         text inside comments and strings.
22657         (font-lock-fontify-keywords-region): Pass that new arg.
22658         (font-lock-set-defaults): Move the code to set `font-lock-keywords'
22659         to the end and pass that new arg.
22660         (c-font-lock-keywords-2): Fix regex for labels.
22661         (font-lock-match-c++-style-declaration-item-and-skip-to-next):
22662         Make it work when LIMIT is several lines further.
22663         (c-font-lock-keywords-3, c++-font-lock-keywords-3)
22664         (objc-font-lock-keywords-3, java-font-lock-keywords-3):
22665         Use backquote and make the regexes for `int a, b, c;' work on
22666         multiple lines.
22668         * emacs-lisp/re-builder.el (reb-mode): Use define-derived-mode.
22669         (font-lock-defaults-alist): Don't change it any more.
22670         (reb-subexp-mode-map): Cleanup.
22672         * custom.el (custom-current-group-alist): New var.
22673         (custom-declare-group): Set it.
22674         (custom-current-group): New fun.
22675         (custom-declare-variable, custom-handle-all-keywords):
22676         Use it as a default if no :group argument is specified.
22678         * international/mule-cmds.el (locale-name-match): Use \` and \(?:.
22679         (standard-keyboard-coding-systems): New var.
22680         (set-locale-environment): Use it to decide whether or not to call
22681         set-keyboard-coding-system.
22682         (locale-language-names): Use \"French\" for "fr".
22684 2001-11-17  Richard M. Stallman  <rms@gnu.org>
22686         * emacs-lisp/checkdoc.el (princ-list, checkdoc-read-event)
22687         (add-to-list): Delete compatibility code.
22688         (checkdoc-next-message-error): Doc fix.
22690 2001-11-17  Stephen Eglen  <stephen@gnu.org>
22692         * locate.el (locate): Show default locate pattern within the
22693         prompt, but don't insert it into the minibuffer contents.
22694         Catch the case when pattern is the empty string.
22696 2001-11-17  Eli Zaretskii  <eliz@is.elta.co.il>
22698         * language/european.el ("French"): New language environment.
22700 2001-11-16  Richard M. Stallman  <rms@gnu.org>
22702         * calendar/todo-mode.el (todo-save): Fix previous change.
22704         * subr.el (functionp): Do use cdr-safe on object.
22706 2001-11-16  Stefan Monnier  <monnier@cs.yale.edu>
22708         * bindings.el (mode-line-mode-name): Only put the help-echo property
22709         if the local-map property was put as well.
22710         (global-map): Bind switch-frame, delete-frame, iconify-frame
22711         and make-frame-visible events.
22713         * emacs-lisp/elp.el (elp-not-profilable): New var.
22714         (elp-not-profilable-p): New function.
22715         (elp-instrument-function): Use it.  Use backquotes and push.
22717         * emacs-lisp/bytecomp.el (byte-compile-call-tree, byte-code-vector)
22718         (byte-stack+-info, byte-compile-last-warned-form)
22719         (byte-compile-last-logged-file): Don't defconst a variable.
22720         (no-byte-compile): Declare.
22721         (byte-compile-file): Don't boundp-check no-byte-compile any more.
22722         (byte-compile-defvar): Leave defconst as is.
22724         * emacs-lisp/edebug.el (edebug-form-data, edebug-offsets)
22725         (edebug-offsets-stack, edebug-read-dotted-list, edebug-def-name)
22726         (edebug-current-offset, edebug-old-def-name, edebug-error-point)
22727         (edebug-best-error): Don't defconst a variable.
22728         (edebug-read-syntax-table): Use a char-table.
22729         (edebug-lemacs-specific): Remove.
22730         Toplevel: Eliminate check for Lucid Emacs.
22732         * pcvs-util.el (cvs-prefix-define): Don't defconst a variable.
22734         * rect.el (move-to-column-force): Mark obsolete.
22735         (operate-on-rectangle, delete-extract-rectangle-line)
22736         (insert-rectangle, delete-whitespace-rectangle-line)
22737         (open-rectangle-line, clear-rectangle-line): Use move-to-column.
22738         (string-rectangle-history): New var.
22739         (string-rectangle, string-insert-rectangle): Use it.
22740         (delete-rectangle-line): Fix pos/column mixup and simplify.
22742         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
22743         (normal-top-level, command-line, command-line-1): Simplify.
22745         * tar-mode.el (tar-mode): Use define-derived-mode.
22747         * view.el (view-mode-enable): Don't use make-local-hook.
22749         * emacs-lisp/eldoc.el (eldoc-mode): Use define-minor-mode.
22751 2001-11-16  Richard M. Stallman  <rms@gnu.org>
22753         * mail/mail-extr.el (mail-extr-voodoo): Treat a number as a word
22754         if it doesn't make sense as anything else.
22755         Don't recognize a "telephone number" at the beginning of the name.
22756         (mail-extr-leading-garbage): Match non-word characters only.
22758 2001-11-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22760         * startup.el (command-line-processed): Doc fix.
22762         * apropos.el (apropos-next-label-button): Doc fix.
22764 2001-11-16  Stefan Monnier  <monnier@cs.yale.edu>
22766         * comint.el (comint-mode): Simplify.
22767         (make-comint-in-buffer): Run `comint-mode' only if necessary.
22769         * subr.el (eval-after-load): Make it work with features as well.
22771         * log-view.el (log-view-mode): Don't mark the buffer unmodified.
22773         * international/mule-cmds.el (describe-input-method): Setup xref.
22774         (set-language-environment): Use functionp.
22775         (locale-language-names, locale-charset-language-names)
22776         (locale-preferred-coding-systems): Defconst and purecopy.
22778         * language/european.el (mac-roman): Add mime-charset property.
22780 2001-11-15  Richard M. Stallman  <rms@gnu.org>
22782         * emacs-lisp/cl.el (values, values-list, multiple-value-list)
22783         (multiple-value-apply, nth-value): Use defsubst rather than defalias
22784         to get better doc strings.
22786 2001-11-15  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22788         * derived.el: Fix autoload cookie.
22790 2001-11-15  Richard M. Stallman  <rms@gnu.org>
22792         * jka-compr.el (jka-compr-partial-uncompress): Fix previous change.
22794 2001-11-15  Stefan Monnier  <monnier@cs.yale.edu>
22796         * menu-bar.el (menu-bar-edit-menu) <copy>: Put an explicit key binding.
22798 2001-11-15  Richard M. Stallman  <rms@gnu.org>
22800         * dired.el (dired-undo): Display a message to explain
22801         that this does not undo file system changes.
22803 2001-11-15  David Kastrup  <David.Kastrup@t-online.de>
22805         * mouse-drag.el (mouse-drag-throw): Push back non-drag events
22806         into `unread-command-events' instead of trying keymap
22807         lookups ourselves.  This makes mouse-clicks do the right
22808         thing even when keymaps of overlays are involved.
22809         (mouse-drag-drag): Likewise.
22811 2001-11-15  Andreas Schwab  <schwab@suse.de>
22813         * progmodes/ada-mode.el (ada-add-extensions): Quote regexp special
22814         characters and append anchor to pattern added to auto-mode-alist.
22816 2001-11-15  Stefan Monnier  <monnier@cs.yale.edu>
22818         * server.el (server-process-filter): Run pre/post-comment-hook
22819         before/after visiting the file.
22821         * info-look.el (makefile-mode): Add info for automake.
22822         (autoconf-mode): Fix the name of the index for automake.
22824         * international/latin-9.el: Give pilcrow punctuation syntax.
22826 2001-11-15  Andre Spiegel  <spiegel@gnu.org>
22828         * vc.el: Documentation fixes.
22830 2001-11-14  Stefan Monnier  <monnier@cs.yale.edu>
22832         * smerge-mode.el (smerge-match-conflict): Fix typo.
22833         (smerge-diff): Be careful to read match-data early enough.
22835 2001-11-14  Colin Walters  <walters@verbum.org>
22837         * calc/calc-alg.el (calcFunc-esimplify, calcFunc-simplify)
22838         (calcFunc-subst): Use `defalias' instead of `fset' and
22839         `symbol-function'.
22841         * calc/calc-arith.el (calcFunc-abs, calcFunc-float)
22842         (calcFunc-ceil, calcFunc-round): Ditto.
22844         * calc/calc-bin.el (calcFunc-clip): Ditto.
22846         * calc/calc-ext.el (calcFunc-evalv): Ditto.
22848         * calc/calc-math.el (calcFunc-sqrt, calcFunc-hypot): Ditto.
22850         * calc/calc-misc.el (math-fixnump, math-fixnatnump)
22851         (calcFunc-trunc, calcFunc-floor, calc-report-bug): Ditto.
22853         * calc/calc-units.el (calcFunc-unsimplify): Ditto.
22855         * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
22856         * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
22857         * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
22858         * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
22859         * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
22860         * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
22861         * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
22862         * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
22863         * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
22864         * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
22865         * calcsel2.el: Style cleanup; don't put closing parens on their
22866         own line, add "foo.el ends here" to each file, and update
22867         copyright date.
22869         * README: Update maintainer.
22871 2001-11-13  Richard M. Stallman  <rms@gnu.org>
22873         * progmodes/compile.el (recompile): Use compilation-arguments if
22874         set, so as to be able to M-x recompile the exact command which
22875         created a compilation-mode buffer.
22877         * progmodes/ada-mode.el (ada-fill-comment-prefix): Doc fix.
22879 2001-11-13  Gerd Moellmann  <gerd@gnu.org>
22881         * mouse.el (mouse-drag-region): Don't run the up-event
22882         handler if window start changed due to the down-mouse event.
22884 2001-11-13  Richard M. Stallman  <rms@gnu.org>
22886         * mouse.el (mouse-show-mark): Either move point to the mark
22887         or use highlighting, never both.
22888         (mouse-buffer-menu): If WINDOW is a frame, select its selected window.
22890 2001-11-13  Simon Josefsson  <jas@extundo.com>
22892         * mail/smtpmail.el (top-level): Change maintainer to Simon
22893         Josefsson, cleanup the smtpmail.el header.
22895         * mail/smtpmail.el (top-level): Don't require cl or base64.
22896         (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
22897         (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd):
22898         Defsubst instead of defmacro.
22899         (smtpmail-intersection): Return value in reverse order.
22900         (smtpmail-open-stream): Use stringp instead of string-to-list.
22901         (smtpmail-open-stream, smtpmail-try-auth-methods): New functions,
22902         separated from smtpmail-via-smtp.
22904         * mail/smtpmail.el (top-level): Autoload starttls, mail-utils and
22905         rfc2104.  Require base64 and cl.
22906         (smtpmail-smtp-service): Doc fix.  :type fix.
22907         (smtpmail-debug-info): Doc fix.
22908         (smtpmail-debug-verb, smtpmail-auth-credentials)
22909         (smtpmail-starttls-credentials, smtpmail-auth-supported):
22910         New variables.
22911         (smtpmail-deduce-address-list, smtpmail-send-it): Don't require
22912         mail-utils (it is autoloaded).
22913         (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
22914         (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd)
22915         (smtpmail-find-credentials, smtpmail-intersection): New utility funs.
22916         (smtpmail-via-smtp): Support STARTTLS, if binary is installed.
22917         (smtpmail-via-smtp): Support AUTH.
22918         (smtpmail-via-smtp): Use `smtpmail-debug-verb' to control VERB.
22920 2001-11-13  Richard M. Stallman  <rms@gnu.org>
22922         * ebuff-menu.el (electric-buffer-update-highlight): New function.
22923         (electric-buffer-overlay): New variable.
22924         (electric-buffer-menu-looper): Call electric-buffer-update-highlight.
22925         (electric-buffer-list): Likewise.
22927         * isearch.el (isearch-whitespace-chars): Doc fix.
22928         (isearch-mode): Handle negative search-slow-window-lines correctly.
22930 2001-11-13  Stefan Monnier  <monnier@cs.yale.edu>
22932         * newcomment.el (comment-normalize-vars): Handle a nil comment-padding.
22934         * progmodes/ada-mode.el (ada-fill-comment-prefix): GNAT wants 2 spaces.
22935         From Emmanuel Briot <briot@act-europe.fr>.
22937 2001-11-13  Colin Walters  <walters@debian.org>
22939         * calc/calc.el (calc-unread-command): Use `unread-command-events'.
22941         * calc/calc-mode.el (calc-settings-file-name): Don't hardcode
22942         "~/.emacs"; use `read-file-name'.
22944         * calc/calc-graph.el, calc/calc-embed.el, calc/calc-graph.el
22945         * calc/calc-misc.el, calc/calc-mode.el, calc/calc-prog.el
22946         * calc/calc-sel.el, calc/calc-store.el, calc/calc-yank.el
22947         * calc/calc.el: Use `frame-width' instead of `screen-width',
22948         `frame-height' instead of `screen-height', and,
22949         `executing-kbd-macro' instead of `executing-macro'.
22951         * calc/calc-embed.el (calc-do-embedded): Call `y-or-n-p' with
22952         correct number of arguments.
22954         * calc/calc-aent.el (calc-do-alg-entry):
22955         Use `blink-paren-function' instead of `blink-paren-hook'.
22957 2001-11-12  Richard M. Stallman  <rms@gnu.org>
22959         * calendar/todo-mode.el (todo-save): Add save-excursion
22960         and save-restriction.
22962         * server.el (server-edit, server-done): Doc fix.
22964         * simple.el (clone-indirect-buffer): Error if major mode symbol
22965         has a no-clone-indirect property.
22966         (clone-buffer): Check for obvious errors before reading clone name.
22968         * info.el (Info-mode): Add a no-clone-indirect property.
22970 2001-11-12  Sam Steingold  <sds@gnu.org>
22972         * vc.el (vc-print-log): Bind `inhibit-read-only' to t before and
22973         set-buffer-modified-p to nil after `vc-exec-after'.
22974         * log-view.el (log-view-mode-map): Bind "q", "z", "m" and "d".
22975         (log-view-mode): Make read-only.
22976         (log-view-current-file): Do final `expand-file-name' in the
22977         current `default-directory'.
22978         (log-view-current-tag): Take an optional `where' arg.
22979         (log-view-diff): New user command.
22981 2001-11-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22983         * progmodes/cpp.el (cpp-choose-face): Fix typo.
22985 2001-11-12  Sam Steingold  <sds@gnu.org>
22987         * emacs-lisp/cl-indent.el (toplevel): Indent properly
22988         `generic-flet', `generic-labels', `with-accessors',
22989         `with-condition-restarts'.
22991 2001-11-12  Richard M. Stallman  <rms@gnu.org>
22993         * dired.el: Many trivial doc fixes.
22994         (dired-get-file-for-visit): New function.
22995         (dired-find-alternate-file, dired-mouse-find-file-other-window)
22996         (dired-view-file, dired-find-file-other-window, dired-display-file)
22997         (dired-find-file): Use dired-get-file-for-visit.
22999 2001-11-12  Alex Schroeder  <kensanata@yahoo.com>
23001         * sql.el (sql-mode): Doc change.
23003         * sql.el (sql-mode-syntax-table): The backslash is no longer an
23004         escape character.
23006 2001-11-12  Colin Walters  <walters@debian.org>
23008         * calc/calc-keypd.el (toplevel): Bind mouse buttons.
23009         (calc-do-keypad): Don't attempt to use nonexistent global
23010         mouse-map, use calc-keypad-map.
23011         (calc-keypad-x-left-click): Renamed to calc-keypad-left-click.
23012         (calc-keypad-left-click): Don't use mouse-map; update to new event
23013         interface.
23014         (calc-keypad-x-middle-click, calc-keypad-x-right-click): Ditto.
23015         (calc-keypad-press): Use `unread-command-events' instead of
23016         `unread-command-char'.
23018         * calc/calc-ext.el (calc-init-extensions): Update autoload names
23019         to match files renamed on initial calc import.
23021 2001-11-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
23023         * textmodes/flyspell.el (flyspell-default-dictionary):
23024         Fix previous change.
23026 2001-11-12  Richard M. Stallman  <rms@gnu.org>
23028         * textmodes/flyspell.el (flyspell-default-dictionary):
23029         Fix custom type.
23031 2001-11-11  Richard M. Stallman  <rms@gnu.org>
23033         * calendar/solar.el (solar-sunrise-and-sunset):
23034         Exchange the two extreme values of day-length.
23036         * progmodes/sh-script.el (sh-must-be-shell-mode):
23037         Allow modes derived from sh-mode.
23039         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
23040         Turn off error in some re-search-forward calls.
23042         * replace.el (query-replace-skip-read-only): New variable.
23043         (perform-replace): If that variable is non-nil, ignore matches
23044         that have a read-only property.
23046         * derived.el (define-derived-mode): Doc fix.
23048         * server.el (server-buffer-done): Test of server-existing-buffer
23049         was backwards.
23050         (server-existing-buffer): Doc fix.
23052         * textmodes/flyspell.el (flyspell-default-dictionary):
23053         Allow nil as value, and make nil the default.
23055 2001-11-11  Eli Zaretskii  <eliz@is.elta.co.il>
23057         * menu-bar.el (menu-bar-edit-menu): Don't use x-selection-exists-p if
23058         it is not fboundp.
23059         (clipboard-yank): Ditto.
23061 2001-11-11  Colin Walters  <walters@verbum.org>
23063         The following changes are based on patches from
23064         Eli Zaretskii <eliz@is.elta.co.il>, Kai Gro\e,A_\e(Bjohann
23065         <Kai.Grossjohann@CS.Uni-Dortmund.DE>, and others.
23067         * calc/calc.el (toplevel): Require calc-macs.
23068         (calc-minibuffer-size): New.
23069         (calcDigit-nondigit): Use it instead of `buffer-size'.
23070         (calcDigit-backspace): Likewise.
23071         (calcDigit-nondigit): Use `minibuffer-contents' instead of
23072         `buffer-string'.
23073         (calc-minibuffer-contains): Use `minibuffer-prompt-end' instead of
23074         `point-min'.
23075         (calcDigit-key): Use `calc-minibuffer-contains' instead of a
23076         `save-excursion'.
23078         * calc/calc-macs.el (calc-record-compilation-date-macro): Return a
23079         simple `setq' form.
23081         * calc/calc-ext.el: (toplevel): Require calc.
23082         (calc-fancy-prefix-map): New.
23083         (calc-fancy-prefix): Use it.
23084         (calc-fancy-prefix-other-key): New.
23086         * calc/calc-aent.el (toplevel): Require calc-macs during compilation.
23087         (calc-do-quick-calc): Use `frame-width' instead of `screen-width'.
23088         (calcAlg-edit): Use `minibuffer-contents' instead of `buffer-string'.
23089         (calcAlg-enter): Likewise.
23090         (calcAlg-enter): Use `minibuffer-prompt-end' instead of `point-min'.
23092 2001-11-10  Richard M. Stallman  <rms@gnu.org>
23094         * abbrev.el (read-abbrev-file): Don't set save-abbrevs.
23095         (quietly-read-abbrev-file): Doc fix.
23097         * startup.el (command-line): Read standard abbrev
23098         file (abbrev-file-name), if it exists.
23100         * files.el (save-abbrevs): Default value is t.
23102         * progmodes/compile.el (compile-goto-error): Fix previous change
23103         in the case where subsequent errors have not been parsed yet
23104         because they are in a different source file.
23106 2001-11-10  Peter Kleiweg  <kleiweg@let.rug.nl>
23108         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
23109         Merge two regular expressions into one.
23110         (ps-mode): Make local bindings for `comment-start' and
23111         `comment-start-skip'.
23112         (ps-mode-looking-at-nested): Simplify an if-else construct;
23113         use `set-match-data' to set the result.
23115 2001-11-10  Richard M. Stallman  <rms@gnu.org>
23117         * textmodes/flyspell.el (flyspell-correct-word/local-keymap):
23118         Function deleted.
23119         (flyspell-correct-word): Old definition deleted.
23120         (flyspell-correct-word/mouse-keymap): Renamed to flyspell-correct-word.
23121         All references renamed too.
23123 2001-11-10  Gerd Moellmann  <gerd@gnu.org>
23125         * Makefile.in (finder_setwins, setwins): Exclude Calc.
23127 2001-11-09  Per Abrahamsen  <abraham@dina.kvl.dk>
23129         * wid-edit.el (checklist): Removed `:menu-tag'.
23130         (radio-button-choice): Ditto.
23131         (editable-list): Ditto.
23133 2001-11-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
23135         * play/gomoku.el: Move definitions of constants to the beginning
23136         of file, before their use.
23138 2001-11-09  Richard M. Stallman  <rms@gnu.org>
23140         * textmodes/flyspell.el: Use the keymap property
23141         instead of local-map, and don't use a minor-mode map.
23142         (flyspell-mode-map): Variable deleted.
23143         Don't mess with minor-mode-map-alist.
23144         (calling add-minor-mode): Specify nil for keymap.
23145         And always use add-minor-mode, now that it exists.
23146         (flyspell-overlay-keymap-property-name): Set it to `keymap'.
23147         (flyspell-mode-on): Don't locally bind flyspell-mouse-map
23148         or flyspell-local-mouse-map.
23149         (make-flyspell-overlay): Use flyspell-mouse-map directly.
23150         (flyspell-mode): Doc fix.
23151         (flyspell-mode-on): Don't call make-local-hook.
23153 2001-11-09  Sam Steingold  <sds@gnu.org>
23155         * emacs-lisp/debug.el (debugger-make-xrefs):
23156         Add buttons to all symbols.
23158 2001-11-09  Andre Spiegel  <spiegel@gnu.org>
23160         * vc.el: Add John David Smith to credits.
23162         Suggested by Kalle Olavi Niemitalo <kon@iki.fi>:
23164         * vc-hooks.el (vc-error-occured): Backquotified.
23165         (vc-file-prop-obarray): Use prime length for better efficiency.
23167         * vc.el (vc-clear-context): Fill obarray with 0, not nil.
23169 2001-11-09  Eli Zaretskii  <eliz@is.elta.co.il>
23171         * info.el (Info-file-list-for-emacs): Add entries for Calc.
23173 2001-11-09  Miles Bader  <miles@gnu.org>
23175         * subr.el (functionp): Don't consider macros as functions.
23177 2001-11-08  Miles Bader  <miles@gnu.org>
23179         * subr.el (functionp): Make work correctly for macros and unbound
23180         symbols.
23182         * comint.el (comint-send-input): Fix description of
23183         `comint-process-echoes' in the doc-string.
23185 2001-11-08  Eli Zaretskii  <eliz@is.elta.co.il>
23187         * international/mule.el (make-translation-table): Doc fix.
23188         Suggested by Alex Schroeder <alex@gnu.org>.
23190 2001-11-07  Richard M. Stallman  <rms@gnu.org>
23192         * info.el (Info-fontify-node): Highlight every third menu item.
23194 2001-11-07  Per Abrahamsen  <abraham@dina.kvl.dk>
23196         * cus-edit.el (custom-face-value-create): Don't ignore the
23197         `customized-face' attribute when finding the current face spec.
23199 2001-11-07  Stefan Monnier  <monnier@cs.yale.edu>
23201         * subr.el (with-local-quit): New macro.
23202         (make-syntax-table): Always inherit.
23203         (functionp): Be more careful when `object' is a symbol.
23205         * dabbrev.el (dabbrev-completion): Use "*Completions*".
23207 2001-11-07  Paul Eggert  <eggert@twinsun.com>
23209         * dired.el (dired-move-to-filename-regexp):
23210         Do not distinguish between ASCII letters and non-ASCII characters.
23211         Don't allow comma except in the form "month day, year".
23212         Don't allow space between month name and comma.
23213         Clean up the code that checks for trailing period, comma, and space.
23214         Remove now-obsolete comments, and add more commentary about
23215         Japanese dates.
23216         Always gobble up trailing spaces, instead of doing it only sometimes.
23218 2001-11-07  Miles Bader  <miles@gnu.org>
23220         * paren.el (show-paren-match-face): Add dark-background variant.
23222 2001-11-06  Stefan Monnier  <monnier@cs.yale.edu>
23224         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Paren typo.
23225         (lisp-mode-variables): Don't set paragraph-{start,separate}.
23226         Don't disable adaptive-fill-mode.
23227         (lisp-fill-paragraph): Use tab-width rather than 8.
23228         Prevent filling the first line of docstrings.
23230 2001-11-06  Richard M. Stallman  <rms@gnu.org>
23232         * play/gomoku.el (gomoku): Doc fix.
23234         * jka-compr.el (jka-compr-partial-uncompress):
23235         Support an alternative of not using dd.
23236         (jka-compr-dd-program): Use defcustom to define this.
23237         (jka-compr-load-suffixes): Use defcustom.
23238         (jka-compr-mode-alist-additions): Use defcustom.
23240 2001-11-06  Stefan Monnier  <monnier@cs.yale.edu>
23242         * font-lock.el (font-lock-match-c-style-declaration-item-and-skip-to-next):
23243         Also work when LIMIT is further than the end of line.
23245 2001-11-06  Eli Zaretskii  <eliz@is.elta.co.il>
23247         * international/quail.el (quail-update-leim-list-file): Print the
23248         offending file name if some of its quail-define-package forms is broken.
23250 2001-11-05  Richard M. Stallman  <rms@gnu.org>
23252         * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Return the value
23253         of the evaluated form.
23255 2001-11-05  Paul Eggert  <eggert@twinsun.com>
23257         * ls-lisp.el (ls-lisp-time-to-seconds): New function.
23258         (ls-lisp-format-time): Emulate GNU fileutils 4.1.1 ls, whose time
23259         stamps always line up by default.  Also, it uses a slightly
23260         different window to determine whether files are "recent".
23262 2001-11-05  Andrew Innes  <andrewi@gnu.org>
23264         * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
23265         Don't attempt to remake autoloads before nuking .elc files.
23267 2001-11-04  Richard M. Stallman  <rms@gnu.org>
23269         * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Cope if
23270         previous-single-property-change or next-single-char-property-change
23271         returns nil.
23273         * international/mule-cmds.el (set-locale-environment):
23274         Make it interactive; make arg optional.
23276         * international/mule-diag.el (help-funs): Require help-funs.
23278 2001-11-04  Eli Zaretskii  <eliz@is.elta.co.il>
23280         * term/internal.el (term-setup-hook): Add IT-setup-unicode-display.
23282 2001-11-04  Miles Bader  <miles@gnu.org>
23284         * startup.el (fancy-splash-head): Reapply Gerd's hack to make the
23285         shadow of the splash image grey on a dark background instead of black.
23287 2001-11-03  Stefan Monnier  <monnier@cs.yale.edu>
23289         * term.el (all faces): Don't (copy-face 'default <foo>).
23291         * term/xterm.el (function-key-map):
23292         Add entry for `ESC [ 3 ~' -> <delete>
23293         Add entries `ESC O 5 [ABCD]' -> C-{up,down,right,left}.
23294         Use inheritance so that .emacs and terminfo take precedence.
23296 2001-11-03  Eli Zaretskii  <eliz@is.elta.co.il>
23298         * tooltip.el (tooltip-delay): Decrease to 0.7.
23299         (tooltip-hide-delay): Enlarge to 10.
23301 2001-11-03  Richard M. Stallman  <rms@gnu.org>
23303         * startup.el (fancy-splash-tail): Explain how to recover
23304         from a crash, if there was a crash.
23305         (command-line-1): Reorganize display of startup screen,
23306         to simplify the logic.  Use a temp buffer for it.
23308 2001-11-03  Eli Zaretskii  <eliz@is.elta.co.il>
23310         * frame.el (set-background-color, set-foreground-color):
23311         Call face-set-after-frame-default, to propagate the new colors to
23312         the frame's parameters alist.
23314         * calendar/timeclock.el (timeclock-out): Signal an error if
23315         timeclock-last-event is nil.
23317 2001-11-02  Stefan Monnier  <monnier@cs.yale.edu>
23319         * textmodes/fill.el (fill-context-prefix): Fix braino.
23321         * international/quail.el (quail-help):
23322         Use `help-buffer' and move `help-setup-xref' to beginning.
23324         * international/mule-cmds.el (describe-language-environment):
23325         Use `help-buffer' and move `help-setup-xref' to beginning.
23327         * international/mule-diag.el (list-character-sets)
23328         (sort-listed-character-sets, describe-character-set)
23329         (describe-coding-system, describe-fontset, list-fontsets):
23330         Use `help-buffer' and move `help-setup-xref' to beginning.
23331         (describe-char-after): Use `internal-describe-syntax-value'.
23333 2001-11-02  Richard M. Stallman  <rms@gnu.org>
23335         * mouse.el (popup-menu): If the user refuses to select
23336         from a menu, don't try to invoke the menu.
23338 2001-11-02  Miles Bader  <miles@gnu.org>
23340         * help-mode.el (help-xref): New button type.
23341         (help-function, help-variable, help-face, help-coding-system)
23342         (help-input-method, help-character-set, help-type, help-symbol)
23343         (help-back, help-info, help-customize-variable, help-customize-face)
23344         (help-function-def, help-variable-def): Use it as a supertype.
23345         Remove `action' property.
23347         * international/mule-diag.el (describe-character-set)
23348         (describe-coding-system): Pass correct args to `help-xref-button'.
23349         (sort-listed-character-sets): New button type.
23350         (list-character-sets): Use it.
23351         (list-charset-chars): New button type.
23352         (list-character-sets-1): Use it.
23354 2001-11-01  Stefan Monnier  <monnier@rum.cs.yale.edu>
23356         * indent.el (tab-always-indent, indent-for-tab-command):
23357         Remove redundant `never' setting.
23359         * fill.el (fill-region-as-paragraph): Don't forget to skip
23360         over current whitespace before looking for a preceding space.
23362 2001-11-01  Richard M. Stallman  <rms@gnu.org>
23364         * files.el (file-newest-backup): Don't pass backup file name
23365         thru file-name-sans-versions, because it never has version numbers.
23367         * textmodes/sgml-mode.el (sgml-xml-guess): Fix regexp
23368         to avoid ambiguous nested loops.
23370         * files.el (find-file-noselect): Offer to change buffer-read-only
23371         only when the file's read-only status has changed from before
23372         as well as disagreeing with the buffer's current status.
23373         (buffer-file-read-only): New var, local in all buffers.
23375         * buff-menu.el (buffer-menu): Doc fix.
23376         (buffer-menu-other-window): Doc fix.
23377         (list-buffers, list-buffers-noselect): Doc fix.
23379 2001-11-01  Gerd Moellmann  <gerd@gnu.org>
23381         * startup.el (command-line): If the terminal Emacs is running on
23382         has erase char set to ^H, use the Backspace key for deleting
23383         backward, and the Delete key for deleting forward.
23385 2001-11-01  Miles Bader  <miles@gnu.org>
23387         * button.el (define-button-type): Make sure every user-defined
23388         button type has a supertype.
23390 2001-10-31  Jason Rumney  <jasonr@gnu.org>
23392         * international/mule-cmds.el (locale-language-names): Add chs and
23393         cht as aliases for Chinese-GB and Chinese-BIG5.
23395 2001-10-31  Richard M. Stallman  <rms@gnu.org>
23397         * bindings.el (mode-line-frame-identification): Add doc string.
23398         (mode-line-position, mode-line-modes): New variables.
23399         (mode-line-format): Use mode-line-position for the part
23400         that displays the position-in-buffer info.
23401         Use mode-line-modes for the part that displays major and minor modes.
23403 2001-10-31  Sam Steingold  <sds@gnu.org>
23405         * emacs-lisp/debug.el (debugger-make-xrefs): New function.
23406         (debugger-setup-buffer): Call it.
23407         (debugger-mode-map): Bind RET and mouse-2.
23409 2001-10-31  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
23411         * startup.el: Document command line option --no-window-system
23412         instead of --no-windows.
23414 2001-10-30  Stefan Monnier  <monnier@cs.yale.edu>
23416         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip.
23418         * font-lock.el (java-font-lock-syntactic-face-function): New fun.
23419         (font-lock-defaults-alist): Use it.
23420         From David Ponce <david.ponce@wanadoo.fr>
23422         * progmodes/perl-mode.el (perl-indent-line): Use `eq' to compare
23423         output of `char-after'.
23425         * bindings.el (ctl-x-map): Add binding for C-x (, C-x ) and C-x e.
23427         * simple.el (reindent-then-newline-and-indent): Insert the newline
23428         before indenting the first line.
23429         (undo-get-state, undo-revert-to-state): New funs.
23430         (shell-command): Don't kill the buffer even if empty.
23431         (transpose-subr-start1, transpose-subr-start2, transpose-subr-end1)
23432         (transpose-subr-end2): Remove.
23433         (transpose-subr): Add `special' arg and simplify.
23434         (transpose-subr-1): Rewrite.
23435         (do-auto-fill): Use fill-indent-according-to-mode and fill-nobreak-p.
23436         (rfc822-goto-eoh): Simplify.
23438 2001-10-30  Richard M. Stallman  <rms@gnu.org>
23440         * enriched.el (enriched-face-ans): Fix previous change.
23442 2001-10-30  Gerd Moellmann  <gerd@gnu.org>
23444         * international/iso-acc.el (iso-accents-compose): Remove a
23445         superfluous setq.
23447 2001-10-30  Eli Zaretskii  <eliz@is.elta.co.il>
23449         * buff-menu.el (list-buffers-noselect): If the buffer's name
23450         starts with a blank, but it visits a file, do show it (for files
23451         whose names start with a blank).
23453 2001-10-30  Stefan Monnier  <monnier@cs.yale.edu>
23455         * textmodes/fill.el (sentence-end-double-space)
23456         (sentence-end-without-period): Move to paragraphs.el.
23457         (fill-indent-according-to-mode): Change default to t.
23458         (fill-context-prefix): Simplify control-flow and use a more
23459         sophisticated merge that unifies both previous checks.
23460         (fill-single-word-nobreak-p, fill-french-nobreak-p): New funs.
23461         (fill-nobreak-predicate): Make it into a defcustom'd hook.
23462         (fill-nobreak-p): New fun.
23463         (fill-region-as-paragraph): Use it.
23464         Handle `fill-indent-according-to-mode' slightly differently.
23465         (fill-individual-paragraphs-prefix): Simplify the control-flow.
23466         (fill-individual-paragraphs-citation): Fix.
23468         * textmodes/paragraphs.el (use-hard-newlines): Use define-minor-mode.
23469         (paragraph-start): Change default to the `text-mode' value.
23470         (sentence-end-double-space, sentence-end-without-period):
23471         Move from fill.el.
23472         (forward-paragraph): Use `parstart' and `parsep' for temp variables
23473         rather than rebinding `paragraph-start' and `paragraph-separate'.
23475         * indent.el (indent-line-function): Change default to indent-relative.
23476         (tab-always-indent): Add an `never' setting.
23477         (indent-according-to-mode): Handle `indent-relative' and
23478         `indent-relative-maybe' specially.
23479         (indent-for-tab-command): Rename `prefix-arg' to `arg'.
23480         Handle the `never' case for `tab-always-indent'.
23481         Don't call indent-according-to-mode for indent-relative' and
23482         `indent-relative-maybe'.
23483         (insert-tab): Rename `prefix-arg' to `arg'.
23484         (indent-region): Indent the first line as well.
23485         (indent-relative): Don't mark the buffer modified if the indentation
23486         is unchanged.
23488         * textmodes/text-mode.el (paragraph-indent-minor-mode):
23489         Don't set paragraph-separate.  Set paragraph-start more carefully.
23490         Set indent-line-function.
23491         (paragraph-indent-text-mode): Use it and define-derived-mode.
23492         (text-mode-map): Remove the \t binding.
23493         (text-mode): Simplify now that the default is more favorable.
23495 2001-10-29  Stefan Monnier  <monnier@cs.yale.edu>
23497         * emacs-lisp/find-func.el (find-function-search-for-symbol):
23498         If the regexp doesn't match, use a looser one.
23499         (find-variable-noselect): Add `file' argument.
23501         * pcvs.el (cvs-mode-commit-hook): New hook.
23502         (cvs-mode-commit): Run it.
23504         * log-edit.el (log-edit): Run hook after `log-edit-files'.
23506         * emacs-lisp/edebug.el (delay-mode-hooks): Add edebug-spec.
23507         (edebug-instrument-function): Use `find-function-noselect'.
23509 2001-10-29  Richard M. Stallman  <rms@gnu.org>
23511         * term.el (term-if-emacs19): Macro deleted.
23512         Callers changed to use progn instead.
23514         * frame.el (blink-cursor-mode): Doc fix.
23516         * files.el (find-backup-file-name): Use make-backup-file-name.
23518         * emacs-lisp/edebug.el (edebug-window-live-p): Always alias to
23519         window-live-p.
23520         (edebug-set-conditional-breakpoint): Unconditionally use
23521         the former Emacs >=19 definition.
23522         (edebug-mark): Define unconditionally.
23523         (edebug-eval-expression): Always call read-from-minibuffer
23524         and specify history list.
23525         (edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p,
23526         edebug-set-conditional-breakpoint.
23527         (edebug-emacs-version-specific): Function deleted;
23528         do the job at top level.
23529         (edebug-emacs-19-specific): Function deleted, this is the default.
23531 2001-10-29  Sam Steingold  <sds@gnu.org>
23533         * w32-fns.el (convert-standard-filename): Handle cygwin-specific
23534         "/cygdrive/LETTER/" pathnames.
23536 2001-10-29  Eli Zaretskii  <eliz@is.elta.co.il>
23538         * faces.el (invert-face): Check for 'unspecified, not for nil,
23539         when testing whether face colors are not specified.
23540         From David.Kastrup@t-online.de (David Kastrup).
23541         (read-face-name): Doc fix.
23542         (make-face-bold, make-face-unbold, make-face-italic)
23543         (make-face-unitalic, make-face-bold-italic, invert-face):
23544         Remove trailing blank from the prompt passed to read-face-name.
23546 2001-10-29  Sam Steingold  <sds@gnu.org>
23548         * emacs-lisp/bytecomp.el (byte-recompile-directory):
23549         Report numbers of files skipped and failed too.
23550         (byte-compile-file): Return 'no-byte-compile for skipped files.
23552 2001-10-29  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
23554         * log-view.el (log-view-mode-map): Bind `M-n' and `M-p', not `M n'
23555         and `M p'.
23557 2001-10-29  Gerd Moellmann  <gerd@gnu.org>
23559         * international/iso-acc.el (iso-accents-compose): Push SECOND-CHAR
23560         as is on unread-command-events instead of `(SECOND-CHAR)'.
23562 2001-10-29  Andre Spiegel  <spiegel@gnu.org>
23564         * vc.el: Mention vc-*-switches in backend API documentation.
23565         (vc-annotate): Adapt doc string to recent change.
23567 2001-10-29  Gerd Moellmann  <gerd@gnu.org>
23569         * enriched.el (enriched-face-ans): Handle face attributes
23570         of the form `(FACE1 FACE2 ...)'.
23572         * dired-x.el (dired-omit-startup): Show ``Omit'' only in Dired buffers.
23574 2001-10-29  Alex Schroeder  <kensanata@yahoo.com>
23576         * progmodes/sql.el (sql-mysql): Doc change by RMS.
23578         * progmodes/sql.el (sql-db2): Doc change.
23579         (sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
23580         (sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.
23582 2001-10-29  Gerd Moellmann  <gerd@gnu.org>
23584         * env.el (substitute-env-vars): Don't quote argument to `rx';
23585         it's a macro.
23587 2001-10-28  Per Abrahamsen  <abraham@dina.kvl.dk>
23589         * cus-start.el (recursive-load-depth-limit): Added.
23591 2001-10-28  Richard M. Stallman  <rms@gnu.org>
23593         * textmodes/ispell.el (version18p, version20p): Vars deleted.
23594         All uses removed--assume Emacs version is >= 20.
23596         * mail/supercite.el (sc-emacs-features): Test for "Emacs 19"
23597         by really checking that it is not version 18.
23599         * emacs-lisp/lisp-mode.el (eval-defun): Doc fix.
23601 2001-10-28  Miles Bader  <miles@gnu.org>
23603         * faces.el (face-attribute): Add INHERIT argument, consider face
23604         inheritance if it's non-nil.
23605         (face-attribute-merged-with): New function.
23606         (face-attribute-specified-or): New macro.
23607         (face-foreground, face-background, face-stipple): Add INHERIT
23608         argument.  Use `face-attribute-specified-or'.
23610 2001-10-28  Stefan Monnier  <monnier@cs.yale.edu>
23612         * font-lock.el: Require `syntax'.
23613         (font-lock-defaults-alist): Don't define keywords for lisp languages.
23614         Use `c-font-lock-syntactic-face-function' for c languages.
23615         (font-lock-mode): Don't unset vars when turning the mode off.
23616         (font-lock-default-fontify-buffer): Don't unset vars at the end.
23617         (font-lock-extra-managed-props): New var.
23618         (font-lock-default-unfontify-region): Use it.
23619         (font-lock-apply-syntactic-highlight): Flush the syntax cache.
23620         Don't eval the value when there's no match.
23621         (font-lock-ppss-stats): New var.
23622         (font-lock-ppss): New fun.
23623         (font-lock-fontify-syntactically-region): Use it and syntax.ppss.
23624         (font-lock-apply-highlight): Allow `highlight' to set several props.
23625         (font-lock-set-defaults): Use dolist.
23626         (font-lock-unset-defaults): Remove.
23627         (font-lock-match-c-style-declaration-item-and-skip-to-next):
23628         Try to recognize prototypes using `foo P_ ((args))'.
23629         ({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst.
23630         (c-font-lock-keywords-2): Fix last change to still use Anders' trick.
23631         (c-font-lock-syntactic-face-function): New function.
23632         (font-lock-match-c++-style-declaration-item-and-skip-to-next)
23633         (c++-keywords): Use a more sophisticated regexp to handle
23634         shallowly nested templates.
23636 2001-10-27  Stefan Monnier  <monnier@cs.yale.edu>
23638         * textmodes/sgml-mode.el (sgml-empty-tags): New var.
23639         (sgml-tag): Use it.  Cleanup with `cond'.
23640         (sgml-tags-invisible): Make sgml-tags-invisible buffer-local.
23641         Mark the overlays and only delete those that are marked.
23642         (sgml-skip-close-p): Remove.
23643         (sgml-value): Replace sgml-skip-close-p with its definition.
23644         (html-tag-alist): Use sgml-xml a bit more.
23645         (html-mode): Set sgml-empty-tags.
23647         * textmodes/texnfo-upd.el: Use `when', `dolist', `push', ...
23648         (texinfo-update-node, texinfo-sequential-node-update):
23649         Don't bind the obsolete `auto-fill-hook'.
23650         (texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list):
23651         Use `set-buffer' rather than `switch-to-buffer'.
23652         (texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
23653         Use `set-buffer' rather than `switch-to-buffer'.
23655         * mail/sendmail.el (mail-mode-syntax-table): Let it inherit from
23656         text-mode-syntax-table.
23657         (mail-mode): Use define-derived-mode.
23658         Fix ordering of alternatives in adaptive-fill-regexp.
23659         (mail-mode-map): Don't rely on keymap's internal representation.
23661 2001-10-27  Sam Steingold  <sds@gnu.org>
23663         * textmodes/sgml-mode.el (sgml-xml): Renamed from `html-xhtml'.
23664         (sgml-xml-guess): Extracted from `html-mode' and generalized.
23665         (sgml-mode-common): Call it.
23666         (sgml-mode, html-mode): Set `mode-name' based on `sgml-xml'.
23667         (sgml-tag, sgml-skip-close-p, html-tag-alist, html-line)
23668         (html-horizontal-rule, html-image, html-ordered-list):
23669         (html-unordered-list, html-list-item, html-paragraph):
23670         (html-checkboxes, html-radio-buttons): Use `sgml-xml' instead of
23671         `html-xhtml'.
23673 2001-10-26  Masayuki Ataka  <ataka@milk.freemail.ne.jp>
23675         * textmodes/texinfmt.el (texinfo-format-ifnotinfo): New function.
23676         (ifnothtml): New alias.
23678 2001-10-27  Stefan Monnier  <monnier@cs.yale.edu>
23680         * textmodes/text-mode.el (text-mode): Use define-derived-mode.
23681         (toggle-text-mode-auto-fill): Use derived-mode-p.
23683 2001-10-27  Gerd Moellmann  <gerd.moellmann@t-online.de>
23685         * net/ange-ftp.el (ange-ftp-send-cmd): Call fix-name-func for
23686         `mdtm'.  From "Forrest Cahoon" <forrest.cahoon@merrillcorp.com>.
23688 2001-10-26  Eli Zaretskii  <eliz@is.elta.co.il>
23690         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
23691         Add make-obsolete cookies, to follow faces.el.
23693         These changes avoid warnings from the byte compiler in faces.el:
23695         * faces.el (internal-get-face): Use facep instead of the obsolete
23696         internal-find-face.
23697         (internal-frob-font-weight, internal-frob-font-slant):
23698         New defaliases for obsolete functions.
23699         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
23700         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
23701         (x-make-font-bold-italic): Use internal-frob-font-weight and
23702         internal-frob-font-slant aliases instead of the obsolete
23703         x-frob-... functions.
23705 2001-10-26  Sam Steingold  <sds@gnu.org>
23707         * textmodes/sgml-mode.el (html-mode): Set `html-xhtml' from the
23708         DOCTYPE; set `mode-name' based on it.
23709         (html-tag-alist): Use `html-xhtml' for "li", "dt" and "dd".
23710         (sgml-tag): Close empty tags in XHTML.
23712 2001-10-26  Jason Rumney  <jasonr@gnu.org>
23714         * w32-fns.el: (w32-charset-info-alist): Use ANSI for iso10646-1
23715         when UNICODE is not defined.
23717 2001-10-26  Sam Steingold  <sds@gnu.org>
23719         * font-lock.el (c-font-lock-keywords-2): Do not require labels to
23720         be alone on the line.
23722 2001-10-26  Eli Zaretskii  <eliz@is.elta.co.il>
23724         * button.el (button): Special face definition for MS-DOS terminals.
23726 2001-10-26  Sam Steingold  <sds@gnu.org>
23728         * progmodes/sh-script.el (sh-font-lock-syntactic-keywords):
23729         Protect the /= test by checking that the args are non-nil.
23730         (sh-font-lock-close-heredoc): Check eof for being non-nil.
23732 2001-10-26  Tomas Abrahamsson  <tab@lysator.liu.se>
23734         * textmodes/artist.el (artist-version): 1.2.4.
23735         (artist-butlast-fn): New variable.
23736         (artist-butlast): New function.
23737         (artist-ellipse-mirror-quadrant): Use it.
23738         (artist-mouse-draw-poly): Use nil for `point-list'.
23739         (artist-mouse-draw-poly): Check for point-list being nil.
23741 2001-10-26  Peter Kleiweg  <kleiweg@let.rug.nl>
23743         * progmodes/ps-mode.el (ps-mode-print-function): Remove quote for
23744         lambda expression.
23745         (ps-mode-menu-main): Submenu with options on/off was replaced with
23746         a toggle button.
23747         (ps-mode, ps-run-mode): Define with `define-derived-mode'
23748         (ps-mode): Autoload cookie added on same line as comment
23749         (ps-mode-tabkey, ps-mode-backward-delete-char):
23750         (ps-mode-r-balance): Replace `delete-horizontal-space' and
23751         `indent-to' with `indent-line-to'
23752         (ps-mode-print-buffer, ps-mode-print-region): Use `funcall'
23753         instead of `eval'.
23754         (ps-mode-print-region): Use `with-temp-buffer'.
23755         (ps-run-start): Use of `mapconcat'.  Use `apply' instead of `eval'.
23756         (numerous places): Add back-tick and tick around names in
23757         docstrings, fix punctuation in docstrings, remove trailing spaces.
23759 2001-10-25  Stefan Monnier  <monnier@cs.yale.edu>
23761         * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Ignore comments.
23762         (sgml-font-lock-keywords-2): Use `eval'.  Moved from sgml-mode-common.
23763         (sgml-font-lock-syntactic-keywords): New var.
23764         (sgml-mode-common): Drop the two args.
23765         Don't make buffer-local variables that aren't used.
23766         Don't set sgml-font-lock-keywords-2 now that it uses `eval instead.
23767         Don't set `before-string' props from sgml-display-text.
23768         (sgml-mode): Use define-derived-mode.
23769         (sgml-tags-invisible): Use sgml-display-text.
23770         (sgml-quote): New command.
23771         (html-tag-alist): Add args for `span'.
23772         (html-mode): Use define-derived-mode.
23773         Set sgml-display-text and sgml-tag-face-alist.
23775 2001-10-25  Sam Steingold  <sds@gnu.org>
23777         * add-log.el (add-log-always-start-new-record): New user option.
23778         (add-change-log-entry): Use it.
23780 2001-10-25  Richard M. Stallman  <rms@gnu.org>
23782         * progmodes/etags.el (tags-query-replace): Make tags-loop-scan
23783         bind case-fold-search if FROM is not all lower case.
23785 2001-10-25  Gerd Moellmann  <gerd@gnu.org>
23787         * startup.el (normal-top-level): Check for frame-initial-frame
23788         only if it's really used.
23790         * mail/mh-utils.el (mh-recenter): Call recenter with arg `(4)'.
23792         * progmodes/compile.el (compilation-parse-errors-filename-function):
23793         New variable.
23794         (compilation-parse-errors): Use it.
23796 2001-10-25  Stefan Monnier  <monnier@cs.yale.edu>
23798         * emacs-lisp/checkdoc.el (checkdoc-eval-defun): Call eval-defun
23799         interactively so that C-u M-C-x still does edebug.
23800         (checkdoc-sentencespace-region-engine): Don't force a double-space
23801         after `.' if it doesn't look like an end-of-sentence.
23802         (debug-ignored-errors): Add `disambiguate ...'.
23804 2001-10-24  Stefan Monnier  <monnier@cs.yale.edu>
23806         * textmodes/texinfo.el (texinfo-environments)
23807         (texinfo-environment-regexp): Hoist.
23808         (texinfo-font-lock-keywords): Use `italic' and `bold' faces.
23809         Only highlight the menu name in menu items.
23810         Setup `@foo ... @end foo' as text clones.
23811         (texinfo-clone-environment): New function.
23812         (texinfo-mode): Simplify auto-fill-inhibit-regexp.
23813         (texinfo-insert-block): Simplify.
23814         (texinfo-insert-quote): Insert a plain " if preceded by \ or if
23815         the command is repeated.
23816         (texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs.
23817         (texinfo-insert-@end): Simplify.
23819         * textmodes/texnfo-upd.el (texinfo-section-types-regexp)
23820         (texinfo-section-level-regexp, texinfo-subsection-level-regexp)
23821         (texinfo-subsubsection-level-regexp)
23822         (texinfo-update-menu-same-level-regexps)
23823         (texinfo-update-menu-higher-regexps)
23824         (texinfo-update-menu-lower-regexps): Hoist to eliminate warnings.
23826         * derived.el (define-derived-mode): Use {delay,run}-mode-hooks.
23827         (derived-mode-p): Autoload.
23829         * subr.el (delay-mode-hooks, delayed-mode-hooks, run-mode-hooks):
23830         New vars and functions.
23831         (text-clone-maintain, text-clone-create): New functions.
23833 2001-10-25  Miles Bader  <miles@gnu.org>
23835         * facemenu.el (facemenu-add-new-face): Fix variable names.
23837 2001-10-24  Richard M. Stallman  <rms@gnu.org>
23839         * facemenu.el (facemenu-unlisted-faces): Improve doc strings
23840         of t and nil values.
23841         (facemenu-set-face): Handle START and END interactively.
23842         (facemenu-set-foreground): Don't use a face; specify color directly.
23843         (facemenu-set-background): Likewise.
23844         (facemenu-set-face-from-menu): Doc fix.
23845         (facemenu-active-faces): Use face-attribute-vector
23846         to handle bare attributes not in faces.
23847         (facemenu-get-face): Don't handle face names fg:... and bg:...
23848         specially.
23849         (facemenu-add-new-face): New argument MENU.
23850         New way to handle adding colors to the color menus.
23852         * env.el (substitute-env-vars): Quote the arg to rx.
23854 2001-10-24  Sam Steingold  <sds@gnu.org>
23856         * mouse.el (mouse-buffer-menu-mode-groups): Added "Version
23857         Control" and "SGML" groups.
23859 2001-10-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
23861         * progmodes/cc-engine.el (c-beginning-of-member-init-list):
23862         Better handling of C++ template args to avoid confusion with `<'
23863         and `>' used as operators in member init expressions.
23865 2001-10-24  Gerd Moellmann  <gerd@gnu.org>
23867         * replace.el (perform-replace): Move START and END parameters
23868         to the end of the argument list and make them optional.
23870         * progmodes/ebrowse.el, progmodes/etags.el: Adapt to change in
23871         perform-replace.
23873         * international/fontset.el (x-must-resolve-font-name): New function.
23874         (x-complement-fontset-spec): Use it.
23876 2001-10-23  Stefan Monnier  <monnier@cs.yale.edu>
23878         * uniquify.el (uniquify-get-proposed-name): Fix (.. "usr" "/usr" 0).
23880         * progmodes/compile.el (compile-mouse-goto-error, compile-goto-error):
23881         Turn caadr into caar of cdr.
23883 2001-10-23  Gerd Moellmann  <gerd@gnu.org>
23885         * info.el (Info-fontify-node): Bind down-mouse-{1,2} instead
23886         of mouse-{1,2} since dragging is on the down event.
23888         * play/doctor.el (make-doctor-variables): Remove a '($ please)'.
23890         * mail/mh-utils.el (mh-recenter): Call `recenter' with arg t
23891         if ARG is nil.
23893         * desktop.el (desktop-last-buffer): New variable.
23894         (desktop-create-buffer): Set it.
23895         (desktop-read): Bind it and switch to that buffer.
23897 2001-10-22  Gerd Moellmann  <gerd@gnu.org>
23899         * progmodes/compile.el (compilation-set-window-height):
23900         Select old window only if it's still live.
23902 2001-10-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
23904         * help-mode.el (help-buffer): Remove debugging code.
23905         From Stefan Monnier <monnier@cs.yale.edu>.
23907 2001-10-22  Eli Zaretskii  <eliz@is.elta.co.il>
23909         * files.el (file-name-sans-extension, file-name-extension):
23910         Don't count the leading dots in file names as signaling an extension.
23912 2001-10-22  Andre Spiegel  <spiegel@gnu.org>
23914         * vc.el (vc-diff-switches): Doc rewritten.
23916 2001-10-22  Eli Zaretskii  <eliz@is.elta.co.il>
23918         * tooltip.el (tooltip-set-param): Doc fix.
23920         * textmodes/sgml-mode.el (sgml-mode-map): Bind 8-bit codes above
23921         127 to sgml-maybe-name-self.
23922         (sgml-name-8bit-mode): Doc fix.
23923         (sgml-char-names-table): New variable.
23924         (sgml-name-char): Support non-ASCII and mule-unicode-*
23925         characters.  Doc fix.
23926         (sgml-maybe-name-self): Convert unibyte characters to multibyte.
23928         * tooltip.el (tooltip-x-offset, tooltip-y-offset): Mention in the
23929         doc string the effect of `left' and `top' parameters in
23930         tooltip-frame-parameters, the default values, and the units.
23931         (tooltip-frame-parameters): Mention `top' and `left' in the doc string.
23932         (tooltip-show): Mention in the doc string the `top' and `left'
23933         parameters in tooltip-frame-parameters, and x-max-tooltip-size.
23935 2001-10-22  Andre Spiegel  <spiegel@gnu.org>
23937         Add autoscaling support for vc-annotate.
23938         From J.D. Smith <jdsmith@alum.mit.edu>.
23940         * vc.el (vc-annotate-display-default): Accept colormap scaling
23941         ratio (now deprecated).
23942         (vc-annotate-display-autoscale): Added.
23943         (vc-annotate-add-menu): New autoscaling menu options "Span to
23944         Oldest" and "Span Oldest->Newest".  Easymenu support added for
23945         toggle menus driven by customize variable `vc-annotate-display-mode'.
23946         (vc-annotate-display-select): Added.
23947         (vc-annotate): Changed temp-buffer-show-function to
23948         `vc-annotate-display-select'.
23949         (vc-annotate-display): Removed arguments BUFFER and BACKEND.
23950         Added argument OFFSET.  Instead of backend function, calls now
23951         generic `vc-annotate-difference'.
23952         (vc-annotate-difference): Added as generic function instead of
23953         backend-specific function.  No longer takes argument POINT, but
23954         instead accepts a time OFFSET.
23955         (vc-default-annotate-current-time): Added.
23957         * vc-cvs.el (vc-cvs-annotate-difference): Removed to generic
23958         version in vc.el, with
23959         (vc-cvs-annotate-current-time): Added, as override of default.
23960         (vc-cvs-annotate-time): Added.  Taken mostly from the (now removed)
23961         `vc-cvs-annotate-difference'.
23963 2001-10-22  Gerd Moellmann  <gerd@gnu.org>
23965         * saveplace.el (save-place): Require `saveplace'.
23967         * progmodes/cwarn.el (cwarn-font-lock-feature-keywords-alist):
23968         Use `sexp' for :value-type instead of `face'.
23970 2001-10-21  Eli Zaretskii  <eliz@is.elta.co.il>
23972         * mail/rmailsum.el (rmail-summary-font-lock-keywords): Fix the
23973         regexps due to 5-digit message IDs.
23975 2001-10-21  Jason Rumney  <jasonr@gnu.org>
23977         * term/w32-win.el (redisplay-dont-pause): Don't set.
23979 2001-10-21  Miles Bader  <miles@gnu.org>
23981         * help-funs.el (help-manyarg-func-alist): Variable removed.
23983 2001-10-21  Miles Bader  <miles@gnu.org>
23985         * help-funs.el (help-manyarg-func-alist): Remove entries for
23986         `insert', `insert-and-inherit', `insert-before-markers',
23987         `insert-before-markers-and-inherit', `message', `message-box',
23988         `message-or-box', `propertize', `format', `encode-time', `append',
23989         `concat', `vconcat', `nconc', `widget-apply', `make-hash-table',
23990         `insert-string', `ml-if', `ml-provide-prefix-argument', and
23991         `ml-prefix-argument-loop'.
23993 2001-10-21  Andre Spiegel  <spiegel@gnu.org>
23995         * vc.el (vc-diff-internal, vc-coding-system-for-diff)
23996         (vc-default-diff-tree): New functions.
23997         (vc-version-diff): Use them.  As a result, coding systems are now
23998         set up properly for all sorts of diffs, and tree diffs can now
23999         also be done locally.
24000         (vc-diff): With a prefix argument, don't require that it's called
24001         from a buffer under version control.
24002         (diff-switches): Remove duplicate definition.
24004         * vc-cvs.el (vc-cvs-diff-tree): New function.
24006 2001-10-21  Miles Bader  <miles@gnu.org>
24008         * help-funs.el (help-manyarg-func-alist): Remove entries for
24009         `list', `vector', `make-byte-code', `call-process',
24010         `call-process-region', `string', `+', `-', `*', `/', `max', `min',
24011         `logand', `logior', and `logxor'.
24013         * wid-edit.el (checkbox): Swap bg/fg colors in image, and invert
24014         image bits to compensate.  Use `make-string' instead of
24015         `make-bool-vector' (XBM apparently wants byte-aligned rows).
24017 2001-10-20  Kim F. Storm  <storm@cua.dk>
24019         * simple.el (kill-ring-save): Don't show extent of copied region
24020         if using transient-mark-mode and region is fully visible.
24022 See ChangeLog.9 for earlier changes.
24024 ;; Local Variables:
24025 ;; coding: iso-2022-7bit
24026 ;; End:
24028     Copyright (C) 2001, 2002 Free Software Foundation, Inc.
24029   Copying and distribution of this file, with or without modification,
24030   are permitted provided the copyright notice and this notice are preserved.