* pcvs.el (cvs-do-removal): Use = instead of eq to check
[emacs.git] / lisp / ChangeLog
blob7dbe7425530600614f6b4d23c5423b5ece6fec58
1 2003-08-31  Masatake YAMATO  <jet@gyve.org>
3         * pcvs.el (cvs-do-removal): Use = instead of eq to check
4         the numbre of files. Bind the numbre of files to a a local
5         variable. Suggestd by Kevin Rodgers <ihs_4664@yahoo.com>.
7 2003-08-30  Eli Zaretskii  <eliz@elta.co.il>
9         * vc-hooks.el (vc-make-version-backup): Fix the change made on
10         2003-07-26: msdos-long-file-names is a function, not a variable.
12 2003-08-29  Richard M. Stallman  <rms@gnu.org>
14         * mail/sendmail.el (sendmail-sync-aliases, mail-setup): 
15         Do nothing with mail-personal-alias-file if it is nil.
17         * mail/mailabbrev.el (mail-abbrevs-sync-aliases):
18         Do nothing if mail-personal-alias-file is nil.
20         * term.el (term-exec-1): Bind coding-system-for-read.
22         * dired.el (dired-mouse-find-file-other-window): 
23         Use dired-view-command-alist here, as in dired-view-file.
24         (dired-view-command-alist): Use %s to substitute file name.
25         Handle .ps_pages, .eps, .jpg, .gif, .png.
27 2003-08-29  Paul Pogonyshev  <pogonyshev@gmx.net>
29         * info.el (Info-mode-map): Bind S-tab and <backtab> to
30         `Info-prev-reference', instead of M-tab.
32 2003-08-29  Martin Stjernholm  <mast@lysator.liu.se>
34         * simple.el (blink-matching-open): Work correctly on chars that
35         are designated as parens through the syntax-table text property.
37 2003-08-29  Thierry Emery <thierry.emery@club-internet.fr>  (tiny change)
39         * kinsoku.el (kinsoku-longer, kinsoku-shorter): Do not choose a
40         line break position in the middle of a non-kinsoku (e.g. latin)
41         word, making it skip until either a space or a character with
42         category "|".
43         (kinsoku-longer): Test for end of buffer.
45 2003-08-28  Eli Zaretskii  <eliz@elta.co.il>
47         * mail/rmail.el (rmail-convert-to-babyl-format): Detect
48         quoted-printable- and base64-encoded messages and decode them
49         automatically.  Set the message's encoding from the charset=
50         header, if any.  Decode base64-encoded messages in Mail format as
51         well.
53 2003-08-26  Glenn Morris  <gmorris@ast.cam.ac.uk>
55         * mail/smtpmail.el Fix previous change:
56         (smtpmail-send-queued-mail): Set smtpmail-mail-address before
57         calling smtpmail-via-smtp.
58         (smtpmail-via-smtp): Add fall-back values for envelope-from.
60 2003-08-26  John Paul Wallington  <jpw@gnu.org>
62         * image.el (image-jpeg-p): Don't search beyond length of data.
64 2003-08-26  Martin Stjernholm  <bug-cc-mode@gnu.org>
66         * progmodes/cc-cmds.el (c-electric-brace): Work around for a
67         misfeature in `expand-abbrev' which caused electric keywords like
68         "else" to disappear if an open brace was typed directly
69         afterwards.
71 2003-08-26  Martin Stjernholm  <bug-cc-mode@gnu.org>
73         * progmodes/cc-vars.el (c-extra-types-widget): The doc string is
74         mandatory in `define-widget'.
76         * progmodes/cc-align.el, progmodes/cc-langs.el (c-lineup-math):
77         Don't align the operators "!=", "<=" and ">=" as assignment
78         operators.
80         (c-assignment-operators): New language constant that only contains
81         the assignment operators.
83         (c-assignment-op-regexp): New language variable used by
84         `c-lineup-math'.
86 2003-08-26  Martin Stjernholm  <bug-cc-mode@gnu.org>
88         * progmodes/cc-engine.el (c-just-after-func-arglist-p): Safeguard
89         against unbalanced sexps.
91 2003-08-26  Terje Rosten <terjeros@phys.ntnu.no>
93         * version.el (emacs-version): Check for gtk.  Include gtk version
94         info.
96 2003-08-25  John Paul Wallington  <jpw@gnu.org>
98         * man.el (Man-default-man-entry): Don't whizz past the section
99         number before looking for it.
101 2003-08-24  Nick Roberts  <nick@nick.uklinux.net>
103         * progmodes/gud.el (gud-display-line): Don't set window-point if
104         source buffer is not visible. (Only happens with M-x gdba).
106         * gdb-ui.el (gdba): Remove gdb-quit (previously removed) from
107         documentation.
108         (gdb-source, gdb-source-info): Update to assembler unnecessary
109         as its done after each GDB command anyway.
110         (gdb-pre-prompt): Use with-current-buffer.
111         (gdb-insert-field): Add help-echo text.
112         (gdb-invalidate-assembler): Re-display of assembler now done in
113         gdb-info-breakpoints-custom.
114         (gdb-info-breakpoints-custom): Force re-display of assembler to
115         happen *after* update of breakpoints buffer.
116         (gdb-display-source-buffer): Don't choke if gdb-source-window
117         isn't visible.
118         (gdb-put-string, gdb-put-arrow): Remove free variables.
120 2003-08-24  John Paul Wallington  <jpw@gnu.org>
122         * ibuffer.el (ibuffer-formats): Make name and size columns wider.
124         * man.el (Man-default-man-entry): Strip text properties when
125         snarfing parts of entry because `format' preserves properties.
127 2003-08-24  Glenn Morris  <gmorris@ast.cam.ac.uk>
129         * files.el (file-newest-backup): Use `expand-file-name'.
131         * calendar/diary-lib.el (simple-diary-display, make-diary-entry):
132         Allow the diary to pop up a new frame, if needed.
134         * mail/sendmail.el (mail-specify-envelope-from): Doc change.    
135         * mail/smtpmail.el (smtpmail-mail-address): Doc change.
136         (smtpmail-send-it): Make treatment of envelope-from consistent with
137         sendmail.el.
139         * progmodes/sh-script.el (sh-builtins): Add some bash builtins.
140         (sh-leading-keywords): Add the bash `time' reserved word.
141         (sh-variables): Add some bash variables.
142         (sh-add-completer): Fix nil branch of case statement.
144 2003-08-24  Masatake YAMATO  <jet@gyve.org>
145         
146         * progmodes/ld-script.el: New file.
148 2003-08-23  Markus Rost  <rost@math.ohio-state.edu>
150         * vc-hooks.el (vc-ignore-vc-files, vc-master-templates): Doc fix.
152 2003-08-23  Andre Spiegel  <spiegel@gnu.org>
154         * vc-hooks.el (vc-ignore-vc-files, vc-master-templates): Better 
155         explain obsolescence, and what to use instead.
157 2003-08-23  Masatake YAMATO  <jet@gyve.org>
159         * pcvs.el (cvs-do-removal): Show the deleted file name
160         on the prompt.
162 2003-08-20  Dave Love  <fx@gnu.org>
164         * international/mule.el (make-coding-system) 
165         (set-buffer-file-coding-system): Doc fix.
167         * emacs-lisp/lisp-mode.el (common-lisp-mode): New.
169         * emacs-lisp/lisp.el (beginning-of-defun-function): Doc fix.
171         * international/utf-8.el (ucs-unicode-to-mule-cjk): Use smaller
172         :size.
174         * international/utf-16.el: Add mime-text-unsuitable coding system
175         properties.
177         * international/latin1-disp.el (latin1-display): Add ?\e$,1s"\e(B.
179         * cus-edit.el: Add some :links.
180         (bib): Remove.
182         * textmodes/bib-mode.el (bib): Add :group external.
184 2003-08-18  Luc Teirlinck  <teirllm@mail.auburn.edu>
186         * wid-edit.el (widget-echo-help): Make it handle expressions that
187         evaluate to strings.
189 2003-08-18  Michael Mauger  <mmaug@yahoo.com>
191         Version 1.8.0 of sql-mode.  (Patch submitted 2003-06-21)
193         Simplify selection of SQL products to define highlighting and
194         interactive mode.  Includes detailed instructions on adding
195         support for new products.
197         * progmodes/sql.el (sql-product): New variable.  Identifies SQL
198         product for use in highlighting and interactive mode.
199         (sql-interactive-product): New variable.  SQL product for
200         sql-interactive-mode.
201         (sql-product-support): New variable.  Specifies product-specific
202         parameters to drive highlighting and interactive mode.
203         (sql-imenu-generic-expression): Add more object types.
204         (sql-sqlite-options): Correct comment.
205         (sql-ms-program): Use "osql" rather than "isql".
206         (sql-prompt-regexp, sql-prompt-length): Update comment.
207         (sql-mode-menu): Add "Start SQLi session" entry.  Replace
208         Highlighting submenu with Product menu.  Fix Send Region entry.
209         (sql-mode-abbrev-table): Add abbreviations.  Support of
210         SYSTEM-FLAG on define-abbrev.  Support was removed with last
211         check-in; it now handles older Emacsen without the SYSTEM-FLAG.
212         (sql-mode-font-lock-object-name): Add font-lock pattern for object
213         names.
214         (sql-mode-ansi-font-lock-keywords): Set as default value.
215         (sql-mode-oracle-font-lock-keywords): Set as default value.
216         Support Oracle 9i keywords.
217         (sql-mode-postgres-font-lock-keywords): Set as default value.
218         (sql-mode-linter-font-lock-keywords): Set as default value.
219         (sql-mode-ms-font-lock-keywords): New variable.  Support Microsoft
220         SQLServer 2000.
221         (sql-mode-sybase-font-lock-keywords)
222         (sql-mode-interbase-font-lock-keywords)
223         (sql-mode-sqlite-font-lock-keywords)
224         (sql-mode-strong-font-lock-keywords)
225         (sql-mode-mysql-font-lock-keywords)
226         (sql-mode-db2-font-lock-keywords): New variables.  Default to ANSI
227         keywords.
228         (sql-mode-font-lock-defaults): Update comment.
229         (sql-product-feature): New function.  Returns feature associated
230         with a product from `sql-product-support' alist.
231         (sql-product-font-lock): New function.  Set font-lock support
232         based on `sql-product'.
233         (sql-add-product-keywords): New function.  Add font-lock rules to
234         product-specific keyword variables.
235         (sql-set-product): New function.  Set `sql-product' and apply
236         appropriate font-lock highlighting.
237         (sql-highlight-product): New function.  Set font-lock support
238         based on a product.  Also set mode name to include product name.
239         (sql-highlight-ansi-keywords, sql-highlight-oracle-keywords)
240         (sql-highlight-postgres-keywords, sql-highlight-linter-keywords):
241         Use `sql-set-product'.
242         (sql-highlight-ms-keywords)
243         (sql-highlight-sybase-keywords)
244         (sql-highlight-interbase-keywords)
245         (sql-highlight-strong-keywords)
246         (sql-highlight-mysql-keywords)
247         (sql-highlight-sqlite-keywords)
248         (sql-highlight-db2-keywords): New functions.  Use
249         `sql-set-product'.
250         (sql-get-login): Prompt in the same order as the tokens.
251         (sql-mode): Uses `sql-product-highlight' and
252         `sql-product-font-lock'.
253         (sql-product-interactive): New function.  Common portions of
254         product-specific interactive mode wrappers.
255         (sql-interactive-mode): Rewritten to use product features.
256         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
257         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
258         (sql-db2, sql-linter): Use `sql-product-interactive'.
259         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
260         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
261         (sql-connect-ingres, sql-connect-postgres)
262         (sql-connect-interbase, sql-connect-db2, sql-connect-linter): New
263         functions.  Format command line parameters and invoke comint on
264         the appropriate interpreter.  Code was in the corresponding
265         `sql-xyz' function before.
266         (sql-connect-ms): New function.  Support -E argument to use
267         operating system credentials for authentication.
269 2003-08-18  Kenichi Handa  <handa@m17n.org>
271         * international/mule.el (encode-char): Fix for the ASCII case.
273 2003-08-15  Kenichi Handa  <handa@m17n.org>
275         * international/fontset.el (setup-default-fontset): Change "*" to
276         nil in the specifications of font family.
278 2003-08-18  Kim F. Storm  <storm@cua.dk>
280         * kmacro.el (kmacro-keymap): Group related bindings in
281         initialization for clarity.  Bind C-s to start macro.
282         Remove C-r binding.
283         (kmacro-initial-counter-value): New defvar to hold initial counter
284         value in case we set the value before defining a macro.
285         (kmacro-insert-counter): Clear kmacro-initial-counter-value..
286         (kmacro-set-counter): Set kmacro-initial-counter-value if we are
287         not defining or executing macro.  Doc fix.
288         (kmacro-add-counter): Clear kmacro-initial-counter-value.
289         (kmacro-view-last-item, kmacro-view-item-no): New defvars used to
290         temporarily view older elements on the macro ring without cycling
291         the ring.
292         (kmacro-display): Doc fix.
293         (kmacro-exec-ring-item): New helper function.
294         (kmacro-call-ring-2nd): Use it.
295         (kmacro-call-ring-2nd-repeat): Doc fix.
296         (kmacro-start-macro): Use (and clear) kmacro-initial-counter-value.
297         (kmacro-end-or-call-macro): Execute last viewed macro (using
298         kmacro-exec-ring-item) from ring if this follows
299         kmacro-view-macro.  This allows us to find a macro on the ring
300         with C-x C-k C-v C-v ... and execute it (with C-k) without cycling
301         the ring to bring it to the head of the ring.
302         (kmacro-bind-to-key): Doc fix (describe reserved bindings).
303         Allow binding to reserved keys without specifying C-x C-k prefix.
304         Ask for confirmation if entered key sequence is already bound to
305         a non-macro command.
306         (kmacro-view-macro): Repeating command will show older elements
307         on the macro ring; C-k will execute the last viewed macro.
308         (kmacro-view-macro-repeat): Doc fix.  Change its kmacro-repeat
309         property from 'ring to 'head.
311 2003-08-17  Alan Shutko  <ats@acm.org>
313         * calendar/calendar.el (calendar-make-alist): Correct off-by-one
314         keeping December out of the alist.
316 2003-08-17  Edward M. Reingold  <reingold@emr.cs.iit.edu>
318         * calendar/cal-move.el (calendar-goto-day-of-year): New function.
319         * calendar/calendar.el (calendar-mode-map): Bind it to key.
320         * calendar/cal-menu.el (calendar-mode-map): Add it to menu.
321         (calendar-flatten): New function.
322         (calendar-mouse-view-other-diary-entries)
323         (calendar-mouse-view-diary-entries): Rewritten to put any holidays
324         in the menu title and to show multi-line diary entries correctly
325         in the menu.
327 2003-08-17  Luc Teirlinck  <teirllm@mail.auburn.edu>
329         * info.el (Info-scroll-prefer-subnodes): Add :version keyword to
330         defcustom, because the default was recently changed.
332 2003-08-16  Richard M. Stallman  <rms@gnu.org>
334         * net/ange-ftp.el (ange-ftp-error): Add save-excursion.
336         * emacs-lisp/lisp-mode.el (eval-last-sexp-print-value):
337         New subroutine, broken out of eval-last-sexp-1.
338         (eval-last-sexp-1): Use eval-last-sexp-print-value.
340         * custom.el (custom-load-symbol): Load cus-load and cus-start first.
342         * dabbrev.el (dabbrev--safe-replace-match): Use with-no-warnings.
344         * simple.el (eval-expression): Use eval-last-sexp-print-value.
346 2003-08-14  Jari Aalto  <jari.aalto@poboxes.com>
348         * progmodes/compile.el (compilation-error-regexp-alist):
349         Added Java ANt error detection as described in document
350         http://ant.apache.org/faq.html
352 2003-08-12  Juri Linkov  <juri@jurta.org>  (tiny change)
354         * simple.el (backward-word, forward-to-indentation)
355         (backward-to-indentation):  Argument changed to optional.
356         (next-line, previous-line): Use `or' instead of `unless'.
358 2003-08-12  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
360         * progmodes/ebnf-iso.el (ebnf-no-meta-identifier): Becomes a var
361         instead of a constant.
363 2003-08-12  Markus Rost  <rost@math.ohio-state.edu>
365         * shell.el (shell): With prefix-arg, suggest a new buffer name.
367 2003-08-12  Andre Spiegel  <spiegel@gnu.org>
369         * vc-sccs.el (vc-sccs-state-heuristic): Fix parentheses.
370         (vc-sccs-workfile-version): Search the entire delta table, rather
371         than just the first entry, because that might be a deleted version.
373 2003-08-11  Karl Fogel  <kfogel@red-bean.com>
375         * menu-bar.el (menu-bar-options-menu): Supply a body for the
376         [save-place] binding in the Options menu.  Have it require
377         'saveplace' and then toggle the variable manually, to avoid an an
378         unbound variable error.  Thanks to <Sebastien.Kirche@sage.com>
379         for the bug report.
381 2003-08-11  Nick Roberts  <nick@nick.uklinux.net>
383         * gdb-ui.el (gdb-insert-field, gdb-array-format1)
384         (gdb-info-breakpoints-custom, gdb-info-frames-custom)
385         (gdb-info-threads-custom): Add help-echo text.
386         (gdb-display-back): Don't use purecopy.
387         (gdb-info-breakpoints-custom, gdb-reset)
388         (gdb-assembler-custom): Use display-images-p to test if breakpoint
389         icons can be displayed.
391 2003-08-11  Markus Rost  <rost@math.ohio-state.edu>
393         * textmodes/reftex-vars.el (reftex-auto-recenter-toc): Fix typo.
395 2003-08-11  Stefan Monnier  <monnier@cs.yale.edu>
397         * bookmark.el (bookmark-completing-read):
398         Return a string, instead of a list of one string.
399         Use a popup menu if activated from the mouse.
400         (bookmark-edit-annotation): Remove unused vars.
401         (bookmark-jump, bookmark-relocate, bookmark-insert-location)
402         (bookmark-rename, bookmark-insert, bookmark-delete): Adjust calls
403         to bookmark-completing-read.
404         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
405         (bookmark-bmenu-mark, bookmark-bmenu-select, bookmark-bmenu-unmark)
406         (bookmark-bmenu-delete, bookmark-bmenu-list): Use inhibit-read-only
407         and erase-buffer.
408         (bookmark-menu-delete, bookmark-menu-rename, bookmark-menu-locate)
409         (bookmark-menu-jump, bookmark-menu-insert)
410         (bookmark-popup-menu-and-apply-function)
411         (bookmark-menu-popup-paned-bookmark-menu): Remove.
412         (bookmark-menu-build-paned-menu): Remove by folding it into
413         bookmark-menu-popup-paned-menu.
414         (menu-bar-bookmark-map): Move the define-key statements here.
415         Use the "non-menu" commands since they now pop up a menu if needed.
416         (bookmark-exit-hook-internal): Simplify.
418 2003-08-11  Carsten Dominik  <dominik@sand.science.uva.nl>
420         * textmodes/reftex.el: Updated to version 4.21
421         * reftex-auc.el: likewise.
422         * reftex-cite.el: likewise.
423         * reftex-dcr.el: likewise.
424         * reftex-global.el: likewise.
425         * reftex-index.el: likewise.
426         * reftex-parse.el: likewise.
427         * reftex-ref.el: likewise.
428         * reftex-sel.el: likewise.
429         * reftex-toc.el: likewise.
430         * reftex-vars.el: likewise.
432 2003-08-08  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
434         * progmodes/ebnf2ps.el (ebnf-total, ebnf-nprod): Move defvar before
435         first use.
437 2003-08-07  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
439         * progmodes/ebnf2ps.el (ebnf-begin-job): Code fix.
441 2003-08-06  Glenn Morris  <gmorris@ast.cam.ac.uk>
443         * calendar/calendar.el (list-diary-entries-hook)
444         (diary-display-hook, nongregorian-diary-listing-hook)
445         (mark-diary-entries-hook, nongregorian-diary-marking-hook):
446         Add some customize options for these hooks.
447         (calendar-abbrev-construct): Don't try to take a substring longer
448         than the original string.
450 2003-08-05  Richard M. Stallman  <rms@gnu.org>
452         * emacs-lisp/testcover.el (noreturn): Report error if does return.
453         (testcover-reinstrument-clauses): Doc fix.
455         * emacs-lisp/warnings.el: Doc fixes, args renamed.
456         (warning-type-format): Rename from warning-group-format.
458         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-var): New var.
459         (byte-compile-variable-ref): Handle byte-compile-not-obsolete-var.
460         (byte-compile-defvar): Bind byte-compile-not-obsolete-var
461         to prevent warnings about defvar for an obsolete variable.
463         * emacs-lisp/bytecomp.el (byte-compile-log-warning):
464         warning-group-format renamed to warning-type-format.
466         * subr.el (read-passwd): Use clear-string instead of fillarray.
468         * edmacro.el (edmacro-format-keys): Use edmacro-sanitize-for-string.
469         Use vconcat instead of concat.
470         (edmacro-sanitize-for-string): New function.
472 2003-08-05  Dave Love  <fx@gnu.org>
474         * cus-start.el: Add open-paren-in-column-0-is-defun-start,
475         line-number-display-limit-width.
477         * textmodes/tex-mode.el (tex-dvi-view-command): Fix quoted quotes.
479 2003-08-05  Kenichi Handa  <handa@m17n.org>
481         * international/code-pages.el: Don't require mule-diag.
483         * international/mule-diag.el (non-iso-charset-alist):
484         Add autoload cookie.
486         * language/devan-util.el (dev-glyph-order): Add an entry for the
487         glyph code #xC4.
489 2003-08-03  Glenn Morris  <gmorris@ast.cam.ac.uk>
491         * calendar/calendar.el (diary-file, diary-file-name-prefix)
492         (european-calendar-style, diary-date-forms)
493         (calendar-day-name-array, calendar-month-name-array): Doc change.
494         (generate-calendar-month): Adapt for new behaviour of
495         `calendar-day-name' function.
496         (calendar-abbrev-length, calendar-day-abbrev-array)
497         (calendar-month-abbrev-array): New variables.
498         (calendar-abbrev-construct): New function.
499         (calendar-day-name, calendar-month-name): Use new abbrev arrays,
500         rather than fixing abbrevs at some width.  Calling syntax change.
501         (calendar-make-alist): Use abbrev arrays.  Calling syntax change.
502         (calendar-date-string): Adapt for new behaviours of
503         `calendar-day-name' and `calendar-month-name' functions.
505         * calendar/diary-lib.el (list-diary-entries): Adapt for new
506         behaviour of `calendar-day-name' and `calendar-month-name' functions.
507         (diary-name-pattern): Use abbrev arrays, rather than fixing
508         abbrevs at three chars.  Calling syntax change.
509         (mark-diary-entries):  Adapt for new behaviours of
510         `diary-name-pattern' and `calendar-make-alist' functions.
511         (fancy-diary-font-lock-keywords): Adapt for new behaviour of
512         `diary-name-pattern' function.
513         (font-lock-diary-date-forms): Use abbrev arrays, rather than
514         fixing abbrevs at three chars.  Calling syntax change.
515         (cal-hebrew, cal-islam): Require when compiling.
516         (diary-font-lock-keywords): Adapt for new behaviour of
517         `font-lock-diary-date-forms' function.
519         * calendar/cal-hebrew.el: Reposition some code so defined before used.
520         (calendar-hebrew-month-name-array-common-year)
521         (calendar-hebrew-month-name-array-leap-year): Add doc strings.
522         (list-hebrew-diary-entries): Adapt for new behaviours of
523         `calendar-day-name' and `add-to-diary-list' functions.
524         (mark-hebrew-diary-entries): Adapt for new behaviours of
525         `diary-name-pattern' and `calendar-make-alist' functions.
527         * calendar/cal-islam.el (calendar-islamic-month-name-array):
528         Add doc string.
529         (list-islamic-diary-entries): Adapt for new behaviours of
530         `calendar-day-name' and `add-to-diary-list' functions.
531         (mark-islamic-diary-entries): Adapt for new behaviours of
532         `diary-name-pattern' and `calendar-make-alist' functions.
534         * calendar/cal-menu.el (cal-menu-update): Adapt for new behaviour of
535         `calendar-month-name' function.
537         * calendar/cal-coptic.el (coptic-name): defvar rather than defconst.
539         * calendar/solar.el (solar-seasons-data): Move definition before use.
541         * calendar/cal-tex.el (cal-tex-day-name-format): Doc fix.
542         (cal-tex-LaTeX-hourbox): Move definition before use.
544         * calendar/cal-china.el, cal-hebrew.el, cal-islam.el,
545         cal-julian.el, cal-menu.el, cal-move.el, holidays.el,
546         lunar.el, solar.el
547         (displayed-month, displayed-year): Define for compiler.
549 2003-08-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
551         * progmodes/cc-mode.el (c-init-language-vars-for): Add argument
552         MODE.  Renamed from c-init-c-language-vars'.
553         (c-initialize-cc-mode): Change accordingly.
554         (c-common-init): Ditto.
555         (c-mode): Ditto.
556         (c++-mode): Use function.
557         (objc-mode): Ditto.
558         (java-mode): Ditto.
559         (idl-mode): Ditto.
560         (pike-mode): Ditto.
561         (awk-mode): Ditto.
563 2003-08-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
565         * progmodes/cc-engine.el (c-end-of-current-token): Return whether
566         or not the point moved.
568         (c-search-decl-header-end): Don't trip up on operator identifiers
569         in C++ and operators like == in all languages.
571         * progmodes/cc-engine.el (c-backward-to-decl-anchor):
572         Detect leading labels correctly.
574 2003-08-02  Andreas Schwab  <schwab@suse.de>
576         * textmodes/ispell.el: Don't redo key bindings on loading, put
577         them only in loaddefs.el.
578         * bookmark.el: Likewise.
579         * dabbrev.el: Likewise.
580         * emerge.el: Likewise.
582         * apropos.el (apropos-words-to-regexp): Only add `wild' if `words'
583         has more than one member.
585         * progmodes/sh-script.el (sh-mode): Don't set mode-class property.
587 2003-08-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
589         * lpr.el (printify-region): It was ending conversion before the
590         expected position.  Reported by Keiichi Suzuki <keiichi@nanap.org>.
592 2003-07-31  John Paul Wallington  <jpw@gnu.org>
594         * net/browse-url.el (browse-url-epiphany): Doc fix.
596 2003-07-30  Kenichi Handa  <handa@m17n.org>
598         * international/fontset.el (setup-default-fontset):
599         Change registry names of Akurti fonts.
601 2003-07-29  Jesper Harder  <harder@ifa.au.dk>  (tiny change)
603         * comint.el (comint-read-noecho): Use `clear-string' instead of
604         `fillarray'.
606 2003-07-29  Thomas W Murphy  <twm@andrew.cmu.edu>  (tiny change)
608         * outline.el (outline-mode-hook): Add defvar.
610 2003-07-28  Nick Roberts  <nick@nick.uklinux.net>
612         * gdb-ui.el (gdb-setup-windows, gdb-restore-windows):
613         Restore assembler in source window if that is what has been selected.
614         (menu): Add gdb-restore-windows to menu.  Make gdba
615         specific menus only visible from gdba.
617 2003-07-28  Tak Ota  <Takaaki.Ota@am.sony.com>  (tiny change)
619         * progmodes/compile.el (compilation-environment): New user variable.
620         (compile-internal): Respect it.
622 2003-07-23  Masatake YAMATO  <jet@gyve.org>
624         * progmodes/gud.el (gdb-script-font-lock-keywords):
625         Put `font-lock-function-name-face' on a symbol which includes
626         `-' like `hook-run'.  Put font-lock-variable-name-face
627         on a symbol starting with $.
629 2003-07-27  Markus Rost  <rost@math.ohio-state.edu>
631         * files.el (set-visited-file-name): Use truename for buffer-file-name.
633 2003-07-26  Markus Rost  <rost@math.ohio-state.edu>
635         * vc-hooks.el (vc-file-not-found-hook): Doc fix.
637 2003-07-26  Andre Spiegel  <spiegel@gnu.org>
639         * vc-hooks.el (vc-default-registered, vc-make-version-backup):
640         Use with-no-warnings.
641         (vc-file-not-found-hook): Add this to find-file-not-found-functions,
642         rather than to find-file-not-found-hook, which doesn't exist.
644 2003-07-26  Markus Rost  <rost@math.ohio-state.edu>
646         * international/quail.el (quail-translate-key): Fix previous change.
648 2003-07-25  John Paul Wallington  <jpw@gnu.org>
650         * server.el (server-start): Check `server-process' is non-nil
651         before killing it to avoid killing current buffer's process.
653         * simple.el (choose-completion-string): Use `minibufferp';
654         test `completion-reference-buffer' if `buffer' arg is nil.
655         (push-mark): Use `when' and `unless'.
656         (pop-mark): Use `when'.
658         * mouse-sel.el (mouse-sel-get-selection-function):
659         Check `x-last-selected-text-primary'.  Don't barf if it or
660         `x-last-selected-text' aren't bound.
662 2003-07-25  Kevin Rodgers  <ihs_4664@yahoo.com>  (tiny change)
664         * menu-bar.el (menu-bar-tools-menu): Minor change in strings.
666 2003-07-23  Stefan Monnier  <monnier@cs.yale.edu>
668         * vc-svn.el (vc-svn-diff-switches): Don't default to vc-diff-switches.
670 2003-07-23  John Paul Wallington  <jpw@gnu.org>
672         * tooltip.el (defface tooltip): Inherit from variable-pitch.
674 2003-07-23  Glenn Morris  <gmorris@ast.cam.ac.uk>
676         * emacs-lisp/derived.el (define-derived-mode): Mention hook in doc
677         string.  Defvar the derived hook.
679         * macros.el (insert-kbd-macro): Escape double quote character.
680         From Thomas W Murphy <twm@andrew.cmu.edu>.
682 2003-07-22  Stefan Monnier  <monnier@cs.yale.edu>
684         * textmodes/fill.el (fill-comment-paragraph): Construct a regexp
685         to match the specific mark rather than reusing comment-start-skip.
687 2003-07-22  Thien-Thi Nguyen  <ttn@gnu.org>
689         * progmodes/hideshow.el (hs-special-modes-alist):
690         Clarify MDATA-SELECTOR doc; nfc.
692 2003-07-21  Markus Rost  <rost@math.ohio-state.edu>
694         * progmodes/idlwave.el (idlwave-comment-indent-char): Fix default
695         value using ?\s.
697 2003-07-21  John Paul Wallington  <jpw@gnu.org>
699         * subr.el (with-selected-window): Add closing paren.
701 2003-07-21  Richard M. Stallman  <rms@gnu.org>
703         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use run-mode-hooks.
704         (lisp-mode): Likewise.
706         * subr.el (with-selected-window): Copy code form save-selected-window
707         so as to call select-window with norecord arg.
708         (dynamic-completion-table): Doc fix.
709         (lazy-completion-table): Doc fix.
711         * international/mule-cmds.el (set-locale-environment):
712         langinfo renamed to locale-info.
714         * international/mule.el (auto-coding-functions): Doc fix.
716 2003-07-21  Kenichi Handa  <handa@m17n.org>
718         * international/quail.el (quail-translate-key):
719         Update quail-current-str correctly.
721 2003-07-21  Andreas Schwab  <schwab@suse.de>
723         * progmodes/sh-script.el (sh-mode-syntax-table): Change syntax of
724         ?, to "_".
726 2003-07-20  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
727         Version 2.0.36 of Tramp released.
729         * net/tramp.el (tramp-default-password-end-of-line): Rename from
730         tramp-password-end-of-line.
731         (tramp-password-end-of-line): New method parameter.
732         (tramp-get-password-end-of-line): Function to access method
733         parameter `tramp-password-end-of-line', or variable
734         `tramp-default-password-end-of-line' (default value).
735         (tramp-methods): Add entries for new parameter
736         tramp-password-end-of-line.
737         (tramp-enter-password): Use new function
738         `tramp-get-password-end-of-line'.
739         (tramp-handle-insert-file-contents): Do not
740         unconditionally inhibit the file operation file-local-copy, only
741         do that when the inhibit-file-name-operation is currently
742         insert-file-contents.  This fixes finding remote CVS-controlled
743         files.  (It would barf on inserting the CVS/Entries file
744         literally, because the file-local-copy handler wasn't called.)
745         (tramp-handle-shell-command): Support optional third arg ERROR-BUFFER.
746         (tramp-sh-extra-args): Adapt defcustom type to XEmacs.
747         (tramp-initial-commands): New variable.
748         (tramp-process-initial-commands): New function, using the variable.
749         (tramp-open-connection-setup-interactive-shell): Call the new function.
750         (tramp-buffer-name, tramp-debug-buffer-name): Always put the
751         method into the buffer name, never use nil.  Reported by Hanak
752         David <dhanak@inf.bme.hu>.
753         (tramp-open-connection-setup-interactive-shell): Erase buffer
754         before sending "stty -onlcr".
756         * net/tramp-vc.el (vc-workfile-unchanged-p): Add comment.
758 2003-07-19  Markus Rost  <rost@math.ohio-state.edu>
760         * textmodes/artist.el (artist-erase-char): Fix default value using ?\s.
762 2003-07-19  John Paul Wallington  <jpw@gnu.org>
764         * textmodes/artist.el (artist-butlast-fn, artist-draw-sline)
765         (artist-draw-rect, artist-draw-square): Doc fixes.
767         * textmodes/enriched.el (enriched-decode-display-prop): Doc fix.
769         * textmodes/two-column.el (2C-mode-line-format): Doc fix.
771 2003-07-19  Kenichi Handa  <handa@m17n.org>
773         * international/kkc.el (kkc-show-conversion-list-update):
774         Highlight the correct candidate in the message.
776 2003-07-18  John Paul Wallington  <jpw@gnu.org>
778         * simple.el (current-word): Don't include punctuation char when
779         `really-word' arg is non-nil.
781 2003-07-17  Martin Stjernholm  <bug-cc-mode@gnu.org>
783         * progmodes/awk-mode.el: Obsoleted by the AWK support in CC Mode -
784         moved to the directory obsolete.
786 2003-07-16  Stefan Monnier  <monnier@cs.yale.edu>
788         * info.el (Info-menu-entry-name-re): Allow newlines in
789         menu entry names.
791         * emacs-lisp/syntax.el (syntax-ppss-flush-cache): Rename from
792         syntax-ppss-after-change-function.
793         (syntax-ppss-after-change-function): New alias.  Update uses.
794         (syntax-ppss): Catch the case where the buffer is narrowed.
796 2003-07-16  Martin Stjernholm  <bug-cc-mode@gnu.org>
798         * progmodes/cc-defs.el (c-langelem-sym, c-langelem-pos)
799         (c-langelem-2nd-pos): Add accessor functions for syntactic elements.
801 2003-07-16  Martin Stjernholm  <bug-cc-mode@gnu.org>
803         * progmodes/cc-engine.el (c-literal-faces): Declare as a variable
804         since it might be modified.
806         * progmodes/cc-langs.el (c++-make-template-syntax-table)
807         (c-syntactic-ws-start, c-syntactic-ws-end): Give more consistent
808         names to these language constants.
810 2003-07-15  Kim F. Storm  <storm@cua.dk>
812         * apropos.el (apropos-sort-by-scores): Rename from apropos-show-scores.
813         All uses changed.
815 2003-07-14  Mark A. Hershberger  <mah@everybody.org>
817         * xml.el (xml-parse-tag, xml-parse-file, xml-parse-region):
818         Namespace support.
820 2003-07-13  Juanma Barranquero  <lektu@terra.es>
822         * frame.el (modify-all-frames-parameters): Reinstall (copyright
823         papers received).
825 2003-07-13  Karl Eichwalder  <ke@suse.de>
827         * textmodes/po.el (po-find-charset): White space at the start of the
828         Content-Type field body is non-mandatory.
830 2003-07-13  Masayuki Ataka  <ataka@milk.freemail.ne.jp>  (tiny change)
832         * textmodes/texinfo.el (texinfo-section-list):
833         Append appendixsection; a synonym for appendixsec.
835 2003-07-13  Jari Aalto  <jari.aalto@poboxes.com>
837         * man.el (Man-translate-cleanup): New.
838         (Man-translate-references): Call `Man-translate-cleanup' to clean
839         leading, trailing and middle spaces.
841 2003-07-13  Lars Hansen  <larsh@math.ku.dk>
843         * desktop.el (desktop-buffer-dired-misc-data, desktop-buffer-dired):
844         Handle `dired-directory' being a list.
846 2003-07-13  Jesper Harder  <harder@ifa.au.dk>  (tiny change)
848         * mail/smtpmail.el (smtpmail-send-it): Create smtpmail-queue-dir if
849         it doesn't exist.
851 2003-07-12  Richard M. Stallman  <rms@gnu.org>
853         * progmodes/cc-engine.el (c-declare-lang-variables): Don't use mapcan.
855         * progmodes/cc-defs.el (c-make-keywords-re):
856         Don't use delete-duplicates.
857         (c-lang-const): Don't use mapcan.
859         * apropos.el (apropos-show-scores): Make it customizable.
860         Document new meaning.
861         (apropos): Compute scores from symbols.
862         (apropos-print): Don't sort by scores if apropos-show-scores is nil.
864 2003-07-11  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
866         * ps-bdf.el: Fix copyright line.
867         (bdf-directory-list): Fix initialization code.
869 2003-07-11  John Paul Wallington  <jpw@gnu.org>
871         * emacs-lisp/ring.el (ring-empty-p): Use `zerop'.
872         (ring-p, ring-plus1, ring-minus1, ring-length, ring-index)
873         (ring-empty-p, ring-size, ring-copy, ring-ref): Doc fixes.
875 2003-07-11  NAKAJIMA Mikio  <minakaji@namazu.org>  (tiny change)
877         * emacs-lisp/ring.el (ring-elements): Doc fix.
879 2003-07-11  Glenn Morris  <gmorris@ast.cam.ac.uk>
881         * calendar/timeclock.el (timeclock-relative)
882         (timeclock-ask-before-exiting, timeclock-use-display-time):
883         Doc changes.
884         (timeclock-modeline-display): Give a message if
885         `timeclock-use-display-time' is non-nil but `display-time-mode'
886         is not active.
888 2003-07-11  Kenichi Handa  <handa@m17n.org>
890         * international/mule-cmds.el (set-language-environment):
891         Set current-language-environment to the correct string.
893 2003-07-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
895         * ps-print.el: Print line number correctly in a region.  Reported by
896         Tim Allen <timallen@ls83.fsnet.co.uk>
897         (ps-print-version): New version number (6.6.2).
898         (ps-printing-region): Code fix.
900 2003-07-10  John Paul Wallington  <jpw@gnu.org>
902         * progmodes/etags.el (visit-tags-table-buffer): Add autoload cookie;
903         this function can be called from `add-completions-from-tags-table'.
905 2003-07-10  Glenn Morris  <gmorris@ast.cam.ac.uk>
907         * calendar/timeclock.el (timeclock-use-display-time)
908         (timeclock-day-over-hook, timeclock-workday-remaining)
909         (timeclock-status-string, timeclock-when-to-leave)
910         (timeclock-when-to-leave-string, timeclock-log-data)
911         (timeclock-find-discrep, timeclock-day-base)
912         (timeclock-generate-report, timeclock-visit-timelog): Doc fix.
913         (timeclock-modeline-display): Set the variable
914         `timeclock-modeline-display'.
915         (timeclock-update-modeline): Doc fix.  Respect value of
916         `timeclock-relative'.
918 2003-07-09  Richard M. Stallman  <rms@gnu.org>
920         * textmodes/reftex-parse.el (reftex-all-document-files):
921         Add autoload cookie.
923         * textmodes/reftex.el (reftex-all-document-files): Delete autoload.
924         (reftex-scanning-info-available-p): Add autoload cookie.
926         * international/mule-cmds.el (set-display-table-and-terminal-coding-system):
927         Delete duplicate aset on standard-display-table.
929         * view.el (view-file): If existing buffer's major mode is special,
930         don't go into view mode.
932         * dired.el (dired-move-to-filename-regexp): Allow quote in months.
934 2003-07-08  Martin Stjernholm  <bug-cc-mode@gnu.org>
936         * progmodes/cc-engine.el (c-guess-basic-syntax): Do not do hidden
937         buffer changes; there's third party code that calls this function
938         directly.
940 2003-07-08  Martin Stjernholm  <bug-cc-mode@gnu.org>
942         * progmodes/cc-fonts.el (javadoc-font-lock-keywords)
943         (autodoc-font-lock-keywords): Don't byte compile on font lock
944         initialization when running from byte compiled files.
946 2003-07-08  Alan Mackenzie  <bug-cc-mode@gnu.org>
948         * progmodes/cc-engine.el: Fix AWK mode indentation when previous
949         statement ends with auto-increment "++".
951 2003-07-08  Martin Stjernholm  <bug-cc-mode@gnu.org>
953         * progmodes/cc-langs.el, progmodes/cc-styles.el (c-style-alist)
954         (c-lang-variable-inits, c-lang-variable-inits-tail): The values of
955         these are changed, so declare them as variables and not constants.
957 2003-07-08  Markus Rost  <rost@math.ohio-state.edu>
959         * subr.el (dolist, dotimes):  Doc fix.
961 2003-07-08  Kim F. Storm  <storm@cua.dk>
963         * international/mule-cmds.el (set-display-table-and-terminal-coding-system):
964         Don't break bootstrap if standard-display-table isn't setup yet.
966 2003-07-07  Richard M. Stallman  <rms@gnu.org>
968         * ehelp.el (ehelp-command): Use defalias to define ehelp-command.
969         Give it a doc string, and autoload it.
971         * desktop.el (desktop-buffer-info, desktop-buffer-mh):
972         Use with-no-warnings.
974         * info.el (Info-search): If find invisible text, search again.
976         * isearch.el (search-whitespace-regexp): Add a shy group around it.
978         * man.el (Man-name-regexp): Match + as part of name.
980         * simple.el (visible-mode): Rename from vis-mode.
981         (vis-mode-saved-buffer-invisibility-spec): Doc fix.
983         * simple.el (current-word): New arg REALLY-WORD specifies
984         don't include punctuation chars.
986         * emacs-lisp/debug.el (debug, debugger-env-macro):
987         Use with-no-warnings while accessing and binding unread-command-char.
989         * international/mule-cmds.el (set-display-table-and-terminal-coding-system):
990         Use explicit loop instead of calling standard-display-default.
992         * net/ange-ftp.el (ange-ftp-file-symlink-p):
993         Use condition-case to catch error in ange-ftp-get-files.
995         * net/browse-url.el (browse-url-browser-function):
996         Add alternative for Epiphany.
997         (browse-url-epiphany-program, browse-url-epiphany-arguments)
998         (browse-url-epiphany-startup-arguments)
999         (browse-url-epiphany-new-window-is-tab): New variables.
1000         (browse-url-epiphany, browse-url-epiphany-sentinel): New functions.
1002         * progmodes/compile.el (compile-auto-highlight): Default now t.
1003         (compile): Doc fix.
1004         (compilation-next-error): Fix previous change.
1006         * textmodes/tex-mode.el (tex-main-file): Use with-no-warnings.
1008         * textmodes/sgml-mode.el (xml-mode): Add autoload cookie.
1010 2003-07-07  Nick Roberts  <nick@nick.uklinux.net>
1012         * gdb-ui.el (gdb-source-info): Display current frame when
1013         attaching to an existing process.
1014         (gdb-setup-windows, gdb-source-info): Start with gud-comint-buffer
1015         while laying out windows when attaching to an existing process.
1017 2003-07-07  Stefan Monnier  <monnier@cs.yale.edu>
1019         * info.el (Info-menu): Use Info-menu-entry-name-re.
1021 2003-07-06  Stefan Monnier  <monnier@cs.yale.edu>
1023         * vc-hooks.el (vc-stay-local, vc-stay-local-p): Move from vc.el.
1024         * vc.el (vc-stay-local, vc-stay-local-p): Move to vc-hooks.el.
1026         * info.el (Info-menu-entry-name-re): Be careful to avoid multiple ways
1027         to match the same text.
1029 2003-07-06  John Paul Wallington  <jpw@gnu.org>
1031         * vc.el (vc-annotate-offset): Move defvar up.
1033 2003-07-06  Kim F. Storm  <storm@cua.dk>
1035         * info.el (Info-menu-entry-name-re): Add `:' to second [] part.
1036         This should fix the infinite loop when extracting menu names.
1038 2003-07-05  Martin Stjernholm  <bug-cc-mode@gnu.org>
1040         * files.el (auto-mode-alist, interpreter-mode-alist):
1041         Remove entries to CC Mode modes to avoid duplicates; they are now added
1042         with autoload directives in cc-mode.el.
1044 2003-07-05  Martin Stjernholm  <bug-cc-mode@gnu.org>
1046         * progmodes/cc-langs.el, progmodes/cc-styles.el (c-style-alist)
1047         (c-lang-variable-inits, c-lang-variable-inits-tail): The values of
1048         these are changed, so declare them as variables and not constants.
1050         * progmodes/cc-mode.el: Fix some autoload problems: Try to
1051         ensure that the entry for ".c" extension comes before the one for
1052         ".C" on `auto-mode-alist', to behave better on case insensitive OS:es.
1053         Fix incorrect entries that were added to `interpreter-mode-alist'.
1054         Move the autoload directives for AWK to the top level since they
1055         aren't recognized anywhere else.  Do not use the new AWK mode doc
1056         in the autoload form for the old AWK mode.
1058 2003-06-30  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
1060         * textmodes/bibtex.el (bibtex-sort-entry-class): New entry catch-all.
1061         (bibtex-sort-ignore-string-entries): Default value t.
1062         (bibtex-entry-kill-ring-max): Reintroduce as it was removed
1063         erroneously in previous version.
1064         (bibtex-string-files): Docstring reflects new parsing scheme.
1065         (bibtex-autokey-transcriptions): Merge some rewrite entries, fix
1066         docstring, add # as one of the chars to crush
1067         (bibtex-autokey-prefix-string, bibtex-autokey-names)
1068         (bibtex-autokey-names-stretch, bibtex-autokey-additional-names)
1069         (bibtex-autokey-name-change-strings)
1070         (bibtex-autokey-name-case-convert, bibtex-autokey-name-length)
1071         (bibtex-autokey-name-separator, bibtex-autokey-year-length)
1072         (bibtex-autokey-use-crossref, bibtex-autokey-titlewords)
1073         (bibtex-autokey-title-terminators)
1074         (bibtex-autokey-titlewords-stretch)
1075         (bibtex-autokey-titleword-ignore)
1076         (bibtex-autokey-titleword-case-convert)
1077         (bibtex-autokey-titleword-abbrevs)
1078         (bibtex-autokey-titleword-abbrevs)
1079         (bibtex-autokey-titleword-change-strings)
1080         (bibtex-autokey-titleword-length)
1081         (bibtex-autokey-titleword-separator)
1082         (bibtex-autokey-name-year-separator)
1083         (bibtex-autokey-year-title-separator)
1084         (bibtex-autokey-before-presentation-function)
1085         (bibtex-entry-type-history, bibtex-entry-maybe-empty-head):
1086         Fix docstring.
1087         (bibtex-strings, bibtex-reference-keys):
1088         Use lazy-completion-table and make-variable-buffer-local.
1089         (bibtex-sort-entry-class-alist): Use downcase, account for catch-all.
1090         (bibtex-braced-string-syntax-table)
1091         (bibtex-quoted-string-syntax-table): New variables.
1092         (bibtex-parse-nested-braces): Remove.
1093         (bibtex-parse-field-string): Use syntax table and forward-sexp.
1094         (bibtex-parse-association): Simplify.
1095         (bibtex-parse-field-name): Obey bibtex-autoadd-commas.
1096         (bibtex-parse-field-text): Simplify.
1097         (bibtex-search-forward-field, bibtex-search-backward-field):
1098         argument BOUND can take value t.
1099         (bibtex-start-of-field, bibtex-start-of-name-in-field)
1100         (bibtex-end-of-name-in-field, bibtex-end-of-field)
1101         (bibtex-start-of-text-in-field, bibtex-end-of-text-in-field)
1102         (bibtex-start-of-text-in-string, bibtex-end-of-text-in-string)
1103         (bibtex-end-of-string, bibtex-type-in-head): Use defsubst.
1104         (bibtex-skip-to-valid-entry): Return buffer position of beginning
1105         and ending of entry.  Update for changes of bibtex-search-entry.
1106         Simplify.
1107         (bibtex-map-entries): FUN is called with three arguments.
1108         (bibtex-search-entry): Return a cons pair with buffer positions of
1109         beginning and end of entry.
1110         (bibtex-enclosing-field): Simplify.
1111         (bibtex-format-entry): Use booktitle to set a missing title.
1112         (bibtex-autokey-get-names): Fiddle with regexps.
1113         (bibtex-generate-autokey): Use identity.
1114         (bibtex-parse-keys): Use simplified parsing algorithm if
1115         bibtex-parse-keys-fast is non-nil. Simplify. Change order of
1116         arguments. Return alist of keys.
1117         (bibtex-parse-strings): Simplify. Return alist of strings.
1118         (bibtex-complete-string-cleanup): Fix docstring.
1119         (bibtex-read-key): New function.
1120         (bibtex-mode): Fix docstring. Do not parse for keys and
1121         strings when the mode is entered. Set fill-paragraph-function to
1122         bibtex-fill-field. Setup font-lock-mark-block-function the way
1123         font-lock intended.
1124         (bibtex-entry): Use bibtex-read-key. Obey bibtex-autofill-types.
1125         (bibtex-parse-entry, bibtex-autofill-entry): New functions.
1126         (bibtex-print-help-message, bibtex-remove-OPT-or-ALT)
1127         (bibtex-Preamble): Avoid hard coded constants.
1128         (bibtex-make-field): Fix docstring. Simplify.
1129         (bibtex-beginning-of-entry): Always return new position of point.
1130         (bibtex-end-of-entry): Rearrange cond clauses.
1131         (bibtex-count-entries, bibtex-validate, bibtex-reformat):
1132         Update for changes of bibtex-map-entries.
1133         (bibtex-ispell-abstract): Do not move point.
1134         (bibtex-entry-index): Use downcase. Simplify.
1135         (bibtex-lessp): Handle catch-all.
1136         (bibtex-find-crossref): Turn into a command.
1137         (bibtex-find-entry): Simplify. Use bibtex-read-key. Fix regexp.
1138         (bibtex-clean-entry): Use bibtex-read-key. Handle string and
1139         preamble entries.
1140         (bibtex-fill-field-bounds): New function.
1141         (bibtex-fill-field): New command. Bound to fill-paragraph-function.
1142         (bibtex-fill-entry): Use bibtex-fill-field-bounds
1143         (bibtex-String): Use bibtex-strings.  Always obey
1144         bibtex-sort-ignore-string-entries.
1146 2003-07-05  John Paul Wallington  <jpw@gnu.org>
1148         * cus-theme.el (customize-create-theme):
1149         Call `customize-create-theme' in Reset widget's notify function.
1151         * ibuffer.el (ibuffer-backward-line, ibuffer-forward-line)
1152         (ibuffer-mark-interactive): Use `or' instead of `unless'.
1153         (define-ibuffer-column name): Add summarizer.
1154         (define-ibuffer-column size): Likewise.
1155         (define-ibuffer-column filename): Likewise.
1156         (define-ibuffer-column process): Likewise.  Change BODY's output too.
1157         (define-ibuffer-column filename-and-process): Likewise, likewise.
1158         (ibuffer): Remove local vars `already-in' and `need-update'.
1160         * ibuf-ext.el: Don't require `derived' at compile-time.
1162 2003-07-05  Kim F. Storm  <storm@cua.dk>
1164         * info.el: Disable paragraph refilling.
1165         (Info-refill-paragraphs): New defcustom.
1166         (Info-fontify-node): Use it.
1168 2003-07-04  Stefan Monnier  <monnier@cs.yale.edu>
1170         * emacs-lisp/cl-macs.el (cl-transform-lambda): Strip &cl-defs
1171         thingies from constructors created by defstruct.
1173         * emacs-lisp/bytecomp.el (byte-compile-defvar): Check and set
1174         the default value of the variable.
1175         (byte-code-meter): Move declaration to top level.
1177         * pcvs-parse.el (cvs-parse-status): Ignore extra fields from CVSNT.
1179         * info.el (Info-following-node-name-re): New fun.
1180         (Info-following-node-name): Remove.
1181         (Info-insert-dir): Use the new fun.
1182         (Info-extract-pointer): Don't save restriction; use new fun.
1183         (Info-menu-entry-name-re): New const.
1184         (Info-menu-entry-name-re): Use it along with new fun.
1185         (Info-node-spec-re): Use new fun.
1186         (Info-complete-menu-item, Info-fontify-node): Use new const.
1187         (Info-goto-node, Info-follow-reference, Info-menu-update):
1188         Use match-string.
1189         (Info-follow-reference): Use assoc-string.
1190         Use a list of strings for the completion table.
1191         (Info-fontify-node): Use match-string, line-end-position.
1192         Limit the search for `node:' to the first line.
1194         * newcomment.el (uncomment-region): Remove padding coming from
1195         comment-start rather than just from comment-padding.
1197         * vc-cvs.el (vc-cvs-repository-hostname): New operation.
1198         (vc-cvs-stay-local-p): Use vc-stay-local-p.
1199         (vc-cvs-rename-file): Remove (use the default).
1200         (vc-cvs-register): Register parent dir if needed.
1201         (vc-cvs-could-register): Return non-nil if parent can be registered.
1202         (vc-cvs-state, vc-cvs-dir-state, vc-cvs-print-log, vc-cvs-diff)
1203         (vc-cvs-diff-tree, vc-cvs-make-version-backups-p): Use vc-stay-local-p.
1205         * vc-svn.el (vc-svn-use-edit): Make it into a const.
1206         (vc-svn-update): Fix the arguments to `svn'.
1207         (vc-svn-diff-tree): Just use `vc-svn-diff'.
1208         (vc-svn-create-snapshot, vc-svn-retrieve-snapshot):
1209         Simple implementations, assuming `name' is a URL.
1211         * progmodes/sh-script.el (sh-font-lock-paren): Add [ and ] to the
1212         set of chars allowed unquoted in a case pattern.
1214         * font-core.el (font-lock-defaults-alist): Remove obsolete entries.
1216         * font-lock.el (font-lock-extra-types-widget)
1217         (c-font-lock-extra-types, c++-font-lock-extra-types)
1218         (objc-font-lock-extra-types, java-font-lock-extra-types)
1219         (c-font-lock-keywords-1, c-font-lock-keywords-2, c-font-lock-keywords)
1220         (c-font-lock-keywords-3, c-font-lock-syntactic-face-function)
1221         (font-lock-match-c++-style-declaration-item-and-skip-to-next)
1222         (font-lock-match-c++-structor-declaration)
1223         (c++-font-lock-keywords-1, c++-font-lock-keywords-2)
1224         (c++-font-lock-keywords-3, c++-font-lock-keywords)
1225         (objc-font-lock-keywords-1, objc-font-lock-keywords-2)
1226         (objc-font-lock-keywords-3, objc-font-lock-keywords)
1227         (java-font-lock-keywords-1, java-font-lock-keywords-2)
1228         (java-font-lock-keywords-3, java-font-lock-keywords)
1229         (java-font-lock-syntactic-face-function): Remove obsolete code
1230         and constants.  It's all in cc-fonts.el now.
1232 2003-07-04  Glenn Morris  <gmorris@ast.cam.ac.uk>
1234         * mail/sendmail.el (mail-specify-envelope-from)
1235         (mail-envelope-from): Doc fix.
1237 2003-07-04  Martin Stjernholm  <mast@lysator.liu.se>
1239         * generic-x.el: Do away with the dependency on `c-emacs-features'
1240         when populating `rul-generic-mode-syntax-table'; we already know
1241         this isn't XEmacs.
1243 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1245         * progmodes/cc-menus.el (cc-imenu-init): Do not set
1246         `imenu-create-index-function' if the second argument is left
1247         out.  This bug broke the imenu support in C, C++ and Java modes.
1249 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1251         * progmodes/cc-engine.el, progmodes/cc-align.el
1252         (c-add-stmt-syntax, c-lineup-arglist)
1253         (c-lineup-arglist-close-under-paren): Fixes to cope with
1254         special brace lists in Pike.
1256 2003-07-03  Alan Mackenzie  <bug-cc-mode@gnu.org>
1258         * progmodes/cc-mode.el: awk-mode: Call c-awk-after-change to
1259         ensure syntax-table props at loading.
1261         * progmodes/cc-fonts.el: Put (cc-require-when-compile 'cc-awk)
1262         to eliminate compile-time errors.
1264 2003-07-03  Alan Mackenzie  <bug-cc-mode@gnu.org>
1266         * progmodes/cc-awk.el, progmodes/cc-engine.el: Add code to
1267         analyze AWK top-level forms properly (c-guess-basic-syntax
1268         CASE 5P), c-awk-backward-syntactic-ws.
1270 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1272         * progmodes/cc-fix.el: cc-mode-19.el has been renamed to
1273         progmodes/cc-fix.el since it now contains compatibility stuff
1274         for later versions than (X)Emacs 19.
1276 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1278         * progmodes/cc-langs.el (c-paren-nontype-kwds): New language constant.
1280         (c-other-decl-kwds, c-postfix-decl-spec-kwds): Add compiler
1281         specific declspec keywords: __attribute__ for gcc and
1282         __declspec for msvc.
1284         * progmodes/cc-fonts.el (c-font-lock-declarations)
1285         (c-complex-decl-matchers): Support specifiers in a couple more
1286         contexts to cope with msvc '__declspec'.
1288         * progmodes/cc-engine.el (c-forward-keyword-clause):
1289         Support `c-paren-nontype-kwds'.
1291 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1293         * progmodes/cc-langs.el (c-primary-expr-regexp): Don't match a
1294         bare period as a float.
1296 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1298         * progmodes/cc-bytecomp.el (cc-bytecomp-setup-environment):
1299         Do not cover functions that have been bound.
1301         (cc-external-require): New macro to use for requiring external
1302         packages, to handle the environment correctly.
1304         * progmodes/cc-defs.el, progmodes/cc-fix.el,
1305         progmodes/cc-fonts.el, progmodes/cc-mode.el: Replaced external
1306         require's with `cc-external-require'.
1308 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1310         * progmodes/cc-engine.el (c-beginning-of-member-init-list)
1311         (c-guess-basic-syntax): Fixes in handling of bitfields.
1313 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1315         * progmodes/cc-langs.el (comment-end): Put a space in front of
1316         the comment ender in C, as it was before the move from cc-mode.el.
1318 2003-07-03  Alan Mackenzie  <bug-cc-mode@gnu.org>
1320         * progmodes/cc-fonts.el: Do not load progmodes/cc-awk.elc or
1321         awk-font-lock-keywords unless there is an AWK Mode buffer.
1323 2003-07-03  Alan Mackenzie  <bug-cc-mode@gnu.org>
1325         * progmodes/cc-awk.el: New file that implements AWK support,
1326         superseding the old separate derived mode in awk-mode.el.
1328         * progmodes/cc-vars.el, cc-mode-19.el, progmodes/cc-langs.el,
1329         progmodes/cc-mode.el, progmodes/cc-defs.el,
1330         progmodes/cc-engine.el, progmodes/cc-fonts.el: Changes for the
1331         new AWK support.
1333 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1335         * progmodes/cc-engine.el, progmodes/cc-langs.el
1336         (c-decl-block-key, c-search-uplist-for-classkey): Check that
1337         the modifier is followed by "{" in Pike before considering it
1338         to start a class-like block.
1340 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1342         * progmodes/cc-mode.el (c-initialize-cc-mode): Add some
1343         compatibility to make this function behave somewhat more as
1344         documented for derived modes.  It's still not enough to make
1345         the old AWK mode behave reasonably, but it's been like this a
1346         long time now so fixing it more might cause trouble
1347         elsewhere. :P
1349 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1351         * progmodes/cc-fonts.el (c-remove-font-lock-face): New macro
1352         to remove a font lock face properly (especially in XEmacs).
1354         * progmodes/cc-bytecomp.el (cc-bytecomp-obsolete-fun):
1355         Add the same kludge as in `cc-bytecomp-obsolete-var' to avoid a
1356         confused compiler warning.
1358         * progmodes/cc-engine.el (c-forward-type): Fix a bug in the
1359         handling of concatenated types when the component types are known.
1361         * progmodes/cc-fonts.el (c-constant-face-name): Add face name variable
1362         to avoid the use of `font-lock-constant-face' for constants in
1363         emacsen that doesn't have it.
1365 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1367         * progmodes/cc-styles.el, progmodes/cc-vars.el,
1368         progmodes/cc-cmds.el: Fixes for the syntactic symbols for
1369         module and composition blocks.
1371 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1373         * progmodes/cc-mode.el (c-basic-common-init):
1374         Use `open-paren-in-column-0-is-defun-start' if it exists and works.
1376         * progmodes/cc-vars.el (c-emacs-features): Add `col-0-paren'
1377         to detect when `open-paren-in-column-0-is-defun-start' exists
1378         and actually works.
1380 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1382         * progmodes/cc-align.el (c-lineup-argcont, c-lineup-gcc-asm-reg):
1383         Don't quote nil in docstrings.
1385 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1387         * progmodes/cc-vars.el, progmodes/cc-langs.el
1388         (c-primitive-type-kwds, c-font-lock-extra-types): "complex"
1389         and "imaginary" aren't keywords in C99, only macros that
1390         expand to the keywords "_Complex" and "_Imaginary", so make
1391         the former a bit less hardcoded by putting it on
1392         `c-font-lock-extra-types' instead.  There are also "bool" and
1393         "_Bool" that work the same way.
1394         (c-constant-kwds): "false" and "true" are standard constant
1395         macros in C99.
1397 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1399         * progmodes/cc-menus.el, progmodes/cc-langs.el,
1400         progmodes/cc-engine.el, progmodes/cc-fonts.el,
1401         progmodes/cc-cmds.el: Fixed various regexps to use POSIX char
1402         classes when that is supported.
1404         * progmodes/cc-defs.el (c-alpha, c-alnum, c-digit, c-upper, c-lower):
1405         New constants to make it easier to create regexps
1406         that use POSIX char classes in emacsen that support them.
1408 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1410         * progmodes/cc-vars.el (c-emacs-features): Detect in the
1411         regexp engine understands POSIX char classes.
1413 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1415         * progmodes/cc-mode.el (c-after-change): Add kludge for bug
1416         where this function sometimes gets positions outside the
1417         buffer range.
1419 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1421         * progmodes/cc-engine.el (c-beginning-of-member-init-list):
1422         Better handling of paretheses in unexpected places.
1424         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Fix a
1425         regexp match order problem that could cause empty template
1426         args on the form "<>" to be missed.
1428 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1430         * progmodes/cc-engine.el (c-parse-state): Add kludge to
1431         avoid an infinite loop when Emacs' open-paren-in-column-zero
1432         rule kicks in and causes the sexp functions to misbehave.
1434 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1436         * progmodes/cc-engine.el (c-beginning-of-member-init-list):
1437         Fix bug when C++-like code is encountered in non-C++ mode.
1439 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1441         * progmodes/cc-defs.el (c-make-keywords-re): Add option to
1442         specify the language to look up `c-nonsymbol-key' in.
1444 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1446         * progmodes/cc-cmds.el, progmodes/cc-engine.el
1447         (c-auto-newline-analysis): New dynamically bound variable to
1448         turn off the topmost-intro-cont/statement-cont kludge for
1449         brace lists during the analysis for the auto newline feature.
1450         This fixes some cases where the setting for `brace-list-open'
1451         on `c-hanging-braces-alist' didn't have any effect.
1453 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1455         * progmodes/cc-langs.el (c-literal-start-regexp): Yet another
1456         language variable.
1458         * progmodes/cc-fonts.el (c-font-lock-doc-comments)
1459         (c-find-invalid-doc-markup, javadoc-font-lock-keywords):
1460         Fix fontification of the markup in Javadoc comments.
1462         * progmodes/cc-engine.el: Fixes in face handling to cope with
1463         doc comments.
1465         (c-find-decl-spots): More failsafe skipping of comments and
1466         strings that only have been partially fontified.
1468         * progmodes/cc-defs.el (c-got-face-at): New subst to test
1469         faces at positions easier.
1471         * progmodes/cc-defs.el (c-safe-scan-lists): New wrapper macro
1472         to avoid the warnings with too many args to `scan-lists' in Emacs.
1474 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1476         * progmodes/cc-engine.el (c-syntactic-skip-backward):
1477         New function to make syntactic searches in the backward direction
1478         easier.
1480         (c-beginning-of-statement-1): Optimize skipping over large paren
1481         sexps somewhat.
1483         (c-safe-position): Remove the odd macro handling which was
1484         centered around the point instead of the passed position.
1486 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1488         * progmodes/cc-engine.el (c-in-knr-argdecl): Do not trip up on
1489         initialization expressions.
1491         * progmodes/cc-align.el (c-lineup-arglist)
1492         (c-lineup-close-paren, c-lineup-arglist-close-under-paren):
1493         Tune the "macro block" heuristics to work better in nested
1494         arglist situations.
1496 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1498         * progmodes/cc-styles.el (c-set-offset): Don't find a default
1499         syntactic element through syntactic analysis if called outside
1500         a CC Mode buffer.
1502 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1504         * progmodes/cc-mode.el (c-basic-common-init):
1505         Install `c-fill-paragraph' on `fill-paragraph-function'.
1506         Although it's not the normal way to call it in a CC Mode buffer it
1507         makes a direct call to `fill-paragraph' work better.
1509 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1511         * progmodes/cc-vars.el, progmodes/cc-mode.el
1512         (c-require-final-newline): Make this variable an alist to
1513         specify a value for each language.  The default value causes
1514         `require-final-newline' to be set to t only in languages where
1515         the standard requires a final newline.
1517 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1519         * progmodes/cc-mode.el, progmodes/cc-vars.el
1520         (c-require-final-newline): Add a variable to make the
1521         initialization of `require-final-newline' more configurable.
1523         * progmodes/cc-vars.el (c-mode-common-hook): Do not change the
1524         format string to "CC Mode Common Hook" since that causes
1525         confusion (although it is a more accurate name).
1527 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1529         * progmodes/cc-fonts.el (javadoc-font-lock-keywords)
1530         (autodoc-font-lock-keywords): Support for Javadoc and Pike
1531         Autodoc doc comments.
1533         * progmodes/cc-vars.el (c-doc-comment-style): New variable to
1534         control the fontification of documentation comments on top of
1535         the normal mode font lock.
1537 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1539         * progmodes/cc-langs.el, progmodes/cc-fonts.el
1540         (c-primary-expr-regexp, c-font-lock-declarations): Avoid false
1541         recognition of parens as casts when they are followed by an
1542         operator that is both prefix and infix.
1544 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1546         * progmodes/cc-cmds.el (c-guess-fill-prefix): Tune the
1547         heuristics of when to use `c-block-comment-prefix' for an
1548         unclosed block comment.
1550 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1552         * progmodes/cc-engine.el, progmodes/cc-langs.el
1553         (c-nonsymbol-sexp-kwds, c-forward-keyword-clause):
1554         Handle keywords like "extern" that can be followed by e.g. a string
1555         literal.
1557         * progmodes/cc-defs.el (c-make-keywords-re): Make a regexp
1558         correctly with one submatch when adorn is set and the list is empty.
1560 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1562         * progmodes/cc-fonts.el (c-font-lock-declarations): Fix a
1563         search that could go far past the relevant region and cause
1564         slowness.  Do not limit the declaration detection to the
1565         fontified region since that can cause misfontification in
1566         multiline declarations.
1568         * progmodes/cc-engine.el (c-find-decl-spots): Add limit
1569         argument to handle declarations spanning the fontification
1570         limit better.
1572 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1574         * progmodes/cc-engine.el (c-in-literal, c-literal-limits)
1575         (c-literal-limits-fast, c-beginning-of-inheritance-list):
1576         Use the paren cache instead of the impaired ad hoc in
1577         `beginning-of-defun', so that these functions doesn't trip up
1578         on "{" in the first column inside strings or comments.
1580 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1582         * progmodes/cc-vars.el (c-hanging-braces-alist):
1583         Add `statement-cont' and made it auto newline free by default.
1585         * progmodes/cc-cmds.el (c-electric-brace):
1586         Add `statement-cont' to the list of syntactic symbols to consider
1587         for auto newlines since it can be used for in-statement brace lists.
1589         * progmodes/cc-vars.el (c-emacs-features): There's no need to
1590         have this constant autoloaded.
1592 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1594         * progmodes/cc-fonts.el (c-font-lock-declarations):
1595         Use `c-recognize-typeless-decls' to avoid fontifying some macro
1596         constructs as declarations in languages where a preceding type
1597         is mandatory.
1599         * progmodes/cc-langs.el (c-recognize-typeless-decls):
1600         New language variable.
1602 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1604         * progmodes/cc-align.el (c-lineup-close-paren):
1605         Use `c-syntactic-eol' when checking if the open paren ends its line.
1607         * progmodes/cc-langs.el (c-syntactic-eol): Handle a line
1608         continuation backslash.
1610 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1612         * progmodes/cc-align.el (c-snug-do-while): Compatibility fix
1613         for changed structure in `c-syntactic-context'.
1615 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1617         * progmodes/cc-engine.el (c-parse-state): Filter angle bracket
1618         arglist parens in a better way than disabling the syntax table
1619         properties completely.
1621         * progmodes/cc-fonts.el (c-cpp-matchers): Handle line
1622         continuations in cpp expressions. Do not fontify symbols after
1623         #ifdef etc as variables since that isn't consistent with how
1624         the face is used elsewhere (i.e. only for the definition of
1625         the symbol).
1627 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1629         * progmodes/cc-mode.el: Add autoload directives for the
1630         interface functions in cc-langs.
1632 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1634         * progmodes/cc-fonts.el (c-font-lock-declarations): Add a
1635         property to handle refontication in multiline declaration
1636         arglists better.
1637         (c-font-lock-<>-arglists): Fix to handle recursive template
1638         arglists better.  (As a side effect this will make
1639         fontification work better in older emacsen too.)
1641         * progmodes/cc-engine.el (c-forward-<>-arglist)
1642         (c-remove-<>-arglist-properties): Use a common text property
1643         `c-type' for all sorts of CC Mode char classification, to
1644         avoid cases when then same char is given conflicting types.
1645         (c-forward-<>-arglist): New reparse argument to control that
1646         aspect explicitly.
1647         (c-forward-name, c-forward-type): Changes in the handling of
1648         recursive template arglists.  Fixes to cope with the new 'known
1649         type classification.
1651 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1653         * progmodes/cc-mode.el (c-basic-common-init): Add the new
1654         char property `c-type' to `text-property-default-nonsticky'.
1656         * progmodes/cc-defs.el (c-put-char-property)
1657         (c-get-char-property, c-clear-char-property)
1658         (c-clear-char-properties): Generalize `c-put-char-syntax' and
1659         `c-get-char-syntax' to handle any property.
1661         * progmodes/cc-bytecomp.el (cc-bytecomp-defun): Fix bug that
1662         caused existing function definitions to be overridden by
1663         phonies when the bytecomp environment is restored.
1665 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1667         * progmodes/cc-cmds.el (c-mask-paragraph): Masking is
1668         necessary in normal code too to avoid getting a fill prefix
1669         from a nearby comment.  Change the name from `c-mask-comment'
1670         to a more accurate one.
1672         * progmodes/cc-defs.el, progmodes/cc-mode.el: Change the
1673         auto-load-alist strategy to not add entries on package load,
1674         to be defensive in the case that autoloads are updated in
1675         older emacsen.  The bug that would occur in that case would
1676         probably be rather nasty for the average user.
1678 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1680         * progmodes/cc-fonts.el (c-font-lock-declarations):
1681         Fine tuning of the decision tree that tells declarations from
1682         expressions to produce better results in some ambiguous cases.
1684         * progmodes/cc-fonts.el (c-font-lock-syntactic-face-function):
1685         Remove since it doesn't give the control we want.
1686         (c-font-lock-invalid-string): Replacement for
1687         `c-font-lock-syntactic-face-function' that puts the error face
1688         on the string opener only, to avoid the annoying excessive use
1689         of the error face while a string literal is being written.
1690         (c-basic-matchers-before): Use `c-font-lock-invalid-string'.
1692         * progmodes/cc-engine.el (c-string-syntax)
1693         (c-string-limit-regexp): Add constants to use when handling
1694         string limits, since not all old emacsen react well to the "|"
1695         syntax class.
1697         (c-literal-limits, c-literal-limits-fast, c-literal-type):
1698         Use `c-string-syntax' and `c-string-limit-regexp'.  Replace some
1699         hardcoded comment start regexps with `c-comment-start-regexp'.
1701 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1703         * progmodes/cc-mode.el: Added an association for pike-mode on
1704         `intepreter-mode-alist'.
1706 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1708         * progmodes/cc-mode.el: Add the `auto-mode-alist' entries to
1709         the end instead of the start of the list, to avoid overriding
1710         user additions that are made before this file is loaded when
1711         the entries don't correspond to any already on `auto-mode-alist'.
1712         This is done through the third append argument to
1713         `add-to-alist'.  That doesn't exist in older (X)Emacsen, so
1714         the function is advised in cc-defs.  However, that advice
1715         doesn't help if the autoloads are updated in an old (X)Emacs
1716         with this version of CC Mode, but I believe it's unlikely that
1717         anyone does that when CC Mode isn't distributed with with it.
1719         * progmodes/cc-defs.el (add-to-list): Add advice to get the
1720         optional third append argument in older (X)Emacsen.
1722         * progmodes/cc-langs.el (c-keywords-obarray): Kludge for
1723         strange bug in Emacs that gives so odd errors that I frankly
1724         don't even muster to begin trying to narrow it down.
1725         If someone is so inclined, restore the commented code, byte
1726         compile, and try to open a C++ file or something in font lock mode.
1728 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1730         * progmodes/cc-langs.el: Update the IDL support from the
1731         specs.  This also adds the keywords for the variants PSDL and
1732         CIDL.  (This is mostly done from reading the grammars only;
1733         very lightly tested.)
1735         * progmodes/cc-langs.el (c-type-list-kwds): Add "new" in Java.
1737         * progmodes/cc-fonts.el: Make sure that
1738         `parse-sexp-lookup-properties' is properly insulated from
1739         clobbering by the font-lock package at all relevant entry points.
1741 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1743         * progmodes/cc-langs.el (c-opt-after-id-concat-key):
1744         New language constant to make the recognition of identifier
1745         qualifiers more flexible.  Recognize the identifier before
1746         ".*" as a qualifier in Java.
1747         (c-identifier-key): Recognize "::*" inside identifiers in C++.
1748         Recognize identifiers ending with ".*" in Java for the sake of
1749         import directives.
1750         (c-type-list-kwds, c-ref-list-kwds): Recognize "import" and
1751         "package" declarations in Java.
1753         * progmodes/cc-vars.el (c-doc-face, c-doc-marker-face)
1754         (c-doc-markup-face): Remove since they aren't used (and
1755         probably won't be).
1757         * progmodes/cc-langs.el (c-ref-list-kwds): New language
1758         constant to specify keywords followed by references.
1759         (c-last-identifier-range): New variable to avoid going back to
1760         search for the identifier to font lock after a call to
1761         `c-forward-name'.
1762         (c-type-prefix-kwds, c-type-list-kwds): Fix classification of
1763         "@interface" etc in Objective-C.
1765         * progmodes/cc-engine.el (c-forward-keyword-clause):
1766         Fix handling of keyword prefixes in `c-type-list-kwds' and
1767         `c-colon-type-list-kwds' clauses.
1768         (c-keyword-sym, c-keyword-member): New functions to lookup and
1769         categorize keywords.
1770         (c-forward-keyword-clause): New function to move over a keyword
1771         and its associated clause according to `c-<>-arglist-kwds' etc.
1773         * progmodes/cc-langs.el (c-typeless-decl-kwds)
1774         (c-type-list-kwds, c-colon-type-list-kwds)
1775         (c-colon-type-list-re, c-paren-type-kwds): New language
1776         constants and variables to generalize the recognition of
1777         various language constructs.
1778         (c-keywords): Did away with the list of `*-kwds' constants.
1779         It's now built through macro expansion.
1780         (c-keywords-obarray): New language variable which contains each
1781         keyword as a symbol, to make fast reverse lookup of keywords to
1782         the `*-kwds' lists they come from.
1784 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1786         * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
1787         Add macro to be able to do direct evaluation in
1788         `c-lang-defconst' forms.
1790         * progmodes/cc-engine.el (c-syntactic-re-search-forward):
1791         Fix a bug which could cause the point to end up outside the
1792         containing sexp if PAREN-LEVEL was used.
1794         * progmodes/cc-engine.el, progmodes/cc-fonts.el,
1795         progmodes/cc-langs.el: Generalize the C++ template arglist
1796         support to handle angle bracket arglists in any language.
1797         (c-recognize-<>-arglists, c-<>-arglist-kwds)
1798         (c-opt-<>-arglist-start): New language variables to control
1799         angle bracket arglists.
1800         (c-opt-type-suffix-key): Use `c-recognize-<>-arglists' in
1801         Objective-C instead of matching a protocol reference list as a
1802         type suffix.
1804 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1806         * progmodes/cc-align.el (c-gnu-impose-minimum): Fix a missing
1807         `save-excursion' that caused the point to jump around.
1809 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1811         * progmodes/cc-mode.el, progmodes/cc-menus.el (objc-mode)
1812         (cc-imenu-init): Fix initialization bug that has made the
1813         Objective-C support inoperational since 5.26.
1814         (cc-imenu-objc-generic-expression): Update submatch indices
1815         due to changes in `cc-imenu-c++-generic-expression'.
1816         (cc-imenu-objc-function): Don't add an empty "C" menu since
1817         imenu doesn't like that.
1819 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1821         * progmodes/cc-align.el (c-lineup-arglist)
1822         (c-lineup-arglist-close-under-paren, c-lineup-close-paren):
1823         Add DWIM to the functions that line up at or after the
1824         arglist open paren to avoid that if there are brace blocks
1825         inside, e.g. when a macro contains a code block.
1827 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1829         * progmodes/cc-vars.el (objc-font-lock-extra-types):
1830         Change default to treat identifiers starting with capital letters as
1831         types, according to Objective-C naming conventions.  The types
1832         previously on the list is part of the language and therefore
1833         on `c-primitive-type-kwds' instead.
1835         * progmodes/cc-fonts.el: Fix font locking in Objective-C.
1836         Be more careful about returning nil from functions used
1837         directly as font-lock matchers.
1839         * progmodes/cc-mode.el (c-font-lock-init): Make the syntax
1840         table modification element of `font-lock-defaults'
1841         parameterized over the languages.
1843         * progmodes/cc-langs.el: Update the Objective-C constants
1844         according to the language spec.  The "@" chars that start
1845         directives are now considered part of the keywords to make
1846         things easier.
1848 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1850         * progmodes/cc-defs.el: (c-(up|down)-list-(forward|backward)):
1851         Make the position optional and added docstrings.
1853         (c-go-(up|down)-list-(forward|backward)): Add variants of the
1854         above that move point and return successfulness instead.
1856 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1858         * progmodes/cc-fonts.el (c-font-lock-<>-arglists):
1859         New function to fontify all occurrences of template arglists in C++.
1861         * progmodes/cc-engine.el (c-disallow-comma-in-<>-arglists):
1862         New variable to be able to avoid false recognition of template
1863         arglists in some cases.
1865 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1867         * progmodes/cc-fonts.el, progmodes/cc-langs.el
1868         (c-decl-prefix-re, c-font-lock-declarations): Match template
1869         open brackets to get a declaration in the first template argument.
1870         (c-complex-decl-matchers): Fontify the second type in a "class
1871         X = Y" expression in C++.
1873 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1875         * progmodes/cc-engine.el (c-forward-<>-arglist): Break out the
1876         recursive part to a new function to improve efficiency when a
1877         nested template arglist search turns out to be futile.
1879 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1881         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
1882         Improve to avoid false matches on e.g. "else if (foo)".
1884 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1886         * progmodes/cc-engine.el (c-forward-token-2)
1887         (c-backward-token-2): New functions that work like the -1
1888         variants but that handle multicharacter operator tokens.
1890         * progmodes/cc-engine.el (c-inside-bracelist-p)
1891         (c-guess-basic-syntax): Do away with the hardcoded regexps to
1892         recognize "typedef" declaration prefixes, "extern" and
1893         "namespace" blocks, "enum"-style brace list declarations and
1894         Java-style array initializers with "new".
1896         * progmodes/cc-langs.el (c-brace-list-decl-kwds)
1897         (c-brace-list-key, c-inexpr-brace-list-kwds)
1898         (c-opt-inexpr-brace-list-key): New language constants and
1899         variables to parameterize some more of the hardcoded regexps
1900         in cc-engine.
1902 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1904         * progmodes/cc-align.el (c-lineup-cascaded-calls): Do not
1905         allow cascaded call lists containing both "->" and ".".
1907 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1909         * progmodes/cc-align.el, progmodes/cc-cmds.el,
1910         progmodes/cc-defs.el, progmodes/cc-engine.el,
1911         progmodes/cc-fonts.el, progmodes/cc-langs.el,
1912         progmodes/cc-mode.el, progmodes/cc-styles.el: New language
1913         variable system to make it easier to set up optimized language
1914         variables and to extend them in third party derived modes.
1915         cc-langs is no longer required at runtime.
1917         * progmodes/cc-mode.el (c-basic-common-init): No longer
1918         initializes the language variables.  It's necessary that the
1919         caller does that directly since the evaluated values for them
1920         now get compiled in directly.
1921         (c-font-lock-init, c-common-init): Separate the font-lock
1922         initialization from `c-common-init'.
1924         * progmodes/cc-mode.el (c-define-abbrev-table): Do not
1925         override an existing abbrev table.
1926         (c-Java-defun-prompt-regexp): Move here from cc-langs since
1927         cc-langs isn't always loaded at runtime.
1929         * progmodes/cc-langs.el (c-make-init-lang-vars-fun)
1930         (c-init-language-vars): Change to allow language variable
1931         initialization from derived modes.
1932         (c-mode-menu): New language variable for the mode menu.
1933         (c-make-mode-syntax-table, c-mode-syntax-table)
1934         (make-c++-template-syntax-table): New language variables for syntax
1935         tables.  The code that initializes them has been moved to cc-mode
1936         to make it possible to avoid loading cc-langs at runtime.
1938         * progmodes/cc-engine.el, progmodes/cc-langs.el
1939         (c-hungry-delete-key, c-auto-newline, c-auto-hungry-string):
1940         Move these state variables from cc-langs to cc-engine to make
1941         it possible to avoid loading cc-langs at runtime.
1943         * progmodes/cc-defs.el (c-lang-defconst, c-lang-const):
1944         Move from cc-langs and rewritten to make the language constant
1945         system usable from derived modes.
1947         (c-add-language): New function intended for use from derived modes
1948         that add new C-like languages.
1950         * progmodes/cc-defs.el, progmodes/cc-vars.el
1951         (c-buffer-is-cc-mode): Move from cc-vars to cc-defs to define
1952         it during compilation.
1954         * progmodes/cc-bytecomp.el (cc-require-when-compile):
1955         New support macro for compile time `require's.
1957 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1959         * progmodes/cc-defs.el, progmodes/cc-mode.el (c-version):
1960         Move from cc-mode to cc-defs to make it accessible to the
1961         other components.
1963         * progmodes/cc-engine.el (c-forward-token-1, c-backward-token-1):
1964         Compatibility fix for emacsen that doesn't understand generic
1965         string delimiters.
1967         * progmodes/cc-vars.el (c-emacs-features): Add detection of
1968         generic string and comment delimiters.
1970         * progmodes/cc-defs.el, progmodes/cc-langs.el
1971         (c-make-keywords-re): Change interface to make it more extensible.
1973         * progmodes/cc-langs.el, progmodes/cc-defs.el (c-regexp-opt)
1974         (c-regexp-opt-depth, c-make-keywords-re): Move from cc-langs
1975         to cc-defs since they are generally useful.
1977         * progmodes/cc-bytecomp.el, progmodes/cc-defs.el
1978         (cc-eval-when-compile): Move from cc-bytecomp to cc-defs to
1979         allow use at runtime.
1981 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1983         * progmodes/cc-bytecomp.el (cc-eval-when-compile):
1984         Workaround for a bug with nested `eval-when-compile' in XEmacs 21.
1986 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1988         * progmodes/cc-mode.el: Added autoloaded forms to install the
1989         appropriate file suffixes on `auto-mode-alist'.  Necessary in
1990         XEmacs 21.5, and it can be useful elsewhere too.
1992 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1994         * progmodes/cc-align.el (c-lineup-cascaded-calls): Handle "."
1995         too, for use in Java.
1997         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1998         Do not handle cpp directives in languages that doesn't have any.
2000 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2002         * progmodes/cc-langs.el (c-operators): Add a high level description
2003         of all operators, along with their precedence and associativity.
2005         * progmodes/cc-align.el (c-lineup-multi-inher): Fix bug
2006         where the position of the point and not the beginning of the
2007         line was used to calculate the indentation.
2009 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2011         * progmodes/cc-defs.el, progmodes/cc-engine.el
2012         (c-backward-single-comment, c-backward-comments): Add kludge
2013         for the bug in `forward-comment' in most (X)Emacs versions
2014         where it moves back over the "*/" of a block comment if
2015         there's no matching "/*".  This has become more important now
2016         since it can cause incorrect caching by `c-backward-sws'.
2018 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2020         * progmodes/cc-cmds.el (c-hungry-backspace)
2021         (c-hungry-delete-forward): New functions to do hungry deletion
2022         regardless of hungry-delete mode.  Contributed by Kevin Ryde.
2024         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws)
2025         (c-invalidate-sws-region): Use text properties to cache regions
2026         with complex syntactic whitespace.  This helps a lot in
2027         improving responsiveness when there are lots of comments and
2028         cpp directives before point.
2030 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2032         * progmodes/cc-guess.el, progmodes/cc-langs.el,
2033         progmodes/cc-menus.el, progmodes/cc-mode.el,
2034         progmodes/cc-styles.el, progmodes/cc-vars.el,
2035         progmodes/cc-engine.el, progmodes/cc-fonts.el,
2036         progmodes/cc-cmds.el, progmodes/cc-defs.el: Introduce a
2037         classification of functions into those that make "hidden
2038         buffer changes" and those who don't.  This is prompted by the
2039         increasing use of text properties for various things, to
2040         correctly cover the silly buffer modifications that is caused
2041         by text property changes.
2042         (c-save-buffer-state): New macro that's put around any code that
2043         can manipulate text properties.
2045 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2047         * progmodes/cc-mode.el (c-basic-common-init):
2048         Setup `text-property-default-nonsticky' to avoid messing with the
2049         rear-nonsticky property on each character in Emacs 21.
2051         * progmodes/cc-defs.el (c-clear-char-syntax, c-put-char-syntax):
2052         Macros that sets and removes the
2053         syntax-table property on a single character and makes the
2054         property nonsticky in both directions in a suitable way for
2055         each (X)Emacs flavor.
2057         * progmodes/cc-vars.el, progmodes/cc-defs.el,
2058         progmodes/cc-engine.el, progmodes/cc-mode.el:
2059         Use `lookup-syntax-properties' in XEmacs to control whether the
2060         syntax-table property has any effect or not.
2062         (c-parse-sexp-lookup-properties): New macro that expands to either
2063         `parse-sexp-lookup-properties' or `lookup-syntax-properties'.
2065 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2067         * progmodes/cc-defs.el, progmodes/cc-engine.el,
2068         progmodes/cc-fonts.el: Put the faces into the buffer in the
2069         same way as the font-lock package does.  This fixes a
2070         compatibility problem with XEmacs which sets an extra
2071         font-lock property.
2073         * progmodes/cc-fonts.el (c-put-font-lock-face): A macro that
2074         finds out the right way to put font lock faces at compile
2075         time.  We're definitely not byte code portable between Emacs
2076         and XEmacs now.
2078         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2079         Implement a cache for the last large skipped over syntactic
2080         whitespace.  This also has most effect after many macros.
2082         * progmodes/cc-engine.el, progmodes/cc-defs.el
2083         (c-forward-syntactic-ws, c-backward-syntactic-ws): Utilize the
2084         limit better when one is passed.  These are now macros to
2085         avoid a little overhead when no limit is given.
2086         (c-forward-sws, c-backward-sws): New functions called by the
2087         macros above to do the unbounded search.
2089         * progmodes/cc-fonts.el (c-font-lock-declarations):
2090         Implement a cache for the first backward search for a
2091         preceding `c-decl-prefix-re' match.  This typically speeds up
2092         interactive refontification a lot on the top level of macro
2093         heavy header files.
2095 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2097         * progmodes/cc-vars.el (c-emacs-features): Add check for
2098         syntax text properties.
2100         * progmodes/cc-mode.el (c-basic-common-init): Turn on
2101         `parse-sexp-lookup-properties' if it's supported.  Define the
2102         variable in any case since it's used at runtime to check on this.
2104         * progmodes/cc-langs.el (c-identifier-key): Support C++
2105         destructor names.
2106         (c-identifier-start, c-op-token-regexp, c-type-modifier-kwds)
2107         (c-opt-type-modifier-key, c-opt-type-component-key)
2108         (c-typedef-specifier-kwds, c-typedef-specifier-key)
2109         (c-paren-stmt-kwds, c-paren-stmt-key, c-syntactic-ws-start):
2110         A bunch of new language constants and variables to support the
2111         improved handling of names and types.
2113         * progmodes/cc-fonts.el (c-font-lock-declarators)
2114         (c-font-lock-declarations): Handle C++ template declarations
2115         and template references.  Fontify complex types and names more
2116         accurately by delegating it to `c-forward-type' and
2117         `c-forward-name'.  Fontify the identifiers in typedef
2118         declarations as types.
2120         * progmodes/cc-engine.el (c-forward-<>-arglist): New function
2121         to move forward over a C++ template arglist.  It also marks
2122         the '<' and '>' chars with paren syntax using the syntax-table
2123         property, to speed up later calls in emacsen that support
2124         syntax text properties (Emacs >= 20 and (undocumented) XEmacs 21).
2125         This also has the very interesting effect that if font locking
2126         is used with decoration level 3 or higher in these emacsen
2127         then template arglists will behave just like paren sexps with
2128         the various sexp movement commands.
2129         (c-forward-name): New function to move over a name.  Simple in
2130         most languages except C++ where a name can contain template
2131         arglists and therefore almost arbitrary expressions.
2132         (c-on-identifier): Fix for Pike operator identifiers.
2133         (c-simple-skip-symbol-backward, c-syntactic-content)
2134         (c-remove-<>-paren-properties): New helper functions.
2136         * progmodes/cc-defs.el: (c-clear-char-syntax)
2137         (c-mark-paren-open, c-mark-paren-close): New support functions
2138         to handle syntactic properties on C++ template arglist brackets.
2139         (c-put-type-face, c-put-reference-face): Helpers to put faces on
2140         regions, since there are a bit of that inside `c-forward-name' etc
2141         in progmodes/cc-engine.el.
2143         * progmodes/cc-engine.el, progmodes/cc-fonts.el,
2144         progmodes/cc-langs.el: Fix the names on a number of regexp
2145         language variables to conform to the nomenclature and
2146         shortened some names.
2148         * progmodes/cc-align.el, progmodes/cc-cmds.el,
2149         progmodes/cc-fonts.el, progmodes/cc-engine.el
2150         (c-syntactic-re-search-forward): Remove the COUNT argument
2151         since it's never used.  Add an argument to tell which
2152         subexpression whose end should be tested for syntactic
2153         relevance.  Using this also removes some optimizations, so
2154         that it's possible to use a look behind subexpression that
2155         matches the end of a literal or a close paren when PAREN-LEVEL
2156         is used.
2158         (c-guess-continued-construct): Don't match <<= or >>= for the
2159         stream-op syntactic element.
2161         * progmodes/cc-defs.el (c-paren-re, c-identifier-re):
2162         Remove these helper macros since better and more correct tools are
2163         now available in progmodes/cc-langs.el.
2165 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2167         * progmodes/cc-align.el (c-lineup-string-cont): New lineup
2168         function to line up string literals that will be concatenated.
2170 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2172         * progmodes/cc-langs.el (c-populate-syntax-table):
2173         XEmacs classifies the hard space character as a symbol character
2174         but it's better to let it be in the punctuation class so that it's
2175         always highlighted with the inverted invalid face.  It can
2176         perhaps be argued that that character is allowed in
2177         identifiers in some languages (haven't checked), but using it
2178         would still be extremely confusing.
2180 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2182         * progmodes/cc-engine.el (c-beginning-of-statement-1): Fix a
2183         case when a labeled substatement caused incorrect association
2184         of the following continuation clause.
2186         * progmodes/cc-engine.el (c-syntactic-re-search-forward):
2187         Handle the case when the syntactic match position is in the
2188         middle of a comment starter.
2190         (c-guess-continued-construct): Analyze the "K&R region" of a
2191         function nested inside a function as func-decl-cont and not
2192         statement-cont.  New case E.  Also clean up case C (stream-op
2193         recognition) a bit.
2195         * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
2196         Move the check on `c-state-cache-start' from
2197         `c-check-state-cache' to `c-parse-state' so that the state
2198         cache isn't zapped if `c-check-state-cache' but not
2199         `c-parse-state' is called during a temporary narrowing.
2200         This fixes a performance problem that could occur when
2201         `fill-paragraph' is used in font lock mode on a comment at the
2202         end of a large class or function.
2204         (c-state-cache-start): Fix buffer localness.
2206 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2208         * progmodes/cc-langs.el: Updates from the C99 standard (or
2209         actually from the latest web accessible draft of it).
2211 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2213         * progmodes/cc-langs.el: Update the keywords and operator
2214         tokens from the latest C++ and Java standards.  Some other
2215         multichar token corrections.
2217 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2219         * progmodes/cc-cmds.el, progmodes/cc-engine.el,
2220         progmodes/cc-vars.el (c-syntactic-context)
2221         (c-syntactic-element): Do not bind any values to these
2222         variables globally since they should always be dynamically
2223         bound.  This makes it much easier to debug cases when they've
2224         gotten global values somehow.
2226 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2228         * progmodes/cc-langs.el (c-regexp-opt): Fix to work around the
2229         non-greedy behavior that the regexp engine sometimes exposes.
2230         This bug only shows in (X)Emacs 19 where there's no regexp-opt package.
2232         * progmodes/cc-engine.el (c-syntactic-re-search-forward):
2233         Add a feature to filter out matches in the middle of tokens.
2234         Changed the comment to a docstring since I consider this
2235         function generally useful.
2237         * progmodes/cc-defs.el (c-mode-symbol): Break out a part of
2238         `c-mode-var'.
2240         * progmodes/cc-align.el (c-lineup-cascaded-calls)
2241         (c-lineup-gcc-asm-reg): Cope with that `c-most-enclosing-brace'
2242         might return nil.
2244 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2246         * progmodes/cc-engine.el (c-found-types, c-clear-found-types)
2247         (c-add-type, c-check-type, c-add-complex-type)
2248         (c-list-found-types, c-forward-type): Add a sort of symbol
2249         table for types: If a name is recognized as a type in a
2250         declaration it's added in an obarray to be able to recognize
2251         it in other ambiguous declarations.
2253         (c-remove-ws): New helper function to canonicalize fully
2254         qualified identifiers for `c-found-types'.
2256         * progmodes/cc-defs.el (c-mode-var): New defsubst to access
2257         mode prefixed variables uniformly.
2259 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2261         * progmodes/cc-align.el (c-lineup-arglist-close-under-paren):
2262         Work correctly with nested arglist-cont-nonempty symbols.
2264         (c-lineup-arglist-operators): New lineup function to line up infix
2265         operators under the open paren of the surrounding sexp.
2267 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2269         * progmodes/cc-engine.el (c-forward-syntactic-ws): Fix a bug
2270         that could cause an infinite loop if something that looks like
2271         a macro begins in the middle of a line.
2273         (c-parse-state): Fix a bug that could cause `c-state-cache'
2274         to contain two conses in sequence when there's an unbalanced
2275         open paren in a macro.
2277 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2279         * progmodes/cc-defs.el (c-face-name-p): A defsubst to
2280         recognize the name of a face in a way that works also in XEmacs.
2282         * progmodes/cc-engine.el (c-forward-type): New function to
2283         move past a type spec.
2285         * progmodes/cc-engine.el (c-syntactic-re-search-forward):
2286         Fix behavior when the limit is reached inside a comment,
2287         string, or a macro.
2289         * progmodes/cc-align.el, progmodes/cc-cmds.el,
2290         progmodes/cc-engine.el (c-forward-single-comment,
2291         c-forward-comments, c-backward-single-comment,
2292         c-backward-comments): New replacements for `c-forward-comment'
2293         that wraps `forward-comment' more efficiently in each of the
2294         four different cases it's actually used.  These replacements
2295         also treats line continuations as whitespace.
2297         (c-forward-comment): Remove.  The four different cases above
2298         are basically different, so it's better to make them into
2299         separate functions than choose between them at runtime using
2300         the argument.
2302 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2304         * progmodes/cc-align.el (c-gnu-impose-minimum): Fix bug due
2305         to the new placement of cpp-macro and comment-intro in the
2306         syntactic context, as pointed out by Kevin Ryde.  Change the
2307         method that decides whether point is inside a top-level
2308         construct to one that doesn't depend on the set of syntactic
2309         elements so much.
2311         * progmodes/cc-defs.el (c-point): Use the functions
2312         `line-beginning-position' and `line-end-position' in emacsen
2313         that have them (currently Emacs 20 and later).
2315 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2317         * progmodes/cc-cmds.el (c-mask-comment): Fix a bug that
2318         sometimes caused code after a closed block comment to be taken
2319         into account when the fill prefix is calculated.
2321 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2323         * progmodes/cc-align.el (c-lineup-arglist, c-lineup-argcont)
2324         (c-lineup-math, c-lineup-cascaded-calls, c-lineup-gcc-asm-reg):
2325         Fixes to cope correctly with nested arglists for the lineups
2326         that can be used with arglist-cont-nonempty.
2328 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2330         * progmodes/cc-engine.el (c-add-stmt-syntax, c-guess-basic-syntax):
2331         Change the anchor position of
2332         arglist-cont-nonempty and arglist-close so that a relative
2333         indentation like + can be used with consistent results.
2334         Prior to this, the indentation engine more or less assumed that
2335         arglist-cont-nonempty always used `c-lineup-arglist'.
2336         Those two syntax symbols also get the opening paren as an extra
2337         position, to make it possible for `c-lineup-arglist' to
2338         continue to do a proper job.
2340         * progmodes/cc-engine.el (c-get-syntactic-indentation):
2341         A vector with an absolute indentation column now only overrides
2342         the indentation for surrounding structures, i.e. those whose
2343         syntactic elements are earlier in the `c-syntactic-context'
2344         list, but not nested ones.  This so that
2345         e.g. `c-lineup-arglist' can reliably line up with the first
2346         argument but still allow relative indentation changes for
2347         nested things, e.g. the arglist-close of a nested argument
2348         list.  This change means that the order in
2349         `c-syntactic-context' has become more essential.
2350         (c-guess-basic-syntax): Changes to make the nesting order of the
2351         returned syntax list correct.
2353         Compatibility note: This change means that `c-lineup-dont-change'
2354         now (again) isn't absolutely sure to keep the current indentation.
2355         However, I believe that most people use it for comments, macros
2356         and string literals, and since those are nested innermost it won't
2357         matter.
2359 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2361         * progmodes/cc-align.el, progmodes/cc-defs.el,
2362         progmodes/cc-engine.el, progmodes/cc-vars.el
2363         (c-guess-basic-syntax, c-calc-offset)
2364         (c-get-syntactic-indentation, c-syntactic-context):
2365         Extend the representation of the syntactic context: Previously it was
2366         a list containing cons cells of the found syntactic symbols
2367         and their relpos values.  Now each element is instead a list
2368         containing the syntactic symbol in the first element and the
2369         relpos (if any) in the second.  After that there might be more
2370         elements, depending on the syntactic symbol.  The line-up
2371         functions get these additional elements as extra arguments.
2373         This change is slightly incompatible.  Although the calling
2374         convention for line-up functions is strictly extended, the format
2375         of the `c-syntactic-context' variable has changed slightly.  It's
2376         believed that this incompatibility is minor, though; not a single
2377         line-up function distributed with CC Mode needed to be changed,
2378         for instance.
2380 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2382         * progmodes/cc-styles.el (c-set-style, c-set-style-1):
2383         Add another state for the `dont-override' flag where it only keeps
2384         globally set variables.
2386 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2388         * progmodes/cc-mode.el (c-postprocess-file-styles): Do nothing
2389         except in CC Mode modes.
2391 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2393         * progmodes/cc-vars.el, progmodes/cc-fonts.el,
2394         progmodes/cc-langs.el, progmodes/cc-mode.el: Add font lock support.
2396         * progmodes/cc-engine.el (c-beginning-of-syntax): New function
2397         to be used for font-lock-beginning-of-syntax-function.
2398         It uses the state cache to quickly find a good position.
2400         * progmodes/cc-defs.el (c-major-mode-is): Allow a list of
2401         modes.  Made it a macro ensure that it's optimized to either
2402         eq or memq for constant arguments.
2404         * progmodes/cc-mode.el (c-common-init): Do away with the
2405         hardcoded setting of `comment-column'; it's a user variable
2406         that we have no business meddling with.  Since the default
2407         value for it is 32 in all supported (X)Emacs versions, it's
2408         also safe from a compatibility perspective.
2410         * progmodes/cc-mode.el (c-basic-common-init): New function
2411         that contains only the syntax and line breaking/filling
2412         initialization.  It's intended for use by other modes that
2413         embed CC Mode.
2415 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2417         * progmodes/cc-engine.el (c-add-stmt-syntax): Fix some cases
2418         of wrong anchoring, e.g. for else-if compounds.
2420 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2422         * progmodes/cc-engine.el (c-guess-basic-syntax): Fix anchor
2423         position for defun-open in K&R style functions.
2425         * progmodes/cc-engine.el (c-in-knr-argdecl): Don't trip up on macros.
2427         (c-search-decl-header-end): Handle C++ template arguments more
2428         correctly.
2430         (c-beginning-of-decl-1): Fix when the declaration is first in a macro.
2432 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2434         * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
2435         to handle protection labels, one which doesn't get confused by
2436         inherit colons.
2438         (c-end-of-decl-1): Don't treat functions that have "class" or
2439         "struct" in the return type as classes or structs.
2441 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2443         * progmodes/cc-langs.el (c-make-keywords-re): Fix the
2444         keyword adornment so that it works when a keyword ends with "_".
2446 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2448         * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
2449         from `c-do-auto-fill' and point is at or near the limit of the
2450         comment.  Fix bug when the prefix from `c-guess-fill-prefix'
2451         is longer than the text on the first line of the comment when
2452         it's masked.
2454 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2456         * progmodes/cc-cmds.el (c-mask-comment): Fix bug where point
2457         was moved to the following line when it was at the first line
2458         of a block comment where comment-start-skip matched to eol.
2460 2003-07-01  Luc Teirlinck  <teirllm@mail.auburn.edu>
2462         * info.el (Info-fontify-menu-headers): Only fontify `* Menu:' at
2463         the beginning of a line.
2464         (Info-extract-menu-node-name): Correctly initialize while loop.
2465         (Info-scroll-prefer-subnodes): Change default to nil.
2467         * simple.el (vis-mode): Update documentation string to reflect
2468         earlier changes.
2470 2003-06-30  Richard M. Stallman  <rms@gnu.org>
2472         * loadup.el (pure-space-overflow): Set it if overflow.
2474         * startup.el (pure-space-overflow): New variable.
2475         (fancy-splash-screens-1): Display warning if overflow.
2476         (normal-splash-screen): Likewise.
2478         * vc.el (vc-default-show-log-entry): Use with-no-warnings.
2480         * subr.el (lazy-completion-table, dynamic-completion-table):
2481         New macros.
2483 2003-06-28  Richard M. Stallman  <rms@gnu.org>
2485         * menu-bar.el (menu-bar-options-menu): Move mouse-set-fonts item here.
2487         * international/mule-cmds.el (mule-menu-keymap):
2488         Delete mouse-set-fonts item here.
2490 2003-06-29  Nick Roberts  <nick@nick.uklinux.net>
2492         * gdb-ui.el (gdb-display-number-end): Don't re-initialise local
2493         variables to preserve array slices.
2494         (gdb-array-slice): Rename gdb-mouse-array-slice.
2495         (gdb-array-slice): Interactive function bound to "\r" for text
2496         terminals.
2497         (gdb-view-source): Rename gdb-view-source-function.
2498         Set uninitialised variables (defvars) to nil.
2500 2003-06-29  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
2502         * international/mule-cmds.el
2503         (set-display-table-and-terminal-coding-system): Remove CVS
2504         conflict markers and some code.
2506 2003-06-27  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
2508         * international/mule-cmds.el (menu-bar-options-menu):
2509         Move `mouse-set-fonts' here from Options/Mule submenu.
2511 2003-06-26  Stephen Eglen  <stephen@gnu.org>
2513         * iswitchb.el (iswitchb-read-buffer): Remove redundant variable
2514         iswitchb-prepost-hooks.
2515         (iswitchb-xemacs): Delete variable and use (featurep 'xemacs)
2516         and fboundp instead.
2517         (iswitchb-completions): Remove two redundant arguments and local
2518         variables. (All above from Stefan Monnier).
2520 2003-06-20  Masatake YAMATO  <jet@gyve.org>
2522         * progmodes/asm-mode.el (asm-font-lock-keywords):
2523         Support labels starting with "." and directives starting with ".".
2525 2003-06-22  Andreas Schwab  <schwab@suse.de>
2527         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2528         Avoid variable as format argument for error.
2529         Don't call symbol-name on string.
2531         * eshell/esh-opt.el (eshell-do-opt): Avoid variable as format
2532         argument for error.
2534         * simple.el (vis-mode): Doc fix.
2536 2003-06-22  Glenn Morris  <gmorris@ast.cam.ac.uk>
2538         * calendar/diary-lib.el (diary-check-diary-file): New function.
2539         (diary, view-diary-entries, show-all-diary-entries)
2540         (mark-diary-entries): Use it.
2541         (view-other-diary-entries): Doc fix.  Use `prefix-numeric-value'.
2542         (diary-syntax-table, diary-attrtype-convert, diary-mail-days): Doc fix.
2543         (diary-modified, d-file): No need to defvar (for compiler).
2544         (list-diary-entries): No need for `let*' so use `let'.
2545         (simple-diary-display): Use `diary-file' directly rather than
2546         inheriting `d-file' from `list-diary-entries' caller.
2547         (make-fancy-diary-buffer, show-all-diary-entries):
2548         `mode-line-format' already buffer-local.
2549         (diary-mail-addr): Set to the empty string (rather than nil) if
2550         undefined, as per `user-mail-address'.
2551         (diary-mail-entries): Doc fix.  Error if `diary-mail-address' unset.
2552         (mark-sexp-diary-entries): Don't regexp-quote sexp-mark twice.
2553         Remove an un-needed `if'.
2554         (list-sexp-diary-entries): Remove local vars mark and s-entry, and
2555         use `let' rather than `let*'.
2556         (diary-date, insert-monthly-diary-entry)
2557         (insert-yearly-diary-entry, insert-anniversary-diary-entry)
2558         (insert-block-diary-entry, insert-cyclic-diary-entry)
2559         (font-lock-diary-date-forms): No need for `let*' so use `let'.
2560         (make-diary-entry): Doc fix.  Use `or' rather than `if'.
2561         (diary-font-lock-keywords): Use `when'.  `cal-islam' is required
2562         feature, not `cal-islamic'.
2563         `calendar-islamic-month-name-array-leap-year' does not exist - use
2564         `calendar-islamic-month-name-array'.
2566 2003-06-21  Kenichi Handa  <handa@m17n.org>
2568         * international/utf-16.el: Many name changes: utf-16-{be,le} ->
2569         utf-16{be,le}.
2570         (mule-utf-16-le, utf-16-le, mule-utf-16-be, utf-16-be): New coding
2571         system aliases for backward compatibility.
2573         * international/utf-7.el: Adjusted for the name change:
2574         xxx-utf-16-{le,be} -> xxx-utf-16{le,be}.
2576         * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
2577         Adjust for the name change: xxx-utf-16-{le,be} ->
2578         xxx-utf-16{le,be}.
2580         * international/mule-conf.el: Adjusted for the name change:
2581         xxx-utf-16-{le,be} -> xxx-utf-16{le,be}.
2583         * international/mule-cmds.el (reset-language-environment):
2584         Adjust for the name change: xxx-utf-16-{le,be} ->
2585         xxx-utf-16{le,be}.
2587 2003-06-20  Luc Teirlinck  <teirllm@mail.auburn.edu>
2589         * vc.el (vc-rename-file): Fix typo.
2591 2003-06-19  Andreas Schwab  <schwab@suse.de>
2593         * info.el (Info-fontify-node): Improve calculation of other-tag.
2595 2003-06-19  Stefan Monnier  <monnier@cs.yale.edu>
2597         * progmodes/cc-mode.el (c-mode): Reverting last change.
2599 2003-06-18  Stefan Monnier  <monnier@cs.yale.edu>
2601         * progmodes/gud.el (gud-find-expr-function): Rename from gud-find-expr.
2602         (gud-find-fortran-expr): Move to fortran.el.
2604         * progmodes/fortran.el (fortran-gud-find-expr): Move from gud.el
2605         where it was called gud-find-fortran-expr.
2606         (fortran-mode): Set gud-find-expr-function.
2608 2003-06-18  Nick Roberts  <nick@nick.uklinux.net>
2610         * gdb-ui.el (gud-display1): Keep the gdb command, "display", in
2611         the command history.
2612         (gdb-restore-windows): Make restore work when gdb-many-windows
2613         is nil.
2614         (gdb-source-info, gdba): Display assembler if there is no symbol
2615         table for main, or message if there is no main.
2616         (gdb-assembler-custom): Move point to current line of assembler.
2618         * progmodes/gud.el (gud-menu-map): Add dbx support for "run" and
2619         "nexti".
2620         (dbx): Define gud-nexti and gud-run.
2621         (gud-find-expr, gud-find-fortran-expr): New functions.
2622         (gud-find-expr): New variable.
2623         (gud-find-c-expr): Simplify.
2625         * progmodes/fortran.el (fortran-gud-syntax-table): Syntax table
2626         for parsing Fortran expressions for gud-print. (Stefan Monnier)
2627         (fortran-mode): Add local variable gud-find-expr.
2629         * progmodes/cc-mode.el (c-mode): Add local variable gud-find-expr.
2631 2003-06-18  Stefan Monnier  <monnier@cs.yale.edu>
2633         * subr.el (looking-back): Handle the case of non-trivial regexps.
2634         Add an optional `limit' argument.
2635         (push, pop, with-temp-file, with-temp-message, delay-mode-hooks)
2636         (with-syntax-table): Add edebug info.
2638 2003-06-17  Stefan Monnier  <monnier@cs.yale.edu>
2640         * simple.el (kill-new): Leave yank-handler property alone if no
2641         explicit yank-handler is specified.
2642         (vis-mode-saved-buffer-invisibility-spec): Rename from
2643         saved-buffer-invisibility-spec.
2644         (vis-mode): Correctly handle the case where the mode is turned on
2645         or off several times in a row.
2647 2003-06-17  Luc Teirlinck  <teirllm@mail.auburn.edu>
2649         * info.el (Info-fontify-node): Give only the last whitespace
2650         character after the node name the display property.  Give all
2651         other such whitespace the invisibility property.
2653 2003-06-17  Pinku Surana  <surana@rcn.com>
2655         * progmodes/sql.el: Add support for SQLite interpreter.
2657 2003-06-17  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
2659         Version 2.0.35 of Tramp released.
2661         * net/tramp.el (tramp-password-end-of-line): Use "xy" with plink.
2662         (tramp-completion-function-alist): Add completion function for
2663         "remcp", "remsh" and "plink1".
2664         Factor out the `regular' file name handling via a remote shell of
2665         some sort into a specific function.  Intent is to later put that
2666         part of Tramp into a special file, so that the Tramp `core' is
2667         just a dispatcher that dispatches to various handlers.
2668         (tramp-sh-file-name-handler): New function.
2669         (tramp-foreign-file-name-handler-alist): New default value.
2670         Call tramp-sh-file-name-handler as default case.
2671         (tramp-file-name-handler): Do not invoke the old remote-shell handler.
2672         (tramp-find-foreign-file-name-handler): Return after first match
2673         is found.  From Francis Litterio <franl@world.std.com>.
2674         (tramp-handle-file-newer-than-file-p):  `tramp-time-diff' returns
2675         integer, not list.  Do not apply `car' to the return value of
2676         `tramp-time-diff'.  Reported by David D. Smith
2677         <ultrasoul@ultrasoul.com>.
2678         (tramp-time-diff): Convert return value of subtract-time to a
2679         number of seconds in a correct manner, by applying float-time or
2680         time-to-seconds.  Also correct compat code accordingly.
2681         The XEmacs branch for itimer-time-difference didn't need correction,
2682         it returned a float already.  Reported by David D. Smith
2683         <ultrasoul@ultrasoul.com>.
2684         (tramp-handle-insert-file-contents): When calling
2685         `file-local-copy', let-bind `inhibit-file-name-operation'
2686         accordingly.  This makes sure that jka-compr is not called when
2687         `insert-file-contents-literally' is invoked.  From Katsumi Yamaoka
2688         <yamaoka@jpl.org>.
2689         (tramp-do-copy-or-rename-via-buffer): Avoid calling jka-compr when
2690         writing the target file.
2691         (tramp-foreign-file-name-handler-alist): Add comment about default
2692         value having to come last.
2693         (tramp-handle-file-local-copy, tramp-handle-write-region): Add the
2694         "-p" hack.
2695         (tramp-handle-copy-file): Set file modes of target file.
2696         (tramp-handle-file-local-copy)
2697         (tramp-do-copy-or-rename-via-buffer): Use binary coding system,
2698         instead of no-conversion.  They are the same on Emacs but
2699         different on XEmacs.
2700         (tramp-shell-prompt-pattern): Allow multiple escape
2701         sequences (each with optional trailing space).
2703         * net/tramp-uu.el:
2704         * net/tramp-util.el:
2705         * net/tramp-efs.el: Use iso-2022-7bit encoding with coding cookie
2706         for XEmacs compatibility.
2708 2003-06-17  Kenichi Handa  <handa@m17n.org>
2710         * term/x-win.el (x-select-request-type): New variable.
2711         (x-select-utf8-or-ctext): New function.
2712         (x-selection-value): New function.
2713         (x-cut-buffer-or-selection-value): Call x-selection-value to get
2714         a selection data.  Set next-selection-coding-system to nil.
2716         * select.el (x-get-selection): If the string returned by
2717         x-get-selection-internal has text property `foreign-selection',
2718         decode it while preserving that property.
2720 2003-06-16  Stefan Monnier  <monnier@cs.yale.edu>
2722         * menu-bar.el (ispell-menu-bar): Don't autoload.
2723         (cvs-global-menu): Use the function rather than the variable.
2725         * pcvs-defs.el (cvs-global-menu): Define as a function as well.
2727         * emacs-lisp/debug.el (debug): Fix call to message.
2729 2003-06-16  Michael Mauger  <mmaug@yahoo.com> (tiny change)
2731         * emulation/cua-base.el (cua-mode): Use explicit arg to turn off
2732         minor modes.
2734 2003-06-16  Stefan Monnier  <monnier@cs.yale.edu>
2736         * emacs-lisp/cl-extra.el (cl-macroexpand-all):
2737         Don't burp if (cadr (caddr found)) encounters a non-list element.
2739         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Use map-keymap.
2740         (defsubst*): Don't put a `cl-whole argument if it's not used.
2742         * emacs-lisp/cl-specs.el (pushnew): Use keywordp.
2744         * emacs-lisp/disass.el (disassemble): Accept plain expressions.
2746         * add-log.el (add-log-edit-prev-comment, add-log-edit-next-comment):
2747         New commands.
2748         (change-log-mode-map): Bind them.
2749         (smerge-resolve-function): Declare to quieten the byte-compiler.
2750         (change-log-mode): Add the keymap to the docstring.
2752 2003-06-16  Luc Teirlinck  <teirllm@mail.auburn.edu>
2754         * simple.el (vis-mode): New function.
2755         (saved-buffer-invisibility-spec): New variable.
2757 2003-06-16  Juanma Barranquero  <lektu@terra.es>
2759         * progmodes/sh-script.el (sh-while-getopts, sh-if, sh-case):
2760         Revert part of previous change.
2762 2003-06-16  Pieter E.J. Pareit  <pieter.pareit@skynet.be>
2764         * progmodes/mixal-mode.el: New file.
2766 2003-06-16  Markus Rost  <rost@math.ohio-state.edu>
2768         * files.el (recover-session-finish): Don't give up when there are
2769         two consecutive empty lines in the auto-save-list file.
2771 2003-06-14  Stefan Monnier  <monnier@cs.yale.edu>
2773         * emacs-lisp/copyright.el (copyright-update-year): New function
2774         extracted from copyright-update.
2775         When `arg' is set, replace the year, not the `copyright' text.
2776         Ignore `copyright-update = nil' if called interactively.
2777         Use "," rather than ", " if that's what was used before.
2778         Recognize mixes of 2 and 4 digit years.
2779         Use replace-match.
2780         (copyright-update): Add interactivep arg.
2781         Use it instead of use last-command.
2782         Use replace-match.  Don't assume (point-min) == 1.
2784         * textmodes/tex-mode.el (tex-compile-commands):
2785         Handle tex-start-commands like tex-start-tex does.
2787         * cus-edit.el (custom-get-fresh-buffer): Kill overlays before erasing
2788         the buffer.
2790 2003-06-13  Ilya N. Golubev  <gin@mo.msk.ru>  (tiny change)
2792         * shell.el (shell-command-separator-regexp): New variable.
2793         (shell-directory-tracker): Make regexp used for skipping to next
2794         command correspond to one used for command itself.
2796 2003-06-13  Katsumi Yamaoka  <yamaoka@jpl.org>  (tiny change)
2798         * textmodes/texinfmt.el (texinfo-format-scan):
2799         Silence `whitespace-cleanup'.
2801 2003-06-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
2803         * calendar/timeclock.el (display-time-hook)
2804         (timeclock-modeline-display): Define for byte-compiler.
2805         (timeclock-time-to-date, timeclock-workday-remaining)
2806         (timeclock-time-to-seconds, timeclock-seconds-to-time):
2807         Move earlier in the file so defined before used.
2808         (timeclock-status-string): No need for `let*' so use `let'.
2809         (timeclock-query-out): Always return a non-nil value.
2811 2003-06-10  Rajesh Vaidheeswarran  <rv@gnu.org>
2813         * whitespace.el (whitespace-version): Bump to 3.3
2814         (whitespace-cleanup): Respect user preference for silence
2816         * whitespace.el: Remove :tag in commentary :link.  Remove empty
2817         lines in comment, since commentary seems to have a problem with that.
2819 2003-06-09  Stefan Monnier  <monnier@cs.yale.edu>
2821         * textmodes/tex-mode.el (tex-search-noncomment): New macro.
2822         (tex-last-unended-begin, tex-next-unmatched-end): Use it
2823         so we don't get confused by \begin and \end in comments.
2824         (tex-compile): Change dir before calling tex-compile-default.
2826 2003-06-09  Luc Teirlinck  <teirllm@mail.auburn.edu>
2828         * bindings.el (global-map): Bind `kill-whole-line' to
2829         C-S-<backspace>.  Remove M-S-<backspace> binding: too close to
2830         C-M-<backspace>.
2832         * dired.el (dired-re-dot): Make it handle trailing /.
2833         (dired-get-filename): Update documentation string.
2834         Revert previous change and fix typo in earlier version.
2836 2003-06-10  Kim F. Storm  <storm@cua.dk>
2838         * info.el (Info-fontify-node): Make `invisible' property
2839         non-sticky so that whitespace added by filling stays visible.
2840         Make refilling less agressive by starting at beginning of current
2841         line rather than beginning of current paragraph.
2843 2003-06-09  Andreas Schwab  <schwab@suse.de>
2845         * dired.el (dired-get-filename): Complain only about "." and "..",
2846         not all directories.
2848 2003-06-08  Nick Roberts  <nick@nick.uklinux.net>
2850         * gdb-ui.el (gdb-get-current-frame, gdb-frame-handler): Use Gdb
2851         command `info frame' instead of `frame' to preserve point.
2852         (gdb-invalidate-assembler): Only run disassemble again if frame
2853         has changed.
2854         (gdb-append-to-inferior-io): Revert change from 2003-05-17.
2856 2003-06-07  Stefan Monnier  <monnier@cs.yale.edu>
2858         * textmodes/texinfo.el (texinfo-enable-quote-macros): Fix thinko.
2859         (texinfo-insert-@table): Remove unused arg.
2860         (texinfo-show-structure): Remove unused var `source-buffer'.
2862         * info.el (Info-goto-node, Info-follow-reference, Info-menu-update)
2863         (Info-fontify-node): Don't search past header-end.
2864         Use match-string and line-end-position.
2866         * skeleton.el (skeleton-proxy-new): Consume the mark-active state.
2868         * textmodes/tex-mode.el (tex-mode-syntax-table)
2869         (tex-latex-indent-syntax-table): Don't use easy-mmode-defsyntax.
2871 2003-06-07  Jason Rumney  <jasonr@gnu.org>
2873         * mwheel.el (mouse-wheel-up-event, mouse-wheel-down-event):
2874         Use wheel-* events on darwin.
2876 2003-06-06  Era Eriksson  <era@iki.fi>  (tiny change)
2878         * shell.el (shell-resync-dirs): Tolerate an extra line of output
2879         before the list of directories from `shell-dirstack-query' (it
2880         looks for, and ignores, a literal copy of the value of
2881         shell-dirstack-query).
2883 2003-06-06  Lute Kamstra  <Lute.Kamstra@cwi.nl>
2885         * info.el (Info-complete-menu-item): Revert change of 2003-06-03.
2887 2003-06-06  Klaus Zeitler  <kzeitler@lucent.com>
2889         * progmodes/sh-script.el: Fix bug in "Options Loop" skeleton for
2890         ksh.  Add newlines to a few skeletons, add "select" keyword for bash.
2892 2003-06-06  Andreas Schwab  <schwab@suse.de>
2894         * info.el (Info-select-node): Doc fix.
2896 2003-06-06  Miles Bader  <miles@gnu.org>
2898         * frame.el (set-frame-font): Default to frame's current default font.
2900 2003-06-06  Kim F. Storm  <storm@cua.dk>
2902         * info.el (Info-fontify-node): Don't refill over lines ending in a
2903         period; this should fix problems with lists like one in the
2904         (emacs)Library Keywords section.
2906 2003-06-05  Markus Rost  <rost@math.ohio-state.edu>
2908         * dired.el (dired-get-filename): Don't err for . and .. for calls
2909         from dired-add-entry.
2911 2003-06-05  Takaaki Ota  <Takaaki.Ota@am.sony.com>
2913         * textmodes/table.el (table-cell-horizontal-chars): Rename from
2914         table-cell-horizontal-char.  Now a string value instead of a
2915         character.  ?= is allowed for horizontal boundary as well as ?-.
2916         (table-command-remap-alist, table-command-list): Change defconst to
2917         defvar because the value is modified.
2918         (table-insert, table-insert-row, table-insert-column)
2919         (table-recognize, table-recognize-region, table-widen-cell)
2920         (table-span-cell, table-split-cell-vertically): Change due to
2921         table-cell-horizontal-chars.
2922         (table--cell-horizontal-char-p): New function.
2923         (table--generate-source-scan-lines, table-delete-row)
2924         (table-delete-column, table--spacify-frame)
2925         (table--find-row-column, table--probe-cell-left-up)
2926         (table--probe-cell-right-bottom, table--probe-cell): Change due to
2927         table-cell-horizontal-chars.  From David Abrahams
2928         <dave@boost-consulting.com>
2930 2003-06-05  Juanma Barranquero  <lektu@terra.es>
2932         * gud.el: Moved to progmodes.
2934 2003-06-05  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>  (tiny change)
2936         * progmodes/tcl.el (tcl-mode): Set imenu-generic-expression to the
2937         value of tcl-imenu-generic-expression instead of the symbol.
2939 2003-06-05  Luc Teirlinck  <teirllm@mail.auburn.edu>
2941         * info.el (Info-mode): Mention `c' and remove duplicate mention
2942         of `q' in documentation string.
2944 2003-06-05  Lute Kamstra  <Lute.Kamstra@cwi.nl>
2946         * shell.el (shell-mode): Put `shell-filter-ctrl-a-ctrl-b' on
2947         `comint-output-filter-functions' when bash is used as the inferior
2948         shell.
2949         (shell-filter-ctrl-a-ctrl-b): New function.
2951 2003-06-05  Dave Love  <fx@gnu.org>
2953         * vc-hooks.el (vc-make-backup-files): Add :group backup.
2955 2003-06-05  Kim F. Storm  <storm@cua.dk>
2957         * info.el (Info-fontify-node): Individually refill menus and
2958         paragraphs to preserve menu items and varying indentation.
2959         Only color first 9 menu items differently.
2961 2003-06-05  Juanma Barranquero  <lektu@terra.es>
2963         * desktop.el: Add new maintainer.
2965 2003-06-04  Stefan Monnier  <monnier@cs.yale.edu>
2967         * textmodes/sgml-mode.el (sgml-parse-tag-backward): Try and detect
2968         when we're starting from within a tag.
2969         (sgml-get-context): When called from inside a tag, do something useful.
2970         Rename the arg now that it's never used for `full' context anymore.
2971         (sgml-calculate-indent): Make `lcon' an argument.
2972         Return nil when we DON'T know what to do.
2973         If the initial lcon turns out to be wrong, try again.
2974         (sgml-indent-line): If sgml-calculate-indent returns nil, don't indent.
2976 2003-06-04  Jason Rumney  <jasonr@gnu.org>
2978         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
2979         Default to new wheel-up and wheel-down events on MacOS.
2981         * term/mac-win.el: No need to bind wheel events specially.
2983 2003-06-04  Luc Teirlinck  <teirllm@mail.auburn.edu>
2985         * simple.el (yank-excluded-properties): Expand documentation string.
2987 2003-06-04  Richard M. Stallman  <rms@gnu.org>
2989         * emacs-lisp/lisp-mnt.el (lm-keywords-finder-p):
2990         Use with-no-warnings.
2992         * gud.el (gud-minor-mode-type): Move defvar up.
2994         * progmodes/compile.el (compilation-next-error): When moving fwd,
2995         compare position of point with the errors.
2997         * dired.el (dired-get-filename): Err for . and .. in usual case.
2998         (dired-get-file-for-visit): Specify no-error to dired-get-filename,
2999         and check for real errors here.
3000         (dired-unmark-all-files): Specify no-error to dired-get-filename.
3002         * buff-menu.el (list-buffers-noselect): Use window-inside-edges
3003         to compute the number of offset spaces.
3004         (list-buffers-noselect): Use Buffer-menu-buffer+size to
3005         indent the dashes properly.  Put some in fixed-pitch.
3007 2003-06-04  Lars Hansen  <larsh@math.ku.dk>
3009         * desktop.el (desktop-create-buffer): Undo last change.
3010         (desktop-kill, desktop-save, desktop-remove): Use expand-directory
3011         rather than concat to construct desktop filename.
3012         (desktop-kill, desktop-read, desktop-change-dir):
3013         Ensure desktop-dirname is a directory name.
3014         (desktop-change-dir): Fix bug when DIR was relative.
3016 2003-06-04  Alex Coventry  <alex_c@mit.edu>  (tiny change)
3018         * files.el (after-find-file): Fix arguments of call to `sit-for'.
3020 2003-06-03  Stefan Monnier  <monnier@cs.yale.edu>
3022         * info.el (Info-extract-menu-node-name): Remove unused arg errmessage.
3023         (Info-follow-reference): Update corresponding call.
3024         (Info-node-spec-re): New const.
3025         (Info-complete-menu-item): Use it to only allow : when necessary.
3026         (Info-fontify-node): Use it as well.  Fixup typo.
3028         * info.el (info-fontify-node): Use better help-echo text.
3029         Use :align-to display prop.
3030         Use `invisible' rather than `display' prop to hide text.
3032         * info.el (Info-mode-hook): Obey obsolete `Info-fontify'.
3033         (Info-find-in-tag-table-1): Remove unused vars.
3034         (Info-display-images-node): Remove unused var paragraph-markers.
3035         (Info-header-line): Remove.
3036         (Info-select-node): Don't set it.
3037         (Info-search): Remove unused var `current'.
3038         (Info-follow-reference): Remove unused var `beg'.
3039         (Info-extract-menu-node-name): Remove unused var `i'.
3040         (Info-complete-menu-item): Use `with-current-buffer'.
3041         (Info-index): Remove unused var `rnode'.
3042         (Info-mode): Set header-line-format to check text-properties directly.
3043         (Info-find-emacs-command-nodes): Remove unused var `found' and `exact'.
3044         (Info-fontify-node): Use `push'.
3045         (Info-speedbar-hierarchy-buttons): Use `dolist'.
3046         (Info-speedbar-goto-node, Info-speedbar-fetch-file-nodes):
3047         Check the return value of `string-match'.
3048         (Info-speedbar-fetch-file-nodes): Factor out common code.
3050 2003-06-03  Lute Kamstra  <Lute.Kamstra@cwi.nl>
3052         * cus-edit.el (custom-get-fresh-buffer): Test for nonexistence buffer.
3054 2003-06-03  Richard M. Stallman  <rms@gnu.org>
3056         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
3057         Add save-excursion.
3059         * windmove.el (windmove-reference-loc, windmove-frame-edges):
3060         Use window-inside-edges.
3061         (windmove-do-window-select): Fix error messages.
3063         * files.el (after-find-file): Simplify msg if nonexistent directory.
3064         (make-directory): Doc fix.
3066         * dabbrev.el (dabbrev--goto-start-of-abbrev):
3067         Use minibuffer-prompt-end.
3069         * comint.el (comint-move-point-for-output): Renamed from
3070         comint-scroll-to-bottom-on-output.  Old name is alias.
3071         All uses changed.  Doc fix.
3072         (comint-scroll-show-maximum-output): Doc fix.
3074         * comint.el (comint-exec-1): Don't use directory-sep-char.
3075         (comint-dynamic-complete-as-filename): Likewise.
3077         * bindings.el (global-map): Delete C-M-delete and C-M-backspace.
3079 2003-06-03  Markus Rost  <rost@math.ohio-state.edu>
3081         * progmodes/ps-mode.el (ps-mode): Use autoload cookie in the
3082         standard way.
3084 2003-06-02  Stefan Monnier  <monnier@cs.yale.edu>
3086         * textmodes/bibtex.el (bibtex-member-of-regexp)
3087         (bibtex-assoc-of-regexp, bibtex-format-entry, bibtex-find-entry)
3088         (bibtex-autokey-demangle-name, bibtex-string-files-init, bibtex-mode):
3089         Fix up regexp usage and use match-string.
3091 2003-06-02  Roland Winkler  <roland.winkler@physik.uni-erlangen.de>
3093         * textmodes/bibtex.el: Long overdue merge.
3094         Don't require `compile' since it seems unnecessary.
3095         For all internal variables and functions the docstring comments have
3096         been converted into proper docstrings
3097         (bibtex-maintainer-address, bibtex-maintainer-salutation)
3098         (bibtex-version): Remove support for bug reporting.
3099         (bibtex-field-delimiters, bibtex-entry-delimiters)
3100         (bibtex-sort-ignore-string-entries, bibtex-maintain-sorted-entries)
3101         Replace make-variable-buffer-local by make-local-variable for
3102         (bibtex-entry-format): New tag `required-fields'.
3103         (bibtex-maintain-sorted-entries): New var.
3104         (bibtex-sort-entry-class, bibtex-sort-entry-class-alist): New vars.
3105         (bibtex-predefined-month-strings, bibtex-predefined-strings):
3106         Make into alists with pairs (abbreviation expansion).
3107         (bibtex-autokey-titleword-change-strings)
3108         (bibtex-autokey-transcriptions): Make into alists.
3109         Add new replacement pairs.
3110         (bibtex-autokey-use-crossref): New var.
3111         Replace bibtex-autokey-year-use-crossref-entry because updated code
3112         for autokey generation handles crossrefs independently of
3113         particular fields.
3114         (bibtex-reference-key, bibtex-mode-syntax-table):
3115         Remove = because it can't be part of a string's key.
3116         (bibtex-complete-key-cleanup): New var.
3117         (bibtex-complete): Merge bibtex-complete-string and bibtex-complete-key
3118         into it (and bind to M-tab).
3119         (bibtex-valid-entry-re, bibtex-any-valid-entry-re)
3120         (bibtex-valid-entry-whitespace-re, bibtex-empty-field-re)
3121         (bibtex-quoted-string-re): New vars.
3122         (bibtex-field-name-for-parsing): Don't make-variable-buffer-local.
3123         (zmacs-regions): Declare to quieten the byte-compiler.
3124         (bibtex-comment-start): Don't include the space.
3125         (bibtex-font-lock-syntactic-keywords): New var.
3126         (bibtex-font-lock-keywords): Remove the entry for @Comment.
3127         (bibtex-parse-field-string): Merge the functionality of
3128         bibtex-parse-field-string-braced, bibtex-parse-quoted-string and
3129         bibtex-parse-field-string-quoted.
3130         (bibtex-search-forward-field-string): Remove.
3131         (bibtex-parse-association): Use when.
3132         (bibtex-parse-field-name): Use when.
3133         (bibtex-parse-field-text): Use when and cond.
3134         (bibtex-parse-field): Use let.
3135         (bibtex-search-forward-field, bibtex-search-backward-field):
3136         Make bound optional, use let, setq, and cddr.
3137         (bibtex-start-of-field, bibtex-start-of-name-in-field)
3138         (bibtex-end-of-name-in-field): Use nth.
3139         (bibtex-name-in-field, bibtex-text-in-field-bounds)
3140         (bibtex-text-in-field, bibtex-type-in-head, bibtex-key-in-head)
3141         (bibtex-text-in-string): New functions.
3142         (bibtex-reference-key-in-string): New fun.  Merge of
3143         bibtex-start-of-reference-key-in-string and
3144         bibtex-end-of-reference-key-in-string.
3145         (bibtex-parse-string-prefix): Use let and when.
3146         (bibtex-parse-string-postfix): Use when.
3147         (bibtex-search-forward-string, bibtex-search-backward-string):
3148         Use save-excursion and setq.
3149         (bibtex-member-of-regexp): Use let.
3150         (bibtex-assoc-of-regexp): Use caar und let.
3151         (bibtex-skip-to-valid-entry): Return buffer position.
3152         (bibtex-map-entries): Use save-excursion.
3153         (bibtex-progress-message): Simplify.
3154         (bibtex-search-entry): Use skip-chars-forward, when, save-match-data.
3155         (bibtex-move-outside-of-entry): Handle the case that point is before
3156         first entry.
3157         (bibtex-enclosing-field): Use save-excursion, when.
3158         (bibtex-format-field-delimiters): Merge into bibtex-format-entry.
3159         (bibtex-enclosing-entry-maybe-empty-head): Simplify.
3160         (bibtex-format-entry): Simplify.  Handle new tag required-fields of
3161         bibtex-entry-format.
3162         (bibtex-autokey-abbrev): Accept negative values of len.
3163         (bibtex-autokey-get-field, bibtex-autokey-demangle-title): New funs.
3164         (bibtex-autokey-get-namefield, bibtex-autokey-get-namelist)
3165         (bibtex-autokey-get-yearfield-digits, bibtex-autokey-get-yearfield)
3166         (bibtex-autokey-get-titlestring): Remove.
3167         (bibtex-autokey-get-names): Simplify.
3168         (bibtex-autokey-get-titles): Rename to bibtex-autokey-get-title.
3169         (bibtex-autokey-demangle-name): Simplify, avoid error messages.
3170         (bibtex-generate-autokey): Simplify.
3171         (bibtex-parse-keys): Simplify, use push.
3172         (bibtex-parse-strings): New fun similar to bibtex-parse-keys.
3173         (bibtex-string-files-init): New fun.
3174         (bibtex-parse-buffers-stealthily): Use bibtex-parse-keys,
3175         bibtex-string-files-init and bibtex-parse-strings.
3176         (bibtex-complete): Rename to bibtex-complete-internal, use push,
3177         bibtex-reference-key-in-string, no sorting.
3178         (bibtex-complete-string-cleanup): New fun, displays expansion of
3179         completed strings.
3180         (bibtex-choose-completion-string): New fun.  Required for
3181         choose-completion-string-functions.
3182         (bibtex-do-auto-fill): Remove.  Set fill-prefix in bibtex-mode.
3183         (bibtex-pop): Simplify.
3184         (bibtex-mode): Move setting of bibtex-string to bibtex-parse-strings.
3185         Set choose-completion-string-functions.
3186         (bibtex-print-help-message,bibtex-make-field, bibtex-end-of-entry)
3187         (bibtex-count-entries): Simplify.
3188         (bibtex-entry-index, bibtex-lessp): New funs for generalized sorting
3189         scheme of indices, see bibtex-maintain-sorted-entries.
3190         (bibtex-sort-buffer): Use bibtex-lessp for sorting.
3191         (bibtex-find-crossref, bibtex-find-entry): New funs.
3192         (bibtex-find-entry-location): Rename to bibtex-prepare-new-entry, use
3193         bibtex-lessp, Simplify.
3194         (bibtex-validate): Simplify.  Fixe bug of internal variable
3195         questionable-month.
3196         (bibtex-remove-OPT-or-ALT): Use when.
3197         (bibtex-remove-delimiters, bibtex-kill-field, bibtex-kill-entry)
3198         (bibtex-clean-entry, bibtex-fill-entry, bibtex-reformat): Simplify.
3199         (bibtex-convert-alien): Use deactivate-mark rather than the
3200         non-existent bibtex-mark-active variable.
3201         (bibtex-complete-string, bibtex-complete-key): Merge into new
3202         `smart' defun bibtex-complete.
3203         (bibtex-String): Update for new sorting scheme, distinguish empty and
3204         non-empty key strings.
3206 2003-06-02  Stefan Monnier  <monnier@cs.yale.edu>
3208         * sort.el (sort-subr): Add `predicate' arg.  Remove `sortcar' code.
3210 2003-06-02  Lute Kamstra  <Lute.Kamstra@cwi.nl>
3212         * emacs-lisp/lisp-mnt.el (lm-synopsis): Use relative filenames
3213         correctly.  Show the synopsis to the user when appropriate.
3214         Do not kill buffers that were created outside `lm-synopsis'.
3216 2003-06-01  Stefan Monnier  <monnier@cs.yale.edu>
3218         * cus-edit.el (custom-get-fresh-buffer): Be extra paranoid,
3219         just in case some used a file of the wrong name.
3221         * progmodes/sh-script.el (sh-is-quoted-p): New fun.
3222         (sh-font-lock-paren): Use it to allow \C in case patterns.
3223         (sh-get-indent-info): Check the \n before the line for string-status.
3224         (sh-feature): Remove unused var `function'.
3225         (sh-get-indent-info): Remove unused variables.
3226         (sh-prev-thing): Remove unused vars `going', `n', and `found'.
3227         (sh-set-indent): Remove unused var `new-val' and `val0'.
3228         (sh-learn-buffer-indent): Remove unused vars `last-pos' and `lines'.
3229         (sh-guess-basic-offset): Remove unused var `return' and `j'.
3231 2003-05-27  David Ponce  <david@dponce.com>
3233         * ruler-mode.el
3235         Version 1.6
3237         Take into account changes made to the display margins, fringes and
3238         scroll-bar handling.
3240         (ruler-mode-margins-char): Remove.  Not used anymore.
3241         (ruler-mode-pad-face, ruler-mode-fringes-face): New faces.
3242         (ruler-mode-margins-face): New definition.  Move.
3243         (ruler-mode-left-fringe-cols)
3244         (ruler-mode-right-fringe-cols)
3245         (ruler-mode-left-scroll-bar-cols)
3246         (ruler-mode-right-scroll-bar-cols): Reimplement.  Move.
3247         (ruler-mode-full-window-width)
3248         (ruler-mode-window-col): New functions.
3249         (ruler-mode-mouse-set-left-margin)
3250         (ruler-mode-mouse-set-right-margin)
3251         (ruler-mode-mouse-add-tab-stop)
3252         (ruler-mode-mouse-del-tab-stop): Reimplement.
3253         (ruler-mode-mouse-current-grab-object): Rename to...
3254         (ruler-mode-dragged-symbol): New.
3255         (ruler-mode-mouse-grab-any-column): Use it.  Clean up.
3256         (ruler-mode-mouse-drag-any-column): Likewise.
3257         (ruler-mode-mouse-drag-any-column-iteration): Simplify.
3258         (ruler-mode): Restore previous `header-line-format' if
3259         `ruler-mode-header-line-format-old' has a local binding in current
3260         buffer.
3261         (ruler-mode-left-margin-help-echo)
3262         (ruler-mode-right-margin-help-echo): Remove.
3263         (ruler-mode-margin-help-echo)
3264         (ruler-mode-fringe-help-echo): New constants.
3265         (ruler-mode-ruler): Use them.  Reimplement.
3267 2003-06-01  Jason Rumney  <jasonr@gnu.org>
3269         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
3270         Default to new wheel-up and wheel-down events on Windows.
3272         * term/w32-win.el: No need to bind wheel events specially.
3274 2003-06-01  Michael Kifer  <kifer@cs.stonybrook.edu>
3276         * desktop.el (desktop-create-buffer): Add (desktop-first-buffer) to
3277         the let-statement to avoid the startup error that desktop-first-buffer
3278         is undefined.
3280 2003-06-01  Andreas Schwab  <schwab@suse.de>
3282         * man.el (Man-name-regexp): Also match Latin-1 soft hyphen.
3283         (Man-build-references-alist): Handle Latin-1 soft hyphen.
3285 2003-05-31  Stephen Eglen  <stephen@gnu.org>
3287         * iswitchb.el (iswitchb-buffer-ignore): Update custom type to
3288         allow functions.
3290 2003-05-31  Stefan Monnier  <monnier@cs.yale.edu>
3292         * view.el (view-file, view-file-other-window, view-file-other-frame):
3293         Signal an error when trying to visit an inexistent file.
3295         * vc-hooks.el (vc-call-backend): Give better error message
3296         when a backend function is missing.
3297         (vc-find-file-hook): USe unless.  Merge if and cond.
3299         * vc.el (vc-directory-exclusion-list): Add MCVS and .svn.
3300         (vc-checkin-hook): Adjust option to new name.
3302         * log-edit.el (log-edit-maximum-comment-ring-size)
3303         (log-edit-comment-ring, log-edit-comment-ring-index)
3304         (log-edit-last-comment-match): Rename vars from
3305         vc-maximum-comment-ring-size, vc-comment-ring, vc-comment-ring-index,
3306         and vc-last-comment-match.
3307         (log-edit-new-comment-index, log-edit-previous-comment)
3308         (log-edit-next-comment, log-edit-comment-search-backward)
3309         (log-edit-comment-search-forward, log-edit-comment-to-change-log):
3310         Rename funs from vc-new-comment-index, vc-previous-comment,
3311         vc-next-comment, vc-comment-search-reverse, vc-comment-search-forward,
3312         and vc-comment-to-change-log.
3314         * wid-edit.el (widget-specify-insert): Simplify.
3315         (widget-editable-list-entry-create): Don't assume that %d and %i are
3316         in the format string.
3317         (widget-map-buttons): Remove unused var `parent'.
3318         (widget-move): Remove unused shadowed var `new'.
3319         (widget-color-action): Remove unused var `pos'.
3321         * cus-edit.el (custom-get-fresh-buffer): New fun.
3322         (custom-buffer-create, custom-buffer-create-other-window)
3323         (customize-browse): Use it instead of killing buffers.
3324         (custom-bury-buffer): Obey the argument.
3325         (custom-variable-reset-saved, custom-variable-reset-standard):
3326         Remove unused var `comment-widget'.
3327         (custom-face-edit-deactivate): Remove unused var `to'.
3328         (custom-save-variables): Remove unused var `sep'.
3330 2003-05-31  John Paul Wallington  <jpw@gnu.org>
3332         * files.el (large-file-warning-threshold): Add type, groups.
3334         * progmodes/delphi.el (delphi-ignore-changes): Defvar; non-constant.
3336 2003-05-31  Kenichi Handa  <handa@m17n.org>
3338         * files.el (recover-file): Bind coding-system-for-read to
3339         auto-save-coding.
3341 2003-05-31  Juanma Barranquero  <lektu@terra.es>
3343         * misc.el (mark-beginning-of-buffer, mark-end-of-buffer)
3344         (upcase-char, forward-to-word, backward-to-word): Move from unused.el.
3346         * unused.el: Deleted (contents moved to misc.el).
3348         * options.el:
3349         * emacs-lisp/float.el:
3350         * textmodes/scribe.el: Moved to obsolete.
3352         * byte-run.el:
3353         * derived.el:
3354         * float-sup.el:
3355         * map-ynp.el:
3356         * regi.el:
3357         * timer.el:
3358         * warnings.el: Moved to emacs-lisp.
3360         * enriched.el: Moved to textmodes.
3362         * textmodes/outline.el: Moved to lisp.
3364         * which-func.el: Moved to progmodes.
3366         * loadup.el: Load byte-run.el, map-ynp.el, timer.el and float-sup.el
3367         from emacs-lisp.
3369 2003-05-31  Tom Wurgler  <twurgler@goodyear.com>  (tiny change)
3371         * subr.el (looking-back): New function to check for regular
3372         expression before point.
3374 2003-05-30  Stefan Monnier  <monnier@cs.yale.edu>
3376         * newcomment.el (comment-empty-lines): New var.
3377         (comment-region-internal): Use it.
3379         * textmodes/tex-mode.el (latex-block-args-alist)
3380         (latex-block-body-alist): New vars.
3381         (latex-insert-block): Use them.
3382         (tex-string-prefix-p): New fun.
3383         (tex-guess-main-file): Use it to detect when the main file
3384         is in a parent directory.
3385         (tex-main-file): Try to find a main-file in parent directories.
3386         (tex-compile-default): Don't use `gv' on pdf files just because
3387         `gv' was used recently on a ps file.  Remove unused arg `dir'.
3388         Reuse a previous command as-is if it applied to the same file.
3389         (tex-compile): Use the right file name when file is not in dir.
3391         * textmodes/refill.el (refill-adjust-ignorable-overlay):
3392         Don't hardcode pint-min == 1.
3393         (refill-fill-paragraph-at): Use a more robust method to detect
3394         when the paragraph is after point.  Remove unused var `fill-pfx'.
3396         * xml.el (xml-parse-tag): Return (foo nil) rather than (foo nil "")
3397         for <foo/>, to make it behave like <foo></foo>.
3399         * emacs-lisp/edebug.el (edebug-storing-offsets): Move indent
3400         and debug to inside the macro.
3401         (edebug-read-storing-offsets): Simplify.
3402         (edebug-read-quote, edebug-read-function): Place the
3403         start-position correctly.
3404         (edebug-read-backquote-new): Remove.
3405         (edebug-read-backquote-level): New var to replace it.
3406         (edebug-read-backquote): Increment it.
3407         Don't store offsets one extra time.
3408         (edebug-read-comma): Decrement it.  Read the comma as a plain
3409         symbol if outside of any new-style backquote.
3410         (edebug-read-list): Use edebug-read-backquote-level.
3411         Don't call edebug-read-backquote directly.  This way the extra
3412         offsets store is done exactly when it's needed.
3413         (edebug-read-vector): Use push.
3414         (defmacro): Add support for the `declare' thingy.
3416 2003-05-29  Stefan Monnier  <monnier@cs.yale.edu>
3418         * forms.el (forms-mode-hook): Rename from forms-mode-hooks.
3419         (forms-mode): Use add-hook rather than make-local-variable+setq.
3420         Use with-current-buffer.  Run the new and the old hooks.
3421         (forms--update): Use with-current-buffer and line-end-position.
3422         (forms--goto-record): New fun.
3423         (forms-jump-record, forms-insert-record, forms-delete-record): Use it.
3424         (forms--process-format-list): Remove unused var `this-item'.
3425         (forms--intuit-from-file): Remove unused var `the-result'.
3426         (forms--trans): Remove unused var `x'.
3427         (forms--exit, forms-exit, forms-exit-no-save): Remove unused arg.
3429         * emacs-lisp/edebug.el (edebug-window-list): Use push.
3430         (edebug-macrop): Use functionp.
3431         (edebug-functionp): Remove.
3432         (edebug-get-displayed-buffer-points): Use push.
3433         (edebug-set-buffer-points): Use save-current-buffer and buffer-live-p.
3434         (edebug-list-form): Remove dead code.
3435         (backquote-form): Correctly handle `(a . ,b).
3436         (edebug-mode-map, global-edebug-map): Move init to inside the defvar.
3437         (define-derived-mode, define-minor-mode): Remove outdated spec.
3438         (save-match-data, with-output-to-string, with-current-buffer)
3439         (combine-after-change-calls, with-temp-buffer, dolist, dotimes)
3440         (unless, when): Remove specs that are now in the corresponding macro.
3442         * emacs-lisp/easy-mmode.el (define-minor-mode): Add edebug spec.
3443         Accept a :keymap argument, as you'd expect.
3445         * derived.el (define-derived-mode): Add a proper edebug declaration.
3447 2003-05-29  Luc Teirlinck  <teirllm@mail.auburn.edu>
3449         * simple.el (kill-whole-line): Make it interact correctly with
3450         the kill ring.
3452 2003-05-29  Kenichi Handa  <handa@m17n.org>
3454         * international/mule.el (ctext-non-standard-encodings-alist):
3455         Rename from non-standard-icccm-encodings-alist.
3456         (ctext-non-standard-encodings-regexp): New variable
3457         (ctext-post-read-conversion): Full rewrite.
3458         (ctext-non-standard-designations-alist): Rename from
3459         non-standard-designations-alist.
3460         (ctext-pre-write-conversion): Full rewrite.
3462 2003-05-28  Stefan Monnier  <monnier@cs.yale.edu>
3464         * info.el (Info-fontify-node): Hide \n------- rather than -------\n.
3466         * skeleton.el (skeleton-edebug-spec): First cut of an edebug spec.
3467         (define-skeleton): Use it.
3469 2003-05-28  Andreas Schwab  <schwab@suse.de>
3471         * descr-text.el (describe-char): Use `char' instead of
3472         `(char-after)'.  Fix display of unicode.
3474 2003-05-28  Nick Roberts  <nick@nick.uklinux.net>
3476         * gud.el (gud-gdb-goto-stackframe, gud-gdb-get-stackframe):
3477         Add server prefix to the gdb commands used by the speedbar.
3479 2003-05-28  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
3481         * simple.el (kill-region): If nothing was killed, and the
3482         previous command was not a kill, break kill sequence.
3484 2003-05-28  Richard M. Stallman  <rms@gnu.org>
3486         * textmodes/refill.el (refill-fill-paragraph-at):
3487         Avoid refilling the following paragraph.
3488         (refill-doit): Doc fix.
3490         * emulation/vip.el (ctl-x-map): Don't bind C-x C-i or C-x 3.
3491         (global-map): Don't bind C-z.
3492         (vip-setup): New function to rebind C-x 7 and C-z.
3494         * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
3495         Undo previous change (don't check for eob).  Widen at the beginning.
3497         * map-ynp.el (map-y-or-n-p): No special handling for exit-prefix.
3498         In help string, mention C-g but not ESC.
3500         * jka-compr.el (jka-compr-insert-file-contents):
3501         When REPLACE, delete the proper range of text.
3503         * info.el (Info-index): Add autoload cookie.
3505         * forms.el (forms-mode): Use write-file-functions instead
3506         of local-write-file-hooks.  Use make-local-variable to make it local.
3508         * descr-text.el (describe-char-unicode-data): New dummy definition.
3509         (unicode-data): Comment out since we can't use UnicodeData.txt as is.
3510         (describe-char-unicodedata-file): Variable renamed and commented out.
3512         * faces.el (set-face-attribute): Set face-modified prop to t
3513         when we change the new-frame defaults.
3514         (face-spec-set): Set face-modified prop to nil
3515         when we change the new-frame defaults.
3517         * cus-edit.el (custom-face-state-set): non-nil `face-modified'
3518         means face was set outside of Custom.
3520 2003-05-28  Richard M. Stallman  <rms@gnu.org>
3522         * byte-run.el (with-no-warnings): New function.
3524         * emacs-lisp/bytecomp.el (byte-compile-no-warnings): New function.
3525         (with-no-warnings): Set up compile handler.
3527         * startup.el (command-line-1): Use with-no-warnings.
3529         * type-break.el (type-break-cancel-function-timers):
3530         Use with-no-warnings.
3532 2003-05-28  Luc Teirlinck  <teirllm@mail.auburn.edu>
3534         * env.el (substitute-env-vars): Fix typo.
3536 2003-05-28  Walter C. Pelissero  <walter@pelissero.de>  (tiny change)
3538         * net/browse-url.el (browse-url-mozilla): Correct the conditionals
3539         for using ,new-window.
3541 2003-05-27  Glenn Morris  <gmorris@ast.cam.ac.uk>
3543         * progmodes/sh-script.el (sh-here-document-word):
3544         Document new treatment of leading "-".
3545         (sh-maybe-here-document): Strip a leading "-" from closing
3546         heredoc delimiter, if present.
3548         * align.el (align-rules-list): Doc fix.
3550         * calendar/timeclock.el: Update copyright.
3551         (timeclock-ask-before-exiting): Put `timeclock-query-out' on
3552         `kill-emacs-query-functions' rather than `kill-emacs-hook'.
3553         (timeclock-mode-string): Doc fix.
3554         (timeclock-modeline-display): Doc fix.  Use `global-mode-string'
3555         rather than `mode-line-format'.
3556         (timeclock-query-out): Doc fix.
3557         (timeclock-update-modeline): No need for `let*', so use `let'.
3558         Add some help-echo text to `timeclock-mode-string'.
3559         (timeclock-mode-string): Give it the risky-local-variable
3560         property, so that help-echo text will display.
3561         (timeclock-find-discrep): Set `accum' to 0 if
3562         `timeclock-discrepancy' is nil.
3564 2003-05-27  Stefan Monnier  <monnier@cs.yale.edu>
3566         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function):
3567         Don't infinite loop at bob.
3568         (emacs-lisp-mode): Mark its main custom group to be `lisp'.
3569         (prin1-char): New fun.
3570         (eval-last-sexp-1): Use it.  Use with-syntax-table as well.
3571         (eval-defun-1): Don't replace `defvar' with `defconst'.
3573 2003-05-27  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
3575         * bindings.el (global-map): Bind M-S-<backspace to kill-whole-line.
3577 2003-05-26  Stefan Monnier  <monnier@cs.yale.edu>
3579         * gud.el (gud-find-class): Remove unused var `pos'.
3580         (gdb-script-mode-syntax-table, gdb-script-font-lock-keywords)
3581         (gdb-script-font-lock-syntactic-keywords)
3582         (gdb-script-font-lock-syntactic-face, gdb-script-basic-indent)
3583         (gdb-script-skip-to-head, gdb-script-calculate-indentation)
3584         (gdb-script-indent-line, gdb-script-mode): New mode to edit
3585         .gdbinit-like scripts.
3587 2003-05-26  John Paul Wallington  <jpw@gnu.org>
3589         * faces.el (display-supports-face-attributes-p): Doc fix.
3590         (x-create-frame-with-faces): Call `face-set-after-frame-default'.
3592 2003-05-26  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
3594         * bindings.el (global-map): Don't bind S-<backspace>.  Too many
3595         people hit it by mistake.
3597 2003-05-26  Andre Spiegel  <spiegel@gnu.org>
3599         * vc.el (vc-delete-file): Fix free variable reference.
3600         (vc-annotate-display): Remove obsolesence declaration; it isn't
3601         obsolete.
3603 2003-05-25  Kevin Ryde  <user42@zip.com.au>
3605         * info-look.el (autoconf-mode setups): Recognise AH_ and AU_ entries
3606         in "(autoconf)Autoconf Macro Index".  Add "(autoconf)M4 Macro Index"
3607         and "(autoconf)Autotest Macro Index".  Remove duplicate copy of
3608         "(automake)Macro and Variable Index".  Keep automake after all
3609         autoconf possibilities, so as to prefer those.
3611 2003-05-25  Stefan Monnier  <monnier@cs.yale.edu>
3613         * skeleton.el (skeleton-internal-1): Don't loop if interactor of
3614         subskeleton is nil.
3615         (skeleton-pair-default-alist): New var.
3616         (skeleton-pair-insert-maybe): Use it.  Don't munge multibyte chars.
3618 2003-05-25  Nick Roberts  <nick@nick.uklinux.net>
3620         * gdb-ui.el (gdb-info-breakpoints-custom, gdb-assembler-custom):
3621         Put string associated with breakpoint at start of line so that it
3622         is always visible.
3623         (gdb-display-source-buffer): Display assembler during execution,
3624         when requested.
3625         (gud-menu-map): Add a toggle button to menubar for gdb-many-windows.
3626         (gdb-many-windows): Define explicitly as a function and a variable
3627         (formerly as a minor mode). These need to be global so layout can
3628         be reset from any buffer.
3629         (gdb-assembler-mode): Keep fringe outside margin as the overlay
3630         arrow is not used for assembler.
3632 2003-05-25   Tim Van Holder  <tim.vanholder@anubex.com>
3634         * which-func.el (which-func-update-timer): New variable.
3635         (which-function-mode): Use it.
3637 2003-05-25  Richard M. Stallman  <rms@gnu.org>
3639         * simple.el (idle-update-delay): New variable.
3641 2003-05-25  Luc Teirlinck  <teirllm@mail.auburn.edu>
3643         * simple.el (forward-visible-line): Fix negative arguments.
3645 2003-05-25  Juanma Barranquero  <lektu@terra.es>
3647         * skeleton.el (skeleton-pair-insert-maybe): Remove leftover
3648         reference to skeleton-abbrev-cleanup.
3650 2003-05-24  Andreas Schwab  <schwab@suse.de>
3652         * files.el (insert-directory): Preserve CR in a file name.
3654 2003-05-24  Stefan Monnier  <monnier@cs.yale.edu>
3656         * skeleton.el (skeleton-abbrev-cleanup, skeleton-proxy):
3657         Remove obsolete code.
3659         * term/w32-win.el (iconify-or-deiconify-frame):
3660         * term/mac-win.el (iconify-or-deiconify-frame): Move to frame.el.
3662         * term/x-win.el (iconify-or-deiconify-frame): Move to frame.el.
3663         Turn on mouse-wheel support by default.
3665         * frame.el (iconify-or-deiconify-frame): Move from term/x-win.el.
3667 2003-05-24  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
3669         * net/tramp.el: Version 2.0.34 released.
3670         (tramp-handle-file-symlink-p): If target of symlink is absolute,
3671         return a Tramp filename.  (Ie, return "/user@host:/target" instead
3672         of "/target".)
3673         (tramp-handle-file-truename): Deal with new return value from
3674         `file-symlink-p'.
3675         (tramp-handle-expand-file-name): Make default method explicit in
3676         file name.
3677         (tramp-unified-filenames): Move to an earlier spot in the file.
3678         (top-level): If tramp-unified-filenames is set and we're running
3679         on XEmacs, load tramp-efs.
3680         (tramp-wait-for-shell-prompt, tramp-barf-if-no-shell-prompt):
3681         New functions, used by tramp-send-command-internal.
3682         (tramp-open-connection-setup-interactive-shell): Simplify using
3683         `tramp-send-command-internal'.
3684         (tramp-send-command-internal): New function.
3685         (tramp-methods): New entries "remsh" and "remcp" are like "rsh"
3686         and "rcp" but invoke "remsh" instead of "rsh".  This is useful on
3687         Cray systems, for instance.  Unify tramp-rsh-program,
3688         tramp-telnet-program, tramp-su-program into tramp-login-program.
3689         Likewise with tramp-login-args, tramp-copy-program,
3690         tramp-copy-args, tramp-copy-keep-date-arg.  Users changed.  New
3691         method plink1; like plink but pass "-1" to force protocol version 1.
3692         (tramp-default-method): Use plink as the default on machines where
3693         the plink program is present.
3694         (tramp-completion-file-name-handler): Add safe-magic property.
3695         (tramp-shell-prompt-pattern): Allow ANSI escapes at
3696         end of prompt.  (ANSI escapes elsewhere in the prompt are
3697         recognized properly already.)
3699         * net/tramp-efs.el: New file.
3701 2003-05-24 Michael Albinus  <Michael.Albinus@alcatel.de>
3703         * net/tramp.el (tramp-handle-file-truename): `sym' shouldn't be
3704         quoted.
3705         (tramp-methods, tramp-multi-connection-function-alist):
3706         Use argument "-p Password:" for "sudo" method, because password prompt
3707         might be changed by either passprompt option in /etc/sudoers, or
3708         SUDO_PROMPT environment variable.  Suggested by Peter Oliver
3709         <peter.oliver@aquila-networks.co.uk>.
3711 2003-05-23  Stefan Monnier  <monnier@cs.yale.edu>
3713         * mail/supercite.el: Use `push' and replace `regi-pos' by equivalents.
3714         (sc-emacs-features): Remove.  Use better tests instead.
3715         (sc-minor-mode): Use define-minor-mode.
3716         (sc-mode-string, sc-set-mode-string): Remove.
3717         Use a better modeline expression instead.
3718         (sc-completing-read, sc-read-string, sc-submatch, sc-member)
3719         (sc-string-text): Remove those compatibility functions.
3721         * pcvs.el (cvs-temp-buffer): Kill running process in displayed buffers.
3722         (cvs-make-cvs-buffer): Fix up format of the header.
3724         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
3725         Match more cases of /.../ patterns.
3727 2003-05-23  Nick Roberts  <nick@nick.uklinux.net>
3729         * gdb-ui.el (gdba): Accommodate Fortran programs.
3730         (gud-gdba-command-name): Use -noasync in all cases (as Fortran
3731         seems to require it also).
3732         (gdb-source-info): Parse correctly when compilation directory
3733         specifies host also (IRIX).
3735 2003-05-23  Andre Spiegel  <spiegel@gnu.org>
3737         * vc-cvs.el (vc-cvs-checkout): Don't leave the branch when
3738         REV is t.  From Don Provan <dprovan@bivio.net>
3740 2003-05-23  Richard M. Stallman  <rms@gnu.org>
3742         * forms.el (forms--mode-commands1): Bind \t, not `tab'.
3743         (forms--mode-commands): Don't bind \t in the maps where
3744         we call forms--mode-commands1.
3746 2003-05-23  Taro Kawagishi <tarok@acm.org>
3748         * arc-mode.el (archive-lzh-summarize): Calculate correct total
3749         header size for LZH level 1 header.
3751 2003-05-23  Richard M. Stallman  <rms@gnu.org>
3753         * textmodes/paragraphs.el (repunctuate-sentences): Add doc string.
3755 2003-05-23  Daniel Ortmann  <dortmann@lsil.com>  (tiny change)
3757         * textmodes/paragraphs.el (repunctuate-sentences): New function.
3759 2003-05-23  Lute Kamstra  <Lute.Kamstra@cwi.nl>
3761         * emacs-lisp/lisp-mnt.el: Make the description of the library more
3762         accurate.
3763         (lm-any-header): New user option.
3764         (lm-section-start): New function; rewrite of `lm-section-mark'.
3765         (lm-section-mark): Make alias of `lm-section-start'.
3766         (lm-section-end): New function.
3767         (lm-code-start): New function; rewrite of `lm-code-mark'.
3768         (lm-code-mark): Make alias of `lm-code-start'.
3769         (lm-commentary-start): New function; rewrite of `lm-commentary-mark'.
3770         (lm-commentary-mark): Make alias of `lm-commentary-start'.
3771         (lm-commentary-end): New function.
3772         (lm-history-start): New function; rewrite of `lm-history-mark'.
3773         (lm-history-mark): Make alias of `lm-history-start'.
3774         (lm-commentary): Use `lm-commentary-end' to find the end of the
3775         commentary section.
3777         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
3778         Use `lm-commentary-end' to find the end of the commentary section.
3780 2003-05-22  Stefan Monnier  <monnier@cs.yale.edu>
3782         * skeleton.el (define-skeleton): Use the `no-self-insert' property.
3783         (skeleton-proxy-new): Fix docstring.  Remove broken interactive spec.
3784         Rely on use `no-self-insert' rather than `skeleton-abbrev-cleanup'.
3785         (skeleton-internal-1): Add a `recursive' argument.
3786         (skeleton-internal-list): Use it to propagate `recursive'.
3788 2003-05-22  Ken Stevens  <kstevens@ichips.intel.com>
3790         * ispell.el: Sync to version 3.6.
3791         Summary: MIME support added for e-mail processing that
3792         skips encoded regions.  Allow user to skip saving Fcc messages with
3793         large attachments.  Fixed region skipping bug with multi-line
3794         comments - e.g.  tex $ regions spanning multiple lines.
3795         Added support for postscript and uuencoded regions.
3796         Redundant dictionary file names purged.
3797         Dictionary definition field name changed from "Character Set"
3798         to "Coding System".  Fixed bug in reloading dictionaries.
3799         Modified headers to reflect new version.  XEmacs menu now adds
3800         customize item.
3801         (ispell-check-version): No longer an aliased function.
3802         Returns library path if not called interactively.
3803         Variable `temporary-file-directory' protected if not loaded.
3804         (check-ispell-version): Now the alias for `ispell-check-version'.
3805         (ispell-message-fcc-skip): New variable that determines if and when
3806         to query about saving Fcc copy of message if an attachment is large.
3807         (ispell-skip-html): Declare buffer-local.
3808         (ispell-local-dictionary-alist): Docstring expanded.
3809         Tag name changed from "Character Set" to "Coding System".
3810         (ispell-dictionary-alist-1): Remove redundant command-line option to
3811         load brasileiro, british, and castellano dictionary files.
3812         (ispell-dictionary-alist-2): Remove redundant command-line option to
3813         load czech dictionary file.
3814         (ispell-dictionary-alist-3): Move francais-tex here.
3815         (ispell-dictionary-alist-4): Remove german and german8 dictionaries.
3816         The deutsch ones are the correct definitions.  `nederlands'
3817         and `nederlands8' dictionaries moved here.
3818         (ispell-dictionary-alist-5): `polish' and `portugues' dictionaries
3819         moved here.  Removed redundant command-line option to `norsk'
3820         and `portugues'.
3821         (ispell-dictionary-alist-6): Remove redundant command-line option to
3822         load `russian' and `slovak' dictionary files.
3823         (ispell-dictionary-alist): Tag name changed from "Character Set" to
3824         "Coding System".
3825         (ispell-version): Update to 3.6.
3826         (ispell-library-directory): Calls non-deprecated function.
3827         (ispell-valid-dictionary-list): New function returning all valid
3828         dictionaries on machine.
3829         (ispell-checking-message): Documentation string improved.
3830         (ispell-skip-region-alist): Add uuencoded and postscript region
3831         skipping.  Improve http/e-mail/file regexp to not match `/.\w'.
3832         (ispell-html-skip-alists): New variable for html region support.
3833         (ispell-send-string): Remove redundant xemacs check.
3834         (ispell-word): Fix spelling error in documentation string, add
3835         extent information to support highlighting in ispell-minor-mode.
3836         (ispell-command-loop): Disable horizontal scrollbar in XEmacs
3837         choices buffer.
3838         (ispell-show-choices): Directly select `choices-window'.
3839         (ispell-help): Use default buffer size for electric help.
3840         (ispell-adjusted-window-height): Correct for xemacs detection.
3841         (ispell-start-process): Don't double specify dictionary file name.
3842         (ispell-init-process): Set `ispell-library-path' each call.
3843         (ispell-change-dictionary): Now only completes valid dictionaries.
3844         (ispell-region): Add support for MIME region skipping and Fcc
3845         message query for large attachments.
3846         (ispell-begin-skip-region-regexp): Add documentation string.
3847         Add message support and clean up code for generic and html regions.
3848         (ispell-begin-skip-region): Function is now requires alist argument.
3849         (ispell-begin-tex-skip-regexp): Add comments and support
3850         improved html and message regions.
3851         (ispell-skip-region-list): New function for MIME and region skipping.
3852         (ispell-tex-arg-end): Add documentation string.
3853         (ispell-ignore-fcc): New function to query saving Fcc message.
3854         (ispell-skip-region): Calculate alist for key match dynamically,
3855         html skipping pushed to alists.
3856         (ispell-get-line): Add support for multi-line comment regions.
3857         (ispell): Check that variables to continue spelling are bound.
3858         (ispell-message-text-end): Postscript and uuencoded regions now
3859         supported as MIME regions, rather than as end-of-message region.
3860         (ispell-mime-multipartp): New function supporting MIME.
3861         (ispell-mime-skip-part): New function supporting MIME.
3862         (ispell-message): Add MIME support.
3863         (ispell-buffer-local-parsing): Variable `ispell-skip-html' now local.
3864         (ispell-buffer-local-dict): Fix bug for detecting and reloading
3865         new dictionary.
3867 2003-05-22  Stephen J. Turnbull  <stephen@xemacs.org>
3869         * subr.el (split-string): Implement specification that splitting on
3870         explicit separators retains null fields.  Add new argument
3871         OMIT-NULLS.  Special-case (split-string "a string").
3873 2003-05-22  Stefan Monnier  <monnier@cs.yale.edu>
3875         * international/mule-cmds.el (select-safe-coding-system):
3876         Try default-buffer-file-coding-system too for automatic selection.
3878 2003-05-21  Stefan Monnier  <monnier@cs.yale.edu>
3880         * simple.el (ctl-x-map): Remove the C-x U binding added recently.
3882 2003-05-21  Dave Love  <fx@gnu.org>
3884         * descr-text.el (unicodedata-file): New.
3885         (unicode-data): New (adapted from unicode branch).
3886         (describe-char): Use it.  Print char's unicode differently.
3887         Avoid elements with null cadr when formatting list.  Clarify error
3888         message when used in Help buffer.
3889         (button): Require when compiling.
3890         (describe-char-after): Alias for obsolete command.
3892 2003-05-21  Nick Roberts  <nick@nick.uklinux.net>
3894         * gdb-ui.el (gud-gdba-command-name): Use -noasync option for Gdb
3895         with MS windows.
3896         (gdb-display-end): Only make buffer writeable temporarily.
3897         Move "View" submenu up one level.
3899 2003-05-21  Nick Roberts  <nick@nick.uklinux.net>
3901         * gdb-ui.el (gdb-view-source, gdb-selected-view): New variables.
3902         (gdba): Inhibit DOS window in MS Windows.
3903         (gdb-inferior-io-mode): Use hexl instead of cat.
3904         (gdb-info-breakpoints-custom, gdb-assembler-custom, gdb-reset):
3905         Use text in margin for MS Windows as there is no image support.
3906         (gdb-restore-windows, gdb-setup-windows): Restore/start with
3907         assembler view if appropriate.
3908         (gdb-assembler-custom): Assembler code should display at point.
3909         Parse address correctly.
3910         (gdb-frame-handler): Accommodate selection of display of source
3911         or assembler.
3912         Add radio buttons to select display of source or assembler.
3914 2003-05-20  Lars Hansen  <larsh@math.ku.dk>
3916         * desktop.el (desktop-save): Ensure parameter is expanded and ends
3917         with a slash before assigning it to desktop-dirname and
3918         default-directory.
3919         (desktop-read): Put buffers existing prior to evaluating the
3920         desktop (and not reused) at the end of the buffer list.
3921         (desktop-create-buffer): Don't update desktop-first-buffer for old
3922         desktop files.
3924 2003-05-19  John Paul Wallington  <jpw@gnu.org>
3926         * xml.el (xml-name-regexp): Wrap in `eval-and-compile'.
3928 2003-05-19  Dave Love  <fx@gnu.org>
3930         * xml.el: Doc fixes.
3931         (xml-parse-file, xml-parse-region): Autoload.
3932         (xml-syntax-table, xml-name-regexp): New.
3933         (xml-parse-region): Narrow to region, set syntax-table and
3934         case-fold-search.  Reject fewer valid documents.
3935         (xml-parse-tag): Remove arg END.  Callers changed.
3936         (xml-parse-tag): Use skip-syntax-forward.  Use PARSE-DTD arg
3937         properly.  Don't use buffer-substring-no-properties.  Don't bind
3938         case-fold-search.  Fix syntax for empty elements.  Hoist consing
3939         of end-of-tag regexp out of loop.
3940         (xml-parse-attlist): Remove arg.  Callers changed.
3941         Use skip-syntax-forward, replace-regexp-in-string, forward-sexp.
3942         Allow non-ASCII names.
3943         (xml-skip-dtd): Remove arg.  Callers changed.  Change matching code.
3944         (xml-parse-dtd): Grok external DTDs.  Allow non-ASCII.
3945         Don't use match-string-no-properties.
3946         (xml-ucs-to-string): Delete.
3947         (xml-substitute-entity): New.
3948         (xml-substitute-special): Use it.
3949         (xml-debug-print-internal): Simplify insertions.
3950         (xml-parse-file): Avoid finding file in xml-mode.
3952 2003-05-19  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
3954         * simple.el (kill-whole-line): New function.
3955         * bindings.el (global-map): Bind it.
3957 2003-05-19  Richard M. Stallman  <rms@gnu.org>
3959         * net/goto-addr.el (goto-address-fontify-maximum-size):
3960         Value t means no limit.
3961         (goto-address-fontify): Implement that feature.
3963         * emacs-lisp/find-func.el (find-function-on-key):
3964         Move the call to find-function-other-window outside
3965         the save-excursion.
3967         * find-file.el (ff-special-constructs): Delete the Ada entry.
3969         * faces.el (x-create-frame-with-faces):
3970         Don't call face-set-after-frame-default.
3971         (face-set-after-frame-default): Copy attrs of global `default'
3972         face to FRAME's `default' face.
3974 2003-05-19  Joe Kelsey  <joek@flyingcroc.net>
3976         * skeleton.el (skeleton-internal-1): Allow - as alternate
3977         interesting point marker and revert @ to just setting
3978         skeleton-positions.
3980 2003-05-18  Stefan Monnier  <monnier@cs.yale.edu>
3982         * emacs-lisp/lisp.el (beginning-of-defun-raw): Use shy-group.
3984         * progmodes/executable.el (executable-set-magic): Remove unused
3985         vars `point' and `buffer-modified-p'.
3987         * mail/sendmail.el (mail-mode): Don't bother setting paragraph-start.
3989         * mail/mail-extr.el: Use explicit coding tag.
3991         * international/mule.el (sgml-xml-auto-coding-function)
3992         (sgml-html-meta-auto-coding-function): Don't assume point-min == 1.
3994         * language/china-util.el (hz-set-msb-table): Build when compiling.
3995         (big5-to-cns): Pre-build the alist when compiling.
3997         * language/ind-util.el (indian-regexp-of-hashtbl-keys): Don't bother
3998         sorting the argument to regexp-opt.
3999         (indian--puthash-char): Use dolist rather than mapc.
4001 2003-05-18  Nick Roberts  <nick@nick.uklinux.net>
4003         * gdb-ui.el (put-arrow): Rename gdb-put-arrow and simplify.
4004         (put-string): Rename gdb-put-string and simplify.
4005         (remove-strings): Rename gdb-remove-strings.
4006         (remove-arrow): Rename gdb-remove-arrow.
4007         (gdb-assembler-custom): Try to get line marker (arrow) to display
4008         in window (revisited).
4009         Use with-current-buffer where possible.
4011 2003-05-18  John Paul Wallington  <jpw@gnu.org>
4013         * ibuffer.el (ibuffer-display-summary): New customizable variable.
4014         (ibuffer-update-title-and-summary): Respect it.
4016 2003-05-18  Michael Kifer  <kifer@cs.stonybrook.edu>
4018         * ediff-mult.el (ediff-default-filtering-regexp): New variable.
4020         * ediff-util.el (ediff-maybe-save-and-delete-merge): Change in a
4021         message.
4023         * ediff.el (ediff-directories,ediff-directory-revisions)
4024         (ediff-directories3,ediff-merge-directories)
4025         (ediff-merge-directories-with-ancestor,ediff-merge-directory-revisions)
4026         (ediff-merge-directory-revisions-with-ancestor): Make use of the new
4027         ediff-default-filtering-regexp variable.
4029 2003-05-18  Richard M. Stallman  <rms@gnu.org>
4031         * which-func.el (which-func-current, which-func-format):
4032         Preload the risky-local-variable properties for them.
4034         * subr.el (prepare-change-group): Reinstate BUFFER arg; make it work.
4036 2003-05-18  Nick Roberts  <nick@nick.uklinux.net>
4038         * gud.el (gdb): Define gud-nexti.
4039         (gud-menu-map): Add gud-nexti to map.
4040         (gud-tool-bar-map): Add gud-nexti and gud-stepi to toolbar.
4042         * toolbar/gud-stepi.xpm, toolbar/gud-stepi.pbm,
4043         toolbar/gud-nexti.xpm, toolbar/gud-nexti.pbm: New icons for debugger.
4045 2003-05-17  John Paul Wallington  <jpw@gnu.org>
4047         * international/ja-dic-cnv.el (skkdic-okuri-nasi-entries)
4048         (skkdic-okuri-nasi-entries-count): Use defvar for non-constants.
4050         * register.el (number-to-register): Use `string-to-number' instead
4051         of `string-to-int'.
4053 2003-05-17  Stefan Monnier  <monnier@cs.yale.edu>
4055         * log-edit.el: Don't require vc.el anymore.
4056         (log-edit-mode-map): Fold vc-log-mode-map into it.
4057         (vc-log-mode-map): Redefine as an alias.
4058         (vc-previous-comment): Don't widen.
4059         (vc-comment-to-change-log): Don't redundantly set paragraph-separate.
4060         Don't require `add-log' since it's already required at toplevel.
4062         * vc.el (vc-log-mode-map, vc-maximum-comment-ring-size)
4063         (vc-comment-ring, vc-comment-ring-index, vc-last-comment-match):
4064         Move vars to log-edit.el.
4065         (vc-new-comment-index, vc-previous-comment, vc-next-comment)
4066         (vc-comment-search-reverse, vc-comment-search-forward)
4067         (vc-comment-to-change-log): Move funs to log-edit.el.
4068         (vc-clear-context): Don't empty the comment-ring.
4069         (vc-finish-logentry): Don't add the comment onto the comment-ring.
4071         * log-edit.el (vc-log-mode-map, vc-maximum-comment-ring-size)
4072         (vc-comment-ring, vc-comment-ring-index, vc-last-comment-match):
4073         Move vars from vc.el.
4074         (vc-new-comment-index, vc-previous-comment, vc-next-comment)
4075         (vc-comment-search-reverse, vc-comment-search-forward)
4076         (vc-comment-to-change-log): Move funs from vc.el.
4077         (log-edit-show-files): Remove unused var `editbuf'.
4079         * progmodes/tcl.el (tcl-indent-exp): Remove dead code.
4080         (tcl-tab-always-indent): Default to tab-always-indent.
4082         * progmodes/perl-mode.el (perl-end-of-function): Remove unused var.
4083         (perl-tab-always-indent): Default to tab-always-indent.
4085         * which-func.el (which-func-format): Make it risky-local-variable.
4086         (which-func-table): New var.
4087         (which-func-current): Make it into a constant modeline spec.
4088         (which-func-previous): Remove.
4089         (which-func-update): Only update the selected window.
4090         (which-func-update-1): Use the new var to allow the current
4091         function to be different for a buffer shown in two windows.
4093         * subr.el (with-selected-window): New macro.
4094         (dolist, dotimes, with-current-buffer): Use backquotes.
4095         (when, unless, save-match-data, combine-after-change-calls)
4096         (with-output-to-string, with-temp-buffer): Add `declare' info.
4097         (listify-key-sequence): Don't allocate unnecessarily.
4098         (read-quoted-char): Allow up to base 36.
4099         (prepare-change-group): Remove unimplemented argument.
4100         (macro-declaration-function): Avoid `dolist' and `cadr'.
4102         * wid-edit.el (pp-to-string, Info-goto-node): Don't autoload.
4103         (widget-choose, widget-map-buttons): Use with-current-buffer.
4104         (widget-field-add-space): Change to nil (and to defconst).
4105         (widget-info-link-action): Use `info'.
4107 2003-05-17  Nick Roberts  <nick@nick.uklinux.net>
4109         * gdb-ui.el (gdb-info-frames-custom): Reverse contrast of face for
4110         selected frame.
4111         (gdb-annotation-rules): Stop using frames-invalid and
4112         breakpoints-invalid annotations.  Update after post-prompt instead.
4113         (gdb-post-prompt): Update frames and breakpoints here.
4114         (gdb-invalidate-frame-and-assembler)
4115         (gdb-invalidate-breakpoints-and-assembler): Remove.
4116         (gdb-current-address): Remove.
4117         (gdb-previous-address): New variable.
4118         (gud-until): Extend to work in Assembler buffer
4119         (gdb-append-to-inferior-io): Select IO buffer when there is output.
4120         (gdb-assembler-custom): Try to get line marker (arrow) to display
4121         in window.  Correct parsing for OS dependent output syntax of Gdb
4122         command, where.
4123         (gdb-frame-handler): Correct parsing for OS dependent output
4124         syntax of Gdb command, frame.
4125         (gdb-invalidate-assembler): Update assembler buffer correctly when
4126         frame changes (revisited).
4128 2003-05-16  Stefan Monnier  <monnier@cs.yale.edu>
4130         * imenu.el (imenu--split-menu): Remove unused var `count'.
4131         Don't copy the sequence since we're already modifying it elsewhere.
4132         (imenu--create-keymap): Rename from imenu--create-keymap-1.
4133         Add optional `cmd' argument.  Remove unused var `counter'.
4134         (imenu-update-menubar): Use the new arg to keep the old behavior.
4135         (imenu--mouse-menu): Don't use the arg, to recover the lost behavior.
4137 2003-05-16  Lute Kamstra  <Lute.Kamstra@cwi.nl>
4139         * hl-line.el (hl-line-highlight, global-hl-line-highlight):
4140         Use `line-beginning-position' to determine the beginning of the next
4141         line.
4143 2003-05-16  Kenichi Handa  <handa@m17n.org>
4145         * international/mule-cmds.el (mule-menu-keymap): Enable the menu
4146         set-various-coding-system when
4147         default-enable-multibyte-characters is non-nil.
4149 2003-05-15  Stefan Monnier  <monnier@cs.yale.edu>
4151         * emacs-lisp/autoload.el (make-autoload): Add arglist for
4152         define-derived-mode.
4154 2003-05-15  Lute Kamstra  <Lute.Kamstra@cwi.nl>
4156         * hl-line.el: Rewrite the local minor mode so that it can be
4157         sticky as well and made sticky the default.  Reimplement the
4158         global minor mode.  Update the commentary section to document
4159         these changes.
4160         (hl-line-sticky-flag): New user option.
4161         (hl-line-overlay): Make it buffer-local and give it a docstring.
4162         (global-hl-line-overlay): New variable.
4163         (hl-line-mode): Rewrite to use `hl-line-sticky-flag'.
4164         (hl-line-highlight): Rewrite to use `hl-line-sticky-flag'.
4165         (hl-line-unhighlight): Update docstring.
4166         (global-hl-line-mode): Implement directly so that is does not
4167         depend on `hl-line-mode' any more.
4168         (global-hl-line-highlight, global-hl-line-unhighlight): New functions.
4170 2003-05-15  Kenichi Handa  <handa@m17n.org>
4172         * international/code-pages.el (cyrillic-koi8-t): Alias of koi8-t.
4174 2003-05-15  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4176         * ps-print.el: Avoid unnecessary calls to funs in header and footer
4177         variables.  Reported by Greg Hill <ghill@synergymicro.com>.
4178         (ps-print-version): New version number (6.6.1).
4179         (ps-begin-page): Code fix.
4180         (ps-generate-string-list, ps-header-footer-string): New funs.
4181         (ps-lh-cache, ps-rh-cache, ps-lf-cache, ps-rf-cache): New vars.
4183         * ps-mule.el (ps-mule-header-string-charsets):
4184         Call ps-header-footer-string to avoid unnecessary calls to functions
4185         in header and footer variables.
4187 2003-05-15  John Paul Wallington  <jpw@gnu.org>
4189         * mail/rmail.el (rmail-ignored-headers): Ignore Face: header.
4191 2003-05-14  Stefan Monnier  <monnier@cs.yale.edu>
4193         * textmodes/tex-mode.el (tex-compile-history, tex-input-files-re)
4194         (tex-use-reftex, tex-compile-commands): New vars.
4195         (tex-summarize-command, tex-uptodate-p, tex-executable-exists-p)
4196         (tex-command-executable, tex-command-active-p, tex-compile-default)
4197         New functions.
4198         (tex-compile): New command.
4199         (tex-mode-map): Bind it to C-c C-c.
4201         * vc-svn.el (completion-ignored-extensions): Add .svn.
4202         (vc-svn-delete-file): New function.
4204         * pcvs.el (cvs-append-to-ignore): New arg `old-dir'.
4205         (cvs-mode-ignore): Use it.
4207         * pcvs-parse.el (cvs-parse-table): Remove unused var `type'.
4208         Look up `.cvsignore' to see what to do with `new-dir' messages.
4209         (cvs-parse-merge): Remove unused var `handled'.
4211 2003-05-14  Christoph Wedler  <christoph.wedler@sap.com>
4213         * format.el (format-annotate-function): Copy coding system into the
4214         new temp buffer.
4216 2003-05-14  John Paul Wallington  <jpw@gnu.org>
4218         * ls-lisp.el (insert-directory): Discard --dired switch when
4219         `ls-lisp-use-insert-directory-program' is nil.
4221 2003-05-13  Stefan Monnier  <monnier@cs.yale.edu>
4223         * textmodes/ispell.el (xemacsp): Remove.  Use (featurep 'xemacs).
4224         (ispell-graphic-p): Inline and then remove.
4225         (toplevel): Get rid of unnecessary loop.
4226         (ispell-parse-output, ispell-complete-word): Replace (substring s 0 1)
4227         with a call to aref.
4228         (ispell-get-line): Remove unused arg `reg-end'.
4229         (ispell-region): Update corresponding call.
4231         * progmodes/cpp.el (cpp-make-overlay-hidden): Don't make intangible.
4233         * progmodes/compile.el (compile-internal): Use with-current-buffer.
4234         (compilation-set-window-height): Use save-selected-window.
4236         * progmodes/ada-xref.el (ada-xref-update-project-menu): Use easymenu.
4237         (ada-goto-declaration-other-frame): Remove unused arg other-frame.
4238         (ada-gdb-application): Remove unused vars comint-exec, in-post-mode,
4239         and gud-gdb-massage-args.
4241         * progmodes/cc-langs.el (c-lang-defvar-init-form-tail):
4242         This is actually not a constant.
4244         * progmodes/autoconf.el (autoconf-current-defun-function):
4245         Copy the syntax table before modifying it.
4247         * progmodes/ada-mode.el (ada-in-comment-p, ada-in-string-p)
4248         (ada-in-string-or-comment-p): Use line-beginning-position.
4250         * textmodes/reftex.el (reftex-select-with-char): Don't assume
4251         that point-min == 1.
4253         * textmodes/reftex-toc.el (reftex-toc-visit-location):
4254         Don't switch the current window if the new buffer is in another.
4255         (reftex-toc): Don't assume that point-min == 1.
4257         * textmodes/reftex-parse.el (reftex-what-macro): Don't assume
4258         that point-min == 1.
4260         * textmodes/reftex-cite.el (reftex-extract-bib-entries)
4261         (reftex-extract-bib-entries-from-thebibliography): New arg re-list.
4262         (reftex-extract-bib-entries): Use ^ rather than \(\`\|[\n\r]\).
4263         Use member-ignore-case.  Don't add unnecessary trailing \n.
4264         (reftex-offer-bib-menu): Consolidate duplicated code from
4265         reftex-extract-bib-entries and
4266         reftex-extract-bib-entries-from-thebibliography.
4268         * simple.el (back-to-indentation): Simplify.
4269         (undo-equiv-table, undo-in-region, undo-no-redo): New vars.
4270         (undo): Use them to implement the no-redo form of undo.
4271         (undo-only): New fun.
4272         (shell-command): Don't require `shell' since shell-mode is autoloaded.
4273         (insert-buffer): Simplify.
4274         (completion-setup-function): Use minibufferp.
4275         (event-apply-alt-modifier, event-apply-super-modifier)
4276         (event-apply-hyper-modifier, event-apply-shift-modifier)
4277         (event-apply-control-modifier, event-apply-meta-modifier):
4278         Fix docstring to show the proper key sequence.
4280         * uniquify.el (uniquify-after-kill-buffer-p): Set default to t.
4281         (uniquify-ignore-buffers-re): Revert to nil now that uniquify
4282         is more careful about preserving buffer names.
4284         * menu-bar.el (menu-bar-options-menu) <cua-mode>:
4285         Use menu-bar-make-mm-toggle.
4287         * files.el (file-relative-name): Remove dead code.
4288         Make sure \n in a filename does not confuse us.
4290         * help-fns.el (describe-variable): Mention permanent local status.
4292         * comint.el (comint-carriage-motion, comint-output-filter):
4293         Bind inhibit-read-only rather than buffer-read-only.
4294         (comint-truncate-buffer): Bind inhibit-read-only.
4296         * pcvs.el (cvs-make-cvs-buffer): Add the tag info.
4297         (cvs-mode): Prevent pilot-error.
4299         * vc-mcvs.el (vc-mcvs-registered, vc-mcvs-root): Check the output
4300         of file-name-directory for nil.
4302 2003-05-13  Simon Josefsson  <jas@extundo.com>
4304         * mail/smtpmail.el (smtpmail-open-stream): Don't hard code
4305         starttls-program.
4307 2003-05-13  Rajesh Vaidheeswarran  <rv@gnu.org>
4309         * whitespace.el (whitespace-global-mode): Add :link entry
4310         to the commentary section in whitespace.el
4312 2003-05-13  Nick Roberts  <nick@nick.uklinux.net>
4314         * gdb-ui.el (gdb-invalidate-assembler): Update assembler buffer
4315         correctly when frame changes.
4316         (gdb-info-threads-custom, gdb-threads-buffer-name)
4317         (gdb-display-threads-buffer, gdb-frame-threads-buffer)
4318         (gdb-threads-mode-map, gdb-threads-mode, gdb-get-thread-number)
4319         (gdb-threads-select, gdb-threads-mouse-select): New functions and
4320         variable for a buffer that provides a selectable threads list.
4322 2003-05-12  Stefan Monnier  <monnier@cs.yale.edu>
4324         * pcvs-parse.el (cvs-parse-table): `New directory' messages include
4325         the full path.
4327         * pcvs.el (cvs-minor-current-files): Move before first use.
4328         (defun-cvs-mode): Remove unused var `restdoc'.
4329         (cvs-edit-log-revision, ediff-after-quit-hook-internal): Declare.
4330         (cvs-mode-diff-backup): Remove unused var `filter'.
4331         (cvs-mode-run): Remove unused var `cvs-buf'.
4332         (cvs-mode-do): Remove unused arg `parse'.
4333         (cvs-retrieve-revision): Make sure HEAD gets the head of the branch.
4335         * textmodes/sgml-mode.el (sgml-namespace-re): New const.
4336         (sgml-namespace-face): New face.
4337         (sgml-font-lock-keywords-1): Use them.
4339 2003-05-11  Kevin Ryde  <user42@zip.com.au>
4341         * info-look.el (info-lookup-make-completions): Allow colons in index
4342         entries by looking for ": " to terminate, as per latest info.el.
4344 2003-05-11  Stefan Monnier  <monnier@cs.yale.edu>
4346         * vc-mcvs.el (vc-mcvs-command): Filter output of `status'.
4347         (vc-mcvs-state, vc-mcvs-dir-state, vc-mcvs-print-log, vc-mcvs-diff):
4348         Change dir so that the filtered output of `mcvs makes sense.
4349         (vc-mcvs-mode-line-string): Handle the case where CVS is desync'd.
4350         (vc-mcvs-diff-tree): Don't bother with the local-diff code.
4351         (vc-mcvs-create-snapshot): Use `branch' and `switch'.
4353 2003-05-10  Stefan Monnier  <monnier@cs.yale.edu>
4355         * newcomment.el (comment-indent): Try to align to adjacent comments.
4356         (comment-with-narrowing): Actually use the arguments.
4357         (comment-valid-prefix-p): Rename from comment-valid-prefix
4358         and fix to actually use its argument.
4360         * tex-mode (tex-mode-syntax-table): ~ is not whitespace.
4361         (tex-guess-mode): Add `renewcommand'.
4362         (tex-mode): Move the autoload to get the correct docstring and usage.
4364         * uniquify.el (uniquify-rationalize-file-buffer-names):
4365         Refresh the dirname in the case that rename-buffer was skipped.
4366         (uniquify-buffer-file-name): Return a dirname with no trailing slash.
4368         * mail/smtpmail.el (smtpmail-send-queued-mail): Use point-at-bol
4369         instead of forward-line.
4371 2003-05-10  Oliver Scholz  <alkibiades@gmx.de>
4373         * startup.el (fancy-splash-default-action): Fix docstring.
4375 2003-05-09  Sam Steingold  <sds@gnu.org>
4377         * pcvs.el (cvs-mode-find-file): Fixed the last patch's logic.
4379 2003-05-09  Stefan Monnier  <monnier@cs.yale.edu>
4381         * newcomment.el (comment-indent): Be more careful when inserting
4382         the space, and insert it before setting `begpos'.
4384         * vc.el: New backend functions `delete-file' and `repository-hostname'.
4385         (vc-stay-local): New var.  Mostly taken from vc-cvs-stay-local.
4386         (vc-stay-local-p): New fun.  Adapted from vc-cvs-stay-local-p.
4387         (vc-diff-switches-list): Revert to the Emacs-21.[123] semantics.
4388         Mark as obsolete.
4389         (vc-delete-file): New command.
4390         (vc-default-rename-file): New function.
4391         (vc-rename-file): Use it.
4392         Be careful to disallow renaming if the file is locked or out-of-date.
4393         (vc-ensure-vc-buffer, vc-next-action-on-file, vc-insert-headers)
4394         (vc-cancel-version, vc-annotate): Use buffer-file-name variable.
4396         * vc-mcvs.el (vc-mcvs-stay-local): Remove unused var.
4397         (vc-mcvs-state, vc-mcvs-dir-state, vc-mcvs-print-log, vc-mcvs-diff)
4398         (vc-mcvs-diff-tree, vc-mcvs-annotate-command)
4399         (vc-mcvs-make-version-backups-p): Use vc-stay-local-p.
4400         (vc-mcvs-checkin): Disallow commits to a numbered rev.
4401         (vc-mcvs-repository-hostname): New function.
4402         (vc-mcvs-stay-local-p): Remove.
4404         * vc-cvs.el (vc-cvs-mode-line-string): Use vc-default-mode-line-string.
4405         (vc-cvs-delete-file, vc-cvs-rename-file): New functions.
4407         * vc-svn.el (vc-svn-rename-file): New fun.
4408         (vc-svn-diff): Correctly check svn's return status.
4409         (vc-svn-state, vc-svn-dir-state, vc-svn-print-log, vc-svn-diff)
4410         (vc-svn-diff-tree): Use vc-stay-local-p.
4411         (vc-svn-register-switches, vc-svn-diff-switches, vc-svn-header)
4412         (vc-svn-use-edit): Fix the :version property.
4413         (vc-svn-stay-local): Remove unused var.
4414         (vc-svn-mode-line-string): Remove, use the default instead.
4415         (vc-svn-repository-hostname): New fun taken from vc-svn-stay-local-p.
4416         (vc-svn-stay-local-p): Remove.
4418         * uniquify.el: Use the original buffer-name as `base' in place of the
4419         nondirectory part of the file name.
4420         (uniquify-rationalize-file-buffer-names):
4421         Split the `newbuffile' arg into `base' and `dirname'.
4422         Reuse old uniquify-items to avoid recomputing their base&dirname.
4423         (uniquify-buffer-file-name): Only return the directory part.
4424         (uniquify-rerationalize-w/o-cb): Don't bother reseting proposed names.
4425         (rename-buffer): Use the `newname' arg as base.
4426         (create-file-buffer): Split the file name into base and dirname.
4428 2003-05-09  Jesper Harder  <harder@ifa.au.dk>  (tiny change)
4430         * mail/smtpmail.el (smtpmail-send-queued-mail): Don't use kill-line.
4432 2003-05-08  Stefan Monnier  <monnier@cs.yale.edu>
4434         * uniquify.el (uniquify-after-kill-buffer-p): Fix misleading docstring.
4435         (uniquify-make-item): Make `proposed' optional.
4436         (uniquify-rationalize-file-buffer-names): Don't compute the
4437         initial proposed name.
4438         (uniquify-buffer-file-name): Remove dead code.
4439         (uniquify-strip-common-suffix): New var.
4440         (uniquify-rationalize): Always recompute initial proposed name.
4441         Strip common suffix if requested.
4443         * vc-rcs.el (vc-rcs-register, vc-rcs-checkin, vc-rcs-checkout)
4444         (vc-rcs-find-version, vc-rcs-diff): Use vc-switches.
4446         * vc-sccs.el (vc-sccs-register, vc-sccs-find-version)
4447         (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-diff): Use vc-switches.
4448         (vc-sccs-register): Remove unused var `|'.
4450         * vc-mcvs.el (vc-mcvs-read): Don't require `file' to exist.
4451         (vc-mcvs-diff): Don't return 0 for newly added empty files.
4452         (vc-mcvs-register, vc-mcvs-checkin, vc-mcvs-find-version)
4453         (vc-mcvs-checkout, vc-mcvs-diff, vc-mcvs-diff-tree): Use vc-switches.
4455         * vc-cvs.el (vc-cvs-dired-state-info): Use `added' for added files and
4456         don't use `concat' unnecessarily.  Remove impossible cases.
4457         (vc-cvs-diff): Don't return 0 for newly added empty files.
4458         (vc-cvs-stay-local-p): Simplify.
4459         (vc-cvs-register, vc-cvs-checkin, vc-cvs-find-version, vc-cvs-diff)
4460         (vc-cvs-diff-tree, vc-cvs-checkout): Use vc-switches.
4462         * vc-svn.el (vc-svn-dired-state-info): Use `added' for added files and
4463         don't use `concat' unnecessarily.  Remove impossible cases.
4464         (vc-svn-register, vc-svn-find-version, vc-svn-diff-tree):
4465         Use vc-switches.
4466         (vc-svn-checkin): Use vc-switches.  Fix up regexp.
4467         (vc-svn-diff): Use vc-switches.
4468         Don't return 0 for newly added empty files.
4469         Don't use svn's return status.
4470         (vc-svn-parse-status): Recognize copied files as well.
4471         Use the last-modified revision for workfile-version.
4473         * vc-hooks.el (vc-default-workfile-unchanged-p): Pass nil
4474         rather than (vc-workfile-version file) to diff.
4476         * vc.el (with-vc-properties, with-vc-file, edit-vc-file):
4477         Add `declare's for debugging and indentation.
4478         (vc-do-command): Use `remq'.
4479         (vc-buffer-context): Remove unused var `curbuf'.
4480         (vc-next-action-dired): Remove unused var `dired-dir'.
4481         (vc-switches): New fun.
4482         (vc-diff-switches-list): Use it.
4483         (vc-dired-hook): Remove unused var `cvs-dir'.
4484         (vc-dired-purge): Remove unused var `subdir'.
4485         (vc-cancel-version): Remove unused var `config'.
4486         (vc-rename-master): Use dolist iso mapcar.
4487         (vc-rename-file): Remove redundant tests.
4488         Clear the properties of the old file name.
4489         (vc-annotate): Pass the complete filename to `annotate-command'.
4490         (vc-annotate-lines): Remove unused var `overlay'.
4492 2003-05-08  Glenn Morris  <gmorris@ast.cam.ac.uk>
4494         * calendar/diary-lib.el (diary-pull-attrs): Make `ret-attr',
4495         `attr' local.
4496         (list-diary-entries): Make `temp' local.
4497         (fancy-diary-display): Make `marks', `temp-face', `faceinfo' local.
4498         (diary-mail-entries): There is no fancy-diary-buffer if there are
4499         no diary entries.  Use call-interactively.
4500         (mark-diary-entries): Make `temp' local.
4501         (mark-sexp-diary-entries): Make `marks' local, remove `temp'.
4502         (list-sexp-diary-entries): Make `temp' local.
4503         (add-to-diary-list): Make `prefix' local.
4505 2003-05-08  Dave Love  <fx@gnu.org>
4507         * international/utf-7.el: New file.
4509 2003-05-07  Francis J. Wright  <F.J.Wright@qmul.ac.uk>
4511         * files.el (insert-file-contents-literally): Allow it to be called
4512         within a magic file name handler.
4514 2003-05-07  Stefan Monnier  <monnier@cs.yale.edu>
4516         * uniquify.el (uniquify-rationalize-file-buffer-names):
4517         Don't uniquify if there is no filename.
4519         * vc-hooks.el: Use buffer-file-name variable rather than function.
4520         (vc-handled-backends): Add SVN and MCVS.
4521         (vc-mode-line): Call vc-backend only once.
4522         (find-file-hook, find-file-not-found-hook): Use the new
4523         names rather than ...-hooks.
4525         * uniquify.el (uniquify-item, uniquify-get-proposed-name)
4526         (uniquify-rationalize-conflicting-sublist): Rename filename -> dirname.
4527         (uniquify-rationalize): New fun.  Set uniquify-managed to the fix-list.
4528         (uniquify-rationalize-file-buffer-names): Use it and make the args
4529         non-optional (i.e. don't support "re-rationalize all" any more).
4530         (uniquify-rerationalize-w/o-cb): New fun.
4531         (uniquify-maybe-rerationalize-w/o-cb): Use it to rerationalize
4532         immediately and only the relevant buffers.
4533         Merged from uniquify-delay-rationalize-file-buffer-names and
4534         uniquify-delayed-rationalize-file-buffer-names.
4535         (kill-buffer-hook, rename-buffer): Use it.
4537 2003-05-06  Jesper Harder  <harder@ifa.au.dk>
4539         * progmodes/compile.el (compile-internal): Don't quote nil and t in
4540         docstrings.
4542         * emacs-lisp/eldoc.el (eldoc-echo-area-use-multiline-p): Likewise.
4544         * emacs-lisp/cl-macs.el (case, typecase): Likewise.
4546         * allout.el (allout-auto-activation)
4547         (allout-use-mode-specific-leader, allout-reindent-bodies)
4548         (allout-unprotected): Likewise.
4550         * progmodes/tcl.el (tcl-explain-indentation): Likewise.
4552         * progmodes/idlwave.el (idlwave-complete-special): Likewise.
4554         * progmodes/cpp.el (cpp-edit-list): Likewise.
4556         * progmodes/cperl-mode.el (cperl-lineup): Likewise.
4558         * progmodes/cc-align.el (c-lineup-argcont, c-lineup-gcc-asm-reg):
4559         Likewise.
4561         * play/mpuz.el (mpuz-silent): Likewise.
4563         * play/decipher.el (decipher-ignore-spaces): Likewise.
4565         * net/rlogin.el (rlogin-process-connection-type): Likewise.
4567         * mail/rmail.el (rmail-primary-inbox-list): Likewise.
4569         * mail/mailalias.el (mail-directory-function)
4570         (mail-directory-requery, mail-directory): Likewise.
4572         * emacs-lisp/lucid.el (buffer-syntactic-context): Likewise.
4574         * emacs-lisp/lmenu.el (popup-dialog-box): Likewise.
4576         * type-break.el (type-break-good-rest-interval)
4577         (type-break-query-mode, type-break-query-function)
4578         (type-break-mode-line-message-mode): Likewise.
4580         * skeleton.el (skeleton-autowrap, skeleton-untabify)
4581         (skeleton-newline-indent-rigidly, skeleton-insert)
4582         (skeleton-read): Likewise.
4584         * simple.el (newline): Likewise.
4586         * ps-print.el (ps-zebra-stripe-follow): Likewise.
4588         * mwheel.el (mouse-wheel-scroll-amount): Likewise.
4590         * env.el (setenv): Likewise.
4592 2003-05-06  Stefan Monnier  <monnier@cs.yale.edu>
4594         * imenu.el (imenu--generic-function): Use font-lock-defaults
4595         case setting if imenu-case-fold-search is not locally set.
4597         * uniquify.el (uniquify-managed): New var.
4598         (uniquify-rationalize-file-buffer-names, rename-buffer): Use it and set
4599         it to prevent accidental renaming of unrelated buffers.
4600         (uniquify-delay-rationalize-file-buffer-names): Use it to avoid
4601         the cost of uniquify when killing unrelated buffers.
4603         * newcomment.el (comment-set-column, comment-kill)
4604         (comment-or-uncomment-region): Call comment-normalize-vars
4605         since these functions are autoloaded.
4607         * help-fns.el (help-add-fundoc-usage): Use t for "no arglist".
4608         * emacs-lisp/advice.el (ad-make-advised-docstring): Adjust usage.
4610 2003-05-06  Lute Kamstra  <Lute.Kamstra@cwi.nl>
4612         * hl-line.el: Removed an erroneous comment.
4613         (hl-line-mode): Use buffer local hooks.
4614         (global-hl-line-mode): Turn local modes on unconditionally.
4615         (hl-line-highlight): Comment fix.
4617 2003-05-06  Richard M. Stallman  <rms@gnu.org>
4619         * newcomment.el (comment-search-forward): Delete autoload cookie.
4621 2003-05-06  Kenichi Handa  <handa@m17n.org>
4623         * arc-mode.el (archive-set-buffer-as-visiting-file):
4624         Use after-insert-file-set-coding, not
4625         after-insert-file-set-buffer-file-coding-system.
4627 2003-05-05  Stefan Monnier  <monnier@cs.yale.edu>
4629         * uniquify.el (uniquify-buffer-name-style)
4630         (uniquify-after-kill-buffer-p, uniquify-ask-about-buffer-names-p)
4631         (uniquify-ignore-buffers-re, uniquify-min-dir-content)
4632         (uniquify-separator, uniquify-trailing-separator-p): Remove redundant
4633         group specification.
4634         (uniquify-file-name-nondirectory): Delete.
4635         (uniquify-rationalize-file-buffer-names): Simplify.
4636         Use directory names as `filename' component of uniquify-item.
4637         (uniquify-get-proposed-name): Adjust now that `filename' does not
4638         include `base'.
4640         * vc-svn.el: New file.
4642 2003-05-05  John Paul Wallington  <jpw@gnu.org>
4644         * emacs-lisp/autoload.el (batch-update-autoloads):
4645         Call `update-directory-autoloads'.
4647 2003-05-04  Dan Nicolaescu  <dann@ics.uci.edu>
4649         * dired.el (dired-find-file): Bind find-file-run-dired around
4650         the call to find-file.
4652 2003-05-04  Stefan Monnier  <monnier@cs.yale.edu>
4654         * uniquify.el: Move provide to end of file.
4655         (uniquify-ref-base, uniquify-ref-filename, uniquify-ref-buffer)
4656         (uniquify-ref-proposed, uniquify-set-proposed): Remove.
4657         (uniquify-item): New struct.  Update users of uniquify-ref-*.
4658         (uniquify-get-proposed-name, uniquify-rationalize-a-list):
4659         Make `depth' optional.
4660         (uniquify-non-file-buffer-names): Remove.
4661         (uniquify-rationalize-file-buffer-names): Don't set it up.
4662         Use uniquify-make-item and don't pass the now-optional depth.
4663         (uniquify-rationalize-conflicting-sublist): Check the new buffer
4664         name directly instead of relying on uniquify-non-file-buffer-names.
4665         (uniquify-rename-buffer): Use with-current-buffer and pass
4666         the `unique' arg to rename-buffer.
4668         * vc-mcvs.el (vc-mcvs-mode-line-string): Fix thinko.
4669         (vc-mcvs-rename-file): New function.
4671 2003-05-04  Emmanuel Briot  <briot@gnat.com>
4673         * progmodes/ada-mode.el
4674         * progmodes/ada-prj.el
4675         * progmodes/ada-stmt.el
4676         * progmodes/ada-xref.el (ada-xemacs): Variable removed, since it's
4677         better to use (featurep 'xemacs).
4678         Removed warnings generated with Emacs 21.3.x (mostly by adding
4679         needed `require' statements).
4681 2003-05-04  Nick Roberts  <nick@nick.uklinux.net>
4683         * toolbar/gud-break.pbm, toolbar/gud-cont.pbm, toolbar/gud-display.pbm,
4684         toolbar/gud-down.pbm, toolbar/gud-finish.pbm, toolbar/gud-until.pbm,
4685         toolbar/gud-next.pbm, toolbar/gud-print.pbm, toolbar/gud-remove.pbm,
4686         toolbar/gud-run.pbm, toolbar/gud-step.pbm, toolbar/gud-up.pbm:
4687         Correct size for cleaner bitmaps.
4689 2003-05-03  Stefan Monnier  <monnier@cs.yale.edu>
4691         * emacs-lisp/cl-extra.el (cl-map-keymap): Redefine as alias.
4692         (cl-map-keymap-recursively): Use map-keymap.
4693         (cl-macroexpand-all): Don't quote functions.
4695         * emacs-lisp/lucid.el (cl-map-keymap): Be careful with aliases.
4697         * emacs-lisp/advice.el (ad-get-enabled-advices, ad-special-forms)
4698         (ad-arglist, ad-subr-arglist): Use push and match-string.
4699         (ad-make-advised-docstring): Extract & reinsert the usage info.
4701         * help-fns.el (help-add-fundoc-usage): Allow arglist to be a string.
4703 2003-05-03  Nick Roberts  <nick@nick.uklinux.net>
4705         * gdb-ui.el (breakpoint-enabled-icon, breakpoint-disabled-icon):
4706         Include bitmap data for monochrome display.
4707         (breakpoint-enabled-pbm-data, breakpoint-disabled-pbm-data):
4708         New constants.
4710 2003-05-03  Richard M. Stallman  <rms@gnu.org>
4712         * emacs-lisp/autoload.el (update-directory-autoloads): Renamed from
4713         update-autoloads-from-directories.
4715         * progmodes/cperl-mode.el (cperl-nonoverridable-face): Doc fix.
4717         * mail/sendmail.el (mail-dont-send, mail-bury): Make ARG optional.
4719         * view.el (Helper-return-blurb): Add defvar.  (Also rearrange defuns.)
4721         * uniquify.el (uniquify-ignore-buffers-re): Change default
4722         to match some Gnus buffers.
4724         * newcomment.el (comment-search-forward): Add autoload cookie.
4726         * isearch.el (isearch-complete): Update isearch-message.
4728         * filesets.el (filesets-data): Add another defvar.
4729         (filesets-verbosity): Doc fix.
4731 2003-05-02  Tak Ota  <Takaaki.Ota@am.sony.com>  (tiny change)
4733         * recentf.el (recentf-cleanup): Swap tests for exclusion and
4734         accessibility.
4736 2003-05-01  Eduardo Mu\e,Aq\e(Boz  <emufer@terra.es>  (tiny change)
4738         * ls-lisp.el (ls-lisp-format-file-size): New function to implement
4739         "-h" switch.
4740         (ls-lisp-format): Use it.
4742 2003-05-01  Kenichi Handa  <handa@m17n.org>
4744         * international/utf-8.el (utf-translate-cjk-mode): Update the
4745         second extra slot of the translation table
4746         utf-translation-table-for-encode.
4747         (mule-utf-8): Set the property translation-table-for-encode.
4749 2003-04-30  Stefan Monnier  <monnier@cs.yale.edu>
4751         * pcvs.el (cvs-vc-command-advice): Don't parse "cvs update -p" output.
4752         (cvs-mode-find-file): Don't complain if bound to a non-mouse event.
4754         * textmodes/fill.el (text-property-default-nonsticky): Add fill-space.
4755         (fill-delete-newlines): Respect the new property.
4756         (fill-newline): Use the property instead of leaving "spurious" spaces.
4758         * emacs-lisp/easymenu.el (easy-menu-get-map): Correctly handle
4759         non-submap bindings.
4761 2003-04-30  Emmanuel Briot  <briot@gnat.com>
4763         * progmodes/ada-mode.el (ada-search-directories): Take into account
4764         ADA_INCLUDE_PATH for better compatibility with GNAT.
4765         (ada-contextual-menu): Menu defined through `easy-menu-define'
4766         instead.  Various adjustments to the indentation engine (handling of
4767         subtypes, begin blocks, etc.).
4768         (ada-create-menu): Major rewrite of the handling of menus to use
4769         `easy-menu-define' for cleaner code and better compatibility with
4770         XEmacs.  All menus that were previously in ada-xref.el and
4771         ada-prj.el are now defined in this package, which makes it easier to
4772         edit menus.
4773         (ada-narrow-to-defun): Add support for `narrow-to-region'.
4774         No longer explicitely load ada-xref.el and ada-prj.el.  Use autoload
4775         statements instead.
4777         * progmodes/ada-xref.el (ada-gnatls-args): New variable.
4778         Add support for specifying arguments to gnatls.
4779         (ada-initialize-runtime-library): Properly parse "." in the output
4780         of gnatls.
4781         (ada-add-keymap): Remove since this is now done in ada-mode.el itself.
4782         (ada-add-ada-menu): Likewise.
4783         (ada-set-default-project-file): New parameter KEEP-EXISTING.
4784         (ada-prj-find-prj-file): New parameter FILE.
4785         (ada-parse-prj-file): Take into account the ADA_INCLUDE_PATH and
4786         ADA_OBJECTS_PATH environment variables.  Minor reorganization of the
4787         code
4788         (ada-get-all-references): Add support for GNAT 3.16 cross-references.
4790         * progmodes/ada-prj.el (ada-prj-add-keymap): Move to ada-mode.el
4791         directly.  Add dependency on ada-xref.el to avoid compilation
4792         warnings.
4793         (ada-prj-get-prj-dir): Remove, no longer needed.
4795         * progmodes/ada-stmt.el (ada-stmt-add-to-ada-menu):
4796         Move to ada-mode.el.
4797         (ada-template-map): Merge with the keymap handling in ada-mode.el.
4799 2003-04-29  Stefan Monnier  <monnier@cs.yale.edu>
4801         * isearch.el (isearch-complete1): Don't allocate unnecessarily.
4802         (isearch-complete-edit): Adjust to Emacs-21's new minibuffer handling.
4803         (isearch-update-ring): Use push.
4805 2003-04-29  Oliver Scholz  <epameinondas@gmx.de>
4807         * play/gamegrid.el: Added a comment explaining the various ways to
4808         save a game score on POSIX systems.
4809         (gamegrid-add-score-with-update-game-score): Use `cond' instead of
4810         `if'.  Provide for the case that FILE is an absolute filename.
4811         Create the directory "$HOME/.emacs.d/games", if necessary.
4813 2003-04-29  John Paul Wallington  <jpw@gnu.org>
4815         * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Use `string-match'.
4817 2003-04-28  Dave Love  <fx@gnu.org>
4819         * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Avoid cl warnings
4820         from caaar & al.
4822 2003-04-28  Kenichi Handa  <handa@m17n.org>
4824         * international/mule-cmds.el (reset-language-environment):
4825         Raise the priority of mule-utf-8, mule-utf-16-be-with-signature and
4826         mule-utf-16-le-with-signature.
4828         * international/mule-conf.el: Set coding-category-utf-16-be to
4829         mule-utf-16-be-with-signature, coding-category-utf-16-le to
4830         mule-utf-16-le-with-signature.  Raise the priority of
4831         coding-category-utf-8, coding-category-utf-16-be, and
4832         coding-category-utf-16-le
4834 2003-04-27  Luc Teirlinck  <teirllm@mail.auburn.edu>
4836         * scroll-bar.el (scroll-bar-drag-1): Replace beginning-of-line with
4837         vertical-motion.
4839 2003-04-27  David Ponce  <david@dponce.com>
4841         * recentf.el
4843         Major rewrite.  The code is reordered, cleaner and faster.
4844         Introduce new options to automatically cleanup the recent list,
4845         and to handle filename transformation (for example to use true
4846         filenames).
4848         (recentf-version): New constant.
4849         (recentf-save-file-header): Move.
4850         (recentf-data-cache): New variable.
4851         (recentf-update-menu-p, recentf-initialized-p): Remove.
4852         (recentf-menu-customization-changed): Move.  Doc fix.
4853         (recentf-max-saved-items): Doc fix.
4854         (recentf-save-file): Doc fix.  No more expand filename here.
4855         (recentf-exclude, recentf-menu-action)
4856         (recentf-menu-filter): Doc fix.
4857         (recentf-menu-append-commands-flag): Rename from...
4858         (recentf-menu-append-commands-p): Make obsolete.
4859         (recentf-keep-non-readable-files-flag): Rename from...
4860         (recentf-keep-non-readable-files-p): Make obsolete.
4861         (recentf-auto-cleanup, recentf-filename-handler): New options.
4862         (recentf-string-equal, recentf-string-lessp)
4863         (recentf-string-member): New functions.
4864         (recentf-trunc-list): Move.
4865         (recentf-dump-variable): Move.  Better code and output format.
4866         (recentf-auto-cleanup-timer): New variable.
4867         (recentf-auto-cleanup): New function.
4868         (recentf-push, recentf-expand-file-name): New functions.
4869         (recentf-add-file): In-line.  Use above functions.
4870         (recentf-remove-if-non-readable): In-line.  Expand file name.
4871         (recentf-find-file): Use `recentf-remove-if-non-readable'.
4872         (recentf-directory-compare): Move.  Use `recentf-string-equal'
4873         and `recentf-string-lessp' to do comparisons.
4874         (recentf-menu-items-for-commands)
4875         (recentf-menu-filter-commands): Move.
4876         (recentf-elements, recentf-make-menu-element)
4877         (recentf-menu-element-item, recentf-menu-element-value)
4878         (recentf-set-menu-element-item, recentf-set-menu-element-value)
4879         (recentf-sub-menu-element-p, recentf-make-default-menu-element)
4880         (recentf-menu-elements): In-line.  Some doc fix.
4881         (recentf-apply-menu-filter): Better code.
4882         (recentf-make-menu-items): Doc fix.
4883         Use `recentf-menu-append-commands-flag'.
4884         (recentf-make-menu-item): In-lined.  Better code.
4885         (recentf-clear-data): New function.
4886         (recentf-sort-ascending, recentf-sort-descending)
4887         (recentf-sort-basenames-ascending)
4888         (recentf-sort-basenames-descending)
4889         (recentf-sort-directories-ascending)
4890         (recentf-sort-directories-descending)
4891         (recentf-show-basenames-ascending)
4892         (recentf-show-basenames-descending: In-line.   Better code.  Doc fix.
4893         (recentf-show-basenames)
4894         (recentf-relative-filter): Better code.  Doc fix.
4895         (recentf-arrange-by-rule-subfilter): Doc fix.  Improve :set code.
4896         (recentf-match-rule-p): Use filename instead of file-path.
4897         (recentf-arrange-by-rule, recentf-build-mode-rules)
4898         (recentf-arrange-by-mode, recentf-build-dir-rules)
4899         (recentf-file-name-nondir)
4900         (recentf-filter-changer-alist): Some doc fix and code cleanup.
4901         (recentf-filter-changer-goto-next): Doc fix.
4902         Call `recentf-clear-data'.
4903         (recentf-filter-changer-get-current)
4904         (recentf-filter-changer-get-next): In-line.  Doc fix and better code.
4905         (recentf-filter-changer): Doc fix and better code.
4906         (recentf-cancel-dialog): Doc fix.
4907         (recentf-dialog-mode-map): Initialize in defvar.
4908         (recentf-dialog-mode): Doc fix.
4909         (recentf-track-opened-file): Rename from...
4910         (recentf-add-file-hook): Remove.
4911         (recentf-track-closed-file): Rename from...
4912         (recentf-remove-file-hook): Remove.
4913         (recentf-update-menu-hook): Remove.  Replace by...
4914         (recentf-update-menu): New.  Better catch unnecessary updates.
4915         Display a message on error.
4916         (recentf-used-hooks): New constant.
4917         (recentf-enabled-p): New function.
4918         (recentf-edit-selected-items)
4919         (recentf-open-files-action)
4920         (recentf-open-files-item-shift): Doc fix.
4921         (recentf-edit-list-action)
4922         (recentf-open-files-item): Doc fix.  Code cleanup.
4923         (recentf-edit-list, recentf-open-files)
4924         (recentf-open-more-files): Likewise.  Remove autoload cookie.
4925         (recentf-save-list, recentf-cleanup): Likewise.  Move.
4926         (recentf-load-list): New command.
4927         (recentf-mode): Better code.  Does nothing if enabling the already
4928         enabled mode.
4930 2003-04-27  Alan Mackenzie  <acm@muc.de>
4932         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Don't count a "//("
4933         which appears inside a character set.
4934         (regexp-opt-not-groupie*-re): New constant.
4936 2003-04-26  John Paul Wallington  <jpw@gnu.org>
4938         * ibuffer.el (ibuffer-name-map, ibuffer-mode-name-map)
4939         (ibuffer-mode-filter-group-map): Initialize in `defvar'.
4940         (ibuffer-do-view-1): Use `make-frame' instead of `new-frame'.
4942 2003-04-25  Jan Nieuwenhuizen  <janneke@gnu.org>
4944         * info.el (Info-unescape-quotes, Info-split-parameter-string)
4945         (Info-display-images-node): New functions for displaying images.
4946         (Info-select-node): Call Info-display-images-node.
4948 2003-04-25  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
4950         * files.el (file-relative-name): Recognize "c:/foo" as absolute
4951         file name.  Tiny change from David PONCE <david.ponce@wanadoo.fr>.
4953 2003-04-24  Sam Steingold  <sds@gnu.org>
4955         * calendar/diary-lib.el (fancy-diary-display-mode): Bind "q" to
4956         `quit-window' in the fancy diary buffer.
4958         * emacs-lisp/cl-indent.el: `symbol-macrolet' is similar to `let',
4959         not `multiple-value-bind'.
4961 2003-04-24  Lars Hansen  <larsh@math.ku.dk>
4963         * subr.el (assq-delete-all): Ignore non-cons elements.
4965 2003-04-24  John Paul Wallington  <jpw@gnu.org>
4967         * help-mode.el (help-make-xrefs): Remove extra paren.
4969 2003-04-23  Stefan Monnier  <monnier@cs.yale.edu>
4971         * newcomment.el (comment-normalize-vars): Prompt the user for
4972         the comment-start to use rather than signalling an error.  Fix regexp.
4973         (uncomment-region): Don't leave half-removed comment markers.
4975 2003-04-23  Richard M. Stallman  <rms@gnu.org>
4977         * mail/sendmail.el (mail-send-and-exit): Make arg optional.
4979         * files.el (view-read-only): Doc fix.
4981         * simple.el (back-to-indentation): Call backward-prefix-chars.
4983         * help-mode.el (help-make-xrefs): Clean up the loop that scans
4984         over a keymap inserted by \\{...}; it now stops at end of buffer.
4986         * filesets.el: Don't call filesets-init.
4988         * emacs-lisp/bytecomp.el (byte-compile-defun): Generate and
4989         compile a defalias form, unless byte-compile-compatibility.
4991         * progmodes/scheme.el (scheme-mode-syntax-table):
4992         Use prefix syntax for ', `, comma, @ and #.
4994         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4995         Give @ prefix syntax.
4997 2003-04-23  Andre Spiegel  <spiegel@gnu.org>
4999         * vc-cvs.el (vc-cvs-stay-local): Keep the old default.
5000         Simplify doc string.
5002 2003-04-23  Wolfgang Scherer  <wolfgang.scherer@gmx.de>
5004         * vc-cvs.el (vc-cvs-stay-local): Allow lists of host regexps.
5005         (vc-cvs-stay-local-p): Handle them.
5006         (vc-cvs-parse-root): New function, used by the above.
5008 2003-04-22  Stefan Monnier  <monnier@cs.yale.edu>
5010         * vc-mcvs.el (vc-mcvs-root): Cache the result.
5011         (vc-mcvs-registered): Simplify.  Use file-relative-name.
5012         (vc-mcvs-register): Simplify.  Don't burp if MCVS/TYPES doesn't exist.
5013         (vc-mcvs-command): Filter F-NN names in the output for diff and log.
5015 2003-04-21  Stefan Monnier  <monnier@cs.yale.edu>
5017         * info.el (Info-default-dirs): New fun extracted from Info-initialize.
5018         (info-initialize): Use it.  Obey the "final :" convention for INFOPATH.
5020         * textmodes/fill.el (fill-region-as-paragraph):
5021         Fix "last line goes to fill-column+1" problem.
5023         * emacs-lisp/bytecomp.el (byte-compile-defvar): Improve message.
5025 2003-04-20  Richard M. Stallman  <rms@gnu.org>
5027         * simple.el (kill-line): Doc fix.
5029 2003-04-20  Sam Steingold  <sds@gnu.org>
5031         * pcvs.el (cvs-examine): Respect `find-file-visit-truename'.
5033 2003-04-20  Glenn Morris  <gmorris@ast.cam.ac.uk>
5035         * which-func.el (which-func-modes): Add f90-mode.
5036         (which-function): Handle imenu submenus.
5038         * progmodes/fortran.el (fortran-abbrev-start): Make XEmacs compatible.
5040         * progmodes/f90.el (f90-font-lock-keywords-2): Use override for
5041         font-lock-variable-name-face in declarations.
5042         Highlight continuation characters.
5043         (f90-indent-new-line): Remove direct call to f90-indent-line-no,
5044         f90-update-line.
5045         (f90-abbrev-start): Fix XEmacs compatibility.
5047 2003-04-19  Stefan Monnier  <monnier@cs.yale.edu>
5049         * vc-mcvs.el: New file.
5051         * vc-cvs.el (vc-cvs-dir-state): Use vc-cvs-command.
5052         (vc-cvs-could-register, vc-cvs-make-version-backups-p): Use defalias.
5053         (vc-cvs-merge-news): Simplify.
5054         (vc-cvs-diff): Remove unused var `options'.
5055         (vc-cvs-parse-entry): Use the same algorithm as cvs does.
5057 2003-04-19  Richard M. Stallman  <rms@gnu.org>
5059         * desktop.el (desktop-buffer-mh): Don't require mh-e;
5060         it causes trouble in compilation.
5062         * add-log.el (add-log-current-defun-function): Add autoload cookie.
5064         * newcomment.el (comment-use-syntax): Add autoload cookie.
5066         * emacs-lisp/bytecomp.el (byte-compile-log-file)
5067         (byte-recompile-directory): Don't use byte-goto-log-buffer.
5068         Instead, set default-directory and then call compilation-mode.
5069         (byte-compile-from-buffer): Force byte-compile-last-position
5070         to end of buffer before issuing final warnings.
5072 2003-04-18  Stefan Monnier  <monnier@cs.yale.edu>
5074         * emulation/cua-base.el (cua-mode): Use define-minor-mode.
5075         (cua-global-mark-face): Fix face format.
5077         * emacs-lisp/easy-mmode.el (define-minor-mode): Only echo a message
5078         if the body didn't do so already.
5079         (easy-mmode-define-keymap): Remove unused var `suppress'.
5081         * view.el (view-read-only): Move to files.el.
5082         * files.el (view-read-only): Move from view.el.
5084 2003-04-17  Stefan Monnier  <monnier@cs.yale.edu>
5086         * files.el (view-read-only): Don't declare a second time.
5087         (find-file-read-only, find-file-read-only-other-window)
5088         (find-file-read-only-other-frame): Check that file does exist.
5089         (large-file-warning-threshold): New custom.
5090         (find-file-noselect): Use it.
5091         (report-errors): New macro.
5092         (normal-mode): Use it.
5093         (toggle-read-only): Really toggle, even if view-mode is on.
5094         (parse-colon-path): Remove unused `cd-prefix' var.
5095         (make-backup-file-name-1): Remove unused `failed' var.
5096         (basic-save-buffer): Remove unused `tempsetmodes' var.
5097         (basic-save-buffer-2): Remove unused `temp' var.
5098         (insert-directory): Remove unused `available' var.
5100 2003-04-17  John Paul Wallington  <jpw@gnu.org>
5102         * hexl.el (hexl-find-file): Bind `default-major-mode' to
5103         `fundamental-mode'.
5105 2003-04-16  Stefan Monnier  <monnier@cs.yale.edu>
5107         * reveal.el (reveal-post-command): Use overlay-get for overlays.
5109 2003-04-16  Kenichi Handa  <handa@m17n.org>
5111         * international/mule-cmds.el (describe-language-environment):
5112         At first, require all necessary features.
5114 2003-04-16  Dave Love  <fx@gnu.org>
5116         * progmodes/xscheme.el: Moved from lisp directory.
5118 2003-04-16  Glenn Morris  <gmorris@ast.cam.ac.uk>
5120         * progmodes/f90.el (f90-indent-to, f90-indent-line-no)
5121         (f90-no-block-limit, f90-end-of-block, f90-beginning-of-block)
5122         (f90-comment-region, f90-indent-line, f90-indent-region)
5123         (f90-find-breakpoint, f90-block-match): Trivial simplifications.
5124         (f90-looking-at-do, f90-looking-at-select-case)
5125         (f90-looking-at-if-then, f90-looking-at-where-or-forall):
5126         Drop XEmacs 19 support and simplify.
5127         (f90-indent-new-line): No need for case-fold-search.  Simplify.
5128         (f90-fill-region): Make marker nil when done.  Simplify.
5130         * progmodes/fortran.el (fortran-column-ruler): Minor doc change.
5132 2003-04-16  Richard M. Stallman  <rms@gnu.org>
5134         * man.el (Man-follow-manual-reference): Don't require match
5135         when calling completing-read.
5137 2003-04-15  Glenn Morris  <gmorris@ast.cam.ac.uk>
5139         * progmodes/fortran.el: Whitespace changes, some re-ordering of
5140         code, trivial commentary change.
5141         (fortran, fortran-indent, fortran-comment)
5142         (fortran-tab-mode-default, fortran-continuation-indent)
5143         (fortran-comment-indent-style, fortran-blink-matching-if)
5144         (fortran-continuation-string, fortran-electric-line-number)
5145         (fortran-break-before-delimiters, fortran-mode-hook)
5146         (fortran-end-prog-re, fortran-imenu-generic-expression):
5147         Minor doc changes.
5148         (fortran-tab-mode-minor-mode-string): New variable.
5149         (fortran-tab-mode-string): Now customization is meaningful.
5150         (fortran-column-ruler-fixed, fortran-column-ruler-tab)
5151         (fortran-analyze-depth): Use defcustom.
5152         (fortran-if-start-re, fortran-end-prog-re1, fortran-fill)
5153         (fortran-break-line, fortran-prepare-abbrev-list-buffer)
5154         (fortran-auto-fill): Add doc string.
5155         (fortran-type-types): New constant (was local to let binding).
5156         (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
5157         (fortran-font-lock-syntactic-keywords): Initialize in defvar.
5158         (fortran-font-lock-keywords-3): Initialize in defvar.  Use 1+ now
5159         depth of fortran-type-types has changed.  Remove extra and.
5160         (fortran-mode-menu): Minor re-organization.  Use lookup-key.
5161         (fortran-mode): Doc changes.  Some re-organization.
5162         Use fortran-tab-mode-minor-mode-string.
5163         (fortran-comment-indent): Add doc string.  Move save-excursion.
5164         Use 1+.
5165         (fortran-indent-comment, fortran-fill-statement):
5166         Change interactive spec.  Use unless.
5167         (fortran-comment-region): Doc change.  Reverse logic of arg
5168         test.  Use zerop.
5169         (fortran-abbrev-start, fortran-split-line)
5170         (fortran-electric-line-number, fortran-indent-subprogram)
5171         (fortran-strip-sequence-nos): Change interactive spec.
5172         (fortran-remove-continuation): Add doc string.  Use when.
5173         (fortran-numerical-continuation-char): Doc change.  Use 1+.
5174         (fortran-previous-statement, fortran-next-statement)
5175         (fortran-beginning-do, fortran-calculate-indent)
5176         (fortran-end-do, fortran-end-if, fortran-beginning-if):
5177         Use zerop, 1+, 1-.
5178         (fortran-blink-match, fortran-check-for-matching-do): Use when.
5179         (fortran-indent-line): Change interactive spec.  Remove un-needed
5180         if.  Use when.
5181         (fortran-indent-to-column): Doc change.  Use when, unless.
5182         (fortran-find-comment-start-skip): No longer interactive.
5183         (fortran-analyze-file-format): Minor doc change.
5184         Remove un-needed setq.
5185         (minor-mode-alist): Use add-to-list.
5186         (fortran-fill-paragraph): Change interactive spec, doc string.
5188         * progmodes/f90.el: Whitespace changes, trivial commentary changes.
5189         (f90, f90-indent, f90-program-indent, f90-continuation-indent)
5190         (f90-indented-comment-re, f90-imenu-generic-expression)
5191         (f90-mark-subprogram, f90-join-lines): Minor doc changes.
5192         (f90-menu): Shift definition to initialization of f90-mode-map.
5193         Add customization section.
5194         (f90-mode): Minor doc change.  Do not call easy-menu-add.
5195         Set `beginning-of-defun-function' and `end-of-defun-function' to
5196         appropriate F90 functions.
5197         (f90-indent-line, f90-indent-line, f90-indent-subprogram)
5198         (f90-break-line, f90-do-auto-fill, f90-insert-end)
5199         (f90-upcase-keywords, f90-capitalize-keywords)
5200         (f90-downcase-keywords): Change interactive spec.
5202 2003-04-14  Stefan Monnier  <monnier@cs.yale.edu>
5204         * font-lock.el (font-lock-multiline, font-lock-fontified)
5205         (font-lock-set-defaults): Move back from font-core.el and merge
5206         it back with font-lock-set-defaults-1.
5207         (font-lock-mode-internal): New function (basically the body of
5208         the old font-lock-mode minor mode).
5210         * font-core.el (font-lock-maximum-size, font-lock-verbose): Remove.
5211         (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
5212         Move back to font-lock.el
5213         (font-lock-default-function): Use font-lock-mode-internal.
5215         * files.el (auto-mode-alist): Add entries for *.ins and *.dtx.
5216         (recover-file): Abbreviate file name in messages.
5218         * textmodes/tex-mode.el (latex-mode-map): Bind latex-split-block.
5219         (tex-font-lock-keywords-2): Comment out unused var `type'.
5220         (tex-guess-mode): New name for old `tex-mode'.
5221         (tex-mode): Make it a derived mode of text-mode.
5222         (plain-tex-mode, latex-mode): Change parent from text-mode to tex-mode.
5223         (tex-common-initialization): Don't setup syntax-table any more.
5224         (tex-validate-buffer): Remove unused var `oend'.
5225         Use with-current-buffer and line-beginning-position.
5226         (tex-recenter-output-buffer): Remove unused var `old-buffer'.
5227         (latex-indent): Return `noindent' if no indentation can happen.
5228         (doctex-font-lock-^^A, doctex-font-lock-syntactic-face-function)
5229         (doctex-font-lock-syntactic-keywords, doctex-font-lock-keywords)
5230         (doctex-mode): New funs for DocTeX mode, derived from LaTeX mode.
5232         * font-lock.el (font-lock-preprocessor-face): New var and face.
5234 2003-04-14  Andrew Choi  <akochoi@shaw.ca>
5236         * term/mac-win.el: Unconditionally set process-connection-type to nil.
5238 2003-04-14  Richard M. Stallman  <rms@gnu.org>
5240         * derived.el (define-derived-mode): Make generated code work in
5241         Emacs versions that do not have run-mode-hooks.
5243         * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
5244         At end of buffer, run the global binding of the same key.
5246         * international/mule.el (after-insert-file-set-coding):
5247         Properly treat INSERTED as number of characters, for both
5248         for both the argument and the value.
5250         * desktop.el (desktop-base-file-name):
5251         Renamed from desktop-basefilename.  Add defvaralias.
5253 2003-04-14  John Paul Wallington  <jpw@gnu.org>
5255         * international/fontset.el (create-fontset-from-ascii-font): Doc fix.
5256         (x-must-resolve-font-name): Fix error message typo.
5258 2003-04-13  Glenn Morris  <gmorris@ast.cam.ac.uk>
5260         * progmodes/fortran.el (fortran-previous-statement): Check for
5261         fortran-continuation-string.
5262         (fortran-calculate-indent): Do not add extra whitespace to
5263         strings broken over lines.
5264         (fortran-fill): Handle long strings that must be broken.
5266 2003-04-13  Michael Albinus  <Michael.Albinus@alcatel.de>  (tiny change)
5268         * net/ange-ftp.el (ange-ftp-expand-symlink): If result of
5269         expansion is a symlink, expand again.
5270         (ange-ftp-file-symlink-p): Return target of symlink literally.
5272 2003-04-13  Masatake YAMATO  <jet@gyve.org>
5274         * bindings.el (toplevel): Don't change the face
5275         of major-mode on the mode line. Setting the face on
5276         the mode line code is installed by my mistake in
5277         my last change.
5279 2003-04-12  Stefan Monnier  <monnier@cs.yale.edu>
5281         * add-log.el (change-log-version-number-search): Fix old bug.
5282         (add-change-log-entry): Avoid inserting the same funname again.
5283         (add-log-indent-text): New var.
5284         (add-log-indent): New fun.
5285         (change-log-mode): Use it.
5287         * net/browse-url.el: Don't autoload all these defcustoms.
5288         (browse-url-default-macosx-browser): New fun.
5289         (browse-url-browser-function): Use it for system-type = darwin.
5290         (browse-url-usr1-signal): Remove.
5291         (browse-url-mosaic): Use SIGUSR1 directly instead.
5292         (browse-url-gnome-moz-program): New var.
5293         (browse-url-gnome-moz, browse-url-default-browser): Use it.
5295         * emacs-lisp/bytecomp.el: Use push, with-current-buffer, dolist, ...
5296         (byte-compile-const-variables): New var.
5297         (byte-compile-close-variables): Reset it.
5298         (byte-compile-file-form-defvar, byte-compile-defvar): Update it.
5299         (byte-compile-const-symbol-p): Now arg `value' to check defconsts.
5300         (byte-compile-variable-ref): Use it and improve warning message.
5301         (byte-compile-check-lambda-list): Use byte-compile-const-symbol-p.
5302         (byte-compile-lapcode): Remove unused vars.
5303         (byte-compile-eval): Fix thinko in handling of old-autoloads.
5304         (byte-recompile-directory): Use the expanded form for directory.
5305         (byte-compile-track-mouse): Use modern backquote syntax.
5306         (byte-compile-defvar): Detect and properly handle (defconst a).
5307         (byte-compile-defalias-warn): Remove unused arg `alias'.
5308         (byte-compile-defalias): Update call.
5310 2003-04-13  Masatake YAMATO  <jet@gyve.org>
5312         * help.el (describe-minor-mode): New function implementation.
5313         Accept both minor mode string and minor mode indicator.
5314         (describe-minor-mode-completion-table-for-indicator)
5315         (describe-minor-mode-completion-table-for-symbol): New functions.
5316         minor-mode-list is used here.
5317         (describe-minor-mode-from-symbol):
5318         Renamed from (old) describe-minor-mode.
5319         Use describe-minor-mode-completion-table-for-symbol.
5320         Don't use eval. Just use symbol-name.
5321         (describe-minor-mode-from-indicator): Document is updated.
5322         Use `format-mode-line'.
5323         Use describe-minor-mode-from-symbol instead of describe-minor-mode.
5324         Use describe-minor-mode-completion-table-for-indicator.
5325         (expand-minor-mode-indicator-object): Remove.
5326         (lookup-minor-mode-from-indicator): Remove the fist white
5327         space from both indicator and anindicator before comparing them.
5329         * bindings.el (mode-line-major-mode-keymap)
5330         (mode-line-minor-mode-keymap): Define keys for the maps
5331         here in `defvar'.
5333 2003-04-12  Stefan Monnier  <monnier@cs.yale.edu>
5335         * server.el (server-socket-name): Use new safe location for socket.
5336         (server-ensure-safe-dir): New fun.
5337         (server-start): Use it and letf.
5338         (server-process-filter): Re-enable the -eval feature.
5340 2003-04-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
5342         * play/gomoku.el (gomoku-buffer-name): New constant.
5343         (gomoku-mode): Doc fix.  Add call to kill-all-local-variables.
5344         (gomoku): Do not call gomoku-switch-to-window directly.
5345         (gomoku-prompt-for-other-game): Throw an error if no new game.
5346         (gomoku-switch-to-window): Use gomoku-buffer-name.
5348         * progmodes/f90.el (f90-abbrev-start): Only offer help if
5349         abbrev-mode is active.
5350         (f90-join-lines): Make it behave more like standard join-line.
5351         (f90-fill-region, f90-menu): Adapt for new f90-join-lines.
5353         * progmodes/fortran.el (fortran-abbrev-start): Only offer help if
5354         abbrev-mode is active.
5356 2003-04-12  John Paul Wallington  <jpw@gnu.org>
5358         * help-fns.el (help-add-fundoc-usage): Pass an empty string to
5359         `format' if no newlines are necessary.
5361 2003-04-11  Stefan Monnier  <monnier@cs.yale.edu>
5363         * bindings.el (global-map): Bind [select-window].
5365 2003-04-11  John Paul Wallington  <jpw@gnu.org>
5367         * type-break.el (type-break-warning-countdown-string): Doc fix.
5369 2003-04-11  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>  (tiny change)
5371         * international/utf-8.el (utf-translate-cjk-mode): Fix incorrect
5372         place of parenthesis.
5374 2003-04-11  Masatake YAMATO  <jet@gyve.org>
5376         * progmodes/etags.el (select-tags-table-mode-map):
5377         Don't create new keymap. Instead copy from button-buffer-map.
5378         Bind push-button to `t' instead of binding
5379         select-tags-table-select directly
5380         (tags-select-tags-table): New button.
5381         (select-tags-table): Put a button for each selections.
5383 2003-04-11  Kenichi Handa  <handa@m17n.org>
5385         * international/mule.el:
5386         Don't set after-insert-file-adjust-coding-function.
5387         (after-insert-file-set-coding):
5388         Renamed from after-insert-file-set-buffer-file-coding-system.
5390 2003-04-11  Kenichi Handa  <handa@m17n.org>
5392         * international/quail.el (quail-guidance-str)
5393         (quail-guidance-frame): New variables.
5394         (quail-guidance-win): Delete this variable.
5395         (quail-setup-overlays): Make overlay not rear-advancing.
5396         (quail-kill-guidance-buf): Delete this function.
5397         (quail-activate): Add/remove quail-show-guidance to/from
5398         post-command-hook.
5399         (quail-input-method): Don't setup quail-guidance-buf.
5400         Initialize quail-guidance-str to "".
5401         (quail-start-translation): Call quail-show-guidance at first.
5402         (quail-start-conversion): Likewise.
5403         (quail-terminate-translation): Don't erase quail-guidance-buf.
5404         (quail-update-translation): Stretch overlays if their starting and
5405         ending positions are same.
5406         (quail-update-current-translations): Check the width of the
5407         current window, not the width of quail-guidance-win.
5408         (quail-make-guidance-frame): Delete the arg BUF.  Fix position
5409         calculation.  Don't set the window buffer, just return the new frame.
5410         (quail-minibuffer-message): New function.
5411         (quail-show-guidance): Renamed from quail-show-guidance-buf.
5412         Use message and quail-minibuffer-message to display the guidance.
5413         (quail-hide-guidance): Renamed from quail-hide-guidance-buf.
5414         Only delete quail-guidance-frame.
5415         (quail-update-guidance): Just update quail-guidance-str, not
5416         display it.
5417         (quail-get-translations): Renamed from quail-show-translations.
5418         Return a string instead of inserting it in quail-guaidance-buf.
5420 2003-04-11  Kenichi Handa  <handa@m17n.org>
5422         * international/mule-cmds.el (sort-coding-systems): Set lower
5423         priority to a utf-16 base coding system.  Set higher priority to a
5424         coding system listed in coding-category-list.
5426 2003-04-10  Juanma Barranquero  <lektu@terra.es>
5428         * frame.el (modify-all-frames-parameters): Deleted.
5430 2003-04-10  Sebastian Tennant  <seb@albert.vcisp.net>  (tiny change)
5432         * desktop.el (desktop-buffer-file): Restore major-mode if it is
5433         different from the normal mode.
5435 2003-04-10  Kenichi Handa  <handa@m17n.org>
5437         * international/mule.el:
5438         Set after-insert-file-adjust-coding-function to
5439         after-insert-file-set-buffer-file-coding-system instead of adding
5440         it to after-insert-file-functions.
5442         * language/ind-util.el (indian-2-column-to-ucs-region): Fix for
5443         the case of replacing multibyte characters.
5445 2003-04-09  Richard M. Stallman  <rms@gnu.org>
5447         * files.el (file-chase-links): Fix previous change.
5449 2003-04-09  Juanma Barranquero  <lektu@terra.es>
5451         * frame.el (new-frame): Add obsolescence declaration.
5453 2003-04-09  Ehud Karni  <ehud@unix.mvs.co.il>
5455         * frame.el (set-frame-font): Allow keeping frame size after
5456         changing font.
5457         (modify-all-frames-parameters): New function to change parameters
5458         in all existing and future frames.
5460 2003-04-09  Thien-Thi Nguyen  <ttn@gnu.org>
5462         * man.el (Man-heading-regexp): Accept hyphen.
5464 2003-04-09  Kenichi Handa  <handa@m17n.org>
5466         * international/fontset.el: Specify rescale ratio 1.3 for CDAC fonts.
5468         * international/mule-conf.el: Register ?\221 and ?\226 in
5469         latin-extra-code-table.
5471 2003-04-08  Richard M. Stallman  <rms@gnu.org>
5473         * subr.el (minor-mode-list): New variable.
5474         (add-minor-mode): Add to it.
5476         * files.el (file-chase-links): New arg LIMIT.
5477         After that many iterations, just return what we've got.
5479         * map-ynp.el (map-y-or-n-p): When formatting chars in ACTION-ALIST,
5480         use single-key-description.
5482         * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
5483         At end of buffer, just call `newline'.
5485         * mail/rmailsum.el (rmail-make-basic-summary-line): If there's
5486         no From field, still try to use the To field.
5488 2003-04-09  Kenichi Handa  <handa@m17n.org>
5490         * international/mule-diag.el (print-coding-system-briefly):
5491         If DOC-STRING is `tightly', print the doc-string tightly.
5492         (list-coding-systems-1): Sort coding systems.
5493         Call print-coding-system-briefly with the arg DOC-STRING `tightly'.
5495 2003-04-08  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
5497         * net/tramp.el: Version 2.0.33 released.
5498         Change coding cookie to `iso-2022-7bit' for XEmacs
5499         compatibility.  (From Steve Youngs <youngs@xemacs.org>.)
5501 2003-04-08  Michael Albinus  <Michael.Albinus@alcatel.de>
5503         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
5504         Do not disable file name handlers for `file-exists-p' and
5505         `file-directory-p'.
5507 2003-04-08  Kenichi Handa  <handa@m17n.org>
5509         * international/mule-conf.el: Register ?\225 in latin-extra-code-table.
5511         * international/utf-16.el (utf-16-le-decode-loop)
5512         (utf-16-be-decode-loop): New temporary variables.
5513         (ccl-decode-mule-utf-16-le): Use utf-16-le-decode-loop.
5514         (ccl-decode-mule-utf-16-be): Use utf-16-be-decode-loop
5515         (ccl-decode-mule-utf-16-le-with-signature)
5516         (ccl-decode-mule-utf-16-be-with-signature)
5517         (ccl-decode-mule-utf-16): New CCL programs.
5518         (utf-16-le-encode-loop, utf-16-be-encode-loop): New temporary
5519         variables.
5520         (ccl-encode-mule-utf-16-le): Use utf-16-le-encode-loop.
5521         (ccl-encode-mule-utf-16-be): Use utf-16-be-encode-loop
5522         (ccl-encode-mule-utf-16-le-with-signature)
5523         (ccl-encode-mule-utf-16-be-with-signature): New CCL programs.
5524         (mule-utf-16-post-read-conversion): New function.
5525         (mule-utf-16-le-with-signature, mule-utf-16-be-with-signature),
5526         (mule-utf-16): New coding systems.
5527         (utf-16-le-with-signature, utf-16-be-with-signature),
5528         (utf-16): Aliases of the above coding systems.
5530 2003-04-08  Martin Stjernholm  <bug-cc-mode@gnu.org>
5532         * progmodes/cc-langs.el (c-symbol-key): Use POSIX char classes
5533         to match symbols.  This makes CC Mode cope with the full range
5534         of identifier characters in e.g. Java.
5536 2003-04-07  Francesco Potort\e,Al\e(B  <pot@gnu.org>
5538         * xt-mouse.el (xterm-mouse-event-read): New function.
5539         (xterm-mouse-event): Use it to get xterm sequences above #x7f.
5540         Suggested by Aman Bhargava <emacs-bug@amanb.net>.
5542 2003-04-07  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
5544         * man.el (Man-getpage-in-background): Set GROFF_NO_SGR env var in
5545         all cases, whether or not start-process is fboundp.
5547 2003-04-06  Richard M. Stallman  <rms@gnu.org>
5549         * calendar/cal-menu.el (cal-menu-update): Use easy-menu-create-menu
5550         rather than easy-menu-change.
5552         * dired.el (dired-view-file): Let viewer program run asynchronously.
5554 2003-04-06  Ben North  <ben@redfrontdoor.org>  (tiny change)
5556         * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
5557         Correct the starting point for previous-single-property-change.
5559 2003-04-06  Lars Hansen  <larsh@math.ku.dk>
5561         * desktop.el: Handle multiple desktop files in different dirs.
5562         Other cleanups.
5563         Command line option --no-desktop introduced.
5564         (desktop-read): Record buffers in the desktop file in
5565         the same order as that in the buffer list,
5566         (desktop-save): Put buffers in the order given in desktop file,
5567         regardless of what handlers do.
5568         (desktop-file-version): New variable. Version number of desktop
5569         file format.
5570         (desktop-create-buffer-form): Variable deleted.
5571         (desktop-save): New customizable variable.
5572         (desktop-kill): Use `desktop-save'.
5573         (desktop-file-name-format): New option: format in
5574         which desktop file names should be saved.
5575         (desktop-file-name): New function to convert a filename to the
5576         format specified in `desktop-file-name-format'.
5577         (desktop-create-buffer): Parameters renamed to descriptive
5578         systematic names. These parameters are visible to handlers.
5579         Renames:
5580         ver    -> desktop-file-version
5581         mim    -> desktop-buffer-minor-modes
5582         pt     -> desktop-buffer-point
5583         mk     -> desktop-buffer-mark
5584         ro     -> desktop-buffer-read-only
5585         locals -> desktop-buffer-locals
5586         (desktop-buffer-major-mode, desktop-buffer-file-name)
5587         (desktop-buffer-name): Delete unused customizable variables.
5588         (desktop-buffer-misc): Delete unused variable.
5589         (desktop-save, desktop-buffer-dired-misc-data):
5590         Use `desktop-file-name'.
5591         (desktop-path): New customizable variable.  List of directories in
5592         which to lookup the desktop file.  Replaces hardcoded list.
5593         (desktop-globals-to-clear): New variable replaces hardcoded list.
5594         (desktop-clear-preserve-buffers-regexp): New customizable variable.
5595         (desktop-after-read-hook): New hook run after a desktop is read.
5596         (desktop-no-desktop-file-hook): New hook when no desktop file found.
5597         (desktop-change-dir): New function.
5598         (desktop-save-in-load-dir): New function.  Save desktop in
5599         directory from which it was loaded.
5600         (desktop-revert): New function. Revert to the last loaded desktop.
5602 2003-04-06  Masatake YAMATO  <jet@gyve.org>
5604         * progmodes/etags.el (tag-find-file-of-tag): Renamed from
5605         find-file-of-tag to avoid name space pollution.
5606         (tag-find-file-of-tag-noselect): Likewise.
5607         (etags-list-tags, etags-tags-apropos):
5608         Use tag-find-file-of-tag instead of find-file-of-tag.
5610 2003-04-06  Masatake YAMATO  <jet@gyve.org>
5612         * info.el (Info-goto-emacs-command-node): If command
5613         is given as a string, convert it to a symbol.
5615 2003-04-05  Kevin Ryde  <user42@zip.com.au>
5617         * info-look.el (emacs-lisp-mode): Add prefix/suffix matching regexps.
5619 2003-04-05  Andre Spiegel  <spiegel@gnu.org>
5621         * vc-cvs.el (vc-cvs-get-entries): New function that uses the
5622         right coding system for accessing CVS/Entries.
5623         (vc-cvs-registered, vc-cvs-dir-state-heuristic): Use it.
5625 2003-04-04  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5627         * subr.el (number-sequence): Adjust code.
5629 2003-04-04  Stefan Monnier  <monnier@cs.yale.edu>
5631         * textmodes/refill.el (refill-fill-paragraph-at): Undo last fix.
5632         (refill-fill-paragraph-at): Don't skip prefix since markers work right.
5634         * textmodes/fill.el (fill-delete-newlines): Remove trailing whitespace.
5635         (fill-paragraph): Don't skip prefix now that markers work right.
5637 2003-04-04  John Paul Wallington  <jpw@gnu.org>
5639         * ibuffer.el (ibuffer-insert-filter-group): `help-echo' text
5640         property dynamically respects `tooltip-mode'.
5641         (define-ibuffer-column name): Likewise.
5643         * ibuf-ext.el (ibuffer-format-filter-group-data): Don't append "\n".
5645 2003-04-04  Masatake YAMATO  <jet@gyve.org>
5647         * progmodes/etags.el (find-file-of-tag-noselect, find-file-of-tag):
5648         New helper functions.
5649         (snarf-tag-function): Doc string is changed.  Explained about new
5650         optional argument, `use-explicit'.
5651         (etags-snarf-tag): Add one optional argument `use-explicit'.
5652         (file-of-tag-function): Doc string is changed.  Explained about new
5653         optional argument, `relative'.
5654         (file-of-tag): Doc string is changed.  Explained about new optional
5655         argument, `relative'.  Pass `relative' to `file-of-tag-function'.
5656         (etags-file-of-tag): Add new argument `relative`.
5657         (list-tags): Set `buffer-read-only' to t after making the major mode
5658         apropos-mode.
5659         (etags-list-tags): Use `make-text-button' instead of
5660         `add-text-properties'.  Used `snarf-tag-function',
5661         `goto-tag-location-function' and `find-file-of-tag' instead of
5662         `find-tag-other-window' (it's too simple).
5663         (find-tag-in-order): Use `find-file-of-tag-noselect' instead of
5664         `find-file'.
5665         (etags-tags-apropos): Use `find-file-of-tag-noselect' instead of
5666         `find-file'.  Do not use `etags-goto-tag-location` directly; use
5667         `goto-tag-location-function' instead.  Print relative file paths
5668         instead of complete ones in *Tags List* buffer, so lines in the
5669         buffer become shorter.
5670         (etags-tags-apropos-additional): Use `make-text-button' instead of
5671         `add-text-properties'.
5673 2003-04-04  Andreas Schwab  <schwab@suse.de>
5675         * net/tramp.el (tramp-send-string): Handle empty string.
5677 2003-04-03  Richard M. Stallman  <rms@gnu.org>
5679         * emacs-lisp/easymenu.el (easy-menu-define):
5680         Don't make a defvar for nil.
5681         (easy-menu-convert-item-1): Doc fix.
5682         (easy-menu-change): Call easy-menu-create-menu.
5684         * subr.el (read-quoted-char): Remember the input char
5685         before translation thru function-key-map, and use that for unreading.
5687         * shadowfile.el (shadow-parse-fullname):
5688         Renamed from shadow-parse-fullpath.
5689         (shadow-parse-name): Renamed from shadow-parse-path.
5690         (shadow-make-fullname): Renamed from shadow-make-fullpath.
5691         (shadow-replace-name-component): Was shadow-replace-path-component.
5692         Callers of the above functions changed.
5693         (shadow-expand-cluster-in-file-name): Doc fix.
5694         (shadow-same-site, shadow-file-match): Doc fix.
5695         (shadow-define-literal-group): Doc fix.
5697         * kmacro.el (kmacro-end-and-call-macro): Doc fix.
5699         * hexl.el (hexl-find-file): Ignore user's value of default-major-mode.
5701         * files.el (hack-local-variables-prop-line): New arg MODE-ONLY.
5702         (hack-local-variables): When MODE-ONLY is set, pass it along to
5703         hack-local-variables-prop-line.
5705         * delsel.el (delete-active-region): Don't explicitly deactivate mark.
5707 2003-04-03  Masatake YAMATO  <jet@gyve.org>
5709         * progmodes/etags.el: Require button.el.
5710         (etags-tags-apropos): Use `make-text-button' instead of
5711         `add-text-properties'.  Use `snarf-tag-function' and
5712         `etags-goto-tag-location' instead of `find-tag-other-window' (it's
5713         too simple).
5715         * man.el (Man-xref-header-file): Fix previous change.
5717 2003-04-03  Kenichi Handa  <handa@m17n.org>
5719         * subr.el (number-sequence): New function.
5721 2003-04-02  Ehud Karni  <ehud@unix.mvs.co.il>  (tiny change)
5723         * sort.el (sort-reorder-buffer): Fix saving of markers at the end
5724         of the sorted region.
5726 2003-04-02  Masatake YAMATO  <jet@gyve.org>
5728         * woman.el (woman-xref): Removed.
5729         (woman-mode): Use `Man-highlight-references' instead of
5730         `WoMan-highlight-references'.
5731         (WoMan-highlight-references): Removed.
5733         * man.el (toplevel): Require button.
5734         (Man-header-file-path): New option.
5735         (Man-synopsis-regexp, Man-files-regexp, Man-include-regexp)
5736         (Man-file-name-regexp, Man-normal-file-prefix-regexp)
5737         (Man-header-regexp, Man-normal-file-regexp): New variables.
5738         (Man-mode-map): Inherit from `button-buffer-map'.  Don't define
5739         "\r" and mouse-2 directly.  These key are defined in
5740         `button-buffer-map'.
5741         (Man-xref-man-page, Man-xref-header-file, Man-xref-normal-file):
5742         New buttons.  `Man-xref-man-page' comes from woman.el.
5743         (man-follow-mouse): Removed.
5744         (Man-fontify-manpage): Use `Man-highlight-references' instead of
5745         calling `add-text-properties' directly.
5746         (Man-highlight-references, Man-highlight-references0): New functions.
5747         (Man-view-header-file): New function.
5749 2003-04-02  Stefan Monnier  <monnier@cs.yale.edu>
5751         * textmodes/refill.el (refill-fill-paragraph-at): Don't preserve
5752         the trailing space since fill.el doesn't remove it anymore.
5753         (refill-mode): Reset fill-paragraph-function even if it was nil.
5755         * textmodes/fill.el (fill-region-as-paragraph):
5756         Don't remove space at end of paragraph: it makes refill.el unusable.
5757         Remove obsolete `save-restriction'.
5758         (fill-paragraph, fill-comment-paragraph): Don't add newline at EOP.
5759         (fill-delete-newlines): Don't add a trailing space.
5760         (fill-newline): Don't leave markers before the prefix.
5762         * progmodes/asm-mode.el (asm-calculate-indentation, asm-indent-line):
5763         New functions.
5764         (asm-mode): Use them in indent-line-function.
5765         Set tab-always-indent to nil to stay closer to previous tab behavior.
5766         Set comment-add.  Remove space at end of comment-add.
5767         (asm-newline): Obsolete.  Use newline-and-indent instead.
5768         (asm-mode-map): Remove TAB binding.
5769         (asm-code-level-empty-comment-pattern)
5770         (asm-flush-left-empty-comment-pattern)
5771         (asm-inline-empty-comment-pattern): Remove.
5772         (asm-comment): Use newcomment functions instead.
5773         (asm-colon): Don't tab if colon is not after a label.
5774         (asm-line-matches, asm-pop-comment-level): Remove.
5776 2003-04-02  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
5778         * emulation/crisp.el (top-level): Quote second arg to
5779         `eval-after-load'.
5781 2003-04-02  Miles Bader  <miles@gnu.org>
5783         * scroll-bar.el (scroll-bar-mode): Correctly specify `nil' choice.
5785 2003-04-01  Stefan Monnier  <monnier@cs.yale.edu>
5787         * progmodes/asm-mode.el (asm-mode-syntax-table): Setup entries
5788         that do not depend on asm-comment-char.
5789         (asm-mode-map): Declare and init at the same time.
5790         (asm-code-level-empty-comment-pattern)
5791         (asm-flush-left-empty-comment-pattern)
5792         (asm-inline-empty-comment-pattern): Use \s< so they do not depend
5793         on asm-comment-char.  Turn them into constants.
5794         (asm-mode): Simplify.
5795         (asm-line-matches): Remove unused arg.
5797 2003-04-01  Dave Love  <fx@gnu.org>
5799         * time.el: Doc fixes.
5800         (display-time-mail-face): Change :type and default to nil.
5801         (display-time-mail-icon): Use pbm, not xbm.
5802         (display-time-mail-string): New.
5803         (display-time-string-forms): Use display-time-mail-string.
5804         Add checks in display property.
5806 2003-04-01  Kenichi Handa  <handa@m17n.org>
5808         * language/indian.el (indian-font-char-index-table): Fix the
5809         order of CDAC fonts.
5811 2003-04-01  Kim F. Storm  <storm@cua.dk>
5813         * simple.el (pop-global-mark-quick-repeat): Remove defcustom.
5814         (set-mark-command): Unconditionally repeat pop-global-mark without
5815         C-x prefix.  Fix doc.
5817         * emulation/cua-base.el (cua-set-mark): Unconditionally repeat
5818         pop-global-mark without C-x prefix.  Fix doc.
5820 2003-03-31  Stefan Monnier  <monnier@cs.yale.edu>
5822         * reveal.el (reveal-post-command): Better error handling.
5824 2003-03-31  Nick Roberts  <nick@nick.uklinux.net>
5826         * gdb-ui.el (gdb-inferior-io-mode): Remove Unix pathname for cat
5827         so that it can run on NT also.
5829 2003-03-31  Masatake YAMATO  <jet@gyve.org>
5831         * progmodes/asm-mode.el (asm-mode): Support skipping C lang style
5832         comments.
5834         * bindings.el (mode-line-major-mode-keymap): New variable.
5835         (mode-line-minor-mode-help): New function, bound to
5836         mode-line-minor-mode-keymap.
5837         (mode-line-modes): Split mode-line-mode definitions to
5838         mode-name, mode-line-process and minor-mode-alist.
5839         For mode-name, mode-line-major-mode-keymap is used.
5841         * help.el (describe-minor-mode, describe-minor-mode-from-indicator)
5842         (lookup-minor-mode-from-indicator): New functions.
5844 2003-03-31  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
5846         * files.el (file-relative-name): Remove superfluous `and'.
5847         Clarify docstring.  From Lars Hansen.
5849 2003-03-31  Kenichi Handa  <handa@m17n.org>
5851         * international/utf-16.el (ccl-decode-mule-utf-16-le):
5852         Don't assume the signature bytes.
5853         (ccl-decode-mule-utf-16-be): Likewise.
5854         (ccl-encode-mule-utf-16-le): Don't produce the signature bytes.
5855         (ccl-encode-mule-utf-16-be): Likewise.
5857 2003-03-30  Kevin Ryde  <user42@zip.com.au>
5859         * info-look.el (sh-mode): Add doc-specs for commands and variables.
5861 2003-03-29  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
5863         * international/utf-8.el (utf-translate-cjk-mode): Minor mode,
5864         replaces variable utf-translate-cjk which must be set via Custom.
5866         * files.el (file-relative-name): If FILENAME and DIRECTORY are on
5867         different drives (on DOS/Windows) or use different handlers, do
5868         like `expand-file-name' on FILENAME and return an absolute name.
5869         From Lars Hansen <larsh@math.ku.dk>.
5871         * tramp.el: Version 2.0.31 released.
5872         (tramp-handle-expand-file-name): Do not allow ".." to
5873         cross file handler boundaries, so that "/user@host:/../foo"
5874         expands to itself, rather than "/foo".  This is intended to work
5875         in conjunction with a change in `file-relative-name' which makes
5876         sure to use absolute file names if FILE and DIRECTORY have
5877         different handlers.
5878         (tramp-handle-insert-directory): Comment out XEmacs
5879         kludge.  Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
5881 2003-03-29  Michael Albinus  <Michael.Albinus@alcatel.de>
5883         * trampver.el: New file, to support Autoconf in Tramp CVS repository.
5884         * tramp.el (tramp-version, tramp-bug-report-address): Move to
5885         trampver.el, which is required now.
5886         (tramp-chunksize): Type can be nil as well.
5887         Reported by Markus Rost <rost@math.ohio-state.edu>.
5888         * tramp-smb.el (tramp-smb-read-file-entry): Make reading size of a
5889         listing entry more robust.  Ranges from 10 chars (Samba 1) to 7-9
5890         chars (Samba 2).
5892 2003-03-29  John Paul Wallington  <jpw@gnu.org>
5894         * international/mule.el (with-category-table): Use `make-symbol'
5895         to avoid variable capture.  Set table within `unwind-protect'.
5896         Ensure table is restored in correct buffer.  Add docstring.
5898 2003-03-29  Kenichi Handa  <handa@m17n.org>
5900         * language/japan-util.el: If system-type is not for Windows,
5901         prefer japanese-iso-8bit.
5903 2003-03-28  Sudish Joseph  <sudish@corp.earthlink.net>  (tiny change)
5905         * term/mac-win.el (iconify-or-deiconify-frame): Define for
5906         compatibility with packages that use it.
5908 2003-03-28  Lute Kamstra  <Lute.Kamstra@cwi.nl>
5910         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer):
5911         Fix docstring.
5912         (checkdoc-interactive, checkdoc-message-interactive): Make them
5913         perform spell checking when appropriate.
5914         (checkdoc-interactive-loop): Fix docstring and a few typos.
5915         (checkdoc-interactive-ispell-loop)
5916         (checkdoc-message-interactive-ispell-loop): New functions.
5917         (checkdoc-next-error): Fix docstring.
5918         (checkdoc-this-string-valid-engine): Fix typo.
5919         (checkdoc-ispell-docstring-engine): Do test for
5920         checkdoc-autofix-flag = nil.
5922 2003-03-28  Jonathan Yavner  <jyavner@engineer.com>
5924         * emacs-lisp/testcover.el (testcover-mark-all): Handle screwy
5925         top-level macros that put functions as properties.
5926         (testcover-mark): No error for functions that just return a constant.
5928 2003-03-27  Andreas Schwab  <schwab@suse.de>
5930         * vc-cvs.el (vc-cvs-parse-entry): Make sure a file with conflicts
5931         is marked as edited.
5933 2003-03-26  Kenichi Handa  <handa@m17n.org>
5935         * files.el (recode-file-name): New function.
5937         * international/characters.el: Setup categories for Indian characters.
5939 2003-03-26  Steve Youngs  <youngs@xemacs.org>
5941         * em-unix.el (eshell-plain-locate-behavior): Make the default
5942         nil on Emacs, t on XEmacs.
5944 2003-03-25  Stefan Monnier  <monnier@cs.yale.edu>
5946         * emacs-lisp/byte-opt.el (byte-optimize-set): New.
5947         Turn `set' into `setq' when applicable.
5949 2003-03-24  Stefan Monnier  <monnier@cs.yale.edu>
5951         * emacs-lisp/easy-mmode.el (define-minor-mode): Pass unknown keyword
5952         args blindly to defcustom.  Use custom-set-minor-mode.
5954 2003-03-24  Kim F. Storm  <storm@cua.dk>
5956         * simple.el: Rework last change so C-x C-SPC C-SPC does not
5957         repeat pop-global-mark by default.
5958         (pop-global-mark-quick-repeat): New user option.
5959         (set-mark-command): Use it.
5961         * emulation/cua-base.el (cua-set-mark):
5962         Check pop-global-mark-quick-repeat.
5964 2003-03-24  John Paul Wallington  <jpw@gnu.org>
5966         * emacs-lisp/easymenu.el (easy-menu-add-item): Don't default to
5967         the global map.
5969         * emerge.el (emerge-show-file-name): Read event irrespective of
5970         whether minibuffer window is resized.  Clear minibuffer when done.
5972         * cus-theme.el (customize-create-theme): Rename from
5973         `custom-theme-create'.
5975 2003-03-24  Luc Teirlinck  <teirllm@mail.auburn.edu>
5977         * cus-edit.el (custom-mode): Make `custom-local-buffer' local.
5979 2003-03-23  Peter Breton  <pbreton@attbi.com>
5981         * net/net-utils.el (dns-lookup-host): New function.
5983 2003-03-23  Martin Stjernholm  <bug-cc-mode@gnu.org>
5985         * progmodes/cc-mode.el (c-parse-state): Add kludge to avoid
5986         an infinite loop when Emacs' open-paren-in-column-zero rule
5987         kicks in and causes the sexp functions to misbehave.
5989 2003-03-22  Peter Breton  <pbreton@cs.umb.edu>
5991         * filecache.el (file-cache-add-directory-recursively)
5992         (file-cache-complete, file-cache-display): New functions.
5994         * generic-x.el (etc-modules-conf-generic-mode): New generic mode.
5995         (rul-generic-mode): Bugfixes by Rolf.Sandau@marconi.com.
5997         * dirtrack.el (dirtrack-cygwin-directory-function): New function.
5998         Remove timestamp.
6000 2003-03-22  Kim F. Storm  <storm@cua.dk>
6002         * ido.el (ido-mode): Remove unused NOBIND arg.  Fix doc string
6003         accordingly.
6004         (ido-define-mode-map): Bind C-l for both file and dir modes.
6005         (ido-wide-find-file, ido-wide-find-dir, ido-make-directory):
6006         Let-bind enable-recursive-minibuffers to t around read-string.
6008 2003-03-22  Kenichi Handa  <handa@m17n.org>
6010         * international/fontset.el (setup-default-fontset):
6011         Use indian-font-char-range for specifying ranges of indian-glyph
6012         chars.  Setup for AKRUTI fonts.
6014         * language/indian.el (indian-font-foundry): New variable.
6015         (indian-script-language-alist): New variable.
6016         (indian-font-char-index-table): New variable.
6017         (indian-font-char): New function.
6018         (indian-font-char-range): New function.
6019         (font-ccl-encoder-alist): Add entry for AKRUTI font.
6021 2003-03-22  Kim F. Storm  <storm@cua.dk>
6023         * progmodes/cperl-mode.el (cperl-electric-backspace):
6024         Add delete-selection property.
6026         * simple.el (set-mark-command): Doc fixes.
6027         Allow pop-global-mark to be repeated with C-x C-SPC C-SPC...
6028         C-u C-u C-SPC now unconditionally sets the mark.
6030         * emulation/cua-base.el (cua-set-mark): Doc fixes.
6031         Allow pop-global-mark to be repeated with C-x C-SPC C-SPC...
6032         C-u C-u C-SPC now unconditionally sets the mark.
6034 2003-03-20  Mark A. Hershberger  <mah@everybody.org>
6036         * xml.el (xml-parse-attlist): Fix typo in attribute parsing.
6038 2003-03-20  Kenichi Handa  <handa@m17n.org>
6040         * international/utf-8.el (ccl-decode-mule-utf-8): Fix a bug in
6041         handling invalid 5 to 6 bytes sequence.
6043 2003-03-19  Simon Marshall  <simon@gnu.org>
6045         * progmodes/make-mode.el (makefile-font-lock-syntactic-keywords):
6046         New variable.
6047         (makefile-mode): Use it for value of font-lock-syntactic-keywords.
6049 2003-03-19  John Paul Wallington  <jpw@gnu.org>
6051         * cus-theme.el (custom-theme-create): Add autoload cookie.
6053 2003-03-19  Kenichi Handa  <handa@m17n.org>
6055         * dired.el (dired-get-filename): Pay attention to the case that
6056         `read' returns a unibyte string.  Don't encode the file name by
6057         buffer-file-coding-system.
6059 2003-03-18  Kenichi Handa  <handa@m17n.org>
6061         * language/european.el ("Latin-6"): Fix input-method.
6062         ("Latin-7"): Fix input-method.
6064         * international/utf-8.el (utf-fragment-on-decoding):
6065         Don't call register-char-codings.
6066         (utf-fragment-on-decoding): Don't update char-coding-system-table.
6067         (utf-translate-cjk): Don't call register-char-codings nor
6068         optimize-char-coding-system-table.  Don't update
6069         char-coding-system-table.
6071         * international/ucs-tables.el (ucs-unify-8859): Don't call
6072         register-char-codings.
6073         (ucs-unify-8859): Don't call optimize-char-coding-system-table.
6074         (ucs-fragment-8859): Don't update char-coding-system-table.
6075         Don't call register-char-codings nor optimize-char-coding-system-table.
6077         * international/mule.el (optimize-char-coding-system-table):
6078         Remove this function.
6079         (register-char-codings): Make it obsolete.
6080         (char-coding-system-table): Defconst it here.
6081         (make-coding-system): Don't call register-char-codings, call
6082         define-coding-system-internal.
6084         * international/mule-conf.el (no-conversion):
6085         Call define-coding-system-internal on this coding system instead of
6086         calling register-char-codings.
6088         * international/mule-cmds.el (find-coding-systems-for-charsets):
6089         Use find-coding-systems-string instead of looking up
6090         char-coding-system-table.
6092         * international/code-pages.el (cp-fix-safe-chars): Make it obsolete.
6093         (cp-make-coding-system): Don't call cp-fix-safe-chars.
6095 2003-03-18  Stefan Monnier  <monnier@cs.yale.edu>
6097         * startup.el (command-line-1): Use command-execute for any command.
6099 2003-03-17  Stefan Monnier  <monnier@cs.yale.edu>
6101         * buff-menu.el (list-buffers-noselect): Use the display property
6102         to properly align header-line text with the buffer's contents.
6104 2003-03-17  Kenichi Handa  <handa@m17n.org>
6106         * international/mule.el (ctext-post-read-conversion): Convert the
6107         search pattern to multibyte by string-to-multibyte.
6109 2003-03-16  Deepak Goel  <deego@gnufans.org>
6111         * calc/calc-forms.el (math-tzone-names): Introduce UTC as an alias
6112         for GMT.  Suggested by bob@rattlesnake.com.
6114 2003-03-15  Stefan Monnier  <monnier@cs.yale.edu>
6116         * pcvs.el (cvs-mode!): Remove unused argument.
6118         * emacs-lisp/easymenu.el (easy-menu-name-match): Catch any error
6119         that member-ignore-case might signal.
6120         (easy-menu-add-item): Default to the global map, as documented.
6121         (easy-menu-convert-item-1): Use match-string.
6123 2003-03-15  Mark A. Hershberger  <mah@everybody.org>
6125         * xml.el (xml-ucs-to-string): New function to convert Unicode
6126         codepoints to strings.  Uses decode-char (mule.el) if available.
6127         (xml-parse-tag, xml-parse-attlist, xml-skip-dtd, xml-parse-dtd)
6128         (xml-parse-elem-type): Use ' \t\n\r' instead of '[:space:]'.
6129         (xml-parse-attlist): Add attribute normalization.
6130         (xml-parse-tag): Replace "\r\n" and "\r" with "\n".
6132 2003-03-14  John Paul Wallington  <jpw@gnu.org>
6134         * files.el (recover-session): Error if there are no previous
6135         sessions to recover.
6137         * subr.el (posn-col-row): Simplify.
6139         * arc-mode.el (archive-subtype, archive-file-list-start)
6140         (archive-file-list-end, archive-proper-file-start)
6141         (archive-read-only, archive-local-name, archive-mode-map)
6142         (archive-file-name-indent, archive-remote)
6143         (archive-alternate-display, archive-superior-buffer)
6144         (archive-subfile-mode): Doc fixes.
6146 2003-03-14  Stefan Monnier  <monnier@cs.yale.edu>
6148         * indent.el (indent-for-tab-command): If tab-always-indent is non-nil
6149         and the user hits TAB a second time, just insert a tab.
6151         * textmodes/texinfo.el (texinfo-outline-level): Remove.
6152         (texinfo-mode): Set outline-heading-alist instead.
6153         (texinfo-section-list): Reorder for the needs of outline-heading-alist.
6154         (texinfo-insert-block): Don't cons needlessly.
6155         (texinfo-enable-quote-macros, texinfo-enable-quote-envs): New vars.
6156         (texinfo-insert-quote): Use them.
6158         * textmodes/outline.el (outline-level): Demote it to defvar.
6159         (outline-heading-alist): Document extended semantics.
6160         (outline-head-from-level): New fun.
6161         (outline-promote, outline-demote): Use it.
6162         (outline-show-heading): New fun.
6163         (hide-sublevels, show-children):
6164         Use it together with outline-map-region.
6165         (outline-get-next-sibling): Don't call outline-level at eob.
6167 2003-03-14  Simon Josefsson  <jas@extundo.com>
6169         * fringe.el (fringe-mode): Autoload so that
6170         Options->Show/Hide->Fringe->Customize works.
6172 2003-03-13  Stefan Monnier  <monnier@cs.yale.edu>
6174         * textmodes/outline.el (outline-mode-menu-bar-map): Add entries.
6175         (outline-mode-prefix-map): Match new bindings to those of allout.
6176         (outline-map-region): New fun.
6177         (outline-map-tree): Remove.
6178         (outline-promote, outline-demote): Apply to region if active.
6179         Change the default to apply to the subtree.
6180         (outline-move-subtree-up, outline-move-subtree-down): New funs.
6181         (outline-invisible-p): Add optional `pos' argument.
6182         (outline-next-visible-heading, outline-toggle-children): Use it.
6183         (outline-get-next-sibling): Don't call outline-level at eob.
6185         * custom.el (custom-set-minor-mode): New fun.
6187 2003-03-13  Dave Love  <fx@gnu.org>
6189         * international/latin1-disp.el (ucs-tables): Don't require.
6190         (latin1-display-face): New.
6191         (latin1-display-char): Use it.
6193 2003-03-13  Kenichi Handa  <handa@m17n.org>
6195         * international/mule-cmds.el (reset-language-environment):
6196         Set default-file-name-coding-system to iso-latin-1.
6198         * language/european.el (iso-latin-1): Definition of this coding
6199         system moved to mule-conf.el.
6201         * international/mule-conf.el (iso-latin-1): Move from
6202         european.el.
6204         * term/x-win.el (x-select-text): Don't set a text containing
6205         eight-bit-control/graphic into the cut buffer.
6207 2003-03-12  Kenichi Handa  <handa@m17n.org>
6209         * files.el (insert-directory): Decode by what specified.
6211         * language/japan-util.el (setup-japanese-environment-internal):
6212         By defalt, use japanese-iso-8bit for file names, and prefer
6213         japanese-shift-jis on DOS and Windows.
6215         * international/quail.el (quail-show-guidance-buf): Make the quail
6216         guidance buffer inherit the current value of quail-current-package.
6218         * international/utf-8.el (ccl-decode-mule-utf-8): Don't lose bytes
6219         on handling an invalid byte sequence.
6221 2003-03-11  Jason Rumney  <jasonr@gnu.org>
6223         * files.el (auto-mode-alist): Add .xsl for sgml-mode.
6225 2003-03-11  Mark A. Hershberger  <mah@everybody.org>
6227         * xml.el (xml-skip-dtd): Fix parsing of DOCTYPE.
6229 2003-03-11  John Paul Wallington  <jpw@gnu.org>
6231         * subr.el (posn-col-row): Heed frame parameter `line-spacing' and
6232         `default-line-spacing', rather than buffer-local `line-spacing'.
6234 2003-03-10  Per Abrahamsen  <abraham@dina.kvl.dk>
6236         * cus-edit.el (customize-rogue): New command.
6238 2003-03-10  Andreas Schwab  <schwab@suse.de>
6240         * info.el (Info-extract-menu-node-name)
6241         (Info-following-node-name): Revert last change.
6243 2003-03-10  Thien-Thi Nguyen  <ttn@gnu.org>
6245         * progmodes/scheme.el (scheme-mode-syntax-table):
6246         Construct w/o using `with-syntax-table'.
6248 2003-03-10  John Paul Wallington  <jpw@gnu.org>
6250         * subr.el (posn-col-row): Take into account `line-spacing'.
6252         * ebuff-menu.el (electric-buffer-update-highlight): Do nothing
6253         if major mode isn't `Electric-buffer-menu-mode'.
6255         * term/x-win.el (vendor-specific-keysyms)
6256         (x-last-selected-text-primary): Doc fixes.
6257         (x-win-suspend-error): Use proper noun in error message.
6259 2003-03-09  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
6261         * man.el (Man-getpage-in-background): Always use `setenv' for
6262         environment variables, instead of modifying process-environment
6263         directly.  The previous version let-bound process-environment --
6264         the let-binding is skipped for GROFF_NO_SGR because there is
6265         already a let-binding in effect in some outer scope.
6267         * emulation/crisp.el (top-level): Interoperate with cua.
6269 2003-03-08  Kim F. Storm  <storm@cua.dk>
6271         * emulation/cua-base.el: Provide `cua' feature.
6273 2003-03-08  Juanma Barranquero  <lektu@terra.es>
6275         * emulation/cua-base.el (cua--standard-movement-commands):
6276         Fix docstring.
6278 2003-03-07  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
6280         * man.el (Man-getpage-in-background): Only change
6281         default-directory if necessary.
6283 2003-03-07  Andreas Schwab  <schwab@suse.de>
6285         * info.el (Info-following-node-name): Skip trailing period.
6286         (Info-extract-menu-node-name): Allow period in node name.
6288 2003-03-07  Kevin Rodgers  <kevin.rodgers@ihs.com>
6290         * dired-x.el (dired-guess-shell-case-fold-search): New user option.
6291         (dired-guess-default): Use it.
6293 2003-03-07  Thien-Thi Nguyen  <ttn@gnu.org>
6295         * progmodes/dcl-mode.el (dcl-font-lock-keywords): New var.
6296         (dcl-font-lock-defaults): New var.
6297         (dcl-mode): Make and init local var `font-lock-defaults'.
6299 2003-03-06  Kevin Rodgers  <kevin.rodgers@ihs.com>
6301         * ffap.el (dired-at-point): Check whether the user can create a
6302         directory before asking about creating it.
6304 2003-03-06  John Paul Wallington  <jpw@gnu.org>
6306         * ebuff-menu.el (electric-buffer-list):
6307         Respect `Buffer-menu-use-header-line'.
6308         (electric-buffer-menu-looper): Likewise.
6310         * buff-menu.el (Buffer-menu-mode-map): Add docstring.
6311         (Buffer-menu-buffer): Fix indentation.
6312         (list-buffers-noselect): Calculate header-line spacing to take
6313         into account width of left fringe and left scrollbar.
6315 2003-03-05  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6317         * ps-print.el (ps-print-version): New version number (6.6).
6318         (ps-begin-job): If background and foreground color are the same, give
6319         an error.
6320         (ps-default-fg, ps-default-bg): Better doc.
6321         (ps-rgb-color): Became a defun, check RGB value list.
6322         (ps-default-background): New internal var.
6323         (ps-begin-file): Code fix.
6325 2003-03-05  Richard M. Stallman  <rms@gnu.org>
6327         * replace.el (query-replace-read-args): Use save-excursion.
6328         (map-query-replace-regexp): Use prefix-numeric-value.
6330 2003-03-05  Juanma Barranquero  <lektu@terra.es>
6332         * term/w32-win.el (x-handle-geometry): Put sizes on
6333         `initial-frame-alist' too.
6335         * startup.el (command-line-x-option-alist): Make --border-color set
6336         the border-color frame parameter, not border-width.
6338         * faces.el (frame-set-background-mode): Fix reference to attribute
6339         "backgroundMode".
6341 2003-03-05  Reto Zimmermann  <reto@gnu.org>
6343         * progmodes/vhdl-mode.el: Version 3.32.12 released.
6344         Modifications for displaying all projects in hierarchy browser and case
6345         insensitive hierarchy browsing.  Change Rod's email address.
6346         Include `itimer.el' patch for XEmacs.  Backquote fix.  Change some
6347         documentation strings.  Add "ERROR: " prefix to all error
6348         messages.  Enhanced usage of hideshow.
6349         (vhdl-in-literal): Remove unused argument LIM.
6350         (vhdl-compiler-alist): Enhance customization for compilers; add
6351         "Speedwave", "Simili", "Synopsys Design Compiler", "Cadence NC",
6352         "Savant", "ProVHDL" and "VeriBest" compilers.
6353         Add new error message syntax for Modelsim.
6354         Add Synplify, column no in error regexp.
6355         Include library name in library command.
6356         Add unit-to-file name mapping for Savant.
6357         Add library option in Makefile generation command.
6358         Add command to create library directory.
6359         Built-in Makefile generation is always default.
6360         (vhdl-create-mode-menu): Split menues for compilers, projects, models.
6361         Add customization for `global-font-lock-mode'.
6362         Fix `customize-group' entries for XEmacs and
6363         change "Gen." to "Generate".  Get *Messages* buffer.
6364         Fix "Auto Load Setup File" menu entry.
6365         Add faces customization to "Options".  Add "Options" entry.
6366         Include `speedbar-indentation-width'.
6367         (vhdl-replace-string): Allow casing (use `vhdl-file-name-case').
6368         (vhdl-template-exit, vhdl-template-next, vhdl-template-return):
6369         Fix template abortion.
6370         (vhdl-speedbar-port-copy): Add subprogram copy; copy port of component
6371         in package.
6372         (vhdl-fixup-whitespace-region): No whitespace after '(' and before ')'.
6373         Better treat comments and strings.  Fix "=> ," alignment.
6374         (vhdl-port-paste-testbench): Print file names created.
6375         Better handling when file exist/open.  Additional comments in code.
6376         Replace keywords in testbench entity and architecture file headers.
6377         Adjust case in testbench configuration.
6378         (vhdl-port-paste-instance): Special case: no number in instance name.
6379         (vhdl-speedbar-expand-units): Fix speedbar frame switching oddity.
6380         (vhdl-font-lock-keywords-2): Enhance highlighting of instantiation;
6381         highlight instantiations without map.
6382         Highlight quantity declaration names.  Highlight formal parameters.
6383         Fix label highlighting for signal asst.
6384         (vhdl-mode): `comment-padding' for Emacs 21 only.
6385         Remove forced `turn-on-font-lock'.
6386         Remove `hippie-expand-only-buffers' setting.
6387         Update online documentation and web address.
6388         (vhdl-comment-uncomment-region): Remove usage of `commend-dwim' again.
6389         Change ARG for uncommenting.
6390         (vhdl-speedbar-make-*-line): Fix for displaying XEmacs speedbar images.
6391         (vhdl-fontify-buffer): Toggle font-lock-mode for better recovery.
6392         (vhdl-port-list): Add context clause.
6393         (vhdl-port-paste-signals): Include direction comments.
6394         (vhdl-testbench-declarations, vhdl-testbench-statements): New default.
6395         (vhdl-port-*): Include name in status messages.
6396         (vhdl-package-alist): Scan for and display subprogram body.
6397         Change key to lower case, add original case identifier.
6398         Scan for packages used by package body.
6399         (vhdl-speedbar-find-file): Always jump to design unit if buffer open.
6400         (vhdl-speedbar-insert-hierarchy): Mark non-existing entities/packages.
6401         Message "No VHDL design units!".
6402         (vhdl-compile-init): Allow fourth element (column no) in error regexp.
6403         Fix `nconc' bug.  Eliminate redundant regexps.
6404         (vhdl-minibuffer-tab): No indentation.
6405         Use `hippie-expand-only-buffers' to take
6406         expansions from VHDL buffers only; don't overwrite non-nil default of
6407         `hippie-expand-only-buffers'; check whether
6408         `hippie-expand-only-buffers' is bound.
6409         (vhdl-ams-types, vhdl-ams-enum-values): Add identifiers from
6410         `nature_pkg' package.
6411         (vhdl-align-alist): Fix "when/else ... =>" case.
6412         Align declaration keywords only at beg. of line.
6413         Align <=, := and == among each other.
6414         (vhdl-port-copy): Extended identifiers for signal names.
6415         Fix on empty generic/port clause.
6416         Fix parsing of comment on first line.
6417         Allow generic clause begin on first line.
6418         Add "inout" and "linkage" to direction modes.
6419         (vhdl-font-lock-function-face): Change DarkCyan to Cyan4.
6420         (vhdl-file-header): Insert VHDL language standard string.
6421         (vhdl-instance-name): Unique numbers in instance names.
6422         (vhdl-compile): Check for existing compile directory.
6423         Print out file name if compiler does not; put it in
6424         quotes if contains spaces.  Check compiler name.
6425         (vhdl-compiler): Change empty value from "" to nil.
6426         (vhdl-make): Check for existing compile directory.
6427         Fix missing options if there is a target.  Check compiler name.
6428         (vhdl-template-field): Fix case on all VHDL words.
6429         (vhdl-template-others): Re-electrified "others".
6430         (vhdl-speedbar-expand-architecture): Give user control over displayed
6431         hierarchy depth.
6432         (vhdl-project-alist): Insert library name in Makefile name.
6433         Sources exclude regexp.  Add file-specific compile exceptions.
6434         Enhance customization of projects.
6435         (vhdl-get-hierarchy): Include configurations in hierarchy list.
6436         Fix bug with configurations.
6437         Consider configurations; also at lower levels.
6438         (vhdl-speedbar-item-info): Enhance displaying.
6439         (vhdl-scan-file-contents): Fix skipping of comments in scanning.
6440         Sources exclude regexp.
6441         Allow comment lines in instantiations.
6442         Fix used packages in package body scanning.
6443         Allow code before first block configuration.
6444         Scan also for "is" keyword of design units.
6445         Scan configuration specification.
6446         Clear directory alists first.
6447         Consistency check.
6448         Check for multiply scanned design units.
6449         Scan components/subprograms in package.
6450         Scan library clauses and subconfigurations.
6451         Limit file size for scanning.
6452         (vhdl-entity-alist): Change key to lower case, add original case
6453         identifier.
6454         (vhdl-electric-tab): Not overwrite non-nil default of
6455         `hippie-expand-only-buffers'.
6456         (vhdl-electric-tab): Check whether `hippie-expand-only-buffers' is
6457         bound; use it to take expansions from VHDL buffers only.
6458         (vhdl-electric-tab): Toggle comment indent.
6459         (vhdl-generate-makefile): Check compiler name.
6460         Add library option in Makefile generation command.
6461         (vhdl-generate-makefile): Add dependencies for components in package.
6462         (vhdl-template-elsif): No expansion in concurrent part (except AMS).
6463         (vhdl-insert-string-or-file): Resolve environment variables.
6464         (vhdl-insert-string-or-file): Fix NTEmacs `file-exists-p' problem.
6465         (vhdl-submit-bug-report): Prompt for summary.
6466         (vhdl-resolve-paths): Rearrange environment variable resolution.
6467         (vhdl-scan-project-contents): Rearrange environment variable
6468         resolution.
6469         (vhdl-scan-project-contents): Allow absolute paths.
6470         (vhdl-doc-coding-style): Update RMM URL.
6471         (vhdl-end-of-leader): Consider "is" keyword in VHDL'93.
6472         (vhdl-model-insert): Replace header prompts too.
6473         (vhdl-template-header): New argument `is-model'.
6474         (vhdl-template-generate-body): Remove "begin" for VHDL'93.
6475         (vhdl-actual-port-name): Change default value (no "_i" extension).
6476         (vhdl-template-modify): Delete date instead of kill.
6477         (vhdl-get-source-files): Don't match source files beginning with ".".
6478         (vhdl-project-*-alist): Merge with variables `vhdl-*-alist'.
6479         (vhdl-speedbar-*): Many enhancements and fixes in hierarchy browser.
6480         (vhdl-speedbar-expand-*): Display used packages.
6481         (vhdl-sequential-statement-p): Better algorithm.
6482         (vhdl-electric-mode, vhdl-stutter-mode): Change key bindings.
6483         (vhdl-electric-...): No stuttering within literals.
6484         (vhdl-template-footer): Replace keywords in footer as in header.
6485         (vhdl-align-...): Enhance alignment, add progress reporting.
6486         (vhdl-beautify-region): Bug fix.
6487         (vhdl-comment-insert-inline): Remove wrapping to next line if too long.
6488         (vhdl-testbench-configuration-name)
6489         (vhdl-update-sensitivity-list-buffer): Fix starting cursor position.
6490         (vhdl-prepare-search-[12]): Fix search within hidden code.
6491         (vhdl-speedbar-jump-to-unit): Disable cursor re-positioning.
6492         (vhdl-template-for): Fix sequential statement part detection.
6493         (vhdl-electric-space): Fix wrapping for non-word characters.
6494         (vhdl-template-standard-package): Don't insert "std" library.
6495         (vhdl-template-architecture): Code optimization.
6496         (vhdl-template-package): Search for existing package name.
6497         (vhdl-template-component-decl, vhdl-port-paste-declaration):
6498         Insert "is" in VHDL'93.
6499         (match-string-no-properties, vhdl-forward-comment): New aliases.
6500         (vhdl-speedbar-library-face, vhdl-speedbar-subprogram-face): New faces.
6501         (file-expand-wildcards, regexp-opt, subst-char-in-string)
6502         (vhdl-add-modified-file, vhdl-align-buffer, vhdl-align-declarations)
6503         (vhdl-align-list, vhdl-align-region-2, vhdl-align-region-groups)
6504         (vhdl-align-same-indent, vhdl-aput, vhdl-auto-load-project)
6505         (vhdl-backward-same-indent, vhdl-beginning-of-block)
6506         (vhdl-character-to-event, vhdl-compile-directory)
6507         (vhdl-compile-print-file-name, vhdl-compose-components-package)
6508         (vhdl-compose-insert-generic, vhdl-compose-insert-port)
6509         (vhdl-compose-insert-signal, vhdl-compose-new-component)
6510         (vhdl-compose-place-component, vhdl-compose-wire-components)
6511         (vhdl-default-directory, vhdl-delete, vhdl-delete-indentation)
6512         (vhdl-do-group, vhdl-do-list, vhdl-do-same-indent)
6513         (vhdl-duplicate-project, vhdl-end-of-block, vhdl-expand-abbrev)
6514         (vhdl-expand-paren, vhdl-export-project, vhdl-fill-group)
6515         (vhdl-fill-list, vhdl-fill-region, vhdl-fill-same-indent)
6516         (vhdl-fix-case-word, vhdl-fix-clause, vhdl-forward-comment)
6517         (vhdl-forward-same-indent, vhdl-generate-makefile-1)
6518         (vhdl-get-compile-options, vhdl-get-components-package-name)
6519         (vhdl-get-end-of-unit, vhdl-get-make-options, vhdl-get-packages)
6520         (vhdl-get-visible-signals, vhdl-goto-marker)
6521         (vhdl-hs-forward-sexp-func, vhdl-hs-minor-mode, vhdl-import-project)
6522         (vhdl-indent-group, vhdl-insert-file-contents, vhdl-load-cache)
6523         (vhdl-makefile-name, vhdl-match-string-downcase, vhdl-max-marker)
6524         (vhdl-parse-group-comment, vhdl-paste-group-comment)
6525         (vhdl-port-paste-context-clause, vhdl-port-paste-initializations)
6526         (vhdl-port-reverse-direction, vhdl-process-command-line-option)
6527         (vhdl-project-p, vhdl-re-search-backward, vhdl-re-search-forward)
6528         (vhdl-remove-trailing-spaces, vhdl-require-hierarchy-info)
6529         (vhdl-resolve-env-variable, vhdl-run-when-idle, vhdl-save-cache)
6530         (vhdl-save-caches, vhdl-scan-context-clause)
6531         (vhdl-scan-directory-contents, vhdl-set-compiler, vhdl-set-project)
6532         (vhdl-show-messages, vhdl-sort-alist, vhdl-speedbar-check-unit)
6533         (vhdl-speedbar-contract-all, vhdl-speedbar-contract-level)
6534         (vhdl-speedbar-display-directory, vhdl-speedbar-display-projects)
6535         (vhdl-speedbar-expand-all, vhdl-speedbar-expand-config)
6536         (vhdl-speedbar-expand-package, vhdl-speedbar-expand-project)
6537         (vhdl-speedbar-generate-makefile, vhdl-speedbar-insert-projects)
6538         (vhdl-speedbar-insert-subpackages, vhdl-speedbar-line-key)
6539         (vhdl-speedbar-line-project, vhdl-speedbar-line-text)
6540         (vhdl-speedbar-make-design, vhdl-speedbar-make-subpack-line)
6541         (vhdl-speedbar-make-subprogram-line, vhdl-speedbar-place-component)
6542         (vhdl-speedbar-refresh, vhdl-speedbar-set-depth)
6543         (vhdl-speedbar-update-current-project, vhdl-statistics-buffer)
6544         (vhdl-subprog-copy, vhdl-subprog-flatten, vhdl-subprog-paste-body)
6545         (vhdl-subprog-paste-call, vhdl-subprog-paste-declaration)
6546         (vhdl-subprog-paste-specification, vhdl-template-others-hook)
6547         (vhdl-template-replace-header-keywords, vhdl-toggle-project)
6548         (vhdl-uniquify, vhdl-update-file-contents, vhdl-update-hierarchy)
6549         (vhdl-update-progress-info, vhdl-update-sensitivity-list)
6550         (vhdl-update-sensitivity-list-buffer)
6551         (vhdl-update-sensitivity-list-process, vhdl-use-direct-instantiation)
6552         (vhdl-warning, vhdl-warning-when-idle)
6553         (vhdl-widget-directory-validate, vhdl-work-library)
6554         (vhdl-write-file-hooks-init): New functions.
6555         (vhdl-aappend, vhdl-add-warning, vhdl-align-noindent-buffer)
6556         (vhdl-align-noindent-region, vhdl-create-customize-menu)
6557         (vhdl-forward-unit, vhdl-modify-date-init, vhdl-project-switch)
6558         (vhdl-scan-file-contents, vhdl-speedbar-display-hierarchy)
6559         (vhdl-speedbar-toggle-hierarchy): Functions deleted.
6560         (vhdl-in-comment-p, vhdl-in-string-p, vhdl-standard-p): Define as
6561         functions, not defsubsts.
6562         (vhdl-in-comment-or-string-p, vhdl-speedbar-project-p):
6563         Delete defsubsts.
6564         (vhdl-compose, vhdl-naming, vhdl-speedbar, vhdl-template)
6565         (vhdl-testbench): New customization groups.
6566         (vhdl-electric): Customization group deleted.
6567         (vhdl-align-alist, vhdl-doc-coding-style, vhdl-doc-keywords)
6568         (vhdl-imenu-generic-expression): Define as constants instead of
6569         variables.
6570         (vhdl-ams-packages, vhdl-doc-release-notes, vhdl-emacs-21)
6571         (vhdl-hs-start-regexp, vhdl-time-stamp, vhdl-xemacs): New constants.
6572         (vhdl-font-lock-keywords-0): Constants deleted.
6573         (vhdl-prepare-search-1, vhdl-prepare-search-2, vhdl-visit-file):
6574         New macros.
6575         (vhdl-ext-syntax-table): Macro deleted.
6576         (vhdl-align-group-separate, vhdl-align-same-indent)
6577         (vhdl-architecture-file-name, vhdl-compile-use-local-error-regexp)
6578         (vhdl-components-package-name, vhdl-compose-architecture-name)
6579         (vhdl-compose-create-files, vhdl-compose-include-header)
6580         (vhdl-copyright-string, vhdl-default-library, vhdl-directive-keywords)
6581         (vhdl-entity-file-name, vhdl-file-name-case)
6582         (vhdl-include-group-comments, vhdl-include-type-comments)
6583         (vhdl-indent-syntax-based, vhdl-makefile-generation-hook)
6584         (vhdl-package-file-name, vhdl-project-auto-load)
6585         (vhdl-project-file-name, vhdl-project-sort, vhdl-speedbar-auto-open)
6586         (vhdl-speedbar-cache-file-name, vhdl-speedbar-display-mode)
6587         (vhdl-speedbar-jump-to-unit, vhdl-speedbar-save-cache)
6588         (vhdl-speedbar-scan-limit, vhdl-speedbar-update-on-saving)
6589         (vhdl-testbench-configuration-name)
6590         (vhdl-testbench-include-configuration, vhdl-testbench-include-header)
6591         (vhdl-testbench-include-library, vhdl-use-components-package)
6592         (vhdl-use-direct-instantiation): New options.
6593         (vhdl-compiler-options, vhdl-speedbar, vhdl-speedbar-hierarchy-indent)
6594         (vhdl-speedbar-show-hierarchy, vhdl-testbench-architecture-header)
6595         (vhdl-testbench-entity-header): Options deleted.
6596         (speedbar-indentation-width, vhdl-compile-file-name)
6597         (vhdl-config-alist, vhdl-directive-keywords-regexp)
6598         (vhdl-directory-alist, vhdl-font-lock-keywords-0, vhdl-menu-max-size)
6599         (vhdl-mode-ext-syntax-table, vhdl-modified-file-list)
6600         (vhdl-port-flattened, vhdl-port-reversed-direction)
6601         (vhdl-speedbar-hierarchy-depth, vhdl-speedbar-last-selected-project)
6602         (vhdl-speedbar-show-projects, vhdl-speedbar-shown-project-list)
6603         (vhdl-speedbar-shown-unit-alist, vhdl-speedbar-update-current-unit)
6604         (vhdl-subprog-flattened, vhdl-subprog-list, vhdl-updated-project-list)
6605         (vhdl-warnings): New variables.
6606         (vhdl-project-ent-inst-list, vhdl-project-entity-alist)
6607         (vhdl-project-package-alist, vhdl-speedbar-last-file-name)
6608         (vhdl-speedbar-shown-units-alist, vhdl-startup-warnings): Delete vars.
6610 2003-03-04  Rob Kaut  <rob@siworks.com>  (tiny change)
6612         * progmodes/vhdl-mode.el (vhdl-comment-uncomment-region):
6613         Remove two comment characters at start of line instead of one.
6615 2003-03-03  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
6617         * printing.el (pr-get-symbol): Move it to next eval-and-compile.
6619 2003-03-03  John Paul Wallington  <jpw@gnu.org>
6621         * ibuf-macs.el (ibuffer-aif): Use `make-symbol' instead of
6622         `gensym' in case user calls macro at runtime.
6623         (ibuffer-save-marks): Likewise.
6625 2003-03-03  Kenichi Handa  <handa@m17n.org>
6627         * language/japan-util.el (japanese-symbol-table): Add two entries
6628         to make it complete.
6630 2003-03-03  Andreas Schwab  <schwab@suse.de>
6632         * info.el (Info-fontify-node): Don't hide indentation before the
6633         reference name.  Don't process a reference twice when a new tag is
6634         inserted.
6635         (Info-hide-note-references): Fix doc and customize type.
6637 2003-03-02  Matt Swift  <swift@alum.mit.edu>
6639         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
6640         New custom variable.
6641         (lisp-fill-paragraph): Use it.  Add ?, to `paragraph-separate' so
6642         that first docstring lines ending with a comma are respected.
6643         Add "`(" to same so that function and macro bodies beginning with a
6644         backquote do not get disturbed.  Revise the comments.
6646 2003-03-01  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
6648         * startup.el (command-line): Call menu-bar-mode with 1 instead of t.
6650         * menu-bar.el (menu-bar-mode): Change to define-minor-mode
6651         and initialize as for tool-bar-mode.
6653 2003-02-28  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
6655         * net/tramp.el: Version 2.0.30 released.
6656         Replace term "path" with "localname" unless it is used for a
6657         search path.
6658         (tramp-handle-expand-file-name): Allow ".." to cross host boundaries.
6659         (tramp-open-connection-setup-interactive-shell): Unset $ENV in
6660         addition to setting $PS1 when starting the Bourne-ish shell.
6661         Some sh implementations (eg, bash when called as sh) read the file
6662         named there on startup, which could clobber $PS1.
6663         (tramp-do-copy-or-rename-file-one-local): New function.
6664         Not implemented.  Not used.  Should invoke rcp or scp directly to keep
6665         the time.
6667 2003-02-28  Michael Albinus  <Michael.Albinus@alcatel.de>
6669         * net/tramp-smb.el: Replace term `path' with `localname'
6670         unless it is used for a search path.  In GNU, the word `path' is
6671         reserved for search paths.
6673         * net/tramp.el (tramp-send-string, tramp-send-region): Remove.
6674         (tramp-send-string): New function.  Takes over the role of the
6675         functions above, in order to have a unique place handling
6676         `tramp-chunksize'.  Same implementation as `tramp-send-region'.
6677         (tramp-chunksize): It's now a defcustom.  Set to 500 on systems
6678         only known to have a buggy `process-send-string' implementation.
6679         First black-listed constellation is GNU Emacs/ hpux.
6680         (tramp-send-region): Correct debug message.
6681         (tramp-bug): Add `tramp-chunksize'.
6683 2003-02-26  Matt Swift  <swift@alum.mit.edu>
6685         * startup.el: Streamline code in several functions for efficiency
6686         and readability.  Rephrase booleans to avoid `(not noninteractive)'.
6687         Clarify several booleans expressions using De Morgan's laws.
6689         (command-line): Fix barf when first command-line option handled by
6690         `command-line-1' is in the form --OPT=VAL.
6691         (command-line-1): Restore intended behavior of the --directory/-L
6692         command-line option: "-L a -L b -L c" on the command-line now puts
6693         '(a b c) at the front of `load-path'.
6695 2003-02-26  Oliver Scholz  <alkibiades@gmx.de>
6697         * play/gamegrid.el (gamegrid-add-score): Add info to docstring.
6698         (gamegrid-add-score-with-update-game-score-1): New function,
6699         factored out of `gamegrid-add-score-with-update-game-score'.
6700         (gamegrid-add-score-with-update-game-score): Use it.  Fall back on
6701         `gamegrid-add-score-insecure' if the requested file does not exist
6702         in $(gamedir), in case the user has installed a game on his own.
6703         (gamegrid-add-score-insecure): Accept optional directory argument.
6705 2003-02-25  Andreas Schwab  <schwab@suse.de>
6707         * progmodes/make-mode.el (makefile-font-lock-keywords): Protect shell
6708         variable references by requireing that $ is not preceded by another $.
6710 2003-02-25  Kenichi Handa  <handa@m17n.org>
6712         * env.el (setenv): Fix previous change.
6714 2003-02-25  Ramakrishnan M  <rama@gnu.org>  (tiny change)
6716         * language/mlm-util.el (mlm-char-glyph): Fix more rules.
6718 2003-02-24  Stefan Monnier  <monnier@cs.yale.edu>
6720         * progmodes/simula.el: Move abbrev loading to after the fun it uses.
6721         (simula-install-standard-abbrevs): Use dolist.
6722         Use system-flag when calling define-abbrev.
6724 2003-02-24  Dave Love  <fx@gnu.org>
6726         * obsolete/cplus-md.el: Delete.  (Requires removed c-mode.el.)
6728         * env.el (read-envvar-name): Decode names.
6729         (substitute-env-vars): Use eval-when-compile and char class.
6730         (setenv): Doc fix.  Encode the data (after checking that's possible).
6731         (getenv): Encode the name and decode the result.
6733 2003-02-24  Ken Manheimer  <klm@zope.com>
6735         * allout.el (allout-pre-command-business): Fix docstring.
6737 2003-02-24  Ramakrishnan M  <rama@gnu.org>  (tiny change)
6739         * language/mlm-util.el (mlm-char-glyph): Fix several composing rules.
6741 2003-02-24  Kenichi Handa  <handa@m17n.org>
6743         * international/characters.el: Fix syntaxes of gb2312 and big5.
6745         * language/japan-util.el (sentence-end-save): Variable deleted.
6746         (setup-japanese-environment-internal): Don't setup sentence-end.
6747         (exit-japanese-environment): Function deleted.
6749         * language/japanese.el ("Japanese"): Delete `exit-function'.
6751         * textmodes/paragraphs.el (sentence-end): Add Chinese and Japanese
6752         characters.
6754 2003-02-24  Ramakrishnan M  <rama@gnu.org>  (tiny change)
6756         * language/mlm-util.el (mlm-char-glyph): Add entries for "halant +
6757         rakar + halant" and "halant + rrakar + halant".
6759 2003-02-23  Richard M. Stallman  <rms@gnu.org>
6761         * replace.el (query-replace-read-args): Return just 3 values.
6762         (query-replace, query-replace-regexp)
6763         (query-replace-regexp-eval, map-query-replace-regexp)
6764         (replace-string, replace-regexp): Read the start and end args
6765         separately so that the expressions are recorded in command-history.
6767         * menu-bar.el (Revert Buffer): Condition on buffer-file-number.
6769         * startup.el (inhibit-startup-hooks): New variable.
6770         (normal-top-level): Obey that variable.
6771         (command-line-1): Run emacs-startup-hook before term-setup-hook.
6772         Set inhibit-startup-hooks too.
6774         * files.el (revert-buffer): Different error message
6775         for reverting a nonexistent file.
6777 2003-02-22  Stefan Monnier  <monnier@cs.yale.edu>
6779         * progmodes/cperl-mode.el: Merge changes from CPerl-5.0.
6780         (toplevel): Require man.
6781         Don't autoload tmm-prompt (it's in loaddefs.el).
6782         (cperl-electric-backspace-untabify): New var.
6783         (cperl-electric-backspace): Use it.
6784         (cperl-vc-header-alist): Extract numeric version from the Id.
6785         (cperl-build-manpage): New fun.
6786         (cperl-menu): Use it.  Add toggle-autohelp.
6787         (cperl-mode) <defun-prompt_regexp>: Understand prototypes.
6788         (cperl-electric-brace): Use `cperl-after-block-p' for detection.
6789         (cperl-electric-keyword): Make $if (etc: "$@%&*") non-electric.
6790         '(' after keyword would insert a doubled paren.
6791         (cperl-calculate-indent): Update syntaxification before checks.
6792         Fix wrong indent of blocks starting with POD.
6793         (cperl-find-pods-heres): If no end of HERE-doc found, mark to the end
6794         of buffer.  This enables recognition of end of HERE-doc "as one types".
6795         Require "\n" after trailing tag of HERE-doc.
6796         \( made non-quoting outside of string/comment (gdj-contributed).
6797         Likewise for \$.  Remove `here-doc-group' text property at start
6798         (makes this property reliable).
6799         Text property `first-format-line' ==> t.
6800         Do not recognize $opt_s and $opt::s as s///.
6801         (cperl-after-block-p): Optional arg pre-block to check for a pre-block
6802         Recognize `continue' blocks too.
6803         (cperl-after-expr-p): Update syntaxification before checks.  Work after
6804         here-docs, formats, and PODs too (affects many electric constructs).
6805         (cperl-fix-line-spacing): Allow "_" in $vars of foreach etc.
6806         (cperl-perldoc): Use case-sensitive search.
6808         * progmodes/cperl-mode.el: Merge changes from CPerl-4.35.
6809         (cperl-xemacs-p): Move.
6810         (cperl-can-font-lock): New var to replace window-system.
6811         (cperl-enable-font-lock): Use it.
6812         (cperl-use-major-mode): New var.
6813         (cperl-mode): Use it.
6814         (cperl-calculate-indent): Remove code whose removal was missed
6815         in some earlier merge.
6816         (cperl-tags-hier-init): Use display-popup-menus-p.
6818 2003-02-22  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
6820         * files.el (abbreviate-file-name): Shorten docstring: variables
6821         are now hyperlinks and `C-h v' need not be mentioned explicitly.
6823 2003-02-21  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
6825         * files.el (abbreviate-file-name): Document removal of
6826         automounter prefixes.  Reported by Lars Hansen.
6828 2003-02-21  Kim F. Storm  <storm@cua.dk>
6830         * emulation/cua-base.el: Add run-time check to catch users trying
6831         to use older versions of CUA-mode, rather than the version
6832         distributed with Emacs.  Use autoload cookies and eval-after-load.
6834         * startup.el (command-line): Clarify and tidy up the message
6835         printed when there are errors in the user-init-file.
6836         Do not encapsulate the error data; it's read by humans here.
6837         Do not split windows when displaying the *Message* buffer.
6839 2003-02-20  Stefan Monnier  <monnier@cs.yale.edu>
6841         * subr.el (with-syntax-table): Don't copy the table any more.
6843 2003-02-20  Ehud Karni  <ehud@unix.mvs.co.il>  (tiny change)
6845         * mail/rmail.el (rmail-insert-inbox-text): Make the pop3 mechanism
6846         work on cygwin systems too.
6848 2003-02-20  Juanma Barranquero  <lektu@terra.es>
6850         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
6851         Remove useless check.
6853 2003-02-20  Andreas Schwab  <schwab@suse.de>
6855         * info.el (Info-extract-menu-node-name): Stop if colon is
6856         followed by open paren.
6858 2003-02-20  Francesco Potort\e,Al\e(B  <pot@gnu.org>
6860         * mail/undigest.el (unforward-rmail-message): Allow nested
6861         unforwarding, that is, preserve old Forwarded-From/Date headers.
6863 2003-02-20  Kenichi Handa  <handa@m17n.org>
6865         * term/w32-win.el: Call set-fontset-font with NAME nil.
6867         * international/mule-diag.el (print-fontset): If FONTSET is nil,
6868         use the default fontset.
6869         (describe-fontset): If the current frame is not using a fontset,
6870         call print-fontset with nil.
6872 2003-02-19  Andre Spiegel  <spiegel@gnu.org>
6874         * vc.el (vc-binary-assoc, vc-binary-suffixes): Remove; these
6875         were accidentally left over during the VC redesign in 2000.
6877 2003-02-18  Juanma Barranquero  <lektu@terra.es>
6879         * help-macro.el (make-help-screen): Fix character constant.
6881         * mouse-sel.el (mouse-sel-determine-selection-thing): Likewise.
6883         * calc/calc-graph.el (calc-graph-plot): Likewise.
6885         * calc/calc-prog.el (calc-macro-edit-variable): Likewise.
6887         * emacs-lisp/edebug.el: Likewise.
6889         * emacs-lisp/helper.el (Helper-help-scroller): Likewise.
6891         * language/cyril-util.el (standard-display-cyrillic-translit):
6892         Likewise.
6894         * mail/rfc822.el (rfc822-nuke-whitespace): Likewise.
6896         * progmodes/cperl-mode.el (cperl-electric-keyword)
6897         (cperl-electric-pod, cperl-do-auto-fill): Likewise.
6899         * textmodes/reftex-ref.el (reftex-reference): Likewise.
6901         * textmodes/table.el (table-generate-source): Use ?\\ instead of
6902         space in "work in progress" message.
6904         * emacs-lisp/tq.el (tq-create): Fix quoted lambda expression.
6906 2003-02-17  Dave Love  <fx@gnu.org>
6908         * progmodes/ebrowse.el (ebrowse-output): Don't use gensym.
6910 2003-02-17  Markus Rost  <rost@math.ohio-state.edu>
6912         * calendar/calendar.el (diary-file-name-prefix-function):
6913         Fix custom type.
6915 2003-02-17  Andre Spiegel  <spiegel@gnu.org>
6917         * vc-cvs.el (vc-cvs-dir-state): Protect against DIR not being
6918         under CVS control.  Suggested by Masanobu UMEDA.
6920 2003-02-17  Kenichi Handa  <handa@m17n.org>
6922         * files.el (insert-directory): Add workaround for the case that we
6923         can't trust ls's output as to byte positions of filenames.
6925 2003-02-15  Richard M. Stallman  <rms@gnu.org>
6927         * ffap.el: Many doc fixes.
6928         (ffap-replace-file-component):
6929         Renamed from ffap-replace-path-component.  Callers changed.
6930         (ffap-host-to-filename): Renamed from ffap-host-to-path.  Callers chgd.
6932         * international/iso-ascii.el (iso-ascii-display-table): New variable.
6933         (iso-ascii-standard-display-table): New variable.
6934         (iso-ascii-display): Define in iso-ascii-display-table.
6935         (iso-ascii-mode): New command.
6937         * tar-mode.el (tar-header-block-summarize):
6938         Use l for symlink, h for hard link.
6940 2003-02-15  David Kastrup  <dak@gnu.org>
6942         * net/ange-ftp.el (ange-ftp-get-file-entry): Allow for graceful
6943         failure returning nil, as documented.
6945 2003-02-14  Dave Love  <fx@gnu.org>
6947         * international/code-pages.el: Undo `Trailing whitepace deleted.'
6948         damage.
6949         (cp1125, mik): Nullify mime-charset.
6951         * language/cyrillic.el ("Cyrillic-KOI8"): Fix input-method.
6952         ("Russian"): New.
6953         ("Bulgarian"): Add tutorial.
6955         * international/mule-cmds.el (locale-language-names): Use Italian,
6956         Russian, Turkish, Chinese-EUC-TW.
6957         (set-locale-environment): Set ps-paper-type.
6959 2003-02-14  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>  (tiny change)
6961         * time.el (display-time-string-forms): Add face property to mail
6962         string.
6964 2003-02-14  Juanma Barranquero  <lektu@terra.es>
6966         * international/mule-cmds.el (view-hello-file): Use `view-file'
6967         instead of `find-file-read-only'.
6969         * dired-aux.el (dired-query-alist): Fix use of character constant.
6971         * simple.el (backward-delete-char-untabify): Likewise.
6973         * strokes.el (strokes-read-complex-stroke): Likewise.
6975         * wid-edit.el (widget-choose): Likewise.
6977         * xml.el (xml-parse-elem-type): Likewise.
6979         * emacs-lisp/testcover-ses.el (ses-exercise-signals): Likewise.
6981         * progmodes/cperl-mode.el (cperl-next-bad-style): Likewise.
6983         * progmodes/idlwave.el (idlwave-show-begin): Likewise.
6985 2003-02-13  Stefan Monnier  <monnier@cs.yale.edu>
6987         * international/mule-cmds.el (sort-coding-systems): Use \'.
6988         (select-safe-coding-system): Remove redundant assq check.
6989         Remove raw-text, emacs-mule and no-conversion from the list of
6990         proposed encodings unless there's nothing else.
6992 2003-02-13  Markus Rost  <rost@math.ohio-state.edu>
6994         * files.el (find-alternate-file): Undo last change.
6996         * dired.el (dired-directory): Add autoload cookie.
6998 2003-02-13  Juanma Barranquero  <lektu@terra.es>
7000         * international/characters.el: Use new ?\s syntax instead of "? "
7001         followed by a comment.
7003         * ruler-mode.el (ruler-mode-margins-char): Likewise.
7005 2003-02-13  Dave Love  <fx@gnu.org>
7007         * newcomment.el (comment-indent): Ensure space before added comment.
7009 2003-02-13  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
7011         * ps-print.el: Change the policy of background/foreground default
7012         color.
7013         (ps-print-version): New version number (6.5.9).
7014         (ps-default-fg, ps-default-bg): Adjust default value.
7015         (ps-begin-file, ps-begin-job): ps-default-fg and ps-default-bg
7016         variables now use `t' to indicate the use of Emacs session
7017         background/foreground color.
7018         (ps-output-string-prim): If index out of range, insert hexadecimal
7019         representation of character.
7021 2003-02-13  Kim F. Storm  <storm@cua.dk>
7023         * help.el (where-is): Rename remap-command to command-remapping.
7024         * help-fns.el (describe-function-1): Likewise.
7026 2003-02-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
7028         * progmodes/fortran.el (fortran-fill): Fill lines that do not have
7029         comments.
7031 2003-02-12  Stefan Monnier  <monnier@cs.yale.edu>
7033         * progmodes/fortran.el (fortran-mode): Set comment-use-syntax.
7034         (fortran-fill-paragraph): Use fill-comment-paragraph.
7036 2003-02-12  Juanma Barranquero  <lektu@terra.es>
7038         * files.el (file-truename): Revert change from 2002-11-27.
7040 2003-02-12  Luc Teirlinck  <teirllm@mail.auburn.edu>
7042         * help-fns.el (describe-function-1): Change output for keyboard macros.
7044 2003-02-12  Andreas Schwab  <schwab@suse.de>
7046         * progmodes/sh-script.el (sh-mode-map): Don't remap
7047         beginning-of-defun to the non-existing command
7048         sh-beginning-of-compound-command.
7050 2003-02-12  Karl Chen  <quarl@hkn.eecs.berkeley.edu>  (tiny change)
7052         * files.el (find-alternate-file): Check whether `dired-directory'
7053         is bound.
7055 2003-02-12  Simon Marshall  <simon@gnu.org>
7057         * progmodes/make-mode.el (makefile-font-lock-keywords):
7058         Fontify single character variable references, but protect shell
7059         variables references.
7060         (makefile-mode): Make `$' be punctuation in font-lock-defaults.
7062 2003-02-12  Ami Fischman  <ami@fischman.org>
7064         Face markup of calendar and diary displays: Any entry line that
7065         ends with [foo:value] where foo is a face attribute (except :box
7066         :stipple) or with [face:blah] tags, will have these values applied
7067         to the calendar and fancy diary displays. These attributes "stack"
7068         on calendar displays.  File-wide attributes can be defined as
7069         follows: the first line matching "^# [tag:value]" defines the
7070         value for that particular tag.  All of the tags' regexps can be
7071         customized.
7073         * calendar/calendar.el (diary-face-attrs): New custom.
7074         (diary-file-name-prefix-function): New custom.
7075         (diary-glob-file-regexp-prefix): New custom.
7076         (diary-file-name-prefix): New custom.
7077         (generate-calendar-window): Check that font-lock-mode is bound
7078         before checking value.
7079         (mark-visible-calendar-date): Add the ability to pass face
7080         attribute/value pairs in the mark argument.  Handle the mark.
7082         * calendar/diary-lib.el (diary-attrtype-convert): Convert an
7083         attribute value string to the desired type.
7084         (diary-pull-attrs): New function that pulls the attributes off a
7085         diary entry, merges with file-global attributes, and returns
7086         the (possibly modified) entry and a list of attribute/values using
7087         diary-attrtype-convert.
7088         (list-diary-entries, fancy-diary-display, show-all-diary-entries)
7089         (mark-diary-entries, mark-sexp-diary-entries)
7090         (list-sexp-diary-entries): Add handling of file-global attributes;
7091         add handling of entry attributes using diary-pull-attrs.
7092         (mark-calendar-days-named, mark-calendar-days-named)
7093         (mark-calendar-date-pattern, mark-calendar-month)
7094         (add-to-diary-list): Add optional paramater `color' for passing
7095         face attribute info through the callchain.  Pass this parameter around.
7097 2003-02-11  Stefan Monnier  <monnier@cs.yale.edu>
7099         * progmodes/etags.el (find-tag-tag): Move (default foo) to before
7100         `:' in the prompt.
7101         (find-tag): Make sure we move point in the proper window.
7103         * progmodes/meta-mode.el (meta-fill-paragraph): Remove.
7104         (meta-common-initialization): Don't set fill-paragraph-function
7105         now that fill-paragraph takes care of comments.
7107         * progmodes/scheme.el (scheme-mode-syntax-table): Don't switch
7108         the current buffer's syntax-table.
7110         * progmodes/simula.el (simula-font-lock-syntactic-keywords): New var.
7111         (simula-font-lock-keywords-1): Simplify.
7112         (simula-font-lock-keywords-2): Use regexp-opt.
7113         (simula-emacs-features): Remove.
7114         (simula-mode-syntax-table): Setup %...\n as comment style b.
7115         (simula-mode-map): Remove compatibility cruft.
7116         (simula-keep-region-active): Remove.
7117         (simula-popup-menu): Simplify.
7118         (simula-mode): Move abbrev-table setup to top-level.
7119         (simula-match-string-or-comment): Remove.
7121         * progmodes/tcl.el (tcl-omit-ws-regexp): Correctly handle cases
7122         like `proc foo {a {b c} d} {'.
7123         (tcl-mode): Make comment-start-skip more selective.
7125         * info-xref.el (info-xref-check): Use line-beginning-position.
7126         (info-xref-all-info-files): Cons a bit less.
7127         (info-xref-check-buffer): Use push and replace-regexp-in-string.
7128         (info-xref-output): Call insert only once.
7129         (info-xref-whitespace): Remove.
7131 2003-02-11  John Paul Wallington  <jpw@gnu.org>
7133         * ibuffer.el (toplevel): Don't require `font-lock';
7134         require `font-core' instead, even though it is dumped.
7136         * ibuf-ext.el (ibuffer-save-with-custom, ibuffer-add-to-tmp-hide)
7137         (ibuffer-add-to-tmp-show): Doc fixes.
7139         * language/tamil.el ("Tamil"): Doc fix.
7141 2003-02-11  Juanma Barranquero  <lektu@terra.es>
7143         * language/vietnamese.el ("Vietnamese"): Fix typos.
7145         * info-xref.el (info-xref-check-buffer): Fix typo.
7147         * makefile.w32-in (DONTCOMPILE): Add malayalam.el and tamil.el.
7149 2003-02-11  Kenichi Handa  <handa@m17n.org>
7151         * loadup.el: Load "language/malayalam" and "language/tamil".
7153 2003-02-11  KAWABATA, Taichi  <kawabata@m17n.org>
7155         * Makefile.in (DONTCOMPILE): Add malayalam.el and tamil.el.
7157         * language/devan-util.el: Maintainer's mail address changed.
7158         (devanagari-composable-pattern): Add DANDA character.
7159         (dev-char-glyph): Add an entry for DANDA.
7161         * language/devanagari.el: Maintainer's mail address changed.
7163         * language/indian.el: Maintainer's mail address changed.
7165         * language/ind-util.el (indian-dev-base-table): Table fixed.
7166         (indian-pnj-base-table): Table contents defined.
7167         (indian-gjr-base-table): Likewise.
7168         (indian-ori-base-table): Likewise.
7169         (indian-bng-base-table): Likewise.
7170         (indian-asm-base-table): Likewise.
7171         (indian-tlg-base-table): Likewise.
7172         (indian-knd-base-table): Likewise.
7173         (indian-mlm-base-table): Likewise.
7174         (indian-tml-base-table): Likewise.
7175         (indian-pnj-itrans-v5-hash, indian-gjr-itrans-v5-hash)
7176         (indian-ori-itrans-v5-hash, indian-bng-itrans-v5-hash)
7177         (indian-asm-itrans-v5-hash, indian-tlg-itrans-v5-hash)
7178         (indian-knd-itrans-v5-hash, indian-mlm-itrans-v5-hash)
7179         (indian-tml-itrans-v5-hash): New variables.
7181         * language/malayalam.el: New file.
7182         * language/mlm-util.el: New file.
7183         * language/tamil.el: New file.
7184         * language/tml-util.el: New file.
7186 2003-02-11  Kevin Ryde  <user42@zip.com.au>
7188         * info-xref.el: New file.
7190 2003-02-10  Stefan Monnier  <monnier@cs.yale.edu>
7192         * textmodes/page-ext.el (pages-directory-mode-map): New.
7193         (pages-directory-map): Redefine as an varalias.
7194         (pages-directory-mode): Use new map var and run mode hook.
7195         (pages-directory-address-mode): Use define-derived-mode.
7197         * textmodes/texinfmt.el (texinfo-format-iftex, texinfo-format-ifhtml)
7198         (texinfo-format-ifplaintext, texinfo-format-tex, texinfo-format-html)
7199         (texinfo-format-ifnotinfo, texinfo-format-titlepage)
7200         (texinfo-format-titlespec, texinfo-format-ignore, texinfo-if-set)
7201         (texinfo-if-clear): Use re-search-forward's return value.
7202         (texinfo-sort-startkeyfun, texinfo-format-buffer-1)
7203         (texinfo-format-region): Use line-{end,beginning}-position.
7204         (texinfo-append-refill, texinfo-alias): Use match-string-no-properties.
7206         * emacs-lisp/eldoc.el (eldoc-echo-area-multiline-supported-p)
7207         (eldoc-use-idle-timer-p): Remove.
7208         (timer): Never require.  It only works in current Emacs anyway.
7209         (eldoc-mode, eldoc-message, eldoc-display-message-p)
7210         (eldoc-docstring-format-sym-doc, eldoc-remove-command): Simplify.
7212         * ffap.el (ffap-complete-as-file-p):
7213         Use minibuffer-completing-file-name.
7215         * international/mule.el (load-with-code-conversion): Use push.
7217         * font-core.el (font-lock-defontify): Use restore-buffer-modified-p.
7219         * gud.el (gud-gdb-run-command-fetch-lines, gud-display-line):
7220         Use with-current-buffer and simplify.
7222         * help-mode.el (help-xref-on-pp): Only add xref if the text
7223         is less than 5K.
7225         * pcvs-parse.el (cvs-parse-table): "no longer in repo" does not
7226         make the file dead if we used the -n arg.
7228         * emacs-lisp/cl-macs.el (process-get): Add setf method.
7230         * server.el (server-previous-strings): Remove.
7231         (server-process-filter): Use (process-get 'previous-string) instead.
7232         (server-sentinel): Remove code made superfluous.
7234 2003-02-10  Luc Teirlinck  <teirllm@mail.auburn.edu>
7236         * info.el (Info-follow-nearest-node): Implement new behavior.
7238 2003-02-10  Juanma Barranquero  <lektu@terra.es>
7240         * progmodes/ebnf-otz.el (ebnf-optimize, ebnf-optimize1): Fix typo.
7242         * progmodes/ebnf2ps.el (ebnf2ps): Fix typo.
7243         (ebnf-syntactic): Change group name and tag from "ebnf-syntatic".
7244         (ebnf-syntax, ebnf-lex-comment-char, ebnf-lex-eop-char)
7245         (ebnf-terminal-regexp, ebnf-case-fold-search)
7246         (ebnf-iso-alternative-p, ebnf-iso-normalize-p)
7247         (ebnf-yac-ignore-error-recovery): Add to group "ebnf-syntactic", not
7248         "ebnf-syntatic".
7249         (ebnf-optimize, ebnf-print-buffer, ebnf-print-region)
7250         (ebnf-spool-buffer, ebnf-spool-region, ebnf-eps-buffer)
7251         (ebnf-eps-region, ebnf-syntax-buffer, ebnf-syntax-region)
7252         (ebnf-generate-region): Fix typo.
7254 2003-02-10  KAWABATA, Taichi  <kawabata@m17n.org>
7256         * language/ind-util.el (indian-itrans-v5-table): Add entries for
7257         "E" and "O".
7259 2003-02-10  Martin Stjernholm  <bug-cc-mode@gnu.org>
7261         * progmodes/cc-styles.el (c-set-offset): Don't find a default
7262         syntactic element through syntactic analysis if called outside
7263         a CC Mode buffer.
7265 2003-02-09  Martin Stjernholm  <bug-cc-mode@gnu.org>
7267         * progmodes/cc-mode.el (c-basic-common-init):
7268         Install `c-fill-paragraph' on `fill-paragraph-function'.
7269         Although it's not the normal way to call it in a CC Mode buffer it
7270         makes a direct call to `fill-paragraph' work better.
7272 2003-02-08  Kim F. Storm  <storm@cua.dk>
7274         * printing.el (pr-get-symbol): Define during compile.
7276 2003-02-07  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
7278         * printing.el: New file.
7280 2003-02-07  Francesco Potort\e,Al\e(B  <pot@gnu.org>
7282         * language/european.el ("French", "Slovenian"): Fix doc strings.
7284 2003-02-06  John Paul Wallington  <jpw@gnu.org>
7286         * mail/rmailsum.el (rmail-summary-previous-msg): Add docstring.
7287         (rmail-summary-line-count-flag, rmail-summary-previous-labeled-message)
7288         (rmail-summary-next-labeled-message, rmail-summary-resend)
7289         (rmail-summary-override-mail-send-and-exit): Doc fixes.
7291 2003-02-06  Francesco Potort\e,Al\e(B  <pot@gnu.org>
7293         * language/european.el ("Italian"): New.
7295 2003-02-06  Matthew Swift  <swift@alum.mit.edu>
7297         * dired.el (dired-move-to-filename-regexp): Support "K" suffix on
7298         "ls -alh" output.
7300 2003-02-05  Juanma Barranquero  <lektu@terra.es>
7302         * font-lock.el (font-lock-reference-face): Add obsolescence
7303         declaration and remove redundant info from docstring.
7305         * log-edit.el (cvs-commit-buffer-require-final-newline)
7306         (cvs-changelog-full-paragraphs): Likewise.
7308         * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button)
7309         (mouse-wheel-click-button): Likewise.
7311         * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name): Likewise.
7313         * vc.el (vc-annotate-display, vc-checkout-carefully): Likewise.
7315         * vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7316         (vc-header-alist): Likewise.
7318         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Likewise.
7320         * textmodes/outline.el (outline-visible): Likewise.
7322 2003-02-05  Kim F. Storm  <storm@cua.dk>
7324         * ido.el (ido-define-mode-map):
7325         Undo last change (duplicates part of 2003-02-04 change).
7326         Remap `viper' delete commands only in file or dir mode.
7328 2003-02-05  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
7330         * ido.el (ido-define-mode-map): Interact with Viper.
7332 2003-02-05  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
7334         * net/tramp.el: Version 2.0.29 released.
7335         (tramp-send-region): Protect against tramp-chunksize being nil.
7336         (tramp-chunksize): Set default to 500 as workaround for some ssh
7337         connections.
7338         (tramp-handle-directory-file-name): New implementation.  Not sure
7339         if it works.
7340         (tramp-md5-function): Require md5 before checking function md5.
7341         If using md5-encode, put wrapper around it that converts vector of
7342         bytes to ascii text.
7343         (top-level): Avoid byte-compiler warnings of unused variables if
7344         the byte-compiler supports this.  This is for the
7345         with-parsed-tramp-file-name macro which is wont to produce such stuff.
7347 2003-02-05  Michael Albinus  <Michael.Albinus@alcatel.de>
7349         * net/tramp.el (tramp-handle-directory-file-name): Handle the case
7350         PATH is "".
7351         (tramp-completion-handle-file-name-all-completions):
7352         Define `tramp-current-user' locally.  See `tramp-parse-passwd'.
7353         (tramp-parse-passwd): For su-alike methods it would be desirable
7354         to return "root@localhost" as default.  Unfortunately, we have no
7355         information whether any user name has been typed already.  So we
7356         (mis-)use tramp-current-user as indication, assuming it is set in
7357         `tramp-completion-handle-file-name-all-completions'.
7358         (tramp-send-region): Handle the case `tramp-chunksize' is equal 0.
7359         I did it accidently.  Infinite loop ...
7360         (tramp-get-device): `tramp-make-tramp-file-name' must not be
7361         called with NIL path.  It fails in case of multi-method.
7362         (tramp-file-name-for-operation):  Apply `expand-file-name' for
7363         relative file names only.  Otherwise there might be problems if
7364         the default directory is another Tramp directory as the directory
7365         the file is based on.
7366         (tramp-find-foreign-file-name-handler): Check whether FILENAME is
7367         a Tramp file name.  It isn't if it comes from an expanded file
7368         name (like "/xx:yy//zz").
7369         (tramp-devices): New variable.  Keeps virtual device numbers.
7370         Devices must distinguish physical file systems.  The device
7371         numbers provided by "lstat" aren't unique, because we operate on
7372         different hosts.  So we use virtual device numbers, generated by
7373         `tramp-get-device'.  Both Ange-FTP and EFS use device number -1.
7374         In order to be different, we use device number (-1 x), whereby "x"
7375         is unique for a given (multi-method method user host).
7376         Suggested by Kai.
7377         (tramp-perl-file-attributes): Always return device number -1.
7378         There will be a virtual device number set in
7379         `tramp-handle-file-attributes', which replaces this one.
7380         (tramp-handle-file-attributes): Set virtual device number.
7381         (tramp-get-device): New function.  Returns the virtual device
7382         number.  If it doesn't exist, generate a new one.
7383         (tramp-handle-file-regular-p): Use Emacs file name primitives
7384         instead of calling tramp-handle-* equivalents directly.
7385         Needed for tramp-smb.
7386         (tramp-completion-function-alist-ssh): Add parsing of
7387         "/etc/ssh_config" and "~/.ssh/config".  Suggested by Kai.
7388         (tramp-completion-function-alist, tramp-set-completion-function):
7389         Doc string update.
7390         (tramp-parse-sconfig, tramp-parse-sconfig-group): New functions.
7391         Provide parsing of "~/.ssh/config" style files.
7392         (tramp-completion-handle-expand-file-name):
7393         Apply `tramp-drop-volume-letter'.  Otherwise, there are problems
7394         on W32 systems.
7395         (tramp-completion-mode): Perform check (integerp last-input-event)
7396         before (event-modifiers last-input-event) -- there might be
7397         problems if `last-input-event' is a mouse event.
7398         (tramp-parse-rhosts, tramp-parse-shosts)
7399         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc):
7400         Use `file-readable-p' instead of `file-exists-p'.  Otherwise these
7401         functions might block.  Reported by <kin@neoscale.com>.
7403         * net/tramp-ftp.el (top-level): eval-after-load "ange-ftp"
7404         '(tramp-disable-ange-ftp).  Suggested by Kai.
7405         (tramp-ftp-file-name-handler): `tramp-disable-ange-ftp' not needed
7406         any longer.
7407         (top-level): Defaults for `tramp-default-method-alist' must be a list.
7409         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7410         Apply `tramp-handle-directory-file-name'.
7411         (tramp-smb-handle-file-attributes):  Apply `tramp-get-device'.
7412         ATIME and CTIME are (0 0) now (= "don't know"), which is more honest.
7413         (tramp-smb-handle-make-directory): Use Emacs file name primitives
7414         instead of calling tramp-smb-handle-* equivalents directly.
7415         (tramp-smb-read-file-entry): Return size as a number, not a string.
7416         (top-level): Defaults for `tramp-default-method-alist' must be a list.
7418 2003-02-05  Stefan Monnier  <monnier@cs.yale.edu>
7420         * completion.el (eval-when-compile-load-eval, completion-eval-when)
7421         (cmpl-read-time-eval, minibuffer-window-selected-p): Remove.
7422         (completion-min-length, completion-max-length)
7423         (completion-prefix-min-length): Don't hard-code the default value
7424         when byte-compiling.
7425         (complete): Inline minibuffer-window-selected-p.
7427 2003-02-04  Richard M. Stallman  <rms@gnu.org>
7429         * term.el (term-raw-map): Set it up at load time.
7430         (term-char-mode): Don't set up term-raw-map here.
7431         (term-set-escape-char): Don't set up C-x subcommand.
7432         (term-ansi-face-already-done): Renamed from
7433         term-ansi-face-alredy-done.
7434         (term-command-hook): Avoid error if STRING is empty.
7435         (term, term-mode): Doc fixes.
7437         * term.el: Redesign handling of colors and faces.
7438         Delete all the faces that this mode used to make.
7439         (ansi-term-color-vector): New variable.
7440         (ansi-term-fg-faces-vector, ansi-term-bg-faces-vector)
7441         (ansi-term-inv-bg-faces-vector, ansi-term-inv-fg-faces-vector):
7442         Variables deleted.
7443         (term-default-fg-color, term-default-bg-color): Use defcustom.
7444         (term-handle-colors-array): Use ansi-term-color-vector,
7445         and specify face attributes rather than faces in `face' property.
7447         * term.el (term-ansi-fg-faces-vector, term-ansi-bg-faces-vector)
7448         (term-ansi-inv-fg-faces-vector, term-ansi-inv-bg-faces-vector)
7449         (term-ansi-reverse-faces-vector): Delete unused variables.
7450         (term-ignore-error): Delete macro.
7452         * simple.el (back-to-indentation): Skip all whitespace
7453         except for newlines.
7455         * files.el (find-alternate-file): Handle dired-directory
7456         like buffer-file-name.
7458         * dired.el (dired-find-buffer-nocreate): Avoid error if
7459         dired-directory is nil.
7461 2003-02-04  Juanma Barranquero  <lektu@terra.es>
7463         * image.el (image-type-regexps): Fix typo.
7465         * international/characters.el: Restore missing space and put a
7466         comment to protect it from being deleted as trailing whitespace.
7468         * ruler-mode.el (ruler-mode-margins-char): Likewise.
7470 2003-02-04  Francesco Potort\e,Al\e(B  <pot@gnu.org>
7472         * mail/rmailout.el (rmail-output): If preserving MIME-version,
7473         preserve Content-type too.
7475 2003-02-04  Kim F. Storm  <storm@cua.dk>
7477         * ido.el (ido-define-mode-map): Remap viper delete char/word
7478         commands to their ido specific equivalents.  Disable ESC in
7479         viper mode (to avoid exiting insert mode), since ido doesn't
7480         work in viper command mode.
7481         (ido-delete-backward-updir, ido-delete-backward-word-updir):
7482         Handle remapped viper commands.
7484 2003-02-03  Juanma Barranquero  <lektu@terra.es>
7486         * calculator.el (calculator): Don't use the minibuffer even in
7487         electric mode; use a private buffer and display it in the minibuffer
7488         window using `set-window-buffer'.
7490 2003-02-03  Dave Love  <fx@gnu.org>
7492         * emacs-lisp/benchmark.el: New.
7494 2003-02-02  Andreas Schwab  <schwab@suse.de>
7496         * progmodes/asm-mode.el (asm-font-lock-keywords): Allow arbitrary
7497         words separated by dots.  Match optional parenthesized word at
7498         start of line.
7500         * font-lock.el
7501         (font-lock-match-c-style-declaration-item-and-skip-to-next):
7502         Don't require underscore in word before double open-paren.
7504 2003-02-02  John Paul Wallington  <jpw@gnu.org>
7506         * hexl.el (hexl-mode-map): Bind C-m to `hexl-self-insert-command'.
7508 2003-02-01  Stephen Gildea  <gildea@stop.mail-abuse.org>
7510         * time-stamp.el: Tweak doc strings and preamble commentary.
7511         (time-stamp): Fix parsing of "%%a" in time-stamp-pattern (change
7512         regexp subpattern 5)
7513         (time-stamp-pattern): Initialize to nil to avoid regexp work in
7514         default case.
7515         (time-stamp-string): Call set-time-zone-rule instead of setenv
7516         (time-stamp-hhmmss): Remove (not needed after all).
7517         (time-stamp-month-dd-yyyy, time-stamp-dd/mm/yyyy)
7518         (time-stamp-mon-dd-yyyy, time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
7519         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd, time-stamp-yymmdd)
7520         (time-stamp-hh:mm:ss, time-stamp-hhmm): Make obsolete.
7522 2003-01-31  Stefan Monnier  <monnier@cs.yale.edu>
7524         * cus-edit.el (custom-unlispify-menu-entry): Use with-current-buffer.
7525         (custom-save-variables): Use dolist, simplify.
7526         Output a message if a `requests' entry looks suspicious.
7527         (custom-save-faces): Use dolist, simplify.
7529 2003-01-31  Christoph Wedler  <Christoph.Wedler@sap.com>
7531         * antlr-mode.el: Bug fixes, miscellaneous.
7532         (antlr-mode): Make major mode work with cc-mode-5.29 or higher,
7533         make it more rubust against changes in cc-mode's style variables
7534         by using `boundp' and function `c-init-language-vars' if defined.
7535         (antlr-c++-mode-extra): Only ask if language is not "Cpp".
7536         (antlr-read-value): With completion, ignore case.
7537         (antlr-run-tool-interactive): New function.
7538         (antlr-run-tool): Use it for `interactive' specification.
7540         * antlr-mode.el: Simplify Emacs/XEmacs compatibility.
7541         (cond-emacs-xemacs): New compile-time macro.
7542         (defunx): New compile-time macro.
7543         (ignore-errors-x): New compile-time macro.
7544         (save-buffer-state-x): New compile-time macro.
7546         (antlr-scan-sexps, antlr-simple-scan-sexps): Deletia.
7547         (antlr-scan-lists, antlr-simple-scan-sexps): Deletia.
7548         (antlr-simple-default-directory): Deletia.
7549         (antlr-default-directory): Define directly.
7550         (antlr-simple-read-shell-command): Deletia.
7551         (antlr-read-shell-command): Define directly.
7552         (antlr-simple-with-displaying-help-buffer): Deletia.
7553         (antlr-with-displaying-help-buffer): Define directly.
7554         (antlr-fast-invalidate-context-cache): Deletia.
7555         (antlr-slow-invalidate-context-cache): Deletia.
7556         (antlr-invalidate-context-cache): Define directly.
7557         (antlr-fast-syntactic-context): Deletia.
7558         (antlr-slow-syntactic-context): Deletia.
7559         (antlr-syntactic-context): Define directly.
7561         (antlr-mode-menu): Use new macros.
7562         (antlr-font-lock-additional-keywords): Ditto.
7563         (antlr-skip-sexps): Ditto.
7564         (antlr-end-of-rule): Ditto.
7565         (antlr-beginning-of-rule): Ditto.
7566         (antlr-end-of-body): Ditto.
7567         (antlr-beginning-of-body): Ditto.
7568         (antlr-hide-actions): Ditto.
7569         (antlr-option-kind): Ditto.
7571         * antlr-mode.el: In Emacs, use face attribute :weight, not :bold.
7572         (antlr-font-lock-keyword-face): Use new macros.
7573         (antlr-font-lock-syntax-face): Ditto.
7574         (antlr-font-lock-ruledef-face): Ditto.
7575         (antlr-font-lock-tokendef-face): Ditto.
7576         (antlr-font-lock-literal-face): Ditto.
7578         Changes from 2002-05-24:
7580         * antlr-mode.el: Version 2.2a.
7582         Changes from 2002-05-03:
7584         * antlr-mode.el: Make context parsing faster on Emacs, for faster
7585         syntax highlighting, indentation and imenu support.
7586         Suggested by Aaron Davies <adavies42@users.sourceforge.net>.
7587         (antlr-slow-context-cache): New variable.
7588         (antlr-slow-syntactic-context): Use cache.
7589         (antlr-slow-cache-enabling-symbol): New internal variable.
7590         (antlr-slow-cache-diff-threshold): New variable.
7591         (antlr-fast-invalidate-context-cache): Renamed from
7592         antlr-xemacs-bug-workaround.
7593         (antlr-imenu-create-index-function): Search from beginning.
7595         * antlr-mode.el: More sophisticated indentation, i.e., use the
7596         indentation engine of cc-mode for most actions.
7597         (antlr-c-common-init): Allow nil for `antlr-indent-style'.
7598         (antlr-indent-line): Use indentation engine of cc-mode more often.
7599         (antlr-indent-at-bol-alist): Only used for header actions.
7600         (antlr-disabling-cc-syntactic-symbols): New variable.
7601         (antlr-indent-item-regexp): Delete stuff for actions.
7602         (antlr-indent-at-bol-alist): With language "Java", indent
7603         "package" and "import" at column 0 in header part.
7605         * antlr-mode.el (antlr-simple-default-directory): Define.
7606         (antlr-simple-read-shell-command): Define.
7607         (antlr-simple-with-displaying-help-buffer): Define.
7608         (antlr-simple-scan-sexps, antlr-simple-scan-lists):
7609         Renamed from antlr-scan-{sexps,lists}-internal.
7611         Changes from 2002-02-28:
7613         * antlr-mode: Version 2.2 is released.
7615         * antlr-mode.el (antlr): Moved to SourceForge.net
7617         * antlr-mode.el: Minor bug fixes: insert options and indentation.
7618         (antlr-option-location): Don't use point as position where to
7619         insert options if point is in comment.
7620         (antlr-mode): Don't set style here.
7621         (antlr-c-common-init): Set style here.  If boundp, set
7622         `c-current-comment-prefix' to not break indentation in comments.
7623         Hm, I should probably split `c-common-init' from cc-mode into two
7624         parts, one of which I could use for antlr-mode.el.
7626         Changes from 2002-01-31:
7628         * antlr-mode.el (antlr-font-lock-additional-keywords):
7629         Also hightlight `~' with `antlr-font-lock-syntax-face'.
7630         Suggested by Helmut Neukirchen <neukirchen@itm.mu-luebeck.de>.
7632 2003-01-31  Joe Buehler  <jhpb@draco.hekimian.com>
7634         * comint.el:
7635         * dired-aux.el:
7636         * dired.el:
7637         * dirtrack.el:
7638         * dos-w32.el:
7639         * fast-lock.el:
7640         * filecache.el:
7641         * files.el:
7642         * hippie-exp.el:
7643         * international/mule.el:
7644         * net/browse-url.el:
7645         * pcomplete.el:
7646         * recentf.el:
7647         * shell.el:
7648         * woman.el: Added cygwin to system-type comparisons.
7650 2003-01-31  Francesco Potort\e,Al\e(B  <pot@gnu.org>
7652         * mail/undigest.el (rmail-forward-separator-regex): New custom
7653         variable.
7654         (unforward-rmail-message): Use it.
7656 2003-01-30  Dave Love  <fx@gnu.org>
7658         * textmodes/ispell.el (lookup-words): Fix last change.
7660 2003-01-29  John Paul Wallington  <jpw@gnu.org>
7662         * font-lock.el (lisp-font-lock-keywords-1): Match `deftheme'.
7664         * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
7665         `deftheme'.  Fix docstring offsets for `define-ibuffer-filter' and
7666         `define-ibuffer-sorter'.
7667         (lisp-imenu-generic-expression): Add `deftheme' to types.
7669         * custom.el (customize-mark-to-save, customize-mark-as-set)
7670         (custom-remove-theme): Doc fixes.
7672 2003-01-29  Didier Verna  <didier@xemacs.org>
7674         * cus-edit.el (custom-save-variables): Also save non theme'd ones.
7675         * cus-edit.el (custom-save-faces): Ditto.
7677 2003-01-29  Juanma Barranquero  <lektu@terra.es>
7679         * composite.el (decompose-composite-char): Fix docstring.
7681         * select.el (x-set-cut-buffer): Fix docstring.  Check type with
7682         `stringp' instead of `substring'.
7684         * textmodes/reftex.el (reftex-TeX-master-file): Use really the buffer
7685         file name if no other master file is located.
7687         * progmodes/cperl-mode.el (cperl-beautify-level)
7688         (cperl-beautify-regexp): Fix use of `prefix-numeric-value'.
7689         (cperl-calculate-indent): Fix typo.
7691 2003-01-29  Taro Kawagishi  <tarok@transpulse.org>
7693         * arc-mode.el (archive-lzh-summarize): Fix previous change.
7695 2003-01-29  Kim F. Storm  <storm@cua.dk>
7697         * emacs-lisp/authors.el: New format of AUTHORS file; list each
7698         author name once followed by contributed and changed files.
7699         Improve selection of entries to include in list, and generate list
7700         of unrecognized entries indicating syntax errors in ChangeLog files.
7701         (authors-coding-system): New variable.
7702         (authors-many-files): Update doc string.
7703         (authors-aliases): Change format. Now one entry with multiple
7704         aliases per author.
7705         (authors-valid-file-names, authors-renamed-files-alist)
7706         (authors-renamed-files-regexps): New variables.
7707         (authors-canonical-file-name): New function.  Validates that file
7708         exists or occurs in one of the above lists.  Record unrecognized
7709         file names in global authors-invalid-file-names list.
7710         (authors-add): Change to record per-change counts.
7711         (authors-canonical-author-name): Handle new format of
7712         authors-aliases list.
7713         (authors-scan-change-log): Rename FILE arg to LOG-FILE.
7714         Change doc string to describe new entry format.
7715         Only add author entries for valid file names.
7716         (authors-print): Replace by authors-add-to-author-list.
7717         (authors-add-to-author-list): New function which reorders
7718         per-file entries and adds them to global authors-author-list.
7719         (authors): Instead of authors-print to insert in *Authors* buffer,
7720         use authors-add-to-author-list to reorder the list and then
7721         insert result in *Authors* buffer with new format.
7722         Generate *Authors Errors* compilation-mode buffer listing
7723         unrecognized ChangeLog entries.
7725 2003-01-28  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
7727         * term/mac-win.el: Add entries in function-key-map for
7728         [tab], [backspace], [escape].
7730 2003-01-28  Kim F. Storm  <storm@cua.dk>
7732         * info.el (Info-extract-menu-node-name): Another fix for
7733         2003-01-24 change.  Also stop search if : is followed by TAB.
7735 2003-01-28  John Paul Wallington  <jpw@gnu.org>
7737         * ibuf-ext.el (ibuffer-yank-filter-group): Move check for empty
7738         `ibuffer-filter-group-kill-ring' out of `interactive' declaration.
7740 2003-01-28  Martin Stjernholm  <bug-cc-mode@gnu.org>
7742         * progmodes/cc-vars.el, progmodes/cc-mode.el
7743         (c-require-final-newline): Made this variable an alist to
7744         specify a value for each language.  The default value causes
7745         `require-final-newline' to be set to t only in languages where
7746         the standard requires a final newline.
7748 2003-01-27  Kim F. Storm  <storm@cua.dk>
7750         * simple.el (kill-new): Improve doc string for yank-handler.
7751         Signal args-out-of-range error if yank-handler is specified for
7752         an empty string.
7754         * subr.el (insert-for-yank): Remove COMMAND element from yank handler.
7756 2003-01-27  Dave Love  <fx@gnu.org>
7758         * dired-x.el (dired-filename-at-point): Fix last change and tidy up.
7760         * thingatpt.el (thing-at-point-file-name-chars):
7761         Include non-ASCII again and re-write the filename ops.
7763 2003-01-27  David Ponce  <david@dponce.com>
7765         * makefile.w32-in (update-subdirs-SH): Create lisp/subdirs.el.
7767 2003-01-27  Juanma Barranquero  <lektu@terra.es>
7769         * filesets.el (filesets-file-open): Fix typo.
7771         * vcursor.el (vcursor-disable): Likewise.
7773         * eshell/esh-cmd.el (eshell-separate-commands): Likewise.
7775         * progmodes/cc-styles.el (c-make-styles-buffer-local): Likewise.
7777         * progmodes/cc-vars.el (c-offsets-alist): Likewise.
7779         * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Likewise.
7781 2003-01-26  Martin Stjernholm  <bug-cc-mode@gnu.org>
7783         * progmodes/cc-vars.el, progmodes/cc-mode.el
7784         (c-require-final-newline): Add a variable to make the
7785         initialization of `require-final-newline' more configurable.
7787 2003-01-26  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
7789         * emacs-lisp/authors.el (authors-aliases): Add Jan D.
7790         Set iso-2022-7bit coding: cookie.
7792 2003-01-26  Kim F. Storm  <storm@cua.dk>
7794         * info.el (Info-extract-menu-node-name): Fix 2003-01-24 change.
7795         Don't search for next colon if current colon is followed by
7796         one of ".", ",", ";", or ")".
7797         (info-insert-file-contents) [!MSDOS]: Avoid byte-compiler warning.
7798         (Info-find-node) [!MSDOS]: Avoid byte-compiler warning.
7800 2003-01-26  Richard M. Stallman  <rms@gnu.org>
7802         * thingatpt.el (thing-at-point-file-name-chars): Undo previous change.
7804 2003-01-25  Bill Wohler  <wohler@newt.com>
7806         * mh-e: Created directory. ChangeLog will appear in a week when we
7807         release version 7.2.
7809         * mail/mh-alias.el, mail/mh-comp.el, mail/mh-customize.el, mail/mh-e.el,
7810         mail/mh-funcs.el, mail/mh-identity.el, mail/mh-index.el,
7811         mail/mh-loaddefs.el, mail/mh-mime.el, mail/mh-pick.el,
7812         mail/mh-seq.el, mail/mh-speed.el, mail/mh-utils.el,
7813         mail/mh-xemacs-compat.el: Moved to mh-e directory.
7814         Note that reply2.pbm and reply2.xpm, which were created by the
7815         MH-E package, were left in mail since they can probably be used by
7816         other mail packages.
7818         * makefile.w32-in (WINS): Add mh-e.
7820         * makefile.nt (WINS): Add mh-e.
7822 2003-01-25  Richard M. Stallman  <rms@gnu.org>
7824         * emacs-lisp/bytecomp.el (byte-compile-file-form-custom-declare-variable):
7825         Compile any lambda-expressions among the args.
7827         * view.el (view-mode): Doc fix.
7829         * ido.el: Many doc fixes.
7830         (ido-complete): Fix message.
7832 2003-01-25  Taro Kawagishi  <tarok@transpulse.org>
7834         * arc-mode.el (archive-unixdate): Correct the date field string.
7835         (archive-lzh-summarize): Extend it to allow the LZH level 2 header
7836         type (which is most prevalent now), in addition to the already
7837         supported level 0 and 1 header types.
7839 2003-01-25  Markus Rost  <rost@math.ohio-state.edu>
7841         * international/mule-cmds.el (set-language-info)
7842         (current-language-environment): Simplify setting the type of
7843         current-language-environment.
7845 2003-01-25  Kim F. Storm  <storm@cua.dk>
7847         * emulation/cua-base.el (cua--init-keymaps): Move C-S-x and C-S-c
7848         bindings from cua--cua-keys-keymap to cua--region-keymap, as they are
7849         only needed when the region is active.  This also makes the output
7850         from C-h b look normal when cua-mode is enabled (no C-S-x/c bindings).
7852 2003-01-25  Michael Kifer  <kifer@cs.stonybrook.edu>
7854         * ediff.el (ediff-revision): Better defaults.
7856         * ediff-vers.el (ediff-vc-latest-version): New function.
7857         (ediff-vc-internal): Use latest version instead of working version.
7859 2003-01-24  Thien-Thi Nguyen  <ttn@gnu.org>
7861         * info.el (Info-extract-menu-node-name): When looking for end of menu
7862         item, don't stop at first ":"; instead, continue until trailing
7863         context is either a space or newline.
7864         (Info-complete-menu-item): Var `pattern': allow ":" in menu item.
7865         (Info-menu): Likewise, for regexp used in backwards search.
7866         (Info-try-follow-nearest-node): Remove case added in previous edit.
7867         Change regexp in the following case to allow ":" in menu item.
7868         (Info-fontify-node): Fix bug: Handle `next-property-change' returning
7869         point-max as "hasn't already been done".
7871 2003-01-24  Thien-Thi Nguyen  <ttn@gnu.org>
7873         * info.el (Info-try-follow-nearest-node): Add case: Handle menu item
7874         terminated by ": " as an index entry.
7876 2003-01-24  Juanma Barranquero  <lektu@terra.es>
7878         * isearch.el (isearch-forward): Fix typo.
7880 2003-01-24  Kenichi Handa  <handa@m17n.org>
7882         * international/mule.el (decode-coding-inserted-region):
7883         Rename from decode-coding-region-as-inserted-from-file to make it fit
7884         well in the Lisp manual.
7886         * jka-compr.el (jka-compr-insert-file-contents):
7887         Call docode-coding-inserted-region.
7889 2003-01-24  John Paul Wallington  <jpw@gnu.org>
7891         * ibuffer.el (ibuffer-window-list): Remove.
7892         (ibuffer-confirm-operation-on): Use `window-list' instead.
7893         (ibuffer-load-hook): New customizable variable.
7894         (toplevel): Run it.
7895         (ibuffer-customize): New command.
7896         (ibuffer-mode-map): Bind it.
7897         (ibuffer-mode-map): Add menu seperator in View>Sort menu.
7898         (ibuffer-mode): Tidy.
7899         (ibuffer-fontification-alist, ibuffer-always-show-last-buffer)
7900         (ibuffer-default-directory, ibuffer-default-sorting-mode)
7901         (ibuffer-maybe-show-predicates, ibuffer-hook, ibuffer-mode-hook)
7902         (ibuffer-map-lines): Doc fixes.
7904         * ibuf-ext.el (ibuffer-copy-filename-as-kill): C-u means relative
7905         filenames.  Use `kill-new'.
7907 2003-01-23  Dave Love  <fx@gnu.org>
7909         * abbrev.el (write-abbrev-file): Simplify, and put a coding cookie
7910         in the file.
7912 2003-01-23  Masatake YAMATO  <jet@gyve.org>
7914         * progmodes/asm-mode.el (asm-mode): Add syntax table entries for
7915         /* */ comments.
7917 2003-01-23  Kenichi Handa  <handa@m17n.org>
7919         * files.el (insert-directory): Read the output of "ls" by
7920         no-conversion, and decode it later while preserving
7921         `dired-filename' property.
7923 2003-01-23  Markus Rost  <rost@math.ohio-state.edu>
7925         * descr-text.el (describe-text-mode-hook): Add a group.
7927 2003-01-23  John Paul Wallington  <jpw@shootybangbang.com>
7929         * term/mac-win.el (interprogram-paste-function): Handle empty
7930         clipboard.
7932 2003-01-22  Aubrey Jaffer  <agj@alum.mit.edu>  (tiny change)
7934         * info.el (Info-index): Change pattern so that index entries with
7935         colons can be read properly; also, require at least one space
7936         after the colons, which makeinfo puts in.
7938 2003-01-22  Andreas Schwab  <schwab@suse.de>
7940         * jka-compr.el (jka-compr-insert-file-contents): Fix typo in last
7941         change.
7943 2003-01-22  Markus Rost  <rost@math.ohio-state.edu>
7945         * Makefile.in (bootstrap-after): New target.
7946         (bootstrap): Move finder-data, custom-deps to bootstrap-after.
7948 2003-01-22  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
7950         * info.el (Info-index-next): Use "(`,' tries to find next)" for
7951         more matches for consistency with standalone info browser.
7953 2003-01-22  Kenichi Handa  <handa@m17n.org>
7955         * international/mule.el
7956         (decode-coding-region-as-inserted-from-file): New function.
7958         * jka-compr.el (jka-compr-insert-file-contents): Read a process
7959         output without decoding.  Decode the result by
7960         decode-coding-region-as-inserted-from-file.
7962 2003-01-22  Kim F. Storm  <storm@cua.dk>
7964         * ido.el (ido-make-file-list, ido-make-dir-list): Don't move
7965         visited directories to end of list; it's the wrong thing to do if
7966         we want to find a file or directory in such directories.
7968         * simple.el: Doc fixes.
7969         * subr.el: Doc fixes.
7971 2003-01-20  Nick Roberts  <nick@nick.uklinux.net>
7973         * gud.el (gud-display-line): If the current file is newer than its
7974         buffer, offer to reread the file.
7975         (gud-keep-buffer): New buffer local variable. Ensures offer to
7976         reread file is made just once.
7978 2003-01-20  Stefan Monnier  <monnier@cs.yale.edu>
7980         * emacs-lisp/regexp-opt.el (regexp-opt-group): Undo last change.
7981         Fix the docstring instead.
7983 2003-01-20  Glenn Morris  <gmorris@ast.cam.ac.uk>
7985         * calendar/calendar.el (calendar-only-one-frame-setup): Autoload it.
7987 2003-01-20  Richard M. Stallman  <rms@gnu.org>
7989         * simple.el (completion-setup-function): Set default-directory
7990         in the minibuffer, so it'll be copied into the completion list buffer.
7992         * emacs-lisp/regexp-opt.el (regexp-opt-group): Compute HALF2 properly.
7994         * loadup.el (load-path): Rename `path' local var.
7996         * progmodes/octave-mod.el (octave-mode-map): Change C-c i bindings
7997         to C-c C-i.  Duplicate its bindings with last char a ctl char.
7998         Also change C-c f to C-c C-f.
8000 2003-01-20  Markus Rost  <rost@math.ohio-state.edu>
8002         * ls-lisp.el (ls-lisp-use-insert-directory-program): Make default
8003         value system dependent.
8004         (ls-lisp-support-shell-wildcards): Add autoload cookie.
8006 2003-01-19  Kim F. Storm  <storm@cua.dk>
8008         * msb.el: Use `dir' instead of `path' everywhere.
8010 2003-01-18  Kim F. Storm  <storm@cua.dk>
8012         * simple.el (kill-new, kill-append, kill-region):
8013         New optional parameter yank-handler.
8014         (yank-excluded-properties): Add yank-handler to list.
8015         (yank-undo-function): New variable.
8016         (yank): Use it to undo previous yank or yank-pop command.
8017         Allow insert-for-yank to override this-command.
8019         * subr.el (insert-for-yank): Arg list changed; now only accepts one
8020         string rather than any number of strings; no callers needed change.
8021         Use yank-handler text property on the arg string.
8022         Set yank-undo-function variable appropriately for yank-pop.
8024 2003-01-18  Stefan Monnier  <monnier@cs.yale.edu>
8026         * textmodes/fill.el (fill-comment-paragraph): Fix simplistic
8027         regexp-concatenation.
8029         * add-log.el (add-change-log-entry): Don't leave space at eol.
8030         (add-log-current-defun): Perl functions names can't have (or {.
8032         * progmodes/sh-script.el (sh-indent-line): Use indent-line-to.
8033         (sh-non-closing-paren): New const.
8034         (sh-case, sh-while-getopts): Use it to make props non-sticky.
8035         (sh-add-completer): Use test-completion.
8037 2003-01-18  Vasily Korytov  <deskpot@myrealbox.com>  (tiny change)
8039         * progmodes/cperl-mode.el: Don't make faces depend on window-system.
8041 2003-01-18  Markus Rost  <rost@math.ohio-state.edu>
8043         * cus-edit.el (customize-changed-options): Undo last doc change.
8045 2003-01-17  Stefan Monnier  <monnier@cs.yale.edu>
8047         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
8048         Don't treat \n specially in sub-skeletons.
8050 2003-01-17  Dave Love  <fx@gnu.org>
8052         * international/ucs-tables.el: Redo 8859-6 change in the right place.
8054 2003-01-17  Kenichi Handa  <handa@m17n.org>
8056         * international/fontset.el: Don't setup the default fontset and
8057         font-encoding-alist at the top level.
8058         (setup-default-fontset): New function.
8059         (create-fontset-from-fontset-spec): Delete autoload cookie.
8061         * term/x-win.el: Require fontset unconditionally again.
8062         Call setup-default-fontset at the top level.
8064         * term/w32-win.el: Call setup-default-fontset.
8066         * term/mac-win.el: Require fontset and call setup-default-fontset.
8068 2003-01-16  Stefan Monnier  <monnier@cs.yale.edu>
8070         * textmodes/fill.el (fill-region-as-paragraph): Only erase `hard'
8071         property until end-of-paragraph.
8073 2003-01-16  Kenichi Handa  <handa@m17n.org>
8075         * international/ucs-tables.el: Undo the last change.
8077 2003-01-15  Dave Love  <fx@gnu.org>
8079         * thingatpt.el (thing-at-point-file-name-chars): Include non-ASCII
8080         and use documented treatment of -.
8082         * dired-x.el (dired-filename-at-point): Fix filename-chars.
8084         * international/ucs-tables.el: Set up tables for 8859-6.
8086         * server.el (server-window): Customize.
8087         (server-mode): New.
8088         (server-unload-hook): Call server-start.
8090 2003-01-15  John Wiegley  <johnw@gnu.org>
8092         * eshell/em-hist.el (eshell-save-history-on-exit):
8093         Rename `eshell-ask-to-save-history' to `eshell-save-history-on-exit',
8094         because the former name is somewhat unrelated to the variables'
8095         possible values.
8097 2003-01-15  Deepak Goel  <deego@gnufans.org>
8099         * calc/README: Add new maintainer.
8101         * calc/*: Ditto.
8103         * calc/calc.el (calc-bug-address): Change address to deego@gnufans.org.
8105 2003-01-15  Andrew Innes  <andrewi@gnu.org>
8107         * makefile.w32-in (loaddefs.el): Invoke make to build stub file
8108         using appropriate rule for build environment.
8109         (loaddefs.el-SH, loaddefs.el-CMD): New targets.  Include small set
8110         of autoloads and defvars, sufficient to dump bootstrap emacs.
8111         (update-subdirs-SH): Use hard-coded list of top-level lisp
8112         subdirs, because find program on Windows is not compatible with
8113         Unix find.
8114         (compile-CMD, compile-SH): Use `batch-byte-compile-if-not-done'.
8115         Explicitly load loaddefs.el so that bootstrap emacs can compile
8116         properly.
8117         (bootstrap-clean): Add dependency on loaddefs.el, to ensure
8118         minimal stub sufficient for dumping bootstrap emacs is available.
8120         * loadup.el: Include lisp/textmodes in load-path for bootstrap
8121         emacs, to resolve ispell menu reference.
8123 2003-01-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>  (tiny change)
8125         * international/mule.el (optimize-char-coding-system-table):
8126         Optimize it.
8128         * term/mac-win.el: Setup the fontset "fontset-mac" correctly.
8130 2003-01-14  Stefan Monnier  <monnier@cs.yale.edu>
8132         * pcvs-info.el (cvs-fileinfo-from-entries): Deal with Solaris'
8133         occasional use of "05" rather than " 5" for day-of-month.
8135         * log-view.el (log-view-message-re): The rev might be locked.
8137 2003-01-14  Nick Roberts  <nick@nick.uklinux.net>
8139         * gdb-ui.el: Improve commentary.
8140         (gdb-window-height, gdb-window-width, gdb-display-number-end):
8141         Customize the dimensions of frames for displayed expressions.
8142         (gdb-error-begin): Comment out because it is not used because of
8143         bug/quirk in annotations.
8144         (gdb-reset): Use with-current-buffer.
8146 2003-01-14  Kim F. Storm  <storm@cua.dk>
8148         * ido.el (ido-read-internal, ido-file-internal)
8149         (ido-copy-current-file-name, ido-wide-find-dirs-or-files):
8150         Don't use `path' as name of local variables holding a file name.
8152         * arc-mode.el (archive-arc-rename-entry): Fix error message.
8153         (archive-lzh-summarize): Rename local var `path' to `dir'.
8154         (archive-unique-fname) [!MSDOS]: Avoid byte-compiler warning.
8156         * dired.el: Doc fixes.
8157         * dired-aux.el: Rename `whole-path' to `whole-name' throughout.
8158         (dired-mark-read-regexp): Use "Abs." prefix instead of "Path".
8159         * dired-x.el: Doc fixes.
8161         * fast-lock.el (fast-lock-cache-name): Doc fix.
8163         * net/browse-url.el (browse-url-filename-alist): Doc fix.
8165 2003-01-14  John Paul Wallington  <jpw@shootybangbang.com>
8167         * apropos.el (apropos): Restore autoload cookie.  Fix typo in
8168         "error retrieving function documentation" output.
8170 2003-01-14  Kim F. Storm  <storm@cua.dk>
8172         * subr.el (process-put, process-get): New functions.
8174         * simple.el (clone-process): Copy process' plist to new process.
8176 2003-01-13  Markus Rost  <rost@math.ohio-state.edu>
8178         * cus-dep.el (custom-make-dependencies):  Don't set standard-value
8179         and version numbers for variables.  Handle faces.
8181         * cus-edit.el (customize-changed-options):  Doc addition.  Load the
8182         version deps earlier.  Use other tests for groups and variables.
8183         Handle faces.
8185 2003-01-14  Kim F. Storm  <storm@cua.dk>
8187         * ido.el: Doc fixes.
8188         (ido-max-file-prompt-width): Rename from ido-max-prompt-path.
8189         (ido-rewrite-file-prompt-functions): Rename from
8190         ido-make-file-prompt-hook.  Directory name is now in dynamic
8191         variable `dirname' (instead of `path').
8192         (ido-rewrite-file-prompt-rules): Rename from
8193         ido-rewrite-prompt-path-rules.
8194         (ido-make-prompt): Directory name now in `dirname' var.
8195         (ido-complete): Fix error message.
8197 2003-01-13  John Paul Wallington  <jpw@shootybangbang.com>
8199         * server.el (server-process-filter): Use `minibufferp' to test
8200         whether we are inside a minibuffer.
8201         (server-process, server-kill-new-buffers): Doc fixes.
8203 2003-01-13  Dave Love  <fx@gnu.org>
8205         * international/utf-16.el (mule-utf-16-be, mule-utf-16-le):
8206         Remove pre-write-conversion.
8208 2003-01-13  Kim F. Storm  <storm@cua.dk>
8210         * hexl.el (hexl-mode-map): Don't quote remapped command names.
8212 2003-01-13  David Ponce  <david@dponce.com>
8214         * ruler-mode.el (ruler-mode): Cleanup buffer local variable
8215         `header-line-format' if it didn't exist when `ruler-mode' was enabled.
8217 2003-01-13  Masatake YAMATO  <jet@gyve.org>
8219         * ruler-mode.el (ruler-mode-comment-column-char)
8220         (ruler-mode-goal-column-char, ruler-mode-set-goal-column-ding-flag)
8221         (ruler-mode-mouse-current-grab-object): New variables.
8222         (ruler-mode-comment-column-face, ruler-mode-goal-column-face):
8223         New faces.
8224         (ruler-mode-mouse-set-fill-column): Removed.
8225         (ruler-mode-mouse-grab-any-column)
8226         (ruler-mode-mouse-drag-any-column-iteration)
8227         (ruler-mode-mouse-drag-any-column): New functions.
8228         (ruler-mode-map): [header-line down-mouse-2] Bound to
8229         `ruler-mode-mouse-grab-any-column' instead of
8230         `ruler-mode-mouse-set-fill-column'.
8231         (ruler-mode-ruler-help-echo): Update its value.
8232         (ruler-mode-ruler-help-echo-when-goal-column): New help string used
8233         when goal-column is already set.
8234         (ruler-mode-ruler-help-echo-tab): Rename to...
8235         (ruler-mode-ruler-help-echo-when-tab-stops): New.
8236         (ruler-mode-fill-column-help-echo, ruler-mode-comment-column-help-echo)
8237         (ruler-mode-goal-column-help-echo): New help strings.
8238         (ruler-mode-ruler): Use `ruler-mode-ruler-help-echo-when-goal-column'
8239         instead of `ruler-mode-ruler-help-echo' if `goal-column' is set.
8240         Show `comment-column' and `goal-column'.  Echo the different help
8241         string for each *-column characters on the ruler.
8243 2003-01-13  Richard M. Stallman  <rms@gnu.org>
8245         * apropos.el (apropos-documentation-property): New function.
8246         (apropos): Use apropos-documentation-property.
8248         * files.el (mode-line-process): Mark as risky.
8250         * help.el (where-is): Catch errors in indirect-function.
8252         * server.el (server-process-filter): Comment out -eval.
8253         Don't switch buffers if inside isearch or minibuffer.
8255         * progmodes/compile.el (compilation-revert-buffer):
8256         If buffer has a file, revert it in the normal way.
8258         * term/x-win.el: Require fontset conditionally again.
8260 2003-01-13  Kim F. Storm  <storm@cua.dk>
8262         * ido.el (ido-enable-tramp-completion): New defcustom.
8263         (ido-enter-single-matching-directory): Change default to 'slash.
8264         (ido-is-tramp-root): New defun.
8265         (ido-is-root-directory, ido-is-ftp-directory, ido-is-slow-ftp-host)
8266         (ido-may-cache-directory, ido-final-slash, ido-read-internal)
8267         (ido-complete, ido-make-file-list1, ido-make-dir-list1):
8268         Handle tramp completion.
8269         (ido-file-name-all-completions1): New defun for tramp completion.
8270         (ido-file-name-all-completions): Use it.
8271         (ido-set-matches1): Relax matching of text with trailing slash.
8272         (ido-exhibit): Handle tramp completion.
8273         Simplified code using nested cond forms using new `refresh' var.
8274         Fixed handling of /~user/ paths.
8276 2003-01-12  Andreas Schwab  <schwab@suse.de>
8278         * arc-mode.el (archive-mode-map): Use command remapping instead of
8279         substitute-key-definition.
8280         * emerge.el (emerge-setup-fixed-keymaps): Likewise.
8281         * msb.el (msb-mode-map): Likewise.
8282         * forms.el (forms--change-commands): Likewise.
8283         * hexl.el (hexl-mode-map): Likewise.
8284         * mail/mailabbrev.el (Commentary): Likewise.
8285         * play/decipher.el (decipher-mode-map): Likewise.
8286         * play/gomoku.el (gomoku-mode-map): Likewise.
8287         * play/landmark.el (lm-mode-map): Likewise.
8288         * play/solitaire.el (solitaire-mode-map): Likewise.
8289         * progmodes/sh-script.el (sh-mode-map): Likewise.
8290         * textmodes/picture.el (picture-substitute): Likewise.
8292         * ielm.el (inferior-emacs-lisp-mode):
8293         Bind comint-dynamic-complete-functions locally.
8295         * buff-menu.el (Buffer-menu-select): Fix for effect of header line.
8297 2003-01-11  Andreas Schwab  <schwab@suse.de>
8299         * textmodes/sgml-mode.el (sgml-font-lock-keywords-2): Add flag to
8300         merge with existing fontification.
8302 2003-01-11  Nick Roberts  <nick@nick.uklinux.net>
8304         * gud.el (gud-kill-buffer-hook): Save gud-minor-mode type.
8305         (gud-reset): New function. Reset environment at end of debugging.
8306         (gud-sentinel): Call gud-reset or gdb-reset.
8307         (gud-menu-map, gud-tool-bar-map, gdb): Change gud-goto to gud-until.
8309         * gdb-ui.el (gud-display): Use GDB command ptype instead of whatis
8310         to find out if variable shuld be dereferenced.
8311         (gud-display1): Exit if there is `No symbol'.
8312         (gdb-expressions-mode-map): Correction to key-binding.
8313         (gdb-reset): New function. Reset environment at end of debugging.
8314         (gdb-quit): Remove.
8316 2003-01-10  Dave Love  <fx@gnu.org>
8318         * international/code-pages.el (cp-make-coding-system): Fix last change.
8320 2003-01-10  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
8322         * dired.el (dired-garbage-files-regexp): Use \\' instead of $ and
8323         use regexp-opt for readability.
8325 2003-01-10  Mark A. Hershberger  <mah@everybody.org>
8327         * xml.el (xml-parse-tag, xml-parse-attlist, xml-skip-dtd)
8328         (xml-parse-dtd, xml-parse-elem-type): Be more flexible in recognizing
8329         empty elements.
8331 2003-01-10  Luc Teirlinck  <teirllm@mail.auburn.edu>
8333         * progmodes/sh-script.el (sh-set-shell): Make sh-shell-file the default
8334         shell.
8336 2003-01-09  John Wiegley  <johnw@gnu.org>
8338         * pcomplete.el (pcomplete-termination-string): Add a variable
8339         for modifying the string which is inserted after a completion or
8340         expansion using pcomplete.
8342 2003-01-09  Karl Berry  <karl@gnu.org>
8344         * sort.el (sort-regexp-fields): Pass noerror to re-search-forward,
8345         so that we don't fail if no records match record-regexp.
8347 2003-01-09  Markus Rost  <rost@math.ohio-state.edu>
8349         * cus-edit.el (customize-group, customize-group-other-window):
8350         Remove unnecessary calls to custom-load-symbol.
8351         (custom-group-value-create):
8352         Load widget deps if state is not hidden.  If widget deps are
8353         loaded, load them in advance.
8354         (custom-menu-create): If widget deps are loaded, load them earlier.
8356 2003-01-09  John Paul Wallington  <jpw@shootybangbang.com>
8358         * language/ethio-util.el (ethio-gemination)
8359         (exit-ethiopic-environment): Doc fixes.
8361         * language/viet-util.el (viet-encode-viqr-region)
8362         (viet-decode-viqr-region, viet-encode-viqr-buffer)
8363         (viet-decode-viqr-buffer): Doc fixes.
8365 2003-01-09  ShengHuo ZHU  <zsh@cs.rochester.edu>
8367         * paths.el: Remove gnus-startup-file.
8369 2003-01-08  Bill Wohler  <wohler@newt.com>
8371         * mail/mh-alias.el, mail/mh-customize.el, mail/mh-identity.el,
8372         mail/mh-loaddefs.el, toolbar/alias.pbm, toolbar/alias.xpm: Added.
8374         * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el,
8375         mail/mh-index.el, mail/mh-mime.el, mail/mh-pick.el,
8376         mail/mh-seq.el, mail/mh-speed.el, mail/mh-utils.el,
8377         mail/mh-xemacs-compat.el: Upgraded to MH-E version 7.1.
8379 2003-01-08  Kim F. Storm  <storm@cua.dk>
8381         * mail/undigest.el (unforward-rmail-message): Don't use global
8382         variable `n'.
8384 2003-01-08  Francesco Potort\e,Al\e(B  <pot@gnu.org>
8386         * mail/undigest.el (unforward-rmail-message): Simplified.
8387         No functional change.
8389 2003-01-07  Markus Rost  <rost@math.ohio-state.edu>
8391         * custom.el (custom-autoload, custom-variable-p): New functions.
8393         * emacs-lisp/autoload.el (make-autoload):
8394         Generate custom-autoload for autoloaded defcustoms.
8396         * help-fns.el (describe-variable): Use custom-variable-p.
8398         * simple.el (set-variable): Load deps of custom variables without type.
8400         * cus-edit.el (custom-variable-prompt): Doc change.
8401         Use custom-variable-p.
8402         (customize-option): Remove search in loaddefs.el.
8403         (customize-apropos):  Use custom-variable-p.
8404         (custom-save-variables): Use custom-variable-p to detect
8405         non-rogue variables.
8407 2003-01-07  Francesco Potort\e,Al\e(B  <pot@gnu.org>
8409         * mail/undigest.el (unforward-rmail-message): Skip all newlines
8410         after the initial separator.
8411         (unforward-rmail-message): Forwarded-From: and Forwarded-Date:
8412         instead of Forwarded-from: and Forwarded-date:.
8414 2003-01-07  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
8416         * dired.el (dired-garbage-files-regexp): Add `.aux$'.  These are
8417         produced by TeX.
8419 2003-01-07  Andre Spiegel  <spiegel@gnu.org>
8421         * vc-rcs.el (vc-rcs-checkout): Fix the check whether we are on a
8422         branch.
8424 2003-01-06  Dave Love  <fx@gnu.org>
8426         * textmodes/ispell.el (lookup-words): Cope with null lookup-dict.
8428         * language/chinese.el ("Chinese-EUC-TW"): New.
8430 2003-01-06  John Paul Wallington  <jpw@shootybangbang.com>
8432         * mail/rmail.el (rmail-mmdf-delim1, rmail-mmdf-delim2): Doc fixes.
8434 2003-01-05  Richard M. Stallman  <rms@gnu.org>
8436         * obsolete/uncompress.el: Display message that this pkg is obsolete.
8438         * isearch.el (isearch-repeat): Error if try to repeat search and
8439         there was no previous search.
8441         * dired.el (dired-recursive-deletes): Fix custom type.
8443         * dabbrev.el (dabbrev--substitute-expansion):
8444         Convert all whitespace to single spaces,
8445         except when it's carried over from the existing text.
8447         * simple.el (split-line): Clean up implementation.
8449         * mail/rmail.el (rmail-font-lock-keywords): Discard code to match
8450         both cases.
8451         (rmail-variables): Specify case-insensitive matching for font-lock.
8453 2003-01-05  Alexander Pohoyda  <alexander.pohoyda@gmx.net>  (tiny change)
8455         * mail/sendmail.el (mail-font-lock-keywords):
8456         * mail/rmail.el (rmail-font-lock-keywords): Match multiline
8457         In-Reply-To and X-*.
8459 2003-01-05  Mark A. Hershberger  <mah@everybody.org>
8461         * xml.el (xml-substitute-special): Check for &amp last.
8463 2003-01-05  Dave Love  <fx@gnu.org>
8465         * buff-menu.el (Buffer-menu-execute): Fix for effect of header line.
8467 2003-01-05  Dave Love  <fx@gnu.org>
8469         * international/mule-diag.el (non-iso-charset-alist):
8470         Add vietnamese-tcvn.
8472         * international/mule-cmds.el (locale-language-names):
8473         Use Croatian, Swedish.
8475 2003-01-05  Andreas Schwab  <schwab@suse.de>
8477         * buff-menu.el (Buffer-menu-buffer+size): Don't clobber buffer name.
8479 2003-01-05  Dave Love  <fx@gnu.org>
8481         * language/european.el ("Latin-6", "Croatian"): New.
8482         ("Latin-7"): Fix nonascii-translation.  Add input method.
8483         ("Lithuanian", "Latvian"): Add nonascii-translation.
8484         ("German", "Spanish", "Dutch", "Welsh", "Swedish"):
8485         Fix nonascii-translation.
8487         * language/georgian.el ("Georgian"): Fix nonascii-translation.
8489         * international/mule-cmds.el (set-locale-environment):
8490         Ignore empty values of environment variables.
8492         * emacs-lisp/byte-opt.el (byte-optimize-nth)
8493         (byte-optimize-nthcdr): Fix for case of wrong-length forms.
8495 2003-01-04  Nick Roberts  <nick@nick.uklinux.net>
8497         * gdb-ui.el: Acknowledge Tom Lord as author of gdba.el.
8498         Use let construction to bind buffer-read-only to nil.
8499         (gdba): 'set height 0' in GDB.
8500         (gdb-display-end, gdb-frame-handler): Corrections to forming
8501         full expression name for header-line in display frame.
8502         (gdb-info-breakpoints-custom): Highlight breakpoints since
8503         they may be clicked on with mouse-2.
8504         (gdb-quit): Delete frames of displayed expressions when quitting.
8505         (gdb-delete-frames): New function.
8506         (gdb-source-info): Don't create stack buffer automatically.
8508 2003-01-04  Thien-Thi Nguyen  <ttn@gnu.org>
8510         * xml.el (xml-substitute-special): Move "&amp;" -> "&" last.
8512 2003-01-04  Kim F. Storm  <storm@cua.dk>
8514         * simple.el (split-line): If present, copy fill-prefix from
8515         current line to new line.  Don't copy if prefix arg.
8516         From Lisp, arg may be an alternative prefix string to copy.
8517         Inspired by Ehud Karni <ehud@unix.mvs.co.il>.
8519         * mail/sendmail.el (mail-split-line): New function.
8520         (mail-mode-map): Remap split-line to mail-split-line.
8522 2003-01-03  Dave Love  <fx@gnu.org>
8524         * emacs-lisp/find-func.el (find-variable-noselect): Make it work
8525         with new load-history format.
8527         * international/mule-cmds.el (sort-coding-systems):
8528         Adjust priority of utf-16 and x-ctext.
8530         * international/utf-8.el (utf-translate-cjk):
8531         Call optimize-char-coding-system-table.
8533         * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
8534         Call optimize-char-coding-system-table.
8536         * international/mule.el (register-char-codings): Don't call
8537         optimize-char-coding-system-table here.
8538         (keyboard-coding-system): Doc fix.  Update :version.
8540         * textmodes/nroff-mode.el (nroff-mode-hook): Customize.
8541         (nroff-imenu-expression): New.
8542         (nroff-mode): Use it.
8544         * autoinsert.el (auto-insert-alist): Add man page skeleton.
8546 2003-01-03  Andre Spiegel  <spiegel@gnu.org>
8548         * vc-rcs.el (vc-rcs-revert): Unlock only if the user does have
8549         the lock.
8551 2003-01-03  Kim F. Storm  <storm@cua.dk>
8553         * emulation/cua-base.el (cua--pre-command-handler):
8554         Corrected handling of delete-selection properties.
8556 2003-01-03  John Paul Wallington  <jpw@shootybangbang.com>
8558         * emacs-lisp/eldoc.el (eldoc-get-var-docstring): Only return a
8559         documentation string when `sym' is non-nil.
8561 2003-01-02  Steven Tamm  <steventamm@mac.com>
8563         * scroll-bar.el (toggle-scroll-bar, scroll-bar-mode):
8564         Have scroll bars correctly default to being on the right for Mac
8565         Carbon port by testing "mac-carbon" feature, not window-system.
8567 2003-01-02  Markus Rost  <rost@math.ohio-state.edu>
8569         * cus-edit.el (customize-group, customize-group-other-window):
8570         Call custom-load-symbol unconditionally.
8571         (customize-face, customize-face-other-window): Fix format arg.
8573 2003-01-02  John Paul Wallington  <jpw@shootybangbang.com>
8575         * menu-bar.el (menu-bar-left-scroll-bar): Set `scroll-bar-mode'
8576         to `left'.
8578 2003-01-01  Richard M. Stallman  <rms@gnu.org>
8580         * mail/rmail.el (rmail-reply): Don't call mail-strip-quoted-names.
8582         * files.el (backup-buffer): Cope if file-modes returns nil.
8584 2002-12-30  Steven Tamm  <steventamm@mac.com>
8586         * scroll-bar.el (toggle-scroll-bar, scroll-bar-mode):
8587         Have scroll bars correctly default to being on the right for Mac
8588         Carbon port
8590 2002-12-29  Nick Roberts  <nick@nick.uklinux.net>
8592         * gdb-ui.el (gdb-delete-display): Rename (gdb-delete-expression).
8593         (gdb-goto-bp-this-line): Rename (gdb-goto-breakpoint).
8594         (gdb-toggle-bp-this-line): Rename (gdb-toggle-breakpoint).
8595         (gdb-delete-bp-this-line): Rename (gdb-delete-breakpoint).
8596         (gdb-toggle-disp-this-line): Rename (gdb-toggle-display).
8597         (gdb-delete-disp-this-line): Rename (gdb-delete-display).
8598         (gud-gdba-marker-filter): Remove unnecessary save-match-data.
8599         (gdb-mouse-goto-breakpoint, gdb-frames-select): New functions.
8600         (gdb-frames-mouse-select): Simplify.
8601         Make keybindings (gdb-goto-breakpoint, gdb-frames-select, etc)
8602         consistent with other modes in emacs.
8603         (gdb-display-source-buffer): Return window of source buffer
8604         for (gud-display-line).
8606 2002-12-29  Markus Rost  <rost@math.ohio-state.edu>
8608         * button.el (defface button): Add group.
8610         * cus-edit.el (customize-browse): Call `widget-setup'.
8612 2002-12-29  Andreas Schwab  <schwab@suse.de>
8614         * Makefile.in: Generate cus-load.el and finder-inf.el in the
8615         source directory.  Change dependencies on lisp files to explicitly
8616         use $(lisp).
8617         (compile-calc): Fix command substitution.
8618         * cus-dep.el (generated-custom-dependencies-file): New variable.
8619         (custom-make-dependencies): Use it instead of hardcoding cus-load.el.
8620         * finder.el (generated-finder-keywords-file): New variable.
8621         (finder-compile-keywords): Use it instead of hardcoding finder-inf.el.
8623 2002-12-28  Richard M. Stallman  <rms@gnu.org>
8625         * info-look.el (info-lookup): Fix error message typo.
8627         * comint.el (comint-mode): Locally set scroll-conservatively.
8628         (comint-postoutput-scroll-to-bottom): comint-scroll-show-maximum-output
8629         is active only when point is at end.
8631         * dired.el (dired-goto-file): Handle \ and ^M quoted by backslash.
8632         Fix error message.
8634         * files.el (find-file-noselect-1): Kill local value of `cursor-type'.
8636         * simple.el (repeat-complex-command): Signal real error on failure.
8638 2002-12-28  Andreas Schwab  <schwab@suse.de>
8640         * progmodes/make-mode.el (makefile-font-lock-keywords):
8641         Highlight automatic variable references enclosed in parens and
8642         optionally suffixed by F or D.
8644 2002-12-27  Miles Bader  <miles@gnu.org>
8646         * info.el (Info-complete-menu-item): Make `Info-complete-cache' a
8647         buffer-local variable.
8649 2002-12-26  Markus Rost  <rost@math.ohio-state.edu>
8651         * cus-edit.el (customize-group-other-window): Use pop-to-buffer in
8652         the same way as `custom-buffer-create-other-window'.
8653         (customize-variable-other-window, customize-option-other-window):
8654         Definitions moved up.
8656 2002-12-26  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
8658         * net/tramp*.el: Sync with upstream version 2.0.28.  Bugfixes.
8659         * net/tramp-ftp.el: Glue code with Ange-FTP, broken out of
8660         tramp.el.  From Michael Albinus.
8661         * net/tramp-smb.el: New file for using smbclient to access
8662         Windows shares with Tramp.  From Michael Albinus.
8664 2002-12-26  Andreas Schwab  <schwab@suse.de>
8666         * international/mule-cmds.el (select-safe-coding-system): Fix typo.
8668 2002-12-26  Andre Spiegel  <spiegel@gnu.org>
8670         * vc.el (vc-next-action-on-file): Use t argument to vc-checkout in
8671         order to get the latest version on the current branch.
8672         Update documentation of vc-BACKEND-checkout to explain this.
8674         * vc-rcs.el (vc-rcs-checkout): Handle t argument for REV.
8675         (vc-rcs-checkin): By default, specify the current workfile
8676         branch as the check-in revision.
8678         * vc-cvs.el (vc-cvs-checkout): Handle t argument for REV.
8680         * vc-sccs.el (vc-sccs-checkout): Likewise.
8682 2002-12-26  Nick Roberts  <nick@nick.uklinux.net>
8684         * gdb-ui.el (gdb-info-display-custom): Ensure that frames/buffers
8685         of displayed expressions are deleted when the displayed expressions
8686         are deleted.
8687         (gdb-delete-disp-this-line, gdb-delete-display): Frame/buffer
8688         deletion is handled by gdb-info-display-custom now.
8689         (gdb-source-info): Undo earlier change (do create display buffer
8690         automatically).
8692 2002-12-25  Markus Rost  <rost@math.ohio-state.edu>
8694         * cus-edit.el (custom-save-faces): Fix typo.
8696 2002-12-23  Francesco Potort\e,Al\e(B  <pot@gnu.org>
8698         * mail/undigest.el (unforward-rmail-message): Do not assume that
8699         the forwarded message's Date: header comes after From:.  Use a
8700         Forwarded-from: rather than a Forwarded-by: header.  Add a
8701         Forwarded-date: header.
8703 2002-12-23  Nick Roberts  <nick@nick.uklinux.net>
8705         * gdb-ui.el (gdb-display-number-end): Make auto-display of
8706         expressions in GDB work on text-only terminals.
8707         (gdb-post-prompt): Compute current frame properly.
8708         (gdb-get-current-frame, gdb-frame-handler): New functions.
8709         (gdb-source-info): Move last statement into if clause.
8710         Tidy, improve documentation.
8712 2002-12-23  Richard M. Stallman  <rms@gnu.org>
8714         * emacs-lisp/checkdoc.el: Don't define a name for the minor mode menu.
8716         * emacs-lisp/easymenu.el (easy-menu-do-define): Handle nil for SYMBOL.
8717         (easy-menu-define): Doc fix, say SYMBOL can be nil.
8719         * window.el (save-selected-window): Save and restore
8720         selected windows of all frames.
8722         * cus-start.el (scroll-up-aggressively, scroll-down-aggressively):
8723         Update custom types.
8725 2002-12-23  Alex Schroeder  <alex@emacswiki.org>
8727         Merging Dave Love <fx@gnu.org>'s custom_themes branch containing
8728         Alex Schroeder's adaptation of Jan Vroonhof
8729         <vroonhof@math.ethz.ch>'s code.  Doc strings corrected by RMS.
8731         * cus-edit.el (customize-save-variable): Take themes into account.
8732         (custom-variable-save): Take themes into account.
8733         (custom-variable-reset-saved): Add comment-widget.
8734         (custom-variable-reset-standard): Add comment-widget.
8735         (custom-variable-reset-standard): Take themes into account.
8736         (custom-face-save): Take themes into account.
8737         (custom-face-reset-standard): Take themes into account.
8738         (custom-save-variables): Take themes into account.
8739         (custom-save-faces): Take themes into account.
8740         (custom-save-resets): New function.
8741         (custom-save-loaded-themes): New function.
8742         (customize-save-customized): Take themes into account.
8744         * cus-face.el (custom-set-faces): Call custom-theme-set-faces.
8745         (custom-theme-set-faces): New function.
8746         (custom-theme-face-value): New function.
8747         (custom-theme-reset-internal-face): New function.
8748         (custom-theme-reset-faces): New function.
8749         (custom-reset-faces): New function.
8751         * custom.el (custom-known-themes): New variable.
8752         (custom-declare-theme): New function.
8753         (deftheme): New macro.
8754         (custom-make-theme-feature): New function.
8755         (custom-theme-p): New function.
8756         (custom-check-theme): New function.
8757         (custom-push-theme): New function.
8758         (custom-theme-set-variables): Take themes into account.
8759         (custom-loaded-themes): New variable.
8760         (custom-theme-loaded-p): New function.
8761         (provide-theme): New function.
8762         (require-theme): New function.
8763         (custom-remove-theme): New function.
8764         (custom-do-theme-reset): New function.
8765         (custom-theme-load-themes): New function.
8766         (custom-load-themes): New function.
8767         (custom-theme-value): New function.
8768         (custom-theme-variable-value): New function.
8769         (custom-theme-reset-internal): New function.
8770         (custom-theme-reset-variables): New function.
8771         (custom-reset-variables): New function.
8773         * cus-theme.el: New file.
8775 2002-12-23  Matthew Swift  <swift@alum.mit.edu>
8777         * emacs-lisp/rx.el (rx-and): Generate a shy group.
8778         Specify `no-group' when calling rx-to-string.
8779         (rx-submatch): Specify `no-group' when calling rx-to-string.
8780         (rx-kleene): Use rx-atomic-p to decide whether to make a group.
8781         (rx-atomic-p): New function.
8783 2002-12-23  Kevin Ryde  <user42@zip.com.au>
8785         * info-look.el (info-lookup): For ease of use try item
8786         case-insensitive if not found case-sensitive.
8787         Do case sensitive search in index nodes, so items differing only in
8788         case go correctly to their respective nodes.
8790 2002-12-22  Richard M. Stallman  <rms@gnu.org>
8792         * subr.el (add-to-invisibility-spec): If it was t, start it out at (t).
8794         * textmodes/texinfmt.el (tex-start-of-header, tex-end-of-header):
8795         Add defvars.
8797         * textmodes/tex-mode.el (tex-print): Call shell-quote-argument
8798         on the file name.
8800         * textmodes/outline.el (outline-next-visible-heading):
8801         When going forward, test outline-invisible-p at start of header.
8803 2002-12-22  Kevin Ryde  <user42@zip.com.au>
8805         * textmodes/makeinfo.el (makeinfo-buffer): Display result using
8806         Info-mode.
8807         (makeinfo-compilation-sentinel-buffer, makeinfo-current-node):
8808         New functions.
8809         (makeinfo-compile): Add a sentinel parameter.
8810         (makeinfo-compilation-sentinel-region): Renamed from
8811         makeinfo-compilation-sentinel, and makeinfo-temp-file now never nil.
8812         (makeinfo-region): Use this.
8813         * info.el (Info-revert-find-node): New function.
8815 2002-12-22  Nick Roberts  <nick@nick.uklinux.net>
8817         * tooltip.el (tooltip-gud-tips): Output tooltip without switching
8818         process filter (gdba in gdb-ui.el only).
8819         (gdb-tooltip-print): New function.
8820         (tooltip-gud-process-output): Undo previous change.
8821         (tooltip-strip-annotations): Remove.
8823 2002-12-22  Zoltan Kemenczy  <zoltan@ieee.org>
8825         * gud.el (gud-menu-map): Add jdb support for "run".
8826         (gud-jdb-find-source-using-classpath): Use 'identity.
8827         (gud-jdb-marker-filter): Marker regexp and filename filtering
8828         change to support a backwards-incompatible change in Sun's jdb
8829         line number display in SDK versions 1.4.
8830         (gud-format-command): gud-find-class now requires two
8831         parameters (file and linenumber).
8832         (gud-find-class): Bulk of the change related to using c-syntactic
8833         symbols to locate nested class declarations in java sources
8834         visited by java-mode (cc-mode).
8836 2002-12-21  Nick Roberts  <nick@nick.uklinux.net>
8838         * gdb-ui.el: Remove the concept of an instance. This means that
8839         a lot of functions have been renamed. Accessors are prefixed with
8840         gdb-get, setters with gdb-set and the word instance has been
8841         removed from many function and variable names.
8842         (gdb-display-buffer): Protect source buffer as well
8843         as GUD buffer when requesting new buffers.
8844         (gdb-source-info): Two changes : Don't create display buffer
8845         automatically, compute source window correctly.
8847 2002-12-21  Richard M. Stallman  <rms@gnu.org>
8849         * man.el (Man-getpage-in-background): Put GROFF_NO_SGR in env.
8851         * ls-lisp.el (original-insert-directory): Make this a variable,
8852         don't set its function definition.
8853         (insert-directory): Use funcall to call that function.
8855         * bindings.el (help-echo): Change tooltip string.
8857         * chistory.el (command-history-map): Move definition up.
8859         * faces.el (help-xref-stack): Add defvar to avoid warning.
8861 2002-12-21  Andreas Schwab  <schwab@suse.de>
8863         * dired.el (dired-insert-directory): Preserve text properties
8864         when quoting.
8866 2002-12-20  Francesco Potort\e,Al\e(B  <pot@gnu.org>
8868         * mail/undigest.el (rmail-mail-separator): Renamed from
8869         rmail-digest-mail-separator.  All users changed.
8870         (unforward-rmail-message): Rewritten to be more robust and to
8871         additionally account for the common style of forwarding messages
8872         by citing them entirely with headers.
8874 2002-12-18  Dave Love  <fx@gnu.org>
8876         * international/utf-8-subst.el: Deleted.
8878         * international/ucs-tables.el (ucs-fragment-8859): Don't modify
8879         char-coding-system-table elements destructively.
8880         Use optimize-char-coding-system-table.
8882         * international/mule.el (optimize-char-coding-system-table): New.
8883         (register-char-codings): Use it.
8885         * international/utf-8.el (ucs-mule-cjk-to-unicode)
8886         (ucs-unicode-to-mule-cjk): Revert last change.
8887         (utf-subst-table-for-encode): Initially use ucs-mule-cjk-to-unicode.
8888         (utf-subst-table-for-decode): Initially use ucs-unicode-to-mule-cjk.
8889         (utf-fragment-on-decoding, utf-translate-cjk): Don't modify
8890         char-coding-system-table elements destructively.
8891         (utf-translate-cjk): Set ucs-mule-cjk-to-unicode,
8892         ucs-unicode-to-mule-cjk to new hash tables with realistic parameters.
8894 2002-12-18  John Paul Wallington  <jpw@shootybangbang.com>
8896         * info.el (Info-dir-remove-duplicates): Avoid infloop when
8897         deleting last entry.
8899 2002-12-17  Nick Roberts  <nick@nick.uklinux.net>
8901         * gdb-ui.el (gdba-marker-filter, gdb-output-burst): Merge and
8902         rename gud-gdba-marker-filter.
8903         (gdb-append-to-inferior-io): Only pop up IO buffer if there is output.
8904         (gdb-make-instance): Remove (put into gdba).
8905         Use gdb-instance-enqueue-input instead of
8906         gdb-instance-enqueue-idle-input for user functions.
8907         (gdb-instance-target-string): Simplify.
8908         (in-gdb-instance-context): Remove.
8909         Expand Commentary.
8911 2002-12-17  Kenichi Handa  <handa@m17n.org>
8913         * international/mule.el (set-file-name-coding-system): New function.
8915         * international/mule-cmds.el (mule-keymap, set-coding-system-map):
8916         Add bindings for set-file-name-coding-system.
8918 2002-12-17  Kenichi Handa  <handa@m17n.org>
8920         * international/mule-cmds.el (universal-coding-system-argument):
8921         Bind coding-system-require-warning to t.
8922         (select-safe-coding-system): Handle t in the arg
8923         DEFAULT-CODING-SYSTEM specially.  Use read-coding-system to read a
8924         coding-system to allow users to specify unsafe coding system on
8925         their risk.
8927 2002-12-16  Francesco Potort\e,Al\e(B  <pot@gnu.org>
8929         * mail/undigest.el (rmail-digest-methods)
8930         (rmail-digest-mail-separator): New variables.
8931         (rmail-digest-parse-mime, rmail-digest-parse-rfc1153strict)
8932         (rmail-digest-parse-rfc1153sloppy, rmail-digest-rfc1153)
8933         (rmail-digest-parse-rfc934): New functions.
8934         (undigestify-rmail-message): Completely rewritten.
8936 2002-12-16  Kim F. Storm  <storm@cua.dk>
8938         * ido.el (ido-read-file-name): Remove debug message.
8940 2002-12-16  Daniel Pfeiffer  <occitan@esperanto.org>
8942         * buff-menu.el (Buffer-menu, Buffer-menu-use-header-line)
8943         (Buffer-menu-buffer-face, Buffer-menu-buffer+size-width)
8944         (Buffer-menu-mode-width): New customization.
8945         (Buffer-menu-sort-column): New var.
8946         (Buffer-menu-no-header): New function for not changing header line and
8947         recognizing swapped M&R columns, used by modifying commands in Buffer
8948         Menu.
8949         (Buffer-menu-buffer+size): New function for variable width buffer name.
8950         (list-buffers-noselect): Rewritten for nicer menu.
8952 2002-12-16  Markus Rost  <rost@math.ohio-state.edu>
8954         * filesets.el (filesets-build-menu-now): Don't clear messages.
8956         * allout.el: Avoid name conflicts with outline.el.
8957         Replace globally string "outline-" with string "allout-".
8958         Replaced 1446 occurrences; there was no string "allout-" before the
8959         change and there seems to be no dependency on outline.el.
8960         Put `quotes' around many function and variable names.
8961         Doc changes to adjust to the change to prefix "allout-".
8962         Don't provide `outline'.  Use " Allout" as mode line string,
8963         not " Outl".  Put group `allout' in group `editing'.
8964         Update Copyright notice.  Autoload `allout-init'.
8965         (allout-init): Give report also in case auto-activation was inhibited.
8966         (my-mark-marker): Test for feature `xemacs' instead of a string parse.
8968 2002-12-16  Stefan Monnier  <monnier@cs.yale.edu>
8970         * xml.el (xml-parse-tag): Allow spaces between / and >.
8972 2002-12-15  David Kastrup  <David.Kastrup@t-online.de>
8974         * emacs-lisp/autoload.el (autoload-ensure-default-file):
8975         Insert missing space in file end comment.
8977 2002-12-15  Simon Josefsson  <jas@extundo.com>
8979         * mail/smtpmail.el (smtpmail-via-smtp): Fall back to
8980         user-mail-address as sender.
8982 2002-12-15  Dave Love  <fx@gnu.org>
8984         * international/mule-cmds.el (standard-keyboard-coding-systems):
8985         Delete.
8986         (set-locale-environment): Don't use it.
8988         * international/utf-8.el (ucs-mule-cjk-to-unicode)
8989         (utf-subst-table-for-encode, ucs-unicode-to-mule-cjk)
8990         (utf-subst-table-for-decode): Specify :size, :rehash-size.
8991         (utf-translate-cjk): :set rewritten to load subst-... files.
8992         Add :set-after.
8993         (ccl-decode-mule-utf-8): Consider CJK translation for r3<#x3400.
8995 2002-12-15  Gustav H\e,Ae\e(Bllberg  <gustav@virtutech.se>  (tiny change)
8997         * progmodes/compile.el (compile-reinitialize-errors): Don't mark the
8998         buffer as modified unless it really is.
9000 2002-12-14  Andreas Schwab  <schwab@suse.de>
9002         * wid-edit.el (widget-move): Don't loop infinitely when there is
9003         no field or button.
9005 2002-12-13  Stefan Monnier  <monnier@cs.yale.edu>
9007         * uniquify.el (uniquify-rationalize-file-buffer-names, rename-buffer)
9008         (uniquify-delay-rationalize-file-buffer-names, kill-buffer-hook):
9009         Undo 2002/09/27 change because kill-buffer-hook is not
9010         permanent-local.
9012         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9013         Optimize the remaining part of for-effect and/or expressions.
9015 2002-12-13  Markus Rost  <rost@math.ohio-state.edu>
9017         * emacs-lisp/easy-mmode.el (define-minor-mode):
9018         Use `custom-current-group'. Pass all groups to the hook.
9019         (easy-mmode-define-global-mode): Use `custom-current-group'.
9021         * international/mule-cmds.el (current-language-environment):
9022         Set type according to `language-info-alist' also here.
9024         * progmodes/compile.el (compilation-menu-map):
9025         Use `kill-compilation' to stop compilation.
9027 2002-12-13  Kenichi Handa  <handa@m17n.org>
9029         * language/european.el (encode-mac-roman): Fix last change.
9031         * language/cyrillic.el (ccl-encode-koi8, ccl-encode-koi8-u)
9032         (ccl-encode-alternativnyj): Fix last change.
9034 2002-12-13  Nick Roberts  <nick@nick.uklinux.net>
9036         * gdb-ui.el: Improve documentation strings.
9037         (gdb-many-windows): Set default value to nil.
9039 2002-12-12  Dave Love  <fx@gnu.org>
9041         * international/subst-big5.el, international/subst-gb2312.el:
9042         * international/subst-jis.el, international/subst-ksc.el: New.
9044         * custom.el (defcustom, custom-set-variables): Doc fix.
9046         * emacs-lisp/bytecomp.el (byte-compile-if): Suppress warnings from
9047         things protected by `(if (fboundp ...' or `(if (boundp ...'.
9049         * emacs-lisp/byte-opt.el (byte-optimize-featurep): New.
9051 2002-12-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
9053         * progmodes/fortran.el (fortran-mode-abbrev-table):
9054         Handle `define-abbrev' with either 5 or 6 arguments.
9056 2002-12-12  Markus Rost  <rost@math.ohio-state.edu>
9058         * international/mule-cmds.el (set-language-info):
9059         Update custom-type of `current-language-environment'.
9060         (current-language-environment): Fix custom type.
9062 2002-12-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
9064         * progmodes/antlr-mode.el (antlr): New URL.
9066 2002-12-10  R. Bernstein  <rocky@panix.com>
9068         * gud.el (bashdb): Prompt now included parenthesis for subshell levels.
9069         Fix erroneous print expression command, and fix typos.
9070         (perldb): Undo previous change in prompt regexp.
9072 2002-12-10  Steven Tamm  <steventamm@mac.com>
9074         * generic-x.el (javascript-generic-mode): Added C style block
9075         comments as used in ECMA-262 standard.
9077 2002-12-10  Kenichi Handa  <handa@m17n.org>
9079         * language/european.el ("Swedish"): Change tutorial file name to
9080         TUTORIAL.sv in this langauge environment..
9082 2002-12-09  John Paul Wallington  <jpw@shootybangbang.com>
9084         * ibuffer.el (ibuffer-mode): If `show-paren-mode' is enabled,
9085         disable it buffer-locally.
9086         (ibuffer-mouse-popup-menu): Use `=' instead of `eq' to compare
9087         `eventpt' and point.
9089         * ibuf-ext.el (ibuffer-remove-duplicates): New function.
9090         (ibuffer-set-filter-groups-by-mode): Use it instead of
9091         `delete-duplicates' so we don't require cl library at runtime.
9092         (ibuffer-insert-filter-group-before): Don't use `position' so we
9093         don't require cl library at runtime.
9095         * chistory.el (command-history-mode): Add interactive spec.
9096         Improve doc string.
9098 2002-12-09  Richard M. Stallman  <rms@gnu.org>
9100         * isearch.el (isearch-no-upper-case-p): \\ only quotes one character.
9102 2002-12-09  Markus Rost  <rost@math.ohio-state.edu>
9104         * mwheel.el (mouse-wheel-scroll-amount): Revert previous change -
9105         customize type 'float is now defined.
9107 2002-12-09  Dave Love  <fx@gnu.org>
9109         * international/code-pages.el (mik, pt154): New coding systems.
9111         * international/ucs-tables.el: Fix properly.
9113 2002-12-09  Andreas Schwab  <schwab@suse.de>
9115         * international/ucs-tables.el: Fix last change.
9117 2002-12-09  Kenichi Handa  <handa@m17n.org>
9119         * international/titdic-cnv.el (titdic-convert): Process the
9120         header part in multibyte mode.
9122 2002-12-08  Dave Love  <fx@gnu.org>
9124         * international/code-pages.el (mule-diag): Move where it's required.
9126         * international/ucs-tables.el: Add latin-jisx0201 characters.
9127         Fix translation-table-for-input for lao, thai, tibetan.
9129 2002-12-08  Andreas Schwab  <schwab@suse.de>
9131         * files.el (insert-directory): Insert free space only when
9132         listing a full directory.
9134 2002-12-08  Nick Roberts  <nick@nick.uklinux.net>
9136         * gdb-ui.el : Remove inappropriate key-bindings.
9137         (gdb-info-breakpoints-custom, gdb-goto-bp-this-line):
9138         Parse correctly when breakpoint has no line number.
9139         (def-gdb-auto-update-handler, gdb-info-locals-handler),
9140         (gdb-display-end): Avoid using insert-buffer.
9141         (gdb-frames-select-by-mouse): Rename gdb-frames-mouse-select.
9143 2002-12-07  Richard M. Stallman  <rms@gnu.org>
9145         * progmodes/compile.el (compilation-enter-directory-regexp-alist)
9146         (compilation-leave-directory-regexp-alist): Match byte compiler output.
9148         * emacs-lisp/cl-macs.el: Add local variable list
9149         to turn off cl-function warnings.
9151         * emacs-lisp/bytecomp.el (byte-compile-eval): Handle (t . SYMBOL)
9152         elements in load-history.
9153         (byte-compile-cl-warn): No cl warnings for cl-defsubst-expand
9154         and cl-struct-setf-expander.
9156         * emacs-lisp/autoload.el (autoload-print-form-outbuf):
9157         New variable.
9158         (autoload-print-form): Use autoload-print-form-outbuf.
9159         (generate-file-autoloads): Bind autoload-print-form-outbuf.
9161         * calendar/calendar.el (calendar-day-name): Move defn down.
9163         * speedbar.el (speedbar-directory-buttons-follow):
9164         Don't use directory-sep-char.
9166 2002-12-06  Masatake YAMATO  <jet@gyve.org>  (tiny change)
9168         * register.el (describe-register-1): Use window-width
9169         to truncate string in a register.  Check whether the string
9170         in a register is an empty string or a sequence of white spaces.
9172 2002-12-07  Andreas Schwab  <schwab@suse.de>
9174         * faces.el (face-font-selection-order)
9175         (face-font-family-alternatives, face-font-registry-alternatives):
9176         Remove period from :tag value.
9178         * cus-edit.el (custom-face-edit-fix-value): Change :reverse-video
9179         to :inverse-video.
9181 2002-12-07  Markus Rost  <rost@math.ohio-state.edu>
9183         * wid-edit.el (define-widget number): Clarify doc and error message.
9184         (define-widget float): New widget.
9186 2002-12-07  Andreas Schwab  <schwab@suse.de>
9188         * eshell/em-ls.el (eshell-ls-product-regexp): Fix typo.
9190         * files.el (find-file-read-args): Reenable wildcard processing
9191         unconditionally.
9193 2002-12-06  Robert J. Chassell  <bob@rattlesnake.com>
9195         * textmodes/texinfmt.el (texinfo-format-scan): Handle new
9196         functions for copyright notice and copying permissions.
9197         (texinfo-copying, texinfo-insertcopying): New functions.
9199 2002-12-03  TAKAHASHI Kaoru  <kaoru@kaisei.org>
9201         * textmodes/texinfmt.el (texinfo-format-ifxml)
9202         (texinfo-format-xml): New function.
9203         (ifxml, ifnotxml): New aliases.
9205 2002-12-06  Dave Love  <fx@gnu.org>
9207         * international/utf-8-subst.el: Revert last change.
9209 2002-12-06  Miles Bader  <miles@gnu.org>
9211         * info.el (Info-insert-dir): Make dir-node-cache variables
9212         buffer-local, so that killing the *info* buffer forces the
9213         dir-node to be rebuilt.
9215 2002-12-06  Markus Rost  <rost@math.ohio-state.edu>
9217         * finder.el (finder-compile-keywords): Don't insert a keyword to
9218         the generated file.
9220 2002-12-05  Andreas Schwab  <schwab@suse.de>
9222         * speedbar.el (speedbar-highlight-face): Fix face spec.
9224 2002-12-05  Stefan Monnier  <monnier@cs.yale.edu>
9226         * gdb-ui.el: Replace uses of (gdb-get-instance-buffer 'gdba) and
9227         gdb-proc with gud-comint-buffer instead.
9228         (gdb-proc): Remove.
9229         (def-gdb-var): Simplify.
9230         (gdb-get-create-instance-buffer): Avoid make-variable-buffer-local.
9231         Set gud-comint-buffer as well as gud-minor-mode and tool-bar-map.
9232         (gdb-goto-bp-this-line): Select the window while doing the goto-line.
9233         (gdb-info-locals-handler): Avoid replace-regexp.
9235         * calendar/calendar.el (facemenu-unlisted-faces): Only update
9236         after facemenu is loaded.
9237         (calendar-font-lock-keywords): Accept non-ASCII month names.
9238         Use regexp-opt.
9240         * gdb-ui.el (gud-gdb-complete-string, gud-gdb-complete-break)
9241         (gud-gdb-complete-list, gud-gdb-complete-in-progress): Remove.
9242         (gdba): Call `gdb' and then make modifications.
9243         Always call gdb-clear-inferior-io rather than just "the first time".
9244         (gud-break, gud-remove): Definitions moved to inside gdba.
9245         (gdb-target-name): Remove.  Use gud-target-name instead.
9246         (gdba-complete-filter, gdba-common-init): Remove.
9247         The changes were integrated into the generic code.
9249         * gud.el: Use match-string.
9250         (gud-menu-map): Re-fix gdb-running to gud-running.
9251         Activate up/down and finish for pdb.
9252         (gud-def): Use backquotes.
9253         (gdb, sdb, dbx, xdb, pdb, jdb, bashdb): Remove redundant menu bindings.
9254         (gud-gdb-complete-in-progress, gud-gdb-complete-string)
9255         (gud-gdb-complete-break, gud-gdb-complete-list):
9256         Rename to gud-gdb-fetch-lines-in-progress, gud-gdb-fetch-lines-string,
9257         gud-gdb-fetch-lines-break and gud-gdb-fetched-lines.
9258         (gud-gdb-fetch-lines-filter): Rename from gud-gdb-complete-filter.
9259         Add a `filter' argument and run it on `string'.
9260         (gud-gdb-run-command-fetch-lines): Use it instead of
9261         gud-gdb-speedbar-stack-filter.  Add a `skip' arg.
9262         Return the fetched lines.
9263         (gud-gdb-complete-command): Use it instead of cooking up
9264         something by hand using gud-gdb-complete-filter.
9265         (gud-gdb-get-stackframe): Use the new calling convention of
9266         gud-gdb-run-command-fetch-lines.
9267         (gud-gdb-fetched-stack-frame-list): Remove.
9268         (gud-gdb-speedbar-stack-filter): Remove.
9269         (gud-jdb-marker-filter): Change RE for easier extraction of submatches.
9270         (gud-bashdb-command-name): Add "--debugger" argument here.
9271         (bashdb): Use default gud-find-file and don't bother with
9272         a massage-args function now that --debugger is make explicit.
9273         (gud-bashdb-massage-args, gud-bashdb-find-file): Remove.
9274         (bashdb): Don't provide.
9275         (gud-target-name): New var.
9276         (gud-common-init): Set it.
9277         Also reset gud-running and gud-last-last-frame.
9279 2002-12-05  Dave Love  <fx@gnu.org>
9281         * international/utf-8-subst.el: Update safe-chars of mule-utf-8,
9282         mule-utf-16-le, mule-utf-16-be.
9284 2002-12-05  Richard M. Stallman  <rms@gnu.org>
9286         * textmodes/outline.el (outline-mode): Doc fix.
9288 2002-12-05  Edward M. Reingold  <reingold@emr.cs.iit.edu>
9290         * calendar/solar.el (solar-atn2): Give correct quadrant for arctan.
9292 2002-12-05  Kenichi Handa  <handa@m17n.org>
9294         * international/titdic-cnv.el (quail-misc-package-ext-info):
9295         Remove duplicate entry for chinese-b5-quick.
9296         (batch-miscdic-convert): Don't try to call miscdic-convert on
9297         files in the directory just following the arg "-dir".
9299 2002-12-04  Stefan Monnier  <monnier@cs.yale.edu>
9301         * gdb-ui.el: Fold top-level `setq's and `define-key's into their
9302         corresponding defvar.
9303         (gdb-inferior-io-mode-map): New var.
9304         Add bindings to it rather than to comint-mode-map.
9305         (gdb-display-number-end): Use dolist.  Remove always-true test.
9306         (gdb-delete-line): Move and simplify.
9307         (gdb-display-end): Don't bother going to beg-of-line since we're there.
9308         (gdb-array-format1): Use dolist.
9309         (gdb-make-windows-menu, gdb-make-frames-menu):
9310         Move to top-level code.  Move the menus to within the GUD menu.
9311         Make the menus only appear in gdba mode.
9313         * gdb-ui.el (gdb-inferior-io-mode-map): Remove (unused).
9314         (gdb-inferior-io-mode): Use define-minor-mode.
9315         (gdb-source-info): Don't burp if there's no source file.
9316         (gdb-inferior-io-interrupt, gdb-inferior-io-quit)
9317         (gdb-inferior-io-stop, gdb-inferior-io-eof)
9318         (gdb-display-breakpoints-buffer, gdb-frame-breakpoints-buffer)
9319         (gdb-display-stack-buffer, gdb-frame-stack-buffer)
9320         (gdb-display-registers-buffer, gdb-frame-registers-buffer)
9321         (gdb-display-locals-buffer, gdb-frame-locals-buffer)
9322         (gdb-display-display-buffer, gdb-frame-display-buffer)
9323         (gdb-display-gdb-buffer, gdb-frame-gdb-buffer)
9324         (gdb-display-assembler-buffer, gdb-frame-assembler-buffer):
9325         Remove the spurious left over arg from the "big reorg".
9327 2002-12-04  Richard M. Stallman  <rms@gnu.org>
9329         * gud.el (gud-menu-map): Update for bashdb.
9330         (perldb): Change prompt regexp.
9331         (gud-bashdb-history, gud-bashdb-massage-args, gud-bashdb-marker-filter)
9332         (gud-bashdb-find-file, gud-bashdb-command-name, bashdb): New.
9334         * progmodes/cc-vars.el: Simply require wid-edit and custom
9335         in eval-when-compile.
9337         * progmodes/cc-menus.el: Don't require imenu.
9339         * progmodes/cc-langs.el: Don't require cl.
9340         (c-delete-duplicates): New function.  Use instead of delete-duplicates.
9342         * progmodes/cc-bytecomp.el (cc-bytecomp-obsolete-var):
9343         Add an else-clause to the if to avoid confused compiler warning.
9345         * tooltip.el (tooltip-gud-tips-p): Undo previous change.
9347 2002-12-03  Stefan Monnier  <monnier@cs.yale.edu>
9349         * gdb-ui.el: Get rid of (quote ..); use match-string and ignore.
9351         * gdb-ui.el (gdba, gdb-starting, gdb-stopped, gdb-quit):
9352         Update gdb-running -> gud-running.
9353         (gdba): Use the default for gud-find-file.
9354         (def-gdb-variable): Remove: fold into def-gdb-var.
9355         (def-gdb-var): Use buffer-local-value and with-current-buffer.
9357         * gud.el (gud-running): Rename from gdb-running.  Update uses.
9358         (gud-tool-bar-map): Use tool-bar-local-item-from-menu rather than
9359         tool-bar-add-item-from-menu to avoid let binding tool-bar-map
9360         which fails if tool-bar.el is loaded in the mean time.
9361         (gud-file-name): New fun.
9362         (gud-find-file): Use it as default value for gud-find-file.
9363         (gud-speedbar-buttons): Discriminate on gud-minor-mode rather than
9364         on gud-find-file.
9365         (gud-gdb-find-file, gud-dbx-file-name, gud-dbx-find-file)
9366         (gud-xdb-file-name, gud-xdb-find-file, gud-perldb-find-file)
9367         (gud-pdb-find-file, gud-jdb-find-file): Remove.
9368         (gud-query-cmdline): Don't stuff the whole cwd in the command.
9369         (gdb, dbx, xdb, perldb, pdb, jdb): Use the default for gud-find-file.
9370         (gud-mipsdbx-massage-args): Remove.
9371         (gud-dbx-command-name): New var.  Do what gud-mipsdbx-massage-args did.
9372         (gud-irixdbx-marker-filter): Use match-string and gud-file-name.
9373         (gud-jdb-command-name): New var.
9374         (gud-common-init): Re-instate RMS code of 11/13.
9376 2002-12-03  Dave Love  <fx@gnu.org>
9378         * international/ucs-tables.el (ucs-unify-8859, ucs-unify-8859)
9379         (ucs-fragment-8859): Don't use set-buffer-major-mode-hook.
9380         (ucs-set-table-for-input): Use optional arg.  Check for null `cs'.
9382 2002-12-03  Andreas Schwab  <schwab@suse.de>
9384         * cus-edit.el (custom-display): Add checkbox for type mac.
9386         * whitespace.el (whitespace-highlight-face): Fix face spec.
9388 2002-12-02  Stefan Monnier  <monnier@cs.yale.edu>
9390         * simple.el (completion-setup-function): Fix last change to use
9391         minibuffer-completing-file-name instead.
9393         * add-log.el (change-log-mode): Set indent-line-function explicitly
9394         to what it was before indent-line-function's default was changed.
9396 2002-12-02  Richard M. Stallman  <rms@gnu.org>
9398         * textmodes/ispell.el (ispell-dict-map): Move specific
9399         dictionary selection into a submenu.
9401         * textmodes/fill.el (fill-indent-to-left-margin): New function.
9402         (fill-newline, fill-region-as-paragraph): Use that.
9404         * simple.el (completion-setup-function):
9405         Handle ffap-read-file-or-url-internal specially like
9406         read-file-name-internal.
9408 2002-12-02  Simon Marshall  <marshals@perth>
9410         * font-lock.el (c++-font-lock-extra-types): Fix previous change.
9412 2002-12-02  Fran\e,Ag\e(Bois Pinard  <pinard@iro.umontreal.ca>
9414         * progmodes/make-mode.el (makefile-font-lock-keywords): Highlight
9415         more make keywords:  defined, endef, override, export, unexport
9416         and vpath.
9418 2002-12-02  Dave Love  <fx@gnu.org>
9420         * autoarg.el (autoarg-kp-mode): Give it a :group.
9422 2002-12-02  Noah Friedman  <friedman@splode.com>
9424         * complete.el (PC-do-completion): Do not add wildcards to pattern
9425         unless filename is non-nil.
9427 2002-12-02  Andreas Schwab  <schwab@suse.de>
9429         * mwheel.el (mouse-wheel-scroll-amount): Fix customize type.
9431         * paren.el (show-paren-mismatch-face): Fix face spec.
9433 2002-11-30  Nick Roberts  <nick@nick.uklinux.net>
9435         * gdb-ui.el (gdb-many-windows): Define as a minor mode.
9436         (toggle-gdb-windows): Remove. (Patch from Stefan Monnier)
9438         * tooltip.el (tooltip-gud-process-output): Handle annotations that
9439         are output with gdba in gdb-ui.el.
9440         (tooltip-strip-annotations): New function.
9442 2002-11-29  Dave Love  <fx@gnu.org>
9444         * autoarg.el (autoarg-mode): Give it a :group.
9446 2002-11-29  Bill Wohler  <wohler@newt.com>
9448         * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el,
9449         mail/mh-mime.el, mail/mh-pick.el, mail/mh-seq.el,
9450         mail/mh-utils.el, mail/mh-xemacs-compat.el: Upgraded to MH-E
9451         version 7.0.
9453         * mail/mh-index.el, mail/mh-speed.el: New files for indexed
9454         searches and speedbar support in MH-E version 7.0.
9456         * toolbar/reply-all.pbm, toolbar/reply-all.xpm,
9457         toolbar/reply-from.pbm, toolbar/reply-from.xpm,
9458         toolbar/reply-to.pbm, toolbar/reply-to.xpm: New toolbar images for
9459         MH-E version 7.0.
9461 2002-11-29  Markus Rost  <rost@math.ohio-state.edu>
9463         * mwheel.el (mouse-wheel-inhibit-click-time): Fix custom type.
9465 2002-11-29  Richard M. Stallman  <rms@gnu.org>
9467         * mail/rmail.el (rmail-convert-to-babyl-format):
9468         Make search for message delimiter case-sensitive.
9470         * simple.el (yank-window-start): New variable.
9471         (yank): Record yank-window-start
9472         (yank-pop): Use yank-window-start.
9474         * info.el (Info-additional-directory-list): Doc fix.
9476         * indent.el (indent-according-to-mode, indent-region): Doc fix.
9478         * tooltip.el (tooltip-gud-tips-p): Doc fix.
9480         * eshell/em-script.el: Require eshell.
9482         * eshell/esh-ext.el, eshell/em-cmpl.el: Require esh-util.
9484 2002-11-29  Kim F. Storm  <storm@cua.dk>
9486         * mwheel.el: Avoid accidental yanking of text while scrolling with
9487         the mouse wheel.  This adds a short period after each mouse wheel
9488         scroll event where a click on the mouse wheel button is ignored.
9489         (mouse-wheel-click-event, mouse-wheel-inhibit-click-time): New customs.
9490         (mouse-wheel-click-button, mwheel-inhibit-click-event-timer): New vars.
9491         (mwheel-inhibit-click-timeout,mwheel-filter-click-events): New defuns.
9492         (mwheel-scroll): Add mwheel-filter-click-events as pre-command-hook.
9493         Start mwheel-inhibit-click-event-timer with timeout handler
9494         mwheel-inhibit-click-timeout.
9496 2002-11-28  Nick Roberts  <nick@nick.uklinux.net>
9498         * tooltip.el (tooltip-gud-tips-setup): Remove.
9499         (tooltip-gud-debugger): Remove.
9500         (tooltip-gud-print-command): Use gud-minor mode instead of
9501         tooltip-gud-tips-setup and tooltip-gud-debugger.
9503         * gdb-ui.el (gdb-starting): Set gdb-running to t.
9504         (gdb-stopped): Set gdb-running to nil.
9505         (gdb-quit): Reset some variables including tool-bar-map.
9507         * gud.el (gdb-running): New variable.
9508         (gud-menu-map): Use gdb-running to grey out toolbar buttons
9509         with gdba in gdb-ui.el.
9510         (gud-tool-bar-map): Move to avoid byte compiler warning.
9512 2002-11-27  Jason Rumney  <jasonr@gnu.org>
9514         * files.el (file-truename): Canonicalize non-existent names on w32.
9516 2002-11-28  Kim F. Storm  <storm@cua.dk>
9518         * ido.el (ido-xemacs): Remove defvar.  All uses changed to
9519         check (featurep 'xemacs) instead.
9520         (ido-visit-buffer): Use select-frame-set-input-focus unconditionally.
9522 2002-11-27  Dave Love  <fx@gnu.org>
9524         * emacs-lisp/cl-macs.el: Move `predicates for analyzing Lisp
9525         forms' block to top (before uses).
9526         (help-fns): Don't require at top level.  (Recursively.)
9527         (cl-transform-lambda): Require help-fns.
9529 2002-11-26  Dave Love  <fx@gnu.org>
9531         * language/european.el (encode-mac-roman): Deal with unencodable
9532         characters.
9534         * language/cyrillic.el (ccl-encode-koi8, ccl-encode-koi8-u)
9535         (ccl-encode-alternativnyj): Deal with unencodable characters.
9537         * international/code-pages.el (cp-make-coding-system): Deal with
9538         unencodable characters.
9540 2002-11-24  Richard M. Stallman  <rms@gnu.org>
9542         * mail/sendmail.el (mail-signature): Handle case where
9543         value of mail-signature is a string.
9545         * menu-bar.el (menu-bar-describe-menu): Add "What's This?" item.
9547         * faces.el (face-set-after-frame-default): Ignore errors
9548         in face-spec-face-set.
9550         * cus-face.el (custom-declare-face): Add face-defface-spec
9551         prop after applying the face spec.
9553 2002-11-23  Nick Roberts  <nick@nick.uklinux.net>
9555         * tooltip.el (tooltip-gud-print-command): Add server prefix to the
9556         print command for gdb to keep it out of the command history.
9558         * gdb-ui.el: Major re-organisation. Simplify legacy gdba
9559         code to allow only one gdb process.
9561 2002-11-23  Markus Rost  <rost@math.ohio-state.edu>
9563         * scroll-all.el (scroll-all-mode): Move arg LIGHTER to the right
9564         place.  Add groups.
9566 2002-11-22  Simon Marshall  <marshals@perth>
9568         * font-lock.el (c++-font-lock-extra-types): Add various STL classes.
9570 2002-11-21  Nick Roberts  <nick@nick.uklinux.net>
9572         * gdb-ui.el : General tidying. Patches from Stefan Monnier.
9574 2002-11-20  Simon Josefsson  <jas@extundo.com>
9576         * play/morse.el (morse-code): Add non-ASCII characters, according
9577         to table at http://www.soton.ac.uk/~scp93ch/morse/.
9579 2002-11-21  Richard M. Stallman  <rms@gnu.org>
9581         * dired.el (dired-sort-inhibit): New variable.
9582         (dired-sort-toggle-or-edit): Err if dired-sort-inhibit non-nil.
9584         * find-dired.el (find-dired): Set dired-sort-inhibit to t
9585         buffer-locally.
9587 2002-11-21  Eugene Exarevsky  <zheka@relex.ru>
9589         * progmodes/sql.el: Added LINTER support.
9590         (sql-linter-program): New variable.
9591         (sql-linter-options): New variable.
9592         (sql-mode-menu): Added Linter keywords.
9593         (sql-mode-linter-font-lock-keywords): New variable.
9594         (sql-highlight-linter-keywords): New function.
9595         (sql-linter): New function.
9596         (sql-ms-options): New variable.
9597         (sql-ms): Use it.
9599 2002-11-21  John Paul Wallington  <jpw@shootybangbang.com>
9601         * ibuffer.el (ibuffer-formats): Change default value; bump width
9602         of size column in first format to 7.
9604 2002-11-20  Stefan Monnier  <monnier@cs.yale.edu>
9606         * help-fns.el (describe-variable): Look for (defvar . <sym>) in the
9607         load-history since `defvar' now uses this format.
9609         * custom.el (custom-declare-variable): Use push.
9610         Use the (defvar . <sym>) format in load-history like `defvar' does.
9612         * subr.el (symbol-file): Accept a non-atomic `function' arg.
9613         (with-local-quit): Add debug and indentation info.
9615 2002-11-20  John Paul Wallington  <jpw@shootybangbang.com>
9617         * subr.el (symbol-file): Remove unused variable `functions'.
9619 2002-11-20  Markus Rost  <rost@math.ohio-state.edu>
9621         * Makefile.in (setwins_almost): Renamed from finder_setwins.
9622         (custom-deps): Use it.
9623         (finder-data): Adjust to that name change.
9625 2002-11-19  Stefan Monnier  <monnier@cs.yale.edu>
9627         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9628         Turn errors into messages so they don't get ignored.
9629         (eldoc-get-fnsym-args-string): Use help-split-fundoc.
9630         (eldoc-beginning-of-sexp): Simplify.
9631         (eldoc-function-arglist): Remove.
9632         (eldoc-function-argstring): Use help-function-arglist instead.
9633         (eldoc-function-argstring-from-docstring-method-table)
9634         (eldoc-function-argstring-from-docstring): Remove.
9636         * emacs-lisp/cl.el (multiple-value-call): Add docstring.
9638 2002-11-19  Dave Love  <fx@gnu.org>
9640         * emacs-lisp/bytecomp.el (maphash, map-char-table):
9641         Use byte-compile-funarg.
9643         * emacs-lisp/byte-opt.el (side-effect-free-fns): Several additions.
9645 2002-11-19  Markus Rost  <rost@math.ohio-state.edu>
9647         * progmodes/vhdl-mode.el (defgroup vhdl-related): Declare the
9648         members here rather than with custom-add-to-group.  This is the
9649         intended way of using defgroup and also lets
9650         custom-make-dependencies do its job.
9651         (defgroup vhdl-highlight-faces): Ditto.
9653         * emacs-lisp/shadow.el (defgroup lisp-shadow): New group name.
9654         Previous group name shadow is used in shadowfile.el.
9655         (shadows-compare-text-p): Use group lisp-shadow.
9657 2002-11-19  Stefan Monnier  <monnier@cs.yale.edu>
9659         * emacs-lisp/cl.el (multiple-value-call): Add docstring.
9661 2002-11-19  Masatake Yamato  <jet@gyve.org>  (tiny change)
9663         * register.el (describe-register-1): Don't assign to val the value
9664         returned by `remove-list-of-text-properties'.
9666 2002-11-18  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
9668         * calendar/diary-lib.el (fancy-diary-font-lock-keywords):
9669         Grok month numbers, too.
9671 2002-11-18  Juanma Barranquero  <lektu@terra.es>
9673         * mail/smtpmail.el (smtpmail-send-queued-mail): Add autoload cookie.
9675 2002-11-18  Markus Rost  <rost@math.ohio-state.edu>
9677         * pcvs.el (cvs-minor-mode, cvs-mode-commit-hook): Add group.
9679         * textmodes/refill.el (defgroup refill): New group.
9681         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Add group.
9683         * textmodes/sgml-mode.el (html-autoview-mode): Add group.
9685         * textmodes/paragraphs.el (use-hard-newlines): Add group.
9687         * progmodes/compile.el (compilation-shell-minor-mode): Add group.
9688         (compilation-minor-mode): Add group.
9690         * reveal.el (global-reveal-mode): Add group.
9692         * bookmark.el (bookmark-menu-length): Fix group name.
9694 2002-11-17  Richard M. Stallman  <rms@gnu.org>
9696         * mail/rmail.el (rmail-ignored-headers): Add more headers.
9698         * calendar/parse-time.el (parse-time-elt): Var renamed from `elt'.
9699         (parse-time-val): Var renamed from `val'.  All uses changed.
9701         * files.el (parse-time-rules): Mark it as risky.
9703         * finder.el (finder-commentary): Use buffer *Finder-package*.
9705         * menu-bar.el (menu-bar-options-menu): Improve tooltip string.
9707         * simple.el (indicate-unused-lines)
9708         (default-indicate-unused-lines): New variable aliases.
9710 2002-11-18  Kenichi Handa  <handa@m17n.org>
9712         * progmodes/cc-vars.el: Undo previous change.
9714 2002-11-18  Kenichi Handa  <handa@m17n.org>
9716         * language/cyrillic.el (cyrillic-iso-8bit): Make it safe.
9718         * language/european.el (iso-latin-1): Make it safe.
9719         (iso-latin-2, iso-latin-3, iso-latin-4, iso-latin-5, iso-latin-8)
9720         (iso-latin-9): Likewise.
9722         * language/greek.el (greek-iso-8bit): Make it safe.
9724         * language/hebrew.el (hebrew-iso-8bit): Make it safe.
9726         * language/lao.el (lao): Make it safe.
9728         * language/thai.el (thai-tis620): Make it safe.
9730 2002-11-17  Markus Rost  <rost@math.ohio-state.edu>
9732         * speedbar.el (defgroup speedbar): Use group 'etags instead of
9733         nonexisting group 'tags.
9735         * emacs-lisp/re-builder.el: Add provide call.
9737         * mail/feedmail.el (feedmail-fiddle-headers-upwardly)
9738         (feedmail-fiddle-plex-user-list): Fix typo in group name.
9740         * progmodes/make-mode.el (makefile-space-face): Fix group name.
9742         * textmodes/ispell.el (defgroup ispell): Arrange that definition
9743         starts at beginning of line.
9745         * textmodes/table.el (defgroup table-hooks): New group.
9746         (table-cell-map-hook): Fix typo in group name.
9748         * calendar/diary-lib.el (diary-button-face): Add group and version
9749         number.
9751         * warnings.el (defgroup warnings): New group.
9753 2002-11-16  Markus Rost  <rost@math.ohio-state.edu>
9755         * emacs-lisp/autoload.el (update-autoloads-from-directories):
9756         Sort the list of files with no autoloads.
9758 2002-11-16  Alan Shutko  <ats@acm.org>
9760         * calendar/diary-lib.el (list-diary-entries): Pass a marker
9761         indicating source of entry to add-to-diary-list.
9762         (diary-button-face, diary-entry, diary-goto-entry): New, to
9763         support click to diary file.
9764         (fancy-diary-display): Buttonize diary entries.
9765         (list-sexp-diary-entries): Pass a marker indicating source of
9766         entry to add-to-diary-list.
9767         (diary-date): Return mark as well as entry.
9769         * calendar/calendar.el (diary-face): New.
9770         (european-calendar-display-form, describe-calendar-mode)
9771         (mark-visible-calendar-date, calendar-mark-today): Tidy doc string.
9772         (calendar-make-alist): New.
9773         (calendar-mode): Set up font-lock mode.
9774         (generate-calendar-window): Fontify if font-lock-mode is on.
9776 2002-11-16  Ivan Zakharyaschev  <imz@altlinux.org>  (tiny change)
9778         * international/codepage.el (cp866-decode-table): Fix the
9779         translation table.
9781 2002-11-16  Martin Stjernholm  <bug-cc-mode@gnu.org>
9783         * progmodes/cc-bytecomp.el (cc-bytecomp-defun): Fixed bug that
9784         caused existing function definitions to be overridden by
9785         phonies when the bytecomp environment is restored.
9787 2002-11-15  Nick Roberts  <nick@nick.uklinux.net>
9789         * toolbar/gud-break.pbm, toolbar/gud-cont.pbm, toolbar/gud-display.pbm,
9790         toolbar/gud-down.pbm, toolbar/gud-finish.pbm, toolbar/gud-goto.pbm,
9791         toolbar/gud-next.pbm, toolbar/gud-print.pbm, toolbar/gud-remove.pbm,
9792         toolbar/gud-run.pbm, toolbar/gud-step.pbm, toolbar/gud-up.pbm:
9793         Icons for debugger (pbm files).
9795 2002-11-15  Richard M. Stallman  <rms@gnu.org>
9797         * international/mule.el (set-buffer-file-coding-system): Redo prev chg.
9799 2002-11-15  John Paul Wallington  <jpw@shootybangbang.com>
9801         * ibuffer.el (ibuffer-use-other-window, ibuffer-use-header-line)
9802         (ibuffer-visit-buffer, ibuffer-redisplay, ibuffer-update): Doc fix.
9803         (ibuffer-mode-hooks): Remove spurious defvar.
9804         (ibuffer): Run `ibuffer-hook' instead of `ibuffer-hooks'.
9805         (ibuffer-mode): Run `ibuffer-mode-hook' instead of
9806         `ibuffer-mode-hooks'.
9808 2002-11-15  Markus Rost  <rost@math.ohio-state.edu>
9810         * mail/rmailedit.el: Add provide call.
9812         * play/bruce.el: Add provide call.
9814         * emacs-lisp/gulp.el: Add provide call.
9816 2002-11-14  Richard M. Stallman  <rms@gnu.org>
9818         * international/mule.el (set-buffer-file-coding-system): Undo prv chg.
9820 2002-11-14  Markus Rost  <rost@math.ohio-state.edu>
9822         * custom.el (custom-declare-group): Remove unnecessary line of code.
9824         * cus-dep.el (custom-make-dependencies): Bind load-file-name.
9826 2002-11-14  Edward M. Reingold  <reingold@emr.cs.iit.edu>
9828         * calendar/diary-lib.el (make-diary-entry): Allow for local variables
9829         at end of diary file.
9831 2002-11-14  Kim F. Storm  <storm@cua.dk>
9833         * files.el (mode-name): Mark it as risky-local-variable like the
9834         other mode-line elements (moved from bindings.el).
9836         * bindings.el (mode-name): Moved mark as risky-local-variable to
9837         files.el.
9839 2002-11-14  Juanma Barranquero  <lektu@terra.es>
9841         * gud.el: Fix feature name in `provide'.
9843         * gdb-ui.el: Fix feature name in `require'.
9845 2002-11-14  Per Cederqvist  <ceder@lysator.liu.se>  (tiny change)
9847         * progmodes/etags.el (find-tag-default): Copy text at point without
9848         properties.
9850 2002-11-14  Kenichi Handa  <handa@m17n.org>
9852         * progmodes/cc-vars.el: Don't cc-bytecomp-defun char-table-p.
9854 2002-11-14  Kim F. Storm  <storm@cua.dk>
9856         * textmodes/fill.el (fill-nobreak-invisible): New var.
9857         (fill-nobreak-p): Test it; return t if set and point invisible.
9858         (fill-newline): Test it; remove invisible prop on newline if set.
9860         * info.el (Info-fontify-node): New local list paragraph-markers.
9861         Record markers for mangled *note references on that list.
9862         When done, go back through those markers and fill each mangled
9863         paragraph with `fill-nobreak-invisible' let-bound to t.
9864         Don't use `display' property; insert "see" directly in buffer.
9866 2002-11-14  Nick Roberts  <nick@nick.uklinux.net>
9868         * gdb-ui.el: New file, User Interface for running GDB
9870         * gud.el:(gud-find-file): Set up GDB tool bar.
9871         (gud-menu-map): New commands: run, goto.
9872         Enable some commands for gdba.
9873         (gud-query-cmdline): Pass default directory to gdba.
9874         (gdb): Defune gud-goto and gud-run.
9875         (gud-gdb-complete-command): Maybe use gdba-complete-filter.
9876         (gud-mode): Set up local tool bar.
9877         (gud-display-line): For gdba, call gdb-display-source-buffer.
9878         (gud-basic-call): For gdba, maybe delete the current prompt.
9879         (gud-tool-bar-map): New variable.
9880         (gud-read-address): Correction.
9882         * toolbar/gud-break.xpm, toolbar/gud-cont.xpm, toolbar/gud-display.xpm,
9883         toolbar/gud-down.xpm, toolbar/gud-finish.xpm, toolbar/gud-goto.xpm,
9884         toolbar/gud-next.xpm, toolbar/gud-print.xpm, toolbar/gud-remove.xpm,
9885         toolbar/gud-run.xpm, toolbar/gud-step.xpm, toolbar/gud-up.xpm:
9886         Icons for debugger.
9888 2002-11-13  Stefan Monnier  <monnier@cs.yale.edu>
9890         * pcvs.el (cvs-mode-run): Don't pass "." if not needed.
9892 2002-11-13  Andre Spiegel  <spiegel@gnu.org>
9894         * vc-rcs.el (vc-rcs-registered): Improve comment.
9896         * vc-sccs.el (vc-sccs-registered): Improve comment.
9898 2002-11-13  Tim Van Holder  <tim.vanholder@anubex.com>  (tiny change)
9900         * progmodes/compile.el (compilation-error-regexp-alist):
9901         Don't include colon and space after a file name as part of the name.
9903 2002-11-13  Richard M. Stallman  <rms@gnu.org>
9905         * gud.el (gdb): Undo 10-26 change.
9907 2002-11-13  Kenichi Handa  <handa@m17n.org>
9909         * replace.el (occur-engine): Set buffer-file-coding-system of
9910         OUT-BUF to that of one of BUFFERS if they locally bind that variable.
9912 2002-11-13  Markus Rost  <rost@math.ohio-state.edu>
9914         * custom.el (custom-handle-all-keywords): Fix arg passed to
9915         custom-add-to-group.
9917 2002-11-12  Stefan Monnier  <monnier@cs.yale.edu>
9919         * pcvs-defs.el (cvs-mode-map): Remove M-f binding.
9920         (cvs-minor-mode-map): Add e binding in log-view-mode.
9922         * progmodes/perl-mode.el (perl-hanging-paren-p): New fun.
9923         (perl-indent-line): Look at the open-paren to indent a close-paren.
9924         (perl-calculate-indent): Try to better indent args after hanging paren.
9925         Remove special code for open-paren-in-column-0.
9927         * textmodes/sgml-mode.el (sgml-namify-char): New cmd.
9928         (sgml-name-char): Use it.
9929         (sgml-tag-last, sgml-tag-history): New vars.
9930         (sgml-tag): Use them.
9931         (sgml-skip-tag-forward): Use sgml-tag-syntax-table.
9932         (sgml-delete-tag): Remove resulting empty lines.
9933         (sgml-tag) <symbol-plist>: Don't make intangible.
9934         (sgml-parse-tag-backward): Add limit argument.
9935         (html-autoview-mode): Use define-minor-mode.
9937 2002-11-12  Markus Rost  <rost@math.ohio-state.edu>
9939         * vc-rcs.el (vc-rcs-registered): Handle the autoload cookie so
9940         that the definition is found by `find-function-search-for-symbol'
9941         and etags.
9943         * vc-sccs.el (vc-sccs-registered): Ditto.
9945         * emulation/edt.el (defgroup edt): Arrange that definition starts
9946         at beginning of line.
9948         * ls-lisp.el (defgroup ls-lisp): Remove autoload cookie.
9950         * hi-lock.el (defgroup hi-lock-interactive-text-highlighting):
9951         Remove autoload cookie.
9953         * newcomment.el (defgroup comment): Remove autoload cookie.
9955 2002-11-11  Markus Rost  <rost@math.ohio-state.edu>
9957         * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button):
9958         Declare with defvar, not with defcustom.
9960         * cus-dep.el: Don't require 'autoload.
9961         (custom-make-dependencies): Handle :version also for autoloaded
9962         options.
9964         * winner.el (defgroup winner): Arrange that definition starts at
9965         beginning of line.
9967         * emulation/edt.el: Simplify Emacs 19 compatibility.
9969 2002-11-11  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>  (tiny change)
9971         * dired-aux.el (dired-show-file-type): Format filename with "%s" to
9972         escape any format-like sequences it could contain.
9974 2002-11-11  Per Abrahamsen  <abraham@dina.kvl.dk>
9976         * cus-edit.el (custom-save-delete): Force emacs-lisp-mode.
9978 2002-11-11  Juanma Barranquero  <lektu@terra.es>
9980         * bindings.el (mode-name): Mark it as risky-local-variable.
9982 2002-11-09  Dave Love  <fx@gnu.org>
9984         * international/mule-cmds.el (current-language-environment):
9985         Fix :type.
9987         * international/ucs-tables.el: Revert to using
9988         translation-table-for-input instead of keyboard-translate-table.
9990         * international/quail.el (quail-input-string-to-events):
9991         Revert last change.
9993         * simple.el (quoted-insert): Bind translation-table-for-input,
9994         not keyboard-translate-table.
9996 2002-11-08  Stefan Monnier  <monnier@cs.yale.edu>
9998         * arc-mode.el (archive-zip-summarize): Don't hardcode (point-min) = 1.
10000         * complete.el (PC-do-completion): Make partial-completion work
10001         with incomplete directory names.
10003         * textmodes/tex-mode.el (latex-standard-block-names): Rename from
10004         standard-latex-block-names.
10005         (tex-font-lock-keywords-1): Add providecommand, renewenvironment,
10006         and renewtheorem.  Highlight \it and \bf separately since they
10007         may overlap.
10008         (tex-font-lock-suscript, tex-font-lock-unfontify-region): New funs.
10009         (tex-font-lock-keywords-3, tex-verbatim-environments)
10010         (tex-font-lock-syntactic-keywords): New vars.
10011         (superscript, subscript, tex-verbatim-face): New faces.
10012         (tex-font-lock-syntactic-face-function): Handle \verb construct.
10013         (tex-common-initialization): Update font-lock-defaults setting.
10014         (tex-insert-braces): Make it into a skeleton.
10015         (latex-fill-nobreak-predicate): Don't break after \.
10016         (latex-insert-block): Rename from tex-latex-block.
10017         (latex-down-list): Use tex-mode-syntax-table when skipping parens
10018         rather than the indentation syntax-table.
10019         (latex-close-block): Rename from tex-close-latex-block.
10020         (latex-split-block): New fun.
10021         (latex-indent): Don't indent inside a verbatim block.
10022         (latex-find-indent): Stick \begin{verbatim} to the margin.
10024 2002-11-08  John Wiegley  <johnw@gnu.org>
10026         * calendar/timeclock.el (timeclock-modeline-display): Use assq as
10027         well as memq to find `global-mode-string' within
10028         `mode-line-format'.  The structure of that variable has changed in
10029         21.3.
10031 2002-11-07  Stefan Monnier  <monnier@cs.yale.edu>
10033         * format.el (format-decode): Be careful with the order in `format'.
10035         * eshell/esh-cmd.el (function-p-func): Avoid `xemacs-p'.
10037         * eshell/em-glob.el: Require esh-util.
10038         (eshell-glob-initialize): Don't assume
10039         eshell-special-chars-outside-quoting is available.
10041         * textmodes/fill.el (fill-paragraph): Consider a comment-start as
10042         a paragraph starter when filling non-comments.
10043         (fill-comment-paragraph): Don't narrow while doing the fill.
10044         Recognize paragraph starters and separators within comments.
10045         Use adaptive-fill-prefix when it works.  Use comment-search-forward.
10047         * progmodes/compile.el (grep-default-command): New fun.
10048         (grep): Use it.
10049         (compilation-menu-map): New var.
10050         (compilation-minor-mode-map, compilation-shell-minor-mode-map): Use it.
10051         (compilation-mode-map): Simplify.
10052         (compilation-shell-minor-mode, compilation-minor-mode):
10053         Use define-minor-mode.
10055         * elide-head.el (elide-head): Don't make intangible.
10057         * help.el (where-is): Rename map to defs (a list of syms is not a map).
10058         Test fboundp first, to speed things up.  Use push.
10060         * isearch.el (isearch-hidden): New var.
10061         (isearch-search-and-update): Test it.
10062         (isearch-range-invisible): Set it.
10064         * progmodes/tcl.el (tcl-mode): Don't set paragraph-start,
10065         paragraph-separate, comment-column, and fill-paragraph-function.
10066         Simplify outline-regexp.
10067         (tcl-do-fill-paragraph): Remove.
10069 2002-11-07  Markus Rost  <rost@math.ohio-state.edu>
10071         * mail/sendmail.el (mail-default-directory): Set the version to 21.4.
10073         * progmodes/compile.el (grep-compute-defaults): Undo previous change.
10074         Definition moved down.
10075         (grep-command, grep-find-command, grep-tree-command): Allow value nil.
10076         Do not declare :get property.
10077         (grep-use-null-device): Fix type.  Do not declare :get property.
10079         * emacs-lisp/checkdoc.el (checkdoc-find-error):
10080         Use get-file-buffer instead of get-buffer.
10082         * cus-dep.el (custom-make-dependencies): Fix comment inserted in
10083         cus-load.el.
10085 2002-11-07  Juanma Barranquero  <lektu@terra.es>
10087         * help.el (where-is): Report also aliases of the passed command.
10089 2002-11-06  Dave Love  <fx@gnu.org>
10091         * simple.el (quoted-insert): Bind keyboard-translate-table around
10092         read-char.
10094         * international/ucs-tables.el: Use keyboard-translate-table coding
10095         system property, not translation-table-for-input, for
10096         vietnamese-viscii & al.
10097         (translation-table-for-input): Set,
10098         don't defvar, and make permanent-local.
10099         (ucs-unify-8859, ucs-unify-8859, ucs-fragment-8859): Add/remove
10100         set-buffer-major-mode-hook, not quail-activate-hook.
10101         (ucs-set-table-for-input): Renamed from ucs-quail-activate.
10102         (ucs-unify-8859, ucs-unify-8859, ucs-fragment-8859):
10103         Setup keyboard-translate-table, not translation-table-for-input.
10104         Modify set-buffer-major-mode-hook, not quail-activate-hook.
10105         (ucs-fragment-8859): Don't use translation-table-for-input coding
10106         system property.
10107         (ucs-quail-activate): Deleted.
10108         (ucs-set-table-for-input): New.
10109         (ucs-minibuffer-setup): Use it.
10111         * international/quail.el (quail-input-string-to-events):
10112         Use keyboard-translate-table, not translation-table-for-input.
10114         * files.el (normal-mode): Call ucs-set-table-for-input.
10116         * international/mule.el (set-buffer-file-coding-system):
10117         Call ucs-set-table-for-input.
10119 2002-11-06  Richard M. Stallman  <rms@gnu.org>
10121         * replace.el (query-replace, query-replace-regexp): Doc fixes.
10123         * emacs-lisp/bytecomp.el (byte-compile-lambda):
10124         Handle progn like let, inside interactive spec.
10126         * textmodes/tex-mode.el (tex-dvi-view-command): Value can be sexp.
10127         Initialize to a suitable sexp.
10128         (tex-view): Evaluate tex-dvi-view-command and use the value.
10130 2002-11-06  Kenichi Handa  <handa@m17n.org>
10132         * international/mule.el (coding-system-eol-type-mnemonic):
10133         Use eol-mnemonic-undecided if CODING-SYSTEM is nil.
10135 2002-11-06  Kim F. Storm  <storm@cua.dk>
10137         * info.el (Info-fontify-node): Fixed hiding of *note references
10138         with embedded file names like (xxx.yyy).
10139         Avoid making any lines visibly longer if hiding newlines inside
10140         note references by wrapping line after references if it contained
10141         a newline (unfortunaly this makes more lines appear "shorter").
10142         Properly reindent multi-line menu entry descriptions.
10144 2002-11-05  Juanma Barranquero  <lektu@terra.es>
10146         * language/cyrillic.el ("Bulgarian"): Fix typo.
10148         * international/mule.el (coding-system-eol-type-mnemonic):
10149         Move from mule-util.el.
10151         * international/mule-util.el (coding-system-eol-type-mnemonic):
10152         Move to mule.el.
10154 2002-11-04  Juanma Barranquero  <lektu@terra.es>
10156         * files.el (find-buffer-visiting): Accept new optional PREDICATE
10157         argument to return only a buffer that satisfies the predicate.
10158         (insert-file-1): New function.
10159         (insert-file-literally): Use it.
10160         (insert-file): Use it.
10162 2002-11-04  Robert Fenk  <Robert.Fenk@gmx.de>  (tiny change)
10164         * desktop.el (desktop-relative-file-names): New variable.
10165         (desktop-save): Use it.
10167 2002-11-03  Andre Spiegel  <spiegel@gnu.org>
10169         * vc.el (vc-dired-mode): Adapt dired-move-to-filename-regexp to
10170         its current version in dired.el.
10172 2002-11-03  Stefan Monnier  <monnier@cs.yale.edu>
10174         * emacs-lisp/autoload.el (generate-file-autoloads)
10175         (update-file-autoloads): Strip .gz and other such extensions.
10176         (update-autoloads-from-directories): Also consider compressed files.
10178         * info.el (Info-streamline-headings): New var.
10179         (Info-dir-remove-duplicates): New fun.
10180         (Info-insert-dir): Use it.  Simplify the code with push,mapc,dolist.
10181         (Info-select-node): Simplify handling of Info-header-line.
10182         (Info-forward-node): Undo 2000/12/15 since we don't narrow any more.
10183         (Info-mode): Set header-line-format once and for all.
10184         (Info-fontify-node): Accept bogus first line with `File:' missing.
10185         Only make first line invisible if Info-use-header-line.
10186         Don't use `intangible': it's evil.  Use inhibit-read-only.
10187         (Info-follow-reference, Info-next-reference, Info-prev-reference)
10188         (Info-try-follow-nearest-node): Don't bind inhibit-point-motion-hooks
10189         since we don't use intangible any more.
10191         * image.el (insert-image): Don't make intangible since
10192         adjust_point_for_property should be sufficient by default.
10194 2002-11-02  Stefan Monnier  <monnier@cs.yale.edu>
10196         * textmodes/fill.el (fill-paragraph-handle-comment): New var.
10197         (fill-comment-paragraph): New fun (generalizes of lisp-fill-paragraph).
10198         (fill-paragraph): Use them.
10200         * emacs-lisp/lisp-mode.el (lisp-fill-paragraph):
10201         Use fill-comment-paragraph.
10203 2002-11-02  Stefan Monnier  <monnier@cs.yale.edu>
10205         * bindings.el (mode-line-change-eol)
10206         (mode-line-eol-desc-cache, mode-line-eol-desc): New.
10207         (mode-line-mule-info): Use them for the EOL part of the modeline.
10209         * server.el (server-sentinel): Kill buffers if applicable.
10210         (server-temp-file-p): Make arg optional.
10211         (server-done): Use it to simplify.
10212         (server-switch-buffer): If server-window is a function, use it.
10214         * mail/undigest.el (rmail-digest-end-regexps): Simplify.
10215         (undigestify-rmail-message): Fix paren-bug and simplify.
10217 2002-11-02  Kim F. Storm  <storm@cua.dk>
10219         * info.el (Info-hide-note-references): nil value now does no
10220         reformatting at all.  New choice 'tag reformats tag but shows
10221         the section reference.
10222         (Info-fontify-node): Use it.
10224 2002-11-01  Stefan Monnier  <monnier@cs.yale.edu>
10226         * textmodes/tex-mode.el (tex-common-initialization):
10227         comment-start-skip shouldn't match on the next line.
10229         * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Use match-string.
10230         Don't bother making paragraph-start a superset of paragraph-separate.
10231         Use line-beginning-position.
10233         * textmodes/sgml-mode.el (sgml-skip-tag-backward)
10234         (sgml-skip-tag-forward): Deal with xml-style <foo/> empty tags.
10236 2002-11-01  Kim F. Storm  <storm@cua.dk>
10238         * info.el (Info-hide-note-references): New defcustom.
10239         (Info-fontify-node): Use it.
10241 2002-10-31  Kim F. Storm  <storm@cua.dk>
10243         * shell.el (explicit-bash-args): Bash 1.x doesn't grok
10244         --noediting option; added run-time check to exclude it.
10246         * info.el (Info-follow-reference, Info-next-reference)
10247         (Info-prev-reference, Info-try-follow-nearest-node):
10248         Bind inhibit-point-motion-hooks to t while parsing reference.
10249         (Info-fontify-node): When font-lock-mode is enabled, display
10250         "*note" and "* menu" references in a more user friendly format.
10252 2002-10-30  Stefan Monnier  <monnier@cs.yale.edu>
10254         * textmodes/fill.el (fill-move-to-break-point): Skip white space
10255         _before_ checking to see if we're hitting the margin.
10256         (fill-region-as-paragraph): Don't fiddle with the undo-list any more:
10257         it's now done by the C primitives.  Don't use narrowing.
10258         Reorganize the line-breaking part of the code to simplify the control
10259         flow and make it work in the absence of narrowing.
10260         (fill-region): Don't use narrowing.
10262 2002-10-30  Dave Love  <fx@gnu.org>
10264         * textmodes/po.el (po-content-type-charset-alist): Delete most entries.
10265         (po-find-charset): Doc fix.  Remove interactive spec.
10266         (po): Provide.
10267         (po-find-file-coding-system-guts): Re-written to use
10268         coding-system-alist, and code-pages, not codepage stuff.
10270         * term/x-win.el: Remove some ancient compatibility code.
10271         Populate x-keysym-table.
10273 2002-10-30  Andreas Schwab  <schwab@suse.de>
10275         * subr.el (replace-regexp-in-string): Doc fix.
10277 2002-10-29  Dave Love  <fx@gnu.org>
10279         * cus-start.el (selection-coding-system, scalable-fonts-allowed): Add.
10281         * progmodes/scheme.el (syntax-case): Define scheme-indent-function.
10283         * international/mule-conf.el: Doc fixes.
10285 2002-10-29  Richard M. Stallman  <rms@gnu.org>
10287         * server.el (server-switch-buffer): Say when no server buffers remain.
10289         * net/goto-addr.el (goto-address-url-regexp): Don't match `mailto'.
10291 2002-10-28  Masayuki Ataka  <ataka@milk.freemail.ne.jp>  (tiny change)
10293         * progmodes/make-mode.el (makefile-warn-continuations):
10294         Call re-search-forward with NOERROR t.
10296 2002-10-29  Kim F. Storm  <storm@cua.dk>
10298         * ido.el (ido-wide-find-dirs-or-files): Fixed problem that caused
10299         incomplete list of matches to be returned.
10301 2002-10-29  Masayuki Ataka  <ataka@milk.freemail.ne.jp>  (tiny change)
10303         * textmodes/texinfo.el (texinfo-environments): Add environment;
10304         copying, documentdescription, ifplaintext, ifnotplaintext, and
10305         verbatim.
10307         * textmodes/texinfmt.el (texinfo-format-ifplaintext): New function.
10308         (ifplaintext, ifnotplaintext)
10309         (afourpaper, afivepaper, afourlatex, afourwide)
10310         (documentlanguage, documentencoding): New aliases.
10312 2002-10-29  John Paul Wallington  <jpw@shootybangbang.com>
10314         * ibuffer.el (ibuffer-mouse-popup-menu): Set point before popping
10315         up filter groups menu.  Preserve point unless a menu command has
10316         moved it from point clicked.
10318 2002-10-29  David Kastrup  <dak@lola.goethe.zz>
10320         * calc/calc.el (calc-any-evaltos): Initialize to nil, since
10321         calc-refresh-evaltos appears to need this.
10323 2002-10-28  Dave Love  <fx@gnu.org>
10325         * international/mule-diag.el (non-iso-charset-alist): Move to
10326         avoid compilation warning.
10327         (mule-diag): Provide.
10329         * international/code-pages.el (cp-make-coding-system):
10330         Use utf-translation-table-for-decode, not
10331         utf-8-translation-table-for-decode.
10332         (mule-diag): Require.
10334         * language/thai-util.el (thai-composition-function): Don't use prog1.
10336         * language/lao-util.el (lao-composition-function): Don't use prog1.
10338         * language/european.el (diacritic-composition-function):
10339         Modify confused prog1 form.
10341         * international/quail.el (quail-keyboard-layout-alist): Fix pc105-uk.
10342         (quail-keyboard-layout): Customize.
10343         Move after quail-keyboard-layout-alist.
10345 2002-10-28  Miles Bader  <miles@gnu.org>
10347         * progmodes/make-mode.el (makefile-warn-continuations):
10348         Don't barf when there _aren't_ any suspicious continuations.
10350 2002-10-28  Matthew Swift  <swift@alum.mit.edu>
10352         * progmodes/compile.el (grep-find-use-xargs): Fix docstring.
10354 2002-10-27  Michael Kifer  <kifer@cs.stonybrook.edu>
10356         * ediff-wind.el (ediff-control-frame-parameters): Add scrollbar-height.
10358 2002-10-27  Andreas Schwab  <schwab@suse.de>
10360         * progmodes/sh-script.el (sh-mode-syntax-table): Don't make ^L
10361         end-of-comment syntax.
10363 2002-10-27  Kim F. Storm  <storm@cua.dk>
10365         * ido.el (ido-cannot-complete-command): New defcustom, default to
10366         ido-completion-help (similar to iswitchb-cannot-complete-hook).
10367         (ido-complete): Call value of ido-cannot-complete-command rather
10368         than ido-completion-help when no common completion.
10370 2002-10-27  Dave Love  <fx@gnu.org>
10372         * international/code-pages.el (iso-8859-11): New.
10374 2002-10-27  Kim F. Storm  <storm@cua.dk>
10376         * pcvs.el (cvs-checkout): Use read-directory-name.
10377         (cvs-query-directory): Likewise.
10379 2002-10-26  Richard M. Stallman  <rms@gnu.org>
10381         * progmodes/make-mode.el (makefile-cleanup-continuations):
10382         Default for variable is nil.
10383         (makefile-warn-continuations): New function.
10384         (makefile-mode): Put it on write-file-functions.
10386         * international/mule-cmds.el (select-safe-coding-system):
10387         Delete debugging setq.
10389         * shell.el (shell): Look for .emacs_SHELL under ~/.emacs.d
10390         after looking in ~.
10392         * startup.el (command-line): Look for .emacs under ~/.emacs.d
10393         after looking in ~.
10395         * simple.el (toggle-truncate-lines): When turning off truncation,
10396         clear out the hscroll value in this buffer's windows.
10398         * simple.el (display-message-or-buffer): Don't display empty
10399         output in the echo area.
10401         * man.el (Man-default-man-entry): Don't look for all word chars,
10402         look only for characters that are normally part of a shell command.
10404         * gud.el (gdb): Pass default-directory to GDB via -cd option.
10406         * font-lock.el (c++-font-lock-keywords...): Add `restrict' keyword.
10408         * find-file.el (ff-find-related-file): Fix autoload cookie.
10410         * emacs-lisp/unsafep.el (unsafep-variable): Pass second arg to
10411         risky-local-variable-p.
10413         * files.el (risky-local-variable-p): VAL=nil has special meaning.
10415         * Makefile.in (compile-always): Avoid error in old Bash versions.
10417 2002-10-26  John Paul Wallington  <jpw@shootybangbang.com>
10419         * textmodes/picture.el (picture-mouse-set-point): New command.
10420         (picture-mode-map): Bind it.
10421         (picture-motion-reverse): Doc fix.
10423 2002-10-25  Stefan Monnier  <monnier@cs.yale.edu>
10425         * textmodes/outline.el (outline-next-heading): Make sure the match-data
10426         is really correct where returning.
10428 2002-10-24  Matthew Swift  <swift@alum.mit.edu>
10430         * textmodes/outline.el (outline-minor-mode): Add customization group.
10432 2002-10-23  Richard M. Stallman  <rms@gnu.org>
10434         * files.el (risky-local-variable-p): New arg VAL.
10435         (compile-command): Use `stringp' for `safe-local-variable' prop.
10436         (hack-one-local-variable): Pass VAL to `risky-local-variable-p'.
10438 2002-10-23  Francis J. Wright  <F.J.Wright@qmul.ac.uk>
10440         * woman.el (woman-version): Update to 0.551 (beta).
10441         (woman-parse-colon-path): Add support for current Cygwin mount
10442         conventions.
10443         (woman-Cyg-to-Win): New function to convert absolute filename from
10444         Cygwin to Windows form by executing external program cygpath if
10445         possible.
10446         (woman-man.conf-path): Update default to current common locations
10447         and to support Cygwin; update documentation.
10448         (woman-parse-man.conf): Generalize regexp to "man.*\\.conf" to
10449         match possible names of man.conf file; tidy code and documentation.
10450         (woman-manpath): Simplify default and documentation; essentially
10451         move code that was here into `woman-parse-colon-path'.
10452         (woman-default-indent): Change Linux to GNU in documentation.
10453         (woman-addition-face): Make documentation consistent with other
10454         WoMan faces.
10455         (woman-emulate-tbl): New variable, determines whether tbl
10456         emulation is required.
10457         (woman-decode-region): Add check for preprocessor requests.
10458         (woman0-process-escapes, woman-special-characters)
10459         (woman-get-next-char, woman-parse-numeric-value): Add support for
10460         long groff names of the form [xxx].
10461         (woman-strings, woman-change-fonts): Now call `woman-match-name'.
10462         (woman2-PD, woman2-na): Doc fix.
10463         (woman-match-name): New function.
10464         (woman2-TS): New function.
10465         (woman2-TE): New alias for `woman2-fi'.
10467 2002-10-23  Kim F. Storm  <storm@cua.dk>
10469         * ido.el (ido-restrict-to-matches): New command.
10470         (ido-define-mode-map): Bind it to C-SPC and C-@ in ido-mode-map.
10472 2002-10-22  Bob Halley  <halley@play-bow.org>  (tiny change)
10474         * eshell/esh-io.el (eshell-set-output-handle): Fix so that
10475         multiple redirection can work.
10477 2002-10-21  Stefan Monnier  <monnier@cs.yale.edu>
10479         * ielm.el (inferior-emacs-lisp-mode): If hexl not found, use cat.
10480         Don't hardcode point-min == 1.
10482         * hexl.el (hexl-mode-old-write-contents-hooks): Remove.
10483         (hexl-mode, hexl-current-address, hexl-address-to-marker)
10484         (hexl-insert-char): Don't hardcode point-min == 1.
10485         (hexl-isearch-search-function): New fun.
10486         (hexl-mode-old-isearch-search-fun-function): New var.
10487         (hexl-mode): Use them.
10488         (hexl-mode, hexl-mode-exit, hexl-maybe-dehexlify-buffer):
10489         Use write-contents-functions rather then write-contents-hooks.
10491         * textmodes/text-mode.el (text-mode-syntax-table): Make ' a prefix.
10492         (paragraph-indent-text-mode-abbrev-table)
10493         (paragraph-indent-text-mode-syntax-table): Remove.
10494         (paragraph-indent-text-mode): Use the :abbrev and :syntax-table args.
10496 2002-10-21  Juanma Barranquero  <lektu@terra.es>
10498         * eshell/esh-util.el (directory-files-and-attributes): Copy docstring
10499         from Emacs 21.  Arg DIR renamed to DIRECTORY for consistency.
10501 2002-10-20  Andreas Schwab  <schwab@suse.de>
10503         * apropos.el (apropos-group): Use customize-group-other-window.
10505 2002-10-18  Stefan Monnier  <monnier@rum.cs.yale.edu>
10507         * progmodes/perl-mode.el (perl-mode-syntax-table): Change $ back
10508         to just "/" instead of "/ p".
10509         (perl-font-lock-syntactic-keywords): Use ". p" for the `$'.
10511 2002-10-18  Juanma Barranquero  <lektu@terra.es>
10513         * textmodes/artist.el (artist-ff-is-bottommost-line): Fix misplaced
10514         ELSE expression on IF.
10516 2002-10-17  Juanma Barranquero  <lektu@terra.es>
10518         * align.el (align-rules-list, align-exclude-rules-list): Fix typos.
10520         * subr.el (remq): Likewise.
10522         * vc-cvs.el (vc-cvs-sticky-tag-display): Likewise.
10524         * vc-hooks.el (vc-insert-file): Likewise.
10526         * vcursor.el (vcursor-other-window): Likewise.
10528         * wid-edit.el (widget-choose): Likewise.
10530         * calendar/diary-lib.el (diary-name-pattern): Likewise.
10532         * emacs-lisp/elint.el (elint-error, elint-warning): Likewise.
10534         * emacs-lisp/lisp.el (beginning-of-defun): Likewise.
10536         * emulation/edt-mapper.el (top-level): Likewise.
10538         * eshell/esh-var.el (eshell/define): Likewise.
10540         * mail/feedmail.el (feedmail-nuke-body-in-fcc)
10541         (feedmail-queue-draft-directory): Likewise.
10543         * net/netrc.el (netrc-parse): Likewise.
10545         * obsolete/cplus-md.el (c++-empty-arglist-indent): Likewise.
10547         * progmodes/ebrowse.el (ebrowse-ts)
10548         (ebrowse-view/find-file-and-search-pattern)
10549         (ebrowse-draw-file-member-info): Likewise.
10551         * progmodes/idlwave.el (idlwave-region-active-p): Likewise.
10553         * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise.
10555         * progmodes/sh-script.el (sh-indent-for-then): Likewise.
10557         * textmodes/bibtex.el (bibtex-find-entry-location): Likewise.
10559         * textmodes/sgml-mode.el (sgml-close-tag, html-imenu-index): Likewise.
10561 2002-10-17  Dave Love  <fx@gnu.org>
10563         * international/mule-diag.el (non-iso-charset-alist): Add koi8-u.
10565         * international/code-pages.el (cp-make-translation-table): Use
10566         ucs-mule-to-mule-unicode.
10567         (cp-fix-safe-chars): Fix typo.
10568         (non-iso-charset-alist): Don't define.
10569         (cp-make-coding-system): Use utf-8-translation-table-for-decode.
10570         Define translation-table-for-input.
10571         (cp866): Reinstate.
10572         (alternativnj): Don't define alias.
10573         (koi8-u): Deleted.
10575         * language/european.el ("Slovenian"): Use slovenian input-method.
10576         (encode-mac-roman): Use ucs-mule-to-mule-unicode.
10578         * language/cyrillic.el (cyrillic-alternativnyj-decode-table): Fix
10579         the table.
10580         (cyrillic-alternativnyj): Don't give it `mime-charset' property.
10581         (cp866): Delete this alias.
10582         ("Bulgarian"): Fix the value of `input-method'.
10584 2002-10-16  Luc Teirlinck  <teirllm@mail.auburn.edu>
10586         * dired-aux.el (dired-add-entry): Put point in correct position
10587         before inserting marker char.
10589 2002-10-16  Andreas Schwab  <schwab@suse.de>
10591         * dired.el (dired-readin-insert): Expand dired-directory.
10593         * dired-aux.el (dired-insert-subdir-doinsert): Preserve point.
10595 2002-10-16  Markus Rost  <rost@math.ohio-state.edu>
10597         * textmodes/reftex-vars.el: Move reftex-set-dirty here from
10598         reftex.el.  Move the provide call to end of file.
10600         * textmodes/reftex.el: Move reftex-set-dirty to reftex-vars.el.
10602 2002-10-15  Dave Love  <fx@gnu.org>
10604         * man.el (Man-getpage-in-background): Set width in environment.
10606 2002-10-15  Kenichi Handa  <handa@m17n.org>
10608         * mail/sendmail.el (sendmail-send-it): Call
10609         select-message-coding-system before changing the current bufer to
10610         " sendmail temp".
10612 2002-10-14  Andre Spiegel  <spiegel@gnu.org>
10614         * files.el (insert-directory): Handle //SUBDIRED// lines in
10615         recursive listings from ls --dired.
10617         * vc.el (vc-dired-reformat-line): Simplified.  Handles text
10618         properties correctly now.
10620 2002-10-14  Juanma Barranquero  <lektu@terra.es>
10622         * international/mule.el (set-selection-coding-system): Fix spacing.
10624 2002-10-13  Richard M. Stallman  <rms@gnu.org>
10626         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
10627         Treat `ignore' specially--prevent warnings about functions
10628         called for effect, in its args.
10629         Don't warn when `pop' is used for effect.
10631         * emacs-lisp/autoload.el (autoload-print-form): Cleanup.
10633         * uniquify.el (uniquify-get-proposed-name):
10634         Don't use directory-sep-char.
10636         * thingatpt.el (read-from-whole-string): Add call to `ignore'.
10638         * find-file.el (ff-related-file-alist): New alias.
10639         (ff-find-related-file): New alias.
10641 2002-10-13  Andreas Schwab  <schwab@suse.de>
10643         * dired.el (dired-insert-directory): When looking for existing
10644         indentation, goto OPOINT instead of beginning of buffer.
10646 2002-10-12  Stefan Monnier  <monnier@cs.yale.edu>
10648         * cus-dep.el (custom-make-dependencies): Ignore preloaded files.
10650 2002-10-12  Michael Kifer  <kifer@cs.stonybrook.edu>
10652         * ediff-init.el (ediff-frame-char-height): Use frame-selected-window.
10654         * ediff-util.el (ediff-file-checked-in-p): Changed progn with and.
10656         * ediff-wind.el (ediff-skip-unsuitable-frames): Distinguish selected
10657         frame from frame of selected window.
10658         (ediff-frame-has-dedicated-windows): Don't select any frames to avoid
10659         changing selected windows.
10660         (ediff-setup-control-frame): Make sure auto-rase is properly set for
10661         the control frame.
10663 2002-10-10  Simon Josefsson  <jas@extundo.com>
10665         * browse-url.el (browse-url-mozilla): Doc fix.
10667 2002-10-10  Steve Youngs  <youngs@xemacs.org>
10669         * browse-url.el (browse-url-mozilla-new-window-is-tab): New.
10670         (browse-url-mozilla): Use it.
10672 2002-10-11  Miles Bader  <miles@gnu.org>
10674         * vc-cvs.el (vc-cvs-parse-entry): Don't barf when an `Entries'
10675         files contains an invalid timestamp.
10677 2002-10-11  Simon Josefsson  <jas@extundo.com>
10679         * mail/sendmail.el (mail-envelope-from): New option `header' to
10680         use RFC 2822 From: header as the envelope address.
10681         (mail-envelope-from): New function, this should be used instead of
10682         looking at the `mail-envelope-from' variable.
10683         (sendmail-send-it): Use it.
10685         * mail/smtpmail.el (smtpmail-via-smtp): Use it.
10687 2002-10-11  Andre Spiegel  <spiegel@gnu.org>
10689         * dired.el (dired-insert-directory): Fix check for indentation
10690         from ls --dired.
10692         * vc.el (vc-dired-reformat-line): As a temporary fix, remove all text
10693         properties from the reformatted line.
10695 2002-10-10  Stefan Monnier  <monnier@cs.yale.edu>
10697         * textmodes/paragraphs.el (forward-paragraph): Keep track of
10698         remaining paragraphs to skip more carefully.
10700         * add-log.el (add-change-log-entry): Don't call find-file at all
10701         if we're already in the proper buffer.
10702         (change-log-resolve-conflict): New fun.
10703         (change-log-mode): Use it and use define-derived-mode.
10704         (change-log-merge): Allow other-log to be a buffer.
10705         Don't add a \n if there are already enough \n's.
10707         * finder-inf.el, subdirs.el, cus-load.el: Remove.
10709         * finder.el ("finder-inf"): Don't fail if the file is absent.
10711         * cus-dep.el (custom-make-dependencies): Don't use find-file.
10712         Use feature names rather than file names if applicable.
10714         * cus-edit.el (customize-mode): New command.
10716         * custom.el (custom-group-of-mode): New fun.
10717         (custom-load-symbol): Don't use preloaded-file-list now that
10718         load-history is always complete.  Don't look up the expanded file
10719         name in load-history (looked like an XEmacsism).
10721         * smerge-mode.el (smerge-ediff): Autoload.
10722         (smerge-match-conflict): Don't assume as much about smerge-begin-re.
10723         (smerge-resolve-function): New var.
10724         (smerge-resolve): New command.
10725         (smerge-basic-map): Bind it.
10727 2002-10-10  Andre Spiegel  <spiegel@gnu.org>
10729         * vc-cvs.el (vc-cvs-parse-entry): Parse the time stamp found in
10730         CVS/Entries, rather than comparing it textually.
10732 2002-10-10  Markus Rost  <rost@math.ohio-state.edu>
10734         * international/encoded-kb.el: Add `provide' call.
10736 2002-10-09  David Kastrup  <David.Kastrup@t-online.de>
10738         * calc/calc-alg.el (calcFunc-ln): In symbolic manipulations,
10739         ln(-1) should be i*pi, not pi.
10741 2002-10-09  Markus Rost  <rost@math.ohio-state.edu>
10743         * vc-cvs.el (vc-cvs-registered): In the autoload version use load
10744         instead of require to avoid loops when loaddefs.el is loaded after
10745         vc-cvs.el.
10747         * cus-edit.el (Custom-reset-current): Don't test for default-boundp.
10748         (Custom-reset-saved): Don't test for saved-value.
10750 2002-10-08  Stefan Monnier  <monnier@cs.yale.edu>
10752         * vc.el (vc-find-version): Use the new backend op `find-version'.
10753         (vc-default-find-version): Provide the new backend op `find-version'
10754         in terms of the old `checkout' op.
10756         * vc-rcs.el (vc-rcs-find-version): New fun.
10757         (vc-rcs-checkout): Remove `workfile' arg and simplify.
10759         * vc-sccs.el (vc-sccs-find-version): New fun.
10760         (vc-sccs-checkout): Remove `workfile' arg and simplify.
10762         * vc-cvs.el (vc-cvs-find-version): New fun.
10764 2002-10-08  John Paul Wallington  <jpw@shootybangbang.com>
10766         * info.el (Info-next-menu-item, Info-last-menu-item)
10767         (info-emacs-manual): Add docstrings.
10768         (Info-index): Use `string-to-number' instead of `string-to-int'.
10770 2002-10-08  Kenichi Handa  <handa@m17n.org>
10772         * international/ucs-tables.el (ucs-translation-table-for-decode):
10773         Define it as a translation-table.
10775 2002-10-07  Richard M. Stallman  <rms@gnu.org>
10777         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10779         * progmodes/compile.el (grep-compute-defaults): Set the standard-value
10780         properties of the variables being initialized.
10782         * thingatpt.el (thing-at-point-url-path-regexp): Doc fix.
10784 2002-10-07  Kim F. Storm  <storm@cua.dk>
10786         * emulation/cua-base.el (cua-normal-cursor-color):
10787         Fixed initialization to make "Erase Customization" work.
10789 2002-10-07  Stefan Monnier  <monnier@cs.yale.edu>
10791         * vc.el (vc-maybe-resolve-conflicts): Always call vc-resolve-conflicts
10792         in case some other package redefined it.
10793         (vc-resolve-conflicts): Make it into an alias for smerge-ediff.
10795         * textmodes/fill.el (fill-paragraph): Go to BOL before calling
10796         forward-paragraph to make sure its return value is meaningful.
10798 2002-10-06  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10800         * net/tramp.el: Version 2.0.25 released.
10801         (tramp-handle-file-truename): If it's a directory,
10802         append slash only if result doesn't end in a slash already.
10803         (tramp-handle-file-truename): Restructure logic.  If list of steps
10804         is nil, return "/" as the real name.
10805         (tramp-completion-mode): Add "\\(" and "\\)". Otherwise,
10806         `match-string' doesn't make sense.  From Michael Albinus.
10807         (tramp-host-with-port-regexp): New defcustom. Equal to previous
10808         `tramp-host-regexp'.  From Michael Albinus.
10809         (tramp-host-regexp): Taken off hashes in host names. Otherwise,
10810         scanning files like .rhosts would take comments as host names.
10811         From Michael Albinus.
10812         (tramp-file-name-structure, tramp-multi-file-name-hop-structure):
10813         Replace `tramp-host-regexp' by `tramp-host-with-port-regexp'.
10814         From Michael Albinus.
10815         (tramp-action-terminal): New function.
10816         (tramp-terminal-prompt-regexp): New variable, matches "tset" prompts.
10817         (tramp-actions-before-shell): Use them.
10818         (tramp-handle-shell-command): Logic error.  From Ivan
10819         Zakharyaschev <imz@altlinux.org>.
10821 2002-10-06  Markus Holmberg  <markush@acc.umu.se>  (tiny change)
10823         * thingatpt.el (thing-at-point-uri-schemes): New variable.
10824         (thing-at-point-url-regexp): Use it.
10826 2002-10-06  Glenn Morris  <gmorris@ast.cam.ac.uk>
10828         * progmodes/fortran.el (fortran-beginning-do): Ignore labelled DO
10829         loops.
10831 2002-10-05  Stefan Monnier  <monnier@cs.yale.edu>
10833         * vc.el (vc-log-mode-map): Explicitly inherit from text-mode.
10834         (vc-maybe-resolve-conflicts): Don't check smerge-mode and smerge-ediff.
10835         (vc-print-log): Don't check log-view-mode.
10836         (vc-default-show-log-entry): Don't check log-view-goto-rev.
10837         (vc-log-mode): Remove.
10838         (vc-log-edit): Don't check log-edit.
10840 2002-10-04  Stefan Monnier  <monnier@cs.yale.edu>
10842         * vc-cvs.el (vc-cvs-show-log-entry):
10843         * vc-rcs.el (vc-rcs-show-log-entry): Delete.
10845         * smerge-mode.el (smerge-ediff): Add name-{mine,other,base} args.
10847 2002-10-04  Markus Rost  <rost@math.ohio-state.edu>
10849         * vc.el (vc-default-show-log-entry): Fix typo.
10851 2002-10-04  Steven Tamm  <steventamm@mac.com>
10853         * term/mac-win.el: Add lines to handle the new [return] event.
10855 2002-10-03  Stefan Monnier  <monnier@cs.yale.edu>
10857         * textmodes/fill.el (fill-paragraph): Give up if there's no
10858         paragraph at or after point.
10860         * textmodes/paragraphs.el (forward-paragraph): Return the steps left.
10862         * vc.el (vc-print-log): Unconditionally use `show-log-entry'.
10863         (vc-default-show-log-entry): New fun.
10865         * subr.el (read-key-auxiliary-map, read-key): Remove.
10866         (read-quoted-char): Undo the `read-key' change of 2002-06-23.
10868 2002-10-03  Markus Rost  <rost@math.ohio-state.edu>
10870         * progmodes/ada-stmt.el (ada-stmt-add-to-ada-menu): Handle the
10871         menu pseudo-keys generated by easymenu which are lowercase in
10872         Emacs 21.4.
10874         * progmodes/ada-xref.el
10875         (ada-xref-update-project-menu,ada-add-ada-menu): Ditto.
10877 2002-10-03  John Paul Wallington  <jpw@shootybangbang.com>
10879         * frame.el (delete-frame-hook): Variable alias for
10880         `delete-frame-functions'.  Mark obsolete.
10882 2002-10-02  Stefan Monnier  <monnier@cs.yale.edu>
10884         * textmodes/outline.el (outline-1, outline-2, outline-3, outline-4)
10885         (outline-5, outline-6, outline-7, outline-8): New faces.
10886         (outline-font-lock-faces, outline-font-lock-levels): New vars.
10887         (outline-font-lock-face): New fun.
10888         (outline-font-lock-keywords): Use it.
10889         (outline-font-lock-level): Remove.
10890         (outline-mode, outline-next-preface, outline-next-heading)
10891         (outline-previous-heading, outline-next-visible-heading):
10892         Use shy group.
10893         (outline-level) <var>: Update calling convention.
10894         (outline-level) <fun>: Take advantage of it.
10895         (outline-demote): Don't assume the match-data is still uptodate.
10896         (outline-up-heading): Simplify and make sure the match data is
10897         properly set at the end.
10899 2002-10-02  Markus Rost  <rost@math.ohio-state.edu>
10901         * progmodes/sh-script.el (sh-alias-alist): Use append instead of
10902         nconc.
10904         * startup.el (normal-top-level): Reset standard-value property of
10905         `user-full-name' here.
10907 2002-10-02  Per Abrahamsen  <abraham@dina.kvl.dk>
10909         * wid-edit.el (widget-default-get): Change to return external
10910         value.
10911         (widget-choice-action): Update caller.
10912         (widget-editable-list-entry-create): Update caller.
10914         * wid-edit.el (widget-types-copy): New function.
10915         (default): Added :copy keyword.
10916         (menu-choice): Ditto.
10917         (checklist): Ditto.
10918         (radio-button-choice): Ditto.
10919         (editable-list): Ditto.
10920         (group): Ditto.
10921         (widget-copy): New function.
10922         (widget-create-child): Use it.
10923         (widget-create-child-value): Use it.
10925 2002-10-01  Bill Wohler  <wohler@newt.com>
10927         * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el,
10928         mail/mh-mime.el, mail/mh-pick.el, mail/mh-seq.el,
10929         mail/mh-utils.el, mail/mh-xemacs-compat.el, mail/reply2.pbm,
10930         mail/reply2.xpm, toolbar/execute.pbm, toolbar/execute.xpm,
10931         toolbar/page-down.pbm, toolbar/page-down.xpm, toolbar/refile.pbm,
10932         toolbar/refile.xpm, toolbar/repack.pbm, toolbar/repack.xpm,
10933         toolbar/rescan.pbm, toolbar/rescan.xpm, toolbar/show.pbm,
10934         toolbar/show.xpm, toolbar/widen.pbm, toolbar/widen.xpm:
10935         Upgraded to mh-e version 6.1.1.  Full ChangeLog available in
10936         http://prdownloads.sourceforge.net/mh-e/mh-e-6.1.tgz?download .
10937         There were no user-visible changes in 6.1.1 from 6.1--only the
10938         section of the Makefile that installs the files into Emacs was changed.
10940 2002-10-01  Stefan Monnier  <monnier@cs.yale.edu>
10942         * pcvs.el (cvs-mode-find-file): Look up font-lock-face so it also
10943         works when font-lock is turned off.
10945         * jit-lock.el (jit-lock-fontify-now): Don't widen.
10946         Let the jit-lock-functions do it if they want to.
10948 2002-10-01  Juanma Barranquero  <lektu@terra.es>
10950         * eshell/esh-module.el (eshell-load-defgroups):
10951         Add "no-byte-compile: t" to subdirs.el.
10953         * makefile.w32-in (update-subdirs-CMD): Likewise.
10955         * forms-d2.el:
10956         * forms-pass.el:
10957         * generic-x.el:
10958         * patcomp.el:
10959         * paths.el:
10960         * version.el:
10961         * international/mule-conf.el:
10962         * language/czech.el:
10963         * language/devanagari.el:
10964         * language/english.el:
10965         * language/georgian.el:
10966         * language/greek.el:
10967         * language/hebrew.el:
10968         * language/japanese.el:
10969         * language/korean.el:
10970         * language/lao.el:
10971         * language/misc-lang.el:
10972         * language/romanian.el:
10973         * language/slovak.el:
10974         * language/thai.el:
10975         * language/utf-8-lang.el:
10976         * emacs-lisp/cl-specs.el:
10977         * eshell/esh-maint.el:
10978         * mail/blessmail.el:
10979         * play/bruce.el:
10980         * term/apollo.el:
10981         * term/AT386.el:
10982         * term/bobcat.el:
10983         * term/internal.el:
10984         * term/iris-ansi.el:
10985         * term/keyswap.el:
10986         * term/linux.el:
10987         * term/lk201.el:
10988         * term/news.el:
10989         * term/vt102.el:
10990         * term/vt125.el:
10991         * term/vt200.el:
10992         * term/vt201.el:
10993         * term/vt220.el:
10994         * term/vt240.el:
10995         * term/vt300.el:
10996         * term/vt320.el:
10997         * term/vt400.el:
10998         * term/vt420.el:
10999         * term/wyse50.el: Add "no-byte-compile: t" in first line.
11001 2002-10-01  Kenichi Handa  <handa@m17n.org>
11003         * international/utf-16.el: Don't provide utf-16.
11005         * international/utf-8.el (ccl-decode-mule-utf-8):
11006         Remove unnecessary line.
11008 2002-09-30  Kenichi Handa  <handa@m17n.org>
11010         * language/thai.el (thai-tis620): Add `mime-charset' property.
11012         * language/indian.el: Don't register "ISO10646.*-1" in
11013         font-ccl-encoder-alist.
11015         * language/cyrillic.el (ccl-decode-koi8): Refer to
11016         ucs-translation-table-for-decode.
11017         (ccl-decode-koi8-u): Likewise.
11018         (ccl-decode-alternativnyj): Likewise.
11019         (cyrillic-koi8): Put `dependency' property.
11020         (koi8-u): Likewise.
11021         (cyrillic-alternativnyj): Likewise.
11023         * international/utf-8.el (ucs-mule-to-mule-unicode): Don't define
11024         this translation-table name here.
11025         (utf-translation-table-for-encode): New translation-table name.
11026         (utf-fragmentation-table): Renamed from utf-8-fragmentation-table.
11027         (utf-defragmentation-table): New variable.
11028         (ucs-mule-cjk-to-unicode): Renamed from utf-8-subst-rev-table.
11029         (utf-subst-table-for-encode): New translation-table name.
11030         (ucs-unicode-to-mule-cjk): Renamed from utf-8-subst-table.
11031         (utf-subst-table-for-decode): New translation-table name.
11032         (utf-fragment-on-decoding): Renamed from
11033         utf-8-fragment-on-decoding.  Correctly handle the case that
11034         unify-8859-on-encoding-mode is off.  Handle mule-utf-16-le and
11035         mule-utf-16-be too.
11036         (utf-translate-cjk): Renamed from utf-8-translate-cjk.
11037         Handle mule-utf-16-le and mule-utf-16-be too.
11038         (ccl-decode-mule-utf-8): Refer to utf-translation-table-for-decode
11039         and utf-subst-table-for-decode.
11040         (ccl-encode-mule-utf-8): Refer to utf-translation-table-for-encode
11041         and utf-subst-table-for-encode.
11042         (mule-utf-8): Fix `safe-charsets' property, put `dependency' property.
11044         * international/utf-8-subst.el: Setup ucs-unicode-to-mule-cjk and
11045         ucs-mule-cjk-to-unicode, not utf-8-subst-table and
11046         utf-8-subst-rev-table.
11048         * international/utf-16.el (utf-16-decode-ucs): Look up
11049         utf-subst-table-for-decode.  Fix for the case that the looking up
11050         succeeds.
11051         (ccl-decode-mule-utf-16-le): Translate characters by
11052         utf-translation-table-for-decode.
11053         (ccl-decode-mule-utf-16-be): Likewise.
11054         (ccl-encode-mule-utf-16-le): Look up utf-subst-table-for-encode
11055         at first.  Translate characters by utf-translation-table-for-encode.
11056         (ccl-encode-mule-utf-16-be): Likewise.
11057         (mule-utf-16-le, mule-utf-16-be): Add `dependency' property.
11059         * loadup.el: Preload international/utf-16.  Don't call ucs-unify-8859.
11061         * international/ucs-tables.el: Don't bind
11062         utf-8-translation-table-for-decode while setting up
11063         ucs-mule-8859-to-ucs-table, etc.  Add `depenency' property to
11064         iso-8859-* coding systems.
11065         (ucs-unify-8859): Arguments changed to FOR-ENCODE and FOR-DECODE.
11066         If FOR-DECODE is non-nil, make ucs-mule-8859-to-mule-unicode
11067         populate the translation table named
11068         ucs-translation-table-for-decode.  If FOR-ENCODE is non-nil, make
11069         ucs-mule-to-mule-unicode populates the translation table named
11070         utf-translation-table-for-encode.  Call register-char-codings for
11071         mule-utf-16-be and mule-utf-16-le too.
11072         (ucs-fragment-8859): Arguments changed to FOR-ENCODE and
11073         FOR-DECODE.  If FOR-DECODE is non-nil, make the translation table
11074         named ucs-translation-table-for-decode vacant.  If FOR-ENCODE is
11075         non-nil, make a proper char-table populates the translation table
11076         name utf-translation-table-for-encode.  Call register-char-codings
11077         for all mule-utf-* to to reset their status to the origianl.
11078         (unify-8859-on-encoding-mode): Call ucs-unify-8859 and
11079         ucs-fragment-8859 with fixed arguments.  Set the version to 21.3.
11080         (unify-8859-on-decoding-mode): Likewise.  Remove dependency.
11081         (ccl-encode-unicode-font): Delete.
11082         (ucs-tables-unload-hook): Delete.
11084         * international/mule.el (decode-char): Refer to the translation
11085         hash table named utf-subst-table-for-decode.  Refer to the
11086         translation table named utf-translation-table-for-decode instead
11087         of utf-8-translation-table-for-decode.
11088         (encode-char): Refer to the translation hash table named
11089         utf-subst-table-for-encode.  Refer to the translation table named
11090         utf-translation-table-for-encode instead of
11091         utf-8-translation-table-for-encode.
11093         * international/mule-diag.el (describe-coding-system):
11094         Describe `dependency' property.
11096         * international/mule-conf.el (emacs-mule): Add property `composition'.
11098         * international/fontset.el (ucs-mule-to-mule-unicode): Define this
11099         translation table name here.
11100         (ucs-mule-cjk-to-unicode): New translation table name.
11101         (ccl-encode-unicode-font): Merge the code in ucs-tables.el.
11102         (font-ccl-encoder-alist): Change the font registry pattern to
11103         "ISO10646.*-*".
11105 2002-09-30  Colin Walters  <walters@gnu.org>
11107         * calc/calc-stuff.el (calc-flush-caches): Add optional arg
11108         `inhibit-msg'.
11110         * calc/calc-prog.el (calc-kbd-report, calc-kbd-query): Don't bind
11111         `executing-kbd-macro' and `defining-kbd-macro'.
11113         * calc/calc-ext.el (calc-reset): Don't bind `executing-kbd-macro'.
11114         Call `calc-flush-caches' with inhibit-msg arg.
11115         (calc-change-mode): Remove extra arg for `calc-save-modes'.
11117         * calc/calc-mode.el (calc-save-modes): Remove `quiet' arg.
11118         Don't bind `executing-kbd-macro'.
11120 2002-09-29  Noah Friedman  <friedman@splode.com>
11122         * subr.el (read-key): Use read-key-auxiliary-map, not read-key-aux-map.
11124 2002-09-29  Richard M. Stallman  <rms@gnu.org>
11126         * startup.el (user-mail-address): Initialize to a useful value
11127         once Emacs is started up; initialize to "" at loadup time.
11128         (command-line): "", not nil, means user-mail-address not set yet.
11130 2002-09-29  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11132         * net/tramp.el: Version 2.0.24 released.
11133         (tramp-methods, tramp-completion-function-alist):
11134         Rename "*-old" methods to "*_old".  From Michael Albinus.
11135         (tramp-completion-function-alist):
11136         Use `tramp-completion-function-alist-ssh' for the "fcp" method.
11137         From Michael Albinus.
11138         (tramp-default-method-alist): Use "su" for "root@localhost".
11139         (tramp-host-regexp): Allow "#" for "host#port" kludge.
11140         (tramp-ange-ftp-file-name-p): If METHOD is nil, find the right
11141         default method.  Require additional args USER and HOST for this.
11142         Callers changed.
11143         (tramp-handle-file-local-copy): More local bindings.  Bind results
11144         of tramp-get-{remote,local}-{de,en}coding earlier to avoid nasty
11145         "are you awake" problem.
11146         (tramp-action-password): Protect against clobbered match data.
11147         (tramp-open-connection-setup-interactive-shell): Explicitly set
11148         tramp-last-cmd-time before invoking tramp-send-command the first
11149         time.  Otherwise, tramp-send-command would issue "echo are you
11150         awake" right at the first time, which is not what we want.
11151         Reported by Douglas Gray Stephens.
11152         (tramp-find-inline-encoding): Don't redirect stdout to
11153         /dev/null to avoid "chmode go-rwx" operation from "mimencode
11154         >/dev/null" as root(!), and to check the output of the decoding
11155         command.
11156         (tramp-maybe-open-connection): Don't send "are you awake" if
11157         process has died.
11159 2002-09-29  Colin Walters  <walters@gnu.org>
11161         * calc/calc.el (calc-dispatch-map): Actually set to keymap.
11163 2002-09-29  Mike Williams  <mdub@bigfoot.com>
11165         * textmodes/sgml-mode.el (sgml-guess-indent): Handle tabs correctly.
11167 2002-09-29  Richard M. Stallman  <rms@gnu.org>
11169         * custom.el (defcustom): Doc fix.
11171 2002-09-28  Richard M. Stallman  <rms@gnu.org>
11173         * loadhist.el (unload-feature): When undefining a variable,
11174         delete its buffer-local bindings.
11176 2002-09-28  Luc Teirlinck  <teirllm@mail.auburn.edu>
11178         * subr.el (remove-yank-excluded-properties): Fix bugs in
11179         handling of category properties.
11181 2002-09-28  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
11183         * ps-print.el (ps-print-emacs-type): Error if ps-print is
11184         activated in Epoch, inLucid or in Emacs v19 or lesser.
11185         Value can no longer be `lucid'.
11186         (ps-print-version): New version number (6.5.8).
11187         (faces): Never do (require 'faces).
11189 2002-09-28  Simon Josefsson  <jas@extundo.com>
11191         * mail/smtpmail.el (smtpmail-via-smtp): Only negotiate starttls on
11192         streams that were opened using starttls.
11194 2002-09-28  Paul Reilly  <pmr@pajato.com>
11196         * files.el (auto-mode-alist): Add support for Java Enterprise
11197         ARchive (ear/EAR) and Web ARchive (war/WAR) files.
11199 2002-09-28  John Paul Wallington  <jpw@shootybangbang.com>
11201         * progmodes/m4-mode.el (m4-font-lock-keywords)
11202         (m4-mode-syntax-table, m4-mode-abbrev-table, m4-m4-buffer)
11203         (m4-m4-region): Doc fixes.
11205 2002-09-27  Stefan Monnier  <monnier@cs.yale.edu>
11207         * emacs-lisp/cl-macs.el: Use the new usage-in-docstring syntax.
11208         (cl-push, cl-pop): Remove.
11209         Use pop and push throughout the file instead.
11210         (cl-transform-lambda): Add usage info to docstring if the arglist
11211         is complex.
11213         * emacs-lisp/autoload.el (make-autoload): Add usage info to docstring.
11214         (autoload-print-form): Also quote open-[-in-column 0.
11216         * help-fns.el (help-with-tutorial): Use minibuffer-completion-help.
11217         (help-split-fundoc): Don't support old syntax any more.
11218         (help-add-fundoc-usage): New fun.
11220         * emacs-lisp/cl-extra.el (cl-push, cl-pop): Remove.
11221         Use pop and push throughout the file instead.
11222         (cl-hash-lookup): Remove.
11223         (cl-make-hash-table, cl-hash-table-p, cl-gethash, cl-puthash)
11224         (cl-remhash, cl-clrhash, cl-maphash, cl-hash-table-count): Simplify.
11226         * emacs-lisp/cl-seq.el (cl-push, cl-pop): Remove.
11227         Use pop and push throughout the file instead.
11229         * emacs-lisp/edebug.el: Don't precompute menu shortcuts during
11230         loading since the current keymaps might be all weird.
11232         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't add properties
11233         to the name since they're added by mode-line-format already.
11234         (define-minor-mode): Run (,mode -1) when needed.
11236         * tar-mode.el (tar-untar-buffer): Handle dir-entries.
11237         (tar-summarize-buffer, tar-mode, tar-extract, tar-copy, tar-expunge)
11238         (tar-alter-one-field, tar-subfile-save-buffer, tar-mode-write-file):
11239         Don't hardcode 1 == point-min.
11241         * abbrev.el (write-abbrev-file): Don't hardcode point-min == 1.
11243         * subr.el (read-key-auxiliary-map): New var.
11244         (read-key): Use it.
11245         (make-temp-file): Make the file have mode 600.
11246         (add-minor-mode): Don't add properties to the name since it's
11247         added by mode-line-format already.
11248         Be more careful with the mode-line-menu entry name.
11250         * userlock.el (ask-user-about-supersession-threat): Don't abort
11251         when the user hits mouse-2.
11253         * register.el (set-register): Use push.
11254         (point-to-register): Set kill-buffer-hook in this buffer.
11255         (register-swap-out): Use dolist.
11256         (kill-buffer-hook): Don't change globally.
11258         * server.el (server-select-display): New function.
11259         (server-process-filter): Add support for `-display' and `-eval' args.
11260         (server-visit-files): Use save-current-buffer, push, and dolist.
11261         Add server-kill-buffer to kill-buffer-hook.
11262         (kill-buffer-hook): Don't modify globally.
11263         (server-switch-buffer): Be a bit more careful with multiple displays.
11264         (server-socket-name): Always use /tmp and non-qualified hostname.
11266         * uniquify.el (uniquify-rationalize-file-buffer-names):
11267         Add to kill-buffer-hook for buffers with conflict.
11268         (rename-buffer): Check kill-buffer-hook to see if there was a conflict.
11269         (uniquify-delay-rationalize-file-buffer-names): Remove useless check.
11270         (kill-buffer-hook): Don't change globally.
11272 2002-09-27  Stefan Monnier  <monnier@cs.yale.edu>.
11274         * calc/calc.el (calc-bug-address, calc-scan-for-dels, calc-stack)
11275         (calc-stack-top, calc-always-load-extensions)
11276         (calc-line-numbering, calc-line-breaking, calc-display-just)
11277         (calc-display-origin, calc-number-radix, calc-leading-zeros)
11278         (calc-group-digits, calc-group-char, calc-point-char)
11279         (calc-frac-format, calc-prefer-frac, calc-hms-format)
11280         (calc-date-format, calc-float-format, calc-complex-format)
11281         (calc-full-float-format, calc-complex-mode, calc-infinite-mode)
11282         (calc-display-strings, calc-matrix-just, calc-break-vectors)
11283         (calc-full-vectors, calc-full-trail-vectors, calc-vector-commas)
11284         (calc-vector-brackets, calc-matrix-brackets, calc-language)
11285         (calc-language-option, calc-function-open, calc-function-open)
11286         (calc-function-close, calc-language-output-filter)
11287         (calc-language-input-filter, calc-radix-formatter)
11288         (calc-left-label, calc-right-label, calc-word-size)
11289         (calc-previous-modulo, calc-simplify-mode, calc-auto-recompute)
11290         (calc-display-raw, calc-internal-prec, calc-inverse-flag)
11291         (calc-hyperbolic-flag, calc-keep-args-flag, calc-angle-mode)
11292         (calc-algebraic-mode, calc-incomplete-algebraic-mode)
11293         (calc-symbolic-mode, calc-matrix-mode, calc-shift-prefix)
11294         (calc-window-height, calc-display-trail, calc-show-selections)
11295         (calc-use-selections, calc-assoc-selections)
11296         (calc-display-working-message, calc-auto-why, calc-timing)
11297         (calc-display-sci-high, calc-display-sci-low, calc-other-modes)
11298         (calc-other-modes, calc-Y-help-msgs, calc-loaded-settings-file):
11299         Make into real defvars.
11300         (calc-mode-var-list): Delete.
11301         (calc-mode-save-mode, calc-standard-date-formats)
11302         (calc-autorange-units, calc-was-keypad-mode, calc-full-mode)
11303         (calc-user-parse-tables, calc-gnuplot-default-device)
11304         (calc-gnuplot-default-output, calc-gnuplot-print-device)
11305         (calc-gnuplot-print-output, calc-gnuplot-geometry)
11306         (calc-graph-default-resolution, calc-graph-default-resolution-3d)
11307         (calc-invocation-macro, calc-show-banner): Make into defvars,
11308         taken from `calc-mode-var-list'.
11309         (calc-emacs-type-epoch, calc-emacs-type-19)
11310         (calc-emacs-type-lucid, calc-emacs-type-gnu19): Make into defvars.
11311         (calc-version, calc-version-date, calc-trail-pointer)
11312         (calc-trail-overlay, calc-undo-list, calc-redo-list)
11313         (calc-main-buffer, calc-trail-buffer, calc-why, calc-next-why)
11314         (calc-inverse-flag, calc-hyperbolic-flag, calc-keep-args-flag)
11315         (calc-last-kill, calc-previous-alg-entry, calc-dollar-values)
11316         (calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
11317         (calc-said-hello, calc-executing-macro, calc-any-selections)
11318         (calc-help-phase, calc-full-help-flag, calc-refresh-count)
11319         (calc-display-dirty, calc-prepared-composition)
11320         (calc-selection-cache-default-entry, calc-embedded-info)
11321         (calc-embedded-active, calc-standalone-flag, var-EvalRules)
11322         (math-eval-rules-cache-tag, math-radix-explicit-format)
11323         (math-expr-function-mapping, math-expr-variable-mapping)
11324         (math-read-expr-quotes, math-working-step, math-working-step-2)
11325         (var-i, var-pi, var-e, var-phi, var-gamma, var-Modes): Make into
11326         defvars, from toplevel setq.
11327         (calc-mode-map): Set up keymap in more modern fashion.
11328         (calc-dispatch-map): Ditto.
11329         (calc-command-flags, calc-final-point-line)
11330         (calc-final-point-column): Defvar.
11331         (calc-do): Use `save-current-buffer' instead of `save-excursion'.
11332         (sel-mode): Defvar.
11333         (calc-any-evaltos): Ditto.
11334         (calc-buffer, calc-prev-char, calc-prev-prev-char)
11335         (calc-digit-value): Ditto.
11336         (math-eval-rules-cache, math-eval-rules-cache-other): Ditto.
11337         (math-sub-bignum): Bind `diff'.
11338         (calc-selection-cache-entry): Defvar.
11339         (calc-count-lines): Reference `pos' instead of `newpos'.
11341 2002-09-27  Simon Josefsson  <jas@extundo.com>
11343         * mail/mail-hist.el (mail-hist-next-input): Fix docstring.
11345 2002-09-26  Richard M. Stallman  <rms@gnu.org>
11347         * mail/unrmail.el (unrmail): Do the work directly,
11348         without actually selecting the messages in the from file.
11349         (unrmail-unprune): New subroutine.
11351         * files.el (backup-buffer): Bind local var MODES.
11352         Don't use renaming for a suid or sgid file.
11353         Use backup-buffer-copy to do copying.
11354         (backup-buffer-copy): New subroutine.
11355         Clear suid and sgid bits for the copy.
11357 2002-09-26  Edward M. Reingold  <reingold@emr.cs.iit.edu>
11359         * calendar/solar.el (solar-equinoxes-solstices):
11360         Use time properly adjusted for DST in the result.
11362 2002-09-26  Richard M. Stallman  <rms@gnu.org>
11364         * follow.el (follow-generic-filter): Simply bind deactivate-mark.
11365         Bind inhibit-read-only; don't mess with buffer-read-only.
11367         * speedbar.el (speedbar-refresh): Simply bind deactivate-mark.
11369 2002-09-26  Luc Teirlinck  <teirllm@mail.auburn.edu>
11371         * ielm.el (inferior-emacs-lisp-mode): Treat the header as
11372         output, if comint-use-prompt-regexp-instead-of-fields is nil.
11374 2002-09-26  John Paul Wallington  <jpw@shootybangbang.com>
11376         * ibuffer.el (ibuffer-update): Call `minibufferp' with argument
11377         instead of within `with-current-buffer'.
11379 2002-09-26  Stephen Eglen  <stephen@gnu.org>
11381         * iswitchb.el (iswitchb-completions): Test that
11382         iswitchb-common-match-string is a string, before printing common
11383         completions.
11385 2002-09-25  Stefan Monnier  <monnier@cs.yale.edu>
11387         * server.el: Use built-in network primitives.
11388         (server-program, server-previous-string): Remove.
11389         (server-previous-strings): New var.
11390         (server-socket-name): New var.
11391         (server-log): Minor change to the output format.
11392         (server-sentinel): Clean up global state when a client disconnects.
11393         (server-unquote-arg): New fun.
11394         (server-start): Use server-socket-name and make-network-process.
11395         (server-process-filter): Now talks to the clients directly.
11396         Normalize file name after unquoting and decoding.
11397         (server-buffer-done): Just close the connection.
11398         (server-switch-buffer): Handle the case where all windows are
11399         dedicated or minibuffers.
11401         * font-lock.el (fast-lock-mode, lazy-lock-mode, jit-lock-mode):
11402         Don't bind them variables.
11403         (font-lock-turn-off-thing-lock, font-lock-after-fontify-buffer)
11404         (font-lock-after-unfontify-buffer): Check that the vars are bound.
11405         (font-lock-dont-widen): New var.
11406         (font-lock-default-fontify-region): Use it.
11408         * emacs-lisp/find-func.el (find-library-name):
11409         Correctly find "file.el.gz" from "file.elc" or "file.elc.gz".
11411 2002-09-25  Kenichi Handa  <handa@etl.go.jp>
11413         * international/mule-cmds.el (select-safe-coding-system):
11414         Handle safe but rejected default coding systems and unsafe default
11415         coding systems differently.
11417         * international/mule-diag.el (list-character-sets): Use the buffer
11418         name "*Character Set List*", not "*Help*".  List also indirectly
11419         supported character sets.
11420         (list-charset-chars): Use the buffer name "*Character List*", not
11421         "*Help*".  Display the current charset name in the modeline.
11422         (non-iso-charset-alist): Add mapped charset list for `mac-roman'.
11423         (sort-listed-character-sets): Don't alter the region showing
11424         indirectly supported charsets.
11426 2002-09-24  Simon Josefsson  <jas@extundo.com>
11428         * mail/mail-extr.el (mail-extr-ignore-single-names): Change default.
11429         (mail-extract-address-components): Doc fix.
11431 2002-09-24  Markus Rost  <rost@math.ohio-state.edu>
11433         * simple.el (edit-and-eval-command): Protect command-history.
11434         (repeat-complex-command): Protect command-history.
11436 2002-09-24  Juanma Barranquero  <lektu@terra.es>
11438         * replace.el (occur-find-match): New function.
11439         (occur-next, occur-prev): Use it.
11441         * progmodes/sh-script.el (sh-mark-init): Don't set `occur-buffer'.
11442         (sh-mark-line): Likewise. Use 'occur-target and 'occur-match
11443         instead of 'occur and 'occur-point.
11445         * eshell/em-unix.el (eshell-occur-mode-mouse-goto)
11446         (eshell-poor-mans-grep): Remove references to `occur-buffer'.
11448 2002-09-24  Stefan Monnier  <monnier@cs.yale.edu>
11450         * descr-text.el (describe-text-category): Use *Help*.
11451         Don't kill-buffer.
11452         (describe-text-properties, describe-char):
11453         Delay self-inspection test.  Use *Help*.
11454         Use syntax-after.  Use `pos' rather than (point).
11455         Distinguish the before/after part of a composition.
11457 2002-09-23  Kenichi Handa  <handa@etl.go.jp>
11459         * international/quail.el (quail-completion): Be sure to scroll
11460         quail-completion-buf.
11462 2002-09-23  Richard M. Stallman  <rms@gnu.org>
11464         * ielm.el (*1): Fix previous change.
11466 2002-09-23  Juanma Barranquero  <lektu@terra.es>
11468         * net/tramp.el (tramp-unified-filenames): Autoload it.
11470 2002-09-23  Michael Kifer  <kifer@cs.stonybrook.edu>
11472         * ediff-init.el (ediff-get-next-window): Bug fix.
11474 2002-09-22  Oliver Scholz  <alkibiades@gmx.de>
11476         * play/gamegrid.el (gamegrid-face): New variable to emulate a
11477         buffer-local default face.
11478         (gamegrid-xbm): New variable; XBM image as a replacement for
11479         `gamegrid-xpm' on Emacsen compiled without XPM-support.
11480         (gamegrid-colorize-glyph): Ported XEmacs-code for the generation
11481         of images to Emacs.
11482         (gamegrid-match-spec): Call `gamegrid-make-image-from-vector' to
11483         convert XEmacs-type image descriptors.
11484         (gamegrid-color-display-p): Remove (use `display-colors-p' instead.)
11485         (gamegrid-make-image-from-vector): New function.  Convert XEmacs'
11486         image descriptors.
11487         (gamegrid-display-type): Use Emacs' standard `display-.*-p'
11488         functions to check for display capabilities.  Fix the recognition
11489         of image-support in Emacs 21 by this way.
11490         (gamegrid-hide-cursor): Removed.
11491         (gamegrid-setup-default-font): Ported the code from XEmacs to
11492         Emacs: create a new face and assign the variable `gamegrid-face'
11493         to it.  Make sure that the face is not higher than the smallest
11494         image used by the game.
11495         (gamegrid-initialize-display): Use `(setq cursor-type nil)'
11496         instead of `gamegrid-hide-cursor'.
11497         (gamegrid-set-face): If `gamegrid-display-mode' is 'glyph, put an
11498         image in the buffer, instead of applying a face.  [This is because
11499         Emacs display-tables are not as capable as the display-tables in
11500         XEmacs.  Maybe this function should be renamed to reflect the change?]
11501         (gamegrid-init-buffer): If `gamegrid-display-mode' is 'glyph, put
11502         the face held by `gamegrid-face' in an overlay over the whole
11503         buffer to emulate a buffer-local default-face.
11505 2002-09-22  Markus Triska  <triska@gmx.at>  (iny change)
11507         * play/doctor.el (doctor-doc): Add 2 question words.
11508         (doctor-getnoun): Parse and save the complete object phrase.
11510 2002-09-22  Richard M. Stallman  <rms@gnu.org>
11512         * international/mule-cmds.el (select-safe-coding-system): Cope if
11513         default-coding-system gives nil which was then used in `min'.
11515         * mail/sendmail.el (sendmail-send-it): If user's buffer
11516         is unibyte, make tembuf unibyte.
11518 2002-09-22  Kai Gro\e,A_\e(Bjohann  <grossjoh@ls6.informatik.uni-dortmund.de>
11520         * net/tramp.el: Version 2.0.22 released.
11521         (tramp-parse-rhosts, tramp-parse-shosts)
11522         (tramp-parse-hosts, tramp-parse-passwd): Apply `push' but
11523         `add-to-list' for performance reasons.
11524         (tramp-get-completion-user-host): Return `nil' in case both `user'
11525         and 'host' are empty (not necessarily `nil'.
11526         (tramp-parse-netrc, tramp-parse-netrc-group): New functions.
11527         (tramp-user-regexp): " \t" are not user regexp characters.
11528         (tramp-completion-handle-file-name-all-completions):
11529         Remove Ange-FTP cmpletion. It has a bug not handling the "/ftp:" prefix
11530         completely, and it returns local completions as well.
11531         (tramp-completion-function-alist-ftp): New constant.
11532         (tramp-completion-function-alist): Add completion function for "ftp".
11533         From Michael Albinus <Michael.Albinus@alcatel.de>.
11535 2002-09-22  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11537         * net/tramp.el: Version 2.0.21 released.
11538         (tramp-handle-file-newer-than-file-p): If mtime of both files is
11539         known, return a useful result.  Better error message in case one
11540         is a Tramp file and one isn't.
11541         (tramp-handle-file-local-copy, tramp-handle-write-region)
11542         (tramp-find-shell, tramp-open-connection-telnet)
11543         (tramp-open-connection-rsh, tramp-open-connection-su)
11544         (tramp-open-connection-setup-interactive-shell)
11545         (tramp-post-connection, tramp-maybe-open-connection)
11546         (tramp-method-out-of-band-p): Correct number of args for
11547         `tramp-get-rsh-program' and similar functions.
11549 2002-09-22  Kai Gro\e,A_\e(Bjohann  <grossjoh@ls6.informatik.uni-dortmund.de>
11551         * net/tramp.el: Version 2.0.20 released.
11553 2002-09-20  Kai Gro\e,A_\e(Bjohann  <grossjoh@ls6.informatik.uni-dortmund.de>
11555         * net/tramp.el (tramp-completion-function-alist): Escape open
11556         paren in docstring.
11557         (tramp-user-regexp, tramp-host-regexp): Allow empty strings.
11558         (tramp-handle-insert-file-contents): Call tramp-message-for-buffer
11559         instead of tramp-message.
11560         (tramp-open-connection-rsh): Handle empty string as user name.
11561         (tramp-open-connection-su): Handle empty string as host name.
11562         Handle nil user name.
11563         (tramp-handle-file-local-copy, tramp-handle-write-region)
11564         (tramp-completion-handle-file-name-all-completions)
11565         (tramp-open-connection-telnet, tramp-open-connection-rsh)
11566         (tramp-open-connection-su, tramp-post-connection)
11567         (tramp-maybe-open-connection, tramp-method-out-of-band-p)
11568         (tramp-get-connection-function, tramp-get-remote-sh)
11569         (tramp-get-rsh-program, tramp-get-rsh-args)
11570         (tramp-get-rcp-program, tramp-get-rcp-args)
11571         (tramp-get-rcp-keep-date-arg, tramp-get-su-program)
11572         (tramp-get-su-args, tramp-get-telnet-program)
11573         (tramp-get-telnet-args): Use `tramp-find-method', perhaps require
11574         additional args USER, HOST.
11575         (tramp-action-password, tramp-open-connection-telnet)
11576         (tramp-open-connection-su, tramp-open-connection-multi)
11577         (tramp-method-out-of-band-p): `tramp-method-out-of-band-p' now
11578         takes USER and HOST arguments, to be able to use
11579         `tramp-find-method'.  Update callers.
11580         (tramp-find-method): New function.
11582 2002-09-20  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11584         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
11585         in SWITCHES (by removing it).
11587 2002-09-18  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11589         * net/tramp.el (tramp-file-name-handler): Add `file-remote-p' property.
11591 2002-09-17  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11593         * net/tramp.el (top-level): Maybe autoload uudecode-decode-region.
11595 2002-09-16  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11597         * net/tramp.el (tramp-bug): Add tramp-methods.
11599 2002-09-16  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11601         * net/tramp.el (tramp-methods): Update docstring:
11602         tramp-encoding-command, tramp-decoding-command,
11603         tramp-encoding-function and tramp-decoding-function are not
11604         parameters anymore.
11605         (tramp-uuencode-region): Autoload it.
11607 2002-09-13  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11609         * net/tramp.el: Version 2.0.19 released.
11611         * net/tramp-uu.el: New file, implements uuencode in Lisp.
11613         * net/tramp.el (tramp-coding-commands):
11614         Use `tramp-uuencode-region' as local encoder for the uuencode based
11615         entries.
11617 2002-09-13  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11619         * net/tramp.el (tramp-handle-write-region): Wrong parens.
11621 2002-09-13  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11623         * net/tramp.el: Version 2.0.18 released.
11625         * net/tramp.el (tramp-perl-decode): Perl changes to accomodate
11626         older versions of Perl.  Now tested with 5.004.  Suggestion from
11627         Michael Albinus.
11629 2002-09-12  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11631         * net/tramp.el (tramp-find-inline-encoding):
11632         Call tramp-call-local-coding-command with nil for INPUT and OUTPUT.
11633         (tramp-call-local-coding-command): OUTPUT equals nil means to
11634         discard the output.  INPUT equals nil means /dev/null.
11636 2002-09-12  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11638         * net/tramp.el (tramp-encoding-shell): Default to environment
11639         variable COMSPEC on Windows.
11640         (tramp-handle-write-region): More debugging output.
11641         (tramp-find-inline-encoding): Ditto.
11643 2002-09-11  Michael Albinus  <Michael.Albinus@alcatel.de>
11645         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11646         Define `result1'.
11647         (tramp-parse-hosts-group): Discard IPv6 entries.
11649 2002-09-11  Kai Gro\e,A_\e(Bjohann  <grossjoh@ls6.informatik.uni-dortmund.de>
11651         * net/tramp.el (tramp-post-connection): Only send Perl
11652         mime-encode/decode implementations when using inline method.
11653         (tramp-handle-file-local-copy)
11654         (tramp-handle-write-region, tramp-post-connection)
11655         (tramp-coding-commands, tramp-find-inline-encoding): For the
11656         inline encodings, distinguish between local and remote commands,
11657         instead of between commands and functions.  (The local commands
11658         can be functions, too.)  If the local host is a Windows machine,
11659         we can't expect the same commands to work there as on the remote host.
11660         (tramp-call-local-coding-command): New function for calling local
11661         encoding and decoding commands.
11662         (tramp-set-remote-encoding, tramp-get-remote-encoding)
11663         (tramp-set-remote-decoding, tramp-get-remote-decoding)
11664         (tramp-set-local-encoding, tramp-get-local-encoding)
11665         (tramp-set-local-decoding, tramp-get-local-decoding): New functions.
11666         (tramp-get-encoding-command, tramp-set-encoding-command)
11667         (tramp-get-decoding-command, tramp-set-decoding-command)
11668         (tramp-get-encoding-function, tramp-set-encoding-function)
11669         (tramp-get-decoding-function, tramp-set-decoding-function):
11670         Old functions, removed.
11672 2002-09-10  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11674         * net/tramp.el (tramp-open-connection-setup-interactive-shell):
11675         Change command to invoke /bin/sh slightly to make it compatible
11676         with the `rc' shell.  Suggested by Daniel Pittman.
11678 2002-09-10  Michael Albinus  <Michael.Albinus@alcatel.de>
11680         * net/tramp.el (tramp-handle-write-region): Added missing
11681         `)'.  Hope it's the right place.
11683 2002-09-09  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11685         * net/tramp.el (tramp-open-connection-setup-interactive-shell):
11686         Do "exec env PS1='$ ' /bin/sh" instead of just "exec /bin/sh" in
11687         order to get a sane shell prompt.  If people have ${CWD}, say, in
11688         their shell prompt, then the default login shell might display
11689         something harmless, but the /bin/sh will display a dollar sign
11690         which confused the subsequent prompt recognition.
11691         (tramp-multi-action-password): More debugging output.
11692         (tramp-encoding-shell): Renamed from tramp-sh-program.
11693         More documentation.  Default to cmd.exe on Windows NT.
11694         (tramp-encoding-command-switch): New variable.  Use instead of
11695         hard-wired "-c" which is only good for /bin/sh.
11696         (tramp-encoding-reads-stdin): New variable.  If t, commands are
11697         called like "/bin/sh -c COMMAND <INPUT", if nil, they are called
11698         like "/bin/sh -c COMMAND INPUT", ie the input file is the last arg.
11699         (tramp-multi-sh-program): Always default to tramp-encoding-shell.
11700         (tramp-handle-file-local-copy, tramp-handle-write-region):
11701         Respect tramp-encoding-shell and friends.
11702         (tramp-find-inline-encoding): Use new-style calls for checking if
11703         the local commands work.
11705 2002-09-07  Michael Albinus  <Michael.Albinus@alcatel.de>
11707         * net/tramp.el (tramp-methods): Remove `tramp-completion-function'
11708         entries. They are handled now by `tramp-completion-function-alist'.
11709         (tramp-completion-function): Defvar removed. I've never used
11710         it. Hmm.
11711         (tramp-get-completion-function)
11712         (tramp-get-completion-rsh, tramp-get-completion-ssh)
11713         (tramp-get-completion-telnet, tramp-get-completion-su):
11714         Functions removed as well.  Not necessary any longer due to extended
11715         customization means.
11716         (tramp-completion-function-alist): New defcustom. Holds all
11717         FUNCTION FILE pairs used for user and host name completion
11718         relevant for METHOD.
11719         (tramp-completion-function-alist-rsh)
11720         (tramp-completion-function-alist-ssh)
11721         (tramp-completion-function-alist-telnet)
11722         (tramp-completion-function-alist-su): Defconst for initializing
11723         `tramp-completion-function-alist'. Unfortunately, mainly UNIX-like
11724         values are known for me until now. Needs to be completed for at
11725         least VMS++ like operating systems.
11726         (tramp-set-completion-function)
11727         (tramp-get-completion-function): New functions for configuration
11728         of `tramp-completion-function-alist'. The old definition of
11729         `tramp-get-completion-function' has been discarded.
11730         (tramp-completion-handle-file-name-all-completions):
11731         Change function call for user/host completion according to definition
11732         in `tramp-completion-function-alist'.
11733         (tramp-parse-passwd): Added exception handling for "root", because
11734         `tramp-get-completion-su' (the previous place for this stuff)
11735         doesn't exist any longer.
11737 2002-09-07  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11739         * net/tramp.el (tramp-enter-password):
11740         Use `tramp-password-end-of-line' to terminate the line.
11741         (tramp-bug): Include new variable `tramp-password-end-of-line'.
11742         (tramp-password-end-of-line): New variable.  People who use plink
11743         under Windows might have to issue "\r\n" after the password, but
11744         they need to send just "\n" after the other commands.  So this
11745         variable was introduced to complement `tramp-rsh-end-of-line'.
11746         (tramp-wait-for-output, tramp-post-connection): Allow "\r" at end
11747         of line of the output delimiter.
11749 2002-09-06  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11751         * net/tramp.el (tramp-handle-file-local-copy, tramp-find-shell)
11752         (tramp-open-connection-setup-interactive-shell): Add some comments
11753         about Douglas Grey Stephen's suggestions to make Tramp work better
11754         with plink under Windows.  I'm not sure what to think of them, but
11755         now I have a guinea pig to try it out on.  Said guinea pig is
11756         having other problems, though...  Also remove some commented-out code.
11758 2002-09-06  Michael Albinus  <Michael.Albinus@alcatel.de>
11760         * net/tramp.el (tramp-get-completion-methods): Algorithm slightly
11761         tuned.
11762         (tramp-get-completion-user-host): Accept user names as they are if
11763         typed until "@".
11764         (tramp-completion-mode): Replace `last-input-char' by modern
11765         `last-input-event'. Check for `event-modifiers'.
11767 2002-09-06  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11769         * net/tramp.el (file-expand-wildcards): Corrected check to see if
11770         advising is necessary.
11772 2002-09-05  Michael Albinus  <Michael.Albinus@alcatel.de>
11774         * net/tramp.el (tramp-postfix-single-method-format)
11775         (tramp-postfix-multi-method-format)
11776         (tramp-postfix-multi-hop-format)
11777         (tramp-postfix-user-format): New format strings.
11778         (tramp-postfix-single-method-regexp)
11779         (tramp-postfix-multi-method-regexp)
11780         (tramp-postfix-multi-hop-regexp)
11781         (tramp-postfix-user-regexp)
11782         (tramp-make-multi-tramp-file-format)
11783         (tramp-make-tramp-file-name): Apply them.
11784         (tramp-completion-handle-file-name-all-completions): Fix for
11785         invoking ange-ftp in case of "/ftp:xxx" file names.
11787 2002-09-04  Michael Albinus  <Michael.Albinus@alcatel.de>
11789         * net/tramp.el (tramp-prefix-format)
11790         (tramp-postfix-host-format): New format strings.
11791         (tramp-prefix-regexp, tramp-method-regexp)
11792         (tramp-postfix-single-method-regexp)
11793         (tramp-postfix-multi-method-regexp)
11794         (tramp-postfix-multi-hop-regexp)
11795         (tramp-user-regexp, tramp-postfix-user-regexp)
11796         (tramp-host-regexp, tramp-postfix-host-regexp)
11797         (tramp-path-regexp): New atomar regular expressions.
11798         If corresponding format strings exist, derived from them.
11799         (tramp-file-name-structure)
11800         (tramp-multi-file-name-structure)
11801         (tramp-multi-file-name-hop-structure)
11802         (tramp-make-multi-tramp-file-format)
11803         (tramp-completion-mode)
11804         (tramp-completion-dissect-file-name)
11805         (tramp-parse-rhosts-group)
11806         (tramp-parse-shosts-group)
11807         (tramp-parse-hosts-group)
11808         (tramp-parse-passwd-group): Apply these expressions.
11809         (tramp-file-name-structure-unified)
11810         (tramp-file-name-structure-separate)
11811         (tramp-make-tramp-file-format-unified)
11812         (tramp-make-tramp-file-format-separate)
11813         (tramp-make-tramp-file-format)
11814         (tramp-make-tramp-file-user-nil-format-unified)
11815         (tramp-make-tramp-file-user-nil-format-separate)
11816         (tramp-make-tramp-file-user-nil-format)
11817         (tramp-multi-file-name-structure-unified)
11818         (tramp-multi-file-name-structure-separate)
11819         (tramp-multi-file-name-hop-structure-unified)
11820         (tramp-multi-file-name-hop-structure-separate)
11821         (tramp-make-multi-tramp-file-format-unified)
11822         (tramp-make-multi-tramp-file-format-separate): Removed.
11823         (tramp-make-tramp-file-name): Allow partial tramp file
11824         names. Generate tramp file format on-the-fly depending on
11825         parameters. Apply atomar format strings resp expressions.
11826         (tramp-get-completion-methods)
11827         (tramp-get-completion-user-host): Apply `tramp-make-tramp-file-name'.
11828         (tramp-parse-hosts-group): Take all host names and IP addresses
11829         into account.
11830         (tramp-bug): Remove `tramp-make-tramp-file-format'.
11832 2002-09-01  Michael Albinus  <Michael.Albinus@alcatel.de>
11834         * net/tramp.el (tramp-methods): Add `tramp-completion-function'
11835         for "su" and "sudo".
11836         (tramp-get-completion-telnet): Implement it.
11837         (tramp-parse-hosts)
11838         (tramp-parse-hosts-group)
11839         (tramp-get-completion-su)
11840         (tramp-parse-passwd)
11841         (tramp-parse-passwd-group): New functions.
11843 2002-08-31  Michael Albinus  <Michael.Albinus@alcatel.de>
11845         * net/tramp.el (tramp-completion-mode): Check for `last-input-char'.
11846         (tramp-completion-file-name-handler-alist): Add handler for
11847         `file-exists-p.
11848         (tramp-completion-handle-file-exists-p): New function.
11849         (tramp-completion-handle-file-name-completion): Simplified.
11850         (tramp-completion-dissect-file-name): Regexp's reorganised.
11851         (tramp-completion-handle-file-name-all-completions):
11852         Call completion-function only if `user' or `host' is given.
11853         (tramp-get-completion-user-host): New function.
11854         (tramp-get-completion-rsh)
11855         (tramp-get-completion-ssh): Apply it.
11857 2002-08-29  Michael Albinus  <Michael.Albinus@alcatel.de>
11859         * net/tramp.el (tramp-completion-file-name-handler-alist):
11860         Add handler for `expand-file-name'.
11861         (tramp-completion-handle-expand-file-name): New function.
11863 2002-08-26  Michael Albinus  <Michael.Albinus@alcatel.de>
11865         * net/tramp.el (tramp-completion-mode): New function.
11866         (tramp-completion-handle-file-name-directory)
11867         (tramp-completion-handle-file-name-all-completions): Apply it.
11868         (tramp-methods): Remove double definition of `ssh1-old' and `ssh2-old'.
11869         (tramp-point-at-eol): New defalias.
11870         (tramp-parse-rhosts-group)
11871         (tramp-parse-shosts-group):: Apply it.
11873 2002-08-25  Michael Albinus  <Michael.Albinus@alcatel.de>
11875         * net/tramp.el (tramp-get-completion-methods)
11876         (tramp-get-completion-rsh)
11877         (tramp-get-completion-ssh): Add "[" for Xemacs.
11878         (tramp-completion-file-name-regexp-separate): Expression adapted.
11879         (tramp-completion-file-name-handler-alist): Add handler for
11880         `file-name-directory' and `file-name-nondirectory'.
11881         (tramp-completion-handle-file-name-directory)
11882         (tramp-completion-handle-file-name-nondirectory)
11883         (tramp-completion-run-real-handler): New functions.
11884         (tramp-completion-file-name-handler)
11885         (tramp-completion-handle-file-name-all-completions):
11886         Apply `tramp-completion-run-real-handler'.
11887         (tramp-parse-rhosts)
11888         (tramp-parse-shosts): Use `with-temp-buffer'. `result\e$,1!=\e(B renamed to
11889         `res' (otherwise side effects in XEmacs).
11891 2002-08-24  Michael Albinus  <Michael.Albinus@alcatel.de>
11893         * net/tramp.el (tramp-completion-file-name-regexp)
11894         (tramp-completion-file-name-handler-alist)
11895         (tramp-flatten-list)
11896         (tramp-completion-dissect-file-name)
11897         (tramp-get-completion-rsh)
11898         (tramp-parse-rhosts)
11899         (tramp-parse-rhosts-group)
11900         (tramp-get-completion-ssh): Doc string tuned.
11901         (tramp-methods): Doc string and custom type extended for
11902         `tramp-completion-function'.
11903         (tramp-completion-function): Variable added. Is it really used?
11904         Other variables like `tramp-completion-function' aren't used.
11905         (tramp-completion-file-name-handler-alist): Add handler for
11906         `file-name-completion'.
11907         (tramp-completion-handle-file-name-completion): New function.
11909 2002-08-18  Michael Albinus  <Michael.Albinus@alcatel.de>
11911         * net/tramp.el (tramp-parse-rhosts)
11912         (tramp-parse-rhosts-group)
11913         (tramp-parse-shosts)
11914         (tramp-parse-shosts-group): New functions.
11916 2002-08-17  Michael Albinus  <Michael.Albinus@alcatel.de>
11918         * net/tramp.el (tramp-completion-dissect-file-name)
11919         (tramp-completion-dissect-file-name1): New functions.
11921 2002-08-16  Michael Albinus  <Michael.Albinus@alcatel.de>
11923         * net/tramp.el (tramp-get-completion-function)
11924         (tramp-get-completion-rsh)
11925         (tramp-get-completion-ssh)
11926         (tramp-get-completion-telnet): New functions.
11927         (tramp-methods): Add `tramp-completion-function' for all methods.
11929 2002-08-15  Michael Albinus  <Michael.Albinus@alcatel.de>
11931         * net/tramp.el (tramp-get-completion-methods): New function.
11932         (tramp-find-default-method): Allow host to be nil (like user).
11934 2002-08-14  Michael Albinus  <Michael.Albinus@alcatel.de>
11936         * net/tramp.el (tramp-completion-file-name-regexp-unified)
11937         (tramp-completion-file-name-regexp-separate)
11938         (tramp-completion-file-name-regexp)
11939         (tramp-completion-file-name-handler-alist): New defcustoms.
11940         (tramp-completion-file-name-handler): New function.
11941         Add `tramp-completion-file-name-handler' to `file-name-handler-alist'.
11942         (tramp-run-real-handler): Add `tramp-completion-file-name-handler'
11943         to `inhibit-file-name-handlers'.
11944         (tramp-completion-handle-file-name-all-completions)
11945         (tramp-completion-handle-file-name-completion): New functions.
11947 2002-08-12  Michael Albinus  <Michael.Albinus@alcatel.de>
11949         * net/tramp.el (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp'
11950         must be called again after activating `ange-ftp'.
11951         (tramp-ange-ftp-file-name-p): Check for Xemacs.
11953 2002-08-08  Michael Albinus  <Michael.Albinus@alcatel.de>
11955         * net/tramp.el (tramp-do-copy-or-rename-file): Don't pass
11956         KEEP-DATE to tramp-invoke-ange-ftp 'rename.
11957         (tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to
11958         tramp-invoke-ange-ftp 'write-region.
11959         (tramp-handle-set-file-modes): Change order of FILENAME and MODE
11960         passing to tramp-invoke-ange-ftp 'set-file-modes.
11961         (tramp-flatten-list): New function. Maybe this functionality does
11962         exist already elsewhere in the libraries.
11963         (tramp-invoke-ange-ftp): Apply `tramp-flatten-list' to parameter
11964         list in order to avoid nested lists, f.e. when invoked from
11965         `tramp-handle-dired-call-process'.
11967 2002-09-05  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11969         * net/tramp.el (tramp-chunksize): New kluge variable.
11970         (tramp-send-region): If tramp-chunksize is non-nil, send region in
11971         parts and sleep 0.1 seconds between chunks.
11973 2002-09-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11975         * net/tramp.el (tramp-handle-insert-directory):
11976         Use `insert-buffer-substring' instead of `insert-buffer', which is not
11977         supposed to be used from Lisp.  Remember old point in a variable
11978         instead of using `mark'.  Suggestion from Stefan Monnier.
11979         (tramp-unified-filenames): New variable.  Use it in default value
11980         of other filename variables.
11981         (file-expand-wildcards): Don't advise unless "[" and "]" are used
11982         in the filename format.
11984 2002-09-01  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11986         * net/tramp.el (tramp-methods): Remove duplicate definition of
11987         ssh1-old and ssh2-old.
11989 2002-09-22  Kai Gro\e,A_\e(Bjohann  <grossjoh@ls6.informatik.uni-dortmund.de>
11991         * dired.el (dired-insert-directory): Always add "--dired" to to
11992         SWITCHES for remote files.
11993         * files.el (insert-directory): Comment saying that "--dired"
11994         might be in the SWITCHES.
11995         * net/ange-ftp.el (ange-ftp-ls): Handle "--dired" in LSARGS.
11996         (ange-ftp-insert-directory): Comment explaining "--dired" handling.
11998 2002-09-21  Markus Rost  <rost@math.ohio-state.edu>
12000         * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Give %!._-
12001         word constituent syntax.
12003 2002-09-21  Richard M. Stallman  <rms@gnu.org>
12005         * cus-dep.el (custom-make-dependencies): Bind to t
12006         around evaluating the def-form.
12008         * custom.el (custom-dont-initialize): New variable.
12009         (custom-declare-variable): Don't init the variable
12010         if custom-dont-initialize is non-nil.
12012 2002-09-21  John Paul Wallington  <jpw@shootybangbang.com>
12014         * net/eudc.el (eudc-install-menu): Use `define-key' and
12015         `easy-menu-create-menu' to avoid duplication of menu.
12017 2002-09-20  Kim F. Storm  <storm@cua.dk>
12019         * kmacro.el (kmacro-step-edit-query): Use RET to execute rest of
12020         macro and terminate editing.
12021         (kmacro-step-edit-macro): Push previous macro onto ring if changed
12022         by step editing.
12024 2002-09-19  Tom Tromey  <tromey@redhat.com>
12026         * play/blackbox.el (bb-right): Respect prefix argument.
12027         (bb-left, bb-up, bb-down): Likewise.
12029 2002-09-19  Richard M. Stallman  <rms@gnu.org>
12031         * cus-dep.el (custom-make-dependencies): Fix previous change.
12033 2002-09-19  Juanma Barranquero  <lektu@terra.es>
12035         * ielm.el (ielm-eval-input): Call `error-message-string' instead
12036         of the non-existent `ielm-format-error'.
12038 2002-09-19  Stefan Monnier  <monnier@cs.yale.edu>
12040         * emacs-lisp/easymenu.el (easy-menu-remove):
12041         * emacs-lisp/ewoc.el (ewoc--node-branch): Add docstring.
12043         * international/mule-diag.el (describe-coding-system):
12044         Remove unused `coding-spec' variable.
12045         (list-input-methods): Be more careful when setting up the help buffer.
12047         * international/ucs-tables.el (unify-8859-on-encoding-mode):
12048         Set init value to t to reflect reality.
12049         (ucs-minibuffer-setup): Use minibuffer-selected-window.
12051 2002-09-18  Stefan Monnier  <monnier@cs.yale.edu>
12053         * progmodes/make-mode.el (makefile-cleanup-continuations-p):
12054         Rename to makefile-cleanup-continuations.
12055         (makefile-mode): Use write-file-functions.
12056         (makefile-fill-paragraph): Use match-string-no-properties.
12057         (makefile-fill-paragraph): Use line-end-position.
12058         (makefile-add-log-defun): Simplify.
12060 2002-09-18  Richard M. Stallman  <rms@gnu.org>
12062         * dired.el (dired-mark-pop-up): Doc fix.
12064         * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Put the
12065         definition straight into loaddefs.el as well as executing it here.
12067 2002-09-18  Colin Walters  <walters@debian.org>
12069         * calc/calc.el (calc-mode): Add font-lock-defontify to
12070         change-major-mode-hook.
12072 2002-09-18  Richard M. Stallman  <rms@gnu.org>
12074         * Makefile.in (bootstrap-clean): Use cd to shorten arg strings.
12075         Don't ignore errors in rm line.
12077         * menu-bar.el (menu-bar-search-menu): Nicer help string.
12079         * replace.el (occur-engine-add-prefix): Use 7 spaces.
12080         (occur-engine): Use 7 digits to align tabs in the data.
12082         * emacs-lisp/bytecomp.el (byte-compile-output-docform):
12083         Don't make the definition dynamic if it shares structure
12084         with the arg list.
12086         * gud.el (gud-pdb-marker-regexp): Allow : and \ in file name.
12087         (pdb): In gud-remove, pass down the file name.
12089         * cus-dep.el (custom-make-dependencies): Sort MEMBERS before use.
12091 2002-09-18  Luc Teirlinck  <teirllm@mail.auburn.edu>
12093         * ielm.el: (*1, *2, *3): New variables.
12094         (ielm-eval-input): Make temporary buffers current on entry and
12095         exit to the let bindings for *, ** and ***.
12096         (inferior-emacs-lisp-mode): Mention *1, *2 and *3 in the docstring.
12097         Do not overrule global bindings for *, ** and ***.
12099 2002-09-18  Tom Tromey  <tromey@redhat.com>
12101         * progmodes/make-mode.el (makefile-fill-paragraph): Find comment
12102         boundaries before filling.
12104 2002-09-18  Stefan Monnier  <monnier@cs.yale.edu>
12106         * server.el (server-done): Fix harmlessly wrong arg to save-buffer.
12107         (server-switch-buffer): Only select a different window if
12108         next-buffer is non-nil.  Don't switch in a dedicated window.
12109         If next-buffer is already displayed, reuse that window.
12111         * diff-mode.el (diff-mode): Use compilation-minor-mode.
12112         Don't unbind compilation-last-buffer after autoloading compile.el.
12113         Hide the compilation-minor-mode bindings altogether.
12115 2002-09-18  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12117         * dired.el (dired-insert-directory): Never add "--dired" when
12118         listing remote directories.
12120 2002-09-18  Michael Kifer  <kifer@cs.stonybrook.edu>
12122         * ediff-hooks.el: Put back the autoloads (for XEmacs compatibility).
12124         * ediff-init.el: Use defalias instead of fset.
12126         * ediff-util.el: Use defalias instead of fset.
12128         * viper-util.el (viper-chars-in-region): Simplification.
12130         * viper.el (viper-emacs-state-mode-list): Added modes.
12132 2002-09-18  Jonathan Yavner  <jyavner@engineer.com>
12134         * emacs-lisp/testcover.el: New file.  Uses edebug to instrument a
12135         module of code, with graphical display of poor-coverage spots.
12137         * emacs-lisp/testcover-ses.el: New file.  Demonstrates use of
12138         testcover on a interactive module like ses.
12140         * emacs-lisp/testcover-unsafep.el: New file.  Demonstrates use of
12141         testcover on a noninteractive module like unsafep.
12143 2002-09-18  Miles Bader  <miles@gnu.org>
12145         * diff-mode.el (diff-mode): Don't evaluate `compilation-last-buffer'
12146         unless it's bound.
12148 2002-09-17  Stefan Monnier  <monnier@cs.yale.edu>
12150         * server.el (server-log): Add `client' arg.
12151         (server-start): Don't bother canceling the sentinel.
12152         (server-process-filter): Use replace-regexp-in-string and
12153         handle the new &n quoting.  Use push.  Use server-log's new arg.
12154         Don't output the C-x # message if `nowait'.
12155         (server-buffer-done): Use server-log's new arg.
12157 2002-09-16  Jonathan Yavner  <jyavner@engineer.com>
12159         * ses.el: New file.
12161         * emacs-lisp/unsafep.el: New file.
12163         * files.el (auto-mode-alist): Add ".ses" for ses-mode.
12164         (inhibit-quit): This is risky for unsafep, doesn't matter much for
12165         anybody else.
12166         (risky-local-variable-p): New function.  Split off from
12167         hack-one-local-variable so unsafep can use it.  Add \|-history$ to
12168         the list of disallowed local variable names (malicious user could
12169         stuff a `display' property in there that would be activated when
12170         na\e,Ao\e(Bve user called up the history).
12172 2002-09-16  Markus Rost  <rost@math.ohio-state.edu>
12174         * ls-lisp.el (ls-lisp-format-time-list): Fix type and provide :tag's.
12176 2002-09-16  Richard M. Stallman  <rms@gnu.org>
12178         * play/gomoku.el (gomoku-move-up, gomoku-move-down):
12179         Use forward-line and move-to-column.
12181         * cus-edit.el (custom-variable-backup-value): New function.
12182         (custom-variable-reset-backup): New function.
12183         (custom-variable-menu): Add item for custom-variable-reset-backup.
12184         (custom-variable-set, custom-variable-reset-saved)
12185         (custom-variable-reset-standard): Call custom-variable-backup-value.
12187 2002-09-16  Stefan Monnier  <monnier@cs.yale.edu>
12189         * dired.el (dired-font-lock-keywords): Use regexp-opt.
12190         (dired-move-to-filename): Better message when we fail to find the file.
12191         (dired-sort-toggle): Minor optimization.
12193 2002-09-16  Juanma Barranquero  <lektu@terra.es>
12195         * dired-aux.el (dired-add-entry): Add missing argument to
12196         `dired-mark'.
12198 2002-09-16  John Paul Wallington  <jpw@shootybangbang.com>
12200         * xscheme.el (scheme-interaction-mode): Doc fix.
12202         * net/eudc.el (eudc-plist-get): Doc fix.
12204 2002-09-16  Kim F. Storm  <storm@cua.dk>
12206         * menu-bar.el (menu-bar-last-search-type): New var.
12207         (nonincremental-repeat-search-forward)
12208         (nonincremental-repeat-search-backward): Repeat string or
12209         regexp search depending on menu-bar-last-search-type.
12210         (nonincremental-search-forward, nonincremental-re-search-forward)
12211         (nonincremental-search-backward, nonincremental-re-search-backward):
12212         Set menu-bar-last-search-type to string or regexp.
12213         (nonincremental-repeat-re-search-forward): Removed.
12214         (nonincremental-repeat-re-search-backward): Removed.
12215         (menu-bar-replace-menu): New keymap for "Edit->Replace" submenu.
12216         (menu-bar-i-search-menu): New keymap for "Incremental Search" submenu.
12217         (menu-bar-adv-search-menu): Removed.
12218         (menu-bar-search-menu): Reorganized.
12219         (menu-bar-edit-menu): Added "Replace" submenu.
12221 2002-09-15  Richard M. Stallman  <rms@gnu.org>
12223         * scroll-bar.el (scroll-bar-mode): Specify :initialize.
12225         * menu-bar.el (menu-bar-make-mm-toggle): Don't put a quote befor FNAME
12226         when it's not being evaluated.
12228 2002-09-15  Markus Rost  <rost@math.ohio-state.edu>
12230         * dired.el (dired-move-to-filename): Fix previous change.
12232 2002-09-14  Kim F. Storm  <storm@cua.dk>
12234         * emulation/keypad.el (keypad-setup, keypad-shifted-setup)
12235         (keypad-numlock-setup, keypad-numlock-shifted-setup):
12236         Change `Remove Binding' option to `Unspecified/User-defined'.
12237         (keypad-setup): Enhance explanation of setup type `none'.
12239 2002-09-14  Richard M. Stallman  <rms@gnu.org>
12241         * time.el (display-time-mode): Set display-time-load-average here.
12242         (display-time-load-average): Initialize to nil.
12243         (display-time-default-load-average): Add "None" alternative.
12244         (display-time-update): Handle "None" alternative for load-average.
12246         * dired-aux.el (dired-bunch-files): Put the arg FILES
12247         back as it was after temporary destrucive mods.
12248         (dired-add-entry): Use dired-insert-directory to handle indentation.
12249         Explicitly restore the line's marker character.
12250         Preserve the old file name's text properties.
12251         (dired-add-entry-do-indentation): Function deleted.
12252         (dired-relist-file): Doc fix.
12253         (dired-rename-file): Change argument names.
12254         (foo-rename-file): New function.
12255         (dired-do-hardlink): Use dired-hardlink.
12256         (dired-hardlink): New function.
12257         (dired-insert-subdir-doinsert): Use dired-insert-directory;
12258         that handles indentation, text props and header line.
12259         dired-readin-insert gets no args.
12260         Use `last' instead of `reverse'.
12262         * dired.el (dired-use-ls-dired): New variable.
12263         (dired-directory): Document the rules better.
12265         * dired.el (dired-insert-headerline): Function deleted.
12266         (dired-revert): Pass no args to dired-readin.
12267         (dired-move-to-filename): First try using dired-filename property.
12268         (dired-move-to-end-of-filename): Likewise.
12269         (dired-why): Try to show the start of this page of warnings.
12270         (dired-log): Insert the buffer name at start of page, not end.
12271         (dired-log-summary): If just one failure, explain it in echo area.
12273         * dired.el (dired-internal-noselect):
12274         Always set dired-directory, when buffer is not new.
12275         Pass dir-or-list, not dirname, to dired-mode.
12276         Call dired-readin with no args.
12277         Don't call dired-after-readin-hook here.
12278         (dired-find-buffer-nocreate): Expand dirname.
12279         Expand the dir from dired-directory to compare with dirname.
12281         (dired-readin): Take no args.  Get the directory from dired-directory.
12282         Run dired-before-reading hook inside save-excursion.
12283         Run dired-after-readin-hook here.
12284         Don't make undo entries at all.
12285         Call dired-readin-insert with no args.
12286         Don't change indentation here.
12287         Don't insert headerline here.
12289         (dired-readin-insert): Take no args.
12290         Get dir and file-list from dired-directory.
12291         Call dired-insert-directory the new way.
12292         Don't insert "wildcard" info here.
12294         (dired-insert-directory): New arg FILE-LIST.
12295         First arg now DIR, always just the directory.
12296         This function fully handles setting up the buffer text:
12297         update indentation, insert headerline and "wildcard" info.
12298         Pass --dired arg if appropriate; put info in dired-filename props.
12299         Don't expand file names here.
12301         * warnings.el (display-warning): In batch mode,
12302         exclude the final newline from the arg to `message'.
12304 2002-09-13  Markus Rost  <rost@math.ohio-state.edu>
12306         * files.el (diff-buffer-with-file): Check whether associated file
12307         exists.  Display message for 1 second.  Always return nil.
12309 2002-09-13  Stefan Monnier  <monnier@cs.yale.edu>
12311         * diff-mode.el (diff-mode): Turn on compilation-minor-mode
12312         support again, but more carefully this time.
12314         * progmodes/perl-mode.el (perl-mode-syntax-table): Mark $, % and @
12315         such that backward-sexp correctly skips them.
12316         (perl-font-lock-keywords-2): Use regexp-opt.
12317         (perl-font-lock-syntactic-keywords)
12318         (perl-font-lock-syntactic-face-function): Better handle PODs.
12319         Handle package names with ' in them and ($$) in `sub' declarations.
12320         Handle format staements.  Handle regexp and quote-like ops.
12321         (perl-empty-syntax-table): New var.
12322         (perl-quote-syntax-table): New fun.
12324         * pcvs.el (cvs-mode-find-file): Work even if point is at beg-of-line.
12325         (cvs-do-removal): Bind inhibit-read-only while modifying the buffer.
12327         * newcomment.el (comment-with-narrowing): Use the `declare' thingy.
12329         * derived.el (define-derived-mode): Properly ignore unknown args.
12331         * emacs-lisp/easy-mmode.el (define-minor-mode): Add a :require arg.
12332         Don't call the function during init if mode is on by default.
12334         * simple.el: Provide `simple'.
12335         (transient-mark-mode, line-number-mode, column-number-mode):
12336         Pass an explicit `:require nil' argument.
12338 2002-09-13  Francesco Potort\e,Al\e(B  <pot@gnu.org>
12340         * play/tetris.el (tetris-blank-options, tetris-cell-options):
12341         Remove various redundant `(t nil)'.
12343         * play/snake.el (snake-border-options): Use color on tty if available.
12345         * play/tetris.el (tetris-border-options): Likewise.
12347         * play/pong.el (pong-border-options): Likewise, plus reset
12348         color on tty to be [0.5 0.5 0.5].
12350 2002-09-13  Kim F. Storm  <storm@cua.dk>
12352         * kmacro.el (kmacro-start-macro): Doc fix.
12354 2002-09-13  Juanma Barranquero  <lektu@terra.es>
12356         * progmodes/idlw-shell.el (idlwave-shell-cleanup): Fix reference
12357         to `idlwave-idlwave_routine_info-compiled'.
12359         * whitespace.el (whitespace-unload-hook): Call `remove-hook' with
12360         three arguments, not four.
12362 2002-09-13  Kim F. Storm  <storm@cua.dk>
12364         * kmacro.el (kmacro-keymap): Changed bindings:
12365         C-x C-k s to kmacro-start-macro, C-x C-k b to kmacro-bind-to-key.
12367 2002-09-12  Richard M. Stallman  <rms@gnu.org>
12369         * international/mule-cmds.el (universal-coding-system-argument):
12370         Read the coding system inside `interactive' spec, for command-history.
12372 2002-09-12  Stefan Monnier  <monnier@cs.yale.edu>
12374         * emacs-lisp/find-func.el (find-library-name): Don't forget
12375         the empty suffix.  Fix stale variable name.
12377         * gud.el (gud-gdb-massage-args, gud-sdb-massage-args)
12378         (gud-pdb-massage-args): Delete.
12379         (gdb, sdb, pdb): Don't pass gud-*-massage-args any more.
12380         (gud-gdb-command-name): New var.  Put "--fullname" in there.
12381         (gud-query-cmdline): Use the most recent executable as the default.
12382         Don't add "--fullname" (it's only valid/meaningful for GDB).
12383         (gud-xdb-marker-filter): Use match-string.
12384         (gud-perldb-massage-args): Don't add "-d".
12385         (gud-perldb-command-name): Add "-d".
12386         (gud-common-init): If `massage-args' is nil, don't call it.
12387         (gud-format-command): Don't hardcode point-min==1.
12389         * derived.el: Require CL when compiling.
12391 2002-09-12  Simon Josefsson  <jas@extundo.com>
12393         * mail/smtpmail.el (smtpmail-send-it): Don't use : in filenames
12394         (for cygwin). Suggested by Andrew Senior <aws@watson.ibm.com>.
12395         Use expand-file-name.  Also don't require time-stamp.
12397 2002-09-11  Richard M. Stallman  <rms@gnu.org>
12399         * derived.el (define-derived-mode): When making new abbrev table,
12400         don't try to copy the parent's abbrev table.
12402         * ruler-mode.el (ruler-mode-left-scroll-bar-cols):
12403         Always round scroll-bar-width parameter up.
12404         If it is nil, use 14.
12406         * abbrev.el (copy-abbrev-table): New function.
12408 2002-09-11  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
12410         * ps-print.el: Adjust ps-print-color-p, ps-default-fg and
12411         ps-default-bg setting.
12412         (ps-print-version): New version number (6.5.7).
12413         (ps-mark-active-p): New fun.
12414         (ps-print-preprint-region): Adjust code.
12416 2002-09-11  Dave Love  <fx@gnu.org>
12418         * international/mule.el (non-standard-designations-alist)
12419         (ctext-pre-write-conversion): Don't generate invalid extended
12420         segments for iso8859.
12422         * language/cyrillic.el ("Ukrainian"): Fix nonascii-translation.
12423         (cyrillic-alternativnyj-decode-table): Fix some entries.
12425         * international/ucs-tables.el: Fix last change.
12427         * international/utf-8.el (utf-8-fragment-on-decoding): Fix last
12428         change.
12430 2002-09-11  Kim F. Storm  <storm@cua.dk>
12432         * edmacro.el (edit-kbd-macro): Recognize new C-x e binding,
12433         kmacro-end-and-call-macro.
12435 2002-09-11  Juanma Barranquero  <lektu@terra.es>
12437         * newcomment.el (uncomment-region): Fix let/let* use.
12439 2002-09-11  Simon Josefsson  <jas@extundo.com>
12441         * time-stamp.el (time-stamp-hhmmss): New function.
12443         * gud.el (gud-gdb-massage-args): Don't secretly add -fullname.
12444         (gud-query-cmdline): Add --fullname to the user cmdline.
12446         * mail/smtpmail.el (smtpmail-default-smtp-server): Doc fix.
12448 2002-09-11  Kim F. Storm  <storm@cua.dk>
12450         * kmacro.el (kmacro-call-macro): Rephrase repeat prompt.
12451         (kmacro-step-edit-map): Bind "A" to `append-end'.
12452         (kmacro-step-edit-prompt): Fix prompt.
12453         (kmacro-step-edit-query): Handle `append-end' response.
12454         (kmacro-step-edit-pre-command): Activate `append-end' at end of
12455         macro when required.
12457 2002-09-11  Stefan Monnier  <monnier@cs.yale.edu>
12459         * derived.el (define-derived-mode): Fix typo.
12461         * menu-bar.el (line-number-mode, column-number-mode)
12462         (transient-mark-mode): Use minor mode directly.
12463         (menu-bar-make-toggle): Remove `props' arg.
12464         Move customize-mark-as-set directly into the toggle function.
12466         * whitespace.el (whitespace-global-mode): Use define-minor-mode.
12467         Use the new file hook names.
12468         (whitespace-describe): Remove.  Move the text to `Commentary:'.
12469         (whitespace-unload-hook): Use the new file hook names.
12471         * finder.el (finder-find-library): Remove.
12472         (finder-commentary): Use find-library-name and add completion.
12474         * simple.el (transient-mark-mode, line-number-mode)
12475         (column-number-mode): Use define-minor-mode.
12476         (define-mail-user-agent): Delete.  Moved to subr.el.
12478         * loadup.el ("simple.el"): Move to after loaddefs.el.
12480         * subr.el (define-mail-user-agent): Moved from simple.el.
12482 2002-09-10  Richard M. Stallman  <rms@gnu.org>
12484         * pcvs-info.el (cvs-check-fileinfo): Don't use boolp.
12485         (boolp): Function deleted.
12487 2002-09-10  Dave Love  <fx@gnu.org>
12489         * international/utf-8.el (ucs-mule-to-mule-unicode):
12490         Define unconditionally.
12491         (utf-8-fragmentation-table): New.  Use it in top-level mapc.
12492         (utf-8-fragment-on-decoding): Use it to keep
12493         utf-8-translation-table-for-decode variable and translation table
12494         in sync.
12496         * international/ucs-tables.el: Bind utf-8-translation-table-for-decode
12497         when setting up tables and remove useless optimize-char-table.
12498         (ucs-mule-to-mule-unicode): Deleted.
12499         (ucs-unify-8859): Maybe optimize ucs-mule-to-mule-unicode.
12501         * international/utf-16.el (utf-16-le-pre-write-conversion)
12502         (utf-16-be-pre-write-conversion): Deleted.
12503         (mule-utf-16-le, mule-utf-16-be): Register encoding translation table.
12505 2002-09-10  Richard M. Stallman  <rms@gnu.org>
12507         * files.el (diff-buffer-with-file): Simplify.
12508         Don't signal an error if buffer has no file.
12509         Call sit-for after `diff' returns.
12511         * play/gamegrid.el (gamegrid-make-color-tty-face):
12512         Handle string as COLOR arg.
12513         (gamegrid-display-type): Don't assume display-color-p
12514         implies a color-x terminal.
12515         (gamegrid-hide-cursor): Set `cursor-type' local variable.
12517         * descr-text.el (describe-text-mode): Add font-lock-defontify to
12518         change-major-mode-hook.
12520         * ibuffer.el (ibuffer-mode): Add font-lock-defontify to
12521         change-major-mode-hook.
12523         * comint.el (comint-mode): Add font-lock-defontify to
12524         change-major-mode-hook.
12526         * info.el (Info-mode): Add font-lock-defontify to
12527         change-major-mode-hook.
12529         * replace.el (occur-mode): Add font-lock-defontify to
12530         change-major-mode-hook.
12532         * font-core.el (font-lock-defontify): New function.
12534 2002-09-10  Richard M. Stallman  <rms@gnu.org>
12536         * ps-print.el (ps-printer-name-option): Doc fix.
12538 2002-09-10  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
12540         * ps-print.el: Adjust ps-postscript-code-directory setting.
12541         XEmacs version check was adjusted.
12542         (ps-print-version): New version number (6.5.6).
12543         (ps-print-color-p, ps-page-dimensions-database): Autoload var.
12544         (ps-print-code, ps-print-preprint-region): Adjust code.
12546 2002-09-10  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12548         * files.el (auto-mode-alist): ~/.gnus, ~/.viper are in
12549         emacs-lisp-mode, like ~/.emacs.
12551 2002-09-10  Stefan Monnier  <monnier@cs.yale.edu>
12553         * newcomment.el (uncomment-region): Be more careful with `='.
12555 2002-09-10  Deepak Goel  <deego@glue.umd.edu>
12557         * play/doctor.el (doc//): Rename from `//'.  Update callers.
12558         (doc$): Rename from `$'.  Update callers.
12560 2002-09-10  Miles Bader  <miles@gnu.org>
12562         * simple.el (do-auto-fill): `fill-indent-according-to-mode' is a
12563         variable, not a function.
12565         * kmacro.el (kmacro-call-macro): Deal with a non-numeric prefix arg.
12567 2002-09-10  Kim F. Storm  <storm@cua.dk>
12569         * macros.el (apply-macro-to-region-lines): Let-bind mark-active to
12570         nil while executing macro to avoid triggering delete-selection-mode.
12572         * simple.el (keyboard-quit): Set defining-kbd-macro to nil to
12573         cancel defining keyboard macro when applicable.
12575 2002-09-09  Markus Rost  <rost@math.ohio-state.edu>
12577         * simple.el (transient-mark-mode, line-number-mode)
12578         (column-number-mode): Undo previous change because of bootstrapping.
12580 2002-09-09  Stefan Monnier  <monnier@cs.yale.edu>
12582         * derived.el (define-derived-mode): Add keyword arguments.
12583         (derived-mode-make-docstring): Take abbrev and syntax table names.
12585         * font-core.el (font-lock-change-mode): Just turn off font-lock-mode.
12586         (font-lock-default-function): Change arg name.
12588         * cus-start.el (transient-mark-mode): Delete.  Done in simple.el.
12590         * paren.el (show-paren-function): Use syntax-after.
12592         * emacs-lisp/syntax.el (syntax-after): Delete.  Moved to subr.el.
12594         * subr.el (symbol-file): Also work for autoloaded funcs.
12595         (syntax-after): New fun moved from syntax.el.
12597         * find-file.el (ff-pre-find-hook, ff-pre-load-hook, ff-post-load-hook)
12598         (ff-not-found-hook, ff-file-created-hook): Rename from *-hooks.
12599         Update callers (but still run the old hooks as well).
12601         * emacs-lisp/find-func.el (find-library-suffixes, find-library-name)
12602         (find-library): New funs.
12603         (find-function-search-for-symbol): Use it.
12605         * emacs-lisp/bytecomp.el (byte-compile-file): Don't switch buffer.
12607         * isearch.el (isearch-cmds): Add docstring.
12608         (isearch-mouse-2): Lookup binding in the proper buffer.
12609         Use call-interactively and remove the now useless `arg'.
12610         (isearch-search-fun-function): New var.
12611         (isearch-search-fun): New fun.
12612         (isearch-search, isearch-lazy-highlight-search): Use it.
12614 2002-09-09  Stefan Monnier  <monnier@cs.yale.edu>
12616         * simple.el (what-line): Don't hard-code 1.
12617         (transient-mark-mode, line-number-mode, column-number-mode):
12618         Use define-minor-mode.
12619         (do-auto-fill): Only ignore prefix if it's really empty.
12621 2002-09-09  Markus Rost  <rost@math.ohio-state.edu>
12623         * files.el (save-some-buffers-action-alist): Use lower case for
12624         help string of diff-buffer-with-file.
12626 2002-09-09  Richard M. Stallman  <rms@gnu.org>
12628         * calendar/calendar.el (mouse-scroll-calendar-left)
12629         (mouse-scroll-calendar-right, mouse-calendar-other-month):
12630         New commands.
12631         (calendar-mode-line-format): Use them.
12633         * emacs-lisp/bytecomp.el (byte-recompile-directory):
12634         Set and then bind default-directory.
12636         * startup.el (fancy-splash-head, normal-splash-screen):
12637         Change the messages that explain about GNU or GNU/Linux.
12639         * info.el (Info-search): Add (point-min) to subfile positions
12640         to get them right.  Skip the current subfile using forward-line.
12642         * files.el (make-backup-file-name-1): When make-directory fails,
12643         ignore backup-directory-alist.
12644         (make-directory): Expand DIR before looking for handler.
12646 2002-09-09  Jari Aalto  <jari.aalto@poboxes.com>
12648         * progmodes/cperl-mode.el (cperl-noscan-files-regexp):
12649         In addition to RCS, exclude CVS directories.
12651         * ls-lisp.el (ls-lisp-format-time-list): New variable.
12652         (ls-lisp-format-time): Use it.
12654         * files.el (auto-mode-alist): Use sh-mode for .bash files.
12656 2002-09-09  Dave Love  <d.love@dl.ac.uk>
12658         * ps-print.el: Many doc fixes.
12660 2002-09-09  John Paul Wallington  <jpw@shootybangbang.com>
12662         * play/doctor.el (doctor-cadr, doctor-caddr, doctor-cddr): Remove.
12663         Update callers.
12665 2002-09-08  Markus Rost  <rost@math.ohio-state.edu>
12667         * diff.el (diff): Doc fix.
12669 2002-09-08  Richard M. Stallman  <rms@gnu.org>
12671         * emacs-lisp/bytecomp.el (byte-compile-delete-errors): Default to nil.
12673         * simple.el (undo-elt-in-region): Fix one-off error at END.
12674         (forward-visible-line): Handle invisibility by ignoring
12675         invisible newlines.  Also include entire invisible lines beyond
12676         the stopping point.
12678         * cus-edit.el (custom-save-variables, custom-save-faces):
12679         Clarify the comments written into .emacs.
12681 2002-09-08  Markus Triska  <triska@gmx.at>
12683         * play/doctor.el (doctor-doc): Recognize question words
12684         and use qlist.  Use doctor-shorten's return value.
12685         (doctor-shorten): Compute a return value, don't alter `sent'.
12686         (doctor-hates1): Add a question mark.
12687         (doctor-strangelove): Unused function deleted.
12689 2002-09-08  Kim F. Storm  <storm@cua.dk>
12691         * kmacro.el (kmacro-end-and-call-macro): New command to end and
12692         call keyboard macro in one step. Bind it to C-x e by default.
12693         (kmacro-call-macro): Use format-kbd-macro.
12694         (kmacro-step-edit-macro): New command to interactively step edit
12695         and execute last keyboard macro.
12696         (kmacro-keymap): Bind SPC [C-x C-k SPC] to kmacro-step-edit-macro.
12697         (kmacro-step-edit-mini-window-height): New custom var.
12698         (kmacro-step-edit-map): New keymap (parent is query-replace-map).
12699         (kmacro-step-edit-prefix-commands): New var.
12700         (kmacro-step-edit-prompt, kmacro-step-edit-query)
12701         (kmacro-step-edit-insert, kmacro-step-edit-pre-command)
12702         (kmacro-step-edit-minibuf-setup, kmacro-step-edit-post-command):
12703         New aux functions for step editing keyboard macros.
12705         * subr.el (read-quoted-char): Apply listify-key-sequence to vector
12706         returned by this-single-command-raw-keys before appending it to
12707         unread-command-event.
12709 2002-09-07  Colin Walters  <walters@debian.org>
12711         * progmodes/compile.el (compile-internal): Add optional argument
12712         no-async.
12714         * diff.el (diff): Add optional argument no-async, and use the
12715         above argument.
12717         * files.el (diff-buffer-with-file): Call diff synchronously, so we
12718         don't delete the temporary file before diff has a chance to read
12719         it.
12721         * ibuf-ext.el (ibuffer-diff-with-file): Just call
12722         `diff-buffer-with-file'.
12724 2002-09-07  John Paul Wallington  <jpw@shootybangbang.com>
12726         * emacs-lisp/cl-indent.el (extended-loop-p): Doc fix.
12728         * emacs-lisp/find-func.el (find-function-recenter-line):
12729         Add custom type.  Doc fix.
12731 2002-09-06  Stefan Monnier  <monnier@cs.yale.edu>
12733         * menu-bar.el (menu-bar-make-mm-toggle): New macro.
12734         (showhide-menu-bar, showhide-toolbar, menu-bar-toggle-auto-compression)
12735         (toggle-highlight-paren-mode, toggle-global-lazy-font-lock-mode):
12736         Remove.  Use the minor mode function directly instead.
12737         (menu-bar-mode): Add message and customize-mark-as-set and return
12738         the new value as do other minor modes.
12740         * edmacro.el (edmacro-subseq): Don't use cl-push/cl-pop.
12742 2002-09-06  Simon Marshall  <simon@gnu.org>
12744         * progmodes/etags.el (find-tag-tag, complete-tag):
12745         Bind completion-ignore-case based on tags-case-fold-search, so that
12746         case-sensitivity of tag completion matches that of tag search.
12748 2002-09-06  Juanma Barranquero  <lektu@terra.es>
12750         * calendar/solar.el (calendar-time-display-form): Fix spacing.
12752         * double.el (double-prefix-only): Likewise.
12754         * emacs-lisp/easymenu.el (easy-menu-define): Likewise.
12756         * emacs-lisp/find-func.el (find-function-search-for-symbol): Likewise.
12758         * emacs-lisp/float.el (string-to-float): Likewise.
12760         * emacs-lisp/rx.el (rx): Likewise.
12762         * faces.el (copy-face): Likewise.
12764         * hilit-chg.el (highlight-changes-colours)
12765         (highlight-changes-active-string)
12766         (highlight-changes-passive-string)
12767         (highlight-changes-rotate-faces, global-highlight-changes): Likewise.
12769         * international/mule.el (decode-char): Likewise.
12771         * progmodes/idlwave.el (idlwave-support-inheritance)
12772         (idlwave-routine-entry-compare): Likewise.
12774         * progmodes/idlw-shell.el (idlwave-shell-use-breakpoint-glyph):
12775         Likewise.
12777         * progmodes/pascal.el (pascal-start-keywords): Likewise.
12779         * progmodes/sh-script.el (sh-indent-for-fi, sh-indent-for-done):
12780         Likewise.
12782         * progmodes/vhdl-mode.el (vhdl-progress-interval)
12783         (vhdl-corresponding-begin): Likewise.
12785         * simple.el (choose-completion-string-functions): Likewise.
12787         * textmodes/reftex.el (reftex-TeX-master-file): Likewise.
12789         * textmodes/fill.el (fill-nonuniform-paragraphs)
12790         (fill-individual-paragraphs): Likewise.
12792         * vcursor.el (vcursor-toggle-vcursor-map): Likewise.
12794         * warnings.el (warning-level-aliases): Likewise.
12796         * speedbar.el (speedbar-mode): Fix spacing and typos.
12798         * textmodes/reftex-vars.el (reftex-label-menu-flags): Fix typo.
12800 2002-09-05  Markus Rost  <rost@math.ohio-state.edu>
12802         * textmodes/table.el (table-command-prefix): Fix type.
12804 2002-09-05  Andre Spiegel  <spiegel@gnu.org>
12806         * vc-hooks.el: Don't require vc.el at compile-time; it causes
12807         recursive requirements during bootstrap.
12809 2002-09-05  Kenichi Handa  <handa@etl.go.jp>
12811         * international/mule.el (decode-char): Cancel the previous change.
12813 2002-09-04  Mats Lidell  <matsl@contactor.se>  (tiny change)
12815         * language/european.el ("Swedish"): New set-language-info-alist call.
12817 2002-09-04  Richard M. Stallman  <rms@gnu.org>
12819         * help-fns.el (help-with-tutorial): Properly set up
12820         completion-reference-buffer in the *Completion* buffer.
12822 2002-09-04  John Paul Wallington  <jpw@shootybangbang.com>
12824         * startup.el (use-fancy-splash-screens-p): If `fancy-splash-frame'
12825         returns nil, return nil.
12827 2002-09-04  Andre Spiegel  <spiegel@gnu.org>
12829         * vc-hooks.el: Require vc.el at compile-time.
12830         (vc-workfile-unchanged-p, vc-default-workfile-unchanged-p):
12831         Moved here from vc.el.
12833         * vc.el (vc-workfile-unchanged-p, vc-default-workfile-unchanged-p):
12834         Moved to vc-hooks.el.
12836         * vc-rcs.el (vc-rcs-state): Don't require vc.el.
12838 2002-09-04  Kenichi Handa  <handa@etl.go.jp>
12840         * international/mule.el (decode-char): Translate a character by
12841         utf-8-translation-table-for-decode only when
12842         utf-8-fragment-on-decoding is non-nil.
12844 2002-09-02  Stefan Monnier  <monnier@cs.yale.edu>
12846         * textmodes/text-mode.el (paragraph-indent-text-mode-abbrev-table)
12847         (paragraph-indent-text-mode-syntax-table, paragraph-indent-text-mode):
12848         Use text-mode's syntax-table and abbrev-table.
12849         (text-mode): Set require-final-newline to t.
12851         * newcomment.el (comment-make-extra-lines): Only use the
12852         dummy `=' char when there's really nothing else.
12853         Don't remove spaces if it leads to an incorrect comment.
12855         * pcvs.el (cvs-run-process): Use a pty rather than a pipe to work
12856         around the cvs/ssh/libc bug.
12857         (cvs-update-header): Understand `cvs admin -m<rev>:<msg>' syntax.
12858         (defun-cvs-mode): Use the new `declare' thingy.
12859         (cvs-edit-log-text-at-point, cvs-mode-edit-log, cvs-do-edit-log)
12860         (cvs-edit-log-minor-wrap, cvs-edit-log-filelist): New funs.
12861         (cvs-mode-undo): Use `cvs add' for (CONFLICT. REMOVED).
12863         * pcvs-parse.el (cvs-parse-table): Create a `need-update'
12864         node rather than a message for new directories.
12865         (cvs-parse-status): Add support for `Entry Invalid'.
12867         * smerge-mode.el (smerge-diff-buffer-name): Default to *vc-diff*.
12868         (smerge-combine-with-next): New function.
12869         (smerge-diff): Don't output `wrote /tmp/foo' messages.
12870         Insert message if no diffs were found.
12872         * mail/sendmail.el (mail-mode): Don't set local-abbrev-table.
12873         (mail-mode-abbrev-table): Set to text-mode-abbrev-table.
12875 2002-09-02  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12877         * net/tramp.el: Version 2.0.15 released.
12878         (require 'base64): Most modern Emacsen have the base64
12879         encode/decode functions built in, so test to see if they are bound
12880         before we go blindly requiring base64.el.
12881         From Steve Youngs <youngs@xemacs.org>.
12882         (tramp-feature-write-region-fix): XEmacs doesn't have a
12883         'find-operation-coding-system' and this variable doesn't seem to
12884         be used anywhere so wrap it in (unless (featurep 'xemacs)).
12885         From Steve Youngs <youngs@xemacs.org>.
12886         (tramp-methods): Remove duplicate definition of ssh1-old and ssh2-old.
12887         (tramp-open-connection-su): Use user name "root" if no user name
12888         is given.
12890         From Michael Albinus <Michael.Albinus@alcatel.de>:
12891         * net/tramp.el (tramp-invoke-ange-ftp):
12892         (tramp-ange-ftp-file-name-p): Check for Xemacs.
12893         (tramp-do-copy-or-rename-file): Don't pass KEEP-DATE to
12894         tramp-invoke-ange-ftp 'rename.
12895         (tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to
12896         tramp-invoke-ange-ftp 'write-region.
12897         (tramp-handle-set-file-modes): Change order of FILENAME and MODE
12898         passing to tramp-invoke-ange-ftp 'set-file-modes.
12899         (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp' must be called
12900         again after activating `ange-ftp'.
12902 2002-09-02  Kim F. Storm  <storm@cua.dk>
12904         * ido.el (ido-ignore-item-temp-list): New variable.
12905         (ido-read-internal): Don't set ido-default-item if the default is
12906         member of ido-ignore-item-temp-list.
12907         Don't return first match for C-j if no text is entered.
12908         (ido-buffer-internal): Check for empty string return.
12909         (ido-make-buffer-list1): Use member instead of memq.
12910         (ido-window-buffer-p): Likewise.
12911         (ido-get-bufname): Ignore buffers on ido-ignore-item-temp-list.
12912         (ido-ignore-item-p): Ignore items on ido-ignore-item-temp-list.
12914         * replace.el (multi-occur): Made "ido-aware":
12915         Changed prompt to use C-j instead of RET to end.
12916         Set ido-ignore-item-temp-list to the selected buffers so far, so
12917         they are automatically excluded from the list of choices.
12918         Use add-to-list instead of push.
12920 2002-09-01  Richard M. Stallman  <rms@gnu.org>
12922         * term/x-win.el (function-key-map): Define S-iso-lefttab.
12924 2002-09-01  Kim F. Storm  <storm@cua.dk>
12926         * edmacro.el (edit-kbd-macro): Recognize new default binding for
12927         C-x e in addition to old binding.
12929 2002-09-01  Mario Lang  <mlang@debian.org>
12931         * files.el (save-some-buffers-action-alist): New variable.
12932         (save-some-buffers): Use that.
12933         (diff-buffer-with-file): New function.
12935 2002-09-01  Richard M. Stallman  <rms@gnu.org>
12937         * ruler-mode.el (defgroup ruler-mode): Use `convenience' as parent.
12939         * dired.el (defgroup dired): Use `files' as parent.
12940         (dired-get-filename): Ignore handler if it has safe-magic prop.
12942         * jka-compr.el (jka-compr-handler): Add safe-magic property.
12944 2002-08-31  Richard M. Stallman  <rms@gnu.org>
12946         * simple.el (kill-line): Use end-of-visible-line to determine
12947         if rest of line is blank.
12948         (end-of-visible-line): Cope if end-of-line moved back over
12949         invisible intangible chars at end of line.
12951         * simple.el (completion-setup-function): Don't use directory-sep-char.
12953 2002-09-01  Glenn Morris  <gmorris@ast.cam.ac.uk>
12955         * progmodes/f90.el (f90-menu): Remove ":active" keyword where not
12956         needed.
12957         (f90-menu, f90-add-imenu-menu): Use lookup-key.
12958         Remove (eval-when-compile) for free variables.
12960 2002-08-31  Andreas Schwab  <schwab@suse.de>
12962         * font-core.el (font-lock-change-mode): Avoid changing buffer
12963         state in any way.
12965 2002-08-30  Stefan Monnier  <monnier@cs.yale.edu>
12967         * emacs-lisp/easymenu.el (easy-menu-filter-return):
12968         Handle the case where the filter returns a single menu entry.
12969         (easy-menu-add): Improve docstring.
12970         (easy-menu-current-active-maps): Remove.
12971         (easy-menu-get-map): Use current-active-maps.
12973         * cus-edit.el (custom-unlispify-menu-entry): Don't remove
12974         the -p prefix from variables since they shouldn't have it anyway.
12975         (custom-group-menu-create, customize-menu-create):
12976         Only cdr if applicable, since custom-menu-create might return
12977         a vector (i.e. a single menu entry).
12979 2002-08-30  Edward M. Reingold  <reingold@emr.cs.iit.edu>
12981         * calendar/diary-lib.el (diary-mail-entries): Don't overwrite
12982         user's value of diary-list-include-blanks, but generate message
12983         instead if there are no entries.
12985 2002-08-30  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>  (tiny change)
12987         * ps-print.el (ps-lp-system): Fixed typo in `usg-unix-v'.
12989 2002-08-30  Markus Rost  <rost@math.ohio-state.edu>
12991         * menu-bar.el (menu-bar-read-mail): Doc fix.
12993 2002-08-30  John Paul Wallington  <jpw@shootybangbang.com>
12995         * ibuffer.el (ibuffer-update): Revert expansion of `caddr'.
12996         (ibuffer-fontification-alist): Check hidden buffer case isn't
12997         visiting a file and change its face to italic.
12999 2002-08-30  Juanma Barranquero  <lektu@terra.es>
13001         * replace.el (occur-mode): Add interactive declaration.
13003         * bs.el (bs-message-without-log): Fix typo.
13005         * font-core.el (font-lock-defaults): Likewise.
13007         * font-lock.el (font-lock-add-keywords): Likewise.
13009         * mouse-copy.el (mouse-copy-work-around-drag-bug): Likewise.
13011         * textmodes/bibtex.el (bibtex-mode): Likewise.
13013         * emulation/viper-ex.el (ex-compile-command): Likewise.
13015         * progmodes/idlwave.el (idlwave-max-extra-continuation-indent):
13016         Likewise.
13018         * progmodes/dcl-mode.el (dcl-calc-cont-indent-relative): Likewise.
13020         * allout.el (my-mark-marker): Likewise.
13022 2002-08-30  Simon Josefsson  <jas@extundo.com>
13024         * mail/smtpmail.el (smtpmail-via-smtp): Delete process buffer
13025         unless s-debug-info is enabled.
13027 2002-08-29  John Paul Wallington  <jpw@shootybangbang.com>
13029         * ibuffer.el (ibuffer-update): Use `minibufferp'.  Expand `caddr'.
13031         * mwheel.el (mouse-wheel-up-button): Doc fix.
13033 2002-08-29  Juanma Barranquero  <lektu@terra.es>
13035         * replace.el (occur-mode-hook): New hook.
13036         (occur-mode): Use it.
13037         (occur-hook): Set default to nil.
13039 2002-08-29  Stefan Monnier  <monnier@cs.yale.edu>
13041         * net/ange-ftp.el: Use match-string and drop useless `function's.
13042         (ange-ftp-get-process): Bind `ange-ftp-this-user' and
13043         `ange-ftp-this-host' before running ange-ftp-process-startup-hook.
13044         (ange-ftp-ls-parser): Use `switches' arg instead of dynamic binding.
13045         (ange-ftp-parse-dired-listing): Update the calls.
13046         (dired-local-variables-file): Declare to shut quieten the compiler.
13047         (ange-ftp-file-entry-active-p): Remove.
13048         (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
13049         Don't exclude dangling symlinks.
13050         (ange-ftp-file-name-completion-1): Make predicate optional.
13051         (ange-ftp-parse-list-func-alist): Use add-to-list to update.
13052         (ange-ftp-fix-name-for-bs2000): Use subst-char-in-string.
13053         (ange-ftp-bs2000-posix-hook-installed): Remove.
13054         (ange-ftp-add-bs2000-posix-host): Don't use it anymore.
13055         (ange-ftp-bs2000-cd-to-posix): Use `ange-ftp-this-user' and
13056         `ange-ftp-this-host' instead of `user' and `host'.
13058 2002-08-29  Richard M. Stallman  <rms@gnu.org>
13060         * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
13061         Decide here whether to print which form we're compiling.
13062         If we do that, still print file and line.  Make file name
13063         relative to default-directory.  Print fewer newlines.
13064         (byte-compile-log-file): Print something even if no file.
13065         Print messages for entering and leaving directories,
13066         and set default-directory.
13067         (displaying-byte-compile-warnings): Only sometimes bind warning-series.
13068         (byte-compile-warning-series): New function.
13069         (byte-compile-file): Set byte-compile-last-logged-file, don't bind it.
13070         (byte-compile-display-log-head-p): Function deleted.
13072         * warnings.el (warning-series): Now can be a marker, not an integer.
13073         (display-warning): Handle new value for warning-series.
13075         * emacs-lisp/bytecomp.el (byte-compile-log-file): Use \f.
13076         (byte-compile-cl-warn): Add cl-macroexpand-all, cl-compiling-file
13077         to don't-warn list.
13079 2002-08-29  Kim F. Storm  <storm@cua.dk>
13081         * kmacro.el: Change default bindings from F7/F8 to F3/F4.
13082         Change default binding of C-x e to kmacro-end-or-call-macro.
13083         (kmacro-call-repeat-key, kmacro-call-repeat-with-arg): New custom
13084         variables.
13085         (kmacro-get-prefix-arg): New function.
13086         (kmacro-repeat-on-last-key): Rename from kmacro-repeat-loop and
13087         improve.  Callers changed.
13088         (kmacro-call-macro): Repeat macro by repeating last key or
13089         key defined in kmacro-call-repeat-key.  New third arg non-nil
13090         means to end current macro.
13091         (kmacro-end-or-call-macro): Call kmacro-call-macro appropriately
13092         to get repeat last key functionality.
13093         (kmacro-start-macro-or-insert-counter): Improve doc string.
13095 2002-08-28  Luc Teirlinck  <teirllm@mail.auburn.edu>
13097         * files.el (find-buffer-visiting): Compare file attributes
13098         using buffer-file-truename.
13100 2002-08-28  Richard M. Stallman  <rms@gnu.org>
13102         * files.el (make-auto-save-file-name, make-backup-file-name-1):
13103         Don't use directory-sep-char.
13105 2002-08-28  Juanma Barranquero  <lektu@terra.es>
13107         * replace.el (occur-hook): Renamed from `occur-mode-hook'.
13108         (occur-mode): Remove call to `occur-mode-hook'.
13109         (occur-rename-buffer): Fix reference to `occur-mode-hook' in docstring.
13110         (occur-1): Add call to `occur-hook'.
13112         * subr.el (make-variable-frame-localizable): Alias for
13113         `make-variable-frame-local'.
13115 2002-08-28  Miles Bader  <miles@gnu.org>
13117         * rfn-eshadow.el (read-file-name-electric-shadow-properties)
13118         (read-file-name-electric-shadow-tty-properties)
13119         (read-file-name-electric-shadow-mode): Remove compatibility defs.
13121         * comint.el (comint-carriage-motion): Start at START.
13123 2002-08-27  Francesco Potort\e,Al\e(B  <pot@gnu.org>
13125         * net/ange-ftp.el (ange-ftp-skip-msgs): Skip the 530 response
13126         given by vsFTPd when accessed with a kerberised FTP client.
13128 2002-08-27  Richard M. Stallman  <rms@gnu.org>
13130         * files.el (find-alternate-file):
13131         Bind kill-buffer-query-functions locally, don't set it.
13133 2002-08-27  Andreas Schwab  <schwab@suse.de>
13135         * kmacro.el (kmacro-start-macro): Doc fix.
13137 2002-08-27  Carsten Dominik  <dominik@sand.science.uva.nl>
13139         * textfile/reftex-ref.el (reftex-goto-label): New command.
13141         * textfile/reftex-vars.el (reftex-part-resets-chapter): New option.
13143         * textfile/reftex-parse.el (reftex-roman-number): New function.
13144         (reftex-section-number): Better handling of parts: No chapter
13145         counter resets.
13147         * textfile/reftex.el (reftex-highlight-overlays): Added a third
13148         overlay.
13149         (reftex-mode-menu): Added entry for `reftex-toc-recenter.
13150         Also moved `reftex-reset-mode' to top level.
13152         * textfile/reftex-toc.el (reftex-toc-recenter): New command.
13153         (reftex-toc-pre-command-hook): Don't remove highlight overlay.
13154         (reftex-toc-post-command-hook): Use overlay no 2 for highlighting.
13156         * textfile/reftex-sel.el (reftex-get-offset): Get offset of
13157         document pointer *before* position, not after.
13158         (reftex-insert-docstruct): Get offset of document pointer *before*
13159         position, not after.
13161         * textfiles/reftex-parse.el (reftex-where-am-I): Prefer marker
13162         match over section title match.
13164         * textfiles/reftex-cite.el (reftex-bib-or-thebib): New function
13165         which determines on a per-file-basis if BibTeX is being used
13166         locally for citations.
13167         (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better
13168         cooperation with chapterbib.
13169         (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for
13170         better cooperation with chapterbib.
13172         * textfiles/reftex-dcr.el (reftex-view-cr-cite):
13173         Use `reftex-bib-or-thebib' for better cooperation with chapterbib.
13175 2002-08-26  Kim F. Storm  <storm@cua.dk>
13177         * subr.el (suppress-keymap): Use command remapping instead of
13178         substitute-key-definition to undefine self-inserting keys.
13180 2002-08-26  Juanma Barranquero  <lektu@terra.es>
13182         * makefile.w32-in (WINS): Add calc and obsolete.
13184 2002-08-26  Stefan Monnier  <monnier@cs.yale.edu>
13186         * emacs-lisp/easy-mmode.el (define-minor-mode):
13187         Use customize-mark-as-set for global minor modes.
13189 2002-08-25  Miles Bader  <miles@gnu.org>
13191         * rfn-eshadow.el (file-name-shadow-properties-custom-type):
13192         Renamed from `read-file-name-electric-shadow-properties-custom-type'.
13193         Change name of face.
13194         (file-name-shadow-properties): Renamed from
13195         `read-file-name-electric-shadow-properties'.
13196         (file-name-shadow-tty-properties): Renamed from
13197         `read-file-name-electric-shadow-tty-properties'.
13198         (file-name-shadow): Renamed from `read-file-name-electric-shadow'.
13199         (rfn-eshadow-setup-minibuffer): Update references to renamed variables.
13200         (file-name-shadow-mode): Renamed from
13201         `read-file-name-electric-shadow-mode'.  Update references to
13202         renamed variables.
13204 2002-08-24  Sam Steingold  <sds@gnu.org>
13206         * subr.el (eval-after-load): Do not call
13207         load-symbol-file-load-history (deleted yesterday).
13209 2002-08-24  John Paul Wallington  <jpw@shootybangbang.com>
13211         * startup.el (normal-splash-screen): Ensure splash buffer is
13212         killed.  Use tabs in output.  Fix test whether previous buffer was
13213         *scratch* buffer.
13215         * progmodes/simula.el (simula-abbrev-keyword-default)
13216         (simula-abbrev-keyword, simula-abbrev-stdproc-default)
13217         (simula-abbrev-stdproc): Doc fix - escape open parens in column 0.
13219         * apropos.el (command-apropos): Use `defalias' instead of `fset'.
13221         * mail/rmail.el (rmail-speedbar-match-folder-regexp): Doc fix.
13223 2002-08-24  Glenn Morris  <gmorris@ast.cam.ac.uk>
13225         * progmodes/f90.el (f90-xemacs-flag, f90-xemacs-menu)
13226         (f90-menu-bar-menu, f90-change-case-menu, f90-font-lock-on)
13227         (f90-font-lock-off, f90-font-lock-menu): Delete.
13228         Use easy-menu-define instead.
13229         (f90-mode): Use easy-menu-add.
13230         No longer (require 'imenu) when compiling.
13231         (f90-mark-subprogram, f90-indent-region, f90-fill-region)
13232         (f90-abbrev-start): Use fboundp.
13233         (f90-imenu-flag): Delete - use imenu--index-alist instead.
13235 2002-08-23  Richard M. Stallman  <rms@gnu.org>
13237         * loadhist.el (unload-feature): Distinguish functions from
13238         variables in load-history.
13239         (feature-symbols): Doc fix.
13241         * files.el (ange-ftp-completion-hook-function): Add safe-magic prop.
13243         * subr.el (symbol-file-load-history-loaded)
13244         (load-symbol-file-load-history): Deleted.
13245         (symbol-file): Don't call load-symbol-file-load-history.
13247 2002-08-23  Andre Spiegel  <spiegel@gnu.org>
13249         * vc-hooks.el (vc-kill-buffer-hook): Add it to kill-buffer-hook again.
13251 2002-08-22  Katsumi Yamaoka  <yamaoka@jpl.org>  (tiny change)
13253         * frame.el (select-frame-by-name, select-frame-set-input-focus):
13254         Always call x-focus-frame, if using x.
13255         Use set-mouse-position on all systems, if focus-follows-mouse.
13257 2002-08-22  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13259         * net/tramp.el: Version 2.0.14 released.
13260         (tramp-shell-prompt-pattern): New variable.
13261         (tramp-actions-before-shell, tramp-multi-actions)
13262         (tramp-find-shell, tramp-open-connection-multi)
13263         (tramp-open-connection-setup-interactive-shell): Use it.
13264         (tramp-open-connection-telnet, tramp-open-connection-rsh)
13265         (tramp-open-connection-su): Mention `tramp-shell-prompt-pattern'
13266         in the docstring.
13267         (tramp-bug): Report `tramp-shell-prompt-pattern'.
13268         (tramp-process-one-multi-action, tramp-process-one-action):
13269         Make message clearer so people don't confuse it with Emacs asking
13270         them a question if the regexp happens to end with "?".
13271         (tramp-verbose): Change default value from 10 to 9.  Also change
13272         some logging levels so that 10 is reserved for stuff which is
13273         needed for debugging only, but 9 catches everything that people
13274         might like to see in order to see that Tramp is actually working.
13276 2002-08-22  Kim F. Storm  <storm@cua.dk>
13278         * emacs-lisp/authors.el (authors-aliases, authors-fixed-entries):
13279         Corrected spelling mistakes (for Joseph Arceneaux).
13281 2002-08-21  Glenn Morris  <gmorris@ast.cam.ac.uk>
13283         * progmodes/f90.el: eval-when-compile a few defvars.
13284         (f90-xemacs-flag): Wrap in eval-and-compile.
13285         (f90-font-lock-keywords): Doc fix.
13286         (f90-mode-abbrev-table): Work with or without 6th arg of define-abbrev.
13287         (f90-mark-subprogram-overlay): Variable deleted.
13288         (f90-mark-subprogram): Remove overlay bit.  Don't be silent about
13289         pushing mark.
13290         (f90-abbrev-start): unread-command-event is obsolete in XEmacs.
13292 2002-08-21  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13294         * net/tramp.el: Version 2.0.13 released.
13295         (tramp-handle-write-region): Don't check to see if remote end is
13296         awake after sending data to remote host: we want to send "EOF" not
13297         "echo are you awake"...
13298         (tramp-maybe-open-connection): Swap args for tramp-time-diff.
13299         (tramp-yn-prompt-regexp): New variable.
13300         (tramp-action-yn): New function, using it.
13301         (tramp-feature-write-region-fix): New internal variable.  Not yet
13302         used.  Should be used in `tramp-handle-write-region'.
13304 2002-08-21  Kim F. Storm  <storm@cua.dk>
13306         * bindings.el (mode-line-format): Moved global-mode-string last.
13307         (mode-line-position): Moved %p first.  Added padding to %l/%c to
13308         eliminate jumpyness in modeline.  Use (%l,%c) format if both
13309         line-number-mode and column-number-mode are enabled.
13311 2002-08-20  Martin Stjernholm  <bug-cc-mode@gnu.org>
13313         * progmodes/cc-engine.el (c-forward-syntactic-ws): Fixed a bug
13314         that could cause an infinite loop if something that looks like
13315         a macro begins in the middle of a line.
13317         * progmodes/cc-engine.el (c-parse-state): Fixed a bug that
13318         could cause `c-state-cache' to contain two conses in sequence
13319         when there's an unbalanced open paren in a macro.
13321 2002-08-20  Glenn Morris  <gmorris@ast.cam.ac.uk>
13323         * progmodes/fortran.el (fortran-current-defun): Use save-excursion.
13325         * imenu.el (imenu--generic-function): Use mapc.
13326         (imenu-syntax-alist): Doc fix.
13328 2002-08-20  Richard M. Stallman  <rms@gnu.org>
13330         * font-core.el (font-lock-change-mode): New function.
13331         (font-lock-mode): Use font-lock-change-mode instead of
13332         font-lock-unfontify-buffer.
13333         (font-lock-maximum-size, font-lock-verbose): Add defvars.
13335 2002-08-20  Carsten Dominik  <dominik@astro.uva.nl>
13337         * textfiles/reftex-cite.el (reftex-bib-or-thebib): New function
13338         which determines on a per-file-basis if BibTeX is being used
13339         locally for citations.
13340         (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better
13341         cooperation with chapterbib.
13342         (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for
13343         better cooperation with chapterbib.
13345         * textfiles/reftex-dcr.el (reftex-view-cr-cite):
13346         Use `reftex-bib-or-thebib' for better cooperation with chapterbib.
13348 2002-08-20  Kim F. Storm  <storm@cua.dk>
13350         * kmacro.el: Major rework based on discussions with RMS.
13351         Most important change is that C-x C-k is now bound to a keymap
13352         with keyboard macro related commands.  The original binding on
13353         C-x C-k is moved to C-x C-k e.
13355         * binding.el: Remove macro related bindings (now in kmacro.el).
13357         * edmacro.el: Remove C-x C-k binding (now in kmacro.el).
13359 2002-08-19  Stefan Monnier  <monnier@cs.yale.edu>
13361         * help-fns.el (help-split-fundoc): Replace the function name
13362         from the docstring with the one that should be displayed.
13363         (help-make-usage): Understand CL style arglists.
13364         (describe-function-1): Adapt to the new behavior of help-split-fundoc.
13365         (describe-variable): Use delete-region.
13367 2002-08-19  Kenichi Handa  <handa@etl.go.jp>
13369         * international/mule.el (sgml-xml-auto-coding-function):
13370         Call re-search-forward with NOERROR t.
13372 2002-08-19  Miles Bader  <miles@gnu.org>
13374         [original idea from Luc Teirlinck <teirllm@mail.auburn.edu>]
13375         * comint.el (comint-inhibit-carriage-motion): New variable.
13376         (comint-carriage-motion): Argument STRING removed.  New arguments
13377         START and END; interpret characters between START and END rather
13378         than using special comint state.
13379         (comint-output-filter): Call `comint-carriage-motion'.
13380         (comint-output-filter-functions): Don't add `comint-carriage-motion'.
13381         * ielm.el (inferior-emacs-lisp-mode):
13382         Give `comint-inhibit-carriage-motion' a local value of t.
13384 2002-08-18  Richard M. Stallman  <rms@gnu.org>
13386         * textmodes/table.el: New file.
13388         * font-core.el (font-lock-mode): Set change-major-mode-hook locally.
13390 2002-08-18  Andreas Schwab  <schwab@suse.de>
13392         * ibuf-ext.el (ibuffer-list-buffer-modes): Doc fix.
13394 2002-08-17  Carsten Dominik  <dominik@astro.uva.nl>
13396         * textmodes/reftex.el (reftex-mode): Create special syntax tables.
13397         (reftex-syntax-table): Set a default in case this is being used
13398         outside a LaTeX file.
13399         (reftex-syntax-table-for-bib): Set a default in case this is being
13400         used outside a LaTeX file.
13402 2002-08-17  Richard M. Stallman  <rms@gnu.org>
13404         * tar-mode.el (tar-subfile-mode): Use add-hook and remove-hook,
13405         and use write-file-functions instead of local-write-file-hooks.
13406         (tar-untar-buffer): Don't try to extract directories.
13408         * menu-bar.el (fringe-mode): Set to nil.
13410         * mail/rmail.el (rmail-search-mime-header-function): Doc fix.
13412 2002-08-15  Richard M. Stallman  <rms@gnu.org>
13414         * calendar/appt.el (appt-delete): Use substring-no-properties.
13415         (appt-make-list): Don't use prin1-to-string; use the string unchanged.
13417 2002-08-15  Jan Nieuwenhuizen  <janneke@gnu.org>  (tiny change)
13419         * server.el (server-process-filter): Simplify code.
13420         (server-goto-line-column): New function.
13421         (server-visit-files): Use server-goto-line-column.
13422         Offer to revert only if file has changed.
13424 2002-08-15  Richard M. Stallman  <rms@gnu.org>
13426         * files.el (recover-this-file): New function.
13427         (after-find-file): Recommend recover-this-file.
13429         * font-core.el (font-lock-mode): Add font-lock-unfontify-buffer
13430         to change-major-mode-hook when font lock is enabled.
13432         * simple.el (toggle-truncate-lines): Force redisplay.
13433         Display status message.
13435 2002-08-15  Carsten Dominik  <dominik@sand.science.uva.nl>
13437         * textmodes/reftex.el (reftex-mode): Moved the creation of special
13438         syntax tables to top-level.
13440 2002-08-15  David Kastrup  <David.Kastrup@t-online.de>
13442         * net/ange-ftp.el (ange-ftp-wipe-file-entries): Fix type mismatch;
13443         use `hash-table-size' instead of `length'.
13445 2002-08-14  Stefan Monnier  <monnier@cs.yale.edu>
13447         * help-fns.el (locate-library): Use locate-file(-completion).
13448         (help-split-fundoc): Tighten the regexp and recognize a usage-info
13449         where the function name is `fn'.
13450         (help-function-arglist): Follow aliases and macros.
13451         (describe-function-1): Use keymapp.
13452         If the docstring contains a usage info, use it even if the function is
13453         not a subroutine.  Find usage info in aliases' docstring if necessary.
13454         (describe-variable): Get the value before setting up the *Help* buffer.
13456         * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
13457         Use find-file-hook instead of find-file-hooks.
13458         (define-minor-mode): Get rid of this silly `togglep'.
13459         Add an explicit `toggle' argument (used for interactive calls).
13460         Emit a warning when a nil argument turns the mode off.
13462         * language/ethio-util.el (setup-ethiopic-environment-internal)
13463         (exit-ethiopic-environment): Use find-file-hook and
13464         write-file-functions instead of find-file-hooks and write-file-hooks.
13466         * window.el (handle-select-window): Don't do anything if the window
13467         has disappeared since the event was generated.
13468         (split-window-save-restore-data): Use push and with-current-buffer.
13470         * saveplace.el:
13471         * play/meese.el:
13472         * obsolete/hilit19.el:
13473         * completion.el (dynamic-completion-mode):
13474         * emacs-lisp/find-func.el (find-function-search-for-symbol):
13475         Use find-file-hook instead of find-file-hooks.
13477         * imenu.el (imenu-always-use-completion-buffer-p): Make obsolete.
13478         (imenu-use-popup-menu, imenu-eager-completion-buffer): New vars.
13479         (imenu-space-replacement): Allow nil value.
13480         (imenu--completion-buffer): Use new vars and simplify.
13481         Fix handling of minibuffer-setup-hook.
13482         Use minibuffer-completion-help instead of rolling our own.
13483         (imenu-choose-buffer-index): Use the new var.
13485         * startup.el (command-line): Load custom-file if not done yet.
13487 2002-08-14  Kenichi Handa  <handa@etl.go.jp>
13489         * select.el (xselect-convert-to-string): If TYPE is non-nil, encode
13490         the selection data string.  Always return cons of type and string.
13491         (selection-converter-alist): Add (UTF8_STRING .
13492         xselect-convert-to-string).
13494 2002-08-12  Stefan Monnier  <monnier@cs.yale.edu>
13496         * newcomment.el (comment-region): Force `lines' when `block' is set.
13498 2002-08-12  Richard M. Stallman  <rms@gnu.org>
13500         * menu-bar.el (menu-bar-next-tag-other-window, menu-bar-next-tag)
13501         (menu-bar-right-scroll-bar, menu-bar-left-scroll-bar)
13502         (menu-bar-no-scroll-bar, menu-bar-toggle-auto-compression)
13503         (menu-bar-toggle-cua-mode, menu-bar-read-mail)
13504         (menu-bar-help-extra-packages, help-with-tutorial-spec-language)
13505         (menu-bar-text-mode-auto-fill): New commands, used
13506         in menu bar menus instead of lambda expressions.
13508         (menu-bar-showhide-fringe-menu-customize-left)
13509         (menu-bar-showhide-fringe-menu-customize-right)
13510         (menu-bar-showhide-fringe-menu-customize-disable)
13511         (menu-bar-showhide-fringe-menu-customize-reset): Doc fixes.
13513         (menu-bar-options-menu): Use toggle-truncate-lines.
13514         (showhide-date-time): Call customize-mark-as-set.
13516         * emacs-lisp/find-func.el (find-function-search-for-symbol):
13517         Obey `definition-name' properties.
13519         * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
13520         Put `definition-name' properties on the functions whose
13521         names are constructed.
13523         * textmodes/page-ext.el (pages-target-buffer): Add defvar.
13524         Renamed from target-buffer.
13525         (pages-directory, pages-copy-header-and-position): Uses changed.
13527         * calendar/appt.el (appt-make-list): Correct the parsing of
13528         each appointment from time-string.
13530 2002-08-12  Stefan Monnier  <monnier@cs.yale.edu>
13532         * scroll-all.el (scroll-all-mode): Use define-minor-mode.
13533         (scroll-all-mode) <defcustom>: Delete.
13534         (running-xemacs): Delete.
13535         (minor-mode-alist): Don't manipulate it directly.
13537 2002-08-10  Kenichi Handa  <handa@etl.go.jp>
13539         * international/mule-cmds.el (search-unencodable-char): New function.
13540         (select-safe-coding-system): Show unencodable characters.
13541         (unencodable-char-position): Deleted, and implemented in C in coding.c.
13543 2002-04-09  John Wiegley  <johnw@gnu.org>
13545         * esh-util.el: Removed eshell-under-cygwin-p, and all uses of it.
13546         * em-cmpl.el (eshell-cmpl-ignore-case): Ditto.
13547         * em-dirs.el (eshell/cd): Ditto.
13548         * em-glob.el (eshell-glob-case-insensitive): Ditto.
13549         * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
13550         * esh-ext.el (eshell-binary-suffixes): Ditto.
13552 2002-08-09  Richard M. Stallman  <rms@gnu.org>
13554         * textmodes/page-ext.el (pages-directory-mode): Undo previous change.
13556         * simple.el (set-variable): Give locality status in prompt.
13558 2002-08-09  Benjamin Rutt  <rutt@cis.ohio-state.edu>
13560         * simple.el (set-variable): If given a prefix argument, set
13561         variable buffer-locally.
13563 2002-08-09  John Paul Wallington  <jpw@shootybangbang.com>
13565         * font-core.el (font-lock-function): Make it buffer-local.
13567 2002-08-08  Richard M. Stallman  <rms@gnu.org>
13569         * emacs-lisp/checkdoc.el (checkdoc, checkdoc-interactive)
13570         (checkdoc-message-interactive, checkdoc-interactive-loop)
13571         (checkdoc-current-buffer, checkdoc-continue, checkdoc-comments)
13572         (checkdoc-defun):
13573         Update checkdoc-spellcheck-documentation-flag correctly.
13574         (checkdoc-ispell-docstring-engine): Don't test for
13575         checkdoc-autofix-flag = nil.
13577 2002-08-07  John Paul Wallington  <jpw@shootybangbang.com>
13579         * xt-mouse.el (xterm-mouse-mode): Make it a global mode.
13581         * wid-browse.el (widget-minor-mode): Fix doc typo.
13583 2002-08-07  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13585         * net/tramp.el: Version 2.0.12 released.
13586         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13587         Comment out possibly obsolete "echo hello" commands.
13588         (tramp-run-real-handler): If operation is
13589         `ange-ftp-hook-function', use first arg as the real operation.
13590         (tramp-check-ls-commands): Use / instead of \ as directory
13591         separator.  (Relevant for XEmacs on Windows.)
13592         (tramp-maybe-open-connection): Use tramp-wait-for-output when
13593         waiting for the "are you awake" command.  Use a different string
13594         for the "are you awake" command.
13595         (tramp-send-command): New optional arg NEVEROPEN means to never
13596         invoke tramp-maybe-open-connection.
13597         (tramp-maybe-open-connection): Use it
13599 2002-08-07  Richard M. Stallman  <rms@gnu.org>
13601         * warnings.el (warning-prefix-function, warning-series)
13602         (warning-fill-prefix, warning-group-format): Add autoload cookies.
13604 2002-08-07  Kenichi Handa  <handa@etl.go.jp>
13606         * international/mule-cmds.el (select-safe-coding-system):
13607         Call pop-to-buffer inside save-window-excursion and save-excursion.
13609 2002-08-06  John Paul Wallington  <jpw@shootybangbang.com>
13611         * help-fns.el (describe-function-1): Skip arglist note if
13612         function's definition is a keymap.
13614 2002-08-06  Sam Steingold  <sds@gnu.org>
13616         * calendar/diary-lib.el (diary-mail-entries): Use `compose-mail'
13617         and `mail-user-agent' instead of straight sendmail.
13618         (diary-modified, diary-entries-list, displayed-year)
13619         (displayed-month, entry, date, number, date-string, d-file)
13620         (original-date): Defvar without binding to avoid compiler warnings.
13622 2002-08-05  Alan Shutko  <ats@acm.org>
13624         * ibuffer.el (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
13625         (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
13626         (ibuffer-mode): Added ibuffer-filter-by-used-mode to doc string.
13628         * ibuf-ext.el (ibuffer-list-buffer-modes): New.
13629         (ibuffer-filter-by-used-mode): New.
13631 2002-08-05  John Paul Wallington  <jpw@shootybangbang.com>
13633         * ediff-util.el (ediff-copy-list): Use `defalias' instead of
13634         `fset' and `symbol-function'.
13636 2002-08-05  John Wiegley  <johnw@gnu.org>
13638         * pcomplete.el (pcomplete-entries): Don't set `above-cutoff' to a
13639         value unless pcomplete-cycle-cutoff-length is non-nil.
13641 2002-04-09  John Paul Wallington  <jpw@shootybangbang.com>
13643         * esh-util.el (eshell-under-cygwin-p): New function.
13644         * em-cmpl.el (eshell-cmpl-ignore-case): Use it.
13645         * em-dirs.el (eshell/cd): Ditto.
13646         * em-glob.el (eshell-glob-case-insensitive): Ditto.
13647         * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
13648         * esh-ext.el (eshell-binary-suffixes): Ditto.
13650 2002-08-05  Richard M. Stallman  <rms@gnu.org>
13652         * international/mule-cmds.el (select-safe-coding-system): Check for
13653         non-nil CODING-SYSTEM before warning it disagrees with AUTO-CS.
13655         * net/ange-ftp.el (ange-ftp-smart-gateway): Doc fix.
13657 2002-08-05  Gerd Moellmann  <gerd@gnu.org>
13659         * image.el (image-jpeg-p): Accept "Exif" marker.
13661 2002-08-05  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13663         * net/tramp.el: Version 2.0.11 released.
13664         (tramp-perl-file-attributes): Print uid and gid as signed integers.
13665         (tramp-invoke-ange-ftp): Correct check for Ange-FTP being loaded.
13666         Invoke Ange-FTP with tramp-run-real-handler to avoid Ange-FTP
13667         calling Tramp again.
13668         (tramp-find-file-exists-command): Check for `ls -d' last, after
13669         all the variants on `test -e'.
13670         (tramp-post-connection): Erase buffer before finding a command to
13671         check if file exists.
13673 2002-08-05  David Kastrup  <David.Kastrup@t-online.de>
13675         * calc/calc.el (math-format-stack-value): Revert a broken
13676         if->when replacement and reformat so that this does not happen
13677         again.  Fixes a pretty lethal line formatting/yanking bug.
13679 2002-08-04  John Paul Wallington  <jpw@shootybangbang.com>
13681         * startup.el (fancy-splash-frame): Check selected frame last.
13683 2002-08-04  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13685         * net/tramp.el: Version 2.0.10 released.
13686         (tramp-uudecode): New shell function `tramp_uudecode' to decode to
13687         standard output even if `uudecode -p' and `uudecode -o -' don't work.
13688         (tramp-post-connection): After finding the right shell, wait a
13689         bit.  This is a kludge to avoid a race condition, even though I
13690         don't understand why there is a race condition in the first place.
13691         (tramp-post-connection): Install the `tramp_uudecode' shell
13692         function on the remote host.
13693         (tramp-coding-commands): Add an alternative for `tramp_uudecode'.
13694         (tramp-bug): Include more variables in the report.
13696 2002-08-04  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13698         * net/tramp.el: Version 2.0.9 released.
13699         (tramp-bug): Add wording about additional info to include in bug
13700         report.
13701         (tramp-find-shell): Set $PS1 for invocation of second shell (for
13702         tilde expansion).
13703         (tramp-find-shell): Shell prompt must match at end of buffer.
13704         Do this also for fallback shell prompt.
13705         (tramp-find-shell): More debugging output.
13706         (tramp-find-inline-encoding): When checking the decoding command,
13707         some commands fail when reading from /dev/null.  So we pass a
13708         known string through the encoding command and pass that through
13709         the decoding command.  So we know whether the decoding command can
13710         deal with some real input.
13712 2002-08-04  Andreas Schwab  <schwab@suse.de>
13714         * net/tramp.el (tramp-perl-encode, tramp-perl-decode): Doc fix.
13716 2002-08-03  Andrew Choi  <akochoi@shaw.ca>
13718         * term/mac-win.el: Set keys to enable mouse wheel support.
13720 2002-08-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13722         * net/tramp.el: Version 2.0.8.
13723         (tramp-perl-encode, tramp-perl-encode): Double the backslashes.
13725 2002-08-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13727         * net/tramp.el: Version 2.0.7.
13728         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
13729         (tramp-perl-encode, tramp-perl-decode): Escape `%' characters
13730         because of `format' and say so in the docstring.
13732 2002-08-03  Glenn Morris  <gmorris@ast.cam.ac.uk>
13734         * progmodes/f90.el (f90-font-lock-keywords-1): Fix highlighting of
13735         `type' forms.
13736         (f90-font-lock-keywords-2): Fix `implicit type(foo)' case.
13737         (f90-type-def-re): Fix value.
13739 2002-08-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13741         * net/tramp.el: Version 2.0.6.
13742         (tramp-default-method): Change to "ssh" from "sm".
13743         (tramp-wrong-passwd-regexp): Restructure.  Add additional alternative.
13744         (tramp-su-program): New internal variable for method parameter.
13745         (tramp-perl-encode-with-module, tramp-perl-decode-with-module):
13746         New variables.  Very short Perl one-liner, but requires Perl
13747         module MIME::Base64 to be installed on the remote site.
13748         (tramp-perl-encode, tramp-perl-decode): New base64
13749         encoder/decoder.  From Juanma Barranquero <lektu@terra.es>.
13750         (tramp-handle-file-truename): Invoke Ange-FTP properly (even
13751         though Ange-FTP doesn't do anything for this operation).
13752         (tramp-handle-set-visited-file-modtime): Comment change.
13753         (tramp-handle-make-directory): Save-excursion.
13754         (tramp-handle-expand-many-files): Don't try to invoke Ange-FTP
13755         twice, once is enough.
13756         (tramp-action-permission-denied): Show *tramp/foo* buffer so the
13757         user knows what's wrong.
13758         (tramp-post-connection): Support the two Perl encoders and decoders.
13759         (tramp-coding-commands): Ditto.  Add some todo items.
13761 2002-08-02  Richard M. Stallman  <rms@gnu.org>
13763         * international/mule.el (merge-coding-systems): New function.
13764         (set-buffer-file-coding-system): Use merge-coding-systems.
13765         Change prompt for args.
13766         (revert-buffer-with-coding-system): New command.
13768         * international/mule-cmds.el (mule-keymap, set-coding-system-map):
13769         Add bindings for revert-buffer-with-coding-system.
13770         (set-coding-system-map): Clarify menu item info for
13771         set-buffer-file-coding-system.
13772         (set-coding-system-map): Reorder and add separators.
13774         * emacs-lisp/edebug.el (edebug-eval-top-level-form):
13775         Use eval-expression.
13777         * subr.el (atomic-change-group): Doc fix.
13779 2002-07-31  Colin Walters  <walters@debian.org>
13781         * ibuffer.el (ibuffer-hooks): Rename to `ibuffer-hook'; Add
13782         defvaralias for compatibility.
13783         (ibuffer-mode-hooks): Rename to `ibuffer-mode-hook'; Add
13784         defvaralias for compatibility.
13786 2002-07-31  John Paul Wallington  <jpw@shootybangbang.com>
13788         * ibuffer.el (ibuffer-fontification-alist):
13789         Use `font-lock-constant-face' instead of `font-lock-reference-face'.
13791 2002-07-31  John Wiegley  <johnw@gnu.org>
13793         * pcomplete.el (pcomplete-comint-setup): Use `add-to-list', to
13794         prevent adding the symbol `pcomplete' to
13795         shell-dynamic-complete-functions to many times.
13797 2002-07-31  Markus Rost  <rost@math.ohio-state.edu>
13799         * help-fns.el (describe-function-1): Test function for
13800         obsolescence only if it is a symbol.
13802         * ediff.el (ediff-backup): New autoloaded command.
13804 2002-07-31  Richard M. Stallman  <rms@gnu.org>
13806         * makefile.w32-in (compile-after-backup): Renamed from `compile'.
13807         Use `compile-always'.
13808         (bootstrap): Use `compile', not `compile-files'.  Use `update-subdirs'.
13809         (compile): Renamed from `compile-files'.
13810         (compile-CMD, compile-SH): Renamed from `compile-files-*'.
13812         * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
13813         Check that (car elt) is a string.
13815         * pcomplete.el (pcomplete-entries): Doc fix.
13817         * international/mule.el (non-standard-icccm-encodings-alist): Doc fix.
13819 2002-07-31  Andreas Schwab  <schwab@suse.de>
13821         * dired.el: Hide disabling of dired-find-alternate-file behind
13822         autoload-cookie.
13824 2002-07-31  Tak Ota  <Takaaki.Ota@am.sony.com>  (tiny change)
13826         * makefile.w32-in: Revert some changes from 2002-07-23 because they
13827         don't work on MSVC/nmake builds.
13828         (update-subdirs-CMD): Generate the right list of subdirectories.
13830 2002-07-30  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13832         * net/tramp.el: New version 2.0.5.
13833         (tramp-methods): Remove inline encoding method parameters.
13834         The encoding is now autodetected.  Also shorten the list of
13835         methods (u/m distinction gone) and rename the remaining methods to
13836         have longer, but more mnemonic, names.
13837         (tramp-login-prompt-regexp, tramp-password-prompt-regexp)
13838         (tramp-wrong-passwd-regexp): Trailing `$' not needed, regexp is
13839         matched at end of buffer anyway.
13840         (tramp-yesno-prompt-regexp): New variable, for questions where the
13841         user should say "yes" or "no".
13842         (tramp-file-name-structure-unified)
13843         (tramp-file-name-structure-separate): Allow dash in method names.
13844         (tramp-actions-before-shell): New variable, contains list of
13845         pattern/action pairs.  Output sent by remote end is scanned for
13846         the patterns, then the actions are executed.
13847         (tramp-multi-actions): Like `tramp-actions-before-shell', but
13848         executed for each hop in a multi-hop connection.
13849         (tramp-last-cmd-time): New variable.  If nothing has been sent to
13850         remote end for 60 seconds, look to see if the remote end is still
13851         alive.
13852         (tramp-perl-mime-encode, tramp-perl-mime-decode): Remove.
13853         It didn't work.
13854         (tramp-perl-encode, tramp-perl-decode): New variables, these
13855         require the MIME::Base64 module on the remote end.
13856         (tramp-handle-file-attributes): Restructure logic.
13857         (tramp-handle-file-attributes-with-ls)
13858         (tramp-handle-file-attributes-with-perl): More debugging.
13859         (tramp-handle-directory-files): Grok fifth arg `files-only' for XEmacs.
13860         (tramp-handle-make-directory, tramp-handle-delete-directory)
13861         (tramp-handle-delete-file, tramp-handle-insert-directory):
13862         Expand file name.
13863         (tramp-handle-shell-command): Use `when', not `if'.
13864         (tramp-handle-file-local-copy, tramp-handle-write-region):
13865         Adapt to autodetection of inline encoding.
13866         (tramp-invoke-ange-ftp): Require ange-ftp to make sure that
13867         variable ange-ftp-name-format is defined before binding it.
13868         (tramp-action-login, tramp-action-password, tramp-action-succeed)
13869         (tramp-action-permission-denied, tramp-action-yesno):
13870         Functions called from `tramp-actions-before-shell'.
13871         (tramp-multi-action-login, tramp-multi-action-password)
13872         (tramp-multi-action-succeed, tramp-multi-action-permission-denied):
13873         Functions called from `tramp-multi-actions'.
13874         (tramp-process-one-action, tramp-process-actions):
13875         Pattern matching and action invocation code for
13876         `tramp-actions-before-shell'.
13877         (tramp-process-one-multi-action, tramp-process-multi-actions):
13878         Same for `tramp-multi-actions'.
13879         (tramp-open-connection-telnet, tramp-open-connection-rsh)
13880         (tramp-open-connection-su): Process actions instead of hardwired logic.
13881         (tramp-multi-connect-telnet, tramp-multi-connect-rlogin)
13882         (tramp-multi-connect-su): Ditto.
13883         (tramp-post-connection): New method for tramp_encode and
13884         tramp_decode scripts.
13885         (tramp-post-connection): Invoke inline autodetection code.
13886         (tramp-coding-commands): List of inline codings.
13887         (tramp-find-inline-encoding): This is the inline autodetection code.
13888         (tramp-maybe-open-connection): If nothing was sent to connection
13889         for 60 seconds, look if it connection is still alive.
13890         (tramp-send-command): Remember that something was sent to the
13891         connection.
13892         (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
13893         Use backticks for constructing alist.
13894         (tramp-get-encoding-command, tramp-set-encoding-command)
13895         (tramp-get-decoding-command, tramp-set-decoding-command)
13896         (tramp-get-encoding-function, tramp-set-encoding-function)
13897         (tramp-get-decoding-function, tramp-set-decoding-function):
13898         Use for results of inline autodetection.
13899         (tramp-get-encoding-command, tramp-get-decoding-command)
13900         (tramp-get-encoding-function, tramp-get-decoding-function):
13901         Remove these old functions.
13903 2002-07-30  Kenichi Handa  <handa@etl.go.jp>
13905         * language/indian.el (in-is13194): Give correct `safe-chars' property.
13906         (devanagari): Define it as an alias of in-is13194.
13908         * international/mule.el (safe-chars):
13909         Put `char-table-extra-slots' property with value 0.
13911         * files.el (revert-buffer): Fix previous change.
13913 2002-07-29  Richard M. Stallman  <rms@gnu.org>
13915         * bindings.el (help-echo): If global-mode-string is non-nil,
13916         display some spaces after it.
13918         * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
13919         Don't call string-match on non-string.
13921         * textmodes/ispell.el (check-ispell-version): Bind default-directory
13922         to avoid errors.  Kill the old temp buffer at the beginning.
13924 2002-07-29  Glenn Morris  <gmorris@ast.cam.ac.uk>
13926         * scroll-all.el (scroll-all-mode): Make argument optional.  Doc fix.
13928 2002-07-29  John Paul Wallington  <jpw@shootybangbang.com>
13930         * scroll-all.el (scroll-all-mode): Handle numeric arg.  Use `if'
13931         instead of `cond'.
13933 2002-07-29  Kenichi Handa  <handa@etl.go.jp>
13935         * international/mule.el (ctext-post-read-conversion): Add support
13936         for embedded utf-8 encoding (ESC % G ... ESC % @).
13938 2002-07-28  Kenichi Handa  <handa@etl.go.jp>
13940         * files.el (revert-buffer): Before calling insert-file-contents,
13941         kill the local variable buffer-file-coding-system.
13943 2002-07-28  Richard M. Stallman  <rms@gnu.org>
13945         * bindings.el (mode-line-format): Handle vc-mode specially.
13946         Move mode-line-position to after global-mode-string.
13947         (mode-line-modes): Move the starting 3 spaces out of here.
13948         (mode-line-position): Separate with a space, not dashes.
13950         * vc-hooks.el: Don't add to minor-mode-alist.
13952         * emacs-lisp/edebug.el (edebug-debugger):
13953         If inside redisplay, just return.
13955         * emacs-lisp/debug.el (debug): If inside redisplay, just return.
13957         * info.el (Info-find-index-name): Improve last change.
13959 2002-07-27  Richard M. Stallman  <rms@gnu.org>
13961         * files.el (file-name-sans-extension): Avoid expanding DIRECTORY.
13963         * calendar/cal-hebrew.el (diary-rosh-hodesh): Cons mark on
13964         in the third case.
13966 2002-07-27  Markus Rost  <rost@math.ohio-state.edu>
13968         * ps-print.el: Update copyright year.
13969         (ps-begin-cut-regexp, ps-end-cut-regexp): Fix type.
13971 2002-07-26  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13973         * eshell/eshell.el (eshell): Numeric prefix arg means to switch
13974         to the session with that number.  Old behavior still available
13975         with nonumeric prefix args.
13977 2002-07-08  Simon Josefsson  <jas@extundo.com>
13979         * mail/mail-extr.el (mail-extr-all-top-level-domains): Update names.
13981 2002-07-26  Juanma Barranquero  <lektu@terra.es>
13983         * warnings.el (lwarn, warn, warning-levels): Doc fix.
13984         (warning-suppress-log-types): Fix typo.
13985         (display-warning): Fix typo. Remove useless assignment to free variable
13986         `group-string'.
13988 2002-07-25  Markus Rost  <rost@math.ohio-state.edu>
13990         * ediff-wind.el (ediff-window-setup-function): Extend type declaration.
13992 2002-07-25  Sam Steingold  <sds@gnu.org>
13994         * replace.el (occur-rename-buffer): New command.
13995         (occur-mode-map): Bind "r" to it.  Added keybindings for
13996         `kill-this-buffer', `clone-buffer' and `quit-window'.
13998 2002-07-25  Kevin Ryde  <user42@zip.com.au>
14000         * info.el (Info-find-index-name): Search for a function definition
14001         with a return type.
14003 2002-07-25  David Ponce  <david@dponce.com>
14005         * emacs-lisp/bytecomp.el (byte-compile-set-symbol-position):
14006         Don't recompute `entry' on each iteration.
14007         (byte-compile-delete-first): Make it defsubst.
14009 2002-07-25  Sam Steingold  <sds@gnu.org>
14011         * progmodes/cc-engine.el (c-search-uplist-for-classkey):
14012         When `search-end' is a cons, use its car.
14014 2002-07-25  Dave Love  <fx@gnu.org>
14016         * obsolete/c-mode.el: Deleted.
14018 2002-07-25  Carsten Dominik  <dominik@astro.uva.nl>
14020         * textmodes/reftex.el (reftex-compile-variables):
14021         Simplified regular expression.
14023         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
14024         Simplified the regexp.
14026         * textmodes/reftex-cite.el (reftex-get-bibkey-default): New function.
14027         (reftex-extract-bib-entries-from-thebibliography):
14028         Use `reftex-get-bibkey-default' to get a default regex.
14029         (reftex-extract-bib-entries): Use `reftex-get-bibkey-default' to
14030         get a default regex.
14032         * textmodes/reftex-toc.el (reftex-toc-mode): Use `make-local-hook' for
14033         XEmacs compatibility (got OK from RMS).
14035         * textmodes/reftex-index.el (reftex-index-mode): Likewise.
14037         * textmodes/reftex-sel.el (reftex-select-label-mode): Likewise.
14038         (reftex-select-bib-mode): Likewise.
14040 2002-07-25  Colin Walters  <walters@debian.org>
14042         * ibuffer.el (ibuffer-mouse-popup-menu): Allow point to be moved
14043         by menu functions.
14045 2002-07-24  Dave Love  <fx@gnu.org>
14047         * international/mule.el (set-auto-coding): Doc fix.
14049         * international/utf-16.el: New file.
14051         * language/european.el ("German", "French", "Spanish", "Turkish"):
14052         Add alternative coding systems.
14053         ("Dutch"): Likewise.  Add input method.
14054         ("Welsh", "Latin-7"): Add nonascii-translation.
14056         * language/georgian.el ("Georgian"): Add nonascii-translation.
14058         * international/titdic-cnv.el: Doc fixes.
14059         (tit-process-header): Add coding cookie.
14060         (titdic-convert): Force writing as iso-2022-7bit.
14062         * international/ja-dic-cnv.el (skkdic-convert): Add coding cookie.
14064         * international/mule-cmds.el: Doc fixes.
14065         (unencodable-char-position): New.
14066         (select-safe-coding-system): Use it to indicate problematic
14067         characters and add extra explanation.  Avoid checking auto-coding
14068         for compressed files.
14069         (leim-list-header): Add coding cookie.
14070         (input-method-verbose-flag): Modify :type.
14071         (locale-language-names): Add bs, wa.  Modify cy.
14073 2002-07-24  Richard M. Stallman  <rms@gnu.org>
14075         * emacs-lisp/bytecomp.el (byte-compile-log-warning):
14076         Bind warning-group-format.
14078         * emacs-lisp/bytecomp.el (byte-compile-cl-functions): New variable.
14079         (byte-compile-cl-warn): Use that variable.
14080         (byte-compile-find-cl-functions): New function.
14081         (displaying-byte-compile-warnings):
14082         Call byte-compile-find-cl-functions.
14084         * warnings.el (warning-levels): Add %s to the strings.
14085         (warning-group-format): New variable.
14086         (warning-suppress-log-types): Renamed from warning-suppress-log.
14087         (warning-suppress-types): Renamed from warning-suppress.
14088         (display-warning): Implement those changes.
14090 2002-07-23  Richard M. Stallman  <rms@gnu.org>
14092         * warnings.el: Add `provide' call.
14094         * files.el (basic-save-buffer-2): If there's an error writing the file,
14095         unrename the backup file if it was just made.
14096         (backup-buffer, basic-save-buffer-2, basic-save-buffer-1)
14097         (basic-save-buffer): Value now has form (MODES . BACKUPNAME)
14098         when a backup was just made by renaming.  Otherwise it's nil.
14100         * wid-edit.el (widget-convert): Handle an argument that's a keyword.
14101         Recognize explicit :args specification.
14103         * international/mule-cmds.el (select-safe-coding-system):
14104         Don't ask for confirmation of mismatch if find-file-literally was used.
14106 2002-07-23  Markus Rost  <rost@math.ohio-state.edu>
14108         * add-log.el (add-log-current-defun): Fix typo in documentation.
14110 2002-07-22  Markus Rost  <rost@math.ohio-state.edu>
14112         * add-log.el (add-log-mailing-address): Fix type.  Can be a string.
14114         * ido.el (ido-separator): Fix type.
14116 2002-07-23  Andrew Innes  <andrewi@gnu.org>
14118         * makefile.w32-in (DONTCOMPILE): Remove cus-start.el.
14119         (DONTCOMPILE): Add various language files.
14120         (DONTCOMPILE): Remove term/xterm.el.
14121         (finder-inf.el): Remove.
14122         (update-authors): New target.
14123         (TAGS-LISP): Remove $(lispsource).
14124         (compile-always): Renamed from `compile-files'.
14125         (compile): New target, adapted from `compile-files'.
14126         (compile-calc): New target.
14127         (recompile): Change `.' to $(lisp).
14128         (bootstrap): Add update-subdirs and finder-data
14129         to dependencies; change compile-files to compile.
14131 2002-07-22  Andre Spiegel  <spiegel@gnu.org>
14133         * vc.el (vc-next-action-on-file): Preserve find-file-literally.
14135 2002-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
14137         * simple.el (undo, undo-more): Adjust messages when undoing in a
14138         region.
14140 2002-07-22  John Paul Wallington  <jpw@shootybangbang.com>
14142         * net/browse-url.el (browse-url-lynx-input-attempts): Use defcustom.
14143         (browse-url-lynx-input-delay): Add custom type and group.
14145         * cus-start.el (double-click-fuzz): Added.
14147 2002-07-22  Alan Shutko  <ats@acm.org>
14149         * calendar/solar.el (diary-sabbath-candles): Add optional MARK
14150         parameter, specifying what face or character to use in the
14151         calendar display.  These will now return (MARK . ENTRY).
14153         * calendar/lunar.el (diary-phases-of-moon): Add optional MARK
14154         parameter, specifying what face or character to use in the
14155         calendar display.  These will now return (MARK . ENTRY).
14157         * calendar/cal-hebrew.el (diary-omer, diary-yahrzeit)
14158         (diary-rosh-hodesh, diary-parasha, diary-parasha): Add optional
14159         MARK parameter, specifying what face or character to use in the
14160         calendar display.  These will now return (MARK . ENTRY).
14162         * calendar/diary-lib.el (mark-sexp-diary-entries): Retrieve mark
14163         from diary-sexp-entry and pass it to mark-visible-calendar-date.
14164         (list-sexp-diary-entries): Update doc string for new docs for ....
14165         If diary-sexp-entry returns a cons, only add the text to the diary
14166         list.
14167         (diary-sexp-entry): Allow sexps to return a cons of the form (MARK
14168         . STRING) to specify what face or character mark should be used in
14169         the calendar display.
14170         (diary-date, diary-block, diary-float, diary-anniversary)
14171         (diary-cyclic): Add optional MARK parameter, specifying what face
14172         or character to use in the calendar display.  These will now
14173         return (MARK . ENTRY).
14175         * calendar/diary-lib.el (check-calendar-holidays, diary-iso-date)
14176         (calendar-holiday-list, diary-french-date, diary-mayan-date)
14177         (diary-julian-date, diary-astro-day-number, diary-chinese-date)
14178         (diary-islamic-date, list-islamic-diary-entries)
14179         (mark-islamic-diary-entries, mark-islamic-calendar-date-pattern)
14180         (diary-hebrew-date, diary-omer, diary-yahrzeit, diary-parasha)
14181         (diary-rosh-hodesh, list-hebrew-diary-entries)
14182         (mark-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
14183         (diary-coptic-date, diary-persian-date, diary-phases-of-moon)
14184         (diary-sunrise-sunset, diary-sabbath-candles):
14185         Remove interactive flag from autoloads.
14187 2002-07-22  Carsten Dominik  <dominik@astro.uva.nl>
14189         * textmodes/reftex-vars.el (reftex-index-verify-function): New option.
14190         (reftex-bibliography-commands): New option.
14191         (reftex-toc-split-windows-horizontally): New option
14192         (reftex-toc-split-windows-horizontally-fraction): New option
14193         (reftex-include-file-commands): New option.
14194         (reftex-cite-format-builtin): Added ?n for nocite.
14196         * textmodes/reftex-index.el (reftex-query-index-phrase):
14197         Use `reftex-index-verify-function'.
14199         * textmodes/reftex-toc.el (reftex-re-enlarge):
14200         Handle horizontal splitting.
14201         (reftex-toc): Handle horizontal splitting
14202         (reftex-last-window-width): New variable.
14204         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
14205         Use `reftex-bibliography-commands'.
14206         (reftex-locate-bibliography-files): Regexp relaxed to allow for
14207         cases where \bibliography is not the first thing on the line.
14209         * textmodes/reftex.el (reftex-compile-variables):
14210         Use `reftex-include-file-commands'.
14211         (reftex-type-query-prompt): Changed defconst to defvar.
14212         (reftex-type-query-help, reftex-typekey-to-format-alist)
14213         (reftex-typekey-to-prefix-alist, reftex-env-or-mac-alist)
14214         (reftex-special-env-parsers, reftex-label-mac-list)
14215         (reftex-label-env-list, reftex-typekey-list)
14216         (reftex-words-to-typekey-alist, reftex-key-to-index-macro-alist)
14217         (reftex-query-index-macro-prompt, reftex-query-index-macro-help)
14218         (reftex-no-follow-message, reftex-no-info-message): Likewise.
14219         (reftex-mode): Define systax table for bibtex parsing.
14220         (reftex-syntax-table-for-bib): Syntax table for bibtex parsing.
14222         * textmodes/reftex-cite.el (reftex-format-names): %a as name
14223         format lists all names.
14224         (reftex-parse-bibtex-entry): Use `reftex-syntax-table-for-bib'.
14225         (reftex-with-special-syntax-for-bib): New macro.
14227 2002-07-21  Richard M. Stallman  <rms@gnu.org>
14229         * international/ucs-tables.el (ucs-quail-activate):
14230         Cope if buffer-file-coding-system is nil.
14232         * bindings.el (last-buffer): Use buffer-list with frame arg.
14233         Create *scratch* if no other choice exists.  Fix bugs.
14235 2002-07-21  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
14237         * net/tramp.el: Bump version to 2.0.2.
14238         (tramp-methods): Rename methods invoking "ssh1" or "ssh2" to
14239         longer names.  Use old names "sm1", "sm2" and so on for methods
14240         invoking "ssh -1" or "ssh -2".
14241         (tramp-multi-file-name-structure-separate): Typo, its name was set
14242         to "tramp-file-name-structure-separate".  Trivial patch.
14243         From Steve Youngs <youngs@xemacs.org>.
14244         (tramp-multi-sh-program): New variable.
14245         (tramp-open-connection-multi): Use it.  Now you can use multi
14246         methods from Windows (at least in principle).
14247         (tramp-do-copy-or-rename-via-buffer): New function.
14248         (tramp-do-copy-or-rename-file): Use it.  Change and simplify
14249         logic.  Omit special case of invoking rcp directly to copy the files.
14250         (tramp-open-connection-su, tramp-multi-connect-telnet)
14251         (tramp-multi-connect-rlogin, tramp-multi-connect-su)
14252         (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
14253         Use backticks in format-spec for brevity and to avoid
14254         character/number confusion in XEmacs.
14256 2002-07-20  Richard M. Stallman  <rms@gnu.org>
14258         * wid-edit.el (widget-documentation-string-value-create):
14259         Say "Hide Rest", not just "Hide".
14261         * cus-edit.el (custom-variable-value-create):
14262         Say "Show Value", not just "Show".  Also "Hide Value".
14263         Output a newline before the doc string.
14264         (custom-face-value-create): Say "Show Face" and "Hide Face".
14266         * files.el (toggle-read-only): Clean up the hint message.
14268         * emacs-lisp/bytecomp.el: Use warnings.el.
14269         (byte-compile-warning-prefix): New function.
14270         (byte-compile-log-file): Return page start position.
14271         (byte-compile-log-warning): New function.
14272         (byte-compile-warn): Use byte-compile-log-warning.
14273         (byte-compile-report-error): Likewise.  Also use error-message-string.
14274         (displaying-byte-compile-warnings): Bind warning-series.
14275         Don't bind or use byte-compile-warnings-point-max.
14276         Don't display the log buffer at the end.
14277         (byte-compile-warnings-point-max): Variable deleted.
14278         (byte-compile-log-1): Rewrite for trace info, not used for warnings.
14279         (byte-compile-last-warned-form, byte-compile-last-logged-file):
14280         Defvars moved.
14282         * warnings.el: New file.
14284 2002-07-19  Richard M. Stallman  <rms@gnu.org>
14286         * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Delete `values'
14287         and `values-list' from list of CL functions.
14289 2002-07-19  John Paul Wallington  <jpw@shootybangbang.com>
14291         * emacs-lisp/bytecomp.el (compile-defun):
14292         Bind `read-with-symbol-positions' to current buffer.
14294 2002-07-19  Andre Spiegel  <spiegel@gnu.org>
14296         * vc-hooks.el (vc-insert-file): When called with a LIMIT regexp,
14297         delete anything that comes after LIMIT from the buffer.
14299         * vc-rcs.el (vc-rcs-fetch-master-state): Be more careful to check
14300         if this is really an RCS master file.
14302         * vc.el: Improve comment of vc-BACKEND-workfile-unchanged-p.
14304 2002-07-19  Juanma Barranquero  <lektu@terra.es>
14306         * emacs-lisp/bytecomp.el (dot, dot-max, dot-min, dot-marker)
14307         (buffer-flush-undo, baud-rate, compiled-function-p, define-function)
14308         (unread-command-char, executing-macro, post-command-idle-hook)
14309         (post-command-idle-delay): Move obsolescence declarations to subr.el.
14311         * subr.el (dot, dot-max, dot-min, dot-marker, buffer-flush-undo)
14312         (baud-rate, compiled-function-p, define-function, unread-command-char)
14313         (executing-macro, post-command-idle-hook, post-command-idle-delay):
14314         Move obsolescence declarations from emacs-lisp/bytecomp.el.
14315         (directory-sep-char, mode-line-inverse-video):
14316         Add obsolescence declaration.
14318 2002-07-18  J.D. Smith  <jdsmith@as.arizona.edu>
14320         * progmodes/idlwave.el: Updated to IDLWAVE version 4.14.  Too many
14321         changes to list them here.
14323         * progmodes/idlw-shell.el: Updated to IDLWAVE version 4.14.
14324         Too many changes to list them here.
14326         * progmodes/idlw-rinfo.el: Updated to IDLWAVE version 4.14.
14327         Too many changes to list them here.
14329         * progmodes/idlw-toolbar.el: Updated to IDLWAVE version 4.14 with
14330         only minor documentation changes.
14332 2002-07-18  Dave Love  <fx@gnu.org>
14334         * info-look.el: Support current auto{conf,make} manuals.
14336 2002-07-18  Juanma Barranquero  <lektu@terra.es>
14338         * bindings.el (last-buffer): Add missing frame argument.
14340 2002-07-18  Richard M. Stallman  <rms@gnu.org>
14342         * timer.el (timer-inc-time): Doc fix.
14344         * replace.el (keep-lines, flush-lines): Interactively report
14345         read-only error before reading regexp argument.
14347         * dabbrev.el (dabbrev--search): Use inhibit-point-motion-hooks.
14349         * bindings.el (last-buffer): Handle buffer-list and buffer-predicate
14350         frame parameters like bury-buffer.
14352         * simple.el (choose-completion-delete-max-match):
14353         Handle minibuffer prompts explicitly.
14355 2002-07-18  Juanma Barranquero  <lektu@terra.es>
14357         * international/mule-util.el (string-to-sequence, truncate-string):
14358         Add autoload cookie to obsolescence declaration.
14360         * rect.el (move-to-column-force): Likewise.
14362         * composite.el (decompose-composite-char): Likewise; also remove
14363         redundant info.
14365 2002-07-18  Kim F. Storm  <storm@cua.dk>
14367         * loadup.el: Load international/utf-8 before international/characters.
14369 2002-07-17  Dave Love  <fx@gnu.org>
14371         * international/ucs-tables.el: Optimize tables.  Deal with some
14372         non-8859 charsets.
14373         (ucs-mule-to-mule-unicode): New.
14374         (ucs-unify-8859): Use utf-8-fragment-on-decoding, set up Quail
14375         translation.
14376         (ucs-fragment-8859): Modified consistent with ucs-unify-8859.
14377         (unify-8859-on-encoding-mode): Doc mod.  Fix custom version.
14378         (unify-8859-on-decoding-mode): Doc mod.  Change code.  Fix custom
14379         version.  Add custom dependencies.
14380         (ucs-insert): Check for null from decode-char.
14381         (translation-table-for-input, ucs-quail-activate)
14382         (ucs-minibuffer-setup, ccl-encode-unicode-font)
14383         (ucs-tables-unload-hook): New.
14385         * international/mule.el (define-translation-hash-table): New.
14386         (decode-char): Use utf-8-translation-table-for-decode.
14387         (encode-char): Use ucs-mule-to-mule-unicode.
14389         * international/characters.el: Fix settings of U+2000-U+2027.
14390         Remove \e$(C'Y\e(B.
14392         * international/mule-cmds.el (locale-language-names): Fix be, add
14393         sr_YU@cyrillic, modify tg.
14394         (locale-charset-language-names): Put @euro last.
14396         * language/cyrillic.el (cyrillic-koi8-r-decode-table)
14397         (cyrillic-alternativnyj-decode-table): Fill out with mule-unicode.
14398         (cyrillic-koi8-r-decode-table): Make unbound after use.
14399         (ccl-decode-koi8, ccl-decode-alternativnyj): Change expansion
14400         factor.  Use utf-8-translation-table-for-decode.
14401         (ccl-encode-koi8, ccl-encode-koi8): Don't check r0.
14402         (cyrillic-unify-encoding): New function.
14403         (cyrillic-koi8): Modify safe-chars, valid-codes.
14404         Remove charset-origin-alist.
14405         (Cp878, cp866): New alias.
14406         (ccl-encode-8859-5-font): New.
14407         (font-ccl-encoder-alist): Add ccl-encode-8859-5-font.
14408         (ccl-encode-koi8-font, ccl-encode-alternativnyj-font):
14409         Remove redundant parens.
14410         ("Cyrillic-KOI8"): Add cyrillic-iso-8bit to coding-priority.
14411         (cyrillic-koi8-u-decode-table, ccl-decode-koi8-u)
14412         (ccl-encode-koi8-u, koi8-u, ccl-encode-koi8-u-font, "Ukrainian"): New.
14413         (cyrillic-alternativnyj): Modify safe-chars, add mime-charset.
14414         ("Cyrillic-ALT"): Change input method.
14415         ("Windows-1251", "Tajik", "Bulgarian", "Belarusian"): New.
14417         * international/utf-8.el (utf-8-subst-table)
14418         (utf-8-subst-rev-table, utf-8-translation-table-for-decode)
14419         (utf-8-fragment-on-decoding, ccl-untranslated-to-ucs)
14420         (utf-8-ccl-regs, utf-8-translate-cjk): New.
14421         (ccl-encode-mule-utf-8): Use utf-8-subst-rev-table.
14422         (ccl-decode-mule-utf-8, ccl-untranslated-to-ucs)
14423         (utf-8-untranslated-to-ucs, utf-8-compose): Rewritten.
14424         (mule-utf-8): Remove pre-write-conversion.
14425         (utf-8-post-read-conversion): Comment out.
14427         * international/ccl.el (ccl-command-table): Add lookup-integer,
14428         lookup-character.
14429         (ccl-extended-code-table): Add lookup-int-const-tbl,
14430         lookup-char-const-tbl.
14431         (ccl-compile-lookup-integer, ccl-compile-lookup-character)
14432         (ccl-dump-lookup-int-const-tbl, ccl-dump-lookup-char-const-tbl):
14433         New functions.
14434         (define-ccl-program): Doc update.
14436         * international/utf-8-subst.el: Populate utf-8-subst-rev-table.
14437         (utf-8-subst-table): Don't set.
14439 2002-07-17  Kenichi Handa  <handa@etl.go.jp>
14441         * international/mule.el (define-coding-system-alias):
14442         Don't append ALIAS in the property `alias-coding-systems' if ALIAS's
14443         eol-type is not auto-detection.
14445         * international/mule-diag.el (print-coding-system-briefly):
14446         Fix the handling of an alias of which eol-type is not auto-detection.
14448         * international/mule-conf.el (us-ascii): Define it as an alias of
14449         iso-safe.
14451 2002-07-17  Juanma Barranquero  <lektu@terra.es>
14453         * help-fns.el (describe-function-1): Put empty line before "Not
14454         documented" text.
14456         * timer.el (timer-set-time-with-usecs): Mark obsolete.
14458 2002-07-16  Stefan Monnier  <monnier@cs.yale.edu>
14460         * toolbar/tool-bar.el (tool-bar-add-item-from-menu):
14461         Make sure to change the global tool-bar-map.
14463         * vc.el (vc-default-comment-history): Hard code *vc*.
14464         This is because print-log always prints there now.
14465         (vc-annotate-font-lock-keywords): New var.
14466         (vc-annotate-mode): Use it.  Set truncate-lines as well.
14467         (vc-annotate-display-select): Unify the two error reports.
14468         (vc-annotate-offset): New var.
14469         (vc-annotate-lines): New fun extracted from vc-annotate-display.
14470         (vc-annotate-display): Use it, via font-lock.
14472         * help-fns.el (help-split-fundoc, help-function-arglist)
14473         (help-make-usage): New funs, extracted from describe-function-1.
14474         (describe-function-1): Use them.
14476         * help.el (help-key-description): Show the untranslated keys
14477         when they start with ESC and the ESC was not translated.
14479         * help-mode.el (view): Always require.
14480         (help-xref-mule-regexp): Don't use defconst for variables.
14481         (help-setup-xref): Keep the last 10 elements of the stack.
14482         (help-xref-override-view-map): New var.
14483         (help-make-xrefs): Use it instead of building a new map each time.
14484         (help-function-def): Allow help-fun to take a buffer as arg.
14486         * diff-mode.el (diff-reverse-direction): Simplify.
14487         (diff-after-change-function): Fix typo.
14488         (diff-post-command-hook): Take care of edge cases.
14489         (diff-current-defun): Do `goto-char' after setting the mode.
14491         * mouse-sel.el (mouse-sel-mode): Use define-minor-mode.
14492         Fold mouse-sel-bindings into it.
14493         (mouse-sel-bound-events): Turn it into an alist.
14494         (mouse-insert-selection): Delegate to mouse-yank-at-click if
14495         mouse-sel-default-bindings asks for it.
14497 2002-07-16  Andre Spiegel  <spiegel@gnu.org>
14499         * files.el: Bind toggle-read-only to C-x C-q.
14500         (toggle-read-only): Display a warning message if the file is under
14501         version control.
14503         * vc-hooks.el: Don't bind vc-toggle-read-only to C-x C-q.
14504         (vc-toggle-read-only): Explain in the doc string that users can bind
14505         this to C-x C-q.
14506         (vc-checkout-model): Change doc string to refer to vc-next-action,
14507         not vc-toggle-read-only.
14509         * vc.el (vc-next-action-on-file): Ignore buffer-read-only while
14510         comparing to file on disk.  Fix the case when claiming the lock
14511         on a file that has unlocked changes.
14512         (vc-log-mode): Don't mention vc-toggle-read-only in the doc string.
14514 2002-07-16  Richard M. Stallman  <rms@gnu.org>
14516         * simple.el (choose-completion-string): Doc fix.
14518         * cus-edit.el: New operation :custom-standard-value.
14519         (Custom-reset-standard): Use it.
14520         (custom-variable, custom-face): Define it.
14521         (custom-variable-standard-value, custom-face-standard-value): New fns.
14522         (custom-face-save): Don't save a face whose value is standard.
14523         (custom-save-faces): Use SYMBOL, not 'default, to set NOW and COMMENT.
14525         * cus-edit.el (custom-face-edit-fix-value):
14526         If VALUE is not a list, pass it thru.
14528         * compare-w.el (compare-windows-whitespace): Always allow newline
14529         even if it does not have whitespace syntax.
14531 2002-07-16  Juanma Barranquero  <lektu@terra.es>
14533         * timer.el (timer-set-time, timer-set-time-with-usecs): Fix docstring.
14535 2002-07-15  Juanma Barranquero  <lektu@terra.es>
14537         * help-fns.el (describe-variable): Show documentation for aliased
14538         variable if alias does not have its own.
14540 2002-07-15  Mike Williams  <mdub@bigfoot.com>
14542         * mouse-sel.el (mouse-sel-bindings): Save/restore interprogram
14543         cut/paste functions.
14545 2002-07-14  Richard M. Stallman  <rms@gnu.org>
14547         * files.el (find-alternate-file): Offer to save a modified buffer.
14548         Handle kill-buffer-query-functions better.
14550         * startup.el (normal-splash-screen, fancy-splash-text):
14551         Update name of help menu item for ordering printed manuals.
14553         * emacs-lisp/checkdoc.el: Fix doc typos.
14555 2002-07-14  Stefan Monnier  <monnier@cs.yale.edu>
14557         * textmodes/tex-mode.el: Set encoding to utf-8.
14558         (tex-start-options): Make it into always-a-string.
14559         Remove silly custom options that are covered by the other var.
14560         (tex-start-commands): Fix docstring.
14561         (tex-open-quote, tex-close-quote): Add options.
14562         (tex-command): Provide default.
14563         (tex-font-lock-keywords-1): Highlight $$...$$.
14564         (tex-font-lock-keywords-2): Fix latin-1 chars.
14565         (tex-mode-map): Remove redundant \t binding.
14566         (tex-mode): Add `subsection' and `newcommand' to known latex cmds.
14567         (latex-mode): Use add-hook for fill-nobreak-predicate.
14568         (tex-common-initialization): Set indent-tabs-mode to nil.
14569         (tex-insert-quote): Undo magic if invoked twice in a row.
14570         (latex-fill-nobreak-predicate): Don't use narrowing.
14571         (tex-latex-block): Don't cons uselessly.
14572         (tex-last-unended-begin): Signal user-friendlier error.
14573         (tex-goto-last-unclosed-latex-block): Don't catch signal.
14574         (tex-start-tex): Switch order of tex-start-options and
14575         tex-start-commands to make it obey docstrings.
14577 2002-07-14  Mike Williams  <mdub@bigfoot.com>
14579         * mouse-sel.el (mouse-sel-bound-events): New constant.
14580         (mouse-sel-bindings): Save/restore original mouse-bindings.
14582 2002-07-13  Stefan Monnier  <monnier@cs.yale.edu>
14584         * emacs-lisp/cl.el (cl-set-substring): Fix thinko.
14585         (cl-hack-byte-compiler): Avoid infinite require loop.
14587         * net/ange-ftp.el: Use hash-tables.
14588         (ange-ftp-make-hashtable, ange-ftp-map-hashtable)
14589         (ange-ftp-make-hash-key, ange-ftp-get-hash-entry)
14590         (ange-ftp-put-hash-entry, ange-ftp-del-hash-entry): Remove.
14591         Replace with make-hash-table, maphash, gethash, puthash and remhash.
14592         (ange-ftp-hash-entry-exists-p): Rewrite.
14593         (ange-ftp-vms-delete-file-entry, ange-ftp-vms-add-file-entry):
14594         Change mapatom -> maphash.
14595         (ange-ftp-file-entry-active-p, ange-ftp-file-entry-not-ignored-p):
14596         Update to new calling mode.
14598         * progmodes/ebrowse.el (ebrowse-symbol-regexp): Avoid cl-set-substring.
14599         (ebrowse-hash-table-to-alist): Delete.
14600         (ebrowse-tags-read-name, ebrowse-tags-list-members-in-file)
14601         (ebrowse-tags-complete-symbol): Use the hashtable for completion.
14603         * textmodes/sgml-mode.el (sgml-quote): Use narrowing.
14604         Improve the regexp used when unquoting.
14605         (sgml-pretty-print): New function.
14606         (sgml-get-context): Better handling of improperly nested tags.
14607         (sgml-show-context): Don't use the FULL arg of sgml-get-context.
14609 2002-07-13  Andreas Schwab  <schwab@suse.de>
14611         * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Check the
14612         inherited table entry.
14614 2002-07-13  Glenn Morris  <gmorris@ast.cam.ac.uk>
14616         * calendar/timeclock.el (timeclock-in): Handle the case where no
14617         log file exists (ie the very first call).
14619 2002-07-13  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
14621         * net/ange-ftp.el: Do not hook into file-name-handler-alist, this
14622         is done by Tramp.
14624         * net/tramp.el (tramp-multi-file-name-structure-unified):
14625         Add missing slash and move colon from start to end of each hop.
14626         (tramp-multi-file-name-hop-structure-unified): Move colon from
14627         start to end of each hop.
14629 2002-07-13  Kim F. Storm  <storm@cua.dk>
14631         * progmodes/compile.el (grep-tree): Fixed autoload.
14632         Corrected use of undefined variable `match-files-aliases'.
14634 2002-07-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
14636         * calendar/timeclock.el (timeclock-get-workday-function):
14637         `timeclock-workday' is not a valid option, rather a possible
14638         return value.
14640 2002-07-12  Richard M. Stallman  <rms@gnu.org>
14642         * net/ange-ftp.el (ange-ftp-write-region):
14643         Don't bind executing-kbd-macro; instead, pass non-nil VISIT arg
14644         to ange-ftp-real-write-region.
14646         * replace.el (flush-lines, keep-lines): Convert REND to a marker.
14648         * help-fns.el (help-with-tutorial): Display completion list right away.
14650         * ediff-ptch.el (ediff-test-patch-utility): Catch error and return nil.
14652         * startup.el (command-line): Set memory-signal-data.
14653         (fancy-splash-text, normal-splash-screen):
14654         Mention "Read the Emacs Manual" or C-h r.
14655         Rearrange the initial help to put the help cmds on left
14656         and the actions (exit, undo) on the right.  Other small
14657         text clarifications.
14658         (fancy-splash-text, actions page): Add blank line to balance help page.
14660         * help.el (help-map): Add binding for info-emacs-manual.
14661         (print-help-return-message): Doc fix.
14663         * strokes.el (strokes-help): Call print-help-return-message
14664         while inside with-output-to-temp-buffer.
14666         * info.el (info-emacs-manual): New function.
14667         (Info-use-header-line): Doc fix.
14669         * emacs-lisp/cl.el (multiple-value-call): Add alias.
14671         * progmodes/compile.el (compilation-normalize-filename):
14672         New subroutine, taken out of compilation-parse-errors.
14673         (compilation-parse-errors): Use that, and for directories too.
14674         Don't check whether a directory really exists.
14676 2002-07-12  Juanma Barranquero  <lektu@terra.es>
14678         * help-fns.el (describe-variable): Remove useless "Documentation:"
14679         string.
14681         * timer.el (timer-set-time-with-usecs): Fix documentation.
14682         Simplify extraction of time data.
14684 2002-07-12  John Paul Wallington  <jpw@shootybangbang.com>
14686         * help-fns.el (describe-variable): Mention if the variable is an
14687         alias.  Put `defvaralias' info before the documentation.
14689 2002-07-12  Kenichi Handa  <handa@etl.go.jp>
14691         * international/mule-cmds.el (locale-language-names): Change "mk"
14692         (Macedoninan), "ru" (Russian), and "sp" (Serbian with Cyrillic
14693         alphabet) to "Cyrillic-ISO".
14695 2002-07-11  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
14697         * net/tramp.el (tramp-default-method): New default method "sm"
14698         which I guess to be good for most people.
14699         (tramp-default-method-alist): Use "ftp" method (ie, forwarding to
14700         Ange-FTP) for some user/host combinations.
14701         (tramp-file-name-structure, tramp-file-name-regexp)
14702         (tramp-make-tramp-file-format, tramp-make-tramp-file-user-nil-format)
14703         (tramp-multi-file-name-structure, tramp-multi-file-name-hop-structure)
14704         (tramp-make-multi-tramp-file-format): New default value which
14705         unifies the filename syntax between Tramp and Ange-FTP.  The new
14706         syntax is "/method:user@host:path".  Note the colon after the method.
14707         (tramp-handle-file-name-directory): Don't return "/" when
14708         completing a remote root directory (where the filename looks like
14709         "/method:user@host:/").
14710         (tramp-handle-ange-ftp): Deleted.
14711         (tramp-disable-ange-ftp): New function, called at toplevel,
14712         deletes Ange-FTP from file-name-handler-alist.
14713         (tramp-handle-make-symbolic-link): Implement.
14715 2002-07-10  Juanma Barranquero  <lektu@terra.es>
14717         * ido.el (ido-enter-single-matching-directory): Delete leftover comment.
14719         * speedbar.el (speedbar-tag-hierarchy-method): Fix typos.
14720         (speedbar-vc-do-check): Likewise.
14721         (speedbar-obj-do-check): Likewise.
14722         (speedbar-mouse-hscroll): Likewise.
14723         (speedbar-file-lists): Likewise.
14725         * emacs-lisp/authors.el (authors-obsolete-file-p): Fix typo.
14727 2002-07-09  Ole Aamot  <ole@gnu.org>
14729         * compile.el (compilation-error-regexp-alist):
14730         Recognize Valgrind messages.
14732 2002-07-09  Juanma Barranquero  <lektu@terra.es>
14734         * faces.el (face-id): Fix typo.
14736         * hexl.el (hexl-mode): Likewise.
14738         * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise.
14740         * progmodes/ebnf-yac.el (ebnf-yac-error): Likewise.
14742         * speedbar.el (speedbar-make-specialized-keymap): Fix docstring.
14743         (speedbar-desired-buffer): Likewise.
14744         (speedbar-line-file): Likewise.
14745         (speedbar-special-mode-key-map): Fix typo.
14746         (speedbar-dynamic-tags-function-list): Likewise.
14747         (speedbar-use-images): Likewise.
14748         (speedbar-up-directory): Likewise.
14749         (speedbar-item-info): Likewise.
14750         (speedbar-set-timer): Likewise.
14751         (speedbar-insert-button): Likewise.
14752         (speedbar-make-button): Likewise.
14753         (speedbar-make-tag-line): Likewise.
14754         (speedbar-insert-files-at-point): Likewise.
14755         (speedbar-update-special-contents): Likewise.
14756         (speedbar-find-selected-file): Likewise.
14757         (speedbar-add-indicator): Likewise.
14758         (speedbar-do-function-pointer): Likewise.
14759         (speedbar-goto-this-file): Likewise.
14760         (speedbar-line-path): Likewise.
14761         (speedbar-mouse-event-p): Likewise.
14762         (speedbar-dir-follow): Likewise.
14763         (speedbar-tag-find): Likewise.
14764         (speedbar-fetch-etags-command): Likewise.
14765         (speedbar-fetch-etags-arguments): Likewise.
14766         (speedbar-toggle-etags): Likewise.
14767         (speedbar-extract-one-symbol): Likewise.
14768         (speedbar-parse-c-or-c++tag): Likewise.
14769         (speedbar-unhighlight-one-tag-line): Likewise.
14770         (speedbar-directory-face): Likewise.
14771         (defimage-speedbar): Likewise.
14772         (speedbar-convert-emacs21-imagespec-to-xemacs): Likewise.
14774 2002-07-09  Miles Bader  <miles@gnu.org>
14776         * hexl.el (hexl-find-file): Bind `completion-ignored-extensions'
14777         to nil when prompting for a filename.
14779 2002-07-09  Kenichi Handa  <handa@etl.go.jp>
14781         * files.el (insert-directory): Be sure to bind
14782         coding-system-for-write to the just decided coding-system-for-read.
14784 2002-07-09  Kim F. Storm  <storm@cua.dk>
14786         * ido.el (ido-make-merged-file-list): Move fully matching item to
14787         head of list.
14788         (ido-find-common-substring): Return substring instead of t.
14790 2002-07-08  Juanma Barranquero  <lektu@terra.es>
14792         * info.el (Info-directory-list): Fix docstring.
14794 2002-07-08  Miles Bader  <miles@gnu.org>
14796         * comint.el (comint-dynamic-list-completions): Sort COMPLETIONS
14797         before first use.
14799 2002-07-08  Kim F. Storm  <storm@cua.dk>
14801         * files.el (after-find-file): Don't check for read-only status
14802         of files just created (and not yet saved on disk).
14804         * ido.el (ido-completion-help): Changed xemacs specific code to
14805         avoid byte compiler warning in GNU emacs.
14806         (ido-set-matches1): Use regexp-quote instead of identity.
14807         (ido-complete-space): New function.
14808         (ido-define-mode-map): Bind it to SPACE.
14810 2002-07-07  Stefan Monnier  <monnier@cs.yale.edu>
14812         * font-lock.el (font-lock-default-unfontify-region):
14813         Use remove-list-of-text-properties.
14814         (font-lock-extra-managed-props): Doc fix.
14816         * facemenu.el: Move `provide' to the end.
14817         (facemenu-read-color): Don't cons unnecessarily.
14819         * language/ind-util.el (indian-make-hash):
14820         * language/devan-util.el (dev-char-glyph-hash, dev-glyph-glyph-hash)
14821         (dev-glyph-glyph-2-hash): Switch makehash -> make-hash-table.
14823         * subr.el (insert-string): Update the obsolete info.
14824         (makehash): Move from C and mark obsolete.
14826         * emacs-lisp/debug.el (debug-on-entry): Fix the wrapper used for
14827         aliases to also work for interactive functions.
14828         Use the same wrapper for subroutines.
14829         (cancel-debug-on-entry): Get rid of the now-useless wrapper.
14830         (debug-on-entry-1): Correctly skip docstrings and interactive forms.
14832         * textmodes/texinfo.el (texinfo-font-lock-keywords): Disable the
14833         automatic environment name update.
14834         (texinfo-clone-environment): Fix it not to incorrectly match prefixes.
14836 2002-07-07  Richard M. Stallman  <rms@gnu.org>
14838         * emacs-lisp/easymenu.el (easy-menu-popup-menu): Function deleted.
14840         * emacs-lisp/advice.el (ad-compile-function):
14841         Disable cl-function warnings if cl is loaded.
14843         * files.el (safe-local-eval-forms): New user option.
14844         (hack-one-local-variable-eval-safep): Support it.
14845         Also allow `safe-local-eval-function' property to be a function
14846         or a list of functions.
14847         (c-add-style): Delete `safe-local-eval-function' property.
14849         * files.el (after-find-file): Make buffer read-only if file is
14850         marked that way, even for root.
14852         * files.el (save-some-buffers): Doc fix.
14854         * bindings.el (completion-ignored-extensions): Add .gmo and .mo.
14856 2002-07-06  Francesco Potort\e,Al\e(B  <pot@gnu.org>
14858         * dos-w32.el (file-name-buffer-file-type-alist): Add knowledge of
14859         .sx[dmicw] file suffixes for Open office data files.
14861         * files.el (auto-mode-alist): Likewise.
14863         * international/mule.el (auto-coding-alist): Likewise.
14865 2002-07-05  Kim F. Storm  <storm@cua.dk>
14867         * emulation/cua-rect.el (cua--rectangle-operation): Don't call
14868         FCT if current column is outside rectangle.
14869         (cua--delete-rectangle): Do nothing if zero width or out of bounds.
14871 2002-07-04  Stefan Monnier  <monnier@cs.yale.edu>
14873         * net/ange-ftp.el: Use add-hook and find-file-hook.
14874         (ange-ftp-parse-netrc): Use run-hooks and find-file-hook.
14875         (ange-ftp-ls-parser): Make it into a function.
14876         Ignore trailing @ in symlink targets.
14877         (ange-ftp-file-entry-p): Ignore FTP errors.
14878         (ange-ftp-insert-directory): Use ange-ftp-expand-symlink
14879         to correctly expand "/flint:/bla -> ./etc" to /flint:/etc.
14881 2002-07-04  Per Abrahamsen  <abraham@dina.kvl.dk>
14883         * simple.el (toggle-truncate-lines): New command.
14885 2002-07-04  Miles Bader  <miles@gnu.org>
14887         * comint.el (comint-displayed-dynamic-completions): New variable.
14888         (comint-dynamic-list-completions): Be more careful about choosing
14889         when to scroll an existing completions window.
14891 2002-07-03  Andreas Schwab  <schwab@suse.de>
14893         * net/tramp.el (tramp-handle-ange-ftp): Move interactive spec
14894         after doc string.
14896 2002-07-03  Juanma Barranquero  <lektu@terra.es>
14898         * net/tramp.el (tramp-send-eof): Fix typo.
14899         (tramp-kill-process): Likewise.
14901         * play/dunnet.el (dun-physobj-desc): Likewise.
14903         * textmodes/reftex-vars.el (reftex-label-alist): Likewise.
14905         * calendar/timeclock.el (timeclock-workday-remaining): Likewise.
14906         (timeclock-workday-elapsed): Likewise.
14908         * allout.el (outline-goto-prefix): Likewise.
14910         * emulation/tpu-edt.el (tpu-delete-to-eol): Likewise.
14911         (tpu-delete-to-bol): Likewise.
14913         * subr.el (chars-in-region): Add obsolescence declaration for
14914         `chars-in-region'.
14916 2002-07-03  Miles Bader  <miles@gnu.org>
14918         * faces.el (header-line): Don't use a `common' clause for
14919         inheriting from the mode-line face, since we can't override it,
14920         and we don't want it for ttys.
14922 2002-07-02  Richard M. Stallman  <rms@gnu.org>
14924         * net/ange-ftp.el (ange-ftp-hook-function): Add file-remote-p prop.
14926         * files.el (hack-one-local-variable-constantp): New function.
14927         (hack-one-local-variable-eval-safep): New function.
14928         Check for `eval:' calling fn with `safe-local-eval-function' property.
14929         (hack-one-local-variable): Use hack-one-local-variable-eval-safep.
14930         (c-add-style, c-set-style): Add safe-local-eval-function property.
14932         * files.el (insert-directory): Handle --dired option to ls.
14934         * files.el (file-remote-p): New function.
14936         * emacs-lisp/easymenu.el (easy-menu-popup-menu): New function.
14938         * startup.el (fancy-splash-screens): Switch to a chosen frame.
14939         (fancy-splash-frame): Choose the right frame to use.
14940         (use-fancy-splash-screens-p): Check dimensions of the right frame
14941         in order to decide.
14943         * emacs-lisp/bytecomp.el (byte-compile-warning-types):
14944         Rename cl-func to cl-functions.  Enable it by default.
14945         (byte-compile-file-form-eval-boundary): Turn off cl-functions warnings
14946         if the file loads cl.
14947         (byte-compile-initial-macro-environment): For eval-and-compile,
14948         use byte-compile-eval-before-compile to eval.
14949         (byte-compile-eval-before-compile): New function to turn off
14950         cl-functions when appropriate, for eval-and-compile.
14951         (byte-compile-warnings): Doc fix.
14953 2002-07-02  Dave Love  <fx@gnu.org>
14955         * emacs-lisp/bytecomp.el (byte-compile-warnings): Add cl-func option.
14956         (byte-compile-cl-warn): New function.
14957         (byte-compile-form): Use it, to warn about calling cl functions.
14958         (byte-compile-warning-types): Doc fix.
14960 2002-07-02  Juanma Barranquero  <lektu@terra.es>
14962         * mail/rmailsum.el (rmail-user-mail-address-regexp): Fix typo.
14964         * textmodes/reftex-cite.el (reftex-citation): Fix typo.
14966         * progmodes/cperl-mode.el (cperl-break-one-line-blocks-when-indent):
14967         Fix typo.
14969 2002-07-02  Kim F. Storm  <storm@cua.dk>
14971         * emacs-lisp/bindat.el: New file.
14973 2002-07-01  Sam Steingold  <sds@gnu.org>
14975         * textmodes/tex-mode.el (tex-file): Call `save-some-buffers'
14976         before `tex-main-file' because if the current buffer is new, its
14977         file might not exist yet, and then `tex-main-file' will
14978         incorrectly return "foo.tex.tex".
14980 2002-07-01  Juanma Barranquero  <lektu@terra.es>
14982         * ido.el (ido-minibuffer-setup-hook): Doc fix.
14984 2002-07-01  Dave Love  <fx@gnu.org>
14986         Make strokes a proper minor mode, and don't try to overload
14987         mouse-2, which doesn't work satisfactorily.
14989         * strokes.el: Doc fixes.
14990         (strokes-mode): Defcustom deleted; replaced by minor mode def with
14991         re-written function.
14992         (strokes-while-inhibiting-garbage-collector): Comment out.
14993         (define-stroke, strokes-fix-button2-command, strokes-insinuated)
14994         (strokes-insinuate, global-set-stroke, describe-stroke)
14995         (load-user-strokes, save-strokes, strokes-bug-address)
14996         (strokes-click-command): Deleted.
14997         (strokes-execute-stroke): Remove strokes-click-p case.
14998         (strokes-describe-stroke): Remove strokes-click-p stuff.
14999         (strokes-help): Fix.
15000         (strokes-report-bug): Alias to report-emacs-bug.
15001         (strokes-prompt-user-save-strokes): Modify format of the file.
15002         (strokes-mode-map, strokes-unload-hook): New.
15003         (strokes-buffer-name): Don't customize.
15005 2002-07-01  Richard M. Stallman  <rms@gnu.org>
15007         * info.el (Info-index): Get immediate error if used in `dir'.
15009         * textmodes/picture.el (picture-forward-column)
15010         (picture-move-down): Never deactivate the mark.
15012 2002-06-30  Simon Josefsson  <jas@extundo.com>
15014         * menu-bar.el (menu-bar-options-menu): Move elisp mode names from
15015         menu entry into balloon help.
15017 2002-06-30  Andreas Schwab  <schwab@suse.de>
15019         * files.el (directory-free-space-args): Don't use `-P' on Darwin.
15020         * term/mac-win.el: Don't set it here.
15022 2002-06-29  Stefan Monnier  <monnier@cs.yale.edu>
15024         * pcvs-defs.el (cvs-mode-map): Bind ! to `force'.
15026 2002-06-29  Andreas Schwab  <schwab@suse.de>
15028         * term/mac-win.el: Use directory-free-space-program instead of
15029         obsolete variable dired-free-space-program.  On Darwin, don't set
15030         directory-free-space-program, shell-file-name and
15031         process-connection-type; set directory-free-space-args to not
15032         include `-P' and use utf-8 for file name coding system.
15034         * simple.el (shell-command-on-region): Handle errors and signals
15035         from shell command execution.
15036         (display-message-or-buffer): Fix last change.
15037         (shell-command-default-error-buffer): Doc fix.
15039         * dired.el (dired-view-file): Quote file name for
15040         dired-run-shell-command.
15042 2002-06-29  Kim F. Storm  <storm@cua.dk>
15044         * kmacro.el: New file.
15046 2002-06-28  John Wiegley  <johnw@gnu.org>
15048         * pcmpl-cvs.el: Added my name as the maintainer of this file.
15050 2002-06-28  Andreas Schwab  <schwab@suse.de>
15052         * shell.el (explicit-bash-args): New user option.
15054 2002-06-28  Kim F. Storm  <storm@cua.dk>
15056         * ido.el: New file.
15058 2002-06-28  Stefan Monnier  <monnier@cs.yale.edu>
15060         * derived.el (define-derived-mode): Preserve the `mode-class' rather
15061         than the `special' symbol property.
15062         (derived-mode-class): Make it obsolete.
15064 2002-06-27  Andreas Schwab  <schwab@suse.de>
15066         * net/tramp.el (tramp-handle-ange-ftp): Fix typo.
15068 2002-06-27  Juanma Barranquero  <lektu@terra.es>
15070         * emacs-lisp/bytecomp.el (baud-rate): Fix obsolescence declaration.
15071         (meta-flag): Likewise.
15073         * international/mule-util.el (string-to-sequence): Likewise.
15075         * subr.el (char-bytes): Likewise.
15076         (make-local-hook): Likewise.
15077         (baud-rate): Remove redundant info from docstring.
15079         * faces.el (frame-update-faces): Fix obsolescence declaration.
15080         (internal-get-face): Remove redundant info from docstring and
15081         fix obsolescence declaration.
15083         * rect.el (move-to-column-force): Likewise.
15085         * help-fns.el (describe-function-1): Use semicolon instead of dot.
15086         (describe-variable): Likewise.
15088 2002-06-27  Stefan Monnier  <monnier@cs.yale.edu>
15090         * mwheel.el (mouse-wheel-change-button): Deactivate before changing.
15091         (mouse-wheel-up-button, mouse-wheel-down-button): Obsolete.
15092         (mouse-wheel-up-event, mouse-wheel-down-event): New vars.
15093         (mouse-wheel-follow-mouse): Change default to t.
15094         (mwheel-event-button): Return the basic event symbol.
15095         (mwheel-scroll): Work with non-mouse events.
15096         (mouse-wheel-mode): Use the new vars.
15097         (mwheel-install): Obey `uninstall'.
15099         * term/xterm.el (function-key-map): Add some bindings.
15101         * uniquify.el (uniquify-delay-rationalize-file-buffer-names):
15102         Rename from delay-uniquify-rationalize-file-buffer-names.
15103         Only rationalize if the buffer is under uniquify control.
15104         (uniquify-delayed-rationalize-file-buffer-names):
15105         Rename from delayed-uniquify-rationalize-file-buffer-names.
15107 2002-06-27  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
15109         * net/tramp.el (tramp-file-name-structure)
15110         (tramp-multi-file-name-hop-structure): Split for easier readability.
15111         (tramp-handle-make-symbolic-link): Use user/host/method/... from
15112         LINKNAME, not FILENAME.
15113         (tramp-handle-verify-visited-file-modtime):
15114         Call tramp-ange-ftp-file-name-p with right parameters.
15115         (tramp-handle-verify-visited-file-modtime): `insert' does not
15116         work for integers, convert them to strings first.
15117         (tramp-handle-ange-ftp): New function to perform setup for
15118         replacing Ange-FTP with Tramp.
15119         (tramp-repair-jka-compr): New function to factor out some
15120         previously top-level code.  Call the function at top-level.
15122 2002-06-27  Juanma Barranquero  <lektu@terra.es>
15124         * composite.el (decompose-composite-char): Fix docstring.
15126         * faces.el (describe-face): Capitalize "not documented" message.
15128         * help-fns.el (describe-variable): Likewise.
15129         (describe-function-1): Likewise. Also, document the obsolescence
15130         of the function, if applicable.
15132 2002-06-26  Juanma Barranquero  <lektu@terra.es>
15134         * info.el (info-menu-5): Fix documentation.
15135         (Info-fontify-maximum-menu-size): Remove reference to `Info-fontify'.
15137 2002-06-26  Richard M. Stallman  <rms@gnu.org>
15139         * emacs-lisp/cl.el (values): Simplify definition.
15141         * simple.el (shell-command): Match & only at end of whole command.
15142         (display-message-or-buffer): Don't use the echo area
15143         if output buffer is visible.
15145         * tooltip.el (tooltip-x-offset, tooltip-y-offset): Doc fixes.
15147         * progmodes/cperl-mode.el: Many trivial doc fixes.
15148         (cperl-non-problems): Definition deleted.
15149         (cperl-menu): Don't refer to cperl-non-problems.
15150         (cperl-word-at-point): Add doc string.
15151         (cperl-beautify-regexp-piece): Fix error message.
15152         (cperl-invert-if-unless): Fix error message.
15154         * dired.el (dired-find-alternate-file): Mark as disabled.
15156 2002-06-25  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
15158         * net/tramp.el (tramp-ftp-method): New user option.
15159         (tramp-invoke-ange-ftp): New function to forward calls to Ange-FTP.
15160         (with-parsed-tramp-file-name): New macro for the usual big `let'
15161         statement to dissect a file-name.
15162         (tramp-handle-make-symbolic-link, tramp-handle-load)
15163         (tramp-handle-file-name-directory)
15164         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
15165         (tramp-handle-file-truename, tramp-handle-file-directory-p)
15166         (tramp-handle-file-regular-p, tramp-handle-file-symlink-p)
15167         (tramp-handle-file-writable-p, tramp-handle-file-writable-p):
15168         Use the new macro and forward call to Ange-FTP if applicable.
15169         (tramp-make-ange-ftp-file-name): New helper function to convert a
15170         file name into an Ange-FTP file name, used by `tramp-invoke-ange-ftp'.
15171         (tramp-default-method-alist): New user option.
15172         (tramp-find-default-method): Use it.
15173         (tramp-sh-extra-args): New variable.
15174         (tramp-find-shell): Use it.
15175         (tramp-open-connection-rsh): Support a kludgy feature for the
15176         "-p" option to ssh.  If host name is given as "host#42", uses the
15177         "-p 42" option.
15179 2002-06-25  Andreas Schwab  <schwab@suse.de>
15181         * replace.el (occur-1): Avoid invalid message format string.
15183 2002-06-24  Stefan Monnier  <monnier@cs.yale.edu>
15185         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn):
15186         Check for `noruntime' even if the function has a known sig.
15187         (byte-compile-file, byte-compile-output-docform):
15188         Don't hard code point-min = 1.
15190         * pcvs.el (cvs-parse-process): Don't save/restore point.
15191         Fix last change not to introduce spurious dir FIs.
15192         (cvs-move-to-goal-column): New function extracted from
15193         cvs-mode-previous-line.
15194         (cvs-mode-previous-line, cvs-mode-next-line): Use it.
15195         (cvs-addto-collection): Use it to preserve point.
15196         (cvs-vc-command-advice): Ad-hoc workaround for `cvs -q add'.
15198         * mwheel.el (mouse-wheel-scroll-amount,mwheel-scroll,mouse-wheel-mode):
15199         Don't require the first element to be modifier-free.
15201         * pcvs-parse.el (cvs-parse-table):
15202         Handle `nothing known about' with more care.
15204         * pcvs.el (cvs-fileinfo-kill): Remove.
15205         (cvs-parse-process): Add `old-fis' argument.
15206         (cvs-mode-run): Use it instead of cvs-fileinfo-kill.
15208         * descr-text.el (describe-property-list): Make sure there's
15209         a space between the property name and its value.
15210         (describe-text-properties): Don't kill a pre-existing buffer.
15212         * mwheel.el: Undo last patch from Stephen Gildea for now.
15214 2002-06-24  Kim F. Storm  <storm@cua.dk>
15216         * emulation/keypad.el: Added :require 'keypad to defcustoms.
15218 2002-06-23  Stefan Monnier  <monnier@cs.yale.edu>
15220         * subr.el (event-start, event-end, event-click-count):
15221         Accept non-mouse events as well.
15222         (read-key): New function.
15223         (read-quoted-char): Use it.  Use this-single-command-raw-keys as well.
15225         * files.el: Rename (and mark as obsolete)
15226         find-file-hooks to find-file-hook,
15227         find-file-not-found-hooks to find-file-not-found-functions,
15228         write-file-hooks to write-file-functions,
15229         write-contents-hooks to write-contents-functions.
15230         Mark local-write-file-hooks as obsolete.
15231         (locate-file-completion): Don't cons uselessly.  Use test-completion.
15232         (basic-save-buffer): Use (point-min) rather than 1.
15233         (basic-save-buffer-2): Obey the `setmodes' returned by backup-buffer.
15235         * help-fns.el (describe-variable): Only use `buffer' is still live.
15236         Use `delete-region' instead of save-excursion + delete-char.
15237         Document the obsolescence of the variable, if applicable.
15239 2002-06-23  Glenn Morris  <gmorris@ast.cam.ac.uk>
15241         * progmodes/f90.el (f90-do-auto-fill): Respect the value of
15242         comment-auto-fill-only-comments.
15244 2002-06-21  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
15246         * net/ange-ftp.el (backup-buffer): Delete `ange-ftp' property.
15247         This is not a handled operation.
15249 2002-06-21  Kim F. Storm  <storm@cua.dk>
15251         * emulation/cua-base.el (cua--prefix-arg): Make register prefixes
15252         work again.  Corrected error in check for C-u initiated prefix.
15254         * emulation/keypad.el (keypad-setup): Handle kp-begin like kp-space.
15256 2002-06-21  Richard M. Stallman  <rms@gnu.org>
15258         * net/browse-url.el (browse-url-at-mouse): Don't pass an arg
15259         to browse-url-at-point.
15261         * play/zone.el (zone-idle): Var deleted.
15263         * international/iso-acc.el (iso-languages) <french>:
15264         `~ ' now generates `~', `~,' definition deleted.
15266         * format.el (format-annotate-function): Copy multibyte flag
15267         and selective-display into the new temp buffer.
15269         * edmacro.el (edmacro-fix-menu-commands):
15270         Discard `help-echo' events.  Handle (menu-bar) events.
15271         Simplify by converting key sequence to a list and then back to vector.
15273 2002-06-21  Stephen Gildea  <gildea@stop.mail-abuse.org>
15275         * mwheel.el: Allow arbitrary keys for scrolling, add a third
15276         scrolling speed, fix an unwind-protect.
15277         (mouse-wheel-scroll-amount): Now a three-element list.
15278         (mouse-wheel-scroll-down-slow, mouse-wheel-scroll-up-slow)
15279         (mouse-wheel-scroll-down-normal, mouse-wheel-scroll-up-normal)
15280         (mouse-wheel-scroll-down-fast, mouse-wheel-scroll-up-fast):
15281         New functions.
15283 2002-06-21  Andreas Schwab  <schwab@suse.de>
15285         * files.el (find-file-read-args): Add new argument `mustmatch' and
15286         pass it down to read-file-name.
15287         (find-file, find-file-other-window, find-file-other-frame)
15288         (find-file-read-only, find-file-read-only-other-window)
15289         (find-file-read-only-other-frame): Use it and fix prompts.
15291 2002-06-21  Stefan Monnier  <monnier@cs.yale.edu>
15293         * pcvs-defs.el (cvs-version): Use cvs-program rather than "cvs".
15295 2002-06-20  Emmanuel Briot  <briot@act-europe.fr>
15297         * progmodes/ada-mode.el: Update copyright notice.
15298         Synchronize with GNAT release 3.15a1.
15299         Do not attempt to load ada-support, which is only for compatibility
15300         with older Emacs versions, and is not needed for Emacs 21.
15301         Fix various calls to count-lines, that didn't work correctly when the
15302         buffer was narrowed.
15303         (ada-continuation-indent): New variable.
15304         (ada-contextual-menu): New entry "List local references", faster than
15305         "List References".
15306         (ada-mode): New alignment rules provided by S. Leake.
15307         Add support for which-function-mode.
15308         (ada-get-current-indent): Fix indentation of named parameter lists and
15309         nested boolean expressions.
15310         (ada-indent-on-previous-lines): Fix indentation of labels.
15311         (ada-search-prev-end-stmt): Fix searching of the previous
15312         end-statement, specially with regards to nested subprograms.
15313         (comment-region advice): Initially disabled, for better compatibility
15314         with other modes.
15315         (ada-fill-comment-paragraph): Fixed (no longer worked with Emacs 21).
15317         * progmodes/ada-xref.el: Update copyright notice.
15318         (ada-xref-create-ali): The default is now not to create automatically
15319         the ALI files by compiling the unit, since this isn't always reliable
15320         and requires an up-to-date project file.
15321         (ada-prj-default-comp-cmd): No longer use gcc directly to compile
15322         a file, but use gnatmake instead, since this gives access to the GNAT
15323         project files.
15324         (ada-xref-search-with-egrep): New variable, suggested by P. Waroquiers.
15325         (ada-load-project-hook): New variable, for support of GNAT
15326         project files.
15327         (ada-update-project-menu): Fix the detection of the project file name.
15328         (ada-add-keymap): Change key binding for ada-find-file, that conflicted
15329         with another binding in ada-mode.el.
15330         (ada-add-menu): New menu "List Local References", to list the reference
15331         to the entity only in the current file, instead of looking in the whole
15332         project.  Much faster.
15333         (ada-find-references): New parameters arg and local-only.
15334         (ada-find-any-references): New parameters local-only and append.
15335         (ada-goto-declaration): Fix handling of predefined entities in xref.
15336         (ada-get-all-references): Updated to the new xref format in GNAT 3.15,
15337         still compatible with GNAT 3.14 of course.  Fix various calls to
15338         count-lines, that didn't work correctly when the buffer was narrowed.
15340         * progmodes/ada-prj.el: Update copyright.
15341         (ada-prj-load-directory): Make sure we do not use one of the new Emacs
15342         21 dialogs to select the file, since we want a directory name only.
15343         (ada-customize): Add support for the new GNAT project files.
15345 2002-06-20  Francesco Potort\e,Al\e(B  <pot@gnu.org>
15347         * progmodes/etags.el (tag-implicit-name-match-p): New function.
15348         (etags-recognize-tags-table): Use it for implicit tag names.
15350 2002-06-20  Miles Bader  <miles@gnu.org>
15352         * comint.el (comint-get-old-input-default): Strip text properties
15353         for fields too.
15355         * comint.el (comint-output-filter): Run output-filter functions
15356         before setting up the prompt.
15358         * international/characters.el: Re-enable code giving word syntax
15359         to certain japanese-jisx0208 characters.
15361 2002-06-19  Glenn Morris  <gmorris@ast.cam.ac.uk>
15363         * progmodes/f90.el (f90-type-def-re): Fix value.
15364         (f90-looking-at-type-like): Adapt for new `f90-type-def-re' value.
15366 2002-06-18  Stefan Monnier  <monnier@cs.yale.edu>
15368         * international/quail.el (quail-help): Don't assume the buffer
15369         is displayed in the same frame.
15371         * emacs-lisp/debug.el (cancel-debug-on-entry):
15372         * emacs-lisp/regexp-opt.el (regexp-opt-group): Don't cons uselessly.
15374         * pcvs.el (cvs-vc-command-advice): Handle the case where args
15375         are passed to `cvs' before the command name.
15376         (cvs-fileinfo-kill): Mark old FIs as up-to-date rather than dead.
15378         * pcvs-info.el (cvs-add-face): Minor rewrite.
15379         (cvs-fileinfo-pp): Use `cvs-goal-column' with directory entries.
15381         * newcomment.el (comment-normalize-vars): Refresh the comment-foo-skip
15382         regexp when they don't match comment-foo any more.
15384 2002-06-18  Juanma Barranquero  <lektu@terra.es>
15386         * filesets.el (filesets-update-pre010505): Fix typo.
15388         * eshell/em-pred.el (eshell-modifier-help-string): Fix typos.
15390         * emulation/edt.el (edt-substitute): Fix typo.
15392         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): Fix typo.
15394         * comint.el (comint-next-prompt, comint-previous-prompt): Fix typos.
15396         * progmodes/sh-script.el (sh-electric-rparen-needed): Remove.
15398 2002-06-17  Richard M. Stallman  <rms@gnu.org>
15400         * facemenu.el (facemenu-map): Rename to Describe Text
15401         to Describe Properties and use describe-text-properties.
15403         * simple.el (what-cursor-position): Use describe-char.
15405         * descr-text.el (describe-char): Moved from mule-diag.el, renamed
15406         from describe-char-after.  Now calls describe-text-properties.
15407         (describe-property-list): Renamed from describe-text-properties.
15408         (describe-text-properties): Renamed from describe-text-at.
15409         New arg OUTPUT-BUFFER.
15410         (describe-text-properties-1):
15411         New subroutine, broken out from describe-text-properties.
15412         Output a newline before each section of the output.
15414         * international/mule-diag.el (describe-char-after):
15415         Moved to descr-text.el.
15417 2002-06-17  Eli Zaretskii  <eliz@is.elta.co.il>
15419         * international/mule.el (ctext-pre-write-conversion): Fix the values
15420         of FROM and TO if we create a new buffer.
15422 2002-06-17  John Paul Wallington  <jpw@shootybangbang.com>
15424         * comint.el (comint-insert-clicked-input): Insert clicked-on
15425         previous input without properties.
15427 2002-06-16  Andrew Choi  <akochoi@shaw.ca>
15429         * term/mac-win.el (scalable-fonts-allowed): Set to t.
15431 2002-06-15  Colin Walters  <walters@debian.org>
15433         * pcvs-info.el (global-font-lock-mode, font-lock-auto-fontify):
15434         Delete defvars.
15435         (cvs-highlight): Delete.
15436         (cvs-add-face): Use `font-lock-face'.  Always add properties.
15438         * ibuffer.el (ibuffer-movement-cycle): New variable.
15439         (ibuffer-backward-line, ibuffer-forward-line): Use it.
15441 2002-06-15  Richard M. Stallman  <rms@gnu.org>
15443         * emacs-lisp/bytecomp.el (byte-recompile-directory): Doc fix.
15444         (batch-byte-recompile-directory): Undo previous change.
15446         * comint.el (comint-skip-input): New function.
15447         (comint-interrupt-subjob, comint-kill-subjob, comint-quit-subjob)
15448         (comint-stop-subjob): Use comint-skip-input.
15450         * ielm.el (ielm-eval-input): Use error-message-string.
15451         (ielm-format-error, ielm-format-errors): Functions deleted.
15453 2002-06-14  Kim F. Storm  <storm@cua.dk>
15455         * progmodes/compile.el (grep-tree): Doc fixes.
15456         Added SUBDIRS arg for non-interactive use.
15458 2002-06-14  Juanma Barranquero  <lektu@terra.es>
15460         * comint.el (comint-snapshot-last-prompt):
15461         Bind `inhibit-read-only' to t to support read-only prompts.
15462         (comint-output-filter): Likewise.
15464 2002-06-14  Miles Bader  <miles@gnu.org>
15466         * subr.el (copy-tree): Use `nconc' and `nreverse' instead of `nreconc'.
15467         (pop): Move the call to `car' outside the prog1, as the compiler
15468         then generates better code.
15470 2002-06-13  Richard M. Stallman  <rms@gnu.org>
15472         * play/zone.el (zone-timer): New variable holds the idle timer.
15473         (zone): Don't fiddle with the idle timer at all.
15474         (zone-when-idle): Put the idle timer in zone-timer.
15475         If one is already set up, cancel it and make a new one.
15476         (zone-leave-me-alone): Likewise.
15478 2002-06-13  Jason Rumney  <jasonr@gnu.org>
15480         * w32-fns.el (w32-charset-info-alist): Reorder.
15482 2002-06-13  Andreas Schwab  <schwab@suse.de>
15484         * files.el (auto-mode-alist): Move entry for ".in" to the end.
15486 2002-06-13  Miles Bader  <miles@gnu.org>
15488         * comint.el (comint-mode): Don't set `font-lock-defaults'.
15489         (comint-mode-hook): Turn on font-lock by default.
15491 2002-06-12  Karl Fogel  <kfogel@red-bean.com>
15493         * bookmark.el (bookmark-file-or-variation-thereof):
15494         Restore vc-backend check, thanks to Robert Thorpe for noticing.
15496 2002-06-12  Eli Zaretskii  <eliz@is.elta.co.il>
15498         * textmodes/bibtex.el: Change the maintainer to "none".
15500 2002-06-12  Juanma Barranquero  <lektu@terra>
15502         * term/w32-win.el (x-handle-switch): Fix handling of
15503         x-invocation-args for switches with arguments.
15505 2002-06-12  Stefan Monnier  <monnier@cs.yale.edu>
15507         * menu-bar.el (menu-bar-showhide-fringe-menu): Don't use `fringe-mode'
15508         without first making sure it's bound.
15510 2002-06-12  Richard M. Stallman  <rms@gnu.org>
15512         * info.el (Info-fontify-node): Compute header line specially
15513         if node has no next, previous or up links.
15514         Hide the part of the first line that is used in the header.
15515         Use Info-next-link-keymap, etc.
15516         (Info-next-link-keymap, Info-prev-link-keymap)
15517         (Info-up-link-keymap): New variables.
15519         * international/mule-diag.el (describe-char-after): Doc fix.
15521         * view.el (view-mode-enter): Clarify echo area message.
15523         * info.el (Info-select-node): Turn header line on or off here.
15524         (Info-setup-header-line): Function deleted.
15525         (Info-mode): Make Info-header-line local.
15526         (Info-fontify-node): Ignore Info-use-header-line.
15527         Unconditionally compute what the header line should be, and
15528         store it on the `header-line' property of the node's first char.
15529         Bind [header-line down-mouse-1].
15530         Use `keymap' property, not `local-map'.
15531         Bind [mouse-2] for mouse clicks on the node line in the text.
15533         * font-lock.el (font-lock-beginning-of-syntax-function): Doc fix.
15535 2002-06-12  Miles Bader  <miles@gnu.org>
15537         * comint.el (comint-send-input): Properly handle empty and
15538         no-newline input regions.
15540 2002-06-12  Colin Walters  <walters@gnu.org>
15542         * calc/calc.el: Use `when', `unless'.
15543         (calc-trail-mode): Use an italic `font-lock-face'.
15544         (calc-refresh): Ditto.
15546 2002-06-12  Colin Walters  <walters@debian.org>
15548         * font-core.el (font-lock-core-only): Variable deleted.
15549         All uses removed.
15550         (font-lock-set-defaults): Variable alist settings moved back into
15551         font-lock-set-defaults-1.
15552         (turn-on-font-lock-if-enabled): Always turn on font-lock unless it
15553         is specifically excluded by the user.
15555         * font-lock.el (font-lock-set-defaults-1): Set variable alist here.
15557         * help-mode.el (help-mode): Don't set `font-lock-defaults'.
15559         * ibuffer.el (ibuffer-mode): Don't set `font-lock-defaults'.
15561         * info.el (Info-mode): Don't set `font-lock-defaults'.
15563         * replace.el (occur-mode): Don't set `font-lock-defaults'.
15565         * help-mode.el (help-highlight-p, help-highlight-face):
15566         Variable was unused; delete.
15567         (help-make-xrefs): Doc fix.
15569 2002-06-11  Richard M. Stallman  <rms@gnu.org>
15571         * format.el (format-alist): Document new element PRESERVE.
15572         (format-write-file): Implement PRESERVE elt for a format.
15574         * files.el (make-auto-save-file-name): Rename local `filename' to
15575         `file-name'.
15577 2002-06-10  Richard M. Stallman  <rms@gnu.org>
15579         * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Use copy-sequence.
15580         (ebrowse-copy-list): Function deleted.
15582         * eshell/em-unix.el (eshell/diff): Use copy-sequence.
15584         * eshell/esh-mode.el (eshell-mode, eshell-mode): Use copy-sequence.
15586         * eshell/esh-util.el (eshell-copy-list): Function deleted.
15587         (eshell-sublist): Use copy-sequence.
15588         (eshell-copy-tree): Make it an alias for copy-tree.
15590         * emacs-lisp/cl.el (copy-list): Moved back from subr.el.
15592         * subr.el (copy-list): Moved to cl.el.
15593         (copy-tree): Don't use copy-list or cl-pop.
15595 2002-06-10  Miles Bader  <miles@gnu.org>
15597         Make comint use text properties for highlighting instead of overlays:
15598         * comint.el (comint-last-output-overlay): Variable removed.
15599         (comint-send-input, comint-output-filter): Use text properties
15600         instead of overlays.
15601         (comint-insert-clicked-input): Rewrite to work with text
15602         properties as well as overlays
15603         (comint-snapshot-last-prompt): Snapshot using text properties.
15604         (comint-get-old-input-default, comint-extract-string): Don't copy
15605         text properties.
15607         * simple.el (line-move-finish): Inhibit field motion when
15608         computing `line-end'.
15610         * files.el (revert-buffer): Correct typo: variable name is
15611         `buffer-file-format', not `buffer-file-formats'.
15613         * comint.el (comint-send-input, comint-output-filter): Use the
15614         `font-lock-face' property instead of `face'.  Don't check the
15615         highlight-enabling variables anymore.
15616         (comint-highlight-input, comint-highlight-prompt): Variables removed.
15618         * faces.el (display-supports-face-attributes-p): New function.
15619         (face-spec-set-match-display): Support `supports' predicate.
15620         (italic): Try underlining for displays that don't support real italics.
15621         * cus-edit.el (custom-display): Add support for `supports' predicate.
15622         * term/tty-colors.el (color-name-rgb-alist): Use 16-bit RGB values
15623         instead of 8-bit, for consistency with the rest of emacs.
15624         (tty-color-canonicalize): Only copy COLOR if we need to change it.
15625         (tty-color-approximate): Scale values from `color-name-rgb-alist'
15626         appropriately.  Return the whole color description, rather than
15627         just the RGB values.
15628         (tty-color-standard-values): New function.  Code mostly taken from
15629         `tty-color-translate'.
15630         (tty-color-translate, tty-color-values): Use `tty-color-desc' to
15631         do all the work.
15632         (tty-color-desc): Do color lookup here instead of calling
15633         `tty-color-translate' and `tty-color-by-index'; this is now the
15634         main place to do it.
15636 2002-06-09  Martin Stjernholm  <bug-cc-mode@gnu.org>
15638         * progmodes/cc-style.el (c-set-style, c-set-style-1):
15639         Add another state for the `dont-override' flag where it only keeps
15640         globally set variables.
15642 2002-06-08  Colin Walters  <walters@gnu.org>
15644         * descr-text.el (describe-text-properties): Sort the output by the
15645         size of the values.  Put `font-lock-face' property on property names.
15646         (toplevel): Provide `descr-text'.
15648         * international/mule-diag.el (describe-char-after): When there are
15649         text properties, require `descr-text', and just call
15650         `describe-text-properties'.
15652         * international/mule.el (sgml-html-meta-auto-coding-function):
15653         New function.
15654         (auto-coding-from-file-contents): Delete; merge functionality into
15655         `set-auto-coding'.
15656         (set-auto-coding): Move tests from `auto-coding-functions' so that
15657         they have a lower priority than coding: tags.
15658         Put `auto-coding-regexp-alist' tests before coding: tag tests.
15659         (sgml-xml-auto-coding-function): Simply `intern' the match, and
15660         test if it's a valid coding system.
15661         (auto-coding-functions): Add `sgml-html-meta-auto-coding-function'.
15663 2002-06-08  Colin Walters  <walters@verbum.org>
15665         * subr.el (copy-list): Moved here from cl.el.
15666         (copy-tree): Renamed here from `cl-copy-tree' in cl-extra.el.
15668         * emacs-lisp/cl-extra.el (cl-copy-tree): Moved to `copy-tree' in
15669         subr.el.  Add a defalias with the old name.
15671         * emacs-lisp/cl.el (copy-list): Moved to subr.el.
15673         * replace.el (occur-mode): Don't set up categories.  Do set
15674         `font-lock-defaults', and be sure to set `font-lock-core-only'.
15675         (occur-1): Pass `list-matching-lines-face' and
15676         `list-matching-lines-buffer-name-face'.
15677         (occur-engine): Use `font-lock-face' instead of categories.
15679         * info.el (Info-mode): Don't set up categories.  Do set
15680         `font-lock-defaults', and be sure to set `font-lock-core-only'.
15681         (Info-fontify-menu-headers): Use `font-lock-face' instead of
15682         categories.
15683         (Info-fontify-node): Ditto.
15685         * ibuffer.el (ibuffer-category-alist): Delete.
15686         (ibuffer-get-category): Delete.
15687         (ibuffer-compile-make-eliding-form): Use `font-lock-face' instead
15688         of categories.
15689         (ibuffer-compile-format): Don't treat `name' category specially.
15690         (ibuffer-column name): Use `font-lock-face'.
15691         (filename-and-process): Ditto.
15692         (ibuffer-buffer-name-category): Renamed to
15693         `ibuffer-buffer-name-face'.  Don't use categories.
15694         (ibuffer-update-title-and-summary): Use `font-lock-face'.
15695         (ibuffer-insert-filter-group): Ditto.
15696         (ibuffer-mode): Don't set up categories.  Do set
15697         `font-lock-defaults', and be sure to set `font-lock-core-only'.
15698         (ibuffer-compile-format): Don't pass third argument
15699         to column functions.
15700         (filename-and-process): Ditto.
15702         * ibuf-macs.el (define-ibuffer-column): Don't create a third
15703         argument for the generated function.
15705         * font-core.el (font-lock-category-alist): Delete.
15706         (turn-on-font-lock-if-enabled): Don't use it.
15707         (font-lock-symbol-category-alist): Delete.
15708         (font-lock-default-function): Use new `char-property-alias-alist'
15709         to make `font-lock-face' an alias for `face' when font-lock mode
15710         is enabled.
15711         (font-lock-core-only): New variable.
15712         (font-lock-set-defaults): Use it.
15714 2002-06-08  Richard M. Stallman  <rms@gnu.org>
15716         * files.el (find-file-noselect-1): Undo previous change.
15718         * bookmark.el (bookmark-file-or-variation-thereof): Doc fix.
15720 2002-06-07  Karl Fogel  <kfogel@red-bean.com>
15722         * bookmark.el (bookmark-file-or-variation-thereof): Just use
15723         Info-suffix-list, as suggested by Stefan Monnier.
15725 2002-06-05  Eli Zaretskii  <eliz@is.elta.co.il>
15727         * select.el (xselect-convert-to-string): If VALUE is a string,
15728         return a cons of TYPE and the string.
15730 2002-06-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
15732         * language/cyrillic.el (cyrillic-alternativnyj-decode-table):
15733         Fix the table to contain correct characters.
15735 2002-06-04  Richard M. Stallman  <rms@gnu.org>
15737         * simple.el: Don't require cl.
15739 2002-06-03  Richard M. Stallman  <rms@gnu.org>
15741         * dired.el (dired-do-shell-command): Doc fix in autoload.
15743         * info.el (Info-extract-pointer): Ignore Info-header-line.
15745         * progmodes/cc-mode.el (c-postprocess-file-styles):
15746         Do nothing except in CC modes.
15748         * international/mule-cmds.el (select-safe-coding-system):
15749         When computing auto-cs, narrow to FROM...TO.
15750         Put save-excursion outside save-restriction.
15751         New arg FILE; use that for set-auto-coding.
15753 2002-06-01  Richard M. Stallman  <rms@gnu.org>
15755         * simple.el (choose-completion-string-functions): Doc fix.
15756         (choose-completion-string): Add doc string.
15758 2002-06-01  Kim F. Storm  <storm@cua.dk>
15760         * simple.el: Reworked previous change.
15761         (choose-completion-string1): Merged back into choose-completion-string.
15762         (choose-completion-string): Run choose-completion-string-functions
15763         after checking for proper minibuffer window.  Added mini-p arg to
15764         the hook functions.  Insert choice if all hook functions return nil.
15765         (choose-completion-string-functions): Doc update.
15767 2002-06-01  Sam Steingold  <sds@gnu.org>
15769         * files.el (auto-mode-alist): Strip trailing ".in" from the file
15770         name when deciding the mode (for config.h.in, Makefile.in etc).
15772 2002-06-01  Thien-Thi Nguyen  <ttn@gnu.org>
15774         * progmodes/prolog.el (prolog-mode-syntax-table): Add flags to
15775         ?/ and ?* entries to support /* */ style comments.
15776         (prolog-font-lock-keywords): New var.
15777         (prolog-mode): Enable font-locking; set `font-lock-defaults'.
15779 2002-06-01  Kim F. Storm  <storm@cua.dk>
15781         * simple.el (choose-completion-string-functions): New special hook.
15782         (choose-completion-string1): Renamed from choose-completion-string.
15783         (choose-completion-string): Run choose-completion-string-functions
15784         until success, and only call choose-completion-string1 if it fails.
15786 2002-05-31  Stefan Monnier  <monnier@cs.yale.edu>
15788         * textmodes/ispell.el (autoloaded toplevel): Don't use
15789         ispell-library-directory without checking that it's bound.
15791 2002-05-31  Kim F. Storm  <storm@cua.dk>
15793         * emulation/cua-base.el (cua--last-deleted-region-pos)
15794         (cua--last-deleted-region-text): New aux variables.
15795         (cua-delete-region): Set them.
15796         (cua-repeat-replace-region): Use them to find the replacement text.
15798 2002-05-31  Juanma Barranquero  <lektu@terra.es>
15800         * emulation/viper-cmd.el (viper-smart-suffix-list, viper-ask-level):
15801         Fix typos.
15803 2002-05-31  Kim F. Storm  <storm@cua.dk>
15805         * progmodes/compile.el (grep-tree-command, grep-tree-files-aliases)
15806         (grep-tree-ignore-CVS-directories, grep-tree-ignore-case):
15807         New custom variables.
15808         (grep-compute-defaults): Compute grep-tree-command's default value.
15809         (grep-expand-command-macros): New aux function.
15810         (grep-tree-last-regexp, grep-tree-last-files): New aux variables.
15811         (grep-tree): New command like grep-find but extended prompting.
15813 2002-05-30  Richard M. Stallman  <rms@gnu.org>
15815         * files.el (find-file-default): Add defvar for var already used.
15817         * menu-bar.el (menu-bar-showhide-fringe-menu): Use defvar.
15819         * subr.el (open-network-stream, open-network-stream-nowait)
15820         (open-network-stream-server, process-kill-without-query):
15821         Moved from simple.el.
15823         * simple.el (open-network-stream, open-network-stream-nowait)
15824         (open-network-stream-server, process-kill-without-query):
15825         Moved to subr.el.
15827         * simple.el (byte-compiling-files-p): Function deleted.
15829         * textmodes/ispell.el (ispell-library-directory): Renamed from
15830         ispell-library-path.  If Ispell is not installed, init to nil.
15831         (check-ispell-version): Doc fix.
15832         (ispell-menu-map): Get rid of byte-compiling-files-p hackery;
15833         initialize this unconditionally when ispell-menu-map-needed is t.
15834         Local `path' renamed to `dir'.
15836 2002-05-30  Miles Bader  <miles@gnu.org>
15838         * calc/calc.el (calc-show-banner): New variable.
15839         (calc-refresh): Only show banner if `calc-show-banner' is non-nil.
15840         (calc-mode-var-list): Add `calc-show-banner'.
15841         * calc/calc-ext.el (calc-init-extensions): Add binding for `d@'.
15842         (calc-toggle-banner): New function.
15843         * calc/calc-help.el (calc-d-prefix-help): Add `@'.
15845 2002-05-29  Richard M. Stallman  <rms@gnu.org>
15847         * emacs-lisp/cl-indent.el (common-lisp-indent-function-1):
15848         When recognizing a def... construct, make that indentation
15849         tentative, so that it can be overridden if the list in question
15850         is not actually an expression.
15851         (common-lisp-indent-call-method): New subroutine.
15853         * emacs-lisp/bytecomp.el (batch-byte-compile-file):
15854         Delete the output file if we get a file-error.
15856         * tooltip.el (tooltip-mouse-motions-active): New variable.
15857         (tooltip-activate-mouse-motions): Don't kill track-mouse local
15858         if it was not made by us.
15860         * mouse.el (mouse-set-font): Avoid misleading error message
15861         if user makes no selection.
15863         * info.el (Info-setup-header-line): Don't hide the links line.
15865         * files.el (find-file-noselect-1): Return the buffer we created
15866         even if it has been killed within `after-find-file'.
15868         * files.el (auto-mode-alist): Use ada-mode for .ad[bs].dg files.
15870 2002-05-29  Kim F. Storm  <storm@cua.dk>
15872         * simple.el (open-network-stream-server): Pass on optional args
15873         sentinel and filter to make-network-process (from Luke Gorrie).
15875 2002-05-28  Colin Walters  <walters@gnu.org>
15877         * textmodes/sgml-mode.el (xml-mode): New alias for `sgml-mode'.
15879         * emacs-lisp/bytecomp.el (byte-compile-last-line): Deleted.
15880         (byte-compile-delete-first): New function.
15881         (byte-compile-read-position): New variable.
15882         (byte-compile-last-position): New variable.
15883         (byte-compile-current-buffer): New variable.
15884         (byte-compile-log-1): Use it.
15885         (byte-compile-set-symbol-position): New function.
15886         (byte-compile-obsolete, byte-compile-callargs-warn)
15887         (byte-compile-arglist-warn, byte-compile-arglist-warn)
15888         (byte-compile-print-syms, byte-compile-file-form-defmumble)
15889         (byte-compile-check-lambda-list, byte-compile-lambda)
15890         (byte-compile-form, byte-compile-variable-ref)
15891         (byte-compile-subr-wrong-args, byte-compile-negation-optimizer)
15892         (byte-compile-condition-case, byte-compile-defun)
15893         (byte-compile-defvar, byte-compile-autoload)
15894         (byte-compile-lambda-form): Use it.
15895         (byte-compile-from-buffer): Set it, and bind
15896         `read-with-symbol-positions' and `read-symbol-positions-list'.
15898         * emacs-lisp/bytecomp.el (byte-compile-debug): New variable.
15900 2002-05-28  Kim F. Storm  <storm@cua.dk>
15902         * files.el (read-directory-name): New function.
15903         (cd): Use it instead of read-file-name.
15905 2002-05-27  Kim F. Storm  <storm@cua.dk>
15907         * simple.el (push-mark-command): Added optional NOMSG arg.
15909         * emulation/cua-base.el (cua-set-mark): Align pop to mark
15910         behaviour with standard set-mark-command.
15911         (cua--pre-command-handler): Use push-mark-command.
15912         (cua-repeat-replace-region): Improve functionality when
15913         repeated after moving point or changing buffer.
15915 2002-05-26  Colin Walters  <walters@verbum.org>
15917         * startup.el (command-line): Use `when', `unless'.
15918         (command-line-1): New argument "--nosplash".  Handle it.
15920         * startup.el (inhibit-splash-screen): New variable alias for
15921         `inhibit-startup-message'.
15923         * replace.el (perform-replace): Document return value.  Use `pop'.
15925 2002-05-26  Glenn Morris  <gmorris@ast.cam.ac.uk>
15927         * progmodes/f90.el (f90-previous-block, f90-next-block): New names,
15928         and slightly changed behaviour, for `f90-previous-block-start' and
15929         `f90-next-block-end'.
15930         (f90-beginning-of-subprogram, f90-end-of-subprogram): Simplify.
15932 2002-05-26  Simon Josefsson  <jas@extundo.com>
15934         * fringe.el (set-fringe-mode): Work when updating
15935         `default-frame-alist'.
15937 2002-05-26  Kim F. Storm  <storm@cua.dk>
15939         * emulation/cua-base.el (cua--repeat-replace-text): New variable.
15940         (cua-repeat-replace-region): New command.
15941         (cua--init-keymaps): Bind it to M-v in cua--cua-keys-keymap.
15942         Misc improvements to the commentary.
15944 2002-05-26  Simon Josefsson  <jas@extundo.com>
15946         * fringe.el (fringe-query-style): New fringe style "minimal".
15948 2002-05-24  Simon Josefsson  <jas@extundo.com>
15950         * rot13.el (rot13-translate-table): New variable.
15951         (rot13, rot13-string, rot13-region): New functions.
15953 2002-05-25  Martin Stjernholm  <bug-cc-mode@gnu.org>
15955         * progmodes/cc-engine.el (c-add-stmt-syntax): Fixed some cases
15956         of wrong anchoring, e.g. for else-if compounds.
15958 2002-05-25  Miles Bader  <miles@gnu.org>
15960         * menu-bar.el (menu-bar-showhide-fringe-menu-customize-left)
15961         (menu-bar-showhide-fringe-menu-customize-right)
15962         (menu-bar-showhide-fringe-menu-customize-disable):
15963         Use proper calling convention for `customize-set-value'.
15964         Require `fringe' before setting variable.
15966 2002-05-25  Kim F. Storm  <storm@cua.dk>
15968         * emulation/cua-base.el (cua--self-insert-char-p): New function.
15970         * emulation/cua-gmrk.el (cua--init-global-mark): Install default
15971         binding in cua--global-mark-keymap using cua--self-insert-char-p
15972         to handle all global self inserting characters in gmark mode.
15974         * emulation/cua-rect.el (cua--init-rectangles): Install default
15975         binding in cua--rectangle-keymap using cua--self-insert-char-p
15976         to handle all global self inserting characters in rectangle mode.
15978 2002-05-24  Stefan Monnier  <monnier@cs.yale.edu>
15980         * net/ange-ftp.el (read-file-name-internal): Remove the
15981         `ange-ftp' property.
15982         (ange-ftp-real-read-file-name-internal): Remove.
15984 2002-05-24  Glenn Morris  <gmorris@ast.cam.ac.uk>
15986         * progmodes/f90.el: (f90-end-of-subprogram): Remove the final
15987         `forward-line'.
15988         (f90-end-of-block, f90-beginning-of-block, f90-next-block-end)
15989         (f90-previous-block-start): New navigation commands.
15991 2002-05-20  Simon Josefsson  <jas@extundo.com>
15993         * fringe.el: New file.
15995         * menu-bar.el (menu-bar-options-save): Add fringe-mode.
15996         (menu-bar-showhide-fringe-menu): New menu.
15997         (menu-bar-showhide-menu): Add Fringe sub-menu.
15999 2002-05-23  Colin Walters  <walters@verbum.org>
16001         * replace.el (occur-engine): Include all text properties except
16002         mouse-face on the newline at the end of occurences.
16004 2002-05-23  Kim F. Storm  <storm@cua.dk>
16006         * apropos.el (apropos-true-hit, apropos-false-hit-symbol)
16007         (apropos-false-hit-str, apropos-true-hit-doc): New functions.
16008         (apropos-command, apropos-value, apropos-documentation-internal)
16009         (apropos-documentation-check-doc-file)
16010         (apropos-documentation-check-elc-file): Use them to filter out
16011         false matches where only one keyword matches, but more than once.
16013         * apropos.el (apropos-show-scores, apropos-orig-regexp)
16014         (apropos-all-regexp, apropos-synonyms, apropos-words)
16015         (apropos-all-words): New variables.
16016         (aprpos-words-to-regexp, apropos-rewrite-regexp)
16017         (apropos-calc-scores, apropos-score-str, apropos-score-doc)
16018         (apropos-score-symbol): New functions.
16019         (apropos-command, apropos, apropos-value, apropos-documentation):
16020         Allow keywords in addition to regexp. Added scoring.
16021         (apropos-documentation-check-doc-file)
16022         (apropos-documentation-check-elc-file): Added scoring.
16023         (apropos-print): Sort according to score.
16025 2002-05-22  Colin Walters  <walters@cis.ohio-state.edu>
16027         * info.el (Info-mode-hook): Change `font-lock-mode' to
16028         `turn-on-font-lock'.
16030         * font-core.el (font-lock-function): New variable.
16031         (font-lock-default-function): New function, created from
16032         `font-lock-mode'.
16033         (font-lock-mode): Just funcall `font-lock-function'.
16034         (font-lock-symbol-category-alist): New variable.
16036 2002-05-22  Markus Rost  <rost@math.ohio-state.edu>
16038         * files.el (file-newest-backup): Use file-name-sans-versions.
16040         * diff.el (diff-latest-backup-file): Replace the main code by
16041         a call of file-newest-backup.
16043 2002-05-22  Mike Williams  <mdub@bigfoot.com>
16045         * textmodes/sgml-mode.el (sgml-guess-indent): Look further into
16046         the buffer.
16048 2002-05-21  Stefan Monnier  <monnier@cs.yale.edu>
16050         * net/ange-ftp.el (ange-ftp-allow-child-lookup): Re-enable since
16051         the last patch works around the wu-ftpd misfeature that prompted
16052         the disabling of this optimization.
16054 2002-05-21  Colin Walters  <walters@gnu.org>
16056         * international/mule.el (make-coding-system): Doc fixes.
16058         * international/mule.el (auto-coding-functions): New variable.
16059         (auto-coding-from-file-contents): Use it.
16060         (set-auto-coding): Update docs.
16061         (sgml-xml-auto-coding-function): New function.
16063         * international/mule-util.el (truncate-string-to-width):
16064         New optional argument `ellipsis'.  Add commented-out test suite, and
16065         change coding to iso-2022-7bit.
16067 2002-05-21  Colin Walters  <walters@verbum.org>
16069         * font-lock.el (font-lock-defaults, font-lock-defaults-alist)
16070         (font-lock-multiline, font-lock-fontified, font-lock-mode)
16071         (turn-on-font-lock, font-lock-add-keywords, global-font-lock-mode)
16072         (font-lock-global-modes): Moved to font-core.el.
16073         (font-lock-set-defaults-1): Partially moved to font-core.el.
16075         * font-core.el: New file, with functions taken from font-lock.el.
16076         (font-lock-category-alist): New variable.
16077         (font-lock-mode): Use it.
16078         (font-lock-set-defaults): Partially taken from font-lock.el.
16079         Only load font-lock.el when necessary.
16081         * loadup.el: Add font-core.el.
16083         * replace.el (occur-mode-hook): New variable.
16084         (occur-fontify-region-function): Deleted.
16085         (occur-mode): Don't use it.  Set up `font-lock-category-alist'
16086         instead.
16087         (occur-fontify-on-property): Deleted.
16088         (occur-engine): Use categories from `font-lock-category-alist'.
16090         * info.el (Info-fontify): Deleted.
16091         (Info-select-node): Don't use it.
16092         (Info-mode-hook): New variable.
16093         (Info-mode): Set up categories.
16094         (Info-fontify-menu-headers, Info-fontify-node): Use categories.
16096         * ibuffer.el (ibuffer-formats): Update docs.
16097         (ibuffer-category-alist): New variable.
16098         (ibuffer-get-category): New function.
16099         (ibuffer-compile-make-eliding-form): Use category property instead
16100         of face.
16101         (ibuffer-compile-format): Pass current ibuffer buffer to column
16102         functions too.
16103         (ibuffer-buffer-name-category): New function.
16104         (ibuffer-compile-format): If the current column is a `name'
16105         column, figure out the appropriate category to put on it.
16106         (filename-and-process): Use category property.
16107         (ibuffer-fontify-region-function): Deleted.
16108         (ibuffer-unfontify-region-function): Deleted.
16109         (ibuffer-update-title-and-summary): Use category properties.
16110         (ibuffer-insert-filter-group): Ditto.
16111         (ibuffer-mode): Set up category properties.
16113 2002-05-21  Colin Walters  <walters@debian.org>
16115         * replace.el (occur-engine): Increment globalcount all at once
16116         after searching a buffer.
16117         (occur-mode-map): Don't escape plain "o".
16119         * ibuf-macs.el (define-ibuffer-column): Add third argument
16120         `ibuffer-buf'.
16122         * ibuffer.el (toplevel): Require font-lock, to get the face
16123         definitions.
16124         (ibuffer-use-fontification): Deleted.
16125         (column filename-and-process): New column.
16126         (ibuffer-formats): Use it by default.
16127         (ibuffer-name-map, ibuffer-mode-name-map)
16128         (ibuffer-filter-group-map): Don't set parent to `ibuffer-mode-map'.
16129         (ibuffer-do-save, ibuffer-do-toggle-modified)
16130         (ibuffer-do-toggle-read-only, ibuffer-do-delete)
16131         (ibuffer-do-kill-on-deletion-marks): Include name in definition.
16132         (ibuffer): New optional argument `formats'.
16134 2002-05-21  Eli Zaretskii  <eliz@is.elta.co.il>
16136         * indent.el (indent-rigidly): Mention how to remove all indentation.
16138 2002-05-21  Colin Walters  <walters@gnu.org>
16140         * international/mule-diag.el (describe-char-after): Order display
16141         of text properties by the size of their value, for clarity.
16143 2002-05-20  Stefan Monnier  <monnier@cs.yale.edu>
16145         * net/ange-ftp.el (ange-ftp-generate-root-prefixes)
16146         (ange-ftp-file-name-completion): Don't cons unnecessarily.
16147         (ange-ftp-send-cmd): Always `cd' before doing `ls'.
16149         * wid-edit.el (widget-color-complete):
16150         * progmodes/etags.el (tags-complete-tags-table-file):
16151         * progmodes/cpp.el (cpp-choose-symbol): Don't cons unnecessarily.
16153         * textmodes/outline.el (outline-reveal-toggle-invisible):
16154         Reverse the meaning of the second arg.
16156         * reveal.el (reveal-post-command): Reverse the semantics of
16157         reveal-toggle-invisible and support isearch-open-invisible-temporary.
16159 2002-05-20  Markus Rost  <rost@math.ohio-state.edu>
16161         * mail/sendmail.el (mail-recover-1): Remove (debug).
16162         (mail-signature): Fix :type.
16163         (mail-default-directory): New user option.
16164         (mail, mail-recover): Use that option.
16166 2002-05-20  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
16168         * international/mule.el (auto-coding-alist): Use emacs-mule
16169         for auto-save files.
16171 2002-05-20  Miles Bader  <miles@gnu.org>
16173         * files.el (find-file-read-args): Don't trash existing value of
16174         `minibuffer-setup-hook', just add our hook to it.
16176 2002-05-19  Markus Rost  <rost@math.ohio-state.edu>
16178         * international/ucs-tables.el (unify-8859-on-encoding-mode)
16179         (unify-8859-on-decoding-mode): Change :version attributes to strings.
16181         * simple.el (yank-excluded-properties): Change :version attribute
16182         to a string.
16184         * dired.el (dired-view-command-alist): Change :version attribute
16185         to a string.
16187         * xscheme.el (xscheme-start-hook): Change :version attribute to a
16188         string.
16190         * find-dired.el (find-dired): Implement revert-buffer-function.
16192         * mail/emacsbug.el (report-emacs-bug-hook): Do another save-excursion.
16194 2002-05-19  Glenn Morris  <gmorris@ast.cam.ac.uk>
16196         * progmodes/f90.el (f90-match-end, f90-break-line): Simplify a bit.
16197         (f90-get-present-comment-type): Fix earlier change.
16198         (f90-comment-indent): Doc fix.
16199         (f90-equal-symbols, f90-looking-at-do, f90-looking-at-select-case)
16200         (f90-looking-at-if-then): Remove lets.
16201         (f90-looking-at-where-or-forall): Handle if split over lines.
16202         (f90-change-keywords): Doc fix.
16204 2002-05-19  Richard M. Stallman  <rms@gnu.org>
16206         * indent.el (indent-region): Make COLUMN arg optional.
16208         * files.el (find-file-read-args): New function.
16209         (find-file, find-file-other-window, find-file-other-frame)
16210         (find-file-read-only, find-file-read-only-other-window)
16211         (find-file-read-only-other-frame): Use it.
16213         * custom.el (custom-load-symbol): Verify that LOADED is a string.
16215         * arc-mode.el (archive-zip-use-pkzip): Variable deleted.
16216         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
16217         (archive-zip-update-case): Use locate-file to decide whether
16218         to use pkzip.
16219         (archive-zip-extract): Test for pkzip in value of archive-zip-extract.
16221         * files.el (locate-file): Doc fix.
16223 2002-05-19  John Paul Wallington  <jpw@shootybangbang.com>
16225         * mail/rmail.el (rmail-show-message-hook): Offer `goto-address'
16226         as an option.
16228 2002-05-18  Stefan Monnier  <monnier@cs.yale.edu>
16230         * uniquify.el (uniquify-rationalize-file-buffer-names):
16231         Always strip the trailing / even if the file is not a directory.
16233 2002-05-18  Glenn Morris  <gmorris@ast.cam.ac.uk>
16235         * progmodes/f90.el (f90-mode-syntax-table, f90-mode-map): Do the
16236         initialization in the defvar.
16237         (f90-font-lock-on, f90-font-lock-off): Add 'menu-alias property.
16238         (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3)
16239         (f90-font-lock-4): Move the doc strings.
16240         (f90-menu-bar-menu): New internal variable to hold the top-level menu.
16241         (f90-change-case-menu, f90-font-lock-menu): Minor code changes.
16242         (f90-mode-abbrev-table): Initialize in the defvar, with
16243         define-abbrev-table.
16245 2002-05-18  Eli Zaretskii  <eliz@is.elta.co.il>
16247         * tar-mode.el (tar-octal-time): Fix last change.
16249 2002-05-18  Markus Rost  <rost@math.ohio-state.edu>
16251         * mail/emacsbug.el (report-emacs-bug-text-prompt): New variable.
16252         (report-emacs-bug): Store the prompt in
16253         `report-emacs-bug-text-prompt'.  Move Configuration/Important
16254         settings information after the user's report.
16255         (report-emacs-bug-hook): Unclutter by deleting the content of
16256         `report-emacs-bug-text-prompt'.
16258 2002-05-17  Thomas Morgan  <tlm@pocketmail.com>
16260         * forms.el (forms-jump-record, forms-insert-record)
16261         (forms-delete-record): Calculate lines from the beginning of the
16262         accessible portion rather than from the beginning of the buffer.
16264 2002-05-16  Eli Zaretskii  <eliz@is.elta.co.il>
16266         * ps-mule.el (eval-and-compile): Add a trivial replacement for a
16267         possibly missing encode-char.
16268         (ps-mule-font-info-database-bdf): Add associations for Unicode
16269         fonts.  Doc fix.
16270         (ps-mule-font-info-database-ps-bdf): Doc fix.
16271         (ps-mule-encode-ucs2): New function for encoding Unicode characters.
16273         * tar-mode.el (tar-octal-time): Fix the last argument of logior.
16275 2002-05-16  Stefan Monnier  <monnier@cs.yale.edu>
16277         * emacs-lisp/find-func.el (find-function-search-for-symbol):
16278         Find funs defined with defun-cvs-mode.
16279         (find-function-space-re): New const.  Skips comments as well.
16280         (find-function-regexp, find-variable-regexp): Use it.
16282         * pcvs.el (cvs-cmd-do): Accept non-CVS dirs with CVS-ctrl'd subdirs.
16283         (cvs-mode-add-change-log-entry-other-window): Work on multiple files.
16284         (cvs-mode-set-flags): Don't cons unnecessarily.
16286 2002-05-16  Colin Walters  <walters@debian.org>
16288         * menu-bar.el (menu-bar-tools-menu) <calculator>: Renamed to
16289         "Simple Calculator".
16290         (menu-bar-tools-menu) <calc>: New.
16292 2002-05-16  Juanma Barranquero  <lektu@terra.es>
16294         * progmodes/hideshow.el (hs-adjust-block-beginning): Fix typo.
16296         * filesets.el (filesets-ormap): Fix typo.
16298         * faces.el (describe-face): Fix typo.
16300 2002-05-15  Stefan Monnier  <monnier@cs.yale.edu>
16302         * emacs-lisp/easymenu.el (easy-menu-make-symbol):
16303         Don't treat (lambda () ...) as an expression.
16305 2002-05-15  John Paul Wallington  <jpw@shootybangbang.com>
16307         * replace.el (occur-read-primary-args): Handle a bare 'C-u' correctly.
16309 2002-05-15  Eli Zaretskii  <eliz@is.elta.co.il>
16311         * emacs-lisp/easymenu.el (easy-menu-add): Doc fix.
16313 2002-05-14  Glenn Morris  <gmorris@ast.cam.ac.uk>
16315         * progmodes/fortran.el (fortran-directive-re): New name for
16316         fortran-preprocessor-re.  All usage updated.
16317         (fortran-calculate-indent): Give directives zero indentation.
16319 2002-05-14  Jason Rumney  <jasonr@gnu.org>
16321         * emacs-lisp/easymenu.el (easy-menu-name-match): Match both
16322         displayed text and internal name as string.
16324 2002-05-14  Kim F. Storm  <storm@cua.dk>
16326         * emulation/cua-rect.el (cua--rectangle-operation):
16327         Don't highlight empty lines in rectangles.
16329         * emulation/keypad.el: Improved commentary.
16330         (keypad-setup, keypad-shifted-setup): Added choice to setup
16331         Numeric keypad with decimal key; value is selected character.
16332         (keypad-decimal-key, keypad-shifted-decimal-key): Removed options.
16333         (keypad-numlock-setup, keypad-numlock-shifted-setup): New options.
16334         (keypad-setup): Arg list changed to support the new options.
16336 2002-05-14  Richard M. Stallman  <rms@gnu.org>
16338         * dabbrev.el (dabbrev-case-distinction): New option.
16339         (dabbrev--try-find): Handle dabbrev-case-distinction.
16340         (dabbrev--search): Clean up the code.
16341         (dabbrev-upcase-means-case-search): Doc fix.
16342         (dabbrev-case-replace): Fix custom tags and docs.
16344 2002-05-14  Jochen K\e,A|\e(Bpper  <jochen@jochen-kuepper.de>
16346         * calc/calc-units.el (math-standard-units): Update from CODATA.
16348 2002-05-14  Stefan Monnier  <monnier@cs.yale.edu>
16350         * skeleton.el (skeleton-transformation): Default to `identity'.
16351         (skeleton-insert): Use `move-after' markers and `insert' rather
16352         than rely on insert-before-markers.
16353         (skeleton-internal-1): Handle `> \n' specially so that the newline
16354         is inserted before the first line is indented.
16356 2002-05-14  Mike Williams  <mdub@bigfoot.com>
16358         * textmodes/sgml-mode.el (sgml-tag):
16359         Default skeleton-transformation to `identity'.
16361 2002-05-14  Francesco Potort\e,Al\e(B  <pot@gnu.org>
16363         * shell.el (shell-mode): Make second part of initialisation
16364         depend on whether comint-input-ring is empty, rather than depend
16365         on it being nil.
16367 2002-05-14  Richard M. Stallman  <rms@gnu.org>
16369         * files.el (make-auto-save-file-name):
16370         Delete the auto-save file after make-temp-file creates it.
16372 2002-05-13  Kim F. Storm  <storm@cua.dk>
16374         * emulation/cua-base.el (cua-enable-cursor-indications): Default off.
16375         (cua-mode): Print Enabled/Disabled messages if interactive.
16376         Disable delete-selection-mode and pc-selection-mode when cua-mode
16377         is enabled; reenable if cua-mode is turned off.
16378         Remember setting of transient-mark-mode when cua-mode is enabled;
16379         restore if cua-mode is disabled.
16381 2002-05-13  Richard M. Stallman  <rms@gnu.org>
16383         * mail/emacsbug.el (report-emacs-bug): Change the "English please" msg.
16385 2002-05-13  Colin Walters  <walters@gnu.org>
16387         * ibuf-ext.el (ibuffer-format-filter-group-data): New function.
16389         * ibuffer.el (ibuffer-insert-filter-group): New argument filter-string.
16390         (ibuffer-redisplay-engine): Handle it.
16392         * add-log.el (add-log-mailing-address): Can be a list, too.
16393         (add-change-log-entry): If `add-log-mailing-address' is a list,
16394         then handle it.
16396 2002-05-12  Colin Walters  <walters@debian.org>
16398         * replace.el (occur-1): New optional argument `buf-name'.
16399         (occur-revert-function): Use it.
16401         (occur-1): Handle plurals.
16403         (occur-engine): If there are no more matches, then finish
16404         searching the current buffer.
16406 2002-05-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
16408         * net/ange-ftp.el (ange-ftp-try-passive-mode)
16409         (ange-ftp-passive-host-alist): Change :version attributes to be
16410         strings.
16412 2002-05-12  Markus Rost  <rost@math.ohio-state.edu>
16414         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Define it with
16415         define-minor-mode.
16417         * emacs-lisp/find-func.el (find-function-search-for-symbol):
16418         Handle more whitespace/newline combinations in symbol definitions.
16420 2002-05-12  Eli Zaretskii  <eliz@is.elta.co.il>
16422         * w32-vars.el (w32)
16423         * vc-cvs.el (vc-cvs-global-switches)
16424         (vc-cvs-sticky-date-format-string, vc-cvs-sticky-tag-display)
16425         * textmodes/sgml-mode.el (sgml-xml-mode)
16426         * ruler-mode.el (ruler-mode)
16427         * replace.el (query-replace-skip-read-only)
16428         * progmodes/fortran.el (fortran-preprocessor-re)
16429         * net/ange-ftp.el (ange-ftp-passive-host-alist)
16430         * mail/sendmail.el (mail-use-dsn)
16431         * faces.el (mode-line-inactive, minibuffer-prompt)
16432         * add-log.el (add-log-always-start-new-record): Change all
16433         post-21.1 :version attributes to 21.4.
16435 2002-05-12  Richard M. Stallman  <rms@gnu.org>
16437         * mail/smtpmail.el (smtpmail-mail-address): New variable.
16438         (smtpmail-send-it): Bind and use that instead of `mail-address'.
16439         (smtpmail-via-smtp): Likewise.
16441         * ansi-color.el (ansi-color-get-face): Avoid add-to-list on local var.
16442         (ansi-color-apply-sequence): Avoid duplicates in combined face list.
16444         * dired-aux.el (dired-show-file-type): Use -- to say FILE's not option.
16446         * subr.el (functionp): Catch errors in indirect-function.
16448 2002-05-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
16450         * net/ldap.el (ldap-search-internal): Unfold folded lines before
16451         parsing.
16453         * cus-edit.el (customize-set-value): Rename `var' to `variable'
16454         and `val' to `value'.
16455         (customize-save-variable): Rename `var' to `'variable.
16457 2002-05-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
16459         * progmodes/fortran.el (fortran-preprocessor-re): New variable.
16460         Use it for font-locking and indentation.
16461         (fortran-previous-statement, fortran-next-statement): Make them
16462         skip over preprocessor lines.
16463         (fortran-calculate-indent): Use fortran-preprocessor-re.
16465 2002-05-10  Kim F. Storm  <storm@cua.dk>
16467         * emulation/cua-base.el (cua-enable-cua-keys)
16468         (cua-enable-register-prefix): Added value for `other' choice.
16470 2002-05-10  Eli Zaretskii  <eliz@is.elta.co.il>
16472         * menu-bar.el (menu-bar-showhide-scroll-bar-menu)
16473         (menu-bar-showhide-menu): Use display-graphic-p, not window-system.
16474         (menu-bar-showhide-menu) <showhide-menu-bar, showhide-tool-bar>:
16475         Run a named function.
16476         (showhide-menu-bar, showhide-toolbar): Invoke customize-mark-as-set.
16477         (menu-bar-showhide-menu) <column-number-mode, line-number-mode>:
16478         Fix help text.
16480 2002-05-10  Kim F. Storm  <storm@cua.dk>
16482         * emulation/cua-base.el (cua-mode): Misc. changes to use
16483         emulation-mode-map-alists instead of minor-mode-map-alist.
16485 2002-05-09  Richard M. Stallman  <rms@gnu.org>
16487         * mail/rmail.el (rmail-show-message):
16488         Catch error in check-coding-system.
16490         * progmodes/compile.el (compilation-error-regexp-alist):
16491         New element to recognize Python error messages.
16493         * shell.el (shell-replace-by-expanded-directory):
16494         If there's already a / at the end, don't add one.
16496 2002-05-09  Colin Walters  <walters@verbum.org>
16498         * ibuffer.el (ibuffer-mode-map): Add :enable guards for
16499         `ibuffer-filter-disable', `ibuffer-pop-filter',
16500         `ibuffer-or-filter', `ibuffer-negate-filter',
16501         `ibuffer-decompose-filter', `ibuffer-save-filters',
16502         `ibuffer-switch-to-saved-filters', `ibuffer-delete-saved-filters',
16503         `ibuffer-save-filter-groups',
16504         `ibuffer-switch-to-saved-filter-groups',
16505         `ibuffer-delete-saved-filter-groups'.
16507         * ibuf-ext.el (ibuffer-do-occur): Default to 0 context lines.
16509 2002-05-09  Markus Rost  <rost@math.ohio-state.edu>
16511         * woman.el (woman-menu): Move symbol before the comment so that
16512         find-function-search-for-symbol finds it.
16514 2002-05-10  Miles Bader  <miles@gnu.org>
16516         * facemenu.el (list-colors-display): Don't use
16517         `display-color-cells' unless the display class is one for which
16518         that info is relevant.
16520 2002-05-09  Simon Josefsson  <jas@extundo.com>
16522         * mail/smtpmail.el (smtpmail-send-it): Use user-mail-address from
16523         calling buffer.
16524         (smtpmail-auth-credentials): Bump :version to 21.4 (21.3 will not
16525         have the patch).
16527 2002-05-09  Kim F. Storm  <storm@cua.dk>
16529         * wid-edit.el (checkbox): New check-mark image.
16531 2002-05-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
16533         * filesets.el (filesets-running-xemacs): Fix last change.
16535 2002-05-08  Markus Rost  <rost@math.ohio-state.edu>
16537         * help-fns.el (describe-function-1): If the source is
16538         `loaddefs.el', look for the real source.  This is necessary only
16539         for defaliases.
16541         * emacs-lisp/find-func.el (find-function-search-for-symbol):
16542         Add autoload cookie.
16543         (find-function-regexp): Include
16544         "\(quote " to match the defaliases in loaddefs.el.
16546         * filesets.el (filesets-conditional-sort): Use copy-sequence,
16547         not copy-list.
16548         (filesets-menu-path, filesets-menu-before, filesets-menu-in-menu):
16549         Defvar them to nil if running in Emacs.
16551 2002-05-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
16553         * textmodes/flyspell.el (make-flyspell-overlay): Add help text
16554         to flyspell overlays.
16556         * info.el (Info-mode-map): Bind `c' to Info-copy-current-node-name.
16558 2002-05-08  Richard M. Stallman  <rms@gnu.org>
16560         * diff.el (diff-regexp-alist): Doc fix.
16562         * mail/smtpmail.el (netrc-machine, netrc-get): Add autoloads.
16564 2002-05-08  Simon Marshall  <simon@gnu.org>
16566         * msb.el (msb-menu-bar-update-buffers): Fixed frame menu to use
16567         the frame name as the car of a menu entry, rather than the frame.
16569 2002-05-08  Juanma Barranquero  <lektu@terra.es>
16571         * rfn-eshadow.el (read-file-name-electric-shadow-mode): Fix typos
16572         in docstring.
16574 2002-05-07  Colin Walters  <walters@verbum.org>
16576         * replace.el (occur-unfontify-region-function): Delete.
16577         (occur-mode): Don't use it.
16578         (occur-engine): Respect `keep-props'.
16579         (occur-accumulate-lines): If we're moving forward, decrement;
16580         don't increment, and vice versa.
16582 2002-05-08  Toru Tomabechi  <Toru.Tomabechi@orient.unil.ch>
16584         * language/tibet-util.el (tibetan-canonicalize-for-unicode-alist)
16585         (tibetan-canonicalize-for-unicode-regexp): New variables.
16586         (tibetan-canonicalize-for-unicode-region): New function.
16587         (tibetan-strict-unicode): New variable.
16588         (tibetan-pre-write-canonicalize-for-unicode): New function.
16590 2002-05-07  Markus Rost  <rost@math.ohio-state.edu>
16592         * net/ange-ftp.el (ange-ftp-re-read-dir): Don't hide it behind
16593         the autoload-cookie.  Remove comment.
16595         * ffap.el (ffap): Don't hide it behind the autoload-cookie.
16597         * rect.el (close-rectangle): Don't hide it behind the
16598         autoload-cookie.
16600 2002-05-07  Juanma Barranquero  <lektu@terra.es>
16602         * windmove.el (windmove-default-keybindings): Add optional
16603         parameter to allow using a modifier other than 'shift.
16605 2002-05-07  Thomas Link  <t.link@gmx.at>
16607         * filesets.el:
16608         (filesets-external-viewers): Fix customization problem.
16609         (filesets-some): Replaces cl's `some'.  Calls changed.
16610         (filesets-member): Replaces cl's `member*'.  Calls changed.
16611         (filesets-ormap): New function.
16613 2002-05-07  John Paul Wallington  <jpw@shootybangbang.com>
16615         * ibuffer.el (toplevel): Specialize `ibuffer-mode-groups-popup'
16616         menu items.
16618 2002-05-07  Colin Walters  <walters@gnu.org>
16620         * ibuf-ext.el (ibuffer-pop-filter-group): Doc fix.
16621         (ibuffer-clear-filter-groups): Likewise.
16622         (ibuffer-kill-filter-group): Likewise.
16623         (ibuffer-kill-line): Likewise.
16624         (ibuffer-read-filter-group-name): New function.
16625         (ibuffer-jump-to-filter-group): Use it.
16626         (ibuffer-kill-filter-group): Likewise.
16627         (ibuffer-yank-filter-group): Likewise.
16628         (ibuffer-decompose-filter-group): New function.
16630         * ibuffer.el (ibuffer-mode-map): Bind it.  Add :enable guard
16631         around `ibuffer-filters-to-filter-group' menu item.  Fix :enable
16632         guards for `ibuffer-pop-filter-group' and
16633         `ibuffer-clear-filter-groups'.
16635 2002-05-06  Markus Rost  <rost@math.ohio-state.edu>
16637         * emacs-lisp/find-func.el (find-function-search-for-symbol):
16638         Use with-syntax-table.
16640 2002-05-06  Francesco Potort\e,Al\e(B  <pot@gnu.org>
16642         * mail/rmail.el (rmail-font-lock-keywords): Highlight Resent-[Ff]rom:.
16644 2002-05-05  Markus Rost  <rost@math.ohio-state.edu>
16646         * time-stamp.el (time-stamp-format): Doc fix: escape open
16647         parenthesis in column 0.
16649 2002-05-04  Richard M. Stallman  <rms@gnu.org>
16651         * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
16652         Handle both cases: when the menu item has cached info
16653         and when it doesn't.
16655         * filesets.el (filesets-browse-dir-function): Renamed from ...-fn.
16656         (filesets-open-file-function, filesets-save-buffer-function): Likewise.
16657         (filesets-tree-max-level): Doc fix.
16658         (filesets-commands, filesets-external-viewers)
16659         (filesets-ingroup-patterns): Mark as risky.
16660         (filesets-cache-hostname-flag): Doc fix.
16661         (filesets-menu-cache-file): Doc fix.  Mark as risky.
16662         (filesets-menu-before, filesets-menu-path, filesets-menu-in-menu):
16663         Don't defcustom them if running in Emacs.
16665 2002-05-04  Thomas Link  <t.link@gmx.at>
16667         * filesets.el (filesets-ingroup-collect-files):
16668         Fix problem with inclusion groups' :scan-depth property.
16670 2002-05-04  Colin Walters  <walters@verbum.org>
16672         * ibuf-ext.el (ibuffer-kill-filter-group): Test for killing
16673         "Default" group earlier.  Push killed group on
16674         `ibuffer-filter-group-kill-ring'.
16675         (ibuffer-kill-line): Document.  Don't push killed group ourselves.
16676         (ibuffer-yank-filter-group): Renamed from `ibuffer-yank'.
16677         (ibuffer-insert-filter-group-before): New function, broken out
16678         from `ibuffer-yank'.
16679         (ibuffer-yank): Now just call `ibuffer-yank-filter-group'.
16681         * ibuffer.el (ibuffer-mode-operate-menu, ibuffer-mode-mark-menu)
16682         (ibuffer-mode-view-menu): Unused variables; deleted.
16683         (ibuffer-find-file): Pass wildcard flag to `find-file' correctly.
16685 2002-05-04  John Paul Wallington  <jpw@shootybangbang.com>
16687         * ibuffer.el (ibuffer-mode-groups-popup): New variable.
16688         (toplevel): Bind filter group menu entries in it.  Add :enable
16689         forms for some menu items.
16690         (toplevel): Bind [down-mouse-3] in `ibuffer-mode-filter-group-map'
16691         to `ibuffer-mouse-popup-menu'.
16692         (ibuffer-mouse-popup-menu): Test whether or not we're on a filter
16693         group name, and if so, pop up a filter group menu.
16695 2002-05-04  Jason Rumney  <jasonr@gnu.org>
16697         * mwheel.el (mwheel-event-button): Translate mouse-wheel events.
16698         (mwheel-scroll): Recognize nil scroll amount as documented.
16700         * term/w32-win.el (mouse-wheel-scroll-line)
16701         (mouse-wheel-scroll-screen): Remove.
16702         ([mouse-wheel], [C-mouse-wheel], [S-mouse-wheel]): Use mwheel-scroll.
16704         * w32-vars.el: (mouse-wheel-scroll-amount): Removed.
16706 2002-05-04  Markus Rost  <rost@math.ohio-state.edu>
16708         * emacs-lisp/find-func.el (find-function-search-for-symbol):
16709         Bind case-fold-search when searching.
16711 2002-05-04  Eli Zaretskii  <eliz@is.elta.co.il>
16713         * apropos.el (apropos-print): Fix the reference to mouse-2.
16715 2002-05-04  Daniel Pfeiffer  <occitan@esperanto.org>
16717         * play/mpuz.el (mpuz-switch-to-window): Set buffer-read-only directly.
16719 2002-05-04  Kim F. Storm  <storm@cua.dk>
16721         * cus-edit.el (custom-buffer-verbose-help): New variable.
16722         (custom-buffer-create-internal): Remove verbose introduction
16723         in customization buffer when it is nil.
16725 2002-05-03  Dave Love  <fx@gnu.org>
16727         * international/mule-cmds.el (select-safe-coding-system):
16728         Don't offer coding systems that use locking shift.
16729         Ask for confirmation if chosen coding system disagrees with
16730         a `coding:' spec in the file.
16732 2002-05-03  John Wiegley  <johnw@gnu.org>
16734         * eshell/esh-var.el (eshell-modify-global-environment): Added this
16735         customization variable, which will cause any "export" commands
16736         within any eshell buffer to modify the global Emacs environment.
16737         It defaults to nil, which means that such commands will only
16738         modify that Eshell buffer's environment.
16739         (eshell-var-initialize): Initialize `eshell-modify-global-environment'.
16741         * eshell/em-cmpl.el (eshell-command-completions-alist):
16742         Improve default completion targets for objdump, nm and readelf.
16744 2002-05-03  Colin Walters  <walters@verbum.org>
16746         * play/gamegrid.el (gamegrid-user-score-file-directory): New variable.
16747         (gamegrid-add-score-with-update-game-score):
16748         Use `shared-game-score-directory'.  Correctly handle non-setuid case.
16750 2002-05-02  Colin Walters  <walters@verbum.org>
16752         * replace.el (occur-mode-map): Bind "q" to `delete-window'.
16753         (occur-1): If one of the buffers we're searching is the *Occur*
16754         buffer itself, handle it by creating a temporary buffer.  If any
16755         of the buffers being searched are killed, note that in the search
16756         result message.  Also, set local variables before we possibly kill
16757         the buffer.
16759 2002-05-02  Kim F. Storm  <storm@cua.dk>
16761         * menu-bar.el (menu-bar-make-toggle): Added optional PROPS arg.
16762         (menu-bar-options-save): Added cua-mode.
16763         (menu-bar-options-menu): Added toggle for cua-mode.
16764         Disable toggle for transient-mark-mode if cua-mode is enabled.
16766         * emulation/cua-base.el (cua-inhibit-cua-keys): New buffer-local
16767         variable.
16769 2002-05-01  Richard M. Stallman  <rms@gnu.org>
16771         * help.el (view-todo): New function.
16772         (help-map): Bind C-h C-t to view-todo.
16773         (help-for-help): Change the text.
16775 2002-05-01  Glenn Morris  <gmorris@ast.cam.ac.uk>
16777         * progmodes/f90.el: Yet more doc string, commment and whitespace
16778         changes.
16779         (f90-imenu-flag): New name for internal variable f90-imenu.
16780         (f90-blocks-re, f90-program-block-re, f90-end-if-re)
16781         (f90-no-break-re): Use regexp-opt.
16782         (f90-end-type-re): Add closing "\\>".
16783         (f90-indent-region): Correctly indent comments embedded in
16784         continued lines.
16785         (f90-indent-new-line): Make it indent the current line, as it should.
16786         (f90-line-continued, f90-get-present-comment-type)
16787         (f90-looking-at-if-then, f90-indent-line, f90-indent-new-line)
16788         (f90-indent-region, f90-indent-subprogram, f90-do-auto-fill)
16789         (f90-join-lines, f90-fill-region, f90-match-end, f90-insert-end)
16790         (f90-change-keywords): Minor code tidying.
16792         * progmodes/fortran.el (fortran-strip-sequence-nos): Rename from
16793         typo `fortran-strip-sqeuence-nos'.
16795 2002-05-01  Eli Zaretskii  <eliz@is.elta.co.il>
16797         * simple.el (clone-indirect-buffer-other-window): Fix a typo in
16798         pop-up-window.
16800 2002-05-01  Kim F. Storm  <storm@cua.dk>
16802         * emulation/cua-base.el (cua--pre-command-handler):
16803         Only interpret delete-selection property if mark-active.
16804         (cua-mode): Fixed require in defcustom.
16806 2002-05-01  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
16808         * calendar/cal-menu.el (cal-menu-x-popup-menu): Fix argument of
16809         error call.
16811 2002-05-01  Colin Walters  <walters@verbum.org>
16813         * textmodes/tex-mode.el (tex-validate-buffer):
16814         Use `occur-revert-arguments' instead of setting `occur-nlines' and
16815         `occur-buffer'.  Don't test for `input-pending-p' in loop.
16816         Set text property `occur-target' instead of `occur'.
16818 2002-04-30  John Wiegley  <johnw@gnu.org>
16820         * align.el (align-region): Fixed the fix to align-region, because
16821         the "name" argument was appearing twice.
16823 2002-05-01  Martin Stjernholm  <bug-cc-mode@gnu.org>
16825         * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
16826         to handle protection labels, one which doesn't get confused by
16827         inherit colons.
16829         * progmodes/cc-engine.el (c-end-of-decl-1): Don't treat
16830         functions that have "class" or "struct" in the return type as
16831         classes or structs.
16833 2002-04-30  Kim F. Storm  <storm@cua.dk>
16835         * menu-bar.el (menu-bar-custom-menu): Change "Recently Changed
16836         Options" to "New Options..."; rephrase tooltip.
16837         Rephrase tooltip for "Specific Option...".
16838         Added "Saved Options" item.  [from Simon Marshall]
16840 2002-04-30  Richard M. Stallman  <rms@gnu.org>
16842         * time.el (display-time-mail-directory)
16843         (display-time-mail-function): Doc fixes.
16845         * ediff-hook.el: Remove autoload cookies.
16847         * language/tibetan.el (tibetan-obsolete-glyphs): Now in tibet-util.el.
16849         * language/tibet-util.el (tibetan-obsolete-glyphs): From tibetan.el.
16851         * align.el (align-region): Fix call to `message'.
16852         Check that (car rule) is a symbol.
16854         * autoinsert.el (auto-insert-directory): Doc fix.
16856         * facemenu.el (describe-text-at and stuff): Moved to descr-text.el.
16858         * descr-text.el: New file, broken out of facemenu.el.
16860         * emacs-lisp/advice.el (documentation): Add ad-define-subr-args call.
16862 2002-04-29  Markus Rost  <rost@math.ohio-state.edu>
16864         * mail/emacsbug.el (report-emacs-bug-hook):
16865         Use replace-match only if search was successful.
16867 2002-04-29  Richard M. Stallman  <rms@gnu.org>
16869         * net/zone-mode.el (zone-mode): Add write-file-hooks hook locally.
16871         * mail/emacsbug.el (report-emacs-bug-hook): Don't fail completely
16872         if the user edits the Emacs version number in the text.
16874         * filesets.el (filesets-running-xemacs): Make defvar unconditional.
16875         (filesets-ingroup-files): Renamed from filesets-ingroup-paths.
16876         (filesets-error): Simplify definition and make conditional
16877         on filesets-running-xemacs.
16878         (filesets-find-file-using): Renamed from fsfind-file-using.
16880 2002-04-29  Stefan Monnier  <monnier@cs.yale.edu>
16882         * info.el (Info-find-in-tag-table-1, Info-read-subfile): Use point-min.
16883         (Info-read-node-name-1): Complete file names.
16884         (Info-complete-menu-item): Don't cons unnecessarily.
16886         * files.el (locate-file): New fun.
16887         (locate-file-completion): Rename from load-completion and generalize.
16888         (load-library): Use it.
16889         (make-auto-save-file-name): Expand caddr.
16891         * newcomment.el (comment-fill-column): New var.
16892         (comment-indent): Use it.
16893         (comment-or-uncomment-region): New fun.
16894         (comment-dwim): Use it.
16896 2002-04-29  Colin Walters  <walters@verbum.org>
16898         * ibuf-ext.el (ibuffer-kill-filter-group): Call `delete' function.
16899         (ibuffer-kill-line): Copy the filter group data structure when killing.
16900         (ibuffer-yank): Handle case where we're yanking on the default
16901         group correctly.
16902         (ibuffer-delete-saved-filter-groups): Doc fix.
16904         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16905         Test whether or not update-game-score is setuid, and do the right
16906         thing.
16908 2002-04-29  Kim F. Storm  <storm@cua.dk>
16910         * subr.el (remove-yank-excluded-properties): New helper function.
16911         (insert-for-yank, insert-buffer-substring-as-yank): Use it.
16913         * simple.el (yank-excluded-properties): Added help-echo to list.
16915 2002-04-29  Glenn Morris  <gmorris@ast.cam.ac.uk>
16917         * autoinsert.el (auto-insert-directory): Doc fix.
16919         * progmodes/f90.el: Add/change doc strings for many inline
16920         functions.  Whitespace changes.
16921         (f90-indent-line-no, f90-update-line): Minor code changes.
16923 2002-04-29  Kim F. Storm  <storm@cua.dk>
16925         * emulation/cua-base.el: New file.
16927         * emulation/cua-rect.el: New file.
16929         * emulation/cua-gmrk.el: New file.
16931         * emulation/keypad.el: New file.
16933 2002-04-29  Triet Hoai Lai  <thlai@ee.usyd.edu.au>
16935         * language/vietnamese.el (viet-tcvn-decode-table, ccl-decode-tcvn)
16936         (ccl-encode-tcvn, ccl-encode-tcvn-font, vietnamese-tcvn):
16937         New Vietnamese coding system.
16939         * language/viet-util.el: Update Commentary section.
16941 2002-04-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
16943         * filesets.el (filesets-data): Doc fix.
16944         (filesets-running-xemacs): Define even when compiling.
16946         * recentf.el (recentf-cancel-dialog): Remove dot at the end of
16947         sentence.
16949 2002-04-29  Stefan Monnier  <monnier@cs.yale.edu>
16951         * textmodes/fill.el (fill-context-prefix): Fix last change with
16952         yet-another-approach.
16954 2002-04-28  Markus Rost  <rost@math.ohio-state.edu>
16956         * net/ange-ftp.el (ange-ftp-passive-host-alist)
16957         (ange-ftp-bs2000-additional-pubsets): Fix custom type.
16959         * files.el (small-temporary-file-directory): Fix custom type.
16961 2002-04-28  Glenn Morris  <gmorris@ast.cam.ac.uk>
16963         * progmodes/f90.el (f90-xemacs-flag): New variable.
16964         (f90-mark-subprogram-overlay): New variable.
16965         (f90-mark-subprogram): Now it highlights the subprogram.
16966         (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
16967         Fix highlighting of various "type" forms.
16969 2002-04-28  Colin Walters  <walters@verbum.org>
16971         * ibuffer.el (ibuffer-mode): Additional documentation on filter
16972         groups.
16974 2002-04-28  John Paul Wallington  <jpw@shootybangbang.com>
16976         * ibuf-ext.el (ibuffer-set-filter-groups-by-mode): Don't make an
16977         ibuffer-mode filter group if `ibuffer-view-ibuffer' is nil.
16979 2002-04-28  Richard M. Stallman  <rms@gnu.org>
16981         * mail/sendmail.el (mail-recover-1): Decrease non-random-len
16982         by 1 for the newly-readded #.
16984         * files.el (make-auto-save-file-name): Specify # as suffix
16985         in the non-file-visiting case.
16987         * subr.el (make-temp-file): New arg SUFFIX.
16989         * filesets.el: New file.
16991         * replace.el (occur-accumulate-lines): Avoid incf and decf.
16992         (occur-engine-add-prefix): New function.
16993         (occur-engine): Avoid using macrolet, incf and decf.
16994         Use occur-engine-add-prefix instead.
16995         Rename `l' to `lines' and `c' to `matches'.
16997         * replace.el (occur-engine, occur-mode-mouse-goto)
16998         (occur-mode-find-occurrence, occur-mode-goto-occurrence)
16999         (occur-mode-goto-occurrence-other-window)
17000         (occur-mode-display-occurrence): A position is just a marker,
17001         not a list.
17003         * replace.el (occur-revert-arguments):
17004         Renamed from occur-revert-properties.  All uses changed.
17006 2002-04-28  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
17008         * recentf.el (recentf-menu-before): Use string to specify path in
17009         the menu.
17011         * international/mule-cmds.el (read-language-name): Take care of
17012         non-list values.
17014 2002-04-27  Richard M. Stallman  <rms@gnu.org>
17016         * custom.el (custom-load-symbol): Moved from cus-edit.el.
17017         (custom-load-recursion): Likewise.
17019         * cus-edit.el (custom-load-symbol): Moved to custom.el.
17020         (custom-load-recursion): Likewise.
17022         * progmodes/ada-xref.el (ada-add-ada-menu): Menu pseudo-keys
17023         generated by easymenu are now lowercase.
17025 2002-04-27  Richard M. Stallman  <rms@gnu.org>
17027         * menu-bar.el (menu-bar-update-buffers): Add menu items
17028         Next Buffer and Previous Buffer.
17030         * simple.el (next-buffer, prev-buffer): New commands.
17031         Bind C-x left and C-x right to them.
17033         * info.el (Info-header-line): Mark it as risky-local-variable.
17035         * subr.el (insert-for-yank): Replace `category' property
17036         with whatever properties it stands for.
17038         * subr.el (member-ignore-case): Ignore non-strings in LIST.
17040 2002-04-27  Miles Bader  <miles@gnu.org>
17042         * faces.el (read-face-name): Format the prompt correctly when
17043         there's no default.
17045 2002-04-26  Andrew Choi  <akochoi@shaw.ca>
17047         * term/mac-win.el: Don't call ediff-toggle-multiframe.
17048         Set default directory.  Set process-connection-type to nil.
17050 2002-04-26  Richard M. Stallman  <rms@gnu.org>
17052         * loadup.el: Explicitly load cus-face and timer.
17054         * isearch.el: Don't require timer.
17056         * faces.el: Don't require cus-face.
17058         * cus-edit.el (customize-face): Use read-face-name
17059         and handle multiple faces.
17060         (customize-face-other-window): Make it work similarly.
17062         * faces.el (read-face-name): New defaulting features.
17063         New args STRING-DESCRIBING-DEFAULT and MULTIPLE.
17064         (list-faces-display): Use the face, not its name string,
17065         as arg when running customize-face.
17066         Put a `read-face-name' prop on the entire line.
17067         (describe-face): Handle multiple faces via read-face-name.
17069         * textmodes/tex-mode.el (tex-start-options): New variable.
17070         (tex-start-commands): New variable.
17071         (tex-start-options-string): Variable deleted.
17072         (tex-start-tex): Use tex-start-options and tex-start-commands,
17073         not tex-start-options-string.
17074         (tex-command): Doc fix.
17076 2002-04-26  Sam Steingold  <sds@gnu.org>
17078         * mail/smtpmail.el (smtpmail-try-auth-methods): When `host' is
17079         not in the authinfo/netrc, keep `cred' at nil.
17081 2002-04-26  Gerd Moellmann  <gerd@gnu.org>
17083         * find-file.el: Remove Ada-specific example code.
17085 2002-04-25  Michael Kifer  <kifer@cs.stonybrook.edu>
17087         * ediff-hooks.el: Put back the autoloads.
17089 2002-04-25  Colin Walters  <walters@verbum.org>
17091         * ibuffer.el (define column process): Use `ibuffer-aif'.
17093         * ibuf-ext.el (ibuffer-saved-filter-groups): Don't include broken
17094         defaults.
17095         (ibuffer-yank): Be sure to `setq' after we use `nconc'.
17096         (ibuffer-save-filter-groups): Correctly structure filter groups.
17097         (ibuffer-switch-to-saved-filter-groups): Correctly extract filter
17098         groups.
17100 2002-04-25  Simon Josefsson  <jas@extundo.com>
17102         * mail/sendmail.el (mail-use-dsn): New variable to request
17103         delivery status notification from MTA.
17104         (sendmail-send-it): Use it.
17106         * mail/smtpmail.el (smtpmail-queue-counter): New variable.
17107         (smtpmail-send-it): Use it to construct new queue filenames
17108         (needed if you send more than one message per second, which is
17109         possible if you use Gnus Agent).
17111         * mail/smtpmail.el (smtpmail-auth-credentials): Support netrc
17112         files as well.
17113         (smtpmail-try-auth-methods): Support netrc data.
17114         (netrc-parse): Autoload netrc.
17116 2002-04-25  Colin Walters  <walters@verbum.org>
17118         * replace.el (multi-occur-by-filename-regexp): Doc fix.
17119         (occur-engine): Go to `point-min'.  Make nlines argument actually
17120         mean number of context lines.  Handle it.  Pad digits to the right.
17122         * ibuf-ext.el (ibuffer-filtering-groups): Renamed to
17123         `ibuffer-filter-groups'.  All users updated.
17124         (ibuffer-show-empty-filter-groups): New variable.
17125         (ibuffer-saved-filter-groups): New variable.
17126         (ibuffer-maybe-save-stuff): Renamed from
17127         `ibuffer-maybe-save-saved-filters'.  Callers updated.
17128         Handle `ibuffer-saved-filter-groups'.
17129         (ibuffer-hidden-filtering-groups): Renamed to
17130         `ibuffer-hidden-filter-groups'.
17131         (ibuffer-filter-group-kill-ring): New variable.
17132         (ibuffer-save-with-custom): Doc fix.
17133         (ibuffer-set-filter-groups-by-mode): New function.
17134         (ibuffer-clear-filter-groups): New function.
17135         (ibuffer-current-filter-groups-with-position): Renamed from
17136         `ibuffer-current-filter-groups'.  Callers updated.
17137         (ibuffer-kill-filter-group): New function.
17138         (ibuffer-kill-line): New function.
17139         (ibuffer-yank): New function.
17140         (ibuffer-save-filter-groups): New function.
17141         (ibuffer-delete-saved-filter-groups): New function.
17142         (ibuffer-switch-to-saved-filter-groups): New function.
17143         (ibuffer-mark-on-buffer): Add optional arguments for adding a
17144         specific mark, and marking on a specific group.
17146         * ibuffer.el (ibuffer-formats): Doc fix.
17147         (ibuffer-mode-map): Bind <up> to `ibuffer-backward-line'.
17148         Bind new functions from ibuf-ext.el.  Add menu entries for them.
17149         Remove superfluous tooltips.
17150         (ibuffer-toggle-marks): If on a group name, then toggle marks just
17151         in that group.
17152         (ibuffer-mark-interactive): Handle filter groups.
17153         (ibuffer-mark-forward, ibuffer-unmark-forward)
17154         (ibuffer-mark-for-delete, ibuffer-unmark-backward)
17155         (ibuffer-mark-for-delete-backwards): Update docs.
17156         (ibuffer-current-filter-groups): Moved to ibuf-ext.el, and renamed
17157         to `ibuffer-current-filter-groups-with-position'.
17158         (ibuffer-redisplay-engine): Handle `ibuffer-show-empty-filter-groups'.
17159         (ibuffer-mode): Add some documentation about filter groups.
17161 2002-04-25  Andreas Schwab  <schwab@suse.de>
17163         * find-dired.el (find-name-dired): Don't quote pattern twice.
17165 2002-04-26  Miles Bader  <miles@gnu.org>
17167         * cus-edit.el (customize-face, customize-face-other-window):
17168         Use default instead of initial-input for suggested face.
17170 2002-04-25  Gerd Moellmann  <gerd@gnu.org>
17172         * cus-edit.el (customize-face-other-window, customize-face):
17173         Interactively, when point is on text with a face, suggest to
17174         customize that face.
17176 2002-04-25  Glenn Morris  <gmorris@ast.cam.ac.uk>
17178         * progmodes/f90.el: General tidy-up of commentary and some doc
17179         strings.
17181 2002-04-24  Glenn Morris  <gmorris@ast.cam.ac.uk>
17183         * scroll-all.el (scroll-all-function-all) New function to do the
17184         actual work.
17185         (scroll-all-scroll-down-all, scroll-all-scroll-up-all,
17186         scroll-all-page-down-all, scroll-all-page-up-all,
17187         scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
17188         Make them use scroll-all-function-all.
17190         * progmodes/f90.el (f90-get-beg-of-line): Removed and replaced
17191         with line-beginning-position.
17192         (f90-get-end-of-line): Removed and replaced with line-end-position.
17193         (f90-match-piece): Removed and replaced with match-string.
17194         (f90-current-indentation): Remove `current-column'.
17195         (f90-get-present-comment-type): Use match-string rather than
17196         buffer-substring.
17197         (f90-match-end): Use line-beginning-position, line-end-position
17198         rather than beginning-of-line, end-of-line.
17199         (f90-startup-message): Variable removed.
17201 2002-04-24  Colin Walters  <walters@verbum.org>
17203         * replace.el (occur-accumulate-lines): Add optional argument
17204         `no-props'.  Handle it.
17205         (occur-engine): Use it.
17207         * ibuf-ext.el (toplevel): Remove byte-compile-dynamic.  Try to set
17208         up autoloads manually.
17209         (ibuffer-split-list): New function.
17210         (ibuffer-filtering-groups): New variable.
17211         (ibuffer-hidden-filtering-groups): New variable.
17212         (ibuffer-mouse-toggle-filter-group): New function.
17213         (ibuffer-toggle-filter-group): New function.
17214         (ibuffer-toggle-filter-group-1): New function.
17215         (ibuffer-forward-filter-group): New function.
17216         (ibuffer-backward-filter-group): New funtion.
17217         (ibuffer-generate-filter-groups): New function.
17218         (ibuffer-filters-to-filter-group): New function.
17219         (ibuffer-pop-filter-group): New function.
17220         (ibuffer-jump-to-filter-group): New function.
17221         (ibuffer-do-occur): Just use `occur-read-primary-args'
17223         * ibuffer.el (ibuffer-filter-group-name-face): New.
17224         (ibuffer-mode-map): Bind and add menu entries for most new
17225         functions; also, bind the arrow keys to the movement functions.
17226         (ibuffer-mode-filter-group-map): New.
17227         (ibuffer-mouse-toggle-mark): Handle group names.
17228         (ibuffer-mouse-visit-buffer): Error if the current buffer is killed.
17229         (ibuffer-skip-properties): New function.
17230         (ibuffer-backward-line, ibuffer-forward-line): Optionally skip
17231         group names.  Also, handle new properties.
17232         (ibuffer-visit-buffer, ibuffer-visit-buffer-other-window):
17233         Move error handling to `ibuffer-current-buffer'.
17234         (ibuffer-visit-buffer-other-frame, ibuffer-bury-buffer): Ditto.
17235         (ibuffer-visit-tags-table, ibuffer-do-view-1): Ditto.
17236         (ibuffer-toggle-marks): Add optional group argument.
17237         (ibuffer-mark-interactive): Skip group names.
17238         (ibuffer-current-buffer): Clean up error handling.
17239         (ibuffer-fontify-region-function): Fontify group names.
17240         (ibuffer-map-lines): Add extra group argument.  Handle it.
17241         (ibuffer-current-filter-groups): New function.
17242         (ibuffer-redisplay): Handle hidden filtering groups.
17243         (ibuffer-sort-bufferlist): New function, taken from
17244         `ibuffer-insert-buffers-and-marks'.
17245         (ibuffer-insert-filter-group): New function.
17246         (ibuffer-redisplay-engine): Renamed from
17247         `ibuffer-insert-buffers-and-marks'.  Handle new filtering groups.
17248         (ibuffer): Add filter-groups argument.  Handle it.
17249         Use `save-selected-window'.
17250         (ibuffer-mode): Make `ibuffer-filtering-groups' and
17251         `ibuffer-hidden-filtering-groups' buffer-local.
17253         * ibuf-macs.el (ibuffer-save-marks): Call `ibuffer-redisplay-engine'.
17255 2002-04-24  Richard M. Stallman  <rms@gnu.org>
17257         * emacs-lisp/easymenu.el (easy-menu-intern): Downcase before interning.
17258         (easy-menu-define-key-intern): Function deleted; callers intern
17259         and then call easy-menu-define-key.
17260         (easy-menu-do-add-item): Explicitly intern the key, but not BEFORE.
17261         (easy-menu-define-key): Use easy-menu-name-match to match BEFORE.
17262         (easy-menu-name-match): New function.
17263         (add-submenu): New function.
17264         (easy-menu-get-map-look-for-name): Use easy-menu-name-match.
17266 2002-04-24  Eli Zaretskii  <eliz@is.elta.co.il>
17268         * menu-bar.el (menu-bar-adv-search-menu)
17269         (menu-bar-adv-search-menu): Improve the help text.
17271 2002-04-24  Simon Josefsson  <jas@extundo.com>
17273         * net/netrc.el: New file.
17275 2002-04-24  Thomas DeWeese  <tdeweese@rochester.rr.com>
17277         * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
17278         Check if any of the available selection sources has new content
17279         and if so it will return that content.
17281 2002-04-24  Miles Bader  <miles@gnu.org>
17283         * menu-bar.el (buffers-menu-show-directories)
17284         (buffers-menu-show-status): New variables.
17285         (menu-bar-update-buffers-1): Use them.
17287 2002-04-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
17289         * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
17290         from `c-do-auto-fill' and point is at or near the limit of the
17291         comment.  Fixed bug when the prefix from `c-guess-fill-prefix'
17292         is longer than the text on the first line of the comment when
17293         it's masked.
17295 2002-04-24  Miles Bader  <miles@gnu.org>
17297         * menu-bar.el (menu-bar-update-buffers-1): Make sure
17298         `uniquify-buffer-name-style' is bound.
17300 2002-04-23  Colin Walters  <walters@verbum.org>
17302         * replace.el (toplevel): Require `cl' while compiling.
17303         (occur-buffer, occur-nlines): Delete.
17304         (occur-revert-properties): Rename to `occur-revert-properties'.
17305         (occur-mode): Handle it.  Set up font lock.
17306         (occur-revert-function): Simply apply `occur-1'.
17307         (occur-mode-find-occurence, occur-mode-mouse-goto)
17308         (occur-mode-goto-occurrence-other-window)
17309         (occur-mode-display-occurrence): Handle buffer property.
17310         (list-matching-lines-face): Use defcustom.
17311         (list-matching-lines-buffer-name-face): New variable.
17312         (occur-accumulate-lines): Renamed from `ibuffer-accumulate-lines',
17313         in ibuffer.el.
17314         (occur-read-primary-args): Move out of `occur'.
17315         (occur): Delete.  Now simply call `occur-1'.
17316         (multi-occur, multi-occur-by-filename-regexp): New functions.
17317         (occur-1): New function.
17318         (occur-engine): Renamed from `ibuffer-occur-engine' to replace the
17319         previous implementation of `occur'; taken from ibuf-ext.el.
17320         (occur-fontify-on-property): New function.
17321         (occur-fontify-region-function, occur-unfontify-region-function):
17322         New functions.
17324         * ibuffer.el (ibuffer-accumulate-lines): Moved to replace.el.
17326         * ibuf-ext.el (ibuffer-depropertize-string): Delete.
17327         (ibuffer-occur-match-face): Delete.
17328         (ibuffer-occur-props, ibuffer-occur-mode): Delete.
17329         (ibuffer-occur-mouse-display-occurence): Delete.
17330         (ibuffer-occur-goto-occurence, ibuffer-occur-display-occurence)
17331         (ibuffer-do-occur-1, ibuffer-occur-revert-buffer-function): Delete.
17332         (ibuffer-occur-engine): Moved to replace.el.
17333         (ibuffer-do-occur): Simply call `occur-1'.
17335         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17336         Handle the case where we're already viewing the score file.
17338 2002-04-23  Andreas Schwab  <schwab@suse.de>
17340         * menu-bar.el (menu-bar-goto-menu): Fix bindings for next-tag and
17341         next-tag-otherw.
17343 2002-04-23  Miles Bader  <miles@gnu.org>
17345         * menu-bar.el (menu-bar-update-buffers-1): Don't display a
17346         directory separator if there's no directory.  Don't display
17347         directories at all if uniquify is active.  Some code cleanup.
17348         (uniquify-buffer-name-style): Declare (but don't initialize).
17350         * menu-bar.el (menu-bar-update-buffers): Don't use constant lists
17351         for command menu entries, since the low-level menu code modifies
17352         them.  Cache the resulting list.
17353         (menu-bar-buffers-menu-command-entries): New variable.
17355         * menu-bar.el (menu-bar-update-buffers): Add `Select Named Buffer'.
17356         Add separator line before commands
17357         Remove old crufty code that tried to line things up by adding
17358         spaces to entries (it doesn't work).
17359         Move `Frames' submenu after the normal buffers, and add a
17360         separator line before it.
17361         (menu-bar-buffers-menu-list-buffers-entry): Variable removed.
17363 2002-04-22  Richard M. Stallman  <rms@gnu.org>
17365         * files.el (after-find-file): Use %s to output MSG.
17367         * dired.el (dired-mouse-find-file-other-window):
17368         Handle events that move out of the window.
17370 2002-04-23  Martin Stjernholm  <bug-cc-mode@gnu.org>
17372         * progmodes/cc-cmds.el (c-mask-comment): Fixed bug where point
17373         was moved to the following line when it was at the first line
17374         of a block comment where comment-start-skip matched to eol.
17376 2002-04-22  Richard M. Stallman  <rms@gnu.org>
17378         * simple.el (line-move-finish): Find beg and end of line
17379         before calling line-move-to-column.  Do consider intangible
17380         when finding the end.  Take more care in analyzing the results
17381         of intangibility after line-move-to-column.
17383 2002-04-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
17385         * international/mule-diag.el (list-input-methods-1): Doc fix
17386         (LEIM is now part of the standard distribution).
17388         * tmm.el (tmm-completion-prompt): Doc fix.
17390         * hilit-chg.el (global-highlight-changes): Capitalize status texts.
17392 2002-04-22  Edward M. Reingold  <reingold@emr.cs.iit.edu>
17394         * diary-lib.el (include-other-diary-files): Allow modifying
17395         included buffer, to turn off selective display.
17397 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17399         * progmodes/cc-mode.el: (c-define-abbrev-table): New function to
17400         pass the SYSTEM-FLAG to `define-abbrev' in a way that works in
17401         emacsen that doesn't support it.
17403 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17405         * progmodes/cc-align.el, progmodes/cc-engine.el,
17406         progmodes/cc-styles.el, progmodes/cc-vars.el
17407         (c-guess-basic-syntax, c-lineup-topmost-intro-cont):
17408         Find correct anchor for statement-cont in top level constructs.
17409         Analyze variable initializations in top level constructs as
17410         topmost-intro-cont instead of statement-cont.  That is an
17411         incompatible change but it gives better consistency.  The new
17412         lineup function c-lineup-topmost-intro-cont' compensates for
17413         it and is now put on topmost-intro-cont by default.
17415         * progmodes/cc-align.el, progmodes/cc-engine.el,
17416         progmodes/cc-langs.el (c-lineup-argcont): Lineup function
17417         contributed by Kevin Ryde.
17419         (c-in-gcc-asm-p): Function to recognize asm statements.
17420         Contributed by Kevin Ryde.
17422         (c-opt-asm-stmt-key): New language variable to recognize the
17423         beginning of asm statements.
17425 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17427         * progmodes/cc-engine.el (c-guess-basic-syntax):
17428         Detect variable declarations after class and struct declarations
17429         correctly.  Fixed limit error when finding the anchor for
17430         template-args-cont and topmost-intro-cont.
17432 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17434         * progmodes/cc-cmds.el (c-beginning-of-defun)
17435         (c-declaration-limits): Find the "line oriented" declaration
17436         start too, just like the "line oriented" end is found.
17438 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17440         * progmodes/cc-vars.el (c-offsets-alist): A more sane default
17441         for `inexpr-statement'.  This is not compatible, though.
17442         I think the benefit of a good default style outweights that in
17443         this case.  Besides, `inexpr-statement' is not very common.
17445 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17447         * progmodes/cc-cmds.el (c-electric-delete-forward):
17448         Fix silly bug that caused it to delete backwards in hungry delete
17449         mode.  (It's amazing that this bug hasn't been reported.)
17451         * progmodes/cc-cmds.el (c-declaration-limits, c-mark-function):
17452         Extracted the code to get the declaration limits from
17453         `c-mark-function' to a new `c-declaration-limits'.
17455         (c-indent-defun): Use the same method to get the limits of the
17456         declaration or macro as `c-mark-function'.
17458         * progmodes/cc-engine.el (c-beginning-of-decl-1): Handle brace
17459         list initializers correctly (but costly; it ought to be
17460         integrated into `c-beginning-of-statement-1').
17462 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17464         * progmodes/cc-cmds.el, progmodes/cc-engine.el
17465         (c-beginning-of-defun, c-end-of-defun, c-mark-function):
17466         Rewritten to detect the declaration limits better.
17467         Now handles K&R argdecls, class definitions followed by variables etc.
17469         (c-in-knr-argdecl): Broke out the K&R argdecl test in
17470         `c-beginning-of-decl-1' to this new function.
17472         (c-end-of-statement-1, c-end-of-decl-1):
17473         Replace `c-end-of-statement-1' with `c-end-of-decl-1', which correctly
17474         handles declarations that continue after the block.
17476         * progmodes/cc-engine.el (c-syntactic-re-search-forward):
17477         Added an option to restrict matching to the top level of the
17478         current paren sexp.
17480         * progmodes/cc-langs.el (c-opt-block-decls-with-vars-key):
17481         New regexp to recognize declarations that continue after the block.
17483         (c-syntactic-eol): New regexp to match a "syntactic" eol.
17485 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17487         * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
17488         that often caused the backward limit to be lost at the top
17489         level.  This improves performance a bit.
17491         * progmodes/cc-engine.el (c-syntactic-re-search-forward):
17492         New function that works like `re-search-forward' but only returns
17493         matches in syntactically significant text.
17495         * progmodes/cc-engine.el: Fixed a faster and more accurate way
17496         to recognize K&R argdecls.
17498         (c-beginning-of-decl-1): New function that put point at the
17499         beginning of the declaration.  It handles K&R argdecl blocks.
17501         (c-guess-basic-syntax): Replaced the `knr-argdecl' recognition
17502         code with one that doesn't depend on the current indentation.
17503         The anchor position for `knr-argdecl' has also changed, but in
17504         a way that is unlikely to cause compatibility problems.
17506 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17508         * progmodes/cc-defs.el, progmodes/cc-engine.el
17509         (c-forward-comment): `forward-comment' in XEmacs skips over
17510         line continuations in the backward direction.  Correct for
17511         that.  Also made this a defun since it has grown too large now
17512         to be a defsubst.
17514         * progmodes/cc-langs.el: More convenient and decentralized
17515         setup of the language specific variables.  The regexp-opt
17516         mangling is also done at compile time now.
17518 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17520         * progmodes/cc-cmds.el (c-indent-line-or-region):
17521         Call `c-indent-line' directly instead of through
17522         `indent-according-to-mode' so that this function always
17523         indents syntactically.
17525         * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
17526         where a class beginning with a nested class could cause an
17527         infinite loop (the state outside the narrowed out class is
17528         never used now).
17530 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17532         * progmodes/cc-align.el, progmodes/cc-cmds.el,
17533         progmodes/cc-engine.el, progmodes/cc-vars.el: Fixes so that
17534         the context sensitive analysis inside macros is restricted to
17535         the bodies of #define's; other things, like #if expressions,
17536         never have anything in common with their surroundings.
17537         The old `cpp-macro-cont' syntax is now used in situations where
17538         the syntactic analysis isn't applicable, and a new syntactic
17539         element `cpp-define-intro' is used to add indentation in
17540         #define bodies.
17542         (c-lineup-cpp-define): New name for `c-lineup-macro-cont' to
17543         better reflect its use.
17545         * progmodes/cc-engine.el (c-guess-basic-syntax): Ignore line
17546         continuation backslashes in the detection of `arglist-cont-nonempty'.
17548         * progmodes/cc-align.el: Use the vector form in the return
17549         value in all cases where lineup functions return absolute columns.
17551 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17553         * progmodes/cc-engine.el (c-add-stmt-syntax)
17554         (c-guess-basic-syntax): Anchor `brace-list-intro' and
17555         `bracec-list-close' better for brace lists nested inside expressions.
17557         * progmodes/cc-engine.el, progmodes/cc-langs.el,
17558         progmodes/cc-mode.el, progmodes/cc-styles.el: Cleaned up the
17559         various language specific variables and their initialization.
17560         The keyword regexps are now lists that are combined with
17561         regexp-opt.  Some variables have changed names to fit better
17562         with the naming convention.
17564         * progmodes/cc-defs.el, progmodes/cc-vars.el
17565         (c-buffer-is-cc-mode): The value is the mode symbol of the
17566         original CC Mode mode.
17568         (c-major-mode-is): Compare against the buffer local variable
17569         `c-buffer-is-cc-mode', which is faster than using `derived-mode-class'.
17571 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17573         * progmodes/cc-engine.el (c-forward-syntactic-ws)
17574         (c-backward-syntactic-ws, c-forward-token-1)
17575         (c-backward-token-1, c-in-literal, c-literal-limits)
17576         (c-collect-line-comments, c-literal-type, c-on-identifier)
17577         (c-guess-basic-syntax): These functions are now considered part
17578         of the "CC Mode API" and may be used by other code.
17579         That's signified by making their documentation into docstrings.
17581         (c-whack-state, c-hack-state, c-skip-case-statement-forward):
17582         Removed these internal functions since they aren't used.
17584         (c-forward-to-cpp-expression): Classified this function as internal.
17586 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17588         * progmodes/cc-langs.el (c-ObjC-class-key, c-Java-class-key):
17589         Simplified these regexps; the class keywords they contain
17590         ought to be enough to avoid false matches, so checking for
17591         following identifiers etc is just unnecessary (and might also
17592         fail for oddly formatted code).
17594 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17596         * progmodes/cc-engine.el, progmodes/cc-cmds.el
17597         (c-forward-comment-lc): New function that behaves like
17598         `c-forward-comment', with the exception that line
17599         continuations are treated as whitespace.
17601         (c-beginning-of-statement): Use `c-forward-comment-lc', to
17602         work correctly in macros and other places where line
17603         continuations should be treated as whitespace.
17605         * progmodes/cc-engine.el (c-guess-basic-syntax): Analyze a
17606         normal label in a switch block as a case label, to get
17607         consistent lineup with the case labels.
17609         * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
17610         in skipping over a macro that ends with an empty line.
17612         * progmodes/cc-styles.el: Require cc-align since styles added
17613         with `c-add-style' often contains references to functions
17614         defined there, and so the `c-valid-offset' check might
17615         otherwise complain on them.
17617 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17619         * progmodes/cc-align.el, progmodes/cc-mode.texi,
17620         progmodes/cc-vars.el: Added two new lineup functions:
17622         (c-lineup-knr-region-comment): A new lineup function to get
17623         (what most people think is) better indentation of comments in
17624         the "K&R region" between the function header and its body.
17626         (c-lineup-gcc-asm-reg): New lineup function for better
17627         indentation inside gcc asm blocks.  Contributed by Kevin Ryde.
17629         (c-offsets-alist): Use `c-lineup-gcc-asm-reg' and
17630         `c-lineup-knr-region-comment' in the default offset
17631         configuration, since these two functions have little impact
17632         outside their intended use, and they generally do the right
17633         thing when they kick in.
17635         * progmodes/cc-engine.el (c-guess-continued-construct)
17636         (c-guess-basic-syntax): Handle nested functions in all
17637         languages, not just Pike.  In C and C++ there's a gcc
17638         extension for this, and it also gives better treatment of
17639         macros that are followed by blocks.
17641         * progmodes/cc-langs.el (c-symbol-key): Made this variable
17642         mode specific, to handle Pike special symbols like `== better.
17644 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17646         * progmodes/cc-cmds.el, progmodes/cc-engine.el,
17647         progmodes/cc-vars.el (c-report-syntactic-errors): A new
17648         variable to control the syntactic error messages.  It defaults
17649         to off; since CC Mode ignores most syntactic errors it might
17650         as well ignore them all for the sake of consistency.
17652 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17654         * progmodes/cc-engine.el (c-looking-at-inexpr-block):
17655         Optimization.  Can give a noticeable speedup if there's a
17656         large preceding function or class body.
17658 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17660         * progmodes/cc-align.el, progmodes/cc-cmds.el: Use more
17661         efficient and correct insertion functions in many places.
17662         Always inherit text properties correctly if the text is
17663         permanent.  Also do it for speed in temporary insertions,
17664         since I figure it's less work to continue the surrounding text
17665         properties than to break them.
17667         * progmodes/cc-styles.el (c-read-offset): Unbind SPC in the
17668         completion to make it easier to enter lists.
17670 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17672         * progmodes/cc-cmds.el (c-beginning-of-defun): Fixed bug where
17673         c-state-cache was clobbered.
17675         * progmodes/cc-cmds.el, progmodes/cc-engine.el
17676         (c-calculate-state): Moved from cc-cmds.el to cc-engine.el due
17677         to dependency.
17679 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17681         * progmodes/cc-engine.el (c-parse-state): Ignore unbalanced
17682         open parens in macros (if point isn't in the same one).
17684 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17686         * progmodes/cc-cmds.el (c-context-open-line): New function
17687         that is the `open-line' equivalent to `c-context-line-break'.
17689         * progmodes/cc-mode.el (c-mode-base-map): Compatibility fix
17690         for Emacs 21 since `indent-new-comment-line' has been changed
17691         to `comment-indent-new-line' there.
17693 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17695         * progmodes/cc-engine.el, progmodes/cc-langs.el
17696         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma):
17697         New variables containing the character sets used to recognize
17698         statement/declaration boundaries.  These variables might help
17699         to support languages like javascript and awk, where newlines
17700         sometimes delimits statements.
17702         (c-crosses-statement-barrier-p): Use `c-stmt-delim-chars' as
17703         the set of statement delimiting characters, to allow it to be
17704         changed dynamically and per-mode.
17706 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17708         * progmodes/cc-engine.el (c-looking-at-bos)
17709         (c-looking-at-inexpr-block, c-add-stmt-syntax)
17710         (c-guess-basic-syntax): Treat blocks directly inside function
17711         calls like "bare" statements inside function calls, and not
17712         like in-expression statements.  This to make indentation of
17713         such blocks consistent with other statements inside macro calls.
17715         * progmodes/cc-engine.el (c-guess-basic-syntax):
17716         Made arglist-cont anchor correctly in arglists that contain statements.
17718         * progmodes/cc-engine.el (c-guess-basic-syntax):
17719         Fixed consistent anchoring of defun-block-intro in defuns in code
17720         blocks (can only occur in Pike).
17722         * progmodes/cc-engine.el (c-looking-at-inexpr-block)
17723         (c-looking-at-inexpr-block-backward): Changed the arguments to
17724         require containing sexps and paren state, for better efficiency.
17726 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17728         * progmodes/cc-cmds.el, progmodes/cc-engine.el,
17729         progmodes/cc-vars.el: Improved anchoring of statement and
17730         handling of labels in front of substatements.
17732         (c-guess-continued-construct, c-guess-basic-syntax):
17733         Improved and unified anchoring at statements.  Statements beginning
17734         with comments or labels are now avoided, by going out of
17735         blocks and containing statements if necessary.  This nesting
17736         handling also fixes the case when there's a statement after a
17737         block open brace.  Added the syntactic symbol `substatement-label'.
17739         (c-electric-colon): Map the new `substatement-label' to
17740         `label' when consulting `c-hanging-colons-alist'.
17742         (c-offsets-alist): Added substatement-label.  Updated the
17743         comments for the new anchoring positions at statements.
17745         * progmodes/cc-engine.el (c-guess-basic-syntax): Use more sane
17746         anchor points for knr-argdecl-intro and access-label.
17747         They used to refer to some point on the same line, a bug which was
17748         neutralized by a kludge in `c-get-syntactic-indentation' which
17749         ignored such anchor points.
17751         (c-get-syntactic-indentation): Removed the kludge that was
17752         necessary due to buggy anchor points.
17754         * progmodes/cc-engine.el (c-guess-basic-syntax): Do not check
17755         the absence of a comma before arglist-close (case 7A) in any
17756         language, since there's nothing better to do that case anyway.
17757         Added special case to make in-expression statements be
17758         recognized as normal arglist-cont if we're directly in a macro
17759         arglist, for consistency with other "bare" statements.
17761         * progmodes/cc-engine.el (c-looking-at-bos): Added optional
17762         limit arg for backward searches.
17764         * progmodes/cc-engine.el (c-looking-at-inexpr-block):
17765         Anchor gcc in-expression statements at the surrounding open
17766         parenthesis.  Treat a class body as an in-expression class if
17767         it's used in an object clone expression in Pike.
17769         * progmodes/cc-engine.el (c-get-offset)
17770         (c-get-syntactic-indentation): Allow several anchor positions
17771         in the list of syntactic symbols.  Only the first is used as
17772         the base for the offset calculation.
17774 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17776         * progmodes/cc-cmds.el (c-indent-defun): Indent the current
17777         macro if inside one at the top level.  Do not throw an error
17778         if used at the top level outside a macro.
17780         * progmodes/cc-cmds.el (c-backslash-region): Do tab width
17781         alignment only if the backslashes can't be aligned with
17782         surrounding backslashes.
17784         * progmodes/cc-engine.el (c-end-of-macro): New function.
17786         * progmodes/cc-engine.el (c-least-enclosing-brace):
17787         Rewritten to not be destructive.
17789 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17791         * progmodes/cc-cmds.el (c-context-line-break): Only do a macro
17792         line break when point is inside the content of it; if it's in
17793         the cpp keyword a normal line break is done.
17795         * progmodes/cc-engine.el (c-guess-basic-syntax): Do not add
17796         cpp-macro-cont inside the argument list to a #define.
17798 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17800         * progmodes/cc-defs.el (c-forward-comment): Implemented a
17801         kludge to avoid the problem most forward-comment incarnations
17802         have with `\' together with comment parsing.
17804 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17806         * progmodes/cc-engine.el (c-check-state-cache): Fixed bug
17807         which could cause the state returned by `c-parse-state' to
17808         lack a closed paren element.  That in turn could result in
17809         very long searches, since it's common that they start from the
17810         last preceding close brace.
17812 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17814         * progmodes/cc-engine.el (c-beginning-of-statement-1): Do not
17815         treat else-if as a single continuation, since that'd make it
17816         hard to get the right anchor point when there's a line break
17817         between the two keywords.  This change causes else-clause to
17818         be anchored on the closest preceding else-if and not always on
17819         the starting if, but that doesn't affect the indentation for
17820         any reasonably sane style.  Also introduced a noerror flag.
17822         (c-beginning-of-closest-statement): Removed;
17823         c-beginning-of-statement-1 now avoids the problem this one solved.
17825         * progmodes/cc-engine.el (c-guess-continued-construct)
17826         (c-guess-basic-syntax): Better and more uniform anchor points
17827         for 'statement-cont and 'substatement.  The effect is
17828         noticeable mostly when there's a label on the same line as the
17829         beginning of the statement, or when there are more stuff
17830         before the start of the statement.
17832         * progmodes/cc-engine.el (c-looking-at-inexpr-block):
17833         Added flag to disable looking at the type of the surrounding paren
17834         since that confuses c-beginning-of-statement-1 and a couple of
17835         other places.
17837         * progmodes/cc-engine.el (c-guess-basic-syntax):
17838         Avoid stepping to the previous statement in case 18.
17839         Improvements in recognition of statement blocks on the top level.
17841 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17843         * progmodes/cc-engine.el (c-beginning-of-statement-1)
17844         (c-crosses-statement-barrier-p): Rewritten to get a well
17845         defined and documented behavior.  This fixes some tricky cases
17846         in recognition of do-while constructs.
17848         (c-backward-to-start-of-do, c-backward-to-start-of-if):
17849         Removed; use c-beginning-of-statement-1 instead.
17851         (c-guess-continued-construct, c-guess-basic-syntax):
17852         Various fixes to not depend on the bugs previously in
17853         c-beginning-of-statement-1.  Cleanups in cases 18 and 17 to
17854         use the new behavior of c-beginning-of-statement-1 better.
17855         Fixed recognition of catch blocks inside macros.
17857         * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
17858         in skipping over a macro.
17860         * progmodes/cc-langs.el (c-label-kwds): New variable to
17861         contain the appropriate c-*-label-kwds value.
17863         * progmodes/cc-vars.el (defcustom-c-stylevar): Fixed value
17864         evaluation bug that caused the widget for
17865         c-block-comment-prefix to bug out.
17867 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17869         * progmodes/cc-engine.el (c-guess-basic-syntax):
17870         Improved recognition of statements: They are now recognized in
17871         contexts where they normally can't occur, e.g. on the top level or
17872         in function call arguments.  This is mainly useful to recognize
17873         statements in macros at the top level, and in arguments to
17874         macros.  The cases has been moved around quite a bit, and case
17875         10 has been copied to case 18.  (The cases has not been
17876         renumbered because of this.)
17878         (c-guess-continued-construct): New function which has the
17879         rules which are common between cases 10 and 18.
17881         * progmodes/cc-engine.el (c-beginning-of-statement-1)
17882         (c-backward-to-start-of-do, c-backward-to-start-of-if):
17883         Fixes so that they really obey the passed limits.
17885         (c-safe-position): Return nil if the state doesn't contain a
17886         suitable position.
17888         (c-guess-basic-syntax): Fixes some too short limits in calls
17889         to c-beginning-of-statement-1.  Some fixes for top level
17890         analysis in ObjC mode.
17892         * progmodes/cc-engine.el (c-beginning-of-statement-1):
17893         Fixed bug in do-while statements where the body is not a block.
17895         * progmodes/cc-styles.el (c-set-style):
17896         Reset c-special-indent-hook to its global value if in override mode.
17897         Fixes problem where functions on that hook remained after
17898         style switch.
17900         * progmodes/cc-engine.el (c-evaluate-offset, c-get-offset):
17901         Use c-benign-error to report the c-strict-syntax-p error.
17903 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17905         * progmodes/cc-align.el, progmodes/cc-defs.el,
17906         progmodes/cc-cmds.el, progmodes/cc-engine.el, cc-vars.el:
17907         Several fixes to treat macros as code and not literals and to
17908         handle line continuations transparently.
17910         (c-skip-ws-forward, c-skip-ws-backward): New macros to skip
17911         through whitespace and line continuations, but not comments
17912         and macros.
17914         (c-in-literal): No longer recognizes macros as literals by
17915         default. An extra flag argument is required to do that.
17917         (c-macro-start, c-query-macro-start)
17918         (c-query-and-set-macro-start): Added a cache for the macro
17919         start position.
17921         (c-forward-syntactic-ws, c-backward-syntactic-ws): Fixes for
17922         more speed when limits are given.  Workaround for bad behavior
17923         in forward-comment in some emacsen when it hits a buffer limit
17924         with a large repeat count.
17926         (c-lineup-macro-cont): Improved behavior when
17927         c-syntactic-indentation-in-macros is nil.
17929         (c-syntactic-indentation-in-macros, c-backslash-max-column)
17930         (c-auto-align-backslashes): New customization variables to
17931         control macro handling.
17933         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
17934         Fixes to handle line continuations.
17936         * progmodes/cc-defs.el, progmodes/cc-styles.el
17937         (c-get-style-variables, c-set-offset): Report style errors
17938         with message and ding instead of error signal.  This to avoid
17939         interrupted mode init if there's some style problem.
17941         (c-benign-error): New macro to report errors that doesn't need
17942         to interrupt the operation.
17944         * progmodes/cc-defs.el (c-point): Added eonl and eopl positions.
17946 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17948         * progmodes/cc-cmds.el (c-electric-brace, c-indent-region):
17949         Removed most of the c-state-cache fiddling, since the global
17950         state cache now handles this.
17952         * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
17953         when there's an open paren at the very first char of the
17954         visible buffer region.
17956         * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
17957         Cache the state globally and invalidate it below every buffer
17958         change with the new after change function
17959         `c-check-state-cache'.  This gives a considerable performance
17960         boost when editing large functions or classes.
17962         * progmodes/cc-engine.el (c-whack-state-after): Slight optimization.
17964 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17966         * progmodes/cc-engine.el, progmodes/cc-langs.el,
17967         progmodes/cc-align.el: Improvements to syntactic analysis
17968         inside macros:
17970         (c-block-stmt-1-kwds, c-block-stmt-2-kwds): New variables used
17971         by `c-guess-basic-syntax'.
17973         (c-parse-state): Fixed bug with braces inside macros when
17974         using cached state info.
17976         (c-forward-to-cpp-expression): New function to aid in
17977         syntactic analysis inside macros.
17979         (c-beginning-of-statement-1, c-backward-syntactic-ws):
17980         Fixes to work better inside macros.
17982         (c-forward-syntactic-ws): Whitespace between the # and the
17983         command should be allowed in preprocessor directives.
17985         (c-lineup-macro-cont): New lineup function to get context
17986         sensitive indentation inside macros.
17988         (c-offsets-alist): Made `c-lineup-macro-cont' the default for
17989         cpp-macro-cont.
17991 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17993         * progmodes/cc-engine.el (c-beginning-of-statement-1)
17994         (c-forward-syntactic-ws): Fixes to handle continued lines.
17996         (c-backward-to-start-of-if, c-guess-basic-syntax):
17997         Do syntactic analysis inside macros.
17999 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18001         * progmodes/cc-cmds.el (c-indent-region): Did a speedup made
18002         possible by the more flexible state cache.
18004         * progmodes/cc-engine.el (c-parse-state, c-whack-state-before)
18005         (c-whack-state-after, c-hack-state)
18006         (c-narrow-out-enclosing-class, c-guess-basic-syntax):
18007         Improved the state cache system.  It now can use partial info from
18008         an old cached state to calculate a new one at a different
18009         position.  Removed some kludges to avoid the state cache.
18010         The new functions `c-whack-state-before' and `c-whack-state-after'
18011         replace the now obsolete `c-whack-state'.
18013         * progmodes/cc-engine.el (c-beginning-of-statement-1):
18014         Optimized backing through a macro.  This can speed things up
18015         quite a bit when there are long macros before point.
18017         (c-beginning-of-macro): Do not ignore the limit.
18019 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18021         * progmodes/cc-cmds.el (c-electric-continued-statement):
18022         Fixed a bug where the keyword wasn't reindented correctly if
18023         followed by another keyword or identifier.
18025         * progmodes/cc-engine.el (c-parse-state): Ignore closed brace
18026         pairs that are in macros.  Fixes some cases where e.g. the
18027         second of two "do { } while (0)" macros after each other
18028         indented differently.
18030 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18032         * progmodes/cc-engine.el (c-beginning-of-macro)
18033         (c-forward-syntactic-ws): Recognize "#!" as a preprocessor
18034         directive when it begins a line, to allow for script
18035         interpreter lines like "#!/usr/bin/pike" at the beginning of
18036         the file.
18038 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18040         * progmodes/cc-engine.el (c-looking-at-inexpr-block):
18041         Recognize brace blocks inside a parenthesis expression as
18042         inexpr-statement.  Useful when writing statements as macro arguments.
18044 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18046         * progmodes/cc-cmds.el (c-fill-paragraph, c-do-auto-fill)
18047         (c-mask-comment): Broke out the comment masking code from
18048         `c-fill-paragraph' to a new function `c-mask-comment', to be
18049         able to do the same thing in `c-do-auto-fill'.  This should
18050         make auto-fill-mode behave better.
18052 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18054         * progmodes/cc-cmds.el (c-electric-brace, c-electric-paren):
18055         Check `executing-macro' to avoid blinking parens when macros
18056         are executed.
18058         * progmodes/cc-mode.el, progmodes/cc-styles.el
18059         (c-setup-filladapt): Moved from cc-mode.el to cc-styles.el for
18060         consistency with `c-setup-paragraph-variables' (which was
18061         placed there due to the dependency from `c-set-style').
18063         * progmodes/cc-styles.el, progmodes/cc-vars.el: Fixed bug with
18064         incomplete initialization from the style variable fallbacks if
18065         there already is a style called "user" defined when CC Mode
18066         starts up for the first time.
18068 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18070         * progmodes/cc-cmds.el, progmodes/cc-vars.el
18071         (c-comment-indent, c-indent-comment-alist): Added new variable
18072         `c-indent-comment-alist' to allow better control over
18073         `c-comment-indent'.
18075 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18077         * progmodes/cc-align.el (c-lineup-C-comments): Try to match
18078         both `comment-start-skip' and the comment prefix on the
18079         current line with the comment starter, so that we line up
18080         comments which matches `c-comment-prefix-regexp' on the first
18081         line (after the `/') without the need to make
18082         `comment-start-skip' match whatever `c-comment-prefix-regexp' matches.
18084         * progmodes/cc-mode.el, progmodes/cc-styles.el (c-common-init)
18085         (c-set-style-1, c-setup-paragraph-variables): Moved the
18086         variable initialization based on `c-comment-prefix-regexp' to
18087         a new function `c-setup-paragraph-variables', which is now
18088         used both at mode init and when a style that sets
18089         `c-comment-prefix-regexp' is activated.
18091 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18093         * progmodes/cc-engine.el (c-beginning-of-member-init-list):
18094         Better handling of C++ template args to avoid confusion with
18095         `<' and `>' used as operators in member init expressions.
18097 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18099         * progmodes/cc-engine.el (c-most-enclosing-brace)
18100         (c-least-enclosing-brace): Added optional second arg to limit
18101         the search to before a certain point.
18103         * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
18104         which could cause incorrect analysis if a cached state is used
18105         (usually only happens when an electric key reindents a line).
18107 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18109         * progmodes/cc-defs.el (c-forward-comment): More idiosyncrasy
18110         insulation.  This time for XEmacs 21.
18112         * progmodes/cc-engine.el, progmodes/cc-langs.el:
18113         Improved handling of inheritance lists:
18115         (c-beginning-of-inheritance-list): Rewritten to use a more
18116         syntactically correct method that doesn't get confused by
18117         badly placed linebreaks and comments.
18119         (c-guess-basic-syntax): Several fixes to the handling of
18120         inheritance lists in combination with templates.  'inher-intro
18121         is now anchored on the start of the class declaration and not
18122         the indentation of the current line.  Switched places on cases
18123         5D.3 and 5D.4 and made them use more syntactically correct methods.
18125         (c-inher-key): Removed since the code in
18126         `c-guess-basic-syntax' now uses token-based search.
18128         * progmodes/cc-cmds.el, progmodes/cc-mode.el (c-mode-menu):
18129         Added a submenu to access some toggles.
18131         (c-toggle-syntactic-indentation): New function to toggle the
18132         variable `c-syntactic-indentation'.
18134         * progmodes/cc-styles.el (c-set-style): Improved the error
18135         message for incorrect offsets a bit.
18137 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18139         * progmodes/cc-cmds.el (c-indent-exp): Don't require that the
18140         sexp follows point immediately, instead find the closest
18141         following open paren that ends on another line.
18143 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18145         * progmodes/cc-align.el (c-lineup-cascaded-calls):
18146         New indentation function.
18148         * progmodes/cc-engine.el (c-beginning-of-macro): Bugfix for
18149         directives with whitespace between the '#' and the name.
18151 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18153         * progmodes/cc-engine.el (c-forward-syntactic-ws)
18154         (c-backward-syntactic-ws): Handle line continuations as
18155         whitespace.  Don't move past a macro if that'd take us past
18156         the limit.
18158 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18160         * progmodes/cc-engine.el (c-beginning-of-macro)
18161         (c-forward-syntactic-ws): Multiline strings begin with `#"' in
18162         Pike, and that shouldn't be confused with a preprocessor directive.
18164 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18166         * progmodes/cc-cmds.el: Extended the kludge to interoperate
18167         with the delsel and pending-del packages wrt to the new
18168         function `c-electric-delete-forward'.
18170 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18172         * progmodes/cc-cmds.el (c-indent-exp): Keep the indentation of
18173         the block itself, i.e. only indent the contents in it.
18175         * progmodes/cc-styles.el (c-set-style): Use the default
18176         argument to completing-read instead of initial-contents, if
18177         the function is recent enough to support it.
18179 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18181         * progmodes/cc-mode.el (c-mode-help-address):
18182         Removed bug-gnu-emacs@gnu.org from the receiver list for bug reports.
18183         I've almost never seen a bug reported this way that should go
18184         to that list, but it's rather common that the reports concern
18185         the combination CC Mode and XEmacs instead.
18187 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18189         * progmodes/cc-cmds.el (c-electric-paren): Fixed bug when both
18190         brace-elseif-brace and brace-catch-brace are active and
18191         there's a "else if"-block before the catch block.
18193         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
18194         Detect function headers that span lines.
18196 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18198         * progmodes/cc-cmds.el (c-electric-brace)
18199         (c-electric-semi&comma, c-electric-colon, c-electric-paren):
18200         Check for last on line only for doing the auto-newline-mode
18201         stuff, not for the reindentation.
18203         * progmodes/cc-cmds.el (c-electric-brace): Fixed bugs in the
18204         handling of c-syntactic-indentation: When it's nil, indent the
18205         new lines but don't reindent the current one.  Reindent the
18206         line only when the inserted brace comes first on it, instead
18207         of last.
18209         * progmodes/cc-cmds.el (c-electric-brace)
18210         (c-electric-semi&comma): Fixed two places where
18211         c-syntactic-indentation wasn't heeded.
18213         * progmodes/cc-cmds.el (c-electric-pound): Don't be electric
18214         inside a macro.
18216         * progmodes/cc-engine.el (c-backward-to-start-of-if): Try a
18217         little harder to find a fallback position when an orphan else
18218         is found.  Fixed case where an else following a do-while
18219         statement could be associated with an if inside the do-while.
18221 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18223         * progmodes/cc-cmds.el (c-guess-fill-prefix): Tuned the dwim
18224         for the fallback to add a single space after the comment prefix.
18226         * progmodes/cc-cmds.el (c-indent-new-comment-line): Somewhat better
18227         behavior in some special cases, especially for single-line comments.
18228         Avoid breaking up a comment starter or ender.
18230 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18232         * progmodes/cc-cmds.el (c-outline-level): Applied patch from
18233         the Emacs sources to make this work in invisible text.
18235         * progmodes/cc-langs.el (c-switch-label-key): Fixed regexp to
18236         not be confused by a later ':' on the same line as the label.
18238 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18240         * progmodes/cc-cmds.el, progmodes/cc-mode.el
18241         (c-electric-delete, c-electric-delete-forward):
18242         Split `c-electric-delete' into two functions where
18243         `c-electric-delete-forward' always deletes forward and
18244         `c-electric-delete' only contains the code necessary for
18245         XEmacs to choose between backward and forward deletion.
18246         `c-electric-delete-forward' is now bound to C-d to get the
18247         electric behavior on that key too.
18249 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18251         * progmodes/cc-cmds.el (c-fill-paragraph): Fixed bogus direct
18252         use of c-comment-prefix-regexp, which caused an error when
18253         it's a list.
18255 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18257         * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init)
18258         (c-default-style): Removed the hardcoded switch to "java" style
18259         in Java mode.  It's instead taken care of by the default value
18260         for c-default-style.
18262 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18264         * progmodes/cc-align.el (c-lineup-math): Fix bug where lineup
18265         was triggered by equal signs in string literals.
18267 2002-04-21  Kim F. Storm  <storm@cua.dk>
18269         * subr.el (insert-buffer-substring-no-properties): New function.
18270         (insert-buffer-substring-as-yank): New function.
18272 2002-04-21  Glenn Morris  <gmorris@ast.cam.ac.uk>
18274         * scroll-all.el (minor-mode-alist): Fix usage of `scroll-all-mode'.
18275         (scroll-all-page-down-all, scroll-all-page-up-all) Remove `fkey-'
18276         prefix from scroll commands.  Ignore end-of-buffer errors from
18277         other windows.
18278         (scroll-all-check-to-scroll): Remove `fkey-' prefix from scroll
18279         commands.
18280         (scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
18281         New functions.
18283         * files.el: (auto-mode-alist): .f95 files in f90-mode.
18285         * progmodes/fortran.el: (fortran-beginning-do): Make regexp match
18286         a DO statement irrespective of numeric label.
18288 2002-04-20  Glenn Morris  <gmorris@ast.cam.ac.uk>
18290         * files.el (auto-save-file-name-transforms): Doc fix.
18291         Add third element to "uniquify" filenames.
18292         (make-auto-save-file-name): Use new element of
18293         auto-save-file-name-transforms.
18294         * startup.el (command-line): Add third element to
18295         auto-save-file-name-transforms.
18297 2002-04-19  Stefan Monnier  <monnier@cs.yale.edu>
18299         * files.el (file-name-non-special): Don't mangle the 0'th arg and the
18300         return value of file-name-completion and file-name-all-completions.
18302 2002-04-19  Glenn Morris  <gmorris@ast.cam.ac.uk>
18304         * progmodes/f90.el: Update maintainer.
18305         (f90-line-continued): Recognize blank/comment lines embedded in
18306         continuation lines.
18307         (f90-looking-at-program-block-start): No extra indentation after
18308         function or subroutine keyword appears in single quotes.
18310 2002-04-19  Miles Bader  <miles@gnu.org>
18312         * custom.el (customize-mark-to-save, customize-mark-as-set)
18313         (custom-quote): Moved here from `cus-edit.el'.
18314         * cus-edit.el (customize-mark-to-save, customize-mark-as-set)
18315         (custom-quote): Moved to `custom.el'.
18317 2002-04-18  Richard M. Stallman  <rms@gnu.org>
18319         * facemenu.el (list-text-properties-at): Command deleted.
18321         * rect.el (insert-rectangle): Use insert-for-yank.
18323         * register.el (insert-register): Use insert-for-yank.
18324         (describe-register-1): Discard text props in yank-excluded-properties.
18326         * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
18327         Fix parts in construction of `menu-item' item at end.
18329         * mail/mailabbrev.el (mail-mode-abbrev-table): Delete defvar.
18331         * subr.el (insert-for-yank): New function.
18333         * simple.el (yank-excluded-properties): New user option.
18334         (yank-pop, yank): Use insert-for-yank.
18336 2002-04-19  Kim F. Storm  <storm@cua.dk>
18338         * simple.el (pop-to-mark-command): Do not set this-command.
18339         (set-mark-command): Always jump to mark when called with arg.
18341 2002-04-18  Francesco Potort\e,Al\e(B  <pot@gnu.org>
18343         * comint.el (comint-watch-for-password-prompt): Remove whitespace
18344         at the beginning of password prompts.
18346 2002-04-18  Andrew Innes  <andrewi@gnu.org>
18348         * facemenu.el: Remove require of wid-edit.
18350 2002-04-17  Colin Walters  <walters@verbum.org>
18352         * ibuffer.el (ibuffer-visit-buffer): Optionally allow reducing to
18353         one window.
18354         (ibuffer-visit-buffer-1-window): Simply call `ibuffer-visit-buffer'.
18355         (ibuffer-current-state-list): Reinstate optional argument; now
18356         just call `point' inside the mapping function.
18358 2002-04-17  Francesco Potort\e,Al\e(B  <pot@gnu.org>
18360         * dired-aux.el (dired-star-subst-regexp)
18361         (dired-quark-subst-regexp): New constants.
18362         (dired-do-shell-command, dired-shell-stuff-it): Use them.
18363         (dired-do-shell-command): Raise an error if both `*' and `?'
18364         substitution marks are used in the same command.
18365         (dired-shell-stuff-it): Substitute all instances of `*' and `?'
18366         in a command given via dired-do-shell-command.
18368         * comint.el (comint-password-prompt-regexp): Match "Repeat passphrase".
18370 2002-04-16  Jason Rumney  <jasonr@gnu.org>
18372         * international/mule-cmds.el (locale-preferred-coding-systems):
18373         Add "jpn".
18375 2002-04-16  Eli Zaretskii  <eliz@is.elta.co.il>
18377         * term.el (term-emulate-terminal): Fix last change.
18379 2002-04-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18381         * bindings.el (mode-line-mode-menu): Update names to reflect
18382         latest changes.
18384 2002-04-16  Mike Williams  <mdub@bigfoot.com>
18386         * textmodes/sgml-mode.el (sgml-at-indentation-p): Move to fix
18387         compilation error.
18389 2002-04-16  Michael Kifer  <kifer@cs.stonybrook.edu>
18391         * viper-ex.el: Patch by Samuel Padgett. Copyright papers received.
18392         (viper-ex-print-buf-name): New variable.
18393         (viper-ex-print-buf): New variable.
18394         (ex-token-alist): Invoke ex-print on ":print" Ex commands.
18395         (ex-g-marks): New variable.
18396         (ex-print): New function.
18397         (ex-print-display-lines): New function.
18399         * viper.el (viper-set-hooks): Add window-setup-hook, which sets
18400         the cursor color.
18402         * ediff-util.el (ediff-cleanup-mess): Delete ctl window on exit
18403         when the window is not in its own frame.
18404         (ediff-clone-buffer-for-region-comparison): More robust window
18405         arrangement while prompting for regions to compare.
18406         (ediff-make-cloned-buffer): Use generate-new-buffer-name.
18407         (ediff-inferior-compare-regions): Deleted unused vars
18408         ctl-buf and quit-now.
18410 2002-04-15  Richard M. Stallman  <rms@gnu.org>
18412         * facemenu.el (facemenu-add-new-face): Use this only for faces.
18413         Delete arg MENU.
18414         (facemenu-add-new-color): New function.
18415         (facemenu-set-foreground, facemenu-set-background):
18416         Use facemenu-add-new-color.
18418 2002-04-15  Eli Zaretskii  <eliz@is.elta.co.il>
18420         * ediff-init.el (ediff-current-diff-face-A)
18421         (ediff-current-diff-face-B, ediff-current-diff-face-C)
18422         (ediff-current-diff-face-Ancestor, ediff-fine-diff-face-A)
18423         (ediff-fine-diff-face-B, ediff-fine-diff-face-C)
18424         (ediff-fine-diff-face-Ancestor, ediff-even-diff-face-A)
18425         (ediff-even-diff-face-B, ediff-even-diff-face-C)
18426         (ediff-even-diff-face-Ancestor, ediff-odd-diff-face-A)
18427         (ediff-odd-diff-face-B, ediff-odd-diff-face-C)
18428         (ediff-odd-diff-face-Ancestor): Add special color definitions for
18429         tty and MS-DOS displays.
18431 2002-04-15  Andrew Innes  <andrewi@gnu.org>
18433         * facemenu.el: Require wid-edit.
18435 2002-04-15  Miles Bader  <miles@gnu.org>
18437         * faces.el (highlight): Force foreground to be black on a tty, so
18438         this face is readable on a dark-background tty.
18439         * wid-edit.el (widget-field-face, widget-single-line-field-face):
18440         Likewise.
18442 2002-04-14  Kim F. Storm  <storm@cua.dk>
18444         * simple.el (pop-to-mark-command, push-mark-command): New commands.
18445         (set-mark-command): Use them.
18446         Enhanced functionality when command is repeated:
18447         - If first command set the mark (no prefix arg), repeat temporarily
18448         enables transient-mark-mode.
18449         - If first command jumped to mark off ring (with argument),
18450         repeat (with or without arg) jump to next mark off ring.
18451         - Use C-u C-u prefix to set mark after jump.
18452         (exchange-point-and-mark): Temporarily enable transient-mark-mode
18453         if prefix arg.
18455 2002-04-14  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18457         * speedbar.el (speedbar-tag-hierarchy-method)
18458         (speedbar-toggle-updates, speedbar-toggle-images): Doc fixes.
18460 2002-04-14  Mike Williams  <mdub@bigfoot.com>
18462         * textmodes/sgml-mode.el (sgml-parse-tag-backward): Fix to work at
18463         beginning of buffer.
18465 2002-04-14  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18467         * speedbar.el (speedbar-generic-item-info)
18468         (speedbar-sort-tags): Doc fix.
18469         (speedbar-add-supported-extension): Fix typo in interactive spec.
18471 2002-04-13  Colin Walters  <walters@verbum.org>
18473         * ibuffer.el (ibuffer-forward-line): Just skip header if we're
18474         only moving one line forward.
18475         (ibuffer-map-lines): Preserve point position even if we delete
18476         lines.  Only call mapping functions with buffer and mark
18477         arguments; the other two were unused.
18478         (ibuffer-redisplay, ibuffer-update): Always skip special areas.
18480         * ibuf-macs.el, ibuf-ext.el: Update callers of `ibuffer-map-lines'.
18482         * calc/calc-bin.el (math-format-radix-float): Use `when'.
18484         * calc/calc.el (math-format-number): Load `calc-ext' before we
18485         call `math-group-float'.
18487         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18488         Renamed from `gamegrid-add-score'.
18489         (gamegrid-add-score-insecure): Restored from the old
18490         `gamegrid-add-score'.
18491         (gamegrid-add-score): Just dispatch on `system-type' to one of the
18492         previous two functions.
18494 2002-04-13  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18496         * iswitchb.el: Update commentary to include new function
18497         iswitchb-exclude-nonmatching.
18499 2002-04-12  John Wiegley  <johnw@gnu.org>
18501         * eshell/esh-ext.el (eshell-script-interpreter): Fix for CRLF
18502         operating systems to the regexp used to detect a script's interpreter.
18504 2002-04-12  Eli Zaretskii  <eliz@is.elta.co.il>
18506         * frame.el (frames-on-display-list): Use `equal' to compare the
18507         `display' frame parameter to the argument DISPLAY.
18509 2002-04-12  Dave Love  <fx@gnu.org>
18511         * help.el (string-key-binding): Deal with margin events.
18513 2002-04-12  Francesco Potort\e,Al\e(B  <pot@gnu.org>
18515         * comint.el (comint-password-prompt-regexp): Match " SMB password".
18517 2002-04-11  Stefan Monnier  <monnier@cs.yale.edu>
18519         * sort.el (sort-reorder-buffer): Don't assume point-min == 1.
18521         * xt-mouse.el (xterm-mouse-mode): Use define-minor-mode.
18523         * emacs-lisp/lucid.el (device-class, buffer-syntactic-context)
18524         (buffer-syntactic-context-depth): New funs.
18526         * emacs-lisp/edebug.el (edebug-eval-defun): Don't use defconst
18527         on variables.
18529         * emacs-lisp/debug.el (debug-on-entry): Use push.
18530         (debugger-make-xrefs): Don't assume point-min == 1.
18532         * progmodes/cc-engine.el (c-backward-to-start-of-if):
18533         Don't assume point-min == 1.
18535         * progmodes/etags.el (etags-verify-tags-table, etags-snarf-tag)
18536         (etags-list-tags, etags-tags-apropos, select-tags-table):
18537         Don't assume point-min == 1.
18539 2002-04-12  Mike Williams  <mdub@bigfoot.com>
18541         * textmodes/sgml-mode.el (sgml-guess-indent): New function.
18543 2002-04-11  Stefan Monnier  <monnier@cs.yale.edu>
18545         * textmodes/fill.el (fill-context-prefix): Fix up last change.
18547         * simple.el (line-move): Use memq rather than or.
18548         (transpose-sexps): Don't presume as much of forward-sexp's behavior.
18549         (do-auto-fill): Use fill-move-to-break-point.
18550         (syntax-code-table): Remove.
18552         * textmodes/fill.el (canonically-space-region): Obey sentence-end.
18553         Don't add spaces at end of sentences at end of line.
18554         (fill-move-to-break-point): Make sure the result is always greater
18555         than linebeg, so we ensure forward progress.
18556         (fill-region-as-paragraph): Compare to `to' rather than eobp.
18557         (fill-paragraph): Don't rebind fill-paragraph-function.
18559 2002-04-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18561         * menu-bar.el (menu-bar-adv-search-menu): Add incremental search.
18563 2002-04-11  Andreas Schwab  <schwab@suse.de>
18565         * files.el (file-name-non-special): Handle return value of t from
18566         `file-name-completion'.
18568 2002-04-10  Stefan Monnier  <monnier@cs.yale.edu>
18570         * textmodes/fill.el (fill-context-prefix): Match the two prefixes
18571         differently to avoid pathological exponential-time case.
18572         (adaptive-fill-regexp): Add ! and %.
18573         (fill-delete-prefix): Remove indentation while removing prefix.
18574         (fill-delete-newlines): Obey sentence-end.
18575         (fill-move-to-break-point, fill-newline): New functions extracted
18576         from fill-region-as-paragraph.
18577         (fill-region-as-paragraph): Use them.
18578         Don't fiddle with fill-indent-according-to-mode.
18580 2002-04-10  Colin Walters  <walters@verbum.org>
18582         * play/snake.el (snake-score-file): Default to just "snake-scores".
18584         * play/tetris.el (tetris-score-file): Likewise.
18586         * play/gamegrid.el (gamegrid-add-score): Rewrite from scratch to
18587         use `update-game-score'.
18589         * ibuffer.el (ibuffer-canonicalize-state-list): Delete unused function.
18590         (ibuffer-current-buffers-with-marks): Don't call `buffer-list'
18591         ourselves; take it as an argument.  Caller updated.
18592         (ibuffer-mode): Make mode-class special.
18594 2002-04-10  Richard M. Stallman  <rms@gnu.org>
18596         * dired.el (dired-view-command-alist): New variable.
18597         (dired-view-file): Use external viewers for some files names.
18599         * mouse.el (mouse-drag-region-1): Display region highlight
18600         only in the selected window.
18602         * subr.el (remove-hook): When there are no more local hooks,
18603         kill the buffer-local value.
18605         * isearch.el (isearch-mode): Don't call make-frame-visible
18606         if frame is already visible.
18608         * cus-face.el (custom-face-attributes): Fix typo in `ultra-bold'.
18610 2002-04-09  Emmanuel Briot  <briot@act-europe.fr>
18612         * progmodes/ada-prj.el: Add support for the new project file
18613         fields: gnatfind-opt, debug-pre-cmd and debug-post-cmd.
18614         Fix widget handling for Emacs 21.  ada-mode now only supports a single
18615         active project file, instead of one per buffer.  This is far less
18616         confusing.
18618         * progmodes/ada-stmt.el: Menu changed from Statements to Templates.
18619         (ada-func-or-proc-name): Get real subprogram name, after change in
18620         ada-mode.el.
18622         * progmodes/ada-xref.el: Ada-mode no longer supports a different
18623         project file per buffer.  This was too complex.  Instead, there is
18624         now a single active project file at any given time, and the user
18625         can switch the active one through the Ada menu.  This revision
18626         also provides better handling of the Windows command line, and the
18627         various available shells on that platform.  ada-mode is now fully
18628         integrated with the GNU visual debugger gvd, see
18629         http://libre.act-europe.fr.
18630         (ada-prj-default-comp-opt): Use the new GNAT switch -gnatQ.
18631         This is only available with GNAT 3.14.
18632         (ada-prj-gnatfind-switches, ada-cd-command): New variable.
18633         (ada-quote-cmd): New function.
18634         (ada-initialize-runtime-library): Get the location of the actual
18635         runtime the compiler will be using, including support for
18636         cross-platform environments.
18637         (ada-treat-cmd-string): Add support for the new variable
18638         ${full_current} add support for debug-pre-cmd and debug-post-cmd,
18639         two commands to run just prior to running the debugger, and just
18640         after starting it.  This provide better support for cross-platform
18641         and remote debugging.
18642         (ada-get-absolute-dir): Remove, replace with expand-file-name.
18643         (ada-gdb-application): New parameter executable-name.
18644         (ada-get-ali-file-name): Better handling of separate packages.
18645         Checkin on behalf of the ada-mode maintainer.
18647         * progmodes/ada-mode.el (ada-case-exception-file)
18648         (ada-indent-handle-comment-special): New variables.
18649         (ada-case-exception-substring): New variable.  Casing exceptions
18650         can now also be defined for substrings, in addition to full
18651         identifier names.  This provides more flexibility.
18652         (ada-align-list): New fun, provide support for align.el in ada-mode.
18653         (ada-procedure-start-regexp): Add support for operators and
18654         generic formal subprograms and packages.
18655         (ada-imenu-comment-re): New variable.
18656         (ada-imenu-generic-expression): Add support for protected types.
18657         (ada-mode): Set comment-start only after running ada-mode-hook, so
18658         that the user can change ada-comment-start in the hook.
18659         Add support for ispell in comments.  Add support for align.el.
18660         (ada-save-exception-file, ada-create-case-exception-substring)
18661         (ada-adjust-case-substring): New functions.
18662         (ada-get-current-indent): Properly handles keywords with uppercases.
18663         (ada-goto-matching-end): Rewritten, fixes problems in the handling
18664         of nested blocks.
18665         (ada-untab-hard): Do not touch the contents of comments and strings.
18667 2002-04-09  Mike Williams  <mdub@bigfoot.com>
18669         * textmodes/sgml-mode.el (sgml-lexical-context):
18670         Use sgml-parse-tag-backward to find start point.
18671         (sgml-looking-back-at): Doc fix.
18673 2002-04-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18675         * isearch.el (isearch-message-prefix): Use minibuffer-prompt face
18676         for prompt.
18678 2002-04-08  Stefan Monnier  <monnier@cs.yale.edu>
18680         * autorevert.el (auto-revert-mode, global-auto-revert-mode):
18681         Use define-minor-mode.
18682         (auto-revert-buffers): Use with-current-buffer.
18683         Avoid changing the minor modes.
18685         * international/iso-acc.el (iso-accents-accent-key): Use `vector'
18686         rather than char-to-string since last-input-char can be any event.
18688         * international/titdic-cnv.el (tit-dictionary):
18689         Use defvar for non-constants.
18691         * progmodes/cwarn.el (global-cwarn-mode): Use define-minor-mode.
18692         (global-cwarn-mode): Use easy-mmode-define-global-mode.
18693         (cwarn-font-lock-keywords): New function.
18694         Replaces cwarn-font-lock-remove-keywords cwarn-font-lock-add-keywords.
18695         (cwarn-font-lock-match): New macro.
18696         (cwarn-font-lock-match-assignment-in-expression)
18697         (cwarn-font-lock-match-dangerous-semicolon)
18698         (cwarn-font-lock-match-reference): Use it.
18700         * progmodes/cperl-mode.el (cperl-make-face, cperl-force-face):
18701         Use defvar rather than defconst since it's meant to be settable.
18702         (cperl-syntax-done-to): Don't hardcode 1 as (point-min).
18703         (cperl-fix-line-spacing): Add missing \ in [ t].
18705         * loadup.el: Call ucs-unify-8859 directly rather than
18706         unify-8859-on-encoding-mode.
18707         (fns-*.el): Don't use it anymore.  Keep the load-history in purespace.
18709         * textmodes/sgml-mode.el (sgml-comment-indent-new-line): New fun.
18710         (sgml-mode): Use it for comment-line-break-function.
18712 2002-04-08  Jason Rumney  <jasonr@gnu.org>
18714         * international/mule-cmds.el (reset-language-environment):
18715         Handle coding-systems not being defined yet.
18717 2002-04-08  Sam Steingold  <sds@gnu.org>
18719         * vc-cvs.el (vc-cvs-valid-version-number-p): New function.
18720         (vc-cvs-checkin): Use it.
18722 2002-04-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18724         * files.el (display-time-string): Fix last change.
18726 2002-04-07  Sam Steingold  <sds@gnu.org>
18728         * vc-cvs.el (vc-cvs-checkin): Pass the required argument to `error'.
18730 2002-04-07  Jason Rumney  <jasonr@gnu.org>
18732         * international/mule-cmds.el (set-default-coding-systems)
18733         (reset-language-environment): Preserve eols on
18734         default-process-coding-system.
18735         (coding-system-change-text-conversion): Fix case where CODING is nil.
18737 2002-04-07  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18739         * subr.el (play-sound): Move here from simple.el.
18741         * simple.el (play-sound): Move to subr.el.
18743 2002-04-06  Richard M. Stallman  <rms@gnu.org>
18745         * files.el (display-time-string-forms): Mark as risky.
18747         * enriched.el (enriched-decode-foreground, enriched-decode-background):
18748         Use proper format for desired elts of `face' property.
18749         Don't test display-color-p; make the properties unconditionally.
18751         * progmodes/compile.el (compilation-error-regexp-alist):
18752         New alternatives for FILE:LINE.COL and for ranges of columns and lines.
18754 2002-04-06  Per Abrahamsen  <abraham@dina.kvl.dk>
18756         * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
18757         for customization type.
18758         Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.
18760 2002-04-06  Mike Williams  <mdub@bigfoot.com>
18762         * textmodes/xml-lite.el: Remove.
18764 2002-04-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18766         * simple.el (play-sound): New function (uses play-sound-internal).
18768 2002-04-04  Richard M. Stallman  <rms@gnu.org>
18770         * files.el (mode-line-format, mode-line-modified)
18771         (mode-line-mule-info, mode-line-buffer-identification)
18772         (mode-line-modes, mode-line-position): Explicitly mark as risky.
18773         (hack-one-local-variable): Don't recognize "mode-line-..." as risky.
18775         * calendar/solar.el (solar-northern-spring-or-summer-season): Doc fix.
18777         * mail/mailabbrev.el (mail-abbrev-make-syntax-table):
18778         Use (syntax-table), not old-syntax-table.
18780         * enriched.el (enriched-decode-foreground)
18781         (enriched-decode-background): Don't call facemenu-get-face.
18783 2002-04-04  Mike Williams  <mdub@bigfoot.com>
18785         * textmodes/sgml-mode.el: Add missing require.
18786         (sgml-lexical-context): Fix up CDATA detection for boundary cases.
18788 2002-04-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
18790         * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line): Move to
18791         spot indicated by text property `cvs-goal-column', if present.
18793         * pcvs-info.el (cvs-fileinfo-pp): Use text property
18794         `cvs-goal-column' to indicate position of file name (if present).
18796 2002-04-03  Richard M. Stallman  <rms@gnu.org>
18798         * mail/mailabbrev.el (mail-abbrev-complete-alias):
18799         Call mail-abbrev-make-syntax-table.
18801         * format.el (format-deannotate-region): Doc fix.
18803         * enriched.el (enriched-face-ans): Delete special treatment
18804         for fg:... and bg:... faces.
18805         (enriched-decode-foreground): Return a list that specifies
18806         the foreground color, rather than creating a face.
18807         (enriched-decode-background): Likewise.
18809         * shell.el (shell-mode): Don't reinit comint-input-ring
18810         if that was already done.
18812 2002-04-03  Edward M. Reingold  <reingold@emr.cs.iit.edu>
18814         * solar.el (solar-spring-or-summer-season): Delete.
18815         (solar-northern-spring-or-summer-season): New variable.
18816         (solar-sunrise-and-sunset, solar-moment, solar-sunrise-sunset):
18817         Rewrite.
18819         * solar.el (diary-sabbath-candles-minutes): New variable.
18820         (diary-sabbath-candles): Use it instead of fixed 18 minutes.
18822         * calendar.el (update-calendar-mode-line): Force mode-line update.
18823         Make date under the cursor available as `date' in
18824         calendar-mode-line-format.
18825         Eval items in calendar-mode-line-format list.
18827         * cal-tex.el (cal-tex-hook, cal-tex-year-hook, cal-tex-month-hook)
18828         (cal-tex-week-hook, cal-tex-daily-hook): Add doc strings.
18830         * cal-tex.el (cal-tex-latexify-list): Fix doc string.
18832         * cal-tex.el (cal-tex-insert-day-names): LaTeXify day names.
18833         (cal-tex-cursor-week-iso, cal-tex-week-hours, cal-tex-weekly4-box)
18834         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18835         (cal-tex-daily-page, cal-tex-mini-calendar): LaTeXify day names.
18837         * cal-tex.el: Change all instances (interactive "P") to
18838         (interactive "p").
18839         (cal-tex-cursor-month): Add hfill and newline at end of month that
18840         ended on Saturday.
18841         (cal-tex-preamble): Change to LaTeX2e.
18842         (cal-tex-cursor-filofax-year): Don't use default month names in
18843         LaTeX macros in case user changes them.
18844         (cal-tex-month-name): New function.  Used throughout in case user
18845         has done something funny with month names.
18847         * cal-hebrew.el (holiday-rosh-hashanah-etc): Spelling correction.
18848         (diary-rosh-hodesh): Spelling correction.
18850 2002-04-03  Mike Williams  <mdub@bigfoot.com>
18852         * textmodes/sgml-mode.el (sgml-lexical-context)
18853         (sgml-parse-tag-backward): Extend support for CDATA to include
18854         conditional sections.
18856 2002-04-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18858         * cus-start.el: Rename `autoselect-window' to
18859         `mouse-autoselect-window'.
18861 2002-04-02  Richard M. Stallman  <rms@gnu.org>
18863         * files.el (hack-one-local-variable):
18864         Clear text props from string value.
18866 2002-04-02  Stefan Monnier  <monnier@cs.yale.edu>
18868         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18869         (f90-procedures-re, f90-operators-re, f90-hpf-keywords-re):
18870         Use regexp-opt.
18871         (f90-keywords-re, f90-keywords-level-3-re): Add `pure' and `elemental'
18872         from F95.
18873         (f90-procedures-re): Add `null' and `cpu_time' from F95.
18874         (f90-font-lock-keywords-1): Minor reorganization so we don't need
18875         `override' any more.
18876         (f90-font-lock-keywords-3): Use `keep' rather than `override'.
18877         (f90-indent-subprogram): Use indent-region.
18878         (f90-break-line): Use indent-according-to-mode.
18880 2002-04-02  Mike Williams  <mdub@bigfoot.com>
18882         * textmodes/sgml-mode.el (sgml-close-tag): Rename from
18883         sgml-insert-end-tag. Simplify by using sgml-lexical-context.
18884         (sgml-get-context): Remove use of sgml-inside-tag-p.
18885         (sgml-inside-tag-p): Remove.
18886         (sgml-looking-back-at): Short-circuit at beg of buffer.
18887         (sgml-lexical-context, sgml-calculate-indent): Add support for
18888         CDATA sections.
18890 2002-04-01  Stefan Monnier  <monnier@cs.yale.edu>
18892         * help.el (help-key-description): New fun.
18893         (describe-key-briefly, describe-key): Use it and
18894         this-single-command-raw-keys plus new arg `untranslated'.
18896         * textmodes/sgml-mode.el (sgml-at-indentation-p, sgml-tag)
18897         (sgml-parse-tag-name, sgml-looking-back-at, sgml-parse-tag-backward)
18898         (sgml-inside-tag-p, sgml-get-context, sgml-show-context)
18899         (sgml-insert-end-tag): New funs taken from xml-lite.el.
18900         (sgml-calculate-indent): Use them.
18901         (sgml-slash-matching): Rename from sgml-slash.
18902         (sgml-slash): Copied from xml-lite and changed to use
18903         sgml-slash-matching and sgml-quick-keys.
18905         * international/mule-cmds.el (standard-keyboard-coding-systems):
18906         Add koi8-u and koi8-r.
18908         * eshell/.cvsignore: New file.
18910         * eshell/esh-groups.el: Remove.
18912         * progmodes/tcl.el: Change maintainer.
18913         (tcl-electric-hash-style): Change default to nil.
18914         (tcl-imenu-generic-expression): Use tcl-proc-regexp.
18915         (tcl-do-auto-fill): Remove.
18916         (tcl-auto-fill-mode): Rewrite using comment-auto-fill-only-comments.
18918 2002-04-01  Mike Williams  <mdub@bigfoot.com>
18920         * textmodes/sgml-mode.el: Doc fixes.
18921         (sgml-mode): Set indent-line-function to sgml-indent-line.
18922         (sgml-calculate-indent): Add an explicit check for 'text syntax,
18923         to protect against future enhancements to sgml-lexical-context.
18924         (sgml-empty-tag-p, sgml-unclosed-tag-p): New funcs.
18926         * textmodes/xml-lite.el: Removed much redundant stuff.
18927         (xml-lite-parse-tag-backward): Simplify parsing by assuming we
18928         always start within text. Make use of sgml-unclosed-tag-p.
18930 2002-04-01  Ville Skytt\e,Ad\e(B  <ville.skytta@xemacs.org>
18932         * tcl.el (tcl-imenu-generic-expression): New value.
18933         (tcl-imenu-create-index-function): Function deleted.
18934         (tcl-mode): Check for filladapt-mode.
18935         Use tcl-imenu-generic-expression instead of
18936         tcl-imenu-create-index-function.
18937         (inferior-tcl-mode): Doc fix.
18938         Change not legally significant.
18940 2002-04-01  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18942         * cus-start.el: Rename `x-autoselect-window' to `autoselect-window'.
18944         * window.el (handle-select-window): New function.
18945         Update copyright.
18947 2002-04-01  Richard M. Stallman  <rms@gnu.org>
18949         * info.el (info-tool-bar-map): Use tool-bar-local-item-from-menu.
18951         * toolbar/tool-bar.el (tool-bar-local-item): Renamed from
18952         tool-bar-add-item, and new arg MAP.
18953         (tool-bar-add-item): Now calls tool-bar-local-item.
18954         (tool-bar-local-item-from-menu): Renamed from
18955         tool-bar-add-item-from-menu, and new arg IN-MAP.
18956         (tool-bar-add-item-from-menu): Now calls tool-bar-local-item-from-menu.
18958         * help-fns.el (help-with-tutorial): Allow various ways
18959         to specify the text in the [...] line, in handling the <...> line.
18961         * progmodes/idlw-rinfo.el (idlwave-system-routines):
18962         WOLRDTITLE => WORLDTITLE.  SUPRESS_VALUE => SUPPRESS_VALUE.
18964         * subr.el (redraw-modeline): Define alias.
18966 2002-03-31  Richard M. Stallman  <rms@gnu.org>
18968         * files.el (file-expand-wildcards): Use save-match-data.
18970         * files.el (format-alist): Mark as risky.
18972         * simple.el (kill-new): Doc fix.
18974         * emacs-lisp/byte-opt.el (side-effect-free-fns)
18975         (side-effect-and-error-free-fns): Add many functions, remove some.
18977 2002-03-30  Richard M. Stallman  <rms@gnu.org>
18979         * menu-bar.el (menu-bar-tools-menu): Rename gdb item to say GDB.
18981 2002-03-30  Eli Zaretskii  <eliz@gnu.org>
18983         * font-lock.el (save-buffer-state): Fix last change.
18985         * files.el (auto-save-file-name-transforms): Fix last change.
18987         * startup.el (command-line): Fix last change.
18989 2002-03-29  Richard M. Stallman  <rms@gnu.org>
18991         * subr.el (play-sound-file): Moved to simple.el.
18993         * simple.el (play-sound-file): Moved from subr.el, made unconditional.
18995 2002-03-29  Colin Walters  <walters@verbum.org>
18997         * ibuffer.el (ibuffer-mark-interactive): Use `ibuffer-forward-line'
18998         instead of `forward-line'.
18999         (ibuffer-forward-line): Be sure to skip over special properties
19000         before moving, too.
19002         * calc/calc.el (calc-was-split): Var deleted.
19003         (calc): Remove reference to it.
19004         (calc): Ditto.
19005         (calc-quit): Ditto.
19006         (calc-init-base): Ditto.
19008         * calc/calc-misc.el (calc-delete-windows-keep): Function deleted.
19010 2002-03-29  Stefan Monnier  <monnier@cs.yale.edu>
19012         * textmodes/sgml-mode.el (sgml-lexical-context): Return (text . START)
19013         instead of nil when point is outside of any tag.
19014         (sgml-beginning-of-tag): Adjust to the change.
19015         (sgml-calculate-indent): Use the new info returned by
19016         sgml-lexical-context.  Try to handle unclosed tags.
19018         * textmodes/xml-lite.el (xml-lite-get-context): Don't stop parsing
19019         at unclosed tags unless it is at indentation.
19020         Kill nested unclosed tags.
19021         (xml-lite-calculate-indent, xml-lite-indent-line): Remove.
19022         (xml-lite-mode): Use sgml-indent-line instead.
19024 2002-03-29  Eli Zaretskii  <eliz@is.elta.co.il>
19026         * files.el (auto-save-file-name-transforms): Don't run "\\2" via
19027         expand-file-name.
19029         * startup.el (command-line): Recompute auto-save-file-name-transforms
19030         using the updated value of temporary-file-directory.
19032 2002-03-29  Stefan Monnier  <monnier@cs.yale.edu>
19034         * textmodes/xml-lite.el (xml-lite-get-context): Allow stopping
19035         even with an empty context.  Don't save excursion any more.
19036         Don't complain about unmatched start-tags in sgml-unclosed-tags.
19037         Ignore end-tags in sgml-empty-tags.
19038         (xml-lite-get-context, xml-lite-calculate-indent)
19039         (xml-lite-insert-end-tag): Save excursion around xml-lite-get-context.
19040         (xml-lite-indent-line): Use back-to-indentation.
19042         * textmodes/sgml-mode.el (sgml-basic-offset): New var.
19043         (sgml-name-re, sgml-attrs-re): New consts.
19044         (sgml-tag-name-re, sgml-start-tag-regex, sgml-font-lock-keywords-1)
19045         (sgml-mode): Use them.
19046         (sgml-lexical-context): Default to (point-min) if nothing else works.
19047         (sgml-calculate-indent): Indent slightly differently.
19048         (sgml-indent-line): Use back-to-indentation.
19049         (sgml-parse-dtd): New function.
19050         (sgml-unclosed-tags): New var.
19051         (html-mode): Set it.
19053 2002-03-29  Simon Marshall  <simon.marshall@misys.com>
19055         * font-lock.el (save-buffer-state): Use make-symbol to bind `modified'.
19057 2002-03-29  Richard M. Stallman  <rms@gnu.org>
19059         * dired-aux.el (dired-do-query-replace-regexp, dired-do-search):
19060         Use FILTER arg in dired-get-marked-files to exclude directories.
19061         (dired-nondirectory-p): New function.
19063         * dired.el (dired-get-marked-files): New arg FILTER
19064         allows selection of some files.
19066         * progmodes/tcl.el (tcl-imenu-create-index-function): Doc fix.
19068 2002-03-29  Eric M. Ludlam  <eric@siege-engine.com>
19070         * speedbar.el (speedbar-default-directory-list): Made robust
19071         against deleted directories.
19073 2002-03-28  Richard M. Stallman  <rms@gnu.org>
19075         * dired.el (dired-toggle-marks): Renamed from dired-do-toggle.
19076         Bindings changed.
19078         * progmodes/compile.el (compilation-handle-exit):
19079         If compilation-window-height is 0, display status in echo area.
19081         * simple.el (line-move-to-column): Don't call move-to-column if COL=0.
19083         * rect.el (replace-rectangle): Add autoload.
19085         * files.el: Mark many more variables as risky.
19086         (hack-one-local-variable): Recognize several additional
19087         patterns as risky.
19089         * bindings.el (mode-line-mule-info): Use :propertize, not :eval.
19091 2002-03-28  Stefan Monnier  <monnier@cs.yale.edu>
19093         * textmodes/xml-lite.el (xml-lite-in-string-p):
19094         Use sgml-lexical-context.
19095         (xml-lite-parse-tag-backward): Use sgml-tag-syntax-table.
19096         (xml-lite-get-context): Check that open/close tags match.
19097         Don't stop scanning while we're ignoring matching tags.
19099         * textmodes/sgml-mode.el (sgml-make-syntax-table): New fun.
19100         (sgml-mode-syntax-table): Use it.
19101         (sgml-tag-syntax-table, sgml-tag-name-re): New const.
19102         (sgml-tags-invisible): Use it.
19103         (sgml-lexical-context): New fun.
19104         (sgml-maybe-end-tag, sgml-beginning-of-tag): Use it.
19105         (sgml-quote): Accept \n as entity reference terminator.
19106         (sgml-calculate-indent, sgml-indent-line): New funs.
19108 2002-03-28  Andre Spiegel  <spiegel@gnu.org>
19110         * vc-cvs.el (vc-cvs-global-switches): New user option.
19111         (vc-cvs-command): New function.  Update all callers of
19112         `vc-do-command' in vc-cvs.el to use this instead.
19114 2002-03-27  Andrew Innes  <andrewi@gnu.org>
19116         * makefile.w32-in (bootstrap-clean-SH): Use for loop, instead of
19117         relying on shell globbing.
19119 2002-03-27  Colin Walters  <walters@debian.org>
19121         * ibuffer.el (ibuffer-help-buffer-modes): New variable.
19122         (ibuffer-fontification-alist): Use it.
19123         (ibuffer-backward-line): Handle `ibuffer-summary' area.
19124         (ibuffer-forward-line): Ditto.
19126         * ibuf-ext.el (sorter mode-name): Doc fix.
19127         (ibuffer-mark-help-buffers): Use `ibuffer-help-buffer-modes'.
19128         (operation query-replace): Use new `noerror' arg for
19129         `query-replace-read-args'.
19130         (operation query-replace-regexp): Ditto.
19132 2002-03-27  Stefan Monnier  <monnier@cs.yale.edu>
19134         * textmodes/xml-lite.el: Fix copyright notice.
19135         (xml-lite-basic-offset): Rename from xml-lite-indent-offset.
19136         (xml-lite-indent-comment-offset): Remove.
19137         (xml-lite-calculate-indent): Use new name.  Use natural alignment
19138         for comments.
19139         (xml-lite-in-string-p): Simplify.
19141 2002-03-27  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19143         * allout.el (outline-layout): Doc fix.
19145 2002-03-27  Stefan Monnier  <monnier@cs.yale.edu>
19147         * textmodes/xml-lite.el: Don't require `custom'.
19148         (xml-lite-parse-tag-name): Properly treat non-ASCII chars.
19149         (xml-lite-parse-tag-backward): Obey sgml-empty-tags.
19150         (xml-lite-get-context): Drop nested tags not just for comments.
19151         (xml-lite-indent-line): Be more careful about moving point.
19152         (xml-lite-insert-end-tag, xml-lite-slash):
19153         Use indent-according-to-mode instead of xml-lite-indent-line.
19154         (xml-lite-mode): Make xml-lite-orig-indent-line-function buffer-local.
19155         Set sgml-xml-mode.  Don't call force-mode-line-update.
19156         (xml-lite-mode-map): Don't bind TAB.
19158 2002-03-27  Zoltan Kemenczy  <zoltan@ieee.org>
19160         * gud.el (gud-jdb-sourcepath): New variable, saves jdb -sourcepath
19161         parameter value.
19162         (gud-jdb-build-source-files-list): Comment clarification.
19163         (gud-jdb-massage-args): Reworked into loop-based argument list
19164         processing in order to support -classpath and -sourcepath argument
19165         processing.
19166         (gud-jdb-find-source-using-classpath): Prepend gud-jdb-sourcepath
19167         to gud-jdb-classpath to obtain search list.
19168         (gud-jdb-parse-classpath-string): Remove any trailing slashes from
19169         directory names in classpath/sourcepath lists, update comment.
19170         (jdb): Add setting of gud-jdb-sourcepath, update comment.
19171         (gud-find-class): Add gud-jdb-sourcepath use, and correct
19172         behaviour for the case when classpath is not used--backward
19173         compatibility fix.
19175 2002-03-27  Eli Zaretskii  <eliz@is.elta.co.il>
19177         * Makefile.in (compile, compile-always): Don't try to compile
19178         non-existent files or files in empty directories.
19180 2002-03-26  Michael Ernst  <mernst@alum.mit.edu>
19182         * compare-w.el (compare-windows-whitespace): Match all whitespace.
19184         * emacs-lisp/shadow.el (list-load-path-shadows): Only ignore last
19185         copy of standard Lisp directories.
19187         * tar-mode.el (tar-header-block-summarize, tar-get-descriptor):
19188         Support "next has longname" link type.
19190 2002-03-26  Stefan Monnier  <monnier@cs.yale.edu>
19192         * textmodes/xml-lite.el (xml-lite-at-indentation-p): Move.
19193         (xml-lite-in-string-p, xml-lite-looking-back-at, xml-lite-looking-at):
19194         New functions.
19195         (forward-xml-tag, backward-xml-tag, beginning-of-xml-tag)
19196         (end-of-xml-tag): Remove.
19197         (xml-lite-get-context): Better handling of comments.
19198         (xml-lite-calculate-indent): Use xml-lite-in-string-p.
19199         (xml-lite-parse-tag-backward): Rewrite.
19201 2002-03-26  Juanma Barranquero  <lektu@terra.es>
19203         * makefile.w32-in (WINS): Add the toolbar directory.
19205 2002-03-26  Richard M. Stallman  <rms@gnu.org>
19207         * subr.el (substring-no-properties): Function deleted (now in C).
19209 2002-03-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19211         * mwheel.el (mouse-wheel-mode): Use global-set-key and
19212         global-unset-key.
19214 2002-03-24  Richard M. Stallman  <rms@gnu.org>
19216         * mail/rmail.el (rmail-resend): Call mail-abbrev-make-syntax-table.
19218         * progmodes/etags.el (tags-query-replace): Pass t for NOERROR
19219         to query-replace-read-args.
19221         * progmodes/compile.el (compilation-forget-errors):
19222         Don't adjust compilation-parsing-end if it's nil.
19224         * replace.el (query-replace-read-args): New optional arg NOERROR.
19225         (perform-replace): Use save-window-excursion around recursive edit.
19227 2002-03-24  Colin Walters  <walters@verbum.org>
19229         * ibuffer.el (ibuffer): If the user has `ibuffer-use-other-window'
19230         non-nil, then always use another window.
19232 2002-03-24  Gerd Moellmann  <gerd@gnu.org>
19234         * subr.el (macro-declaration-function): New function.  Set the
19235         variable macro-declaration-function to it.
19237         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19238         Handle declarations in macro definitions.
19240 2002-03-24  Eli Zaretskii  <eliz@is.elta.co.il>
19242         * facemenu.el (facemenu-get-face): Remove unused variable `foreground'.
19244         * enriched.el (enriched-face-ans): Support FACE of the form
19245         (:foreground COLOR) and (:background COLOR).
19246         (enriched-decode-foreground, enriched-decode-background): Set the
19247         fore- and background colors of the faces we create, since facemenu
19248         doesn't.
19250 2002-03-24  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19252         * mwheel.el (mouse-wheel-mode): Use the result of
19253         current-global-map instead of the variable `global-map'.
19255 2002-03-23  Richard M. Stallman  <rms@gnu.org>
19257         * mail/mailabbrev.el (mail-abbrev-make-syntax-table): New subroutine
19258         broken out of sendmail-pre-abbrev-expand-hook.
19259         (sendmail-pre-abbrev-expand-hook): Use it.
19261 2002-03-22  Stefan Monnier  <monnier@cs.yale.edu>
19263         * Makefile.in (finder-inf.el): Remove.
19264         (finder-data): Don't depend on finder-inf.el any more.
19265         (compile, compile-always): Handle the case where some files
19266         from DONTCOMPILE are missing (it tried to compile them).
19267         (bootstrap-clean): Use src/emacs only if executable.
19268         (bootstrap): Update subdirs.el and finder-inf.el.
19270         * finder.el: Don't load finder-inf.el during byte-compilation.
19272         * vc-cvs.el (vc-cvs-registered, vc-cvs-dir-state-heuristic):
19273         Don't consider cvs-removed files as under VC control.
19274         VC wouldn't handle them properly anyway and it confuses
19275         vc-file-not-found-hook.
19277         * emacs-lisp/bytecomp.el (batch-byte-compile-if-not-done):
19278         Add autoload cookie.
19280 2002-03-22  Eli Zaretskii  <eliz@is.elta.co.il>
19282         * calendar/calendar.el (calendar): Doc fix.
19284 2002-03-22  Juanma Barranquero  <lektu@terra.es>
19286         * play/gomoku.el (gomoku-font-lock-O-face): Convert to use `defface'.
19287         (gomoku-font-lock-X-face): Likewise.
19288         (gomoku-font-lock-keywords): Use faces instead of variables.
19290 2002-03-21  Stefan Monnier  <monnier@cs.yale.edu>
19292         * Makefile.in (bootstrap): Make sure subdirs.el is ready.
19294 2002-03-21  Kim F. Storm  <storm@cua.dk>
19296         * simple.el (open-network-stream, open-network-stream-nowait)
19297         (open-network-stream-server): Use featurep to test for
19298         supported networking features.
19300 2002-03-21  Thien-Thi Nguyen  <ttn@gnu.org>
19302         * mail/emacsbug.el (report-emacs-bug-hook): Remove submitter
19303         directions as the last action.
19305 2002-03-21  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19307         * startup.el (fancy-splash-tail, normal-splash-screen):
19308         Update copyright.
19310         * novice.el (disabled-command-hook): Clarify output text to match
19311         prompt.
19313 2002-03-20  Jason Rumney  <jasonr@gnu.org>
19315         * frame.el (display-images-p): Do not explicitly check display type.
19317 2002-03-20  pmr-sav  <pmr-sav@hamm.pajato.com>
19319         * mail-utils.el:
19320         Eliminate compilation warnings due to `rfc822-addresses'.
19321         (rmail-dont-reply-to): Eliminate `pos' as a free variable for a
19322         warning free compile.
19324 2002-03-20  Michael Kifer  <kifer@cs.stonybrook.edu>
19326         * ediff-diff.el (ediff-install-fine-diff-if-necessary):
19327         Take the current highlighting style into account.
19328         (ediff-forward-word-function,ediff-whitespace,ediff-word-1)
19329         (ediff-word-2,ediff-word-3,ediff-word-4): Make them buffer local.
19331         * ediff-init.el (ediff-patch-job): New macro.
19333         * ediff-mult.el (ediff-make-new-meta-list-header): New API function.
19334         (ediff-intersect-directories): Use ediff-make-new-meta-list-header.
19336         * ediff-ptch.el (ediff-map-patch-buffer):
19337         Use ediff-make-new-meta-list-header.
19338         (ediff-fixup-patch-map): Use the meta-list API from ediff-mult.el.
19340         * ediff-util.el (ediff-toggle-hilit): Fix toggling of highliting.
19341         (ediff-select-difference): Take highlighting style into account.
19342         (ediff-clone-buffer-for-region-comparison): New function.
19343         (ediff-inferior-compare-regions): Added comparison of current diff
19344         regions.
19346         * ediff.el (ediff-clone-buffer-for-region-comparison)
19347         (ediff-clone-buffer-for-window-comparison): Moved to ediff-util.el.
19349 2002-03-19  pmr-sav  <pmr-sav@hamm.pajato.com>
19351         * mail-utils.el (rmail-dont-reply-to):
19352         Overhaul to correctly apply the regular
19353         expressions in the variable `rmail-dont-reply-to-names' to the list of
19354         destination addresses.  Contributed by lorentey@elte.hu.
19356         * rmail.el (rmail-dont-reply-to-names):
19357         Modify the documentation to make it email
19358         address centric rather than login name centric.  Contributed by
19359         lorentey@elte.hu.
19361 2002-03-18  Colin Walters  <walters@verbum.org>
19363         * ibuf-ext.el (ibuffer-toggle-sorting-mode): Remove `find-if' so
19364         we don't require `cl' at runtime.
19365         (sorting mode mode-name): Don't take the symbol-name of a string.
19367         * ibuffer.el (ibuffer-set-mark): Go back to the beginning of the
19368         line after setting the mark.
19369         (ibuffer-insert-buffers-and-marks): Invert the test for
19370         `ibuffer-sorting-reversep'.
19372 2002-03-18  Stefan Monnier  <monnier@cs.yale.edu>
19374         * international/ucs-tables.el (unify-8859-on-decoding-mode)
19375         (unify-8859-on-encoding-mode): Remove autoload cookie.
19377 2002-03-18  Andre Spiegel  <spiegel@gnu.org>
19379         * vc-rcs.el (vc-rcs-register): Fix handling of
19380         vc-[rcs-]register-switches.
19381         (vc-rcs-checkin-switches, vc-rcs-checkout-switches):
19382         Variables removed, since they weren't used yet.
19384         * vc-cvs.el (vc-cvs-register): Fix handling of
19385         vc-[cvs-]register-switches.
19387         * vc-sccs.el (vc-sccs-register): Fix handling of
19388         vc-[sccs-]register-switches.
19390 2002-03-18  Stefan Monnier  <monnier@cs.yale.edu>
19392         * loadup.el ("emacs-lisp/backquote"): Load earlier.
19393         ("international/ucs-tables"): Load and turn on
19394         unify-8859-on-encoding-mode unconditionally.
19395         (emacs-version): Use `defconst' rather than `setq'.
19397         * eshell/esh-ext.el (eshell-binary-suffixes): Use exec-suffixes.
19399 2002-03-18  Richard M. Stallman  <rms@gnu.org>
19401         * menu-bar.el (menu-bar-options-menu): Cope if
19402         text-mode-hook is not a list.
19404 2002-03-17  Richard M. Stallman  <rms@gnu.org>
19406         * emulation/pc-select.el (pc-selection-mode):
19407         Alter the existing global map, don't replace it.
19409         * files.el (list-directory): Set default-directory at the end.
19411         * dabbrev.el (dabbrev--goto-start-of-abbrev):
19412         Put a limit on field-beginning search.
19414 2002-03-17  Simon Josefsson  <jas@extundo.com>
19416         * net/browse-url.el (browse-url-mosaic-pidfile): New variable.
19417         (browse-url-mosaic): Use it.
19419         * net/browse-url.el (browse-url-filename-alist): Don't begin
19420         docstring with *, you don't want to set this one with M-x set-variable.
19422         * net/browse-url.el: Put * in user option doc strings.
19424 2002-03-17  Stefan Monnier  <monnier@cs.yale.edu>
19426         * textmodes/sgml-mode.el (sgml-xml-mode): Renamed from sgml-xml.
19427         (sgml-xml-guess): Simplify.
19428         (sgml-mode-common): Remove (move into sgml-mode).
19429         (sgml-mode): Add code from sgml-mode-common.
19430         Remove redundant setting of indent-line-function.
19431         Don't set skeleton-transformation when in XML mode.
19433         * international/mule-diag.el (describe-char-after):
19434         Use `internal-describe-syntax-value' again (got lost somewhere).
19436         * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
19437         Use unify-8859-on-decoding-mode.
19438         (unify-8859-on-decoding-mode): Also set translation-table-for-input.
19439         (ucs-insert): Give an error if the unicode char can't be created.
19441         * pcvs-parse.el (cvs-parse-table): Be a bit more lenient.
19442         (cvs-parse-status): Handle the "used to have a conflict" marker.
19444 2002-03-17  Kim F. Storm  <storm@cua.dk>
19446         The following changes are related to the enhanced network process
19447         support.
19449         * simple.el: Update copyright.
19450         (clone-process): Use make-network-process to clone network
19451         processes.  Get command list via (process-contact ... t).
19452         Use set-process-query-on-exit-flag and process-query-on-exit-flag
19453         instead of process-kill-without-query.
19454         (open-network-stream): Replaces C-version from process.c.
19455         (open-network-stream-nowait, open-network-stream-server): New funs.
19456         (process-kill-without-query): Replaces C-version from process.c.
19458         * files.el: Update copyright.
19459         (save-buffers-kill-emacs): Also check for active server
19460         processes.  Use process-query-on-exit-flag.  Only list processes
19461         which has the query-on-exit flag set in connection with user query.
19463         * shadowfile.el: Update copyright.
19464         (shadow-save-buffers-kill-emacs): Also check for active server
19465         processes.  Use process-query-on-exit-flag.
19467 2002-03-16  Simon Marshall  <simon.marshall@misys.com>
19469         * imenu.el (imenu-menubar-modified-tick): Renamed from
19470         imenu-update-menubar-modified-tick.
19471         (imenu-update-menubar): Update imenu-menubar-modified-tick
19472         whenever outer condition succeeds.
19474         * lazy-lock.el (save-buffer-state):
19475         Bind inhibit-modification-hooks and buffer-file-truename
19476         instead of before-change-functions and after-change-functions.
19478 2002-03-16  Eli Zaretskii  <eliz@is.elta.co.il>
19480         * international/codepage.el (codepage-setup): Don't define a
19481         codepage if it is already defined.
19483         * textmodes/po.el (po-content-type-charset-alist): Convert the
19484         car of each association to a string.
19485         (po-find-file-coding-system-guts): If the charset matches a name
19486         of a codepage, set up that codepage and return it as a coding
19487         system to decode the file.
19488         (po-find-charset): Search for the Charset= header even if we've
19489         read less than 4KB.
19490         <top-level>: Remove the setup for all known codepages: it seems
19491         to cause crashes in the CCL driver.
19493 2002-03-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19495         * textmodes/bibtex.el (bibtex-sort-ignore-string-entries)
19496         (bibtex-entry-field-alist): Doc fix.
19498 2002-03-16  Richard M. Stallman  <rms@gnu.org>
19500         * progmodes/cperl-mode.el (cperl-imenu--function-name-regexp-perl):
19501         Move definition above cperl-outline-regexp.
19503         * bindings.el (mode-line-mule-info): In computing help-echo prop,
19504         avoid using save-window-excursion.  And compile the function.
19506 2002-03-15  Stefan Monnier  <monnier@cs.yale.edu>
19508         * files.el (load-completion): New function.
19509         (load-library): Use it.
19511 2002-03-15  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19513         * calendar/cal-french.el (calendar-goto-french-date): Fix prompt
19514         to match the actual code.
19516 2002-03-15  Eli Zaretskii  <eliz@is.elta.co.il>
19518         * textmodes/po.el (po-find-file-coding-system-guts):
19519         Use with-temp-buffer instead of po-with-temp-buffer.
19521         * international/mule-conf.el (file-coding-system-alist): Add an
19522         association for PO files.
19524         * textmodes/po.el: New file.
19526 2002-03-15  Gerd Moellmann  <gerd@gnu.org>
19528         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
19529         Fix simple loop indentation.
19531 2002-03-14  Miles Bader  <miles@gnu.org>
19533         * net/rlogin.el (rlogin-mode): Use `define-derived-mode'.
19535 2002-03-14  Richard M. Stallman  <rms@gnu.org>
19537         * textmodes/picture.el (picture-insert)
19538         (picture-clear-column, picture-draw-rectangle):
19539         Use move-to-column, not move-to-column-force.
19541         * dired.el (dired-readin): Clear out undo list.
19542         (dired-fun-in-all-buffers): Definition moved from dired-aux.el.
19543         (dired-delete-entry): New function.
19544         (dired-internal-do-deletions): Use dired-fun-in-all-buffers
19545         and dired-delete-entry, to update this buffer (and others).
19547         * dired-aux.el (dired-fun-in-all-buffers): Moved to dired.el.
19549         * facemenu.el (facemenu-add-new-face):
19550         Pass region args to facemenu-set-face, when there is a region.
19551         (facemenu-set-foreground, facemenu-set-background)
19552         (facemenu-add-face): Doc fixes.
19554         * progmodes/cperl-mode.el (cperl-outline-regexp): Move definition up.
19556 2002-03-14  Miles Bader  <miles@gnu.org>
19558         * emacs-lisp/debug.el: Require `button'.
19559         (debugger-mode-map): Set the parent keymap to `button-buffer-map',
19560         to get TAB and <backtab> bindings.
19562         * net/rlogin.el (rlogin-carriage-filter): Function removed.
19563         (rlogin): Don't install the `rlogin-carriage-filter' filter, as
19564         comint removes carriage returns itself now.
19566         * rfn-eshadow.el (rfn-eshadow-update-overlay):
19567         Bind `inhibit-point-motion-hooks' to t while messing around, to avoid
19568         getting hosed by our own intangible property.
19570 2002-03-13  Stefan Monnier  <monnier@cs.yale.edu>
19572         * progmodes/fortran.el (fortran-mode): Set comment-padding to "$$$".
19573         Add fortran-comment-line-start-skip to comment-start-skip.
19574         (fortran-comment-indent): Keep whole-line comments in column 0.
19575         (fortran-find-comment-start-skip): New arg `all'.
19576         If ALL is nil, make sure we only match comment-start-skip if we
19577         can't match fortran-comment-line-start-skip.
19578         Fix bug that made it return t but without moving point when
19579         matching '!'! (a false-comment followed by a real comment).
19580         (fortran-indent-comment): Use new `all' argument above.
19581         Be careful not to add an incorrect comment-starter like "C"
19582         in comment-column.
19583         (fortran-split-line): When splitting a comment, reuse the comment
19584         starter from the current line rather than fortran-comment-line-start.
19585         (fortran-indent-line, fortran-auto-fill): Simplify thanks to the
19586         cleaner behavior of fortran-find-comment-start-skip.
19587         (fortran-fill): Don't be confused by ! inside a comment.
19588         (fortran-break-line): Minor cleanup and simplification.
19590 2002-03-13  Francesco Potort\e,Al\e(B  <pot@gnu.org>
19592         * progmodes/etags.el (tag-exact-file-name-match-p)
19593         (tag-file-name-match-p, tag-partial-file-name-match-p): Use a
19594         simpler regexp.
19596 2002-03-12  Colin Walters  <walters@debian.org>
19598         * ibuffer.el (ibuffer-redisplay-current): Don't move point when
19599         redisplaying a line.
19601 2002-03-12  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
19603         * term/x-win.el (emacs-session-restore): Take previous id as
19604         an argument.
19605         (emacs-session-save): Add comment that return t means cancel shutdown
19607         * startup.el (command-line): Must check that x-session-previous-id
19608         is bound also, for non-X platforms.
19610 2002-03-12  Gerd Moellmann  <gerd@gnu.org>
19612         * emacs-lisp/cl-indent.el (lisp-loop-keyword-indentation)
19613         (lisp-loop-forms-indentation, lisp-simple-loop-indentation):
19614         New user options.
19615         (extended-loop-p, common-lisp-loop-part-indentation): New functions.
19616         (common-lisp-indent-function-1): Renamed from
19617         common-lisp-indent-function.
19618         (common-lisp-indent-function): Handle loop forms specially.
19619         (lisp-indent-defmethod): Use car/cdr instead of first/rest.
19620         (lisp-backquote-indentation): New user option.
19622 2002-03-12  Francesco Potort\e,Al\e(B  <pot@gnu.org>
19624         * progmodes/etags.el (tag-exact-file-name-match-p)
19625         (tag-file-name-match-p, tag-partial-file-name-match-p):
19626         Assume that the header of a tags section has either a number
19627         or nothing after the last comma.
19629 2002-03-11  Richard M. Stallman  <rms@gnu.org>
19631         * imenu.el (imenu-update-menubar-modified-tick): New variable.
19632         (imenu-update-menubar): Don't call imenu--make-index-alist
19633         if buffer has not changed since last time.
19635         * desktop.el (desktop-buffer-handlers): Doc fix.
19636         (desktop-buffer-file): Explicitly return BUF.
19638         * paren.el (show-paren-function): Move back in other direction
19639         to verify the match is correct.
19641         * mail/supercite.el (sc-select-attribution): Accept whatever value
19642         we get in CHOICE; there is no value meaning "try again".
19644 2002-03-11  Colin Walters  <walters@verbum.org>
19646         * shell.el (toplevel): Revert previous change to use pcomplete.
19647         (shell-mode): Ditto.
19648         (shell-pcomplete-setup-done): Remove.
19649         (shell-pcomplete): Ditto.
19650         (shell-pcomplete-reverse): Ditto.
19652         * comint.el: Remove documentation on setting up pcomplete.
19654 2002-03-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19656         * font-lock.el (java-font-lock-extra-types): Add "URL" as separate
19657         item.  Doc fix.
19659         * image.el (image-type-from-file-header): Make temporary buffer
19660         unibyte.
19662         * subr.el (add-to-list): Doc fix.
19664 2002-03-11  Miles Bader  <miles@gnu.org>
19666         * pcomplete.el (pcomplete-entries): Expand environment variables
19667         in filename.
19669 2002-03-10  Daniel Pfeiffer  <occitan@esperanto.org>
19671         * play/mpuz.el: Use defface instead of facemenu-get-face.
19673 2002-03-10  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
19675         * startup.el (command-line): Add call to emacs-session-restore if
19676         both x-session-id and x-session-previous-id are strings.
19678         * term/x-win.el (x-handle-smid): New function.
19679         (emacs-session-filename): New function.
19680         (emacs-session-save): New function.
19681         (emacs-save-session-functions): New variable.
19682         (emacs-session-restore): New function.
19684 2002-03-09  Eli Zaretskii  <eliz@is.elta.co.il>
19686         * simple.el (shell-command-on-region): Call push-mark with
19687         non-nil second arg, to suppress the "Mark set" message.
19689 2002-03-08  Richard M. Stallman  <rms@gnu.org>
19691         * textmodes/picture.el (picture-forward-column): New arg `interactive'
19692         is non-nil for an interactive call.  Use instead of interactive-p.
19693         (picture-backward-column): Likewise.
19695         * tar-mode.el (tar-untar-buffer): New function.
19697         * info.el (Info-fontify-node): Bind up-clicks, not down-clicks.
19698         Put the mouse-face on the entire xref, like the local keymap.
19700         * find-dired.el (find-name-dired): Use shell-quote-argument.
19702 2002-03-08  Daniel Pfeiffer  <occitan@esperanto.org>
19704         * play/mpuz.el (mpuz-unsolved-face, mpuz-solved-face)
19705         (mpuz-trivial-face, mpuz-text-face, mpuz-solve-when-trivial)
19706         (mpuz-allow-double-multiplicator): New options for nicer look and
19707         new features.
19708         (mpuz-put-number-on-board, mpuz-paint-number, mpuz-solve): New funs.
19709         (mpuz-check-all-solved, mpuz-random-puzzle)
19710         (mpuz-paint-statistics, mpuz-paint-digit, mpuz-close-game)
19711         (mpuz-show-solution): Functions streamlined and removed french
19712         style space before punctuation, added face support and optional
19713         solving of trivial results.
19715 2002-03-07  Colin Walters  <walters@verbum.org>
19717         * ibuf-macs.el (define-ibuffer-column): Add :summarizer property.
19719         * ibuffer.el (ibuffer-update-mode-name): Substitute "view time"
19720         instead of "recency" for clarity.
19721         (ibuffer-compile-format): Document more.  Handle new "summarizer"
19722         columns.
19723         (ibuffer-fontify-region-function): Ditto.
19724         (ibuffer-insert-buffer-line): Ditto.
19725         (ibuffer-map-lines): Ditto.
19726         (ibuffer-insert-buffers-and-marks): Ditto.
19727         (ibuffer-update-title-and-summary): Renamed from
19728         `ibuffer-update-title'.  Handle "summarizer" columns.
19729         (ibuffer-clear-summary-columns): New function.
19731         * ibuf-ext.el (ibuffer-filter-format-alist): Add type and group.
19733 2002-03-07  Gerd Moellmann  <gerd@gnu.org>
19735         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
19736         Use the other-window instead of the other-frame functions when
19737         the window is dedicated.
19739 2002-03-06  ShengHuo ZHU  <zsh@cs.rochester.edu>
19741         * textmodes/bibtex.el (bibtex-make-field): Call bibtex-find-text
19742         with SILENT so that a new field can be added.
19744 2002-03-06  Eli Zaretskii  <eliz@is.elta.co.il>
19746         * files.el (make-auto-save-file-name): Make sure the produced file
19747         name does not contain characters that are invalid for DOS/Windows
19748         filesystems.
19750         * dos-fns.el, w32-fns.el (make-auto-save-file-name):
19751         Remove replacement functions.
19753 2002-03-06  Gerd Moellmann  <gerd@gnu.org>
19755         * font-lock.el (lisp-font-lock-keywords-2): Highlight keywords of
19756         the form `:x'.
19758         * vc.el (vc-branch-part): Add autoload cookie.  This function can
19759         be called from vc-rcs-find-most-recent-rev when visiting a file
19760         checked into RCS in a CVS sandbox.
19762 2002-03-06  Andreas Schwab  <schwab@suse.de>
19764         * progmodes/hideif.el: Augment expression parser to handle
19765         conditional expressions.
19766         (hif-token-regexp): Also match `?' and `:'.
19767         (hif-tokenize): Handle `?' and ':' as tokens.
19768         (hif-expr): Parse conditional expressions.
19769         (hif-or-expr): Parse `||' expressions.
19770         (hif-and-expr): Renamed from hif-term.
19771         (hif-conditional): New function to evaluate a conditional
19772         expression.
19774 2002-03-06  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19776         * language/czech.el ("Czech"): Fix the documentation.
19778         * language/slovak.el ("Slovak"): Likewise.
19780 2002-03-05  ShengHuo ZHU  <zsh@cs.rochester.edu>
19782         * xml.el (xml-parse-attlist): Accept empty strings.
19784 2002-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
19786         * mouse.el (mouse-show-mark): Remove the no-highlight alternative:
19787         all terminals now support highlighting of some kind.
19789         * language/european.el (mac-roman): Fix the safe-chars property.
19791 2002-03-05  Andre Spiegel  <spiegel@gnu.org>
19793         * vc.el (vc-transfer-file): Use `make-temp-file'.
19794         (vc-default-update-changelog): Remove conditional use of
19795         `make-temp-name'.
19797         * vc-cvs.el (vc-cvs-diff-tree): Fix typo in parameter names.
19799 2002-03-05  Michael Kifer  <kifer@cs.stonybrook.edu>
19801         * ediff-init.el: Comments.
19803         * ediff-hook.el: Got rid of autoloads. Not needed, since the hook
19804         is loaded.
19806         * ediff-mult.el (ediff-intersect-directories)
19807         (ediff-prepare-meta-buffer,ediff-get-directory-files-under-revision):
19808         Cleanup.
19809         (ediff-draw-dir-diffs): Now supports the "C" command in directory
19810         difference buffer.
19811         (ediff-dir-diff-copy-file): New function that implements copying
19812         of files from one Ediff dir to another
19813         (ediff-bury-dir-diffs-buffer): Kills the buffer instead.
19814         (ediff-append-custom-diff): Better error msgs.
19816         * ediff-util.el (ediff-compute-custom-diffs-maybe): Buglet fix.
19817         (ediff-inferior-compare-regions): Use
19818         ediff-clone-buffer-for-region-comparison. Better and simpler interface.
19820         * ediff.el (ediff-directories-internal): Cleanup.
19821         (ediff-clone-buffer-for-region-comparison): Better interface.
19823 2002-03-04  Richard M. Stallman  <rms@gnu.org>
19825         * emacs-lisp/easy-mmode.el (define-minor-mode):
19826         Use "P" in interactive spec of minor mode commands.
19828 2002-03-04  Stefan Monnier  <monnier@cs.yale.edu>
19830         * faces.el (face-spec-choose): Allow `t' to appear before the end.
19831         (mode-line, tool-bar, minibuffer-prompt, region, fringe, bold, italic)
19832         (bold-italic, underline, highlight, secondary-selection, fixed-pitch)
19833         (variable-pitch, trailing-whitespace): Don't use the old-style entries.
19834         (mode-line-inactive, header-line): Move the `t' section to the
19835         beginning so the `:inherit' setting can be shared.
19837 2002-03-04  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19839         * net/snmp-mode.el: Require tempo when compiling to prevent
19840         warnings.  Update copyright notice.
19842         * help.el (describe-key-briefly, describe-key): Interpret `undefined'
19843         like not defined at all.
19845 2002-03-03  Stefan Monnier  <monnier@cs.yale.edu>
19847         * textmodes/sgml-mode.el: Change maintainer to FSF.
19848         (sgml-start-tag-regex, sgml-font-lock-keywords-1, sgml-mode-common)
19849         (sgml-tags-invisible, sgml-beginning-of-tag):
19850         Allow _ : and non-ASCII in tag names, as required for XML.
19851         (sgml-name-char): Don't assume anything about charsets handled by
19852         encode-char.
19854         * textmodes/tex-mode.el (tex-guess-main-file): Handle the case
19855         where one of the buffers is narrowed.
19857         * hexl.el (hexlify-command, dehexlify-command): Remove.
19858         (hexlify-buffer, dehexlify-buffer): Use call-process-region
19859         rather than shell-command-on-region.
19861         * newcomment.el (comment-forward): Use forward-comment to skip
19862         over whitespace (or comments) even when comment-use-syntax is nil.
19864         * progmodes/cperl-mode.el (cperl-menu): Add "-emacs" to the version.
19866         * textmodes/xml-lite.el: New file.
19868 2002-03-03  Richard M. Stallman  <rms@gnu.org>
19870         * textmodes/artist.el (artist-system): Use make-temp-file.
19872         * progmodes/ps-mode.el (ps-run-make-tmp-filename): Use make-temp-file.
19874         * mail/sendmail.el (mail-recover-1): Increase non-random-len
19875         by 1 since we changed make-auto-save-file-name to add one
19876         fewer character to the buffer name.
19877         (mail-recover): Really show point at the right place
19878         in the *Directory* buffer.
19880         * files.el (make-auto-save-file-name): Use make-temp-file.
19882         * terminal.el (te-create-terminfo): Use make-temp-file
19883         to create the source file in a safe way.
19885 2002-03-03  Eli Zaretskii  <eliz@is.elta.co.il>
19887         * cus-start.el: Rename automatic-hscroll-step and
19888         automatic-hscroll-margin into hscroll-step and hscroll-margin.
19890         * frame.el (auto-hscroll-mode): Renamed from automatic-hscrolling.
19891         (automatic-hscrolling): Now a defvaralias for auto-hscroll-mode.
19893         * mouse.el (mouse-region-delete-keys): Add deletechar.
19895 2002-03-03  Sam Steingold  <sds@gnu.org>
19897         * play/snake.el (snake-score-file): Fixed parens (broken by the
19898         last patch).
19899         * play/tetris.el (tetris-score-file): Ditto.
19901 2002-03-03  Richard M. Stallman  <rms@gnu.org>
19903         * play/tetris.el (tetris-score-file): Put in home dir, not in /tmp.
19905         * play/snake.el (snake-score-file): Put in home dir, not in /tmp.
19907         * play/gamegrid.el (gamegrid-set-font, gamegrid-setup-face)
19908         (gamegrid-make-mono-tty-face): Fix usage of condition-case.
19910 2002-03-03  Thien-Thi Nguyen  <ttn@gnu.org>
19912         * calendar/diary-lib.el (list-diary-entries): Use `buffer-substring'
19913         instead of `buffer-substring-no-properties' to support enriched mode.
19915 2002-03-02  Richard M. Stallman  <rms@gnu.org>
19917         * find-dired.el (find-grep-dired): Call shell-quote-argument.
19918         Specify the -e option.
19919         Rename arg to `regexp'.
19921 2002-03-02  Milan Zamazal  <pdm@zamazal.org>
19923         * textmodes/tildify.el (tildify-string-alist): Add entry for xml-mode.
19925 2002-03-02  Miles Bader  <miles@gnu.org>
19927         * mwheel.el (mwheel-scroll): Remove `double' and `triple' from the
19928         event-modifiers before looking up in `mouse-wheel-scroll-amount'.
19929         If there's no applicable modifiers entry in the alist in
19930         `mouse-wheel-scroll-amount', fall back to the default, not to
19931         nil (which causes full screen scrolls).
19933 2002-03-01  Andreas Schwab  <schwab@suse.de>
19935         * textmodes/texnfo-upd.el (texinfo-start-menu-description):
19936         Remove extra paren in regexp.
19938 2002-03-01  Eli Zaretskii  <eliz@is.elta.co.il>
19940         * mouse.el (mouse-show-mark): Use display-mouse-p, not
19941         display-graphic-p, to decide whether to move point or use the
19942         highlighting.
19944 2002-02-28  Colin Walters  <walters@verbum.org>
19946         * eshell/esh-var.el (eshell-parse-variable-ref): Use `make-temp-file'.
19948         * calc/calc-graph.el (calc-gnuplot-tempfile): Don't expand against
19949         `temporary-file-directory'; we now do that in `calc-graph-file-cache'.
19950         (calc-temp-file-name): Use `make-temp-file'.
19952 2002-02-28  Richard M. Stallman  <rms@gnu.org>
19954         * font-lock.el (java-font-lock-extra-types):
19955         Match java.net.URL, etc.
19957 2002-02-28  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19959         * hexl.el (hexl-options): Doc fix.
19960         Update Commentary section.
19962         * textmodes/sgml-mode.el (sgml-specials, sgml-quick-keys):
19963         Doc fixes.
19965 2002-02-28  Andre Spiegel  <spiegel@gnu.org>
19967         * vc.el (vc-revert-buffer): If the buffer is not saved, prompt
19968         the user to do that first.
19969         (vc-update): New function.
19971         * vc-hooks.el (vc-menu-map): New entry "Update to Latest Version",
19972         which calls vc-update.  Use the term "Base Version" instead of
19973         "Last Version" for the entries "Revert" and "Compare".
19975 2002-02-28  Kim F. Storm  <storm@cua.dk>
19977         * simple.el (shell-command-on-region): Report non-zero exit
19978         status in mode line instead of buffer.
19980 2002-02-27  Richard M. Stallman  <rms@gnu.org>
19982         * comint.el (comint-preoutput-filter-functions): Doc fix.
19983         (comint-output-filter-functions, comint-input-filter-functions)
19984         (comint-redirect-filter-functions): Likewise.
19986         (comint-redirect-preoutput-filter): Do the local-hook
19987         handling of t when running comint-redirect-filter-functions.
19988         (comint-output-filter): Likewise for comint-preoutput-filter-functions.
19990 2002-02-26  Richard M. Stallman  <rms@gnu.org>
19992         * paths.el (remote-shell-program): Add doc string.
19994 2002-02-26  Colin Walters  <walters@debian.org>
19996         * ibuf-ext.el (sorter mode-name): New.
19997         (ibuffer-do-occur): Don't quote ibuffer-marked-char.
19999         * calc/calc-ext.el (calc-scroll-left): Call scroll-left
20000         interactively, so they do something.
20001         (calc-scroll-right): Ditto.
20003 2002-02-26  Eli Zaretskii  <eliz@is.elta.co.il>
20005         * international/mule.el (ctext-pre-write-conversion): Handle the
20006         case when FROM is a string, and when we are called from
20007         build_annotations_2.
20009 2002-02-26  Richard M. Stallman  <rms@gnu.org>
20011         * rect.el (clear-rectangle-line): Reindent to the same column
20012         that move-to-column reached when it tried to go to endcol.
20014         * icomplete.el (icomplete-exhibit): Use minibuffer-prompt-end.
20016 2002-02-26  Ivar Rummelhoff  <ivarru@math.uio.no>
20018         * winner.el (winner-boring-buffers, winner-set): A window which
20019         displays a buffer whose name is in the list
20020         `winner-boring-buffers', will no longer be restored by `winner-undo'.
20021         (winner-sorted-window-list): Used to improve comparison between
20022         window configurations.
20023         (winner-win-data): Simplified and moved.
20024         (winner-conf): Simplified (now uses `winner-win-data').
20025         (winner-change-fun, winner-save-old-configurations)
20026         (winner-save-(un)conditionally, winner-redo): Changes made while in
20027         the minibuffer will be ignored.  (Such changes are undone upon
20028         exit for the minibuffer, anyway.)
20029         (winner-set-conf): Preserve selected window whenever possible.
20030         (winner-make-point-alist): Simplified.
20031         (winner-mode, winner-save-unconditionally): Save current window
20032         configuration on entering minibuffer.
20033         (minor-mode-alist): Don't add winner-mode to `minor-mode-alist',
20034         since it does not change the overall behavior of Emacs.
20036 2002-02-26  Eli Zaretskii  <eliz@is.elta.co.il>
20038         * international/mule-conf.el (compound-text): Renamed back from
20039         compound-text-no-extensions.
20040         (ctext-no-compositions): Remove the mime-charset property.
20041         (compound-text-with-extensions): Renamed from compound-text.
20042         (x-ctext-with-extensions, ctext-with-extensions): Renamed aliases.
20044 2002-02-26  Juanma Barranquero  <lektu@terra.es>
20046         * faces.el (list-faces-display): Fix typo.
20048 2002-02-25  Richard M. Stallman  <rms@gnu.org>
20050         * frame.el (focus-follows-mouse): Doc fix.
20052 2002-02-26  Miles Bader  <miles@gnu.org>
20054         * mwheel.el (mouse-wheel-mode): Pass vectors instead of symbols
20055         to `define-key', since it no longer accepts the latter.
20057 2002-02-25  Jason Rumney  <jasonr@gnu.org>
20059         * term/w32-win.el (mouse-wheel-scroll-line): Use car of
20060         mouse-wheel-scroll-amount.
20062         * w32-vars.el (mouse-wheel-scroll-amount): Use same definition as
20063         mwheel.el.
20065         * language/japanese.el (iso-2022-jp-2): Add init-bol flag.
20067 2002-02-25  Andre Spiegel  <spiegel@gnu.org>
20069         * vc.el (vc-diff-switches-list): Fix prev change, making the macro
20070         consistent with the others that take a backend name as a symbol.
20072         * vc-cvs.el, vc-rcs.el, vc-sccs.el: Fix calls to vc-diff-switches-list.
20074 2002-02-25  Kim F. Storm  <no-spam@cua.dk>
20076         * comint.el (comint-replace-by-expanded-filename): Do nothing if
20077         comint-match-partial-filename returns nil.
20079         * shell.el (shell-pcomplete-setup-done): New variable.
20080         (shell-pcomplete): Use it instead of shell-pcomplete-setup-p.
20081         (shell-pcomplete-reverse): Ditto.
20083 2002-02-25  Per Abrahamsen  <abraham@dina.kvl.dk>
20085         * ps-print.el (ps-print-printer): Added `lpr' customize group member.
20087 2002-02-25  Juanma Barranquero  <lektu@terra.es>
20089         * subr.el (save-match-data): Doc fix.
20091         * ielm.el (ielm-prompt): Allow customization; make it read-only.
20093 2002-02-25  Kim F. Storm  <storm@cua.dk>
20095         * shell.el (shell-mode-map): Add "Complete" header so completion
20096         menu is shown on the menu bar in shell mode.
20098 2002-02-25  Stefan Monnier  <monnier@cs.yale.edu>
20100         * ielm.el (ielm-match-data): New var.
20101         (inferior-emacs-lisp-mode): Make it buffer-local.
20102         (ielm-eval-input): Use it to preserve match-data between inputs.
20104 2002-02-24  Juanma Barranquero  <lektu@terra.es>
20106         * ielm.el (inferior-emacs-lisp-mode): Use hexl for the dummy process.
20108 2002-02-24  Per Abrahamsen  <abraham@dina.kvl.dk>
20110         * cus-edit.el (custom-unlispify-remove-prefixes): Add to
20111         `custom-buffer' customize group.
20113 2002-02-23  Kim F. Storm  <storm@cua.dk>
20115         * help.el (where-is): Use remap-command.
20117         * help-fns.el (describe-function-1): Use remap-command.
20119         * subr.el (global-set-key, local-set-key): Undo 2002-02-06
20120         change (no longer accept a symbol for the KEY argument).
20122 2002-02-23  Colin Walters  <walters@debian.org>
20124         * calc/calcalg3.el (calc-invent-variables): Convert integer to string.
20125         * calc/calcalg2.el (math-solve-get-sign): Ditto.
20127         * ibuffer.el (ibuffer-compile-format): Don't uselessly bind `pt'
20128         in generated function.
20130         * ibuf-ext.el (ibuffer-old-time): Change to hours.
20131         (ibuffer-mark-old-buffers): Handle it.
20133         * shell.el (shell-pcomplete, shell-pcomplete-reverse): New functions.
20134         (toplevel): Bind them.
20135         (shell-mode): Don't set `comint-dynamic-complete-functions'; it is
20136         not necessary now that we use pcomplete.
20138         * comint.el: Document how use new pcomplete completion facility.
20140 2002-02-23  Richard M. Stallman  <rms@gnu.org>
20142         * mail/rmailsum.el (rmail-summary-output): Properly advance
20143         to next message, by calling rmail-summary-goto-msg.
20145         * net/browse-url.el (browse-url-galeon): Specify --existing
20146         for an existing window.  Use --noraise rather than --no-raise.
20147         Don't use -x.
20149 2002-02-22  Eli Zaretskii  <eliz@is.elta.co.il>
20151         * progmodes/etags.el (find-tag-noselect, find-tag)
20152         (find-tag-other-window, find-tag-other-frame, find-tag-regexp):
20153         Fix a typo in doc strings.
20155 2002-02-20  Deepak Goel  <deego@glue.umd.edu>
20157         * play/snake.el (snake-velocity-queue, snake-update-velocity)
20158         (snake-final-x-velocity, snake-final-y-velocity):
20159         New variable and functions.  Store user's keypresses
20160         into a queue and pop from the queue each subsequent turn.
20161         (snake-update-game, snake-move-left)
20162         (snake-move-right, snake-move-up, snake-move-down, snake-active-p)
20163         (snake-start-game): Use that queue.
20164         (snake-use-glyphs-flag): Renamed from snake-use-glyphs.
20165         (snake-use-color-flag): Likewise.
20166         (snake-mode): Rename uses of those variables.
20168 2002-02-22  Eli Zaretskii  <eliz@is.elta.co.il>
20170         Support for ICCCM  Extended Segments in X selections:
20172         * international/mule-conf.el (ctext-no-compositions): New coding
20173         system.
20174         (compount-text-no-extensions): Renamed from compound-text.
20175         (x-ctext-no-extensions, ctext-no-extensions): Aliases for
20176         compound-text-no-extensions.
20177         (compound-text): Redefined using post-read and pre-write conversions.
20179         * international/mule.el (non-standard-icccm-encodings-alist)
20180         (non-standard-designations-alist): New variables.
20181         (ctext-post-read-conversion, ctext-pre-write-conversion):
20182         New functions.
20184 2002-02-21  Jonathan Kamens  <jik@kamens.brookline.ma.us>
20186         * vc.el (vc-default-init-version): Update documentation to
20187         indicate that the backend can override the default init version.
20188         (vc-register): Use the backend init-version function, if it
20189         exists, to determine the initial version of a file.
20190         (vc-diff-switches-list): Don't symbol-quote backend, since it's
20191         already a symbol.  Don't fail if vc-BACKEND-diff-switches isn't bound.
20193         * vc-hooks.el (vc-mode-line): Set vc-mode to nil if the file is
20194         not version-controlled.  This is necessary, e.g., if the file has
20195         just been reverted, and thus was previously under version control
20196         but isn't any longer.
20197         (vc-find-file-hook): Likewise.
20199 2002-02-21  Martin Lorentzson  <Martin.Lorentzson@telia.com>
20201         * vc-cvs.el (vc-cvs-sticky-date-format-string): New variable.
20202         (vc-cvs-sticky-tag-display): New variable.
20203         (vc-cvs-mode-line-string): Add sticky-tag to the mode-line.
20204         (vc-cvs-checkin): If the input revision is a valid symbolic tag
20205         name, we create it as a branch, commit and switch to it.
20206         (vc-cvs-retrieve-snapshot): Set file-property sticky-tag.
20207         (vc-cvs-valid-symbolic-tag-name-p): New function.
20208         (vc-cvs-parse-sticky-tag): New function.
20209         (vc-cvs-parse-entry): Add parsing of sticky tags.
20211 2002-02-21  Per Abrahamsen  <abraham@dina.kvl.dk>
20213         * toolbar/tool-bar.el (tool-bar-mode): Revert the :init-value to
20214         nil, and then explicitly set the standard-value to t.
20216 2002-02-20  Sam Steingold  <sds@gnu.org>
20218         * textmodes/flyspell.el (flyspell-mode): Autoload the variable
20219         since it is used in the menu bar.
20221 2002-02-20  Richard M. Stallman  <rms@gnu.org>
20223         * simple.el (shell-command-on-region): Display the exit status
20224         when a command fails.
20226         * subr.el (add-hook): Doc fix.
20228         * frame.el (other-frame): Doc fix.
20230         * simple.el (yank): Clear `field' property.
20232 2002-02-20  Tom Tromey  <tromey@cachet>
20234         * progmodes/tcl.el (tcl-do-fill-paragraph): Find and fill on more
20235         natural paragraph boundaries.  Don't fail at beginning of buffer.
20237 2002-02-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20239         * tar-mode.el (tar-next-line, tar-previous-line): Add doc string,
20240         call the argument "arg" to match plain next-line and
20241         previous-line.  From Kevin Ryde <user42@zip.com.au>.
20243 2002-02-19  Sam Steingold  <sds@gnu.org>
20245         * mwheel.el (mouse-wheel-scroll-amount): Can specify different
20246         scroll amounts for different modifiers now.
20247         (mwheel-scroll): Handle the new `mouse-wheel-scroll-amount'
20248         format properly.
20249         (mouse-wheel-mode): Ditto.
20251 2002-02-19  Eli Zaretskii  <eliz@is.elta.co.il>
20253         * textmodes/bibtex.el (bibtex-parse-keys): Put save-match-data
20254         around function body.
20256         * net/browse-url.el (browse-url-maybe-new-window): Reverse the
20257         sense of the comparison, to match the doc strings of functions
20258         that use this macro.
20260 2002-02-19  Per Abrahamsen  <abraham@dina.kvl.dk>
20262         * facemenu.el (describe-text-mode-map): Removed bootstrap kludge.
20264         * toolbar/tool-bar.el (tool-bar-mode): Made the standard value t.
20265         * menu-bar.el (menu-bar-mode): Ditto.
20267 2002-02-18  Andreas Schwab  <schwab@suse.de>
20269         * replace.el (query-replace-regexp-eval): Doc fix.
20271 2002-02-18  Colin Walters  <walters@verbum.org>
20273         * calc/calcalg2.el (math-solve-get-int): Convert return value from
20274         `math-get-from-counter' to a string before calling `concat' on it.
20276         * calc/calc-maint.el (calc-split-manual): Look for calc.texi.
20277         (calc-public-autoloads): Obsolete; remove.
20278         (calc-private-autoloads): Ditto.
20279         (calc-add-autoloads): Ditto.
20281         * calc/calc-macs.el (calc-with-default-simplification): Use &rest
20282         for body.
20284 2002-02-17  Jason Rumney  <jasonr@gnu.org>
20286         * w32-win.el (x-option-alist, x-long-option-alist)
20287         (x-switch-definitions): Remove, use command-line-x-option-alist
20288         instead to be consistent with X.
20289         (x-handle-initial-switch): New function.
20291 2002-02-17  Eli Zaretskii  <eliz@is.elta.co.il>
20293         * faces.el (mode-line-inactive, header-line): Add the :inherit
20294         attribute for the tty case.
20296 2002-02-17  stanislav shalunov  <shalunov@internet2.edu>
20298         * mail/uce.el (uce-reply-to-uce): Fix incorrect behavior when
20299         invoked from Rmail with full headers displayed.
20301 2002-02-17  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
20303         * emacs-lisp/lisp.el (mark-defun): Don't leave multiple marks
20304         when repeated.
20305         * textmodes/paragraphs.el (mark-paragraph): Ditto.
20307 2002-02-17  Per Abrahamsen  <abraham@dina.kvl.dk>
20309         * menu-bar.el (menu-bar-showhide-menu): Added speedbar.
20310         (menu-bar-tools-menu): Removed speedbar.
20312         * textmodes/ispell.el (ispell-menu-map): Added `customize-ispell'
20313         and `flyspell-mode' entries.
20315         * textmodes/flyspell.el (flyspell): Add to ispell group.
20317 2002-02-17  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
20319         * emacs-lisp/lisp.el (mark-sexp): Don't leave multiple marks when
20320         repeated.
20321         (mark-defun): Mark more if repeated.
20323 2002-02-17  Colin Walters  <walters@verbum.org>
20325         * ibuf-ext.el (ibuffer-toggle-sorting-mode): Make it work.
20327         * ibuffer.el (ibuffer-truncate-lines): New option.
20328         (ibuffer-mode): Use it.
20330 2002-02-17  Kim F. Storm  <storm@cua.dk>
20332         * cus-start.el: Add mouse-highlight.
20334 2002-02-16  Eli Zaretskii  <eliz@is.elta.co.il>
20336         * Makefile.in (DONTCOMPILE): Remove cus-start.el.
20338         * cus-start.el: Add automatic-hscroll-margin and
20339         automatic-hscroll-step.
20341 2002-02-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20343         * cus-start.el (x-autoselect-window): Allow customization.
20345         * eshell/em-alias.el (eshell-alias-initialize): Do not use
20346         make-local-hook.
20348         * eshell/em-cmpl.el (eshell-cmpl-initialize): Likewise.
20350         * eshell/em-dirs.el (eshell-dirs-initialize): Likewise.
20352         * eshell/em-glob.el (eshell-glob-initialize): Likewise.
20354         * eshell/em-hist.el (eshell-hist-initialize): Likewise.
20356         * eshell/em-pred.el (eshell-pred-initialize): Likewise.
20358         * eshell/em-prompt.el (eshell-prompt-initialize): Likewise.
20360         * eshell/em-rebind.el (eshell-rebind-initialize): Likewise.
20362         * eshell/em-smart.el (eshell-smart-initialize): Likewise.
20364         * eshell/em-unix.el (eshell-unix-initialize): Likewise.
20366         * eshell/esh-cmd.el (eshell-cmd-initialize): Likewise.
20368         * eshell/esh-ext.el (eshell-ext-initialize): Likewise.
20370         * eshell/esh-io.el (eshell-io-initialize): Likewise.
20372         * eshell/esh-mode.el (eshell-mode): Likewise.
20374         * eshell/esh-test.el (eshell-show-usage-metrics): Likewise.
20376         * eshell/esh-var.el (eshell-var-initialize): Likewise.
20378         * progmodes/idlw-shell.el (idlwave-shell-mode): Likewise.
20380         * progmodes/idlwave.el (idlwave-mode): Likewise.
20382         * textmodes/reftex-sel.el (reftex-select-label-mode)
20383         (reftex-select-bib-mode): Likewise.
20385 2002-02-16  John Wiegley  <johnw@gnu.org>
20387         * eshell/em-hist.el (eshell-hist-initialize): When in the
20388         minibuffer, use the global value of `eshell-history-ring', and
20389         never save it to disk, or ask to save it to disk.  This allows
20390         users of session.el to control whether its global state should be
20391         persisted or not.
20392         (eshell-add-command-to-history): Don't write Eshell's history out
20393         to disk, let the governing mode control that upon exit.
20395 2002-02-16  Eli Zaretskii  <eliz@is.elta.co.il>
20397         * eshell/eshell.el (eshell-command): Before reading from the
20398         minibuffer, add eshell-add-command-to-history to
20399         minibuffer-exit-hook, and remove it after read-from-minibuffer
20400         returns.
20402         * eshell/em-hist.el (eshell-add-input-to-history): New function,
20403         with most of the code from eshell-add-to-history.
20404         (eshell-add-command-to-history): New function, to record in
20405         eshell-history the commands run via eshell-command.
20406         (eshell-add-to-history): Call eshell-add-command-to-history to do
20407         most of the work.
20409 2002-02-16  John Wiegley  <johnw@gnu.org>
20411         * eshell/esh-ext.el (eshell-external-command): Added a fix for
20412         XEmacs' new dired.el, which adds a global entry in the
20413         `file-name-handler-alist'.
20415 2002-02-16  John Wiegley  <johnw@gnu.org>
20417         * align.el (align-region): Added a missing name argument.
20419 2002-02-16  John Wiegley  <johnw@gnu.org>
20421         * eshell/esh-ext.el (eshell-script-interpreter): Allow whitespace
20422         after the #! of a shell interpretor specification.
20424 2002-02-15  Richard M. Stallman  <rms@gnu.org>
20426         * help.el (describe-key-briefly): Make output in INSERT case
20427         look just like what is displayed in the normal case.
20429 2002-02-15  Andreas Schwab  <schwab@suse.de>
20431         * textmodes/tex-mode.el (tex-font-lock-keywords-2):
20432         Require non-letter after specials.
20434 2002-02-15  Eli Zaretskii  <eliz@is.elta.co.il>
20436         * menu-bar.el (menu-bar-tools-menu): Add an item for Calculator.
20438 2002-02-15  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
20440         * simple.el (mark-word): Mark more if repeated.
20441         * textmodes/paragraphs.el (mark-paragraph): Ditto.
20442         (mark-end-of-sentence): Ditto.
20444 2002-02-15  Per Abrahamsen  <abraham@dina.kvl.dk>
20446         * wid-edit.el (widgetp): Made it more robust.
20448 2002-02-14  Per Abrahamsen  <abraham@dina.kvl.dk>
20450         * facemenu.el (describe-text-done): New function.
20451         (describe-text-mode-map): New variable.
20452         (describe-text-mode-hook): New option.
20453         (describe-text-mode): New function.
20454         (describe-text-widget): New function.
20455         (describe-text-sexp): New function.
20456         (describe-text-properties): New function.
20457         (describe-text-category): New command.
20458         (describe-text-at): New command.
20459         (facemenu-menu): Replace `list-text-properties-at' with
20460         `describe-text-at' in the menu.
20462         * wid-edit.el (widgetp): New function.
20463         * wid-edit.el (widget-keymap, widget-insert, widget-setup): Autoload.
20465         * emacs-lisp/pp.el (pp-to-string): Autoloaded.
20467         * wid-browse.el: Removed version and x-url keywords.
20469 2002-02-13  Kim F. Storm  <storm@cua.dk>
20471         * cus-start.el (mode-line-in-non-selected-windows):
20472         Allow customization.
20474 2002-02-13  Richard M. Stallman  <rms@gnu.org>
20476         * textmodes/bibtex.el (bibtex-parse-buffers-stealthily):
20477         Tell bibtex-parse-keys to output no progress messages.
20479 2002-02-12  Eli Zaretskii  <eliz@is.elta.co.il>
20481         * progmodes/pascal.el (pascal-imenu-generic-expression):
20482         Add menu-title and fix parentheses.
20484 2002-02-12  Per Abrahamsen  <abraham@dina.kvl.dk>
20486         * menu-bar.el (menu-bar-options-save): Removed `truncate-lines'.
20487         (menu-bar-options-menu): Don't set default value for `truncate-lines'.
20489 2002-02-12  Per Abrahamsen  <abraham@dina.kvl.dk>
20491         * menu-bar.el (menu-bar-options-save): Only save
20492         `current-language-environment' and `default-input-method' when
20493         marked as customized.
20495         * international/mule-cmds.el
20496         (setup-specified-language-environment):
20497         Mark `current-language-environment' as customized.
20498         (set-input-method): Mark `default-input-method' as customized when
20499         called interactively.
20500         (toggle-input-method): Ditto.
20502 2002-02-11  Colin Walters  <walters@verbum.org>
20504         * ibuffer.el (ibuffer-switch-format): Supply required argument for
20505         `ibuffer-current-formats'.
20507 2002-02-11  Miles Bader  <miles@gnu.org>
20509         * faces.el (mode-line-inactive): Add dark-background variant.
20511 2002-02-11  Per Abrahamsen  <abraham@dina.kvl.dk>
20513         * toolbar/tool-bar.el (tool-bar-mode): Removed standard value.
20514         * menu-bar.el (menu-bar-mode): Ditto.
20515         * cus-edit.el (customize-mark-to-save): Always save variables
20516         without a standard value.
20518         * menu-bar.el (menu-bar-make-toggle): Made it aware of customize.
20519         (menu-bar-options-save): Ditto.
20520         (menu-bar-showhide-menu): Ditto.
20521         (menu-bar-options-menu): Ditto.
20522         (menu-bar-scroll-bar-right, menu-bar-scroll-bar-left)
20523         (menu-bar-scroll-bar-none): Remove.
20524         (menu-bar-showhide-scroll-bar-menu): Use customize aware lambda
20525         expressions instead.
20527         * cus-edit.el (customize-set-value): Return value.
20528         (customize-set-variable): Ditto.
20529         (customize-save-variable): Ditto.
20530         (customize-set-variable): Load dependencies before setting value.
20531         (custom-load-symbol): Autoload it.
20532         (customize-mark-as-set): New function.
20534 2002-02-11  Eli Zaretskii  <eliz@is.elta.co.il>
20536         * cus-start.el: Don't warn about "x-*" symbols when building a
20537         non-GUI version.
20539 2002-02-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20541         * strokes.el (strokes-do-stroke, strokes-do-complex-stroke):
20542         Doc fix.
20543         (strokes-help): Do not use doubled with-output-to-temp-buffer.
20544         Fix the help string.
20545         (strokes-prompt-user-save-strokes): Fix typo.
20546         (strokes-list-strokes): Use proper exit-action argument for
20547         view-buffer.  Update copyright notice.
20549         * international/mule-diag.el: Various doc and message fixes.
20550         (non-iso-charset-alist): Add mac-roman.  Don't add entries for
20551         codepages already present.
20552         (list-block-of-chars): Display space for null entries in
20553         translation table.  Display tab specially.
20554         (list-non-iso-charset-chars): Check for null charsets.  Use pop
20555         for clarity.  Don't break 8-bit sets into sections between ranges.
20556         (list-charset-chars): Avoid indent-tabs-mode.
20557         (describe-char-after): Maybe use the text property for syntax
20558         table information.  Maybe report char-code-property-table info.
20559         Maybe report character's unicode.  Tweak printing of list info.
20560         (list-input-methods): Add xref buttons.
20561         (dump-charsets, dump-codings): Deleted (obsolete).
20562         From Dave Love <fx@gnu.org>.
20564 2002-02-10  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20566         * menu-bar.el (menu-bar-showhide-menu): Rename functions for toggling.
20568 2002-02-10  Michael Kifer  <kifer@cs.stonybrook.edu>
20570         * viper-util.el (viper-read-key-sequence): Fix so it'll read
20571         fast key sequences in emacs native mode
20572         (viper-events-to-keys): Delete.
20574         * viper.el (describe-key, describe-key-briefly): Get rid of
20575         viper-events-to-keys.
20577         * ediff-init.el (ediff-has-gutter-support): Steven Turnbull's patch.
20579         * ediff-wind.el (ediff-setup-control-frame):
20580         Use ediff-has-gutter-support.
20582         * ediff-util.el (ediff-dispose-of-variant-according-to-user):
20583         check if buff is alive.
20585         * ediff.el: Typo in comment.
20587 2002-02-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20589         * menu-bar.el (menu-bar-options-save): Take care of
20590         line-number-mode and column-number-mode variables.
20591         (menu-bar-showhide-menu): New menu-items "Show Line Number" and
20592         "Show Column Number" in "Show/Hide" menu.
20594 2002-02-09  Richard M. Stallman  <rms@gnu.org>
20596         * mail/mailabbrev.el (mail-mode-map): Use eval-after-load to change it.
20598 2002-02-09  Kim F. Storm  <storm@cua.dk>
20600         * faces.el (mode-line-inactive): New face for mode-line for
20601         non-selected windows.
20602         (mode-line): Doc fix: Only used for selected window.
20604 2002-02-08  Eli Zaretskii  <eliz@is.elta.co.il>
20606         * calendar/cal-menu.el (calendar-mode-map): Change the menu item's
20607         name to "Insert Diary Entry".
20609 2002-02-08  Stefan Monnier  <monnier@cs.yale.edu>
20611         * font-lock.el (save-buffer-state): Use restore-buffer-modified-p.
20612         (c-font-lock-syntactic-face-function): Accept doxygen-style comments.
20614 2002-02-08  Richard M. Stallman  <rms@gnu.org>
20616         * textmodes/text-mode.el (text-mode-hook-identify): Define as no-op.
20618 2002-02-08  Andreas Schwab  <schwab@suse.de>
20620         * calc/calc.el (calcDigit-key): Use minibuffer-prompt-end instead
20621         of point-min.
20623 2002-02-08  Eli Zaretskii  <eliz@is.elta.co.il>
20625         * net/ange-ftp.el (ange-ftp-process-handle-line)
20626         (ange-ftp-set-xfer-size): If the file's size is a float, divide
20627         by 1024 instead of using ash.
20629         * international/mule-cmds.el (select-safe-coding-system):
20630         State the buffer's name in the message popped in the *Warning* buffer,
20631         and make sure the offending buffer is displayed.
20633 2002-02-07  Markus Rost  <rost@math.ohio-state.edu>
20635         * ffap.el (ffap-newsgroup-p): Test for non-nil symbol-value of htb.
20637 2002-02-07  Richard M. Stallman  <rms@gnu.org>
20639         * terminal.el (terminal-map): Define [menu-bar] so global def is seen.
20641         * register.el (list-registers): New command.
20642         (describe-register-1): New subroutine, taken out of view-register.
20644         * emacs-lisp/copyright.el (copyright-regexp):
20645         Delete the unibyte copyright symbol; it's redundant.
20646         Fix a spazz in the multibyte encoding here.
20648 2002-02-07  Dave Love  <fx@gnu.org>
20650         * language/cyril-util.el (cyrillic-encode-koi8-r-char)
20651         (cyrillic-encode-alternativnyj-char): Get translation tables from
20652         symbol properties, not as variables.
20653         (standard-display-cyrillic-translit): Include unicodes.
20655 2002-02-06  Kim F. Storm  <storm@cua.dk>
20657         * help.el (where-is): Report remapped commands.
20659         * help-fns.el (describe-function-1): Ditto.
20661         * subr.el (global-set-key, local-set-key): Accept a symbol for the
20662         KEY argument (like define-key).
20664 2002-02-06  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20666         * textmodes/flyspell.el (flyspell-insert-function): Doc fix.
20668 2002-02-06  Richard M. Stallman  <rms@gnu.org>
20670         * mail/mailabbrev.el: Require sendmail only at compile time.
20671         (mail-mode-header-syntax-table): Var deleted.
20672         (mail-abbrev-syntax-table): Init to nil, will compute when needed.
20673         (sendmail-pre-abbrev-expand-hook): Only temporarily change
20674         local-abbrev-table and the syntax table.
20675         Compute mail-abbrev-syntax-table if that has not been done.
20677         * progmodes/compile.el (grep-compute-defaults): Definition moved up.
20679         * emacs-lisp/debug.el (debugger-frame-offset): Var deleted.
20680         (debugger-frame-number): Figure out the offset directly.
20681         (debugger-setup-buffer): Don't use debugger-frame-offset.
20682         (debugger-frame, debugger-frame-clear): Likewise.
20683         (debugger-jump): Don't alter debugger-frame-offset.
20685         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
20686         Replace foo-p as var name with foo-flag, not foo-p-flag.
20688         * hilit-chg.el (highlight-changes-active-string): Default to +Chg.
20689         (highlight-changes-passive-string): Default to -Chg.
20690         (highlight-changes-global-modes): Doc fix.
20692         * dired.el (dired-get-filename): Add /: when appropriate
20693         to avoid taking a local name as remote.
20695         * files.el (file-name-non-special): Add special handling for
20696         file-name-sans-versions, file-name-completion, and
20697         file-name-all-completions.
20699         * isearch.el (isearch-update): Don't update display in kbd macro.
20700         (isearch-lazy-highlight-new-loop): Do nothing in kbd macro.
20702         * subr.el (force-mode-line-update): Doc fix.
20704         * subr.el (atomic-change-group, prepare-change-group)
20705         (activate-change-group, accept-change-group, cancel-change-group):
20706         New functions.
20708         * simple.el (undo-get-state, undo-revert-to-state): Fns deleted.
20709         (transpose-subr-1): Use atomic-change-group.
20711         * subr.el (add-minor-mode): Include the mode's lighter string
20712         in the minor mode menu item name.
20714         * mail/rmail.el (rmail-toggle-header): Avoid possibly slow call to
20715         rmail-count-screen-lines starting from (point-min).
20717         * startup.el (use-fancy-splash-screens-p): Need 19 lines,
20718         beyond the image height, to use the fancy splash screen.
20720         * textmodes/text-mode.el (text-mode-hook-identify): Function deleted.
20721         (text-mode): Set text-mode-variant here.
20723 2002-02-06  Eli Zaretskii  <eliz@is.elta.co.il>
20725         * play/pong.el (pong-height): Don't use height that exceeds the
20726         frame height.
20727         (pong-border-options): Make the border colors slightly more bright.
20729         * play/gamegrid.el (gamegrid-display-type): Treat any
20730         color-capable display as color-x, if display-color-p is fboundp.
20731         (gamegrid-make-color-x-face): Don't call gamegrid-color twice.
20732         (gamegrid-make-color-tty-face): Use the value of color, not the
20733         symbol itself.  Don't call gamegrid-color.
20735 2002-02-05  Eli Zaretskii  <eliz@is.elta.co.il>
20737         * gud.el (gud-refresh): Call recenter only after we are sure we
20738         are in the right window.
20740 2002-02-05  Per Abrahamsen  <abraham@dina.kvl.dk>
20742         * cus-edit.el (customize-mark-to-save): New function.
20743         * menu-bar.el (menu-bar-options-save): Rewrote.
20745 2002-02-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20747         * cus-start.el (x-use-underline-position-properties):
20748         Allow customization.
20750 2002-02-04  Simon Josefsson  <jas@extundo.com>
20752         * dired.el (dired-load-hook, dired-mode-hook)
20753         (dired-before-readin-hook, dired-after-readin-hook): Defcustom.
20755 2002-02-03  Colin Walters  <walters@verbum.org>
20757         * ibuf-ext.el (ibuffer-filter-format-alist)
20758         (ibuffer-cached-filter-formats, ibuffer-compiled-filter-formats):
20759         New variables.
20760         * ibuffer.el (ibuffer): Remove link; the "home page" for ibuffer
20761         is now the Emacs CVS tree.
20762         (ibuffer-formats): Doc fix.
20763         (ibuffer-active-formats-name, ibuffer-current-formats): New functions.
20764         (ibuffer-current-format): Use them.
20765         (ibuffer-recompile-formats, ibuffer-check-formats)
20766         (ibuffer-switch-format, ibuffer-update-title):
20767         Add support for ibuffer-filter-format-alist.
20768         (define-ibuffer-column process): Remove unncessary consing.
20770         * ibuf-macs.el (define-ibuffer-column): Add beginnings of support
20771         for a summary column.
20773 2002-02-03  Andreas Schwab  <schwab@suse.de>
20775         * window.el (save-selected-window): Move macro before first use.
20776         (balance-windows): Fix misplaced parenthesis.
20778 2002-02-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20780         * calculator.el (calculator-displayers): Doc fixes.
20782 2002-02-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20784         * menu-bar.el (menu-bar-help-menu): Use different text for tool-tip.
20785         (menu-bar-options-save): Save also the value of `display-time-mode'.
20786         (showhide-date-time): New function.
20787         (menu-bar-showhide-menu): New menu-item "Date and time".
20789 2002-02-03  Eli Zaretskii  <eliz@is.elta.co.il>
20791         * mail/rmail.el (rmail): Use find-buffer-visiting instead of
20792         get-file-buffer to check for rmail buffer existence.
20794         * term.el (term-emulate-terminal): Extract proper command string
20795         which is supplied to term-command-hook.
20797 2002-02-03  Richard M. Stallman  <rms@gnu.org>
20799         * international/quail.el (quail-help): Don't call help-setup-xref.
20801         * international/mule-cmds.el (describe-input-method):
20802         Call help-setup-xref here.
20803         (describe-current-input-method): Doc fix.
20805         * novice.el (disabled-command-hook): Clarify output text.
20806         Indent the paragraph from the command's doc string.
20808         * dabbrev.el (dabbrev--goto-start-of-abbrev):
20809         Exit loop on beginning of field rather than bobp.
20811 2002-02-02  Eli Zaretskii  <eliz@is.elta.co.il>
20813         * mail/uce.el (uce-reply-to-uce): Prune the headers before copying
20814         the message text into the *mail* buffer, and restore the pruned
20815         state after that.
20817         * mail/rmail.el (rmail-redecode-body): Prune the headers before
20818         looking for X-Coding-System header, and restore the pruned state
20819         before returning.
20821 2002-02-02  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20823         * cus-edit.el (customize-save-variable): Fix typo in prompt.
20825         These changes integrate new version of flyspell.el from its
20826         maintainer, Manuel Serrano:
20828         * textmodes/flyspell.el (flyspell-issue-message-flag): New user option.
20829         (flyspell-mode-on, flyspell-notify-misspell)
20830         (flyspell-small-region, flyspell-external-point-words)
20831         (flyspell-large-region): Use it
20832         (flyspell-before-incorrect-word-string)
20833         (flyspell-after-incorrect-word-string): New user options.
20834         (make-flyspell-overlay): Use them.
20835         (flyspell-version): New function.
20836         (flyspell-incorrect-face, flyspell-duplicate-face): Adapt face
20837         definitions to use :weight.
20838         (flyspell-insert-function): New user option.
20839         (flyspell-auto-correct-word, flyspell-correct-word)
20840         (flyspell-xemacs-correct): Use it.
20841         (flyspell-define-abbrev): New function.
20842         (flyspell-auto-correct-word, flyspell-correct-word)
20843         (flyspell-xemacs-correct): Use it.
20844         (make-flyspell-overlay): Use `evaporate' property.
20845         (flyspell-auto-correct-word, flyspell-correct-word): Remove overlay.
20846         (flyspell-emacs-popup): Use `session' instead of `accept'.
20847         (flyspell-auto-correct-previous-pos): New variable.
20848         (flyspell-auto-correct-previous-hook)
20849         (flyspell-auto-correct-previous-word): New functions.
20851 2002-02-02  Eli Zaretskii  <eliz@is.elta.co.il>
20853         * novice.el (enable-command): If Emacs was invoked as "emacs -q",
20854         don't alter the user's ~/.emacs.
20855         (disable-command): If user-init-file is nil or does not exist,
20856         default to "~/.emacs" (~/_emacs on DOS and, maybe, Windows).
20857         But don't alter the init file if Emacs was invoked as "emacs -q"
20859 2002-02-01  Stefan Monnier  <monnier@cs.yale.edu>
20861         * mail/sendmail.el (mail-mode): Undo half of last change.
20863         * indent.el (indent-for-tab-command): Remove spurious code.
20865         * hi-lock.el (hi-lock-find-patterns): Save restriction.
20867 2002-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
20869         * calendar/time-date.el: Moved from lisp/gnus.
20871         * calendar/parse-time.el: Ditto.
20873 2002-01-31  Richard M. Stallman  <rms@gnu.org>
20875         * international/iso-acc.el (iso-languages): Fix ", " in French.
20877         * cus-start.el (history-length): Specify customization for it.
20879         * emacs-lisp/debug.el (debugger-setup-buffer):
20880         When an eval-buffer frame was reading from a buffer,
20881         insert indication of the buffer position.
20882         (debugger-frame-number): Ignore ;;;-comment lines in backtrace.
20883         (debugger-frame-clear, debugger-frame): Error on non-frame line.
20885         * simple.el (shell-command-on-region): Err if no mark
20886         before reading the command string.
20888         * hl-line.el (hl-line-highlight, hl-line-unhighlight):
20889         Definitions moved down after hl-line-mode var's definition.
20891         * hilit-chg.el (hilit-chg-fixup): Don't alter overlay if not ours.
20892         (hilit-chg-set-face-on-change): Rename arg.
20893         (hilit-chg-make-ov): Detect error earlier.
20895         * ediff-hook.el: Delete autoload cookies.
20897         * comint.el (comint-scroll-show-maximum-output): Default is t.
20899         * emacs-lisp/bytecomp.el (batch-byte-compile): New arg noforce.
20900         (batch-byte-compile-if-not-done): New function.
20902         * Makefile.in (compile): New target.
20903         (compile-always): Renamed from compile-files.
20904         (compile-after-backup): Renamed from compile.
20905         (bootstrap): Depend on compile-always, not compile-files.
20907         * emulation/pc-select.el (pc-select-save-and-set-mode):
20908         Properly use MODE-VAR.
20910 2002-01-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20912         * menu-bar.el (menu-bar-help-menu): Change menu-item "Show Emacs
20913         Version" to "About Emacs".
20914         (menu-bar-options-save): Add `default-frame-alist'
20915         to saved variables.
20916         (menu-bar-showhide-scroll-bar-menu): Use frame-parameters instead
20917         of the variable `scroll-bar-mode'.
20919         * startup.el (normal-splash-screen, display-splash-screen):
20920         New functions (separated from command-line-1).
20921         (command-line-1): Use them.
20923 2002-01-28  Eli Zaretskii  <eliz@is.elta.co.il>
20925         * calendar/calendar.el (generate-calendar-month): Doc fix.
20927 2002-01-27  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20929         * time.el (display-time-mail-directory): New option.
20930         (display-time-mail-function): Update doc-string.
20931         (display-time-mail-icon): Use XPM image when available.
20932         (display-time-string-forms): Use more descriptive text as
20933         help-echo property.
20934         (display-time-mail-check-directory): New function.
20935         (display-time-update): Use it.
20937         * menu-bar.el (menu-bar-showhide-scroll-bar-menu):
20938         Quote `window-system'.
20940         * tmm.el (tmm-get-keymap): Honour :visible in `menu-item'.
20941         Add Keywords header.  Update Commentary section.
20942         Update copyright notice.
20944         * menu-bar.el (menu-bar-scroll-bar-right)
20945         (menu-bar-scroll-bar-left, menu-bar-scroll-bar-none)
20946         (showhide-menu-bar): New functions.
20947         (menu-bar-showhide-menu): New submenu "Show/Hide".
20948         (menu-bar-showhide-scroll-bar-menu): "Scroll-bar" submenu of
20949         "Show/Hide".
20950         Update copyright notice.
20952 2002-01-27  Eli Zaretskii  <eliz@is.elta.co.il>
20954         * lazy-lock.el (lazy-lock-mode): Add a reference to jit-lock.
20956 2002-01-26  Evgeny Roubinchtein  <evgenyr@cs.washington.edu>
20958         * pc-select.el (pc-selection-mode-hook)
20959         (pc-select-saved-settings-alist, pc-select-map)
20960         (pc-select-saved-global-map, pc-select-key-bindings-alist)
20961         (pc-select-default-key-bindings, pc-select-extra-key-bindings)
20962         (pc-select-meta-moves-sexps-key-bindings)
20963         (pc-select-tty-key-bindings, pc-select-old-M-delete-binding):
20964         New variables.
20965         (pc-select-define-keys, pc-select-restore-keys): New functions.
20966         (pc-select-add-to-alist, pc-select-save-and-set-var)
20967         (pc-select-save-and-set-mode, pc-select-restore-var)
20968         (pc-select-restore-mode): New macros.
20969         (pc-selection-mode): Completely rewrote the body of the function;
20970         the main goal was to make pc-selection-mode "turn-off"-able, like
20971         other minor modes.  Use define-minore-mode instead of just a
20972         defun.  Store the key bindings into four alists:
20973         pc-select-default-key-bindings, pc-select-extra-key-bindings,
20974         pc-select-meta-moves-sexps-key-bindings, and
20975         pc-select-tty-key-bindings; then have the pc-select-define-keys
20976         function walk those alists instead of calling define-key
20977         repeatedly.  When the mode is turned on, set the
20978         keybindings in global-map and remember the old keybindings; when
20979         the mode is turned off, restore the previously-saved keybindings.
20980         (pc-selection-mode defcustom): Reflect the fact that the mode is
20981         now "turn-off"-able.
20983 2002-01-26  Eli Zaretskii  <eliz@is.elta.co.il>
20985         * eshell/esh-cmd.el (eshell-eval-command): If eshell-resume-eval
20986         returns t, don't treat that as an error.
20988 2002-01-25  Jason Rumney  <jasonr@gnu.org>
20990         * faces.el (face-font-registry-alternatives) [windows-nt]:
20991         Add ms-oemlatin as an alternative for iso8859-1.
20993 2002-01-25  Stefan Monnier  <monnier@cs.yale.edu>
20995         * pcvs.el (cvs-reread-cvsrc): Distinguish between an empty list of
20996         args and the absence of an entry.  Don't add -f each time.
20998 2002-01-25  Eli Zaretskii  <eliz@is.elta.co.il>
21000         * emacs-lisp/cl-seq.el (mismatch): Doc fix.
21002         Support for more than 8 colors on character terminals:
21004         * term/rxvt.el: New file.
21006         * Makefile.in (DONTCOMPILE): Remove term/xterm.el.
21008         * term/xterm.el (xterm-standard-colors): New variable.
21009         (xterm-rgb-convert-to-16bit, xterm-register-default-colors)
21010         (xterm-rxvt-set-background-mode): New functions.
21011         (toplevel): Call xterm-register-default-colors,
21012         xterm-rxvt-set-background-mode, and tty-set-up-initial-frame-faces.
21013         Add support for more keys from xterm's terminfo entry.
21015         * facemenu.el (list-colors-display): If the argument is nil, don't
21016         show more colors that the number returned by display-color-cells.
21018         * term/pc-win.el (msdos-color-values): Reverse the order of the
21019         colors, since tty-color-define now preserves the registration order.
21021         * w32-fns.el (w32-tty-standard-colors): Reverse the order.
21023         * term/tty-colors.el (tty-standard-colors): Reverse the order.
21024         (tty-register-default-colors): New function; code moved from
21025         startup.el's command-line.
21026         (tty-modify-color-alist): Use nconc instead of cons, to preserve
21027         the order the colors where registered.
21029         * frame.el (display-color-cells): Use tty-display-color-cells.
21031         * startup.el (command-line): Call tty-register-default-colors.
21033 2002-01-25  Richard M. Stallman  <rms@gnu.org>
21035         * subr.el (remove): Doc fix.
21037 2002-01-24  Richard M. Stallman  <rms@gnu.org>
21039         * progmodes/compile.el (compilation-handle-exit):
21040         Add a compilation-handle-exit property to the "finished" message.
21041         (compilation-parse-errors): Stop parsing when that property is seen.
21043         * subr.el (substring-no-properties): New function.
21044         (copy-without-properties): Function deleted.
21046         * term/x-win.el (x-handle-geometry): Put sizes on both
21047         initial-frame-alist and default-frame-alist.
21049         * cus-edit.el (custom-save-all): Bind file-precious-flag to t
21050         for saving .emacs.
21052         * files.el (basic-save-buffer-2): Ignore file-error in delete-file.
21054         * calendar/calendar.el (generate-calendar-month): Doc fix.
21056 2002-01-23  Richard M. Stallman  <rms@gnu.org>
21058         * play/tetris.el (tetris): New defgroup.
21059         (tetris-use-glyphs, tetris-use-color, tetris-draw-border-with-glyphs)
21060         (tetris-default-tick-period): Convert to defcustom.
21061         Added * in docstring to indicate user variable.
21062         (tetris-update-speed-function, tetris-mode-hook, tetris-tty-colors)
21063         (tetris-x-colors, tetris-buffer-name, tetris-buffer-width)
21064         (tetris-buffer-height, tetris-width, tetris-height)
21065         (tetris-top-left-x, tetris-top-left-y): Convert to defcustom.
21067 2002-01-22  Stefan Monnier  <monnier@cs.yale.edu>
21069         * mail/sendmail.el (mail-mode): ">" is not a supercite-style prefix
21070         and is already matched by adaptive-fill-regexp.
21072 2002-01-22  Richard M. Stallman  <rms@gnu.org>
21074         * bindings.el (mode-line-copied-mode-name): New variable.
21075         (mode-line-mode-name): Don't modify mode-name itself!
21076         Instead, make a copy and reuse it.
21078         * subr.el (copy-without-properties): New function.
21080         * progmodes/sh-script.el (sh-set-shell): Doc fix.
21082         * net/ange-ftp.el (ange-ftp-canonize-filename): Avoid duplicate
21083         slash if DIR is just slash.
21085         * progmodes/perl-mode.el (perl-mode-abbrev-table): Restore definition.
21087 2002-01-21  Richard M. Stallman  <rms@gnu.org>
21089         * emacs-lisp/copyright.el (copyright-regexp): Fix previous change.
21091         * net/ange-ftp.el (ange-ftp-bs2000-posix-hook-installed):
21092         Move defvar up.
21094         * textmodes/ispell.el (ispell-help): Clean up echo area if user quits.
21096         * ibuffer.el: Don't require ibuf-ext at load time.
21097         (ibuffer): Require ibuf-ext here.
21099 2002-01-21  Francesco Potort\e,Al\e(B  <pot@gnu.org>
21101         * generic-x.el (apache-conf-generic-mode): Highlight the first
21102         word in a line even if preceded by blanks.
21104 2002-01-21  Richard M. Stallman  <rms@gnu.org>
21106         * window.el (window-body-height): Handle minibuffer window specially.
21107         Otherwise, don't return less than 1.
21109 2002-01-20  Thomas Dorner  <Thomas.Dorner@start.de>
21111         * ange-ftp.el: Added support for BS2000, and for raw ftp
21112         login commands (needed in some circumstances).
21113         (ange-ftp-raw-login): New custom var.
21114         (ange-ftp-normal-login): Perform login with raw ftp commands, if
21115         ange-ftp-raw-login is set and account password is needed.
21116         (ange-ftp-host-type, ange-ftp-guess-host-type): Handle BS2000 hosts.
21117         (ange-ftp-bs2000-filename-pubset-regexp)
21118         (ange-ftp-bs2000-filename-username-regexp)
21119         (ange-ftp-bs2000-filename-prefix-regexp)
21120         (ange-ftp-bs2000-name-template): New consts.
21121         (ange-ftp-bs2000-short-filename-regexp)
21122         (ange-ftp-bs2000-fix-name-regexp-reverse)
21123         (ange-ftp-bs2000-fix-name-regexp): New consts.
21124         (ange-ftp-bs2000-special-prefix): New custom var.
21125         (ange-ftp-fix-name-for-bs2000)
21126         (ange-ftp-fix-dir-name-for-bs2000): New funs.
21127         (ange-ftp-bs2000-host-regexp, ange-ftp-bs2000-posix-host-regexp)
21128         (ange-ftp-bs2000-posix-hook-installed): New vars.
21129         (ange-ftp-parse-bs2000-filename, ange-ftp-parse-bs2000-listing)
21130         (ange-ftp-bs2000-host, ange-ftp-bs2000-posix-host)
21131         (ange-ftp-add-bs2000-host, ange-ftp-add-bs2000-posix-host): New funs.
21132         (ange-ftp-bs2000-filename-regexp): New const.
21133         (ange-ftp-bs2000-additional-pubsets): New custom var.
21134         (ange-ftp-bs2000-cd-to-posix): New fun.
21136 2002-01-20  Colin Walters  <walters@verbum.org>
21138         * ibuffer.el: (toplevel) Require `ibuf-ext', which is now compiled
21139         with `byte-compile-dynamic'.
21140         (ibuffer-default-directory, toplevel): Doc files.
21142 2002-01-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21144         * tempo.el (tempo-define-template): Doc fix.
21146         * scroll-bar.el (scroll-bar-mode): Make argument optional.
21148 2002-01-20  Jason Rumney  <jasonr@gnu.org>
21150         * w32-vars.el: New file.
21152         * loadup.el [windows-nt]: Load it.
21154         * w32-fns.el, term/w32-win.el: Move user variables to w32-vars.el
21155         and make them defcustoms.
21157         * term/w32-win.el (mouse-set-font): Use w32-list-proportional-fonts.
21159 2002-01-19  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21161         * language/tibet-util.el (tibetan-decompose-region)
21162         (tibetan-decompose-string): Fix typo in docstring.
21164         * ruler-mode.el (ruler-mode): New keyword.  Fix :version.
21166 2002-01-18  Richard M. Stallman  <rms@gnu.org>
21168         * comint.el (comint-redirect-send-command-to-process):
21169         Restore previous current buffer.
21171         * window.el (window-body-height): New function.
21173 2002-01-18  Zoltan Kemenczy  <kemenczy@rogers.com>
21175         * gud.el (easy-mmode-defmap): Enable "Up Stack", "Down Stack", and
21176         "Finish Function" menu map entries for jdb mode.
21177         (gud-jdb-use-classpath): New customization variable.
21178         (gud-jdb-command-name): Add customization.
21179         (gud-jdb-classpath, gud-marker-acc-max-length): New variables.
21180         (gud-jdb-classpath-string): New variable.
21181         (gud-jdb-source-files, gud-jdb-class-source-alist): Add doc strings.
21182         (gud-jdb-build-source-files-list): Likewise.
21183         (gud-jdb-massage-args): Record any command argument classpath
21184         string in `gud-jdb-classpath-string'.
21185         (gud-jdb-lowest-stack-level): New function, finds bottom of current
21186         java call stack in jdb output.
21187         (gud-jdb-find-source-using-classpath, gud-jdb-find-source)
21188         (gud-jdb-parse-classpath-string): New functions.
21189         (gud-jdb-marker-filter): Search/detect classpath information in
21190         jdb's output.  marker regexp updated to match oldjdb and jdb output
21191         formats.  Expand search for source files to include new/old methods
21192         using new functions above.  Do not allow `gud-marker-acc' to grow
21193         without bound.
21194         (jdb): Set classpath information (if available) as jdb is started.
21195         Change `gud-break' and `gud-remove'
21196         to use new %c ("class") escape in format strings.
21197         Add `gud-finish', `gud-up', `gud-down' command string functions, and
21198         add them to the local menu map.  Update `comint-prompt-regexp' for
21199         jdb and oldjdb.  If attaching to an already running java VM and
21200         configured to use classpath, send command to query for classpath,
21201         else use previous method for finding and parsing java
21202         sources.  Set `gud-jdb-find-source' function accordingly.
21203         (gud-mode): Doc fix.
21204         (gud-format-command): Add support for new %c ("class") escape.
21205         (gud-find-class): New function in support of %c escape.
21207 2002-01-17  Richard M. Stallman  <rms@gnu.org>
21209         * ibuf-ext.el: Enable byte-compile-dynamic.
21211 2002-01-17  Jason Rumney  <jasonr@gnu.org>
21213         * term/w32-win.el: Restore conditional require of fontset.
21215 2002-01-16  Richard M. Stallman  <rms@gnu.org>
21217         * mouse.el (mouse-drag-region-1): Renamed from mouse-drag-region,
21218         more or less.
21219         (mouse-drag-region): New function.  For a click in the echo area,
21220         show *Messages*.
21222         * ibuf-ext.el: Delete the autoloads for functions defined with
21223         ibuffer-specific commands.
21225         * help.el (describe-distribution): Really call view-file.
21227         * net/ange-ftp.el (ange-ftp-passive-mode): New arg PROC.
21228         (ange-ftp-get-process): Pass that arg.
21230         * comint.el (comint-simple-send): Fix previous change.
21232         * net/telnet.el (telnet-simple-send): Fix previous change.
21234         * progmodes/sql.el (sql-escape-newlines-and-send)
21235         (sql-query-placeholders-and-send): Fix previous change.
21237 2002-01-16  Colin Walters  <walters@verbum.org>
21239         * ibuf-ext.el, ibuf-macs.el, ibuffer.el (toplevel): Remove X-RCS,
21240         URL, Compatibility headers.  Update copyright notice.
21241         * ibuf-macs.el (toplevel): Require `cl' when compiling.
21243 2002-01-16  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
21245         * startup.el (command-line): Set EOL mnemonics for the Mac.
21247 2002-01-16  Andreas Schwab  <schwab@suse.de>
21249         * mail/feedmail.el (feedmail): Fix :link spec.
21251 2002-01-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21253         * net/ldap.el (ldap-ldapsearch-prog): Default to OpenLDAP version
21254         2 ldapsearch.
21256         * net/eudc.el: New maintainer.  Change author's address.
21257         (eudc-pre-select-window-configuration, eudc-insertion-marker):
21258         Variables removed.
21259         (eudc-insert-selected): Function removed.
21260         (eudc-select): Reimplemented.
21261         (eudc-expand-inline): Delete the strings only after its expansion
21262         is chosen not before.
21264         * net/eudcb-ph.el (eudc-ph-open-session): Remove XEmacs case.
21265         Minor coding style fixes.
21267         * net/eudcb-ldap.el: New maintainer.  Change author's address.
21268         (eudc-attribute-display-method-alist): Display mail with
21269         eudc-display-mail.
21271         * net/eudcb-bbdb.el, net/eudc-export.el, net/eudc-hotlist.el,
21272         * net/eudc-vars.el: New maintainer.  Change author's address.
21274         * net/eudc-bob.el: New maintainer.  Change author's address.
21275         (eudc-bob-mail-keymap): New keymap for e-mail addresses.
21276         (eudc-display-mail): New function.
21277         (eudc-bob-play-sound-at-point): Remove XEmacs case.
21279 2002-01-15  Richard M. Stallman  <rms@gnu.org>
21281         * emacs-lisp/autoload.el (make-autoload):
21282         Don't handle define-ibuffer-column, define-ibuffer-filter,
21283         define-ibuffer-sorter, and define-ibuffer-op.
21285 2002-01-14  Richard M. Stallman  <rms@gnu.org>
21287         * calendar/calendar.el (diary-date-forms): Doc fix.
21289 2002-01-14  Eli Zaretskii  <eliz@is.elta.co.il>
21291         * startup.el (command-line): Register the default tty colors even
21292         if the terminal doesn't seem to support colors.
21293         <tty-long-option-alist>: New option --color.
21294         (tty-handle-args): Parse the --color arg.
21296         * term/tty-colors.el (tty-color-mode-alist): New variable.
21298 2002-01-14  Stefan Monnier  <monnier@cs.yale.edu>
21300         * net/ange-ftp.el (ange-ftp-root-dir-p): New function.
21301         (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
21302         Use it.
21303         (ange-ftp-hook-function): Preserve match-data.
21304         (ange-ftp-insert-directory): Typo.
21305         (ange-ftp-shell-command): Check if regexp matched.
21307 2002-01-13  Richard M. Stallman  <rms@gnu.org>
21309         * international/mule-cmds.el: help-map bindings moved to help.el.
21311         * help.el (view-echo-area-messages): New function.
21312         (help-map): Add `e' binding.  Delete obsolete `d' binding.
21313         Change old Info bindings C-f, C-k and C-i to F, K, S.
21314         Move view-emacs-FAQ from F to C-f.
21315         Move view-emacs-problems from P to C-e.
21316         Bindings moved here from mule-cmds.el.
21317         C-l binding for describe-language-environment deleted
21318         (help-for-help): Update for all these changes.
21320         * emacs-lisp/copyright.el (copyright-regexp): Make (C) optional.
21322 2002-01-13  Dave Love  <fx@gnu.org>
21324         * emacs-lisp/copyright.el: Doc fixes.
21325         (copyright-regexp): Add Latin-9 copyright sign.
21326         Match comment delimiters in year lists.
21327         (copyright-current-year): Initialize to load-time year.
21329 2002-01-13  Andreas Schwab  <schwab@suse.de>
21331         * dired-aux.el (dired-do-shell-command): Doc fix.
21333 2002-01-13  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
21335         * startup.el (command-line-x-option-alist): New options "-fs",
21336         "-fw", "-fh", "--fullscreen", "--fullwidth", and "--fullheight".
21338         * term/x-win.el (x-handle-initial-switch): New function.
21340 2002-01-13  Colin Walters  <walters@debian.org>
21342         * emacs-lisp/autoload.el (make-autoload): Handle define-ibuffer-column,
21343         define-ibuffer-filter, define-ibuffer-sorter, and define-ibuffer-op.
21345         * emacs-lisp/lisp-mode.el (toplevel): Ditto.
21347         * ibuffer.el, ibuf-ext.el, ibuf-macs.el: New files.
21349 2002-01-12  Richard M. Stallman  <rms@gnu.org>
21351         * net/browse-url.el (browse-url-grail):
21352         Use browse-url-maybe-new-window.
21354         * net/telnet.el (telnet-simple-send):
21355         Handle comint-input-sender-no-newline like comint-simple-send.
21357         * progmodes/sql.el (sql-query-placeholders-and-send):
21358         Handle comint-input-sender-no-newline like comint-simple-send.
21359         (sql-escape-newlines-and-send): Likewise.
21361         * comint.el (comint-input-sender): Doc fix.
21362         (comint-input-sender-no-newline): New variable.
21363         (comint-simple-send): If comint-input-sender-no-newline,
21364         don't output newline, but maybe send eof.
21365         (comint-send-input): New arg NO-NEWLINE.
21366         (comint-send-eof): Call comint-send-eof with NO-NEWLINE.
21368 2002-01-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21370         * textmodes/flyspell.el (flyspell-check-pre-word-p):
21371         Prevent delaying when executing keyboard macros.
21373 2002-01-12  Richard M. Stallman  <rms@gnu.org>
21375         * simple.el (line-move): If we can't move enough lines,
21376         go to beginning or end of line.
21378         * help-mode.el (help-xref-go-back): Restore POSITION in proper buffer
21379         and proper window.
21381         * help.el (describe-mode): Call help-setup-xref in the help buffer.
21382         Switch buffers only after calling `help-buffer'.
21384         * dired-aux.el (dired-shell-stuff-it): Substitute for * or ?
21385         only when they are surrounded by whitespace.
21386         Use dired-mark-separator when adding one file name to a command.
21387         (dired-do-shell-command): Verify that * is surrounded by whitespace.
21388         Ask for confirmation if * or ? is not surrounded by whitespace.
21389         (dired-bunch-files): Re-reverse the partial file list when it is used.
21391 2002-01-12  Richard M. Stallman  <rms@gnu.org>
21393         * comint.el (comint-dynamic-list-completions): Repeating the command
21394         after displaying a completion list scrolls the list.
21396 2002-01-12  Eli Zaretskii  <eliz@is.elta.co.il>
21398         * files.el (find-file-noselect): Don't consider a buffer as
21399         visiting a file literally if it is in hexl-mode.
21401         * faces.el (minibuffer-prompt): A better face definition for MS-DOS.
21403 2002-01-11  Richard M. Stallman  <rms@gnu.org>
21405         * startup.el (initial-scratch-message): Fix custom type, add group.
21407         * mail/rmail.el (rmail-decode-babyl-format): Disable undo
21408         around the decode-coding-region call.
21410         * emacs-lisp/lisp.el (lisp-complete-symbol): Repeating the command
21411         after displaying a completion list scrolls the list.
21413 2002-01-11  Eli Zaretskii  <eliz@is.elta.co.il>
21415         * version.el (emacs-version): Bump to 21.2.50.
21417 2002-01-10  Thien-Thi Nguyen  <ttn@giblet.glug.org>
21419         * play/zone.el (zone-timeout): New var.
21420         (zone-hiding-modeline): New macro.
21421         (zone-call): New func.
21423         (zone): Init `modeline-hidden-level' symbol property.
21424         Use `zone-call' instead of `funcall'.
21426         (zone-pgm-whack-chars): Use `make-string' (fix bug introduced in 2001-10-26T20:11:25Z!monnier@iro.umontreal.ca).
21428         (zone-pgm-stress): Use `zone-hiding-modeline'.
21430         (zone-pgm-stress-destress): New zone program.
21432 2002-01-10  Eli Zaretskii  <eliz@is.elta.co.il>
21434         * faces.el (minibuffer-prompt): Special face definition for MS-DOS.
21436 2002-01-09  Richard M. Stallman  <rms@gnu.org>
21438         * startup.el (fancy-splash-screens): Set tab-width in correct buffer.
21440 2002-01-09  Michael Kifer  <kifer@cs.stonybrook.edu>
21442         * viper.el (viper-set-hooks): Zap viper-unfriendly bindings in
21443         flyspell-mouse-map.
21445 2002-01-08  Richard M. Stallman  <rms@gnu.org>
21447         * emacs-lisp/regexp-opt.el (regexp-opt): Bind max-specpdl-size.
21449         * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Fix custom type.
21451         * textmodes/flyspell.el (flyspell-mode-line-string): Fix custom type.
21453 2002-01-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21455         * progmodes/ada-mode.el (ada-initialize-properties, ada-mode):
21456         Do not use make-local-hook.
21458 2002-01-08  Eli Zaretskii  <eliz@is.elta.co.il>
21460         * international/quail.el (quail-start-translation)
21461         (quail-start-conversion): Bind last-command-event, last-command,
21462         and this-command in the first let.  This fixes the change from
21463         2000-08-30.
21465 2002-01-08  Michael Kifer  <kifer@cs.stonybrook.edu>
21467         * ediff-hook.el: Add an autoload cookie.
21469 2002-01-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21471         * net/eudcb-ph.el, net/ldap.el: New maintainer.  New e-mail
21472         address of the author.
21474 2002-01-08  Richard M. Stallman  <rms@gnu.org>
21476         * replace.el (occur-mode-goto-occurrence-other-window): New command.
21477         (occur-mode-map): Bind `o' to that.
21479 2002-01-07  Michael Kifer  <kifer@cs.stonybrook.edu>
21481         * viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
21482         new macro that replaces viper-emacs-p and viper-xemacs-p in many
21483         cases. Used to reduce the number of warnings.
21485         * viper-cmd.el: Use viper-cond-compile-for-xemacs-or-emacs.
21486         (viper-standard-value): Move here from viper.el.
21487         (viper-set-unread-command-events): Move to viper-util.el
21488         (viper-check-minibuffer-overlay): Make sure
21489         viper-minibuffer-overlay is moved to cover the entire input field.
21491         * viper-util.el: Use viper-cond-compile-for-xemacs-or-emacs.
21492         (viper-read-key-sequence, viper-set-unread-command-events)
21493         (viper-char-symbol-sequence-p, viper-char-array-p): Moved here.
21495         * viper-ex.el: Use viper-cond-compile-for-xemacs-or-emacs.
21497         * viper-keym.el: Use viper-cond-compile-for-xemacs-or-emacs.
21499         * viper-mous.el: Use viper-cond-compile-for-xemacs-or-emacs.
21501         * viper-macs.el (viper-char-array-p, viper-char-symbol-sequence-p)
21502         (viper-event-vector-p): Move to viper-util.el
21504         * viper.el (viper-standard-value): Move to viper-cmd.el.
21505         Use viper-cond-compile-for-xemacs-or-emacs.
21507         * ediff-help.el: Use ediff-cond-compile-for-xemacs-or-emacs.
21509         * ediff-hook.el: Use ediff-cond-compile-for-xemacs-or-emacs.
21511         * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs):
21512         New macro designed to be used in many places where ediff-emacs-p or
21513         ediff-xemacs-p was previously used.  Reduces the number of warnings.
21514         Use ediff-cond-compile-for-xemacs-or-emacs in many places in lieu
21515         of ediff-xemacs-p.
21516         (ediff-make-current-diff-overlay, ediff-highlight-diff-in-one-buffer)
21517         (ediff-convert-fine-diffs-to-overlays, ediff-empty-diff-region-p)
21518         (ediff-whitespace-diff-region-p, ediff-get-region-contents):
21519         Move to ediff-util.el.
21520         (ediff-event-key): Moved here.
21522         * ediff-merge.el: Got rid of unreferenced variables.
21524         * ediff-mult.el: Use ediff-cond-compile-for-xemacs-or-emacs.
21526         * ediff-util.el: Use ediff-cond-compile-for-xemacs-or-emacs.
21527         (ediff-cleanup-mess): Improve the way windows are set up after
21528         quitting ediff.
21529         (ediff-janitor): Use ediff-dispose-of-variant-according-to-user.
21530         (ediff-dispose-of-variant-according-to-user): New function
21531         designed to be smarter and also understands indirect buffers.
21532         (ediff-highlight-diff-in-one-buffer)
21533         (ediff-unhighlight-diff-in-one-buffer)
21534         (ediff-unhighlight-diffs-totally-in-one-buffer)
21535         (ediff-highlight-diff, ediff-highlight-diff)
21536         (ediff-unhighlight-diff, ediff-unhighlight-diffs-totally)
21537         (ediff-empty-diff-region-p, ediff-whitespace-diff-region-p)
21538         (ediff-get-region-contents, ediff-make-current-diff-overlay):
21539         Moved here.
21540         (ediff-format-bindings-of): New function by Hannu Koivisto
21541         <azure@iki.fi>.
21542         (ediff-setup): Make sure the merge buffer is always widened and
21543         modifiable.
21544         (ediff-write-merge-buffer-and-maybe-kill): Refuse to write the
21545         result of a merge into a file visited by another buffer.
21546         (ediff-arrange-autosave-in-merge-jobs): Check if the merge file
21547         is visited by another buffer and ask to save/delete that buffer.
21548         (ediff-verify-file-merge-buffer): New function to do the above.
21550         * ediff-vers.el: Load ediff-init.el at compile time.
21552         * ediff-wind.el: Use ediff-cond-compile-for-xemacs-or-emacs.
21554         * ediff.el (ediff-windows, ediff-regions-wordwise)
21555         (ediff-regions-linewise): Use indirect buffers to improve
21556         robustness and make it possible to compare regions of the same
21557         buffer (even overlapping regions).
21558         (ediff-clone-buffer-for-region-comparison)
21559         (ediff-clone-buffer-for-window-comparison): New functions.
21560         (ediff-files-internal): Refuse to compare identical files.
21561         (ediff-regions-internal): Get rid of the warning about comparing
21562         regions of the same buffer.
21564         * ediff-diff.el (ediff-convert-fine-diffs-to-overlays): Moved here.
21565         Plus the following fixes courtesy of Dave Love: Doc fixes.
21566         (ediff-word-1): Use word class and move - to the
21567         front per regexp documentation.
21568         (ediff-wordify): Bind forward-word-function outside loop.
21569         (ediff-copy-to-buffer): Use insert-buffer-substring rather than
21570         consing buffer contents.
21571         (ediff-goto-word): Move syntax table setting outside loop.
21573 2002-01-07  Richard M. Stallman  <rms@gnu.org>
21575         * dired.el (dired-copy-filename-as-kill): Call kill-append
21576         if following a kill command.
21578         * help-fns.el (describe-variable, describe-function):
21579         Do save-excursion.
21581 2002-01-06  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21583         * net/ldap.el (ldap-search-internal): Skip error message from
21584         ldapsearch.  Allow listing attribute names only.  Do not open
21585         non-existent files.
21587         * net/eudcb-ldap.el (eudc-ldap-get-field-list): Do not try to
21588         call non-existent function.
21590         * net/eudc.el (top-level): Revert previous change.
21592         * net/net-utils.el (nslookup-font-lock-keywords): Defvar font-lock
21593         variables to prevent warning from byte-compiler.
21595         * net/eudc.el (top-level): Use eudc-xemacs-p instead of
21596         string-match on emacs-version again.
21598         * enriched.el (enriched-make-annotation): Fix the change from
21599         2002-01-05.
21600         (enriched-handle-display-prop): Return proper values.
21602         * net/eudcb-ldap.el (eudc-attribute-display-method-alist):
21603         Use proper attribute name labeledUri instead of deprecated labeledUrl.
21605 2002-01-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21607         * net/eudc-hotlist.el (eudc-edit-hotlist): Avoid error when
21608         editing an empty hotlist.
21610         * net/ldap.el (ldap-search-internal): Make the buffer unibyte.
21611         Use buffer-string instead of buffer-substring for the whole buffer.
21613         * net/eudc-vars.el (eudc-external-viewers): Do not use xv, it is
21614         not free.
21616         * net/eudc-bob.el (eudc-bob-can-display-inline-images)
21617         (eudc-bob-display-jpeg): Use fboundp instead of boundp.
21618         (eudc-bob-save-object): Make the buffer unibyte.
21619         (eudc-bob-generic-keymap): Add new keybinding `!' to pipe the
21620         object to external program.
21622 2002-01-05  Andre Spiegel  <spiegel@gnu.org>
21624         * vc.el (vc-branch-part): Return nil if there's no `.'
21625         (vc-default-previous-version): Renamed from vc-previous-version.
21626         New args BACKEND and FILE.  Return nil for revision numbers
21627         without a `.'
21628         (vc-version-diff): Call vc-BACKEND-previous-version.
21629         (vc-steal-lock): Steal lock before composing mail, so that no mail
21630         is sent when the stealing goes wrong.  And we'll actually see the
21631         error in that case now.
21632         (vc-finish-steal): Removed.
21634         * vc-rcs.el (vc-rcs-steal-lock): Do a real checkout after stealing
21635         the lock, so that we see expanded headers.
21636         (vc-rcs-trunk-p, vc-rcs-branch-part, vc-rcs-branch-p)
21637         (vc-rcs-minor-part, vc-rcs-previous-version): Removed.  These are
21638         available from vc.el.  Updated all callers.
21640 2002-01-05  Richard M. Stallman  <rms@gnu.org>
21642         * enriched.el (enriched-make-annotation): Doc fix.
21644         * format.el (format-replace-strings, format-subtract-regions)
21645         (format-annotate-region, format-annotate-location)
21646         (format-annotate-atomic-property-change)
21647         (format-annotate-single-property-change): Doc fixes.
21649 2002-01-05  Jason Rumney  <jasonr@gnu.org>
21651         * term/w32-win.el: Require fontset unconditionally.
21652         (w32-handle-scroll-bar-event): Remove.
21654 2002-01-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21656         * emacs-lisp/copyright.el (copyright-regexp): Allow multi-line
21657         copyrights to be updated.
21659 2002-01-04  Eli Zaretskii  <eliz@is.elta.co.il>
21661         * textmodes/texinfo.el (texinfo-insert-@end): Fix the change from
21662         2001-10-24.
21664         * mail/sendmail.el (mail-recover-1, mail-recover): Doc fix.
21666 2002-01-04  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21668         * net/ldap.el (ldap-host-parameters-alist): Remove duplicated entry.
21669         (ldap-ignore-attribute-codings): Change the default value to allow
21670         encoding/decoding of attributes.
21671         (ldap-coding-system): Use UTF-8 as the coding-system.  Doc fix.
21673 2002-01-03  Richard M. Stallman  <rms@gnu.org>
21675         * files.el (basic-save-buffer): Undo previous change.
21677         * calendar/diary-lib.el (diary-block): Doc fix.
21679         * custom.el (defcustom): Fix syntax of previous change.
21681 2002-01-03  Per Abrahamsen  <abraham@dina.kvl.dk>
21683         * custom.el (defcustom): Documented :tag, :link and :load.
21685 2002-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
21687         * mail/sendmail.el (mail-recover-1): New function.
21688         (mail-recover): Switch to the *mail* buffer right away.
21689         Use buffer-auto-save-file-name instead of calling
21690         make-auto-save-file-name.  Call dired-noselect instead of invoking
21691         `ls' directly.  Bind coding-system-for-read to emacs-mule-unix
21692         before reading the auto-save file.  If the buffer's auto-save file
21693         does not exist, call mail-recover-1 to allow recovery from past
21694         auto-saved drafts.
21696 2002-01-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21698         * time.el (display-time-load-average-threshold): Fix defcustom
21699         (add type and group).
21701         * net/ange-ftp.el (ange-ftp-shell-command): Remove port
21702         specification from the hostname.
21704 2002-01-02  Richard M. Stallman  <rms@gnu.org>
21706         * facemenu.el (facemenu-active-faces):
21707         Use face-attributes-as-vector, not face-attributes-vector.
21709 2002-01-02  Chris Hanson  <cph@aarau.ai.mit.edu>
21711         * xscheme.el: Eleven years of updates on a private copy.
21713         Extensive changes to support multiple xscheme buffers:
21714         (run-scheme): Break up into new functions to facilitate starting
21715         processes in other buffers.
21716         (xscheme-start, xscheme-read-command-line): New functions.
21717         (start-scheme, select-scheme)
21718         (default-xscheme-runlight)
21719         (global-set-scheme-interaction-buffer)
21720         (local-set-scheme-interaction-buffer)
21721         (local-clear-scheme-interaction-buffer)
21722         (exit-scheme-interaction-mode)
21723         (verify-xscheme-buffer): New functions.
21724         (xscheme-process-name, xscheme-buffer-name)
21725         (xscheme-runlight): New internal vars.
21726         (default-xscheme-runlight): New const.
21727         (xscheme-start-process): Add args for the process/buffer names.
21728         (reset-scheme): Pass process/buffer names.
21729         (scheme-interaction-mode): Initialize new local vars.
21730         (reset-scheme, xscheme-send-string-2, xscheme-process-running-p)
21731         (xscheme-select-process-buffer, xscheme-process-buffer)
21732         (xscheme-send-region, xscheme-send-char, xscheme-send-interrupt)
21733         (xscheme-goto-output-point, xscheme-write-message-1): Use new
21734         var xscheme-process-name.
21735         (xscheme-start-process): Initialize xscheme-process-name and
21736         xscheme-buffer-name in the process buffer.  Pass buffer name to
21737         xscheme-modeline-initialize.
21738         (xscheme-modeline-initialize): Add argument to specify buffer name
21739         for mode-line vars.
21740         (xscheme-process-sentinel): Make sure sentinel is run in the
21741         process buffer so it sees its local vars.
21742         (xscheme-process-filter-initialize, xscheme-set-runlight):
21743         More elaborate logic to handle multiple-buffer mode lines.
21745         (xscheme-enter-input-wait): Re-enable control-G handler upon
21746         entering input wait.
21748         (scheme-interaction-mode): Add arg to preserve local vars.
21749         (xscheme-enter-interaction-mode)
21750         (xscheme-enter-debugger-mode): Preserve local vars.
21751         (xscheme-start-process): Clobber local vars.
21753         (scheme-interaction-mode-commands): Allow end user to add commands
21754         to scheme-interaction-mode keymap.
21755         (scheme-interaction-mode-commands-alist): New variable.
21757         (xscheme-send-string): Don't use insert-before-markers.
21759         Implement a per-buffer kill ring:
21760         (xscheme-insert-expression)
21761         (xscheme-rotate-yank-pointer, xscheme-yank)
21762         (xscheme-yank-pop, xscheme-yank-push): New functions.
21763         (xscheme-expressions-ring)
21764         (xscheme-expressions-ring-yank-pointer)
21765         (xscheme-expressions-ring-max): New variables.
21766         (xscheme-send-string-1): Call xscheme-insert-expression to save
21767         expression in ring.
21768         (xscheme-yank-previous-send): Now an alias for xscheme-yank.
21769         (xscheme-previous-send): Deleted variable.
21771         (xscheme-send-string-2, xscheme-send-char, xscheme-send-proceed)
21772         (xscheme-send-control-g-interrupt): Use process-send-string rather
21773         than send-string.
21775         (xscheme-send-region): Insert a newline after an expression that
21776         is submitted in the interaction buffer, for consistency with
21777         recent changes to Edwin.
21779         (xscheme-delete-output): New function mimics comint-delete-output.
21780         (xscheme-last-input-end): New internal variable.
21781         (xscheme-process-filter-output): Update xscheme-last-input-end.
21783         (xscheme-send-control-g-interrupt): Make sure that
21784         xscheme-control-g-disabled-p is looked up in the right buffer.
21786         (xscheme-enable-control-g): Clear C-g message if visible.
21787         (xscheme-control-g-message-string): New internal var.
21788         (xscheme-send-control-g-interrupt): Use new var.
21790         (xscheme-send-control-g-interrupt, xscheme-send-interrupt):
21791         Delay after sending interrupt in order to work around race condition.
21793         (xscheme-send-control-g-interrupt, xscheme-send-interrupt)
21794         (xscheme-send-char): Use xscheme-send-char rather than send-string
21795         to send single char.
21797         (xscheme-process-filter, xscheme-process-filter-alist):
21798         Add support for evaluating expressions outside of the call-excursion.
21799         (xscheme-process-filter:string-action-noexcursion): New func.
21801         (xscheme-write-value): Change output string to match that used by
21802         Edwin.
21804         (xscheme-coerce-prompt): Don't write a space after a command
21805         prompt.  The PROMPT-FOR-COMMAND- procedures will take care of this
21806         for us.
21808         (reset-scheme): Delete process after killing it.
21810 2002-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
21812         * bindings.el (function-key-map): Don't bind shifted keypad
21813         numeric keys.
21815 2002-01-02  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21817         * enriched.el (enriched-handle-display-prop): Remove unused variables.
21818         (enriched-mode): Doc fix.
21820 2002-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
21822         * international/ucs-tables.el (ucs-8859-8-alist): Comment away
21823         Hebrew points.
21825 2002-01-01  Richard M. Stallman  <rms@gnu.org>
21827         * jka-compr.el (jka-compr-write-region): If START = nil, use whole buf.
21829 2001-12-31  Richard M. Stallman  <rms@gnu.org>
21831         * comint.el, cus-edit.el, diff-mode.el, enriched.el, font-lock.el:
21832         * generic-x.el, info.el, log-view.el, pcvs-info.el, speedbar.el:
21833         * wid-edit.el, woman.el, calendar/calendar.el, textmodes/flyspell.el:
21834         * emulation/viper-init.el, eshell/em-ls.el, progmodes/antlr-mode.el:
21835         * progmodes/cperl-mode.el, progmodes/idlwave.el:
21836         * progmodes/sh-script.el, progmodes/vhdl-mode.el:
21837         Adapt face definitions to use :weight and :slant.
21839         * ps-print.el (ps-font-lock-face-attributes): Use :weight and :slant.
21841         * cus-edit.el (custom-face-edit-fix-value): Delete `assert' call.
21843         * font-lock.el (initializing from font-lock-face-attributes):
21844         Use :weight and :slant, not :bold and :italic.
21846 2001-12-31  Per Abrahamsen  <abraham@dina.kvl.dk>
21848         * cus-edit.el (custom-face-edit-fix-value): New function.
21849         (custom-face-edit): Use it, to convert :italic and :bold to new forms.
21851 2001-12-30  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21853         * progmodes/octave-mod.el (octave-abbrev-table):
21854         * progmodes/idlwave.el (idlwave-mode-abbrev-table):
21855         * progmodes/fortran.el (fortran-mode-abbrev-table):
21856         * progmodes/f90.el (f90-mode-abbrev-table):
21857         * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init):
21858         * progmodes/sql.el (sql-mode-abbrev-table): Mark all the
21859         predefined abbrevs as "system" abbrevs.
21861 2001-12-30  Richard M. Stallman  <rms@gnu.org>
21863         * info.el (Info-fontify-node): For a **** underline line, put the
21864         invisible and intangible props on the following newline, but not
21865         on the previous newline or the last char of the previous line.
21867         * faces.el (face-set-after-frame-default): Don't change `default' face.
21869         * faces.el (minibuffer-prompt): Adopt some default colors.
21871         * replace.el (query-replace-read-args): Immediate error if read-only.
21873         * textmodes/makeinfo.el (makeinfo-compilation-sentinel):
21874         Display the output buffer in a more intelligent way.
21876 2001-12-30  Eli Zaretskii  <eliz@is.elta.co.il>
21878         * ls-lisp.el (insert-directory): Modify the "total" line wording,
21879         in accordance with files.el's insert-directory.
21881 2001-12-29  Richard M. Stallman  <rms@gnu.org>
21883         * files.el (basic-save-buffer): If a before-write hook displays
21884         an echo area message, pause before calling basic-save-buffer-1.
21886 2001-12-29  Markus Rost  <rost@math.ohio-state.edu>
21888         * textmodes/reftex-global.el (reftex-query-replace-document)
21889         (reftex-change-label): Doc fix.
21891         * dired-aux.el (dired-do-query-replace-regexp): Doc fix.
21893         * progmodes/etags.el (tags-query-replace): Doc fix.
21895 2001-12-29  Richard M. Stallman  <rms@gnu.org>
21897         * progmodes/compile.el (compile-internal): Fix previous change.
21899 2001-12-28  Richard M. Stallman  <rms@gnu.org>
21901         * mouse.el (mouse-drag-mode-line-1): When dragging a mode line upward,
21902         shrink the windows above as necessary to get space.
21903         (mouse-drag-move-window-bottom, mouse-drag-window-above): New fns.
21905         * net/ange-ftp.el (ange-ftp-allow-child-lookup): Always return nil.
21906         This fixes a bug that treated all files as directories.
21907         (ange-ftp-insert-directory): Explicitly follow symlinks.
21909         * international/iso-transl.el (iso-transl-char-map) Eliminate the
21910         alias symbols--put the translated sequences here directly.
21912         * progmodes/cc-mode.el (c-mode-abbrev-table)
21913         (c++-mode-abbrev-table, objc-mode-abbrev-table)
21914         (java-mode-abbrev-table, pike-mode-abbrev-table):
21915         Mark all the predefined abbrevs as "system" abbrevs.
21917         * mail/sendmail.el (mail-envelope-from): Fix custom type.
21918         (sendmail-send-it): Check mail-specify-envelope-from
21919         and mail-envelope-from in the mail buffer at start.
21921 2001-12-28  Simon Josefsson  <jas@extundo.com>
21923         * mail/sendmail.el (mail-envelope-from): Fix :type.
21924         (sendmail-send-it): Copy `mail-envelope-from' from calling buffer.
21926 2001-12-28  Richard M. Stallman  <rms@gnu.org>
21928         * net/ldap.el (ldap-search-internal): Handle <file://...> in results.
21930         * simple.el (line-move-invisible): New subroutine.
21931         (line-move-to-column): New subroutine--smarter about advancing over
21932         invisible parts of a line, or lines, but only as long as hpos grows.
21933         (line-move-finish): New subroutine: repeatedly processes desired
21934         column, intangibility, and fields.
21935         (line-move): Use those subroutines.
21936         When moving lines downward, skip invisible text first rather than last.
21938 2001-12-27  Richard M. Stallman  <rms@gnu.org>
21940         * international/mule-diag.el (describe-char-after):
21941         Describe the text properties of the char after point.
21943         * help.el (describe-key): Doc fix.
21945 2001-12-26  Markus Rost  <rost@math.ohio-state.edu>
21947         * find-dired.el (find-dired-sentinel): Precede exit message by
21948         two spaces, to match the regexp in dired-between-files.
21950 2001-12-28  Miles Bader  <miles@gnu.org>
21952         * wid-edit.el (widget-toggle-value-create): Don't eval actual
21953         images (which are lists too).
21955 2001-12-27  Eli Zaretskii  <eliz@is.elta.co.il>
21957         * language/european.el: Fix the doc string of "Latin-5" language
21958         environment.
21960 2001-12-26  Richard M. Stallman  <rms@gnu.org>
21962         * textmodes/flyspell.el (flyspell-mode-map): New keymap,
21963         defined as before 2001-11-09.
21964         (add-minor-mode call): Specify the keymap.
21966         * progmodes/compile.el (compile-internal):
21967         Set TERM variable in process-environment.
21969 2001-12-25  Richard M. Stallman  <rms@gnu.org>
21971         * help-mode.el (help-xref-on-pp): Catch and ignore errors in scanning
21972         the buffer.
21974         * startup.el (command-line): Convert command line args
21975         to Emacs internal representation using locale-coding-system.
21977 2001-12-25  Eli Zaretskii  <eliz@is.elta.co.il>
21979         * international/fontset.el: Don't require ind-util when compiling.
21981 2001-12-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21983         * emulation/tpu-edt.el (tpu-reset-screen-size):
21984         Use set-frame-height and set-frame-width instead of set-screen-height
21985         and set-screen-width.
21987         * vt-control.el (vt-wide, vt-narrow): Use set-frame-width instead
21988         of obsolete set-screen-width.
21990         * locate.el (locate): Remove dot at the end of error argument.
21992         * emerge.el (emerge-show-file-name): Use frame-height instead of
21993         obsolete screen-height.
21995         * mail/mh-utils.el (mh-show-msg): Likewise.
21996         (mh-handle-process-error): Use frame-width instead of obsolete
21997         screen-width.
21999 2001-12-25  Richard M. Stallman  <rms@gnu.org>
22001         * window.el (balance-windows): Use new PRESERVE-BEFORE arg
22002         to enlarge-window.  Use save-selected-window.  Don't try
22003         to resize windows that end at the bottom "level".
22004         Retry changing the sizes until the windows get the desired sizes.
22005         Discount the minibuffer when computing total height available.
22007         * emacs-lisp/debug.el (debugger-mode-map): Bind C-m, not `RET'.
22008         (debugger-make-xrefs): Only make a button for the first symbol
22009         on any line.
22011 2001-12-24  Eli Zaretskii  <eliz@is.elta.co.il>
22013         * term/internal.el (dos-cpNNN-setup, dos-codepage-setup):
22014         Call IT-setup-unicode-display here instead of adding it to
22015         dos-codepage-setup-hook, so that Unicode display tables are set
22016         before dos-codepage-setup-hook runs.
22018 2001-12-24  Richard M. Stallman  <rms@gnu.org>
22020         * net/net-utils.el (ftp-mode-abbrev-table): Don't define it.
22021         (nslookup-mode-abbrev-table): Don't define it.
22022         (smbclient-mode-abbrev-table): Don't define it.
22023         (ftp-mode): Don't use ftp-mode-abbrev-table; don't enable Abbrev mode.
22024         (nslookup-mode, smbclient-mode): Likewise.
22025         (network-connection-service-abbrev-alist): Variable deleted.
22026         (network-connection-mode-setup): Don't set up abbrev table.
22028         * faces.el (minibuffer-prompt): New face.
22029         (minibuffer-prompt-properties): Add `face' property.
22031         * replace.el (occur-mode-display-occurrence): New function.
22032         (occur-mode-map): Bind C-o to it.
22034 2001-12-24  Michael Kifer  <kifer@cs.sunysb.edu>
22036         * viper-cmd.el (viper-change-state): Got rid of make-local-hook.
22037         (viper-special-read-and-insert-char): Make C-m work right in the r
22038         comand.
22039         (viper-buffer-search-enable): Fixed format string.
22041         * viper-ex.el (ex-token-alist): Use ex-set-visited-file-name
22042         instead of viper-info-on-file.
22043         (ex-set-visited-file-name): New function.
22045         * viper.el (viper-emacs-state-mode-list): Added mail-mode.
22047         * ediff-mult.el (ediff-meta-mark-equal-files): Added optional
22048         action argument.
22050         * ediff-init.el: Fixed some doc strings.
22052         * ediff-util.el (ediff-after-quit-hook-internal): New variable.
22053         Got rid of make-local-hook.
22055         * ediff-wind.el (ediff-setup-control-frame): Got rid of
22056         make-local-hook.
22058 2001-12-23  Richard M. Stallman  <rms@gnu.org>
22060         * term/x-win.el (x-handle-geometry): Put height and width
22061         on default-frame-alist, left and top on initial-frame-alist.
22062         * term/w32-win.el (x-handle-geometry): Likewise.
22064         * sort.el (sort-reorder-buffer): Copy all to a temp buffer first.
22066         * play/yow.el (yow): Use an arg to distinguish interactive calls,
22067         not interactive-p.
22069 2001-12-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22071         * emacs-lisp/elint.el (elint-unknown-builtin-args):
22072         Remove mocklisp entries.
22074         * subr.el (insert-string): Moved from mocklisp.c, reimplemented in
22075         Lisp.  Obsoleted.
22077         * emulation/mlconvert.el: File removed.
22079         * emulation/mlsupport.el: Moved to obsolete.
22081         * obsolete/mlsupport.el: Moved there from lisp/emulation.
22083         * emacs-lisp/find-gc.el (source-files): Remove mocklisp.c.
22085         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
22086         Remove mocklisp case.
22088         * help-fns.el (describe-function-1): Remove mocklisp function case.
22090 2001-12-22  Miles Bader  <miles@gnu.org>
22092         * textmodes/refill.el (refill-mode): Don't barf when redundantly
22093         turning refill-mode off.
22095 2001-12-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22097         * time.el (display-time-load-average-threshold): New variable.
22098         (display-time-update): Use it.
22100         These changes allow cycling through past 1, 5 and 15 minutes
22101         load-average displayed in the mode-line.
22103         * time.el (display-time-default-load-average): New customizable option.
22104         (display-time-load-average): New variable.
22105         (display-time-cycle-load-average): New function.
22106         (display-time-update): Use them.
22108 2001-12-21  Richard M. Stallman  <rms@gnu.org>
22110         * apropos.el (apropos-print): SPACING is now nil or a separator string.
22111         (apropos-documentation, apropos-value): Pass a suitable string.
22113 2001-12-21  Eli Zaretskii  <eliz@is.elta.co.il>
22115         * dired.el (dired-free-space-program, dired-free-space-args):
22116         Aliases for back-compatibility.
22118         * info.el (Info-select-node): If Info-use-header-line is nil, set
22119         header-line-format to nil.
22120         (Info-fontify-node): Don't put a keymap text property on the
22121         heading if we are not going to display the header line.  Remove
22122         any such text properties left over from past visits to this node.
22124         * ls-lisp.el (insert-directory): Insert the amount of free disk
22125         space, like files.el's insert-directory does.
22127         * files.el (directory-free-space-program):
22128         Mention file-system-info in the doc string.
22129         (get-free-disk-space): New function; code moved from insert-directory.
22130         (insert-directory): Call get-free-disk-space to get the amount of
22131         free space.
22133 2001-12-21  Richard M. Stallman  <rms@gnu.org>
22135         * help.el (view-order-manuals, view-emacs-news, describe-copying)
22136         (describe-distribution, describe-project): Use view-file.
22138         * emacs-lisp/cl-indent.el (define-modify-macro): Better indent spec.
22140         * net/ange-ftp.el (ange-ftp-file-modtime): Use save-match-data.
22142         * emacs-lisp/easy-mmode.el (define-minor-mode):
22143         Make no arg by default in an interactive call,
22144         so that repeating the command toggles again.
22146         * emacs-lisp/lisp-mode.el (eval-defun-1): Cope with atoms as args.
22148 2001-12-21  Christoph Wedler  <Christoph.Wedler@sap.com>
22150         * antlr-mode.el: More sophisticated indentation of cpp directive.
22151         (antlr-indent-at-bol-alist): New user option.
22152         (antlr-indent-line): Use it.
22153         (antlr-indent-style): New user option.
22154         (antlr-mode): Use it.
22155         (antlr-indent-item-regexp): Customize.
22157         * antlr-mode.el: Syntax highlighting changes.
22158         (antlr-font-lock-literal-regexp): New user option.
22159         (antlr-font-lock-syntax-face): New face used for :, |, ....
22160         (antlr-font-lock-default-face): New face.
22161         (antlr-font-lock-additional-keywords): Use them.
22163         * antlr-mode.el: New command to insert options -- variables.
22164         (antlr-mode-map): New binding [C-c C-o].
22165         (antlr-mode-menu): New submenus.
22166         (antlr-options-use-submenus): New user option.
22167         (antlr-tool-version): New user option.
22168         (antlr-options-auto-colon): New user option.
22169         (antlr-options-style): New user option.
22170         (antlr-options-push-mark): New user option.
22171         (antlr-options-assign-string): New user option.
22172         (antlr-options-headings): New variable.
22174         * antlr-mode.el: New command to insert options -- specific.
22175         (antlr-options-alists): New variable.
22176         (antlr-read-value): New function.
22177         (antlr-read-boolean): New function.
22178         (antlr-language-option-extra): New function.
22179         (antlr-language-limit-n-regexp): Change default to higher LIMIT.
22180         (antlr-c++-mode-extra): New function.
22181         (antlr-grammar-tokens): New function.
22182         (antlr-imenu-create-index-function): New optional argument.
22184         * antlr-mode.el: New command to insert options -- functions.
22185         (antlr-insert-option): New command.
22186         (antlr-insert-option-interactive): New function.
22187         (antlr-options-menu-filter): New function.
22188         (antlr-option-kind): New function.
22189         (antlr-scan-lists): New alias.
22190         (antlr-scan-lists-internal): New function.
22191         (antlr-skip-file-prelude): Hack for special SKIP-COMMENT.
22192         (antlr-option-level): New function.
22193         (antlr-syntactic-grammar-depth): New function.
22194         (antlr-option-location): New function.
22195         (antlr-insert-option-do): New function.
22196         (antlr-option-spec): New function.
22197         (antlr-version-string): New function.
22198         (antlr-insert-option-existing): New function.
22199         (antlr-insert-option-space): New function.
22200         (antlr-insert-option-area): New function.
22202         * antlr-mode.el: New electric keys ":;|&(){}", TAB works better
22203         with narrowing.  Menu change.  Miscellaneous.
22204         (antlr-mode-menu): Include "Indent Region" and "Customize Antlr".
22205         (antlr-mode-map): New bindings for characters in ":;|&(){}".
22206         (antlr-electric-character): New command.
22207         (antlr-class-header-regexp): New variable.
22208         (antlr-font-lock-additional-keywords): Use it.
22209         (antlr-imenu-create-index-function): Use it.
22210         (antlr-file-dependencies): Use it.
22211         (antlr-indent-line): Also works with restrictions.
22212         (antlr-indent-command): Interactive spec - changes the buffer.
22213         (antlr-language-for-option): Deletia.
22214         (antlr-language-option): New function, defined instead.
22215         (antlr-mode): Use it.
22217 2001-12-21  Eli Zaretskii  <eliz@is.elta.co.il>
22219         * jka-compr.el (jka-compr-partial-uncompress): Use null-device
22220         instead of a literal /dev/null.
22222         * Makefile.in (distclean): Remove Makefile in the build
22223         directory, not in the source directory.
22225 2001-12-21  Simon Josefsson  <jas@extundo.com>.
22227         * mail/smtpmail.el (smtpmail-send-queued-mail):
22228         Use with-temp-buffer instead of find-file-noselect, and bind
22229         coding-system-for-read to no-conversion when reading the queued
22230         messages.  (Simon's code modified slightly by Eli Zaretskii.)
22232 2001-12-20  Werner Lemberg  <wl@gnu.org>
22234         * international/mule-diag.el (describe-coding-system)
22235         (print-coding-system-briefly): Make printed output have a similar
22236         format as describe-character-set.
22238 2001-12-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22240         * play/blackbox.el (bb-member): Remove, use member instead.
22241         (bb-delete): Remove, use delete instead.
22242         Update copyright notice.  Defvar for bb-board, bb-x, bb-y,
22243         bb-score, bb-detour-count and bb-balls-placed.
22244         Propertize results of rays.
22246 2001-12-19  Karl Fogel  <kfogel@red-bean.com>
22248         * isearch.el (isearch-forward, isearch-edit-string): Make doc
22249         strings mention keybinding for `isearch-yank-word-or-char',
22250         rather than `isearch-yank-word', since the former is bound now
22251         and the latter is not.
22252         (isearch-yank-word-or-char): Fix formatting.
22254 2001-12-19  Werner Lemberg  <wl@gnu.org>
22256         * language/czech.el, language/european.el, language/slovak.el:
22257         More fixes for language info doc strings.
22259 2001-12-19  Eli Zaretskii  <eliz@is.elta.co.il>
22261         * loadup.el: Add "language" to the load-path.
22263 2001-12-19  Richard M. Stallman  <rms@gnu.org>
22265         * international/mule-cmds.el (describe-language-environment):
22266         Fix calls to help-xref-button.
22268 2001-12-19  Miles Bader  <miles@gnu.org>
22270         * international/fontset.el: Require `ind-util' when compiling.
22272 2001-12-18  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22274         * language/ethio-util.el (ethio-modify-vowel): Use char-to-string
22275         instead of decompose-composite-char.
22277 2001-12-18  Richard M. Stallman  <rms@gnu.org>
22279         * simple.el (eval-expression-print-level)
22280         (eval-expression-print-length): Doc fixes.
22282         * international/mule-diag.el (describe-character-set):
22283         Fix the arg to help-xref-button.
22285         * files.el (directory-free-space-program): New variable.
22286         (directory-free-space-args): New variable.
22287         (insert-directory): Use those two variables for getting free space.
22288         Use file-system-info instead, if that is defined.
22290         * dired.el (dired-free-space-program): Variable deleted.
22291         (dired-free-space-args): Variable deleted.
22292         (dired-insert-directory): Don't try to determine free space.
22294         * files.el (font-lock-defaults): Add risky-local-variables prop.
22295         (hack-one-local-variable): Treat various font-lock variables as risky.
22297 2001-12-18  Werner Lemberg  <wl@gnu.org>
22299         * language/chinese.el, language/cyrillic.el:
22300         * language/czech.el, language/european.el, language/greek.el:
22301         * language/hebrew.el, language/indian.el, language/japanese.el:
22302         * language/korean.el, language/lao.el, language/slovak.el:
22303         * language/thai.el, language/tibetan.el, language/vietnamese.el:
22304         Improve documentation strings of coding systems and language infos.
22306 2001-12-18  Werner LEMBERG  <wl@gnu.org>
22308         Add support for EUC-TW decoding/encoding.
22310         * language/china-util.el (big5-to-flat-code, flat-code-to-big5)
22311         (euc-to-flat-code, flat-code-to-euc, expand-euc-big5-alist):
22312         New auxiliary functions to build `big5-to-cns'.
22313         (big5-to-cns): New translation alist.
22315         * language/chinese.el: Added new coding system `euc-tw' and its
22316         alias `euc-taiwan'.
22317         Updated language `Chinese-CNS' to include euc-tw encoding also.
22318         (ccl-decode-euc-tw, ccl-encode-euc-tw): New functions for handling
22319         euc-tw.
22321 2001-12-18  Dave Love  <fx@gnu.org>
22323         * loadup.el: Add language/utf-8-lang, language/georgian.
22325         * image-file.el (image-file-name-extensions): Add pnm.  Doc fix.
22326         (image-file-name-regexps): Doc fix.
22328         * server.el (server-unload-hook): New function.
22330         * emacs-lisp/lisp-mnt.el (lm-copyright-prefix): Group the leader.
22331         (lm-crack-copyright): Cope with multi-line copyright `lines'.
22333         * simple.el (newline): Doc fix.
22334         (eval-expression-print-level, eval-expression-print-length): Doc
22335         fix.  Amend :type.
22336         (next-line, previous-line): Make arg optional.
22337         (newline): Doc fix.
22339         * Makefile.in (DONTCOMPILE): Add various language files.
22341         * international/quail.el (quail-input-string-to-events): Don't use
22342         string-to-list.
22344         * progmodes/f90.el (f90-break-line): Avoid infinite recursion
22345         calling `newline'.
22347 2001-12-17  Richard M. Stallman  <rms@gnu.org>
22349         * comint.el (comint-dynamic-list-input-ring-select): New function.
22350         Switches back to the old window configuration.
22351         (comint-dynamic-list-input-ring): Bind RET to that function.
22352         (comint-dynamic-list-input-ring-window-conf): New variable.
22354 2001-12-17  Werner Lemberg  <wl@gnu.org>
22356         * international/mule-conf.el: Improve documentation strings of
22357         character sets.
22359 2001-12-16  Richard M. Stallman  <rms@gnu.org>
22361         * dired.el (dired-copy-filename-as-kill): Moved from dired-x.el.
22362         (dired-mode-map): Bind w to dired-copy-filename-as-kill.
22364         * dired-x.el (dired-copy-filename-as-kill): Moved to dired.el.
22366         * autoinsert.el (auto-insert-alist): Redo finding C and C++ headers.
22367         Add a DESCRIPTION for the makefile item.
22369         * find-file.el (ff-other-file-name): New function.
22371 2001-12-16  Eli Zaretskii  <eliz@is.elta.co.il>
22373         * international/quail.el (quail-input-string-to-events): Fix last
22374         change.
22376 2001-12-16  Richard M. Stallman  <rms@gnu.org>
22378         * isearch.el (isearch-edit-string): When we set isearch-string
22379         to the default, also set isearch-message.
22381         * subr.el (temp-buffer-show-hook, temp-buffer-setup-hook): Add defvars.
22383         * startup.el (command-line-1): Display startup screen
22384         even if there are command line args.
22385         Add a note about how to go to editing your files.
22386         (fancy-splash-head): Add a note about how to go to your files.
22387         (fancy-splash-outer-buffer): New variable.
22388         (fancy-splash-screens): Bind variable fancy-splash-outer-buffer.
22390         * subr.el (with-temp-message): At the end, always discard
22391         the temp message, even by clearing the echo area.
22393         * progmodes/sh-script.el (sh-mode): Run sh-mode-hook.
22395 2001-12-16  Stefan Monnier  <monnier@cs.yale.edu>
22397         * log-view.el (log-view-message-re, log-view-current-tag):
22398         Recognize Subversion's log output format.
22400         * international/fontset.el: Build the list L at compile time.
22402         * language/ind-util.el (mapthread): Make a closure.
22404 2001-12-15  Richard M. Stallman  <rms@gnu.org>
22406         * isearch.el (isearch-start-hscroll): New variable.
22407         (isearch-mode): Set isearch-start-hscroll.
22408         (isearch-update): Restore original hscrolling if possible.
22410         * isearch.el (isearch-edit-string):
22411         Treat isearch-yank-word-or-char specially, like isearch-yank-word.
22413         * emacs-lisp/debug.el (debugger-previous-backtrace): New variable.
22414         (debugger-make-xrefs): Optimize by (1) using skip-syntax-forward
22415         rather than regexp search and (2) copying text properties
22416         already set up on text unchanged from the previous backtrace.
22418         * case-table.el (set-case-syntax-pair):
22419         Detect invalid calls and signal an error.
22421 2001-12-15  Richard M. Stallman  <rms@gnu.org>
22423         * language/ind-util.el (range): Function deleted.
22424         (indian-regexp-of-hashtbl-keys): Renamed from `regexp-of-hashtbl-keys'.
22425         All calls changed.
22427         * language/devan-util.el (devanagari-range): Renamed from `range'.
22428         All calls changed.
22429         (devanagari-regexp-of-hashtbl-keys):
22430         Renamed from `regexp-of-hashtbl-keys'.  All calls changed.
22432 2001-12-15  Dave Love  <fx@gnu.org>
22434         * language/ind-util.el: Don't require cl.
22435         (indian-glyph-char, indian-glyph-max-char)
22436         (indian-char-glyph): Moved from indian.el
22437         (indian--puthash-char, mapthread): Don't quote lambda.
22438         (indian--map): New function.
22439         (indian--puthash-v, indian--puthash-c, indian--puthash-m)
22440         (indian--puthash-cv): Use it.
22442         * language/indian.el (indian-glyph-char, indian-glyph-max-char)
22443         (indian-char-glyph): Moved to ind-util.el
22445         * language/devan-util.el (devanagari-post-read-conversion):
22446         New function.
22448         * language/georgian.el: New file.
22450         * international/mule-cmds.el (locale-language-names): Add various
22451         entries.  Remove utf-8 special case.
22452         (locale-charset-language-names, locale-preferred-coding-systems):
22453         Add utf-8 case.
22454         (set-language-environment): Process required-features earlier.
22456         * international/quail.el (quail-keyboard-layout-alist):
22457         Add pc105-uk.
22458         (quail-keyboard-layout-type): Fix :type.
22459         (quail-choose-completion-string): Simplify.
22460         (quail-update-leim-list-file): Don't get fooled by commented-out code.
22461         (quail-input-string-to-events): Run events through
22462         translation-table-for-input.
22464         * international/mule-conf.el (translation-table-for-input):
22465         New variable.
22466         (latin-iso8859-14): Amend description.
22467         (file-coding-system-alist): Add entry for utf-8.
22469         * language/utf-8-lang.el: New file.
22471         * international/code-pages.el: New file.
22473         * language/hebrew.el ("Windows-1255"): New language.
22475         * language/european.el ("Welsh", "Latin-7", "Lithuanian")
22476         ("Latvian"): New languages.
22478 2001-12-14  Stefan Monnier  <monnier@cs.yale.edu>
22480         * xml.el: Use setq rather than (set 'foo bar).
22481         Use push+nreverse rather than append.
22482         (xml-node-name, xml-node-attributes, xml-node-children):
22483         Use defsubst rather than macros.
22484         (xml-parse-region): Handle a nil return value from xml-parse-tag.
22485         (xml-parse-tag): Don't skip white space.  Return nil for a comment.
22486         Concat the two strings surrounding a comment into a single string.
22488         * newcomment.el (comment-indent): Jump to the middle of empty comments.
22490 2001-12-14  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22492         * select.el (xselect-convert-to-class, xselect-convert-to-name):
22493         Document.
22495 2001-12-14  Andre Spiegel  <spiegel@gnu.org>
22497         * vc-hooks.el (vc-checkout-model, vc-state, vc-workfile-version):
22498         Return nil if FILE is not registered.
22499         (vc-check-master-templates, vc-default-make-version-backups-p):
22500         Doc fix.
22502 2001-12-13  David Ponce  <david@dponce.com>
22504         * ruler-mode.el (ruler-mode-extra-left-cols): Remove.
22505         (ruler-mode-left-fringe-cols): New macro.
22506         (ruler-mode-right-fringe-cols): New macro.
22507         (ruler-mode-left-scroll-bar-cols): New macro.
22508         (ruler-mode-right-scroll-bar-cols): New macro.
22509         (ruler-mode-ruler): Use above new macros.
22511 2001-12-13  Richard M. Stallman  <rms@gnu.org>
22513         * files.el (set-auto-mode): Fix previous change.
22515 2001-12-13  Stefan Monnier  <monnier@cs.yale.edu>
22517         * emacs-lisp/easymenu.el (easy-menu-intern): New fun.
22518         (easy-menu-do-define, easy-menu-convert-item-1)
22519         (easy-menu-define-key-intern, easy-menu-get-map): Use it.
22520         (easy-menu-return-item): Only return nil if there is no binding.
22522 2001-12-13  Rajesh Vaidheeswarran  <rv@gnu.org>
22524         * whitespace.el (whitespace-version): 3.2
22525         * whitespace.el (whitespace-force-mode-line-update): Replace with
22526         `whitespace-mode-line-update', which is an alias to the correct
22527         function in various emacsen.
22528         * whitespace.el (whitespace-{un,}highlight-the-space):
22529         Add colorized highlighting of the bogus whitespaces in a buffer/file,
22530         using the `whitespace-highlight-face' if
22531         `whitespace-display-spaces-in-color' is set.
22533 2001-12-13  Eli Zaretskii  <eliz@is.elta.co.il>
22535         * international/mule.el (set-auto-coding): Don't search for
22536         "unibyte:" or "coding:" if set-auto-mode-1 returns nil.
22538 2001-12-13  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22540         * mail/mailabbrev.el (mail-abbrevs-setup): Do not use make-local-hook.
22542         * mail/rmail.el (rmail-fontify-buffer-function): Likewise.
22544         * mail/rmailsum.el (rmail-summary-mode): Likewise.
22546 2001-12-13  Richard M. Stallman  <rms@gnu.org>
22548         * simple.el (undo): Always set this-command to `undo',
22549         so that the next undo after an error will not begin redoing.
22551         * simple.el (shell-command): Doc fix.
22552         (shell-command-on-region): If there is output an an error,
22553         add "...Shell command failed" to the output.
22555 2001-12-13  David Ponce  <david@dponce.com>
22557         * ruler-mode.el (ruler-mode-left-fringe-cols): Variable removed.
22558         (ruler-mode-left-fringe-cols): Function replaced by more efficient
22559         implementation `ruler-mode-extra-left-cols'.
22560         (ruler-mode-ruler): Use above new function.  Take into account
22561         that the fringe areas can now be resized.
22563 2001-12-12  Richard M. Stallman  <rms@gnu.org>
22565         * international/characters.el (Unicode): Comment out
22566         the specifications for kelvin and angstrom signs.
22568         * international/mule.el (make-translation-table-from-vector):
22569         Allow null elements in VEC.
22571         * international/ucs-tables.el (unify-8859-on-encoding-mode)
22572         (unify-8859-on-decoding-mode): Swap the code in their bodies.
22573         Add :version.
22575 2001-12-11  Richard M. Stallman  <rms@gnu.org>
22577         * derived.el (derived-mode-p): Function moved to subr.el.
22579         * subr.el (derived-mode-p): Moved here from derived.el.
22581         * international/mule.el (set-auto-coding): Use set-auto-mode-1.
22583         * files.el (set-auto-mode-1): New subroutine, broken out of
22584         set-auto-mode.
22585         (set-auto-mode, hack-local-variables-prop-line): Use that.
22587 2001-12-11  Dave Love  <fx@gnu.org>
22589         * language/thai-util.el, language/thai.el: Add Unicode equivalents.
22591         * language/european.el: Remove autoload cookies.  Fix registration
22592         of diacritic composition function.
22594 2001-12-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22596         * calendar/todo-mode.el: Require time-stamp.
22598         * net/zone-mode.el (zone-mode): Don't use make-local-hook.
22600 2001-12-11  Richard M. Stallman  <rms@gnu.org>
22602         * emacs-lisp/authors.el (authors-aliases): Delete "Richard Stallmao".
22604         * textmodes/ispell.el (ispell-buffer-local-parsing):
22605         Match xml like sgml.
22607         * emacs-lisp/advice.el (ad-compile-function):
22608         Byte compile the function under another (uninterned) name.
22610         * gud.el (gdb): Define and bind gud-jump.
22612         * font-lock.el (font-lock-mode):
22613         Put our function at the end of after-change-functions.
22615         * ediff-diff.el (ediff-cmp-options): Doc fix.
22617         * comint.el (comint-password-prompt-regexp): Match "UNIX Password".
22619 2001-12-10  Richard M. Stallman  <rms@gnu.org>
22621         * isearch.el (isearch-yank-word-or-char): New function.
22622         (isearch-mode-map): Bind C-w to that.
22624         * menu-bar.el (menu-bar-mode): Make arg optional.
22626         * simple.el (line-move): Cope if next-single-property-change
22627         or previous-single-property-change returns nil.
22629         * emacs-lisp/lisp-mnt.el (lm-verify): New arg NON-FSF-OK.
22630         Don't use interactive-p; instead, pass the proper args
22631         in (interactive...).  Clean up most of the trouble-report strings.
22633 2001-12-10  Eli Zaretskii  <eliz@is.elta.co.il>
22635         * mail/smtpmail.el (smtpmail-send-queued-mail): Insert the
22636         enqueued messages literally.
22638 2001-12-10  Noah Friedman  <friedman@splode.com>
22640         * battery.el (battery-insert-file-contents): Obsolete function
22641         removed.
22642         (battery-read-function): Obsolete function removed.
22643         (battery-linux-proc-apm): Use insert-file-contents.
22645 2001-12-07  Stephen Eglen  <stephen@gnu.org>
22647         * iswitchb.el (iswitchb-visit-buffer):
22648         Use `select-frame-set-input-focus'--needed when window manager
22649         uses "click to focus" policy.
22651 2001-12-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22653         * COPYING: Moved back.
22655 2001-12-07  Eli Zaretskii  <eliz@is.elta.co.il>
22657         * term/internal.el (IT-character-translations): Add entries for
22658         more points.
22660         * international/characters.el: Resurrect the Hebrew category
22661         settings for all Hebrew characters removed by the last change.
22662         Add code for setting the Hebrew category of the Unicode Hebrew
22663         characters.  Set syntax entries for Hebrew punctuation characters.
22665         * international/ucs-tables.el (ucs-8859-8-alist): Add Hebrew
22666         points and directional formatting control characters.
22668 2001-12-07  Dave Love  <fx@gnu.org>
22670         * language/lao-util.el: Add Unicode equivalents for rules.
22671         (lao-post-read-conversion): New function.
22673         * language/lao.el: Add Unicode equivalents.
22674         (lao): Add post-read conversion.
22676         * international/latin1-disp.el: Fix some 8-bit-graphic characters.
22677         Use iso2022 encoding.
22678         (latin1-char-displayable-p): Doc fix.
22679         (latin1-display-ucs-per-lynx): New option.
22680         (latin1-display-ucs-per-lynx): New command.
22681         (latin1-display-reset): Special-case arabic.
22682         (ucs-tables): Require.
22683         (latin1-display-sets, latin1-display-setup): Add arabic.
22684         (latin1-display) <variable>: Use function latin1-display.
22685         (latin1-display) <function>: Add mule-unicode stuff.
22686         (latin1-display-check-font): Don't lose if `info' is nil.
22688         * international/iso-transl.el: Insert Latin-1 characters, not
22689         unibyte codes.
22691         * language/european.el (diacritic-composition-pattern): New constant.
22692         (diacritic-compose-region, diacritic-compose-string)
22693         (diacritic-compose-buffer, diacritic-post-read-conversion)
22694         (diacritic-composition-function): New functions.
22696         * international/utf-8.el (ucs-mule-to-mule-unicode):
22697         New translation table.
22698         (ccl-encode-mule-utf-8): Use it.
22699         (utf-8-untranslated-to-ucs, utf-8-help-echo, utf-8-compose)
22700         (utf-8-post-read-conversion, utf-8-pre-write-conversion): New function.
22701         (utf-8-subst-table): New variable.
22702         (utf-8-compose-scripts): New option.
22703         (mule-utf-8): Update safe-charsets, pre-write and post-read conversion.
22705         * international/ucs-tables.el, international/utf-8-subst.el:
22706         New files.
22708         * international/characters.el: Don't set word syntax (the default)
22709         explicitly.  Add a diacritic category.  Add info for Unicode
22710         equivalents of characters in various Mule charsets and for extra
22711         Unicode characters.  Don't define specific categories for
22712         Indian/Devanagari, since they aren't used.
22714 2001-12-06  Richard M. Stallman  <rms@gnu.org>
22716         * textmodes/fill.el (set-justification): Rename arg VALUE to STYLE.
22717         (set-justification-left, set-justification-right): Doc fix.
22719         * progmodes/f90.el (f90-break-line): Use (newline 1) to insert newline.
22720         (bug-f90-mode): Variable deleted.
22722 2001-12-06  Stefan Monnier  <monnier@cs.yale.edu>
22724         * indent.el (indent-line-function): Default is indent-relative again.
22726 2001-12-07  Miles Bader  <miles@gnu.org>
22728         * progmodes/compile.el (compilation-error-regexp-alist):
22729         Added regexps for RXP.
22731 2001-12-05  Eli Zaretskii  <eliz@is.elta.co.il>
22733         * progmodes/cwarn.el (cwarn-font-lock-match-assignment-in-expression):
22734         Add shift-assignment operators to those highlighted, and highlight
22735         the whole operator rather than just the "=".
22737 2001-12-04  Juanma Barranquero  <lektu@terra.es>
22739         * files.el (save-abbrevs, save-some-buffers): Don't ask the user
22740         before saving abbrevs if `save-abbrevs' has the value `silently'.
22742 2001-12-04  Andreas Schwab  <schwab@suse.de>
22744         * xt-mouse.el (turn-off-xterm-mouse-tracking): Doc fix.
22746 2001-12-04  Colin Walters  <walters@debian.org>
22748         * emacs-lisp/autoload.el (make-autoload): Also generate autoloads
22749         for `defmacro*' forms.
22751         * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
22752         `defmacro*'.
22754 2001-12-03  Stefan Monnier  <monnier@cs.yale.edu>
22756         * progmodes/antlr-mode.el (antlr-c-common-init): Undo last change.
22758 2001-12-02  Richard M. Stallman  <rms@gnu.org>
22760         * files.el (insert-directory): If the df output does not look right,
22761         don't try to use it.  Other cleanups in overall code structure.
22763 2001-12-02  Stefan Monnier  <monnier@cs.yale.edu>
22765         * textmodes/outline.el (outline-mode-prefix-map):
22766         Add bindings for outline-promote and outline-demote.
22767         (outline-minor-mode-menu-bar-map): New var.
22768         (outline-minor-mode): Use it.
22769         (outline-heading-alist): New var (renamed from outline-level-heading).
22770         (outline-level): Use it.
22771         (outline-insert-heading, outline-promote, outline-demote):
22772         Update to use outline-heading-alist.
22774         * disp-table.el (standard-display-european):
22775         Simplify since the function is not interactive any more.
22776         Don't set the existing buffers to unibyte.
22778         * pcvs-util.el (cvs-file-to-string): Move condition-case outside.
22780         * pcvs.el (cvs-reread-cvsrc): Don't use cvs-file-to-string.
22782         * reveal.el (reveal-mode): Fix reveal-mode's lighter.
22784         * shell.el (shell): Use shell-file-name.
22785         Pop to buffer before calling comint to set COLUMNS properly.
22787         * emacs-lisp/cl.el (svref): New alias.
22789         * progmodes/antlr-mode.el (antlr-c-common-init):
22790         Don't inhibit adaptive-fill-mode any more.
22792         * progmodes/delphi.el (delphi-mode): Don't use make-local-hook.
22794         * progmodes/etags.el (tags-with-face): Use make-symbol.
22795         (tags-search, tags-query-replace): Use backquotes.
22797         * textmodes/picture.el (picture-mode-map): Don't use defconst
22798         for a variable.
22800 2001-12-02  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22802         * textmodes/reftex-index.el (reftex-index-mode):
22803         Remove make-local-hook.
22805         * textmodes/reftex-toc.el (reftex-toc-mode): Likewise.
22807 2001-12-02  Kim F. Storm  <storm@cua.dk>
22809         * isearch.el (isearch-resume-enabled): New variable.
22810         (isearch-done): Use that variable.
22812 2001-12-01  Richard M. Stallman  <rms@gnu.org>
22814         * wid-edit.el (widget-button-click): Don't move point permanently:
22815         Avoid mouse-set-point--instead select the window,
22816         then do save-excursion, then move point.
22817         Specify the buffer for get-char-property.
22818         Don't use `@' in interactive.
22820         * indent.el (indent-line-function):
22821         Default is indent-to-left-margin again.
22823         * replace.el (query-replace-read-args): Display message
22824         if FROM contains `\n' or `\t'.
22826 2001-12-01  Stefan Monnier  <monnier@cs.yale.edu>
22828         * indent.el (tab-to-tab-stop): Use delete-horizontal-space.
22830         * bindings.el (minibuffer-local-map): Bind TAB to insert-tab.
22832         * emacs-lisp/regexp-opt.el (regexp-opt):
22833         Bind completion-regexp-list to nil.
22835         * progmodes/hideif.el (hif-nexttoken): Move to before first def.
22837 2001-12-01  Eli Zaretskii  <eliz@is.elta.co.il>
22839         * progmodes/idlwave.el, progmodes/idlw-rinfo.el:
22840         * progmodes/idlw-shell.el, progmodes/idlw-toolbar.el:
22841         Update maintainer.
22843 2001-11-30  Stefan Monnier  <monnier@cs.yale.edu>
22845         * mail/smtpmail.el: Use with-current-buffer.
22846         (message-make-date, message-make-message-id): Autoload when needed.
22847         (smtpmail-send-it): Use them to add `Date:' and `Message-Id:'
22848         headers when missing.
22850         * international/encoded-kb.el (encoded-kbd-mode):
22851         Use define-minor-mode.
22853         * enriched.el (enriched-mode): Use define-minor-mode.
22854         Use dolist and pop and push.
22856         * info.el (Info-find-node-2): Don't call info-insert-file-contents
22857         with the `visit' argument.
22858         (Info-extract-menu-node-name): Use `replace-regexps-in-string'.
22860         * progmodes/hideif.el (hide-ifdef-mode): Only modify
22861         `change-major-mode-hook' locally.  Reset invisibility spec.
22863         * man.el (Man-build-section-alist): Remove last Man-match-substring.
22865 2001-11-30  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
22867         * textmodes/paragraphs.el (mark-paragraph): Clarify doc.
22868         Clarify error message.
22870 2001-11-29  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
22872         * textmodes/paragraphs.el (mark-paragraph): Allow prefix arg.
22874 2001-11-30  Andre Spiegel  <spiegel@gnu.org>
22876         * vc-cvs.el (vc-cvs-parse-status): Store file state in property,
22877         don't just return it.
22879 2001-11-30  Eli Zaretskii  <eliz@is.elta.co.il>
22881         * menu-bar.el (menu-bar-read-lispref, menu-bar-read-lispintro)
22882         (menu-bar-read-emacs-man, search-emacs-glossary)
22883         (emacs-index-search, elisp-index-search): New functions.
22884         (apropso-documentation, apropos, apropos-value, apropos-variable)
22885         (apropos-commands): Modify menu item names and help text.
22886         (elisp-index-search, emacs-index-search, emacs-glossary):
22887         New menu items.
22888         (menu-bar-manuals-menu): Move the Ordering Manuals item to a
22889         submenu.
22890         (info-elisp, info-elintro): New menu items.
22891         (apropos): Modify the menu item name.
22893 2001-11-30  Stefan Monnier  <monnier@cs.yale.edu>
22895         * emacs-lisp/lisp-mode.el (read-if): Add lisp-indent-function prop.
22897         * textmodes/outline.el (outline-promote, outline-demote): Typo.
22899         * man.el (man-follow-mouse): New function.
22900         (Man-mode-map): Bind mouse-2 to it.
22901         (Man-match-substring): Remove.  Replace with `match-string'.
22902         (man): Use the `default-value' argument to `read-string'.
22903         (Man-fontify-manpage): Add mouse-face to cross references.
22905         * emacs-lisp/cl-macs.el (shiftf): Fix more.  Simplify.
22907 2001-11-29  Stefan Monnier  <monnier@cs.yale.edu>
22909         * emacs-lisp/crm.el (completing-read-multiple): Better preserve
22910         the value of require-match in minibuffer-completion-confirm.
22911         Use crm-local-completion-map.
22913         * emacs-lisp/cl-macs.el (shiftf): Fix the fast case so
22914         (let ((a 1) (b 2)) (shiftf a b (cons a b)) b) returns (1 . 2).
22915         (cl-make-type-test): Use char-valid-p for `character'.
22917         * info.el (Info-complete-next-re, Info-complete-cache): New vars.
22918         (Info-complete-menu-item): Rewrite.  Add the ability to search
22919         several sequential nodes.  Add a simple caching mechanism.
22920         (Info-goto-index): New function extracted from Info-index.
22921         (Info-index): Use it.  Add completion to the interactive spec.
22922         (Info-menu-update): Simplify call to `Info-complete-menu-item'.
22924 2001-11-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22926         * COPYING: Removed.
22928 2001-11-29  Dave Love  <fx@gnu.org>
22930         * progmodes/fortran.el: Fontify rewind, backspace.  Doc fixes.
22931         (fortran-window-create, fortran-window-create-momentarily):
22932         Rewrite, moving error condition.
22933         (fortran-beginning-do, fortran-beginning-if): Fix regexps.
22934         (fortran-mode-syntax-table): Revert last change.
22936         * international/mule.el: Doc fixes.
22937         (map-charset-chars): New function.
22938         (register-char-codings): Use it to cope with generic chars in
22939         safe-chars.
22941 2001-11-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22943         * play/blackbox.el (blackbox-mode, blackbox): Doc fix.
22945         * play/cookie1.el (cookie, cookie-insert, shuffle-vector): Doc fixes.
22947         * play/studly.el (studlify-word, studlify-region)
22948         (studlify-buffer): Fix doc-string.
22949         (studlify-buffer): Add autoload cookie.
22951 2001-11-28  Stefan Monnier  <monnier@cs.yale.edu>
22953         * textmodes/outline.el (outline-up-heading): Add `invisible-ok' arg.
22954         (outline-up-heading-all): Remove.
22955         (hide-sublevels): Move to end-of-heading before calling flag-region.
22956         (outline-copy-overlay, outline-discard-overlays): Remove.
22957         (outline-flag-region): Use `remove-overlays'.
22958         Don't move to end-of-heading.
22959         (outline-next-visible-heading, outline-back-to-heading)
22960         (outline-on-heading-p): Use outline-invisible-p.
22961         (outline-font-lock-level): Use outline-up-heading's new arg.
22962         (outline-minor-mode): Simplify.
22963         (outline-map-tree, outline-reveal-toggle-invisible): New funs.
22964         (outline): Put a `reveal-toggle-invisible' property.
22965         (outline-level-heading): New var.
22966         (outline-insert-heading, outline-promote, outline-demote)
22967         (outline-toggle-children): New commands.
22969         * progmodes/hideif.el (hif-end-of-line): New function.
22970         (hide-ifdef-mode): Set line-move-ignore-invisible.
22971         (hide-ifdef-region-internal): New function.
22972         (hide-ifdef-region): Use it.
22973         (hif-defined): Return an integer.
22974         (hif-infix-to-prefix): Remove.
22975         (hif-tokenize): Parse from the buffer rather than from a string.
22976         Correctly tokenize integers.  Use forward-comment.
22977         (hif-expr): Use hif-or.
22978         (hif-term): Use hif-and.
22979         (hif-factor): Use hif-not.  Handle numbers properly.
22980         Don't require parenthesis around `defined's argument.
22981         (hif-and, hif-or, hif-not): New funs.
22982         (hif-canonicalize): Pass a region to hif-tokenize.  Use hif-not.
22983         (hif-hide-line): Don't hide the \n before the line.
22984         (hif-possibly-hide): Correctly handle numeric evaluation results.
22986         * progmodes/make-mode.el: Use line-(end|beginning)-position.
22987         (makefile-mode): Set indent-line-function.
22988         (makefile-browser-insert-continuation): Use with-current-buffer.
22989         (makefile-beginning-of-line-point, makefile-end-of-line-point): Remove.
22991 2001-11-28  Karl Fogel  <kfogel@red-bean.com>
22993         * isearch.el (isearch-yank-internal): New helper function.
22994         (isearch-yank-char): New function.
22995         (isearch-yank-word, isearch-yank-line): Rewrite to use
22996         isearch-yank-internal.
22998 2001-11-28  Eli Zaretskii  <eliz@is.elta.co.il>
23000         * mouse.el (mouse-set-font): Make it a no-op if multiple fonts
23001         aren't supported.  Print a message to that effect if invoked.
23003 2001-11-27  Stephen Eglen  <stephen@gnu.org>
23005         * locate.el (locate): Put point at first matching file rather
23006         than top of buffer.
23008 2001-11-27  Stefan Monnier  <monnier@cs.yale.edu>
23010         * reveal.el: New file.
23012         * progmodes/hideif.el: Misc cleanup.
23013         (hide-ifdef-mode-submap): Put the def in the defvar.
23014         Use substitute-key-definition.
23015         (hide-ifdef-mode): Use define-minor-mode.
23016         (hif-outline-flag-region): Remove.
23017         (hif-show-all): Define in terms of hif-show-ifdef-region.
23018         (hif-after-revert-function): Rename from hif-before-revert-function.
23019         (hide-ifdef-region, hif-show-ifdef-region): Use overlays.
23020         (hif-tokenize): Use with-syntax-table.
23021         (hif-make-range): Use `else' also for `else-p'.
23022         (hif-range-else-p): Remove.
23023         (hif-find-range): Simplify.
23024         (hif-hide-line): Don't bother preserving buffer-modified-p.
23025         (hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
23026         Don't use selective-display and inhibit-read-only.
23028         * subr.el (copy-overlay, remove-overlays): New funs.
23030         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix off-by-two error.
23032 2001-11-27  Sam Steingold  <sds@gnu.org>
23034         * ansi-color.el, bookmark.el, dired.el, emerge.el, fast-lock.el
23035         * lazy-lock.el, mouse-sel.el, mail/feedmail.el
23036         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el, emacs-lisp/ewoc.el
23037         * obsolete/c-mode.el, obsolete/cplus-md.el
23038         * progmodes/dcl-mode.el, progmodes/idlw-shell.el, progmodes/idlwave.el
23039         * term/sun-mouse.el, textmodes/artist.el:
23040         Converted backquote to the new style.
23041         * mouse.el, reposition.el: Likewise (in comments).
23042         * expand.el: Likewise (in a string).
23044 2001-11-27  Richard M. Stallman  <rms@gnu.org>
23046         * cus-edit.el (custom-load-symbol): Don't always load locate-library.
23048 2001-11-26  Richard M. Stallman  <rms@gnu.org>
23050         * wid-edit.el (widget-toggle-value-create): On graphic terminal,
23051         if :on-glyph or :off-glyph is a list, eval it and store it back.
23052         (checkbox): Quote the values for :on-glyph and :off-glyph.
23054         * cus-start.el (recursive-load-depth-limit): Delete item.
23056 2001-11-26  Stefan Monnier  <monnier@cs.yale.edu>
23058         * help-fns.el (describe-categories, help-describe-category-set): New.
23059         describe-categories moved here from src/category.c.
23061 2001-11-26  Sam Steingold  <sds@gnu.org>
23063         * progmodes/cc-mode.el (c-submit-bug-report): Make sure that the
23064         arguments to `insert' are strings.
23066 2001-11-26  Richard M. Stallman  <rms@gnu.org>
23068         * startup.el (command-line-1): Call kill-buffer only in non-fancy case.
23070 2001-11-26  Eli Zaretskii  <eliz@is.elta.co.il>
23072         * international/mule-diag.el: Require help-fns instead of
23073         help-funs.
23075         * help-fns.el: Renamed from help-funs.el.
23077         * startup.el (command-line-1): Don't try to call process-list if
23078         it is not fboundp.
23080 2001-11-26  Sam Steingold  <sds@gnu.org>
23082         * frame.el (show-trailing-whitespace): Remove :set argument (the
23083         value was essentially identical to the defalt).
23085 2001-11-26  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
23087         * hexl.el (hexl-mode, hexl-follow-ascii): Remove make-local-hook.
23089         * icomplete.el (icomplete-minibuffer-setup): Likewise.
23091         * hilit-chg.el (hilit-chg-set): Likewise.
23093         * speedbar.el (speedbar-mode): Likewise.
23095         * calendar/calendar.el (calendar-mode): Likewise.
23097         * play/yow.el (psychoanalyze-pinhead): Use insert instead of
23098         insert-string.
23100         * play/gamegrid.el (gamegrid-init-buffer): Likewise.
23102         * term/bg-mouse.el (bg-insert-moused-sexp): Likewise.
23104         * term/sun-mouse.el (sun-yank-selection): Likewise.
23106         * textmodes/bib-mode.el (return-key-bib): Likewise.
23108         * calendar/appt.el (appt-disp-window): Likewise.
23110         * calendar/diary-lib.el (list-diary-entries): Likewise.
23112         * array.el (array-reconfigure-rows): Likewise.
23114         * filecache.el (file-cache-minibuffer-complete): Likewise.
23116         * obsolete/cplus-md.el (fill-c++-comment): Likewise.
23118         * strokes.el (strokes-prompt-user-save-strokes): Likewise.
23120         * allout.el (outline-version, outline-open-topic)
23121         (outline-rebullet-heading, outline-insert-listified)
23122         (outline-latex-verbatim-quote-curr-line)
23123         (outline-latexify-one-item, outlineify-sticky): Likewise.
23125         * vc.el (vc-next-action-on-file): Likewise.
23126         (vc-dired-mode): Remove make-local-hook.
23128 2001-11-26  Andre Spiegel  <spiegel@gnu.org>
23130         * vc.el (vc-find-version): New function.
23131         (vc-version-other-window): Redefined in terms of the above.
23133         * log-view.el (log-view-find-version): New function.
23134         (log-view-mode-map): Bind it to `f'.
23136 2001-11-26  Gerd Moellmann  <gerd@gnu.org>
23138         * language/devan-util.el (dev-char-glyph): Escape `"' in
23139         string literals.
23140         (dev-glyph-glyph, dev-glyph-glyph-2)
23141         (devanagari-compose-syllable-region): Likewise.
23143 2001-11-26  Richard M. Stallman  <rms@gnu.org>
23145         * window.el (save-selected-window): No error if saved window is dead.
23147         * help-funs.el (describe-syntax): Put (interactive) after doc string.
23149 2001-11-26  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
23151         * international/quail.el (quail-help): Require help-mode in
23152         top-level instead.
23154         * iswitchb.el (iswitchb-exhibit): Use insert instead of
23155         insert-string.
23157         * icomplete.el (icomplete-exhibit): Likewise.
23159 2001-11-25  Stefan Monnier  <monnier@cs.yale.edu>
23161         * diff-mode.el (diff-end-of-hunk): Watch out for ambiguities.
23162         (diff-hunk-kill): Simplify.
23163         (diff-post-command-hook): Only apply to a single hunk.
23164         (diff-hunk-text): Make `char-offset' non-optional.
23165         (diff-find-text): Return a cons cell.
23166         (diff-find-approx-text): New fun.
23167         (diff-find-source-location): Use it.
23168         (diff-apply-hunk, diff-test-hunk, diff-goto-source):
23169         Adapt to new retval of diff-find-text.
23171         * vc-cvs.el (vc-cvs-parse-entry): Rewrite, comparing the string-
23172         rather than integer- representation of dates.
23174         * textmodes/fill.el (fill-indent-according-to-mode): Default to nil.
23176         * emacs-lisp/syntax.el: Don't profile syntax-ppss any more.
23177         (syntax-after): New fun.
23179         * help-funs.el (describe-syntax): New fun.
23181         * font-lock.el (font-lock-cache-state, font-lock-cache-position)
23182         (font-lock-ppss-stats, font-lock-ppss): Remove.
23183         (font-lock-fontify-syntactically-region): Remove tuning code.
23184         (font-lock-compile-keywords): Fix off-by-one bug.
23185         (font-lock-set-defaults): Don't set removed vars.
23186         (c-keywords): Add `inline'.
23187         (c-type-names): Add `_Complex', `_Imaginary' and `_Bool'.
23189         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
23190         Set syntax-begin-function.
23191         (lisp-interaction-mode-abbrev-table): Defvar to its correct value.
23192         (lisp-interaction-mode): Don't set local-abbrev-table any more.
23193         (lisp-mode-auto-fill): Use syntax-ppss and obey
23194         comment-auto-fill-only-comments.
23195         (lisp-fill-paragraph): Use syntax-ppss.
23197 2001-11-25  ShengHuo ZHU  <zsh@cs.rochester.edu>
23199         * mail/rmail.el (rmail-enable-mime-composing): New. A lightweight
23200         version of rmail-enable-mime.
23201         (rmail-forward): Use it.
23203 2001-11-25  Richard M. Stallman  <rms@gnu.org>
23205         * emacs-lisp/lisp-mode.el (lisp-indent-function): Add doc string.
23207         * international/quail.el (quail-keyboard-layout-button):
23208         Define button type.
23209         (quail-keyboard-customize-button): Likewise.
23210         (quail-help): Use those button types.  Require `help-mode'.
23211         Avoid altering the argument `package'.
23213         * help-mode.el (help-function, help-variable, help-face)
23214         (help-coding-system, help-input-method, help-character-set):
23215         Define each button type with its own explicit define-button-type.
23217         * language/devan-util.el: Comment out parts of the file
23218         which apparently are garbled.
23220 2001-11-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
23222         * mail/smtpmail.el (smtpmail-deduce-address-list): Don't use
23223         insert-string.
23225 2001-11-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
23227         * play/snake.el (snake-mode): Remove make-local-hook.
23229         * play/tetris.el (tetris-mode): Likewise.
23231         * play/decipher.el (decipher-mode): Likewise.
23233         * tmm.el (tmm-add-prompt): Likewise.
23235 2001-11-25  Sam Steingold  <sds@gnu.org>
23237         * menu-bar.el (menu-bar-apropos-menu): New variable.
23238         Moved all `apropos' bindings to this menu.
23239         (menu-bar-help-menu): Added `menu-bar-apropos-menu'.
23241 2001-11-24  KAWABATA, Taichi  <batta@beige.ocn.ne.jp>
23243         The following changes are for new indian languages support based
23244         on Unicode charset and CDAC fonts.
23246         * international/mule-conf.el: Change indian-1-column charset to
23247         indian-glyph charset.
23249         * international/characters.el: Adjusted for the change of
23250         indian-1-column -> indian-glyph.
23252         * international/fontset.el: Delete the setting for indian-1-column
23253         and add the setting for indian-glyph in the default fontset.
23255         * language/indian.el: Completely re-written.
23257         * language/devanagari.el: Completely re-written.
23259         * language/devan-util.el: Completely re-written.
23261         * language/ind-util.el: New file.
23263 2001-11-24  Richard M. Stallman  <rms@gnu.org>
23265         * startup.el (command-line-1): Don't do startup screen
23266         if a subprocess is running.  Call the startup screen buffer
23267         "GNU Emacs".  Make a special mode-line-format for it.
23269         * net/browse-url.el (browse-url-galeon-new-window-is-tab): New var.
23270         (browse-url-galeon): Use that variable.
23272         * mail/supercite.el (sc-toggle-var): Don't use set-variable or
23273         eval-expression.  Eval and set the variable simply.
23275         * files.el (temporary-file-directory): Use defcustom.
23276         (small-temporary-file-directory): Likewise.
23277         (normal-backup-enable-predicate): Move down in file
23278         after definition of temporary-file-directory.
23280         * bindings.el (last-buffer, unbury-buffer): Doc fixes.
23282 2001-11-24  Colin Walters  <walters@debian.org>
23284         * calc/calc-ext.el (calc-init-extensions): Update the rest of the
23285         autoload names to match files renamed on initial calc import.
23287         * calc/calc.el (Commentary): Cleanup, and add logistic curve
23288         fitting suggestion from Robert J. Chassell <bob@rattlesnake.com>.
23290 2001-11-23  Colin Walters  <walters@debian.org>
23292         * Makefile.in (finder_setwins, setwins): Include Calc again.
23294         * calc/calc-rules.el: Add header comment.
23296 2001-11-23  Andre Spiegel  <spiegel@gnu.org>
23298         * vc.el (with-vc-properties): Don't bind `filename' locally.
23299         (with-vc-file, edit-vc-file): Use `make-symbol' for local bindings
23300         to avoid name clashes.  Fix `lisp-indent-function' property for
23301         both.
23303 2001-11-23  Francesco Potort\e,Al\e(B  <pot@gnu.org>
23305         * generic-x.el (mailrc-generic-mode): Highlight the `source' keyword.
23307 2001-11-22  Colin Walters  <walters@debian.org>
23309         * calc/calc-misc.el (report-calc-bug):
23310         Use `reporter-prompt-for-summary-p'.
23312         * calc/INSTALL, calc/Makefile: Remove.
23314 2001-11-22  Miles Bader  <miles@gnu.org>
23316         * emacs-lisp/re-builder.el (reb-match-0, reb-match-1)
23317         (reb-match-2, reb-match-3): Add dark-background variants.
23319 2001-11-22  Colin Walters  <walters@debian.org>
23321         * calc/calc-misc.el (calc-info): Don't perform voodoo, just
23322         (info "Calc").
23323         (report-calc-bug): Use reporter.el.
23325         * mail/reporter.el (reporter-submit-bug-report): Doc fixes.
23327 2001-11-21  Richard M. Stallman  <rms@gnu.org>
23329         * which-func.el (which-function): Call imenu--make-index-alist
23330         if necessary to get a list of functions.
23331         (which-function-imenu-failed): New variable.
23332         (which-func-update): Handle all visible windows.
23333         (which-func-update-1): New subroutine broken out of which-func-update.
23335         * files.el (temporary-file-directory, null-device)
23336         (small-temporary-file-directory): Definitions moved up.
23338         * progmodes/cperl-mode.el (cperl-problems, cperl-tips)
23339         (cperl-non-problems, cperl-praise): Doc fixes.
23341         * progmodes/sh-script.el (sh-mode): Don't use define-derived-mode.
23342         (sh-mode-syntax-table): Function restored.
23343         Variable set up for use by function sh-mode-syntax-table.
23344         (sh-set-shell): Set the syntax table.
23346         * play/gomoku.el (gomoku-mode): Don't use define-derived-mode.
23348         * progmodes/perl-mode.el (perl-mode): Don't use define-derived-mode.
23350         * international/encoded-kb.el: Don't alter minor-map-alist.
23352 2001-11-20  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
23354         * files.el (auto-save-file-name-transforms): Put remote files in
23355         temporary-file-directory rather than /tmp.
23357 2001-11-21  Colin Walters  <walters@debian.org>
23359         * calc/calc-macs.el (calc-slow-wrapper): Move (point) call outside
23360         of (function ...) wrapper.
23362 2001-11-20  Stefan Monnier  <monnier@cs.yale.edu>
23364         * derived.el (define-derived-mode): Create the abbrev-table
23365         from inside the `defvar'.
23367         * jit-lock.el (jit-lock-defer-time): New var.
23368         (jit-lock-defer-timer, jit-lock-buffers): New vars.
23369         (jit-lock-mode): Initialize them.  Cancel the timers more carefully.
23370         (jit-lock-function): Defer fontification if requested.
23371         (jit-lock-stealth-chunk-start): Pay attention to the new non-nil value.
23372         (jit-lock-stealth-fontify): Check the new `jit-lock-defer-multiline'
23373         text property.
23374         (jit-lock-deferred-fontify): New fun.
23376 2001-11-20  Richard M. Stallman  <rms@gnu.org>
23378         * emacs-lisp/lisp-mode.el (lisp-interaction-mode):
23379         Set local-abbrev-table to lisp-mode-abbrev-table.
23381         * emacs-lisp/re-builder.el (reb-mode):
23382         Don't use define-derived-mode.  Call kill-all-local-variables.
23384         * emacs-lisp/lisp-mode.el (lisp-mode, emacs-lisp-mode):
23385         Don't use define-derived-mode.
23387         * help-mode.el (help-mode): Undo 2001-10-07 change.
23389         * replace.el (occur-mode): Undo 2001-5-20 change.
23391 2001-11-20  Jason Rumney  <jasonr@gnu.org>
23393         * w32-fns.el (w32-system-coding-system): Change to an alias for
23394         locale-coding-system.
23395         (set-w32-system-coding-system): Document the above change.
23396         Set locale-coding-system instead.
23398 2001-11-20  Richard M. Stallman  <rms@gnu.org>
23400         * ruler-mode.el: Add pagination.
23401         (ruler-mode-toggle-show-tab-stops): No need to
23402         test `ruler-mode' variable.
23404 2001-11-20  Eli Zaretskii  <eliz@is.elta.co.il>
23406         * play/landmark.el: Mark lm-mode as special.
23408         * play/gomoku.el: Mark gomoku-mode as special.
23410 2001-11-20  Juanma Barranquero  <lektu@terra.es>
23412         * emacs-lisp/re-builder.el (reb-change-target-buffer): New function.
23413         (top-level): Bind it to C-c C-b.
23414         (re-builder): Don't re-enter RE Builder Mode.
23416         * bs.el (bs-delete): Signal an error if the buffer cannot be deleted.
23418 2001-11-20  Stefan Monnier  <monnier@cs.yale.edu>
23420         * progmodes/cperl-mode.el (cperl-perldoc): Require man before binding
23421         `manual-program'.
23423         * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Don't move back
23424         to a line without a comment.
23426 2001-11-20  Eli Zaretskii  <eliz@is.elta.co.il>
23428         * dired.el (dired-listing-switches): Mention in the doc string
23429         that some switches are not supported by ls-lisp.el
23431 2001-11-19  Stefan Monnier  <monnier@cs.yale.edu>
23433         * imenu.el (imenu--split-menu): Use dolist and copy-sequence.
23434         (imenu--create-keymap-2): Remove.
23435         (imenu--create-keymap-1): Simplify, remove third argument.
23436         (imenu--generic-function): Use dolist.
23437         (imenu-find-default): New function.
23438         (imenu--completion-buffer): Use it.
23439         (imenu--mouse-menu): Use popup-menu.
23440         (imenu--menubar-select): Return t rather than calling imenu.
23442         * textmodes/fill.el (fill-delete-prefix, fill-delete-newlines):
23443         New functions, extracted from fill-region-as-paragraph.
23444         (fill-region-as-paragraph): Use them.
23445         Use an end marker instead of eob.
23446         Ignore whitespace-only fill-prefixes when indenting according to mode.
23447         Simplify the loop that searches for spaces backwards.
23449         * textmodes/picture.el (picture-vertical-step)
23450         (picture-horizontal-step): Don't use defconst for variables.
23452         * mail/mail-extr.el: Use backquote/dolist/mapc/when.  Docstring fixes.
23453         (mail-extract-address-components): Downcase domain names.
23454         (mail-extr-delete-char): Remove.  Use delete-char instead.
23456         * emulation/pc-select.el: Doc string fixes.
23457         (pc-selection-mode): Don't treat macos as a tty.
23459         * emacs-lisp/lisp.el (mark-sexp): Mark more if repeated.
23461         * progmodes/cc-engine.el (c-parse-state): Typo. From Martin Stjernholm.
23463         * mwheel.el (mouse-wheel-scroll-amount): Allow float values.
23464         (mouse-wheel-progessive-speed): New var.
23465         (mwheel-scroll): Use it and handle float values.
23467         * lazy-lock.el (lazy-lock-install-hooks): Remove make-local-hook.
23469         * iswitchb.el (iswitchb-mode): Use define-minor-mode.
23470         (iswitchb): Fix the case where the result was selected with the mouse.
23471         (iswitchb-completion-help): Use the normal *Completions* now that
23472         mouse selection works.
23473         (iswitchb-minibuffer-setup): Simplify.
23475         * newcomment.el (comment-column, comment-style, comment-multi-line)
23476         (comment-auto-fill-only-comments): Remove :group arg.
23477         (comment-padding): Add :type.
23478         (comment-indent-new-line): Ignore comment-auto-fill-only-comments
23479         if called interactively.
23481 2001-11-19  Colin Walters  <walters@verbum.org>
23483         * calc/calc.el (toplevel): Add comment and version header.
23484         (calc-init-base): Bump version to 2.02f, update date.
23486 2001-11-19  Richard M. Stallman  <rms@gnu.org>
23488         * net/browse-url.el: Support Mozilla and Galeon.
23489         By default, find the installed browser whichever it is.
23490         (browse-url-mozilla): New function.
23491         (browse-url-mozilla-sentinel): New function.
23492         (browse-url-galeon, browse-url-galeon-sentinel): New functions.
23493         (browse-url-default-browser): New function.
23494         (browse-url-process-environment): Use browse-url-browser-display.
23495         (browse-url-browser-display): Renamed from browse-url-netscape-display.
23496         (browse-url-mozilla-startup-arguments, browse-url-galeon-program)
23497         (browse-url-galeon-arguments, browse-url-galeon-startup-arguments)
23498         (browse-url-mozilla-program, browse-url-mozilla-arguments): New vars.
23499         (browse-url-browser-function): New default, new options.
23501 2001-11-19  Sam Steingold  <sds@gnu.org>
23503         * bindings.el (last-buffer, unbury-buffer): New function.
23504         (mode-line-unbury-buffer): Use `unbury-buffer'.
23506 2001-11-18  Stephen Eglen  <stephen@gnu.org>
23508         * iswitchb.el (iswitchb-cannot-complete-hook): New variable to
23509         control behaviour when no further completion is possible.
23511 2001-11-19  Colin Walters  <walters@verbum.org>
23513         * calc/calc-macs.el (calc-wrapper, calc-slow-wrapper)
23514         (math-showing-full-precision, math-with-extra-prec, math-working)
23515         (calc-with-default-simplification)
23516         (calc-with-trail-buffer): Use backtick.
23517         (Math-zerop, Math-integer-negp, Math-integer-posp, Math-negp)
23518         (Math-looks-negp, Math-posp, Math-integerp, Math-natnump)
23519         (Math-ratp, Math-realp, Math-anglep, Math-numberp, Math-scalarp)
23520         (Math-vectorp, Math-messy-integerp, Math-objectp, Math-objvecp)
23521         (Math-integer-neg, Math-equal, Math-lessp, Math-primp)
23522         (Math-num-integerp, Math-bignum-test, Math-equal-int)
23523         (Math-natnum-lessp, math-format-radix-digit): Change to `defsubst'.
23524         (calc-record-compilation-date-macro): Deleted.  Callers updated.
23525         (math-format-radix-digit): Move to calc-bin.el.
23527         * calc/calc.el (calc-record-compilation-date): Remove.
23528         (calc-bug-address): Update.
23529         (calc-settings-file): Use `user-init-file'.
23531         * calc/calc-mode.el (calc-settings-file-name, calc-save-modes):
23532         Handle null `calc-settings-file'.
23534         * calc/calc-frac.el (calc-over-notation): Use `completing-read'.
23535         * calc/calc-keypd.el (calc-keypad-mode): New.
23536         (calc-do-keypad): Use it.
23537         (calc-keypad-map): Move into `calc-keypad-mode'.
23539         * calc-math.el (calcFunc-sqrt, calcFunc-hypot): Add missing quote
23540         to defalias argument.
23542         * calc-misc.el (math-fixnump, math-fixnatnump, calcFunc-trunc)
23543         (calcFunc-floor): Ditto.
23545         * calc-units.el (calcFunc-usimplify): Ditto.
23547         * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
23548         * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
23549         * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
23550         * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
23551         * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
23552         * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
23553         * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
23554         * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
23555         * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
23556         * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
23557         * calcsel2.el: Change all toplevel `setq' forms to `defvar' forms,
23558         and move them before their first use.  Use `when', `unless'.
23559         Remove trailing periods from error forms.  Add description and
23560         headers suggested by Emacs Lisp coding conventions.
23562 2001-11-19  Stefan Monnier  <monnier@cs.yale.edu>
23564         * newcomment.el (comment-indent):
23565         Fix misindentation for comment-only lines.
23566         (comment-indent-new-line): Only obey comment-multi-line if the
23567         comment-ender is not the end-of-line.
23569 2001-11-19  Richard M. Stallman  <rms@gnu.org>
23571         * net/net-utils.el (network-connection-service-abbrev-alist):
23572         New variable.
23574         * emacs-lisp/cl-indent.el (lisp-indent-defmethod):
23575         Advance to start of 3rd sexp by moving fwd and backing over it.
23576         At first three elements, act like defun.
23578         * delsel.el (delete-selection-pre-hook): Handle and resignal
23579         file-supersession errors to interact properly with userlock.el.
23581 2001-11-18  Richard M. Stallman  <rms@gnu.org>
23583         * progmodes/fortran.el (fortran-mode-syntax-table):
23584         Specify punctuation syntax for backslash.
23586         * progmodes/sh-script.el (sh-must-be-shell-mode): Function deleted.
23587         All calls deleted.
23589         * international/mule-util.el (string-to-sequence): Make it obsolete.
23590         (string-to-list, string-to-vector): Implement them directly
23591         using append and vconcat, not with string-to-sequence.
23593         * startup.el (command-line): Set abbrevs-changed to nil after
23594         reading the init file and the abbrevs file.
23596         * isearch.el (isearch): Use magenta2 as bg for (background light)
23598 2001-11-17  Richard M. Stallman  <rms@gnu.org>
23600         * menu-bar.el (menu-bar-update-buffers-1): Don't pad the buffer name.
23602         * simple.el (minibuffer-history-sexp-flag): Doc fix.
23604 2001-11-17  Stefan Monnier  <monnier@cs.yale.edu>
23606         * font-lock.el (font-lock-compile-keywords): New arg `regexp'.
23607         If set and if applicable, add a regexp to highlight defun-like
23608         text inside comments and strings.
23609         (font-lock-fontify-keywords-region): Pass that new arg.
23610         (font-lock-set-defaults): Move the code to set `font-lock-keywords'
23611         to the end and pass that new arg.
23612         (c-font-lock-keywords-2): Fix regex for labels.
23613         (font-lock-match-c++-style-declaration-item-and-skip-to-next):
23614         Make it work when LIMIT is several lines further.
23615         (c-font-lock-keywords-3, c++-font-lock-keywords-3)
23616         (objc-font-lock-keywords-3, java-font-lock-keywords-3):
23617         Use backquote and make the regexes for `int a, b, c;' work on
23618         multiple lines.
23620         * emacs-lisp/re-builder.el (reb-mode): Use define-derived-mode.
23621         (font-lock-defaults-alist): Don't change it any more.
23622         (reb-subexp-mode-map): Cleanup.
23624         * custom.el (custom-current-group-alist): New var.
23625         (custom-declare-group): Set it.
23626         (custom-current-group): New fun.
23627         (custom-declare-variable, custom-handle-all-keywords):
23628         Use it as a default if no :group argument is specified.
23630         * international/mule-cmds.el (locale-name-match): Use \` and \(?:.
23631         (standard-keyboard-coding-systems): New var.
23632         (set-locale-environment): Use it to decide whether or not to call
23633         set-keyboard-coding-system.
23634         (locale-language-names): Use \"French\" for "fr".
23636 2001-11-17  Richard M. Stallman  <rms@gnu.org>
23638         * emacs-lisp/checkdoc.el (princ-list, checkdoc-read-event)
23639         (add-to-list): Delete compatibility code.
23640         (checkdoc-next-message-error): Doc fix.
23642 2001-11-17  Stephen Eglen  <stephen@gnu.org>
23644         * locate.el (locate): Show default locate pattern within the
23645         prompt, but don't insert it into the minibuffer contents.
23646         Catch the case when pattern is the empty string.
23648 2001-11-17  Eli Zaretskii  <eliz@is.elta.co.il>
23650         * language/european.el ("French"): New language environment.
23652 2001-11-16  Richard M. Stallman  <rms@gnu.org>
23654         * calendar/todo-mode.el (todo-save): Fix previous change.
23656         * subr.el (functionp): Do use cdr-safe on object.
23658 2001-11-16  Stefan Monnier  <monnier@cs.yale.edu>
23660         * bindings.el (mode-line-mode-name): Only put the help-echo property
23661         if the local-map property was put as well.
23662         (global-map): Bind switch-frame, delete-frame, iconify-frame
23663         and make-frame-visible events.
23665         * emacs-lisp/elp.el (elp-not-profilable): New var.
23666         (elp-not-profilable-p): New function.
23667         (elp-instrument-function): Use it.  Use backquotes and push.
23669         * emacs-lisp/bytecomp.el (byte-compile-call-tree, byte-code-vector)
23670         (byte-stack+-info, byte-compile-last-warned-form)
23671         (byte-compile-last-logged-file): Don't defconst a variable.
23672         (no-byte-compile): Declare.
23673         (byte-compile-file): Don't boundp-check no-byte-compile any more.
23674         (byte-compile-defvar): Leave defconst as is.
23676         * emacs-lisp/edebug.el (edebug-form-data, edebug-offsets)
23677         (edebug-offsets-stack, edebug-read-dotted-list, edebug-def-name)
23678         (edebug-current-offset, edebug-old-def-name, edebug-error-point)
23679         (edebug-best-error): Don't defconst a variable.
23680         (edebug-read-syntax-table): Use a char-table.
23681         (edebug-lemacs-specific): Remove.
23682         Toplevel: Eliminate check for Lucid Emacs.
23684         * pcvs-util.el (cvs-prefix-define): Don't defconst a variable.
23686         * rect.el (move-to-column-force): Mark obsolete.
23687         (operate-on-rectangle, delete-extract-rectangle-line)
23688         (insert-rectangle, delete-whitespace-rectangle-line)
23689         (open-rectangle-line, clear-rectangle-line): Use move-to-column.
23690         (string-rectangle-history): New var.
23691         (string-rectangle, string-insert-rectangle): Use it.
23692         (delete-rectangle-line): Fix pos/column mixup and simplify.
23694         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
23695         (normal-top-level, command-line, command-line-1): Simplify.
23697         * tar-mode.el (tar-mode): Use define-derived-mode.
23699         * view.el (view-mode-enable): Don't use make-local-hook.
23701         * emacs-lisp/eldoc.el (eldoc-mode): Use define-minor-mode.
23703 2001-11-16  Richard M. Stallman  <rms@gnu.org>
23705         * mail/mail-extr.el (mail-extr-voodoo): Treat a number as a word
23706         if it doesn't make sense as anything else.
23707         Don't recognize a "telephone number" at the beginning of the name.
23708         (mail-extr-leading-garbage): Match non-word characters only.
23710 2001-11-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
23712         * startup.el (command-line-processed): Doc fix.
23714         * apropos.el (apropos-next-label-button): Doc fix.
23716 2001-11-16  Stefan Monnier  <monnier@cs.yale.edu>
23718         * comint.el (comint-mode): Simplify.
23719         (make-comint-in-buffer): Run `comint-mode' only if necessary.
23721         * subr.el (eval-after-load): Make it work with features as well.
23723         * log-view.el (log-view-mode): Don't mark the buffer unmodified.
23725         * international/mule-cmds.el (describe-input-method): Setup xref.
23726         (set-language-environment): Use functionp.
23727         (locale-language-names, locale-charset-language-names)
23728         (locale-preferred-coding-systems): Defconst and purecopy.
23730         * language/european.el (mac-roman): Add mime-charset property.
23732 2001-11-15  Richard M. Stallman  <rms@gnu.org>
23734         * emacs-lisp/cl.el (values, values-list, multiple-value-list)
23735         (multiple-value-apply, nth-value): Use defsubst rather than defalias
23736         to get better doc strings.
23738 2001-11-15  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
23740         * derived.el: Fix autoload cookie.
23742 2001-11-15  Richard M. Stallman  <rms@gnu.org>
23744         * jka-compr.el (jka-compr-partial-uncompress): Fix previous change.
23746 2001-11-15  Stefan Monnier  <monnier@cs.yale.edu>
23748         * menu-bar.el (menu-bar-edit-menu) <copy>: Put an explicit key binding.
23750 2001-11-15  Richard M. Stallman  <rms@gnu.org>
23752         * dired.el (dired-undo): Display a message to explain
23753         that this does not undo file system changes.
23755 2001-11-15  David Kastrup  <David.Kastrup@t-online.de>
23757         * mouse-drag.el (mouse-drag-throw): Push back non-drag events
23758         into `unread-command-events' instead of trying keymap
23759         lookups ourselves.  This makes mouse-clicks do the right
23760         thing even when keymaps of overlays are involved.
23761         (mouse-drag-drag): Likewise.
23763 2001-11-15  Andreas Schwab  <schwab@suse.de>
23765         * progmodes/ada-mode.el (ada-add-extensions): Quote regexp special
23766         characters and append anchor to pattern added to auto-mode-alist.
23768 2001-11-15  Stefan Monnier  <monnier@cs.yale.edu>
23770         * server.el (server-process-filter): Run pre/post-comment-hook
23771         before/after visiting the file.
23773         * info-look.el (makefile-mode): Add info for automake.
23774         (autoconf-mode): Fix the name of the index for automake.
23776         * international/latin-9.el: Give pilcrow punctuation syntax.
23778 2001-11-15  Andre Spiegel  <spiegel@gnu.org>
23780         * vc.el: Documentation fixes.
23782 2001-11-14  Stefan Monnier  <monnier@cs.yale.edu>
23784         * smerge-mode.el (smerge-match-conflict): Fix typo.
23785         (smerge-diff): Be careful to read match-data early enough.
23787 2001-11-14  Colin Walters  <walters@verbum.org>
23789         * calc/calc-alg.el (calcFunc-esimplify, calcFunc-simplify)
23790         (calcFunc-subst): Use `defalias' instead of `fset' and
23791         `symbol-function'.
23793         * calc/calc-arith.el (calcFunc-abs, calcFunc-float)
23794         (calcFunc-ceil, calcFunc-round): Ditto.
23796         * calc/calc-bin.el (calcFunc-clip): Ditto.
23798         * calc/calc-ext.el (calcFunc-evalv): Ditto.
23800         * calc/calc-math.el (calcFunc-sqrt, calcFunc-hypot): Ditto.
23802         * calc/calc-misc.el (math-fixnump, math-fixnatnump)
23803         (calcFunc-trunc, calcFunc-floor, calc-report-bug): Ditto.
23805         * calc/calc-units.el (calcFunc-unsimplify): Ditto.
23807         * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
23808         * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
23809         * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
23810         * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
23811         * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
23812         * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
23813         * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
23814         * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
23815         * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
23816         * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
23817         * calcsel2.el: Style cleanup; don't put closing parens on their
23818         own line, add "foo.el ends here" to each file, and update
23819         copyright date.
23821         * README: Update maintainer.
23823 2001-11-13  Richard M. Stallman  <rms@gnu.org>
23825         * progmodes/compile.el (recompile): Use compilation-arguments if
23826         set, so as to be able to M-x recompile the exact command which
23827         created a compilation-mode buffer.
23829         * progmodes/ada-mode.el (ada-fill-comment-prefix): Doc fix.
23831 2001-11-13  Gerd Moellmann  <gerd@gnu.org>
23833         * mouse.el (mouse-drag-region): Don't run the up-event
23834         handler if window start changed due to the down-mouse event.
23836 2001-11-13  Richard M. Stallman  <rms@gnu.org>
23838         * mouse.el (mouse-show-mark): Either move point to the mark
23839         or use highlighting, never both.
23840         (mouse-buffer-menu): If WINDOW is a frame, select its selected window.
23842 2001-11-13  Simon Josefsson  <jas@extundo.com>
23844         * mail/smtpmail.el (top-level): Change maintainer to Simon
23845         Josefsson, cleanup the smtpmail.el header.
23847         * mail/smtpmail.el (top-level): Don't require cl or base64.
23848         (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
23849         (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd):
23850         Defsubst instead of defmacro.
23851         (smtpmail-intersection): Return value in reverse order.
23852         (smtpmail-open-stream): Use stringp instead of string-to-list.
23853         (smtpmail-open-stream, smtpmail-try-auth-methods): New functions,
23854         separated from smtpmail-via-smtp.
23856         * mail/smtpmail.el (top-level): Autoload starttls, mail-utils and
23857         rfc2104.  Require base64 and cl.
23858         (smtpmail-smtp-service): Doc fix.  :type fix.
23859         (smtpmail-debug-info): Doc fix.
23860         (smtpmail-debug-verb, smtpmail-auth-credentials)
23861         (smtpmail-starttls-credentials, smtpmail-auth-supported):
23862         New variables.
23863         (smtpmail-deduce-address-list, smtpmail-send-it): Don't require
23864         mail-utils (it is autoloaded).
23865         (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
23866         (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd)
23867         (smtpmail-find-credentials, smtpmail-intersection): New utility funs.
23868         (smtpmail-via-smtp): Support STARTTLS, if binary is installed.
23869         (smtpmail-via-smtp): Support AUTH.
23870         (smtpmail-via-smtp): Use `smtpmail-debug-verb' to control VERB.
23872 2001-11-13  Richard M. Stallman  <rms@gnu.org>
23874         * ebuff-menu.el (electric-buffer-update-highlight): New function.
23875         (electric-buffer-overlay): New variable.
23876         (electric-buffer-menu-looper): Call electric-buffer-update-highlight.
23877         (electric-buffer-list): Likewise.
23879         * isearch.el (isearch-whitespace-chars): Doc fix.
23880         (isearch-mode): Handle negative search-slow-window-lines correctly.
23882 2001-11-13  Stefan Monnier  <monnier@cs.yale.edu>
23884         * newcomment.el (comment-normalize-vars): Handle a nil comment-padding.
23886         * progmodes/ada-mode.el (ada-fill-comment-prefix): GNAT wants 2 spaces.
23887         From Emmanuel Briot <briot@act-europe.fr>.
23889 2001-11-13  Colin Walters  <walters@debian.org>
23891         * calc/calc.el (calc-unread-command): Use `unread-command-events'.
23893         * calc/calc-mode.el (calc-settings-file-name): Don't hardcode
23894         "~/.emacs"; use `read-file-name'.
23896         * calc/calc-graph.el, calc/calc-embed.el, calc/calc-graph.el
23897         * calc/calc-misc.el, calc/calc-mode.el, calc/calc-prog.el
23898         * calc/calc-sel.el, calc/calc-store.el, calc/calc-yank.el
23899         * calc/calc.el: Use `frame-width' instead of `screen-width',
23900         `frame-height' instead of `screen-height', and,
23901         `executing-kbd-macro' instead of `executing-macro'.
23903         * calc/calc-embed.el (calc-do-embedded): Call `y-or-n-p' with
23904         correct number of arguments.
23906         * calc/calc-aent.el (calc-do-alg-entry):
23907         Use `blink-paren-function' instead of `blink-paren-hook'.
23909 2001-11-12  Richard M. Stallman  <rms@gnu.org>
23911         * calendar/todo-mode.el (todo-save): Add save-excursion
23912         and save-restriction.
23914         * server.el (server-edit, server-done): Doc fix.
23916         * simple.el (clone-indirect-buffer): Error if major mode symbol
23917         has a no-clone-indirect property.
23918         (clone-buffer): Check for obvious errors before reading clone name.
23920         * info.el (Info-mode): Add a no-clone-indirect property.
23922 2001-11-12  Sam Steingold  <sds@gnu.org>
23924         * vc.el (vc-print-log): Bind `inhibit-read-only' to t before and
23925         set-buffer-modified-p to nil after `vc-exec-after'.
23926         * log-view.el (log-view-mode-map): Bind "q", "z", "m" and "d".
23927         (log-view-mode): Make read-only.
23928         (log-view-current-file): Do final `expand-file-name' in the
23929         current `default-directory'.
23930         (log-view-current-tag): Take an optional `where' arg.
23931         (log-view-diff): New user command.
23933 2001-11-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
23935         * progmodes/cpp.el (cpp-choose-face): Fix typo.
23937 2001-11-12  Sam Steingold  <sds@gnu.org>
23939         * emacs-lisp/cl-indent.el (toplevel): Indent properly
23940         `generic-flet', `generic-labels', `with-accessors',
23941         `with-condition-restarts'.
23943 2001-11-12  Richard M. Stallman  <rms@gnu.org>
23945         * dired.el: Many trivial doc fixes.
23946         (dired-get-file-for-visit): New function.
23947         (dired-find-alternate-file, dired-mouse-find-file-other-window)
23948         (dired-view-file, dired-find-file-other-window, dired-display-file)
23949         (dired-find-file): Use dired-get-file-for-visit.
23951 2001-11-12  Alex Schroeder  <kensanata@yahoo.com>
23953         * sql.el (sql-mode): Doc change.
23955         * sql.el (sql-mode-syntax-table): The backslash is no longer an
23956         escape character.
23958 2001-11-12  Colin Walters  <walters@debian.org>
23960         * calc/calc-keypd.el (toplevel): Bind mouse buttons.
23961         (calc-do-keypad): Don't attempt to use nonexistent global
23962         mouse-map, use calc-keypad-map.
23963         (calc-keypad-x-left-click): Renamed to calc-keypad-left-click.
23964         (calc-keypad-left-click): Don't use mouse-map; update to new event
23965         interface.
23966         (calc-keypad-x-middle-click, calc-keypad-x-right-click): Ditto.
23967         (calc-keypad-press): Use `unread-command-events' instead of
23968         `unread-command-char'.
23970         * calc/calc-ext.el (calc-init-extensions): Update autoload names
23971         to match files renamed on initial calc import.
23973 2001-11-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
23975         * textmodes/flyspell.el (flyspell-default-dictionary):
23976         Fix previous change.
23978 2001-11-12  Richard M. Stallman  <rms@gnu.org>
23980         * textmodes/flyspell.el (flyspell-default-dictionary):
23981         Fix custom type.
23983 2001-11-11  Richard M. Stallman  <rms@gnu.org>
23985         * calendar/solar.el (solar-sunrise-and-sunset):
23986         Exchange the two extreme values of day-length.
23988         * progmodes/sh-script.el (sh-must-be-shell-mode):
23989         Allow modes derived from sh-mode.
23991         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
23992         Turn off error in some re-search-forward calls.
23994         * replace.el (query-replace-skip-read-only): New variable.
23995         (perform-replace): If that variable is non-nil, ignore matches
23996         that have a read-only property.
23998         * derived.el (define-derived-mode): Doc fix.
24000         * server.el (server-buffer-done): Test of server-existing-buffer
24001         was backwards.
24002         (server-existing-buffer): Doc fix.
24004         * textmodes/flyspell.el (flyspell-default-dictionary):
24005         Allow nil as value, and make nil the default.
24007 2001-11-11  Eli Zaretskii  <eliz@is.elta.co.il>
24009         * menu-bar.el (menu-bar-edit-menu): Don't use x-selection-exists-p if
24010         it is not fboundp.
24011         (clipboard-yank): Ditto.
24013 2001-11-11  Colin Walters  <walters@verbum.org>
24015         The following changes are based on patches from
24016         Eli Zaretskii <eliz@is.elta.co.il>, Kai Gro\e,A_\e(Bjohann
24017         <Kai.Grossjohann@CS.Uni-Dortmund.DE>, and others.
24019         * calc/calc.el (toplevel): Require calc-macs.
24020         (calc-minibuffer-size): New.
24021         (calcDigit-nondigit): Use it instead of `buffer-size'.
24022         (calcDigit-backspace): Likewise.
24023         (calcDigit-nondigit): Use `minibuffer-contents' instead of
24024         `buffer-string'.
24025         (calc-minibuffer-contains): Use `minibuffer-prompt-end' instead of
24026         `point-min'.
24027         (calcDigit-key): Use `calc-minibuffer-contains' instead of a
24028         `save-excursion'.
24030         * calc/calc-macs.el (calc-record-compilation-date-macro): Return a
24031         simple `setq' form.
24033         * calc/calc-ext.el: (toplevel): Require calc.
24034         (calc-fancy-prefix-map): New.
24035         (calc-fancy-prefix): Use it.
24036         (calc-fancy-prefix-other-key): New.
24038         * calc/calc-aent.el (toplevel): Require calc-macs during compilation.
24039         (calc-do-quick-calc): Use `frame-width' instead of `screen-width'.
24040         (calcAlg-edit): Use `minibuffer-contents' instead of `buffer-string'.
24041         (calcAlg-enter): Likewise.
24042         (calcAlg-enter): Use `minibuffer-prompt-end' instead of `point-min'.
24044 2001-11-10  Richard M. Stallman  <rms@gnu.org>
24046         * abbrev.el (read-abbrev-file): Don't set save-abbrevs.
24047         (quietly-read-abbrev-file): Doc fix.
24049         * startup.el (command-line): Read standard abbrev
24050         file (abbrev-file-name), if it exists.
24052         * files.el (save-abbrevs): Default value is t.
24054         * progmodes/compile.el (compile-goto-error): Fix previous change
24055         in the case where subsequent errors have not been parsed yet
24056         because they are in a different source file.
24058 2001-11-10  Peter Kleiweg  <kleiweg@let.rug.nl>
24060         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
24061         Merge two regular expressions into one.
24062         (ps-mode): Make local bindings for `comment-start' and
24063         `comment-start-skip'.
24064         (ps-mode-looking-at-nested): Simplify an if-else construct;
24065         use `set-match-data' to set the result.
24067 2001-11-10  Richard M. Stallman  <rms@gnu.org>
24069         * textmodes/flyspell.el (flyspell-correct-word/local-keymap):
24070         Function deleted.
24071         (flyspell-correct-word): Old definition deleted.
24072         (flyspell-correct-word/mouse-keymap): Renamed to flyspell-correct-word.
24073         All references renamed too.
24075 2001-11-10  Gerd Moellmann  <gerd@gnu.org>
24077         * Makefile.in (finder_setwins, setwins): Exclude Calc.
24079 2001-11-09  Per Abrahamsen  <abraham@dina.kvl.dk>
24081         * wid-edit.el (checklist): Removed `:menu-tag'.
24082         (radio-button-choice): Ditto.
24083         (editable-list): Ditto.
24085 2001-11-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
24087         * play/gomoku.el: Move definitions of constants to the beginning
24088         of file, before their use.
24090 2001-11-09  Richard M. Stallman  <rms@gnu.org>
24092         * textmodes/flyspell.el: Use the keymap property
24093         instead of local-map, and don't use a minor-mode map.
24094         (flyspell-mode-map): Variable deleted.
24095         Don't mess with minor-mode-map-alist.
24096         (calling add-minor-mode): Specify nil for keymap.
24097         And always use add-minor-mode, now that it exists.
24098         (flyspell-overlay-keymap-property-name): Set it to `keymap'.
24099         (flyspell-mode-on): Don't locally bind flyspell-mouse-map
24100         or flyspell-local-mouse-map.
24101         (make-flyspell-overlay): Use flyspell-mouse-map directly.
24102         (flyspell-mode): Doc fix.
24103         (flyspell-mode-on): Don't call make-local-hook.
24105 2001-11-09  Sam Steingold  <sds@gnu.org>
24107         * emacs-lisp/debug.el (debugger-make-xrefs):
24108         Add buttons to all symbols.
24110 2001-11-09  Andre Spiegel  <spiegel@gnu.org>
24112         * vc.el: Add John David Smith to credits.
24114         Suggested by Kalle Olavi Niemitalo <kon@iki.fi>:
24116         * vc-hooks.el (vc-error-occured): Backquotified.
24117         (vc-file-prop-obarray): Use prime length for better efficiency.
24119         * vc.el (vc-clear-context): Fill obarray with 0, not nil.
24121 2001-11-09  Eli Zaretskii  <eliz@is.elta.co.il>
24123         * info.el (Info-file-list-for-emacs): Add entries for Calc.
24125 2001-11-09  Miles Bader  <miles@gnu.org>
24127         * subr.el (functionp): Don't consider macros as functions.
24129 2001-11-08  Miles Bader  <miles@gnu.org>
24131         * subr.el (functionp): Make work correctly for macros and unbound
24132         symbols.
24134         * comint.el (comint-send-input): Fix description of
24135         `comint-process-echoes' in the doc-string.
24137 2001-11-08  Eli Zaretskii  <eliz@is.elta.co.il>
24139         * international/mule.el (make-translation-table): Doc fix.
24140         Suggested by Alex Schroeder <alex@gnu.org>.
24142 2001-11-07  Richard M. Stallman  <rms@gnu.org>
24144         * info.el (Info-fontify-node): Highlight every third menu item.
24146 2001-11-07  Per Abrahamsen  <abraham@dina.kvl.dk>
24148         * cus-edit.el (custom-face-value-create): Don't ignore the
24149         `customized-face' attribute when finding the current face spec.
24151 2001-11-07  Stefan Monnier  <monnier@cs.yale.edu>
24153         * subr.el (with-local-quit): New macro.
24154         (make-syntax-table): Always inherit.
24155         (functionp): Be more careful when `object' is a symbol.
24157         * dabbrev.el (dabbrev-completion): Use "*Completions*".
24159 2001-11-07  Paul Eggert  <eggert@twinsun.com>
24161         * dired.el (dired-move-to-filename-regexp):
24162         Do not distinguish between ASCII letters and non-ASCII characters.
24163         Don't allow comma except in the form "month day, year".
24164         Don't allow space between month name and comma.
24165         Clean up the code that checks for trailing period, comma, and space.
24166         Remove now-obsolete comments, and add more commentary about
24167         Japanese dates.
24168         Always gobble up trailing spaces, instead of doing it only sometimes.
24170 2001-11-07  Miles Bader  <miles@gnu.org>
24172         * paren.el (show-paren-match-face): Add dark-background variant.
24174 2001-11-06  Stefan Monnier  <monnier@cs.yale.edu>
24176         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Paren typo.
24177         (lisp-mode-variables): Don't set paragraph-{start,separate}.
24178         Don't disable adaptive-fill-mode.
24179         (lisp-fill-paragraph): Use tab-width rather than 8.
24180         Prevent filling the first line of docstrings.
24182 2001-11-06  Richard M. Stallman  <rms@gnu.org>
24184         * play/gomoku.el (gomoku): Doc fix.
24186         * jka-compr.el (jka-compr-partial-uncompress):
24187         Support an alternative of not using dd.
24188         (jka-compr-dd-program): Use defcustom to define this.
24189         (jka-compr-load-suffixes): Use defcustom.
24190         (jka-compr-mode-alist-additions): Use defcustom.
24192 2001-11-06  Stefan Monnier  <monnier@cs.yale.edu>
24194         * font-lock.el (font-lock-match-c-style-declaration-item-and-skip-to-next):
24195         Also work when LIMIT is further than the end of line.
24197 2001-11-06  Eli Zaretskii  <eliz@is.elta.co.il>
24199         * international/quail.el (quail-update-leim-list-file): Print the
24200         offending file name if some of its quail-define-package forms is broken.
24202 2001-11-05  Richard M. Stallman  <rms@gnu.org>
24204         * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Return the value
24205         of the evaluated form.
24207 2001-11-05  Paul Eggert  <eggert@twinsun.com>
24209         * ls-lisp.el (ls-lisp-time-to-seconds): New function.
24210         (ls-lisp-format-time): Emulate GNU fileutils 4.1.1 ls, whose time
24211         stamps always line up by default.  Also, it uses a slightly
24212         different window to determine whether files are "recent".
24214 2001-11-05  Andrew Innes  <andrewi@gnu.org>
24216         * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
24217         Don't attempt to remake autoloads before nuking .elc files.
24219 2001-11-04  Richard M. Stallman  <rms@gnu.org>
24221         * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Cope if
24222         previous-single-property-change or next-single-char-property-change
24223         returns nil.
24225         * international/mule-cmds.el (set-locale-environment):
24226         Make it interactive; make arg optional.
24228         * international/mule-diag.el (help-funs): Require help-funs.
24230 2001-11-04  Eli Zaretskii  <eliz@is.elta.co.il>
24232         * term/internal.el (term-setup-hook): Add IT-setup-unicode-display.
24234 2001-11-04  Miles Bader  <miles@gnu.org>
24236         * startup.el (fancy-splash-head): Reapply Gerd's hack to make the
24237         shadow of the splash image grey on a dark background instead of black.
24239 2001-11-03  Stefan Monnier  <monnier@cs.yale.edu>
24241         * term.el (all faces): Don't (copy-face 'default <foo>).
24243         * term/xterm.el (function-key-map):
24244         Add entry for `ESC [ 3 ~' -> <delete>
24245         Add entries `ESC O 5 [ABCD]' -> C-{up,down,right,left}.
24246         Use inheritance so that .emacs and terminfo take precedence.
24248 2001-11-03  Eli Zaretskii  <eliz@is.elta.co.il>
24250         * tooltip.el (tooltip-delay): Decrease to 0.7.
24251         (tooltip-hide-delay): Enlarge to 10.
24253 2001-11-03  Richard M. Stallman  <rms@gnu.org>
24255         * startup.el (fancy-splash-tail): Explain how to recover
24256         from a crash, if there was a crash.
24257         (command-line-1): Reorganize display of startup screen,
24258         to simplify the logic.  Use a temp buffer for it.
24260 2001-11-03  Eli Zaretskii  <eliz@is.elta.co.il>
24262         * frame.el (set-background-color, set-foreground-color):
24263         Call face-set-after-frame-default, to propagate the new colors to
24264         the frame's parameters alist.
24266         * calendar/timeclock.el (timeclock-out): Signal an error if
24267         timeclock-last-event is nil.
24269 2001-11-02  Stefan Monnier  <monnier@cs.yale.edu>
24271         * textmodes/fill.el (fill-context-prefix): Fix braino.
24273         * international/quail.el (quail-help):
24274         Use `help-buffer' and move `help-setup-xref' to beginning.
24276         * international/mule-cmds.el (describe-language-environment):
24277         Use `help-buffer' and move `help-setup-xref' to beginning.
24279         * international/mule-diag.el (list-character-sets)
24280         (sort-listed-character-sets, describe-character-set)
24281         (describe-coding-system, describe-fontset, list-fontsets):
24282         Use `help-buffer' and move `help-setup-xref' to beginning.
24283         (describe-char-after): Use `internal-describe-syntax-value'.
24285 2001-11-02  Richard M. Stallman  <rms@gnu.org>
24287         * mouse.el (popup-menu): If the user refuses to select
24288         from a menu, don't try to invoke the menu.
24290 2001-11-02  Miles Bader  <miles@gnu.org>
24292         * help-mode.el (help-xref): New button type.
24293         (help-function, help-variable, help-face, help-coding-system)
24294         (help-input-method, help-character-set, help-type, help-symbol)
24295         (help-back, help-info, help-customize-variable, help-customize-face)
24296         (help-function-def, help-variable-def): Use it as a supertype.
24297         Remove `action' property.
24299         * international/mule-diag.el (describe-character-set)
24300         (describe-coding-system): Pass correct args to `help-xref-button'.
24301         (sort-listed-character-sets): New button type.
24302         (list-character-sets): Use it.
24303         (list-charset-chars): New button type.
24304         (list-character-sets-1): Use it.
24306 2001-11-01  Stefan Monnier  <monnier@rum.cs.yale.edu>
24308         * indent.el (tab-always-indent, indent-for-tab-command):
24309         Remove redundant `never' setting.
24311         * fill.el (fill-region-as-paragraph): Don't forget to skip
24312         over current whitespace before looking for a preceding space.
24314 2001-11-01  Richard M. Stallman  <rms@gnu.org>
24316         * files.el (file-newest-backup): Don't pass backup file name
24317         thru file-name-sans-versions, because it never has version numbers.
24319         * textmodes/sgml-mode.el (sgml-xml-guess): Fix regexp
24320         to avoid ambiguous nested loops.
24322         * files.el (find-file-noselect): Offer to change buffer-read-only
24323         only when the file's read-only status has changed from before
24324         as well as disagreeing with the buffer's current status.
24325         (buffer-file-read-only): New var, local in all buffers.
24327         * buff-menu.el (buffer-menu): Doc fix.
24328         (buffer-menu-other-window): Doc fix.
24329         (list-buffers, list-buffers-noselect): Doc fix.
24331 2001-11-01  Gerd Moellmann  <gerd@gnu.org>
24333         * startup.el (command-line): If the terminal Emacs is running on
24334         has erase char set to ^H, use the Backspace key for deleting
24335         backward, and the Delete key for deleting forward.
24337 2001-11-01  Miles Bader  <miles@gnu.org>
24339         * button.el (define-button-type): Make sure every user-defined
24340         button type has a supertype.
24342 2001-10-31  Jason Rumney  <jasonr@gnu.org>
24344         * international/mule-cmds.el (locale-language-names): Add chs and
24345         cht as aliases for Chinese-GB and Chinese-BIG5.
24347 2001-10-31  Richard M. Stallman  <rms@gnu.org>
24349         * bindings.el (mode-line-frame-identification): Add doc string.
24350         (mode-line-position, mode-line-modes): New variables.
24351         (mode-line-format): Use mode-line-position for the part
24352         that displays the position-in-buffer info.
24353         Use mode-line-modes for the part that displays major and minor modes.
24355 2001-10-31  Sam Steingold  <sds@gnu.org>
24357         * emacs-lisp/debug.el (debugger-make-xrefs): New function.
24358         (debugger-setup-buffer): Call it.
24359         (debugger-mode-map): Bind RET and mouse-2.
24361 2001-10-31  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
24363         * startup.el: Document command line option --no-window-system
24364         instead of --no-windows.
24366 2001-10-30  Stefan Monnier  <monnier@cs.yale.edu>
24368         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip.
24370         * font-lock.el (java-font-lock-syntactic-face-function): New fun.
24371         (font-lock-defaults-alist): Use it.
24372         From David Ponce <david.ponce@wanadoo.fr>
24374         * progmodes/perl-mode.el (perl-indent-line): Use `eq' to compare
24375         output of `char-after'.
24377         * bindings.el (ctl-x-map): Add binding for C-x (, C-x ) and C-x e.
24379         * simple.el (reindent-then-newline-and-indent): Insert the newline
24380         before indenting the first line.
24381         (undo-get-state, undo-revert-to-state): New funs.
24382         (shell-command): Don't kill the buffer even if empty.
24383         (transpose-subr-start1, transpose-subr-start2, transpose-subr-end1)
24384         (transpose-subr-end2): Remove.
24385         (transpose-subr): Add `special' arg and simplify.
24386         (transpose-subr-1): Rewrite.
24387         (do-auto-fill): Use fill-indent-according-to-mode and fill-nobreak-p.
24388         (rfc822-goto-eoh): Simplify.
24390 2001-10-30  Richard M. Stallman  <rms@gnu.org>
24392         * enriched.el (enriched-face-ans): Fix previous change.
24394 2001-10-30  Gerd Moellmann  <gerd@gnu.org>
24396         * international/iso-acc.el (iso-accents-compose): Remove a
24397         superfluous setq.
24399 2001-10-30  Eli Zaretskii  <eliz@is.elta.co.il>
24401         * buff-menu.el (list-buffers-noselect): If the buffer's name
24402         starts with a blank, but it visits a file, do show it (for files
24403         whose names start with a blank).
24405 2001-10-30  Stefan Monnier  <monnier@cs.yale.edu>
24407         * textmodes/fill.el (sentence-end-double-space)
24408         (sentence-end-without-period): Move to paragraphs.el.
24409         (fill-indent-according-to-mode): Change default to t.
24410         (fill-context-prefix): Simplify control-flow and use a more
24411         sophisticated merge that unifies both previous checks.
24412         (fill-single-word-nobreak-p, fill-french-nobreak-p): New funs.
24413         (fill-nobreak-predicate): Make it into a defcustom'd hook.
24414         (fill-nobreak-p): New fun.
24415         (fill-region-as-paragraph): Use it.
24416         Handle `fill-indent-according-to-mode' slightly differently.
24417         (fill-individual-paragraphs-prefix): Simplify the control-flow.
24418         (fill-individual-paragraphs-citation): Fix.
24420         * textmodes/paragraphs.el (use-hard-newlines): Use define-minor-mode.
24421         (paragraph-start): Change default to the `text-mode' value.
24422         (sentence-end-double-space, sentence-end-without-period):
24423         Move from fill.el.
24424         (forward-paragraph): Use `parstart' and `parsep' for temp variables
24425         rather than rebinding `paragraph-start' and `paragraph-separate'.
24427         * indent.el (indent-line-function): Change default to indent-relative.
24428         (tab-always-indent): Add an `never' setting.
24429         (indent-according-to-mode): Handle `indent-relative' and
24430         `indent-relative-maybe' specially.
24431         (indent-for-tab-command): Rename `prefix-arg' to `arg'.
24432         Handle the `never' case for `tab-always-indent'.
24433         Don't call indent-according-to-mode for indent-relative' and
24434         `indent-relative-maybe'.
24435         (insert-tab): Rename `prefix-arg' to `arg'.
24436         (indent-region): Indent the first line as well.
24437         (indent-relative): Don't mark the buffer modified if the indentation
24438         is unchanged.
24440         * textmodes/text-mode.el (paragraph-indent-minor-mode):
24441         Don't set paragraph-separate.  Set paragraph-start more carefully.
24442         Set indent-line-function.
24443         (paragraph-indent-text-mode): Use it and define-derived-mode.
24444         (text-mode-map): Remove the \t binding.
24445         (text-mode): Simplify now that the default is more favorable.
24447 2001-10-29  Stefan Monnier  <monnier@cs.yale.edu>
24449         * emacs-lisp/find-func.el (find-function-search-for-symbol):
24450         If the regexp doesn't match, use a looser one.
24451         (find-variable-noselect): Add `file' argument.
24453         * pcvs.el (cvs-mode-commit-hook): New hook.
24454         (cvs-mode-commit): Run it.
24456         * log-edit.el (log-edit): Run hook after `log-edit-files'.
24458         * emacs-lisp/edebug.el (delay-mode-hooks): Add edebug-spec.
24459         (edebug-instrument-function): Use `find-function-noselect'.
24461 2001-10-29  Richard M. Stallman  <rms@gnu.org>
24463         * term.el (term-if-emacs19): Macro deleted.
24464         Callers changed to use progn instead.
24466         * frame.el (blink-cursor-mode): Doc fix.
24468         * files.el (find-backup-file-name): Use make-backup-file-name.
24470         * emacs-lisp/edebug.el (edebug-window-live-p): Always alias to
24471         window-live-p.
24472         (edebug-set-conditional-breakpoint): Unconditionally use
24473         the former Emacs >=19 definition.
24474         (edebug-mark): Define unconditionally.
24475         (edebug-eval-expression): Always call read-from-minibuffer
24476         and specify history list.
24477         (edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p,
24478         edebug-set-conditional-breakpoint.
24479         (edebug-emacs-version-specific): Function deleted;
24480         do the job at top level.
24481         (edebug-emacs-19-specific): Function deleted, this is the default.
24483 2001-10-29  Sam Steingold  <sds@gnu.org>
24485         * w32-fns.el (convert-standard-filename): Handle cygwin-specific
24486         "/cygdrive/LETTER/" pathnames.
24488 2001-10-29  Eli Zaretskii  <eliz@is.elta.co.il>
24490         * faces.el (invert-face): Check for 'unspecified, not for nil,
24491         when testing whether face colors are not specified.
24492         From David.Kastrup@t-online.de (David Kastrup).
24493         (read-face-name): Doc fix.
24494         (make-face-bold, make-face-unbold, make-face-italic)
24495         (make-face-unitalic, make-face-bold-italic, invert-face):
24496         Remove trailing blank from the prompt passed to read-face-name.
24498 2001-10-29  Sam Steingold  <sds@gnu.org>
24500         * emacs-lisp/bytecomp.el (byte-recompile-directory):
24501         Report numbers of files skipped and failed too.
24502         (byte-compile-file): Return 'no-byte-compile for skipped files.
24504 2001-10-29  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
24506         * log-view.el (log-view-mode-map): Bind `M-n' and `M-p', not `M n'
24507         and `M p'.
24509 2001-10-29  Gerd Moellmann  <gerd@gnu.org>
24511         * international/iso-acc.el (iso-accents-compose): Push SECOND-CHAR
24512         as is on unread-command-events instead of `(SECOND-CHAR)'.
24514 2001-10-29  Andre Spiegel  <spiegel@gnu.org>
24516         * vc.el: Mention vc-*-switches in backend API documentation.
24517         (vc-annotate): Adapt doc string to recent change.
24519 2001-10-29  Gerd Moellmann  <gerd@gnu.org>
24521         * enriched.el (enriched-face-ans): Handle face attributes
24522         of the form `(FACE1 FACE2 ...)'.
24524         * dired-x.el (dired-omit-startup): Show ``Omit'' only in Dired buffers.
24526 2001-10-29  Alex Schroeder  <kensanata@yahoo.com>
24528         * progmodes/sql.el (sql-mysql): Doc change by RMS.
24530         * progmodes/sql.el (sql-db2): Doc change.
24531         (sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
24532         (sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.
24534 2001-10-29  Gerd Moellmann  <gerd@gnu.org>
24536         * env.el (substitute-env-vars): Don't quote argument to `rx';
24537         it's a macro.
24539 2001-10-28  Per Abrahamsen  <abraham@dina.kvl.dk>
24541         * cus-start.el (recursive-load-depth-limit): Added.
24543 2001-10-28  Richard M. Stallman  <rms@gnu.org>
24545         * textmodes/ispell.el (version18p, version20p): Vars deleted.
24546         All uses removed--assume Emacs version is >= 20.
24548         * mail/supercite.el (sc-emacs-features): Test for "Emacs 19"
24549         by really checking that it is not version 18.
24551         * emacs-lisp/lisp-mode.el (eval-defun): Doc fix.
24553 2001-10-28  Miles Bader  <miles@gnu.org>
24555         * faces.el (face-attribute): Add INHERIT argument, consider face
24556         inheritance if it's non-nil.
24557         (face-attribute-merged-with): New function.
24558         (face-attribute-specified-or): New macro.
24559         (face-foreground, face-background, face-stipple): Add INHERIT
24560         argument.  Use `face-attribute-specified-or'.
24562 2001-10-28  Stefan Monnier  <monnier@cs.yale.edu>
24564         * font-lock.el: Require `syntax'.
24565         (font-lock-defaults-alist): Don't define keywords for lisp languages.
24566         Use `c-font-lock-syntactic-face-function' for c languages.
24567         (font-lock-mode): Don't unset vars when turning the mode off.
24568         (font-lock-default-fontify-buffer): Don't unset vars at the end.
24569         (font-lock-extra-managed-props): New var.
24570         (font-lock-default-unfontify-region): Use it.
24571         (font-lock-apply-syntactic-highlight): Flush the syntax cache.
24572         Don't eval the value when there's no match.
24573         (font-lock-ppss-stats): New var.
24574         (font-lock-ppss): New fun.
24575         (font-lock-fontify-syntactically-region): Use it and syntax.ppss.
24576         (font-lock-apply-highlight): Allow `highlight' to set several props.
24577         (font-lock-set-defaults): Use dolist.
24578         (font-lock-unset-defaults): Remove.
24579         (font-lock-match-c-style-declaration-item-and-skip-to-next):
24580         Try to recognize prototypes using `foo P_ ((args))'.
24581         ({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst.
24582         (c-font-lock-keywords-2): Fix last change to still use Anders' trick.
24583         (c-font-lock-syntactic-face-function): New function.
24584         (font-lock-match-c++-style-declaration-item-and-skip-to-next)
24585         (c++-keywords): Use a more sophisticated regexp to handle
24586         shallowly nested templates.
24588 2001-10-27  Stefan Monnier  <monnier@cs.yale.edu>
24590         * textmodes/sgml-mode.el (sgml-empty-tags): New var.
24591         (sgml-tag): Use it.  Cleanup with `cond'.
24592         (sgml-tags-invisible): Make sgml-tags-invisible buffer-local.
24593         Mark the overlays and only delete those that are marked.
24594         (sgml-skip-close-p): Remove.
24595         (sgml-value): Replace sgml-skip-close-p with its definition.
24596         (html-tag-alist): Use sgml-xml a bit more.
24597         (html-mode): Set sgml-empty-tags.
24599         * textmodes/texnfo-upd.el: Use `when', `dolist', `push', ...
24600         (texinfo-update-node, texinfo-sequential-node-update):
24601         Don't bind the obsolete `auto-fill-hook'.
24602         (texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list):
24603         Use `set-buffer' rather than `switch-to-buffer'.
24604         (texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
24605         Use `set-buffer' rather than `switch-to-buffer'.
24607         * mail/sendmail.el (mail-mode-syntax-table): Let it inherit from
24608         text-mode-syntax-table.
24609         (mail-mode): Use define-derived-mode.
24610         Fix ordering of alternatives in adaptive-fill-regexp.
24611         (mail-mode-map): Don't rely on keymap's internal representation.
24613 2001-10-27  Sam Steingold  <sds@gnu.org>
24615         * textmodes/sgml-mode.el (sgml-xml): Renamed from `html-xhtml'.
24616         (sgml-xml-guess): Extracted from `html-mode' and generalized.
24617         (sgml-mode-common): Call it.
24618         (sgml-mode, html-mode): Set `mode-name' based on `sgml-xml'.
24619         (sgml-tag, sgml-skip-close-p, html-tag-alist, html-line)
24620         (html-horizontal-rule, html-image, html-ordered-list):
24621         (html-unordered-list, html-list-item, html-paragraph):
24622         (html-checkboxes, html-radio-buttons): Use `sgml-xml' instead of
24623         `html-xhtml'.
24625 2001-10-26  Masayuki Ataka  <ataka@milk.freemail.ne.jp>
24627         * textmodes/texinfmt.el (texinfo-format-ifnotinfo): New function.
24628         (ifnothtml): New alias.
24630 2001-10-27  Stefan Monnier  <monnier@cs.yale.edu>
24632         * textmodes/text-mode.el (text-mode): Use define-derived-mode.
24633         (toggle-text-mode-auto-fill): Use derived-mode-p.
24635 2001-10-27  Gerd Moellmann  <gerd.moellmann@t-online.de>
24637         * net/ange-ftp.el (ange-ftp-send-cmd): Call fix-name-func for
24638         `mdtm'.  From "Forrest Cahoon" <forrest.cahoon@merrillcorp.com>.
24640 2001-10-26  Eli Zaretskii  <eliz@is.elta.co.il>
24642         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
24643         Add make-obsolete cookies, to follow faces.el.
24645         These changes avoid warnings from the byte compiler in faces.el:
24647         * faces.el (internal-get-face): Use facep instead of the obsolete
24648         internal-find-face.
24649         (internal-frob-font-weight, internal-frob-font-slant):
24650         New defaliases for obsolete functions.
24651         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
24652         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
24653         (x-make-font-bold-italic): Use internal-frob-font-weight and
24654         internal-frob-font-slant aliases instead of the obsolete
24655         x-frob-... functions.
24657 2001-10-26  Sam Steingold  <sds@gnu.org>
24659         * textmodes/sgml-mode.el (html-mode): Set `html-xhtml' from the
24660         DOCTYPE; set `mode-name' based on it.
24661         (html-tag-alist): Use `html-xhtml' for "li", "dt" and "dd".
24662         (sgml-tag): Close empty tags in XHTML.
24664 2001-10-26  Jason Rumney  <jasonr@gnu.org>
24666         * w32-fns.el: (w32-charset-info-alist): Use ANSI for iso10646-1
24667         when UNICODE is not defined.
24669 2001-10-26  Sam Steingold  <sds@gnu.org>
24671         * font-lock.el (c-font-lock-keywords-2): Do not require labels to
24672         be alone on the line.
24674 2001-10-26  Eli Zaretskii  <eliz@is.elta.co.il>
24676         * button.el (button): Special face definition for MS-DOS terminals.
24678 2001-10-26  Sam Steingold  <sds@gnu.org>
24680         * progmodes/sh-script.el (sh-font-lock-syntactic-keywords):
24681         Protect the /= test by checking that the args are non-nil.
24682         (sh-font-lock-close-heredoc): Check eof for being non-nil.
24684 2001-10-26  Tomas Abrahamsson  <tab@lysator.liu.se>
24686         * textmodes/artist.el (artist-version): 1.2.4.
24687         (artist-butlast-fn): New variable.
24688         (artist-butlast): New function.
24689         (artist-ellipse-mirror-quadrant): Use it.
24690         (artist-mouse-draw-poly): Use nil for `point-list'.
24691         (artist-mouse-draw-poly): Check for point-list being nil.
24693 2001-10-26  Peter Kleiweg  <kleiweg@let.rug.nl>
24695         * progmodes/ps-mode.el (ps-mode-print-function): Remove quote for
24696         lambda expression.
24697         (ps-mode-menu-main): Submenu with options on/off was replaced with
24698         a toggle button.
24699         (ps-mode, ps-run-mode): Define with `define-derived-mode'
24700         (ps-mode): Autoload cookie added on same line as comment
24701         (ps-mode-tabkey, ps-mode-backward-delete-char):
24702         (ps-mode-r-balance): Replace `delete-horizontal-space' and
24703         `indent-to' with `indent-line-to'
24704         (ps-mode-print-buffer, ps-mode-print-region): Use `funcall'
24705         instead of `eval'.
24706         (ps-mode-print-region): Use `with-temp-buffer'.
24707         (ps-run-start): Use of `mapconcat'.  Use `apply' instead of `eval'.
24708         (numerous places): Add back-tick and tick around names in
24709         docstrings, fix punctuation in docstrings, remove trailing spaces.
24711 2001-10-25  Stefan Monnier  <monnier@cs.yale.edu>
24713         * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Ignore comments.
24714         (sgml-font-lock-keywords-2): Use `eval'.  Moved from sgml-mode-common.
24715         (sgml-font-lock-syntactic-keywords): New var.
24716         (sgml-mode-common): Drop the two args.
24717         Don't make buffer-local variables that aren't used.
24718         Don't set sgml-font-lock-keywords-2 now that it uses `eval instead.
24719         Don't set `before-string' props from sgml-display-text.
24720         (sgml-mode): Use define-derived-mode.
24721         (sgml-tags-invisible): Use sgml-display-text.
24722         (sgml-quote): New command.
24723         (html-tag-alist): Add args for `span'.
24724         (html-mode): Use define-derived-mode.
24725         Set sgml-display-text and sgml-tag-face-alist.
24727 2001-10-25  Sam Steingold  <sds@gnu.org>
24729         * add-log.el (add-log-always-start-new-record): New user option.
24730         (add-change-log-entry): Use it.
24732 2001-10-25  Richard M. Stallman  <rms@gnu.org>
24734         * progmodes/etags.el (tags-query-replace): Make tags-loop-scan
24735         bind case-fold-search if FROM is not all lower case.
24737 2001-10-25  Gerd Moellmann  <gerd@gnu.org>
24739         * startup.el (normal-top-level): Check for frame-initial-frame
24740         only if it's really used.
24742         * mail/mh-utils.el (mh-recenter): Call recenter with arg `(4)'.
24744         * progmodes/compile.el (compilation-parse-errors-filename-function):
24745         New variable.
24746         (compilation-parse-errors): Use it.
24748 2001-10-25  Stefan Monnier  <monnier@cs.yale.edu>
24750         * emacs-lisp/checkdoc.el (checkdoc-eval-defun): Call eval-defun
24751         interactively so that C-u M-C-x still does edebug.
24752         (checkdoc-sentencespace-region-engine): Don't force a double-space
24753         after `.' if it doesn't look like an end-of-sentence.
24754         (debug-ignored-errors): Add `disambiguate ...'.
24756 2001-10-24  Stefan Monnier  <monnier@cs.yale.edu>
24758         * textmodes/texinfo.el (texinfo-environments)
24759         (texinfo-environment-regexp): Hoist.
24760         (texinfo-font-lock-keywords): Use `italic' and `bold' faces.
24761         Only highlight the menu name in menu items.
24762         Setup `@foo ... @end foo' as text clones.
24763         (texinfo-clone-environment): New function.
24764         (texinfo-mode): Simplify auto-fill-inhibit-regexp.
24765         (texinfo-insert-block): Simplify.
24766         (texinfo-insert-quote): Insert a plain " if preceded by \ or if
24767         the command is repeated.
24768         (texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs.
24769         (texinfo-insert-@end): Simplify.
24771         * textmodes/texnfo-upd.el (texinfo-section-types-regexp)
24772         (texinfo-section-level-regexp, texinfo-subsection-level-regexp)
24773         (texinfo-subsubsection-level-regexp)
24774         (texinfo-update-menu-same-level-regexps)
24775         (texinfo-update-menu-higher-regexps)
24776         (texinfo-update-menu-lower-regexps): Hoist to eliminate warnings.
24778         * derived.el (define-derived-mode): Use {delay,run}-mode-hooks.
24779         (derived-mode-p): Autoload.
24781         * subr.el (delay-mode-hooks, delayed-mode-hooks, run-mode-hooks):
24782         New vars and functions.
24783         (text-clone-maintain, text-clone-create): New functions.
24785 2001-10-25  Miles Bader  <miles@gnu.org>
24787         * facemenu.el (facemenu-add-new-face): Fix variable names.
24789 2001-10-24  Richard M. Stallman  <rms@gnu.org>
24791         * facemenu.el (facemenu-unlisted-faces): Improve doc strings
24792         of t and nil values.
24793         (facemenu-set-face): Handle START and END interactively.
24794         (facemenu-set-foreground): Don't use a face; specify color directly.
24795         (facemenu-set-background): Likewise.
24796         (facemenu-set-face-from-menu): Doc fix.
24797         (facemenu-active-faces): Use face-attribute-vector
24798         to handle bare attributes not in faces.
24799         (facemenu-get-face): Don't handle face names fg:... and bg:...
24800         specially.
24801         (facemenu-add-new-face): New argument MENU.
24802         New way to handle adding colors to the color menus.
24804         * env.el (substitute-env-vars): Quote the arg to rx.
24806 2001-10-24  Sam Steingold  <sds@gnu.org>
24808         * mouse.el (mouse-buffer-menu-mode-groups): Added "Version
24809         Control" and "SGML" groups.
24811 2001-10-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
24813         * progmodes/cc-engine.el (c-beginning-of-member-init-list):
24814         Better handling of C++ template args to avoid confusion with `<'
24815         and `>' used as operators in member init expressions.
24817 2001-10-24  Gerd Moellmann  <gerd@gnu.org>
24819         * replace.el (perform-replace): Move START and END parameters
24820         to the end of the argument list and make them optional.
24822         * progmodes/ebrowse.el, progmodes/etags.el: Adapt to change in
24823         perform-replace.
24825         * international/fontset.el (x-must-resolve-font-name): New function.
24826         (x-complement-fontset-spec): Use it.
24828 2001-10-23  Stefan Monnier  <monnier@cs.yale.edu>
24830         * uniquify.el (uniquify-get-proposed-name): Fix (.. "usr" "/usr" 0).
24832         * progmodes/compile.el (compile-mouse-goto-error, compile-goto-error):
24833         Turn caadr into caar of cdr.
24835 2001-10-23  Gerd Moellmann  <gerd@gnu.org>
24837         * info.el (Info-fontify-node): Bind down-mouse-{1,2} instead
24838         of mouse-{1,2} since dragging is on the down event.
24840         * play/doctor.el (make-doctor-variables): Remove a '($ please)'.
24842         * mail/mh-utils.el (mh-recenter): Call `recenter' with arg t
24843         if ARG is nil.
24845         * desktop.el (desktop-last-buffer): New variable.
24846         (desktop-create-buffer): Set it.
24847         (desktop-read): Bind it and switch to that buffer.
24849 2001-10-22  Gerd Moellmann  <gerd@gnu.org>
24851         * progmodes/compile.el (compilation-set-window-height):
24852         Select old window only if it's still live.
24854 2001-10-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
24856         * help-mode.el (help-buffer): Remove debugging code.
24857         From Stefan Monnier <monnier@cs.yale.edu>.
24859 2001-10-22  Eli Zaretskii  <eliz@is.elta.co.il>
24861         * files.el (file-name-sans-extension, file-name-extension):
24862         Don't count the leading dots in file names as signaling an extension.
24864 2001-10-22  Andre Spiegel  <spiegel@gnu.org>
24866         * vc.el (vc-diff-switches): Doc rewritten.
24868 2001-10-22  Eli Zaretskii  <eliz@is.elta.co.il>
24870         * tooltip.el (tooltip-set-param): Doc fix.
24872         * textmodes/sgml-mode.el (sgml-mode-map): Bind 8-bit codes above
24873         127 to sgml-maybe-name-self.
24874         (sgml-name-8bit-mode): Doc fix.
24875         (sgml-char-names-table): New variable.
24876         (sgml-name-char): Support non-ASCII and mule-unicode-*
24877         characters.  Doc fix.
24878         (sgml-maybe-name-self): Convert unibyte characters to multibyte.
24880         * tooltip.el (tooltip-x-offset, tooltip-y-offset): Mention in the
24881         doc string the effect of `left' and `top' parameters in
24882         tooltip-frame-parameters, the default values, and the units.
24883         (tooltip-frame-parameters): Mention `top' and `left' in the doc string.
24884         (tooltip-show): Mention in the doc string the `top' and `left'
24885         parameters in tooltip-frame-parameters, and x-max-tooltip-size.
24887 2001-10-22  Andre Spiegel  <spiegel@gnu.org>
24889         Add autoscaling support for vc-annotate.
24890         From J.D. Smith <jdsmith@alum.mit.edu>.
24892         * vc.el (vc-annotate-display-default): Accept colormap scaling
24893         ratio (now deprecated).
24894         (vc-annotate-display-autoscale): Added.
24895         (vc-annotate-add-menu): New autoscaling menu options "Span to
24896         Oldest" and "Span Oldest->Newest".  Easymenu support added for
24897         toggle menus driven by customize variable `vc-annotate-display-mode'.
24898         (vc-annotate-display-select): Added.
24899         (vc-annotate): Changed temp-buffer-show-function to
24900         `vc-annotate-display-select'.
24901         (vc-annotate-display): Removed arguments BUFFER and BACKEND.
24902         Added argument OFFSET.  Instead of backend function, calls now
24903         generic `vc-annotate-difference'.
24904         (vc-annotate-difference): Added as generic function instead of
24905         backend-specific function.  No longer takes argument POINT, but
24906         instead accepts a time OFFSET.
24907         (vc-default-annotate-current-time): Added.
24909         * vc-cvs.el (vc-cvs-annotate-difference): Removed to generic
24910         version in vc.el, with
24911         (vc-cvs-annotate-current-time): Added, as override of default.
24912         (vc-cvs-annotate-time): Added.  Taken mostly from the (now removed)
24913         `vc-cvs-annotate-difference'.
24915 2001-10-22  Gerd Moellmann  <gerd@gnu.org>
24917         * saveplace.el (save-place): Require `saveplace'.
24919         * progmodes/cwarn.el (cwarn-font-lock-feature-keywords-alist):
24920         Use `sexp' for :value-type instead of `face'.
24922 2001-10-21  Eli Zaretskii  <eliz@is.elta.co.il>
24924         * mail/rmailsum.el (rmail-summary-font-lock-keywords): Fix the
24925         regexps due to 5-digit message IDs.
24927 2001-10-21  Jason Rumney  <jasonr@gnu.org>
24929         * term/w32-win.el (redisplay-dont-pause): Don't set.
24931 2001-10-21  Miles Bader  <miles@gnu.org>
24933         * help-funs.el (help-manyarg-func-alist): Variable removed.
24935 2001-10-21  Miles Bader  <miles@gnu.org>
24937         * help-funs.el (help-manyarg-func-alist): Remove entries for
24938         `insert', `insert-and-inherit', `insert-before-markers',
24939         `insert-before-markers-and-inherit', `message', `message-box',
24940         `message-or-box', `propertize', `format', `encode-time', `append',
24941         `concat', `vconcat', `nconc', `widget-apply', `make-hash-table',
24942         `insert-string', `ml-if', `ml-provide-prefix-argument', and
24943         `ml-prefix-argument-loop'.
24945 2001-10-21  Andre Spiegel  <spiegel@gnu.org>
24947         * vc.el (vc-diff-internal, vc-coding-system-for-diff)
24948         (vc-default-diff-tree): New functions.
24949         (vc-version-diff): Use them.  As a result, coding systems are now
24950         set up properly for all sorts of diffs, and tree diffs can now
24951         also be done locally.
24952         (vc-diff): With a prefix argument, don't require that it's called
24953         from a buffer under version control.
24954         (diff-switches): Remove duplicate definition.
24956         * vc-cvs.el (vc-cvs-diff-tree): New function.
24958 2001-10-21  Miles Bader  <miles@gnu.org>
24960         * help-funs.el (help-manyarg-func-alist): Remove entries for
24961         `list', `vector', `make-byte-code', `call-process',
24962         `call-process-region', `string', `+', `-', `*', `/', `max', `min',
24963         `logand', `logior', and `logxor'.
24965         * wid-edit.el (checkbox): Swap bg/fg colors in image, and invert
24966         image bits to compensate.  Use `make-string' instead of
24967         `make-bool-vector' (XBM apparently wants byte-aligned rows).
24969 2001-10-20  Kim F. Storm  <storm@cua.dk>
24971         * simple.el (kill-ring-save): Don't show extent of copied region
24972         if using transient-mark-mode and region is fully visible.
24974 See ChangeLog.9 for earlier changes.
24976 ;; Local Variables:
24977 ;; coding: iso-2022-7bit
24978 ;; End:
24980     Copyright (C) 2001, 2002 Free Software Foundation, Inc.
24981   Copying and distribution of this file, with or without modification,
24982   are permitted provided the copyright notice and this notice are preserved.