(Man-default-man-entry): Don't whizz past the section number
[emacs.git] / lisp / ChangeLog
blobdea0810ed7f4fca01f6d59fa1761303ff7b1fb03
1 2003-08-25  John Paul Wallington  <jpw@gnu.org>
3         * man.el (Man-default-man-entry): Don't whizz past the section
4         number before looking for it.
6 2003-08-24  Nick Roberts  <nick@nick.uklinux.net>
8         * progmodes/gud.el (gud-display-line): Don't set window-point if
9         source buffer is not visible. (Only happens with M-x gdba).
11         * gdb-ui.el (gdba): Remove gdb-quit (previously removed) from
12         documentation.
13         (gdb-source, gdb-source-info): Update to assembler unnecessary
14         as its done after each GDB command anyway.
15         (gdb-pre-prompt): Use with-current-buffer.
16         (gdb-insert-field): Add help-echo text.
17         (gdb-invalidate-assembler): Re-display of assembler now done in
18         gdb-info-breakpoints-custom.
19         (gdb-info-breakpoints-custom): Force re-display of assembler to
20         happen *after* update of breakpoints buffer.
21         (gdb-display-source-buffer): Don't choke if gdb-source-window
22         isn't visible.
23         (gdb-put-string, gdb-put-arrow): Remove free variables.
25 2003-08-24  John Paul Wallington  <jpw@gnu.org>
27         * ibuffer.el (ibuffer-formats): Make name and size columns wider.
29         * man.el (Man-default-man-entry): Strip text properties when
30         snarfing parts of entry because `format' preserves properties.
32 2003-08-24  Glenn Morris  <gmorris@ast.cam.ac.uk>
34         * files.el (file-newest-backup): Use `expand-file-name'.
36         * calendar/diary-lib.el (simple-diary-display, make-diary-entry):
37         Allow the diary to pop up a new frame, if needed.
39         * mail/sendmail.el (mail-specify-envelope-from): Doc change.    
40         * mail/smtpmail.el (smtpmail-mail-address): Doc change.
41         (smtpmail-send-it): Make treatment of envelope-from consistent with
42         sendmail.el.
44         * progmodes/sh-script.el (sh-builtins): Add some bash builtins.
45         (sh-leading-keywords): Add the bash `time' reserved word.
46         (sh-variables): Add some bash variables.
47         (sh-add-completer): Fix nil branch of case statement.
49 2003-08-24  Masatake YAMATO  <jet@gyve.org>
50         
51         * progmodes/ld-script.el: New file.
53 2003-08-23  Markus Rost  <rost@math.ohio-state.edu>
55         * vc-hooks.el (vc-ignore-vc-files, vc-master-templates): Doc fix.
57 2003-08-23  Andre Spiegel  <spiegel@gnu.org>
59         * vc-hooks.el (vc-ignore-vc-files, vc-master-templates): Better 
60         explain obsolescence, and what to use instead.
62 2003-08-23  Masatake YAMATO  <jet@gyve.org>
64         * pcvs.el (cvs-do-removal): Show the deleted file name
65         on the prompt.
67 2003-08-20  Dave Love  <fx@gnu.org>
69         * international/mule.el (make-coding-system) 
70         (set-buffer-file-coding-system): Doc fix.
72         * emacs-lisp/lisp-mode.el (common-lisp-mode): New.
74         * emacs-lisp/lisp.el (beginning-of-defun-function): Doc fix.
76         * international/utf-8.el (ucs-unicode-to-mule-cjk): Use smaller
77         :size.
79         * international/utf-16.el: Add mime-text-unsuitable coding system
80         properties.
82         * international/latin1-disp.el (latin1-display): Add ?\e$,1s"\e(B.
84         * cus-edit.el: Add some :links.
85         (bib): Remove.
87         * textmodes/bib-mode.el (bib): Add :group external.
89 2003-08-18  Luc Teirlinck  <teirllm@mail.auburn.edu>
91         * wid-edit.el (widget-echo-help): Make it handle expressions that
92         evaluate to strings.
94 2003-08-18  Michael Mauger  <mmaug@yahoo.com>
96         Version 1.8.0 of sql-mode.  (Patch submitted 2003-06-21)
98         Simplify selection of SQL products to define highlighting and
99         interactive mode.  Includes detailed instructions on adding
100         support for new products.
102         * progmodes/sql.el (sql-product): New variable.  Identifies SQL
103         product for use in highlighting and interactive mode.
104         (sql-interactive-product): New variable.  SQL product for
105         sql-interactive-mode.
106         (sql-product-support): New variable.  Specifies product-specific
107         parameters to drive highlighting and interactive mode.
108         (sql-imenu-generic-expression): Add more object types.
109         (sql-sqlite-options): Correct comment.
110         (sql-ms-program): Use "osql" rather than "isql".
111         (sql-prompt-regexp, sql-prompt-length): Update comment.
112         (sql-mode-menu): Add "Start SQLi session" entry.  Replace
113         Highlighting submenu with Product menu.  Fix Send Region entry.
114         (sql-mode-abbrev-table): Add abbreviations.  Support of
115         SYSTEM-FLAG on define-abbrev.  Support was removed with last
116         check-in; it now handles older Emacsen without the SYSTEM-FLAG.
117         (sql-mode-font-lock-object-name): Add font-lock pattern for object
118         names.
119         (sql-mode-ansi-font-lock-keywords): Set as default value.
120         (sql-mode-oracle-font-lock-keywords): Set as default value.
121         Support Oracle 9i keywords.
122         (sql-mode-postgres-font-lock-keywords): Set as default value.
123         (sql-mode-linter-font-lock-keywords): Set as default value.
124         (sql-mode-ms-font-lock-keywords): New variable.  Support Microsoft
125         SQLServer 2000.
126         (sql-mode-sybase-font-lock-keywords)
127         (sql-mode-interbase-font-lock-keywords)
128         (sql-mode-sqlite-font-lock-keywords)
129         (sql-mode-strong-font-lock-keywords)
130         (sql-mode-mysql-font-lock-keywords)
131         (sql-mode-db2-font-lock-keywords): New variables.  Default to ANSI
132         keywords.
133         (sql-mode-font-lock-defaults): Update comment.
134         (sql-product-feature): New function.  Returns feature associated
135         with a product from `sql-product-support' alist.
136         (sql-product-font-lock): New function.  Set font-lock support
137         based on `sql-product'.
138         (sql-add-product-keywords): New function.  Add font-lock rules to
139         product-specific keyword variables.
140         (sql-set-product): New function.  Set `sql-product' and apply
141         appropriate font-lock highlighting.
142         (sql-highlight-product): New function.  Set font-lock support
143         based on a product.  Also set mode name to include product name.
144         (sql-highlight-ansi-keywords, sql-highlight-oracle-keywords)
145         (sql-highlight-postgres-keywords, sql-highlight-linter-keywords):
146         Use `sql-set-product'.
147         (sql-highlight-ms-keywords)
148         (sql-highlight-sybase-keywords)
149         (sql-highlight-interbase-keywords)
150         (sql-highlight-strong-keywords)
151         (sql-highlight-mysql-keywords)
152         (sql-highlight-sqlite-keywords)
153         (sql-highlight-db2-keywords): New functions.  Use
154         `sql-set-product'.
155         (sql-get-login): Prompt in the same order as the tokens.
156         (sql-mode): Uses `sql-product-highlight' and
157         `sql-product-font-lock'.
158         (sql-product-interactive): New function.  Common portions of
159         product-specific interactive mode wrappers.
160         (sql-interactive-mode): Rewritten to use product features.
161         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
162         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
163         (sql-db2, sql-linter): Use `sql-product-interactive'.
164         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
165         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
166         (sql-connect-ingres, sql-connect-postgres)
167         (sql-connect-interbase, sql-connect-db2, sql-connect-linter): New
168         functions.  Format command line parameters and invoke comint on
169         the appropriate interpreter.  Code was in the corresponding
170         `sql-xyz' function before.
171         (sql-connect-ms): New function.  Support -E argument to use
172         operating system credentials for authentication.
174 2003-08-18  Kenichi Handa  <handa@m17n.org>
176         * international/mule.el (encode-char): Fix for the ASCII case.
178 2003-08-15  Kenichi Handa  <handa@m17n.org>
180         * international/fontset.el (setup-default-fontset): Change "*" to
181         nil in the specifications of font family.
183 2003-08-18  Kim F. Storm  <storm@cua.dk>
185         * kmacro.el (kmacro-keymap): Group related bindings in
186         initialization for clarity.  Bind C-s to start macro.
187         Remove C-r binding.
188         (kmacro-initial-counter-value): New defvar to hold initial counter
189         value in case we set the value before defining a macro.
190         (kmacro-insert-counter): Clear kmacro-initial-counter-value..
191         (kmacro-set-counter): Set kmacro-initial-counter-value if we are
192         not defining or executing macro.  Doc fix.
193         (kmacro-add-counter): Clear kmacro-initial-counter-value.
194         (kmacro-view-last-item, kmacro-view-item-no): New defvars used to
195         temporarily view older elements on the macro ring without cycling
196         the ring.
197         (kmacro-display): Doc fix.
198         (kmacro-exec-ring-item): New helper function.
199         (kmacro-call-ring-2nd): Use it.
200         (kmacro-call-ring-2nd-repeat): Doc fix.
201         (kmacro-start-macro): Use (and clear) kmacro-initial-counter-value.
202         (kmacro-end-or-call-macro): Execute last viewed macro (using
203         kmacro-exec-ring-item) from ring if this follows
204         kmacro-view-macro.  This allows us to find a macro on the ring
205         with C-x C-k C-v C-v ... and execute it (with C-k) without cycling
206         the ring to bring it to the head of the ring.
207         (kmacro-bind-to-key): Doc fix (describe reserved bindings).
208         Allow binding to reserved keys without specifying C-x C-k prefix.
209         Ask for confirmation if entered key sequence is already bound to
210         a non-macro command.
211         (kmacro-view-macro): Repeating command will show older elements
212         on the macro ring; C-k will execute the last viewed macro.
213         (kmacro-view-macro-repeat): Doc fix.  Change its kmacro-repeat
214         property from 'ring to 'head.
216 2003-08-17  Alan Shutko  <ats@acm.org>
218         * calendar/calendar.el (calendar-make-alist): Correct off-by-one
219         keeping December out of the alist.
221 2003-08-17  Edward M. Reingold  <reingold@emr.cs.iit.edu>
223         * calendar/cal-move.el (calendar-goto-day-of-year): New function.
224         * calendar/calendar.el (calendar-mode-map): Bind it to key.
225         * calendar/cal-menu.el (calendar-mode-map): Add it to menu.
226         (calendar-flatten): New function.
227         (calendar-mouse-view-other-diary-entries)
228         (calendar-mouse-view-diary-entries): Rewritten to put any holidays
229         in the menu title and to show multi-line diary entries correctly
230         in the menu.
232 2003-08-17  Luc Teirlinck  <teirllm@mail.auburn.edu>
234         * info.el (Info-scroll-prefer-subnodes): Add :version keyword to
235         defcustom, because the default was recently changed.
237 2003-08-16  Richard M. Stallman  <rms@gnu.org>
239         * net/ange-ftp.el (ange-ftp-error): Add save-excursion.
241         * emacs-lisp/lisp-mode.el (eval-last-sexp-print-value):
242         New subroutine, broken out of eval-last-sexp-1.
243         (eval-last-sexp-1): Use eval-last-sexp-print-value.
245         * custom.el (custom-load-symbol): Load cus-load and cus-start first.
247         * dabbrev.el (dabbrev--safe-replace-match): Use with-no-warnings.
249         * simple.el (eval-expression): Use eval-last-sexp-print-value.
251 2003-08-14  Jari Aalto  <jari.aalto@poboxes.com>
253         * progmodes/compile.el (compilation-error-regexp-alist):
254         Added Java ANt error detection as described in document
255         http://ant.apache.org/faq.html
257 2003-08-12  Juri Linkov  <juri@jurta.org>  (tiny change)
259         * simple.el (backward-word, forward-to-indentation)
260         (backward-to-indentation):  Argument changed to optional.
261         (next-line, previous-line): Use `or' instead of `unless'.
263 2003-08-12  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
265         * progmodes/ebnf-iso.el (ebnf-no-meta-identifier): Becomes a var
266         instead of a constant.
268 2003-08-12  Markus Rost  <rost@math.ohio-state.edu>
270         * shell.el (shell): With prefix-arg, suggest a new buffer name.
272 2003-08-12  Andre Spiegel  <spiegel@gnu.org>
274         * vc-sccs.el (vc-sccs-state-heuristic): Fix parentheses.
275         (vc-sccs-workfile-version): Search the entire delta table, rather
276         than just the first entry, because that might be a deleted version.
278 2003-08-11  Karl Fogel  <kfogel@red-bean.com>
280         * menu-bar.el (menu-bar-options-menu): Supply a body for the
281         [save-place] binding in the Options menu.  Have it require
282         'saveplace' and then toggle the variable manually, to avoid an an
283         unbound variable error.  Thanks to <Sebastien.Kirche@sage.com>
284         for the bug report.
286 2003-08-11  Nick Roberts  <nick@nick.uklinux.net>
288         * gdb-ui.el (gdb-insert-field, gdb-array-format1)
289         (gdb-info-breakpoints-custom, gdb-info-frames-custom)
290         (gdb-info-threads-custom): Add help-echo text.
291         (gdb-display-back): Don't use purecopy.
292         (gdb-info-breakpoints-custom, gdb-reset)
293         (gdb-assembler-custom): Use display-images-p to test if breakpoint
294         icons can be displayed.
296 2003-08-11  Markus Rost  <rost@math.ohio-state.edu>
298         * textmodes/reftex-vars.el (reftex-auto-recenter-toc): Fix typo.
300 2003-08-11  Stefan Monnier  <monnier@cs.yale.edu>
302         * bookmark.el (bookmark-completing-read):
303         Return a string, instead of a list of one string.
304         Use a popup menu if activated from the mouse.
305         (bookmark-edit-annotation): Remove unused vars.
306         (bookmark-jump, bookmark-relocate, bookmark-insert-location)
307         (bookmark-rename, bookmark-insert, bookmark-delete): Adjust calls
308         to bookmark-completing-read.
309         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
310         (bookmark-bmenu-mark, bookmark-bmenu-select, bookmark-bmenu-unmark)
311         (bookmark-bmenu-delete, bookmark-bmenu-list): Use inhibit-read-only
312         and erase-buffer.
313         (bookmark-menu-delete, bookmark-menu-rename, bookmark-menu-locate)
314         (bookmark-menu-jump, bookmark-menu-insert)
315         (bookmark-popup-menu-and-apply-function)
316         (bookmark-menu-popup-paned-bookmark-menu): Remove.
317         (bookmark-menu-build-paned-menu): Remove by folding it into
318         bookmark-menu-popup-paned-menu.
319         (menu-bar-bookmark-map): Move the define-key statements here.
320         Use the "non-menu" commands since they now pop up a menu if needed.
321         (bookmark-exit-hook-internal): Simplify.
323 2003-08-11  Carsten Dominik  <dominik@sand.science.uva.nl>
325         * textmodes/reftex.el: Updated to version 4.21
326         * reftex-auc.el: likewise.
327         * reftex-cite.el: likewise.
328         * reftex-dcr.el: likewise.
329         * reftex-global.el: likewise.
330         * reftex-index.el: likewise.
331         * reftex-parse.el: likewise.
332         * reftex-ref.el: likewise.
333         * reftex-sel.el: likewise.
334         * reftex-toc.el: likewise.
335         * reftex-vars.el: likewise.
337 2003-08-08  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
339         * progmodes/ebnf2ps.el (ebnf-total, ebnf-nprod): Move defvar before
340         first use.
342 2003-08-07  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
344         * progmodes/ebnf2ps.el (ebnf-begin-job): Code fix.
346 2003-08-06  Glenn Morris  <gmorris@ast.cam.ac.uk>
348         * calendar/calendar.el (list-diary-entries-hook)
349         (diary-display-hook, nongregorian-diary-listing-hook)
350         (mark-diary-entries-hook, nongregorian-diary-marking-hook):
351         Add some customize options for these hooks.
352         (calendar-abbrev-construct): Don't try to take a substring longer
353         than the original string.
355 2003-08-05  Richard M. Stallman  <rms@gnu.org>
357         * emacs-lisp/testcover.el (noreturn): Report error if does return.
358         (testcover-reinstrument-clauses): Doc fix.
360         * emacs-lisp/warnings.el: Doc fixes, args renamed.
361         (warning-type-format): Rename from warning-group-format.
363         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-var): New var.
364         (byte-compile-variable-ref): Handle byte-compile-not-obsolete-var.
365         (byte-compile-defvar): Bind byte-compile-not-obsolete-var
366         to prevent warnings about defvar for an obsolete variable.
368         * emacs-lisp/bytecomp.el (byte-compile-log-warning):
369         warning-group-format renamed to warning-type-format.
371         * subr.el (read-passwd): Use clear-string instead of fillarray.
373         * edmacro.el (edmacro-format-keys): Use edmacro-sanitize-for-string.
374         Use vconcat instead of concat.
375         (edmacro-sanitize-for-string): New function.
377 2003-08-05  Dave Love  <fx@gnu.org>
379         * cus-start.el: Add open-paren-in-column-0-is-defun-start,
380         line-number-display-limit-width.
382         * textmodes/tex-mode.el (tex-dvi-view-command): Fix quoted quotes.
384 2003-08-05  Kenichi Handa  <handa@m17n.org>
386         * international/code-pages.el: Don't require mule-diag.
388         * international/mule-diag.el (non-iso-charset-alist):
389         Add autoload cookie.
391         * language/devan-util.el (dev-glyph-order): Add an entry for the
392         glyph code #xC4.
394 2003-08-03  Glenn Morris  <gmorris@ast.cam.ac.uk>
396         * calendar/calendar.el (diary-file, diary-file-name-prefix)
397         (european-calendar-style, diary-date-forms)
398         (calendar-day-name-array, calendar-month-name-array): Doc change.
399         (generate-calendar-month): Adapt for new behaviour of
400         `calendar-day-name' function.
401         (calendar-abbrev-length, calendar-day-abbrev-array)
402         (calendar-month-abbrev-array): New variables.
403         (calendar-abbrev-construct): New function.
404         (calendar-day-name, calendar-month-name): Use new abbrev arrays,
405         rather than fixing abbrevs at some width.  Calling syntax change.
406         (calendar-make-alist): Use abbrev arrays.  Calling syntax change.
407         (calendar-date-string): Adapt for new behaviours of
408         `calendar-day-name' and `calendar-month-name' functions.
410         * calendar/diary-lib.el (list-diary-entries): Adapt for new
411         behaviour of `calendar-day-name' and `calendar-month-name' functions.
412         (diary-name-pattern): Use abbrev arrays, rather than fixing
413         abbrevs at three chars.  Calling syntax change.
414         (mark-diary-entries):  Adapt for new behaviours of
415         `diary-name-pattern' and `calendar-make-alist' functions.
416         (fancy-diary-font-lock-keywords): Adapt for new behaviour of
417         `diary-name-pattern' function.
418         (font-lock-diary-date-forms): Use abbrev arrays, rather than
419         fixing abbrevs at three chars.  Calling syntax change.
420         (cal-hebrew, cal-islam): Require when compiling.
421         (diary-font-lock-keywords): Adapt for new behaviour of
422         `font-lock-diary-date-forms' function.
424         * calendar/cal-hebrew.el: Reposition some code so defined before used.
425         (calendar-hebrew-month-name-array-common-year)
426         (calendar-hebrew-month-name-array-leap-year): Add doc strings.
427         (list-hebrew-diary-entries): Adapt for new behaviours of
428         `calendar-day-name' and `add-to-diary-list' functions.
429         (mark-hebrew-diary-entries): Adapt for new behaviours of
430         `diary-name-pattern' and `calendar-make-alist' functions.
432         * calendar/cal-islam.el (calendar-islamic-month-name-array):
433         Add doc string.
434         (list-islamic-diary-entries): Adapt for new behaviours of
435         `calendar-day-name' and `add-to-diary-list' functions.
436         (mark-islamic-diary-entries): Adapt for new behaviours of
437         `diary-name-pattern' and `calendar-make-alist' functions.
439         * calendar/cal-menu.el (cal-menu-update): Adapt for new behaviour of
440         `calendar-month-name' function.
442         * calendar/cal-coptic.el (coptic-name): defvar rather than defconst.
444         * calendar/solar.el (solar-seasons-data): Move definition before use.
446         * calendar/cal-tex.el (cal-tex-day-name-format): Doc fix.
447         (cal-tex-LaTeX-hourbox): Move definition before use.
449         * calendar/cal-china.el, cal-hebrew.el, cal-islam.el,
450         cal-julian.el, cal-menu.el, cal-move.el, holidays.el,
451         lunar.el, solar.el
452         (displayed-month, displayed-year): Define for compiler.
454 2003-08-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
456         * progmodes/cc-mode.el (c-init-language-vars-for): Add argument
457         MODE.  Renamed from c-init-c-language-vars'.
458         (c-initialize-cc-mode): Change accordingly.
459         (c-common-init): Ditto.
460         (c-mode): Ditto.
461         (c++-mode): Use function.
462         (objc-mode): Ditto.
463         (java-mode): Ditto.
464         (idl-mode): Ditto.
465         (pike-mode): Ditto.
466         (awk-mode): Ditto.
468 2003-08-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
470         * progmodes/cc-engine.el (c-end-of-current-token): Return whether
471         or not the point moved.
473         (c-search-decl-header-end): Don't trip up on operator identifiers
474         in C++ and operators like == in all languages.
476         * progmodes/cc-engine.el (c-backward-to-decl-anchor):
477         Detect leading labels correctly.
479 2003-08-02  Andreas Schwab  <schwab@suse.de>
481         * textmodes/ispell.el: Don't redo key bindings on loading, put
482         them only in loaddefs.el.
483         * bookmark.el: Likewise.
484         * dabbrev.el: Likewise.
485         * emerge.el: Likewise.
487         * apropos.el (apropos-words-to-regexp): Only add `wild' if `words'
488         has more than one member.
490         * progmodes/sh-script.el (sh-mode): Don't set mode-class property.
492 2003-08-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
494         * lpr.el (printify-region): It was ending conversion before the
495         expected position.  Reported by Keiichi Suzuki <keiichi@nanap.org>.
497 2003-07-31  John Paul Wallington  <jpw@gnu.org>
499         * net/browse-url.el (browse-url-epiphany): Doc fix.
501 2003-07-30  Kenichi Handa  <handa@m17n.org>
503         * international/fontset.el (setup-default-fontset):
504         Change registry names of Akurti fonts.
506 2003-07-29  Jesper Harder  <harder@ifa.au.dk>  (tiny change)
508         * comint.el (comint-read-noecho): Use `clear-string' instead of
509         `fillarray'.
511 2003-07-29  Thomas W Murphy  <twm@andrew.cmu.edu>  (tiny change)
513         * outline.el (outline-mode-hook): Add defvar.
515 2003-07-28  Nick Roberts  <nick@nick.uklinux.net>
517         * gdb-ui.el (gdb-setup-windows, gdb-restore-windows):
518         Restore assembler in source window if that is what has been selected.
519         (menu): Add gdb-restore-windows to menu.  Make gdba
520         specific menus only visible from gdba.
522 2003-07-28  Tak Ota  <Takaaki.Ota@am.sony.com>  (tiny change)
524         * progmodes/compile.el (compilation-environment): New user variable.
525         (compile-internal): Respect it.
527 2003-07-23  Masatake YAMATO  <jet@gyve.org>
529         * progmodes/gud.el (gdb-script-font-lock-keywords):
530         Put `font-lock-function-name-face' on a symbol which includes
531         `-' like `hook-run'.  Put font-lock-variable-name-face
532         on a symbol starting with $.
534 2003-07-27  Markus Rost  <rost@math.ohio-state.edu>
536         * files.el (set-visited-file-name): Use truename for buffer-file-name.
538 2003-07-26  Markus Rost  <rost@math.ohio-state.edu>
540         * vc-hooks.el (vc-file-not-found-hook): Doc fix.
542 2003-07-26  Andre Spiegel  <spiegel@gnu.org>
544         * vc-hooks.el (vc-default-registered, vc-make-version-backup):
545         Use with-no-warnings.
546         (vc-file-not-found-hook): Add this to find-file-not-found-functions,
547         rather than to find-file-not-found-hook, which doesn't exist.
549 2003-07-26  Markus Rost  <rost@math.ohio-state.edu>
551         * international/quail.el (quail-translate-key): Fix previous change.
553 2003-07-25  John Paul Wallington  <jpw@gnu.org>
555         * server.el (server-start): Check `server-process' is non-nil
556         before killing it to avoid killing current buffer's process.
558         * simple.el (choose-completion-string): Use `minibufferp';
559         test `completion-reference-buffer' if `buffer' arg is nil.
560         (push-mark): Use `when' and `unless'.
561         (pop-mark): Use `when'.
563         * mouse-sel.el (mouse-sel-get-selection-function):
564         Check `x-last-selected-text-primary'.  Don't barf if it or
565         `x-last-selected-text' aren't bound.
567 2003-07-25  Kevin Rodgers  <ihs_4664@yahoo.com>  (tiny change)
569         * menu-bar.el (menu-bar-tools-menu): Minor change in strings.
571 2003-07-23  Stefan Monnier  <monnier@cs.yale.edu>
573         * vc-svn.el (vc-svn-diff-switches): Don't default to vc-diff-switches.
575 2003-07-23  John Paul Wallington  <jpw@gnu.org>
577         * tooltip.el (defface tooltip): Inherit from variable-pitch.
579 2003-07-23  Glenn Morris  <gmorris@ast.cam.ac.uk>
581         * emacs-lisp/derived.el (define-derived-mode): Mention hook in doc
582         string.  Defvar the derived hook.
584         * macros.el (insert-kbd-macro): Escape double quote character.
585         From Thomas W Murphy <twm@andrew.cmu.edu>.
587 2003-07-22  Stefan Monnier  <monnier@cs.yale.edu>
589         * textmodes/fill.el (fill-comment-paragraph): Construct a regexp
590         to match the specific mark rather than reusing comment-start-skip.
592 2003-07-22  Thien-Thi Nguyen  <ttn@gnu.org>
594         * progmodes/hideshow.el (hs-special-modes-alist):
595         Clarify MDATA-SELECTOR doc; nfc.
597 2003-07-21  Markus Rost  <rost@math.ohio-state.edu>
599         * progmodes/idlwave.el (idlwave-comment-indent-char): Fix default
600         value using ?\s.
602 2003-07-21  John Paul Wallington  <jpw@gnu.org>
604         * subr.el (with-selected-window): Add closing paren.
606 2003-07-21  Richard M. Stallman  <rms@gnu.org>
608         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use run-mode-hooks.
609         (lisp-mode): Likewise.
611         * subr.el (with-selected-window): Copy code form save-selected-window
612         so as to call select-window with norecord arg.
613         (dynamic-completion-table): Doc fix.
614         (lazy-completion-table): Doc fix.
616         * international/mule-cmds.el (set-locale-environment):
617         langinfo renamed to locale-info.
619         * international/mule.el (auto-coding-functions): Doc fix.
621 2003-07-21  Kenichi Handa  <handa@m17n.org>
623         * international/quail.el (quail-translate-key):
624         Update quail-current-str correctly.
626 2003-07-21  Andreas Schwab  <schwab@suse.de>
628         * progmodes/sh-script.el (sh-mode-syntax-table): Change syntax of
629         ?, to "_".
631 2003-07-20  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
632         Version 2.0.36 of Tramp released.
634         * net/tramp.el (tramp-default-password-end-of-line): Rename from
635         tramp-password-end-of-line.
636         (tramp-password-end-of-line): New method parameter.
637         (tramp-get-password-end-of-line): Function to access method
638         parameter `tramp-password-end-of-line', or variable
639         `tramp-default-password-end-of-line' (default value).
640         (tramp-methods): Add entries for new parameter
641         tramp-password-end-of-line.
642         (tramp-enter-password): Use new function
643         `tramp-get-password-end-of-line'.
644         (tramp-handle-insert-file-contents): Do not
645         unconditionally inhibit the file operation file-local-copy, only
646         do that when the inhibit-file-name-operation is currently
647         insert-file-contents.  This fixes finding remote CVS-controlled
648         files.  (It would barf on inserting the CVS/Entries file
649         literally, because the file-local-copy handler wasn't called.)
650         (tramp-handle-shell-command): Support optional third arg ERROR-BUFFER.
651         (tramp-sh-extra-args): Adapt defcustom type to XEmacs.
652         (tramp-initial-commands): New variable.
653         (tramp-process-initial-commands): New function, using the variable.
654         (tramp-open-connection-setup-interactive-shell): Call the new function.
655         (tramp-buffer-name, tramp-debug-buffer-name): Always put the
656         method into the buffer name, never use nil.  Reported by Hanak
657         David <dhanak@inf.bme.hu>.
658         (tramp-open-connection-setup-interactive-shell): Erase buffer
659         before sending "stty -onlcr".
661         * net/tramp-vc.el (vc-workfile-unchanged-p): Add comment.
663 2003-07-19  Markus Rost  <rost@math.ohio-state.edu>
665         * textmodes/artist.el (artist-erase-char): Fix default value using ?\s.
667 2003-07-19  John Paul Wallington  <jpw@gnu.org>
669         * textmodes/artist.el (artist-butlast-fn, artist-draw-sline)
670         (artist-draw-rect, artist-draw-square): Doc fixes.
672         * textmodes/enriched.el (enriched-decode-display-prop): Doc fix.
674         * textmodes/two-column.el (2C-mode-line-format): Doc fix.
676 2003-07-19  Kenichi Handa  <handa@m17n.org>
678         * international/kkc.el (kkc-show-conversion-list-update):
679         Highlight the correct candidate in the message.
681 2003-07-18  John Paul Wallington  <jpw@gnu.org>
683         * simple.el (current-word): Don't include punctuation char when
684         `really-word' arg is non-nil.
686 2003-07-17  Martin Stjernholm  <bug-cc-mode@gnu.org>
688         * progmodes/awk-mode.el: Obsoleted by the AWK support in CC Mode -
689         moved to the directory obsolete.
691 2003-07-16  Stefan Monnier  <monnier@cs.yale.edu>
693         * info.el (Info-menu-entry-name-re): Allow newlines in
694         menu entry names.
696         * emacs-lisp/syntax.el (syntax-ppss-flush-cache): Rename from
697         syntax-ppss-after-change-function.
698         (syntax-ppss-after-change-function): New alias.  Update uses.
699         (syntax-ppss): Catch the case where the buffer is narrowed.
701 2003-07-16  Martin Stjernholm  <bug-cc-mode@gnu.org>
703         * progmodes/cc-defs.el (c-langelem-sym, c-langelem-pos)
704         (c-langelem-2nd-pos): Add accessor functions for syntactic elements.
706 2003-07-16  Martin Stjernholm  <bug-cc-mode@gnu.org>
708         * progmodes/cc-engine.el (c-literal-faces): Declare as a variable
709         since it might be modified.
711         * progmodes/cc-langs.el (c++-make-template-syntax-table)
712         (c-syntactic-ws-start, c-syntactic-ws-end): Give more consistent
713         names to these language constants.
715 2003-07-15  Kim F. Storm  <storm@cua.dk>
717         * apropos.el (apropos-sort-by-scores): Rename from apropos-show-scores.
718         All uses changed.
720 2003-07-14  Mark A. Hershberger  <mah@everybody.org>
722         * xml.el (xml-parse-tag, xml-parse-file, xml-parse-region):
723         Namespace support.
725 2003-07-13  Juanma Barranquero  <lektu@terra.es>
727         * frame.el (modify-all-frames-parameters): Reinstall (copyright
728         papers received).
730 2003-07-13  Karl Eichwalder  <ke@suse.de>
732         * textmodes/po.el (po-find-charset): White space at the start of the
733         Content-Type field body is non-mandatory.
735 2003-07-13  Masayuki Ataka  <ataka@milk.freemail.ne.jp>  (tiny change)
737         * textmodes/texinfo.el (texinfo-section-list):
738         Append appendixsection; a synonym for appendixsec.
740 2003-07-13  Jari Aalto  <jari.aalto@poboxes.com>
742         * man.el (Man-translate-cleanup): New.
743         (Man-translate-references): Call `Man-translate-cleanup' to clean
744         leading, trailing and middle spaces.
746 2003-07-13  Lars Hansen  <larsh@math.ku.dk>
748         * desktop.el (desktop-buffer-dired-misc-data, desktop-buffer-dired):
749         Handle `dired-directory' being a list.
751 2003-07-13  Jesper Harder  <harder@ifa.au.dk>  (tiny change)
753         * mail/smtpmail.el (smtpmail-send-it): Create smtpmail-queue-dir if
754         it doesn't exist.
756 2003-07-12  Richard M. Stallman  <rms@gnu.org>
758         * progmodes/cc-engine.el (c-declare-lang-variables): Don't use mapcan.
760         * progmodes/cc-defs.el (c-make-keywords-re):
761         Don't use delete-duplicates.
762         (c-lang-const): Don't use mapcan.
764         * apropos.el (apropos-show-scores): Make it customizable.
765         Document new meaning.
766         (apropos): Compute scores from symbols.
767         (apropos-print): Don't sort by scores if apropos-show-scores is nil.
769 2003-07-11  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
771         * ps-bdf.el: Fix copyright line.
772         (bdf-directory-list): Fix initialization code.
774 2003-07-11  John Paul Wallington  <jpw@gnu.org>
776         * emacs-lisp/ring.el (ring-empty-p): Use `zerop'.
777         (ring-p, ring-plus1, ring-minus1, ring-length, ring-index)
778         (ring-empty-p, ring-size, ring-copy, ring-ref): Doc fixes.
780 2003-07-11  NAKAJIMA Mikio  <minakaji@namazu.org>  (tiny change)
782         * emacs-lisp/ring.el (ring-elements): Doc fix.
784 2003-07-11  Glenn Morris  <gmorris@ast.cam.ac.uk>
786         * calendar/timeclock.el (timeclock-relative)
787         (timeclock-ask-before-exiting, timeclock-use-display-time):
788         Doc changes.
789         (timeclock-modeline-display): Give a message if
790         `timeclock-use-display-time' is non-nil but `display-time-mode'
791         is not active.
793 2003-07-11  Kenichi Handa  <handa@m17n.org>
795         * international/mule-cmds.el (set-language-environment):
796         Set current-language-environment to the correct string.
798 2003-07-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
800         * ps-print.el: Print line number correctly in a region.  Reported by
801         Tim Allen <timallen@ls83.fsnet.co.uk>
802         (ps-print-version): New version number (6.6.2).
803         (ps-printing-region): Code fix.
805 2003-07-10  John Paul Wallington  <jpw@gnu.org>
807         * progmodes/etags.el (visit-tags-table-buffer): Add autoload cookie;
808         this function can be called from `add-completions-from-tags-table'.
810 2003-07-10  Glenn Morris  <gmorris@ast.cam.ac.uk>
812         * calendar/timeclock.el (timeclock-use-display-time)
813         (timeclock-day-over-hook, timeclock-workday-remaining)
814         (timeclock-status-string, timeclock-when-to-leave)
815         (timeclock-when-to-leave-string, timeclock-log-data)
816         (timeclock-find-discrep, timeclock-day-base)
817         (timeclock-generate-report, timeclock-visit-timelog): Doc fix.
818         (timeclock-modeline-display): Set the variable
819         `timeclock-modeline-display'.
820         (timeclock-update-modeline): Doc fix.  Respect value of
821         `timeclock-relative'.
823 2003-07-09  Richard M. Stallman  <rms@gnu.org>
825         * textmodes/reftex-parse.el (reftex-all-document-files):
826         Add autoload cookie.
828         * textmodes/reftex.el (reftex-all-document-files): Delete autoload.
829         (reftex-scanning-info-available-p): Add autoload cookie.
831         * international/mule-cmds.el (set-display-table-and-terminal-coding-system):
832         Delete duplicate aset on standard-display-table.
834         * view.el (view-file): If existing buffer's major mode is special,
835         don't go into view mode.
837         * dired.el (dired-move-to-filename-regexp): Allow quote in months.
839 2003-07-08  Martin Stjernholm  <bug-cc-mode@gnu.org>
841         * progmodes/cc-engine.el (c-guess-basic-syntax): Do not do hidden
842         buffer changes; there's third party code that calls this function
843         directly.
845 2003-07-08  Martin Stjernholm  <bug-cc-mode@gnu.org>
847         * progmodes/cc-fonts.el (javadoc-font-lock-keywords)
848         (autodoc-font-lock-keywords): Don't byte compile on font lock
849         initialization when running from byte compiled files.
851 2003-07-08  Alan Mackenzie  <bug-cc-mode@gnu.org>
853         * progmodes/cc-engine.el: Fix AWK mode indentation when previous
854         statement ends with auto-increment "++".
856 2003-07-08  Martin Stjernholm  <bug-cc-mode@gnu.org>
858         * progmodes/cc-langs.el, progmodes/cc-styles.el (c-style-alist)
859         (c-lang-variable-inits, c-lang-variable-inits-tail): The values of
860         these are changed, so declare them as variables and not constants.
862 2003-07-08  Markus Rost  <rost@math.ohio-state.edu>
864         * subr.el (dolist, dotimes):  Doc fix.
866 2003-07-08  Kim F. Storm  <storm@cua.dk>
868         * international/mule-cmds.el (set-display-table-and-terminal-coding-system):
869         Don't break bootstrap if standard-display-table isn't setup yet.
871 2003-07-07  Richard M. Stallman  <rms@gnu.org>
873         * ehelp.el (ehelp-command): Use defalias to define ehelp-command.
874         Give it a doc string, and autoload it.
876         * desktop.el (desktop-buffer-info, desktop-buffer-mh):
877         Use with-no-warnings.
879         * info.el (Info-search): If find invisible text, search again.
881         * isearch.el (search-whitespace-regexp): Add a shy group around it.
883         * man.el (Man-name-regexp): Match + as part of name.
885         * simple.el (visible-mode): Rename from vis-mode.
886         (vis-mode-saved-buffer-invisibility-spec): Doc fix.
888         * simple.el (current-word): New arg REALLY-WORD specifies
889         don't include punctuation chars.
891         * emacs-lisp/debug.el (debug, debugger-env-macro):
892         Use with-no-warnings while accessing and binding unread-command-char.
894         * international/mule-cmds.el (set-display-table-and-terminal-coding-system):
895         Use explicit loop instead of calling standard-display-default.
897         * net/ange-ftp.el (ange-ftp-file-symlink-p):
898         Use condition-case to catch error in ange-ftp-get-files.
900         * net/browse-url.el (browse-url-browser-function):
901         Add alternative for Epiphany.
902         (browse-url-epiphany-program, browse-url-epiphany-arguments)
903         (browse-url-epiphany-startup-arguments)
904         (browse-url-epiphany-new-window-is-tab): New variables.
905         (browse-url-epiphany, browse-url-epiphany-sentinel): New functions.
907         * progmodes/compile.el (compile-auto-highlight): Default now t.
908         (compile): Doc fix.
909         (compilation-next-error): Fix previous change.
911         * textmodes/tex-mode.el (tex-main-file): Use with-no-warnings.
913         * textmodes/sgml-mode.el (xml-mode): Add autoload cookie.
915 2003-07-07  Nick Roberts  <nick@nick.uklinux.net>
917         * gdb-ui.el (gdb-source-info): Display current frame when
918         attaching to an existing process.
919         (gdb-setup-windows, gdb-source-info): Start with gud-comint-buffer
920         while laying out windows when attaching to an existing process.
922 2003-07-07  Stefan Monnier  <monnier@cs.yale.edu>
924         * info.el (Info-menu): Use Info-menu-entry-name-re.
926 2003-07-06  Stefan Monnier  <monnier@cs.yale.edu>
928         * vc-hooks.el (vc-stay-local, vc-stay-local-p): Move from vc.el.
929         * vc.el (vc-stay-local, vc-stay-local-p): Move to vc-hooks.el.
931         * info.el (Info-menu-entry-name-re): Be careful to avoid multiple ways
932         to match the same text.
934 2003-07-06  John Paul Wallington  <jpw@gnu.org>
936         * vc.el (vc-annotate-offset): Move defvar up.
938 2003-07-06  Kim F. Storm  <storm@cua.dk>
940         * info.el (Info-menu-entry-name-re): Add `:' to second [] part.
941         This should fix the infinite loop when extracting menu names.
943 2003-07-05  Martin Stjernholm  <bug-cc-mode@gnu.org>
945         * files.el (auto-mode-alist, interpreter-mode-alist):
946         Remove entries to CC Mode modes to avoid duplicates; they are now added
947         with autoload directives in cc-mode.el.
949 2003-07-05  Martin Stjernholm  <bug-cc-mode@gnu.org>
951         * progmodes/cc-langs.el, progmodes/cc-styles.el (c-style-alist)
952         (c-lang-variable-inits, c-lang-variable-inits-tail): The values of
953         these are changed, so declare them as variables and not constants.
955         * progmodes/cc-mode.el: Fix some autoload problems: Try to
956         ensure that the entry for ".c" extension comes before the one for
957         ".C" on `auto-mode-alist', to behave better on case insensitive OS:es.
958         Fix incorrect entries that were added to `interpreter-mode-alist'.
959         Move the autoload directives for AWK to the top level since they
960         aren't recognized anywhere else.  Do not use the new AWK mode doc
961         in the autoload form for the old AWK mode.
963 2003-06-30  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
965         * textmodes/bibtex.el (bibtex-sort-entry-class): New entry catch-all.
966         (bibtex-sort-ignore-string-entries): Default value t.
967         (bibtex-entry-kill-ring-max): Reintroduce as it was removed
968         erroneously in previous version.
969         (bibtex-string-files): Docstring reflects new parsing scheme.
970         (bibtex-autokey-transcriptions): Merge some rewrite entries, fix
971         docstring, add # as one of the chars to crush
972         (bibtex-autokey-prefix-string, bibtex-autokey-names)
973         (bibtex-autokey-names-stretch, bibtex-autokey-additional-names)
974         (bibtex-autokey-name-change-strings)
975         (bibtex-autokey-name-case-convert, bibtex-autokey-name-length)
976         (bibtex-autokey-name-separator, bibtex-autokey-year-length)
977         (bibtex-autokey-use-crossref, bibtex-autokey-titlewords)
978         (bibtex-autokey-title-terminators)
979         (bibtex-autokey-titlewords-stretch)
980         (bibtex-autokey-titleword-ignore)
981         (bibtex-autokey-titleword-case-convert)
982         (bibtex-autokey-titleword-abbrevs)
983         (bibtex-autokey-titleword-abbrevs)
984         (bibtex-autokey-titleword-change-strings)
985         (bibtex-autokey-titleword-length)
986         (bibtex-autokey-titleword-separator)
987         (bibtex-autokey-name-year-separator)
988         (bibtex-autokey-year-title-separator)
989         (bibtex-autokey-before-presentation-function)
990         (bibtex-entry-type-history, bibtex-entry-maybe-empty-head):
991         Fix docstring.
992         (bibtex-strings, bibtex-reference-keys):
993         Use lazy-completion-table and make-variable-buffer-local.
994         (bibtex-sort-entry-class-alist): Use downcase, account for catch-all.
995         (bibtex-braced-string-syntax-table)
996         (bibtex-quoted-string-syntax-table): New variables.
997         (bibtex-parse-nested-braces): Remove.
998         (bibtex-parse-field-string): Use syntax table and forward-sexp.
999         (bibtex-parse-association): Simplify.
1000         (bibtex-parse-field-name): Obey bibtex-autoadd-commas.
1001         (bibtex-parse-field-text): Simplify.
1002         (bibtex-search-forward-field, bibtex-search-backward-field):
1003         argument BOUND can take value t.
1004         (bibtex-start-of-field, bibtex-start-of-name-in-field)
1005         (bibtex-end-of-name-in-field, bibtex-end-of-field)
1006         (bibtex-start-of-text-in-field, bibtex-end-of-text-in-field)
1007         (bibtex-start-of-text-in-string, bibtex-end-of-text-in-string)
1008         (bibtex-end-of-string, bibtex-type-in-head): Use defsubst.
1009         (bibtex-skip-to-valid-entry): Return buffer position of beginning
1010         and ending of entry.  Update for changes of bibtex-search-entry.
1011         Simplify.
1012         (bibtex-map-entries): FUN is called with three arguments.
1013         (bibtex-search-entry): Return a cons pair with buffer positions of
1014         beginning and end of entry.
1015         (bibtex-enclosing-field): Simplify.
1016         (bibtex-format-entry): Use booktitle to set a missing title.
1017         (bibtex-autokey-get-names): Fiddle with regexps.
1018         (bibtex-generate-autokey): Use identity.
1019         (bibtex-parse-keys): Use simplified parsing algorithm if
1020         bibtex-parse-keys-fast is non-nil. Simplify. Change order of
1021         arguments. Return alist of keys.
1022         (bibtex-parse-strings): Simplify. Return alist of strings.
1023         (bibtex-complete-string-cleanup): Fix docstring.
1024         (bibtex-read-key): New function.
1025         (bibtex-mode): Fix docstring. Do not parse for keys and
1026         strings when the mode is entered. Set fill-paragraph-function to
1027         bibtex-fill-field. Setup font-lock-mark-block-function the way
1028         font-lock intended.
1029         (bibtex-entry): Use bibtex-read-key. Obey bibtex-autofill-types.
1030         (bibtex-parse-entry, bibtex-autofill-entry): New functions.
1031         (bibtex-print-help-message, bibtex-remove-OPT-or-ALT)
1032         (bibtex-Preamble): Avoid hard coded constants.
1033         (bibtex-make-field): Fix docstring. Simplify.
1034         (bibtex-beginning-of-entry): Always return new position of point.
1035         (bibtex-end-of-entry): Rearrange cond clauses.
1036         (bibtex-count-entries, bibtex-validate, bibtex-reformat):
1037         Update for changes of bibtex-map-entries.
1038         (bibtex-ispell-abstract): Do not move point.
1039         (bibtex-entry-index): Use downcase. Simplify.
1040         (bibtex-lessp): Handle catch-all.
1041         (bibtex-find-crossref): Turn into a command.
1042         (bibtex-find-entry): Simplify. Use bibtex-read-key. Fix regexp.
1043         (bibtex-clean-entry): Use bibtex-read-key. Handle string and
1044         preamble entries.
1045         (bibtex-fill-field-bounds): New function.
1046         (bibtex-fill-field): New command. Bound to fill-paragraph-function.
1047         (bibtex-fill-entry): Use bibtex-fill-field-bounds
1048         (bibtex-String): Use bibtex-strings.  Always obey
1049         bibtex-sort-ignore-string-entries.
1051 2003-07-05  John Paul Wallington  <jpw@gnu.org>
1053         * cus-theme.el (customize-create-theme):
1054         Call `customize-create-theme' in Reset widget's notify function.
1056         * ibuffer.el (ibuffer-backward-line, ibuffer-forward-line)
1057         (ibuffer-mark-interactive): Use `or' instead of `unless'.
1058         (define-ibuffer-column name): Add summarizer.
1059         (define-ibuffer-column size): Likewise.
1060         (define-ibuffer-column filename): Likewise.
1061         (define-ibuffer-column process): Likewise.  Change BODY's output too.
1062         (define-ibuffer-column filename-and-process): Likewise, likewise.
1063         (ibuffer): Remove local vars `already-in' and `need-update'.
1065         * ibuf-ext.el: Don't require `derived' at compile-time.
1067 2003-07-05  Kim F. Storm  <storm@cua.dk>
1069         * info.el: Disable paragraph refilling.
1070         (Info-refill-paragraphs): New defcustom.
1071         (Info-fontify-node): Use it.
1073 2003-07-04  Stefan Monnier  <monnier@cs.yale.edu>
1075         * emacs-lisp/cl-macs.el (cl-transform-lambda): Strip &cl-defs
1076         thingies from constructors created by defstruct.
1078         * emacs-lisp/bytecomp.el (byte-compile-defvar): Check and set
1079         the default value of the variable.
1080         (byte-code-meter): Move declaration to top level.
1082         * pcvs-parse.el (cvs-parse-status): Ignore extra fields from CVSNT.
1084         * info.el (Info-following-node-name-re): New fun.
1085         (Info-following-node-name): Remove.
1086         (Info-insert-dir): Use the new fun.
1087         (Info-extract-pointer): Don't save restriction; use new fun.
1088         (Info-menu-entry-name-re): New const.
1089         (Info-menu-entry-name-re): Use it along with new fun.
1090         (Info-node-spec-re): Use new fun.
1091         (Info-complete-menu-item, Info-fontify-node): Use new const.
1092         (Info-goto-node, Info-follow-reference, Info-menu-update):
1093         Use match-string.
1094         (Info-follow-reference): Use assoc-string.
1095         Use a list of strings for the completion table.
1096         (Info-fontify-node): Use match-string, line-end-position.
1097         Limit the search for `node:' to the first line.
1099         * newcomment.el (uncomment-region): Remove padding coming from
1100         comment-start rather than just from comment-padding.
1102         * vc-cvs.el (vc-cvs-repository-hostname): New operation.
1103         (vc-cvs-stay-local-p): Use vc-stay-local-p.
1104         (vc-cvs-rename-file): Remove (use the default).
1105         (vc-cvs-register): Register parent dir if needed.
1106         (vc-cvs-could-register): Return non-nil if parent can be registered.
1107         (vc-cvs-state, vc-cvs-dir-state, vc-cvs-print-log, vc-cvs-diff)
1108         (vc-cvs-diff-tree, vc-cvs-make-version-backups-p): Use vc-stay-local-p.
1110         * vc-svn.el (vc-svn-use-edit): Make it into a const.
1111         (vc-svn-update): Fix the arguments to `svn'.
1112         (vc-svn-diff-tree): Just use `vc-svn-diff'.
1113         (vc-svn-create-snapshot, vc-svn-retrieve-snapshot):
1114         Simple implementations, assuming `name' is a URL.
1116         * progmodes/sh-script.el (sh-font-lock-paren): Add [ and ] to the
1117         set of chars allowed unquoted in a case pattern.
1119         * font-core.el (font-lock-defaults-alist): Remove obsolete entries.
1121         * font-lock.el (font-lock-extra-types-widget)
1122         (c-font-lock-extra-types, c++-font-lock-extra-types)
1123         (objc-font-lock-extra-types, java-font-lock-extra-types)
1124         (c-font-lock-keywords-1, c-font-lock-keywords-2, c-font-lock-keywords)
1125         (c-font-lock-keywords-3, c-font-lock-syntactic-face-function)
1126         (font-lock-match-c++-style-declaration-item-and-skip-to-next)
1127         (font-lock-match-c++-structor-declaration)
1128         (c++-font-lock-keywords-1, c++-font-lock-keywords-2)
1129         (c++-font-lock-keywords-3, c++-font-lock-keywords)
1130         (objc-font-lock-keywords-1, objc-font-lock-keywords-2)
1131         (objc-font-lock-keywords-3, objc-font-lock-keywords)
1132         (java-font-lock-keywords-1, java-font-lock-keywords-2)
1133         (java-font-lock-keywords-3, java-font-lock-keywords)
1134         (java-font-lock-syntactic-face-function): Remove obsolete code
1135         and constants.  It's all in cc-fonts.el now.
1137 2003-07-04  Glenn Morris  <gmorris@ast.cam.ac.uk>
1139         * mail/sendmail.el (mail-specify-envelope-from)
1140         (mail-envelope-from): Doc fix.
1142 2003-07-04  Martin Stjernholm  <mast@lysator.liu.se>
1144         * generic-x.el: Do away with the dependency on `c-emacs-features'
1145         when populating `rul-generic-mode-syntax-table'; we already know
1146         this isn't XEmacs.
1148 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1150         * progmodes/cc-menus.el (cc-imenu-init): Do not set
1151         `imenu-create-index-function' if the second argument is left
1152         out.  This bug broke the imenu support in C, C++ and Java modes.
1154 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1156         * progmodes/cc-engine.el, progmodes/cc-align.el
1157         (c-add-stmt-syntax, c-lineup-arglist)
1158         (c-lineup-arglist-close-under-paren): Fixes to cope with
1159         special brace lists in Pike.
1161 2003-07-03  Alan Mackenzie  <bug-cc-mode@gnu.org>
1163         * progmodes/cc-mode.el: awk-mode: Call c-awk-after-change to
1164         ensure syntax-table props at loading.
1166         * progmodes/cc-fonts.el: Put (cc-require-when-compile 'cc-awk)
1167         to eliminate compile-time errors.
1169 2003-07-03  Alan Mackenzie  <bug-cc-mode@gnu.org>
1171         * progmodes/cc-awk.el, progmodes/cc-engine.el: Add code to
1172         analyze AWK top-level forms properly (c-guess-basic-syntax
1173         CASE 5P), c-awk-backward-syntactic-ws.
1175 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1177         * progmodes/cc-fix.el: cc-mode-19.el has been renamed to
1178         progmodes/cc-fix.el since it now contains compatibility stuff
1179         for later versions than (X)Emacs 19.
1181 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1183         * progmodes/cc-langs.el (c-paren-nontype-kwds): New language constant.
1185         (c-other-decl-kwds, c-postfix-decl-spec-kwds): Add compiler
1186         specific declspec keywords: __attribute__ for gcc and
1187         __declspec for msvc.
1189         * progmodes/cc-fonts.el (c-font-lock-declarations)
1190         (c-complex-decl-matchers): Support specifiers in a couple more
1191         contexts to cope with msvc '__declspec'.
1193         * progmodes/cc-engine.el (c-forward-keyword-clause):
1194         Support `c-paren-nontype-kwds'.
1196 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1198         * progmodes/cc-langs.el (c-primary-expr-regexp): Don't match a
1199         bare period as a float.
1201 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1203         * progmodes/cc-bytecomp.el (cc-bytecomp-setup-environment):
1204         Do not cover functions that have been bound.
1206         (cc-external-require): New macro to use for requiring external
1207         packages, to handle the environment correctly.
1209         * progmodes/cc-defs.el, progmodes/cc-fix.el,
1210         progmodes/cc-fonts.el, progmodes/cc-mode.el: Replaced external
1211         require's with `cc-external-require'.
1213 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1215         * progmodes/cc-engine.el (c-beginning-of-member-init-list)
1216         (c-guess-basic-syntax): Fixes in handling of bitfields.
1218 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1220         * progmodes/cc-langs.el (comment-end): Put a space in front of
1221         the comment ender in C, as it was before the move from cc-mode.el.
1223 2003-07-03  Alan Mackenzie  <bug-cc-mode@gnu.org>
1225         * progmodes/cc-fonts.el: Do not load progmodes/cc-awk.elc or
1226         awk-font-lock-keywords unless there is an AWK Mode buffer.
1228 2003-07-03  Alan Mackenzie  <bug-cc-mode@gnu.org>
1230         * progmodes/cc-awk.el: New file that implements AWK support,
1231         superseding the old separate derived mode in awk-mode.el.
1233         * progmodes/cc-vars.el, cc-mode-19.el, progmodes/cc-langs.el,
1234         progmodes/cc-mode.el, progmodes/cc-defs.el,
1235         progmodes/cc-engine.el, progmodes/cc-fonts.el: Changes for the
1236         new AWK support.
1238 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1240         * progmodes/cc-engine.el, progmodes/cc-langs.el
1241         (c-decl-block-key, c-search-uplist-for-classkey): Check that
1242         the modifier is followed by "{" in Pike before considering it
1243         to start a class-like block.
1245 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1247         * progmodes/cc-mode.el (c-initialize-cc-mode): Add some
1248         compatibility to make this function behave somewhat more as
1249         documented for derived modes.  It's still not enough to make
1250         the old AWK mode behave reasonably, but it's been like this a
1251         long time now so fixing it more might cause trouble
1252         elsewhere. :P
1254 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1256         * progmodes/cc-fonts.el (c-remove-font-lock-face): New macro
1257         to remove a font lock face properly (especially in XEmacs).
1259         * progmodes/cc-bytecomp.el (cc-bytecomp-obsolete-fun):
1260         Add the same kludge as in `cc-bytecomp-obsolete-var' to avoid a
1261         confused compiler warning.
1263         * progmodes/cc-engine.el (c-forward-type): Fix a bug in the
1264         handling of concatenated types when the component types are known.
1266         * progmodes/cc-fonts.el (c-constant-face-name): Add face name variable
1267         to avoid the use of `font-lock-constant-face' for constants in
1268         emacsen that doesn't have it.
1270 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1272         * progmodes/cc-styles.el, progmodes/cc-vars.el,
1273         progmodes/cc-cmds.el: Fixes for the syntactic symbols for
1274         module and composition blocks.
1276 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1278         * progmodes/cc-mode.el (c-basic-common-init):
1279         Use `open-paren-in-column-0-is-defun-start' if it exists and works.
1281         * progmodes/cc-vars.el (c-emacs-features): Add `col-0-paren'
1282         to detect when `open-paren-in-column-0-is-defun-start' exists
1283         and actually works.
1285 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1287         * progmodes/cc-align.el (c-lineup-argcont, c-lineup-gcc-asm-reg):
1288         Don't quote nil in docstrings.
1290 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1292         * progmodes/cc-vars.el, progmodes/cc-langs.el
1293         (c-primitive-type-kwds, c-font-lock-extra-types): "complex"
1294         and "imaginary" aren't keywords in C99, only macros that
1295         expand to the keywords "_Complex" and "_Imaginary", so make
1296         the former a bit less hardcoded by putting it on
1297         `c-font-lock-extra-types' instead.  There are also "bool" and
1298         "_Bool" that work the same way.
1299         (c-constant-kwds): "false" and "true" are standard constant
1300         macros in C99.
1302 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1304         * progmodes/cc-menus.el, progmodes/cc-langs.el,
1305         progmodes/cc-engine.el, progmodes/cc-fonts.el,
1306         progmodes/cc-cmds.el: Fixed various regexps to use POSIX char
1307         classes when that is supported.
1309         * progmodes/cc-defs.el (c-alpha, c-alnum, c-digit, c-upper, c-lower):
1310         New constants to make it easier to create regexps
1311         that use POSIX char classes in emacsen that support them.
1313 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1315         * progmodes/cc-vars.el (c-emacs-features): Detect in the
1316         regexp engine understands POSIX char classes.
1318 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1320         * progmodes/cc-mode.el (c-after-change): Add kludge for bug
1321         where this function sometimes gets positions outside the
1322         buffer range.
1324 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1326         * progmodes/cc-engine.el (c-beginning-of-member-init-list):
1327         Better handling of paretheses in unexpected places.
1329         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Fix a
1330         regexp match order problem that could cause empty template
1331         args on the form "<>" to be missed.
1333 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1335         * progmodes/cc-engine.el (c-parse-state): Add kludge to
1336         avoid an infinite loop when Emacs' open-paren-in-column-zero
1337         rule kicks in and causes the sexp functions to misbehave.
1339 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1341         * progmodes/cc-engine.el (c-beginning-of-member-init-list):
1342         Fix bug when C++-like code is encountered in non-C++ mode.
1344 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1346         * progmodes/cc-defs.el (c-make-keywords-re): Add option to
1347         specify the language to look up `c-nonsymbol-key' in.
1349 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1351         * progmodes/cc-cmds.el, progmodes/cc-engine.el
1352         (c-auto-newline-analysis): New dynamically bound variable to
1353         turn off the topmost-intro-cont/statement-cont kludge for
1354         brace lists during the analysis for the auto newline feature.
1355         This fixes some cases where the setting for `brace-list-open'
1356         on `c-hanging-braces-alist' didn't have any effect.
1358 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1360         * progmodes/cc-langs.el (c-literal-start-regexp): Yet another
1361         language variable.
1363         * progmodes/cc-fonts.el (c-font-lock-doc-comments)
1364         (c-find-invalid-doc-markup, javadoc-font-lock-keywords):
1365         Fix fontification of the markup in Javadoc comments.
1367         * progmodes/cc-engine.el: Fixes in face handling to cope with
1368         doc comments.
1370         (c-find-decl-spots): More failsafe skipping of comments and
1371         strings that only have been partially fontified.
1373         * progmodes/cc-defs.el (c-got-face-at): New subst to test
1374         faces at positions easier.
1376         * progmodes/cc-defs.el (c-safe-scan-lists): New wrapper macro
1377         to avoid the warnings with too many args to `scan-lists' in Emacs.
1379 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1381         * progmodes/cc-engine.el (c-syntactic-skip-backward):
1382         New function to make syntactic searches in the backward direction
1383         easier.
1385         (c-beginning-of-statement-1): Optimize skipping over large paren
1386         sexps somewhat.
1388         (c-safe-position): Remove the odd macro handling which was
1389         centered around the point instead of the passed position.
1391 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1393         * progmodes/cc-engine.el (c-in-knr-argdecl): Do not trip up on
1394         initialization expressions.
1396         * progmodes/cc-align.el (c-lineup-arglist)
1397         (c-lineup-close-paren, c-lineup-arglist-close-under-paren):
1398         Tune the "macro block" heuristics to work better in nested
1399         arglist situations.
1401 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1403         * progmodes/cc-styles.el (c-set-offset): Don't find a default
1404         syntactic element through syntactic analysis if called outside
1405         a CC Mode buffer.
1407 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1409         * progmodes/cc-mode.el (c-basic-common-init):
1410         Install `c-fill-paragraph' on `fill-paragraph-function'.
1411         Although it's not the normal way to call it in a CC Mode buffer it
1412         makes a direct call to `fill-paragraph' work better.
1414 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1416         * progmodes/cc-vars.el, progmodes/cc-mode.el
1417         (c-require-final-newline): Make this variable an alist to
1418         specify a value for each language.  The default value causes
1419         `require-final-newline' to be set to t only in languages where
1420         the standard requires a final newline.
1422 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1424         * progmodes/cc-mode.el, progmodes/cc-vars.el
1425         (c-require-final-newline): Add a variable to make the
1426         initialization of `require-final-newline' more configurable.
1428         * progmodes/cc-vars.el (c-mode-common-hook): Do not change the
1429         format string to "CC Mode Common Hook" since that causes
1430         confusion (although it is a more accurate name).
1432 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1434         * progmodes/cc-fonts.el (javadoc-font-lock-keywords)
1435         (autodoc-font-lock-keywords): Support for Javadoc and Pike
1436         Autodoc doc comments.
1438         * progmodes/cc-vars.el (c-doc-comment-style): New variable to
1439         control the fontification of documentation comments on top of
1440         the normal mode font lock.
1442 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1444         * progmodes/cc-langs.el, progmodes/cc-fonts.el
1445         (c-primary-expr-regexp, c-font-lock-declarations): Avoid false
1446         recognition of parens as casts when they are followed by an
1447         operator that is both prefix and infix.
1449 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1451         * progmodes/cc-cmds.el (c-guess-fill-prefix): Tune the
1452         heuristics of when to use `c-block-comment-prefix' for an
1453         unclosed block comment.
1455 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1457         * progmodes/cc-engine.el, progmodes/cc-langs.el
1458         (c-nonsymbol-sexp-kwds, c-forward-keyword-clause):
1459         Handle keywords like "extern" that can be followed by e.g. a string
1460         literal.
1462         * progmodes/cc-defs.el (c-make-keywords-re): Make a regexp
1463         correctly with one submatch when adorn is set and the list is empty.
1465 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1467         * progmodes/cc-fonts.el (c-font-lock-declarations): Fix a
1468         search that could go far past the relevant region and cause
1469         slowness.  Do not limit the declaration detection to the
1470         fontified region since that can cause misfontification in
1471         multiline declarations.
1473         * progmodes/cc-engine.el (c-find-decl-spots): Add limit
1474         argument to handle declarations spanning the fontification
1475         limit better.
1477 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1479         * progmodes/cc-engine.el (c-in-literal, c-literal-limits)
1480         (c-literal-limits-fast, c-beginning-of-inheritance-list):
1481         Use the paren cache instead of the impaired ad hoc in
1482         `beginning-of-defun', so that these functions doesn't trip up
1483         on "{" in the first column inside strings or comments.
1485 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1487         * progmodes/cc-vars.el (c-hanging-braces-alist):
1488         Add `statement-cont' and made it auto newline free by default.
1490         * progmodes/cc-cmds.el (c-electric-brace):
1491         Add `statement-cont' to the list of syntactic symbols to consider
1492         for auto newlines since it can be used for in-statement brace lists.
1494         * progmodes/cc-vars.el (c-emacs-features): There's no need to
1495         have this constant autoloaded.
1497 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1499         * progmodes/cc-fonts.el (c-font-lock-declarations):
1500         Use `c-recognize-typeless-decls' to avoid fontifying some macro
1501         constructs as declarations in languages where a preceding type
1502         is mandatory.
1504         * progmodes/cc-langs.el (c-recognize-typeless-decls):
1505         New language variable.
1507 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1509         * progmodes/cc-align.el (c-lineup-close-paren):
1510         Use `c-syntactic-eol' when checking if the open paren ends its line.
1512         * progmodes/cc-langs.el (c-syntactic-eol): Handle a line
1513         continuation backslash.
1515 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1517         * progmodes/cc-align.el (c-snug-do-while): Compatibility fix
1518         for changed structure in `c-syntactic-context'.
1520 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1522         * progmodes/cc-engine.el (c-parse-state): Filter angle bracket
1523         arglist parens in a better way than disabling the syntax table
1524         properties completely.
1526         * progmodes/cc-fonts.el (c-cpp-matchers): Handle line
1527         continuations in cpp expressions. Do not fontify symbols after
1528         #ifdef etc as variables since that isn't consistent with how
1529         the face is used elsewhere (i.e. only for the definition of
1530         the symbol).
1532 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1534         * progmodes/cc-mode.el: Add autoload directives for the
1535         interface functions in cc-langs.
1537 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1539         * progmodes/cc-fonts.el (c-font-lock-declarations): Add a
1540         property to handle refontication in multiline declaration
1541         arglists better.
1542         (c-font-lock-<>-arglists): Fix to handle recursive template
1543         arglists better.  (As a side effect this will make
1544         fontification work better in older emacsen too.)
1546         * progmodes/cc-engine.el (c-forward-<>-arglist)
1547         (c-remove-<>-arglist-properties): Use a common text property
1548         `c-type' for all sorts of CC Mode char classification, to
1549         avoid cases when then same char is given conflicting types.
1550         (c-forward-<>-arglist): New reparse argument to control that
1551         aspect explicitly.
1552         (c-forward-name, c-forward-type): Changes in the handling of
1553         recursive template arglists.  Fixes to cope with the new 'known
1554         type classification.
1556 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1558         * progmodes/cc-mode.el (c-basic-common-init): Add the new
1559         char property `c-type' to `text-property-default-nonsticky'.
1561         * progmodes/cc-defs.el (c-put-char-property)
1562         (c-get-char-property, c-clear-char-property)
1563         (c-clear-char-properties): Generalize `c-put-char-syntax' and
1564         `c-get-char-syntax' to handle any property.
1566         * progmodes/cc-bytecomp.el (cc-bytecomp-defun): Fix bug that
1567         caused existing function definitions to be overridden by
1568         phonies when the bytecomp environment is restored.
1570 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1572         * progmodes/cc-cmds.el (c-mask-paragraph): Masking is
1573         necessary in normal code too to avoid getting a fill prefix
1574         from a nearby comment.  Change the name from `c-mask-comment'
1575         to a more accurate one.
1577         * progmodes/cc-defs.el, progmodes/cc-mode.el: Change the
1578         auto-load-alist strategy to not add entries on package load,
1579         to be defensive in the case that autoloads are updated in
1580         older emacsen.  The bug that would occur in that case would
1581         probably be rather nasty for the average user.
1583 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1585         * progmodes/cc-fonts.el (c-font-lock-declarations):
1586         Fine tuning of the decision tree that tells declarations from
1587         expressions to produce better results in some ambiguous cases.
1589         * progmodes/cc-fonts.el (c-font-lock-syntactic-face-function):
1590         Remove since it doesn't give the control we want.
1591         (c-font-lock-invalid-string): Replacement for
1592         `c-font-lock-syntactic-face-function' that puts the error face
1593         on the string opener only, to avoid the annoying excessive use
1594         of the error face while a string literal is being written.
1595         (c-basic-matchers-before): Use `c-font-lock-invalid-string'.
1597         * progmodes/cc-engine.el (c-string-syntax)
1598         (c-string-limit-regexp): Add constants to use when handling
1599         string limits, since not all old emacsen react well to the "|"
1600         syntax class.
1602         (c-literal-limits, c-literal-limits-fast, c-literal-type):
1603         Use `c-string-syntax' and `c-string-limit-regexp'.  Replace some
1604         hardcoded comment start regexps with `c-comment-start-regexp'.
1606 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1608         * progmodes/cc-mode.el: Added an association for pike-mode on
1609         `intepreter-mode-alist'.
1611 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1613         * progmodes/cc-mode.el: Add the `auto-mode-alist' entries to
1614         the end instead of the start of the list, to avoid overriding
1615         user additions that are made before this file is loaded when
1616         the entries don't correspond to any already on `auto-mode-alist'.
1617         This is done through the third append argument to
1618         `add-to-alist'.  That doesn't exist in older (X)Emacsen, so
1619         the function is advised in cc-defs.  However, that advice
1620         doesn't help if the autoloads are updated in an old (X)Emacs
1621         with this version of CC Mode, but I believe it's unlikely that
1622         anyone does that when CC Mode isn't distributed with with it.
1624         * progmodes/cc-defs.el (add-to-list): Add advice to get the
1625         optional third append argument in older (X)Emacsen.
1627         * progmodes/cc-langs.el (c-keywords-obarray): Kludge for
1628         strange bug in Emacs that gives so odd errors that I frankly
1629         don't even muster to begin trying to narrow it down.
1630         If someone is so inclined, restore the commented code, byte
1631         compile, and try to open a C++ file or something in font lock mode.
1633 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1635         * progmodes/cc-langs.el: Update the IDL support from the
1636         specs.  This also adds the keywords for the variants PSDL and
1637         CIDL.  (This is mostly done from reading the grammars only;
1638         very lightly tested.)
1640         * progmodes/cc-langs.el (c-type-list-kwds): Add "new" in Java.
1642         * progmodes/cc-fonts.el: Make sure that
1643         `parse-sexp-lookup-properties' is properly insulated from
1644         clobbering by the font-lock package at all relevant entry points.
1646 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1648         * progmodes/cc-langs.el (c-opt-after-id-concat-key):
1649         New language constant to make the recognition of identifier
1650         qualifiers more flexible.  Recognize the identifier before
1651         ".*" as a qualifier in Java.
1652         (c-identifier-key): Recognize "::*" inside identifiers in C++.
1653         Recognize identifiers ending with ".*" in Java for the sake of
1654         import directives.
1655         (c-type-list-kwds, c-ref-list-kwds): Recognize "import" and
1656         "package" declarations in Java.
1658         * progmodes/cc-vars.el (c-doc-face, c-doc-marker-face)
1659         (c-doc-markup-face): Remove since they aren't used (and
1660         probably won't be).
1662         * progmodes/cc-langs.el (c-ref-list-kwds): New language
1663         constant to specify keywords followed by references.
1664         (c-last-identifier-range): New variable to avoid going back to
1665         search for the identifier to font lock after a call to
1666         `c-forward-name'.
1667         (c-type-prefix-kwds, c-type-list-kwds): Fix classification of
1668         "@interface" etc in Objective-C.
1670         * progmodes/cc-engine.el (c-forward-keyword-clause):
1671         Fix handling of keyword prefixes in `c-type-list-kwds' and
1672         `c-colon-type-list-kwds' clauses.
1673         (c-keyword-sym, c-keyword-member): New functions to lookup and
1674         categorize keywords.
1675         (c-forward-keyword-clause): New function to move over a keyword
1676         and its associated clause according to `c-<>-arglist-kwds' etc.
1678         * progmodes/cc-langs.el (c-typeless-decl-kwds)
1679         (c-type-list-kwds, c-colon-type-list-kwds)
1680         (c-colon-type-list-re, c-paren-type-kwds): New language
1681         constants and variables to generalize the recognition of
1682         various language constructs.
1683         (c-keywords): Did away with the list of `*-kwds' constants.
1684         It's now built through macro expansion.
1685         (c-keywords-obarray): New language variable which contains each
1686         keyword as a symbol, to make fast reverse lookup of keywords to
1687         the `*-kwds' lists they come from.
1689 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1691         * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
1692         Add macro to be able to do direct evaluation in
1693         `c-lang-defconst' forms.
1695         * progmodes/cc-engine.el (c-syntactic-re-search-forward):
1696         Fix a bug which could cause the point to end up outside the
1697         containing sexp if PAREN-LEVEL was used.
1699         * progmodes/cc-engine.el, progmodes/cc-fonts.el,
1700         progmodes/cc-langs.el: Generalize the C++ template arglist
1701         support to handle angle bracket arglists in any language.
1702         (c-recognize-<>-arglists, c-<>-arglist-kwds)
1703         (c-opt-<>-arglist-start): New language variables to control
1704         angle bracket arglists.
1705         (c-opt-type-suffix-key): Use `c-recognize-<>-arglists' in
1706         Objective-C instead of matching a protocol reference list as a
1707         type suffix.
1709 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1711         * progmodes/cc-align.el (c-gnu-impose-minimum): Fix a missing
1712         `save-excursion' that caused the point to jump around.
1714 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1716         * progmodes/cc-mode.el, progmodes/cc-menus.el (objc-mode)
1717         (cc-imenu-init): Fix initialization bug that has made the
1718         Objective-C support inoperational since 5.26.
1719         (cc-imenu-objc-generic-expression): Update submatch indices
1720         due to changes in `cc-imenu-c++-generic-expression'.
1721         (cc-imenu-objc-function): Don't add an empty "C" menu since
1722         imenu doesn't like that.
1724 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1726         * progmodes/cc-align.el (c-lineup-arglist)
1727         (c-lineup-arglist-close-under-paren, c-lineup-close-paren):
1728         Add DWIM to the functions that line up at or after the
1729         arglist open paren to avoid that if there are brace blocks
1730         inside, e.g. when a macro contains a code block.
1732 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1734         * progmodes/cc-vars.el (objc-font-lock-extra-types):
1735         Change default to treat identifiers starting with capital letters as
1736         types, according to Objective-C naming conventions.  The types
1737         previously on the list is part of the language and therefore
1738         on `c-primitive-type-kwds' instead.
1740         * progmodes/cc-fonts.el: Fix font locking in Objective-C.
1741         Be more careful about returning nil from functions used
1742         directly as font-lock matchers.
1744         * progmodes/cc-mode.el (c-font-lock-init): Make the syntax
1745         table modification element of `font-lock-defaults'
1746         parameterized over the languages.
1748         * progmodes/cc-langs.el: Update the Objective-C constants
1749         according to the language spec.  The "@" chars that start
1750         directives are now considered part of the keywords to make
1751         things easier.
1753 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1755         * progmodes/cc-defs.el: (c-(up|down)-list-(forward|backward)):
1756         Make the position optional and added docstrings.
1758         (c-go-(up|down)-list-(forward|backward)): Add variants of the
1759         above that move point and return successfulness instead.
1761 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1763         * progmodes/cc-fonts.el (c-font-lock-<>-arglists):
1764         New function to fontify all occurrences of template arglists in C++.
1766         * progmodes/cc-engine.el (c-disallow-comma-in-<>-arglists):
1767         New variable to be able to avoid false recognition of template
1768         arglists in some cases.
1770 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1772         * progmodes/cc-fonts.el, progmodes/cc-langs.el
1773         (c-decl-prefix-re, c-font-lock-declarations): Match template
1774         open brackets to get a declaration in the first template argument.
1775         (c-complex-decl-matchers): Fontify the second type in a "class
1776         X = Y" expression in C++.
1778 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1780         * progmodes/cc-engine.el (c-forward-<>-arglist): Break out the
1781         recursive part to a new function to improve efficiency when a
1782         nested template arglist search turns out to be futile.
1784 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1786         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
1787         Improve to avoid false matches on e.g. "else if (foo)".
1789 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1791         * progmodes/cc-engine.el (c-forward-token-2)
1792         (c-backward-token-2): New functions that work like the -1
1793         variants but that handle multicharacter operator tokens.
1795         * progmodes/cc-engine.el (c-inside-bracelist-p)
1796         (c-guess-basic-syntax): Do away with the hardcoded regexps to
1797         recognize "typedef" declaration prefixes, "extern" and
1798         "namespace" blocks, "enum"-style brace list declarations and
1799         Java-style array initializers with "new".
1801         * progmodes/cc-langs.el (c-brace-list-decl-kwds)
1802         (c-brace-list-key, c-inexpr-brace-list-kwds)
1803         (c-opt-inexpr-brace-list-key): New language constants and
1804         variables to parameterize some more of the hardcoded regexps
1805         in cc-engine.
1807 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1809         * progmodes/cc-align.el (c-lineup-cascaded-calls): Do not
1810         allow cascaded call lists containing both "->" and ".".
1812 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1814         * progmodes/cc-align.el, progmodes/cc-cmds.el,
1815         progmodes/cc-defs.el, progmodes/cc-engine.el,
1816         progmodes/cc-fonts.el, progmodes/cc-langs.el,
1817         progmodes/cc-mode.el, progmodes/cc-styles.el: New language
1818         variable system to make it easier to set up optimized language
1819         variables and to extend them in third party derived modes.
1820         cc-langs is no longer required at runtime.
1822         * progmodes/cc-mode.el (c-basic-common-init): No longer
1823         initializes the language variables.  It's necessary that the
1824         caller does that directly since the evaluated values for them
1825         now get compiled in directly.
1826         (c-font-lock-init, c-common-init): Separate the font-lock
1827         initialization from `c-common-init'.
1829         * progmodes/cc-mode.el (c-define-abbrev-table): Do not
1830         override an existing abbrev table.
1831         (c-Java-defun-prompt-regexp): Move here from cc-langs since
1832         cc-langs isn't always loaded at runtime.
1834         * progmodes/cc-langs.el (c-make-init-lang-vars-fun)
1835         (c-init-language-vars): Change to allow language variable
1836         initialization from derived modes.
1837         (c-mode-menu): New language variable for the mode menu.
1838         (c-make-mode-syntax-table, c-mode-syntax-table)
1839         (make-c++-template-syntax-table): New language variables for syntax
1840         tables.  The code that initializes them has been moved to cc-mode
1841         to make it possible to avoid loading cc-langs at runtime.
1843         * progmodes/cc-engine.el, progmodes/cc-langs.el
1844         (c-hungry-delete-key, c-auto-newline, c-auto-hungry-string):
1845         Move these state variables from cc-langs to cc-engine to make
1846         it possible to avoid loading cc-langs at runtime.
1848         * progmodes/cc-defs.el (c-lang-defconst, c-lang-const):
1849         Move from cc-langs and rewritten to make the language constant
1850         system usable from derived modes.
1852         (c-add-language): New function intended for use from derived modes
1853         that add new C-like languages.
1855         * progmodes/cc-defs.el, progmodes/cc-vars.el
1856         (c-buffer-is-cc-mode): Move from cc-vars to cc-defs to define
1857         it during compilation.
1859         * progmodes/cc-bytecomp.el (cc-require-when-compile):
1860         New support macro for compile time `require's.
1862 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1864         * progmodes/cc-defs.el, progmodes/cc-mode.el (c-version):
1865         Move from cc-mode to cc-defs to make it accessible to the
1866         other components.
1868         * progmodes/cc-engine.el (c-forward-token-1, c-backward-token-1):
1869         Compatibility fix for emacsen that doesn't understand generic
1870         string delimiters.
1872         * progmodes/cc-vars.el (c-emacs-features): Add detection of
1873         generic string and comment delimiters.
1875         * progmodes/cc-defs.el, progmodes/cc-langs.el
1876         (c-make-keywords-re): Change interface to make it more extensible.
1878         * progmodes/cc-langs.el, progmodes/cc-defs.el (c-regexp-opt)
1879         (c-regexp-opt-depth, c-make-keywords-re): Move from cc-langs
1880         to cc-defs since they are generally useful.
1882         * progmodes/cc-bytecomp.el, progmodes/cc-defs.el
1883         (cc-eval-when-compile): Move from cc-bytecomp to cc-defs to
1884         allow use at runtime.
1886 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1888         * progmodes/cc-bytecomp.el (cc-eval-when-compile):
1889         Workaround for a bug with nested `eval-when-compile' in XEmacs 21.
1891 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1893         * progmodes/cc-mode.el: Added autoloaded forms to install the
1894         appropriate file suffixes on `auto-mode-alist'.  Necessary in
1895         XEmacs 21.5, and it can be useful elsewhere too.
1897 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1899         * progmodes/cc-align.el (c-lineup-cascaded-calls): Handle "."
1900         too, for use in Java.
1902         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1903         Do not handle cpp directives in languages that doesn't have any.
1905 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1907         * progmodes/cc-langs.el (c-operators): Add a high level description
1908         of all operators, along with their precedence and associativity.
1910         * progmodes/cc-align.el (c-lineup-multi-inher): Fix bug
1911         where the position of the point and not the beginning of the
1912         line was used to calculate the indentation.
1914 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1916         * progmodes/cc-defs.el, progmodes/cc-engine.el
1917         (c-backward-single-comment, c-backward-comments): Add kludge
1918         for the bug in `forward-comment' in most (X)Emacs versions
1919         where it moves back over the "*/" of a block comment if
1920         there's no matching "/*".  This has become more important now
1921         since it can cause incorrect caching by `c-backward-sws'.
1923 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1925         * progmodes/cc-cmds.el (c-hungry-backspace)
1926         (c-hungry-delete-forward): New functions to do hungry deletion
1927         regardless of hungry-delete mode.  Contributed by Kevin Ryde.
1929         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws)
1930         (c-invalidate-sws-region): Use text properties to cache regions
1931         with complex syntactic whitespace.  This helps a lot in
1932         improving responsiveness when there are lots of comments and
1933         cpp directives before point.
1935 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1937         * progmodes/cc-guess.el, progmodes/cc-langs.el,
1938         progmodes/cc-menus.el, progmodes/cc-mode.el,
1939         progmodes/cc-styles.el, progmodes/cc-vars.el,
1940         progmodes/cc-engine.el, progmodes/cc-fonts.el,
1941         progmodes/cc-cmds.el, progmodes/cc-defs.el: Introduce a
1942         classification of functions into those that make "hidden
1943         buffer changes" and those who don't.  This is prompted by the
1944         increasing use of text properties for various things, to
1945         correctly cover the silly buffer modifications that is caused
1946         by text property changes.
1947         (c-save-buffer-state): New macro that's put around any code that
1948         can manipulate text properties.
1950 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1952         * progmodes/cc-mode.el (c-basic-common-init):
1953         Setup `text-property-default-nonsticky' to avoid messing with the
1954         rear-nonsticky property on each character in Emacs 21.
1956         * progmodes/cc-defs.el (c-clear-char-syntax, c-put-char-syntax):
1957         Macros that sets and removes the
1958         syntax-table property on a single character and makes the
1959         property nonsticky in both directions in a suitable way for
1960         each (X)Emacs flavor.
1962         * progmodes/cc-vars.el, progmodes/cc-defs.el,
1963         progmodes/cc-engine.el, progmodes/cc-mode.el:
1964         Use `lookup-syntax-properties' in XEmacs to control whether the
1965         syntax-table property has any effect or not.
1967         (c-parse-sexp-lookup-properties): New macro that expands to either
1968         `parse-sexp-lookup-properties' or `lookup-syntax-properties'.
1970 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
1972         * progmodes/cc-defs.el, progmodes/cc-engine.el,
1973         progmodes/cc-fonts.el: Put the faces into the buffer in the
1974         same way as the font-lock package does.  This fixes a
1975         compatibility problem with XEmacs which sets an extra
1976         font-lock property.
1978         * progmodes/cc-fonts.el (c-put-font-lock-face): A macro that
1979         finds out the right way to put font lock faces at compile
1980         time.  We're definitely not byte code portable between Emacs
1981         and XEmacs now.
1983         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1984         Implement a cache for the last large skipped over syntactic
1985         whitespace.  This also has most effect after many macros.
1987         * progmodes/cc-engine.el, progmodes/cc-defs.el
1988         (c-forward-syntactic-ws, c-backward-syntactic-ws): Utilize the
1989         limit better when one is passed.  These are now macros to
1990         avoid a little overhead when no limit is given.
1991         (c-forward-sws, c-backward-sws): New functions called by the
1992         macros above to do the unbounded search.
1994         * progmodes/cc-fonts.el (c-font-lock-declarations):
1995         Implement a cache for the first backward search for a
1996         preceding `c-decl-prefix-re' match.  This typically speeds up
1997         interactive refontification a lot on the top level of macro
1998         heavy header files.
2000 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2002         * progmodes/cc-vars.el (c-emacs-features): Add check for
2003         syntax text properties.
2005         * progmodes/cc-mode.el (c-basic-common-init): Turn on
2006         `parse-sexp-lookup-properties' if it's supported.  Define the
2007         variable in any case since it's used at runtime to check on this.
2009         * progmodes/cc-langs.el (c-identifier-key): Support C++
2010         destructor names.
2011         (c-identifier-start, c-op-token-regexp, c-type-modifier-kwds)
2012         (c-opt-type-modifier-key, c-opt-type-component-key)
2013         (c-typedef-specifier-kwds, c-typedef-specifier-key)
2014         (c-paren-stmt-kwds, c-paren-stmt-key, c-syntactic-ws-start):
2015         A bunch of new language constants and variables to support the
2016         improved handling of names and types.
2018         * progmodes/cc-fonts.el (c-font-lock-declarators)
2019         (c-font-lock-declarations): Handle C++ template declarations
2020         and template references.  Fontify complex types and names more
2021         accurately by delegating it to `c-forward-type' and
2022         `c-forward-name'.  Fontify the identifiers in typedef
2023         declarations as types.
2025         * progmodes/cc-engine.el (c-forward-<>-arglist): New function
2026         to move forward over a C++ template arglist.  It also marks
2027         the '<' and '>' chars with paren syntax using the syntax-table
2028         property, to speed up later calls in emacsen that support
2029         syntax text properties (Emacs >= 20 and (undocumented) XEmacs 21).
2030         This also has the very interesting effect that if font locking
2031         is used with decoration level 3 or higher in these emacsen
2032         then template arglists will behave just like paren sexps with
2033         the various sexp movement commands.
2034         (c-forward-name): New function to move over a name.  Simple in
2035         most languages except C++ where a name can contain template
2036         arglists and therefore almost arbitrary expressions.
2037         (c-on-identifier): Fix for Pike operator identifiers.
2038         (c-simple-skip-symbol-backward, c-syntactic-content)
2039         (c-remove-<>-paren-properties): New helper functions.
2041         * progmodes/cc-defs.el: (c-clear-char-syntax)
2042         (c-mark-paren-open, c-mark-paren-close): New support functions
2043         to handle syntactic properties on C++ template arglist brackets.
2044         (c-put-type-face, c-put-reference-face): Helpers to put faces on
2045         regions, since there are a bit of that inside `c-forward-name' etc
2046         in progmodes/cc-engine.el.
2048         * progmodes/cc-engine.el, progmodes/cc-fonts.el,
2049         progmodes/cc-langs.el: Fix the names on a number of regexp
2050         language variables to conform to the nomenclature and
2051         shortened some names.
2053         * progmodes/cc-align.el, progmodes/cc-cmds.el,
2054         progmodes/cc-fonts.el, progmodes/cc-engine.el
2055         (c-syntactic-re-search-forward): Remove the COUNT argument
2056         since it's never used.  Add an argument to tell which
2057         subexpression whose end should be tested for syntactic
2058         relevance.  Using this also removes some optimizations, so
2059         that it's possible to use a look behind subexpression that
2060         matches the end of a literal or a close paren when PAREN-LEVEL
2061         is used.
2063         (c-guess-continued-construct): Don't match <<= or >>= for the
2064         stream-op syntactic element.
2066         * progmodes/cc-defs.el (c-paren-re, c-identifier-re):
2067         Remove these helper macros since better and more correct tools are
2068         now available in progmodes/cc-langs.el.
2070 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2072         * progmodes/cc-align.el (c-lineup-string-cont): New lineup
2073         function to line up string literals that will be concatenated.
2075 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2077         * progmodes/cc-langs.el (c-populate-syntax-table):
2078         XEmacs classifies the hard space character as a symbol character
2079         but it's better to let it be in the punctuation class so that it's
2080         always highlighted with the inverted invalid face.  It can
2081         perhaps be argued that that character is allowed in
2082         identifiers in some languages (haven't checked), but using it
2083         would still be extremely confusing.
2085 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2087         * progmodes/cc-engine.el (c-beginning-of-statement-1): Fix a
2088         case when a labeled substatement caused incorrect association
2089         of the following continuation clause.
2091         * progmodes/cc-engine.el (c-syntactic-re-search-forward):
2092         Handle the case when the syntactic match position is in the
2093         middle of a comment starter.
2095         (c-guess-continued-construct): Analyze the "K&R region" of a
2096         function nested inside a function as func-decl-cont and not
2097         statement-cont.  New case E.  Also clean up case C (stream-op
2098         recognition) a bit.
2100         * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
2101         Move the check on `c-state-cache-start' from
2102         `c-check-state-cache' to `c-parse-state' so that the state
2103         cache isn't zapped if `c-check-state-cache' but not
2104         `c-parse-state' is called during a temporary narrowing.
2105         This fixes a performance problem that could occur when
2106         `fill-paragraph' is used in font lock mode on a comment at the
2107         end of a large class or function.
2109         (c-state-cache-start): Fix buffer localness.
2111 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2113         * progmodes/cc-langs.el: Updates from the C99 standard (or
2114         actually from the latest web accessible draft of it).
2116 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2118         * progmodes/cc-langs.el: Update the keywords and operator
2119         tokens from the latest C++ and Java standards.  Some other
2120         multichar token corrections.
2122 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2124         * progmodes/cc-cmds.el, progmodes/cc-engine.el,
2125         progmodes/cc-vars.el (c-syntactic-context)
2126         (c-syntactic-element): Do not bind any values to these
2127         variables globally since they should always be dynamically
2128         bound.  This makes it much easier to debug cases when they've
2129         gotten global values somehow.
2131 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2133         * progmodes/cc-langs.el (c-regexp-opt): Fix to work around the
2134         non-greedy behavior that the regexp engine sometimes exposes.
2135         This bug only shows in (X)Emacs 19 where there's no regexp-opt package.
2137         * progmodes/cc-engine.el (c-syntactic-re-search-forward):
2138         Add a feature to filter out matches in the middle of tokens.
2139         Changed the comment to a docstring since I consider this
2140         function generally useful.
2142         * progmodes/cc-defs.el (c-mode-symbol): Break out a part of
2143         `c-mode-var'.
2145         * progmodes/cc-align.el (c-lineup-cascaded-calls)
2146         (c-lineup-gcc-asm-reg): Cope with that `c-most-enclosing-brace'
2147         might return nil.
2149 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2151         * progmodes/cc-engine.el (c-found-types, c-clear-found-types)
2152         (c-add-type, c-check-type, c-add-complex-type)
2153         (c-list-found-types, c-forward-type): Add a sort of symbol
2154         table for types: If a name is recognized as a type in a
2155         declaration it's added in an obarray to be able to recognize
2156         it in other ambiguous declarations.
2158         (c-remove-ws): New helper function to canonicalize fully
2159         qualified identifiers for `c-found-types'.
2161         * progmodes/cc-defs.el (c-mode-var): New defsubst to access
2162         mode prefixed variables uniformly.
2164 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2166         * progmodes/cc-align.el (c-lineup-arglist-close-under-paren):
2167         Work correctly with nested arglist-cont-nonempty symbols.
2169         (c-lineup-arglist-operators): New lineup function to line up infix
2170         operators under the open paren of the surrounding sexp.
2172 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2174         * progmodes/cc-engine.el (c-forward-syntactic-ws): Fix a bug
2175         that could cause an infinite loop if something that looks like
2176         a macro begins in the middle of a line.
2178         (c-parse-state): Fix a bug that could cause `c-state-cache'
2179         to contain two conses in sequence when there's an unbalanced
2180         open paren in a macro.
2182 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2184         * progmodes/cc-defs.el (c-face-name-p): A defsubst to
2185         recognize the name of a face in a way that works also in XEmacs.
2187         * progmodes/cc-engine.el (c-forward-type): New function to
2188         move past a type spec.
2190         * progmodes/cc-engine.el (c-syntactic-re-search-forward):
2191         Fix behavior when the limit is reached inside a comment,
2192         string, or a macro.
2194         * progmodes/cc-align.el, progmodes/cc-cmds.el,
2195         progmodes/cc-engine.el (c-forward-single-comment,
2196         c-forward-comments, c-backward-single-comment,
2197         c-backward-comments): New replacements for `c-forward-comment'
2198         that wraps `forward-comment' more efficiently in each of the
2199         four different cases it's actually used.  These replacements
2200         also treats line continuations as whitespace.
2202         (c-forward-comment): Remove.  The four different cases above
2203         are basically different, so it's better to make them into
2204         separate functions than choose between them at runtime using
2205         the argument.
2207 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2209         * progmodes/cc-align.el (c-gnu-impose-minimum): Fix bug due
2210         to the new placement of cpp-macro and comment-intro in the
2211         syntactic context, as pointed out by Kevin Ryde.  Change the
2212         method that decides whether point is inside a top-level
2213         construct to one that doesn't depend on the set of syntactic
2214         elements so much.
2216         * progmodes/cc-defs.el (c-point): Use the functions
2217         `line-beginning-position' and `line-end-position' in emacsen
2218         that have them (currently Emacs 20 and later).
2220 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2222         * progmodes/cc-cmds.el (c-mask-comment): Fix a bug that
2223         sometimes caused code after a closed block comment to be taken
2224         into account when the fill prefix is calculated.
2226 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2228         * progmodes/cc-align.el (c-lineup-arglist, c-lineup-argcont)
2229         (c-lineup-math, c-lineup-cascaded-calls, c-lineup-gcc-asm-reg):
2230         Fixes to cope correctly with nested arglists for the lineups
2231         that can be used with arglist-cont-nonempty.
2233 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2235         * progmodes/cc-engine.el (c-add-stmt-syntax, c-guess-basic-syntax):
2236         Change the anchor position of
2237         arglist-cont-nonempty and arglist-close so that a relative
2238         indentation like + can be used with consistent results.
2239         Prior to this, the indentation engine more or less assumed that
2240         arglist-cont-nonempty always used `c-lineup-arglist'.
2241         Those two syntax symbols also get the opening paren as an extra
2242         position, to make it possible for `c-lineup-arglist' to
2243         continue to do a proper job.
2245         * progmodes/cc-engine.el (c-get-syntactic-indentation):
2246         A vector with an absolute indentation column now only overrides
2247         the indentation for surrounding structures, i.e. those whose
2248         syntactic elements are earlier in the `c-syntactic-context'
2249         list, but not nested ones.  This so that
2250         e.g. `c-lineup-arglist' can reliably line up with the first
2251         argument but still allow relative indentation changes for
2252         nested things, e.g. the arglist-close of a nested argument
2253         list.  This change means that the order in
2254         `c-syntactic-context' has become more essential.
2255         (c-guess-basic-syntax): Changes to make the nesting order of the
2256         returned syntax list correct.
2258         Compatibility note: This change means that `c-lineup-dont-change'
2259         now (again) isn't absolutely sure to keep the current indentation.
2260         However, I believe that most people use it for comments, macros
2261         and string literals, and since those are nested innermost it won't
2262         matter.
2264 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2266         * progmodes/cc-align.el, progmodes/cc-defs.el,
2267         progmodes/cc-engine.el, progmodes/cc-vars.el
2268         (c-guess-basic-syntax, c-calc-offset)
2269         (c-get-syntactic-indentation, c-syntactic-context):
2270         Extend the representation of the syntactic context: Previously it was
2271         a list containing cons cells of the found syntactic symbols
2272         and their relpos values.  Now each element is instead a list
2273         containing the syntactic symbol in the first element and the
2274         relpos (if any) in the second.  After that there might be more
2275         elements, depending on the syntactic symbol.  The line-up
2276         functions get these additional elements as extra arguments.
2278         This change is slightly incompatible.  Although the calling
2279         convention for line-up functions is strictly extended, the format
2280         of the `c-syntactic-context' variable has changed slightly.  It's
2281         believed that this incompatibility is minor, though; not a single
2282         line-up function distributed with CC Mode needed to be changed,
2283         for instance.
2285 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2287         * progmodes/cc-styles.el (c-set-style, c-set-style-1):
2288         Add another state for the `dont-override' flag where it only keeps
2289         globally set variables.
2291 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2293         * progmodes/cc-mode.el (c-postprocess-file-styles): Do nothing
2294         except in CC Mode modes.
2296 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2298         * progmodes/cc-vars.el, progmodes/cc-fonts.el,
2299         progmodes/cc-langs.el, progmodes/cc-mode.el: Add font lock support.
2301         * progmodes/cc-engine.el (c-beginning-of-syntax): New function
2302         to be used for font-lock-beginning-of-syntax-function.
2303         It uses the state cache to quickly find a good position.
2305         * progmodes/cc-defs.el (c-major-mode-is): Allow a list of
2306         modes.  Made it a macro ensure that it's optimized to either
2307         eq or memq for constant arguments.
2309         * progmodes/cc-mode.el (c-common-init): Do away with the
2310         hardcoded setting of `comment-column'; it's a user variable
2311         that we have no business meddling with.  Since the default
2312         value for it is 32 in all supported (X)Emacs versions, it's
2313         also safe from a compatibility perspective.
2315         * progmodes/cc-mode.el (c-basic-common-init): New function
2316         that contains only the syntax and line breaking/filling
2317         initialization.  It's intended for use by other modes that
2318         embed CC Mode.
2320 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2322         * progmodes/cc-engine.el (c-add-stmt-syntax): Fix some cases
2323         of wrong anchoring, e.g. for else-if compounds.
2325 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2327         * progmodes/cc-engine.el (c-guess-basic-syntax): Fix anchor
2328         position for defun-open in K&R style functions.
2330         * progmodes/cc-engine.el (c-in-knr-argdecl): Don't trip up on macros.
2332         (c-search-decl-header-end): Handle C++ template arguments more
2333         correctly.
2335         (c-beginning-of-decl-1): Fix when the declaration is first in a macro.
2337 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2339         * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
2340         to handle protection labels, one which doesn't get confused by
2341         inherit colons.
2343         (c-end-of-decl-1): Don't treat functions that have "class" or
2344         "struct" in the return type as classes or structs.
2346 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2348         * progmodes/cc-langs.el (c-make-keywords-re): Fix the
2349         keyword adornment so that it works when a keyword ends with "_".
2351 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2353         * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
2354         from `c-do-auto-fill' and point is at or near the limit of the
2355         comment.  Fix bug when the prefix from `c-guess-fill-prefix'
2356         is longer than the text on the first line of the comment when
2357         it's masked.
2359 2003-07-03  Martin Stjernholm  <bug-cc-mode@gnu.org>
2361         * progmodes/cc-cmds.el (c-mask-comment): Fix bug where point
2362         was moved to the following line when it was at the first line
2363         of a block comment where comment-start-skip matched to eol.
2365 2003-07-01  Luc Teirlinck  <teirllm@mail.auburn.edu>
2367         * info.el (Info-fontify-menu-headers): Only fontify `* Menu:' at
2368         the beginning of a line.
2369         (Info-extract-menu-node-name): Correctly initialize while loop.
2370         (Info-scroll-prefer-subnodes): Change default to nil.
2372         * simple.el (vis-mode): Update documentation string to reflect
2373         earlier changes.
2375 2003-06-30  Richard M. Stallman  <rms@gnu.org>
2377         * loadup.el (pure-space-overflow): Set it if overflow.
2379         * startup.el (pure-space-overflow): New variable.
2380         (fancy-splash-screens-1): Display warning if overflow.
2381         (normal-splash-screen): Likewise.
2383         * vc.el (vc-default-show-log-entry): Use with-no-warnings.
2385         * subr.el (lazy-completion-table, dynamic-completion-table):
2386         New macros.
2388 2003-06-28  Richard M. Stallman  <rms@gnu.org>
2390         * menu-bar.el (menu-bar-options-menu): Move mouse-set-fonts item here.
2392         * international/mule-cmds.el (mule-menu-keymap):
2393         Delete mouse-set-fonts item here.
2395 2003-06-29  Nick Roberts  <nick@nick.uklinux.net>
2397         * gdb-ui.el (gdb-display-number-end): Don't re-initialise local
2398         variables to preserve array slices.
2399         (gdb-array-slice): Rename gdb-mouse-array-slice.
2400         (gdb-array-slice): Interactive function bound to "\r" for text
2401         terminals.
2402         (gdb-view-source): Rename gdb-view-source-function.
2403         Set uninitialised variables (defvars) to nil.
2405 2003-06-29  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
2407         * international/mule-cmds.el
2408         (set-display-table-and-terminal-coding-system): Remove CVS
2409         conflict markers and some code.
2411 2003-06-27  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
2413         * international/mule-cmds.el (menu-bar-options-menu):
2414         Move `mouse-set-fonts' here from Options/Mule submenu.
2416 2003-06-26  Stephen Eglen  <stephen@gnu.org>
2418         * iswitchb.el (iswitchb-read-buffer): Remove redundant variable
2419         iswitchb-prepost-hooks.
2420         (iswitchb-xemacs): Delete variable and use (featurep 'xemacs)
2421         and fboundp instead.
2422         (iswitchb-completions): Remove two redundant arguments and local
2423         variables. (All above from Stefan Monnier).
2425 2003-06-20  Masatake YAMATO  <jet@gyve.org>
2427         * progmodes/asm-mode.el (asm-font-lock-keywords):
2428         Support labels starting with "." and directives starting with ".".
2430 2003-06-22  Andreas Schwab  <schwab@suse.de>
2432         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2433         Avoid variable as format argument for error.
2434         Don't call symbol-name on string.
2436         * eshell/esh-opt.el (eshell-do-opt): Avoid variable as format
2437         argument for error.
2439         * simple.el (vis-mode): Doc fix.
2441 2003-06-22  Glenn Morris  <gmorris@ast.cam.ac.uk>
2443         * calendar/diary-lib.el (diary-check-diary-file): New function.
2444         (diary, view-diary-entries, show-all-diary-entries)
2445         (mark-diary-entries): Use it.
2446         (view-other-diary-entries): Doc fix.  Use `prefix-numeric-value'.
2447         (diary-syntax-table, diary-attrtype-convert, diary-mail-days): Doc fix.
2448         (diary-modified, d-file): No need to defvar (for compiler).
2449         (list-diary-entries): No need for `let*' so use `let'.
2450         (simple-diary-display): Use `diary-file' directly rather than
2451         inheriting `d-file' from `list-diary-entries' caller.
2452         (make-fancy-diary-buffer, show-all-diary-entries):
2453         `mode-line-format' already buffer-local.
2454         (diary-mail-addr): Set to the empty string (rather than nil) if
2455         undefined, as per `user-mail-address'.
2456         (diary-mail-entries): Doc fix.  Error if `diary-mail-address' unset.
2457         (mark-sexp-diary-entries): Don't regexp-quote sexp-mark twice.
2458         Remove an un-needed `if'.
2459         (list-sexp-diary-entries): Remove local vars mark and s-entry, and
2460         use `let' rather than `let*'.
2461         (diary-date, insert-monthly-diary-entry)
2462         (insert-yearly-diary-entry, insert-anniversary-diary-entry)
2463         (insert-block-diary-entry, insert-cyclic-diary-entry)
2464         (font-lock-diary-date-forms): No need for `let*' so use `let'.
2465         (make-diary-entry): Doc fix.  Use `or' rather than `if'.
2466         (diary-font-lock-keywords): Use `when'.  `cal-islam' is required
2467         feature, not `cal-islamic'.
2468         `calendar-islamic-month-name-array-leap-year' does not exist - use
2469         `calendar-islamic-month-name-array'.
2471 2003-06-21  Kenichi Handa  <handa@m17n.org>
2473         * international/utf-16.el: Many name changes: utf-16-{be,le} ->
2474         utf-16{be,le}.
2475         (mule-utf-16-le, utf-16-le, mule-utf-16-be, utf-16-be): New coding
2476         system aliases for backward compatibility.
2478         * international/utf-7.el: Adjusted for the name change:
2479         xxx-utf-16-{le,be} -> xxx-utf-16{le,be}.
2481         * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
2482         Adjust for the name change: xxx-utf-16-{le,be} ->
2483         xxx-utf-16{le,be}.
2485         * international/mule-conf.el: Adjusted for the name change:
2486         xxx-utf-16-{le,be} -> xxx-utf-16{le,be}.
2488         * international/mule-cmds.el (reset-language-environment):
2489         Adjust for the name change: xxx-utf-16-{le,be} ->
2490         xxx-utf-16{le,be}.
2492 2003-06-20  Luc Teirlinck  <teirllm@mail.auburn.edu>
2494         * vc.el (vc-rename-file): Fix typo.
2496 2003-06-19  Andreas Schwab  <schwab@suse.de>
2498         * info.el (Info-fontify-node): Improve calculation of other-tag.
2500 2003-06-19  Stefan Monnier  <monnier@cs.yale.edu>
2502         * progmodes/cc-mode.el (c-mode): Reverting last change.
2504 2003-06-18  Stefan Monnier  <monnier@cs.yale.edu>
2506         * progmodes/gud.el (gud-find-expr-function): Rename from gud-find-expr.
2507         (gud-find-fortran-expr): Move to fortran.el.
2509         * progmodes/fortran.el (fortran-gud-find-expr): Move from gud.el
2510         where it was called gud-find-fortran-expr.
2511         (fortran-mode): Set gud-find-expr-function.
2513 2003-06-18  Nick Roberts  <nick@nick.uklinux.net>
2515         * gdb-ui.el (gud-display1): Keep the gdb command, "display", in
2516         the command history.
2517         (gdb-restore-windows): Make restore work when gdb-many-windows
2518         is nil.
2519         (gdb-source-info, gdba): Display assembler if there is no symbol
2520         table for main, or message if there is no main.
2521         (gdb-assembler-custom): Move point to current line of assembler.
2523         * progmodes/gud.el (gud-menu-map): Add dbx support for "run" and
2524         "nexti".
2525         (dbx): Define gud-nexti and gud-run.
2526         (gud-find-expr, gud-find-fortran-expr): New functions.
2527         (gud-find-expr): New variable.
2528         (gud-find-c-expr): Simplify.
2530         * progmodes/fortran.el (fortran-gud-syntax-table): Syntax table
2531         for parsing Fortran expressions for gud-print. (Stefan Monnier)
2532         (fortran-mode): Add local variable gud-find-expr.
2534         * progmodes/cc-mode.el (c-mode): Add local variable gud-find-expr.
2536 2003-06-18  Stefan Monnier  <monnier@cs.yale.edu>
2538         * subr.el (looking-back): Handle the case of non-trivial regexps.
2539         Add an optional `limit' argument.
2540         (push, pop, with-temp-file, with-temp-message, delay-mode-hooks)
2541         (with-syntax-table): Add edebug info.
2543 2003-06-17  Stefan Monnier  <monnier@cs.yale.edu>
2545         * simple.el (kill-new): Leave yank-handler property alone if no
2546         explicit yank-handler is specified.
2547         (vis-mode-saved-buffer-invisibility-spec): Rename from
2548         saved-buffer-invisibility-spec.
2549         (vis-mode): Correctly handle the case where the mode is turned on
2550         or off several times in a row.
2552 2003-06-17  Luc Teirlinck  <teirllm@mail.auburn.edu>
2554         * info.el (Info-fontify-node): Give only the last whitespace
2555         character after the node name the display property.  Give all
2556         other such whitespace the invisibility property.
2558 2003-06-17  Pinku Surana  <surana@rcn.com>
2560         * progmodes/sql.el: Add support for SQLite interpreter.
2562 2003-06-17  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
2564         Version 2.0.35 of Tramp released.
2566         * net/tramp.el (tramp-password-end-of-line): Use "xy" with plink.
2567         (tramp-completion-function-alist): Add completion function for
2568         "remcp", "remsh" and "plink1".
2569         Factor out the `regular' file name handling via a remote shell of
2570         some sort into a specific function.  Intent is to later put that
2571         part of Tramp into a special file, so that the Tramp `core' is
2572         just a dispatcher that dispatches to various handlers.
2573         (tramp-sh-file-name-handler): New function.
2574         (tramp-foreign-file-name-handler-alist): New default value.
2575         Call tramp-sh-file-name-handler as default case.
2576         (tramp-file-name-handler): Do not invoke the old remote-shell handler.
2577         (tramp-find-foreign-file-name-handler): Return after first match
2578         is found.  From Francis Litterio <franl@world.std.com>.
2579         (tramp-handle-file-newer-than-file-p):  `tramp-time-diff' returns
2580         integer, not list.  Do not apply `car' to the return value of
2581         `tramp-time-diff'.  Reported by David D. Smith
2582         <ultrasoul@ultrasoul.com>.
2583         (tramp-time-diff): Convert return value of subtract-time to a
2584         number of seconds in a correct manner, by applying float-time or
2585         time-to-seconds.  Also correct compat code accordingly.
2586         The XEmacs branch for itimer-time-difference didn't need correction,
2587         it returned a float already.  Reported by David D. Smith
2588         <ultrasoul@ultrasoul.com>.
2589         (tramp-handle-insert-file-contents): When calling
2590         `file-local-copy', let-bind `inhibit-file-name-operation'
2591         accordingly.  This makes sure that jka-compr is not called when
2592         `insert-file-contents-literally' is invoked.  From Katsumi Yamaoka
2593         <yamaoka@jpl.org>.
2594         (tramp-do-copy-or-rename-via-buffer): Avoid calling jka-compr when
2595         writing the target file.
2596         (tramp-foreign-file-name-handler-alist): Add comment about default
2597         value having to come last.
2598         (tramp-handle-file-local-copy, tramp-handle-write-region): Add the
2599         "-p" hack.
2600         (tramp-handle-copy-file): Set file modes of target file.
2601         (tramp-handle-file-local-copy)
2602         (tramp-do-copy-or-rename-via-buffer): Use binary coding system,
2603         instead of no-conversion.  They are the same on Emacs but
2604         different on XEmacs.
2605         (tramp-shell-prompt-pattern): Allow multiple escape
2606         sequences (each with optional trailing space).
2608         * net/tramp-uu.el:
2609         * net/tramp-util.el:
2610         * net/tramp-efs.el: Use iso-2022-7bit encoding with coding cookie
2611         for XEmacs compatibility.
2613 2003-06-17  Kenichi Handa  <handa@m17n.org>
2615         * term/x-win.el (x-select-request-type): New variable.
2616         (x-select-utf8-or-ctext): New function.
2617         (x-selection-value): New function.
2618         (x-cut-buffer-or-selection-value): Call x-selection-value to get
2619         a selection data.  Set next-selection-coding-system to nil.
2621         * select.el (x-get-selection): If the string returned by
2622         x-get-selection-internal has text property `foreign-selection',
2623         decode it while preserving that property.
2625 2003-06-16  Stefan Monnier  <monnier@cs.yale.edu>
2627         * menu-bar.el (ispell-menu-bar): Don't autoload.
2628         (cvs-global-menu): Use the function rather than the variable.
2630         * pcvs-defs.el (cvs-global-menu): Define as a function as well.
2632         * emacs-lisp/debug.el (debug): Fix call to message.
2634 2003-06-16  Michael Mauger  <mmaug@yahoo.com> (tiny change)
2636         * emulation/cua-base.el (cua-mode): Use explicit arg to turn off
2637         minor modes.
2639 2003-06-16  Stefan Monnier  <monnier@cs.yale.edu>
2641         * emacs-lisp/cl-extra.el (cl-macroexpand-all):
2642         Don't burp if (cadr (caddr found)) encounters a non-list element.
2644         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Use map-keymap.
2645         (defsubst*): Don't put a `cl-whole argument if it's not used.
2647         * emacs-lisp/cl-specs.el (pushnew): Use keywordp.
2649         * emacs-lisp/disass.el (disassemble): Accept plain expressions.
2651         * add-log.el (add-log-edit-prev-comment, add-log-edit-next-comment):
2652         New commands.
2653         (change-log-mode-map): Bind them.
2654         (smerge-resolve-function): Declare to quieten the byte-compiler.
2655         (change-log-mode): Add the keymap to the docstring.
2657 2003-06-16  Luc Teirlinck  <teirllm@mail.auburn.edu>
2659         * simple.el (vis-mode): New function.
2660         (saved-buffer-invisibility-spec): New variable.
2662 2003-06-16  Juanma Barranquero  <lektu@terra.es>
2664         * progmodes/sh-script.el (sh-while-getopts, sh-if, sh-case):
2665         Revert part of previous change.
2667 2003-06-16  Pieter E.J. Pareit  <pieter.pareit@skynet.be>
2669         * progmodes/mixal-mode.el: New file.
2671 2003-06-16  Markus Rost  <rost@math.ohio-state.edu>
2673         * files.el (recover-session-finish): Don't give up when there are
2674         two consecutive empty lines in the auto-save-list file.
2676 2003-06-14  Stefan Monnier  <monnier@cs.yale.edu>
2678         * emacs-lisp/copyright.el (copyright-update-year): New function
2679         extracted from copyright-update.
2680         When `arg' is set, replace the year, not the `copyright' text.
2681         Ignore `copyright-update = nil' if called interactively.
2682         Use "," rather than ", " if that's what was used before.
2683         Recognize mixes of 2 and 4 digit years.
2684         Use replace-match.
2685         (copyright-update): Add interactivep arg.
2686         Use it instead of use last-command.
2687         Use replace-match.  Don't assume (point-min) == 1.
2689         * textmodes/tex-mode.el (tex-compile-commands):
2690         Handle tex-start-commands like tex-start-tex does.
2692         * cus-edit.el (custom-get-fresh-buffer): Kill overlays before erasing
2693         the buffer.
2695 2003-06-13  Ilya N. Golubev  <gin@mo.msk.ru>  (tiny change)
2697         * shell.el (shell-command-separator-regexp): New variable.
2698         (shell-directory-tracker): Make regexp used for skipping to next
2699         command correspond to one used for command itself.
2701 2003-06-13  Katsumi Yamaoka  <yamaoka@jpl.org>  (tiny change)
2703         * textmodes/texinfmt.el (texinfo-format-scan):
2704         Silence `whitespace-cleanup'.
2706 2003-06-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
2708         * calendar/timeclock.el (display-time-hook)
2709         (timeclock-modeline-display): Define for byte-compiler.
2710         (timeclock-time-to-date, timeclock-workday-remaining)
2711         (timeclock-time-to-seconds, timeclock-seconds-to-time):
2712         Move earlier in the file so defined before used.
2713         (timeclock-status-string): No need for `let*' so use `let'.
2714         (timeclock-query-out): Always return a non-nil value.
2716 2003-06-10  Rajesh Vaidheeswarran  <rv@gnu.org>
2718         * whitespace.el (whitespace-version): Bump to 3.3
2719         (whitespace-cleanup): Respect user preference for silence
2721         * whitespace.el: Remove :tag in commentary :link.  Remove empty
2722         lines in comment, since commentary seems to have a problem with that.
2724 2003-06-09  Stefan Monnier  <monnier@cs.yale.edu>
2726         * textmodes/tex-mode.el (tex-search-noncomment): New macro.
2727         (tex-last-unended-begin, tex-next-unmatched-end): Use it
2728         so we don't get confused by \begin and \end in comments.
2729         (tex-compile): Change dir before calling tex-compile-default.
2731 2003-06-09  Luc Teirlinck  <teirllm@mail.auburn.edu>
2733         * bindings.el (global-map): Bind `kill-whole-line' to
2734         C-S-<backspace>.  Remove M-S-<backspace> binding: too close to
2735         C-M-<backspace>.
2737         * dired.el (dired-re-dot): Make it handle trailing /.
2738         (dired-get-filename): Update documentation string.
2739         Revert previous change and fix typo in earlier version.
2741 2003-06-10  Kim F. Storm  <storm@cua.dk>
2743         * info.el (Info-fontify-node): Make `invisible' property
2744         non-sticky so that whitespace added by filling stays visible.
2745         Make refilling less agressive by starting at beginning of current
2746         line rather than beginning of current paragraph.
2748 2003-06-09  Andreas Schwab  <schwab@suse.de>
2750         * dired.el (dired-get-filename): Complain only about "." and "..",
2751         not all directories.
2753 2003-06-08  Nick Roberts  <nick@nick.uklinux.net>
2755         * gdb-ui.el (gdb-get-current-frame, gdb-frame-handler): Use Gdb
2756         command `info frame' instead of `frame' to preserve point.
2757         (gdb-invalidate-assembler): Only run disassemble again if frame
2758         has changed.
2759         (gdb-append-to-inferior-io): Revert change from 2003-05-17.
2761 2003-06-07  Stefan Monnier  <monnier@cs.yale.edu>
2763         * textmodes/texinfo.el (texinfo-enable-quote-macros): Fix thinko.
2764         (texinfo-insert-@table): Remove unused arg.
2765         (texinfo-show-structure): Remove unused var `source-buffer'.
2767         * info.el (Info-goto-node, Info-follow-reference, Info-menu-update)
2768         (Info-fontify-node): Don't search past header-end.
2769         Use match-string and line-end-position.
2771         * skeleton.el (skeleton-proxy-new): Consume the mark-active state.
2773         * textmodes/tex-mode.el (tex-mode-syntax-table)
2774         (tex-latex-indent-syntax-table): Don't use easy-mmode-defsyntax.
2776 2003-06-07  Jason Rumney  <jasonr@gnu.org>
2778         * mwheel.el (mouse-wheel-up-event, mouse-wheel-down-event):
2779         Use wheel-* events on darwin.
2781 2003-06-06  Era Eriksson  <era@iki.fi>  (tiny change)
2783         * shell.el (shell-resync-dirs): Tolerate an extra line of output
2784         before the list of directories from `shell-dirstack-query' (it
2785         looks for, and ignores, a literal copy of the value of
2786         shell-dirstack-query).
2788 2003-06-06  Lute Kamstra  <Lute.Kamstra@cwi.nl>
2790         * info.el (Info-complete-menu-item): Revert change of 2003-06-03.
2792 2003-06-06  Klaus Zeitler  <kzeitler@lucent.com>
2794         * progmodes/sh-script.el: Fix bug in "Options Loop" skeleton for
2795         ksh.  Add newlines to a few skeletons, add "select" keyword for bash.
2797 2003-06-06  Andreas Schwab  <schwab@suse.de>
2799         * info.el (Info-select-node): Doc fix.
2801 2003-06-06  Miles Bader  <miles@gnu.org>
2803         * frame.el (set-frame-font): Default to frame's current default font.
2805 2003-06-06  Kim F. Storm  <storm@cua.dk>
2807         * info.el (Info-fontify-node): Don't refill over lines ending in a
2808         period; this should fix problems with lists like one in the
2809         (emacs)Library Keywords section.
2811 2003-06-05  Markus Rost  <rost@math.ohio-state.edu>
2813         * dired.el (dired-get-filename): Don't err for . and .. for calls
2814         from dired-add-entry.
2816 2003-06-05  Takaaki Ota  <Takaaki.Ota@am.sony.com>
2818         * textmodes/table.el (table-cell-horizontal-chars): Rename from
2819         table-cell-horizontal-char.  Now a string value instead of a
2820         character.  ?= is allowed for horizontal boundary as well as ?-.
2821         (table-command-remap-alist, table-command-list): Change defconst to
2822         defvar because the value is modified.
2823         (table-insert, table-insert-row, table-insert-column)
2824         (table-recognize, table-recognize-region, table-widen-cell)
2825         (table-span-cell, table-split-cell-vertically): Change due to
2826         table-cell-horizontal-chars.
2827         (table--cell-horizontal-char-p): New function.
2828         (table--generate-source-scan-lines, table-delete-row)
2829         (table-delete-column, table--spacify-frame)
2830         (table--find-row-column, table--probe-cell-left-up)
2831         (table--probe-cell-right-bottom, table--probe-cell): Change due to
2832         table-cell-horizontal-chars.  From David Abrahams
2833         <dave@boost-consulting.com>
2835 2003-06-05  Juanma Barranquero  <lektu@terra.es>
2837         * gud.el: Moved to progmodes.
2839 2003-06-05  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>  (tiny change)
2841         * progmodes/tcl.el (tcl-mode): Set imenu-generic-expression to the
2842         value of tcl-imenu-generic-expression instead of the symbol.
2844 2003-06-05  Luc Teirlinck  <teirllm@mail.auburn.edu>
2846         * info.el (Info-mode): Mention `c' and remove duplicate mention
2847         of `q' in documentation string.
2849 2003-06-05  Lute Kamstra  <Lute.Kamstra@cwi.nl>
2851         * shell.el (shell-mode): Put `shell-filter-ctrl-a-ctrl-b' on
2852         `comint-output-filter-functions' when bash is used as the inferior
2853         shell.
2854         (shell-filter-ctrl-a-ctrl-b): New function.
2856 2003-06-05  Dave Love  <fx@gnu.org>
2858         * vc-hooks.el (vc-make-backup-files): Add :group backup.
2860 2003-06-05  Kim F. Storm  <storm@cua.dk>
2862         * info.el (Info-fontify-node): Individually refill menus and
2863         paragraphs to preserve menu items and varying indentation.
2864         Only color first 9 menu items differently.
2866 2003-06-05  Juanma Barranquero  <lektu@terra.es>
2868         * desktop.el: Add new maintainer.
2870 2003-06-04  Stefan Monnier  <monnier@cs.yale.edu>
2872         * textmodes/sgml-mode.el (sgml-parse-tag-backward): Try and detect
2873         when we're starting from within a tag.
2874         (sgml-get-context): When called from inside a tag, do something useful.
2875         Rename the arg now that it's never used for `full' context anymore.
2876         (sgml-calculate-indent): Make `lcon' an argument.
2877         Return nil when we DON'T know what to do.
2878         If the initial lcon turns out to be wrong, try again.
2879         (sgml-indent-line): If sgml-calculate-indent returns nil, don't indent.
2881 2003-06-04  Jason Rumney  <jasonr@gnu.org>
2883         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
2884         Default to new wheel-up and wheel-down events on MacOS.
2886         * term/mac-win.el: No need to bind wheel events specially.
2888 2003-06-04  Luc Teirlinck  <teirllm@mail.auburn.edu>
2890         * simple.el (yank-excluded-properties): Expand documentation string.
2892 2003-06-04  Richard M. Stallman  <rms@gnu.org>
2894         * emacs-lisp/lisp-mnt.el (lm-keywords-finder-p):
2895         Use with-no-warnings.
2897         * gud.el (gud-minor-mode-type): Move defvar up.
2899         * progmodes/compile.el (compilation-next-error): When moving fwd,
2900         compare position of point with the errors.
2902         * dired.el (dired-get-filename): Err for . and .. in usual case.
2903         (dired-get-file-for-visit): Specify no-error to dired-get-filename,
2904         and check for real errors here.
2905         (dired-unmark-all-files): Specify no-error to dired-get-filename.
2907         * buff-menu.el (list-buffers-noselect): Use window-inside-edges
2908         to compute the number of offset spaces.
2909         (list-buffers-noselect): Use Buffer-menu-buffer+size to
2910         indent the dashes properly.  Put some in fixed-pitch.
2912 2003-06-04  Lars Hansen  <larsh@math.ku.dk>
2914         * desktop.el (desktop-create-buffer): Undo last change.
2915         (desktop-kill, desktop-save, desktop-remove): Use expand-directory
2916         rather than concat to construct desktop filename.
2917         (desktop-kill, desktop-read, desktop-change-dir):
2918         Ensure desktop-dirname is a directory name.
2919         (desktop-change-dir): Fix bug when DIR was relative.
2921 2003-06-04  Alex Coventry  <alex_c@mit.edu>  (tiny change)
2923         * files.el (after-find-file): Fix arguments of call to `sit-for'.
2925 2003-06-03  Stefan Monnier  <monnier@cs.yale.edu>
2927         * info.el (Info-extract-menu-node-name): Remove unused arg errmessage.
2928         (Info-follow-reference): Update corresponding call.
2929         (Info-node-spec-re): New const.
2930         (Info-complete-menu-item): Use it to only allow : when necessary.
2931         (Info-fontify-node): Use it as well.  Fixup typo.
2933         * info.el (info-fontify-node): Use better help-echo text.
2934         Use :align-to display prop.
2935         Use `invisible' rather than `display' prop to hide text.
2937         * info.el (Info-mode-hook): Obey obsolete `Info-fontify'.
2938         (Info-find-in-tag-table-1): Remove unused vars.
2939         (Info-display-images-node): Remove unused var paragraph-markers.
2940         (Info-header-line): Remove.
2941         (Info-select-node): Don't set it.
2942         (Info-search): Remove unused var `current'.
2943         (Info-follow-reference): Remove unused var `beg'.
2944         (Info-extract-menu-node-name): Remove unused var `i'.
2945         (Info-complete-menu-item): Use `with-current-buffer'.
2946         (Info-index): Remove unused var `rnode'.
2947         (Info-mode): Set header-line-format to check text-properties directly.
2948         (Info-find-emacs-command-nodes): Remove unused var `found' and `exact'.
2949         (Info-fontify-node): Use `push'.
2950         (Info-speedbar-hierarchy-buttons): Use `dolist'.
2951         (Info-speedbar-goto-node, Info-speedbar-fetch-file-nodes):
2952         Check the return value of `string-match'.
2953         (Info-speedbar-fetch-file-nodes): Factor out common code.
2955 2003-06-03  Lute Kamstra  <Lute.Kamstra@cwi.nl>
2957         * cus-edit.el (custom-get-fresh-buffer): Test for nonexistence buffer.
2959 2003-06-03  Richard M. Stallman  <rms@gnu.org>
2961         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
2962         Add save-excursion.
2964         * windmove.el (windmove-reference-loc, windmove-frame-edges):
2965         Use window-inside-edges.
2966         (windmove-do-window-select): Fix error messages.
2968         * files.el (after-find-file): Simplify msg if nonexistent directory.
2969         (make-directory): Doc fix.
2971         * dabbrev.el (dabbrev--goto-start-of-abbrev):
2972         Use minibuffer-prompt-end.
2974         * comint.el (comint-move-point-for-output): Renamed from
2975         comint-scroll-to-bottom-on-output.  Old name is alias.
2976         All uses changed.  Doc fix.
2977         (comint-scroll-show-maximum-output): Doc fix.
2979         * comint.el (comint-exec-1): Don't use directory-sep-char.
2980         (comint-dynamic-complete-as-filename): Likewise.
2982         * bindings.el (global-map): Delete C-M-delete and C-M-backspace.
2984 2003-06-03  Markus Rost  <rost@math.ohio-state.edu>
2986         * progmodes/ps-mode.el (ps-mode): Use autoload cookie in the
2987         standard way.
2989 2003-06-02  Stefan Monnier  <monnier@cs.yale.edu>
2991         * textmodes/bibtex.el (bibtex-member-of-regexp)
2992         (bibtex-assoc-of-regexp, bibtex-format-entry, bibtex-find-entry)
2993         (bibtex-autokey-demangle-name, bibtex-string-files-init, bibtex-mode):
2994         Fix up regexp usage and use match-string.
2996 2003-06-02  Roland Winkler  <roland.winkler@physik.uni-erlangen.de>
2998         * textmodes/bibtex.el: Long overdue merge.
2999         Don't require `compile' since it seems unnecessary.
3000         For all internal variables and functions the docstring comments have
3001         been converted into proper docstrings
3002         (bibtex-maintainer-address, bibtex-maintainer-salutation)
3003         (bibtex-version): Remove support for bug reporting.
3004         (bibtex-field-delimiters, bibtex-entry-delimiters)
3005         (bibtex-sort-ignore-string-entries, bibtex-maintain-sorted-entries)
3006         Replace make-variable-buffer-local by make-local-variable for
3007         (bibtex-entry-format): New tag `required-fields'.
3008         (bibtex-maintain-sorted-entries): New var.
3009         (bibtex-sort-entry-class, bibtex-sort-entry-class-alist): New vars.
3010         (bibtex-predefined-month-strings, bibtex-predefined-strings):
3011         Make into alists with pairs (abbreviation expansion).
3012         (bibtex-autokey-titleword-change-strings)
3013         (bibtex-autokey-transcriptions): Make into alists.
3014         Add new replacement pairs.
3015         (bibtex-autokey-use-crossref): New var.
3016         Replace bibtex-autokey-year-use-crossref-entry because updated code
3017         for autokey generation handles crossrefs independently of
3018         particular fields.
3019         (bibtex-reference-key, bibtex-mode-syntax-table):
3020         Remove = because it can't be part of a string's key.
3021         (bibtex-complete-key-cleanup): New var.
3022         (bibtex-complete): Merge bibtex-complete-string and bibtex-complete-key
3023         into it (and bind to M-tab).
3024         (bibtex-valid-entry-re, bibtex-any-valid-entry-re)
3025         (bibtex-valid-entry-whitespace-re, bibtex-empty-field-re)
3026         (bibtex-quoted-string-re): New vars.
3027         (bibtex-field-name-for-parsing): Don't make-variable-buffer-local.
3028         (zmacs-regions): Declare to quieten the byte-compiler.
3029         (bibtex-comment-start): Don't include the space.
3030         (bibtex-font-lock-syntactic-keywords): New var.
3031         (bibtex-font-lock-keywords): Remove the entry for @Comment.
3032         (bibtex-parse-field-string): Merge the functionality of
3033         bibtex-parse-field-string-braced, bibtex-parse-quoted-string and
3034         bibtex-parse-field-string-quoted.
3035         (bibtex-search-forward-field-string): Remove.
3036         (bibtex-parse-association): Use when.
3037         (bibtex-parse-field-name): Use when.
3038         (bibtex-parse-field-text): Use when and cond.
3039         (bibtex-parse-field): Use let.
3040         (bibtex-search-forward-field, bibtex-search-backward-field):
3041         Make bound optional, use let, setq, and cddr.
3042         (bibtex-start-of-field, bibtex-start-of-name-in-field)
3043         (bibtex-end-of-name-in-field): Use nth.
3044         (bibtex-name-in-field, bibtex-text-in-field-bounds)
3045         (bibtex-text-in-field, bibtex-type-in-head, bibtex-key-in-head)
3046         (bibtex-text-in-string): New functions.
3047         (bibtex-reference-key-in-string): New fun.  Merge of
3048         bibtex-start-of-reference-key-in-string and
3049         bibtex-end-of-reference-key-in-string.
3050         (bibtex-parse-string-prefix): Use let and when.
3051         (bibtex-parse-string-postfix): Use when.
3052         (bibtex-search-forward-string, bibtex-search-backward-string):
3053         Use save-excursion and setq.
3054         (bibtex-member-of-regexp): Use let.
3055         (bibtex-assoc-of-regexp): Use caar und let.
3056         (bibtex-skip-to-valid-entry): Return buffer position.
3057         (bibtex-map-entries): Use save-excursion.
3058         (bibtex-progress-message): Simplify.
3059         (bibtex-search-entry): Use skip-chars-forward, when, save-match-data.
3060         (bibtex-move-outside-of-entry): Handle the case that point is before
3061         first entry.
3062         (bibtex-enclosing-field): Use save-excursion, when.
3063         (bibtex-format-field-delimiters): Merge into bibtex-format-entry.
3064         (bibtex-enclosing-entry-maybe-empty-head): Simplify.
3065         (bibtex-format-entry): Simplify.  Handle new tag required-fields of
3066         bibtex-entry-format.
3067         (bibtex-autokey-abbrev): Accept negative values of len.
3068         (bibtex-autokey-get-field, bibtex-autokey-demangle-title): New funs.
3069         (bibtex-autokey-get-namefield, bibtex-autokey-get-namelist)
3070         (bibtex-autokey-get-yearfield-digits, bibtex-autokey-get-yearfield)
3071         (bibtex-autokey-get-titlestring): Remove.
3072         (bibtex-autokey-get-names): Simplify.
3073         (bibtex-autokey-get-titles): Rename to bibtex-autokey-get-title.
3074         (bibtex-autokey-demangle-name): Simplify, avoid error messages.
3075         (bibtex-generate-autokey): Simplify.
3076         (bibtex-parse-keys): Simplify, use push.
3077         (bibtex-parse-strings): New fun similar to bibtex-parse-keys.
3078         (bibtex-string-files-init): New fun.
3079         (bibtex-parse-buffers-stealthily): Use bibtex-parse-keys,
3080         bibtex-string-files-init and bibtex-parse-strings.
3081         (bibtex-complete): Rename to bibtex-complete-internal, use push,
3082         bibtex-reference-key-in-string, no sorting.
3083         (bibtex-complete-string-cleanup): New fun, displays expansion of
3084         completed strings.
3085         (bibtex-choose-completion-string): New fun.  Required for
3086         choose-completion-string-functions.
3087         (bibtex-do-auto-fill): Remove.  Set fill-prefix in bibtex-mode.
3088         (bibtex-pop): Simplify.
3089         (bibtex-mode): Move setting of bibtex-string to bibtex-parse-strings.
3090         Set choose-completion-string-functions.
3091         (bibtex-print-help-message,bibtex-make-field, bibtex-end-of-entry)
3092         (bibtex-count-entries): Simplify.
3093         (bibtex-entry-index, bibtex-lessp): New funs for generalized sorting
3094         scheme of indices, see bibtex-maintain-sorted-entries.
3095         (bibtex-sort-buffer): Use bibtex-lessp for sorting.
3096         (bibtex-find-crossref, bibtex-find-entry): New funs.
3097         (bibtex-find-entry-location): Rename to bibtex-prepare-new-entry, use
3098         bibtex-lessp, Simplify.
3099         (bibtex-validate): Simplify.  Fixe bug of internal variable
3100         questionable-month.
3101         (bibtex-remove-OPT-or-ALT): Use when.
3102         (bibtex-remove-delimiters, bibtex-kill-field, bibtex-kill-entry)
3103         (bibtex-clean-entry, bibtex-fill-entry, bibtex-reformat): Simplify.
3104         (bibtex-convert-alien): Use deactivate-mark rather than the
3105         non-existent bibtex-mark-active variable.
3106         (bibtex-complete-string, bibtex-complete-key): Merge into new
3107         `smart' defun bibtex-complete.
3108         (bibtex-String): Update for new sorting scheme, distinguish empty and
3109         non-empty key strings.
3111 2003-06-02  Stefan Monnier  <monnier@cs.yale.edu>
3113         * sort.el (sort-subr): Add `predicate' arg.  Remove `sortcar' code.
3115 2003-06-02  Lute Kamstra  <Lute.Kamstra@cwi.nl>
3117         * emacs-lisp/lisp-mnt.el (lm-synopsis): Use relative filenames
3118         correctly.  Show the synopsis to the user when appropriate.
3119         Do not kill buffers that were created outside `lm-synopsis'.
3121 2003-06-01  Stefan Monnier  <monnier@cs.yale.edu>
3123         * cus-edit.el (custom-get-fresh-buffer): Be extra paranoid,
3124         just in case some used a file of the wrong name.
3126         * progmodes/sh-script.el (sh-is-quoted-p): New fun.
3127         (sh-font-lock-paren): Use it to allow \C in case patterns.
3128         (sh-get-indent-info): Check the \n before the line for string-status.
3129         (sh-feature): Remove unused var `function'.
3130         (sh-get-indent-info): Remove unused variables.
3131         (sh-prev-thing): Remove unused vars `going', `n', and `found'.
3132         (sh-set-indent): Remove unused var `new-val' and `val0'.
3133         (sh-learn-buffer-indent): Remove unused vars `last-pos' and `lines'.
3134         (sh-guess-basic-offset): Remove unused var `return' and `j'.
3136 2003-05-27  David Ponce  <david@dponce.com>
3138         * ruler-mode.el
3140         Version 1.6
3142         Take into account changes made to the display margins, fringes and
3143         scroll-bar handling.
3145         (ruler-mode-margins-char): Remove.  Not used anymore.
3146         (ruler-mode-pad-face, ruler-mode-fringes-face): New faces.
3147         (ruler-mode-margins-face): New definition.  Move.
3148         (ruler-mode-left-fringe-cols)
3149         (ruler-mode-right-fringe-cols)
3150         (ruler-mode-left-scroll-bar-cols)
3151         (ruler-mode-right-scroll-bar-cols): Reimplement.  Move.
3152         (ruler-mode-full-window-width)
3153         (ruler-mode-window-col): New functions.
3154         (ruler-mode-mouse-set-left-margin)
3155         (ruler-mode-mouse-set-right-margin)
3156         (ruler-mode-mouse-add-tab-stop)
3157         (ruler-mode-mouse-del-tab-stop): Reimplement.
3158         (ruler-mode-mouse-current-grab-object): Rename to...
3159         (ruler-mode-dragged-symbol): New.
3160         (ruler-mode-mouse-grab-any-column): Use it.  Clean up.
3161         (ruler-mode-mouse-drag-any-column): Likewise.
3162         (ruler-mode-mouse-drag-any-column-iteration): Simplify.
3163         (ruler-mode): Restore previous `header-line-format' if
3164         `ruler-mode-header-line-format-old' has a local binding in current
3165         buffer.
3166         (ruler-mode-left-margin-help-echo)
3167         (ruler-mode-right-margin-help-echo): Remove.
3168         (ruler-mode-margin-help-echo)
3169         (ruler-mode-fringe-help-echo): New constants.
3170         (ruler-mode-ruler): Use them.  Reimplement.
3172 2003-06-01  Jason Rumney  <jasonr@gnu.org>
3174         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
3175         Default to new wheel-up and wheel-down events on Windows.
3177         * term/w32-win.el: No need to bind wheel events specially.
3179 2003-06-01  Michael Kifer  <kifer@cs.stonybrook.edu>
3181         * desktop.el (desktop-create-buffer): Add (desktop-first-buffer) to
3182         the let-statement to avoid the startup error that desktop-first-buffer
3183         is undefined.
3185 2003-06-01  Andreas Schwab  <schwab@suse.de>
3187         * man.el (Man-name-regexp): Also match Latin-1 soft hyphen.
3188         (Man-build-references-alist): Handle Latin-1 soft hyphen.
3190 2003-05-31  Stephen Eglen  <stephen@gnu.org>
3192         * iswitchb.el (iswitchb-buffer-ignore): Update custom type to
3193         allow functions.
3195 2003-05-31  Stefan Monnier  <monnier@cs.yale.edu>
3197         * view.el (view-file, view-file-other-window, view-file-other-frame):
3198         Signal an error when trying to visit an inexistent file.
3200         * vc-hooks.el (vc-call-backend): Give better error message
3201         when a backend function is missing.
3202         (vc-find-file-hook): USe unless.  Merge if and cond.
3204         * vc.el (vc-directory-exclusion-list): Add MCVS and .svn.
3205         (vc-checkin-hook): Adjust option to new name.
3207         * log-edit.el (log-edit-maximum-comment-ring-size)
3208         (log-edit-comment-ring, log-edit-comment-ring-index)
3209         (log-edit-last-comment-match): Rename vars from
3210         vc-maximum-comment-ring-size, vc-comment-ring, vc-comment-ring-index,
3211         and vc-last-comment-match.
3212         (log-edit-new-comment-index, log-edit-previous-comment)
3213         (log-edit-next-comment, log-edit-comment-search-backward)
3214         (log-edit-comment-search-forward, log-edit-comment-to-change-log):
3215         Rename funs from vc-new-comment-index, vc-previous-comment,
3216         vc-next-comment, vc-comment-search-reverse, vc-comment-search-forward,
3217         and vc-comment-to-change-log.
3219         * wid-edit.el (widget-specify-insert): Simplify.
3220         (widget-editable-list-entry-create): Don't assume that %d and %i are
3221         in the format string.
3222         (widget-map-buttons): Remove unused var `parent'.
3223         (widget-move): Remove unused shadowed var `new'.
3224         (widget-color-action): Remove unused var `pos'.
3226         * cus-edit.el (custom-get-fresh-buffer): New fun.
3227         (custom-buffer-create, custom-buffer-create-other-window)
3228         (customize-browse): Use it instead of killing buffers.
3229         (custom-bury-buffer): Obey the argument.
3230         (custom-variable-reset-saved, custom-variable-reset-standard):
3231         Remove unused var `comment-widget'.
3232         (custom-face-edit-deactivate): Remove unused var `to'.
3233         (custom-save-variables): Remove unused var `sep'.
3235 2003-05-31  John Paul Wallington  <jpw@gnu.org>
3237         * files.el (large-file-warning-threshold): Add type, groups.
3239         * progmodes/delphi.el (delphi-ignore-changes): Defvar; non-constant.
3241 2003-05-31  Kenichi Handa  <handa@m17n.org>
3243         * files.el (recover-file): Bind coding-system-for-read to
3244         auto-save-coding.
3246 2003-05-31  Juanma Barranquero  <lektu@terra.es>
3248         * misc.el (mark-beginning-of-buffer, mark-end-of-buffer)
3249         (upcase-char, forward-to-word, backward-to-word): Move from unused.el.
3251         * unused.el: Deleted (contents moved to misc.el).
3253         * options.el:
3254         * emacs-lisp/float.el:
3255         * textmodes/scribe.el: Moved to obsolete.
3257         * byte-run.el:
3258         * derived.el:
3259         * float-sup.el:
3260         * map-ynp.el:
3261         * regi.el:
3262         * timer.el:
3263         * warnings.el: Moved to emacs-lisp.
3265         * enriched.el: Moved to textmodes.
3267         * textmodes/outline.el: Moved to lisp.
3269         * which-func.el: Moved to progmodes.
3271         * loadup.el: Load byte-run.el, map-ynp.el, timer.el and float-sup.el
3272         from emacs-lisp.
3274 2003-05-31  Tom Wurgler  <twurgler@goodyear.com>  (tiny change)
3276         * subr.el (looking-back): New function to check for regular
3277         expression before point.
3279 2003-05-30  Stefan Monnier  <monnier@cs.yale.edu>
3281         * newcomment.el (comment-empty-lines): New var.
3282         (comment-region-internal): Use it.
3284         * textmodes/tex-mode.el (latex-block-args-alist)
3285         (latex-block-body-alist): New vars.
3286         (latex-insert-block): Use them.
3287         (tex-string-prefix-p): New fun.
3288         (tex-guess-main-file): Use it to detect when the main file
3289         is in a parent directory.
3290         (tex-main-file): Try to find a main-file in parent directories.
3291         (tex-compile-default): Don't use `gv' on pdf files just because
3292         `gv' was used recently on a ps file.  Remove unused arg `dir'.
3293         Reuse a previous command as-is if it applied to the same file.
3294         (tex-compile): Use the right file name when file is not in dir.
3296         * textmodes/refill.el (refill-adjust-ignorable-overlay):
3297         Don't hardcode pint-min == 1.
3298         (refill-fill-paragraph-at): Use a more robust method to detect
3299         when the paragraph is after point.  Remove unused var `fill-pfx'.
3301         * xml.el (xml-parse-tag): Return (foo nil) rather than (foo nil "")
3302         for <foo/>, to make it behave like <foo></foo>.
3304         * emacs-lisp/edebug.el (edebug-storing-offsets): Move indent
3305         and debug to inside the macro.
3306         (edebug-read-storing-offsets): Simplify.
3307         (edebug-read-quote, edebug-read-function): Place the
3308         start-position correctly.
3309         (edebug-read-backquote-new): Remove.
3310         (edebug-read-backquote-level): New var to replace it.
3311         (edebug-read-backquote): Increment it.
3312         Don't store offsets one extra time.
3313         (edebug-read-comma): Decrement it.  Read the comma as a plain
3314         symbol if outside of any new-style backquote.
3315         (edebug-read-list): Use edebug-read-backquote-level.
3316         Don't call edebug-read-backquote directly.  This way the extra
3317         offsets store is done exactly when it's needed.
3318         (edebug-read-vector): Use push.
3319         (defmacro): Add support for the `declare' thingy.
3321 2003-05-29  Stefan Monnier  <monnier@cs.yale.edu>
3323         * forms.el (forms-mode-hook): Rename from forms-mode-hooks.
3324         (forms-mode): Use add-hook rather than make-local-variable+setq.
3325         Use with-current-buffer.  Run the new and the old hooks.
3326         (forms--update): Use with-current-buffer and line-end-position.
3327         (forms--goto-record): New fun.
3328         (forms-jump-record, forms-insert-record, forms-delete-record): Use it.
3329         (forms--process-format-list): Remove unused var `this-item'.
3330         (forms--intuit-from-file): Remove unused var `the-result'.
3331         (forms--trans): Remove unused var `x'.
3332         (forms--exit, forms-exit, forms-exit-no-save): Remove unused arg.
3334         * emacs-lisp/edebug.el (edebug-window-list): Use push.
3335         (edebug-macrop): Use functionp.
3336         (edebug-functionp): Remove.
3337         (edebug-get-displayed-buffer-points): Use push.
3338         (edebug-set-buffer-points): Use save-current-buffer and buffer-live-p.
3339         (edebug-list-form): Remove dead code.
3340         (backquote-form): Correctly handle `(a . ,b).
3341         (edebug-mode-map, global-edebug-map): Move init to inside the defvar.
3342         (define-derived-mode, define-minor-mode): Remove outdated spec.
3343         (save-match-data, with-output-to-string, with-current-buffer)
3344         (combine-after-change-calls, with-temp-buffer, dolist, dotimes)
3345         (unless, when): Remove specs that are now in the corresponding macro.
3347         * emacs-lisp/easy-mmode.el (define-minor-mode): Add edebug spec.
3348         Accept a :keymap argument, as you'd expect.
3350         * derived.el (define-derived-mode): Add a proper edebug declaration.
3352 2003-05-29  Luc Teirlinck  <teirllm@mail.auburn.edu>
3354         * simple.el (kill-whole-line): Make it interact correctly with
3355         the kill ring.
3357 2003-05-29  Kenichi Handa  <handa@m17n.org>
3359         * international/mule.el (ctext-non-standard-encodings-alist):
3360         Rename from non-standard-icccm-encodings-alist.
3361         (ctext-non-standard-encodings-regexp): New variable
3362         (ctext-post-read-conversion): Full rewrite.
3363         (ctext-non-standard-designations-alist): Rename from
3364         non-standard-designations-alist.
3365         (ctext-pre-write-conversion): Full rewrite.
3367 2003-05-28  Stefan Monnier  <monnier@cs.yale.edu>
3369         * info.el (Info-fontify-node): Hide \n------- rather than -------\n.
3371         * skeleton.el (skeleton-edebug-spec): First cut of an edebug spec.
3372         (define-skeleton): Use it.
3374 2003-05-28  Andreas Schwab  <schwab@suse.de>
3376         * descr-text.el (describe-char): Use `char' instead of
3377         `(char-after)'.  Fix display of unicode.
3379 2003-05-28  Nick Roberts  <nick@nick.uklinux.net>
3381         * gud.el (gud-gdb-goto-stackframe, gud-gdb-get-stackframe):
3382         Add server prefix to the gdb commands used by the speedbar.
3384 2003-05-28  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
3386         * simple.el (kill-region): If nothing was killed, and the
3387         previous command was not a kill, break kill sequence.
3389 2003-05-28  Richard M. Stallman  <rms@gnu.org>
3391         * textmodes/refill.el (refill-fill-paragraph-at):
3392         Avoid refilling the following paragraph.
3393         (refill-doit): Doc fix.
3395         * emulation/vip.el (ctl-x-map): Don't bind C-x C-i or C-x 3.
3396         (global-map): Don't bind C-z.
3397         (vip-setup): New function to rebind C-x 7 and C-z.
3399         * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
3400         Undo previous change (don't check for eob).  Widen at the beginning.
3402         * map-ynp.el (map-y-or-n-p): No special handling for exit-prefix.
3403         In help string, mention C-g but not ESC.
3405         * jka-compr.el (jka-compr-insert-file-contents):
3406         When REPLACE, delete the proper range of text.
3408         * info.el (Info-index): Add autoload cookie.
3410         * forms.el (forms-mode): Use write-file-functions instead
3411         of local-write-file-hooks.  Use make-local-variable to make it local.
3413         * descr-text.el (describe-char-unicode-data): New dummy definition.
3414         (unicode-data): Comment out since we can't use UnicodeData.txt as is.
3415         (describe-char-unicodedata-file): Variable renamed and commented out.
3417         * faces.el (set-face-attribute): Set face-modified prop to t
3418         when we change the new-frame defaults.
3419         (face-spec-set): Set face-modified prop to nil
3420         when we change the new-frame defaults.
3422         * cus-edit.el (custom-face-state-set): non-nil `face-modified'
3423         means face was set outside of Custom.
3425 2003-05-28  Richard M. Stallman  <rms@gnu.org>
3427         * byte-run.el (with-no-warnings): New function.
3429         * emacs-lisp/bytecomp.el (byte-compile-no-warnings): New function.
3430         (with-no-warnings): Set up compile handler.
3432         * startup.el (command-line-1): Use with-no-warnings.
3434         * type-break.el (type-break-cancel-function-timers):
3435         Use with-no-warnings.
3437 2003-05-28  Luc Teirlinck  <teirllm@mail.auburn.edu>
3439         * env.el (substitute-env-vars): Fix typo.
3441 2003-05-28  Walter C. Pelissero  <walter@pelissero.de>  (tiny change)
3443         * net/browse-url.el (browse-url-mozilla): Correct the conditionals
3444         for using ,new-window.
3446 2003-05-27  Glenn Morris  <gmorris@ast.cam.ac.uk>
3448         * progmodes/sh-script.el (sh-here-document-word):
3449         Document new treatment of leading "-".
3450         (sh-maybe-here-document): Strip a leading "-" from closing
3451         heredoc delimiter, if present.
3453         * align.el (align-rules-list): Doc fix.
3455         * calendar/timeclock.el: Update copyright.
3456         (timeclock-ask-before-exiting): Put `timeclock-query-out' on
3457         `kill-emacs-query-functions' rather than `kill-emacs-hook'.
3458         (timeclock-mode-string): Doc fix.
3459         (timeclock-modeline-display): Doc fix.  Use `global-mode-string'
3460         rather than `mode-line-format'.
3461         (timeclock-query-out): Doc fix.
3462         (timeclock-update-modeline): No need for `let*', so use `let'.
3463         Add some help-echo text to `timeclock-mode-string'.
3464         (timeclock-mode-string): Give it the risky-local-variable
3465         property, so that help-echo text will display.
3466         (timeclock-find-discrep): Set `accum' to 0 if
3467         `timeclock-discrepancy' is nil.
3469 2003-05-27  Stefan Monnier  <monnier@cs.yale.edu>
3471         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function):
3472         Don't infinite loop at bob.
3473         (emacs-lisp-mode): Mark its main custom group to be `lisp'.
3474         (prin1-char): New fun.
3475         (eval-last-sexp-1): Use it.  Use with-syntax-table as well.
3476         (eval-defun-1): Don't replace `defvar' with `defconst'.
3478 2003-05-27  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
3480         * bindings.el (global-map): Bind M-S-<backspace to kill-whole-line.
3482 2003-05-26  Stefan Monnier  <monnier@cs.yale.edu>
3484         * gud.el (gud-find-class): Remove unused var `pos'.
3485         (gdb-script-mode-syntax-table, gdb-script-font-lock-keywords)
3486         (gdb-script-font-lock-syntactic-keywords)
3487         (gdb-script-font-lock-syntactic-face, gdb-script-basic-indent)
3488         (gdb-script-skip-to-head, gdb-script-calculate-indentation)
3489         (gdb-script-indent-line, gdb-script-mode): New mode to edit
3490         .gdbinit-like scripts.
3492 2003-05-26  John Paul Wallington  <jpw@gnu.org>
3494         * faces.el (display-supports-face-attributes-p): Doc fix.
3495         (x-create-frame-with-faces): Call `face-set-after-frame-default'.
3497 2003-05-26  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
3499         * bindings.el (global-map): Don't bind S-<backspace>.  Too many
3500         people hit it by mistake.
3502 2003-05-26  Andre Spiegel  <spiegel@gnu.org>
3504         * vc.el (vc-delete-file): Fix free variable reference.
3505         (vc-annotate-display): Remove obsolesence declaration; it isn't
3506         obsolete.
3508 2003-05-25  Kevin Ryde  <user42@zip.com.au>
3510         * info-look.el (autoconf-mode setups): Recognise AH_ and AU_ entries
3511         in "(autoconf)Autoconf Macro Index".  Add "(autoconf)M4 Macro Index"
3512         and "(autoconf)Autotest Macro Index".  Remove duplicate copy of
3513         "(automake)Macro and Variable Index".  Keep automake after all
3514         autoconf possibilities, so as to prefer those.
3516 2003-05-25  Stefan Monnier  <monnier@cs.yale.edu>
3518         * skeleton.el (skeleton-internal-1): Don't loop if interactor of
3519         subskeleton is nil.
3520         (skeleton-pair-default-alist): New var.
3521         (skeleton-pair-insert-maybe): Use it.  Don't munge multibyte chars.
3523 2003-05-25  Nick Roberts  <nick@nick.uklinux.net>
3525         * gdb-ui.el (gdb-info-breakpoints-custom, gdb-assembler-custom):
3526         Put string associated with breakpoint at start of line so that it
3527         is always visible.
3528         (gdb-display-source-buffer): Display assembler during execution,
3529         when requested.
3530         (gud-menu-map): Add a toggle button to menubar for gdb-many-windows.
3531         (gdb-many-windows): Define explicitly as a function and a variable
3532         (formerly as a minor mode). These need to be global so layout can
3533         be reset from any buffer.
3534         (gdb-assembler-mode): Keep fringe outside margin as the overlay
3535         arrow is not used for assembler.
3537 2003-05-25   Tim Van Holder  <tim.vanholder@anubex.com>
3539         * which-func.el (which-func-update-timer): New variable.
3540         (which-function-mode): Use it.
3542 2003-05-25  Richard M. Stallman  <rms@gnu.org>
3544         * simple.el (idle-update-delay): New variable.
3546 2003-05-25  Luc Teirlinck  <teirllm@mail.auburn.edu>
3548         * simple.el (forward-visible-line): Fix negative arguments.
3550 2003-05-25  Juanma Barranquero  <lektu@terra.es>
3552         * skeleton.el (skeleton-pair-insert-maybe): Remove leftover
3553         reference to skeleton-abbrev-cleanup.
3555 2003-05-24  Andreas Schwab  <schwab@suse.de>
3557         * files.el (insert-directory): Preserve CR in a file name.
3559 2003-05-24  Stefan Monnier  <monnier@cs.yale.edu>
3561         * skeleton.el (skeleton-abbrev-cleanup, skeleton-proxy):
3562         Remove obsolete code.
3564         * term/w32-win.el (iconify-or-deiconify-frame):
3565         * term/mac-win.el (iconify-or-deiconify-frame): Move to frame.el.
3567         * term/x-win.el (iconify-or-deiconify-frame): Move to frame.el.
3568         Turn on mouse-wheel support by default.
3570         * frame.el (iconify-or-deiconify-frame): Move from term/x-win.el.
3572 2003-05-24  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
3574         * net/tramp.el: Version 2.0.34 released.
3575         (tramp-handle-file-symlink-p): If target of symlink is absolute,
3576         return a Tramp filename.  (Ie, return "/user@host:/target" instead
3577         of "/target".)
3578         (tramp-handle-file-truename): Deal with new return value from
3579         `file-symlink-p'.
3580         (tramp-handle-expand-file-name): Make default method explicit in
3581         file name.
3582         (tramp-unified-filenames): Move to an earlier spot in the file.
3583         (top-level): If tramp-unified-filenames is set and we're running
3584         on XEmacs, load tramp-efs.
3585         (tramp-wait-for-shell-prompt, tramp-barf-if-no-shell-prompt):
3586         New functions, used by tramp-send-command-internal.
3587         (tramp-open-connection-setup-interactive-shell): Simplify using
3588         `tramp-send-command-internal'.
3589         (tramp-send-command-internal): New function.
3590         (tramp-methods): New entries "remsh" and "remcp" are like "rsh"
3591         and "rcp" but invoke "remsh" instead of "rsh".  This is useful on
3592         Cray systems, for instance.  Unify tramp-rsh-program,
3593         tramp-telnet-program, tramp-su-program into tramp-login-program.
3594         Likewise with tramp-login-args, tramp-copy-program,
3595         tramp-copy-args, tramp-copy-keep-date-arg.  Users changed.  New
3596         method plink1; like plink but pass "-1" to force protocol version 1.
3597         (tramp-default-method): Use plink as the default on machines where
3598         the plink program is present.
3599         (tramp-completion-file-name-handler): Add safe-magic property.
3600         (tramp-shell-prompt-pattern): Allow ANSI escapes at
3601         end of prompt.  (ANSI escapes elsewhere in the prompt are
3602         recognized properly already.)
3604         * net/tramp-efs.el: New file.
3606 2003-05-24 Michael Albinus  <Michael.Albinus@alcatel.de>
3608         * net/tramp.el (tramp-handle-file-truename): `sym' shouldn't be
3609         quoted.
3610         (tramp-methods, tramp-multi-connection-function-alist):
3611         Use argument "-p Password:" for "sudo" method, because password prompt
3612         might be changed by either passprompt option in /etc/sudoers, or
3613         SUDO_PROMPT environment variable.  Suggested by Peter Oliver
3614         <peter.oliver@aquila-networks.co.uk>.
3616 2003-05-23  Stefan Monnier  <monnier@cs.yale.edu>
3618         * mail/supercite.el: Use `push' and replace `regi-pos' by equivalents.
3619         (sc-emacs-features): Remove.  Use better tests instead.
3620         (sc-minor-mode): Use define-minor-mode.
3621         (sc-mode-string, sc-set-mode-string): Remove.
3622         Use a better modeline expression instead.
3623         (sc-completing-read, sc-read-string, sc-submatch, sc-member)
3624         (sc-string-text): Remove those compatibility functions.
3626         * pcvs.el (cvs-temp-buffer): Kill running process in displayed buffers.
3627         (cvs-make-cvs-buffer): Fix up format of the header.
3629         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
3630         Match more cases of /.../ patterns.
3632 2003-05-23  Nick Roberts  <nick@nick.uklinux.net>
3634         * gdb-ui.el (gdba): Accommodate Fortran programs.
3635         (gud-gdba-command-name): Use -noasync in all cases (as Fortran
3636         seems to require it also).
3637         (gdb-source-info): Parse correctly when compilation directory
3638         specifies host also (IRIX).
3640 2003-05-23  Andre Spiegel  <spiegel@gnu.org>
3642         * vc-cvs.el (vc-cvs-checkout): Don't leave the branch when
3643         REV is t.  From Don Provan <dprovan@bivio.net>
3645 2003-05-23  Richard M. Stallman  <rms@gnu.org>
3647         * forms.el (forms--mode-commands1): Bind \t, not `tab'.
3648         (forms--mode-commands): Don't bind \t in the maps where
3649         we call forms--mode-commands1.
3651 2003-05-23  Taro Kawagishi <tarok@acm.org>
3653         * arc-mode.el (archive-lzh-summarize): Calculate correct total
3654         header size for LZH level 1 header.
3656 2003-05-23  Richard M. Stallman  <rms@gnu.org>
3658         * textmodes/paragraphs.el (repunctuate-sentences): Add doc string.
3660 2003-05-23  Daniel Ortmann  <dortmann@lsil.com>  (tiny change)
3662         * textmodes/paragraphs.el (repunctuate-sentences): New function.
3664 2003-05-23  Lute Kamstra  <Lute.Kamstra@cwi.nl>
3666         * emacs-lisp/lisp-mnt.el: Make the description of the library more
3667         accurate.
3668         (lm-any-header): New user option.
3669         (lm-section-start): New function; rewrite of `lm-section-mark'.
3670         (lm-section-mark): Make alias of `lm-section-start'.
3671         (lm-section-end): New function.
3672         (lm-code-start): New function; rewrite of `lm-code-mark'.
3673         (lm-code-mark): Make alias of `lm-code-start'.
3674         (lm-commentary-start): New function; rewrite of `lm-commentary-mark'.
3675         (lm-commentary-mark): Make alias of `lm-commentary-start'.
3676         (lm-commentary-end): New function.
3677         (lm-history-start): New function; rewrite of `lm-history-mark'.
3678         (lm-history-mark): Make alias of `lm-history-start'.
3679         (lm-commentary): Use `lm-commentary-end' to find the end of the
3680         commentary section.
3682         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
3683         Use `lm-commentary-end' to find the end of the commentary section.
3685 2003-05-22  Stefan Monnier  <monnier@cs.yale.edu>
3687         * skeleton.el (define-skeleton): Use the `no-self-insert' property.
3688         (skeleton-proxy-new): Fix docstring.  Remove broken interactive spec.
3689         Rely on use `no-self-insert' rather than `skeleton-abbrev-cleanup'.
3690         (skeleton-internal-1): Add a `recursive' argument.
3691         (skeleton-internal-list): Use it to propagate `recursive'.
3693 2003-05-22  Ken Stevens  <kstevens@ichips.intel.com>
3695         * ispell.el: Sync to version 3.6.
3696         Summary: MIME support added for e-mail processing that
3697         skips encoded regions.  Allow user to skip saving Fcc messages with
3698         large attachments.  Fixed region skipping bug with multi-line
3699         comments - e.g.  tex $ regions spanning multiple lines.
3700         Added support for postscript and uuencoded regions.
3701         Redundant dictionary file names purged.
3702         Dictionary definition field name changed from "Character Set"
3703         to "Coding System".  Fixed bug in reloading dictionaries.
3704         Modified headers to reflect new version.  XEmacs menu now adds
3705         customize item.
3706         (ispell-check-version): No longer an aliased function.
3707         Returns library path if not called interactively.
3708         Variable `temporary-file-directory' protected if not loaded.
3709         (check-ispell-version): Now the alias for `ispell-check-version'.
3710         (ispell-message-fcc-skip): New variable that determines if and when
3711         to query about saving Fcc copy of message if an attachment is large.
3712         (ispell-skip-html): Declare buffer-local.
3713         (ispell-local-dictionary-alist): Docstring expanded.
3714         Tag name changed from "Character Set" to "Coding System".
3715         (ispell-dictionary-alist-1): Remove redundant command-line option to
3716         load brasileiro, british, and castellano dictionary files.
3717         (ispell-dictionary-alist-2): Remove redundant command-line option to
3718         load czech dictionary file.
3719         (ispell-dictionary-alist-3): Move francais-tex here.
3720         (ispell-dictionary-alist-4): Remove german and german8 dictionaries.
3721         The deutsch ones are the correct definitions.  `nederlands'
3722         and `nederlands8' dictionaries moved here.
3723         (ispell-dictionary-alist-5): `polish' and `portugues' dictionaries
3724         moved here.  Removed redundant command-line option to `norsk'
3725         and `portugues'.
3726         (ispell-dictionary-alist-6): Remove redundant command-line option to
3727         load `russian' and `slovak' dictionary files.
3728         (ispell-dictionary-alist): Tag name changed from "Character Set" to
3729         "Coding System".
3730         (ispell-version): Update to 3.6.
3731         (ispell-library-directory): Calls non-deprecated function.
3732         (ispell-valid-dictionary-list): New function returning all valid
3733         dictionaries on machine.
3734         (ispell-checking-message): Documentation string improved.
3735         (ispell-skip-region-alist): Add uuencoded and postscript region
3736         skipping.  Improve http/e-mail/file regexp to not match `/.\w'.
3737         (ispell-html-skip-alists): New variable for html region support.
3738         (ispell-send-string): Remove redundant xemacs check.
3739         (ispell-word): Fix spelling error in documentation string, add
3740         extent information to support highlighting in ispell-minor-mode.
3741         (ispell-command-loop): Disable horizontal scrollbar in XEmacs
3742         choices buffer.
3743         (ispell-show-choices): Directly select `choices-window'.
3744         (ispell-help): Use default buffer size for electric help.
3745         (ispell-adjusted-window-height): Correct for xemacs detection.
3746         (ispell-start-process): Don't double specify dictionary file name.
3747         (ispell-init-process): Set `ispell-library-path' each call.
3748         (ispell-change-dictionary): Now only completes valid dictionaries.
3749         (ispell-region): Add support for MIME region skipping and Fcc
3750         message query for large attachments.
3751         (ispell-begin-skip-region-regexp): Add documentation string.
3752         Add message support and clean up code for generic and html regions.
3753         (ispell-begin-skip-region): Function is now requires alist argument.
3754         (ispell-begin-tex-skip-regexp): Add comments and support
3755         improved html and message regions.
3756         (ispell-skip-region-list): New function for MIME and region skipping.
3757         (ispell-tex-arg-end): Add documentation string.
3758         (ispell-ignore-fcc): New function to query saving Fcc message.
3759         (ispell-skip-region): Calculate alist for key match dynamically,
3760         html skipping pushed to alists.
3761         (ispell-get-line): Add support for multi-line comment regions.
3762         (ispell): Check that variables to continue spelling are bound.
3763         (ispell-message-text-end): Postscript and uuencoded regions now
3764         supported as MIME regions, rather than as end-of-message region.
3765         (ispell-mime-multipartp): New function supporting MIME.
3766         (ispell-mime-skip-part): New function supporting MIME.
3767         (ispell-message): Add MIME support.
3768         (ispell-buffer-local-parsing): Variable `ispell-skip-html' now local.
3769         (ispell-buffer-local-dict): Fix bug for detecting and reloading
3770         new dictionary.
3772 2003-05-22  Stephen J. Turnbull  <stephen@xemacs.org>
3774         * subr.el (split-string): Implement specification that splitting on
3775         explicit separators retains null fields.  Add new argument
3776         OMIT-NULLS.  Special-case (split-string "a string").
3778 2003-05-22  Stefan Monnier  <monnier@cs.yale.edu>
3780         * international/mule-cmds.el (select-safe-coding-system):
3781         Try default-buffer-file-coding-system too for automatic selection.
3783 2003-05-21  Stefan Monnier  <monnier@cs.yale.edu>
3785         * simple.el (ctl-x-map): Remove the C-x U binding added recently.
3787 2003-05-21  Dave Love  <fx@gnu.org>
3789         * descr-text.el (unicodedata-file): New.
3790         (unicode-data): New (adapted from unicode branch).
3791         (describe-char): Use it.  Print char's unicode differently.
3792         Avoid elements with null cadr when formatting list.  Clarify error
3793         message when used in Help buffer.
3794         (button): Require when compiling.
3795         (describe-char-after): Alias for obsolete command.
3797 2003-05-21  Nick Roberts  <nick@nick.uklinux.net>
3799         * gdb-ui.el (gud-gdba-command-name): Use -noasync option for Gdb
3800         with MS windows.
3801         (gdb-display-end): Only make buffer writeable temporarily.
3802         Move "View" submenu up one level.
3804 2003-05-21  Nick Roberts  <nick@nick.uklinux.net>
3806         * gdb-ui.el (gdb-view-source, gdb-selected-view): New variables.
3807         (gdba): Inhibit DOS window in MS Windows.
3808         (gdb-inferior-io-mode): Use hexl instead of cat.
3809         (gdb-info-breakpoints-custom, gdb-assembler-custom, gdb-reset):
3810         Use text in margin for MS Windows as there is no image support.
3811         (gdb-restore-windows, gdb-setup-windows): Restore/start with
3812         assembler view if appropriate.
3813         (gdb-assembler-custom): Assembler code should display at point.
3814         Parse address correctly.
3815         (gdb-frame-handler): Accommodate selection of display of source
3816         or assembler.
3817         Add radio buttons to select display of source or assembler.
3819 2003-05-20  Lars Hansen  <larsh@math.ku.dk>
3821         * desktop.el (desktop-save): Ensure parameter is expanded and ends
3822         with a slash before assigning it to desktop-dirname and
3823         default-directory.
3824         (desktop-read): Put buffers existing prior to evaluating the
3825         desktop (and not reused) at the end of the buffer list.
3826         (desktop-create-buffer): Don't update desktop-first-buffer for old
3827         desktop files.
3829 2003-05-19  John Paul Wallington  <jpw@gnu.org>
3831         * xml.el (xml-name-regexp): Wrap in `eval-and-compile'.
3833 2003-05-19  Dave Love  <fx@gnu.org>
3835         * xml.el: Doc fixes.
3836         (xml-parse-file, xml-parse-region): Autoload.
3837         (xml-syntax-table, xml-name-regexp): New.
3838         (xml-parse-region): Narrow to region, set syntax-table and
3839         case-fold-search.  Reject fewer valid documents.
3840         (xml-parse-tag): Remove arg END.  Callers changed.
3841         (xml-parse-tag): Use skip-syntax-forward.  Use PARSE-DTD arg
3842         properly.  Don't use buffer-substring-no-properties.  Don't bind
3843         case-fold-search.  Fix syntax for empty elements.  Hoist consing
3844         of end-of-tag regexp out of loop.
3845         (xml-parse-attlist): Remove arg.  Callers changed.
3846         Use skip-syntax-forward, replace-regexp-in-string, forward-sexp.
3847         Allow non-ASCII names.
3848         (xml-skip-dtd): Remove arg.  Callers changed.  Change matching code.
3849         (xml-parse-dtd): Grok external DTDs.  Allow non-ASCII.
3850         Don't use match-string-no-properties.
3851         (xml-ucs-to-string): Delete.
3852         (xml-substitute-entity): New.
3853         (xml-substitute-special): Use it.
3854         (xml-debug-print-internal): Simplify insertions.
3855         (xml-parse-file): Avoid finding file in xml-mode.
3857 2003-05-19  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
3859         * simple.el (kill-whole-line): New function.
3860         * bindings.el (global-map): Bind it.
3862 2003-05-19  Richard M. Stallman  <rms@gnu.org>
3864         * net/goto-addr.el (goto-address-fontify-maximum-size):
3865         Value t means no limit.
3866         (goto-address-fontify): Implement that feature.
3868         * emacs-lisp/find-func.el (find-function-on-key):
3869         Move the call to find-function-other-window outside
3870         the save-excursion.
3872         * find-file.el (ff-special-constructs): Delete the Ada entry.
3874         * faces.el (x-create-frame-with-faces):
3875         Don't call face-set-after-frame-default.
3876         (face-set-after-frame-default): Copy attrs of global `default'
3877         face to FRAME's `default' face.
3879 2003-05-19  Joe Kelsey  <joek@flyingcroc.net>
3881         * skeleton.el (skeleton-internal-1): Allow - as alternate
3882         interesting point marker and revert @ to just setting
3883         skeleton-positions.
3885 2003-05-18  Stefan Monnier  <monnier@cs.yale.edu>
3887         * emacs-lisp/lisp.el (beginning-of-defun-raw): Use shy-group.
3889         * progmodes/executable.el (executable-set-magic): Remove unused
3890         vars `point' and `buffer-modified-p'.
3892         * mail/sendmail.el (mail-mode): Don't bother setting paragraph-start.
3894         * mail/mail-extr.el: Use explicit coding tag.
3896         * international/mule.el (sgml-xml-auto-coding-function)
3897         (sgml-html-meta-auto-coding-function): Don't assume point-min == 1.
3899         * language/china-util.el (hz-set-msb-table): Build when compiling.
3900         (big5-to-cns): Pre-build the alist when compiling.
3902         * language/ind-util.el (indian-regexp-of-hashtbl-keys): Don't bother
3903         sorting the argument to regexp-opt.
3904         (indian--puthash-char): Use dolist rather than mapc.
3906 2003-05-18  Nick Roberts  <nick@nick.uklinux.net>
3908         * gdb-ui.el (put-arrow): Rename gdb-put-arrow and simplify.
3909         (put-string): Rename gdb-put-string and simplify.
3910         (remove-strings): Rename gdb-remove-strings.
3911         (remove-arrow): Rename gdb-remove-arrow.
3912         (gdb-assembler-custom): Try to get line marker (arrow) to display
3913         in window (revisited).
3914         Use with-current-buffer where possible.
3916 2003-05-18  John Paul Wallington  <jpw@gnu.org>
3918         * ibuffer.el (ibuffer-display-summary): New customizable variable.
3919         (ibuffer-update-title-and-summary): Respect it.
3921 2003-05-18  Michael Kifer  <kifer@cs.stonybrook.edu>
3923         * ediff-mult.el (ediff-default-filtering-regexp): New variable.
3925         * ediff-util.el (ediff-maybe-save-and-delete-merge): Change in a
3926         message.
3928         * ediff.el (ediff-directories,ediff-directory-revisions)
3929         (ediff-directories3,ediff-merge-directories)
3930         (ediff-merge-directories-with-ancestor,ediff-merge-directory-revisions)
3931         (ediff-merge-directory-revisions-with-ancestor): Make use of the new
3932         ediff-default-filtering-regexp variable.
3934 2003-05-18  Richard M. Stallman  <rms@gnu.org>
3936         * which-func.el (which-func-current, which-func-format):
3937         Preload the risky-local-variable properties for them.
3939         * subr.el (prepare-change-group): Reinstate BUFFER arg; make it work.
3941 2003-05-18  Nick Roberts  <nick@nick.uklinux.net>
3943         * gud.el (gdb): Define gud-nexti.
3944         (gud-menu-map): Add gud-nexti to map.
3945         (gud-tool-bar-map): Add gud-nexti and gud-stepi to toolbar.
3947         * toolbar/gud-stepi.xpm, toolbar/gud-stepi.pbm,
3948         toolbar/gud-nexti.xpm, toolbar/gud-nexti.pbm: New icons for debugger.
3950 2003-05-17  John Paul Wallington  <jpw@gnu.org>
3952         * international/ja-dic-cnv.el (skkdic-okuri-nasi-entries)
3953         (skkdic-okuri-nasi-entries-count): Use defvar for non-constants.
3955         * register.el (number-to-register): Use `string-to-number' instead
3956         of `string-to-int'.
3958 2003-05-17  Stefan Monnier  <monnier@cs.yale.edu>
3960         * log-edit.el: Don't require vc.el anymore.
3961         (log-edit-mode-map): Fold vc-log-mode-map into it.
3962         (vc-log-mode-map): Redefine as an alias.
3963         (vc-previous-comment): Don't widen.
3964         (vc-comment-to-change-log): Don't redundantly set paragraph-separate.
3965         Don't require `add-log' since it's already required at toplevel.
3967         * vc.el (vc-log-mode-map, vc-maximum-comment-ring-size)
3968         (vc-comment-ring, vc-comment-ring-index, vc-last-comment-match):
3969         Move vars to log-edit.el.
3970         (vc-new-comment-index, vc-previous-comment, vc-next-comment)
3971         (vc-comment-search-reverse, vc-comment-search-forward)
3972         (vc-comment-to-change-log): Move funs to log-edit.el.
3973         (vc-clear-context): Don't empty the comment-ring.
3974         (vc-finish-logentry): Don't add the comment onto the comment-ring.
3976         * log-edit.el (vc-log-mode-map, vc-maximum-comment-ring-size)
3977         (vc-comment-ring, vc-comment-ring-index, vc-last-comment-match):
3978         Move vars from vc.el.
3979         (vc-new-comment-index, vc-previous-comment, vc-next-comment)
3980         (vc-comment-search-reverse, vc-comment-search-forward)
3981         (vc-comment-to-change-log): Move funs from vc.el.
3982         (log-edit-show-files): Remove unused var `editbuf'.
3984         * progmodes/tcl.el (tcl-indent-exp): Remove dead code.
3985         (tcl-tab-always-indent): Default to tab-always-indent.
3987         * progmodes/perl-mode.el (perl-end-of-function): Remove unused var.
3988         (perl-tab-always-indent): Default to tab-always-indent.
3990         * which-func.el (which-func-format): Make it risky-local-variable.
3991         (which-func-table): New var.
3992         (which-func-current): Make it into a constant modeline spec.
3993         (which-func-previous): Remove.
3994         (which-func-update): Only update the selected window.
3995         (which-func-update-1): Use the new var to allow the current
3996         function to be different for a buffer shown in two windows.
3998         * subr.el (with-selected-window): New macro.
3999         (dolist, dotimes, with-current-buffer): Use backquotes.
4000         (when, unless, save-match-data, combine-after-change-calls)
4001         (with-output-to-string, with-temp-buffer): Add `declare' info.
4002         (listify-key-sequence): Don't allocate unnecessarily.
4003         (read-quoted-char): Allow up to base 36.
4004         (prepare-change-group): Remove unimplemented argument.
4005         (macro-declaration-function): Avoid `dolist' and `cadr'.
4007         * wid-edit.el (pp-to-string, Info-goto-node): Don't autoload.
4008         (widget-choose, widget-map-buttons): Use with-current-buffer.
4009         (widget-field-add-space): Change to nil (and to defconst).
4010         (widget-info-link-action): Use `info'.
4012 2003-05-17  Nick Roberts  <nick@nick.uklinux.net>
4014         * gdb-ui.el (gdb-info-frames-custom): Reverse contrast of face for
4015         selected frame.
4016         (gdb-annotation-rules): Stop using frames-invalid and
4017         breakpoints-invalid annotations.  Update after post-prompt instead.
4018         (gdb-post-prompt): Update frames and breakpoints here.
4019         (gdb-invalidate-frame-and-assembler)
4020         (gdb-invalidate-breakpoints-and-assembler): Remove.
4021         (gdb-current-address): Remove.
4022         (gdb-previous-address): New variable.
4023         (gud-until): Extend to work in Assembler buffer
4024         (gdb-append-to-inferior-io): Select IO buffer when there is output.
4025         (gdb-assembler-custom): Try to get line marker (arrow) to display
4026         in window.  Correct parsing for OS dependent output syntax of Gdb
4027         command, where.
4028         (gdb-frame-handler): Correct parsing for OS dependent output
4029         syntax of Gdb command, frame.
4030         (gdb-invalidate-assembler): Update assembler buffer correctly when
4031         frame changes (revisited).
4033 2003-05-16  Stefan Monnier  <monnier@cs.yale.edu>
4035         * imenu.el (imenu--split-menu): Remove unused var `count'.
4036         Don't copy the sequence since we're already modifying it elsewhere.
4037         (imenu--create-keymap): Rename from imenu--create-keymap-1.
4038         Add optional `cmd' argument.  Remove unused var `counter'.
4039         (imenu-update-menubar): Use the new arg to keep the old behavior.
4040         (imenu--mouse-menu): Don't use the arg, to recover the lost behavior.
4042 2003-05-16  Lute Kamstra  <Lute.Kamstra@cwi.nl>
4044         * hl-line.el (hl-line-highlight, global-hl-line-highlight):
4045         Use `line-beginning-position' to determine the beginning of the next
4046         line.
4048 2003-05-16  Kenichi Handa  <handa@m17n.org>
4050         * international/mule-cmds.el (mule-menu-keymap): Enable the menu
4051         set-various-coding-system when
4052         default-enable-multibyte-characters is non-nil.
4054 2003-05-15  Stefan Monnier  <monnier@cs.yale.edu>
4056         * emacs-lisp/autoload.el (make-autoload): Add arglist for
4057         define-derived-mode.
4059 2003-05-15  Lute Kamstra  <Lute.Kamstra@cwi.nl>
4061         * hl-line.el: Rewrite the local minor mode so that it can be
4062         sticky as well and made sticky the default.  Reimplement the
4063         global minor mode.  Update the commentary section to document
4064         these changes.
4065         (hl-line-sticky-flag): New user option.
4066         (hl-line-overlay): Make it buffer-local and give it a docstring.
4067         (global-hl-line-overlay): New variable.
4068         (hl-line-mode): Rewrite to use `hl-line-sticky-flag'.
4069         (hl-line-highlight): Rewrite to use `hl-line-sticky-flag'.
4070         (hl-line-unhighlight): Update docstring.
4071         (global-hl-line-mode): Implement directly so that is does not
4072         depend on `hl-line-mode' any more.
4073         (global-hl-line-highlight, global-hl-line-unhighlight): New functions.
4075 2003-05-15  Kenichi Handa  <handa@m17n.org>
4077         * international/code-pages.el (cyrillic-koi8-t): Alias of koi8-t.
4079 2003-05-15  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4081         * ps-print.el: Avoid unnecessary calls to funs in header and footer
4082         variables.  Reported by Greg Hill <ghill@synergymicro.com>.
4083         (ps-print-version): New version number (6.6.1).
4084         (ps-begin-page): Code fix.
4085         (ps-generate-string-list, ps-header-footer-string): New funs.
4086         (ps-lh-cache, ps-rh-cache, ps-lf-cache, ps-rf-cache): New vars.
4088         * ps-mule.el (ps-mule-header-string-charsets):
4089         Call ps-header-footer-string to avoid unnecessary calls to functions
4090         in header and footer variables.
4092 2003-05-15  John Paul Wallington  <jpw@gnu.org>
4094         * mail/rmail.el (rmail-ignored-headers): Ignore Face: header.
4096 2003-05-14  Stefan Monnier  <monnier@cs.yale.edu>
4098         * textmodes/tex-mode.el (tex-compile-history, tex-input-files-re)
4099         (tex-use-reftex, tex-compile-commands): New vars.
4100         (tex-summarize-command, tex-uptodate-p, tex-executable-exists-p)
4101         (tex-command-executable, tex-command-active-p, tex-compile-default)
4102         New functions.
4103         (tex-compile): New command.
4104         (tex-mode-map): Bind it to C-c C-c.
4106         * vc-svn.el (completion-ignored-extensions): Add .svn.
4107         (vc-svn-delete-file): New function.
4109         * pcvs.el (cvs-append-to-ignore): New arg `old-dir'.
4110         (cvs-mode-ignore): Use it.
4112         * pcvs-parse.el (cvs-parse-table): Remove unused var `type'.
4113         Look up `.cvsignore' to see what to do with `new-dir' messages.
4114         (cvs-parse-merge): Remove unused var `handled'.
4116 2003-05-14  Christoph Wedler  <christoph.wedler@sap.com>
4118         * format.el (format-annotate-function): Copy coding system into the
4119         new temp buffer.
4121 2003-05-14  John Paul Wallington  <jpw@gnu.org>
4123         * ls-lisp.el (insert-directory): Discard --dired switch when
4124         `ls-lisp-use-insert-directory-program' is nil.
4126 2003-05-13  Stefan Monnier  <monnier@cs.yale.edu>
4128         * textmodes/ispell.el (xemacsp): Remove.  Use (featurep 'xemacs).
4129         (ispell-graphic-p): Inline and then remove.
4130         (toplevel): Get rid of unnecessary loop.
4131         (ispell-parse-output, ispell-complete-word): Replace (substring s 0 1)
4132         with a call to aref.
4133         (ispell-get-line): Remove unused arg `reg-end'.
4134         (ispell-region): Update corresponding call.
4136         * progmodes/cpp.el (cpp-make-overlay-hidden): Don't make intangible.
4138         * progmodes/compile.el (compile-internal): Use with-current-buffer.
4139         (compilation-set-window-height): Use save-selected-window.
4141         * progmodes/ada-xref.el (ada-xref-update-project-menu): Use easymenu.
4142         (ada-goto-declaration-other-frame): Remove unused arg other-frame.
4143         (ada-gdb-application): Remove unused vars comint-exec, in-post-mode,
4144         and gud-gdb-massage-args.
4146         * progmodes/cc-langs.el (c-lang-defvar-init-form-tail):
4147         This is actually not a constant.
4149         * progmodes/autoconf.el (autoconf-current-defun-function):
4150         Copy the syntax table before modifying it.
4152         * progmodes/ada-mode.el (ada-in-comment-p, ada-in-string-p)
4153         (ada-in-string-or-comment-p): Use line-beginning-position.
4155         * textmodes/reftex.el (reftex-select-with-char): Don't assume
4156         that point-min == 1.
4158         * textmodes/reftex-toc.el (reftex-toc-visit-location):
4159         Don't switch the current window if the new buffer is in another.
4160         (reftex-toc): Don't assume that point-min == 1.
4162         * textmodes/reftex-parse.el (reftex-what-macro): Don't assume
4163         that point-min == 1.
4165         * textmodes/reftex-cite.el (reftex-extract-bib-entries)
4166         (reftex-extract-bib-entries-from-thebibliography): New arg re-list.
4167         (reftex-extract-bib-entries): Use ^ rather than \(\`\|[\n\r]\).
4168         Use member-ignore-case.  Don't add unnecessary trailing \n.
4169         (reftex-offer-bib-menu): Consolidate duplicated code from
4170         reftex-extract-bib-entries and
4171         reftex-extract-bib-entries-from-thebibliography.
4173         * simple.el (back-to-indentation): Simplify.
4174         (undo-equiv-table, undo-in-region, undo-no-redo): New vars.
4175         (undo): Use them to implement the no-redo form of undo.
4176         (undo-only): New fun.
4177         (shell-command): Don't require `shell' since shell-mode is autoloaded.
4178         (insert-buffer): Simplify.
4179         (completion-setup-function): Use minibufferp.
4180         (event-apply-alt-modifier, event-apply-super-modifier)
4181         (event-apply-hyper-modifier, event-apply-shift-modifier)
4182         (event-apply-control-modifier, event-apply-meta-modifier):
4183         Fix docstring to show the proper key sequence.
4185         * uniquify.el (uniquify-after-kill-buffer-p): Set default to t.
4186         (uniquify-ignore-buffers-re): Revert to nil now that uniquify
4187         is more careful about preserving buffer names.
4189         * menu-bar.el (menu-bar-options-menu) <cua-mode>:
4190         Use menu-bar-make-mm-toggle.
4192         * files.el (file-relative-name): Remove dead code.
4193         Make sure \n in a filename does not confuse us.
4195         * help-fns.el (describe-variable): Mention permanent local status.
4197         * comint.el (comint-carriage-motion, comint-output-filter):
4198         Bind inhibit-read-only rather than buffer-read-only.
4199         (comint-truncate-buffer): Bind inhibit-read-only.
4201         * pcvs.el (cvs-make-cvs-buffer): Add the tag info.
4202         (cvs-mode): Prevent pilot-error.
4204         * vc-mcvs.el (vc-mcvs-registered, vc-mcvs-root): Check the output
4205         of file-name-directory for nil.
4207 2003-05-13  Simon Josefsson  <jas@extundo.com>
4209         * mail/smtpmail.el (smtpmail-open-stream): Don't hard code
4210         starttls-program.
4212 2003-05-13  Rajesh Vaidheeswarran  <rv@gnu.org>
4214         * whitespace.el (whitespace-global-mode): Add :link entry
4215         to the commentary section in whitespace.el
4217 2003-05-13  Nick Roberts  <nick@nick.uklinux.net>
4219         * gdb-ui.el (gdb-invalidate-assembler): Update assembler buffer
4220         correctly when frame changes.
4221         (gdb-info-threads-custom, gdb-threads-buffer-name)
4222         (gdb-display-threads-buffer, gdb-frame-threads-buffer)
4223         (gdb-threads-mode-map, gdb-threads-mode, gdb-get-thread-number)
4224         (gdb-threads-select, gdb-threads-mouse-select): New functions and
4225         variable for a buffer that provides a selectable threads list.
4227 2003-05-12  Stefan Monnier  <monnier@cs.yale.edu>
4229         * pcvs-parse.el (cvs-parse-table): `New directory' messages include
4230         the full path.
4232         * pcvs.el (cvs-minor-current-files): Move before first use.
4233         (defun-cvs-mode): Remove unused var `restdoc'.
4234         (cvs-edit-log-revision, ediff-after-quit-hook-internal): Declare.
4235         (cvs-mode-diff-backup): Remove unused var `filter'.
4236         (cvs-mode-run): Remove unused var `cvs-buf'.
4237         (cvs-mode-do): Remove unused arg `parse'.
4238         (cvs-retrieve-revision): Make sure HEAD gets the head of the branch.
4240         * textmodes/sgml-mode.el (sgml-namespace-re): New const.
4241         (sgml-namespace-face): New face.
4242         (sgml-font-lock-keywords-1): Use them.
4244 2003-05-11  Kevin Ryde  <user42@zip.com.au>
4246         * info-look.el (info-lookup-make-completions): Allow colons in index
4247         entries by looking for ": " to terminate, as per latest info.el.
4249 2003-05-11  Stefan Monnier  <monnier@cs.yale.edu>
4251         * vc-mcvs.el (vc-mcvs-command): Filter output of `status'.
4252         (vc-mcvs-state, vc-mcvs-dir-state, vc-mcvs-print-log, vc-mcvs-diff):
4253         Change dir so that the filtered output of `mcvs makes sense.
4254         (vc-mcvs-mode-line-string): Handle the case where CVS is desync'd.
4255         (vc-mcvs-diff-tree): Don't bother with the local-diff code.
4256         (vc-mcvs-create-snapshot): Use `branch' and `switch'.
4258 2003-05-10  Stefan Monnier  <monnier@cs.yale.edu>
4260         * newcomment.el (comment-indent): Try to align to adjacent comments.
4261         (comment-with-narrowing): Actually use the arguments.
4262         (comment-valid-prefix-p): Rename from comment-valid-prefix
4263         and fix to actually use its argument.
4265         * tex-mode (tex-mode-syntax-table): ~ is not whitespace.
4266         (tex-guess-mode): Add `renewcommand'.
4267         (tex-mode): Move the autoload to get the correct docstring and usage.
4269         * uniquify.el (uniquify-rationalize-file-buffer-names):
4270         Refresh the dirname in the case that rename-buffer was skipped.
4271         (uniquify-buffer-file-name): Return a dirname with no trailing slash.
4273         * mail/smtpmail.el (smtpmail-send-queued-mail): Use point-at-bol
4274         instead of forward-line.
4276 2003-05-10  Oliver Scholz  <alkibiades@gmx.de>
4278         * startup.el (fancy-splash-default-action): Fix docstring.
4280 2003-05-09  Sam Steingold  <sds@gnu.org>
4282         * pcvs.el (cvs-mode-find-file): Fixed the last patch's logic.
4284 2003-05-09  Stefan Monnier  <monnier@cs.yale.edu>
4286         * newcomment.el (comment-indent): Be more careful when inserting
4287         the space, and insert it before setting `begpos'.
4289         * vc.el: New backend functions `delete-file' and `repository-hostname'.
4290         (vc-stay-local): New var.  Mostly taken from vc-cvs-stay-local.
4291         (vc-stay-local-p): New fun.  Adapted from vc-cvs-stay-local-p.
4292         (vc-diff-switches-list): Revert to the Emacs-21.[123] semantics.
4293         Mark as obsolete.
4294         (vc-delete-file): New command.
4295         (vc-default-rename-file): New function.
4296         (vc-rename-file): Use it.
4297         Be careful to disallow renaming if the file is locked or out-of-date.
4298         (vc-ensure-vc-buffer, vc-next-action-on-file, vc-insert-headers)
4299         (vc-cancel-version, vc-annotate): Use buffer-file-name variable.
4301         * vc-mcvs.el (vc-mcvs-stay-local): Remove unused var.
4302         (vc-mcvs-state, vc-mcvs-dir-state, vc-mcvs-print-log, vc-mcvs-diff)
4303         (vc-mcvs-diff-tree, vc-mcvs-annotate-command)
4304         (vc-mcvs-make-version-backups-p): Use vc-stay-local-p.
4305         (vc-mcvs-checkin): Disallow commits to a numbered rev.
4306         (vc-mcvs-repository-hostname): New function.
4307         (vc-mcvs-stay-local-p): Remove.
4309         * vc-cvs.el (vc-cvs-mode-line-string): Use vc-default-mode-line-string.
4310         (vc-cvs-delete-file, vc-cvs-rename-file): New functions.
4312         * vc-svn.el (vc-svn-rename-file): New fun.
4313         (vc-svn-diff): Correctly check svn's return status.
4314         (vc-svn-state, vc-svn-dir-state, vc-svn-print-log, vc-svn-diff)
4315         (vc-svn-diff-tree): Use vc-stay-local-p.
4316         (vc-svn-register-switches, vc-svn-diff-switches, vc-svn-header)
4317         (vc-svn-use-edit): Fix the :version property.
4318         (vc-svn-stay-local): Remove unused var.
4319         (vc-svn-mode-line-string): Remove, use the default instead.
4320         (vc-svn-repository-hostname): New fun taken from vc-svn-stay-local-p.
4321         (vc-svn-stay-local-p): Remove.
4323         * uniquify.el: Use the original buffer-name as `base' in place of the
4324         nondirectory part of the file name.
4325         (uniquify-rationalize-file-buffer-names):
4326         Split the `newbuffile' arg into `base' and `dirname'.
4327         Reuse old uniquify-items to avoid recomputing their base&dirname.
4328         (uniquify-buffer-file-name): Only return the directory part.
4329         (uniquify-rerationalize-w/o-cb): Don't bother reseting proposed names.
4330         (rename-buffer): Use the `newname' arg as base.
4331         (create-file-buffer): Split the file name into base and dirname.
4333 2003-05-09  Jesper Harder  <harder@ifa.au.dk>  (tiny change)
4335         * mail/smtpmail.el (smtpmail-send-queued-mail): Don't use kill-line.
4337 2003-05-08  Stefan Monnier  <monnier@cs.yale.edu>
4339         * uniquify.el (uniquify-after-kill-buffer-p): Fix misleading docstring.
4340         (uniquify-make-item): Make `proposed' optional.
4341         (uniquify-rationalize-file-buffer-names): Don't compute the
4342         initial proposed name.
4343         (uniquify-buffer-file-name): Remove dead code.
4344         (uniquify-strip-common-suffix): New var.
4345         (uniquify-rationalize): Always recompute initial proposed name.
4346         Strip common suffix if requested.
4348         * vc-rcs.el (vc-rcs-register, vc-rcs-checkin, vc-rcs-checkout)
4349         (vc-rcs-find-version, vc-rcs-diff): Use vc-switches.
4351         * vc-sccs.el (vc-sccs-register, vc-sccs-find-version)
4352         (vc-sccs-checkin, vc-sccs-checkout, vc-sccs-diff): Use vc-switches.
4353         (vc-sccs-register): Remove unused var `|'.
4355         * vc-mcvs.el (vc-mcvs-read): Don't require `file' to exist.
4356         (vc-mcvs-diff): Don't return 0 for newly added empty files.
4357         (vc-mcvs-register, vc-mcvs-checkin, vc-mcvs-find-version)
4358         (vc-mcvs-checkout, vc-mcvs-diff, vc-mcvs-diff-tree): Use vc-switches.
4360         * vc-cvs.el (vc-cvs-dired-state-info): Use `added' for added files and
4361         don't use `concat' unnecessarily.  Remove impossible cases.
4362         (vc-cvs-diff): Don't return 0 for newly added empty files.
4363         (vc-cvs-stay-local-p): Simplify.
4364         (vc-cvs-register, vc-cvs-checkin, vc-cvs-find-version, vc-cvs-diff)
4365         (vc-cvs-diff-tree, vc-cvs-checkout): Use vc-switches.
4367         * vc-svn.el (vc-svn-dired-state-info): Use `added' for added files and
4368         don't use `concat' unnecessarily.  Remove impossible cases.
4369         (vc-svn-register, vc-svn-find-version, vc-svn-diff-tree):
4370         Use vc-switches.
4371         (vc-svn-checkin): Use vc-switches.  Fix up regexp.
4372         (vc-svn-diff): Use vc-switches.
4373         Don't return 0 for newly added empty files.
4374         Don't use svn's return status.
4375         (vc-svn-parse-status): Recognize copied files as well.
4376         Use the last-modified revision for workfile-version.
4378         * vc-hooks.el (vc-default-workfile-unchanged-p): Pass nil
4379         rather than (vc-workfile-version file) to diff.
4381         * vc.el (with-vc-properties, with-vc-file, edit-vc-file):
4382         Add `declare's for debugging and indentation.
4383         (vc-do-command): Use `remq'.
4384         (vc-buffer-context): Remove unused var `curbuf'.
4385         (vc-next-action-dired): Remove unused var `dired-dir'.
4386         (vc-switches): New fun.
4387         (vc-diff-switches-list): Use it.
4388         (vc-dired-hook): Remove unused var `cvs-dir'.
4389         (vc-dired-purge): Remove unused var `subdir'.
4390         (vc-cancel-version): Remove unused var `config'.
4391         (vc-rename-master): Use dolist iso mapcar.
4392         (vc-rename-file): Remove redundant tests.
4393         Clear the properties of the old file name.
4394         (vc-annotate): Pass the complete filename to `annotate-command'.
4395         (vc-annotate-lines): Remove unused var `overlay'.
4397 2003-05-08  Glenn Morris  <gmorris@ast.cam.ac.uk>
4399         * calendar/diary-lib.el (diary-pull-attrs): Make `ret-attr',
4400         `attr' local.
4401         (list-diary-entries): Make `temp' local.
4402         (fancy-diary-display): Make `marks', `temp-face', `faceinfo' local.
4403         (diary-mail-entries): There is no fancy-diary-buffer if there are
4404         no diary entries.  Use call-interactively.
4405         (mark-diary-entries): Make `temp' local.
4406         (mark-sexp-diary-entries): Make `marks' local, remove `temp'.
4407         (list-sexp-diary-entries): Make `temp' local.
4408         (add-to-diary-list): Make `prefix' local.
4410 2003-05-08  Dave Love  <fx@gnu.org>
4412         * international/utf-7.el: New file.
4414 2003-05-07  Francis J. Wright  <F.J.Wright@qmul.ac.uk>
4416         * files.el (insert-file-contents-literally): Allow it to be called
4417         within a magic file name handler.
4419 2003-05-07  Stefan Monnier  <monnier@cs.yale.edu>
4421         * uniquify.el (uniquify-rationalize-file-buffer-names):
4422         Don't uniquify if there is no filename.
4424         * vc-hooks.el: Use buffer-file-name variable rather than function.
4425         (vc-handled-backends): Add SVN and MCVS.
4426         (vc-mode-line): Call vc-backend only once.
4427         (find-file-hook, find-file-not-found-hook): Use the new
4428         names rather than ...-hooks.
4430         * uniquify.el (uniquify-item, uniquify-get-proposed-name)
4431         (uniquify-rationalize-conflicting-sublist): Rename filename -> dirname.
4432         (uniquify-rationalize): New fun.  Set uniquify-managed to the fix-list.
4433         (uniquify-rationalize-file-buffer-names): Use it and make the args
4434         non-optional (i.e. don't support "re-rationalize all" any more).
4435         (uniquify-rerationalize-w/o-cb): New fun.
4436         (uniquify-maybe-rerationalize-w/o-cb): Use it to rerationalize
4437         immediately and only the relevant buffers.
4438         Merged from uniquify-delay-rationalize-file-buffer-names and
4439         uniquify-delayed-rationalize-file-buffer-names.
4440         (kill-buffer-hook, rename-buffer): Use it.
4442 2003-05-06  Jesper Harder  <harder@ifa.au.dk>
4444         * progmodes/compile.el (compile-internal): Don't quote nil and t in
4445         docstrings.
4447         * emacs-lisp/eldoc.el (eldoc-echo-area-use-multiline-p): Likewise.
4449         * emacs-lisp/cl-macs.el (case, typecase): Likewise.
4451         * allout.el (allout-auto-activation)
4452         (allout-use-mode-specific-leader, allout-reindent-bodies)
4453         (allout-unprotected): Likewise.
4455         * progmodes/tcl.el (tcl-explain-indentation): Likewise.
4457         * progmodes/idlwave.el (idlwave-complete-special): Likewise.
4459         * progmodes/cpp.el (cpp-edit-list): Likewise.
4461         * progmodes/cperl-mode.el (cperl-lineup): Likewise.
4463         * progmodes/cc-align.el (c-lineup-argcont, c-lineup-gcc-asm-reg):
4464         Likewise.
4466         * play/mpuz.el (mpuz-silent): Likewise.
4468         * play/decipher.el (decipher-ignore-spaces): Likewise.
4470         * net/rlogin.el (rlogin-process-connection-type): Likewise.
4472         * mail/rmail.el (rmail-primary-inbox-list): Likewise.
4474         * mail/mailalias.el (mail-directory-function)
4475         (mail-directory-requery, mail-directory): Likewise.
4477         * emacs-lisp/lucid.el (buffer-syntactic-context): Likewise.
4479         * emacs-lisp/lmenu.el (popup-dialog-box): Likewise.
4481         * type-break.el (type-break-good-rest-interval)
4482         (type-break-query-mode, type-break-query-function)
4483         (type-break-mode-line-message-mode): Likewise.
4485         * skeleton.el (skeleton-autowrap, skeleton-untabify)
4486         (skeleton-newline-indent-rigidly, skeleton-insert)
4487         (skeleton-read): Likewise.
4489         * simple.el (newline): Likewise.
4491         * ps-print.el (ps-zebra-stripe-follow): Likewise.
4493         * mwheel.el (mouse-wheel-scroll-amount): Likewise.
4495         * env.el (setenv): Likewise.
4497 2003-05-06  Stefan Monnier  <monnier@cs.yale.edu>
4499         * imenu.el (imenu--generic-function): Use font-lock-defaults
4500         case setting if imenu-case-fold-search is not locally set.
4502         * uniquify.el (uniquify-managed): New var.
4503         (uniquify-rationalize-file-buffer-names, rename-buffer): Use it and set
4504         it to prevent accidental renaming of unrelated buffers.
4505         (uniquify-delay-rationalize-file-buffer-names): Use it to avoid
4506         the cost of uniquify when killing unrelated buffers.
4508         * newcomment.el (comment-set-column, comment-kill)
4509         (comment-or-uncomment-region): Call comment-normalize-vars
4510         since these functions are autoloaded.
4512         * help-fns.el (help-add-fundoc-usage): Use t for "no arglist".
4513         * emacs-lisp/advice.el (ad-make-advised-docstring): Adjust usage.
4515 2003-05-06  Lute Kamstra  <Lute.Kamstra@cwi.nl>
4517         * hl-line.el: Removed an erroneous comment.
4518         (hl-line-mode): Use buffer local hooks.
4519         (global-hl-line-mode): Turn local modes on unconditionally.
4520         (hl-line-highlight): Comment fix.
4522 2003-05-06  Richard M. Stallman  <rms@gnu.org>
4524         * newcomment.el (comment-search-forward): Delete autoload cookie.
4526 2003-05-06  Kenichi Handa  <handa@m17n.org>
4528         * arc-mode.el (archive-set-buffer-as-visiting-file):
4529         Use after-insert-file-set-coding, not
4530         after-insert-file-set-buffer-file-coding-system.
4532 2003-05-05  Stefan Monnier  <monnier@cs.yale.edu>
4534         * uniquify.el (uniquify-buffer-name-style)
4535         (uniquify-after-kill-buffer-p, uniquify-ask-about-buffer-names-p)
4536         (uniquify-ignore-buffers-re, uniquify-min-dir-content)
4537         (uniquify-separator, uniquify-trailing-separator-p): Remove redundant
4538         group specification.
4539         (uniquify-file-name-nondirectory): Delete.
4540         (uniquify-rationalize-file-buffer-names): Simplify.
4541         Use directory names as `filename' component of uniquify-item.
4542         (uniquify-get-proposed-name): Adjust now that `filename' does not
4543         include `base'.
4545         * vc-svn.el: New file.
4547 2003-05-05  John Paul Wallington  <jpw@gnu.org>
4549         * emacs-lisp/autoload.el (batch-update-autoloads):
4550         Call `update-directory-autoloads'.
4552 2003-05-04  Dan Nicolaescu  <dann@ics.uci.edu>
4554         * dired.el (dired-find-file): Bind find-file-run-dired around
4555         the call to find-file.
4557 2003-05-04  Stefan Monnier  <monnier@cs.yale.edu>
4559         * uniquify.el: Move provide to end of file.
4560         (uniquify-ref-base, uniquify-ref-filename, uniquify-ref-buffer)
4561         (uniquify-ref-proposed, uniquify-set-proposed): Remove.
4562         (uniquify-item): New struct.  Update users of uniquify-ref-*.
4563         (uniquify-get-proposed-name, uniquify-rationalize-a-list):
4564         Make `depth' optional.
4565         (uniquify-non-file-buffer-names): Remove.
4566         (uniquify-rationalize-file-buffer-names): Don't set it up.
4567         Use uniquify-make-item and don't pass the now-optional depth.
4568         (uniquify-rationalize-conflicting-sublist): Check the new buffer
4569         name directly instead of relying on uniquify-non-file-buffer-names.
4570         (uniquify-rename-buffer): Use with-current-buffer and pass
4571         the `unique' arg to rename-buffer.
4573         * vc-mcvs.el (vc-mcvs-mode-line-string): Fix thinko.
4574         (vc-mcvs-rename-file): New function.
4576 2003-05-04  Emmanuel Briot  <briot@gnat.com>
4578         * progmodes/ada-mode.el
4579         * progmodes/ada-prj.el
4580         * progmodes/ada-stmt.el
4581         * progmodes/ada-xref.el (ada-xemacs): Variable removed, since it's
4582         better to use (featurep 'xemacs).
4583         Removed warnings generated with Emacs 21.3.x (mostly by adding
4584         needed `require' statements).
4586 2003-05-04  Nick Roberts  <nick@nick.uklinux.net>
4588         * toolbar/gud-break.pbm, toolbar/gud-cont.pbm, toolbar/gud-display.pbm,
4589         toolbar/gud-down.pbm, toolbar/gud-finish.pbm, toolbar/gud-until.pbm,
4590         toolbar/gud-next.pbm, toolbar/gud-print.pbm, toolbar/gud-remove.pbm,
4591         toolbar/gud-run.pbm, toolbar/gud-step.pbm, toolbar/gud-up.pbm:
4592         Correct size for cleaner bitmaps.
4594 2003-05-03  Stefan Monnier  <monnier@cs.yale.edu>
4596         * emacs-lisp/cl-extra.el (cl-map-keymap): Redefine as alias.
4597         (cl-map-keymap-recursively): Use map-keymap.
4598         (cl-macroexpand-all): Don't quote functions.
4600         * emacs-lisp/lucid.el (cl-map-keymap): Be careful with aliases.
4602         * emacs-lisp/advice.el (ad-get-enabled-advices, ad-special-forms)
4603         (ad-arglist, ad-subr-arglist): Use push and match-string.
4604         (ad-make-advised-docstring): Extract & reinsert the usage info.
4606         * help-fns.el (help-add-fundoc-usage): Allow arglist to be a string.
4608 2003-05-03  Nick Roberts  <nick@nick.uklinux.net>
4610         * gdb-ui.el (breakpoint-enabled-icon, breakpoint-disabled-icon):
4611         Include bitmap data for monochrome display.
4612         (breakpoint-enabled-pbm-data, breakpoint-disabled-pbm-data):
4613         New constants.
4615 2003-05-03  Richard M. Stallman  <rms@gnu.org>
4617         * emacs-lisp/autoload.el (update-directory-autoloads): Renamed from
4618         update-autoloads-from-directories.
4620         * progmodes/cperl-mode.el (cperl-nonoverridable-face): Doc fix.
4622         * mail/sendmail.el (mail-dont-send, mail-bury): Make ARG optional.
4624         * view.el (Helper-return-blurb): Add defvar.  (Also rearrange defuns.)
4626         * uniquify.el (uniquify-ignore-buffers-re): Change default
4627         to match some Gnus buffers.
4629         * newcomment.el (comment-search-forward): Add autoload cookie.
4631         * isearch.el (isearch-complete): Update isearch-message.
4633         * filesets.el (filesets-data): Add another defvar.
4634         (filesets-verbosity): Doc fix.
4636 2003-05-02  Tak Ota  <Takaaki.Ota@am.sony.com>  (tiny change)
4638         * recentf.el (recentf-cleanup): Swap tests for exclusion and
4639         accessibility.
4641 2003-05-01  Eduardo Mu\e,Aq\e(Boz  <emufer@terra.es>  (tiny change)
4643         * ls-lisp.el (ls-lisp-format-file-size): New function to implement
4644         "-h" switch.
4645         (ls-lisp-format): Use it.
4647 2003-05-01  Kenichi Handa  <handa@m17n.org>
4649         * international/utf-8.el (utf-translate-cjk-mode): Update the
4650         second extra slot of the translation table
4651         utf-translation-table-for-encode.
4652         (mule-utf-8): Set the property translation-table-for-encode.
4654 2003-04-30  Stefan Monnier  <monnier@cs.yale.edu>
4656         * pcvs.el (cvs-vc-command-advice): Don't parse "cvs update -p" output.
4657         (cvs-mode-find-file): Don't complain if bound to a non-mouse event.
4659         * textmodes/fill.el (text-property-default-nonsticky): Add fill-space.
4660         (fill-delete-newlines): Respect the new property.
4661         (fill-newline): Use the property instead of leaving "spurious" spaces.
4663         * emacs-lisp/easymenu.el (easy-menu-get-map): Correctly handle
4664         non-submap bindings.
4666 2003-04-30  Emmanuel Briot  <briot@gnat.com>
4668         * progmodes/ada-mode.el (ada-search-directories): Take into account
4669         ADA_INCLUDE_PATH for better compatibility with GNAT.
4670         (ada-contextual-menu): Menu defined through `easy-menu-define'
4671         instead.  Various adjustments to the indentation engine (handling of
4672         subtypes, begin blocks, etc.).
4673         (ada-create-menu): Major rewrite of the handling of menus to use
4674         `easy-menu-define' for cleaner code and better compatibility with
4675         XEmacs.  All menus that were previously in ada-xref.el and
4676         ada-prj.el are now defined in this package, which makes it easier to
4677         edit menus.
4678         (ada-narrow-to-defun): Add support for `narrow-to-region'.
4679         No longer explicitely load ada-xref.el and ada-prj.el.  Use autoload
4680         statements instead.
4682         * progmodes/ada-xref.el (ada-gnatls-args): New variable.
4683         Add support for specifying arguments to gnatls.
4684         (ada-initialize-runtime-library): Properly parse "." in the output
4685         of gnatls.
4686         (ada-add-keymap): Remove since this is now done in ada-mode.el itself.
4687         (ada-add-ada-menu): Likewise.
4688         (ada-set-default-project-file): New parameter KEEP-EXISTING.
4689         (ada-prj-find-prj-file): New parameter FILE.
4690         (ada-parse-prj-file): Take into account the ADA_INCLUDE_PATH and
4691         ADA_OBJECTS_PATH environment variables.  Minor reorganization of the
4692         code
4693         (ada-get-all-references): Add support for GNAT 3.16 cross-references.
4695         * progmodes/ada-prj.el (ada-prj-add-keymap): Move to ada-mode.el
4696         directly.  Add dependency on ada-xref.el to avoid compilation
4697         warnings.
4698         (ada-prj-get-prj-dir): Remove, no longer needed.
4700         * progmodes/ada-stmt.el (ada-stmt-add-to-ada-menu):
4701         Move to ada-mode.el.
4702         (ada-template-map): Merge with the keymap handling in ada-mode.el.
4704 2003-04-29  Stefan Monnier  <monnier@cs.yale.edu>
4706         * isearch.el (isearch-complete1): Don't allocate unnecessarily.
4707         (isearch-complete-edit): Adjust to Emacs-21's new minibuffer handling.
4708         (isearch-update-ring): Use push.
4710 2003-04-29  Oliver Scholz  <epameinondas@gmx.de>
4712         * play/gamegrid.el: Added a comment explaining the various ways to
4713         save a game score on POSIX systems.
4714         (gamegrid-add-score-with-update-game-score): Use `cond' instead of
4715         `if'.  Provide for the case that FILE is an absolute filename.
4716         Create the directory "$HOME/.emacs.d/games", if necessary.
4718 2003-04-29  John Paul Wallington  <jpw@gnu.org>
4720         * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Use `string-match'.
4722 2003-04-28  Dave Love  <fx@gnu.org>
4724         * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Avoid cl warnings
4725         from caaar & al.
4727 2003-04-28  Kenichi Handa  <handa@m17n.org>
4729         * international/mule-cmds.el (reset-language-environment):
4730         Raise the priority of mule-utf-8, mule-utf-16-be-with-signature and
4731         mule-utf-16-le-with-signature.
4733         * international/mule-conf.el: Set coding-category-utf-16-be to
4734         mule-utf-16-be-with-signature, coding-category-utf-16-le to
4735         mule-utf-16-le-with-signature.  Raise the priority of
4736         coding-category-utf-8, coding-category-utf-16-be, and
4737         coding-category-utf-16-le
4739 2003-04-27  Luc Teirlinck  <teirllm@mail.auburn.edu>
4741         * scroll-bar.el (scroll-bar-drag-1): Replace beginning-of-line with
4742         vertical-motion.
4744 2003-04-27  David Ponce  <david@dponce.com>
4746         * recentf.el
4748         Major rewrite.  The code is reordered, cleaner and faster.
4749         Introduce new options to automatically cleanup the recent list,
4750         and to handle filename transformation (for example to use true
4751         filenames).
4753         (recentf-version): New constant.
4754         (recentf-save-file-header): Move.
4755         (recentf-data-cache): New variable.
4756         (recentf-update-menu-p, recentf-initialized-p): Remove.
4757         (recentf-menu-customization-changed): Move.  Doc fix.
4758         (recentf-max-saved-items): Doc fix.
4759         (recentf-save-file): Doc fix.  No more expand filename here.
4760         (recentf-exclude, recentf-menu-action)
4761         (recentf-menu-filter): Doc fix.
4762         (recentf-menu-append-commands-flag): Rename from...
4763         (recentf-menu-append-commands-p): Make obsolete.
4764         (recentf-keep-non-readable-files-flag): Rename from...
4765         (recentf-keep-non-readable-files-p): Make obsolete.
4766         (recentf-auto-cleanup, recentf-filename-handler): New options.
4767         (recentf-string-equal, recentf-string-lessp)
4768         (recentf-string-member): New functions.
4769         (recentf-trunc-list): Move.
4770         (recentf-dump-variable): Move.  Better code and output format.
4771         (recentf-auto-cleanup-timer): New variable.
4772         (recentf-auto-cleanup): New function.
4773         (recentf-push, recentf-expand-file-name): New functions.
4774         (recentf-add-file): In-line.  Use above functions.
4775         (recentf-remove-if-non-readable): In-line.  Expand file name.
4776         (recentf-find-file): Use `recentf-remove-if-non-readable'.
4777         (recentf-directory-compare): Move.  Use `recentf-string-equal'
4778         and `recentf-string-lessp' to do comparisons.
4779         (recentf-menu-items-for-commands)
4780         (recentf-menu-filter-commands): Move.
4781         (recentf-elements, recentf-make-menu-element)
4782         (recentf-menu-element-item, recentf-menu-element-value)
4783         (recentf-set-menu-element-item, recentf-set-menu-element-value)
4784         (recentf-sub-menu-element-p, recentf-make-default-menu-element)
4785         (recentf-menu-elements): In-line.  Some doc fix.
4786         (recentf-apply-menu-filter): Better code.
4787         (recentf-make-menu-items): Doc fix.
4788         Use `recentf-menu-append-commands-flag'.
4789         (recentf-make-menu-item): In-lined.  Better code.
4790         (recentf-clear-data): New function.
4791         (recentf-sort-ascending, recentf-sort-descending)
4792         (recentf-sort-basenames-ascending)
4793         (recentf-sort-basenames-descending)
4794         (recentf-sort-directories-ascending)
4795         (recentf-sort-directories-descending)
4796         (recentf-show-basenames-ascending)
4797         (recentf-show-basenames-descending: In-line.   Better code.  Doc fix.
4798         (recentf-show-basenames)
4799         (recentf-relative-filter): Better code.  Doc fix.
4800         (recentf-arrange-by-rule-subfilter): Doc fix.  Improve :set code.
4801         (recentf-match-rule-p): Use filename instead of file-path.
4802         (recentf-arrange-by-rule, recentf-build-mode-rules)
4803         (recentf-arrange-by-mode, recentf-build-dir-rules)
4804         (recentf-file-name-nondir)
4805         (recentf-filter-changer-alist): Some doc fix and code cleanup.
4806         (recentf-filter-changer-goto-next): Doc fix.
4807         Call `recentf-clear-data'.
4808         (recentf-filter-changer-get-current)
4809         (recentf-filter-changer-get-next): In-line.  Doc fix and better code.
4810         (recentf-filter-changer): Doc fix and better code.
4811         (recentf-cancel-dialog): Doc fix.
4812         (recentf-dialog-mode-map): Initialize in defvar.
4813         (recentf-dialog-mode): Doc fix.
4814         (recentf-track-opened-file): Rename from...
4815         (recentf-add-file-hook): Remove.
4816         (recentf-track-closed-file): Rename from...
4817         (recentf-remove-file-hook): Remove.
4818         (recentf-update-menu-hook): Remove.  Replace by...
4819         (recentf-update-menu): New.  Better catch unnecessary updates.
4820         Display a message on error.
4821         (recentf-used-hooks): New constant.
4822         (recentf-enabled-p): New function.
4823         (recentf-edit-selected-items)
4824         (recentf-open-files-action)
4825         (recentf-open-files-item-shift): Doc fix.
4826         (recentf-edit-list-action)
4827         (recentf-open-files-item): Doc fix.  Code cleanup.
4828         (recentf-edit-list, recentf-open-files)
4829         (recentf-open-more-files): Likewise.  Remove autoload cookie.
4830         (recentf-save-list, recentf-cleanup): Likewise.  Move.
4831         (recentf-load-list): New command.
4832         (recentf-mode): Better code.  Does nothing if enabling the already
4833         enabled mode.
4835 2003-04-27  Alan Mackenzie  <acm@muc.de>
4837         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Don't count a "//("
4838         which appears inside a character set.
4839         (regexp-opt-not-groupie*-re): New constant.
4841 2003-04-26  John Paul Wallington  <jpw@gnu.org>
4843         * ibuffer.el (ibuffer-name-map, ibuffer-mode-name-map)
4844         (ibuffer-mode-filter-group-map): Initialize in `defvar'.
4845         (ibuffer-do-view-1): Use `make-frame' instead of `new-frame'.
4847 2003-04-25  Jan Nieuwenhuizen  <janneke@gnu.org>
4849         * info.el (Info-unescape-quotes, Info-split-parameter-string)
4850         (Info-display-images-node): New functions for displaying images.
4851         (Info-select-node): Call Info-display-images-node.
4853 2003-04-25  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
4855         * files.el (file-relative-name): Recognize "c:/foo" as absolute
4856         file name.  Tiny change from David PONCE <david.ponce@wanadoo.fr>.
4858 2003-04-24  Sam Steingold  <sds@gnu.org>
4860         * calendar/diary-lib.el (fancy-diary-display-mode): Bind "q" to
4861         `quit-window' in the fancy diary buffer.
4863         * emacs-lisp/cl-indent.el: `symbol-macrolet' is similar to `let',
4864         not `multiple-value-bind'.
4866 2003-04-24  Lars Hansen  <larsh@math.ku.dk>
4868         * subr.el (assq-delete-all): Ignore non-cons elements.
4870 2003-04-24  John Paul Wallington  <jpw@gnu.org>
4872         * help-mode.el (help-make-xrefs): Remove extra paren.
4874 2003-04-23  Stefan Monnier  <monnier@cs.yale.edu>
4876         * newcomment.el (comment-normalize-vars): Prompt the user for
4877         the comment-start to use rather than signalling an error.  Fix regexp.
4878         (uncomment-region): Don't leave half-removed comment markers.
4880 2003-04-23  Richard M. Stallman  <rms@gnu.org>
4882         * mail/sendmail.el (mail-send-and-exit): Make arg optional.
4884         * files.el (view-read-only): Doc fix.
4886         * simple.el (back-to-indentation): Call backward-prefix-chars.
4888         * help-mode.el (help-make-xrefs): Clean up the loop that scans
4889         over a keymap inserted by \\{...}; it now stops at end of buffer.
4891         * filesets.el: Don't call filesets-init.
4893         * emacs-lisp/bytecomp.el (byte-compile-defun): Generate and
4894         compile a defalias form, unless byte-compile-compatibility.
4896         * progmodes/scheme.el (scheme-mode-syntax-table):
4897         Use prefix syntax for ', `, comma, @ and #.
4899         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4900         Give @ prefix syntax.
4902 2003-04-23  Andre Spiegel  <spiegel@gnu.org>
4904         * vc-cvs.el (vc-cvs-stay-local): Keep the old default.
4905         Simplify doc string.
4907 2003-04-23  Wolfgang Scherer  <wolfgang.scherer@gmx.de>
4909         * vc-cvs.el (vc-cvs-stay-local): Allow lists of host regexps.
4910         (vc-cvs-stay-local-p): Handle them.
4911         (vc-cvs-parse-root): New function, used by the above.
4913 2003-04-22  Stefan Monnier  <monnier@cs.yale.edu>
4915         * vc-mcvs.el (vc-mcvs-root): Cache the result.
4916         (vc-mcvs-registered): Simplify.  Use file-relative-name.
4917         (vc-mcvs-register): Simplify.  Don't burp if MCVS/TYPES doesn't exist.
4918         (vc-mcvs-command): Filter F-NN names in the output for diff and log.
4920 2003-04-21  Stefan Monnier  <monnier@cs.yale.edu>
4922         * info.el (Info-default-dirs): New fun extracted from Info-initialize.
4923         (info-initialize): Use it.  Obey the "final :" convention for INFOPATH.
4925         * textmodes/fill.el (fill-region-as-paragraph):
4926         Fix "last line goes to fill-column+1" problem.
4928         * emacs-lisp/bytecomp.el (byte-compile-defvar): Improve message.
4930 2003-04-20  Richard M. Stallman  <rms@gnu.org>
4932         * simple.el (kill-line): Doc fix.
4934 2003-04-20  Sam Steingold  <sds@gnu.org>
4936         * pcvs.el (cvs-examine): Respect `find-file-visit-truename'.
4938 2003-04-20  Glenn Morris  <gmorris@ast.cam.ac.uk>
4940         * which-func.el (which-func-modes): Add f90-mode.
4941         (which-function): Handle imenu submenus.
4943         * progmodes/fortran.el (fortran-abbrev-start): Make XEmacs compatible.
4945         * progmodes/f90.el (f90-font-lock-keywords-2): Use override for
4946         font-lock-variable-name-face in declarations.
4947         Highlight continuation characters.
4948         (f90-indent-new-line): Remove direct call to f90-indent-line-no,
4949         f90-update-line.
4950         (f90-abbrev-start): Fix XEmacs compatibility.
4952 2003-04-19  Stefan Monnier  <monnier@cs.yale.edu>
4954         * vc-mcvs.el: New file.
4956         * vc-cvs.el (vc-cvs-dir-state): Use vc-cvs-command.
4957         (vc-cvs-could-register, vc-cvs-make-version-backups-p): Use defalias.
4958         (vc-cvs-merge-news): Simplify.
4959         (vc-cvs-diff): Remove unused var `options'.
4960         (vc-cvs-parse-entry): Use the same algorithm as cvs does.
4962 2003-04-19  Richard M. Stallman  <rms@gnu.org>
4964         * desktop.el (desktop-buffer-mh): Don't require mh-e;
4965         it causes trouble in compilation.
4967         * add-log.el (add-log-current-defun-function): Add autoload cookie.
4969         * newcomment.el (comment-use-syntax): Add autoload cookie.
4971         * emacs-lisp/bytecomp.el (byte-compile-log-file)
4972         (byte-recompile-directory): Don't use byte-goto-log-buffer.
4973         Instead, set default-directory and then call compilation-mode.
4974         (byte-compile-from-buffer): Force byte-compile-last-position
4975         to end of buffer before issuing final warnings.
4977 2003-04-18  Stefan Monnier  <monnier@cs.yale.edu>
4979         * emulation/cua-base.el (cua-mode): Use define-minor-mode.
4980         (cua-global-mark-face): Fix face format.
4982         * emacs-lisp/easy-mmode.el (define-minor-mode): Only echo a message
4983         if the body didn't do so already.
4984         (easy-mmode-define-keymap): Remove unused var `suppress'.
4986         * view.el (view-read-only): Move to files.el.
4987         * files.el (view-read-only): Move from view.el.
4989 2003-04-17  Stefan Monnier  <monnier@cs.yale.edu>
4991         * files.el (view-read-only): Don't declare a second time.
4992         (find-file-read-only, find-file-read-only-other-window)
4993         (find-file-read-only-other-frame): Check that file does exist.
4994         (large-file-warning-threshold): New custom.
4995         (find-file-noselect): Use it.
4996         (report-errors): New macro.
4997         (normal-mode): Use it.
4998         (toggle-read-only): Really toggle, even if view-mode is on.
4999         (parse-colon-path): Remove unused `cd-prefix' var.
5000         (make-backup-file-name-1): Remove unused `failed' var.
5001         (basic-save-buffer): Remove unused `tempsetmodes' var.
5002         (basic-save-buffer-2): Remove unused `temp' var.
5003         (insert-directory): Remove unused `available' var.
5005 2003-04-17  John Paul Wallington  <jpw@gnu.org>
5007         * hexl.el (hexl-find-file): Bind `default-major-mode' to
5008         `fundamental-mode'.
5010 2003-04-16  Stefan Monnier  <monnier@cs.yale.edu>
5012         * reveal.el (reveal-post-command): Use overlay-get for overlays.
5014 2003-04-16  Kenichi Handa  <handa@m17n.org>
5016         * international/mule-cmds.el (describe-language-environment):
5017         At first, require all necessary features.
5019 2003-04-16  Dave Love  <fx@gnu.org>
5021         * progmodes/xscheme.el: Moved from lisp directory.
5023 2003-04-16  Glenn Morris  <gmorris@ast.cam.ac.uk>
5025         * progmodes/f90.el (f90-indent-to, f90-indent-line-no)
5026         (f90-no-block-limit, f90-end-of-block, f90-beginning-of-block)
5027         (f90-comment-region, f90-indent-line, f90-indent-region)
5028         (f90-find-breakpoint, f90-block-match): Trivial simplifications.
5029         (f90-looking-at-do, f90-looking-at-select-case)
5030         (f90-looking-at-if-then, f90-looking-at-where-or-forall):
5031         Drop XEmacs 19 support and simplify.
5032         (f90-indent-new-line): No need for case-fold-search.  Simplify.
5033         (f90-fill-region): Make marker nil when done.  Simplify.
5035         * progmodes/fortran.el (fortran-column-ruler): Minor doc change.
5037 2003-04-16  Richard M. Stallman  <rms@gnu.org>
5039         * man.el (Man-follow-manual-reference): Don't require match
5040         when calling completing-read.
5042 2003-04-15  Glenn Morris  <gmorris@ast.cam.ac.uk>
5044         * progmodes/fortran.el: Whitespace changes, some re-ordering of
5045         code, trivial commentary change.
5046         (fortran, fortran-indent, fortran-comment)
5047         (fortran-tab-mode-default, fortran-continuation-indent)
5048         (fortran-comment-indent-style, fortran-blink-matching-if)
5049         (fortran-continuation-string, fortran-electric-line-number)
5050         (fortran-break-before-delimiters, fortran-mode-hook)
5051         (fortran-end-prog-re, fortran-imenu-generic-expression):
5052         Minor doc changes.
5053         (fortran-tab-mode-minor-mode-string): New variable.
5054         (fortran-tab-mode-string): Now customization is meaningful.
5055         (fortran-column-ruler-fixed, fortran-column-ruler-tab)
5056         (fortran-analyze-depth): Use defcustom.
5057         (fortran-if-start-re, fortran-end-prog-re1, fortran-fill)
5058         (fortran-break-line, fortran-prepare-abbrev-list-buffer)
5059         (fortran-auto-fill): Add doc string.
5060         (fortran-type-types): New constant (was local to let binding).
5061         (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
5062         (fortran-font-lock-syntactic-keywords): Initialize in defvar.
5063         (fortran-font-lock-keywords-3): Initialize in defvar.  Use 1+ now
5064         depth of fortran-type-types has changed.  Remove extra and.
5065         (fortran-mode-menu): Minor re-organization.  Use lookup-key.
5066         (fortran-mode): Doc changes.  Some re-organization.
5067         Use fortran-tab-mode-minor-mode-string.
5068         (fortran-comment-indent): Add doc string.  Move save-excursion.
5069         Use 1+.
5070         (fortran-indent-comment, fortran-fill-statement):
5071         Change interactive spec.  Use unless.
5072         (fortran-comment-region): Doc change.  Reverse logic of arg
5073         test.  Use zerop.
5074         (fortran-abbrev-start, fortran-split-line)
5075         (fortran-electric-line-number, fortran-indent-subprogram)
5076         (fortran-strip-sequence-nos): Change interactive spec.
5077         (fortran-remove-continuation): Add doc string.  Use when.
5078         (fortran-numerical-continuation-char): Doc change.  Use 1+.
5079         (fortran-previous-statement, fortran-next-statement)
5080         (fortran-beginning-do, fortran-calculate-indent)
5081         (fortran-end-do, fortran-end-if, fortran-beginning-if):
5082         Use zerop, 1+, 1-.
5083         (fortran-blink-match, fortran-check-for-matching-do): Use when.
5084         (fortran-indent-line): Change interactive spec.  Remove un-needed
5085         if.  Use when.
5086         (fortran-indent-to-column): Doc change.  Use when, unless.
5087         (fortran-find-comment-start-skip): No longer interactive.
5088         (fortran-analyze-file-format): Minor doc change.
5089         Remove un-needed setq.
5090         (minor-mode-alist): Use add-to-list.
5091         (fortran-fill-paragraph): Change interactive spec, doc string.
5093         * progmodes/f90.el: Whitespace changes, trivial commentary changes.
5094         (f90, f90-indent, f90-program-indent, f90-continuation-indent)
5095         (f90-indented-comment-re, f90-imenu-generic-expression)
5096         (f90-mark-subprogram, f90-join-lines): Minor doc changes.
5097         (f90-menu): Shift definition to initialization of f90-mode-map.
5098         Add customization section.
5099         (f90-mode): Minor doc change.  Do not call easy-menu-add.
5100         Set `beginning-of-defun-function' and `end-of-defun-function' to
5101         appropriate F90 functions.
5102         (f90-indent-line, f90-indent-line, f90-indent-subprogram)
5103         (f90-break-line, f90-do-auto-fill, f90-insert-end)
5104         (f90-upcase-keywords, f90-capitalize-keywords)
5105         (f90-downcase-keywords): Change interactive spec.
5107 2003-04-14  Stefan Monnier  <monnier@cs.yale.edu>
5109         * font-lock.el (font-lock-multiline, font-lock-fontified)
5110         (font-lock-set-defaults): Move back from font-core.el and merge
5111         it back with font-lock-set-defaults-1.
5112         (font-lock-mode-internal): New function (basically the body of
5113         the old font-lock-mode minor mode).
5115         * font-core.el (font-lock-maximum-size, font-lock-verbose): Remove.
5116         (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
5117         Move back to font-lock.el
5118         (font-lock-default-function): Use font-lock-mode-internal.
5120         * files.el (auto-mode-alist): Add entries for *.ins and *.dtx.
5121         (recover-file): Abbreviate file name in messages.
5123         * textmodes/tex-mode.el (latex-mode-map): Bind latex-split-block.
5124         (tex-font-lock-keywords-2): Comment out unused var `type'.
5125         (tex-guess-mode): New name for old `tex-mode'.
5126         (tex-mode): Make it a derived mode of text-mode.
5127         (plain-tex-mode, latex-mode): Change parent from text-mode to tex-mode.
5128         (tex-common-initialization): Don't setup syntax-table any more.
5129         (tex-validate-buffer): Remove unused var `oend'.
5130         Use with-current-buffer and line-beginning-position.
5131         (tex-recenter-output-buffer): Remove unused var `old-buffer'.
5132         (latex-indent): Return `noindent' if no indentation can happen.
5133         (doctex-font-lock-^^A, doctex-font-lock-syntactic-face-function)
5134         (doctex-font-lock-syntactic-keywords, doctex-font-lock-keywords)
5135         (doctex-mode): New funs for DocTeX mode, derived from LaTeX mode.
5137         * font-lock.el (font-lock-preprocessor-face): New var and face.
5139 2003-04-14  Andrew Choi  <akochoi@shaw.ca>
5141         * term/mac-win.el: Unconditionally set process-connection-type to nil.
5143 2003-04-14  Richard M. Stallman  <rms@gnu.org>
5145         * derived.el (define-derived-mode): Make generated code work in
5146         Emacs versions that do not have run-mode-hooks.
5148         * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
5149         At end of buffer, run the global binding of the same key.
5151         * international/mule.el (after-insert-file-set-coding):
5152         Properly treat INSERTED as number of characters, for both
5153         for both the argument and the value.
5155         * desktop.el (desktop-base-file-name):
5156         Renamed from desktop-basefilename.  Add defvaralias.
5158 2003-04-14  John Paul Wallington  <jpw@gnu.org>
5160         * international/fontset.el (create-fontset-from-ascii-font): Doc fix.
5161         (x-must-resolve-font-name): Fix error message typo.
5163 2003-04-13  Glenn Morris  <gmorris@ast.cam.ac.uk>
5165         * progmodes/fortran.el (fortran-previous-statement): Check for
5166         fortran-continuation-string.
5167         (fortran-calculate-indent): Do not add extra whitespace to
5168         strings broken over lines.
5169         (fortran-fill): Handle long strings that must be broken.
5171 2003-04-13  Michael Albinus  <Michael.Albinus@alcatel.de>  (tiny change)
5173         * net/ange-ftp.el (ange-ftp-expand-symlink): If result of
5174         expansion is a symlink, expand again.
5175         (ange-ftp-file-symlink-p): Return target of symlink literally.
5177 2003-04-13  Masatake YAMATO  <jet@gyve.org>
5179         * bindings.el (toplevel): Don't change the face
5180         of major-mode on the mode line. Setting the face on
5181         the mode line code is installed by my mistake in
5182         my last change.
5184 2003-04-12  Stefan Monnier  <monnier@cs.yale.edu>
5186         * add-log.el (change-log-version-number-search): Fix old bug.
5187         (add-change-log-entry): Avoid inserting the same funname again.
5188         (add-log-indent-text): New var.
5189         (add-log-indent): New fun.
5190         (change-log-mode): Use it.
5192         * net/browse-url.el: Don't autoload all these defcustoms.
5193         (browse-url-default-macosx-browser): New fun.
5194         (browse-url-browser-function): Use it for system-type = darwin.
5195         (browse-url-usr1-signal): Remove.
5196         (browse-url-mosaic): Use SIGUSR1 directly instead.
5197         (browse-url-gnome-moz-program): New var.
5198         (browse-url-gnome-moz, browse-url-default-browser): Use it.
5200         * emacs-lisp/bytecomp.el: Use push, with-current-buffer, dolist, ...
5201         (byte-compile-const-variables): New var.
5202         (byte-compile-close-variables): Reset it.
5203         (byte-compile-file-form-defvar, byte-compile-defvar): Update it.
5204         (byte-compile-const-symbol-p): Now arg `value' to check defconsts.
5205         (byte-compile-variable-ref): Use it and improve warning message.
5206         (byte-compile-check-lambda-list): Use byte-compile-const-symbol-p.
5207         (byte-compile-lapcode): Remove unused vars.
5208         (byte-compile-eval): Fix thinko in handling of old-autoloads.
5209         (byte-recompile-directory): Use the expanded form for directory.
5210         (byte-compile-track-mouse): Use modern backquote syntax.
5211         (byte-compile-defvar): Detect and properly handle (defconst a).
5212         (byte-compile-defalias-warn): Remove unused arg `alias'.
5213         (byte-compile-defalias): Update call.
5215 2003-04-13  Masatake YAMATO  <jet@gyve.org>
5217         * help.el (describe-minor-mode): New function implementation.
5218         Accept both minor mode string and minor mode indicator.
5219         (describe-minor-mode-completion-table-for-indicator)
5220         (describe-minor-mode-completion-table-for-symbol): New functions.
5221         minor-mode-list is used here.
5222         (describe-minor-mode-from-symbol):
5223         Renamed from (old) describe-minor-mode.
5224         Use describe-minor-mode-completion-table-for-symbol.
5225         Don't use eval. Just use symbol-name.
5226         (describe-minor-mode-from-indicator): Document is updated.
5227         Use `format-mode-line'.
5228         Use describe-minor-mode-from-symbol instead of describe-minor-mode.
5229         Use describe-minor-mode-completion-table-for-indicator.
5230         (expand-minor-mode-indicator-object): Remove.
5231         (lookup-minor-mode-from-indicator): Remove the fist white
5232         space from both indicator and anindicator before comparing them.
5234         * bindings.el (mode-line-major-mode-keymap)
5235         (mode-line-minor-mode-keymap): Define keys for the maps
5236         here in `defvar'.
5238 2003-04-12  Stefan Monnier  <monnier@cs.yale.edu>
5240         * server.el (server-socket-name): Use new safe location for socket.
5241         (server-ensure-safe-dir): New fun.
5242         (server-start): Use it and letf.
5243         (server-process-filter): Re-enable the -eval feature.
5245 2003-04-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
5247         * play/gomoku.el (gomoku-buffer-name): New constant.
5248         (gomoku-mode): Doc fix.  Add call to kill-all-local-variables.
5249         (gomoku): Do not call gomoku-switch-to-window directly.
5250         (gomoku-prompt-for-other-game): Throw an error if no new game.
5251         (gomoku-switch-to-window): Use gomoku-buffer-name.
5253         * progmodes/f90.el (f90-abbrev-start): Only offer help if
5254         abbrev-mode is active.
5255         (f90-join-lines): Make it behave more like standard join-line.
5256         (f90-fill-region, f90-menu): Adapt for new f90-join-lines.
5258         * progmodes/fortran.el (fortran-abbrev-start): Only offer help if
5259         abbrev-mode is active.
5261 2003-04-12  John Paul Wallington  <jpw@gnu.org>
5263         * help-fns.el (help-add-fundoc-usage): Pass an empty string to
5264         `format' if no newlines are necessary.
5266 2003-04-11  Stefan Monnier  <monnier@cs.yale.edu>
5268         * bindings.el (global-map): Bind [select-window].
5270 2003-04-11  John Paul Wallington  <jpw@gnu.org>
5272         * type-break.el (type-break-warning-countdown-string): Doc fix.
5274 2003-04-11  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>  (tiny change)
5276         * international/utf-8.el (utf-translate-cjk-mode): Fix incorrect
5277         place of parenthesis.
5279 2003-04-11  Masatake YAMATO  <jet@gyve.org>
5281         * progmodes/etags.el (select-tags-table-mode-map):
5282         Don't create new keymap. Instead copy from button-buffer-map.
5283         Bind push-button to `t' instead of binding
5284         select-tags-table-select directly
5285         (tags-select-tags-table): New button.
5286         (select-tags-table): Put a button for each selections.
5288 2003-04-11  Kenichi Handa  <handa@m17n.org>
5290         * international/mule.el:
5291         Don't set after-insert-file-adjust-coding-function.
5292         (after-insert-file-set-coding):
5293         Renamed from after-insert-file-set-buffer-file-coding-system.
5295 2003-04-11  Kenichi Handa  <handa@m17n.org>
5297         * international/quail.el (quail-guidance-str)
5298         (quail-guidance-frame): New variables.
5299         (quail-guidance-win): Delete this variable.
5300         (quail-setup-overlays): Make overlay not rear-advancing.
5301         (quail-kill-guidance-buf): Delete this function.
5302         (quail-activate): Add/remove quail-show-guidance to/from
5303         post-command-hook.
5304         (quail-input-method): Don't setup quail-guidance-buf.
5305         Initialize quail-guidance-str to "".
5306         (quail-start-translation): Call quail-show-guidance at first.
5307         (quail-start-conversion): Likewise.
5308         (quail-terminate-translation): Don't erase quail-guidance-buf.
5309         (quail-update-translation): Stretch overlays if their starting and
5310         ending positions are same.
5311         (quail-update-current-translations): Check the width of the
5312         current window, not the width of quail-guidance-win.
5313         (quail-make-guidance-frame): Delete the arg BUF.  Fix position
5314         calculation.  Don't set the window buffer, just return the new frame.
5315         (quail-minibuffer-message): New function.
5316         (quail-show-guidance): Renamed from quail-show-guidance-buf.
5317         Use message and quail-minibuffer-message to display the guidance.
5318         (quail-hide-guidance): Renamed from quail-hide-guidance-buf.
5319         Only delete quail-guidance-frame.
5320         (quail-update-guidance): Just update quail-guidance-str, not
5321         display it.
5322         (quail-get-translations): Renamed from quail-show-translations.
5323         Return a string instead of inserting it in quail-guaidance-buf.
5325 2003-04-11  Kenichi Handa  <handa@m17n.org>
5327         * international/mule-cmds.el (sort-coding-systems): Set lower
5328         priority to a utf-16 base coding system.  Set higher priority to a
5329         coding system listed in coding-category-list.
5331 2003-04-10  Juanma Barranquero  <lektu@terra.es>
5333         * frame.el (modify-all-frames-parameters): Deleted.
5335 2003-04-10  Sebastian Tennant  <seb@albert.vcisp.net>  (tiny change)
5337         * desktop.el (desktop-buffer-file): Restore major-mode if it is
5338         different from the normal mode.
5340 2003-04-10  Kenichi Handa  <handa@m17n.org>
5342         * international/mule.el:
5343         Set after-insert-file-adjust-coding-function to
5344         after-insert-file-set-buffer-file-coding-system instead of adding
5345         it to after-insert-file-functions.
5347         * language/ind-util.el (indian-2-column-to-ucs-region): Fix for
5348         the case of replacing multibyte characters.
5350 2003-04-09  Richard M. Stallman  <rms@gnu.org>
5352         * files.el (file-chase-links): Fix previous change.
5354 2003-04-09  Juanma Barranquero  <lektu@terra.es>
5356         * frame.el (new-frame): Add obsolescence declaration.
5358 2003-04-09  Ehud Karni  <ehud@unix.mvs.co.il>
5360         * frame.el (set-frame-font): Allow keeping frame size after
5361         changing font.
5362         (modify-all-frames-parameters): New function to change parameters
5363         in all existing and future frames.
5365 2003-04-09  Thien-Thi Nguyen  <ttn@gnu.org>
5367         * man.el (Man-heading-regexp): Accept hyphen.
5369 2003-04-09  Kenichi Handa  <handa@m17n.org>
5371         * international/fontset.el: Specify rescale ratio 1.3 for CDAC fonts.
5373         * international/mule-conf.el: Register ?\221 and ?\226 in
5374         latin-extra-code-table.
5376 2003-04-08  Richard M. Stallman  <rms@gnu.org>
5378         * subr.el (minor-mode-list): New variable.
5379         (add-minor-mode): Add to it.
5381         * files.el (file-chase-links): New arg LIMIT.
5382         After that many iterations, just return what we've got.
5384         * map-ynp.el (map-y-or-n-p): When formatting chars in ACTION-ALIST,
5385         use single-key-description.
5387         * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
5388         At end of buffer, just call `newline'.
5390         * mail/rmailsum.el (rmail-make-basic-summary-line): If there's
5391         no From field, still try to use the To field.
5393 2003-04-09  Kenichi Handa  <handa@m17n.org>
5395         * international/mule-diag.el (print-coding-system-briefly):
5396         If DOC-STRING is `tightly', print the doc-string tightly.
5397         (list-coding-systems-1): Sort coding systems.
5398         Call print-coding-system-briefly with the arg DOC-STRING `tightly'.
5400 2003-04-08  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
5402         * net/tramp.el: Version 2.0.33 released.
5403         Change coding cookie to `iso-2022-7bit' for XEmacs
5404         compatibility.  (From Steve Youngs <youngs@xemacs.org>.)
5406 2003-04-08  Michael Albinus  <Michael.Albinus@alcatel.de>
5408         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
5409         Do not disable file name handlers for `file-exists-p' and
5410         `file-directory-p'.
5412 2003-04-08  Kenichi Handa  <handa@m17n.org>
5414         * international/mule-conf.el: Register ?\225 in latin-extra-code-table.
5416         * international/utf-16.el (utf-16-le-decode-loop)
5417         (utf-16-be-decode-loop): New temporary variables.
5418         (ccl-decode-mule-utf-16-le): Use utf-16-le-decode-loop.
5419         (ccl-decode-mule-utf-16-be): Use utf-16-be-decode-loop
5420         (ccl-decode-mule-utf-16-le-with-signature)
5421         (ccl-decode-mule-utf-16-be-with-signature)
5422         (ccl-decode-mule-utf-16): New CCL programs.
5423         (utf-16-le-encode-loop, utf-16-be-encode-loop): New temporary
5424         variables.
5425         (ccl-encode-mule-utf-16-le): Use utf-16-le-encode-loop.
5426         (ccl-encode-mule-utf-16-be): Use utf-16-be-encode-loop
5427         (ccl-encode-mule-utf-16-le-with-signature)
5428         (ccl-encode-mule-utf-16-be-with-signature): New CCL programs.
5429         (mule-utf-16-post-read-conversion): New function.
5430         (mule-utf-16-le-with-signature, mule-utf-16-be-with-signature),
5431         (mule-utf-16): New coding systems.
5432         (utf-16-le-with-signature, utf-16-be-with-signature),
5433         (utf-16): Aliases of the above coding systems.
5435 2003-04-08  Martin Stjernholm  <bug-cc-mode@gnu.org>
5437         * progmodes/cc-langs.el (c-symbol-key): Use POSIX char classes
5438         to match symbols.  This makes CC Mode cope with the full range
5439         of identifier characters in e.g. Java.
5441 2003-04-07  Francesco Potort\e,Al\e(B  <pot@gnu.org>
5443         * xt-mouse.el (xterm-mouse-event-read): New function.
5444         (xterm-mouse-event): Use it to get xterm sequences above #x7f.
5445         Suggested by Aman Bhargava <emacs-bug@amanb.net>.
5447 2003-04-07  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
5449         * man.el (Man-getpage-in-background): Set GROFF_NO_SGR env var in
5450         all cases, whether or not start-process is fboundp.
5452 2003-04-06  Richard M. Stallman  <rms@gnu.org>
5454         * calendar/cal-menu.el (cal-menu-update): Use easy-menu-create-menu
5455         rather than easy-menu-change.
5457         * dired.el (dired-view-file): Let viewer program run asynchronously.
5459 2003-04-06  Ben North  <ben@redfrontdoor.org>  (tiny change)
5461         * emacs-lisp/lisp-mode.el (last-sexp-toggle-display):
5462         Correct the starting point for previous-single-property-change.
5464 2003-04-06  Lars Hansen  <larsh@math.ku.dk>
5466         * desktop.el: Handle multiple desktop files in different dirs.
5467         Other cleanups.
5468         Command line option --no-desktop introduced.
5469         (desktop-read): Record buffers in the desktop file in
5470         the same order as that in the buffer list,
5471         (desktop-save): Put buffers in the order given in desktop file,
5472         regardless of what handlers do.
5473         (desktop-file-version): New variable. Version number of desktop
5474         file format.
5475         (desktop-create-buffer-form): Variable deleted.
5476         (desktop-save): New customizable variable.
5477         (desktop-kill): Use `desktop-save'.
5478         (desktop-file-name-format): New option: format in
5479         which desktop file names should be saved.
5480         (desktop-file-name): New function to convert a filename to the
5481         format specified in `desktop-file-name-format'.
5482         (desktop-create-buffer): Parameters renamed to descriptive
5483         systematic names. These parameters are visible to handlers.
5484         Renames:
5485         ver    -> desktop-file-version
5486         mim    -> desktop-buffer-minor-modes
5487         pt     -> desktop-buffer-point
5488         mk     -> desktop-buffer-mark
5489         ro     -> desktop-buffer-read-only
5490         locals -> desktop-buffer-locals
5491         (desktop-buffer-major-mode, desktop-buffer-file-name)
5492         (desktop-buffer-name): Delete unused customizable variables.
5493         (desktop-buffer-misc): Delete unused variable.
5494         (desktop-save, desktop-buffer-dired-misc-data):
5495         Use `desktop-file-name'.
5496         (desktop-path): New customizable variable.  List of directories in
5497         which to lookup the desktop file.  Replaces hardcoded list.
5498         (desktop-globals-to-clear): New variable replaces hardcoded list.
5499         (desktop-clear-preserve-buffers-regexp): New customizable variable.
5500         (desktop-after-read-hook): New hook run after a desktop is read.
5501         (desktop-no-desktop-file-hook): New hook when no desktop file found.
5502         (desktop-change-dir): New function.
5503         (desktop-save-in-load-dir): New function.  Save desktop in
5504         directory from which it was loaded.
5505         (desktop-revert): New function. Revert to the last loaded desktop.
5507 2003-04-06  Masatake YAMATO  <jet@gyve.org>
5509         * progmodes/etags.el (tag-find-file-of-tag): Renamed from
5510         find-file-of-tag to avoid name space pollution.
5511         (tag-find-file-of-tag-noselect): Likewise.
5512         (etags-list-tags, etags-tags-apropos):
5513         Use tag-find-file-of-tag instead of find-file-of-tag.
5515 2003-04-06  Masatake YAMATO  <jet@gyve.org>
5517         * info.el (Info-goto-emacs-command-node): If command
5518         is given as a string, convert it to a symbol.
5520 2003-04-05  Kevin Ryde  <user42@zip.com.au>
5522         * info-look.el (emacs-lisp-mode): Add prefix/suffix matching regexps.
5524 2003-04-05  Andre Spiegel  <spiegel@gnu.org>
5526         * vc-cvs.el (vc-cvs-get-entries): New function that uses the
5527         right coding system for accessing CVS/Entries.
5528         (vc-cvs-registered, vc-cvs-dir-state-heuristic): Use it.
5530 2003-04-04  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5532         * subr.el (number-sequence): Adjust code.
5534 2003-04-04  Stefan Monnier  <monnier@cs.yale.edu>
5536         * textmodes/refill.el (refill-fill-paragraph-at): Undo last fix.
5537         (refill-fill-paragraph-at): Don't skip prefix since markers work right.
5539         * textmodes/fill.el (fill-delete-newlines): Remove trailing whitespace.
5540         (fill-paragraph): Don't skip prefix now that markers work right.
5542 2003-04-04  John Paul Wallington  <jpw@gnu.org>
5544         * ibuffer.el (ibuffer-insert-filter-group): `help-echo' text
5545         property dynamically respects `tooltip-mode'.
5546         (define-ibuffer-column name): Likewise.
5548         * ibuf-ext.el (ibuffer-format-filter-group-data): Don't append "\n".
5550 2003-04-04  Masatake YAMATO  <jet@gyve.org>
5552         * progmodes/etags.el (find-file-of-tag-noselect, find-file-of-tag):
5553         New helper functions.
5554         (snarf-tag-function): Doc string is changed.  Explained about new
5555         optional argument, `use-explicit'.
5556         (etags-snarf-tag): Add one optional argument `use-explicit'.
5557         (file-of-tag-function): Doc string is changed.  Explained about new
5558         optional argument, `relative'.
5559         (file-of-tag): Doc string is changed.  Explained about new optional
5560         argument, `relative'.  Pass `relative' to `file-of-tag-function'.
5561         (etags-file-of-tag): Add new argument `relative`.
5562         (list-tags): Set `buffer-read-only' to t after making the major mode
5563         apropos-mode.
5564         (etags-list-tags): Use `make-text-button' instead of
5565         `add-text-properties'.  Used `snarf-tag-function',
5566         `goto-tag-location-function' and `find-file-of-tag' instead of
5567         `find-tag-other-window' (it's too simple).
5568         (find-tag-in-order): Use `find-file-of-tag-noselect' instead of
5569         `find-file'.
5570         (etags-tags-apropos): Use `find-file-of-tag-noselect' instead of
5571         `find-file'.  Do not use `etags-goto-tag-location` directly; use
5572         `goto-tag-location-function' instead.  Print relative file paths
5573         instead of complete ones in *Tags List* buffer, so lines in the
5574         buffer become shorter.
5575         (etags-tags-apropos-additional): Use `make-text-button' instead of
5576         `add-text-properties'.
5578 2003-04-04  Andreas Schwab  <schwab@suse.de>
5580         * net/tramp.el (tramp-send-string): Handle empty string.
5582 2003-04-03  Richard M. Stallman  <rms@gnu.org>
5584         * emacs-lisp/easymenu.el (easy-menu-define):
5585         Don't make a defvar for nil.
5586         (easy-menu-convert-item-1): Doc fix.
5587         (easy-menu-change): Call easy-menu-create-menu.
5589         * subr.el (read-quoted-char): Remember the input char
5590         before translation thru function-key-map, and use that for unreading.
5592         * shadowfile.el (shadow-parse-fullname):
5593         Renamed from shadow-parse-fullpath.
5594         (shadow-parse-name): Renamed from shadow-parse-path.
5595         (shadow-make-fullname): Renamed from shadow-make-fullpath.
5596         (shadow-replace-name-component): Was shadow-replace-path-component.
5597         Callers of the above functions changed.
5598         (shadow-expand-cluster-in-file-name): Doc fix.
5599         (shadow-same-site, shadow-file-match): Doc fix.
5600         (shadow-define-literal-group): Doc fix.
5602         * kmacro.el (kmacro-end-and-call-macro): Doc fix.
5604         * hexl.el (hexl-find-file): Ignore user's value of default-major-mode.
5606         * files.el (hack-local-variables-prop-line): New arg MODE-ONLY.
5607         (hack-local-variables): When MODE-ONLY is set, pass it along to
5608         hack-local-variables-prop-line.
5610         * delsel.el (delete-active-region): Don't explicitly deactivate mark.
5612 2003-04-03  Masatake YAMATO  <jet@gyve.org>
5614         * progmodes/etags.el: Require button.el.
5615         (etags-tags-apropos): Use `make-text-button' instead of
5616         `add-text-properties'.  Use `snarf-tag-function' and
5617         `etags-goto-tag-location' instead of `find-tag-other-window' (it's
5618         too simple).
5620         * man.el (Man-xref-header-file): Fix previous change.
5622 2003-04-03  Kenichi Handa  <handa@m17n.org>
5624         * subr.el (number-sequence): New function.
5626 2003-04-02  Ehud Karni  <ehud@unix.mvs.co.il>  (tiny change)
5628         * sort.el (sort-reorder-buffer): Fix saving of markers at the end
5629         of the sorted region.
5631 2003-04-02  Masatake YAMATO  <jet@gyve.org>
5633         * woman.el (woman-xref): Removed.
5634         (woman-mode): Use `Man-highlight-references' instead of
5635         `WoMan-highlight-references'.
5636         (WoMan-highlight-references): Removed.
5638         * man.el (toplevel): Require button.
5639         (Man-header-file-path): New option.
5640         (Man-synopsis-regexp, Man-files-regexp, Man-include-regexp)
5641         (Man-file-name-regexp, Man-normal-file-prefix-regexp)
5642         (Man-header-regexp, Man-normal-file-regexp): New variables.
5643         (Man-mode-map): Inherit from `button-buffer-map'.  Don't define
5644         "\r" and mouse-2 directly.  These key are defined in
5645         `button-buffer-map'.
5646         (Man-xref-man-page, Man-xref-header-file, Man-xref-normal-file):
5647         New buttons.  `Man-xref-man-page' comes from woman.el.
5648         (man-follow-mouse): Removed.
5649         (Man-fontify-manpage): Use `Man-highlight-references' instead of
5650         calling `add-text-properties' directly.
5651         (Man-highlight-references, Man-highlight-references0): New functions.
5652         (Man-view-header-file): New function.
5654 2003-04-02  Stefan Monnier  <monnier@cs.yale.edu>
5656         * textmodes/refill.el (refill-fill-paragraph-at): Don't preserve
5657         the trailing space since fill.el doesn't remove it anymore.
5658         (refill-mode): Reset fill-paragraph-function even if it was nil.
5660         * textmodes/fill.el (fill-region-as-paragraph):
5661         Don't remove space at end of paragraph: it makes refill.el unusable.
5662         Remove obsolete `save-restriction'.
5663         (fill-paragraph, fill-comment-paragraph): Don't add newline at EOP.
5664         (fill-delete-newlines): Don't add a trailing space.
5665         (fill-newline): Don't leave markers before the prefix.
5667         * progmodes/asm-mode.el (asm-calculate-indentation, asm-indent-line):
5668         New functions.
5669         (asm-mode): Use them in indent-line-function.
5670         Set tab-always-indent to nil to stay closer to previous tab behavior.
5671         Set comment-add.  Remove space at end of comment-add.
5672         (asm-newline): Obsolete.  Use newline-and-indent instead.
5673         (asm-mode-map): Remove TAB binding.
5674         (asm-code-level-empty-comment-pattern)
5675         (asm-flush-left-empty-comment-pattern)
5676         (asm-inline-empty-comment-pattern): Remove.
5677         (asm-comment): Use newcomment functions instead.
5678         (asm-colon): Don't tab if colon is not after a label.
5679         (asm-line-matches, asm-pop-comment-level): Remove.
5681 2003-04-02  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
5683         * emulation/crisp.el (top-level): Quote second arg to
5684         `eval-after-load'.
5686 2003-04-02  Miles Bader  <miles@gnu.org>
5688         * scroll-bar.el (scroll-bar-mode): Correctly specify `nil' choice.
5690 2003-04-01  Stefan Monnier  <monnier@cs.yale.edu>
5692         * progmodes/asm-mode.el (asm-mode-syntax-table): Setup entries
5693         that do not depend on asm-comment-char.
5694         (asm-mode-map): Declare and init at the same time.
5695         (asm-code-level-empty-comment-pattern)
5696         (asm-flush-left-empty-comment-pattern)
5697         (asm-inline-empty-comment-pattern): Use \s< so they do not depend
5698         on asm-comment-char.  Turn them into constants.
5699         (asm-mode): Simplify.
5700         (asm-line-matches): Remove unused arg.
5702 2003-04-01  Dave Love  <fx@gnu.org>
5704         * time.el: Doc fixes.
5705         (display-time-mail-face): Change :type and default to nil.
5706         (display-time-mail-icon): Use pbm, not xbm.
5707         (display-time-mail-string): New.
5708         (display-time-string-forms): Use display-time-mail-string.
5709         Add checks in display property.
5711 2003-04-01  Kenichi Handa  <handa@m17n.org>
5713         * language/indian.el (indian-font-char-index-table): Fix the
5714         order of CDAC fonts.
5716 2003-04-01  Kim F. Storm  <storm@cua.dk>
5718         * simple.el (pop-global-mark-quick-repeat): Remove defcustom.
5719         (set-mark-command): Unconditionally repeat pop-global-mark without
5720         C-x prefix.  Fix doc.
5722         * emulation/cua-base.el (cua-set-mark): Unconditionally repeat
5723         pop-global-mark without C-x prefix.  Fix doc.
5725 2003-03-31  Stefan Monnier  <monnier@cs.yale.edu>
5727         * reveal.el (reveal-post-command): Better error handling.
5729 2003-03-31  Nick Roberts  <nick@nick.uklinux.net>
5731         * gdb-ui.el (gdb-inferior-io-mode): Remove Unix pathname for cat
5732         so that it can run on NT also.
5734 2003-03-31  Masatake YAMATO  <jet@gyve.org>
5736         * progmodes/asm-mode.el (asm-mode): Support skipping C lang style
5737         comments.
5739         * bindings.el (mode-line-major-mode-keymap): New variable.
5740         (mode-line-minor-mode-help): New function, bound to
5741         mode-line-minor-mode-keymap.
5742         (mode-line-modes): Split mode-line-mode definitions to
5743         mode-name, mode-line-process and minor-mode-alist.
5744         For mode-name, mode-line-major-mode-keymap is used.
5746         * help.el (describe-minor-mode, describe-minor-mode-from-indicator)
5747         (lookup-minor-mode-from-indicator): New functions.
5749 2003-03-31  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
5751         * files.el (file-relative-name): Remove superfluous `and'.
5752         Clarify docstring.  From Lars Hansen.
5754 2003-03-31  Kenichi Handa  <handa@m17n.org>
5756         * international/utf-16.el (ccl-decode-mule-utf-16-le):
5757         Don't assume the signature bytes.
5758         (ccl-decode-mule-utf-16-be): Likewise.
5759         (ccl-encode-mule-utf-16-le): Don't produce the signature bytes.
5760         (ccl-encode-mule-utf-16-be): Likewise.
5762 2003-03-30  Kevin Ryde  <user42@zip.com.au>
5764         * info-look.el (sh-mode): Add doc-specs for commands and variables.
5766 2003-03-29  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
5768         * international/utf-8.el (utf-translate-cjk-mode): Minor mode,
5769         replaces variable utf-translate-cjk which must be set via Custom.
5771         * files.el (file-relative-name): If FILENAME and DIRECTORY are on
5772         different drives (on DOS/Windows) or use different handlers, do
5773         like `expand-file-name' on FILENAME and return an absolute name.
5774         From Lars Hansen <larsh@math.ku.dk>.
5776         * tramp.el: Version 2.0.31 released.
5777         (tramp-handle-expand-file-name): Do not allow ".." to
5778         cross file handler boundaries, so that "/user@host:/../foo"
5779         expands to itself, rather than "/foo".  This is intended to work
5780         in conjunction with a change in `file-relative-name' which makes
5781         sure to use absolute file names if FILE and DIRECTORY have
5782         different handlers.
5783         (tramp-handle-insert-directory): Comment out XEmacs
5784         kludge.  Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
5786 2003-03-29  Michael Albinus  <Michael.Albinus@alcatel.de>
5788         * trampver.el: New file, to support Autoconf in Tramp CVS repository.
5789         * tramp.el (tramp-version, tramp-bug-report-address): Move to
5790         trampver.el, which is required now.
5791         (tramp-chunksize): Type can be nil as well.
5792         Reported by Markus Rost <rost@math.ohio-state.edu>.
5793         * tramp-smb.el (tramp-smb-read-file-entry): Make reading size of a
5794         listing entry more robust.  Ranges from 10 chars (Samba 1) to 7-9
5795         chars (Samba 2).
5797 2003-03-29  John Paul Wallington  <jpw@gnu.org>
5799         * international/mule.el (with-category-table): Use `make-symbol'
5800         to avoid variable capture.  Set table within `unwind-protect'.
5801         Ensure table is restored in correct buffer.  Add docstring.
5803 2003-03-29  Kenichi Handa  <handa@m17n.org>
5805         * language/japan-util.el: If system-type is not for Windows,
5806         prefer japanese-iso-8bit.
5808 2003-03-28  Sudish Joseph  <sudish@corp.earthlink.net>  (tiny change)
5810         * term/mac-win.el (iconify-or-deiconify-frame): Define for
5811         compatibility with packages that use it.
5813 2003-03-28  Lute Kamstra  <Lute.Kamstra@cwi.nl>
5815         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer):
5816         Fix docstring.
5817         (checkdoc-interactive, checkdoc-message-interactive): Make them
5818         perform spell checking when appropriate.
5819         (checkdoc-interactive-loop): Fix docstring and a few typos.
5820         (checkdoc-interactive-ispell-loop)
5821         (checkdoc-message-interactive-ispell-loop): New functions.
5822         (checkdoc-next-error): Fix docstring.
5823         (checkdoc-this-string-valid-engine): Fix typo.
5824         (checkdoc-ispell-docstring-engine): Do test for
5825         checkdoc-autofix-flag = nil.
5827 2003-03-28  Jonathan Yavner  <jyavner@engineer.com>
5829         * emacs-lisp/testcover.el (testcover-mark-all): Handle screwy
5830         top-level macros that put functions as properties.
5831         (testcover-mark): No error for functions that just return a constant.
5833 2003-03-27  Andreas Schwab  <schwab@suse.de>
5835         * vc-cvs.el (vc-cvs-parse-entry): Make sure a file with conflicts
5836         is marked as edited.
5838 2003-03-26  Kenichi Handa  <handa@m17n.org>
5840         * files.el (recode-file-name): New function.
5842         * international/characters.el: Setup categories for Indian characters.
5844 2003-03-26  Steve Youngs  <youngs@xemacs.org>
5846         * em-unix.el (eshell-plain-locate-behavior): Make the default
5847         nil on Emacs, t on XEmacs.
5849 2003-03-25  Stefan Monnier  <monnier@cs.yale.edu>
5851         * emacs-lisp/byte-opt.el (byte-optimize-set): New.
5852         Turn `set' into `setq' when applicable.
5854 2003-03-24  Stefan Monnier  <monnier@cs.yale.edu>
5856         * emacs-lisp/easy-mmode.el (define-minor-mode): Pass unknown keyword
5857         args blindly to defcustom.  Use custom-set-minor-mode.
5859 2003-03-24  Kim F. Storm  <storm@cua.dk>
5861         * simple.el: Rework last change so C-x C-SPC C-SPC does not
5862         repeat pop-global-mark by default.
5863         (pop-global-mark-quick-repeat): New user option.
5864         (set-mark-command): Use it.
5866         * emulation/cua-base.el (cua-set-mark):
5867         Check pop-global-mark-quick-repeat.
5869 2003-03-24  John Paul Wallington  <jpw@gnu.org>
5871         * emacs-lisp/easymenu.el (easy-menu-add-item): Don't default to
5872         the global map.
5874         * emerge.el (emerge-show-file-name): Read event irrespective of
5875         whether minibuffer window is resized.  Clear minibuffer when done.
5877         * cus-theme.el (customize-create-theme): Rename from
5878         `custom-theme-create'.
5880 2003-03-24  Luc Teirlinck  <teirllm@mail.auburn.edu>
5882         * cus-edit.el (custom-mode): Make `custom-local-buffer' local.
5884 2003-03-23  Peter Breton  <pbreton@attbi.com>
5886         * net/net-utils.el (dns-lookup-host): New function.
5888 2003-03-23  Martin Stjernholm  <bug-cc-mode@gnu.org>
5890         * progmodes/cc-mode.el (c-parse-state): Add kludge to avoid
5891         an infinite loop when Emacs' open-paren-in-column-zero rule
5892         kicks in and causes the sexp functions to misbehave.
5894 2003-03-22  Peter Breton  <pbreton@cs.umb.edu>
5896         * filecache.el (file-cache-add-directory-recursively)
5897         (file-cache-complete, file-cache-display): New functions.
5899         * generic-x.el (etc-modules-conf-generic-mode): New generic mode.
5900         (rul-generic-mode): Bugfixes by Rolf.Sandau@marconi.com.
5902         * dirtrack.el (dirtrack-cygwin-directory-function): New function.
5903         Remove timestamp.
5905 2003-03-22  Kim F. Storm  <storm@cua.dk>
5907         * ido.el (ido-mode): Remove unused NOBIND arg.  Fix doc string
5908         accordingly.
5909         (ido-define-mode-map): Bind C-l for both file and dir modes.
5910         (ido-wide-find-file, ido-wide-find-dir, ido-make-directory):
5911         Let-bind enable-recursive-minibuffers to t around read-string.
5913 2003-03-22  Kenichi Handa  <handa@m17n.org>
5915         * international/fontset.el (setup-default-fontset):
5916         Use indian-font-char-range for specifying ranges of indian-glyph
5917         chars.  Setup for AKRUTI fonts.
5919         * language/indian.el (indian-font-foundry): New variable.
5920         (indian-script-language-alist): New variable.
5921         (indian-font-char-index-table): New variable.
5922         (indian-font-char): New function.
5923         (indian-font-char-range): New function.
5924         (font-ccl-encoder-alist): Add entry for AKRUTI font.
5926 2003-03-22  Kim F. Storm  <storm@cua.dk>
5928         * progmodes/cperl-mode.el (cperl-electric-backspace):
5929         Add delete-selection property.
5931         * simple.el (set-mark-command): Doc fixes.
5932         Allow pop-global-mark to be repeated with C-x C-SPC C-SPC...
5933         C-u C-u C-SPC now unconditionally sets the mark.
5935         * emulation/cua-base.el (cua-set-mark): Doc fixes.
5936         Allow pop-global-mark to be repeated with C-x C-SPC C-SPC...
5937         C-u C-u C-SPC now unconditionally sets the mark.
5939 2003-03-20  Mark A. Hershberger  <mah@everybody.org>
5941         * xml.el (xml-parse-attlist): Fix typo in attribute parsing.
5943 2003-03-20  Kenichi Handa  <handa@m17n.org>
5945         * international/utf-8.el (ccl-decode-mule-utf-8): Fix a bug in
5946         handling invalid 5 to 6 bytes sequence.
5948 2003-03-19  Simon Marshall  <simon@gnu.org>
5950         * progmodes/make-mode.el (makefile-font-lock-syntactic-keywords):
5951         New variable.
5952         (makefile-mode): Use it for value of font-lock-syntactic-keywords.
5954 2003-03-19  John Paul Wallington  <jpw@gnu.org>
5956         * cus-theme.el (custom-theme-create): Add autoload cookie.
5958 2003-03-19  Kenichi Handa  <handa@m17n.org>
5960         * dired.el (dired-get-filename): Pay attention to the case that
5961         `read' returns a unibyte string.  Don't encode the file name by
5962         buffer-file-coding-system.
5964 2003-03-18  Kenichi Handa  <handa@m17n.org>
5966         * language/european.el ("Latin-6"): Fix input-method.
5967         ("Latin-7"): Fix input-method.
5969         * international/utf-8.el (utf-fragment-on-decoding):
5970         Don't call register-char-codings.
5971         (utf-fragment-on-decoding): Don't update char-coding-system-table.
5972         (utf-translate-cjk): Don't call register-char-codings nor
5973         optimize-char-coding-system-table.  Don't update
5974         char-coding-system-table.
5976         * international/ucs-tables.el (ucs-unify-8859): Don't call
5977         register-char-codings.
5978         (ucs-unify-8859): Don't call optimize-char-coding-system-table.
5979         (ucs-fragment-8859): Don't update char-coding-system-table.
5980         Don't call register-char-codings nor optimize-char-coding-system-table.
5982         * international/mule.el (optimize-char-coding-system-table):
5983         Remove this function.
5984         (register-char-codings): Make it obsolete.
5985         (char-coding-system-table): Defconst it here.
5986         (make-coding-system): Don't call register-char-codings, call
5987         define-coding-system-internal.
5989         * international/mule-conf.el (no-conversion):
5990         Call define-coding-system-internal on this coding system instead of
5991         calling register-char-codings.
5993         * international/mule-cmds.el (find-coding-systems-for-charsets):
5994         Use find-coding-systems-string instead of looking up
5995         char-coding-system-table.
5997         * international/code-pages.el (cp-fix-safe-chars): Make it obsolete.
5998         (cp-make-coding-system): Don't call cp-fix-safe-chars.
6000 2003-03-18  Stefan Monnier  <monnier@cs.yale.edu>
6002         * startup.el (command-line-1): Use command-execute for any command.
6004 2003-03-17  Stefan Monnier  <monnier@cs.yale.edu>
6006         * buff-menu.el (list-buffers-noselect): Use the display property
6007         to properly align header-line text with the buffer's contents.
6009 2003-03-17  Kenichi Handa  <handa@m17n.org>
6011         * international/mule.el (ctext-post-read-conversion): Convert the
6012         search pattern to multibyte by string-to-multibyte.
6014 2003-03-16  Deepak Goel  <deego@gnufans.org>
6016         * calc/calc-forms.el (math-tzone-names): Introduce UTC as an alias
6017         for GMT.  Suggested by bob@rattlesnake.com.
6019 2003-03-15  Stefan Monnier  <monnier@cs.yale.edu>
6021         * pcvs.el (cvs-mode!): Remove unused argument.
6023         * emacs-lisp/easymenu.el (easy-menu-name-match): Catch any error
6024         that member-ignore-case might signal.
6025         (easy-menu-add-item): Default to the global map, as documented.
6026         (easy-menu-convert-item-1): Use match-string.
6028 2003-03-15  Mark A. Hershberger  <mah@everybody.org>
6030         * xml.el (xml-ucs-to-string): New function to convert Unicode
6031         codepoints to strings.  Uses decode-char (mule.el) if available.
6032         (xml-parse-tag, xml-parse-attlist, xml-skip-dtd, xml-parse-dtd)
6033         (xml-parse-elem-type): Use ' \t\n\r' instead of '[:space:]'.
6034         (xml-parse-attlist): Add attribute normalization.
6035         (xml-parse-tag): Replace "\r\n" and "\r" with "\n".
6037 2003-03-14  John Paul Wallington  <jpw@gnu.org>
6039         * files.el (recover-session): Error if there are no previous
6040         sessions to recover.
6042         * subr.el (posn-col-row): Simplify.
6044         * arc-mode.el (archive-subtype, archive-file-list-start)
6045         (archive-file-list-end, archive-proper-file-start)
6046         (archive-read-only, archive-local-name, archive-mode-map)
6047         (archive-file-name-indent, archive-remote)
6048         (archive-alternate-display, archive-superior-buffer)
6049         (archive-subfile-mode): Doc fixes.
6051 2003-03-14  Stefan Monnier  <monnier@cs.yale.edu>
6053         * indent.el (indent-for-tab-command): If tab-always-indent is non-nil
6054         and the user hits TAB a second time, just insert a tab.
6056         * textmodes/texinfo.el (texinfo-outline-level): Remove.
6057         (texinfo-mode): Set outline-heading-alist instead.
6058         (texinfo-section-list): Reorder for the needs of outline-heading-alist.
6059         (texinfo-insert-block): Don't cons needlessly.
6060         (texinfo-enable-quote-macros, texinfo-enable-quote-envs): New vars.
6061         (texinfo-insert-quote): Use them.
6063         * textmodes/outline.el (outline-level): Demote it to defvar.
6064         (outline-heading-alist): Document extended semantics.
6065         (outline-head-from-level): New fun.
6066         (outline-promote, outline-demote): Use it.
6067         (outline-show-heading): New fun.
6068         (hide-sublevels, show-children):
6069         Use it together with outline-map-region.
6070         (outline-get-next-sibling): Don't call outline-level at eob.
6072 2003-03-14  Simon Josefsson  <jas@extundo.com>
6074         * fringe.el (fringe-mode): Autoload so that
6075         Options->Show/Hide->Fringe->Customize works.
6077 2003-03-13  Stefan Monnier  <monnier@cs.yale.edu>
6079         * textmodes/outline.el (outline-mode-menu-bar-map): Add entries.
6080         (outline-mode-prefix-map): Match new bindings to those of allout.
6081         (outline-map-region): New fun.
6082         (outline-map-tree): Remove.
6083         (outline-promote, outline-demote): Apply to region if active.
6084         Change the default to apply to the subtree.
6085         (outline-move-subtree-up, outline-move-subtree-down): New funs.
6086         (outline-invisible-p): Add optional `pos' argument.
6087         (outline-next-visible-heading, outline-toggle-children): Use it.
6088         (outline-get-next-sibling): Don't call outline-level at eob.
6090         * custom.el (custom-set-minor-mode): New fun.
6092 2003-03-13  Dave Love  <fx@gnu.org>
6094         * international/latin1-disp.el (ucs-tables): Don't require.
6095         (latin1-display-face): New.
6096         (latin1-display-char): Use it.
6098 2003-03-13  Kenichi Handa  <handa@m17n.org>
6100         * international/mule-cmds.el (reset-language-environment):
6101         Set default-file-name-coding-system to iso-latin-1.
6103         * language/european.el (iso-latin-1): Definition of this coding
6104         system moved to mule-conf.el.
6106         * international/mule-conf.el (iso-latin-1): Move from
6107         european.el.
6109         * term/x-win.el (x-select-text): Don't set a text containing
6110         eight-bit-control/graphic into the cut buffer.
6112 2003-03-12  Kenichi Handa  <handa@m17n.org>
6114         * files.el (insert-directory): Decode by what specified.
6116         * language/japan-util.el (setup-japanese-environment-internal):
6117         By defalt, use japanese-iso-8bit for file names, and prefer
6118         japanese-shift-jis on DOS and Windows.
6120         * international/quail.el (quail-show-guidance-buf): Make the quail
6121         guidance buffer inherit the current value of quail-current-package.
6123         * international/utf-8.el (ccl-decode-mule-utf-8): Don't lose bytes
6124         on handling an invalid byte sequence.
6126 2003-03-11  Jason Rumney  <jasonr@gnu.org>
6128         * files.el (auto-mode-alist): Add .xsl for sgml-mode.
6130 2003-03-11  Mark A. Hershberger  <mah@everybody.org>
6132         * xml.el (xml-skip-dtd): Fix parsing of DOCTYPE.
6134 2003-03-11  John Paul Wallington  <jpw@gnu.org>
6136         * subr.el (posn-col-row): Heed frame parameter `line-spacing' and
6137         `default-line-spacing', rather than buffer-local `line-spacing'.
6139 2003-03-10  Per Abrahamsen  <abraham@dina.kvl.dk>
6141         * cus-edit.el (customize-rogue): New command.
6143 2003-03-10  Andreas Schwab  <schwab@suse.de>
6145         * info.el (Info-extract-menu-node-name)
6146         (Info-following-node-name): Revert last change.
6148 2003-03-10  Thien-Thi Nguyen  <ttn@gnu.org>
6150         * progmodes/scheme.el (scheme-mode-syntax-table):
6151         Construct w/o using `with-syntax-table'.
6153 2003-03-10  John Paul Wallington  <jpw@gnu.org>
6155         * subr.el (posn-col-row): Take into account `line-spacing'.
6157         * ebuff-menu.el (electric-buffer-update-highlight): Do nothing
6158         if major mode isn't `Electric-buffer-menu-mode'.
6160         * term/x-win.el (vendor-specific-keysyms)
6161         (x-last-selected-text-primary): Doc fixes.
6162         (x-win-suspend-error): Use proper noun in error message.
6164 2003-03-09  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
6166         * man.el (Man-getpage-in-background): Always use `setenv' for
6167         environment variables, instead of modifying process-environment
6168         directly.  The previous version let-bound process-environment --
6169         the let-binding is skipped for GROFF_NO_SGR because there is
6170         already a let-binding in effect in some outer scope.
6172         * emulation/crisp.el (top-level): Interoperate with cua.
6174 2003-03-08  Kim F. Storm  <storm@cua.dk>
6176         * emulation/cua-base.el: Provide `cua' feature.
6178 2003-03-08  Juanma Barranquero  <lektu@terra.es>
6180         * emulation/cua-base.el (cua--standard-movement-commands):
6181         Fix docstring.
6183 2003-03-07  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
6185         * man.el (Man-getpage-in-background): Only change
6186         default-directory if necessary.
6188 2003-03-07  Andreas Schwab  <schwab@suse.de>
6190         * info.el (Info-following-node-name): Skip trailing period.
6191         (Info-extract-menu-node-name): Allow period in node name.
6193 2003-03-07  Kevin Rodgers  <kevin.rodgers@ihs.com>
6195         * dired-x.el (dired-guess-shell-case-fold-search): New user option.
6196         (dired-guess-default): Use it.
6198 2003-03-07  Thien-Thi Nguyen  <ttn@gnu.org>
6200         * progmodes/dcl-mode.el (dcl-font-lock-keywords): New var.
6201         (dcl-font-lock-defaults): New var.
6202         (dcl-mode): Make and init local var `font-lock-defaults'.
6204 2003-03-06  Kevin Rodgers  <kevin.rodgers@ihs.com>
6206         * ffap.el (dired-at-point): Check whether the user can create a
6207         directory before asking about creating it.
6209 2003-03-06  John Paul Wallington  <jpw@gnu.org>
6211         * ebuff-menu.el (electric-buffer-list):
6212         Respect `Buffer-menu-use-header-line'.
6213         (electric-buffer-menu-looper): Likewise.
6215         * buff-menu.el (Buffer-menu-mode-map): Add docstring.
6216         (Buffer-menu-buffer): Fix indentation.
6217         (list-buffers-noselect): Calculate header-line spacing to take
6218         into account width of left fringe and left scrollbar.
6220 2003-03-05  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6222         * ps-print.el (ps-print-version): New version number (6.6).
6223         (ps-begin-job): If background and foreground color are the same, give
6224         an error.
6225         (ps-default-fg, ps-default-bg): Better doc.
6226         (ps-rgb-color): Became a defun, check RGB value list.
6227         (ps-default-background): New internal var.
6228         (ps-begin-file): Code fix.
6230 2003-03-05  Richard M. Stallman  <rms@gnu.org>
6232         * replace.el (query-replace-read-args): Use save-excursion.
6233         (map-query-replace-regexp): Use prefix-numeric-value.
6235 2003-03-05  Juanma Barranquero  <lektu@terra.es>
6237         * term/w32-win.el (x-handle-geometry): Put sizes on
6238         `initial-frame-alist' too.
6240         * startup.el (command-line-x-option-alist): Make --border-color set
6241         the border-color frame parameter, not border-width.
6243         * faces.el (frame-set-background-mode): Fix reference to attribute
6244         "backgroundMode".
6246 2003-03-05  Reto Zimmermann  <reto@gnu.org>
6248         * progmodes/vhdl-mode.el: Version 3.32.12 released.
6249         Modifications for displaying all projects in hierarchy browser and case
6250         insensitive hierarchy browsing.  Change Rod's email address.
6251         Include `itimer.el' patch for XEmacs.  Backquote fix.  Change some
6252         documentation strings.  Add "ERROR: " prefix to all error
6253         messages.  Enhanced usage of hideshow.
6254         (vhdl-in-literal): Remove unused argument LIM.
6255         (vhdl-compiler-alist): Enhance customization for compilers; add
6256         "Speedwave", "Simili", "Synopsys Design Compiler", "Cadence NC",
6257         "Savant", "ProVHDL" and "VeriBest" compilers.
6258         Add new error message syntax for Modelsim.
6259         Add Synplify, column no in error regexp.
6260         Include library name in library command.
6261         Add unit-to-file name mapping for Savant.
6262         Add library option in Makefile generation command.
6263         Add command to create library directory.
6264         Built-in Makefile generation is always default.
6265         (vhdl-create-mode-menu): Split menues for compilers, projects, models.
6266         Add customization for `global-font-lock-mode'.
6267         Fix `customize-group' entries for XEmacs and
6268         change "Gen." to "Generate".  Get *Messages* buffer.
6269         Fix "Auto Load Setup File" menu entry.
6270         Add faces customization to "Options".  Add "Options" entry.
6271         Include `speedbar-indentation-width'.
6272         (vhdl-replace-string): Allow casing (use `vhdl-file-name-case').
6273         (vhdl-template-exit, vhdl-template-next, vhdl-template-return):
6274         Fix template abortion.
6275         (vhdl-speedbar-port-copy): Add subprogram copy; copy port of component
6276         in package.
6277         (vhdl-fixup-whitespace-region): No whitespace after '(' and before ')'.
6278         Better treat comments and strings.  Fix "=> ," alignment.
6279         (vhdl-port-paste-testbench): Print file names created.
6280         Better handling when file exist/open.  Additional comments in code.
6281         Replace keywords in testbench entity and architecture file headers.
6282         Adjust case in testbench configuration.
6283         (vhdl-port-paste-instance): Special case: no number in instance name.
6284         (vhdl-speedbar-expand-units): Fix speedbar frame switching oddity.
6285         (vhdl-font-lock-keywords-2): Enhance highlighting of instantiation;
6286         highlight instantiations without map.
6287         Highlight quantity declaration names.  Highlight formal parameters.
6288         Fix label highlighting for signal asst.
6289         (vhdl-mode): `comment-padding' for Emacs 21 only.
6290         Remove forced `turn-on-font-lock'.
6291         Remove `hippie-expand-only-buffers' setting.
6292         Update online documentation and web address.
6293         (vhdl-comment-uncomment-region): Remove usage of `commend-dwim' again.
6294         Change ARG for uncommenting.
6295         (vhdl-speedbar-make-*-line): Fix for displaying XEmacs speedbar images.
6296         (vhdl-fontify-buffer): Toggle font-lock-mode for better recovery.
6297         (vhdl-port-list): Add context clause.
6298         (vhdl-port-paste-signals): Include direction comments.
6299         (vhdl-testbench-declarations, vhdl-testbench-statements): New default.
6300         (vhdl-port-*): Include name in status messages.
6301         (vhdl-package-alist): Scan for and display subprogram body.
6302         Change key to lower case, add original case identifier.
6303         Scan for packages used by package body.
6304         (vhdl-speedbar-find-file): Always jump to design unit if buffer open.
6305         (vhdl-speedbar-insert-hierarchy): Mark non-existing entities/packages.
6306         Message "No VHDL design units!".
6307         (vhdl-compile-init): Allow fourth element (column no) in error regexp.
6308         Fix `nconc' bug.  Eliminate redundant regexps.
6309         (vhdl-minibuffer-tab): No indentation.
6310         Use `hippie-expand-only-buffers' to take
6311         expansions from VHDL buffers only; don't overwrite non-nil default of
6312         `hippie-expand-only-buffers'; check whether
6313         `hippie-expand-only-buffers' is bound.
6314         (vhdl-ams-types, vhdl-ams-enum-values): Add identifiers from
6315         `nature_pkg' package.
6316         (vhdl-align-alist): Fix "when/else ... =>" case.
6317         Align declaration keywords only at beg. of line.
6318         Align <=, := and == among each other.
6319         (vhdl-port-copy): Extended identifiers for signal names.
6320         Fix on empty generic/port clause.
6321         Fix parsing of comment on first line.
6322         Allow generic clause begin on first line.
6323         Add "inout" and "linkage" to direction modes.
6324         (vhdl-font-lock-function-face): Change DarkCyan to Cyan4.
6325         (vhdl-file-header): Insert VHDL language standard string.
6326         (vhdl-instance-name): Unique numbers in instance names.
6327         (vhdl-compile): Check for existing compile directory.
6328         Print out file name if compiler does not; put it in
6329         quotes if contains spaces.  Check compiler name.
6330         (vhdl-compiler): Change empty value from "" to nil.
6331         (vhdl-make): Check for existing compile directory.
6332         Fix missing options if there is a target.  Check compiler name.
6333         (vhdl-template-field): Fix case on all VHDL words.
6334         (vhdl-template-others): Re-electrified "others".
6335         (vhdl-speedbar-expand-architecture): Give user control over displayed
6336         hierarchy depth.
6337         (vhdl-project-alist): Insert library name in Makefile name.
6338         Sources exclude regexp.  Add file-specific compile exceptions.
6339         Enhance customization of projects.
6340         (vhdl-get-hierarchy): Include configurations in hierarchy list.
6341         Fix bug with configurations.
6342         Consider configurations; also at lower levels.
6343         (vhdl-speedbar-item-info): Enhance displaying.
6344         (vhdl-scan-file-contents): Fix skipping of comments in scanning.
6345         Sources exclude regexp.
6346         Allow comment lines in instantiations.
6347         Fix used packages in package body scanning.
6348         Allow code before first block configuration.
6349         Scan also for "is" keyword of design units.
6350         Scan configuration specification.
6351         Clear directory alists first.
6352         Consistency check.
6353         Check for multiply scanned design units.
6354         Scan components/subprograms in package.
6355         Scan library clauses and subconfigurations.
6356         Limit file size for scanning.
6357         (vhdl-entity-alist): Change key to lower case, add original case
6358         identifier.
6359         (vhdl-electric-tab): Not overwrite non-nil default of
6360         `hippie-expand-only-buffers'.
6361         (vhdl-electric-tab): Check whether `hippie-expand-only-buffers' is
6362         bound; use it to take expansions from VHDL buffers only.
6363         (vhdl-electric-tab): Toggle comment indent.
6364         (vhdl-generate-makefile): Check compiler name.
6365         Add library option in Makefile generation command.
6366         (vhdl-generate-makefile): Add dependencies for components in package.
6367         (vhdl-template-elsif): No expansion in concurrent part (except AMS).
6368         (vhdl-insert-string-or-file): Resolve environment variables.
6369         (vhdl-insert-string-or-file): Fix NTEmacs `file-exists-p' problem.
6370         (vhdl-submit-bug-report): Prompt for summary.
6371         (vhdl-resolve-paths): Rearrange environment variable resolution.
6372         (vhdl-scan-project-contents): Rearrange environment variable
6373         resolution.
6374         (vhdl-scan-project-contents): Allow absolute paths.
6375         (vhdl-doc-coding-style): Update RMM URL.
6376         (vhdl-end-of-leader): Consider "is" keyword in VHDL'93.
6377         (vhdl-model-insert): Replace header prompts too.
6378         (vhdl-template-header): New argument `is-model'.
6379         (vhdl-template-generate-body): Remove "begin" for VHDL'93.
6380         (vhdl-actual-port-name): Change default value (no "_i" extension).
6381         (vhdl-template-modify): Delete date instead of kill.
6382         (vhdl-get-source-files): Don't match source files beginning with ".".
6383         (vhdl-project-*-alist): Merge with variables `vhdl-*-alist'.
6384         (vhdl-speedbar-*): Many enhancements and fixes in hierarchy browser.
6385         (vhdl-speedbar-expand-*): Display used packages.
6386         (vhdl-sequential-statement-p): Better algorithm.
6387         (vhdl-electric-mode, vhdl-stutter-mode): Change key bindings.
6388         (vhdl-electric-...): No stuttering within literals.
6389         (vhdl-template-footer): Replace keywords in footer as in header.
6390         (vhdl-align-...): Enhance alignment, add progress reporting.
6391         (vhdl-beautify-region): Bug fix.
6392         (vhdl-comment-insert-inline): Remove wrapping to next line if too long.
6393         (vhdl-testbench-configuration-name)
6394         (vhdl-update-sensitivity-list-buffer): Fix starting cursor position.
6395         (vhdl-prepare-search-[12]): Fix search within hidden code.
6396         (vhdl-speedbar-jump-to-unit): Disable cursor re-positioning.
6397         (vhdl-template-for): Fix sequential statement part detection.
6398         (vhdl-electric-space): Fix wrapping for non-word characters.
6399         (vhdl-template-standard-package): Don't insert "std" library.
6400         (vhdl-template-architecture): Code optimization.
6401         (vhdl-template-package): Search for existing package name.
6402         (vhdl-template-component-decl, vhdl-port-paste-declaration):
6403         Insert "is" in VHDL'93.
6404         (match-string-no-properties, vhdl-forward-comment): New aliases.
6405         (vhdl-speedbar-library-face, vhdl-speedbar-subprogram-face): New faces.
6406         (file-expand-wildcards, regexp-opt, subst-char-in-string)
6407         (vhdl-add-modified-file, vhdl-align-buffer, vhdl-align-declarations)
6408         (vhdl-align-list, vhdl-align-region-2, vhdl-align-region-groups)
6409         (vhdl-align-same-indent, vhdl-aput, vhdl-auto-load-project)
6410         (vhdl-backward-same-indent, vhdl-beginning-of-block)
6411         (vhdl-character-to-event, vhdl-compile-directory)
6412         (vhdl-compile-print-file-name, vhdl-compose-components-package)
6413         (vhdl-compose-insert-generic, vhdl-compose-insert-port)
6414         (vhdl-compose-insert-signal, vhdl-compose-new-component)
6415         (vhdl-compose-place-component, vhdl-compose-wire-components)
6416         (vhdl-default-directory, vhdl-delete, vhdl-delete-indentation)
6417         (vhdl-do-group, vhdl-do-list, vhdl-do-same-indent)
6418         (vhdl-duplicate-project, vhdl-end-of-block, vhdl-expand-abbrev)
6419         (vhdl-expand-paren, vhdl-export-project, vhdl-fill-group)
6420         (vhdl-fill-list, vhdl-fill-region, vhdl-fill-same-indent)
6421         (vhdl-fix-case-word, vhdl-fix-clause, vhdl-forward-comment)
6422         (vhdl-forward-same-indent, vhdl-generate-makefile-1)
6423         (vhdl-get-compile-options, vhdl-get-components-package-name)
6424         (vhdl-get-end-of-unit, vhdl-get-make-options, vhdl-get-packages)
6425         (vhdl-get-visible-signals, vhdl-goto-marker)
6426         (vhdl-hs-forward-sexp-func, vhdl-hs-minor-mode, vhdl-import-project)
6427         (vhdl-indent-group, vhdl-insert-file-contents, vhdl-load-cache)
6428         (vhdl-makefile-name, vhdl-match-string-downcase, vhdl-max-marker)
6429         (vhdl-parse-group-comment, vhdl-paste-group-comment)
6430         (vhdl-port-paste-context-clause, vhdl-port-paste-initializations)
6431         (vhdl-port-reverse-direction, vhdl-process-command-line-option)
6432         (vhdl-project-p, vhdl-re-search-backward, vhdl-re-search-forward)
6433         (vhdl-remove-trailing-spaces, vhdl-require-hierarchy-info)
6434         (vhdl-resolve-env-variable, vhdl-run-when-idle, vhdl-save-cache)
6435         (vhdl-save-caches, vhdl-scan-context-clause)
6436         (vhdl-scan-directory-contents, vhdl-set-compiler, vhdl-set-project)
6437         (vhdl-show-messages, vhdl-sort-alist, vhdl-speedbar-check-unit)
6438         (vhdl-speedbar-contract-all, vhdl-speedbar-contract-level)
6439         (vhdl-speedbar-display-directory, vhdl-speedbar-display-projects)
6440         (vhdl-speedbar-expand-all, vhdl-speedbar-expand-config)
6441         (vhdl-speedbar-expand-package, vhdl-speedbar-expand-project)
6442         (vhdl-speedbar-generate-makefile, vhdl-speedbar-insert-projects)
6443         (vhdl-speedbar-insert-subpackages, vhdl-speedbar-line-key)
6444         (vhdl-speedbar-line-project, vhdl-speedbar-line-text)
6445         (vhdl-speedbar-make-design, vhdl-speedbar-make-subpack-line)
6446         (vhdl-speedbar-make-subprogram-line, vhdl-speedbar-place-component)
6447         (vhdl-speedbar-refresh, vhdl-speedbar-set-depth)
6448         (vhdl-speedbar-update-current-project, vhdl-statistics-buffer)
6449         (vhdl-subprog-copy, vhdl-subprog-flatten, vhdl-subprog-paste-body)
6450         (vhdl-subprog-paste-call, vhdl-subprog-paste-declaration)
6451         (vhdl-subprog-paste-specification, vhdl-template-others-hook)
6452         (vhdl-template-replace-header-keywords, vhdl-toggle-project)
6453         (vhdl-uniquify, vhdl-update-file-contents, vhdl-update-hierarchy)
6454         (vhdl-update-progress-info, vhdl-update-sensitivity-list)
6455         (vhdl-update-sensitivity-list-buffer)
6456         (vhdl-update-sensitivity-list-process, vhdl-use-direct-instantiation)
6457         (vhdl-warning, vhdl-warning-when-idle)
6458         (vhdl-widget-directory-validate, vhdl-work-library)
6459         (vhdl-write-file-hooks-init): New functions.
6460         (vhdl-aappend, vhdl-add-warning, vhdl-align-noindent-buffer)
6461         (vhdl-align-noindent-region, vhdl-create-customize-menu)
6462         (vhdl-forward-unit, vhdl-modify-date-init, vhdl-project-switch)
6463         (vhdl-scan-file-contents, vhdl-speedbar-display-hierarchy)
6464         (vhdl-speedbar-toggle-hierarchy): Functions deleted.
6465         (vhdl-in-comment-p, vhdl-in-string-p, vhdl-standard-p): Define as
6466         functions, not defsubsts.
6467         (vhdl-in-comment-or-string-p, vhdl-speedbar-project-p):
6468         Delete defsubsts.
6469         (vhdl-compose, vhdl-naming, vhdl-speedbar, vhdl-template)
6470         (vhdl-testbench): New customization groups.
6471         (vhdl-electric): Customization group deleted.
6472         (vhdl-align-alist, vhdl-doc-coding-style, vhdl-doc-keywords)
6473         (vhdl-imenu-generic-expression): Define as constants instead of
6474         variables.
6475         (vhdl-ams-packages, vhdl-doc-release-notes, vhdl-emacs-21)
6476         (vhdl-hs-start-regexp, vhdl-time-stamp, vhdl-xemacs): New constants.
6477         (vhdl-font-lock-keywords-0): Constants deleted.
6478         (vhdl-prepare-search-1, vhdl-prepare-search-2, vhdl-visit-file):
6479         New macros.
6480         (vhdl-ext-syntax-table): Macro deleted.
6481         (vhdl-align-group-separate, vhdl-align-same-indent)
6482         (vhdl-architecture-file-name, vhdl-compile-use-local-error-regexp)
6483         (vhdl-components-package-name, vhdl-compose-architecture-name)
6484         (vhdl-compose-create-files, vhdl-compose-include-header)
6485         (vhdl-copyright-string, vhdl-default-library, vhdl-directive-keywords)
6486         (vhdl-entity-file-name, vhdl-file-name-case)
6487         (vhdl-include-group-comments, vhdl-include-type-comments)
6488         (vhdl-indent-syntax-based, vhdl-makefile-generation-hook)
6489         (vhdl-package-file-name, vhdl-project-auto-load)
6490         (vhdl-project-file-name, vhdl-project-sort, vhdl-speedbar-auto-open)
6491         (vhdl-speedbar-cache-file-name, vhdl-speedbar-display-mode)
6492         (vhdl-speedbar-jump-to-unit, vhdl-speedbar-save-cache)
6493         (vhdl-speedbar-scan-limit, vhdl-speedbar-update-on-saving)
6494         (vhdl-testbench-configuration-name)
6495         (vhdl-testbench-include-configuration, vhdl-testbench-include-header)
6496         (vhdl-testbench-include-library, vhdl-use-components-package)
6497         (vhdl-use-direct-instantiation): New options.
6498         (vhdl-compiler-options, vhdl-speedbar, vhdl-speedbar-hierarchy-indent)
6499         (vhdl-speedbar-show-hierarchy, vhdl-testbench-architecture-header)
6500         (vhdl-testbench-entity-header): Options deleted.
6501         (speedbar-indentation-width, vhdl-compile-file-name)
6502         (vhdl-config-alist, vhdl-directive-keywords-regexp)
6503         (vhdl-directory-alist, vhdl-font-lock-keywords-0, vhdl-menu-max-size)
6504         (vhdl-mode-ext-syntax-table, vhdl-modified-file-list)
6505         (vhdl-port-flattened, vhdl-port-reversed-direction)
6506         (vhdl-speedbar-hierarchy-depth, vhdl-speedbar-last-selected-project)
6507         (vhdl-speedbar-show-projects, vhdl-speedbar-shown-project-list)
6508         (vhdl-speedbar-shown-unit-alist, vhdl-speedbar-update-current-unit)
6509         (vhdl-subprog-flattened, vhdl-subprog-list, vhdl-updated-project-list)
6510         (vhdl-warnings): New variables.
6511         (vhdl-project-ent-inst-list, vhdl-project-entity-alist)
6512         (vhdl-project-package-alist, vhdl-speedbar-last-file-name)
6513         (vhdl-speedbar-shown-units-alist, vhdl-startup-warnings): Delete vars.
6515 2003-03-04  Rob Kaut  <rob@siworks.com>  (tiny change)
6517         * progmodes/vhdl-mode.el (vhdl-comment-uncomment-region):
6518         Remove two comment characters at start of line instead of one.
6520 2003-03-03  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
6522         * printing.el (pr-get-symbol): Move it to next eval-and-compile.
6524 2003-03-03  John Paul Wallington  <jpw@gnu.org>
6526         * ibuf-macs.el (ibuffer-aif): Use `make-symbol' instead of
6527         `gensym' in case user calls macro at runtime.
6528         (ibuffer-save-marks): Likewise.
6530 2003-03-03  Kenichi Handa  <handa@m17n.org>
6532         * language/japan-util.el (japanese-symbol-table): Add two entries
6533         to make it complete.
6535 2003-03-03  Andreas Schwab  <schwab@suse.de>
6537         * info.el (Info-fontify-node): Don't hide indentation before the
6538         reference name.  Don't process a reference twice when a new tag is
6539         inserted.
6540         (Info-hide-note-references): Fix doc and customize type.
6542 2003-03-02  Matt Swift  <swift@alum.mit.edu>
6544         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
6545         New custom variable.
6546         (lisp-fill-paragraph): Use it.  Add ?, to `paragraph-separate' so
6547         that first docstring lines ending with a comma are respected.
6548         Add "`(" to same so that function and macro bodies beginning with a
6549         backquote do not get disturbed.  Revise the comments.
6551 2003-03-01  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
6553         * startup.el (command-line): Call menu-bar-mode with 1 instead of t.
6555         * menu-bar.el (menu-bar-mode): Change to define-minor-mode
6556         and initialize as for tool-bar-mode.
6558 2003-02-28  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
6560         * net/tramp.el: Version 2.0.30 released.
6561         Replace term "path" with "localname" unless it is used for a
6562         search path.
6563         (tramp-handle-expand-file-name): Allow ".." to cross host boundaries.
6564         (tramp-open-connection-setup-interactive-shell): Unset $ENV in
6565         addition to setting $PS1 when starting the Bourne-ish shell.
6566         Some sh implementations (eg, bash when called as sh) read the file
6567         named there on startup, which could clobber $PS1.
6568         (tramp-do-copy-or-rename-file-one-local): New function.
6569         Not implemented.  Not used.  Should invoke rcp or scp directly to keep
6570         the time.
6572 2003-02-28  Michael Albinus  <Michael.Albinus@alcatel.de>
6574         * net/tramp-smb.el: Replace term `path' with `localname'
6575         unless it is used for a search path.  In GNU, the word `path' is
6576         reserved for search paths.
6578         * net/tramp.el (tramp-send-string, tramp-send-region): Remove.
6579         (tramp-send-string): New function.  Takes over the role of the
6580         functions above, in order to have a unique place handling
6581         `tramp-chunksize'.  Same implementation as `tramp-send-region'.
6582         (tramp-chunksize): It's now a defcustom.  Set to 500 on systems
6583         only known to have a buggy `process-send-string' implementation.
6584         First black-listed constellation is GNU Emacs/ hpux.
6585         (tramp-send-region): Correct debug message.
6586         (tramp-bug): Add `tramp-chunksize'.
6588 2003-02-26  Matt Swift  <swift@alum.mit.edu>
6590         * startup.el: Streamline code in several functions for efficiency
6591         and readability.  Rephrase booleans to avoid `(not noninteractive)'.
6592         Clarify several booleans expressions using De Morgan's laws.
6594         (command-line): Fix barf when first command-line option handled by
6595         `command-line-1' is in the form --OPT=VAL.
6596         (command-line-1): Restore intended behavior of the --directory/-L
6597         command-line option: "-L a -L b -L c" on the command-line now puts
6598         '(a b c) at the front of `load-path'.
6600 2003-02-26  Oliver Scholz  <alkibiades@gmx.de>
6602         * play/gamegrid.el (gamegrid-add-score): Add info to docstring.
6603         (gamegrid-add-score-with-update-game-score-1): New function,
6604         factored out of `gamegrid-add-score-with-update-game-score'.
6605         (gamegrid-add-score-with-update-game-score): Use it.  Fall back on
6606         `gamegrid-add-score-insecure' if the requested file does not exist
6607         in $(gamedir), in case the user has installed a game on his own.
6608         (gamegrid-add-score-insecure): Accept optional directory argument.
6610 2003-02-25  Andreas Schwab  <schwab@suse.de>
6612         * progmodes/make-mode.el (makefile-font-lock-keywords): Protect shell
6613         variable references by requireing that $ is not preceded by another $.
6615 2003-02-25  Kenichi Handa  <handa@m17n.org>
6617         * env.el (setenv): Fix previous change.
6619 2003-02-25  Ramakrishnan M  <rama@gnu.org>  (tiny change)
6621         * language/mlm-util.el (mlm-char-glyph): Fix more rules.
6623 2003-02-24  Stefan Monnier  <monnier@cs.yale.edu>
6625         * progmodes/simula.el: Move abbrev loading to after the fun it uses.
6626         (simula-install-standard-abbrevs): Use dolist.
6627         Use system-flag when calling define-abbrev.
6629 2003-02-24  Dave Love  <fx@gnu.org>
6631         * obsolete/cplus-md.el: Delete.  (Requires removed c-mode.el.)
6633         * env.el (read-envvar-name): Decode names.
6634         (substitute-env-vars): Use eval-when-compile and char class.
6635         (setenv): Doc fix.  Encode the data (after checking that's possible).
6636         (getenv): Encode the name and decode the result.
6638 2003-02-24  Ken Manheimer  <klm@zope.com>
6640         * allout.el (allout-pre-command-business): Fix docstring.
6642 2003-02-24  Ramakrishnan M  <rama@gnu.org>  (tiny change)
6644         * language/mlm-util.el (mlm-char-glyph): Fix several composing rules.
6646 2003-02-24  Kenichi Handa  <handa@m17n.org>
6648         * international/characters.el: Fix syntaxes of gb2312 and big5.
6650         * language/japan-util.el (sentence-end-save): Variable deleted.
6651         (setup-japanese-environment-internal): Don't setup sentence-end.
6652         (exit-japanese-environment): Function deleted.
6654         * language/japanese.el ("Japanese"): Delete `exit-function'.
6656         * textmodes/paragraphs.el (sentence-end): Add Chinese and Japanese
6657         characters.
6659 2003-02-24  Ramakrishnan M  <rama@gnu.org>  (tiny change)
6661         * language/mlm-util.el (mlm-char-glyph): Add entries for "halant +
6662         rakar + halant" and "halant + rrakar + halant".
6664 2003-02-23  Richard M. Stallman  <rms@gnu.org>
6666         * replace.el (query-replace-read-args): Return just 3 values.
6667         (query-replace, query-replace-regexp)
6668         (query-replace-regexp-eval, map-query-replace-regexp)
6669         (replace-string, replace-regexp): Read the start and end args
6670         separately so that the expressions are recorded in command-history.
6672         * menu-bar.el (Revert Buffer): Condition on buffer-file-number.
6674         * startup.el (inhibit-startup-hooks): New variable.
6675         (normal-top-level): Obey that variable.
6676         (command-line-1): Run emacs-startup-hook before term-setup-hook.
6677         Set inhibit-startup-hooks too.
6679         * files.el (revert-buffer): Different error message
6680         for reverting a nonexistent file.
6682 2003-02-22  Stefan Monnier  <monnier@cs.yale.edu>
6684         * progmodes/cperl-mode.el: Merge changes from CPerl-5.0.
6685         (toplevel): Require man.
6686         Don't autoload tmm-prompt (it's in loaddefs.el).
6687         (cperl-electric-backspace-untabify): New var.
6688         (cperl-electric-backspace): Use it.
6689         (cperl-vc-header-alist): Extract numeric version from the Id.
6690         (cperl-build-manpage): New fun.
6691         (cperl-menu): Use it.  Add toggle-autohelp.
6692         (cperl-mode) <defun-prompt_regexp>: Understand prototypes.
6693         (cperl-electric-brace): Use `cperl-after-block-p' for detection.
6694         (cperl-electric-keyword): Make $if (etc: "$@%&*") non-electric.
6695         '(' after keyword would insert a doubled paren.
6696         (cperl-calculate-indent): Update syntaxification before checks.
6697         Fix wrong indent of blocks starting with POD.
6698         (cperl-find-pods-heres): If no end of HERE-doc found, mark to the end
6699         of buffer.  This enables recognition of end of HERE-doc "as one types".
6700         Require "\n" after trailing tag of HERE-doc.
6701         \( made non-quoting outside of string/comment (gdj-contributed).
6702         Likewise for \$.  Remove `here-doc-group' text property at start
6703         (makes this property reliable).
6704         Text property `first-format-line' ==> t.
6705         Do not recognize $opt_s and $opt::s as s///.
6706         (cperl-after-block-p): Optional arg pre-block to check for a pre-block
6707         Recognize `continue' blocks too.
6708         (cperl-after-expr-p): Update syntaxification before checks.  Work after
6709         here-docs, formats, and PODs too (affects many electric constructs).
6710         (cperl-fix-line-spacing): Allow "_" in $vars of foreach etc.
6711         (cperl-perldoc): Use case-sensitive search.
6713         * progmodes/cperl-mode.el: Merge changes from CPerl-4.35.
6714         (cperl-xemacs-p): Move.
6715         (cperl-can-font-lock): New var to replace window-system.
6716         (cperl-enable-font-lock): Use it.
6717         (cperl-use-major-mode): New var.
6718         (cperl-mode): Use it.
6719         (cperl-calculate-indent): Remove code whose removal was missed
6720         in some earlier merge.
6721         (cperl-tags-hier-init): Use display-popup-menus-p.
6723 2003-02-22  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
6725         * files.el (abbreviate-file-name): Shorten docstring: variables
6726         are now hyperlinks and `C-h v' need not be mentioned explicitly.
6728 2003-02-21  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
6730         * files.el (abbreviate-file-name): Document removal of
6731         automounter prefixes.  Reported by Lars Hansen.
6733 2003-02-21  Kim F. Storm  <storm@cua.dk>
6735         * emulation/cua-base.el: Add run-time check to catch users trying
6736         to use older versions of CUA-mode, rather than the version
6737         distributed with Emacs.  Use autoload cookies and eval-after-load.
6739         * startup.el (command-line): Clarify and tidy up the message
6740         printed when there are errors in the user-init-file.
6741         Do not encapsulate the error data; it's read by humans here.
6742         Do not split windows when displaying the *Message* buffer.
6744 2003-02-20  Stefan Monnier  <monnier@cs.yale.edu>
6746         * subr.el (with-syntax-table): Don't copy the table any more.
6748 2003-02-20  Ehud Karni  <ehud@unix.mvs.co.il>  (tiny change)
6750         * mail/rmail.el (rmail-insert-inbox-text): Make the pop3 mechanism
6751         work on cygwin systems too.
6753 2003-02-20  Juanma Barranquero  <lektu@terra.es>
6755         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
6756         Remove useless check.
6758 2003-02-20  Andreas Schwab  <schwab@suse.de>
6760         * info.el (Info-extract-menu-node-name): Stop if colon is
6761         followed by open paren.
6763 2003-02-20  Francesco Potort\e,Al\e(B  <pot@gnu.org>
6765         * mail/undigest.el (unforward-rmail-message): Allow nested
6766         unforwarding, that is, preserve old Forwarded-From/Date headers.
6768 2003-02-20  Kenichi Handa  <handa@m17n.org>
6770         * term/w32-win.el: Call set-fontset-font with NAME nil.
6772         * international/mule-diag.el (print-fontset): If FONTSET is nil,
6773         use the default fontset.
6774         (describe-fontset): If the current frame is not using a fontset,
6775         call print-fontset with nil.
6777 2003-02-19  Andre Spiegel  <spiegel@gnu.org>
6779         * vc.el (vc-binary-assoc, vc-binary-suffixes): Remove; these
6780         were accidentally left over during the VC redesign in 2000.
6782 2003-02-18  Juanma Barranquero  <lektu@terra.es>
6784         * help-macro.el (make-help-screen): Fix character constant.
6786         * mouse-sel.el (mouse-sel-determine-selection-thing): Likewise.
6788         * calc/calc-graph.el (calc-graph-plot): Likewise.
6790         * calc/calc-prog.el (calc-macro-edit-variable): Likewise.
6792         * emacs-lisp/edebug.el: Likewise.
6794         * emacs-lisp/helper.el (Helper-help-scroller): Likewise.
6796         * language/cyril-util.el (standard-display-cyrillic-translit):
6797         Likewise.
6799         * mail/rfc822.el (rfc822-nuke-whitespace): Likewise.
6801         * progmodes/cperl-mode.el (cperl-electric-keyword)
6802         (cperl-electric-pod, cperl-do-auto-fill): Likewise.
6804         * textmodes/reftex-ref.el (reftex-reference): Likewise.
6806         * textmodes/table.el (table-generate-source): Use ?\\ instead of
6807         space in "work in progress" message.
6809         * emacs-lisp/tq.el (tq-create): Fix quoted lambda expression.
6811 2003-02-17  Dave Love  <fx@gnu.org>
6813         * progmodes/ebrowse.el (ebrowse-output): Don't use gensym.
6815 2003-02-17  Markus Rost  <rost@math.ohio-state.edu>
6817         * calendar/calendar.el (diary-file-name-prefix-function):
6818         Fix custom type.
6820 2003-02-17  Andre Spiegel  <spiegel@gnu.org>
6822         * vc-cvs.el (vc-cvs-dir-state): Protect against DIR not being
6823         under CVS control.  Suggested by Masanobu UMEDA.
6825 2003-02-17  Kenichi Handa  <handa@m17n.org>
6827         * files.el (insert-directory): Add workaround for the case that we
6828         can't trust ls's output as to byte positions of filenames.
6830 2003-02-15  Richard M. Stallman  <rms@gnu.org>
6832         * ffap.el: Many doc fixes.
6833         (ffap-replace-file-component):
6834         Renamed from ffap-replace-path-component.  Callers changed.
6835         (ffap-host-to-filename): Renamed from ffap-host-to-path.  Callers chgd.
6837         * international/iso-ascii.el (iso-ascii-display-table): New variable.
6838         (iso-ascii-standard-display-table): New variable.
6839         (iso-ascii-display): Define in iso-ascii-display-table.
6840         (iso-ascii-mode): New command.
6842         * tar-mode.el (tar-header-block-summarize):
6843         Use l for symlink, h for hard link.
6845 2003-02-15  David Kastrup  <dak@gnu.org>
6847         * net/ange-ftp.el (ange-ftp-get-file-entry): Allow for graceful
6848         failure returning nil, as documented.
6850 2003-02-14  Dave Love  <fx@gnu.org>
6852         * international/code-pages.el: Undo `Trailing whitepace deleted.'
6853         damage.
6854         (cp1125, mik): Nullify mime-charset.
6856         * language/cyrillic.el ("Cyrillic-KOI8"): Fix input-method.
6857         ("Russian"): New.
6858         ("Bulgarian"): Add tutorial.
6860         * international/mule-cmds.el (locale-language-names): Use Italian,
6861         Russian, Turkish, Chinese-EUC-TW.
6862         (set-locale-environment): Set ps-paper-type.
6864 2003-02-14  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>  (tiny change)
6866         * time.el (display-time-string-forms): Add face property to mail
6867         string.
6869 2003-02-14  Juanma Barranquero  <lektu@terra.es>
6871         * international/mule-cmds.el (view-hello-file): Use `view-file'
6872         instead of `find-file-read-only'.
6874         * dired-aux.el (dired-query-alist): Fix use of character constant.
6876         * simple.el (backward-delete-char-untabify): Likewise.
6878         * strokes.el (strokes-read-complex-stroke): Likewise.
6880         * wid-edit.el (widget-choose): Likewise.
6882         * xml.el (xml-parse-elem-type): Likewise.
6884         * emacs-lisp/testcover-ses.el (ses-exercise-signals): Likewise.
6886         * progmodes/cperl-mode.el (cperl-next-bad-style): Likewise.
6888         * progmodes/idlwave.el (idlwave-show-begin): Likewise.
6890 2003-02-13  Stefan Monnier  <monnier@cs.yale.edu>
6892         * international/mule-cmds.el (sort-coding-systems): Use \'.
6893         (select-safe-coding-system): Remove redundant assq check.
6894         Remove raw-text, emacs-mule and no-conversion from the list of
6895         proposed encodings unless there's nothing else.
6897 2003-02-13  Markus Rost  <rost@math.ohio-state.edu>
6899         * files.el (find-alternate-file): Undo last change.
6901         * dired.el (dired-directory): Add autoload cookie.
6903 2003-02-13  Juanma Barranquero  <lektu@terra.es>
6905         * international/characters.el: Use new ?\s syntax instead of "? "
6906         followed by a comment.
6908         * ruler-mode.el (ruler-mode-margins-char): Likewise.
6910 2003-02-13  Dave Love  <fx@gnu.org>
6912         * newcomment.el (comment-indent): Ensure space before added comment.
6914 2003-02-13  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
6916         * ps-print.el: Change the policy of background/foreground default
6917         color.
6918         (ps-print-version): New version number (6.5.9).
6919         (ps-default-fg, ps-default-bg): Adjust default value.
6920         (ps-begin-file, ps-begin-job): ps-default-fg and ps-default-bg
6921         variables now use `t' to indicate the use of Emacs session
6922         background/foreground color.
6923         (ps-output-string-prim): If index out of range, insert hexadecimal
6924         representation of character.
6926 2003-02-13  Kim F. Storm  <storm@cua.dk>
6928         * help.el (where-is): Rename remap-command to command-remapping.
6929         * help-fns.el (describe-function-1): Likewise.
6931 2003-02-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
6933         * progmodes/fortran.el (fortran-fill): Fill lines that do not have
6934         comments.
6936 2003-02-12  Stefan Monnier  <monnier@cs.yale.edu>
6938         * progmodes/fortran.el (fortran-mode): Set comment-use-syntax.
6939         (fortran-fill-paragraph): Use fill-comment-paragraph.
6941 2003-02-12  Juanma Barranquero  <lektu@terra.es>
6943         * files.el (file-truename): Revert change from 2002-11-27.
6945 2003-02-12  Luc Teirlinck  <teirllm@mail.auburn.edu>
6947         * help-fns.el (describe-function-1): Change output for keyboard macros.
6949 2003-02-12  Andreas Schwab  <schwab@suse.de>
6951         * progmodes/sh-script.el (sh-mode-map): Don't remap
6952         beginning-of-defun to the non-existing command
6953         sh-beginning-of-compound-command.
6955 2003-02-12  Karl Chen  <quarl@hkn.eecs.berkeley.edu>  (tiny change)
6957         * files.el (find-alternate-file): Check whether `dired-directory'
6958         is bound.
6960 2003-02-12  Simon Marshall  <simon@gnu.org>
6962         * progmodes/make-mode.el (makefile-font-lock-keywords):
6963         Fontify single character variable references, but protect shell
6964         variables references.
6965         (makefile-mode): Make `$' be punctuation in font-lock-defaults.
6967 2003-02-12  Ami Fischman  <ami@fischman.org>
6969         Face markup of calendar and diary displays: Any entry line that
6970         ends with [foo:value] where foo is a face attribute (except :box
6971         :stipple) or with [face:blah] tags, will have these values applied
6972         to the calendar and fancy diary displays. These attributes "stack"
6973         on calendar displays.  File-wide attributes can be defined as
6974         follows: the first line matching "^# [tag:value]" defines the
6975         value for that particular tag.  All of the tags' regexps can be
6976         customized.
6978         * calendar/calendar.el (diary-face-attrs): New custom.
6979         (diary-file-name-prefix-function): New custom.
6980         (diary-glob-file-regexp-prefix): New custom.
6981         (diary-file-name-prefix): New custom.
6982         (generate-calendar-window): Check that font-lock-mode is bound
6983         before checking value.
6984         (mark-visible-calendar-date): Add the ability to pass face
6985         attribute/value pairs in the mark argument.  Handle the mark.
6987         * calendar/diary-lib.el (diary-attrtype-convert): Convert an
6988         attribute value string to the desired type.
6989         (diary-pull-attrs): New function that pulls the attributes off a
6990         diary entry, merges with file-global attributes, and returns
6991         the (possibly modified) entry and a list of attribute/values using
6992         diary-attrtype-convert.
6993         (list-diary-entries, fancy-diary-display, show-all-diary-entries)
6994         (mark-diary-entries, mark-sexp-diary-entries)
6995         (list-sexp-diary-entries): Add handling of file-global attributes;
6996         add handling of entry attributes using diary-pull-attrs.
6997         (mark-calendar-days-named, mark-calendar-days-named)
6998         (mark-calendar-date-pattern, mark-calendar-month)
6999         (add-to-diary-list): Add optional paramater `color' for passing
7000         face attribute info through the callchain.  Pass this parameter around.
7002 2003-02-11  Stefan Monnier  <monnier@cs.yale.edu>
7004         * progmodes/etags.el (find-tag-tag): Move (default foo) to before
7005         `:' in the prompt.
7006         (find-tag): Make sure we move point in the proper window.
7008         * progmodes/meta-mode.el (meta-fill-paragraph): Remove.
7009         (meta-common-initialization): Don't set fill-paragraph-function
7010         now that fill-paragraph takes care of comments.
7012         * progmodes/scheme.el (scheme-mode-syntax-table): Don't switch
7013         the current buffer's syntax-table.
7015         * progmodes/simula.el (simula-font-lock-syntactic-keywords): New var.
7016         (simula-font-lock-keywords-1): Simplify.
7017         (simula-font-lock-keywords-2): Use regexp-opt.
7018         (simula-emacs-features): Remove.
7019         (simula-mode-syntax-table): Setup %...\n as comment style b.
7020         (simula-mode-map): Remove compatibility cruft.
7021         (simula-keep-region-active): Remove.
7022         (simula-popup-menu): Simplify.
7023         (simula-mode): Move abbrev-table setup to top-level.
7024         (simula-match-string-or-comment): Remove.
7026         * progmodes/tcl.el (tcl-omit-ws-regexp): Correctly handle cases
7027         like `proc foo {a {b c} d} {'.
7028         (tcl-mode): Make comment-start-skip more selective.
7030         * info-xref.el (info-xref-check): Use line-beginning-position.
7031         (info-xref-all-info-files): Cons a bit less.
7032         (info-xref-check-buffer): Use push and replace-regexp-in-string.
7033         (info-xref-output): Call insert only once.
7034         (info-xref-whitespace): Remove.
7036 2003-02-11  John Paul Wallington  <jpw@gnu.org>
7038         * ibuffer.el (toplevel): Don't require `font-lock';
7039         require `font-core' instead, even though it is dumped.
7041         * ibuf-ext.el (ibuffer-save-with-custom, ibuffer-add-to-tmp-hide)
7042         (ibuffer-add-to-tmp-show): Doc fixes.
7044         * language/tamil.el ("Tamil"): Doc fix.
7046 2003-02-11  Juanma Barranquero  <lektu@terra.es>
7048         * language/vietnamese.el ("Vietnamese"): Fix typos.
7050         * info-xref.el (info-xref-check-buffer): Fix typo.
7052         * makefile.w32-in (DONTCOMPILE): Add malayalam.el and tamil.el.
7054 2003-02-11  Kenichi Handa  <handa@m17n.org>
7056         * loadup.el: Load "language/malayalam" and "language/tamil".
7058 2003-02-11  KAWABATA, Taichi  <kawabata@m17n.org>
7060         * Makefile.in (DONTCOMPILE): Add malayalam.el and tamil.el.
7062         * language/devan-util.el: Maintainer's mail address changed.
7063         (devanagari-composable-pattern): Add DANDA character.
7064         (dev-char-glyph): Add an entry for DANDA.
7066         * language/devanagari.el: Maintainer's mail address changed.
7068         * language/indian.el: Maintainer's mail address changed.
7070         * language/ind-util.el (indian-dev-base-table): Table fixed.
7071         (indian-pnj-base-table): Table contents defined.
7072         (indian-gjr-base-table): Likewise.
7073         (indian-ori-base-table): Likewise.
7074         (indian-bng-base-table): Likewise.
7075         (indian-asm-base-table): Likewise.
7076         (indian-tlg-base-table): Likewise.
7077         (indian-knd-base-table): Likewise.
7078         (indian-mlm-base-table): Likewise.
7079         (indian-tml-base-table): Likewise.
7080         (indian-pnj-itrans-v5-hash, indian-gjr-itrans-v5-hash)
7081         (indian-ori-itrans-v5-hash, indian-bng-itrans-v5-hash)
7082         (indian-asm-itrans-v5-hash, indian-tlg-itrans-v5-hash)
7083         (indian-knd-itrans-v5-hash, indian-mlm-itrans-v5-hash)
7084         (indian-tml-itrans-v5-hash): New variables.
7086         * language/malayalam.el: New file.
7087         * language/mlm-util.el: New file.
7088         * language/tamil.el: New file.
7089         * language/tml-util.el: New file.
7091 2003-02-11  Kevin Ryde  <user42@zip.com.au>
7093         * info-xref.el: New file.
7095 2003-02-10  Stefan Monnier  <monnier@cs.yale.edu>
7097         * textmodes/page-ext.el (pages-directory-mode-map): New.
7098         (pages-directory-map): Redefine as an varalias.
7099         (pages-directory-mode): Use new map var and run mode hook.
7100         (pages-directory-address-mode): Use define-derived-mode.
7102         * textmodes/texinfmt.el (texinfo-format-iftex, texinfo-format-ifhtml)
7103         (texinfo-format-ifplaintext, texinfo-format-tex, texinfo-format-html)
7104         (texinfo-format-ifnotinfo, texinfo-format-titlepage)
7105         (texinfo-format-titlespec, texinfo-format-ignore, texinfo-if-set)
7106         (texinfo-if-clear): Use re-search-forward's return value.
7107         (texinfo-sort-startkeyfun, texinfo-format-buffer-1)
7108         (texinfo-format-region): Use line-{end,beginning}-position.
7109         (texinfo-append-refill, texinfo-alias): Use match-string-no-properties.
7111         * emacs-lisp/eldoc.el (eldoc-echo-area-multiline-supported-p)
7112         (eldoc-use-idle-timer-p): Remove.
7113         (timer): Never require.  It only works in current Emacs anyway.
7114         (eldoc-mode, eldoc-message, eldoc-display-message-p)
7115         (eldoc-docstring-format-sym-doc, eldoc-remove-command): Simplify.
7117         * ffap.el (ffap-complete-as-file-p):
7118         Use minibuffer-completing-file-name.
7120         * international/mule.el (load-with-code-conversion): Use push.
7122         * font-core.el (font-lock-defontify): Use restore-buffer-modified-p.
7124         * gud.el (gud-gdb-run-command-fetch-lines, gud-display-line):
7125         Use with-current-buffer and simplify.
7127         * help-mode.el (help-xref-on-pp): Only add xref if the text
7128         is less than 5K.
7130         * pcvs-parse.el (cvs-parse-table): "no longer in repo" does not
7131         make the file dead if we used the -n arg.
7133         * emacs-lisp/cl-macs.el (process-get): Add setf method.
7135         * server.el (server-previous-strings): Remove.
7136         (server-process-filter): Use (process-get 'previous-string) instead.
7137         (server-sentinel): Remove code made superfluous.
7139 2003-02-10  Luc Teirlinck  <teirllm@mail.auburn.edu>
7141         * info.el (Info-follow-nearest-node): Implement new behavior.
7143 2003-02-10  Juanma Barranquero  <lektu@terra.es>
7145         * progmodes/ebnf-otz.el (ebnf-optimize, ebnf-optimize1): Fix typo.
7147         * progmodes/ebnf2ps.el (ebnf2ps): Fix typo.
7148         (ebnf-syntactic): Change group name and tag from "ebnf-syntatic".
7149         (ebnf-syntax, ebnf-lex-comment-char, ebnf-lex-eop-char)
7150         (ebnf-terminal-regexp, ebnf-case-fold-search)
7151         (ebnf-iso-alternative-p, ebnf-iso-normalize-p)
7152         (ebnf-yac-ignore-error-recovery): Add to group "ebnf-syntactic", not
7153         "ebnf-syntatic".
7154         (ebnf-optimize, ebnf-print-buffer, ebnf-print-region)
7155         (ebnf-spool-buffer, ebnf-spool-region, ebnf-eps-buffer)
7156         (ebnf-eps-region, ebnf-syntax-buffer, ebnf-syntax-region)
7157         (ebnf-generate-region): Fix typo.
7159 2003-02-10  KAWABATA, Taichi  <kawabata@m17n.org>
7161         * language/ind-util.el (indian-itrans-v5-table): Add entries for
7162         "E" and "O".
7164 2003-02-10  Martin Stjernholm  <bug-cc-mode@gnu.org>
7166         * progmodes/cc-styles.el (c-set-offset): Don't find a default
7167         syntactic element through syntactic analysis if called outside
7168         a CC Mode buffer.
7170 2003-02-09  Martin Stjernholm  <bug-cc-mode@gnu.org>
7172         * progmodes/cc-mode.el (c-basic-common-init):
7173         Install `c-fill-paragraph' on `fill-paragraph-function'.
7174         Although it's not the normal way to call it in a CC Mode buffer it
7175         makes a direct call to `fill-paragraph' work better.
7177 2003-02-08  Kim F. Storm  <storm@cua.dk>
7179         * printing.el (pr-get-symbol): Define during compile.
7181 2003-02-07  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
7183         * printing.el: New file.
7185 2003-02-07  Francesco Potort\e,Al\e(B  <pot@gnu.org>
7187         * language/european.el ("French", "Slovenian"): Fix doc strings.
7189 2003-02-06  John Paul Wallington  <jpw@gnu.org>
7191         * mail/rmailsum.el (rmail-summary-previous-msg): Add docstring.
7192         (rmail-summary-line-count-flag, rmail-summary-previous-labeled-message)
7193         (rmail-summary-next-labeled-message, rmail-summary-resend)
7194         (rmail-summary-override-mail-send-and-exit): Doc fixes.
7196 2003-02-06  Francesco Potort\e,Al\e(B  <pot@gnu.org>
7198         * language/european.el ("Italian"): New.
7200 2003-02-06  Matthew Swift  <swift@alum.mit.edu>
7202         * dired.el (dired-move-to-filename-regexp): Support "K" suffix on
7203         "ls -alh" output.
7205 2003-02-05  Juanma Barranquero  <lektu@terra.es>
7207         * font-lock.el (font-lock-reference-face): Add obsolescence
7208         declaration and remove redundant info from docstring.
7210         * log-edit.el (cvs-commit-buffer-require-final-newline)
7211         (cvs-changelog-full-paragraphs): Likewise.
7213         * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button)
7214         (mouse-wheel-click-button): Likewise.
7216         * pcvs-defs.el (cvs-diff-ignore-marks, cvs-diff-buffer-name): Likewise.
7218         * vc.el (vc-annotate-display, vc-checkout-carefully): Likewise.
7220         * vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7221         (vc-header-alist): Likewise.
7223         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Likewise.
7225         * textmodes/outline.el (outline-visible): Likewise.
7227 2003-02-05  Kim F. Storm  <storm@cua.dk>
7229         * ido.el (ido-define-mode-map):
7230         Undo last change (duplicates part of 2003-02-04 change).
7231         Remap `viper' delete commands only in file or dir mode.
7233 2003-02-05  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
7235         * ido.el (ido-define-mode-map): Interact with Viper.
7237 2003-02-05  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
7239         * net/tramp.el: Version 2.0.29 released.
7240         (tramp-send-region): Protect against tramp-chunksize being nil.
7241         (tramp-chunksize): Set default to 500 as workaround for some ssh
7242         connections.
7243         (tramp-handle-directory-file-name): New implementation.  Not sure
7244         if it works.
7245         (tramp-md5-function): Require md5 before checking function md5.
7246         If using md5-encode, put wrapper around it that converts vector of
7247         bytes to ascii text.
7248         (top-level): Avoid byte-compiler warnings of unused variables if
7249         the byte-compiler supports this.  This is for the
7250         with-parsed-tramp-file-name macro which is wont to produce such stuff.
7252 2003-02-05  Michael Albinus  <Michael.Albinus@alcatel.de>
7254         * net/tramp.el (tramp-handle-directory-file-name): Handle the case
7255         PATH is "".
7256         (tramp-completion-handle-file-name-all-completions):
7257         Define `tramp-current-user' locally.  See `tramp-parse-passwd'.
7258         (tramp-parse-passwd): For su-alike methods it would be desirable
7259         to return "root@localhost" as default.  Unfortunately, we have no
7260         information whether any user name has been typed already.  So we
7261         (mis-)use tramp-current-user as indication, assuming it is set in
7262         `tramp-completion-handle-file-name-all-completions'.
7263         (tramp-send-region): Handle the case `tramp-chunksize' is equal 0.
7264         I did it accidently.  Infinite loop ...
7265         (tramp-get-device): `tramp-make-tramp-file-name' must not be
7266         called with NIL path.  It fails in case of multi-method.
7267         (tramp-file-name-for-operation):  Apply `expand-file-name' for
7268         relative file names only.  Otherwise there might be problems if
7269         the default directory is another Tramp directory as the directory
7270         the file is based on.
7271         (tramp-find-foreign-file-name-handler): Check whether FILENAME is
7272         a Tramp file name.  It isn't if it comes from an expanded file
7273         name (like "/xx:yy//zz").
7274         (tramp-devices): New variable.  Keeps virtual device numbers.
7275         Devices must distinguish physical file systems.  The device
7276         numbers provided by "lstat" aren't unique, because we operate on
7277         different hosts.  So we use virtual device numbers, generated by
7278         `tramp-get-device'.  Both Ange-FTP and EFS use device number -1.
7279         In order to be different, we use device number (-1 x), whereby "x"
7280         is unique for a given (multi-method method user host).
7281         Suggested by Kai.
7282         (tramp-perl-file-attributes): Always return device number -1.
7283         There will be a virtual device number set in
7284         `tramp-handle-file-attributes', which replaces this one.
7285         (tramp-handle-file-attributes): Set virtual device number.
7286         (tramp-get-device): New function.  Returns the virtual device
7287         number.  If it doesn't exist, generate a new one.
7288         (tramp-handle-file-regular-p): Use Emacs file name primitives
7289         instead of calling tramp-handle-* equivalents directly.
7290         Needed for tramp-smb.
7291         (tramp-completion-function-alist-ssh): Add parsing of
7292         "/etc/ssh_config" and "~/.ssh/config".  Suggested by Kai.
7293         (tramp-completion-function-alist, tramp-set-completion-function):
7294         Doc string update.
7295         (tramp-parse-sconfig, tramp-parse-sconfig-group): New functions.
7296         Provide parsing of "~/.ssh/config" style files.
7297         (tramp-completion-handle-expand-file-name):
7298         Apply `tramp-drop-volume-letter'.  Otherwise, there are problems
7299         on W32 systems.
7300         (tramp-completion-mode): Perform check (integerp last-input-event)
7301         before (event-modifiers last-input-event) -- there might be
7302         problems if `last-input-event' is a mouse event.
7303         (tramp-parse-rhosts, tramp-parse-shosts)
7304         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc):
7305         Use `file-readable-p' instead of `file-exists-p'.  Otherwise these
7306         functions might block.  Reported by <kin@neoscale.com>.
7308         * net/tramp-ftp.el (top-level): eval-after-load "ange-ftp"
7309         '(tramp-disable-ange-ftp).  Suggested by Kai.
7310         (tramp-ftp-file-name-handler): `tramp-disable-ange-ftp' not needed
7311         any longer.
7312         (top-level): Defaults for `tramp-default-method-alist' must be a list.
7314         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7315         Apply `tramp-handle-directory-file-name'.
7316         (tramp-smb-handle-file-attributes):  Apply `tramp-get-device'.
7317         ATIME and CTIME are (0 0) now (= "don't know"), which is more honest.
7318         (tramp-smb-handle-make-directory): Use Emacs file name primitives
7319         instead of calling tramp-smb-handle-* equivalents directly.
7320         (tramp-smb-read-file-entry): Return size as a number, not a string.
7321         (top-level): Defaults for `tramp-default-method-alist' must be a list.
7323 2003-02-05  Stefan Monnier  <monnier@cs.yale.edu>
7325         * completion.el (eval-when-compile-load-eval, completion-eval-when)
7326         (cmpl-read-time-eval, minibuffer-window-selected-p): Remove.
7327         (completion-min-length, completion-max-length)
7328         (completion-prefix-min-length): Don't hard-code the default value
7329         when byte-compiling.
7330         (complete): Inline minibuffer-window-selected-p.
7332 2003-02-04  Richard M. Stallman  <rms@gnu.org>
7334         * term.el (term-raw-map): Set it up at load time.
7335         (term-char-mode): Don't set up term-raw-map here.
7336         (term-set-escape-char): Don't set up C-x subcommand.
7337         (term-ansi-face-already-done): Renamed from
7338         term-ansi-face-alredy-done.
7339         (term-command-hook): Avoid error if STRING is empty.
7340         (term, term-mode): Doc fixes.
7342         * term.el: Redesign handling of colors and faces.
7343         Delete all the faces that this mode used to make.
7344         (ansi-term-color-vector): New variable.
7345         (ansi-term-fg-faces-vector, ansi-term-bg-faces-vector)
7346         (ansi-term-inv-bg-faces-vector, ansi-term-inv-fg-faces-vector):
7347         Variables deleted.
7348         (term-default-fg-color, term-default-bg-color): Use defcustom.
7349         (term-handle-colors-array): Use ansi-term-color-vector,
7350         and specify face attributes rather than faces in `face' property.
7352         * term.el (term-ansi-fg-faces-vector, term-ansi-bg-faces-vector)
7353         (term-ansi-inv-fg-faces-vector, term-ansi-inv-bg-faces-vector)
7354         (term-ansi-reverse-faces-vector): Delete unused variables.
7355         (term-ignore-error): Delete macro.
7357         * simple.el (back-to-indentation): Skip all whitespace
7358         except for newlines.
7360         * files.el (find-alternate-file): Handle dired-directory
7361         like buffer-file-name.
7363         * dired.el (dired-find-buffer-nocreate): Avoid error if
7364         dired-directory is nil.
7366 2003-02-04  Juanma Barranquero  <lektu@terra.es>
7368         * image.el (image-type-regexps): Fix typo.
7370         * international/characters.el: Restore missing space and put a
7371         comment to protect it from being deleted as trailing whitespace.
7373         * ruler-mode.el (ruler-mode-margins-char): Likewise.
7375 2003-02-04  Francesco Potort\e,Al\e(B  <pot@gnu.org>
7377         * mail/rmailout.el (rmail-output): If preserving MIME-version,
7378         preserve Content-type too.
7380 2003-02-04  Kim F. Storm  <storm@cua.dk>
7382         * ido.el (ido-define-mode-map): Remap viper delete char/word
7383         commands to their ido specific equivalents.  Disable ESC in
7384         viper mode (to avoid exiting insert mode), since ido doesn't
7385         work in viper command mode.
7386         (ido-delete-backward-updir, ido-delete-backward-word-updir):
7387         Handle remapped viper commands.
7389 2003-02-03  Juanma Barranquero  <lektu@terra.es>
7391         * calculator.el (calculator): Don't use the minibuffer even in
7392         electric mode; use a private buffer and display it in the minibuffer
7393         window using `set-window-buffer'.
7395 2003-02-03  Dave Love  <fx@gnu.org>
7397         * emacs-lisp/benchmark.el: New.
7399 2003-02-02  Andreas Schwab  <schwab@suse.de>
7401         * progmodes/asm-mode.el (asm-font-lock-keywords): Allow arbitrary
7402         words separated by dots.  Match optional parenthesized word at
7403         start of line.
7405         * font-lock.el
7406         (font-lock-match-c-style-declaration-item-and-skip-to-next):
7407         Don't require underscore in word before double open-paren.
7409 2003-02-02  John Paul Wallington  <jpw@gnu.org>
7411         * hexl.el (hexl-mode-map): Bind C-m to `hexl-self-insert-command'.
7413 2003-02-01  Stephen Gildea  <gildea@stop.mail-abuse.org>
7415         * time-stamp.el: Tweak doc strings and preamble commentary.
7416         (time-stamp): Fix parsing of "%%a" in time-stamp-pattern (change
7417         regexp subpattern 5)
7418         (time-stamp-pattern): Initialize to nil to avoid regexp work in
7419         default case.
7420         (time-stamp-string): Call set-time-zone-rule instead of setenv
7421         (time-stamp-hhmmss): Remove (not needed after all).
7422         (time-stamp-month-dd-yyyy, time-stamp-dd/mm/yyyy)
7423         (time-stamp-mon-dd-yyyy, time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
7424         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd, time-stamp-yymmdd)
7425         (time-stamp-hh:mm:ss, time-stamp-hhmm): Make obsolete.
7427 2003-01-31  Stefan Monnier  <monnier@cs.yale.edu>
7429         * cus-edit.el (custom-unlispify-menu-entry): Use with-current-buffer.
7430         (custom-save-variables): Use dolist, simplify.
7431         Output a message if a `requests' entry looks suspicious.
7432         (custom-save-faces): Use dolist, simplify.
7434 2003-01-31  Christoph Wedler  <Christoph.Wedler@sap.com>
7436         * antlr-mode.el: Bug fixes, miscellaneous.
7437         (antlr-mode): Make major mode work with cc-mode-5.29 or higher,
7438         make it more rubust against changes in cc-mode's style variables
7439         by using `boundp' and function `c-init-language-vars' if defined.
7440         (antlr-c++-mode-extra): Only ask if language is not "Cpp".
7441         (antlr-read-value): With completion, ignore case.
7442         (antlr-run-tool-interactive): New function.
7443         (antlr-run-tool): Use it for `interactive' specification.
7445         * antlr-mode.el: Simplify Emacs/XEmacs compatibility.
7446         (cond-emacs-xemacs): New compile-time macro.
7447         (defunx): New compile-time macro.
7448         (ignore-errors-x): New compile-time macro.
7449         (save-buffer-state-x): New compile-time macro.
7451         (antlr-scan-sexps, antlr-simple-scan-sexps): Deletia.
7452         (antlr-scan-lists, antlr-simple-scan-sexps): Deletia.
7453         (antlr-simple-default-directory): Deletia.
7454         (antlr-default-directory): Define directly.
7455         (antlr-simple-read-shell-command): Deletia.
7456         (antlr-read-shell-command): Define directly.
7457         (antlr-simple-with-displaying-help-buffer): Deletia.
7458         (antlr-with-displaying-help-buffer): Define directly.
7459         (antlr-fast-invalidate-context-cache): Deletia.
7460         (antlr-slow-invalidate-context-cache): Deletia.
7461         (antlr-invalidate-context-cache): Define directly.
7462         (antlr-fast-syntactic-context): Deletia.
7463         (antlr-slow-syntactic-context): Deletia.
7464         (antlr-syntactic-context): Define directly.
7466         (antlr-mode-menu): Use new macros.
7467         (antlr-font-lock-additional-keywords): Ditto.
7468         (antlr-skip-sexps): Ditto.
7469         (antlr-end-of-rule): Ditto.
7470         (antlr-beginning-of-rule): Ditto.
7471         (antlr-end-of-body): Ditto.
7472         (antlr-beginning-of-body): Ditto.
7473         (antlr-hide-actions): Ditto.
7474         (antlr-option-kind): Ditto.
7476         * antlr-mode.el: In Emacs, use face attribute :weight, not :bold.
7477         (antlr-font-lock-keyword-face): Use new macros.
7478         (antlr-font-lock-syntax-face): Ditto.
7479         (antlr-font-lock-ruledef-face): Ditto.
7480         (antlr-font-lock-tokendef-face): Ditto.
7481         (antlr-font-lock-literal-face): Ditto.
7483         Changes from 2002-05-24:
7485         * antlr-mode.el: Version 2.2a.
7487         Changes from 2002-05-03:
7489         * antlr-mode.el: Make context parsing faster on Emacs, for faster
7490         syntax highlighting, indentation and imenu support.
7491         Suggested by Aaron Davies <adavies42@users.sourceforge.net>.
7492         (antlr-slow-context-cache): New variable.
7493         (antlr-slow-syntactic-context): Use cache.
7494         (antlr-slow-cache-enabling-symbol): New internal variable.
7495         (antlr-slow-cache-diff-threshold): New variable.
7496         (antlr-fast-invalidate-context-cache): Renamed from
7497         antlr-xemacs-bug-workaround.
7498         (antlr-imenu-create-index-function): Search from beginning.
7500         * antlr-mode.el: More sophisticated indentation, i.e., use the
7501         indentation engine of cc-mode for most actions.
7502         (antlr-c-common-init): Allow nil for `antlr-indent-style'.
7503         (antlr-indent-line): Use indentation engine of cc-mode more often.
7504         (antlr-indent-at-bol-alist): Only used for header actions.
7505         (antlr-disabling-cc-syntactic-symbols): New variable.
7506         (antlr-indent-item-regexp): Delete stuff for actions.
7507         (antlr-indent-at-bol-alist): With language "Java", indent
7508         "package" and "import" at column 0 in header part.
7510         * antlr-mode.el (antlr-simple-default-directory): Define.
7511         (antlr-simple-read-shell-command): Define.
7512         (antlr-simple-with-displaying-help-buffer): Define.
7513         (antlr-simple-scan-sexps, antlr-simple-scan-lists):
7514         Renamed from antlr-scan-{sexps,lists}-internal.
7516         Changes from 2002-02-28:
7518         * antlr-mode: Version 2.2 is released.
7520         * antlr-mode.el (antlr): Moved to SourceForge.net
7522         * antlr-mode.el: Minor bug fixes: insert options and indentation.
7523         (antlr-option-location): Don't use point as position where to
7524         insert options if point is in comment.
7525         (antlr-mode): Don't set style here.
7526         (antlr-c-common-init): Set style here.  If boundp, set
7527         `c-current-comment-prefix' to not break indentation in comments.
7528         Hm, I should probably split `c-common-init' from cc-mode into two
7529         parts, one of which I could use for antlr-mode.el.
7531         Changes from 2002-01-31:
7533         * antlr-mode.el (antlr-font-lock-additional-keywords):
7534         Also hightlight `~' with `antlr-font-lock-syntax-face'.
7535         Suggested by Helmut Neukirchen <neukirchen@itm.mu-luebeck.de>.
7537 2003-01-31  Joe Buehler  <jhpb@draco.hekimian.com>
7539         * comint.el:
7540         * dired-aux.el:
7541         * dired.el:
7542         * dirtrack.el:
7543         * dos-w32.el:
7544         * fast-lock.el:
7545         * filecache.el:
7546         * files.el:
7547         * hippie-exp.el:
7548         * international/mule.el:
7549         * net/browse-url.el:
7550         * pcomplete.el:
7551         * recentf.el:
7552         * shell.el:
7553         * woman.el: Added cygwin to system-type comparisons.
7555 2003-01-31  Francesco Potort\e,Al\e(B  <pot@gnu.org>
7557         * mail/undigest.el (rmail-forward-separator-regex): New custom
7558         variable.
7559         (unforward-rmail-message): Use it.
7561 2003-01-30  Dave Love  <fx@gnu.org>
7563         * textmodes/ispell.el (lookup-words): Fix last change.
7565 2003-01-29  John Paul Wallington  <jpw@gnu.org>
7567         * font-lock.el (lisp-font-lock-keywords-1): Match `deftheme'.
7569         * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
7570         `deftheme'.  Fix docstring offsets for `define-ibuffer-filter' and
7571         `define-ibuffer-sorter'.
7572         (lisp-imenu-generic-expression): Add `deftheme' to types.
7574         * custom.el (customize-mark-to-save, customize-mark-as-set)
7575         (custom-remove-theme): Doc fixes.
7577 2003-01-29  Didier Verna  <didier@xemacs.org>
7579         * cus-edit.el (custom-save-variables): Also save non theme'd ones.
7580         * cus-edit.el (custom-save-faces): Ditto.
7582 2003-01-29  Juanma Barranquero  <lektu@terra.es>
7584         * composite.el (decompose-composite-char): Fix docstring.
7586         * select.el (x-set-cut-buffer): Fix docstring.  Check type with
7587         `stringp' instead of `substring'.
7589         * textmodes/reftex.el (reftex-TeX-master-file): Use really the buffer
7590         file name if no other master file is located.
7592         * progmodes/cperl-mode.el (cperl-beautify-level)
7593         (cperl-beautify-regexp): Fix use of `prefix-numeric-value'.
7594         (cperl-calculate-indent): Fix typo.
7596 2003-01-29  Taro Kawagishi  <tarok@transpulse.org>
7598         * arc-mode.el (archive-lzh-summarize): Fix previous change.
7600 2003-01-29  Kim F. Storm  <storm@cua.dk>
7602         * emacs-lisp/authors.el: New format of AUTHORS file; list each
7603         author name once followed by contributed and changed files.
7604         Improve selection of entries to include in list, and generate list
7605         of unrecognized entries indicating syntax errors in ChangeLog files.
7606         (authors-coding-system): New variable.
7607         (authors-many-files): Update doc string.
7608         (authors-aliases): Change format. Now one entry with multiple
7609         aliases per author.
7610         (authors-valid-file-names, authors-renamed-files-alist)
7611         (authors-renamed-files-regexps): New variables.
7612         (authors-canonical-file-name): New function.  Validates that file
7613         exists or occurs in one of the above lists.  Record unrecognized
7614         file names in global authors-invalid-file-names list.
7615         (authors-add): Change to record per-change counts.
7616         (authors-canonical-author-name): Handle new format of
7617         authors-aliases list.
7618         (authors-scan-change-log): Rename FILE arg to LOG-FILE.
7619         Change doc string to describe new entry format.
7620         Only add author entries for valid file names.
7621         (authors-print): Replace by authors-add-to-author-list.
7622         (authors-add-to-author-list): New function which reorders
7623         per-file entries and adds them to global authors-author-list.
7624         (authors): Instead of authors-print to insert in *Authors* buffer,
7625         use authors-add-to-author-list to reorder the list and then
7626         insert result in *Authors* buffer with new format.
7627         Generate *Authors Errors* compilation-mode buffer listing
7628         unrecognized ChangeLog entries.
7630 2003-01-28  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>
7632         * term/mac-win.el: Add entries in function-key-map for
7633         [tab], [backspace], [escape].
7635 2003-01-28  Kim F. Storm  <storm@cua.dk>
7637         * info.el (Info-extract-menu-node-name): Another fix for
7638         2003-01-24 change.  Also stop search if : is followed by TAB.
7640 2003-01-28  John Paul Wallington  <jpw@gnu.org>
7642         * ibuf-ext.el (ibuffer-yank-filter-group): Move check for empty
7643         `ibuffer-filter-group-kill-ring' out of `interactive' declaration.
7645 2003-01-28  Martin Stjernholm  <bug-cc-mode@gnu.org>
7647         * progmodes/cc-vars.el, progmodes/cc-mode.el
7648         (c-require-final-newline): Made this variable an alist to
7649         specify a value for each language.  The default value causes
7650         `require-final-newline' to be set to t only in languages where
7651         the standard requires a final newline.
7653 2003-01-27  Kim F. Storm  <storm@cua.dk>
7655         * simple.el (kill-new): Improve doc string for yank-handler.
7656         Signal args-out-of-range error if yank-handler is specified for
7657         an empty string.
7659         * subr.el (insert-for-yank): Remove COMMAND element from yank handler.
7661 2003-01-27  Dave Love  <fx@gnu.org>
7663         * dired-x.el (dired-filename-at-point): Fix last change and tidy up.
7665         * thingatpt.el (thing-at-point-file-name-chars):
7666         Include non-ASCII again and re-write the filename ops.
7668 2003-01-27  David Ponce  <david@dponce.com>
7670         * makefile.w32-in (update-subdirs-SH): Create lisp/subdirs.el.
7672 2003-01-27  Juanma Barranquero  <lektu@terra.es>
7674         * filesets.el (filesets-file-open): Fix typo.
7676         * vcursor.el (vcursor-disable): Likewise.
7678         * eshell/esh-cmd.el (eshell-separate-commands): Likewise.
7680         * progmodes/cc-styles.el (c-make-styles-buffer-local): Likewise.
7682         * progmodes/cc-vars.el (c-offsets-alist): Likewise.
7684         * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Likewise.
7686 2003-01-26  Martin Stjernholm  <bug-cc-mode@gnu.org>
7688         * progmodes/cc-vars.el, progmodes/cc-mode.el
7689         (c-require-final-newline): Add a variable to make the
7690         initialization of `require-final-newline' more configurable.
7692 2003-01-26  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
7694         * emacs-lisp/authors.el (authors-aliases): Add Jan D.
7695         Set iso-2022-7bit coding: cookie.
7697 2003-01-26  Kim F. Storm  <storm@cua.dk>
7699         * info.el (Info-extract-menu-node-name): Fix 2003-01-24 change.
7700         Don't search for next colon if current colon is followed by
7701         one of ".", ",", ";", or ")".
7702         (info-insert-file-contents) [!MSDOS]: Avoid byte-compiler warning.
7703         (Info-find-node) [!MSDOS]: Avoid byte-compiler warning.
7705 2003-01-26  Richard M. Stallman  <rms@gnu.org>
7707         * thingatpt.el (thing-at-point-file-name-chars): Undo previous change.
7709 2003-01-25  Bill Wohler  <wohler@newt.com>
7711         * mh-e: Created directory. ChangeLog will appear in a week when we
7712         release version 7.2.
7714         * mail/mh-alias.el, mail/mh-comp.el, mail/mh-customize.el, mail/mh-e.el,
7715         mail/mh-funcs.el, mail/mh-identity.el, mail/mh-index.el,
7716         mail/mh-loaddefs.el, mail/mh-mime.el, mail/mh-pick.el,
7717         mail/mh-seq.el, mail/mh-speed.el, mail/mh-utils.el,
7718         mail/mh-xemacs-compat.el: Moved to mh-e directory.
7719         Note that reply2.pbm and reply2.xpm, which were created by the
7720         MH-E package, were left in mail since they can probably be used by
7721         other mail packages.
7723         * makefile.w32-in (WINS): Add mh-e.
7725         * makefile.nt (WINS): Add mh-e.
7727 2003-01-25  Richard M. Stallman  <rms@gnu.org>
7729         * emacs-lisp/bytecomp.el (byte-compile-file-form-custom-declare-variable):
7730         Compile any lambda-expressions among the args.
7732         * view.el (view-mode): Doc fix.
7734         * ido.el: Many doc fixes.
7735         (ido-complete): Fix message.
7737 2003-01-25  Taro Kawagishi  <tarok@transpulse.org>
7739         * arc-mode.el (archive-unixdate): Correct the date field string.
7740         (archive-lzh-summarize): Extend it to allow the LZH level 2 header
7741         type (which is most prevalent now), in addition to the already
7742         supported level 0 and 1 header types.
7744 2003-01-25  Markus Rost  <rost@math.ohio-state.edu>
7746         * international/mule-cmds.el (set-language-info)
7747         (current-language-environment): Simplify setting the type of
7748         current-language-environment.
7750 2003-01-25  Kim F. Storm  <storm@cua.dk>
7752         * emulation/cua-base.el (cua--init-keymaps): Move C-S-x and C-S-c
7753         bindings from cua--cua-keys-keymap to cua--region-keymap, as they are
7754         only needed when the region is active.  This also makes the output
7755         from C-h b look normal when cua-mode is enabled (no C-S-x/c bindings).
7757 2003-01-25  Michael Kifer  <kifer@cs.stonybrook.edu>
7759         * ediff.el (ediff-revision): Better defaults.
7761         * ediff-vers.el (ediff-vc-latest-version): New function.
7762         (ediff-vc-internal): Use latest version instead of working version.
7764 2003-01-24  Thien-Thi Nguyen  <ttn@gnu.org>
7766         * info.el (Info-extract-menu-node-name): When looking for end of menu
7767         item, don't stop at first ":"; instead, continue until trailing
7768         context is either a space or newline.
7769         (Info-complete-menu-item): Var `pattern': allow ":" in menu item.
7770         (Info-menu): Likewise, for regexp used in backwards search.
7771         (Info-try-follow-nearest-node): Remove case added in previous edit.
7772         Change regexp in the following case to allow ":" in menu item.
7773         (Info-fontify-node): Fix bug: Handle `next-property-change' returning
7774         point-max as "hasn't already been done".
7776 2003-01-24  Thien-Thi Nguyen  <ttn@gnu.org>
7778         * info.el (Info-try-follow-nearest-node): Add case: Handle menu item
7779         terminated by ": " as an index entry.
7781 2003-01-24  Juanma Barranquero  <lektu@terra.es>
7783         * isearch.el (isearch-forward): Fix typo.
7785 2003-01-24  Kenichi Handa  <handa@m17n.org>
7787         * international/mule.el (decode-coding-inserted-region):
7788         Rename from decode-coding-region-as-inserted-from-file to make it fit
7789         well in the Lisp manual.
7791         * jka-compr.el (jka-compr-insert-file-contents):
7792         Call docode-coding-inserted-region.
7794 2003-01-24  John Paul Wallington  <jpw@gnu.org>
7796         * ibuffer.el (ibuffer-window-list): Remove.
7797         (ibuffer-confirm-operation-on): Use `window-list' instead.
7798         (ibuffer-load-hook): New customizable variable.
7799         (toplevel): Run it.
7800         (ibuffer-customize): New command.
7801         (ibuffer-mode-map): Bind it.
7802         (ibuffer-mode-map): Add menu seperator in View>Sort menu.
7803         (ibuffer-mode): Tidy.
7804         (ibuffer-fontification-alist, ibuffer-always-show-last-buffer)
7805         (ibuffer-default-directory, ibuffer-default-sorting-mode)
7806         (ibuffer-maybe-show-predicates, ibuffer-hook, ibuffer-mode-hook)
7807         (ibuffer-map-lines): Doc fixes.
7809         * ibuf-ext.el (ibuffer-copy-filename-as-kill): C-u means relative
7810         filenames.  Use `kill-new'.
7812 2003-01-23  Dave Love  <fx@gnu.org>
7814         * abbrev.el (write-abbrev-file): Simplify, and put a coding cookie
7815         in the file.
7817 2003-01-23  Masatake YAMATO  <jet@gyve.org>
7819         * progmodes/asm-mode.el (asm-mode): Add syntax table entries for
7820         /* */ comments.
7822 2003-01-23  Kenichi Handa  <handa@m17n.org>
7824         * files.el (insert-directory): Read the output of "ls" by
7825         no-conversion, and decode it later while preserving
7826         `dired-filename' property.
7828 2003-01-23  Markus Rost  <rost@math.ohio-state.edu>
7830         * descr-text.el (describe-text-mode-hook): Add a group.
7832 2003-01-23  John Paul Wallington  <jpw@shootybangbang.com>
7834         * term/mac-win.el (interprogram-paste-function): Handle empty
7835         clipboard.
7837 2003-01-22  Aubrey Jaffer  <agj@alum.mit.edu>  (tiny change)
7839         * info.el (Info-index): Change pattern so that index entries with
7840         colons can be read properly; also, require at least one space
7841         after the colons, which makeinfo puts in.
7843 2003-01-22  Andreas Schwab  <schwab@suse.de>
7845         * jka-compr.el (jka-compr-insert-file-contents): Fix typo in last
7846         change.
7848 2003-01-22  Markus Rost  <rost@math.ohio-state.edu>
7850         * Makefile.in (bootstrap-after): New target.
7851         (bootstrap): Move finder-data, custom-deps to bootstrap-after.
7853 2003-01-22  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
7855         * info.el (Info-index-next): Use "(`,' tries to find next)" for
7856         more matches for consistency with standalone info browser.
7858 2003-01-22  Kenichi Handa  <handa@m17n.org>
7860         * international/mule.el
7861         (decode-coding-region-as-inserted-from-file): New function.
7863         * jka-compr.el (jka-compr-insert-file-contents): Read a process
7864         output without decoding.  Decode the result by
7865         decode-coding-region-as-inserted-from-file.
7867 2003-01-22  Kim F. Storm  <storm@cua.dk>
7869         * ido.el (ido-make-file-list, ido-make-dir-list): Don't move
7870         visited directories to end of list; it's the wrong thing to do if
7871         we want to find a file or directory in such directories.
7873         * simple.el: Doc fixes.
7874         * subr.el: Doc fixes.
7876 2003-01-20  Nick Roberts  <nick@nick.uklinux.net>
7878         * gud.el (gud-display-line): If the current file is newer than its
7879         buffer, offer to reread the file.
7880         (gud-keep-buffer): New buffer local variable. Ensures offer to
7881         reread file is made just once.
7883 2003-01-20  Stefan Monnier  <monnier@cs.yale.edu>
7885         * emacs-lisp/regexp-opt.el (regexp-opt-group): Undo last change.
7886         Fix the docstring instead.
7888 2003-01-20  Glenn Morris  <gmorris@ast.cam.ac.uk>
7890         * calendar/calendar.el (calendar-only-one-frame-setup): Autoload it.
7892 2003-01-20  Richard M. Stallman  <rms@gnu.org>
7894         * simple.el (completion-setup-function): Set default-directory
7895         in the minibuffer, so it'll be copied into the completion list buffer.
7897         * emacs-lisp/regexp-opt.el (regexp-opt-group): Compute HALF2 properly.
7899         * loadup.el (load-path): Rename `path' local var.
7901         * progmodes/octave-mod.el (octave-mode-map): Change C-c i bindings
7902         to C-c C-i.  Duplicate its bindings with last char a ctl char.
7903         Also change C-c f to C-c C-f.
7905 2003-01-20  Markus Rost  <rost@math.ohio-state.edu>
7907         * ls-lisp.el (ls-lisp-use-insert-directory-program): Make default
7908         value system dependent.
7909         (ls-lisp-support-shell-wildcards): Add autoload cookie.
7911 2003-01-19  Kim F. Storm  <storm@cua.dk>
7913         * msb.el: Use `dir' instead of `path' everywhere.
7915 2003-01-18  Kim F. Storm  <storm@cua.dk>
7917         * simple.el (kill-new, kill-append, kill-region):
7918         New optional parameter yank-handler.
7919         (yank-excluded-properties): Add yank-handler to list.
7920         (yank-undo-function): New variable.
7921         (yank): Use it to undo previous yank or yank-pop command.
7922         Allow insert-for-yank to override this-command.
7924         * subr.el (insert-for-yank): Arg list changed; now only accepts one
7925         string rather than any number of strings; no callers needed change.
7926         Use yank-handler text property on the arg string.
7927         Set yank-undo-function variable appropriately for yank-pop.
7929 2003-01-18  Stefan Monnier  <monnier@cs.yale.edu>
7931         * textmodes/fill.el (fill-comment-paragraph): Fix simplistic
7932         regexp-concatenation.
7934         * add-log.el (add-change-log-entry): Don't leave space at eol.
7935         (add-log-current-defun): Perl functions names can't have (or {.
7937         * progmodes/sh-script.el (sh-indent-line): Use indent-line-to.
7938         (sh-non-closing-paren): New const.
7939         (sh-case, sh-while-getopts): Use it to make props non-sticky.
7940         (sh-add-completer): Use test-completion.
7942 2003-01-18  Vasily Korytov  <deskpot@myrealbox.com>  (tiny change)
7944         * progmodes/cperl-mode.el: Don't make faces depend on window-system.
7946 2003-01-18  Markus Rost  <rost@math.ohio-state.edu>
7948         * cus-edit.el (customize-changed-options): Undo last doc change.
7950 2003-01-17  Stefan Monnier  <monnier@cs.yale.edu>
7952         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
7953         Don't treat \n specially in sub-skeletons.
7955 2003-01-17  Dave Love  <fx@gnu.org>
7957         * international/ucs-tables.el: Redo 8859-6 change in the right place.
7959 2003-01-17  Kenichi Handa  <handa@m17n.org>
7961         * international/fontset.el: Don't setup the default fontset and
7962         font-encoding-alist at the top level.
7963         (setup-default-fontset): New function.
7964         (create-fontset-from-fontset-spec): Delete autoload cookie.
7966         * term/x-win.el: Require fontset unconditionally again.
7967         Call setup-default-fontset at the top level.
7969         * term/w32-win.el: Call setup-default-fontset.
7971         * term/mac-win.el: Require fontset and call setup-default-fontset.
7973 2003-01-16  Stefan Monnier  <monnier@cs.yale.edu>
7975         * textmodes/fill.el (fill-region-as-paragraph): Only erase `hard'
7976         property until end-of-paragraph.
7978 2003-01-16  Kenichi Handa  <handa@m17n.org>
7980         * international/ucs-tables.el: Undo the last change.
7982 2003-01-15  Dave Love  <fx@gnu.org>
7984         * thingatpt.el (thing-at-point-file-name-chars): Include non-ASCII
7985         and use documented treatment of -.
7987         * dired-x.el (dired-filename-at-point): Fix filename-chars.
7989         * international/ucs-tables.el: Set up tables for 8859-6.
7991         * server.el (server-window): Customize.
7992         (server-mode): New.
7993         (server-unload-hook): Call server-start.
7995 2003-01-15  John Wiegley  <johnw@gnu.org>
7997         * eshell/em-hist.el (eshell-save-history-on-exit):
7998         Rename `eshell-ask-to-save-history' to `eshell-save-history-on-exit',
7999         because the former name is somewhat unrelated to the variables'
8000         possible values.
8002 2003-01-15  Deepak Goel  <deego@gnufans.org>
8004         * calc/README: Add new maintainer.
8006         * calc/*: Ditto.
8008         * calc/calc.el (calc-bug-address): Change address to deego@gnufans.org.
8010 2003-01-15  Andrew Innes  <andrewi@gnu.org>
8012         * makefile.w32-in (loaddefs.el): Invoke make to build stub file
8013         using appropriate rule for build environment.
8014         (loaddefs.el-SH, loaddefs.el-CMD): New targets.  Include small set
8015         of autoloads and defvars, sufficient to dump bootstrap emacs.
8016         (update-subdirs-SH): Use hard-coded list of top-level lisp
8017         subdirs, because find program on Windows is not compatible with
8018         Unix find.
8019         (compile-CMD, compile-SH): Use `batch-byte-compile-if-not-done'.
8020         Explicitly load loaddefs.el so that bootstrap emacs can compile
8021         properly.
8022         (bootstrap-clean): Add dependency on loaddefs.el, to ensure
8023         minimal stub sufficient for dumping bootstrap emacs is available.
8025         * loadup.el: Include lisp/textmodes in load-path for bootstrap
8026         emacs, to resolve ispell menu reference.
8028 2003-01-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>  (tiny change)
8030         * international/mule.el (optimize-char-coding-system-table):
8031         Optimize it.
8033         * term/mac-win.el: Setup the fontset "fontset-mac" correctly.
8035 2003-01-14  Stefan Monnier  <monnier@cs.yale.edu>
8037         * pcvs-info.el (cvs-fileinfo-from-entries): Deal with Solaris'
8038         occasional use of "05" rather than " 5" for day-of-month.
8040         * log-view.el (log-view-message-re): The rev might be locked.
8042 2003-01-14  Nick Roberts  <nick@nick.uklinux.net>
8044         * gdb-ui.el: Improve commentary.
8045         (gdb-window-height, gdb-window-width, gdb-display-number-end):
8046         Customize the dimensions of frames for displayed expressions.
8047         (gdb-error-begin): Comment out because it is not used because of
8048         bug/quirk in annotations.
8049         (gdb-reset): Use with-current-buffer.
8051 2003-01-14  Kim F. Storm  <storm@cua.dk>
8053         * ido.el (ido-read-internal, ido-file-internal)
8054         (ido-copy-current-file-name, ido-wide-find-dirs-or-files):
8055         Don't use `path' as name of local variables holding a file name.
8057         * arc-mode.el (archive-arc-rename-entry): Fix error message.
8058         (archive-lzh-summarize): Rename local var `path' to `dir'.
8059         (archive-unique-fname) [!MSDOS]: Avoid byte-compiler warning.
8061         * dired.el: Doc fixes.
8062         * dired-aux.el: Rename `whole-path' to `whole-name' throughout.
8063         (dired-mark-read-regexp): Use "Abs." prefix instead of "Path".
8064         * dired-x.el: Doc fixes.
8066         * fast-lock.el (fast-lock-cache-name): Doc fix.
8068         * net/browse-url.el (browse-url-filename-alist): Doc fix.
8070 2003-01-14  John Paul Wallington  <jpw@shootybangbang.com>
8072         * apropos.el (apropos): Restore autoload cookie.  Fix typo in
8073         "error retrieving function documentation" output.
8075 2003-01-14  Kim F. Storm  <storm@cua.dk>
8077         * subr.el (process-put, process-get): New functions.
8079         * simple.el (clone-process): Copy process' plist to new process.
8081 2003-01-13  Markus Rost  <rost@math.ohio-state.edu>
8083         * cus-dep.el (custom-make-dependencies):  Don't set standard-value
8084         and version numbers for variables.  Handle faces.
8086         * cus-edit.el (customize-changed-options):  Doc addition.  Load the
8087         version deps earlier.  Use other tests for groups and variables.
8088         Handle faces.
8090 2003-01-14  Kim F. Storm  <storm@cua.dk>
8092         * ido.el: Doc fixes.
8093         (ido-max-file-prompt-width): Rename from ido-max-prompt-path.
8094         (ido-rewrite-file-prompt-functions): Rename from
8095         ido-make-file-prompt-hook.  Directory name is now in dynamic
8096         variable `dirname' (instead of `path').
8097         (ido-rewrite-file-prompt-rules): Rename from
8098         ido-rewrite-prompt-path-rules.
8099         (ido-make-prompt): Directory name now in `dirname' var.
8100         (ido-complete): Fix error message.
8102 2003-01-13  John Paul Wallington  <jpw@shootybangbang.com>
8104         * server.el (server-process-filter): Use `minibufferp' to test
8105         whether we are inside a minibuffer.
8106         (server-process, server-kill-new-buffers): Doc fixes.
8108 2003-01-13  Dave Love  <fx@gnu.org>
8110         * international/utf-16.el (mule-utf-16-be, mule-utf-16-le):
8111         Remove pre-write-conversion.
8113 2003-01-13  Kim F. Storm  <storm@cua.dk>
8115         * hexl.el (hexl-mode-map): Don't quote remapped command names.
8117 2003-01-13  David Ponce  <david@dponce.com>
8119         * ruler-mode.el (ruler-mode): Cleanup buffer local variable
8120         `header-line-format' if it didn't exist when `ruler-mode' was enabled.
8122 2003-01-13  Masatake YAMATO  <jet@gyve.org>
8124         * ruler-mode.el (ruler-mode-comment-column-char)
8125         (ruler-mode-goal-column-char, ruler-mode-set-goal-column-ding-flag)
8126         (ruler-mode-mouse-current-grab-object): New variables.
8127         (ruler-mode-comment-column-face, ruler-mode-goal-column-face):
8128         New faces.
8129         (ruler-mode-mouse-set-fill-column): Removed.
8130         (ruler-mode-mouse-grab-any-column)
8131         (ruler-mode-mouse-drag-any-column-iteration)
8132         (ruler-mode-mouse-drag-any-column): New functions.
8133         (ruler-mode-map): [header-line down-mouse-2] Bound to
8134         `ruler-mode-mouse-grab-any-column' instead of
8135         `ruler-mode-mouse-set-fill-column'.
8136         (ruler-mode-ruler-help-echo): Update its value.
8137         (ruler-mode-ruler-help-echo-when-goal-column): New help string used
8138         when goal-column is already set.
8139         (ruler-mode-ruler-help-echo-tab): Rename to...
8140         (ruler-mode-ruler-help-echo-when-tab-stops): New.
8141         (ruler-mode-fill-column-help-echo, ruler-mode-comment-column-help-echo)
8142         (ruler-mode-goal-column-help-echo): New help strings.
8143         (ruler-mode-ruler): Use `ruler-mode-ruler-help-echo-when-goal-column'
8144         instead of `ruler-mode-ruler-help-echo' if `goal-column' is set.
8145         Show `comment-column' and `goal-column'.  Echo the different help
8146         string for each *-column characters on the ruler.
8148 2003-01-13  Richard M. Stallman  <rms@gnu.org>
8150         * apropos.el (apropos-documentation-property): New function.
8151         (apropos): Use apropos-documentation-property.
8153         * files.el (mode-line-process): Mark as risky.
8155         * help.el (where-is): Catch errors in indirect-function.
8157         * server.el (server-process-filter): Comment out -eval.
8158         Don't switch buffers if inside isearch or minibuffer.
8160         * progmodes/compile.el (compilation-revert-buffer):
8161         If buffer has a file, revert it in the normal way.
8163         * term/x-win.el: Require fontset conditionally again.
8165 2003-01-13  Kim F. Storm  <storm@cua.dk>
8167         * ido.el (ido-enable-tramp-completion): New defcustom.
8168         (ido-enter-single-matching-directory): Change default to 'slash.
8169         (ido-is-tramp-root): New defun.
8170         (ido-is-root-directory, ido-is-ftp-directory, ido-is-slow-ftp-host)
8171         (ido-may-cache-directory, ido-final-slash, ido-read-internal)
8172         (ido-complete, ido-make-file-list1, ido-make-dir-list1):
8173         Handle tramp completion.
8174         (ido-file-name-all-completions1): New defun for tramp completion.
8175         (ido-file-name-all-completions): Use it.
8176         (ido-set-matches1): Relax matching of text with trailing slash.
8177         (ido-exhibit): Handle tramp completion.
8178         Simplified code using nested cond forms using new `refresh' var.
8179         Fixed handling of /~user/ paths.
8181 2003-01-12  Andreas Schwab  <schwab@suse.de>
8183         * arc-mode.el (archive-mode-map): Use command remapping instead of
8184         substitute-key-definition.
8185         * emerge.el (emerge-setup-fixed-keymaps): Likewise.
8186         * msb.el (msb-mode-map): Likewise.
8187         * forms.el (forms--change-commands): Likewise.
8188         * hexl.el (hexl-mode-map): Likewise.
8189         * mail/mailabbrev.el (Commentary): Likewise.
8190         * play/decipher.el (decipher-mode-map): Likewise.
8191         * play/gomoku.el (gomoku-mode-map): Likewise.
8192         * play/landmark.el (lm-mode-map): Likewise.
8193         * play/solitaire.el (solitaire-mode-map): Likewise.
8194         * progmodes/sh-script.el (sh-mode-map): Likewise.
8195         * textmodes/picture.el (picture-substitute): Likewise.
8197         * ielm.el (inferior-emacs-lisp-mode):
8198         Bind comint-dynamic-complete-functions locally.
8200         * buff-menu.el (Buffer-menu-select): Fix for effect of header line.
8202 2003-01-11  Andreas Schwab  <schwab@suse.de>
8204         * textmodes/sgml-mode.el (sgml-font-lock-keywords-2): Add flag to
8205         merge with existing fontification.
8207 2003-01-11  Nick Roberts  <nick@nick.uklinux.net>
8209         * gud.el (gud-kill-buffer-hook): Save gud-minor-mode type.
8210         (gud-reset): New function. Reset environment at end of debugging.
8211         (gud-sentinel): Call gud-reset or gdb-reset.
8212         (gud-menu-map, gud-tool-bar-map, gdb): Change gud-goto to gud-until.
8214         * gdb-ui.el (gud-display): Use GDB command ptype instead of whatis
8215         to find out if variable shuld be dereferenced.
8216         (gud-display1): Exit if there is `No symbol'.
8217         (gdb-expressions-mode-map): Correction to key-binding.
8218         (gdb-reset): New function. Reset environment at end of debugging.
8219         (gdb-quit): Remove.
8221 2003-01-10  Dave Love  <fx@gnu.org>
8223         * international/code-pages.el (cp-make-coding-system): Fix last change.
8225 2003-01-10  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
8227         * dired.el (dired-garbage-files-regexp): Use \\' instead of $ and
8228         use regexp-opt for readability.
8230 2003-01-10  Mark A. Hershberger  <mah@everybody.org>
8232         * xml.el (xml-parse-tag, xml-parse-attlist, xml-skip-dtd)
8233         (xml-parse-dtd, xml-parse-elem-type): Be more flexible in recognizing
8234         empty elements.
8236 2003-01-10  Luc Teirlinck  <teirllm@mail.auburn.edu>
8238         * progmodes/sh-script.el (sh-set-shell): Make sh-shell-file the default
8239         shell.
8241 2003-01-09  John Wiegley  <johnw@gnu.org>
8243         * pcomplete.el (pcomplete-termination-string): Add a variable
8244         for modifying the string which is inserted after a completion or
8245         expansion using pcomplete.
8247 2003-01-09  Karl Berry  <karl@gnu.org>
8249         * sort.el (sort-regexp-fields): Pass noerror to re-search-forward,
8250         so that we don't fail if no records match record-regexp.
8252 2003-01-09  Markus Rost  <rost@math.ohio-state.edu>
8254         * cus-edit.el (customize-group, customize-group-other-window):
8255         Remove unnecessary calls to custom-load-symbol.
8256         (custom-group-value-create):
8257         Load widget deps if state is not hidden.  If widget deps are
8258         loaded, load them in advance.
8259         (custom-menu-create): If widget deps are loaded, load them earlier.
8261 2003-01-09  John Paul Wallington  <jpw@shootybangbang.com>
8263         * language/ethio-util.el (ethio-gemination)
8264         (exit-ethiopic-environment): Doc fixes.
8266         * language/viet-util.el (viet-encode-viqr-region)
8267         (viet-decode-viqr-region, viet-encode-viqr-buffer)
8268         (viet-decode-viqr-buffer): Doc fixes.
8270 2003-01-09  ShengHuo ZHU  <zsh@cs.rochester.edu>
8272         * paths.el: Remove gnus-startup-file.
8274 2003-01-08  Bill Wohler  <wohler@newt.com>
8276         * mail/mh-alias.el, mail/mh-customize.el, mail/mh-identity.el,
8277         mail/mh-loaddefs.el, toolbar/alias.pbm, toolbar/alias.xpm: Added.
8279         * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el,
8280         mail/mh-index.el, mail/mh-mime.el, mail/mh-pick.el,
8281         mail/mh-seq.el, mail/mh-speed.el, mail/mh-utils.el,
8282         mail/mh-xemacs-compat.el: Upgraded to MH-E version 7.1.
8284 2003-01-08  Kim F. Storm  <storm@cua.dk>
8286         * mail/undigest.el (unforward-rmail-message): Don't use global
8287         variable `n'.
8289 2003-01-08  Francesco Potort\e,Al\e(B  <pot@gnu.org>
8291         * mail/undigest.el (unforward-rmail-message): Simplified.
8292         No functional change.
8294 2003-01-07  Markus Rost  <rost@math.ohio-state.edu>
8296         * custom.el (custom-autoload, custom-variable-p): New functions.
8298         * emacs-lisp/autoload.el (make-autoload):
8299         Generate custom-autoload for autoloaded defcustoms.
8301         * help-fns.el (describe-variable): Use custom-variable-p.
8303         * simple.el (set-variable): Load deps of custom variables without type.
8305         * cus-edit.el (custom-variable-prompt): Doc change.
8306         Use custom-variable-p.
8307         (customize-option): Remove search in loaddefs.el.
8308         (customize-apropos):  Use custom-variable-p.
8309         (custom-save-variables): Use custom-variable-p to detect
8310         non-rogue variables.
8312 2003-01-07  Francesco Potort\e,Al\e(B  <pot@gnu.org>
8314         * mail/undigest.el (unforward-rmail-message): Skip all newlines
8315         after the initial separator.
8316         (unforward-rmail-message): Forwarded-From: and Forwarded-Date:
8317         instead of Forwarded-from: and Forwarded-date:.
8319 2003-01-07  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
8321         * dired.el (dired-garbage-files-regexp): Add `.aux$'.  These are
8322         produced by TeX.
8324 2003-01-07  Andre Spiegel  <spiegel@gnu.org>
8326         * vc-rcs.el (vc-rcs-checkout): Fix the check whether we are on a
8327         branch.
8329 2003-01-06  Dave Love  <fx@gnu.org>
8331         * textmodes/ispell.el (lookup-words): Cope with null lookup-dict.
8333         * language/chinese.el ("Chinese-EUC-TW"): New.
8335 2003-01-06  John Paul Wallington  <jpw@shootybangbang.com>
8337         * mail/rmail.el (rmail-mmdf-delim1, rmail-mmdf-delim2): Doc fixes.
8339 2003-01-05  Richard M. Stallman  <rms@gnu.org>
8341         * obsolete/uncompress.el: Display message that this pkg is obsolete.
8343         * isearch.el (isearch-repeat): Error if try to repeat search and
8344         there was no previous search.
8346         * dired.el (dired-recursive-deletes): Fix custom type.
8348         * dabbrev.el (dabbrev--substitute-expansion):
8349         Convert all whitespace to single spaces,
8350         except when it's carried over from the existing text.
8352         * simple.el (split-line): Clean up implementation.
8354         * mail/rmail.el (rmail-font-lock-keywords): Discard code to match
8355         both cases.
8356         (rmail-variables): Specify case-insensitive matching for font-lock.
8358 2003-01-05  Alexander Pohoyda  <alexander.pohoyda@gmx.net>  (tiny change)
8360         * mail/sendmail.el (mail-font-lock-keywords):
8361         * mail/rmail.el (rmail-font-lock-keywords): Match multiline
8362         In-Reply-To and X-*.
8364 2003-01-05  Mark A. Hershberger  <mah@everybody.org>
8366         * xml.el (xml-substitute-special): Check for &amp last.
8368 2003-01-05  Dave Love  <fx@gnu.org>
8370         * buff-menu.el (Buffer-menu-execute): Fix for effect of header line.
8372 2003-01-05  Dave Love  <fx@gnu.org>
8374         * international/mule-diag.el (non-iso-charset-alist):
8375         Add vietnamese-tcvn.
8377         * international/mule-cmds.el (locale-language-names):
8378         Use Croatian, Swedish.
8380 2003-01-05  Andreas Schwab  <schwab@suse.de>
8382         * buff-menu.el (Buffer-menu-buffer+size): Don't clobber buffer name.
8384 2003-01-05  Dave Love  <fx@gnu.org>
8386         * language/european.el ("Latin-6", "Croatian"): New.
8387         ("Latin-7"): Fix nonascii-translation.  Add input method.
8388         ("Lithuanian", "Latvian"): Add nonascii-translation.
8389         ("German", "Spanish", "Dutch", "Welsh", "Swedish"):
8390         Fix nonascii-translation.
8392         * language/georgian.el ("Georgian"): Fix nonascii-translation.
8394         * international/mule-cmds.el (set-locale-environment):
8395         Ignore empty values of environment variables.
8397         * emacs-lisp/byte-opt.el (byte-optimize-nth)
8398         (byte-optimize-nthcdr): Fix for case of wrong-length forms.
8400 2003-01-04  Nick Roberts  <nick@nick.uklinux.net>
8402         * gdb-ui.el: Acknowledge Tom Lord as author of gdba.el.
8403         Use let construction to bind buffer-read-only to nil.
8404         (gdba): 'set height 0' in GDB.
8405         (gdb-display-end, gdb-frame-handler): Corrections to forming
8406         full expression name for header-line in display frame.
8407         (gdb-info-breakpoints-custom): Highlight breakpoints since
8408         they may be clicked on with mouse-2.
8409         (gdb-quit): Delete frames of displayed expressions when quitting.
8410         (gdb-delete-frames): New function.
8411         (gdb-source-info): Don't create stack buffer automatically.
8413 2003-01-04  Thien-Thi Nguyen  <ttn@gnu.org>
8415         * xml.el (xml-substitute-special): Move "&amp;" -> "&" last.
8417 2003-01-04  Kim F. Storm  <storm@cua.dk>
8419         * simple.el (split-line): If present, copy fill-prefix from
8420         current line to new line.  Don't copy if prefix arg.
8421         From Lisp, arg may be an alternative prefix string to copy.
8422         Inspired by Ehud Karni <ehud@unix.mvs.co.il>.
8424         * mail/sendmail.el (mail-split-line): New function.
8425         (mail-mode-map): Remap split-line to mail-split-line.
8427 2003-01-03  Dave Love  <fx@gnu.org>
8429         * emacs-lisp/find-func.el (find-variable-noselect): Make it work
8430         with new load-history format.
8432         * international/mule-cmds.el (sort-coding-systems):
8433         Adjust priority of utf-16 and x-ctext.
8435         * international/utf-8.el (utf-translate-cjk):
8436         Call optimize-char-coding-system-table.
8438         * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
8439         Call optimize-char-coding-system-table.
8441         * international/mule.el (register-char-codings): Don't call
8442         optimize-char-coding-system-table here.
8443         (keyboard-coding-system): Doc fix.  Update :version.
8445         * textmodes/nroff-mode.el (nroff-mode-hook): Customize.
8446         (nroff-imenu-expression): New.
8447         (nroff-mode): Use it.
8449         * autoinsert.el (auto-insert-alist): Add man page skeleton.
8451 2003-01-03  Andre Spiegel  <spiegel@gnu.org>
8453         * vc-rcs.el (vc-rcs-revert): Unlock only if the user does have
8454         the lock.
8456 2003-01-03  Kim F. Storm  <storm@cua.dk>
8458         * emulation/cua-base.el (cua--pre-command-handler):
8459         Corrected handling of delete-selection properties.
8461 2003-01-03  John Paul Wallington  <jpw@shootybangbang.com>
8463         * emacs-lisp/eldoc.el (eldoc-get-var-docstring): Only return a
8464         documentation string when `sym' is non-nil.
8466 2003-01-02  Steven Tamm  <steventamm@mac.com>
8468         * scroll-bar.el (toggle-scroll-bar, scroll-bar-mode):
8469         Have scroll bars correctly default to being on the right for Mac
8470         Carbon port by testing "mac-carbon" feature, not window-system.
8472 2003-01-02  Markus Rost  <rost@math.ohio-state.edu>
8474         * cus-edit.el (customize-group, customize-group-other-window):
8475         Call custom-load-symbol unconditionally.
8476         (customize-face, customize-face-other-window): Fix format arg.
8478 2003-01-02  John Paul Wallington  <jpw@shootybangbang.com>
8480         * menu-bar.el (menu-bar-left-scroll-bar): Set `scroll-bar-mode'
8481         to `left'.
8483 2003-01-01  Richard M. Stallman  <rms@gnu.org>
8485         * mail/rmail.el (rmail-reply): Don't call mail-strip-quoted-names.
8487         * files.el (backup-buffer): Cope if file-modes returns nil.
8489 2002-12-30  Steven Tamm  <steventamm@mac.com>
8491         * scroll-bar.el (toggle-scroll-bar, scroll-bar-mode):
8492         Have scroll bars correctly default to being on the right for Mac
8493         Carbon port
8495 2002-12-29  Nick Roberts  <nick@nick.uklinux.net>
8497         * gdb-ui.el (gdb-delete-display): Rename (gdb-delete-expression).
8498         (gdb-goto-bp-this-line): Rename (gdb-goto-breakpoint).
8499         (gdb-toggle-bp-this-line): Rename (gdb-toggle-breakpoint).
8500         (gdb-delete-bp-this-line): Rename (gdb-delete-breakpoint).
8501         (gdb-toggle-disp-this-line): Rename (gdb-toggle-display).
8502         (gdb-delete-disp-this-line): Rename (gdb-delete-display).
8503         (gud-gdba-marker-filter): Remove unnecessary save-match-data.
8504         (gdb-mouse-goto-breakpoint, gdb-frames-select): New functions.
8505         (gdb-frames-mouse-select): Simplify.
8506         Make keybindings (gdb-goto-breakpoint, gdb-frames-select, etc)
8507         consistent with other modes in emacs.
8508         (gdb-display-source-buffer): Return window of source buffer
8509         for (gud-display-line).
8511 2002-12-29  Markus Rost  <rost@math.ohio-state.edu>
8513         * button.el (defface button): Add group.
8515         * cus-edit.el (customize-browse): Call `widget-setup'.
8517 2002-12-29  Andreas Schwab  <schwab@suse.de>
8519         * Makefile.in: Generate cus-load.el and finder-inf.el in the
8520         source directory.  Change dependencies on lisp files to explicitly
8521         use $(lisp).
8522         (compile-calc): Fix command substitution.
8523         * cus-dep.el (generated-custom-dependencies-file): New variable.
8524         (custom-make-dependencies): Use it instead of hardcoding cus-load.el.
8525         * finder.el (generated-finder-keywords-file): New variable.
8526         (finder-compile-keywords): Use it instead of hardcoding finder-inf.el.
8528 2002-12-28  Richard M. Stallman  <rms@gnu.org>
8530         * info-look.el (info-lookup): Fix error message typo.
8532         * comint.el (comint-mode): Locally set scroll-conservatively.
8533         (comint-postoutput-scroll-to-bottom): comint-scroll-show-maximum-output
8534         is active only when point is at end.
8536         * dired.el (dired-goto-file): Handle \ and ^M quoted by backslash.
8537         Fix error message.
8539         * files.el (find-file-noselect-1): Kill local value of `cursor-type'.
8541         * simple.el (repeat-complex-command): Signal real error on failure.
8543 2002-12-28  Andreas Schwab  <schwab@suse.de>
8545         * progmodes/make-mode.el (makefile-font-lock-keywords):
8546         Highlight automatic variable references enclosed in parens and
8547         optionally suffixed by F or D.
8549 2002-12-27  Miles Bader  <miles@gnu.org>
8551         * info.el (Info-complete-menu-item): Make `Info-complete-cache' a
8552         buffer-local variable.
8554 2002-12-26  Markus Rost  <rost@math.ohio-state.edu>
8556         * cus-edit.el (customize-group-other-window): Use pop-to-buffer in
8557         the same way as `custom-buffer-create-other-window'.
8558         (customize-variable-other-window, customize-option-other-window):
8559         Definitions moved up.
8561 2002-12-26  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
8563         * net/tramp*.el: Sync with upstream version 2.0.28.  Bugfixes.
8564         * net/tramp-ftp.el: Glue code with Ange-FTP, broken out of
8565         tramp.el.  From Michael Albinus.
8566         * net/tramp-smb.el: New file for using smbclient to access
8567         Windows shares with Tramp.  From Michael Albinus.
8569 2002-12-26  Andreas Schwab  <schwab@suse.de>
8571         * international/mule-cmds.el (select-safe-coding-system): Fix typo.
8573 2002-12-26  Andre Spiegel  <spiegel@gnu.org>
8575         * vc.el (vc-next-action-on-file): Use t argument to vc-checkout in
8576         order to get the latest version on the current branch.
8577         Update documentation of vc-BACKEND-checkout to explain this.
8579         * vc-rcs.el (vc-rcs-checkout): Handle t argument for REV.
8580         (vc-rcs-checkin): By default, specify the current workfile
8581         branch as the check-in revision.
8583         * vc-cvs.el (vc-cvs-checkout): Handle t argument for REV.
8585         * vc-sccs.el (vc-sccs-checkout): Likewise.
8587 2002-12-26  Nick Roberts  <nick@nick.uklinux.net>
8589         * gdb-ui.el (gdb-info-display-custom): Ensure that frames/buffers
8590         of displayed expressions are deleted when the displayed expressions
8591         are deleted.
8592         (gdb-delete-disp-this-line, gdb-delete-display): Frame/buffer
8593         deletion is handled by gdb-info-display-custom now.
8594         (gdb-source-info): Undo earlier change (do create display buffer
8595         automatically).
8597 2002-12-25  Markus Rost  <rost@math.ohio-state.edu>
8599         * cus-edit.el (custom-save-faces): Fix typo.
8601 2002-12-23  Francesco Potort\e,Al\e(B  <pot@gnu.org>
8603         * mail/undigest.el (unforward-rmail-message): Do not assume that
8604         the forwarded message's Date: header comes after From:.  Use a
8605         Forwarded-from: rather than a Forwarded-by: header.  Add a
8606         Forwarded-date: header.
8608 2002-12-23  Nick Roberts  <nick@nick.uklinux.net>
8610         * gdb-ui.el (gdb-display-number-end): Make auto-display of
8611         expressions in GDB work on text-only terminals.
8612         (gdb-post-prompt): Compute current frame properly.
8613         (gdb-get-current-frame, gdb-frame-handler): New functions.
8614         (gdb-source-info): Move last statement into if clause.
8615         Tidy, improve documentation.
8617 2002-12-23  Richard M. Stallman  <rms@gnu.org>
8619         * emacs-lisp/checkdoc.el: Don't define a name for the minor mode menu.
8621         * emacs-lisp/easymenu.el (easy-menu-do-define): Handle nil for SYMBOL.
8622         (easy-menu-define): Doc fix, say SYMBOL can be nil.
8624         * window.el (save-selected-window): Save and restore
8625         selected windows of all frames.
8627         * cus-start.el (scroll-up-aggressively, scroll-down-aggressively):
8628         Update custom types.
8630 2002-12-23  Alex Schroeder  <alex@emacswiki.org>
8632         Merging Dave Love <fx@gnu.org>'s custom_themes branch containing
8633         Alex Schroeder's adaptation of Jan Vroonhof
8634         <vroonhof@math.ethz.ch>'s code.  Doc strings corrected by RMS.
8636         * cus-edit.el (customize-save-variable): Take themes into account.
8637         (custom-variable-save): Take themes into account.
8638         (custom-variable-reset-saved): Add comment-widget.
8639         (custom-variable-reset-standard): Add comment-widget.
8640         (custom-variable-reset-standard): Take themes into account.
8641         (custom-face-save): Take themes into account.
8642         (custom-face-reset-standard): Take themes into account.
8643         (custom-save-variables): Take themes into account.
8644         (custom-save-faces): Take themes into account.
8645         (custom-save-resets): New function.
8646         (custom-save-loaded-themes): New function.
8647         (customize-save-customized): Take themes into account.
8649         * cus-face.el (custom-set-faces): Call custom-theme-set-faces.
8650         (custom-theme-set-faces): New function.
8651         (custom-theme-face-value): New function.
8652         (custom-theme-reset-internal-face): New function.
8653         (custom-theme-reset-faces): New function.
8654         (custom-reset-faces): New function.
8656         * custom.el (custom-known-themes): New variable.
8657         (custom-declare-theme): New function.
8658         (deftheme): New macro.
8659         (custom-make-theme-feature): New function.
8660         (custom-theme-p): New function.
8661         (custom-check-theme): New function.
8662         (custom-push-theme): New function.
8663         (custom-theme-set-variables): Take themes into account.
8664         (custom-loaded-themes): New variable.
8665         (custom-theme-loaded-p): New function.
8666         (provide-theme): New function.
8667         (require-theme): New function.
8668         (custom-remove-theme): New function.
8669         (custom-do-theme-reset): New function.
8670         (custom-theme-load-themes): New function.
8671         (custom-load-themes): New function.
8672         (custom-theme-value): New function.
8673         (custom-theme-variable-value): New function.
8674         (custom-theme-reset-internal): New function.
8675         (custom-theme-reset-variables): New function.
8676         (custom-reset-variables): New function.
8678         * cus-theme.el: New file.
8680 2002-12-23  Matthew Swift  <swift@alum.mit.edu>
8682         * emacs-lisp/rx.el (rx-and): Generate a shy group.
8683         Specify `no-group' when calling rx-to-string.
8684         (rx-submatch): Specify `no-group' when calling rx-to-string.
8685         (rx-kleene): Use rx-atomic-p to decide whether to make a group.
8686         (rx-atomic-p): New function.
8688 2002-12-23  Kevin Ryde  <user42@zip.com.au>
8690         * info-look.el (info-lookup): For ease of use try item
8691         case-insensitive if not found case-sensitive.
8692         Do case sensitive search in index nodes, so items differing only in
8693         case go correctly to their respective nodes.
8695 2002-12-22  Richard M. Stallman  <rms@gnu.org>
8697         * subr.el (add-to-invisibility-spec): If it was t, start it out at (t).
8699         * textmodes/texinfmt.el (tex-start-of-header, tex-end-of-header):
8700         Add defvars.
8702         * textmodes/tex-mode.el (tex-print): Call shell-quote-argument
8703         on the file name.
8705         * textmodes/outline.el (outline-next-visible-heading):
8706         When going forward, test outline-invisible-p at start of header.
8708 2002-12-22  Kevin Ryde  <user42@zip.com.au>
8710         * textmodes/makeinfo.el (makeinfo-buffer): Display result using
8711         Info-mode.
8712         (makeinfo-compilation-sentinel-buffer, makeinfo-current-node):
8713         New functions.
8714         (makeinfo-compile): Add a sentinel parameter.
8715         (makeinfo-compilation-sentinel-region): Renamed from
8716         makeinfo-compilation-sentinel, and makeinfo-temp-file now never nil.
8717         (makeinfo-region): Use this.
8718         * info.el (Info-revert-find-node): New function.
8720 2002-12-22  Nick Roberts  <nick@nick.uklinux.net>
8722         * tooltip.el (tooltip-gud-tips): Output tooltip without switching
8723         process filter (gdba in gdb-ui.el only).
8724         (gdb-tooltip-print): New function.
8725         (tooltip-gud-process-output): Undo previous change.
8726         (tooltip-strip-annotations): Remove.
8728 2002-12-22  Zoltan Kemenczy  <zoltan@ieee.org>
8730         * gud.el (gud-menu-map): Add jdb support for "run".
8731         (gud-jdb-find-source-using-classpath): Use 'identity.
8732         (gud-jdb-marker-filter): Marker regexp and filename filtering
8733         change to support a backwards-incompatible change in Sun's jdb
8734         line number display in SDK versions 1.4.
8735         (gud-format-command): gud-find-class now requires two
8736         parameters (file and linenumber).
8737         (gud-find-class): Bulk of the change related to using c-syntactic
8738         symbols to locate nested class declarations in java sources
8739         visited by java-mode (cc-mode).
8741 2002-12-21  Nick Roberts  <nick@nick.uklinux.net>
8743         * gdb-ui.el: Remove the concept of an instance. This means that
8744         a lot of functions have been renamed. Accessors are prefixed with
8745         gdb-get, setters with gdb-set and the word instance has been
8746         removed from many function and variable names.
8747         (gdb-display-buffer): Protect source buffer as well
8748         as GUD buffer when requesting new buffers.
8749         (gdb-source-info): Two changes : Don't create display buffer
8750         automatically, compute source window correctly.
8752 2002-12-21  Richard M. Stallman  <rms@gnu.org>
8754         * man.el (Man-getpage-in-background): Put GROFF_NO_SGR in env.
8756         * ls-lisp.el (original-insert-directory): Make this a variable,
8757         don't set its function definition.
8758         (insert-directory): Use funcall to call that function.
8760         * bindings.el (help-echo): Change tooltip string.
8762         * chistory.el (command-history-map): Move definition up.
8764         * faces.el (help-xref-stack): Add defvar to avoid warning.
8766 2002-12-21  Andreas Schwab  <schwab@suse.de>
8768         * dired.el (dired-insert-directory): Preserve text properties
8769         when quoting.
8771 2002-12-20  Francesco Potort\e,Al\e(B  <pot@gnu.org>
8773         * mail/undigest.el (rmail-mail-separator): Renamed from
8774         rmail-digest-mail-separator.  All users changed.
8775         (unforward-rmail-message): Rewritten to be more robust and to
8776         additionally account for the common style of forwarding messages
8777         by citing them entirely with headers.
8779 2002-12-18  Dave Love  <fx@gnu.org>
8781         * international/utf-8-subst.el: Deleted.
8783         * international/ucs-tables.el (ucs-fragment-8859): Don't modify
8784         char-coding-system-table elements destructively.
8785         Use optimize-char-coding-system-table.
8787         * international/mule.el (optimize-char-coding-system-table): New.
8788         (register-char-codings): Use it.
8790         * international/utf-8.el (ucs-mule-cjk-to-unicode)
8791         (ucs-unicode-to-mule-cjk): Revert last change.
8792         (utf-subst-table-for-encode): Initially use ucs-mule-cjk-to-unicode.
8793         (utf-subst-table-for-decode): Initially use ucs-unicode-to-mule-cjk.
8794         (utf-fragment-on-decoding, utf-translate-cjk): Don't modify
8795         char-coding-system-table elements destructively.
8796         (utf-translate-cjk): Set ucs-mule-cjk-to-unicode,
8797         ucs-unicode-to-mule-cjk to new hash tables with realistic parameters.
8799 2002-12-18  John Paul Wallington  <jpw@shootybangbang.com>
8801         * info.el (Info-dir-remove-duplicates): Avoid infloop when
8802         deleting last entry.
8804 2002-12-17  Nick Roberts  <nick@nick.uklinux.net>
8806         * gdb-ui.el (gdba-marker-filter, gdb-output-burst): Merge and
8807         rename gud-gdba-marker-filter.
8808         (gdb-append-to-inferior-io): Only pop up IO buffer if there is output.
8809         (gdb-make-instance): Remove (put into gdba).
8810         Use gdb-instance-enqueue-input instead of
8811         gdb-instance-enqueue-idle-input for user functions.
8812         (gdb-instance-target-string): Simplify.
8813         (in-gdb-instance-context): Remove.
8814         Expand Commentary.
8816 2002-12-17  Kenichi Handa  <handa@m17n.org>
8818         * international/mule.el (set-file-name-coding-system): New function.
8820         * international/mule-cmds.el (mule-keymap, set-coding-system-map):
8821         Add bindings for set-file-name-coding-system.
8823 2002-12-17  Kenichi Handa  <handa@m17n.org>
8825         * international/mule-cmds.el (universal-coding-system-argument):
8826         Bind coding-system-require-warning to t.
8827         (select-safe-coding-system): Handle t in the arg
8828         DEFAULT-CODING-SYSTEM specially.  Use read-coding-system to read a
8829         coding-system to allow users to specify unsafe coding system on
8830         their risk.
8832 2002-12-16  Francesco Potort\e,Al\e(B  <pot@gnu.org>
8834         * mail/undigest.el (rmail-digest-methods)
8835         (rmail-digest-mail-separator): New variables.
8836         (rmail-digest-parse-mime, rmail-digest-parse-rfc1153strict)
8837         (rmail-digest-parse-rfc1153sloppy, rmail-digest-rfc1153)
8838         (rmail-digest-parse-rfc934): New functions.
8839         (undigestify-rmail-message): Completely rewritten.
8841 2002-12-16  Kim F. Storm  <storm@cua.dk>
8843         * ido.el (ido-read-file-name): Remove debug message.
8845 2002-12-16  Daniel Pfeiffer  <occitan@esperanto.org>
8847         * buff-menu.el (Buffer-menu, Buffer-menu-use-header-line)
8848         (Buffer-menu-buffer-face, Buffer-menu-buffer+size-width)
8849         (Buffer-menu-mode-width): New customization.
8850         (Buffer-menu-sort-column): New var.
8851         (Buffer-menu-no-header): New function for not changing header line and
8852         recognizing swapped M&R columns, used by modifying commands in Buffer
8853         Menu.
8854         (Buffer-menu-buffer+size): New function for variable width buffer name.
8855         (list-buffers-noselect): Rewritten for nicer menu.
8857 2002-12-16  Markus Rost  <rost@math.ohio-state.edu>
8859         * filesets.el (filesets-build-menu-now): Don't clear messages.
8861         * allout.el: Avoid name conflicts with outline.el.
8862         Replace globally string "outline-" with string "allout-".
8863         Replaced 1446 occurrences; there was no string "allout-" before the
8864         change and there seems to be no dependency on outline.el.
8865         Put `quotes' around many function and variable names.
8866         Doc changes to adjust to the change to prefix "allout-".
8867         Don't provide `outline'.  Use " Allout" as mode line string,
8868         not " Outl".  Put group `allout' in group `editing'.
8869         Update Copyright notice.  Autoload `allout-init'.
8870         (allout-init): Give report also in case auto-activation was inhibited.
8871         (my-mark-marker): Test for feature `xemacs' instead of a string parse.
8873 2002-12-16  Stefan Monnier  <monnier@cs.yale.edu>
8875         * xml.el (xml-parse-tag): Allow spaces between / and >.
8877 2002-12-15  David Kastrup  <David.Kastrup@t-online.de>
8879         * emacs-lisp/autoload.el (autoload-ensure-default-file):
8880         Insert missing space in file end comment.
8882 2002-12-15  Simon Josefsson  <jas@extundo.com>
8884         * mail/smtpmail.el (smtpmail-via-smtp): Fall back to
8885         user-mail-address as sender.
8887 2002-12-15  Dave Love  <fx@gnu.org>
8889         * international/mule-cmds.el (standard-keyboard-coding-systems):
8890         Delete.
8891         (set-locale-environment): Don't use it.
8893         * international/utf-8.el (ucs-mule-cjk-to-unicode)
8894         (utf-subst-table-for-encode, ucs-unicode-to-mule-cjk)
8895         (utf-subst-table-for-decode): Specify :size, :rehash-size.
8896         (utf-translate-cjk): :set rewritten to load subst-... files.
8897         Add :set-after.
8898         (ccl-decode-mule-utf-8): Consider CJK translation for r3<#x3400.
8900 2002-12-15  Gustav H\e,Ae\e(Bllberg  <gustav@virtutech.se>  (tiny change)
8902         * progmodes/compile.el (compile-reinitialize-errors): Don't mark the
8903         buffer as modified unless it really is.
8905 2002-12-14  Andreas Schwab  <schwab@suse.de>
8907         * wid-edit.el (widget-move): Don't loop infinitely when there is
8908         no field or button.
8910 2002-12-13  Stefan Monnier  <monnier@cs.yale.edu>
8912         * uniquify.el (uniquify-rationalize-file-buffer-names, rename-buffer)
8913         (uniquify-delay-rationalize-file-buffer-names, kill-buffer-hook):
8914         Undo 2002/09/27 change because kill-buffer-hook is not
8915         permanent-local.
8917         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8918         Optimize the remaining part of for-effect and/or expressions.
8920 2002-12-13  Markus Rost  <rost@math.ohio-state.edu>
8922         * emacs-lisp/easy-mmode.el (define-minor-mode):
8923         Use `custom-current-group'. Pass all groups to the hook.
8924         (easy-mmode-define-global-mode): Use `custom-current-group'.
8926         * international/mule-cmds.el (current-language-environment):
8927         Set type according to `language-info-alist' also here.
8929         * progmodes/compile.el (compilation-menu-map):
8930         Use `kill-compilation' to stop compilation.
8932 2002-12-13  Kenichi Handa  <handa@m17n.org>
8934         * language/european.el (encode-mac-roman): Fix last change.
8936         * language/cyrillic.el (ccl-encode-koi8, ccl-encode-koi8-u)
8937         (ccl-encode-alternativnyj): Fix last change.
8939 2002-12-13  Nick Roberts  <nick@nick.uklinux.net>
8941         * gdb-ui.el: Improve documentation strings.
8942         (gdb-many-windows): Set default value to nil.
8944 2002-12-12  Dave Love  <fx@gnu.org>
8946         * international/subst-big5.el, international/subst-gb2312.el:
8947         * international/subst-jis.el, international/subst-ksc.el: New.
8949         * custom.el (defcustom, custom-set-variables): Doc fix.
8951         * emacs-lisp/bytecomp.el (byte-compile-if): Suppress warnings from
8952         things protected by `(if (fboundp ...' or `(if (boundp ...'.
8954         * emacs-lisp/byte-opt.el (byte-optimize-featurep): New.
8956 2002-12-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
8958         * progmodes/fortran.el (fortran-mode-abbrev-table):
8959         Handle `define-abbrev' with either 5 or 6 arguments.
8961 2002-12-12  Markus Rost  <rost@math.ohio-state.edu>
8963         * international/mule-cmds.el (set-language-info):
8964         Update custom-type of `current-language-environment'.
8965         (current-language-environment): Fix custom type.
8967 2002-12-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
8969         * progmodes/antlr-mode.el (antlr): New URL.
8971 2002-12-10  R. Bernstein  <rocky@panix.com>
8973         * gud.el (bashdb): Prompt now included parenthesis for subshell levels.
8974         Fix erroneous print expression command, and fix typos.
8975         (perldb): Undo previous change in prompt regexp.
8977 2002-12-10  Steven Tamm  <steventamm@mac.com>
8979         * generic-x.el (javascript-generic-mode): Added C style block
8980         comments as used in ECMA-262 standard.
8982 2002-12-10  Kenichi Handa  <handa@m17n.org>
8984         * language/european.el ("Swedish"): Change tutorial file name to
8985         TUTORIAL.sv in this langauge environment..
8987 2002-12-09  John Paul Wallington  <jpw@shootybangbang.com>
8989         * ibuffer.el (ibuffer-mode): If `show-paren-mode' is enabled,
8990         disable it buffer-locally.
8991         (ibuffer-mouse-popup-menu): Use `=' instead of `eq' to compare
8992         `eventpt' and point.
8994         * ibuf-ext.el (ibuffer-remove-duplicates): New function.
8995         (ibuffer-set-filter-groups-by-mode): Use it instead of
8996         `delete-duplicates' so we don't require cl library at runtime.
8997         (ibuffer-insert-filter-group-before): Don't use `position' so we
8998         don't require cl library at runtime.
9000         * chistory.el (command-history-mode): Add interactive spec.
9001         Improve doc string.
9003 2002-12-09  Richard M. Stallman  <rms@gnu.org>
9005         * isearch.el (isearch-no-upper-case-p): \\ only quotes one character.
9007 2002-12-09  Markus Rost  <rost@math.ohio-state.edu>
9009         * mwheel.el (mouse-wheel-scroll-amount): Revert previous change -
9010         customize type 'float is now defined.
9012 2002-12-09  Dave Love  <fx@gnu.org>
9014         * international/code-pages.el (mik, pt154): New coding systems.
9016         * international/ucs-tables.el: Fix properly.
9018 2002-12-09  Andreas Schwab  <schwab@suse.de>
9020         * international/ucs-tables.el: Fix last change.
9022 2002-12-09  Kenichi Handa  <handa@m17n.org>
9024         * international/titdic-cnv.el (titdic-convert): Process the
9025         header part in multibyte mode.
9027 2002-12-08  Dave Love  <fx@gnu.org>
9029         * international/code-pages.el (mule-diag): Move where it's required.
9031         * international/ucs-tables.el: Add latin-jisx0201 characters.
9032         Fix translation-table-for-input for lao, thai, tibetan.
9034 2002-12-08  Andreas Schwab  <schwab@suse.de>
9036         * files.el (insert-directory): Insert free space only when
9037         listing a full directory.
9039 2002-12-08  Nick Roberts  <nick@nick.uklinux.net>
9041         * gdb-ui.el : Remove inappropriate key-bindings.
9042         (gdb-info-breakpoints-custom, gdb-goto-bp-this-line):
9043         Parse correctly when breakpoint has no line number.
9044         (def-gdb-auto-update-handler, gdb-info-locals-handler),
9045         (gdb-display-end): Avoid using insert-buffer.
9046         (gdb-frames-select-by-mouse): Rename gdb-frames-mouse-select.
9048 2002-12-07  Richard M. Stallman  <rms@gnu.org>
9050         * progmodes/compile.el (compilation-enter-directory-regexp-alist)
9051         (compilation-leave-directory-regexp-alist): Match byte compiler output.
9053         * emacs-lisp/cl-macs.el: Add local variable list
9054         to turn off cl-function warnings.
9056         * emacs-lisp/bytecomp.el (byte-compile-eval): Handle (t . SYMBOL)
9057         elements in load-history.
9058         (byte-compile-cl-warn): No cl warnings for cl-defsubst-expand
9059         and cl-struct-setf-expander.
9061         * emacs-lisp/autoload.el (autoload-print-form-outbuf):
9062         New variable.
9063         (autoload-print-form): Use autoload-print-form-outbuf.
9064         (generate-file-autoloads): Bind autoload-print-form-outbuf.
9066         * calendar/calendar.el (calendar-day-name): Move defn down.
9068         * speedbar.el (speedbar-directory-buttons-follow):
9069         Don't use directory-sep-char.
9071 2002-12-06  Masatake YAMATO  <jet@gyve.org>  (tiny change)
9073         * register.el (describe-register-1): Use window-width
9074         to truncate string in a register.  Check whether the string
9075         in a register is an empty string or a sequence of white spaces.
9077 2002-12-07  Andreas Schwab  <schwab@suse.de>
9079         * faces.el (face-font-selection-order)
9080         (face-font-family-alternatives, face-font-registry-alternatives):
9081         Remove period from :tag value.
9083         * cus-edit.el (custom-face-edit-fix-value): Change :reverse-video
9084         to :inverse-video.
9086 2002-12-07  Markus Rost  <rost@math.ohio-state.edu>
9088         * wid-edit.el (define-widget number): Clarify doc and error message.
9089         (define-widget float): New widget.
9091 2002-12-07  Andreas Schwab  <schwab@suse.de>
9093         * eshell/em-ls.el (eshell-ls-product-regexp): Fix typo.
9095         * files.el (find-file-read-args): Reenable wildcard processing
9096         unconditionally.
9098 2002-12-06  Robert J. Chassell  <bob@rattlesnake.com>
9100         * textmodes/texinfmt.el (texinfo-format-scan): Handle new
9101         functions for copyright notice and copying permissions.
9102         (texinfo-copying, texinfo-insertcopying): New functions.
9104 2002-12-03  TAKAHASHI Kaoru  <kaoru@kaisei.org>
9106         * textmodes/texinfmt.el (texinfo-format-ifxml)
9107         (texinfo-format-xml): New function.
9108         (ifxml, ifnotxml): New aliases.
9110 2002-12-06  Dave Love  <fx@gnu.org>
9112         * international/utf-8-subst.el: Revert last change.
9114 2002-12-06  Miles Bader  <miles@gnu.org>
9116         * info.el (Info-insert-dir): Make dir-node-cache variables
9117         buffer-local, so that killing the *info* buffer forces the
9118         dir-node to be rebuilt.
9120 2002-12-06  Markus Rost  <rost@math.ohio-state.edu>
9122         * finder.el (finder-compile-keywords): Don't insert a keyword to
9123         the generated file.
9125 2002-12-05  Andreas Schwab  <schwab@suse.de>
9127         * speedbar.el (speedbar-highlight-face): Fix face spec.
9129 2002-12-05  Stefan Monnier  <monnier@cs.yale.edu>
9131         * gdb-ui.el: Replace uses of (gdb-get-instance-buffer 'gdba) and
9132         gdb-proc with gud-comint-buffer instead.
9133         (gdb-proc): Remove.
9134         (def-gdb-var): Simplify.
9135         (gdb-get-create-instance-buffer): Avoid make-variable-buffer-local.
9136         Set gud-comint-buffer as well as gud-minor-mode and tool-bar-map.
9137         (gdb-goto-bp-this-line): Select the window while doing the goto-line.
9138         (gdb-info-locals-handler): Avoid replace-regexp.
9140         * calendar/calendar.el (facemenu-unlisted-faces): Only update
9141         after facemenu is loaded.
9142         (calendar-font-lock-keywords): Accept non-ASCII month names.
9143         Use regexp-opt.
9145         * gdb-ui.el (gud-gdb-complete-string, gud-gdb-complete-break)
9146         (gud-gdb-complete-list, gud-gdb-complete-in-progress): Remove.
9147         (gdba): Call `gdb' and then make modifications.
9148         Always call gdb-clear-inferior-io rather than just "the first time".
9149         (gud-break, gud-remove): Definitions moved to inside gdba.
9150         (gdb-target-name): Remove.  Use gud-target-name instead.
9151         (gdba-complete-filter, gdba-common-init): Remove.
9152         The changes were integrated into the generic code.
9154         * gud.el: Use match-string.
9155         (gud-menu-map): Re-fix gdb-running to gud-running.
9156         Activate up/down and finish for pdb.
9157         (gud-def): Use backquotes.
9158         (gdb, sdb, dbx, xdb, pdb, jdb, bashdb): Remove redundant menu bindings.
9159         (gud-gdb-complete-in-progress, gud-gdb-complete-string)
9160         (gud-gdb-complete-break, gud-gdb-complete-list):
9161         Rename to gud-gdb-fetch-lines-in-progress, gud-gdb-fetch-lines-string,
9162         gud-gdb-fetch-lines-break and gud-gdb-fetched-lines.
9163         (gud-gdb-fetch-lines-filter): Rename from gud-gdb-complete-filter.
9164         Add a `filter' argument and run it on `string'.
9165         (gud-gdb-run-command-fetch-lines): Use it instead of
9166         gud-gdb-speedbar-stack-filter.  Add a `skip' arg.
9167         Return the fetched lines.
9168         (gud-gdb-complete-command): Use it instead of cooking up
9169         something by hand using gud-gdb-complete-filter.
9170         (gud-gdb-get-stackframe): Use the new calling convention of
9171         gud-gdb-run-command-fetch-lines.
9172         (gud-gdb-fetched-stack-frame-list): Remove.
9173         (gud-gdb-speedbar-stack-filter): Remove.
9174         (gud-jdb-marker-filter): Change RE for easier extraction of submatches.
9175         (gud-bashdb-command-name): Add "--debugger" argument here.
9176         (bashdb): Use default gud-find-file and don't bother with
9177         a massage-args function now that --debugger is make explicit.
9178         (gud-bashdb-massage-args, gud-bashdb-find-file): Remove.
9179         (bashdb): Don't provide.
9180         (gud-target-name): New var.
9181         (gud-common-init): Set it.
9182         Also reset gud-running and gud-last-last-frame.
9184 2002-12-05  Dave Love  <fx@gnu.org>
9186         * international/utf-8-subst.el: Update safe-chars of mule-utf-8,
9187         mule-utf-16-le, mule-utf-16-be.
9189 2002-12-05  Richard M. Stallman  <rms@gnu.org>
9191         * textmodes/outline.el (outline-mode): Doc fix.
9193 2002-12-05  Edward M. Reingold  <reingold@emr.cs.iit.edu>
9195         * calendar/solar.el (solar-atn2): Give correct quadrant for arctan.
9197 2002-12-05  Kenichi Handa  <handa@m17n.org>
9199         * international/titdic-cnv.el (quail-misc-package-ext-info):
9200         Remove duplicate entry for chinese-b5-quick.
9201         (batch-miscdic-convert): Don't try to call miscdic-convert on
9202         files in the directory just following the arg "-dir".
9204 2002-12-04  Stefan Monnier  <monnier@cs.yale.edu>
9206         * gdb-ui.el: Fold top-level `setq's and `define-key's into their
9207         corresponding defvar.
9208         (gdb-inferior-io-mode-map): New var.
9209         Add bindings to it rather than to comint-mode-map.
9210         (gdb-display-number-end): Use dolist.  Remove always-true test.
9211         (gdb-delete-line): Move and simplify.
9212         (gdb-display-end): Don't bother going to beg-of-line since we're there.
9213         (gdb-array-format1): Use dolist.
9214         (gdb-make-windows-menu, gdb-make-frames-menu):
9215         Move to top-level code.  Move the menus to within the GUD menu.
9216         Make the menus only appear in gdba mode.
9218         * gdb-ui.el (gdb-inferior-io-mode-map): Remove (unused).
9219         (gdb-inferior-io-mode): Use define-minor-mode.
9220         (gdb-source-info): Don't burp if there's no source file.
9221         (gdb-inferior-io-interrupt, gdb-inferior-io-quit)
9222         (gdb-inferior-io-stop, gdb-inferior-io-eof)
9223         (gdb-display-breakpoints-buffer, gdb-frame-breakpoints-buffer)
9224         (gdb-display-stack-buffer, gdb-frame-stack-buffer)
9225         (gdb-display-registers-buffer, gdb-frame-registers-buffer)
9226         (gdb-display-locals-buffer, gdb-frame-locals-buffer)
9227         (gdb-display-display-buffer, gdb-frame-display-buffer)
9228         (gdb-display-gdb-buffer, gdb-frame-gdb-buffer)
9229         (gdb-display-assembler-buffer, gdb-frame-assembler-buffer):
9230         Remove the spurious left over arg from the "big reorg".
9232 2002-12-04  Richard M. Stallman  <rms@gnu.org>
9234         * gud.el (gud-menu-map): Update for bashdb.
9235         (perldb): Change prompt regexp.
9236         (gud-bashdb-history, gud-bashdb-massage-args, gud-bashdb-marker-filter)
9237         (gud-bashdb-find-file, gud-bashdb-command-name, bashdb): New.
9239         * progmodes/cc-vars.el: Simply require wid-edit and custom
9240         in eval-when-compile.
9242         * progmodes/cc-menus.el: Don't require imenu.
9244         * progmodes/cc-langs.el: Don't require cl.
9245         (c-delete-duplicates): New function.  Use instead of delete-duplicates.
9247         * progmodes/cc-bytecomp.el (cc-bytecomp-obsolete-var):
9248         Add an else-clause to the if to avoid confused compiler warning.
9250         * tooltip.el (tooltip-gud-tips-p): Undo previous change.
9252 2002-12-03  Stefan Monnier  <monnier@cs.yale.edu>
9254         * gdb-ui.el: Get rid of (quote ..); use match-string and ignore.
9256         * gdb-ui.el (gdba, gdb-starting, gdb-stopped, gdb-quit):
9257         Update gdb-running -> gud-running.
9258         (gdba): Use the default for gud-find-file.
9259         (def-gdb-variable): Remove: fold into def-gdb-var.
9260         (def-gdb-var): Use buffer-local-value and with-current-buffer.
9262         * gud.el (gud-running): Rename from gdb-running.  Update uses.
9263         (gud-tool-bar-map): Use tool-bar-local-item-from-menu rather than
9264         tool-bar-add-item-from-menu to avoid let binding tool-bar-map
9265         which fails if tool-bar.el is loaded in the mean time.
9266         (gud-file-name): New fun.
9267         (gud-find-file): Use it as default value for gud-find-file.
9268         (gud-speedbar-buttons): Discriminate on gud-minor-mode rather than
9269         on gud-find-file.
9270         (gud-gdb-find-file, gud-dbx-file-name, gud-dbx-find-file)
9271         (gud-xdb-file-name, gud-xdb-find-file, gud-perldb-find-file)
9272         (gud-pdb-find-file, gud-jdb-find-file): Remove.
9273         (gud-query-cmdline): Don't stuff the whole cwd in the command.
9274         (gdb, dbx, xdb, perldb, pdb, jdb): Use the default for gud-find-file.
9275         (gud-mipsdbx-massage-args): Remove.
9276         (gud-dbx-command-name): New var.  Do what gud-mipsdbx-massage-args did.
9277         (gud-irixdbx-marker-filter): Use match-string and gud-file-name.
9278         (gud-jdb-command-name): New var.
9279         (gud-common-init): Re-instate RMS code of 11/13.
9281 2002-12-03  Dave Love  <fx@gnu.org>
9283         * international/ucs-tables.el (ucs-unify-8859, ucs-unify-8859)
9284         (ucs-fragment-8859): Don't use set-buffer-major-mode-hook.
9285         (ucs-set-table-for-input): Use optional arg.  Check for null `cs'.
9287 2002-12-03  Andreas Schwab  <schwab@suse.de>
9289         * cus-edit.el (custom-display): Add checkbox for type mac.
9291         * whitespace.el (whitespace-highlight-face): Fix face spec.
9293 2002-12-02  Stefan Monnier  <monnier@cs.yale.edu>
9295         * simple.el (completion-setup-function): Fix last change to use
9296         minibuffer-completing-file-name instead.
9298         * add-log.el (change-log-mode): Set indent-line-function explicitly
9299         to what it was before indent-line-function's default was changed.
9301 2002-12-02  Richard M. Stallman  <rms@gnu.org>
9303         * textmodes/ispell.el (ispell-dict-map): Move specific
9304         dictionary selection into a submenu.
9306         * textmodes/fill.el (fill-indent-to-left-margin): New function.
9307         (fill-newline, fill-region-as-paragraph): Use that.
9309         * simple.el (completion-setup-function):
9310         Handle ffap-read-file-or-url-internal specially like
9311         read-file-name-internal.
9313 2002-12-02  Simon Marshall  <marshals@perth>
9315         * font-lock.el (c++-font-lock-extra-types): Fix previous change.
9317 2002-12-02  Fran\e,Ag\e(Bois Pinard  <pinard@iro.umontreal.ca>
9319         * progmodes/make-mode.el (makefile-font-lock-keywords): Highlight
9320         more make keywords:  defined, endef, override, export, unexport
9321         and vpath.
9323 2002-12-02  Dave Love  <fx@gnu.org>
9325         * autoarg.el (autoarg-kp-mode): Give it a :group.
9327 2002-12-02  Noah Friedman  <friedman@splode.com>
9329         * complete.el (PC-do-completion): Do not add wildcards to pattern
9330         unless filename is non-nil.
9332 2002-12-02  Andreas Schwab  <schwab@suse.de>
9334         * mwheel.el (mouse-wheel-scroll-amount): Fix customize type.
9336         * paren.el (show-paren-mismatch-face): Fix face spec.
9338 2002-11-30  Nick Roberts  <nick@nick.uklinux.net>
9340         * gdb-ui.el (gdb-many-windows): Define as a minor mode.
9341         (toggle-gdb-windows): Remove. (Patch from Stefan Monnier)
9343         * tooltip.el (tooltip-gud-process-output): Handle annotations that
9344         are output with gdba in gdb-ui.el.
9345         (tooltip-strip-annotations): New function.
9347 2002-11-29  Dave Love  <fx@gnu.org>
9349         * autoarg.el (autoarg-mode): Give it a :group.
9351 2002-11-29  Bill Wohler  <wohler@newt.com>
9353         * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el,
9354         mail/mh-mime.el, mail/mh-pick.el, mail/mh-seq.el,
9355         mail/mh-utils.el, mail/mh-xemacs-compat.el: Upgraded to MH-E
9356         version 7.0.
9358         * mail/mh-index.el, mail/mh-speed.el: New files for indexed
9359         searches and speedbar support in MH-E version 7.0.
9361         * toolbar/reply-all.pbm, toolbar/reply-all.xpm,
9362         toolbar/reply-from.pbm, toolbar/reply-from.xpm,
9363         toolbar/reply-to.pbm, toolbar/reply-to.xpm: New toolbar images for
9364         MH-E version 7.0.
9366 2002-11-29  Markus Rost  <rost@math.ohio-state.edu>
9368         * mwheel.el (mouse-wheel-inhibit-click-time): Fix custom type.
9370 2002-11-29  Richard M. Stallman  <rms@gnu.org>
9372         * mail/rmail.el (rmail-convert-to-babyl-format):
9373         Make search for message delimiter case-sensitive.
9375         * simple.el (yank-window-start): New variable.
9376         (yank): Record yank-window-start
9377         (yank-pop): Use yank-window-start.
9379         * info.el (Info-additional-directory-list): Doc fix.
9381         * indent.el (indent-according-to-mode, indent-region): Doc fix.
9383         * tooltip.el (tooltip-gud-tips-p): Doc fix.
9385         * eshell/em-script.el: Require eshell.
9387         * eshell/esh-ext.el, eshell/em-cmpl.el: Require esh-util.
9389 2002-11-29  Kim F. Storm  <storm@cua.dk>
9391         * mwheel.el: Avoid accidental yanking of text while scrolling with
9392         the mouse wheel.  This adds a short period after each mouse wheel
9393         scroll event where a click on the mouse wheel button is ignored.
9394         (mouse-wheel-click-event, mouse-wheel-inhibit-click-time): New customs.
9395         (mouse-wheel-click-button, mwheel-inhibit-click-event-timer): New vars.
9396         (mwheel-inhibit-click-timeout,mwheel-filter-click-events): New defuns.
9397         (mwheel-scroll): Add mwheel-filter-click-events as pre-command-hook.
9398         Start mwheel-inhibit-click-event-timer with timeout handler
9399         mwheel-inhibit-click-timeout.
9401 2002-11-28  Nick Roberts  <nick@nick.uklinux.net>
9403         * tooltip.el (tooltip-gud-tips-setup): Remove.
9404         (tooltip-gud-debugger): Remove.
9405         (tooltip-gud-print-command): Use gud-minor mode instead of
9406         tooltip-gud-tips-setup and tooltip-gud-debugger.
9408         * gdb-ui.el (gdb-starting): Set gdb-running to t.
9409         (gdb-stopped): Set gdb-running to nil.
9410         (gdb-quit): Reset some variables including tool-bar-map.
9412         * gud.el (gdb-running): New variable.
9413         (gud-menu-map): Use gdb-running to grey out toolbar buttons
9414         with gdba in gdb-ui.el.
9415         (gud-tool-bar-map): Move to avoid byte compiler warning.
9417 2002-11-27  Jason Rumney  <jasonr@gnu.org>
9419         * files.el (file-truename): Canonicalize non-existent names on w32.
9421 2002-11-28  Kim F. Storm  <storm@cua.dk>
9423         * ido.el (ido-xemacs): Remove defvar.  All uses changed to
9424         check (featurep 'xemacs) instead.
9425         (ido-visit-buffer): Use select-frame-set-input-focus unconditionally.
9427 2002-11-27  Dave Love  <fx@gnu.org>
9429         * emacs-lisp/cl-macs.el: Move `predicates for analyzing Lisp
9430         forms' block to top (before uses).
9431         (help-fns): Don't require at top level.  (Recursively.)
9432         (cl-transform-lambda): Require help-fns.
9434 2002-11-26  Dave Love  <fx@gnu.org>
9436         * language/european.el (encode-mac-roman): Deal with unencodable
9437         characters.
9439         * language/cyrillic.el (ccl-encode-koi8, ccl-encode-koi8-u)
9440         (ccl-encode-alternativnyj): Deal with unencodable characters.
9442         * international/code-pages.el (cp-make-coding-system): Deal with
9443         unencodable characters.
9445 2002-11-24  Richard M. Stallman  <rms@gnu.org>
9447         * mail/sendmail.el (mail-signature): Handle case where
9448         value of mail-signature is a string.
9450         * menu-bar.el (menu-bar-describe-menu): Add "What's This?" item.
9452         * faces.el (face-set-after-frame-default): Ignore errors
9453         in face-spec-face-set.
9455         * cus-face.el (custom-declare-face): Add face-defface-spec
9456         prop after applying the face spec.
9458 2002-11-23  Nick Roberts  <nick@nick.uklinux.net>
9460         * tooltip.el (tooltip-gud-print-command): Add server prefix to the
9461         print command for gdb to keep it out of the command history.
9463         * gdb-ui.el: Major re-organisation. Simplify legacy gdba
9464         code to allow only one gdb process.
9466 2002-11-23  Markus Rost  <rost@math.ohio-state.edu>
9468         * scroll-all.el (scroll-all-mode): Move arg LIGHTER to the right
9469         place.  Add groups.
9471 2002-11-22  Simon Marshall  <marshals@perth>
9473         * font-lock.el (c++-font-lock-extra-types): Add various STL classes.
9475 2002-11-21  Nick Roberts  <nick@nick.uklinux.net>
9477         * gdb-ui.el : General tidying. Patches from Stefan Monnier.
9479 2002-11-20  Simon Josefsson  <jas@extundo.com>
9481         * play/morse.el (morse-code): Add non-ASCII characters, according
9482         to table at http://www.soton.ac.uk/~scp93ch/morse/.
9484 2002-11-21  Richard M. Stallman  <rms@gnu.org>
9486         * dired.el (dired-sort-inhibit): New variable.
9487         (dired-sort-toggle-or-edit): Err if dired-sort-inhibit non-nil.
9489         * find-dired.el (find-dired): Set dired-sort-inhibit to t
9490         buffer-locally.
9492 2002-11-21  Eugene Exarevsky  <zheka@relex.ru>
9494         * progmodes/sql.el: Added LINTER support.
9495         (sql-linter-program): New variable.
9496         (sql-linter-options): New variable.
9497         (sql-mode-menu): Added Linter keywords.
9498         (sql-mode-linter-font-lock-keywords): New variable.
9499         (sql-highlight-linter-keywords): New function.
9500         (sql-linter): New function.
9501         (sql-ms-options): New variable.
9502         (sql-ms): Use it.
9504 2002-11-21  John Paul Wallington  <jpw@shootybangbang.com>
9506         * ibuffer.el (ibuffer-formats): Change default value; bump width
9507         of size column in first format to 7.
9509 2002-11-20  Stefan Monnier  <monnier@cs.yale.edu>
9511         * help-fns.el (describe-variable): Look for (defvar . <sym>) in the
9512         load-history since `defvar' now uses this format.
9514         * custom.el (custom-declare-variable): Use push.
9515         Use the (defvar . <sym>) format in load-history like `defvar' does.
9517         * subr.el (symbol-file): Accept a non-atomic `function' arg.
9518         (with-local-quit): Add debug and indentation info.
9520 2002-11-20  John Paul Wallington  <jpw@shootybangbang.com>
9522         * subr.el (symbol-file): Remove unused variable `functions'.
9524 2002-11-20  Markus Rost  <rost@math.ohio-state.edu>
9526         * Makefile.in (setwins_almost): Renamed from finder_setwins.
9527         (custom-deps): Use it.
9528         (finder-data): Adjust to that name change.
9530 2002-11-19  Stefan Monnier  <monnier@cs.yale.edu>
9532         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9533         Turn errors into messages so they don't get ignored.
9534         (eldoc-get-fnsym-args-string): Use help-split-fundoc.
9535         (eldoc-beginning-of-sexp): Simplify.
9536         (eldoc-function-arglist): Remove.
9537         (eldoc-function-argstring): Use help-function-arglist instead.
9538         (eldoc-function-argstring-from-docstring-method-table)
9539         (eldoc-function-argstring-from-docstring): Remove.
9541         * emacs-lisp/cl.el (multiple-value-call): Add docstring.
9543 2002-11-19  Dave Love  <fx@gnu.org>
9545         * emacs-lisp/bytecomp.el (maphash, map-char-table):
9546         Use byte-compile-funarg.
9548         * emacs-lisp/byte-opt.el (side-effect-free-fns): Several additions.
9550 2002-11-19  Markus Rost  <rost@math.ohio-state.edu>
9552         * progmodes/vhdl-mode.el (defgroup vhdl-related): Declare the
9553         members here rather than with custom-add-to-group.  This is the
9554         intended way of using defgroup and also lets
9555         custom-make-dependencies do its job.
9556         (defgroup vhdl-highlight-faces): Ditto.
9558         * emacs-lisp/shadow.el (defgroup lisp-shadow): New group name.
9559         Previous group name shadow is used in shadowfile.el.
9560         (shadows-compare-text-p): Use group lisp-shadow.
9562 2002-11-19  Stefan Monnier  <monnier@cs.yale.edu>
9564         * emacs-lisp/cl.el (multiple-value-call): Add docstring.
9566 2002-11-19  Masatake Yamato  <jet@gyve.org>  (tiny change)
9568         * register.el (describe-register-1): Don't assign to val the value
9569         returned by `remove-list-of-text-properties'.
9571 2002-11-18  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@uni-duisburg.de>
9573         * calendar/diary-lib.el (fancy-diary-font-lock-keywords):
9574         Grok month numbers, too.
9576 2002-11-18  Juanma Barranquero  <lektu@terra.es>
9578         * mail/smtpmail.el (smtpmail-send-queued-mail): Add autoload cookie.
9580 2002-11-18  Markus Rost  <rost@math.ohio-state.edu>
9582         * pcvs.el (cvs-minor-mode, cvs-mode-commit-hook): Add group.
9584         * textmodes/refill.el (defgroup refill): New group.
9586         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Add group.
9588         * textmodes/sgml-mode.el (html-autoview-mode): Add group.
9590         * textmodes/paragraphs.el (use-hard-newlines): Add group.
9592         * progmodes/compile.el (compilation-shell-minor-mode): Add group.
9593         (compilation-minor-mode): Add group.
9595         * reveal.el (global-reveal-mode): Add group.
9597         * bookmark.el (bookmark-menu-length): Fix group name.
9599 2002-11-17  Richard M. Stallman  <rms@gnu.org>
9601         * mail/rmail.el (rmail-ignored-headers): Add more headers.
9603         * calendar/parse-time.el (parse-time-elt): Var renamed from `elt'.
9604         (parse-time-val): Var renamed from `val'.  All uses changed.
9606         * files.el (parse-time-rules): Mark it as risky.
9608         * finder.el (finder-commentary): Use buffer *Finder-package*.
9610         * menu-bar.el (menu-bar-options-menu): Improve tooltip string.
9612         * simple.el (indicate-unused-lines)
9613         (default-indicate-unused-lines): New variable aliases.
9615 2002-11-18  Kenichi Handa  <handa@m17n.org>
9617         * progmodes/cc-vars.el: Undo previous change.
9619 2002-11-18  Kenichi Handa  <handa@m17n.org>
9621         * language/cyrillic.el (cyrillic-iso-8bit): Make it safe.
9623         * language/european.el (iso-latin-1): Make it safe.
9624         (iso-latin-2, iso-latin-3, iso-latin-4, iso-latin-5, iso-latin-8)
9625         (iso-latin-9): Likewise.
9627         * language/greek.el (greek-iso-8bit): Make it safe.
9629         * language/hebrew.el (hebrew-iso-8bit): Make it safe.
9631         * language/lao.el (lao): Make it safe.
9633         * language/thai.el (thai-tis620): Make it safe.
9635 2002-11-17  Markus Rost  <rost@math.ohio-state.edu>
9637         * speedbar.el (defgroup speedbar): Use group 'etags instead of
9638         nonexisting group 'tags.
9640         * emacs-lisp/re-builder.el: Add provide call.
9642         * mail/feedmail.el (feedmail-fiddle-headers-upwardly)
9643         (feedmail-fiddle-plex-user-list): Fix typo in group name.
9645         * progmodes/make-mode.el (makefile-space-face): Fix group name.
9647         * textmodes/ispell.el (defgroup ispell): Arrange that definition
9648         starts at beginning of line.
9650         * textmodes/table.el (defgroup table-hooks): New group.
9651         (table-cell-map-hook): Fix typo in group name.
9653         * calendar/diary-lib.el (diary-button-face): Add group and version
9654         number.
9656         * warnings.el (defgroup warnings): New group.
9658 2002-11-16  Markus Rost  <rost@math.ohio-state.edu>
9660         * emacs-lisp/autoload.el (update-autoloads-from-directories):
9661         Sort the list of files with no autoloads.
9663 2002-11-16  Alan Shutko  <ats@acm.org>
9665         * calendar/diary-lib.el (list-diary-entries): Pass a marker
9666         indicating source of entry to add-to-diary-list.
9667         (diary-button-face, diary-entry, diary-goto-entry): New, to
9668         support click to diary file.
9669         (fancy-diary-display): Buttonize diary entries.
9670         (list-sexp-diary-entries): Pass a marker indicating source of
9671         entry to add-to-diary-list.
9672         (diary-date): Return mark as well as entry.
9674         * calendar/calendar.el (diary-face): New.
9675         (european-calendar-display-form, describe-calendar-mode)
9676         (mark-visible-calendar-date, calendar-mark-today): Tidy doc string.
9677         (calendar-make-alist): New.
9678         (calendar-mode): Set up font-lock mode.
9679         (generate-calendar-window): Fontify if font-lock-mode is on.
9681 2002-11-16  Ivan Zakharyaschev  <imz@altlinux.org>  (tiny change)
9683         * international/codepage.el (cp866-decode-table): Fix the
9684         translation table.
9686 2002-11-16  Martin Stjernholm  <bug-cc-mode@gnu.org>
9688         * progmodes/cc-bytecomp.el (cc-bytecomp-defun): Fixed bug that
9689         caused existing function definitions to be overridden by
9690         phonies when the bytecomp environment is restored.
9692 2002-11-15  Nick Roberts  <nick@nick.uklinux.net>
9694         * toolbar/gud-break.pbm, toolbar/gud-cont.pbm, toolbar/gud-display.pbm,
9695         toolbar/gud-down.pbm, toolbar/gud-finish.pbm, toolbar/gud-goto.pbm,
9696         toolbar/gud-next.pbm, toolbar/gud-print.pbm, toolbar/gud-remove.pbm,
9697         toolbar/gud-run.pbm, toolbar/gud-step.pbm, toolbar/gud-up.pbm:
9698         Icons for debugger (pbm files).
9700 2002-11-15  Richard M. Stallman  <rms@gnu.org>
9702         * international/mule.el (set-buffer-file-coding-system): Redo prev chg.
9704 2002-11-15  John Paul Wallington  <jpw@shootybangbang.com>
9706         * ibuffer.el (ibuffer-use-other-window, ibuffer-use-header-line)
9707         (ibuffer-visit-buffer, ibuffer-redisplay, ibuffer-update): Doc fix.
9708         (ibuffer-mode-hooks): Remove spurious defvar.
9709         (ibuffer): Run `ibuffer-hook' instead of `ibuffer-hooks'.
9710         (ibuffer-mode): Run `ibuffer-mode-hook' instead of
9711         `ibuffer-mode-hooks'.
9713 2002-11-15  Markus Rost  <rost@math.ohio-state.edu>
9715         * mail/rmailedit.el: Add provide call.
9717         * play/bruce.el: Add provide call.
9719         * emacs-lisp/gulp.el: Add provide call.
9721 2002-11-14  Richard M. Stallman  <rms@gnu.org>
9723         * international/mule.el (set-buffer-file-coding-system): Undo prv chg.
9725 2002-11-14  Markus Rost  <rost@math.ohio-state.edu>
9727         * custom.el (custom-declare-group): Remove unnecessary line of code.
9729         * cus-dep.el (custom-make-dependencies): Bind load-file-name.
9731 2002-11-14  Edward M. Reingold  <reingold@emr.cs.iit.edu>
9733         * calendar/diary-lib.el (make-diary-entry): Allow for local variables
9734         at end of diary file.
9736 2002-11-14  Kim F. Storm  <storm@cua.dk>
9738         * files.el (mode-name): Mark it as risky-local-variable like the
9739         other mode-line elements (moved from bindings.el).
9741         * bindings.el (mode-name): Moved mark as risky-local-variable to
9742         files.el.
9744 2002-11-14  Juanma Barranquero  <lektu@terra.es>
9746         * gud.el: Fix feature name in `provide'.
9748         * gdb-ui.el: Fix feature name in `require'.
9750 2002-11-14  Per Cederqvist  <ceder@lysator.liu.se>  (tiny change)
9752         * progmodes/etags.el (find-tag-default): Copy text at point without
9753         properties.
9755 2002-11-14  Kenichi Handa  <handa@m17n.org>
9757         * progmodes/cc-vars.el: Don't cc-bytecomp-defun char-table-p.
9759 2002-11-14  Kim F. Storm  <storm@cua.dk>
9761         * textmodes/fill.el (fill-nobreak-invisible): New var.
9762         (fill-nobreak-p): Test it; return t if set and point invisible.
9763         (fill-newline): Test it; remove invisible prop on newline if set.
9765         * info.el (Info-fontify-node): New local list paragraph-markers.
9766         Record markers for mangled *note references on that list.
9767         When done, go back through those markers and fill each mangled
9768         paragraph with `fill-nobreak-invisible' let-bound to t.
9769         Don't use `display' property; insert "see" directly in buffer.
9771 2002-11-14  Nick Roberts  <nick@nick.uklinux.net>
9773         * gdb-ui.el: New file, User Interface for running GDB
9775         * gud.el:(gud-find-file): Set up GDB tool bar.
9776         (gud-menu-map): New commands: run, goto.
9777         Enable some commands for gdba.
9778         (gud-query-cmdline): Pass default directory to gdba.
9779         (gdb): Defune gud-goto and gud-run.
9780         (gud-gdb-complete-command): Maybe use gdba-complete-filter.
9781         (gud-mode): Set up local tool bar.
9782         (gud-display-line): For gdba, call gdb-display-source-buffer.
9783         (gud-basic-call): For gdba, maybe delete the current prompt.
9784         (gud-tool-bar-map): New variable.
9785         (gud-read-address): Correction.
9787         * toolbar/gud-break.xpm, toolbar/gud-cont.xpm, toolbar/gud-display.xpm,
9788         toolbar/gud-down.xpm, toolbar/gud-finish.xpm, toolbar/gud-goto.xpm,
9789         toolbar/gud-next.xpm, toolbar/gud-print.xpm, toolbar/gud-remove.xpm,
9790         toolbar/gud-run.xpm, toolbar/gud-step.xpm, toolbar/gud-up.xpm:
9791         Icons for debugger.
9793 2002-11-13  Stefan Monnier  <monnier@cs.yale.edu>
9795         * pcvs.el (cvs-mode-run): Don't pass "." if not needed.
9797 2002-11-13  Andre Spiegel  <spiegel@gnu.org>
9799         * vc-rcs.el (vc-rcs-registered): Improve comment.
9801         * vc-sccs.el (vc-sccs-registered): Improve comment.
9803 2002-11-13  Tim Van Holder  <tim.vanholder@anubex.com>  (tiny change)
9805         * progmodes/compile.el (compilation-error-regexp-alist):
9806         Don't include colon and space after a file name as part of the name.
9808 2002-11-13  Richard M. Stallman  <rms@gnu.org>
9810         * gud.el (gdb): Undo 10-26 change.
9812 2002-11-13  Kenichi Handa  <handa@m17n.org>
9814         * replace.el (occur-engine): Set buffer-file-coding-system of
9815         OUT-BUF to that of one of BUFFERS if they locally bind that variable.
9817 2002-11-13  Markus Rost  <rost@math.ohio-state.edu>
9819         * custom.el (custom-handle-all-keywords): Fix arg passed to
9820         custom-add-to-group.
9822 2002-11-12  Stefan Monnier  <monnier@cs.yale.edu>
9824         * pcvs-defs.el (cvs-mode-map): Remove M-f binding.
9825         (cvs-minor-mode-map): Add e binding in log-view-mode.
9827         * progmodes/perl-mode.el (perl-hanging-paren-p): New fun.
9828         (perl-indent-line): Look at the open-paren to indent a close-paren.
9829         (perl-calculate-indent): Try to better indent args after hanging paren.
9830         Remove special code for open-paren-in-column-0.
9832         * textmodes/sgml-mode.el (sgml-namify-char): New cmd.
9833         (sgml-name-char): Use it.
9834         (sgml-tag-last, sgml-tag-history): New vars.
9835         (sgml-tag): Use them.
9836         (sgml-skip-tag-forward): Use sgml-tag-syntax-table.
9837         (sgml-delete-tag): Remove resulting empty lines.
9838         (sgml-tag) <symbol-plist>: Don't make intangible.
9839         (sgml-parse-tag-backward): Add limit argument.
9840         (html-autoview-mode): Use define-minor-mode.
9842 2002-11-12  Markus Rost  <rost@math.ohio-state.edu>
9844         * vc-rcs.el (vc-rcs-registered): Handle the autoload cookie so
9845         that the definition is found by `find-function-search-for-symbol'
9846         and etags.
9848         * vc-sccs.el (vc-sccs-registered): Ditto.
9850         * emulation/edt.el (defgroup edt): Arrange that definition starts
9851         at beginning of line.
9853         * ls-lisp.el (defgroup ls-lisp): Remove autoload cookie.
9855         * hi-lock.el (defgroup hi-lock-interactive-text-highlighting):
9856         Remove autoload cookie.
9858         * newcomment.el (defgroup comment): Remove autoload cookie.
9860 2002-11-11  Markus Rost  <rost@math.ohio-state.edu>
9862         * mwheel.el (mouse-wheel-down-button, mouse-wheel-up-button):
9863         Declare with defvar, not with defcustom.
9865         * cus-dep.el: Don't require 'autoload.
9866         (custom-make-dependencies): Handle :version also for autoloaded
9867         options.
9869         * winner.el (defgroup winner): Arrange that definition starts at
9870         beginning of line.
9872         * emulation/edt.el: Simplify Emacs 19 compatibility.
9874 2002-11-11  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>  (tiny change)
9876         * dired-aux.el (dired-show-file-type): Format filename with "%s" to
9877         escape any format-like sequences it could contain.
9879 2002-11-11  Per Abrahamsen  <abraham@dina.kvl.dk>
9881         * cus-edit.el (custom-save-delete): Force emacs-lisp-mode.
9883 2002-11-11  Juanma Barranquero  <lektu@terra.es>
9885         * bindings.el (mode-name): Mark it as risky-local-variable.
9887 2002-11-09  Dave Love  <fx@gnu.org>
9889         * international/mule-cmds.el (current-language-environment):
9890         Fix :type.
9892         * international/ucs-tables.el: Revert to using
9893         translation-table-for-input instead of keyboard-translate-table.
9895         * international/quail.el (quail-input-string-to-events):
9896         Revert last change.
9898         * simple.el (quoted-insert): Bind translation-table-for-input,
9899         not keyboard-translate-table.
9901 2002-11-08  Stefan Monnier  <monnier@cs.yale.edu>
9903         * arc-mode.el (archive-zip-summarize): Don't hardcode (point-min) = 1.
9905         * complete.el (PC-do-completion): Make partial-completion work
9906         with incomplete directory names.
9908         * textmodes/tex-mode.el (latex-standard-block-names): Rename from
9909         standard-latex-block-names.
9910         (tex-font-lock-keywords-1): Add providecommand, renewenvironment,
9911         and renewtheorem.  Highlight \it and \bf separately since they
9912         may overlap.
9913         (tex-font-lock-suscript, tex-font-lock-unfontify-region): New funs.
9914         (tex-font-lock-keywords-3, tex-verbatim-environments)
9915         (tex-font-lock-syntactic-keywords): New vars.
9916         (superscript, subscript, tex-verbatim-face): New faces.
9917         (tex-font-lock-syntactic-face-function): Handle \verb construct.
9918         (tex-common-initialization): Update font-lock-defaults setting.
9919         (tex-insert-braces): Make it into a skeleton.
9920         (latex-fill-nobreak-predicate): Don't break after \.
9921         (latex-insert-block): Rename from tex-latex-block.
9922         (latex-down-list): Use tex-mode-syntax-table when skipping parens
9923         rather than the indentation syntax-table.
9924         (latex-close-block): Rename from tex-close-latex-block.
9925         (latex-split-block): New fun.
9926         (latex-indent): Don't indent inside a verbatim block.
9927         (latex-find-indent): Stick \begin{verbatim} to the margin.
9929 2002-11-08  John Wiegley  <johnw@gnu.org>
9931         * calendar/timeclock.el (timeclock-modeline-display): Use assq as
9932         well as memq to find `global-mode-string' within
9933         `mode-line-format'.  The structure of that variable has changed in
9934         21.3.
9936 2002-11-07  Stefan Monnier  <monnier@cs.yale.edu>
9938         * format.el (format-decode): Be careful with the order in `format'.
9940         * eshell/esh-cmd.el (function-p-func): Avoid `xemacs-p'.
9942         * eshell/em-glob.el: Require esh-util.
9943         (eshell-glob-initialize): Don't assume
9944         eshell-special-chars-outside-quoting is available.
9946         * textmodes/fill.el (fill-paragraph): Consider a comment-start as
9947         a paragraph starter when filling non-comments.
9948         (fill-comment-paragraph): Don't narrow while doing the fill.
9949         Recognize paragraph starters and separators within comments.
9950         Use adaptive-fill-prefix when it works.  Use comment-search-forward.
9952         * progmodes/compile.el (grep-default-command): New fun.
9953         (grep): Use it.
9954         (compilation-menu-map): New var.
9955         (compilation-minor-mode-map, compilation-shell-minor-mode-map): Use it.
9956         (compilation-mode-map): Simplify.
9957         (compilation-shell-minor-mode, compilation-minor-mode):
9958         Use define-minor-mode.
9960         * elide-head.el (elide-head): Don't make intangible.
9962         * help.el (where-is): Rename map to defs (a list of syms is not a map).
9963         Test fboundp first, to speed things up.  Use push.
9965         * isearch.el (isearch-hidden): New var.
9966         (isearch-search-and-update): Test it.
9967         (isearch-range-invisible): Set it.
9969         * progmodes/tcl.el (tcl-mode): Don't set paragraph-start,
9970         paragraph-separate, comment-column, and fill-paragraph-function.
9971         Simplify outline-regexp.
9972         (tcl-do-fill-paragraph): Remove.
9974 2002-11-07  Markus Rost  <rost@math.ohio-state.edu>
9976         * mail/sendmail.el (mail-default-directory): Set the version to 21.4.
9978         * progmodes/compile.el (grep-compute-defaults): Undo previous change.
9979         Definition moved down.
9980         (grep-command, grep-find-command, grep-tree-command): Allow value nil.
9981         Do not declare :get property.
9982         (grep-use-null-device): Fix type.  Do not declare :get property.
9984         * emacs-lisp/checkdoc.el (checkdoc-find-error):
9985         Use get-file-buffer instead of get-buffer.
9987         * cus-dep.el (custom-make-dependencies): Fix comment inserted in
9988         cus-load.el.
9990 2002-11-07  Juanma Barranquero  <lektu@terra.es>
9992         * help.el (where-is): Report also aliases of the passed command.
9994 2002-11-06  Dave Love  <fx@gnu.org>
9996         * simple.el (quoted-insert): Bind keyboard-translate-table around
9997         read-char.
9999         * international/ucs-tables.el: Use keyboard-translate-table coding
10000         system property, not translation-table-for-input, for
10001         vietnamese-viscii & al.
10002         (translation-table-for-input): Set,
10003         don't defvar, and make permanent-local.
10004         (ucs-unify-8859, ucs-unify-8859, ucs-fragment-8859): Add/remove
10005         set-buffer-major-mode-hook, not quail-activate-hook.
10006         (ucs-set-table-for-input): Renamed from ucs-quail-activate.
10007         (ucs-unify-8859, ucs-unify-8859, ucs-fragment-8859):
10008         Setup keyboard-translate-table, not translation-table-for-input.
10009         Modify set-buffer-major-mode-hook, not quail-activate-hook.
10010         (ucs-fragment-8859): Don't use translation-table-for-input coding
10011         system property.
10012         (ucs-quail-activate): Deleted.
10013         (ucs-set-table-for-input): New.
10014         (ucs-minibuffer-setup): Use it.
10016         * international/quail.el (quail-input-string-to-events):
10017         Use keyboard-translate-table, not translation-table-for-input.
10019         * files.el (normal-mode): Call ucs-set-table-for-input.
10021         * international/mule.el (set-buffer-file-coding-system):
10022         Call ucs-set-table-for-input.
10024 2002-11-06  Richard M. Stallman  <rms@gnu.org>
10026         * replace.el (query-replace, query-replace-regexp): Doc fixes.
10028         * emacs-lisp/bytecomp.el (byte-compile-lambda):
10029         Handle progn like let, inside interactive spec.
10031         * textmodes/tex-mode.el (tex-dvi-view-command): Value can be sexp.
10032         Initialize to a suitable sexp.
10033         (tex-view): Evaluate tex-dvi-view-command and use the value.
10035 2002-11-06  Kenichi Handa  <handa@m17n.org>
10037         * international/mule.el (coding-system-eol-type-mnemonic):
10038         Use eol-mnemonic-undecided if CODING-SYSTEM is nil.
10040 2002-11-06  Kim F. Storm  <storm@cua.dk>
10042         * info.el (Info-fontify-node): Fixed hiding of *note references
10043         with embedded file names like (xxx.yyy).
10044         Avoid making any lines visibly longer if hiding newlines inside
10045         note references by wrapping line after references if it contained
10046         a newline (unfortunaly this makes more lines appear "shorter").
10047         Properly reindent multi-line menu entry descriptions.
10049 2002-11-05  Juanma Barranquero  <lektu@terra.es>
10051         * language/cyrillic.el ("Bulgarian"): Fix typo.
10053         * international/mule.el (coding-system-eol-type-mnemonic):
10054         Move from mule-util.el.
10056         * international/mule-util.el (coding-system-eol-type-mnemonic):
10057         Move to mule.el.
10059 2002-11-04  Juanma Barranquero  <lektu@terra.es>
10061         * files.el (find-buffer-visiting): Accept new optional PREDICATE
10062         argument to return only a buffer that satisfies the predicate.
10063         (insert-file-1): New function.
10064         (insert-file-literally): Use it.
10065         (insert-file): Use it.
10067 2002-11-04  Robert Fenk  <Robert.Fenk@gmx.de>  (tiny change)
10069         * desktop.el (desktop-relative-file-names): New variable.
10070         (desktop-save): Use it.
10072 2002-11-03  Andre Spiegel  <spiegel@gnu.org>
10074         * vc.el (vc-dired-mode): Adapt dired-move-to-filename-regexp to
10075         its current version in dired.el.
10077 2002-11-03  Stefan Monnier  <monnier@cs.yale.edu>
10079         * emacs-lisp/autoload.el (generate-file-autoloads)
10080         (update-file-autoloads): Strip .gz and other such extensions.
10081         (update-autoloads-from-directories): Also consider compressed files.
10083         * info.el (Info-streamline-headings): New var.
10084         (Info-dir-remove-duplicates): New fun.
10085         (Info-insert-dir): Use it.  Simplify the code with push,mapc,dolist.
10086         (Info-select-node): Simplify handling of Info-header-line.
10087         (Info-forward-node): Undo 2000/12/15 since we don't narrow any more.
10088         (Info-mode): Set header-line-format once and for all.
10089         (Info-fontify-node): Accept bogus first line with `File:' missing.
10090         Only make first line invisible if Info-use-header-line.
10091         Don't use `intangible': it's evil.  Use inhibit-read-only.
10092         (Info-follow-reference, Info-next-reference, Info-prev-reference)
10093         (Info-try-follow-nearest-node): Don't bind inhibit-point-motion-hooks
10094         since we don't use intangible any more.
10096         * image.el (insert-image): Don't make intangible since
10097         adjust_point_for_property should be sufficient by default.
10099 2002-11-02  Stefan Monnier  <monnier@cs.yale.edu>
10101         * textmodes/fill.el (fill-paragraph-handle-comment): New var.
10102         (fill-comment-paragraph): New fun (generalizes of lisp-fill-paragraph).
10103         (fill-paragraph): Use them.
10105         * emacs-lisp/lisp-mode.el (lisp-fill-paragraph):
10106         Use fill-comment-paragraph.
10108 2002-11-02  Stefan Monnier  <monnier@cs.yale.edu>
10110         * bindings.el (mode-line-change-eol)
10111         (mode-line-eol-desc-cache, mode-line-eol-desc): New.
10112         (mode-line-mule-info): Use them for the EOL part of the modeline.
10114         * server.el (server-sentinel): Kill buffers if applicable.
10115         (server-temp-file-p): Make arg optional.
10116         (server-done): Use it to simplify.
10117         (server-switch-buffer): If server-window is a function, use it.
10119         * mail/undigest.el (rmail-digest-end-regexps): Simplify.
10120         (undigestify-rmail-message): Fix paren-bug and simplify.
10122 2002-11-02  Kim F. Storm  <storm@cua.dk>
10124         * info.el (Info-hide-note-references): nil value now does no
10125         reformatting at all.  New choice 'tag reformats tag but shows
10126         the section reference.
10127         (Info-fontify-node): Use it.
10129 2002-11-01  Stefan Monnier  <monnier@cs.yale.edu>
10131         * textmodes/tex-mode.el (tex-common-initialization):
10132         comment-start-skip shouldn't match on the next line.
10134         * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Use match-string.
10135         Don't bother making paragraph-start a superset of paragraph-separate.
10136         Use line-beginning-position.
10138         * textmodes/sgml-mode.el (sgml-skip-tag-backward)
10139         (sgml-skip-tag-forward): Deal with xml-style <foo/> empty tags.
10141 2002-11-01  Kim F. Storm  <storm@cua.dk>
10143         * info.el (Info-hide-note-references): New defcustom.
10144         (Info-fontify-node): Use it.
10146 2002-10-31  Kim F. Storm  <storm@cua.dk>
10148         * shell.el (explicit-bash-args): Bash 1.x doesn't grok
10149         --noediting option; added run-time check to exclude it.
10151         * info.el (Info-follow-reference, Info-next-reference)
10152         (Info-prev-reference, Info-try-follow-nearest-node):
10153         Bind inhibit-point-motion-hooks to t while parsing reference.
10154         (Info-fontify-node): When font-lock-mode is enabled, display
10155         "*note" and "* menu" references in a more user friendly format.
10157 2002-10-30  Stefan Monnier  <monnier@cs.yale.edu>
10159         * textmodes/fill.el (fill-move-to-break-point): Skip white space
10160         _before_ checking to see if we're hitting the margin.
10161         (fill-region-as-paragraph): Don't fiddle with the undo-list any more:
10162         it's now done by the C primitives.  Don't use narrowing.
10163         Reorganize the line-breaking part of the code to simplify the control
10164         flow and make it work in the absence of narrowing.
10165         (fill-region): Don't use narrowing.
10167 2002-10-30  Dave Love  <fx@gnu.org>
10169         * textmodes/po.el (po-content-type-charset-alist): Delete most entries.
10170         (po-find-charset): Doc fix.  Remove interactive spec.
10171         (po): Provide.
10172         (po-find-file-coding-system-guts): Re-written to use
10173         coding-system-alist, and code-pages, not codepage stuff.
10175         * term/x-win.el: Remove some ancient compatibility code.
10176         Populate x-keysym-table.
10178 2002-10-30  Andreas Schwab  <schwab@suse.de>
10180         * subr.el (replace-regexp-in-string): Doc fix.
10182 2002-10-29  Dave Love  <fx@gnu.org>
10184         * cus-start.el (selection-coding-system, scalable-fonts-allowed): Add.
10186         * progmodes/scheme.el (syntax-case): Define scheme-indent-function.
10188         * international/mule-conf.el: Doc fixes.
10190 2002-10-29  Richard M. Stallman  <rms@gnu.org>
10192         * server.el (server-switch-buffer): Say when no server buffers remain.
10194         * net/goto-addr.el (goto-address-url-regexp): Don't match `mailto'.
10196 2002-10-28  Masayuki Ataka  <ataka@milk.freemail.ne.jp>  (tiny change)
10198         * progmodes/make-mode.el (makefile-warn-continuations):
10199         Call re-search-forward with NOERROR t.
10201 2002-10-29  Kim F. Storm  <storm@cua.dk>
10203         * ido.el (ido-wide-find-dirs-or-files): Fixed problem that caused
10204         incomplete list of matches to be returned.
10206 2002-10-29  Masayuki Ataka  <ataka@milk.freemail.ne.jp>  (tiny change)
10208         * textmodes/texinfo.el (texinfo-environments): Add environment;
10209         copying, documentdescription, ifplaintext, ifnotplaintext, and
10210         verbatim.
10212         * textmodes/texinfmt.el (texinfo-format-ifplaintext): New function.
10213         (ifplaintext, ifnotplaintext)
10214         (afourpaper, afivepaper, afourlatex, afourwide)
10215         (documentlanguage, documentencoding): New aliases.
10217 2002-10-29  John Paul Wallington  <jpw@shootybangbang.com>
10219         * ibuffer.el (ibuffer-mouse-popup-menu): Set point before popping
10220         up filter groups menu.  Preserve point unless a menu command has
10221         moved it from point clicked.
10223 2002-10-29  David Kastrup  <dak@lola.goethe.zz>
10225         * calc/calc.el (calc-any-evaltos): Initialize to nil, since
10226         calc-refresh-evaltos appears to need this.
10228 2002-10-28  Dave Love  <fx@gnu.org>
10230         * international/mule-diag.el (non-iso-charset-alist): Move to
10231         avoid compilation warning.
10232         (mule-diag): Provide.
10234         * international/code-pages.el (cp-make-coding-system):
10235         Use utf-translation-table-for-decode, not
10236         utf-8-translation-table-for-decode.
10237         (mule-diag): Require.
10239         * language/thai-util.el (thai-composition-function): Don't use prog1.
10241         * language/lao-util.el (lao-composition-function): Don't use prog1.
10243         * language/european.el (diacritic-composition-function):
10244         Modify confused prog1 form.
10246         * international/quail.el (quail-keyboard-layout-alist): Fix pc105-uk.
10247         (quail-keyboard-layout): Customize.
10248         Move after quail-keyboard-layout-alist.
10250 2002-10-28  Miles Bader  <miles@gnu.org>
10252         * progmodes/make-mode.el (makefile-warn-continuations):
10253         Don't barf when there _aren't_ any suspicious continuations.
10255 2002-10-28  Matthew Swift  <swift@alum.mit.edu>
10257         * progmodes/compile.el (grep-find-use-xargs): Fix docstring.
10259 2002-10-27  Michael Kifer  <kifer@cs.stonybrook.edu>
10261         * ediff-wind.el (ediff-control-frame-parameters): Add scrollbar-height.
10263 2002-10-27  Andreas Schwab  <schwab@suse.de>
10265         * progmodes/sh-script.el (sh-mode-syntax-table): Don't make ^L
10266         end-of-comment syntax.
10268 2002-10-27  Kim F. Storm  <storm@cua.dk>
10270         * ido.el (ido-cannot-complete-command): New defcustom, default to
10271         ido-completion-help (similar to iswitchb-cannot-complete-hook).
10272         (ido-complete): Call value of ido-cannot-complete-command rather
10273         than ido-completion-help when no common completion.
10275 2002-10-27  Dave Love  <fx@gnu.org>
10277         * international/code-pages.el (iso-8859-11): New.
10279 2002-10-27  Kim F. Storm  <storm@cua.dk>
10281         * pcvs.el (cvs-checkout): Use read-directory-name.
10282         (cvs-query-directory): Likewise.
10284 2002-10-26  Richard M. Stallman  <rms@gnu.org>
10286         * progmodes/make-mode.el (makefile-cleanup-continuations):
10287         Default for variable is nil.
10288         (makefile-warn-continuations): New function.
10289         (makefile-mode): Put it on write-file-functions.
10291         * international/mule-cmds.el (select-safe-coding-system):
10292         Delete debugging setq.
10294         * shell.el (shell): Look for .emacs_SHELL under ~/.emacs.d
10295         after looking in ~.
10297         * startup.el (command-line): Look for .emacs under ~/.emacs.d
10298         after looking in ~.
10300         * simple.el (toggle-truncate-lines): When turning off truncation,
10301         clear out the hscroll value in this buffer's windows.
10303         * simple.el (display-message-or-buffer): Don't display empty
10304         output in the echo area.
10306         * man.el (Man-default-man-entry): Don't look for all word chars,
10307         look only for characters that are normally part of a shell command.
10309         * gud.el (gdb): Pass default-directory to GDB via -cd option.
10311         * font-lock.el (c++-font-lock-keywords...): Add `restrict' keyword.
10313         * find-file.el (ff-find-related-file): Fix autoload cookie.
10315         * emacs-lisp/unsafep.el (unsafep-variable): Pass second arg to
10316         risky-local-variable-p.
10318         * files.el (risky-local-variable-p): VAL=nil has special meaning.
10320         * Makefile.in (compile-always): Avoid error in old Bash versions.
10322 2002-10-26  John Paul Wallington  <jpw@shootybangbang.com>
10324         * textmodes/picture.el (picture-mouse-set-point): New command.
10325         (picture-mode-map): Bind it.
10326         (picture-motion-reverse): Doc fix.
10328 2002-10-25  Stefan Monnier  <monnier@cs.yale.edu>
10330         * textmodes/outline.el (outline-next-heading): Make sure the match-data
10331         is really correct where returning.
10333 2002-10-24  Matthew Swift  <swift@alum.mit.edu>
10335         * textmodes/outline.el (outline-minor-mode): Add customization group.
10337 2002-10-23  Richard M. Stallman  <rms@gnu.org>
10339         * files.el (risky-local-variable-p): New arg VAL.
10340         (compile-command): Use `stringp' for `safe-local-variable' prop.
10341         (hack-one-local-variable): Pass VAL to `risky-local-variable-p'.
10343 2002-10-23  Francis J. Wright  <F.J.Wright@qmul.ac.uk>
10345         * woman.el (woman-version): Update to 0.551 (beta).
10346         (woman-parse-colon-path): Add support for current Cygwin mount
10347         conventions.
10348         (woman-Cyg-to-Win): New function to convert absolute filename from
10349         Cygwin to Windows form by executing external program cygpath if
10350         possible.
10351         (woman-man.conf-path): Update default to current common locations
10352         and to support Cygwin; update documentation.
10353         (woman-parse-man.conf): Generalize regexp to "man.*\\.conf" to
10354         match possible names of man.conf file; tidy code and documentation.
10355         (woman-manpath): Simplify default and documentation; essentially
10356         move code that was here into `woman-parse-colon-path'.
10357         (woman-default-indent): Change Linux to GNU in documentation.
10358         (woman-addition-face): Make documentation consistent with other
10359         WoMan faces.
10360         (woman-emulate-tbl): New variable, determines whether tbl
10361         emulation is required.
10362         (woman-decode-region): Add check for preprocessor requests.
10363         (woman0-process-escapes, woman-special-characters)
10364         (woman-get-next-char, woman-parse-numeric-value): Add support for
10365         long groff names of the form [xxx].
10366         (woman-strings, woman-change-fonts): Now call `woman-match-name'.
10367         (woman2-PD, woman2-na): Doc fix.
10368         (woman-match-name): New function.
10369         (woman2-TS): New function.
10370         (woman2-TE): New alias for `woman2-fi'.
10372 2002-10-23  Kim F. Storm  <storm@cua.dk>
10374         * ido.el (ido-restrict-to-matches): New command.
10375         (ido-define-mode-map): Bind it to C-SPC and C-@ in ido-mode-map.
10377 2002-10-22  Bob Halley  <halley@play-bow.org>  (tiny change)
10379         * eshell/esh-io.el (eshell-set-output-handle): Fix so that
10380         multiple redirection can work.
10382 2002-10-21  Stefan Monnier  <monnier@cs.yale.edu>
10384         * ielm.el (inferior-emacs-lisp-mode): If hexl not found, use cat.
10385         Don't hardcode point-min == 1.
10387         * hexl.el (hexl-mode-old-write-contents-hooks): Remove.
10388         (hexl-mode, hexl-current-address, hexl-address-to-marker)
10389         (hexl-insert-char): Don't hardcode point-min == 1.
10390         (hexl-isearch-search-function): New fun.
10391         (hexl-mode-old-isearch-search-fun-function): New var.
10392         (hexl-mode): Use them.
10393         (hexl-mode, hexl-mode-exit, hexl-maybe-dehexlify-buffer):
10394         Use write-contents-functions rather then write-contents-hooks.
10396         * textmodes/text-mode.el (text-mode-syntax-table): Make ' a prefix.
10397         (paragraph-indent-text-mode-abbrev-table)
10398         (paragraph-indent-text-mode-syntax-table): Remove.
10399         (paragraph-indent-text-mode): Use the :abbrev and :syntax-table args.
10401 2002-10-21  Juanma Barranquero  <lektu@terra.es>
10403         * eshell/esh-util.el (directory-files-and-attributes): Copy docstring
10404         from Emacs 21.  Arg DIR renamed to DIRECTORY for consistency.
10406 2002-10-20  Andreas Schwab  <schwab@suse.de>
10408         * apropos.el (apropos-group): Use customize-group-other-window.
10410 2002-10-18  Stefan Monnier  <monnier@rum.cs.yale.edu>
10412         * progmodes/perl-mode.el (perl-mode-syntax-table): Change $ back
10413         to just "/" instead of "/ p".
10414         (perl-font-lock-syntactic-keywords): Use ". p" for the `$'.
10416 2002-10-18  Juanma Barranquero  <lektu@terra.es>
10418         * textmodes/artist.el (artist-ff-is-bottommost-line): Fix misplaced
10419         ELSE expression on IF.
10421 2002-10-17  Juanma Barranquero  <lektu@terra.es>
10423         * align.el (align-rules-list, align-exclude-rules-list): Fix typos.
10425         * subr.el (remq): Likewise.
10427         * vc-cvs.el (vc-cvs-sticky-tag-display): Likewise.
10429         * vc-hooks.el (vc-insert-file): Likewise.
10431         * vcursor.el (vcursor-other-window): Likewise.
10433         * wid-edit.el (widget-choose): Likewise.
10435         * calendar/diary-lib.el (diary-name-pattern): Likewise.
10437         * emacs-lisp/elint.el (elint-error, elint-warning): Likewise.
10439         * emacs-lisp/lisp.el (beginning-of-defun): Likewise.
10441         * emulation/edt-mapper.el (top-level): Likewise.
10443         * eshell/esh-var.el (eshell/define): Likewise.
10445         * mail/feedmail.el (feedmail-nuke-body-in-fcc)
10446         (feedmail-queue-draft-directory): Likewise.
10448         * net/netrc.el (netrc-parse): Likewise.
10450         * obsolete/cplus-md.el (c++-empty-arglist-indent): Likewise.
10452         * progmodes/ebrowse.el (ebrowse-ts)
10453         (ebrowse-view/find-file-and-search-pattern)
10454         (ebrowse-draw-file-member-info): Likewise.
10456         * progmodes/idlwave.el (idlwave-region-active-p): Likewise.
10458         * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise.
10460         * progmodes/sh-script.el (sh-indent-for-then): Likewise.
10462         * textmodes/bibtex.el (bibtex-find-entry-location): Likewise.
10464         * textmodes/sgml-mode.el (sgml-close-tag, html-imenu-index): Likewise.
10466 2002-10-17  Dave Love  <fx@gnu.org>
10468         * international/mule-diag.el (non-iso-charset-alist): Add koi8-u.
10470         * international/code-pages.el (cp-make-translation-table): Use
10471         ucs-mule-to-mule-unicode.
10472         (cp-fix-safe-chars): Fix typo.
10473         (non-iso-charset-alist): Don't define.
10474         (cp-make-coding-system): Use utf-8-translation-table-for-decode.
10475         Define translation-table-for-input.
10476         (cp866): Reinstate.
10477         (alternativnj): Don't define alias.
10478         (koi8-u): Deleted.
10480         * language/european.el ("Slovenian"): Use slovenian input-method.
10481         (encode-mac-roman): Use ucs-mule-to-mule-unicode.
10483         * language/cyrillic.el (cyrillic-alternativnyj-decode-table): Fix
10484         the table.
10485         (cyrillic-alternativnyj): Don't give it `mime-charset' property.
10486         (cp866): Delete this alias.
10487         ("Bulgarian"): Fix the value of `input-method'.
10489 2002-10-16  Luc Teirlinck  <teirllm@mail.auburn.edu>
10491         * dired-aux.el (dired-add-entry): Put point in correct position
10492         before inserting marker char.
10494 2002-10-16  Andreas Schwab  <schwab@suse.de>
10496         * dired.el (dired-readin-insert): Expand dired-directory.
10498         * dired-aux.el (dired-insert-subdir-doinsert): Preserve point.
10500 2002-10-16  Markus Rost  <rost@math.ohio-state.edu>
10502         * textmodes/reftex-vars.el: Move reftex-set-dirty here from
10503         reftex.el.  Move the provide call to end of file.
10505         * textmodes/reftex.el: Move reftex-set-dirty to reftex-vars.el.
10507 2002-10-15  Dave Love  <fx@gnu.org>
10509         * man.el (Man-getpage-in-background): Set width in environment.
10511 2002-10-15  Kenichi Handa  <handa@m17n.org>
10513         * mail/sendmail.el (sendmail-send-it): Call
10514         select-message-coding-system before changing the current bufer to
10515         " sendmail temp".
10517 2002-10-14  Andre Spiegel  <spiegel@gnu.org>
10519         * files.el (insert-directory): Handle //SUBDIRED// lines in
10520         recursive listings from ls --dired.
10522         * vc.el (vc-dired-reformat-line): Simplified.  Handles text
10523         properties correctly now.
10525 2002-10-14  Juanma Barranquero  <lektu@terra.es>
10527         * international/mule.el (set-selection-coding-system): Fix spacing.
10529 2002-10-13  Richard M. Stallman  <rms@gnu.org>
10531         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
10532         Treat `ignore' specially--prevent warnings about functions
10533         called for effect, in its args.
10534         Don't warn when `pop' is used for effect.
10536         * emacs-lisp/autoload.el (autoload-print-form): Cleanup.
10538         * uniquify.el (uniquify-get-proposed-name):
10539         Don't use directory-sep-char.
10541         * thingatpt.el (read-from-whole-string): Add call to `ignore'.
10543         * find-file.el (ff-related-file-alist): New alias.
10544         (ff-find-related-file): New alias.
10546 2002-10-13  Andreas Schwab  <schwab@suse.de>
10548         * dired.el (dired-insert-directory): When looking for existing
10549         indentation, goto OPOINT instead of beginning of buffer.
10551 2002-10-12  Stefan Monnier  <monnier@cs.yale.edu>
10553         * cus-dep.el (custom-make-dependencies): Ignore preloaded files.
10555 2002-10-12  Michael Kifer  <kifer@cs.stonybrook.edu>
10557         * ediff-init.el (ediff-frame-char-height): Use frame-selected-window.
10559         * ediff-util.el (ediff-file-checked-in-p): Changed progn with and.
10561         * ediff-wind.el (ediff-skip-unsuitable-frames): Distinguish selected
10562         frame from frame of selected window.
10563         (ediff-frame-has-dedicated-windows): Don't select any frames to avoid
10564         changing selected windows.
10565         (ediff-setup-control-frame): Make sure auto-rase is properly set for
10566         the control frame.
10568 2002-10-10  Simon Josefsson  <jas@extundo.com>
10570         * browse-url.el (browse-url-mozilla): Doc fix.
10572 2002-10-10  Steve Youngs  <youngs@xemacs.org>
10574         * browse-url.el (browse-url-mozilla-new-window-is-tab): New.
10575         (browse-url-mozilla): Use it.
10577 2002-10-11  Miles Bader  <miles@gnu.org>
10579         * vc-cvs.el (vc-cvs-parse-entry): Don't barf when an `Entries'
10580         files contains an invalid timestamp.
10582 2002-10-11  Simon Josefsson  <jas@extundo.com>
10584         * mail/sendmail.el (mail-envelope-from): New option `header' to
10585         use RFC 2822 From: header as the envelope address.
10586         (mail-envelope-from): New function, this should be used instead of
10587         looking at the `mail-envelope-from' variable.
10588         (sendmail-send-it): Use it.
10590         * mail/smtpmail.el (smtpmail-via-smtp): Use it.
10592 2002-10-11  Andre Spiegel  <spiegel@gnu.org>
10594         * dired.el (dired-insert-directory): Fix check for indentation
10595         from ls --dired.
10597         * vc.el (vc-dired-reformat-line): As a temporary fix, remove all text
10598         properties from the reformatted line.
10600 2002-10-10  Stefan Monnier  <monnier@cs.yale.edu>
10602         * textmodes/paragraphs.el (forward-paragraph): Keep track of
10603         remaining paragraphs to skip more carefully.
10605         * add-log.el (add-change-log-entry): Don't call find-file at all
10606         if we're already in the proper buffer.
10607         (change-log-resolve-conflict): New fun.
10608         (change-log-mode): Use it and use define-derived-mode.
10609         (change-log-merge): Allow other-log to be a buffer.
10610         Don't add a \n if there are already enough \n's.
10612         * finder-inf.el, subdirs.el, cus-load.el: Remove.
10614         * finder.el ("finder-inf"): Don't fail if the file is absent.
10616         * cus-dep.el (custom-make-dependencies): Don't use find-file.
10617         Use feature names rather than file names if applicable.
10619         * cus-edit.el (customize-mode): New command.
10621         * custom.el (custom-group-of-mode): New fun.
10622         (custom-load-symbol): Don't use preloaded-file-list now that
10623         load-history is always complete.  Don't look up the expanded file
10624         name in load-history (looked like an XEmacsism).
10626         * smerge-mode.el (smerge-ediff): Autoload.
10627         (smerge-match-conflict): Don't assume as much about smerge-begin-re.
10628         (smerge-resolve-function): New var.
10629         (smerge-resolve): New command.
10630         (smerge-basic-map): Bind it.
10632 2002-10-10  Andre Spiegel  <spiegel@gnu.org>
10634         * vc-cvs.el (vc-cvs-parse-entry): Parse the time stamp found in
10635         CVS/Entries, rather than comparing it textually.
10637 2002-10-10  Markus Rost  <rost@math.ohio-state.edu>
10639         * international/encoded-kb.el: Add `provide' call.
10641 2002-10-09  David Kastrup  <David.Kastrup@t-online.de>
10643         * calc/calc-alg.el (calcFunc-ln): In symbolic manipulations,
10644         ln(-1) should be i*pi, not pi.
10646 2002-10-09  Markus Rost  <rost@math.ohio-state.edu>
10648         * vc-cvs.el (vc-cvs-registered): In the autoload version use load
10649         instead of require to avoid loops when loaddefs.el is loaded after
10650         vc-cvs.el.
10652         * cus-edit.el (Custom-reset-current): Don't test for default-boundp.
10653         (Custom-reset-saved): Don't test for saved-value.
10655 2002-10-08  Stefan Monnier  <monnier@cs.yale.edu>
10657         * vc.el (vc-find-version): Use the new backend op `find-version'.
10658         (vc-default-find-version): Provide the new backend op `find-version'
10659         in terms of the old `checkout' op.
10661         * vc-rcs.el (vc-rcs-find-version): New fun.
10662         (vc-rcs-checkout): Remove `workfile' arg and simplify.
10664         * vc-sccs.el (vc-sccs-find-version): New fun.
10665         (vc-sccs-checkout): Remove `workfile' arg and simplify.
10667         * vc-cvs.el (vc-cvs-find-version): New fun.
10669 2002-10-08  John Paul Wallington  <jpw@shootybangbang.com>
10671         * info.el (Info-next-menu-item, Info-last-menu-item)
10672         (info-emacs-manual): Add docstrings.
10673         (Info-index): Use `string-to-number' instead of `string-to-int'.
10675 2002-10-08  Kenichi Handa  <handa@m17n.org>
10677         * international/ucs-tables.el (ucs-translation-table-for-decode):
10678         Define it as a translation-table.
10680 2002-10-07  Richard M. Stallman  <rms@gnu.org>
10682         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10684         * progmodes/compile.el (grep-compute-defaults): Set the standard-value
10685         properties of the variables being initialized.
10687         * thingatpt.el (thing-at-point-url-path-regexp): Doc fix.
10689 2002-10-07  Kim F. Storm  <storm@cua.dk>
10691         * emulation/cua-base.el (cua-normal-cursor-color):
10692         Fixed initialization to make "Erase Customization" work.
10694 2002-10-07  Stefan Monnier  <monnier@cs.yale.edu>
10696         * vc.el (vc-maybe-resolve-conflicts): Always call vc-resolve-conflicts
10697         in case some other package redefined it.
10698         (vc-resolve-conflicts): Make it into an alias for smerge-ediff.
10700         * textmodes/fill.el (fill-paragraph): Go to BOL before calling
10701         forward-paragraph to make sure its return value is meaningful.
10703 2002-10-06  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
10705         * net/tramp.el: Version 2.0.25 released.
10706         (tramp-handle-file-truename): If it's a directory,
10707         append slash only if result doesn't end in a slash already.
10708         (tramp-handle-file-truename): Restructure logic.  If list of steps
10709         is nil, return "/" as the real name.
10710         (tramp-completion-mode): Add "\\(" and "\\)". Otherwise,
10711         `match-string' doesn't make sense.  From Michael Albinus.
10712         (tramp-host-with-port-regexp): New defcustom. Equal to previous
10713         `tramp-host-regexp'.  From Michael Albinus.
10714         (tramp-host-regexp): Taken off hashes in host names. Otherwise,
10715         scanning files like .rhosts would take comments as host names.
10716         From Michael Albinus.
10717         (tramp-file-name-structure, tramp-multi-file-name-hop-structure):
10718         Replace `tramp-host-regexp' by `tramp-host-with-port-regexp'.
10719         From Michael Albinus.
10720         (tramp-action-terminal): New function.
10721         (tramp-terminal-prompt-regexp): New variable, matches "tset" prompts.
10722         (tramp-actions-before-shell): Use them.
10723         (tramp-handle-shell-command): Logic error.  From Ivan
10724         Zakharyaschev <imz@altlinux.org>.
10726 2002-10-06  Markus Holmberg  <markush@acc.umu.se>  (tiny change)
10728         * thingatpt.el (thing-at-point-uri-schemes): New variable.
10729         (thing-at-point-url-regexp): Use it.
10731 2002-10-06  Glenn Morris  <gmorris@ast.cam.ac.uk>
10733         * progmodes/fortran.el (fortran-beginning-do): Ignore labelled DO
10734         loops.
10736 2002-10-05  Stefan Monnier  <monnier@cs.yale.edu>
10738         * vc.el (vc-log-mode-map): Explicitly inherit from text-mode.
10739         (vc-maybe-resolve-conflicts): Don't check smerge-mode and smerge-ediff.
10740         (vc-print-log): Don't check log-view-mode.
10741         (vc-default-show-log-entry): Don't check log-view-goto-rev.
10742         (vc-log-mode): Remove.
10743         (vc-log-edit): Don't check log-edit.
10745 2002-10-04  Stefan Monnier  <monnier@cs.yale.edu>
10747         * vc-cvs.el (vc-cvs-show-log-entry):
10748         * vc-rcs.el (vc-rcs-show-log-entry): Delete.
10750         * smerge-mode.el (smerge-ediff): Add name-{mine,other,base} args.
10752 2002-10-04  Markus Rost  <rost@math.ohio-state.edu>
10754         * vc.el (vc-default-show-log-entry): Fix typo.
10756 2002-10-04  Steven Tamm  <steventamm@mac.com>
10758         * term/mac-win.el: Add lines to handle the new [return] event.
10760 2002-10-03  Stefan Monnier  <monnier@cs.yale.edu>
10762         * textmodes/fill.el (fill-paragraph): Give up if there's no
10763         paragraph at or after point.
10765         * textmodes/paragraphs.el (forward-paragraph): Return the steps left.
10767         * vc.el (vc-print-log): Unconditionally use `show-log-entry'.
10768         (vc-default-show-log-entry): New fun.
10770         * subr.el (read-key-auxiliary-map, read-key): Remove.
10771         (read-quoted-char): Undo the `read-key' change of 2002-06-23.
10773 2002-10-03  Markus Rost  <rost@math.ohio-state.edu>
10775         * progmodes/ada-stmt.el (ada-stmt-add-to-ada-menu): Handle the
10776         menu pseudo-keys generated by easymenu which are lowercase in
10777         Emacs 21.4.
10779         * progmodes/ada-xref.el
10780         (ada-xref-update-project-menu,ada-add-ada-menu): Ditto.
10782 2002-10-03  John Paul Wallington  <jpw@shootybangbang.com>
10784         * frame.el (delete-frame-hook): Variable alias for
10785         `delete-frame-functions'.  Mark obsolete.
10787 2002-10-02  Stefan Monnier  <monnier@cs.yale.edu>
10789         * textmodes/outline.el (outline-1, outline-2, outline-3, outline-4)
10790         (outline-5, outline-6, outline-7, outline-8): New faces.
10791         (outline-font-lock-faces, outline-font-lock-levels): New vars.
10792         (outline-font-lock-face): New fun.
10793         (outline-font-lock-keywords): Use it.
10794         (outline-font-lock-level): Remove.
10795         (outline-mode, outline-next-preface, outline-next-heading)
10796         (outline-previous-heading, outline-next-visible-heading):
10797         Use shy group.
10798         (outline-level) <var>: Update calling convention.
10799         (outline-level) <fun>: Take advantage of it.
10800         (outline-demote): Don't assume the match-data is still uptodate.
10801         (outline-up-heading): Simplify and make sure the match data is
10802         properly set at the end.
10804 2002-10-02  Markus Rost  <rost@math.ohio-state.edu>
10806         * progmodes/sh-script.el (sh-alias-alist): Use append instead of
10807         nconc.
10809         * startup.el (normal-top-level): Reset standard-value property of
10810         `user-full-name' here.
10812 2002-10-02  Per Abrahamsen  <abraham@dina.kvl.dk>
10814         * wid-edit.el (widget-default-get): Change to return external
10815         value.
10816         (widget-choice-action): Update caller.
10817         (widget-editable-list-entry-create): Update caller.
10819         * wid-edit.el (widget-types-copy): New function.
10820         (default): Added :copy keyword.
10821         (menu-choice): Ditto.
10822         (checklist): Ditto.
10823         (radio-button-choice): Ditto.
10824         (editable-list): Ditto.
10825         (group): Ditto.
10826         (widget-copy): New function.
10827         (widget-create-child): Use it.
10828         (widget-create-child-value): Use it.
10830 2002-10-01  Bill Wohler  <wohler@newt.com>
10832         * mail/mh-comp.el, mail/mh-e.el, mail/mh-funcs.el,
10833         mail/mh-mime.el, mail/mh-pick.el, mail/mh-seq.el,
10834         mail/mh-utils.el, mail/mh-xemacs-compat.el, mail/reply2.pbm,
10835         mail/reply2.xpm, toolbar/execute.pbm, toolbar/execute.xpm,
10836         toolbar/page-down.pbm, toolbar/page-down.xpm, toolbar/refile.pbm,
10837         toolbar/refile.xpm, toolbar/repack.pbm, toolbar/repack.xpm,
10838         toolbar/rescan.pbm, toolbar/rescan.xpm, toolbar/show.pbm,
10839         toolbar/show.xpm, toolbar/widen.pbm, toolbar/widen.xpm:
10840         Upgraded to mh-e version 6.1.1.  Full ChangeLog available in
10841         http://prdownloads.sourceforge.net/mh-e/mh-e-6.1.tgz?download .
10842         There were no user-visible changes in 6.1.1 from 6.1--only the
10843         section of the Makefile that installs the files into Emacs was changed.
10845 2002-10-01  Stefan Monnier  <monnier@cs.yale.edu>
10847         * pcvs.el (cvs-mode-find-file): Look up font-lock-face so it also
10848         works when font-lock is turned off.
10850         * jit-lock.el (jit-lock-fontify-now): Don't widen.
10851         Let the jit-lock-functions do it if they want to.
10853 2002-10-01  Juanma Barranquero  <lektu@terra.es>
10855         * eshell/esh-module.el (eshell-load-defgroups):
10856         Add "no-byte-compile: t" to subdirs.el.
10858         * makefile.w32-in (update-subdirs-CMD): Likewise.
10860         * forms-d2.el:
10861         * forms-pass.el:
10862         * generic-x.el:
10863         * patcomp.el:
10864         * paths.el:
10865         * version.el:
10866         * international/mule-conf.el:
10867         * language/czech.el:
10868         * language/devanagari.el:
10869         * language/english.el:
10870         * language/georgian.el:
10871         * language/greek.el:
10872         * language/hebrew.el:
10873         * language/japanese.el:
10874         * language/korean.el:
10875         * language/lao.el:
10876         * language/misc-lang.el:
10877         * language/romanian.el:
10878         * language/slovak.el:
10879         * language/thai.el:
10880         * language/utf-8-lang.el:
10881         * emacs-lisp/cl-specs.el:
10882         * eshell/esh-maint.el:
10883         * mail/blessmail.el:
10884         * play/bruce.el:
10885         * term/apollo.el:
10886         * term/AT386.el:
10887         * term/bobcat.el:
10888         * term/internal.el:
10889         * term/iris-ansi.el:
10890         * term/keyswap.el:
10891         * term/linux.el:
10892         * term/lk201.el:
10893         * term/news.el:
10894         * term/vt102.el:
10895         * term/vt125.el:
10896         * term/vt200.el:
10897         * term/vt201.el:
10898         * term/vt220.el:
10899         * term/vt240.el:
10900         * term/vt300.el:
10901         * term/vt320.el:
10902         * term/vt400.el:
10903         * term/vt420.el:
10904         * term/wyse50.el: Add "no-byte-compile: t" in first line.
10906 2002-10-01  Kenichi Handa  <handa@m17n.org>
10908         * international/utf-16.el: Don't provide utf-16.
10910         * international/utf-8.el (ccl-decode-mule-utf-8):
10911         Remove unnecessary line.
10913 2002-09-30  Kenichi Handa  <handa@m17n.org>
10915         * language/thai.el (thai-tis620): Add `mime-charset' property.
10917         * language/indian.el: Don't register "ISO10646.*-1" in
10918         font-ccl-encoder-alist.
10920         * language/cyrillic.el (ccl-decode-koi8): Refer to
10921         ucs-translation-table-for-decode.
10922         (ccl-decode-koi8-u): Likewise.
10923         (ccl-decode-alternativnyj): Likewise.
10924         (cyrillic-koi8): Put `dependency' property.
10925         (koi8-u): Likewise.
10926         (cyrillic-alternativnyj): Likewise.
10928         * international/utf-8.el (ucs-mule-to-mule-unicode): Don't define
10929         this translation-table name here.
10930         (utf-translation-table-for-encode): New translation-table name.
10931         (utf-fragmentation-table): Renamed from utf-8-fragmentation-table.
10932         (utf-defragmentation-table): New variable.
10933         (ucs-mule-cjk-to-unicode): Renamed from utf-8-subst-rev-table.
10934         (utf-subst-table-for-encode): New translation-table name.
10935         (ucs-unicode-to-mule-cjk): Renamed from utf-8-subst-table.
10936         (utf-subst-table-for-decode): New translation-table name.
10937         (utf-fragment-on-decoding): Renamed from
10938         utf-8-fragment-on-decoding.  Correctly handle the case that
10939         unify-8859-on-encoding-mode is off.  Handle mule-utf-16-le and
10940         mule-utf-16-be too.
10941         (utf-translate-cjk): Renamed from utf-8-translate-cjk.
10942         Handle mule-utf-16-le and mule-utf-16-be too.
10943         (ccl-decode-mule-utf-8): Refer to utf-translation-table-for-decode
10944         and utf-subst-table-for-decode.
10945         (ccl-encode-mule-utf-8): Refer to utf-translation-table-for-encode
10946         and utf-subst-table-for-encode.
10947         (mule-utf-8): Fix `safe-charsets' property, put `dependency' property.
10949         * international/utf-8-subst.el: Setup ucs-unicode-to-mule-cjk and
10950         ucs-mule-cjk-to-unicode, not utf-8-subst-table and
10951         utf-8-subst-rev-table.
10953         * international/utf-16.el (utf-16-decode-ucs): Look up
10954         utf-subst-table-for-decode.  Fix for the case that the looking up
10955         succeeds.
10956         (ccl-decode-mule-utf-16-le): Translate characters by
10957         utf-translation-table-for-decode.
10958         (ccl-decode-mule-utf-16-be): Likewise.
10959         (ccl-encode-mule-utf-16-le): Look up utf-subst-table-for-encode
10960         at first.  Translate characters by utf-translation-table-for-encode.
10961         (ccl-encode-mule-utf-16-be): Likewise.
10962         (mule-utf-16-le, mule-utf-16-be): Add `dependency' property.
10964         * loadup.el: Preload international/utf-16.  Don't call ucs-unify-8859.
10966         * international/ucs-tables.el: Don't bind
10967         utf-8-translation-table-for-decode while setting up
10968         ucs-mule-8859-to-ucs-table, etc.  Add `depenency' property to
10969         iso-8859-* coding systems.
10970         (ucs-unify-8859): Arguments changed to FOR-ENCODE and FOR-DECODE.
10971         If FOR-DECODE is non-nil, make ucs-mule-8859-to-mule-unicode
10972         populate the translation table named
10973         ucs-translation-table-for-decode.  If FOR-ENCODE is non-nil, make
10974         ucs-mule-to-mule-unicode populates the translation table named
10975         utf-translation-table-for-encode.  Call register-char-codings for
10976         mule-utf-16-be and mule-utf-16-le too.
10977         (ucs-fragment-8859): Arguments changed to FOR-ENCODE and
10978         FOR-DECODE.  If FOR-DECODE is non-nil, make the translation table
10979         named ucs-translation-table-for-decode vacant.  If FOR-ENCODE is
10980         non-nil, make a proper char-table populates the translation table
10981         name utf-translation-table-for-encode.  Call register-char-codings
10982         for all mule-utf-* to to reset their status to the origianl.
10983         (unify-8859-on-encoding-mode): Call ucs-unify-8859 and
10984         ucs-fragment-8859 with fixed arguments.  Set the version to 21.3.
10985         (unify-8859-on-decoding-mode): Likewise.  Remove dependency.
10986         (ccl-encode-unicode-font): Delete.
10987         (ucs-tables-unload-hook): Delete.
10989         * international/mule.el (decode-char): Refer to the translation
10990         hash table named utf-subst-table-for-decode.  Refer to the
10991         translation table named utf-translation-table-for-decode instead
10992         of utf-8-translation-table-for-decode.
10993         (encode-char): Refer to the translation hash table named
10994         utf-subst-table-for-encode.  Refer to the translation table named
10995         utf-translation-table-for-encode instead of
10996         utf-8-translation-table-for-encode.
10998         * international/mule-diag.el (describe-coding-system):
10999         Describe `dependency' property.
11001         * international/mule-conf.el (emacs-mule): Add property `composition'.
11003         * international/fontset.el (ucs-mule-to-mule-unicode): Define this
11004         translation table name here.
11005         (ucs-mule-cjk-to-unicode): New translation table name.
11006         (ccl-encode-unicode-font): Merge the code in ucs-tables.el.
11007         (font-ccl-encoder-alist): Change the font registry pattern to
11008         "ISO10646.*-*".
11010 2002-09-30  Colin Walters  <walters@gnu.org>
11012         * calc/calc-stuff.el (calc-flush-caches): Add optional arg
11013         `inhibit-msg'.
11015         * calc/calc-prog.el (calc-kbd-report, calc-kbd-query): Don't bind
11016         `executing-kbd-macro' and `defining-kbd-macro'.
11018         * calc/calc-ext.el (calc-reset): Don't bind `executing-kbd-macro'.
11019         Call `calc-flush-caches' with inhibit-msg arg.
11020         (calc-change-mode): Remove extra arg for `calc-save-modes'.
11022         * calc/calc-mode.el (calc-save-modes): Remove `quiet' arg.
11023         Don't bind `executing-kbd-macro'.
11025 2002-09-29  Noah Friedman  <friedman@splode.com>
11027         * subr.el (read-key): Use read-key-auxiliary-map, not read-key-aux-map.
11029 2002-09-29  Richard M. Stallman  <rms@gnu.org>
11031         * startup.el (user-mail-address): Initialize to a useful value
11032         once Emacs is started up; initialize to "" at loadup time.
11033         (command-line): "", not nil, means user-mail-address not set yet.
11035 2002-09-29  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11037         * net/tramp.el: Version 2.0.24 released.
11038         (tramp-methods, tramp-completion-function-alist):
11039         Rename "*-old" methods to "*_old".  From Michael Albinus.
11040         (tramp-completion-function-alist):
11041         Use `tramp-completion-function-alist-ssh' for the "fcp" method.
11042         From Michael Albinus.
11043         (tramp-default-method-alist): Use "su" for "root@localhost".
11044         (tramp-host-regexp): Allow "#" for "host#port" kludge.
11045         (tramp-ange-ftp-file-name-p): If METHOD is nil, find the right
11046         default method.  Require additional args USER and HOST for this.
11047         Callers changed.
11048         (tramp-handle-file-local-copy): More local bindings.  Bind results
11049         of tramp-get-{remote,local}-{de,en}coding earlier to avoid nasty
11050         "are you awake" problem.
11051         (tramp-action-password): Protect against clobbered match data.
11052         (tramp-open-connection-setup-interactive-shell): Explicitly set
11053         tramp-last-cmd-time before invoking tramp-send-command the first
11054         time.  Otherwise, tramp-send-command would issue "echo are you
11055         awake" right at the first time, which is not what we want.
11056         Reported by Douglas Gray Stephens.
11057         (tramp-find-inline-encoding): Don't redirect stdout to
11058         /dev/null to avoid "chmode go-rwx" operation from "mimencode
11059         >/dev/null" as root(!), and to check the output of the decoding
11060         command.
11061         (tramp-maybe-open-connection): Don't send "are you awake" if
11062         process has died.
11064 2002-09-29  Colin Walters  <walters@gnu.org>
11066         * calc/calc.el (calc-dispatch-map): Actually set to keymap.
11068 2002-09-29  Mike Williams  <mdub@bigfoot.com>
11070         * textmodes/sgml-mode.el (sgml-guess-indent): Handle tabs correctly.
11072 2002-09-29  Richard M. Stallman  <rms@gnu.org>
11074         * custom.el (defcustom): Doc fix.
11076 2002-09-28  Richard M. Stallman  <rms@gnu.org>
11078         * loadhist.el (unload-feature): When undefining a variable,
11079         delete its buffer-local bindings.
11081 2002-09-28  Luc Teirlinck  <teirllm@mail.auburn.edu>
11083         * subr.el (remove-yank-excluded-properties): Fix bugs in
11084         handling of category properties.
11086 2002-09-28  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
11088         * ps-print.el (ps-print-emacs-type): Error if ps-print is
11089         activated in Epoch, inLucid or in Emacs v19 or lesser.
11090         Value can no longer be `lucid'.
11091         (ps-print-version): New version number (6.5.8).
11092         (faces): Never do (require 'faces).
11094 2002-09-28  Simon Josefsson  <jas@extundo.com>
11096         * mail/smtpmail.el (smtpmail-via-smtp): Only negotiate starttls on
11097         streams that were opened using starttls.
11099 2002-09-28  Paul Reilly  <pmr@pajato.com>
11101         * files.el (auto-mode-alist): Add support for Java Enterprise
11102         ARchive (ear/EAR) and Web ARchive (war/WAR) files.
11104 2002-09-28  John Paul Wallington  <jpw@shootybangbang.com>
11106         * progmodes/m4-mode.el (m4-font-lock-keywords)
11107         (m4-mode-syntax-table, m4-mode-abbrev-table, m4-m4-buffer)
11108         (m4-m4-region): Doc fixes.
11110 2002-09-27  Stefan Monnier  <monnier@cs.yale.edu>
11112         * emacs-lisp/cl-macs.el: Use the new usage-in-docstring syntax.
11113         (cl-push, cl-pop): Remove.
11114         Use pop and push throughout the file instead.
11115         (cl-transform-lambda): Add usage info to docstring if the arglist
11116         is complex.
11118         * emacs-lisp/autoload.el (make-autoload): Add usage info to docstring.
11119         (autoload-print-form): Also quote open-[-in-column 0.
11121         * help-fns.el (help-with-tutorial): Use minibuffer-completion-help.
11122         (help-split-fundoc): Don't support old syntax any more.
11123         (help-add-fundoc-usage): New fun.
11125         * emacs-lisp/cl-extra.el (cl-push, cl-pop): Remove.
11126         Use pop and push throughout the file instead.
11127         (cl-hash-lookup): Remove.
11128         (cl-make-hash-table, cl-hash-table-p, cl-gethash, cl-puthash)
11129         (cl-remhash, cl-clrhash, cl-maphash, cl-hash-table-count): Simplify.
11131         * emacs-lisp/cl-seq.el (cl-push, cl-pop): Remove.
11132         Use pop and push throughout the file instead.
11134         * emacs-lisp/edebug.el: Don't precompute menu shortcuts during
11135         loading since the current keymaps might be all weird.
11137         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't add properties
11138         to the name since they're added by mode-line-format already.
11139         (define-minor-mode): Run (,mode -1) when needed.
11141         * tar-mode.el (tar-untar-buffer): Handle dir-entries.
11142         (tar-summarize-buffer, tar-mode, tar-extract, tar-copy, tar-expunge)
11143         (tar-alter-one-field, tar-subfile-save-buffer, tar-mode-write-file):
11144         Don't hardcode 1 == point-min.
11146         * abbrev.el (write-abbrev-file): Don't hardcode point-min == 1.
11148         * subr.el (read-key-auxiliary-map): New var.
11149         (read-key): Use it.
11150         (make-temp-file): Make the file have mode 600.
11151         (add-minor-mode): Don't add properties to the name since it's
11152         added by mode-line-format already.
11153         Be more careful with the mode-line-menu entry name.
11155         * userlock.el (ask-user-about-supersession-threat): Don't abort
11156         when the user hits mouse-2.
11158         * register.el (set-register): Use push.
11159         (point-to-register): Set kill-buffer-hook in this buffer.
11160         (register-swap-out): Use dolist.
11161         (kill-buffer-hook): Don't change globally.
11163         * server.el (server-select-display): New function.
11164         (server-process-filter): Add support for `-display' and `-eval' args.
11165         (server-visit-files): Use save-current-buffer, push, and dolist.
11166         Add server-kill-buffer to kill-buffer-hook.
11167         (kill-buffer-hook): Don't modify globally.
11168         (server-switch-buffer): Be a bit more careful with multiple displays.
11169         (server-socket-name): Always use /tmp and non-qualified hostname.
11171         * uniquify.el (uniquify-rationalize-file-buffer-names):
11172         Add to kill-buffer-hook for buffers with conflict.
11173         (rename-buffer): Check kill-buffer-hook to see if there was a conflict.
11174         (uniquify-delay-rationalize-file-buffer-names): Remove useless check.
11175         (kill-buffer-hook): Don't change globally.
11177 2002-09-27  Stefan Monnier  <monnier@cs.yale.edu>.
11179         * calc/calc.el (calc-bug-address, calc-scan-for-dels, calc-stack)
11180         (calc-stack-top, calc-always-load-extensions)
11181         (calc-line-numbering, calc-line-breaking, calc-display-just)
11182         (calc-display-origin, calc-number-radix, calc-leading-zeros)
11183         (calc-group-digits, calc-group-char, calc-point-char)
11184         (calc-frac-format, calc-prefer-frac, calc-hms-format)
11185         (calc-date-format, calc-float-format, calc-complex-format)
11186         (calc-full-float-format, calc-complex-mode, calc-infinite-mode)
11187         (calc-display-strings, calc-matrix-just, calc-break-vectors)
11188         (calc-full-vectors, calc-full-trail-vectors, calc-vector-commas)
11189         (calc-vector-brackets, calc-matrix-brackets, calc-language)
11190         (calc-language-option, calc-function-open, calc-function-open)
11191         (calc-function-close, calc-language-output-filter)
11192         (calc-language-input-filter, calc-radix-formatter)
11193         (calc-left-label, calc-right-label, calc-word-size)
11194         (calc-previous-modulo, calc-simplify-mode, calc-auto-recompute)
11195         (calc-display-raw, calc-internal-prec, calc-inverse-flag)
11196         (calc-hyperbolic-flag, calc-keep-args-flag, calc-angle-mode)
11197         (calc-algebraic-mode, calc-incomplete-algebraic-mode)
11198         (calc-symbolic-mode, calc-matrix-mode, calc-shift-prefix)
11199         (calc-window-height, calc-display-trail, calc-show-selections)
11200         (calc-use-selections, calc-assoc-selections)
11201         (calc-display-working-message, calc-auto-why, calc-timing)
11202         (calc-display-sci-high, calc-display-sci-low, calc-other-modes)
11203         (calc-other-modes, calc-Y-help-msgs, calc-loaded-settings-file):
11204         Make into real defvars.
11205         (calc-mode-var-list): Delete.
11206         (calc-mode-save-mode, calc-standard-date-formats)
11207         (calc-autorange-units, calc-was-keypad-mode, calc-full-mode)
11208         (calc-user-parse-tables, calc-gnuplot-default-device)
11209         (calc-gnuplot-default-output, calc-gnuplot-print-device)
11210         (calc-gnuplot-print-output, calc-gnuplot-geometry)
11211         (calc-graph-default-resolution, calc-graph-default-resolution-3d)
11212         (calc-invocation-macro, calc-show-banner): Make into defvars,
11213         taken from `calc-mode-var-list'.
11214         (calc-emacs-type-epoch, calc-emacs-type-19)
11215         (calc-emacs-type-lucid, calc-emacs-type-gnu19): Make into defvars.
11216         (calc-version, calc-version-date, calc-trail-pointer)
11217         (calc-trail-overlay, calc-undo-list, calc-redo-list)
11218         (calc-main-buffer, calc-trail-buffer, calc-why, calc-next-why)
11219         (calc-inverse-flag, calc-hyperbolic-flag, calc-keep-args-flag)
11220         (calc-last-kill, calc-previous-alg-entry, calc-dollar-values)
11221         (calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
11222         (calc-said-hello, calc-executing-macro, calc-any-selections)
11223         (calc-help-phase, calc-full-help-flag, calc-refresh-count)
11224         (calc-display-dirty, calc-prepared-composition)
11225         (calc-selection-cache-default-entry, calc-embedded-info)
11226         (calc-embedded-active, calc-standalone-flag, var-EvalRules)
11227         (math-eval-rules-cache-tag, math-radix-explicit-format)
11228         (math-expr-function-mapping, math-expr-variable-mapping)
11229         (math-read-expr-quotes, math-working-step, math-working-step-2)
11230         (var-i, var-pi, var-e, var-phi, var-gamma, var-Modes): Make into
11231         defvars, from toplevel setq.
11232         (calc-mode-map): Set up keymap in more modern fashion.
11233         (calc-dispatch-map): Ditto.
11234         (calc-command-flags, calc-final-point-line)
11235         (calc-final-point-column): Defvar.
11236         (calc-do): Use `save-current-buffer' instead of `save-excursion'.
11237         (sel-mode): Defvar.
11238         (calc-any-evaltos): Ditto.
11239         (calc-buffer, calc-prev-char, calc-prev-prev-char)
11240         (calc-digit-value): Ditto.
11241         (math-eval-rules-cache, math-eval-rules-cache-other): Ditto.
11242         (math-sub-bignum): Bind `diff'.
11243         (calc-selection-cache-entry): Defvar.
11244         (calc-count-lines): Reference `pos' instead of `newpos'.
11246 2002-09-27  Simon Josefsson  <jas@extundo.com>
11248         * mail/mail-hist.el (mail-hist-next-input): Fix docstring.
11250 2002-09-26  Richard M. Stallman  <rms@gnu.org>
11252         * mail/unrmail.el (unrmail): Do the work directly,
11253         without actually selecting the messages in the from file.
11254         (unrmail-unprune): New subroutine.
11256         * files.el (backup-buffer): Bind local var MODES.
11257         Don't use renaming for a suid or sgid file.
11258         Use backup-buffer-copy to do copying.
11259         (backup-buffer-copy): New subroutine.
11260         Clear suid and sgid bits for the copy.
11262 2002-09-26  Edward M. Reingold  <reingold@emr.cs.iit.edu>
11264         * calendar/solar.el (solar-equinoxes-solstices):
11265         Use time properly adjusted for DST in the result.
11267 2002-09-26  Richard M. Stallman  <rms@gnu.org>
11269         * follow.el (follow-generic-filter): Simply bind deactivate-mark.
11270         Bind inhibit-read-only; don't mess with buffer-read-only.
11272         * speedbar.el (speedbar-refresh): Simply bind deactivate-mark.
11274 2002-09-26  Luc Teirlinck  <teirllm@mail.auburn.edu>
11276         * ielm.el (inferior-emacs-lisp-mode): Treat the header as
11277         output, if comint-use-prompt-regexp-instead-of-fields is nil.
11279 2002-09-26  John Paul Wallington  <jpw@shootybangbang.com>
11281         * ibuffer.el (ibuffer-update): Call `minibufferp' with argument
11282         instead of within `with-current-buffer'.
11284 2002-09-26  Stephen Eglen  <stephen@gnu.org>
11286         * iswitchb.el (iswitchb-completions): Test that
11287         iswitchb-common-match-string is a string, before printing common
11288         completions.
11290 2002-09-25  Stefan Monnier  <monnier@cs.yale.edu>
11292         * server.el: Use built-in network primitives.
11293         (server-program, server-previous-string): Remove.
11294         (server-previous-strings): New var.
11295         (server-socket-name): New var.
11296         (server-log): Minor change to the output format.
11297         (server-sentinel): Clean up global state when a client disconnects.
11298         (server-unquote-arg): New fun.
11299         (server-start): Use server-socket-name and make-network-process.
11300         (server-process-filter): Now talks to the clients directly.
11301         Normalize file name after unquoting and decoding.
11302         (server-buffer-done): Just close the connection.
11303         (server-switch-buffer): Handle the case where all windows are
11304         dedicated or minibuffers.
11306         * font-lock.el (fast-lock-mode, lazy-lock-mode, jit-lock-mode):
11307         Don't bind them variables.
11308         (font-lock-turn-off-thing-lock, font-lock-after-fontify-buffer)
11309         (font-lock-after-unfontify-buffer): Check that the vars are bound.
11310         (font-lock-dont-widen): New var.
11311         (font-lock-default-fontify-region): Use it.
11313         * emacs-lisp/find-func.el (find-library-name):
11314         Correctly find "file.el.gz" from "file.elc" or "file.elc.gz".
11316 2002-09-25  Kenichi Handa  <handa@etl.go.jp>
11318         * international/mule-cmds.el (select-safe-coding-system):
11319         Handle safe but rejected default coding systems and unsafe default
11320         coding systems differently.
11322         * international/mule-diag.el (list-character-sets): Use the buffer
11323         name "*Character Set List*", not "*Help*".  List also indirectly
11324         supported character sets.
11325         (list-charset-chars): Use the buffer name "*Character List*", not
11326         "*Help*".  Display the current charset name in the modeline.
11327         (non-iso-charset-alist): Add mapped charset list for `mac-roman'.
11328         (sort-listed-character-sets): Don't alter the region showing
11329         indirectly supported charsets.
11331 2002-09-24  Simon Josefsson  <jas@extundo.com>
11333         * mail/mail-extr.el (mail-extr-ignore-single-names): Change default.
11334         (mail-extract-address-components): Doc fix.
11336 2002-09-24  Markus Rost  <rost@math.ohio-state.edu>
11338         * simple.el (edit-and-eval-command): Protect command-history.
11339         (repeat-complex-command): Protect command-history.
11341 2002-09-24  Juanma Barranquero  <lektu@terra.es>
11343         * replace.el (occur-find-match): New function.
11344         (occur-next, occur-prev): Use it.
11346         * progmodes/sh-script.el (sh-mark-init): Don't set `occur-buffer'.
11347         (sh-mark-line): Likewise. Use 'occur-target and 'occur-match
11348         instead of 'occur and 'occur-point.
11350         * eshell/em-unix.el (eshell-occur-mode-mouse-goto)
11351         (eshell-poor-mans-grep): Remove references to `occur-buffer'.
11353 2002-09-24  Stefan Monnier  <monnier@cs.yale.edu>
11355         * descr-text.el (describe-text-category): Use *Help*.
11356         Don't kill-buffer.
11357         (describe-text-properties, describe-char):
11358         Delay self-inspection test.  Use *Help*.
11359         Use syntax-after.  Use `pos' rather than (point).
11360         Distinguish the before/after part of a composition.
11362 2002-09-23  Kenichi Handa  <handa@etl.go.jp>
11364         * international/quail.el (quail-completion): Be sure to scroll
11365         quail-completion-buf.
11367 2002-09-23  Richard M. Stallman  <rms@gnu.org>
11369         * ielm.el (*1): Fix previous change.
11371 2002-09-23  Juanma Barranquero  <lektu@terra.es>
11373         * net/tramp.el (tramp-unified-filenames): Autoload it.
11375 2002-09-23  Michael Kifer  <kifer@cs.stonybrook.edu>
11377         * ediff-init.el (ediff-get-next-window): Bug fix.
11379 2002-09-22  Oliver Scholz  <alkibiades@gmx.de>
11381         * play/gamegrid.el (gamegrid-face): New variable to emulate a
11382         buffer-local default face.
11383         (gamegrid-xbm): New variable; XBM image as a replacement for
11384         `gamegrid-xpm' on Emacsen compiled without XPM-support.
11385         (gamegrid-colorize-glyph): Ported XEmacs-code for the generation
11386         of images to Emacs.
11387         (gamegrid-match-spec): Call `gamegrid-make-image-from-vector' to
11388         convert XEmacs-type image descriptors.
11389         (gamegrid-color-display-p): Remove (use `display-colors-p' instead.)
11390         (gamegrid-make-image-from-vector): New function.  Convert XEmacs'
11391         image descriptors.
11392         (gamegrid-display-type): Use Emacs' standard `display-.*-p'
11393         functions to check for display capabilities.  Fix the recognition
11394         of image-support in Emacs 21 by this way.
11395         (gamegrid-hide-cursor): Removed.
11396         (gamegrid-setup-default-font): Ported the code from XEmacs to
11397         Emacs: create a new face and assign the variable `gamegrid-face'
11398         to it.  Make sure that the face is not higher than the smallest
11399         image used by the game.
11400         (gamegrid-initialize-display): Use `(setq cursor-type nil)'
11401         instead of `gamegrid-hide-cursor'.
11402         (gamegrid-set-face): If `gamegrid-display-mode' is 'glyph, put an
11403         image in the buffer, instead of applying a face.  [This is because
11404         Emacs display-tables are not as capable as the display-tables in
11405         XEmacs.  Maybe this function should be renamed to reflect the change?]
11406         (gamegrid-init-buffer): If `gamegrid-display-mode' is 'glyph, put
11407         the face held by `gamegrid-face' in an overlay over the whole
11408         buffer to emulate a buffer-local default-face.
11410 2002-09-22  Markus Triska  <triska@gmx.at>  (iny change)
11412         * play/doctor.el (doctor-doc): Add 2 question words.
11413         (doctor-getnoun): Parse and save the complete object phrase.
11415 2002-09-22  Richard M. Stallman  <rms@gnu.org>
11417         * international/mule-cmds.el (select-safe-coding-system): Cope if
11418         default-coding-system gives nil which was then used in `min'.
11420         * mail/sendmail.el (sendmail-send-it): If user's buffer
11421         is unibyte, make tembuf unibyte.
11423 2002-09-22  Kai Gro\e,A_\e(Bjohann  <grossjoh@ls6.informatik.uni-dortmund.de>
11425         * net/tramp.el: Version 2.0.22 released.
11426         (tramp-parse-rhosts, tramp-parse-shosts)
11427         (tramp-parse-hosts, tramp-parse-passwd): Apply `push' but
11428         `add-to-list' for performance reasons.
11429         (tramp-get-completion-user-host): Return `nil' in case both `user'
11430         and 'host' are empty (not necessarily `nil'.
11431         (tramp-parse-netrc, tramp-parse-netrc-group): New functions.
11432         (tramp-user-regexp): " \t" are not user regexp characters.
11433         (tramp-completion-handle-file-name-all-completions):
11434         Remove Ange-FTP cmpletion. It has a bug not handling the "/ftp:" prefix
11435         completely, and it returns local completions as well.
11436         (tramp-completion-function-alist-ftp): New constant.
11437         (tramp-completion-function-alist): Add completion function for "ftp".
11438         From Michael Albinus <Michael.Albinus@alcatel.de>.
11440 2002-09-22  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11442         * net/tramp.el: Version 2.0.21 released.
11443         (tramp-handle-file-newer-than-file-p): If mtime of both files is
11444         known, return a useful result.  Better error message in case one
11445         is a Tramp file and one isn't.
11446         (tramp-handle-file-local-copy, tramp-handle-write-region)
11447         (tramp-find-shell, tramp-open-connection-telnet)
11448         (tramp-open-connection-rsh, tramp-open-connection-su)
11449         (tramp-open-connection-setup-interactive-shell)
11450         (tramp-post-connection, tramp-maybe-open-connection)
11451         (tramp-method-out-of-band-p): Correct number of args for
11452         `tramp-get-rsh-program' and similar functions.
11454 2002-09-22  Kai Gro\e,A_\e(Bjohann  <grossjoh@ls6.informatik.uni-dortmund.de>
11456         * net/tramp.el: Version 2.0.20 released.
11458 2002-09-20  Kai Gro\e,A_\e(Bjohann  <grossjoh@ls6.informatik.uni-dortmund.de>
11460         * net/tramp.el (tramp-completion-function-alist): Escape open
11461         paren in docstring.
11462         (tramp-user-regexp, tramp-host-regexp): Allow empty strings.
11463         (tramp-handle-insert-file-contents): Call tramp-message-for-buffer
11464         instead of tramp-message.
11465         (tramp-open-connection-rsh): Handle empty string as user name.
11466         (tramp-open-connection-su): Handle empty string as host name.
11467         Handle nil user name.
11468         (tramp-handle-file-local-copy, tramp-handle-write-region)
11469         (tramp-completion-handle-file-name-all-completions)
11470         (tramp-open-connection-telnet, tramp-open-connection-rsh)
11471         (tramp-open-connection-su, tramp-post-connection)
11472         (tramp-maybe-open-connection, tramp-method-out-of-band-p)
11473         (tramp-get-connection-function, tramp-get-remote-sh)
11474         (tramp-get-rsh-program, tramp-get-rsh-args)
11475         (tramp-get-rcp-program, tramp-get-rcp-args)
11476         (tramp-get-rcp-keep-date-arg, tramp-get-su-program)
11477         (tramp-get-su-args, tramp-get-telnet-program)
11478         (tramp-get-telnet-args): Use `tramp-find-method', perhaps require
11479         additional args USER, HOST.
11480         (tramp-action-password, tramp-open-connection-telnet)
11481         (tramp-open-connection-su, tramp-open-connection-multi)
11482         (tramp-method-out-of-band-p): `tramp-method-out-of-band-p' now
11483         takes USER and HOST arguments, to be able to use
11484         `tramp-find-method'.  Update callers.
11485         (tramp-find-method): New function.
11487 2002-09-20  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11489         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
11490         in SWITCHES (by removing it).
11492 2002-09-18  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11494         * net/tramp.el (tramp-file-name-handler): Add `file-remote-p' property.
11496 2002-09-17  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11498         * net/tramp.el (top-level): Maybe autoload uudecode-decode-region.
11500 2002-09-16  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11502         * net/tramp.el (tramp-bug): Add tramp-methods.
11504 2002-09-16  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11506         * net/tramp.el (tramp-methods): Update docstring:
11507         tramp-encoding-command, tramp-decoding-command,
11508         tramp-encoding-function and tramp-decoding-function are not
11509         parameters anymore.
11510         (tramp-uuencode-region): Autoload it.
11512 2002-09-13  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11514         * net/tramp.el: Version 2.0.19 released.
11516         * net/tramp-uu.el: New file, implements uuencode in Lisp.
11518         * net/tramp.el (tramp-coding-commands):
11519         Use `tramp-uuencode-region' as local encoder for the uuencode based
11520         entries.
11522 2002-09-13  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11524         * net/tramp.el (tramp-handle-write-region): Wrong parens.
11526 2002-09-13  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11528         * net/tramp.el: Version 2.0.18 released.
11530         * net/tramp.el (tramp-perl-decode): Perl changes to accomodate
11531         older versions of Perl.  Now tested with 5.004.  Suggestion from
11532         Michael Albinus.
11534 2002-09-12  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11536         * net/tramp.el (tramp-find-inline-encoding):
11537         Call tramp-call-local-coding-command with nil for INPUT and OUTPUT.
11538         (tramp-call-local-coding-command): OUTPUT equals nil means to
11539         discard the output.  INPUT equals nil means /dev/null.
11541 2002-09-12  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11543         * net/tramp.el (tramp-encoding-shell): Default to environment
11544         variable COMSPEC on Windows.
11545         (tramp-handle-write-region): More debugging output.
11546         (tramp-find-inline-encoding): Ditto.
11548 2002-09-11  Michael Albinus  <Michael.Albinus@alcatel.de>
11550         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11551         Define `result1'.
11552         (tramp-parse-hosts-group): Discard IPv6 entries.
11554 2002-09-11  Kai Gro\e,A_\e(Bjohann  <grossjoh@ls6.informatik.uni-dortmund.de>
11556         * net/tramp.el (tramp-post-connection): Only send Perl
11557         mime-encode/decode implementations when using inline method.
11558         (tramp-handle-file-local-copy)
11559         (tramp-handle-write-region, tramp-post-connection)
11560         (tramp-coding-commands, tramp-find-inline-encoding): For the
11561         inline encodings, distinguish between local and remote commands,
11562         instead of between commands and functions.  (The local commands
11563         can be functions, too.)  If the local host is a Windows machine,
11564         we can't expect the same commands to work there as on the remote host.
11565         (tramp-call-local-coding-command): New function for calling local
11566         encoding and decoding commands.
11567         (tramp-set-remote-encoding, tramp-get-remote-encoding)
11568         (tramp-set-remote-decoding, tramp-get-remote-decoding)
11569         (tramp-set-local-encoding, tramp-get-local-encoding)
11570         (tramp-set-local-decoding, tramp-get-local-decoding): New functions.
11571         (tramp-get-encoding-command, tramp-set-encoding-command)
11572         (tramp-get-decoding-command, tramp-set-decoding-command)
11573         (tramp-get-encoding-function, tramp-set-encoding-function)
11574         (tramp-get-decoding-function, tramp-set-decoding-function):
11575         Old functions, removed.
11577 2002-09-10  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11579         * net/tramp.el (tramp-open-connection-setup-interactive-shell):
11580         Change command to invoke /bin/sh slightly to make it compatible
11581         with the `rc' shell.  Suggested by Daniel Pittman.
11583 2002-09-10  Michael Albinus  <Michael.Albinus@alcatel.de>
11585         * net/tramp.el (tramp-handle-write-region): Added missing
11586         `)'.  Hope it's the right place.
11588 2002-09-09  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11590         * net/tramp.el (tramp-open-connection-setup-interactive-shell):
11591         Do "exec env PS1='$ ' /bin/sh" instead of just "exec /bin/sh" in
11592         order to get a sane shell prompt.  If people have ${CWD}, say, in
11593         their shell prompt, then the default login shell might display
11594         something harmless, but the /bin/sh will display a dollar sign
11595         which confused the subsequent prompt recognition.
11596         (tramp-multi-action-password): More debugging output.
11597         (tramp-encoding-shell): Renamed from tramp-sh-program.
11598         More documentation.  Default to cmd.exe on Windows NT.
11599         (tramp-encoding-command-switch): New variable.  Use instead of
11600         hard-wired "-c" which is only good for /bin/sh.
11601         (tramp-encoding-reads-stdin): New variable.  If t, commands are
11602         called like "/bin/sh -c COMMAND <INPUT", if nil, they are called
11603         like "/bin/sh -c COMMAND INPUT", ie the input file is the last arg.
11604         (tramp-multi-sh-program): Always default to tramp-encoding-shell.
11605         (tramp-handle-file-local-copy, tramp-handle-write-region):
11606         Respect tramp-encoding-shell and friends.
11607         (tramp-find-inline-encoding): Use new-style calls for checking if
11608         the local commands work.
11610 2002-09-07  Michael Albinus  <Michael.Albinus@alcatel.de>
11612         * net/tramp.el (tramp-methods): Remove `tramp-completion-function'
11613         entries. They are handled now by `tramp-completion-function-alist'.
11614         (tramp-completion-function): Defvar removed. I've never used
11615         it. Hmm.
11616         (tramp-get-completion-function)
11617         (tramp-get-completion-rsh, tramp-get-completion-ssh)
11618         (tramp-get-completion-telnet, tramp-get-completion-su):
11619         Functions removed as well.  Not necessary any longer due to extended
11620         customization means.
11621         (tramp-completion-function-alist): New defcustom. Holds all
11622         FUNCTION FILE pairs used for user and host name completion
11623         relevant for METHOD.
11624         (tramp-completion-function-alist-rsh)
11625         (tramp-completion-function-alist-ssh)
11626         (tramp-completion-function-alist-telnet)
11627         (tramp-completion-function-alist-su): Defconst for initializing
11628         `tramp-completion-function-alist'. Unfortunately, mainly UNIX-like
11629         values are known for me until now. Needs to be completed for at
11630         least VMS++ like operating systems.
11631         (tramp-set-completion-function)
11632         (tramp-get-completion-function): New functions for configuration
11633         of `tramp-completion-function-alist'. The old definition of
11634         `tramp-get-completion-function' has been discarded.
11635         (tramp-completion-handle-file-name-all-completions):
11636         Change function call for user/host completion according to definition
11637         in `tramp-completion-function-alist'.
11638         (tramp-parse-passwd): Added exception handling for "root", because
11639         `tramp-get-completion-su' (the previous place for this stuff)
11640         doesn't exist any longer.
11642 2002-09-07  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11644         * net/tramp.el (tramp-enter-password):
11645         Use `tramp-password-end-of-line' to terminate the line.
11646         (tramp-bug): Include new variable `tramp-password-end-of-line'.
11647         (tramp-password-end-of-line): New variable.  People who use plink
11648         under Windows might have to issue "\r\n" after the password, but
11649         they need to send just "\n" after the other commands.  So this
11650         variable was introduced to complement `tramp-rsh-end-of-line'.
11651         (tramp-wait-for-output, tramp-post-connection): Allow "\r" at end
11652         of line of the output delimiter.
11654 2002-09-06  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11656         * net/tramp.el (tramp-handle-file-local-copy, tramp-find-shell)
11657         (tramp-open-connection-setup-interactive-shell): Add some comments
11658         about Douglas Grey Stephen's suggestions to make Tramp work better
11659         with plink under Windows.  I'm not sure what to think of them, but
11660         now I have a guinea pig to try it out on.  Said guinea pig is
11661         having other problems, though...  Also remove some commented-out code.
11663 2002-09-06  Michael Albinus  <Michael.Albinus@alcatel.de>
11665         * net/tramp.el (tramp-get-completion-methods): Algorithm slightly
11666         tuned.
11667         (tramp-get-completion-user-host): Accept user names as they are if
11668         typed until "@".
11669         (tramp-completion-mode): Replace `last-input-char' by modern
11670         `last-input-event'. Check for `event-modifiers'.
11672 2002-09-06  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11674         * net/tramp.el (file-expand-wildcards): Corrected check to see if
11675         advising is necessary.
11677 2002-09-05  Michael Albinus  <Michael.Albinus@alcatel.de>
11679         * net/tramp.el (tramp-postfix-single-method-format)
11680         (tramp-postfix-multi-method-format)
11681         (tramp-postfix-multi-hop-format)
11682         (tramp-postfix-user-format): New format strings.
11683         (tramp-postfix-single-method-regexp)
11684         (tramp-postfix-multi-method-regexp)
11685         (tramp-postfix-multi-hop-regexp)
11686         (tramp-postfix-user-regexp)
11687         (tramp-make-multi-tramp-file-format)
11688         (tramp-make-tramp-file-name): Apply them.
11689         (tramp-completion-handle-file-name-all-completions): Fix for
11690         invoking ange-ftp in case of "/ftp:xxx" file names.
11692 2002-09-04  Michael Albinus  <Michael.Albinus@alcatel.de>
11694         * net/tramp.el (tramp-prefix-format)
11695         (tramp-postfix-host-format): New format strings.
11696         (tramp-prefix-regexp, tramp-method-regexp)
11697         (tramp-postfix-single-method-regexp)
11698         (tramp-postfix-multi-method-regexp)
11699         (tramp-postfix-multi-hop-regexp)
11700         (tramp-user-regexp, tramp-postfix-user-regexp)
11701         (tramp-host-regexp, tramp-postfix-host-regexp)
11702         (tramp-path-regexp): New atomar regular expressions.
11703         If corresponding format strings exist, derived from them.
11704         (tramp-file-name-structure)
11705         (tramp-multi-file-name-structure)
11706         (tramp-multi-file-name-hop-structure)
11707         (tramp-make-multi-tramp-file-format)
11708         (tramp-completion-mode)
11709         (tramp-completion-dissect-file-name)
11710         (tramp-parse-rhosts-group)
11711         (tramp-parse-shosts-group)
11712         (tramp-parse-hosts-group)
11713         (tramp-parse-passwd-group): Apply these expressions.
11714         (tramp-file-name-structure-unified)
11715         (tramp-file-name-structure-separate)
11716         (tramp-make-tramp-file-format-unified)
11717         (tramp-make-tramp-file-format-separate)
11718         (tramp-make-tramp-file-format)
11719         (tramp-make-tramp-file-user-nil-format-unified)
11720         (tramp-make-tramp-file-user-nil-format-separate)
11721         (tramp-make-tramp-file-user-nil-format)
11722         (tramp-multi-file-name-structure-unified)
11723         (tramp-multi-file-name-structure-separate)
11724         (tramp-multi-file-name-hop-structure-unified)
11725         (tramp-multi-file-name-hop-structure-separate)
11726         (tramp-make-multi-tramp-file-format-unified)
11727         (tramp-make-multi-tramp-file-format-separate): Removed.
11728         (tramp-make-tramp-file-name): Allow partial tramp file
11729         names. Generate tramp file format on-the-fly depending on
11730         parameters. Apply atomar format strings resp expressions.
11731         (tramp-get-completion-methods)
11732         (tramp-get-completion-user-host): Apply `tramp-make-tramp-file-name'.
11733         (tramp-parse-hosts-group): Take all host names and IP addresses
11734         into account.
11735         (tramp-bug): Remove `tramp-make-tramp-file-format'.
11737 2002-09-01  Michael Albinus  <Michael.Albinus@alcatel.de>
11739         * net/tramp.el (tramp-methods): Add `tramp-completion-function'
11740         for "su" and "sudo".
11741         (tramp-get-completion-telnet): Implement it.
11742         (tramp-parse-hosts)
11743         (tramp-parse-hosts-group)
11744         (tramp-get-completion-su)
11745         (tramp-parse-passwd)
11746         (tramp-parse-passwd-group): New functions.
11748 2002-08-31  Michael Albinus  <Michael.Albinus@alcatel.de>
11750         * net/tramp.el (tramp-completion-mode): Check for `last-input-char'.
11751         (tramp-completion-file-name-handler-alist): Add handler for
11752         `file-exists-p.
11753         (tramp-completion-handle-file-exists-p): New function.
11754         (tramp-completion-handle-file-name-completion): Simplified.
11755         (tramp-completion-dissect-file-name): Regexp's reorganised.
11756         (tramp-completion-handle-file-name-all-completions):
11757         Call completion-function only if `user' or `host' is given.
11758         (tramp-get-completion-user-host): New function.
11759         (tramp-get-completion-rsh)
11760         (tramp-get-completion-ssh): Apply it.
11762 2002-08-29  Michael Albinus  <Michael.Albinus@alcatel.de>
11764         * net/tramp.el (tramp-completion-file-name-handler-alist):
11765         Add handler for `expand-file-name'.
11766         (tramp-completion-handle-expand-file-name): New function.
11768 2002-08-26  Michael Albinus  <Michael.Albinus@alcatel.de>
11770         * net/tramp.el (tramp-completion-mode): New function.
11771         (tramp-completion-handle-file-name-directory)
11772         (tramp-completion-handle-file-name-all-completions): Apply it.
11773         (tramp-methods): Remove double definition of `ssh1-old' and `ssh2-old'.
11774         (tramp-point-at-eol): New defalias.
11775         (tramp-parse-rhosts-group)
11776         (tramp-parse-shosts-group):: Apply it.
11778 2002-08-25  Michael Albinus  <Michael.Albinus@alcatel.de>
11780         * net/tramp.el (tramp-get-completion-methods)
11781         (tramp-get-completion-rsh)
11782         (tramp-get-completion-ssh): Add "[" for Xemacs.
11783         (tramp-completion-file-name-regexp-separate): Expression adapted.
11784         (tramp-completion-file-name-handler-alist): Add handler for
11785         `file-name-directory' and `file-name-nondirectory'.
11786         (tramp-completion-handle-file-name-directory)
11787         (tramp-completion-handle-file-name-nondirectory)
11788         (tramp-completion-run-real-handler): New functions.
11789         (tramp-completion-file-name-handler)
11790         (tramp-completion-handle-file-name-all-completions):
11791         Apply `tramp-completion-run-real-handler'.
11792         (tramp-parse-rhosts)
11793         (tramp-parse-shosts): Use `with-temp-buffer'. `result\e$,1!=\e(B renamed to
11794         `res' (otherwise side effects in XEmacs).
11796 2002-08-24  Michael Albinus  <Michael.Albinus@alcatel.de>
11798         * net/tramp.el (tramp-completion-file-name-regexp)
11799         (tramp-completion-file-name-handler-alist)
11800         (tramp-flatten-list)
11801         (tramp-completion-dissect-file-name)
11802         (tramp-get-completion-rsh)
11803         (tramp-parse-rhosts)
11804         (tramp-parse-rhosts-group)
11805         (tramp-get-completion-ssh): Doc string tuned.
11806         (tramp-methods): Doc string and custom type extended for
11807         `tramp-completion-function'.
11808         (tramp-completion-function): Variable added. Is it really used?
11809         Other variables like `tramp-completion-function' aren't used.
11810         (tramp-completion-file-name-handler-alist): Add handler for
11811         `file-name-completion'.
11812         (tramp-completion-handle-file-name-completion): New function.
11814 2002-08-18  Michael Albinus  <Michael.Albinus@alcatel.de>
11816         * net/tramp.el (tramp-parse-rhosts)
11817         (tramp-parse-rhosts-group)
11818         (tramp-parse-shosts)
11819         (tramp-parse-shosts-group): New functions.
11821 2002-08-17  Michael Albinus  <Michael.Albinus@alcatel.de>
11823         * net/tramp.el (tramp-completion-dissect-file-name)
11824         (tramp-completion-dissect-file-name1): New functions.
11826 2002-08-16  Michael Albinus  <Michael.Albinus@alcatel.de>
11828         * net/tramp.el (tramp-get-completion-function)
11829         (tramp-get-completion-rsh)
11830         (tramp-get-completion-ssh)
11831         (tramp-get-completion-telnet): New functions.
11832         (tramp-methods): Add `tramp-completion-function' for all methods.
11834 2002-08-15  Michael Albinus  <Michael.Albinus@alcatel.de>
11836         * net/tramp.el (tramp-get-completion-methods): New function.
11837         (tramp-find-default-method): Allow host to be nil (like user).
11839 2002-08-14  Michael Albinus  <Michael.Albinus@alcatel.de>
11841         * net/tramp.el (tramp-completion-file-name-regexp-unified)
11842         (tramp-completion-file-name-regexp-separate)
11843         (tramp-completion-file-name-regexp)
11844         (tramp-completion-file-name-handler-alist): New defcustoms.
11845         (tramp-completion-file-name-handler): New function.
11846         Add `tramp-completion-file-name-handler' to `file-name-handler-alist'.
11847         (tramp-run-real-handler): Add `tramp-completion-file-name-handler'
11848         to `inhibit-file-name-handlers'.
11849         (tramp-completion-handle-file-name-all-completions)
11850         (tramp-completion-handle-file-name-completion): New functions.
11852 2002-08-12  Michael Albinus  <Michael.Albinus@alcatel.de>
11854         * net/tramp.el (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp'
11855         must be called again after activating `ange-ftp'.
11856         (tramp-ange-ftp-file-name-p): Check for Xemacs.
11858 2002-08-08  Michael Albinus  <Michael.Albinus@alcatel.de>
11860         * net/tramp.el (tramp-do-copy-or-rename-file): Don't pass
11861         KEEP-DATE to tramp-invoke-ange-ftp 'rename.
11862         (tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to
11863         tramp-invoke-ange-ftp 'write-region.
11864         (tramp-handle-set-file-modes): Change order of FILENAME and MODE
11865         passing to tramp-invoke-ange-ftp 'set-file-modes.
11866         (tramp-flatten-list): New function. Maybe this functionality does
11867         exist already elsewhere in the libraries.
11868         (tramp-invoke-ange-ftp): Apply `tramp-flatten-list' to parameter
11869         list in order to avoid nested lists, f.e. when invoked from
11870         `tramp-handle-dired-call-process'.
11872 2002-09-05  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11874         * net/tramp.el (tramp-chunksize): New kluge variable.
11875         (tramp-send-region): If tramp-chunksize is non-nil, send region in
11876         parts and sleep 0.1 seconds between chunks.
11878 2002-09-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11880         * net/tramp.el (tramp-handle-insert-directory):
11881         Use `insert-buffer-substring' instead of `insert-buffer', which is not
11882         supposed to be used from Lisp.  Remember old point in a variable
11883         instead of using `mark'.  Suggestion from Stefan Monnier.
11884         (tramp-unified-filenames): New variable.  Use it in default value
11885         of other filename variables.
11886         (file-expand-wildcards): Don't advise unless "[" and "]" are used
11887         in the filename format.
11889 2002-09-01  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
11891         * net/tramp.el (tramp-methods): Remove duplicate definition of
11892         ssh1-old and ssh2-old.
11894 2002-09-22  Kai Gro\e,A_\e(Bjohann  <grossjoh@ls6.informatik.uni-dortmund.de>
11896         * dired.el (dired-insert-directory): Always add "--dired" to to
11897         SWITCHES for remote files.
11898         * files.el (insert-directory): Comment saying that "--dired"
11899         might be in the SWITCHES.
11900         * net/ange-ftp.el (ange-ftp-ls): Handle "--dired" in LSARGS.
11901         (ange-ftp-insert-directory): Comment explaining "--dired" handling.
11903 2002-09-21  Markus Rost  <rost@math.ohio-state.edu>
11905         * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Give %!._-
11906         word constituent syntax.
11908 2002-09-21  Richard M. Stallman  <rms@gnu.org>
11910         * cus-dep.el (custom-make-dependencies): Bind to t
11911         around evaluating the def-form.
11913         * custom.el (custom-dont-initialize): New variable.
11914         (custom-declare-variable): Don't init the variable
11915         if custom-dont-initialize is non-nil.
11917 2002-09-21  John Paul Wallington  <jpw@shootybangbang.com>
11919         * net/eudc.el (eudc-install-menu): Use `define-key' and
11920         `easy-menu-create-menu' to avoid duplication of menu.
11922 2002-09-20  Kim F. Storm  <storm@cua.dk>
11924         * kmacro.el (kmacro-step-edit-query): Use RET to execute rest of
11925         macro and terminate editing.
11926         (kmacro-step-edit-macro): Push previous macro onto ring if changed
11927         by step editing.
11929 2002-09-19  Tom Tromey  <tromey@redhat.com>
11931         * play/blackbox.el (bb-right): Respect prefix argument.
11932         (bb-left, bb-up, bb-down): Likewise.
11934 2002-09-19  Richard M. Stallman  <rms@gnu.org>
11936         * cus-dep.el (custom-make-dependencies): Fix previous change.
11938 2002-09-19  Juanma Barranquero  <lektu@terra.es>
11940         * ielm.el (ielm-eval-input): Call `error-message-string' instead
11941         of the non-existent `ielm-format-error'.
11943 2002-09-19  Stefan Monnier  <monnier@cs.yale.edu>
11945         * emacs-lisp/easymenu.el (easy-menu-remove):
11946         * emacs-lisp/ewoc.el (ewoc--node-branch): Add docstring.
11948         * international/mule-diag.el (describe-coding-system):
11949         Remove unused `coding-spec' variable.
11950         (list-input-methods): Be more careful when setting up the help buffer.
11952         * international/ucs-tables.el (unify-8859-on-encoding-mode):
11953         Set init value to t to reflect reality.
11954         (ucs-minibuffer-setup): Use minibuffer-selected-window.
11956 2002-09-18  Stefan Monnier  <monnier@cs.yale.edu>
11958         * progmodes/make-mode.el (makefile-cleanup-continuations-p):
11959         Rename to makefile-cleanup-continuations.
11960         (makefile-mode): Use write-file-functions.
11961         (makefile-fill-paragraph): Use match-string-no-properties.
11962         (makefile-fill-paragraph): Use line-end-position.
11963         (makefile-add-log-defun): Simplify.
11965 2002-09-18  Richard M. Stallman  <rms@gnu.org>
11967         * dired.el (dired-mark-pop-up): Doc fix.
11969         * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): Put the
11970         definition straight into loaddefs.el as well as executing it here.
11972 2002-09-18  Colin Walters  <walters@debian.org>
11974         * calc/calc.el (calc-mode): Add font-lock-defontify to
11975         change-major-mode-hook.
11977 2002-09-18  Richard M. Stallman  <rms@gnu.org>
11979         * Makefile.in (bootstrap-clean): Use cd to shorten arg strings.
11980         Don't ignore errors in rm line.
11982         * menu-bar.el (menu-bar-search-menu): Nicer help string.
11984         * replace.el (occur-engine-add-prefix): Use 7 spaces.
11985         (occur-engine): Use 7 digits to align tabs in the data.
11987         * emacs-lisp/bytecomp.el (byte-compile-output-docform):
11988         Don't make the definition dynamic if it shares structure
11989         with the arg list.
11991         * gud.el (gud-pdb-marker-regexp): Allow : and \ in file name.
11992         (pdb): In gud-remove, pass down the file name.
11994         * cus-dep.el (custom-make-dependencies): Sort MEMBERS before use.
11996 2002-09-18  Luc Teirlinck  <teirllm@mail.auburn.edu>
11998         * ielm.el: (*1, *2, *3): New variables.
11999         (ielm-eval-input): Make temporary buffers current on entry and
12000         exit to the let bindings for *, ** and ***.
12001         (inferior-emacs-lisp-mode): Mention *1, *2 and *3 in the docstring.
12002         Do not overrule global bindings for *, ** and ***.
12004 2002-09-18  Tom Tromey  <tromey@redhat.com>
12006         * progmodes/make-mode.el (makefile-fill-paragraph): Find comment
12007         boundaries before filling.
12009 2002-09-18  Stefan Monnier  <monnier@cs.yale.edu>
12011         * server.el (server-done): Fix harmlessly wrong arg to save-buffer.
12012         (server-switch-buffer): Only select a different window if
12013         next-buffer is non-nil.  Don't switch in a dedicated window.
12014         If next-buffer is already displayed, reuse that window.
12016         * diff-mode.el (diff-mode): Use compilation-minor-mode.
12017         Don't unbind compilation-last-buffer after autoloading compile.el.
12018         Hide the compilation-minor-mode bindings altogether.
12020 2002-09-18  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12022         * dired.el (dired-insert-directory): Never add "--dired" when
12023         listing remote directories.
12025 2002-09-18  Michael Kifer  <kifer@cs.stonybrook.edu>
12027         * ediff-hooks.el: Put back the autoloads (for XEmacs compatibility).
12029         * ediff-init.el: Use defalias instead of fset.
12031         * ediff-util.el: Use defalias instead of fset.
12033         * viper-util.el (viper-chars-in-region): Simplification.
12035         * viper.el (viper-emacs-state-mode-list): Added modes.
12037 2002-09-18  Jonathan Yavner  <jyavner@engineer.com>
12039         * emacs-lisp/testcover.el: New file.  Uses edebug to instrument a
12040         module of code, with graphical display of poor-coverage spots.
12042         * emacs-lisp/testcover-ses.el: New file.  Demonstrates use of
12043         testcover on a interactive module like ses.
12045         * emacs-lisp/testcover-unsafep.el: New file.  Demonstrates use of
12046         testcover on a noninteractive module like unsafep.
12048 2002-09-18  Miles Bader  <miles@gnu.org>
12050         * diff-mode.el (diff-mode): Don't evaluate `compilation-last-buffer'
12051         unless it's bound.
12053 2002-09-17  Stefan Monnier  <monnier@cs.yale.edu>
12055         * server.el (server-log): Add `client' arg.
12056         (server-start): Don't bother canceling the sentinel.
12057         (server-process-filter): Use replace-regexp-in-string and
12058         handle the new &n quoting.  Use push.  Use server-log's new arg.
12059         Don't output the C-x # message if `nowait'.
12060         (server-buffer-done): Use server-log's new arg.
12062 2002-09-16  Jonathan Yavner  <jyavner@engineer.com>
12064         * ses.el: New file.
12066         * emacs-lisp/unsafep.el: New file.
12068         * files.el (auto-mode-alist): Add ".ses" for ses-mode.
12069         (inhibit-quit): This is risky for unsafep, doesn't matter much for
12070         anybody else.
12071         (risky-local-variable-p): New function.  Split off from
12072         hack-one-local-variable so unsafep can use it.  Add \|-history$ to
12073         the list of disallowed local variable names (malicious user could
12074         stuff a `display' property in there that would be activated when
12075         na\e,Ao\e(Bve user called up the history).
12077 2002-09-16  Markus Rost  <rost@math.ohio-state.edu>
12079         * ls-lisp.el (ls-lisp-format-time-list): Fix type and provide :tag's.
12081 2002-09-16  Richard M. Stallman  <rms@gnu.org>
12083         * play/gomoku.el (gomoku-move-up, gomoku-move-down):
12084         Use forward-line and move-to-column.
12086         * cus-edit.el (custom-variable-backup-value): New function.
12087         (custom-variable-reset-backup): New function.
12088         (custom-variable-menu): Add item for custom-variable-reset-backup.
12089         (custom-variable-set, custom-variable-reset-saved)
12090         (custom-variable-reset-standard): Call custom-variable-backup-value.
12092 2002-09-16  Stefan Monnier  <monnier@cs.yale.edu>
12094         * dired.el (dired-font-lock-keywords): Use regexp-opt.
12095         (dired-move-to-filename): Better message when we fail to find the file.
12096         (dired-sort-toggle): Minor optimization.
12098 2002-09-16  Juanma Barranquero  <lektu@terra.es>
12100         * dired-aux.el (dired-add-entry): Add missing argument to
12101         `dired-mark'.
12103 2002-09-16  John Paul Wallington  <jpw@shootybangbang.com>
12105         * xscheme.el (scheme-interaction-mode): Doc fix.
12107         * net/eudc.el (eudc-plist-get): Doc fix.
12109 2002-09-16  Kim F. Storm  <storm@cua.dk>
12111         * menu-bar.el (menu-bar-last-search-type): New var.
12112         (nonincremental-repeat-search-forward)
12113         (nonincremental-repeat-search-backward): Repeat string or
12114         regexp search depending on menu-bar-last-search-type.
12115         (nonincremental-search-forward, nonincremental-re-search-forward)
12116         (nonincremental-search-backward, nonincremental-re-search-backward):
12117         Set menu-bar-last-search-type to string or regexp.
12118         (nonincremental-repeat-re-search-forward): Removed.
12119         (nonincremental-repeat-re-search-backward): Removed.
12120         (menu-bar-replace-menu): New keymap for "Edit->Replace" submenu.
12121         (menu-bar-i-search-menu): New keymap for "Incremental Search" submenu.
12122         (menu-bar-adv-search-menu): Removed.
12123         (menu-bar-search-menu): Reorganized.
12124         (menu-bar-edit-menu): Added "Replace" submenu.
12126 2002-09-15  Richard M. Stallman  <rms@gnu.org>
12128         * scroll-bar.el (scroll-bar-mode): Specify :initialize.
12130         * menu-bar.el (menu-bar-make-mm-toggle): Don't put a quote befor FNAME
12131         when it's not being evaluated.
12133 2002-09-15  Markus Rost  <rost@math.ohio-state.edu>
12135         * dired.el (dired-move-to-filename): Fix previous change.
12137 2002-09-14  Kim F. Storm  <storm@cua.dk>
12139         * emulation/keypad.el (keypad-setup, keypad-shifted-setup)
12140         (keypad-numlock-setup, keypad-numlock-shifted-setup):
12141         Change `Remove Binding' option to `Unspecified/User-defined'.
12142         (keypad-setup): Enhance explanation of setup type `none'.
12144 2002-09-14  Richard M. Stallman  <rms@gnu.org>
12146         * time.el (display-time-mode): Set display-time-load-average here.
12147         (display-time-load-average): Initialize to nil.
12148         (display-time-default-load-average): Add "None" alternative.
12149         (display-time-update): Handle "None" alternative for load-average.
12151         * dired-aux.el (dired-bunch-files): Put the arg FILES
12152         back as it was after temporary destrucive mods.
12153         (dired-add-entry): Use dired-insert-directory to handle indentation.
12154         Explicitly restore the line's marker character.
12155         Preserve the old file name's text properties.
12156         (dired-add-entry-do-indentation): Function deleted.
12157         (dired-relist-file): Doc fix.
12158         (dired-rename-file): Change argument names.
12159         (foo-rename-file): New function.
12160         (dired-do-hardlink): Use dired-hardlink.
12161         (dired-hardlink): New function.
12162         (dired-insert-subdir-doinsert): Use dired-insert-directory;
12163         that handles indentation, text props and header line.
12164         dired-readin-insert gets no args.
12165         Use `last' instead of `reverse'.
12167         * dired.el (dired-use-ls-dired): New variable.
12168         (dired-directory): Document the rules better.
12170         * dired.el (dired-insert-headerline): Function deleted.
12171         (dired-revert): Pass no args to dired-readin.
12172         (dired-move-to-filename): First try using dired-filename property.
12173         (dired-move-to-end-of-filename): Likewise.
12174         (dired-why): Try to show the start of this page of warnings.
12175         (dired-log): Insert the buffer name at start of page, not end.
12176         (dired-log-summary): If just one failure, explain it in echo area.
12178         * dired.el (dired-internal-noselect):
12179         Always set dired-directory, when buffer is not new.
12180         Pass dir-or-list, not dirname, to dired-mode.
12181         Call dired-readin with no args.
12182         Don't call dired-after-readin-hook here.
12183         (dired-find-buffer-nocreate): Expand dirname.
12184         Expand the dir from dired-directory to compare with dirname.
12186         (dired-readin): Take no args.  Get the directory from dired-directory.
12187         Run dired-before-reading hook inside save-excursion.
12188         Run dired-after-readin-hook here.
12189         Don't make undo entries at all.
12190         Call dired-readin-insert with no args.
12191         Don't change indentation here.
12192         Don't insert headerline here.
12194         (dired-readin-insert): Take no args.
12195         Get dir and file-list from dired-directory.
12196         Call dired-insert-directory the new way.
12197         Don't insert "wildcard" info here.
12199         (dired-insert-directory): New arg FILE-LIST.
12200         First arg now DIR, always just the directory.
12201         This function fully handles setting up the buffer text:
12202         update indentation, insert headerline and "wildcard" info.
12203         Pass --dired arg if appropriate; put info in dired-filename props.
12204         Don't expand file names here.
12206         * warnings.el (display-warning): In batch mode,
12207         exclude the final newline from the arg to `message'.
12209 2002-09-13  Markus Rost  <rost@math.ohio-state.edu>
12211         * files.el (diff-buffer-with-file): Check whether associated file
12212         exists.  Display message for 1 second.  Always return nil.
12214 2002-09-13  Stefan Monnier  <monnier@cs.yale.edu>
12216         * diff-mode.el (diff-mode): Turn on compilation-minor-mode
12217         support again, but more carefully this time.
12219         * progmodes/perl-mode.el (perl-mode-syntax-table): Mark $, % and @
12220         such that backward-sexp correctly skips them.
12221         (perl-font-lock-keywords-2): Use regexp-opt.
12222         (perl-font-lock-syntactic-keywords)
12223         (perl-font-lock-syntactic-face-function): Better handle PODs.
12224         Handle package names with ' in them and ($$) in `sub' declarations.
12225         Handle format staements.  Handle regexp and quote-like ops.
12226         (perl-empty-syntax-table): New var.
12227         (perl-quote-syntax-table): New fun.
12229         * pcvs.el (cvs-mode-find-file): Work even if point is at beg-of-line.
12230         (cvs-do-removal): Bind inhibit-read-only while modifying the buffer.
12232         * newcomment.el (comment-with-narrowing): Use the `declare' thingy.
12234         * derived.el (define-derived-mode): Properly ignore unknown args.
12236         * emacs-lisp/easy-mmode.el (define-minor-mode): Add a :require arg.
12237         Don't call the function during init if mode is on by default.
12239         * simple.el: Provide `simple'.
12240         (transient-mark-mode, line-number-mode, column-number-mode):
12241         Pass an explicit `:require nil' argument.
12243 2002-09-13  Francesco Potort\e,Al\e(B  <pot@gnu.org>
12245         * play/tetris.el (tetris-blank-options, tetris-cell-options):
12246         Remove various redundant `(t nil)'.
12248         * play/snake.el (snake-border-options): Use color on tty if available.
12250         * play/tetris.el (tetris-border-options): Likewise.
12252         * play/pong.el (pong-border-options): Likewise, plus reset
12253         color on tty to be [0.5 0.5 0.5].
12255 2002-09-13  Kim F. Storm  <storm@cua.dk>
12257         * kmacro.el (kmacro-start-macro): Doc fix.
12259 2002-09-13  Juanma Barranquero  <lektu@terra.es>
12261         * progmodes/idlw-shell.el (idlwave-shell-cleanup): Fix reference
12262         to `idlwave-idlwave_routine_info-compiled'.
12264         * whitespace.el (whitespace-unload-hook): Call `remove-hook' with
12265         three arguments, not four.
12267 2002-09-13  Kim F. Storm  <storm@cua.dk>
12269         * kmacro.el (kmacro-keymap): Changed bindings:
12270         C-x C-k s to kmacro-start-macro, C-x C-k b to kmacro-bind-to-key.
12272 2002-09-12  Richard M. Stallman  <rms@gnu.org>
12274         * international/mule-cmds.el (universal-coding-system-argument):
12275         Read the coding system inside `interactive' spec, for command-history.
12277 2002-09-12  Stefan Monnier  <monnier@cs.yale.edu>
12279         * emacs-lisp/find-func.el (find-library-name): Don't forget
12280         the empty suffix.  Fix stale variable name.
12282         * gud.el (gud-gdb-massage-args, gud-sdb-massage-args)
12283         (gud-pdb-massage-args): Delete.
12284         (gdb, sdb, pdb): Don't pass gud-*-massage-args any more.
12285         (gud-gdb-command-name): New var.  Put "--fullname" in there.
12286         (gud-query-cmdline): Use the most recent executable as the default.
12287         Don't add "--fullname" (it's only valid/meaningful for GDB).
12288         (gud-xdb-marker-filter): Use match-string.
12289         (gud-perldb-massage-args): Don't add "-d".
12290         (gud-perldb-command-name): Add "-d".
12291         (gud-common-init): If `massage-args' is nil, don't call it.
12292         (gud-format-command): Don't hardcode point-min==1.
12294         * derived.el: Require CL when compiling.
12296 2002-09-12  Simon Josefsson  <jas@extundo.com>
12298         * mail/smtpmail.el (smtpmail-send-it): Don't use : in filenames
12299         (for cygwin). Suggested by Andrew Senior <aws@watson.ibm.com>.
12300         Use expand-file-name.  Also don't require time-stamp.
12302 2002-09-11  Richard M. Stallman  <rms@gnu.org>
12304         * derived.el (define-derived-mode): When making new abbrev table,
12305         don't try to copy the parent's abbrev table.
12307         * ruler-mode.el (ruler-mode-left-scroll-bar-cols):
12308         Always round scroll-bar-width parameter up.
12309         If it is nil, use 14.
12311         * abbrev.el (copy-abbrev-table): New function.
12313 2002-09-11  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
12315         * ps-print.el: Adjust ps-print-color-p, ps-default-fg and
12316         ps-default-bg setting.
12317         (ps-print-version): New version number (6.5.7).
12318         (ps-mark-active-p): New fun.
12319         (ps-print-preprint-region): Adjust code.
12321 2002-09-11  Dave Love  <fx@gnu.org>
12323         * international/mule.el (non-standard-designations-alist)
12324         (ctext-pre-write-conversion): Don't generate invalid extended
12325         segments for iso8859.
12327         * language/cyrillic.el ("Ukrainian"): Fix nonascii-translation.
12328         (cyrillic-alternativnyj-decode-table): Fix some entries.
12330         * international/ucs-tables.el: Fix last change.
12332         * international/utf-8.el (utf-8-fragment-on-decoding): Fix last
12333         change.
12335 2002-09-11  Kim F. Storm  <storm@cua.dk>
12337         * edmacro.el (edit-kbd-macro): Recognize new C-x e binding,
12338         kmacro-end-and-call-macro.
12340 2002-09-11  Juanma Barranquero  <lektu@terra.es>
12342         * newcomment.el (uncomment-region): Fix let/let* use.
12344 2002-09-11  Simon Josefsson  <jas@extundo.com>
12346         * time-stamp.el (time-stamp-hhmmss): New function.
12348         * gud.el (gud-gdb-massage-args): Don't secretly add -fullname.
12349         (gud-query-cmdline): Add --fullname to the user cmdline.
12351         * mail/smtpmail.el (smtpmail-default-smtp-server): Doc fix.
12353 2002-09-11  Kim F. Storm  <storm@cua.dk>
12355         * kmacro.el (kmacro-call-macro): Rephrase repeat prompt.
12356         (kmacro-step-edit-map): Bind "A" to `append-end'.
12357         (kmacro-step-edit-prompt): Fix prompt.
12358         (kmacro-step-edit-query): Handle `append-end' response.
12359         (kmacro-step-edit-pre-command): Activate `append-end' at end of
12360         macro when required.
12362 2002-09-11  Stefan Monnier  <monnier@cs.yale.edu>
12364         * derived.el (define-derived-mode): Fix typo.
12366         * menu-bar.el (line-number-mode, column-number-mode)
12367         (transient-mark-mode): Use minor mode directly.
12368         (menu-bar-make-toggle): Remove `props' arg.
12369         Move customize-mark-as-set directly into the toggle function.
12371         * whitespace.el (whitespace-global-mode): Use define-minor-mode.
12372         Use the new file hook names.
12373         (whitespace-describe): Remove.  Move the text to `Commentary:'.
12374         (whitespace-unload-hook): Use the new file hook names.
12376         * finder.el (finder-find-library): Remove.
12377         (finder-commentary): Use find-library-name and add completion.
12379         * simple.el (transient-mark-mode, line-number-mode)
12380         (column-number-mode): Use define-minor-mode.
12381         (define-mail-user-agent): Delete.  Moved to subr.el.
12383         * loadup.el ("simple.el"): Move to after loaddefs.el.
12385         * subr.el (define-mail-user-agent): Moved from simple.el.
12387 2002-09-10  Richard M. Stallman  <rms@gnu.org>
12389         * pcvs-info.el (cvs-check-fileinfo): Don't use boolp.
12390         (boolp): Function deleted.
12392 2002-09-10  Dave Love  <fx@gnu.org>
12394         * international/utf-8.el (ucs-mule-to-mule-unicode):
12395         Define unconditionally.
12396         (utf-8-fragmentation-table): New.  Use it in top-level mapc.
12397         (utf-8-fragment-on-decoding): Use it to keep
12398         utf-8-translation-table-for-decode variable and translation table
12399         in sync.
12401         * international/ucs-tables.el: Bind utf-8-translation-table-for-decode
12402         when setting up tables and remove useless optimize-char-table.
12403         (ucs-mule-to-mule-unicode): Deleted.
12404         (ucs-unify-8859): Maybe optimize ucs-mule-to-mule-unicode.
12406         * international/utf-16.el (utf-16-le-pre-write-conversion)
12407         (utf-16-be-pre-write-conversion): Deleted.
12408         (mule-utf-16-le, mule-utf-16-be): Register encoding translation table.
12410 2002-09-10  Richard M. Stallman  <rms@gnu.org>
12412         * files.el (diff-buffer-with-file): Simplify.
12413         Don't signal an error if buffer has no file.
12414         Call sit-for after `diff' returns.
12416         * play/gamegrid.el (gamegrid-make-color-tty-face):
12417         Handle string as COLOR arg.
12418         (gamegrid-display-type): Don't assume display-color-p
12419         implies a color-x terminal.
12420         (gamegrid-hide-cursor): Set `cursor-type' local variable.
12422         * descr-text.el (describe-text-mode): Add font-lock-defontify to
12423         change-major-mode-hook.
12425         * ibuffer.el (ibuffer-mode): Add font-lock-defontify to
12426         change-major-mode-hook.
12428         * comint.el (comint-mode): Add font-lock-defontify to
12429         change-major-mode-hook.
12431         * info.el (Info-mode): Add font-lock-defontify to
12432         change-major-mode-hook.
12434         * replace.el (occur-mode): Add font-lock-defontify to
12435         change-major-mode-hook.
12437         * font-core.el (font-lock-defontify): New function.
12439 2002-09-10  Richard M. Stallman  <rms@gnu.org>
12441         * ps-print.el (ps-printer-name-option): Doc fix.
12443 2002-09-10  Vinicius Jose Latorre  <vinicius@cpqd.com.br>
12445         * ps-print.el: Adjust ps-postscript-code-directory setting.
12446         XEmacs version check was adjusted.
12447         (ps-print-version): New version number (6.5.6).
12448         (ps-print-color-p, ps-page-dimensions-database): Autoload var.
12449         (ps-print-code, ps-print-preprint-region): Adjust code.
12451 2002-09-10  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12453         * files.el (auto-mode-alist): ~/.gnus, ~/.viper are in
12454         emacs-lisp-mode, like ~/.emacs.
12456 2002-09-10  Stefan Monnier  <monnier@cs.yale.edu>
12458         * newcomment.el (uncomment-region): Be more careful with `='.
12460 2002-09-10  Deepak Goel  <deego@glue.umd.edu>
12462         * play/doctor.el (doc//): Rename from `//'.  Update callers.
12463         (doc$): Rename from `$'.  Update callers.
12465 2002-09-10  Miles Bader  <miles@gnu.org>
12467         * simple.el (do-auto-fill): `fill-indent-according-to-mode' is a
12468         variable, not a function.
12470         * kmacro.el (kmacro-call-macro): Deal with a non-numeric prefix arg.
12472 2002-09-10  Kim F. Storm  <storm@cua.dk>
12474         * macros.el (apply-macro-to-region-lines): Let-bind mark-active to
12475         nil while executing macro to avoid triggering delete-selection-mode.
12477         * simple.el (keyboard-quit): Set defining-kbd-macro to nil to
12478         cancel defining keyboard macro when applicable.
12480 2002-09-09  Markus Rost  <rost@math.ohio-state.edu>
12482         * simple.el (transient-mark-mode, line-number-mode)
12483         (column-number-mode): Undo previous change because of bootstrapping.
12485 2002-09-09  Stefan Monnier  <monnier@cs.yale.edu>
12487         * derived.el (define-derived-mode): Add keyword arguments.
12488         (derived-mode-make-docstring): Take abbrev and syntax table names.
12490         * font-core.el (font-lock-change-mode): Just turn off font-lock-mode.
12491         (font-lock-default-function): Change arg name.
12493         * cus-start.el (transient-mark-mode): Delete.  Done in simple.el.
12495         * paren.el (show-paren-function): Use syntax-after.
12497         * emacs-lisp/syntax.el (syntax-after): Delete.  Moved to subr.el.
12499         * subr.el (symbol-file): Also work for autoloaded funcs.
12500         (syntax-after): New fun moved from syntax.el.
12502         * find-file.el (ff-pre-find-hook, ff-pre-load-hook, ff-post-load-hook)
12503         (ff-not-found-hook, ff-file-created-hook): Rename from *-hooks.
12504         Update callers (but still run the old hooks as well).
12506         * emacs-lisp/find-func.el (find-library-suffixes, find-library-name)
12507         (find-library): New funs.
12508         (find-function-search-for-symbol): Use it.
12510         * emacs-lisp/bytecomp.el (byte-compile-file): Don't switch buffer.
12512         * isearch.el (isearch-cmds): Add docstring.
12513         (isearch-mouse-2): Lookup binding in the proper buffer.
12514         Use call-interactively and remove the now useless `arg'.
12515         (isearch-search-fun-function): New var.
12516         (isearch-search-fun): New fun.
12517         (isearch-search, isearch-lazy-highlight-search): Use it.
12519 2002-09-09  Stefan Monnier  <monnier@cs.yale.edu>
12521         * simple.el (what-line): Don't hard-code 1.
12522         (transient-mark-mode, line-number-mode, column-number-mode):
12523         Use define-minor-mode.
12524         (do-auto-fill): Only ignore prefix if it's really empty.
12526 2002-09-09  Markus Rost  <rost@math.ohio-state.edu>
12528         * files.el (save-some-buffers-action-alist): Use lower case for
12529         help string of diff-buffer-with-file.
12531 2002-09-09  Richard M. Stallman  <rms@gnu.org>
12533         * calendar/calendar.el (mouse-scroll-calendar-left)
12534         (mouse-scroll-calendar-right, mouse-calendar-other-month):
12535         New commands.
12536         (calendar-mode-line-format): Use them.
12538         * emacs-lisp/bytecomp.el (byte-recompile-directory):
12539         Set and then bind default-directory.
12541         * startup.el (fancy-splash-head, normal-splash-screen):
12542         Change the messages that explain about GNU or GNU/Linux.
12544         * info.el (Info-search): Add (point-min) to subfile positions
12545         to get them right.  Skip the current subfile using forward-line.
12547         * files.el (make-backup-file-name-1): When make-directory fails,
12548         ignore backup-directory-alist.
12549         (make-directory): Expand DIR before looking for handler.
12551 2002-09-09  Jari Aalto  <jari.aalto@poboxes.com>
12553         * progmodes/cperl-mode.el (cperl-noscan-files-regexp):
12554         In addition to RCS, exclude CVS directories.
12556         * ls-lisp.el (ls-lisp-format-time-list): New variable.
12557         (ls-lisp-format-time): Use it.
12559         * files.el (auto-mode-alist): Use sh-mode for .bash files.
12561 2002-09-09  Dave Love  <d.love@dl.ac.uk>
12563         * ps-print.el: Many doc fixes.
12565 2002-09-09  John Paul Wallington  <jpw@shootybangbang.com>
12567         * play/doctor.el (doctor-cadr, doctor-caddr, doctor-cddr): Remove.
12568         Update callers.
12570 2002-09-08  Markus Rost  <rost@math.ohio-state.edu>
12572         * diff.el (diff): Doc fix.
12574 2002-09-08  Richard M. Stallman  <rms@gnu.org>
12576         * emacs-lisp/bytecomp.el (byte-compile-delete-errors): Default to nil.
12578         * simple.el (undo-elt-in-region): Fix one-off error at END.
12579         (forward-visible-line): Handle invisibility by ignoring
12580         invisible newlines.  Also include entire invisible lines beyond
12581         the stopping point.
12583         * cus-edit.el (custom-save-variables, custom-save-faces):
12584         Clarify the comments written into .emacs.
12586 2002-09-08  Markus Triska  <triska@gmx.at>
12588         * play/doctor.el (doctor-doc): Recognize question words
12589         and use qlist.  Use doctor-shorten's return value.
12590         (doctor-shorten): Compute a return value, don't alter `sent'.
12591         (doctor-hates1): Add a question mark.
12592         (doctor-strangelove): Unused function deleted.
12594 2002-09-08  Kim F. Storm  <storm@cua.dk>
12596         * kmacro.el (kmacro-end-and-call-macro): New command to end and
12597         call keyboard macro in one step. Bind it to C-x e by default.
12598         (kmacro-call-macro): Use format-kbd-macro.
12599         (kmacro-step-edit-macro): New command to interactively step edit
12600         and execute last keyboard macro.
12601         (kmacro-keymap): Bind SPC [C-x C-k SPC] to kmacro-step-edit-macro.
12602         (kmacro-step-edit-mini-window-height): New custom var.
12603         (kmacro-step-edit-map): New keymap (parent is query-replace-map).
12604         (kmacro-step-edit-prefix-commands): New var.
12605         (kmacro-step-edit-prompt, kmacro-step-edit-query)
12606         (kmacro-step-edit-insert, kmacro-step-edit-pre-command)
12607         (kmacro-step-edit-minibuf-setup, kmacro-step-edit-post-command):
12608         New aux functions for step editing keyboard macros.
12610         * subr.el (read-quoted-char): Apply listify-key-sequence to vector
12611         returned by this-single-command-raw-keys before appending it to
12612         unread-command-event.
12614 2002-09-07  Colin Walters  <walters@debian.org>
12616         * progmodes/compile.el (compile-internal): Add optional argument
12617         no-async.
12619         * diff.el (diff): Add optional argument no-async, and use the
12620         above argument.
12622         * files.el (diff-buffer-with-file): Call diff synchronously, so we
12623         don't delete the temporary file before diff has a chance to read
12624         it.
12626         * ibuf-ext.el (ibuffer-diff-with-file): Just call
12627         `diff-buffer-with-file'.
12629 2002-09-07  John Paul Wallington  <jpw@shootybangbang.com>
12631         * emacs-lisp/cl-indent.el (extended-loop-p): Doc fix.
12633         * emacs-lisp/find-func.el (find-function-recenter-line):
12634         Add custom type.  Doc fix.
12636 2002-09-06  Stefan Monnier  <monnier@cs.yale.edu>
12638         * menu-bar.el (menu-bar-make-mm-toggle): New macro.
12639         (showhide-menu-bar, showhide-toolbar, menu-bar-toggle-auto-compression)
12640         (toggle-highlight-paren-mode, toggle-global-lazy-font-lock-mode):
12641         Remove.  Use the minor mode function directly instead.
12642         (menu-bar-mode): Add message and customize-mark-as-set and return
12643         the new value as do other minor modes.
12645         * edmacro.el (edmacro-subseq): Don't use cl-push/cl-pop.
12647 2002-09-06  Simon Marshall  <simon@gnu.org>
12649         * progmodes/etags.el (find-tag-tag, complete-tag):
12650         Bind completion-ignore-case based on tags-case-fold-search, so that
12651         case-sensitivity of tag completion matches that of tag search.
12653 2002-09-06  Juanma Barranquero  <lektu@terra.es>
12655         * calendar/solar.el (calendar-time-display-form): Fix spacing.
12657         * double.el (double-prefix-only): Likewise.
12659         * emacs-lisp/easymenu.el (easy-menu-define): Likewise.
12661         * emacs-lisp/find-func.el (find-function-search-for-symbol): Likewise.
12663         * emacs-lisp/float.el (string-to-float): Likewise.
12665         * emacs-lisp/rx.el (rx): Likewise.
12667         * faces.el (copy-face): Likewise.
12669         * hilit-chg.el (highlight-changes-colours)
12670         (highlight-changes-active-string)
12671         (highlight-changes-passive-string)
12672         (highlight-changes-rotate-faces, global-highlight-changes): Likewise.
12674         * international/mule.el (decode-char): Likewise.
12676         * progmodes/idlwave.el (idlwave-support-inheritance)
12677         (idlwave-routine-entry-compare): Likewise.
12679         * progmodes/idlw-shell.el (idlwave-shell-use-breakpoint-glyph):
12680         Likewise.
12682         * progmodes/pascal.el (pascal-start-keywords): Likewise.
12684         * progmodes/sh-script.el (sh-indent-for-fi, sh-indent-for-done):
12685         Likewise.
12687         * progmodes/vhdl-mode.el (vhdl-progress-interval)
12688         (vhdl-corresponding-begin): Likewise.
12690         * simple.el (choose-completion-string-functions): Likewise.
12692         * textmodes/reftex.el (reftex-TeX-master-file): Likewise.
12694         * textmodes/fill.el (fill-nonuniform-paragraphs)
12695         (fill-individual-paragraphs): Likewise.
12697         * vcursor.el (vcursor-toggle-vcursor-map): Likewise.
12699         * warnings.el (warning-level-aliases): Likewise.
12701         * speedbar.el (speedbar-mode): Fix spacing and typos.
12703         * textmodes/reftex-vars.el (reftex-label-menu-flags): Fix typo.
12705 2002-09-05  Markus Rost  <rost@math.ohio-state.edu>
12707         * textmodes/table.el (table-command-prefix): Fix type.
12709 2002-09-05  Andre Spiegel  <spiegel@gnu.org>
12711         * vc-hooks.el: Don't require vc.el at compile-time; it causes
12712         recursive requirements during bootstrap.
12714 2002-09-05  Kenichi Handa  <handa@etl.go.jp>
12716         * international/mule.el (decode-char): Cancel the previous change.
12718 2002-09-04  Mats Lidell  <matsl@contactor.se>  (tiny change)
12720         * language/european.el ("Swedish"): New set-language-info-alist call.
12722 2002-09-04  Richard M. Stallman  <rms@gnu.org>
12724         * help-fns.el (help-with-tutorial): Properly set up
12725         completion-reference-buffer in the *Completion* buffer.
12727 2002-09-04  John Paul Wallington  <jpw@shootybangbang.com>
12729         * startup.el (use-fancy-splash-screens-p): If `fancy-splash-frame'
12730         returns nil, return nil.
12732 2002-09-04  Andre Spiegel  <spiegel@gnu.org>
12734         * vc-hooks.el: Require vc.el at compile-time.
12735         (vc-workfile-unchanged-p, vc-default-workfile-unchanged-p):
12736         Moved here from vc.el.
12738         * vc.el (vc-workfile-unchanged-p, vc-default-workfile-unchanged-p):
12739         Moved to vc-hooks.el.
12741         * vc-rcs.el (vc-rcs-state): Don't require vc.el.
12743 2002-09-04  Kenichi Handa  <handa@etl.go.jp>
12745         * international/mule.el (decode-char): Translate a character by
12746         utf-8-translation-table-for-decode only when
12747         utf-8-fragment-on-decoding is non-nil.
12749 2002-09-02  Stefan Monnier  <monnier@cs.yale.edu>
12751         * textmodes/text-mode.el (paragraph-indent-text-mode-abbrev-table)
12752         (paragraph-indent-text-mode-syntax-table, paragraph-indent-text-mode):
12753         Use text-mode's syntax-table and abbrev-table.
12754         (text-mode): Set require-final-newline to t.
12756         * newcomment.el (comment-make-extra-lines): Only use the
12757         dummy `=' char when there's really nothing else.
12758         Don't remove spaces if it leads to an incorrect comment.
12760         * pcvs.el (cvs-run-process): Use a pty rather than a pipe to work
12761         around the cvs/ssh/libc bug.
12762         (cvs-update-header): Understand `cvs admin -m<rev>:<msg>' syntax.
12763         (defun-cvs-mode): Use the new `declare' thingy.
12764         (cvs-edit-log-text-at-point, cvs-mode-edit-log, cvs-do-edit-log)
12765         (cvs-edit-log-minor-wrap, cvs-edit-log-filelist): New funs.
12766         (cvs-mode-undo): Use `cvs add' for (CONFLICT. REMOVED).
12768         * pcvs-parse.el (cvs-parse-table): Create a `need-update'
12769         node rather than a message for new directories.
12770         (cvs-parse-status): Add support for `Entry Invalid'.
12772         * smerge-mode.el (smerge-diff-buffer-name): Default to *vc-diff*.
12773         (smerge-combine-with-next): New function.
12774         (smerge-diff): Don't output `wrote /tmp/foo' messages.
12775         Insert message if no diffs were found.
12777         * mail/sendmail.el (mail-mode): Don't set local-abbrev-table.
12778         (mail-mode-abbrev-table): Set to text-mode-abbrev-table.
12780 2002-09-02  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
12782         * net/tramp.el: Version 2.0.15 released.
12783         (require 'base64): Most modern Emacsen have the base64
12784         encode/decode functions built in, so test to see if they are bound
12785         before we go blindly requiring base64.el.
12786         From Steve Youngs <youngs@xemacs.org>.
12787         (tramp-feature-write-region-fix): XEmacs doesn't have a
12788         'find-operation-coding-system' and this variable doesn't seem to
12789         be used anywhere so wrap it in (unless (featurep 'xemacs)).
12790         From Steve Youngs <youngs@xemacs.org>.
12791         (tramp-methods): Remove duplicate definition of ssh1-old and ssh2-old.
12792         (tramp-open-connection-su): Use user name "root" if no user name
12793         is given.
12795         From Michael Albinus <Michael.Albinus@alcatel.de>:
12796         * net/tramp.el (tramp-invoke-ange-ftp):
12797         (tramp-ange-ftp-file-name-p): Check for Xemacs.
12798         (tramp-do-copy-or-rename-file): Don't pass KEEP-DATE to
12799         tramp-invoke-ange-ftp 'rename.
12800         (tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to
12801         tramp-invoke-ange-ftp 'write-region.
12802         (tramp-handle-set-file-modes): Change order of FILENAME and MODE
12803         passing to tramp-invoke-ange-ftp 'set-file-modes.
12804         (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp' must be called
12805         again after activating `ange-ftp'.
12807 2002-09-02  Kim F. Storm  <storm@cua.dk>
12809         * ido.el (ido-ignore-item-temp-list): New variable.
12810         (ido-read-internal): Don't set ido-default-item if the default is
12811         member of ido-ignore-item-temp-list.
12812         Don't return first match for C-j if no text is entered.
12813         (ido-buffer-internal): Check for empty string return.
12814         (ido-make-buffer-list1): Use member instead of memq.
12815         (ido-window-buffer-p): Likewise.
12816         (ido-get-bufname): Ignore buffers on ido-ignore-item-temp-list.
12817         (ido-ignore-item-p): Ignore items on ido-ignore-item-temp-list.
12819         * replace.el (multi-occur): Made "ido-aware":
12820         Changed prompt to use C-j instead of RET to end.
12821         Set ido-ignore-item-temp-list to the selected buffers so far, so
12822         they are automatically excluded from the list of choices.
12823         Use add-to-list instead of push.
12825 2002-09-01  Richard M. Stallman  <rms@gnu.org>
12827         * term/x-win.el (function-key-map): Define S-iso-lefttab.
12829 2002-09-01  Kim F. Storm  <storm@cua.dk>
12831         * edmacro.el (edit-kbd-macro): Recognize new default binding for
12832         C-x e in addition to old binding.
12834 2002-09-01  Mario Lang  <mlang@debian.org>
12836         * files.el (save-some-buffers-action-alist): New variable.
12837         (save-some-buffers): Use that.
12838         (diff-buffer-with-file): New function.
12840 2002-09-01  Richard M. Stallman  <rms@gnu.org>
12842         * ruler-mode.el (defgroup ruler-mode): Use `convenience' as parent.
12844         * dired.el (defgroup dired): Use `files' as parent.
12845         (dired-get-filename): Ignore handler if it has safe-magic prop.
12847         * jka-compr.el (jka-compr-handler): Add safe-magic property.
12849 2002-08-31  Richard M. Stallman  <rms@gnu.org>
12851         * simple.el (kill-line): Use end-of-visible-line to determine
12852         if rest of line is blank.
12853         (end-of-visible-line): Cope if end-of-line moved back over
12854         invisible intangible chars at end of line.
12856         * simple.el (completion-setup-function): Don't use directory-sep-char.
12858 2002-09-01  Glenn Morris  <gmorris@ast.cam.ac.uk>
12860         * progmodes/f90.el (f90-menu): Remove ":active" keyword where not
12861         needed.
12862         (f90-menu, f90-add-imenu-menu): Use lookup-key.
12863         Remove (eval-when-compile) for free variables.
12865 2002-08-31  Andreas Schwab  <schwab@suse.de>
12867         * font-core.el (font-lock-change-mode): Avoid changing buffer
12868         state in any way.
12870 2002-08-30  Stefan Monnier  <monnier@cs.yale.edu>
12872         * emacs-lisp/easymenu.el (easy-menu-filter-return):
12873         Handle the case where the filter returns a single menu entry.
12874         (easy-menu-add): Improve docstring.
12875         (easy-menu-current-active-maps): Remove.
12876         (easy-menu-get-map): Use current-active-maps.
12878         * cus-edit.el (custom-unlispify-menu-entry): Don't remove
12879         the -p prefix from variables since they shouldn't have it anyway.
12880         (custom-group-menu-create, customize-menu-create):
12881         Only cdr if applicable, since custom-menu-create might return
12882         a vector (i.e. a single menu entry).
12884 2002-08-30  Edward M. Reingold  <reingold@emr.cs.iit.edu>
12886         * calendar/diary-lib.el (diary-mail-entries): Don't overwrite
12887         user's value of diary-list-include-blanks, but generate message
12888         instead if there are no entries.
12890 2002-08-30  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>  (tiny change)
12892         * ps-print.el (ps-lp-system): Fixed typo in `usg-unix-v'.
12894 2002-08-30  Markus Rost  <rost@math.ohio-state.edu>
12896         * menu-bar.el (menu-bar-read-mail): Doc fix.
12898 2002-08-30  John Paul Wallington  <jpw@shootybangbang.com>
12900         * ibuffer.el (ibuffer-update): Revert expansion of `caddr'.
12901         (ibuffer-fontification-alist): Check hidden buffer case isn't
12902         visiting a file and change its face to italic.
12904 2002-08-30  Juanma Barranquero  <lektu@terra.es>
12906         * replace.el (occur-mode): Add interactive declaration.
12908         * bs.el (bs-message-without-log): Fix typo.
12910         * font-core.el (font-lock-defaults): Likewise.
12912         * font-lock.el (font-lock-add-keywords): Likewise.
12914         * mouse-copy.el (mouse-copy-work-around-drag-bug): Likewise.
12916         * textmodes/bibtex.el (bibtex-mode): Likewise.
12918         * emulation/viper-ex.el (ex-compile-command): Likewise.
12920         * progmodes/idlwave.el (idlwave-max-extra-continuation-indent):
12921         Likewise.
12923         * progmodes/dcl-mode.el (dcl-calc-cont-indent-relative): Likewise.
12925         * allout.el (my-mark-marker): Likewise.
12927 2002-08-30  Simon Josefsson  <jas@extundo.com>
12929         * mail/smtpmail.el (smtpmail-via-smtp): Delete process buffer
12930         unless s-debug-info is enabled.
12932 2002-08-29  John Paul Wallington  <jpw@shootybangbang.com>
12934         * ibuffer.el (ibuffer-update): Use `minibufferp'.  Expand `caddr'.
12936         * mwheel.el (mouse-wheel-up-button): Doc fix.
12938 2002-08-29  Juanma Barranquero  <lektu@terra.es>
12940         * replace.el (occur-mode-hook): New hook.
12941         (occur-mode): Use it.
12942         (occur-hook): Set default to nil.
12944 2002-08-29  Stefan Monnier  <monnier@cs.yale.edu>
12946         * net/ange-ftp.el: Use match-string and drop useless `function's.
12947         (ange-ftp-get-process): Bind `ange-ftp-this-user' and
12948         `ange-ftp-this-host' before running ange-ftp-process-startup-hook.
12949         (ange-ftp-ls-parser): Use `switches' arg instead of dynamic binding.
12950         (ange-ftp-parse-dired-listing): Update the calls.
12951         (dired-local-variables-file): Declare to shut quieten the compiler.
12952         (ange-ftp-file-entry-active-p): Remove.
12953         (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
12954         Don't exclude dangling symlinks.
12955         (ange-ftp-file-name-completion-1): Make predicate optional.
12956         (ange-ftp-parse-list-func-alist): Use add-to-list to update.
12957         (ange-ftp-fix-name-for-bs2000): Use subst-char-in-string.
12958         (ange-ftp-bs2000-posix-hook-installed): Remove.
12959         (ange-ftp-add-bs2000-posix-host): Don't use it anymore.
12960         (ange-ftp-bs2000-cd-to-posix): Use `ange-ftp-this-user' and
12961         `ange-ftp-this-host' instead of `user' and `host'.
12963 2002-08-29  Richard M. Stallman  <rms@gnu.org>
12965         * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
12966         Decide here whether to print which form we're compiling.
12967         If we do that, still print file and line.  Make file name
12968         relative to default-directory.  Print fewer newlines.
12969         (byte-compile-log-file): Print something even if no file.
12970         Print messages for entering and leaving directories,
12971         and set default-directory.
12972         (displaying-byte-compile-warnings): Only sometimes bind warning-series.
12973         (byte-compile-warning-series): New function.
12974         (byte-compile-file): Set byte-compile-last-logged-file, don't bind it.
12975         (byte-compile-display-log-head-p): Function deleted.
12977         * warnings.el (warning-series): Now can be a marker, not an integer.
12978         (display-warning): Handle new value for warning-series.
12980         * emacs-lisp/bytecomp.el (byte-compile-log-file): Use \f.
12981         (byte-compile-cl-warn): Add cl-macroexpand-all, cl-compiling-file
12982         to don't-warn list.
12984 2002-08-29  Kim F. Storm  <storm@cua.dk>
12986         * kmacro.el: Change default bindings from F7/F8 to F3/F4.
12987         Change default binding of C-x e to kmacro-end-or-call-macro.
12988         (kmacro-call-repeat-key, kmacro-call-repeat-with-arg): New custom
12989         variables.
12990         (kmacro-get-prefix-arg): New function.
12991         (kmacro-repeat-on-last-key): Rename from kmacro-repeat-loop and
12992         improve.  Callers changed.
12993         (kmacro-call-macro): Repeat macro by repeating last key or
12994         key defined in kmacro-call-repeat-key.  New third arg non-nil
12995         means to end current macro.
12996         (kmacro-end-or-call-macro): Call kmacro-call-macro appropriately
12997         to get repeat last key functionality.
12998         (kmacro-start-macro-or-insert-counter): Improve doc string.
13000 2002-08-28  Luc Teirlinck  <teirllm@mail.auburn.edu>
13002         * files.el (find-buffer-visiting): Compare file attributes
13003         using buffer-file-truename.
13005 2002-08-28  Richard M. Stallman  <rms@gnu.org>
13007         * files.el (make-auto-save-file-name, make-backup-file-name-1):
13008         Don't use directory-sep-char.
13010 2002-08-28  Juanma Barranquero  <lektu@terra.es>
13012         * replace.el (occur-hook): Renamed from `occur-mode-hook'.
13013         (occur-mode): Remove call to `occur-mode-hook'.
13014         (occur-rename-buffer): Fix reference to `occur-mode-hook' in docstring.
13015         (occur-1): Add call to `occur-hook'.
13017         * subr.el (make-variable-frame-localizable): Alias for
13018         `make-variable-frame-local'.
13020 2002-08-28  Miles Bader  <miles@gnu.org>
13022         * rfn-eshadow.el (read-file-name-electric-shadow-properties)
13023         (read-file-name-electric-shadow-tty-properties)
13024         (read-file-name-electric-shadow-mode): Remove compatibility defs.
13026         * comint.el (comint-carriage-motion): Start at START.
13028 2002-08-27  Francesco Potort\e,Al\e(B  <pot@gnu.org>
13030         * net/ange-ftp.el (ange-ftp-skip-msgs): Skip the 530 response
13031         given by vsFTPd when accessed with a kerberised FTP client.
13033 2002-08-27  Richard M. Stallman  <rms@gnu.org>
13035         * files.el (find-alternate-file):
13036         Bind kill-buffer-query-functions locally, don't set it.
13038 2002-08-27  Andreas Schwab  <schwab@suse.de>
13040         * kmacro.el (kmacro-start-macro): Doc fix.
13042 2002-08-27  Carsten Dominik  <dominik@sand.science.uva.nl>
13044         * textfile/reftex-ref.el (reftex-goto-label): New command.
13046         * textfile/reftex-vars.el (reftex-part-resets-chapter): New option.
13048         * textfile/reftex-parse.el (reftex-roman-number): New function.
13049         (reftex-section-number): Better handling of parts: No chapter
13050         counter resets.
13052         * textfile/reftex.el (reftex-highlight-overlays): Added a third
13053         overlay.
13054         (reftex-mode-menu): Added entry for `reftex-toc-recenter.
13055         Also moved `reftex-reset-mode' to top level.
13057         * textfile/reftex-toc.el (reftex-toc-recenter): New command.
13058         (reftex-toc-pre-command-hook): Don't remove highlight overlay.
13059         (reftex-toc-post-command-hook): Use overlay no 2 for highlighting.
13061         * textfile/reftex-sel.el (reftex-get-offset): Get offset of
13062         document pointer *before* position, not after.
13063         (reftex-insert-docstruct): Get offset of document pointer *before*
13064         position, not after.
13066         * textfiles/reftex-parse.el (reftex-where-am-I): Prefer marker
13067         match over section title match.
13069         * textfiles/reftex-cite.el (reftex-bib-or-thebib): New function
13070         which determines on a per-file-basis if BibTeX is being used
13071         locally for citations.
13072         (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better
13073         cooperation with chapterbib.
13074         (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for
13075         better cooperation with chapterbib.
13077         * textfiles/reftex-dcr.el (reftex-view-cr-cite):
13078         Use `reftex-bib-or-thebib' for better cooperation with chapterbib.
13080 2002-08-26  Kim F. Storm  <storm@cua.dk>
13082         * subr.el (suppress-keymap): Use command remapping instead of
13083         substitute-key-definition to undefine self-inserting keys.
13085 2002-08-26  Juanma Barranquero  <lektu@terra.es>
13087         * makefile.w32-in (WINS): Add calc and obsolete.
13089 2002-08-26  Stefan Monnier  <monnier@cs.yale.edu>
13091         * emacs-lisp/easy-mmode.el (define-minor-mode):
13092         Use customize-mark-as-set for global minor modes.
13094 2002-08-25  Miles Bader  <miles@gnu.org>
13096         * rfn-eshadow.el (file-name-shadow-properties-custom-type):
13097         Renamed from `read-file-name-electric-shadow-properties-custom-type'.
13098         Change name of face.
13099         (file-name-shadow-properties): Renamed from
13100         `read-file-name-electric-shadow-properties'.
13101         (file-name-shadow-tty-properties): Renamed from
13102         `read-file-name-electric-shadow-tty-properties'.
13103         (file-name-shadow): Renamed from `read-file-name-electric-shadow'.
13104         (rfn-eshadow-setup-minibuffer): Update references to renamed variables.
13105         (file-name-shadow-mode): Renamed from
13106         `read-file-name-electric-shadow-mode'.  Update references to
13107         renamed variables.
13109 2002-08-24  Sam Steingold  <sds@gnu.org>
13111         * subr.el (eval-after-load): Do not call
13112         load-symbol-file-load-history (deleted yesterday).
13114 2002-08-24  John Paul Wallington  <jpw@shootybangbang.com>
13116         * startup.el (normal-splash-screen): Ensure splash buffer is
13117         killed.  Use tabs in output.  Fix test whether previous buffer was
13118         *scratch* buffer.
13120         * progmodes/simula.el (simula-abbrev-keyword-default)
13121         (simula-abbrev-keyword, simula-abbrev-stdproc-default)
13122         (simula-abbrev-stdproc): Doc fix - escape open parens in column 0.
13124         * apropos.el (command-apropos): Use `defalias' instead of `fset'.
13126         * mail/rmail.el (rmail-speedbar-match-folder-regexp): Doc fix.
13128 2002-08-24  Glenn Morris  <gmorris@ast.cam.ac.uk>
13130         * progmodes/f90.el (f90-xemacs-flag, f90-xemacs-menu)
13131         (f90-menu-bar-menu, f90-change-case-menu, f90-font-lock-on)
13132         (f90-font-lock-off, f90-font-lock-menu): Delete.
13133         Use easy-menu-define instead.
13134         (f90-mode): Use easy-menu-add.
13135         No longer (require 'imenu) when compiling.
13136         (f90-mark-subprogram, f90-indent-region, f90-fill-region)
13137         (f90-abbrev-start): Use fboundp.
13138         (f90-imenu-flag): Delete - use imenu--index-alist instead.
13140 2002-08-23  Richard M. Stallman  <rms@gnu.org>
13142         * loadhist.el (unload-feature): Distinguish functions from
13143         variables in load-history.
13144         (feature-symbols): Doc fix.
13146         * files.el (ange-ftp-completion-hook-function): Add safe-magic prop.
13148         * subr.el (symbol-file-load-history-loaded)
13149         (load-symbol-file-load-history): Deleted.
13150         (symbol-file): Don't call load-symbol-file-load-history.
13152 2002-08-23  Andre Spiegel  <spiegel@gnu.org>
13154         * vc-hooks.el (vc-kill-buffer-hook): Add it to kill-buffer-hook again.
13156 2002-08-22  Katsumi Yamaoka  <yamaoka@jpl.org>  (tiny change)
13158         * frame.el (select-frame-by-name, select-frame-set-input-focus):
13159         Always call x-focus-frame, if using x.
13160         Use set-mouse-position on all systems, if focus-follows-mouse.
13162 2002-08-22  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13164         * net/tramp.el: Version 2.0.14 released.
13165         (tramp-shell-prompt-pattern): New variable.
13166         (tramp-actions-before-shell, tramp-multi-actions)
13167         (tramp-find-shell, tramp-open-connection-multi)
13168         (tramp-open-connection-setup-interactive-shell): Use it.
13169         (tramp-open-connection-telnet, tramp-open-connection-rsh)
13170         (tramp-open-connection-su): Mention `tramp-shell-prompt-pattern'
13171         in the docstring.
13172         (tramp-bug): Report `tramp-shell-prompt-pattern'.
13173         (tramp-process-one-multi-action, tramp-process-one-action):
13174         Make message clearer so people don't confuse it with Emacs asking
13175         them a question if the regexp happens to end with "?".
13176         (tramp-verbose): Change default value from 10 to 9.  Also change
13177         some logging levels so that 10 is reserved for stuff which is
13178         needed for debugging only, but 9 catches everything that people
13179         might like to see in order to see that Tramp is actually working.
13181 2002-08-22  Kim F. Storm  <storm@cua.dk>
13183         * emacs-lisp/authors.el (authors-aliases, authors-fixed-entries):
13184         Corrected spelling mistakes (for Joseph Arceneaux).
13186 2002-08-21  Glenn Morris  <gmorris@ast.cam.ac.uk>
13188         * progmodes/f90.el: eval-when-compile a few defvars.
13189         (f90-xemacs-flag): Wrap in eval-and-compile.
13190         (f90-font-lock-keywords): Doc fix.
13191         (f90-mode-abbrev-table): Work with or without 6th arg of define-abbrev.
13192         (f90-mark-subprogram-overlay): Variable deleted.
13193         (f90-mark-subprogram): Remove overlay bit.  Don't be silent about
13194         pushing mark.
13195         (f90-abbrev-start): unread-command-event is obsolete in XEmacs.
13197 2002-08-21  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13199         * net/tramp.el: Version 2.0.13 released.
13200         (tramp-handle-write-region): Don't check to see if remote end is
13201         awake after sending data to remote host: we want to send "EOF" not
13202         "echo are you awake"...
13203         (tramp-maybe-open-connection): Swap args for tramp-time-diff.
13204         (tramp-yn-prompt-regexp): New variable.
13205         (tramp-action-yn): New function, using it.
13206         (tramp-feature-write-region-fix): New internal variable.  Not yet
13207         used.  Should be used in `tramp-handle-write-region'.
13209 2002-08-21  Kim F. Storm  <storm@cua.dk>
13211         * bindings.el (mode-line-format): Moved global-mode-string last.
13212         (mode-line-position): Moved %p first.  Added padding to %l/%c to
13213         eliminate jumpyness in modeline.  Use (%l,%c) format if both
13214         line-number-mode and column-number-mode are enabled.
13216 2002-08-20  Martin Stjernholm  <bug-cc-mode@gnu.org>
13218         * progmodes/cc-engine.el (c-forward-syntactic-ws): Fixed a bug
13219         that could cause an infinite loop if something that looks like
13220         a macro begins in the middle of a line.
13222         * progmodes/cc-engine.el (c-parse-state): Fixed a bug that
13223         could cause `c-state-cache' to contain two conses in sequence
13224         when there's an unbalanced open paren in a macro.
13226 2002-08-20  Glenn Morris  <gmorris@ast.cam.ac.uk>
13228         * progmodes/fortran.el (fortran-current-defun): Use save-excursion.
13230         * imenu.el (imenu--generic-function): Use mapc.
13231         (imenu-syntax-alist): Doc fix.
13233 2002-08-20  Richard M. Stallman  <rms@gnu.org>
13235         * font-core.el (font-lock-change-mode): New function.
13236         (font-lock-mode): Use font-lock-change-mode instead of
13237         font-lock-unfontify-buffer.
13238         (font-lock-maximum-size, font-lock-verbose): Add defvars.
13240 2002-08-20  Carsten Dominik  <dominik@astro.uva.nl>
13242         * textfiles/reftex-cite.el (reftex-bib-or-thebib): New function
13243         which determines on a per-file-basis if BibTeX is being used
13244         locally for citations.
13245         (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better
13246         cooperation with chapterbib.
13247         (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for
13248         better cooperation with chapterbib.
13250         * textfiles/reftex-dcr.el (reftex-view-cr-cite):
13251         Use `reftex-bib-or-thebib' for better cooperation with chapterbib.
13253 2002-08-20  Kim F. Storm  <storm@cua.dk>
13255         * kmacro.el: Major rework based on discussions with RMS.
13256         Most important change is that C-x C-k is now bound to a keymap
13257         with keyboard macro related commands.  The original binding on
13258         C-x C-k is moved to C-x C-k e.
13260         * binding.el: Remove macro related bindings (now in kmacro.el).
13262         * edmacro.el: Remove C-x C-k binding (now in kmacro.el).
13264 2002-08-19  Stefan Monnier  <monnier@cs.yale.edu>
13266         * help-fns.el (help-split-fundoc): Replace the function name
13267         from the docstring with the one that should be displayed.
13268         (help-make-usage): Understand CL style arglists.
13269         (describe-function-1): Adapt to the new behavior of help-split-fundoc.
13270         (describe-variable): Use delete-region.
13272 2002-08-19  Kenichi Handa  <handa@etl.go.jp>
13274         * international/mule.el (sgml-xml-auto-coding-function):
13275         Call re-search-forward with NOERROR t.
13277 2002-08-19  Miles Bader  <miles@gnu.org>
13279         [original idea from Luc Teirlinck <teirllm@mail.auburn.edu>]
13280         * comint.el (comint-inhibit-carriage-motion): New variable.
13281         (comint-carriage-motion): Argument STRING removed.  New arguments
13282         START and END; interpret characters between START and END rather
13283         than using special comint state.
13284         (comint-output-filter): Call `comint-carriage-motion'.
13285         (comint-output-filter-functions): Don't add `comint-carriage-motion'.
13286         * ielm.el (inferior-emacs-lisp-mode):
13287         Give `comint-inhibit-carriage-motion' a local value of t.
13289 2002-08-18  Richard M. Stallman  <rms@gnu.org>
13291         * textmodes/table.el: New file.
13293         * font-core.el (font-lock-mode): Set change-major-mode-hook locally.
13295 2002-08-18  Andreas Schwab  <schwab@suse.de>
13297         * ibuf-ext.el (ibuffer-list-buffer-modes): Doc fix.
13299 2002-08-17  Carsten Dominik  <dominik@astro.uva.nl>
13301         * textmodes/reftex.el (reftex-mode): Create special syntax tables.
13302         (reftex-syntax-table): Set a default in case this is being used
13303         outside a LaTeX file.
13304         (reftex-syntax-table-for-bib): Set a default in case this is being
13305         used outside a LaTeX file.
13307 2002-08-17  Richard M. Stallman  <rms@gnu.org>
13309         * tar-mode.el (tar-subfile-mode): Use add-hook and remove-hook,
13310         and use write-file-functions instead of local-write-file-hooks.
13311         (tar-untar-buffer): Don't try to extract directories.
13313         * menu-bar.el (fringe-mode): Set to nil.
13315         * mail/rmail.el (rmail-search-mime-header-function): Doc fix.
13317 2002-08-15  Richard M. Stallman  <rms@gnu.org>
13319         * calendar/appt.el (appt-delete): Use substring-no-properties.
13320         (appt-make-list): Don't use prin1-to-string; use the string unchanged.
13322 2002-08-15  Jan Nieuwenhuizen  <janneke@gnu.org>  (tiny change)
13324         * server.el (server-process-filter): Simplify code.
13325         (server-goto-line-column): New function.
13326         (server-visit-files): Use server-goto-line-column.
13327         Offer to revert only if file has changed.
13329 2002-08-15  Richard M. Stallman  <rms@gnu.org>
13331         * files.el (recover-this-file): New function.
13332         (after-find-file): Recommend recover-this-file.
13334         * font-core.el (font-lock-mode): Add font-lock-unfontify-buffer
13335         to change-major-mode-hook when font lock is enabled.
13337         * simple.el (toggle-truncate-lines): Force redisplay.
13338         Display status message.
13340 2002-08-15  Carsten Dominik  <dominik@sand.science.uva.nl>
13342         * textmodes/reftex.el (reftex-mode): Moved the creation of special
13343         syntax tables to top-level.
13345 2002-08-15  David Kastrup  <David.Kastrup@t-online.de>
13347         * net/ange-ftp.el (ange-ftp-wipe-file-entries): Fix type mismatch;
13348         use `hash-table-size' instead of `length'.
13350 2002-08-14  Stefan Monnier  <monnier@cs.yale.edu>
13352         * help-fns.el (locate-library): Use locate-file(-completion).
13353         (help-split-fundoc): Tighten the regexp and recognize a usage-info
13354         where the function name is `fn'.
13355         (help-function-arglist): Follow aliases and macros.
13356         (describe-function-1): Use keymapp.
13357         If the docstring contains a usage info, use it even if the function is
13358         not a subroutine.  Find usage info in aliases' docstring if necessary.
13359         (describe-variable): Get the value before setting up the *Help* buffer.
13361         * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
13362         Use find-file-hook instead of find-file-hooks.
13363         (define-minor-mode): Get rid of this silly `togglep'.
13364         Add an explicit `toggle' argument (used for interactive calls).
13365         Emit a warning when a nil argument turns the mode off.
13367         * language/ethio-util.el (setup-ethiopic-environment-internal)
13368         (exit-ethiopic-environment): Use find-file-hook and
13369         write-file-functions instead of find-file-hooks and write-file-hooks.
13371         * window.el (handle-select-window): Don't do anything if the window
13372         has disappeared since the event was generated.
13373         (split-window-save-restore-data): Use push and with-current-buffer.
13375         * saveplace.el:
13376         * play/meese.el:
13377         * obsolete/hilit19.el:
13378         * completion.el (dynamic-completion-mode):
13379         * emacs-lisp/find-func.el (find-function-search-for-symbol):
13380         Use find-file-hook instead of find-file-hooks.
13382         * imenu.el (imenu-always-use-completion-buffer-p): Make obsolete.
13383         (imenu-use-popup-menu, imenu-eager-completion-buffer): New vars.
13384         (imenu-space-replacement): Allow nil value.
13385         (imenu--completion-buffer): Use new vars and simplify.
13386         Fix handling of minibuffer-setup-hook.
13387         Use minibuffer-completion-help instead of rolling our own.
13388         (imenu-choose-buffer-index): Use the new var.
13390         * startup.el (command-line): Load custom-file if not done yet.
13392 2002-08-14  Kenichi Handa  <handa@etl.go.jp>
13394         * select.el (xselect-convert-to-string): If TYPE is non-nil, encode
13395         the selection data string.  Always return cons of type and string.
13396         (selection-converter-alist): Add (UTF8_STRING .
13397         xselect-convert-to-string).
13399 2002-08-12  Stefan Monnier  <monnier@cs.yale.edu>
13401         * newcomment.el (comment-region): Force `lines' when `block' is set.
13403 2002-08-12  Richard M. Stallman  <rms@gnu.org>
13405         * menu-bar.el (menu-bar-next-tag-other-window, menu-bar-next-tag)
13406         (menu-bar-right-scroll-bar, menu-bar-left-scroll-bar)
13407         (menu-bar-no-scroll-bar, menu-bar-toggle-auto-compression)
13408         (menu-bar-toggle-cua-mode, menu-bar-read-mail)
13409         (menu-bar-help-extra-packages, help-with-tutorial-spec-language)
13410         (menu-bar-text-mode-auto-fill): New commands, used
13411         in menu bar menus instead of lambda expressions.
13413         (menu-bar-showhide-fringe-menu-customize-left)
13414         (menu-bar-showhide-fringe-menu-customize-right)
13415         (menu-bar-showhide-fringe-menu-customize-disable)
13416         (menu-bar-showhide-fringe-menu-customize-reset): Doc fixes.
13418         (menu-bar-options-menu): Use toggle-truncate-lines.
13419         (showhide-date-time): Call customize-mark-as-set.
13421         * emacs-lisp/find-func.el (find-function-search-for-symbol):
13422         Obey `definition-name' properties.
13424         * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode):
13425         Put `definition-name' properties on the functions whose
13426         names are constructed.
13428         * textmodes/page-ext.el (pages-target-buffer): Add defvar.
13429         Renamed from target-buffer.
13430         (pages-directory, pages-copy-header-and-position): Uses changed.
13432         * calendar/appt.el (appt-make-list): Correct the parsing of
13433         each appointment from time-string.
13435 2002-08-12  Stefan Monnier  <monnier@cs.yale.edu>
13437         * scroll-all.el (scroll-all-mode): Use define-minor-mode.
13438         (scroll-all-mode) <defcustom>: Delete.
13439         (running-xemacs): Delete.
13440         (minor-mode-alist): Don't manipulate it directly.
13442 2002-08-10  Kenichi Handa  <handa@etl.go.jp>
13444         * international/mule-cmds.el (search-unencodable-char): New function.
13445         (select-safe-coding-system): Show unencodable characters.
13446         (unencodable-char-position): Deleted, and implemented in C in coding.c.
13448 2002-04-09  John Wiegley  <johnw@gnu.org>
13450         * esh-util.el: Removed eshell-under-cygwin-p, and all uses of it.
13451         * em-cmpl.el (eshell-cmpl-ignore-case): Ditto.
13452         * em-dirs.el (eshell/cd): Ditto.
13453         * em-glob.el (eshell-glob-case-insensitive): Ditto.
13454         * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
13455         * esh-ext.el (eshell-binary-suffixes): Ditto.
13457 2002-08-09  Richard M. Stallman  <rms@gnu.org>
13459         * textmodes/page-ext.el (pages-directory-mode): Undo previous change.
13461         * simple.el (set-variable): Give locality status in prompt.
13463 2002-08-09  Benjamin Rutt  <rutt@cis.ohio-state.edu>
13465         * simple.el (set-variable): If given a prefix argument, set
13466         variable buffer-locally.
13468 2002-08-09  John Paul Wallington  <jpw@shootybangbang.com>
13470         * font-core.el (font-lock-function): Make it buffer-local.
13472 2002-08-08  Richard M. Stallman  <rms@gnu.org>
13474         * emacs-lisp/checkdoc.el (checkdoc, checkdoc-interactive)
13475         (checkdoc-message-interactive, checkdoc-interactive-loop)
13476         (checkdoc-current-buffer, checkdoc-continue, checkdoc-comments)
13477         (checkdoc-defun):
13478         Update checkdoc-spellcheck-documentation-flag correctly.
13479         (checkdoc-ispell-docstring-engine): Don't test for
13480         checkdoc-autofix-flag = nil.
13482 2002-08-07  John Paul Wallington  <jpw@shootybangbang.com>
13484         * xt-mouse.el (xterm-mouse-mode): Make it a global mode.
13486         * wid-browse.el (widget-minor-mode): Fix doc typo.
13488 2002-08-07  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13490         * net/tramp.el: Version 2.0.12 released.
13491         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13492         Comment out possibly obsolete "echo hello" commands.
13493         (tramp-run-real-handler): If operation is
13494         `ange-ftp-hook-function', use first arg as the real operation.
13495         (tramp-check-ls-commands): Use / instead of \ as directory
13496         separator.  (Relevant for XEmacs on Windows.)
13497         (tramp-maybe-open-connection): Use tramp-wait-for-output when
13498         waiting for the "are you awake" command.  Use a different string
13499         for the "are you awake" command.
13500         (tramp-send-command): New optional arg NEVEROPEN means to never
13501         invoke tramp-maybe-open-connection.
13502         (tramp-maybe-open-connection): Use it
13504 2002-08-07  Richard M. Stallman  <rms@gnu.org>
13506         * warnings.el (warning-prefix-function, warning-series)
13507         (warning-fill-prefix, warning-group-format): Add autoload cookies.
13509 2002-08-07  Kenichi Handa  <handa@etl.go.jp>
13511         * international/mule-cmds.el (select-safe-coding-system):
13512         Call pop-to-buffer inside save-window-excursion and save-excursion.
13514 2002-08-06  John Paul Wallington  <jpw@shootybangbang.com>
13516         * help-fns.el (describe-function-1): Skip arglist note if
13517         function's definition is a keymap.
13519 2002-08-06  Sam Steingold  <sds@gnu.org>
13521         * calendar/diary-lib.el (diary-mail-entries): Use `compose-mail'
13522         and `mail-user-agent' instead of straight sendmail.
13523         (diary-modified, diary-entries-list, displayed-year)
13524         (displayed-month, entry, date, number, date-string, d-file)
13525         (original-date): Defvar without binding to avoid compiler warnings.
13527 2002-08-05  Alan Shutko  <ats@acm.org>
13529         * ibuffer.el (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
13530         (ibuffer-mode-map): Added ibuffer-filter-by-used-mode.
13531         (ibuffer-mode): Added ibuffer-filter-by-used-mode to doc string.
13533         * ibuf-ext.el (ibuffer-list-buffer-modes): New.
13534         (ibuffer-filter-by-used-mode): New.
13536 2002-08-05  John Paul Wallington  <jpw@shootybangbang.com>
13538         * ediff-util.el (ediff-copy-list): Use `defalias' instead of
13539         `fset' and `symbol-function'.
13541 2002-08-05  John Wiegley  <johnw@gnu.org>
13543         * pcomplete.el (pcomplete-entries): Don't set `above-cutoff' to a
13544         value unless pcomplete-cycle-cutoff-length is non-nil.
13546 2002-04-09  John Paul Wallington  <jpw@shootybangbang.com>
13548         * esh-util.el (eshell-under-cygwin-p): New function.
13549         * em-cmpl.el (eshell-cmpl-ignore-case): Use it.
13550         * em-dirs.el (eshell/cd): Ditto.
13551         * em-glob.el (eshell-glob-case-insensitive): Ditto.
13552         * em-hist.el (eshell-previous-matching-input-string-position): Ditto.
13553         * esh-ext.el (eshell-binary-suffixes): Ditto.
13555 2002-08-05  Richard M. Stallman  <rms@gnu.org>
13557         * international/mule-cmds.el (select-safe-coding-system): Check for
13558         non-nil CODING-SYSTEM before warning it disagrees with AUTO-CS.
13560         * net/ange-ftp.el (ange-ftp-smart-gateway): Doc fix.
13562 2002-08-05  Gerd Moellmann  <gerd@gnu.org>
13564         * image.el (image-jpeg-p): Accept "Exif" marker.
13566 2002-08-05  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13568         * net/tramp.el: Version 2.0.11 released.
13569         (tramp-perl-file-attributes): Print uid and gid as signed integers.
13570         (tramp-invoke-ange-ftp): Correct check for Ange-FTP being loaded.
13571         Invoke Ange-FTP with tramp-run-real-handler to avoid Ange-FTP
13572         calling Tramp again.
13573         (tramp-find-file-exists-command): Check for `ls -d' last, after
13574         all the variants on `test -e'.
13575         (tramp-post-connection): Erase buffer before finding a command to
13576         check if file exists.
13578 2002-08-05  David Kastrup  <David.Kastrup@t-online.de>
13580         * calc/calc.el (math-format-stack-value): Revert a broken
13581         if->when replacement and reformat so that this does not happen
13582         again.  Fixes a pretty lethal line formatting/yanking bug.
13584 2002-08-04  John Paul Wallington  <jpw@shootybangbang.com>
13586         * startup.el (fancy-splash-frame): Check selected frame last.
13588 2002-08-04  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13590         * net/tramp.el: Version 2.0.10 released.
13591         (tramp-uudecode): New shell function `tramp_uudecode' to decode to
13592         standard output even if `uudecode -p' and `uudecode -o -' don't work.
13593         (tramp-post-connection): After finding the right shell, wait a
13594         bit.  This is a kludge to avoid a race condition, even though I
13595         don't understand why there is a race condition in the first place.
13596         (tramp-post-connection): Install the `tramp_uudecode' shell
13597         function on the remote host.
13598         (tramp-coding-commands): Add an alternative for `tramp_uudecode'.
13599         (tramp-bug): Include more variables in the report.
13601 2002-08-04  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13603         * net/tramp.el: Version 2.0.9 released.
13604         (tramp-bug): Add wording about additional info to include in bug
13605         report.
13606         (tramp-find-shell): Set $PS1 for invocation of second shell (for
13607         tilde expansion).
13608         (tramp-find-shell): Shell prompt must match at end of buffer.
13609         Do this also for fallback shell prompt.
13610         (tramp-find-shell): More debugging output.
13611         (tramp-find-inline-encoding): When checking the decoding command,
13612         some commands fail when reading from /dev/null.  So we pass a
13613         known string through the encoding command and pass that through
13614         the decoding command.  So we know whether the decoding command can
13615         deal with some real input.
13617 2002-08-04  Andreas Schwab  <schwab@suse.de>
13619         * net/tramp.el (tramp-perl-encode, tramp-perl-decode): Doc fix.
13621 2002-08-03  Andrew Choi  <akochoi@shaw.ca>
13623         * term/mac-win.el: Set keys to enable mouse wheel support.
13625 2002-08-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13627         * net/tramp.el: Version 2.0.8.
13628         (tramp-perl-encode, tramp-perl-encode): Double the backslashes.
13630 2002-08-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13632         * net/tramp.el: Version 2.0.7.
13633         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
13634         (tramp-perl-encode, tramp-perl-decode): Escape `%' characters
13635         because of `format' and say so in the docstring.
13637 2002-08-03  Glenn Morris  <gmorris@ast.cam.ac.uk>
13639         * progmodes/f90.el (f90-font-lock-keywords-1): Fix highlighting of
13640         `type' forms.
13641         (f90-font-lock-keywords-2): Fix `implicit type(foo)' case.
13642         (f90-type-def-re): Fix value.
13644 2002-08-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13646         * net/tramp.el: Version 2.0.6.
13647         (tramp-default-method): Change to "ssh" from "sm".
13648         (tramp-wrong-passwd-regexp): Restructure.  Add additional alternative.
13649         (tramp-su-program): New internal variable for method parameter.
13650         (tramp-perl-encode-with-module, tramp-perl-decode-with-module):
13651         New variables.  Very short Perl one-liner, but requires Perl
13652         module MIME::Base64 to be installed on the remote site.
13653         (tramp-perl-encode, tramp-perl-decode): New base64
13654         encoder/decoder.  From Juanma Barranquero <lektu@terra.es>.
13655         (tramp-handle-file-truename): Invoke Ange-FTP properly (even
13656         though Ange-FTP doesn't do anything for this operation).
13657         (tramp-handle-set-visited-file-modtime): Comment change.
13658         (tramp-handle-make-directory): Save-excursion.
13659         (tramp-handle-expand-many-files): Don't try to invoke Ange-FTP
13660         twice, once is enough.
13661         (tramp-action-permission-denied): Show *tramp/foo* buffer so the
13662         user knows what's wrong.
13663         (tramp-post-connection): Support the two Perl encoders and decoders.
13664         (tramp-coding-commands): Ditto.  Add some todo items.
13666 2002-08-02  Richard M. Stallman  <rms@gnu.org>
13668         * international/mule.el (merge-coding-systems): New function.
13669         (set-buffer-file-coding-system): Use merge-coding-systems.
13670         Change prompt for args.
13671         (revert-buffer-with-coding-system): New command.
13673         * international/mule-cmds.el (mule-keymap, set-coding-system-map):
13674         Add bindings for revert-buffer-with-coding-system.
13675         (set-coding-system-map): Clarify menu item info for
13676         set-buffer-file-coding-system.
13677         (set-coding-system-map): Reorder and add separators.
13679         * emacs-lisp/edebug.el (edebug-eval-top-level-form):
13680         Use eval-expression.
13682         * subr.el (atomic-change-group): Doc fix.
13684 2002-07-31  Colin Walters  <walters@debian.org>
13686         * ibuffer.el (ibuffer-hooks): Rename to `ibuffer-hook'; Add
13687         defvaralias for compatibility.
13688         (ibuffer-mode-hooks): Rename to `ibuffer-mode-hook'; Add
13689         defvaralias for compatibility.
13691 2002-07-31  John Paul Wallington  <jpw@shootybangbang.com>
13693         * ibuffer.el (ibuffer-fontification-alist):
13694         Use `font-lock-constant-face' instead of `font-lock-reference-face'.
13696 2002-07-31  John Wiegley  <johnw@gnu.org>
13698         * pcomplete.el (pcomplete-comint-setup): Use `add-to-list', to
13699         prevent adding the symbol `pcomplete' to
13700         shell-dynamic-complete-functions to many times.
13702 2002-07-31  Markus Rost  <rost@math.ohio-state.edu>
13704         * help-fns.el (describe-function-1): Test function for
13705         obsolescence only if it is a symbol.
13707         * ediff.el (ediff-backup): New autoloaded command.
13709 2002-07-31  Richard M. Stallman  <rms@gnu.org>
13711         * makefile.w32-in (compile-after-backup): Renamed from `compile'.
13712         Use `compile-always'.
13713         (bootstrap): Use `compile', not `compile-files'.  Use `update-subdirs'.
13714         (compile): Renamed from `compile-files'.
13715         (compile-CMD, compile-SH): Renamed from `compile-files-*'.
13717         * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
13718         Check that (car elt) is a string.
13720         * pcomplete.el (pcomplete-entries): Doc fix.
13722         * international/mule.el (non-standard-icccm-encodings-alist): Doc fix.
13724 2002-07-31  Andreas Schwab  <schwab@suse.de>
13726         * dired.el: Hide disabling of dired-find-alternate-file behind
13727         autoload-cookie.
13729 2002-07-31  Tak Ota  <Takaaki.Ota@am.sony.com>  (tiny change)
13731         * makefile.w32-in: Revert some changes from 2002-07-23 because they
13732         don't work on MSVC/nmake builds.
13733         (update-subdirs-CMD): Generate the right list of subdirectories.
13735 2002-07-30  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13737         * net/tramp.el: New version 2.0.5.
13738         (tramp-methods): Remove inline encoding method parameters.
13739         The encoding is now autodetected.  Also shorten the list of
13740         methods (u/m distinction gone) and rename the remaining methods to
13741         have longer, but more mnemonic, names.
13742         (tramp-login-prompt-regexp, tramp-password-prompt-regexp)
13743         (tramp-wrong-passwd-regexp): Trailing `$' not needed, regexp is
13744         matched at end of buffer anyway.
13745         (tramp-yesno-prompt-regexp): New variable, for questions where the
13746         user should say "yes" or "no".
13747         (tramp-file-name-structure-unified)
13748         (tramp-file-name-structure-separate): Allow dash in method names.
13749         (tramp-actions-before-shell): New variable, contains list of
13750         pattern/action pairs.  Output sent by remote end is scanned for
13751         the patterns, then the actions are executed.
13752         (tramp-multi-actions): Like `tramp-actions-before-shell', but
13753         executed for each hop in a multi-hop connection.
13754         (tramp-last-cmd-time): New variable.  If nothing has been sent to
13755         remote end for 60 seconds, look to see if the remote end is still
13756         alive.
13757         (tramp-perl-mime-encode, tramp-perl-mime-decode): Remove.
13758         It didn't work.
13759         (tramp-perl-encode, tramp-perl-decode): New variables, these
13760         require the MIME::Base64 module on the remote end.
13761         (tramp-handle-file-attributes): Restructure logic.
13762         (tramp-handle-file-attributes-with-ls)
13763         (tramp-handle-file-attributes-with-perl): More debugging.
13764         (tramp-handle-directory-files): Grok fifth arg `files-only' for XEmacs.
13765         (tramp-handle-make-directory, tramp-handle-delete-directory)
13766         (tramp-handle-delete-file, tramp-handle-insert-directory):
13767         Expand file name.
13768         (tramp-handle-shell-command): Use `when', not `if'.
13769         (tramp-handle-file-local-copy, tramp-handle-write-region):
13770         Adapt to autodetection of inline encoding.
13771         (tramp-invoke-ange-ftp): Require ange-ftp to make sure that
13772         variable ange-ftp-name-format is defined before binding it.
13773         (tramp-action-login, tramp-action-password, tramp-action-succeed)
13774         (tramp-action-permission-denied, tramp-action-yesno):
13775         Functions called from `tramp-actions-before-shell'.
13776         (tramp-multi-action-login, tramp-multi-action-password)
13777         (tramp-multi-action-succeed, tramp-multi-action-permission-denied):
13778         Functions called from `tramp-multi-actions'.
13779         (tramp-process-one-action, tramp-process-actions):
13780         Pattern matching and action invocation code for
13781         `tramp-actions-before-shell'.
13782         (tramp-process-one-multi-action, tramp-process-multi-actions):
13783         Same for `tramp-multi-actions'.
13784         (tramp-open-connection-telnet, tramp-open-connection-rsh)
13785         (tramp-open-connection-su): Process actions instead of hardwired logic.
13786         (tramp-multi-connect-telnet, tramp-multi-connect-rlogin)
13787         (tramp-multi-connect-su): Ditto.
13788         (tramp-post-connection): New method for tramp_encode and
13789         tramp_decode scripts.
13790         (tramp-post-connection): Invoke inline autodetection code.
13791         (tramp-coding-commands): List of inline codings.
13792         (tramp-find-inline-encoding): This is the inline autodetection code.
13793         (tramp-maybe-open-connection): If nothing was sent to connection
13794         for 60 seconds, look if it connection is still alive.
13795         (tramp-send-command): Remember that something was sent to the
13796         connection.
13797         (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
13798         Use backticks for constructing alist.
13799         (tramp-get-encoding-command, tramp-set-encoding-command)
13800         (tramp-get-decoding-command, tramp-set-decoding-command)
13801         (tramp-get-encoding-function, tramp-set-encoding-function)
13802         (tramp-get-decoding-function, tramp-set-decoding-function):
13803         Use for results of inline autodetection.
13804         (tramp-get-encoding-command, tramp-get-decoding-command)
13805         (tramp-get-encoding-function, tramp-get-decoding-function):
13806         Remove these old functions.
13808 2002-07-30  Kenichi Handa  <handa@etl.go.jp>
13810         * language/indian.el (in-is13194): Give correct `safe-chars' property.
13811         (devanagari): Define it as an alias of in-is13194.
13813         * international/mule.el (safe-chars):
13814         Put `char-table-extra-slots' property with value 0.
13816         * files.el (revert-buffer): Fix previous change.
13818 2002-07-29  Richard M. Stallman  <rms@gnu.org>
13820         * bindings.el (help-echo): If global-mode-string is non-nil,
13821         display some spaces after it.
13823         * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
13824         Don't call string-match on non-string.
13826         * textmodes/ispell.el (check-ispell-version): Bind default-directory
13827         to avoid errors.  Kill the old temp buffer at the beginning.
13829 2002-07-29  Glenn Morris  <gmorris@ast.cam.ac.uk>
13831         * scroll-all.el (scroll-all-mode): Make argument optional.  Doc fix.
13833 2002-07-29  John Paul Wallington  <jpw@shootybangbang.com>
13835         * scroll-all.el (scroll-all-mode): Handle numeric arg.  Use `if'
13836         instead of `cond'.
13838 2002-07-29  Kenichi Handa  <handa@etl.go.jp>
13840         * international/mule.el (ctext-post-read-conversion): Add support
13841         for embedded utf-8 encoding (ESC % G ... ESC % @).
13843 2002-07-28  Kenichi Handa  <handa@etl.go.jp>
13845         * files.el (revert-buffer): Before calling insert-file-contents,
13846         kill the local variable buffer-file-coding-system.
13848 2002-07-28  Richard M. Stallman  <rms@gnu.org>
13850         * bindings.el (mode-line-format): Handle vc-mode specially.
13851         Move mode-line-position to after global-mode-string.
13852         (mode-line-modes): Move the starting 3 spaces out of here.
13853         (mode-line-position): Separate with a space, not dashes.
13855         * vc-hooks.el: Don't add to minor-mode-alist.
13857         * emacs-lisp/edebug.el (edebug-debugger):
13858         If inside redisplay, just return.
13860         * emacs-lisp/debug.el (debug): If inside redisplay, just return.
13862         * info.el (Info-find-index-name): Improve last change.
13864 2002-07-27  Richard M. Stallman  <rms@gnu.org>
13866         * files.el (file-name-sans-extension): Avoid expanding DIRECTORY.
13868         * calendar/cal-hebrew.el (diary-rosh-hodesh): Cons mark on
13869         in the third case.
13871 2002-07-27  Markus Rost  <rost@math.ohio-state.edu>
13873         * ps-print.el: Update copyright year.
13874         (ps-begin-cut-regexp, ps-end-cut-regexp): Fix type.
13876 2002-07-26  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
13878         * eshell/eshell.el (eshell): Numeric prefix arg means to switch
13879         to the session with that number.  Old behavior still available
13880         with nonumeric prefix args.
13882 2002-07-08  Simon Josefsson  <jas@extundo.com>
13884         * mail/mail-extr.el (mail-extr-all-top-level-domains): Update names.
13886 2002-07-26  Juanma Barranquero  <lektu@terra.es>
13888         * warnings.el (lwarn, warn, warning-levels): Doc fix.
13889         (warning-suppress-log-types): Fix typo.
13890         (display-warning): Fix typo. Remove useless assignment to free variable
13891         `group-string'.
13893 2002-07-25  Markus Rost  <rost@math.ohio-state.edu>
13895         * ediff-wind.el (ediff-window-setup-function): Extend type declaration.
13897 2002-07-25  Sam Steingold  <sds@gnu.org>
13899         * replace.el (occur-rename-buffer): New command.
13900         (occur-mode-map): Bind "r" to it.  Added keybindings for
13901         `kill-this-buffer', `clone-buffer' and `quit-window'.
13903 2002-07-25  Kevin Ryde  <user42@zip.com.au>
13905         * info.el (Info-find-index-name): Search for a function definition
13906         with a return type.
13908 2002-07-25  David Ponce  <david@dponce.com>
13910         * emacs-lisp/bytecomp.el (byte-compile-set-symbol-position):
13911         Don't recompute `entry' on each iteration.
13912         (byte-compile-delete-first): Make it defsubst.
13914 2002-07-25  Sam Steingold  <sds@gnu.org>
13916         * progmodes/cc-engine.el (c-search-uplist-for-classkey):
13917         When `search-end' is a cons, use its car.
13919 2002-07-25  Dave Love  <fx@gnu.org>
13921         * obsolete/c-mode.el: Deleted.
13923 2002-07-25  Carsten Dominik  <dominik@astro.uva.nl>
13925         * textmodes/reftex.el (reftex-compile-variables):
13926         Simplified regular expression.
13928         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13929         Simplified the regexp.
13931         * textmodes/reftex-cite.el (reftex-get-bibkey-default): New function.
13932         (reftex-extract-bib-entries-from-thebibliography):
13933         Use `reftex-get-bibkey-default' to get a default regex.
13934         (reftex-extract-bib-entries): Use `reftex-get-bibkey-default' to
13935         get a default regex.
13937         * textmodes/reftex-toc.el (reftex-toc-mode): Use `make-local-hook' for
13938         XEmacs compatibility (got OK from RMS).
13940         * textmodes/reftex-index.el (reftex-index-mode): Likewise.
13942         * textmodes/reftex-sel.el (reftex-select-label-mode): Likewise.
13943         (reftex-select-bib-mode): Likewise.
13945 2002-07-25  Colin Walters  <walters@debian.org>
13947         * ibuffer.el (ibuffer-mouse-popup-menu): Allow point to be moved
13948         by menu functions.
13950 2002-07-24  Dave Love  <fx@gnu.org>
13952         * international/mule.el (set-auto-coding): Doc fix.
13954         * international/utf-16.el: New file.
13956         * language/european.el ("German", "French", "Spanish", "Turkish"):
13957         Add alternative coding systems.
13958         ("Dutch"): Likewise.  Add input method.
13959         ("Welsh", "Latin-7"): Add nonascii-translation.
13961         * language/georgian.el ("Georgian"): Add nonascii-translation.
13963         * international/titdic-cnv.el: Doc fixes.
13964         (tit-process-header): Add coding cookie.
13965         (titdic-convert): Force writing as iso-2022-7bit.
13967         * international/ja-dic-cnv.el (skkdic-convert): Add coding cookie.
13969         * international/mule-cmds.el: Doc fixes.
13970         (unencodable-char-position): New.
13971         (select-safe-coding-system): Use it to indicate problematic
13972         characters and add extra explanation.  Avoid checking auto-coding
13973         for compressed files.
13974         (leim-list-header): Add coding cookie.
13975         (input-method-verbose-flag): Modify :type.
13976         (locale-language-names): Add bs, wa.  Modify cy.
13978 2002-07-24  Richard M. Stallman  <rms@gnu.org>
13980         * emacs-lisp/bytecomp.el (byte-compile-log-warning):
13981         Bind warning-group-format.
13983         * emacs-lisp/bytecomp.el (byte-compile-cl-functions): New variable.
13984         (byte-compile-cl-warn): Use that variable.
13985         (byte-compile-find-cl-functions): New function.
13986         (displaying-byte-compile-warnings):
13987         Call byte-compile-find-cl-functions.
13989         * warnings.el (warning-levels): Add %s to the strings.
13990         (warning-group-format): New variable.
13991         (warning-suppress-log-types): Renamed from warning-suppress-log.
13992         (warning-suppress-types): Renamed from warning-suppress.
13993         (display-warning): Implement those changes.
13995 2002-07-23  Richard M. Stallman  <rms@gnu.org>
13997         * warnings.el: Add `provide' call.
13999         * files.el (basic-save-buffer-2): If there's an error writing the file,
14000         unrename the backup file if it was just made.
14001         (backup-buffer, basic-save-buffer-2, basic-save-buffer-1)
14002         (basic-save-buffer): Value now has form (MODES . BACKUPNAME)
14003         when a backup was just made by renaming.  Otherwise it's nil.
14005         * wid-edit.el (widget-convert): Handle an argument that's a keyword.
14006         Recognize explicit :args specification.
14008         * international/mule-cmds.el (select-safe-coding-system):
14009         Don't ask for confirmation of mismatch if find-file-literally was used.
14011 2002-07-23  Markus Rost  <rost@math.ohio-state.edu>
14013         * add-log.el (add-log-current-defun): Fix typo in documentation.
14015 2002-07-22  Markus Rost  <rost@math.ohio-state.edu>
14017         * add-log.el (add-log-mailing-address): Fix type.  Can be a string.
14019         * ido.el (ido-separator): Fix type.
14021 2002-07-23  Andrew Innes  <andrewi@gnu.org>
14023         * makefile.w32-in (DONTCOMPILE): Remove cus-start.el.
14024         (DONTCOMPILE): Add various language files.
14025         (DONTCOMPILE): Remove term/xterm.el.
14026         (finder-inf.el): Remove.
14027         (update-authors): New target.
14028         (TAGS-LISP): Remove $(lispsource).
14029         (compile-always): Renamed from `compile-files'.
14030         (compile): New target, adapted from `compile-files'.
14031         (compile-calc): New target.
14032         (recompile): Change `.' to $(lisp).
14033         (bootstrap): Add update-subdirs and finder-data
14034         to dependencies; change compile-files to compile.
14036 2002-07-22  Andre Spiegel  <spiegel@gnu.org>
14038         * vc.el (vc-next-action-on-file): Preserve find-file-literally.
14040 2002-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
14042         * simple.el (undo, undo-more): Adjust messages when undoing in a
14043         region.
14045 2002-07-22  John Paul Wallington  <jpw@shootybangbang.com>
14047         * net/browse-url.el (browse-url-lynx-input-attempts): Use defcustom.
14048         (browse-url-lynx-input-delay): Add custom type and group.
14050         * cus-start.el (double-click-fuzz): Added.
14052 2002-07-22  Alan Shutko  <ats@acm.org>
14054         * calendar/solar.el (diary-sabbath-candles): Add optional MARK
14055         parameter, specifying what face or character to use in the
14056         calendar display.  These will now return (MARK . ENTRY).
14058         * calendar/lunar.el (diary-phases-of-moon): Add optional MARK
14059         parameter, specifying what face or character to use in the
14060         calendar display.  These will now return (MARK . ENTRY).
14062         * calendar/cal-hebrew.el (diary-omer, diary-yahrzeit)
14063         (diary-rosh-hodesh, diary-parasha, diary-parasha): Add optional
14064         MARK parameter, specifying what face or character to use in the
14065         calendar display.  These will now return (MARK . ENTRY).
14067         * calendar/diary-lib.el (mark-sexp-diary-entries): Retrieve mark
14068         from diary-sexp-entry and pass it to mark-visible-calendar-date.
14069         (list-sexp-diary-entries): Update doc string for new docs for ....
14070         If diary-sexp-entry returns a cons, only add the text to the diary
14071         list.
14072         (diary-sexp-entry): Allow sexps to return a cons of the form (MARK
14073         . STRING) to specify what face or character mark should be used in
14074         the calendar display.
14075         (diary-date, diary-block, diary-float, diary-anniversary)
14076         (diary-cyclic): Add optional MARK parameter, specifying what face
14077         or character to use in the calendar display.  These will now
14078         return (MARK . ENTRY).
14080         * calendar/diary-lib.el (check-calendar-holidays, diary-iso-date)
14081         (calendar-holiday-list, diary-french-date, diary-mayan-date)
14082         (diary-julian-date, diary-astro-day-number, diary-chinese-date)
14083         (diary-islamic-date, list-islamic-diary-entries)
14084         (mark-islamic-diary-entries, mark-islamic-calendar-date-pattern)
14085         (diary-hebrew-date, diary-omer, diary-yahrzeit, diary-parasha)
14086         (diary-rosh-hodesh, list-hebrew-diary-entries)
14087         (mark-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
14088         (diary-coptic-date, diary-persian-date, diary-phases-of-moon)
14089         (diary-sunrise-sunset, diary-sabbath-candles):
14090         Remove interactive flag from autoloads.
14092 2002-07-22  Carsten Dominik  <dominik@astro.uva.nl>
14094         * textmodes/reftex-vars.el (reftex-index-verify-function): New option.
14095         (reftex-bibliography-commands): New option.
14096         (reftex-toc-split-windows-horizontally): New option
14097         (reftex-toc-split-windows-horizontally-fraction): New option
14098         (reftex-include-file-commands): New option.
14099         (reftex-cite-format-builtin): Added ?n for nocite.
14101         * textmodes/reftex-index.el (reftex-query-index-phrase):
14102         Use `reftex-index-verify-function'.
14104         * textmodes/reftex-toc.el (reftex-re-enlarge):
14105         Handle horizontal splitting.
14106         (reftex-toc): Handle horizontal splitting
14107         (reftex-last-window-width): New variable.
14109         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
14110         Use `reftex-bibliography-commands'.
14111         (reftex-locate-bibliography-files): Regexp relaxed to allow for
14112         cases where \bibliography is not the first thing on the line.
14114         * textmodes/reftex.el (reftex-compile-variables):
14115         Use `reftex-include-file-commands'.
14116         (reftex-type-query-prompt): Changed defconst to defvar.
14117         (reftex-type-query-help, reftex-typekey-to-format-alist)
14118         (reftex-typekey-to-prefix-alist, reftex-env-or-mac-alist)
14119         (reftex-special-env-parsers, reftex-label-mac-list)
14120         (reftex-label-env-list, reftex-typekey-list)
14121         (reftex-words-to-typekey-alist, reftex-key-to-index-macro-alist)
14122         (reftex-query-index-macro-prompt, reftex-query-index-macro-help)
14123         (reftex-no-follow-message, reftex-no-info-message): Likewise.
14124         (reftex-mode): Define systax table for bibtex parsing.
14125         (reftex-syntax-table-for-bib): Syntax table for bibtex parsing.
14127         * textmodes/reftex-cite.el (reftex-format-names): %a as name
14128         format lists all names.
14129         (reftex-parse-bibtex-entry): Use `reftex-syntax-table-for-bib'.
14130         (reftex-with-special-syntax-for-bib): New macro.
14132 2002-07-21  Richard M. Stallman  <rms@gnu.org>
14134         * international/ucs-tables.el (ucs-quail-activate):
14135         Cope if buffer-file-coding-system is nil.
14137         * bindings.el (last-buffer): Use buffer-list with frame arg.
14138         Create *scratch* if no other choice exists.  Fix bugs.
14140 2002-07-21  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
14142         * net/tramp.el: Bump version to 2.0.2.
14143         (tramp-methods): Rename methods invoking "ssh1" or "ssh2" to
14144         longer names.  Use old names "sm1", "sm2" and so on for methods
14145         invoking "ssh -1" or "ssh -2".
14146         (tramp-multi-file-name-structure-separate): Typo, its name was set
14147         to "tramp-file-name-structure-separate".  Trivial patch.
14148         From Steve Youngs <youngs@xemacs.org>.
14149         (tramp-multi-sh-program): New variable.
14150         (tramp-open-connection-multi): Use it.  Now you can use multi
14151         methods from Windows (at least in principle).
14152         (tramp-do-copy-or-rename-via-buffer): New function.
14153         (tramp-do-copy-or-rename-file): Use it.  Change and simplify
14154         logic.  Omit special case of invoking rcp directly to copy the files.
14155         (tramp-open-connection-su, tramp-multi-connect-telnet)
14156         (tramp-multi-connect-rlogin, tramp-multi-connect-su)
14157         (tramp-make-tramp-file-name, tramp-make-tramp-multi-file-name):
14158         Use backticks in format-spec for brevity and to avoid
14159         character/number confusion in XEmacs.
14161 2002-07-20  Richard M. Stallman  <rms@gnu.org>
14163         * wid-edit.el (widget-documentation-string-value-create):
14164         Say "Hide Rest", not just "Hide".
14166         * cus-edit.el (custom-variable-value-create):
14167         Say "Show Value", not just "Show".  Also "Hide Value".
14168         Output a newline before the doc string.
14169         (custom-face-value-create): Say "Show Face" and "Hide Face".
14171         * files.el (toggle-read-only): Clean up the hint message.
14173         * emacs-lisp/bytecomp.el: Use warnings.el.
14174         (byte-compile-warning-prefix): New function.
14175         (byte-compile-log-file): Return page start position.
14176         (byte-compile-log-warning): New function.
14177         (byte-compile-warn): Use byte-compile-log-warning.
14178         (byte-compile-report-error): Likewise.  Also use error-message-string.
14179         (displaying-byte-compile-warnings): Bind warning-series.
14180         Don't bind or use byte-compile-warnings-point-max.
14181         Don't display the log buffer at the end.
14182         (byte-compile-warnings-point-max): Variable deleted.
14183         (byte-compile-log-1): Rewrite for trace info, not used for warnings.
14184         (byte-compile-last-warned-form, byte-compile-last-logged-file):
14185         Defvars moved.
14187         * warnings.el: New file.
14189 2002-07-19  Richard M. Stallman  <rms@gnu.org>
14191         * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Delete `values'
14192         and `values-list' from list of CL functions.
14194 2002-07-19  John Paul Wallington  <jpw@shootybangbang.com>
14196         * emacs-lisp/bytecomp.el (compile-defun):
14197         Bind `read-with-symbol-positions' to current buffer.
14199 2002-07-19  Andre Spiegel  <spiegel@gnu.org>
14201         * vc-hooks.el (vc-insert-file): When called with a LIMIT regexp,
14202         delete anything that comes after LIMIT from the buffer.
14204         * vc-rcs.el (vc-rcs-fetch-master-state): Be more careful to check
14205         if this is really an RCS master file.
14207         * vc.el: Improve comment of vc-BACKEND-workfile-unchanged-p.
14209 2002-07-19  Juanma Barranquero  <lektu@terra.es>
14211         * emacs-lisp/bytecomp.el (dot, dot-max, dot-min, dot-marker)
14212         (buffer-flush-undo, baud-rate, compiled-function-p, define-function)
14213         (unread-command-char, executing-macro, post-command-idle-hook)
14214         (post-command-idle-delay): Move obsolescence declarations to subr.el.
14216         * subr.el (dot, dot-max, dot-min, dot-marker, buffer-flush-undo)
14217         (baud-rate, compiled-function-p, define-function, unread-command-char)
14218         (executing-macro, post-command-idle-hook, post-command-idle-delay):
14219         Move obsolescence declarations from emacs-lisp/bytecomp.el.
14220         (directory-sep-char, mode-line-inverse-video):
14221         Add obsolescence declaration.
14223 2002-07-18  J.D. Smith  <jdsmith@as.arizona.edu>
14225         * progmodes/idlwave.el: Updated to IDLWAVE version 4.14.  Too many
14226         changes to list them here.
14228         * progmodes/idlw-shell.el: Updated to IDLWAVE version 4.14.
14229         Too many changes to list them here.
14231         * progmodes/idlw-rinfo.el: Updated to IDLWAVE version 4.14.
14232         Too many changes to list them here.
14234         * progmodes/idlw-toolbar.el: Updated to IDLWAVE version 4.14 with
14235         only minor documentation changes.
14237 2002-07-18  Dave Love  <fx@gnu.org>
14239         * info-look.el: Support current auto{conf,make} manuals.
14241 2002-07-18  Juanma Barranquero  <lektu@terra.es>
14243         * bindings.el (last-buffer): Add missing frame argument.
14245 2002-07-18  Richard M. Stallman  <rms@gnu.org>
14247         * timer.el (timer-inc-time): Doc fix.
14249         * replace.el (keep-lines, flush-lines): Interactively report
14250         read-only error before reading regexp argument.
14252         * dabbrev.el (dabbrev--search): Use inhibit-point-motion-hooks.
14254         * bindings.el (last-buffer): Handle buffer-list and buffer-predicate
14255         frame parameters like bury-buffer.
14257         * simple.el (choose-completion-delete-max-match):
14258         Handle minibuffer prompts explicitly.
14260 2002-07-18  Juanma Barranquero  <lektu@terra.es>
14262         * international/mule-util.el (string-to-sequence, truncate-string):
14263         Add autoload cookie to obsolescence declaration.
14265         * rect.el (move-to-column-force): Likewise.
14267         * composite.el (decompose-composite-char): Likewise; also remove
14268         redundant info.
14270 2002-07-18  Kim F. Storm  <storm@cua.dk>
14272         * loadup.el: Load international/utf-8 before international/characters.
14274 2002-07-17  Dave Love  <fx@gnu.org>
14276         * international/ucs-tables.el: Optimize tables.  Deal with some
14277         non-8859 charsets.
14278         (ucs-mule-to-mule-unicode): New.
14279         (ucs-unify-8859): Use utf-8-fragment-on-decoding, set up Quail
14280         translation.
14281         (ucs-fragment-8859): Modified consistent with ucs-unify-8859.
14282         (unify-8859-on-encoding-mode): Doc mod.  Fix custom version.
14283         (unify-8859-on-decoding-mode): Doc mod.  Change code.  Fix custom
14284         version.  Add custom dependencies.
14285         (ucs-insert): Check for null from decode-char.
14286         (translation-table-for-input, ucs-quail-activate)
14287         (ucs-minibuffer-setup, ccl-encode-unicode-font)
14288         (ucs-tables-unload-hook): New.
14290         * international/mule.el (define-translation-hash-table): New.
14291         (decode-char): Use utf-8-translation-table-for-decode.
14292         (encode-char): Use ucs-mule-to-mule-unicode.
14294         * international/characters.el: Fix settings of U+2000-U+2027.
14295         Remove \e$(C'Y\e(B.
14297         * international/mule-cmds.el (locale-language-names): Fix be, add
14298         sr_YU@cyrillic, modify tg.
14299         (locale-charset-language-names): Put @euro last.
14301         * language/cyrillic.el (cyrillic-koi8-r-decode-table)
14302         (cyrillic-alternativnyj-decode-table): Fill out with mule-unicode.
14303         (cyrillic-koi8-r-decode-table): Make unbound after use.
14304         (ccl-decode-koi8, ccl-decode-alternativnyj): Change expansion
14305         factor.  Use utf-8-translation-table-for-decode.
14306         (ccl-encode-koi8, ccl-encode-koi8): Don't check r0.
14307         (cyrillic-unify-encoding): New function.
14308         (cyrillic-koi8): Modify safe-chars, valid-codes.
14309         Remove charset-origin-alist.
14310         (Cp878, cp866): New alias.
14311         (ccl-encode-8859-5-font): New.
14312         (font-ccl-encoder-alist): Add ccl-encode-8859-5-font.
14313         (ccl-encode-koi8-font, ccl-encode-alternativnyj-font):
14314         Remove redundant parens.
14315         ("Cyrillic-KOI8"): Add cyrillic-iso-8bit to coding-priority.
14316         (cyrillic-koi8-u-decode-table, ccl-decode-koi8-u)
14317         (ccl-encode-koi8-u, koi8-u, ccl-encode-koi8-u-font, "Ukrainian"): New.
14318         (cyrillic-alternativnyj): Modify safe-chars, add mime-charset.
14319         ("Cyrillic-ALT"): Change input method.
14320         ("Windows-1251", "Tajik", "Bulgarian", "Belarusian"): New.
14322         * international/utf-8.el (utf-8-subst-table)
14323         (utf-8-subst-rev-table, utf-8-translation-table-for-decode)
14324         (utf-8-fragment-on-decoding, ccl-untranslated-to-ucs)
14325         (utf-8-ccl-regs, utf-8-translate-cjk): New.
14326         (ccl-encode-mule-utf-8): Use utf-8-subst-rev-table.
14327         (ccl-decode-mule-utf-8, ccl-untranslated-to-ucs)
14328         (utf-8-untranslated-to-ucs, utf-8-compose): Rewritten.
14329         (mule-utf-8): Remove pre-write-conversion.
14330         (utf-8-post-read-conversion): Comment out.
14332         * international/ccl.el (ccl-command-table): Add lookup-integer,
14333         lookup-character.
14334         (ccl-extended-code-table): Add lookup-int-const-tbl,
14335         lookup-char-const-tbl.
14336         (ccl-compile-lookup-integer, ccl-compile-lookup-character)
14337         (ccl-dump-lookup-int-const-tbl, ccl-dump-lookup-char-const-tbl):
14338         New functions.
14339         (define-ccl-program): Doc update.
14341         * international/utf-8-subst.el: Populate utf-8-subst-rev-table.
14342         (utf-8-subst-table): Don't set.
14344 2002-07-17  Kenichi Handa  <handa@etl.go.jp>
14346         * international/mule.el (define-coding-system-alias):
14347         Don't append ALIAS in the property `alias-coding-systems' if ALIAS's
14348         eol-type is not auto-detection.
14350         * international/mule-diag.el (print-coding-system-briefly):
14351         Fix the handling of an alias of which eol-type is not auto-detection.
14353         * international/mule-conf.el (us-ascii): Define it as an alias of
14354         iso-safe.
14356 2002-07-17  Juanma Barranquero  <lektu@terra.es>
14358         * help-fns.el (describe-function-1): Put empty line before "Not
14359         documented" text.
14361         * timer.el (timer-set-time-with-usecs): Mark obsolete.
14363 2002-07-16  Stefan Monnier  <monnier@cs.yale.edu>
14365         * toolbar/tool-bar.el (tool-bar-add-item-from-menu):
14366         Make sure to change the global tool-bar-map.
14368         * vc.el (vc-default-comment-history): Hard code *vc*.
14369         This is because print-log always prints there now.
14370         (vc-annotate-font-lock-keywords): New var.
14371         (vc-annotate-mode): Use it.  Set truncate-lines as well.
14372         (vc-annotate-display-select): Unify the two error reports.
14373         (vc-annotate-offset): New var.
14374         (vc-annotate-lines): New fun extracted from vc-annotate-display.
14375         (vc-annotate-display): Use it, via font-lock.
14377         * help-fns.el (help-split-fundoc, help-function-arglist)
14378         (help-make-usage): New funs, extracted from describe-function-1.
14379         (describe-function-1): Use them.
14381         * help.el (help-key-description): Show the untranslated keys
14382         when they start with ESC and the ESC was not translated.
14384         * help-mode.el (view): Always require.
14385         (help-xref-mule-regexp): Don't use defconst for variables.
14386         (help-setup-xref): Keep the last 10 elements of the stack.
14387         (help-xref-override-view-map): New var.
14388         (help-make-xrefs): Use it instead of building a new map each time.
14389         (help-function-def): Allow help-fun to take a buffer as arg.
14391         * diff-mode.el (diff-reverse-direction): Simplify.
14392         (diff-after-change-function): Fix typo.
14393         (diff-post-command-hook): Take care of edge cases.
14394         (diff-current-defun): Do `goto-char' after setting the mode.
14396         * mouse-sel.el (mouse-sel-mode): Use define-minor-mode.
14397         Fold mouse-sel-bindings into it.
14398         (mouse-sel-bound-events): Turn it into an alist.
14399         (mouse-insert-selection): Delegate to mouse-yank-at-click if
14400         mouse-sel-default-bindings asks for it.
14402 2002-07-16  Andre Spiegel  <spiegel@gnu.org>
14404         * files.el: Bind toggle-read-only to C-x C-q.
14405         (toggle-read-only): Display a warning message if the file is under
14406         version control.
14408         * vc-hooks.el: Don't bind vc-toggle-read-only to C-x C-q.
14409         (vc-toggle-read-only): Explain in the doc string that users can bind
14410         this to C-x C-q.
14411         (vc-checkout-model): Change doc string to refer to vc-next-action,
14412         not vc-toggle-read-only.
14414         * vc.el (vc-next-action-on-file): Ignore buffer-read-only while
14415         comparing to file on disk.  Fix the case when claiming the lock
14416         on a file that has unlocked changes.
14417         (vc-log-mode): Don't mention vc-toggle-read-only in the doc string.
14419 2002-07-16  Richard M. Stallman  <rms@gnu.org>
14421         * simple.el (choose-completion-string): Doc fix.
14423         * cus-edit.el: New operation :custom-standard-value.
14424         (Custom-reset-standard): Use it.
14425         (custom-variable, custom-face): Define it.
14426         (custom-variable-standard-value, custom-face-standard-value): New fns.
14427         (custom-face-save): Don't save a face whose value is standard.
14428         (custom-save-faces): Use SYMBOL, not 'default, to set NOW and COMMENT.
14430         * cus-edit.el (custom-face-edit-fix-value):
14431         If VALUE is not a list, pass it thru.
14433         * compare-w.el (compare-windows-whitespace): Always allow newline
14434         even if it does not have whitespace syntax.
14436 2002-07-16  Juanma Barranquero  <lektu@terra.es>
14438         * timer.el (timer-set-time, timer-set-time-with-usecs): Fix docstring.
14440 2002-07-15  Juanma Barranquero  <lektu@terra.es>
14442         * help-fns.el (describe-variable): Show documentation for aliased
14443         variable if alias does not have its own.
14445 2002-07-15  Mike Williams  <mdub@bigfoot.com>
14447         * mouse-sel.el (mouse-sel-bindings): Save/restore interprogram
14448         cut/paste functions.
14450 2002-07-14  Richard M. Stallman  <rms@gnu.org>
14452         * files.el (find-alternate-file): Offer to save a modified buffer.
14453         Handle kill-buffer-query-functions better.
14455         * startup.el (normal-splash-screen, fancy-splash-text):
14456         Update name of help menu item for ordering printed manuals.
14458         * emacs-lisp/checkdoc.el: Fix doc typos.
14460 2002-07-14  Stefan Monnier  <monnier@cs.yale.edu>
14462         * textmodes/tex-mode.el: Set encoding to utf-8.
14463         (tex-start-options): Make it into always-a-string.
14464         Remove silly custom options that are covered by the other var.
14465         (tex-start-commands): Fix docstring.
14466         (tex-open-quote, tex-close-quote): Add options.
14467         (tex-command): Provide default.
14468         (tex-font-lock-keywords-1): Highlight $$...$$.
14469         (tex-font-lock-keywords-2): Fix latin-1 chars.
14470         (tex-mode-map): Remove redundant \t binding.
14471         (tex-mode): Add `subsection' and `newcommand' to known latex cmds.
14472         (latex-mode): Use add-hook for fill-nobreak-predicate.
14473         (tex-common-initialization): Set indent-tabs-mode to nil.
14474         (tex-insert-quote): Undo magic if invoked twice in a row.
14475         (latex-fill-nobreak-predicate): Don't use narrowing.
14476         (tex-latex-block): Don't cons uselessly.
14477         (tex-last-unended-begin): Signal user-friendlier error.
14478         (tex-goto-last-unclosed-latex-block): Don't catch signal.
14479         (tex-start-tex): Switch order of tex-start-options and
14480         tex-start-commands to make it obey docstrings.
14482 2002-07-14  Mike Williams  <mdub@bigfoot.com>
14484         * mouse-sel.el (mouse-sel-bound-events): New constant.
14485         (mouse-sel-bindings): Save/restore original mouse-bindings.
14487 2002-07-13  Stefan Monnier  <monnier@cs.yale.edu>
14489         * emacs-lisp/cl.el (cl-set-substring): Fix thinko.
14490         (cl-hack-byte-compiler): Avoid infinite require loop.
14492         * net/ange-ftp.el: Use hash-tables.
14493         (ange-ftp-make-hashtable, ange-ftp-map-hashtable)
14494         (ange-ftp-make-hash-key, ange-ftp-get-hash-entry)
14495         (ange-ftp-put-hash-entry, ange-ftp-del-hash-entry): Remove.
14496         Replace with make-hash-table, maphash, gethash, puthash and remhash.
14497         (ange-ftp-hash-entry-exists-p): Rewrite.
14498         (ange-ftp-vms-delete-file-entry, ange-ftp-vms-add-file-entry):
14499         Change mapatom -> maphash.
14500         (ange-ftp-file-entry-active-p, ange-ftp-file-entry-not-ignored-p):
14501         Update to new calling mode.
14503         * progmodes/ebrowse.el (ebrowse-symbol-regexp): Avoid cl-set-substring.
14504         (ebrowse-hash-table-to-alist): Delete.
14505         (ebrowse-tags-read-name, ebrowse-tags-list-members-in-file)
14506         (ebrowse-tags-complete-symbol): Use the hashtable for completion.
14508         * textmodes/sgml-mode.el (sgml-quote): Use narrowing.
14509         Improve the regexp used when unquoting.
14510         (sgml-pretty-print): New function.
14511         (sgml-get-context): Better handling of improperly nested tags.
14512         (sgml-show-context): Don't use the FULL arg of sgml-get-context.
14514 2002-07-13  Andreas Schwab  <schwab@suse.de>
14516         * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Check the
14517         inherited table entry.
14519 2002-07-13  Glenn Morris  <gmorris@ast.cam.ac.uk>
14521         * calendar/timeclock.el (timeclock-in): Handle the case where no
14522         log file exists (ie the very first call).
14524 2002-07-13  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
14526         * net/ange-ftp.el: Do not hook into file-name-handler-alist, this
14527         is done by Tramp.
14529         * net/tramp.el (tramp-multi-file-name-structure-unified):
14530         Add missing slash and move colon from start to end of each hop.
14531         (tramp-multi-file-name-hop-structure-unified): Move colon from
14532         start to end of each hop.
14534 2002-07-13  Kim F. Storm  <storm@cua.dk>
14536         * progmodes/compile.el (grep-tree): Fixed autoload.
14537         Corrected use of undefined variable `match-files-aliases'.
14539 2002-07-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
14541         * calendar/timeclock.el (timeclock-get-workday-function):
14542         `timeclock-workday' is not a valid option, rather a possible
14543         return value.
14545 2002-07-12  Richard M. Stallman  <rms@gnu.org>
14547         * net/ange-ftp.el (ange-ftp-write-region):
14548         Don't bind executing-kbd-macro; instead, pass non-nil VISIT arg
14549         to ange-ftp-real-write-region.
14551         * replace.el (flush-lines, keep-lines): Convert REND to a marker.
14553         * help-fns.el (help-with-tutorial): Display completion list right away.
14555         * ediff-ptch.el (ediff-test-patch-utility): Catch error and return nil.
14557         * startup.el (command-line): Set memory-signal-data.
14558         (fancy-splash-text, normal-splash-screen):
14559         Mention "Read the Emacs Manual" or C-h r.
14560         Rearrange the initial help to put the help cmds on left
14561         and the actions (exit, undo) on the right.  Other small
14562         text clarifications.
14563         (fancy-splash-text, actions page): Add blank line to balance help page.
14565         * help.el (help-map): Add binding for info-emacs-manual.
14566         (print-help-return-message): Doc fix.
14568         * strokes.el (strokes-help): Call print-help-return-message
14569         while inside with-output-to-temp-buffer.
14571         * info.el (info-emacs-manual): New function.
14572         (Info-use-header-line): Doc fix.
14574         * emacs-lisp/cl.el (multiple-value-call): Add alias.
14576         * progmodes/compile.el (compilation-normalize-filename):
14577         New subroutine, taken out of compilation-parse-errors.
14578         (compilation-parse-errors): Use that, and for directories too.
14579         Don't check whether a directory really exists.
14581 2002-07-12  Juanma Barranquero  <lektu@terra.es>
14583         * help-fns.el (describe-variable): Remove useless "Documentation:"
14584         string.
14586         * timer.el (timer-set-time-with-usecs): Fix documentation.
14587         Simplify extraction of time data.
14589 2002-07-12  John Paul Wallington  <jpw@shootybangbang.com>
14591         * help-fns.el (describe-variable): Mention if the variable is an
14592         alias.  Put `defvaralias' info before the documentation.
14594 2002-07-12  Kenichi Handa  <handa@etl.go.jp>
14596         * international/mule-cmds.el (locale-language-names): Change "mk"
14597         (Macedoninan), "ru" (Russian), and "sp" (Serbian with Cyrillic
14598         alphabet) to "Cyrillic-ISO".
14600 2002-07-11  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
14602         * net/tramp.el (tramp-default-method): New default method "sm"
14603         which I guess to be good for most people.
14604         (tramp-default-method-alist): Use "ftp" method (ie, forwarding to
14605         Ange-FTP) for some user/host combinations.
14606         (tramp-file-name-structure, tramp-file-name-regexp)
14607         (tramp-make-tramp-file-format, tramp-make-tramp-file-user-nil-format)
14608         (tramp-multi-file-name-structure, tramp-multi-file-name-hop-structure)
14609         (tramp-make-multi-tramp-file-format): New default value which
14610         unifies the filename syntax between Tramp and Ange-FTP.  The new
14611         syntax is "/method:user@host:path".  Note the colon after the method.
14612         (tramp-handle-file-name-directory): Don't return "/" when
14613         completing a remote root directory (where the filename looks like
14614         "/method:user@host:/").
14615         (tramp-handle-ange-ftp): Deleted.
14616         (tramp-disable-ange-ftp): New function, called at toplevel,
14617         deletes Ange-FTP from file-name-handler-alist.
14618         (tramp-handle-make-symbolic-link): Implement.
14620 2002-07-10  Juanma Barranquero  <lektu@terra.es>
14622         * ido.el (ido-enter-single-matching-directory): Delete leftover comment.
14624         * speedbar.el (speedbar-tag-hierarchy-method): Fix typos.
14625         (speedbar-vc-do-check): Likewise.
14626         (speedbar-obj-do-check): Likewise.
14627         (speedbar-mouse-hscroll): Likewise.
14628         (speedbar-file-lists): Likewise.
14630         * emacs-lisp/authors.el (authors-obsolete-file-p): Fix typo.
14632 2002-07-09  Ole Aamot  <ole@gnu.org>
14634         * compile.el (compilation-error-regexp-alist):
14635         Recognize Valgrind messages.
14637 2002-07-09  Juanma Barranquero  <lektu@terra.es>
14639         * faces.el (face-id): Fix typo.
14641         * hexl.el (hexl-mode): Likewise.
14643         * progmodes/idlw-shell.el (idlwave-shell-set-bp): Likewise.
14645         * progmodes/ebnf-yac.el (ebnf-yac-error): Likewise.
14647         * speedbar.el (speedbar-make-specialized-keymap): Fix docstring.
14648         (speedbar-desired-buffer): Likewise.
14649         (speedbar-line-file): Likewise.
14650         (speedbar-special-mode-key-map): Fix typo.
14651         (speedbar-dynamic-tags-function-list): Likewise.
14652         (speedbar-use-images): Likewise.
14653         (speedbar-up-directory): Likewise.
14654         (speedbar-item-info): Likewise.
14655         (speedbar-set-timer): Likewise.
14656         (speedbar-insert-button): Likewise.
14657         (speedbar-make-button): Likewise.
14658         (speedbar-make-tag-line): Likewise.
14659         (speedbar-insert-files-at-point): Likewise.
14660         (speedbar-update-special-contents): Likewise.
14661         (speedbar-find-selected-file): Likewise.
14662         (speedbar-add-indicator): Likewise.
14663         (speedbar-do-function-pointer): Likewise.
14664         (speedbar-goto-this-file): Likewise.
14665         (speedbar-line-path): Likewise.
14666         (speedbar-mouse-event-p): Likewise.
14667         (speedbar-dir-follow): Likewise.
14668         (speedbar-tag-find): Likewise.
14669         (speedbar-fetch-etags-command): Likewise.
14670         (speedbar-fetch-etags-arguments): Likewise.
14671         (speedbar-toggle-etags): Likewise.
14672         (speedbar-extract-one-symbol): Likewise.
14673         (speedbar-parse-c-or-c++tag): Likewise.
14674         (speedbar-unhighlight-one-tag-line): Likewise.
14675         (speedbar-directory-face): Likewise.
14676         (defimage-speedbar): Likewise.
14677         (speedbar-convert-emacs21-imagespec-to-xemacs): Likewise.
14679 2002-07-09  Miles Bader  <miles@gnu.org>
14681         * hexl.el (hexl-find-file): Bind `completion-ignored-extensions'
14682         to nil when prompting for a filename.
14684 2002-07-09  Kenichi Handa  <handa@etl.go.jp>
14686         * files.el (insert-directory): Be sure to bind
14687         coding-system-for-write to the just decided coding-system-for-read.
14689 2002-07-09  Kim F. Storm  <storm@cua.dk>
14691         * ido.el (ido-make-merged-file-list): Move fully matching item to
14692         head of list.
14693         (ido-find-common-substring): Return substring instead of t.
14695 2002-07-08  Juanma Barranquero  <lektu@terra.es>
14697         * info.el (Info-directory-list): Fix docstring.
14699 2002-07-08  Miles Bader  <miles@gnu.org>
14701         * comint.el (comint-dynamic-list-completions): Sort COMPLETIONS
14702         before first use.
14704 2002-07-08  Kim F. Storm  <storm@cua.dk>
14706         * files.el (after-find-file): Don't check for read-only status
14707         of files just created (and not yet saved on disk).
14709         * ido.el (ido-completion-help): Changed xemacs specific code to
14710         avoid byte compiler warning in GNU emacs.
14711         (ido-set-matches1): Use regexp-quote instead of identity.
14712         (ido-complete-space): New function.
14713         (ido-define-mode-map): Bind it to SPACE.
14715 2002-07-07  Stefan Monnier  <monnier@cs.yale.edu>
14717         * font-lock.el (font-lock-default-unfontify-region):
14718         Use remove-list-of-text-properties.
14719         (font-lock-extra-managed-props): Doc fix.
14721         * facemenu.el: Move `provide' to the end.
14722         (facemenu-read-color): Don't cons unnecessarily.
14724         * language/ind-util.el (indian-make-hash):
14725         * language/devan-util.el (dev-char-glyph-hash, dev-glyph-glyph-hash)
14726         (dev-glyph-glyph-2-hash): Switch makehash -> make-hash-table.
14728         * subr.el (insert-string): Update the obsolete info.
14729         (makehash): Move from C and mark obsolete.
14731         * emacs-lisp/debug.el (debug-on-entry): Fix the wrapper used for
14732         aliases to also work for interactive functions.
14733         Use the same wrapper for subroutines.
14734         (cancel-debug-on-entry): Get rid of the now-useless wrapper.
14735         (debug-on-entry-1): Correctly skip docstrings and interactive forms.
14737         * textmodes/texinfo.el (texinfo-font-lock-keywords): Disable the
14738         automatic environment name update.
14739         (texinfo-clone-environment): Fix it not to incorrectly match prefixes.
14741 2002-07-07  Richard M. Stallman  <rms@gnu.org>
14743         * emacs-lisp/easymenu.el (easy-menu-popup-menu): Function deleted.
14745         * emacs-lisp/advice.el (ad-compile-function):
14746         Disable cl-function warnings if cl is loaded.
14748         * files.el (safe-local-eval-forms): New user option.
14749         (hack-one-local-variable-eval-safep): Support it.
14750         Also allow `safe-local-eval-function' property to be a function
14751         or a list of functions.
14752         (c-add-style): Delete `safe-local-eval-function' property.
14754         * files.el (after-find-file): Make buffer read-only if file is
14755         marked that way, even for root.
14757         * files.el (save-some-buffers): Doc fix.
14759         * bindings.el (completion-ignored-extensions): Add .gmo and .mo.
14761 2002-07-06  Francesco Potort\e,Al\e(B  <pot@gnu.org>
14763         * dos-w32.el (file-name-buffer-file-type-alist): Add knowledge of
14764         .sx[dmicw] file suffixes for Open office data files.
14766         * files.el (auto-mode-alist): Likewise.
14768         * international/mule.el (auto-coding-alist): Likewise.
14770 2002-07-05  Kim F. Storm  <storm@cua.dk>
14772         * emulation/cua-rect.el (cua--rectangle-operation): Don't call
14773         FCT if current column is outside rectangle.
14774         (cua--delete-rectangle): Do nothing if zero width or out of bounds.
14776 2002-07-04  Stefan Monnier  <monnier@cs.yale.edu>
14778         * net/ange-ftp.el: Use add-hook and find-file-hook.
14779         (ange-ftp-parse-netrc): Use run-hooks and find-file-hook.
14780         (ange-ftp-ls-parser): Make it into a function.
14781         Ignore trailing @ in symlink targets.
14782         (ange-ftp-file-entry-p): Ignore FTP errors.
14783         (ange-ftp-insert-directory): Use ange-ftp-expand-symlink
14784         to correctly expand "/flint:/bla -> ./etc" to /flint:/etc.
14786 2002-07-04  Per Abrahamsen  <abraham@dina.kvl.dk>
14788         * simple.el (toggle-truncate-lines): New command.
14790 2002-07-04  Miles Bader  <miles@gnu.org>
14792         * comint.el (comint-displayed-dynamic-completions): New variable.
14793         (comint-dynamic-list-completions): Be more careful about choosing
14794         when to scroll an existing completions window.
14796 2002-07-03  Andreas Schwab  <schwab@suse.de>
14798         * net/tramp.el (tramp-handle-ange-ftp): Move interactive spec
14799         after doc string.
14801 2002-07-03  Juanma Barranquero  <lektu@terra.es>
14803         * net/tramp.el (tramp-send-eof): Fix typo.
14804         (tramp-kill-process): Likewise.
14806         * play/dunnet.el (dun-physobj-desc): Likewise.
14808         * textmodes/reftex-vars.el (reftex-label-alist): Likewise.
14810         * calendar/timeclock.el (timeclock-workday-remaining): Likewise.
14811         (timeclock-workday-elapsed): Likewise.
14813         * allout.el (outline-goto-prefix): Likewise.
14815         * emulation/tpu-edt.el (tpu-delete-to-eol): Likewise.
14816         (tpu-delete-to-bol): Likewise.
14818         * subr.el (chars-in-region): Add obsolescence declaration for
14819         `chars-in-region'.
14821 2002-07-03  Miles Bader  <miles@gnu.org>
14823         * faces.el (header-line): Don't use a `common' clause for
14824         inheriting from the mode-line face, since we can't override it,
14825         and we don't want it for ttys.
14827 2002-07-02  Richard M. Stallman  <rms@gnu.org>
14829         * net/ange-ftp.el (ange-ftp-hook-function): Add file-remote-p prop.
14831         * files.el (hack-one-local-variable-constantp): New function.
14832         (hack-one-local-variable-eval-safep): New function.
14833         Check for `eval:' calling fn with `safe-local-eval-function' property.
14834         (hack-one-local-variable): Use hack-one-local-variable-eval-safep.
14835         (c-add-style, c-set-style): Add safe-local-eval-function property.
14837         * files.el (insert-directory): Handle --dired option to ls.
14839         * files.el (file-remote-p): New function.
14841         * emacs-lisp/easymenu.el (easy-menu-popup-menu): New function.
14843         * startup.el (fancy-splash-screens): Switch to a chosen frame.
14844         (fancy-splash-frame): Choose the right frame to use.
14845         (use-fancy-splash-screens-p): Check dimensions of the right frame
14846         in order to decide.
14848         * emacs-lisp/bytecomp.el (byte-compile-warning-types):
14849         Rename cl-func to cl-functions.  Enable it by default.
14850         (byte-compile-file-form-eval-boundary): Turn off cl-functions warnings
14851         if the file loads cl.
14852         (byte-compile-initial-macro-environment): For eval-and-compile,
14853         use byte-compile-eval-before-compile to eval.
14854         (byte-compile-eval-before-compile): New function to turn off
14855         cl-functions when appropriate, for eval-and-compile.
14856         (byte-compile-warnings): Doc fix.
14858 2002-07-02  Dave Love  <fx@gnu.org>
14860         * emacs-lisp/bytecomp.el (byte-compile-warnings): Add cl-func option.
14861         (byte-compile-cl-warn): New function.
14862         (byte-compile-form): Use it, to warn about calling cl functions.
14863         (byte-compile-warning-types): Doc fix.
14865 2002-07-02  Juanma Barranquero  <lektu@terra.es>
14867         * mail/rmailsum.el (rmail-user-mail-address-regexp): Fix typo.
14869         * textmodes/reftex-cite.el (reftex-citation): Fix typo.
14871         * progmodes/cperl-mode.el (cperl-break-one-line-blocks-when-indent):
14872         Fix typo.
14874 2002-07-02  Kim F. Storm  <storm@cua.dk>
14876         * emacs-lisp/bindat.el: New file.
14878 2002-07-01  Sam Steingold  <sds@gnu.org>
14880         * textmodes/tex-mode.el (tex-file): Call `save-some-buffers'
14881         before `tex-main-file' because if the current buffer is new, its
14882         file might not exist yet, and then `tex-main-file' will
14883         incorrectly return "foo.tex.tex".
14885 2002-07-01  Juanma Barranquero  <lektu@terra.es>
14887         * ido.el (ido-minibuffer-setup-hook): Doc fix.
14889 2002-07-01  Dave Love  <fx@gnu.org>
14891         Make strokes a proper minor mode, and don't try to overload
14892         mouse-2, which doesn't work satisfactorily.
14894         * strokes.el: Doc fixes.
14895         (strokes-mode): Defcustom deleted; replaced by minor mode def with
14896         re-written function.
14897         (strokes-while-inhibiting-garbage-collector): Comment out.
14898         (define-stroke, strokes-fix-button2-command, strokes-insinuated)
14899         (strokes-insinuate, global-set-stroke, describe-stroke)
14900         (load-user-strokes, save-strokes, strokes-bug-address)
14901         (strokes-click-command): Deleted.
14902         (strokes-execute-stroke): Remove strokes-click-p case.
14903         (strokes-describe-stroke): Remove strokes-click-p stuff.
14904         (strokes-help): Fix.
14905         (strokes-report-bug): Alias to report-emacs-bug.
14906         (strokes-prompt-user-save-strokes): Modify format of the file.
14907         (strokes-mode-map, strokes-unload-hook): New.
14908         (strokes-buffer-name): Don't customize.
14910 2002-07-01  Richard M. Stallman  <rms@gnu.org>
14912         * info.el (Info-index): Get immediate error if used in `dir'.
14914         * textmodes/picture.el (picture-forward-column)
14915         (picture-move-down): Never deactivate the mark.
14917 2002-06-30  Simon Josefsson  <jas@extundo.com>
14919         * menu-bar.el (menu-bar-options-menu): Move elisp mode names from
14920         menu entry into balloon help.
14922 2002-06-30  Andreas Schwab  <schwab@suse.de>
14924         * files.el (directory-free-space-args): Don't use `-P' on Darwin.
14925         * term/mac-win.el: Don't set it here.
14927 2002-06-29  Stefan Monnier  <monnier@cs.yale.edu>
14929         * pcvs-defs.el (cvs-mode-map): Bind ! to `force'.
14931 2002-06-29  Andreas Schwab  <schwab@suse.de>
14933         * term/mac-win.el: Use directory-free-space-program instead of
14934         obsolete variable dired-free-space-program.  On Darwin, don't set
14935         directory-free-space-program, shell-file-name and
14936         process-connection-type; set directory-free-space-args to not
14937         include `-P' and use utf-8 for file name coding system.
14939         * simple.el (shell-command-on-region): Handle errors and signals
14940         from shell command execution.
14941         (display-message-or-buffer): Fix last change.
14942         (shell-command-default-error-buffer): Doc fix.
14944         * dired.el (dired-view-file): Quote file name for
14945         dired-run-shell-command.
14947 2002-06-29  Kim F. Storm  <storm@cua.dk>
14949         * kmacro.el: New file.
14951 2002-06-28  John Wiegley  <johnw@gnu.org>
14953         * pcmpl-cvs.el: Added my name as the maintainer of this file.
14955 2002-06-28  Andreas Schwab  <schwab@suse.de>
14957         * shell.el (explicit-bash-args): New user option.
14959 2002-06-28  Kim F. Storm  <storm@cua.dk>
14961         * ido.el: New file.
14963 2002-06-28  Stefan Monnier  <monnier@cs.yale.edu>
14965         * derived.el (define-derived-mode): Preserve the `mode-class' rather
14966         than the `special' symbol property.
14967         (derived-mode-class): Make it obsolete.
14969 2002-06-27  Andreas Schwab  <schwab@suse.de>
14971         * net/tramp.el (tramp-handle-ange-ftp): Fix typo.
14973 2002-06-27  Juanma Barranquero  <lektu@terra.es>
14975         * emacs-lisp/bytecomp.el (baud-rate): Fix obsolescence declaration.
14976         (meta-flag): Likewise.
14978         * international/mule-util.el (string-to-sequence): Likewise.
14980         * subr.el (char-bytes): Likewise.
14981         (make-local-hook): Likewise.
14982         (baud-rate): Remove redundant info from docstring.
14984         * faces.el (frame-update-faces): Fix obsolescence declaration.
14985         (internal-get-face): Remove redundant info from docstring and
14986         fix obsolescence declaration.
14988         * rect.el (move-to-column-force): Likewise.
14990         * help-fns.el (describe-function-1): Use semicolon instead of dot.
14991         (describe-variable): Likewise.
14993 2002-06-27  Stefan Monnier  <monnier@cs.yale.edu>
14995         * mwheel.el (mouse-wheel-change-button): Deactivate before changing.
14996         (mouse-wheel-up-button, mouse-wheel-down-button): Obsolete.
14997         (mouse-wheel-up-event, mouse-wheel-down-event): New vars.
14998         (mouse-wheel-follow-mouse): Change default to t.
14999         (mwheel-event-button): Return the basic event symbol.
15000         (mwheel-scroll): Work with non-mouse events.
15001         (mouse-wheel-mode): Use the new vars.
15002         (mwheel-install): Obey `uninstall'.
15004         * term/xterm.el (function-key-map): Add some bindings.
15006         * uniquify.el (uniquify-delay-rationalize-file-buffer-names):
15007         Rename from delay-uniquify-rationalize-file-buffer-names.
15008         Only rationalize if the buffer is under uniquify control.
15009         (uniquify-delayed-rationalize-file-buffer-names):
15010         Rename from delayed-uniquify-rationalize-file-buffer-names.
15012 2002-06-27  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
15014         * net/tramp.el (tramp-file-name-structure)
15015         (tramp-multi-file-name-hop-structure): Split for easier readability.
15016         (tramp-handle-make-symbolic-link): Use user/host/method/... from
15017         LINKNAME, not FILENAME.
15018         (tramp-handle-verify-visited-file-modtime):
15019         Call tramp-ange-ftp-file-name-p with right parameters.
15020         (tramp-handle-verify-visited-file-modtime): `insert' does not
15021         work for integers, convert them to strings first.
15022         (tramp-handle-ange-ftp): New function to perform setup for
15023         replacing Ange-FTP with Tramp.
15024         (tramp-repair-jka-compr): New function to factor out some
15025         previously top-level code.  Call the function at top-level.
15027 2002-06-27  Juanma Barranquero  <lektu@terra.es>
15029         * composite.el (decompose-composite-char): Fix docstring.
15031         * faces.el (describe-face): Capitalize "not documented" message.
15033         * help-fns.el (describe-variable): Likewise.
15034         (describe-function-1): Likewise. Also, document the obsolescence
15035         of the function, if applicable.
15037 2002-06-26  Juanma Barranquero  <lektu@terra.es>
15039         * info.el (info-menu-5): Fix documentation.
15040         (Info-fontify-maximum-menu-size): Remove reference to `Info-fontify'.
15042 2002-06-26  Richard M. Stallman  <rms@gnu.org>
15044         * emacs-lisp/cl.el (values): Simplify definition.
15046         * simple.el (shell-command): Match & only at end of whole command.
15047         (display-message-or-buffer): Don't use the echo area
15048         if output buffer is visible.
15050         * tooltip.el (tooltip-x-offset, tooltip-y-offset): Doc fixes.
15052         * progmodes/cperl-mode.el: Many trivial doc fixes.
15053         (cperl-non-problems): Definition deleted.
15054         (cperl-menu): Don't refer to cperl-non-problems.
15055         (cperl-word-at-point): Add doc string.
15056         (cperl-beautify-regexp-piece): Fix error message.
15057         (cperl-invert-if-unless): Fix error message.
15059         * dired.el (dired-find-alternate-file): Mark as disabled.
15061 2002-06-25  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
15063         * net/tramp.el (tramp-ftp-method): New user option.
15064         (tramp-invoke-ange-ftp): New function to forward calls to Ange-FTP.
15065         (with-parsed-tramp-file-name): New macro for the usual big `let'
15066         statement to dissect a file-name.
15067         (tramp-handle-make-symbolic-link, tramp-handle-load)
15068         (tramp-handle-file-name-directory)
15069         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
15070         (tramp-handle-file-truename, tramp-handle-file-directory-p)
15071         (tramp-handle-file-regular-p, tramp-handle-file-symlink-p)
15072         (tramp-handle-file-writable-p, tramp-handle-file-writable-p):
15073         Use the new macro and forward call to Ange-FTP if applicable.
15074         (tramp-make-ange-ftp-file-name): New helper function to convert a
15075         file name into an Ange-FTP file name, used by `tramp-invoke-ange-ftp'.
15076         (tramp-default-method-alist): New user option.
15077         (tramp-find-default-method): Use it.
15078         (tramp-sh-extra-args): New variable.
15079         (tramp-find-shell): Use it.
15080         (tramp-open-connection-rsh): Support a kludgy feature for the
15081         "-p" option to ssh.  If host name is given as "host#42", uses the
15082         "-p 42" option.
15084 2002-06-25  Andreas Schwab  <schwab@suse.de>
15086         * replace.el (occur-1): Avoid invalid message format string.
15088 2002-06-24  Stefan Monnier  <monnier@cs.yale.edu>
15090         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn):
15091         Check for `noruntime' even if the function has a known sig.
15092         (byte-compile-file, byte-compile-output-docform):
15093         Don't hard code point-min = 1.
15095         * pcvs.el (cvs-parse-process): Don't save/restore point.
15096         Fix last change not to introduce spurious dir FIs.
15097         (cvs-move-to-goal-column): New function extracted from
15098         cvs-mode-previous-line.
15099         (cvs-mode-previous-line, cvs-mode-next-line): Use it.
15100         (cvs-addto-collection): Use it to preserve point.
15101         (cvs-vc-command-advice): Ad-hoc workaround for `cvs -q add'.
15103         * mwheel.el (mouse-wheel-scroll-amount,mwheel-scroll,mouse-wheel-mode):
15104         Don't require the first element to be modifier-free.
15106         * pcvs-parse.el (cvs-parse-table):
15107         Handle `nothing known about' with more care.
15109         * pcvs.el (cvs-fileinfo-kill): Remove.
15110         (cvs-parse-process): Add `old-fis' argument.
15111         (cvs-mode-run): Use it instead of cvs-fileinfo-kill.
15113         * descr-text.el (describe-property-list): Make sure there's
15114         a space between the property name and its value.
15115         (describe-text-properties): Don't kill a pre-existing buffer.
15117         * mwheel.el: Undo last patch from Stephen Gildea for now.
15119 2002-06-24  Kim F. Storm  <storm@cua.dk>
15121         * emulation/keypad.el: Added :require 'keypad to defcustoms.
15123 2002-06-23  Stefan Monnier  <monnier@cs.yale.edu>
15125         * subr.el (event-start, event-end, event-click-count):
15126         Accept non-mouse events as well.
15127         (read-key): New function.
15128         (read-quoted-char): Use it.  Use this-single-command-raw-keys as well.
15130         * files.el: Rename (and mark as obsolete)
15131         find-file-hooks to find-file-hook,
15132         find-file-not-found-hooks to find-file-not-found-functions,
15133         write-file-hooks to write-file-functions,
15134         write-contents-hooks to write-contents-functions.
15135         Mark local-write-file-hooks as obsolete.
15136         (locate-file-completion): Don't cons uselessly.  Use test-completion.
15137         (basic-save-buffer): Use (point-min) rather than 1.
15138         (basic-save-buffer-2): Obey the `setmodes' returned by backup-buffer.
15140         * help-fns.el (describe-variable): Only use `buffer' is still live.
15141         Use `delete-region' instead of save-excursion + delete-char.
15142         Document the obsolescence of the variable, if applicable.
15144 2002-06-23  Glenn Morris  <gmorris@ast.cam.ac.uk>
15146         * progmodes/f90.el (f90-do-auto-fill): Respect the value of
15147         comment-auto-fill-only-comments.
15149 2002-06-21  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
15151         * net/ange-ftp.el (backup-buffer): Delete `ange-ftp' property.
15152         This is not a handled operation.
15154 2002-06-21  Kim F. Storm  <storm@cua.dk>
15156         * emulation/cua-base.el (cua--prefix-arg): Make register prefixes
15157         work again.  Corrected error in check for C-u initiated prefix.
15159         * emulation/keypad.el (keypad-setup): Handle kp-begin like kp-space.
15161 2002-06-21  Richard M. Stallman  <rms@gnu.org>
15163         * net/browse-url.el (browse-url-at-mouse): Don't pass an arg
15164         to browse-url-at-point.
15166         * play/zone.el (zone-idle): Var deleted.
15168         * international/iso-acc.el (iso-languages) <french>:
15169         `~ ' now generates `~', `~,' definition deleted.
15171         * format.el (format-annotate-function): Copy multibyte flag
15172         and selective-display into the new temp buffer.
15174         * edmacro.el (edmacro-fix-menu-commands):
15175         Discard `help-echo' events.  Handle (menu-bar) events.
15176         Simplify by converting key sequence to a list and then back to vector.
15178 2002-06-21  Stephen Gildea  <gildea@stop.mail-abuse.org>
15180         * mwheel.el: Allow arbitrary keys for scrolling, add a third
15181         scrolling speed, fix an unwind-protect.
15182         (mouse-wheel-scroll-amount): Now a three-element list.
15183         (mouse-wheel-scroll-down-slow, mouse-wheel-scroll-up-slow)
15184         (mouse-wheel-scroll-down-normal, mouse-wheel-scroll-up-normal)
15185         (mouse-wheel-scroll-down-fast, mouse-wheel-scroll-up-fast):
15186         New functions.
15188 2002-06-21  Andreas Schwab  <schwab@suse.de>
15190         * files.el (find-file-read-args): Add new argument `mustmatch' and
15191         pass it down to read-file-name.
15192         (find-file, find-file-other-window, find-file-other-frame)
15193         (find-file-read-only, find-file-read-only-other-window)
15194         (find-file-read-only-other-frame): Use it and fix prompts.
15196 2002-06-21  Stefan Monnier  <monnier@cs.yale.edu>
15198         * pcvs-defs.el (cvs-version): Use cvs-program rather than "cvs".
15200 2002-06-20  Emmanuel Briot  <briot@act-europe.fr>
15202         * progmodes/ada-mode.el: Update copyright notice.
15203         Synchronize with GNAT release 3.15a1.
15204         Do not attempt to load ada-support, which is only for compatibility
15205         with older Emacs versions, and is not needed for Emacs 21.
15206         Fix various calls to count-lines, that didn't work correctly when the
15207         buffer was narrowed.
15208         (ada-continuation-indent): New variable.
15209         (ada-contextual-menu): New entry "List local references", faster than
15210         "List References".
15211         (ada-mode): New alignment rules provided by S. Leake.
15212         Add support for which-function-mode.
15213         (ada-get-current-indent): Fix indentation of named parameter lists and
15214         nested boolean expressions.
15215         (ada-indent-on-previous-lines): Fix indentation of labels.
15216         (ada-search-prev-end-stmt): Fix searching of the previous
15217         end-statement, specially with regards to nested subprograms.
15218         (comment-region advice): Initially disabled, for better compatibility
15219         with other modes.
15220         (ada-fill-comment-paragraph): Fixed (no longer worked with Emacs 21).
15222         * progmodes/ada-xref.el: Update copyright notice.
15223         (ada-xref-create-ali): The default is now not to create automatically
15224         the ALI files by compiling the unit, since this isn't always reliable
15225         and requires an up-to-date project file.
15226         (ada-prj-default-comp-cmd): No longer use gcc directly to compile
15227         a file, but use gnatmake instead, since this gives access to the GNAT
15228         project files.
15229         (ada-xref-search-with-egrep): New variable, suggested by P. Waroquiers.
15230         (ada-load-project-hook): New variable, for support of GNAT
15231         project files.
15232         (ada-update-project-menu): Fix the detection of the project file name.
15233         (ada-add-keymap): Change key binding for ada-find-file, that conflicted
15234         with another binding in ada-mode.el.
15235         (ada-add-menu): New menu "List Local References", to list the reference
15236         to the entity only in the current file, instead of looking in the whole
15237         project.  Much faster.
15238         (ada-find-references): New parameters arg and local-only.
15239         (ada-find-any-references): New parameters local-only and append.
15240         (ada-goto-declaration): Fix handling of predefined entities in xref.
15241         (ada-get-all-references): Updated to the new xref format in GNAT 3.15,
15242         still compatible with GNAT 3.14 of course.  Fix various calls to
15243         count-lines, that didn't work correctly when the buffer was narrowed.
15245         * progmodes/ada-prj.el: Update copyright.
15246         (ada-prj-load-directory): Make sure we do not use one of the new Emacs
15247         21 dialogs to select the file, since we want a directory name only.
15248         (ada-customize): Add support for the new GNAT project files.
15250 2002-06-20  Francesco Potort\e,Al\e(B  <pot@gnu.org>
15252         * progmodes/etags.el (tag-implicit-name-match-p): New function.
15253         (etags-recognize-tags-table): Use it for implicit tag names.
15255 2002-06-20  Miles Bader  <miles@gnu.org>
15257         * comint.el (comint-get-old-input-default): Strip text properties
15258         for fields too.
15260         * comint.el (comint-output-filter): Run output-filter functions
15261         before setting up the prompt.
15263         * international/characters.el: Re-enable code giving word syntax
15264         to certain japanese-jisx0208 characters.
15266 2002-06-19  Glenn Morris  <gmorris@ast.cam.ac.uk>
15268         * progmodes/f90.el (f90-type-def-re): Fix value.
15269         (f90-looking-at-type-like): Adapt for new `f90-type-def-re' value.
15271 2002-06-18  Stefan Monnier  <monnier@cs.yale.edu>
15273         * international/quail.el (quail-help): Don't assume the buffer
15274         is displayed in the same frame.
15276         * emacs-lisp/debug.el (cancel-debug-on-entry):
15277         * emacs-lisp/regexp-opt.el (regexp-opt-group): Don't cons uselessly.
15279         * pcvs.el (cvs-vc-command-advice): Handle the case where args
15280         are passed to `cvs' before the command name.
15281         (cvs-fileinfo-kill): Mark old FIs as up-to-date rather than dead.
15283         * pcvs-info.el (cvs-add-face): Minor rewrite.
15284         (cvs-fileinfo-pp): Use `cvs-goal-column' with directory entries.
15286         * newcomment.el (comment-normalize-vars): Refresh the comment-foo-skip
15287         regexp when they don't match comment-foo any more.
15289 2002-06-18  Juanma Barranquero  <lektu@terra.es>
15291         * filesets.el (filesets-update-pre010505): Fix typo.
15293         * eshell/em-pred.el (eshell-modifier-help-string): Fix typos.
15295         * emulation/edt.el (edt-substitute): Fix typo.
15297         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): Fix typo.
15299         * comint.el (comint-next-prompt, comint-previous-prompt): Fix typos.
15301         * progmodes/sh-script.el (sh-electric-rparen-needed): Remove.
15303 2002-06-17  Richard M. Stallman  <rms@gnu.org>
15305         * facemenu.el (facemenu-map): Rename to Describe Text
15306         to Describe Properties and use describe-text-properties.
15308         * simple.el (what-cursor-position): Use describe-char.
15310         * descr-text.el (describe-char): Moved from mule-diag.el, renamed
15311         from describe-char-after.  Now calls describe-text-properties.
15312         (describe-property-list): Renamed from describe-text-properties.
15313         (describe-text-properties): Renamed from describe-text-at.
15314         New arg OUTPUT-BUFFER.
15315         (describe-text-properties-1):
15316         New subroutine, broken out from describe-text-properties.
15317         Output a newline before each section of the output.
15319         * international/mule-diag.el (describe-char-after):
15320         Moved to descr-text.el.
15322 2002-06-17  Eli Zaretskii  <eliz@is.elta.co.il>
15324         * international/mule.el (ctext-pre-write-conversion): Fix the values
15325         of FROM and TO if we create a new buffer.
15327 2002-06-17  John Paul Wallington  <jpw@shootybangbang.com>
15329         * comint.el (comint-insert-clicked-input): Insert clicked-on
15330         previous input without properties.
15332 2002-06-16  Andrew Choi  <akochoi@shaw.ca>
15334         * term/mac-win.el (scalable-fonts-allowed): Set to t.
15336 2002-06-15  Colin Walters  <walters@debian.org>
15338         * pcvs-info.el (global-font-lock-mode, font-lock-auto-fontify):
15339         Delete defvars.
15340         (cvs-highlight): Delete.
15341         (cvs-add-face): Use `font-lock-face'.  Always add properties.
15343         * ibuffer.el (ibuffer-movement-cycle): New variable.
15344         (ibuffer-backward-line, ibuffer-forward-line): Use it.
15346 2002-06-15  Richard M. Stallman  <rms@gnu.org>
15348         * emacs-lisp/bytecomp.el (byte-recompile-directory): Doc fix.
15349         (batch-byte-recompile-directory): Undo previous change.
15351         * comint.el (comint-skip-input): New function.
15352         (comint-interrupt-subjob, comint-kill-subjob, comint-quit-subjob)
15353         (comint-stop-subjob): Use comint-skip-input.
15355         * ielm.el (ielm-eval-input): Use error-message-string.
15356         (ielm-format-error, ielm-format-errors): Functions deleted.
15358 2002-06-14  Kim F. Storm  <storm@cua.dk>
15360         * progmodes/compile.el (grep-tree): Doc fixes.
15361         Added SUBDIRS arg for non-interactive use.
15363 2002-06-14  Juanma Barranquero  <lektu@terra.es>
15365         * comint.el (comint-snapshot-last-prompt):
15366         Bind `inhibit-read-only' to t to support read-only prompts.
15367         (comint-output-filter): Likewise.
15369 2002-06-14  Miles Bader  <miles@gnu.org>
15371         * subr.el (copy-tree): Use `nconc' and `nreverse' instead of `nreconc'.
15372         (pop): Move the call to `car' outside the prog1, as the compiler
15373         then generates better code.
15375 2002-06-13  Richard M. Stallman  <rms@gnu.org>
15377         * play/zone.el (zone-timer): New variable holds the idle timer.
15378         (zone): Don't fiddle with the idle timer at all.
15379         (zone-when-idle): Put the idle timer in zone-timer.
15380         If one is already set up, cancel it and make a new one.
15381         (zone-leave-me-alone): Likewise.
15383 2002-06-13  Jason Rumney  <jasonr@gnu.org>
15385         * w32-fns.el (w32-charset-info-alist): Reorder.
15387 2002-06-13  Andreas Schwab  <schwab@suse.de>
15389         * files.el (auto-mode-alist): Move entry for ".in" to the end.
15391 2002-06-13  Miles Bader  <miles@gnu.org>
15393         * comint.el (comint-mode): Don't set `font-lock-defaults'.
15394         (comint-mode-hook): Turn on font-lock by default.
15396 2002-06-12  Karl Fogel  <kfogel@red-bean.com>
15398         * bookmark.el (bookmark-file-or-variation-thereof):
15399         Restore vc-backend check, thanks to Robert Thorpe for noticing.
15401 2002-06-12  Eli Zaretskii  <eliz@is.elta.co.il>
15403         * textmodes/bibtex.el: Change the maintainer to "none".
15405 2002-06-12  Juanma Barranquero  <lektu@terra>
15407         * term/w32-win.el (x-handle-switch): Fix handling of
15408         x-invocation-args for switches with arguments.
15410 2002-06-12  Stefan Monnier  <monnier@cs.yale.edu>
15412         * menu-bar.el (menu-bar-showhide-fringe-menu): Don't use `fringe-mode'
15413         without first making sure it's bound.
15415 2002-06-12  Richard M. Stallman  <rms@gnu.org>
15417         * info.el (Info-fontify-node): Compute header line specially
15418         if node has no next, previous or up links.
15419         Hide the part of the first line that is used in the header.
15420         Use Info-next-link-keymap, etc.
15421         (Info-next-link-keymap, Info-prev-link-keymap)
15422         (Info-up-link-keymap): New variables.
15424         * international/mule-diag.el (describe-char-after): Doc fix.
15426         * view.el (view-mode-enter): Clarify echo area message.
15428         * info.el (Info-select-node): Turn header line on or off here.
15429         (Info-setup-header-line): Function deleted.
15430         (Info-mode): Make Info-header-line local.
15431         (Info-fontify-node): Ignore Info-use-header-line.
15432         Unconditionally compute what the header line should be, and
15433         store it on the `header-line' property of the node's first char.
15434         Bind [header-line down-mouse-1].
15435         Use `keymap' property, not `local-map'.
15436         Bind [mouse-2] for mouse clicks on the node line in the text.
15438         * font-lock.el (font-lock-beginning-of-syntax-function): Doc fix.
15440 2002-06-12  Miles Bader  <miles@gnu.org>
15442         * comint.el (comint-send-input): Properly handle empty and
15443         no-newline input regions.
15445 2002-06-12  Colin Walters  <walters@gnu.org>
15447         * calc/calc.el: Use `when', `unless'.
15448         (calc-trail-mode): Use an italic `font-lock-face'.
15449         (calc-refresh): Ditto.
15451 2002-06-12  Colin Walters  <walters@debian.org>
15453         * font-core.el (font-lock-core-only): Variable deleted.
15454         All uses removed.
15455         (font-lock-set-defaults): Variable alist settings moved back into
15456         font-lock-set-defaults-1.
15457         (turn-on-font-lock-if-enabled): Always turn on font-lock unless it
15458         is specifically excluded by the user.
15460         * font-lock.el (font-lock-set-defaults-1): Set variable alist here.
15462         * help-mode.el (help-mode): Don't set `font-lock-defaults'.
15464         * ibuffer.el (ibuffer-mode): Don't set `font-lock-defaults'.
15466         * info.el (Info-mode): Don't set `font-lock-defaults'.
15468         * replace.el (occur-mode): Don't set `font-lock-defaults'.
15470         * help-mode.el (help-highlight-p, help-highlight-face):
15471         Variable was unused; delete.
15472         (help-make-xrefs): Doc fix.
15474 2002-06-11  Richard M. Stallman  <rms@gnu.org>
15476         * format.el (format-alist): Document new element PRESERVE.
15477         (format-write-file): Implement PRESERVE elt for a format.
15479         * files.el (make-auto-save-file-name): Rename local `filename' to
15480         `file-name'.
15482 2002-06-10  Richard M. Stallman  <rms@gnu.org>
15484         * progmodes/ebrowse.el (ebrowse-draw-tree-fn): Use copy-sequence.
15485         (ebrowse-copy-list): Function deleted.
15487         * eshell/em-unix.el (eshell/diff): Use copy-sequence.
15489         * eshell/esh-mode.el (eshell-mode, eshell-mode): Use copy-sequence.
15491         * eshell/esh-util.el (eshell-copy-list): Function deleted.
15492         (eshell-sublist): Use copy-sequence.
15493         (eshell-copy-tree): Make it an alias for copy-tree.
15495         * emacs-lisp/cl.el (copy-list): Moved back from subr.el.
15497         * subr.el (copy-list): Moved to cl.el.
15498         (copy-tree): Don't use copy-list or cl-pop.
15500 2002-06-10  Miles Bader  <miles@gnu.org>
15502         Make comint use text properties for highlighting instead of overlays:
15503         * comint.el (comint-last-output-overlay): Variable removed.
15504         (comint-send-input, comint-output-filter): Use text properties
15505         instead of overlays.
15506         (comint-insert-clicked-input): Rewrite to work with text
15507         properties as well as overlays
15508         (comint-snapshot-last-prompt): Snapshot using text properties.
15509         (comint-get-old-input-default, comint-extract-string): Don't copy
15510         text properties.
15512         * simple.el (line-move-finish): Inhibit field motion when
15513         computing `line-end'.
15515         * files.el (revert-buffer): Correct typo: variable name is
15516         `buffer-file-format', not `buffer-file-formats'.
15518         * comint.el (comint-send-input, comint-output-filter): Use the
15519         `font-lock-face' property instead of `face'.  Don't check the
15520         highlight-enabling variables anymore.
15521         (comint-highlight-input, comint-highlight-prompt): Variables removed.
15523         * faces.el (display-supports-face-attributes-p): New function.
15524         (face-spec-set-match-display): Support `supports' predicate.
15525         (italic): Try underlining for displays that don't support real italics.
15526         * cus-edit.el (custom-display): Add support for `supports' predicate.
15527         * term/tty-colors.el (color-name-rgb-alist): Use 16-bit RGB values
15528         instead of 8-bit, for consistency with the rest of emacs.
15529         (tty-color-canonicalize): Only copy COLOR if we need to change it.
15530         (tty-color-approximate): Scale values from `color-name-rgb-alist'
15531         appropriately.  Return the whole color description, rather than
15532         just the RGB values.
15533         (tty-color-standard-values): New function.  Code mostly taken from
15534         `tty-color-translate'.
15535         (tty-color-translate, tty-color-values): Use `tty-color-desc' to
15536         do all the work.
15537         (tty-color-desc): Do color lookup here instead of calling
15538         `tty-color-translate' and `tty-color-by-index'; this is now the
15539         main place to do it.
15541 2002-06-09  Martin Stjernholm  <bug-cc-mode@gnu.org>
15543         * progmodes/cc-style.el (c-set-style, c-set-style-1):
15544         Add another state for the `dont-override' flag where it only keeps
15545         globally set variables.
15547 2002-06-08  Colin Walters  <walters@gnu.org>
15549         * descr-text.el (describe-text-properties): Sort the output by the
15550         size of the values.  Put `font-lock-face' property on property names.
15551         (toplevel): Provide `descr-text'.
15553         * international/mule-diag.el (describe-char-after): When there are
15554         text properties, require `descr-text', and just call
15555         `describe-text-properties'.
15557         * international/mule.el (sgml-html-meta-auto-coding-function):
15558         New function.
15559         (auto-coding-from-file-contents): Delete; merge functionality into
15560         `set-auto-coding'.
15561         (set-auto-coding): Move tests from `auto-coding-functions' so that
15562         they have a lower priority than coding: tags.
15563         Put `auto-coding-regexp-alist' tests before coding: tag tests.
15564         (sgml-xml-auto-coding-function): Simply `intern' the match, and
15565         test if it's a valid coding system.
15566         (auto-coding-functions): Add `sgml-html-meta-auto-coding-function'.
15568 2002-06-08  Colin Walters  <walters@verbum.org>
15570         * subr.el (copy-list): Moved here from cl.el.
15571         (copy-tree): Renamed here from `cl-copy-tree' in cl-extra.el.
15573         * emacs-lisp/cl-extra.el (cl-copy-tree): Moved to `copy-tree' in
15574         subr.el.  Add a defalias with the old name.
15576         * emacs-lisp/cl.el (copy-list): Moved to subr.el.
15578         * replace.el (occur-mode): Don't set up categories.  Do set
15579         `font-lock-defaults', and be sure to set `font-lock-core-only'.
15580         (occur-1): Pass `list-matching-lines-face' and
15581         `list-matching-lines-buffer-name-face'.
15582         (occur-engine): Use `font-lock-face' instead of categories.
15584         * info.el (Info-mode): Don't set up categories.  Do set
15585         `font-lock-defaults', and be sure to set `font-lock-core-only'.
15586         (Info-fontify-menu-headers): Use `font-lock-face' instead of
15587         categories.
15588         (Info-fontify-node): Ditto.
15590         * ibuffer.el (ibuffer-category-alist): Delete.
15591         (ibuffer-get-category): Delete.
15592         (ibuffer-compile-make-eliding-form): Use `font-lock-face' instead
15593         of categories.
15594         (ibuffer-compile-format): Don't treat `name' category specially.
15595         (ibuffer-column name): Use `font-lock-face'.
15596         (filename-and-process): Ditto.
15597         (ibuffer-buffer-name-category): Renamed to
15598         `ibuffer-buffer-name-face'.  Don't use categories.
15599         (ibuffer-update-title-and-summary): Use `font-lock-face'.
15600         (ibuffer-insert-filter-group): Ditto.
15601         (ibuffer-mode): Don't set up categories.  Do set
15602         `font-lock-defaults', and be sure to set `font-lock-core-only'.
15603         (ibuffer-compile-format): Don't pass third argument
15604         to column functions.
15605         (filename-and-process): Ditto.
15607         * ibuf-macs.el (define-ibuffer-column): Don't create a third
15608         argument for the generated function.
15610         * font-core.el (font-lock-category-alist): Delete.
15611         (turn-on-font-lock-if-enabled): Don't use it.
15612         (font-lock-symbol-category-alist): Delete.
15613         (font-lock-default-function): Use new `char-property-alias-alist'
15614         to make `font-lock-face' an alias for `face' when font-lock mode
15615         is enabled.
15616         (font-lock-core-only): New variable.
15617         (font-lock-set-defaults): Use it.
15619 2002-06-08  Richard M. Stallman  <rms@gnu.org>
15621         * files.el (find-file-noselect-1): Undo previous change.
15623         * bookmark.el (bookmark-file-or-variation-thereof): Doc fix.
15625 2002-06-07  Karl Fogel  <kfogel@red-bean.com>
15627         * bookmark.el (bookmark-file-or-variation-thereof): Just use
15628         Info-suffix-list, as suggested by Stefan Monnier.
15630 2002-06-05  Eli Zaretskii  <eliz@is.elta.co.il>
15632         * select.el (xselect-convert-to-string): If VALUE is a string,
15633         return a cons of TYPE and the string.
15635 2002-06-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
15637         * language/cyrillic.el (cyrillic-alternativnyj-decode-table):
15638         Fix the table to contain correct characters.
15640 2002-06-04  Richard M. Stallman  <rms@gnu.org>
15642         * simple.el: Don't require cl.
15644 2002-06-03  Richard M. Stallman  <rms@gnu.org>
15646         * dired.el (dired-do-shell-command): Doc fix in autoload.
15648         * info.el (Info-extract-pointer): Ignore Info-header-line.
15650         * progmodes/cc-mode.el (c-postprocess-file-styles):
15651         Do nothing except in CC modes.
15653         * international/mule-cmds.el (select-safe-coding-system):
15654         When computing auto-cs, narrow to FROM...TO.
15655         Put save-excursion outside save-restriction.
15656         New arg FILE; use that for set-auto-coding.
15658 2002-06-01  Richard M. Stallman  <rms@gnu.org>
15660         * simple.el (choose-completion-string-functions): Doc fix.
15661         (choose-completion-string): Add doc string.
15663 2002-06-01  Kim F. Storm  <storm@cua.dk>
15665         * simple.el: Reworked previous change.
15666         (choose-completion-string1): Merged back into choose-completion-string.
15667         (choose-completion-string): Run choose-completion-string-functions
15668         after checking for proper minibuffer window.  Added mini-p arg to
15669         the hook functions.  Insert choice if all hook functions return nil.
15670         (choose-completion-string-functions): Doc update.
15672 2002-06-01  Sam Steingold  <sds@gnu.org>
15674         * files.el (auto-mode-alist): Strip trailing ".in" from the file
15675         name when deciding the mode (for config.h.in, Makefile.in etc).
15677 2002-06-01  Thien-Thi Nguyen  <ttn@gnu.org>
15679         * progmodes/prolog.el (prolog-mode-syntax-table): Add flags to
15680         ?/ and ?* entries to support /* */ style comments.
15681         (prolog-font-lock-keywords): New var.
15682         (prolog-mode): Enable font-locking; set `font-lock-defaults'.
15684 2002-06-01  Kim F. Storm  <storm@cua.dk>
15686         * simple.el (choose-completion-string-functions): New special hook.
15687         (choose-completion-string1): Renamed from choose-completion-string.
15688         (choose-completion-string): Run choose-completion-string-functions
15689         until success, and only call choose-completion-string1 if it fails.
15691 2002-05-31  Stefan Monnier  <monnier@cs.yale.edu>
15693         * textmodes/ispell.el (autoloaded toplevel): Don't use
15694         ispell-library-directory without checking that it's bound.
15696 2002-05-31  Kim F. Storm  <storm@cua.dk>
15698         * emulation/cua-base.el (cua--last-deleted-region-pos)
15699         (cua--last-deleted-region-text): New aux variables.
15700         (cua-delete-region): Set them.
15701         (cua-repeat-replace-region): Use them to find the replacement text.
15703 2002-05-31  Juanma Barranquero  <lektu@terra.es>
15705         * emulation/viper-cmd.el (viper-smart-suffix-list, viper-ask-level):
15706         Fix typos.
15708 2002-05-31  Kim F. Storm  <storm@cua.dk>
15710         * progmodes/compile.el (grep-tree-command, grep-tree-files-aliases)
15711         (grep-tree-ignore-CVS-directories, grep-tree-ignore-case):
15712         New custom variables.
15713         (grep-compute-defaults): Compute grep-tree-command's default value.
15714         (grep-expand-command-macros): New aux function.
15715         (grep-tree-last-regexp, grep-tree-last-files): New aux variables.
15716         (grep-tree): New command like grep-find but extended prompting.
15718 2002-05-30  Richard M. Stallman  <rms@gnu.org>
15720         * files.el (find-file-default): Add defvar for var already used.
15722         * menu-bar.el (menu-bar-showhide-fringe-menu): Use defvar.
15724         * subr.el (open-network-stream, open-network-stream-nowait)
15725         (open-network-stream-server, process-kill-without-query):
15726         Moved from simple.el.
15728         * simple.el (open-network-stream, open-network-stream-nowait)
15729         (open-network-stream-server, process-kill-without-query):
15730         Moved to subr.el.
15732         * simple.el (byte-compiling-files-p): Function deleted.
15734         * textmodes/ispell.el (ispell-library-directory): Renamed from
15735         ispell-library-path.  If Ispell is not installed, init to nil.
15736         (check-ispell-version): Doc fix.
15737         (ispell-menu-map): Get rid of byte-compiling-files-p hackery;
15738         initialize this unconditionally when ispell-menu-map-needed is t.
15739         Local `path' renamed to `dir'.
15741 2002-05-30  Miles Bader  <miles@gnu.org>
15743         * calc/calc.el (calc-show-banner): New variable.
15744         (calc-refresh): Only show banner if `calc-show-banner' is non-nil.
15745         (calc-mode-var-list): Add `calc-show-banner'.
15746         * calc/calc-ext.el (calc-init-extensions): Add binding for `d@'.
15747         (calc-toggle-banner): New function.
15748         * calc/calc-help.el (calc-d-prefix-help): Add `@'.
15750 2002-05-29  Richard M. Stallman  <rms@gnu.org>
15752         * emacs-lisp/cl-indent.el (common-lisp-indent-function-1):
15753         When recognizing a def... construct, make that indentation
15754         tentative, so that it can be overridden if the list in question
15755         is not actually an expression.
15756         (common-lisp-indent-call-method): New subroutine.
15758         * emacs-lisp/bytecomp.el (batch-byte-compile-file):
15759         Delete the output file if we get a file-error.
15761         * tooltip.el (tooltip-mouse-motions-active): New variable.
15762         (tooltip-activate-mouse-motions): Don't kill track-mouse local
15763         if it was not made by us.
15765         * mouse.el (mouse-set-font): Avoid misleading error message
15766         if user makes no selection.
15768         * info.el (Info-setup-header-line): Don't hide the links line.
15770         * files.el (find-file-noselect-1): Return the buffer we created
15771         even if it has been killed within `after-find-file'.
15773         * files.el (auto-mode-alist): Use ada-mode for .ad[bs].dg files.
15775 2002-05-29  Kim F. Storm  <storm@cua.dk>
15777         * simple.el (open-network-stream-server): Pass on optional args
15778         sentinel and filter to make-network-process (from Luke Gorrie).
15780 2002-05-28  Colin Walters  <walters@gnu.org>
15782         * textmodes/sgml-mode.el (xml-mode): New alias for `sgml-mode'.
15784         * emacs-lisp/bytecomp.el (byte-compile-last-line): Deleted.
15785         (byte-compile-delete-first): New function.
15786         (byte-compile-read-position): New variable.
15787         (byte-compile-last-position): New variable.
15788         (byte-compile-current-buffer): New variable.
15789         (byte-compile-log-1): Use it.
15790         (byte-compile-set-symbol-position): New function.
15791         (byte-compile-obsolete, byte-compile-callargs-warn)
15792         (byte-compile-arglist-warn, byte-compile-arglist-warn)
15793         (byte-compile-print-syms, byte-compile-file-form-defmumble)
15794         (byte-compile-check-lambda-list, byte-compile-lambda)
15795         (byte-compile-form, byte-compile-variable-ref)
15796         (byte-compile-subr-wrong-args, byte-compile-negation-optimizer)
15797         (byte-compile-condition-case, byte-compile-defun)
15798         (byte-compile-defvar, byte-compile-autoload)
15799         (byte-compile-lambda-form): Use it.
15800         (byte-compile-from-buffer): Set it, and bind
15801         `read-with-symbol-positions' and `read-symbol-positions-list'.
15803         * emacs-lisp/bytecomp.el (byte-compile-debug): New variable.
15805 2002-05-28  Kim F. Storm  <storm@cua.dk>
15807         * files.el (read-directory-name): New function.
15808         (cd): Use it instead of read-file-name.
15810 2002-05-27  Kim F. Storm  <storm@cua.dk>
15812         * simple.el (push-mark-command): Added optional NOMSG arg.
15814         * emulation/cua-base.el (cua-set-mark): Align pop to mark
15815         behaviour with standard set-mark-command.
15816         (cua--pre-command-handler): Use push-mark-command.
15817         (cua-repeat-replace-region): Improve functionality when
15818         repeated after moving point or changing buffer.
15820 2002-05-26  Colin Walters  <walters@verbum.org>
15822         * startup.el (command-line): Use `when', `unless'.
15823         (command-line-1): New argument "--nosplash".  Handle it.
15825         * startup.el (inhibit-splash-screen): New variable alias for
15826         `inhibit-startup-message'.
15828         * replace.el (perform-replace): Document return value.  Use `pop'.
15830 2002-05-26  Glenn Morris  <gmorris@ast.cam.ac.uk>
15832         * progmodes/f90.el (f90-previous-block, f90-next-block): New names,
15833         and slightly changed behaviour, for `f90-previous-block-start' and
15834         `f90-next-block-end'.
15835         (f90-beginning-of-subprogram, f90-end-of-subprogram): Simplify.
15837 2002-05-26  Simon Josefsson  <jas@extundo.com>
15839         * fringe.el (set-fringe-mode): Work when updating
15840         `default-frame-alist'.
15842 2002-05-26  Kim F. Storm  <storm@cua.dk>
15844         * emulation/cua-base.el (cua--repeat-replace-text): New variable.
15845         (cua-repeat-replace-region): New command.
15846         (cua--init-keymaps): Bind it to M-v in cua--cua-keys-keymap.
15847         Misc improvements to the commentary.
15849 2002-05-26  Simon Josefsson  <jas@extundo.com>
15851         * fringe.el (fringe-query-style): New fringe style "minimal".
15853 2002-05-24  Simon Josefsson  <jas@extundo.com>
15855         * rot13.el (rot13-translate-table): New variable.
15856         (rot13, rot13-string, rot13-region): New functions.
15858 2002-05-25  Martin Stjernholm  <bug-cc-mode@gnu.org>
15860         * progmodes/cc-engine.el (c-add-stmt-syntax): Fixed some cases
15861         of wrong anchoring, e.g. for else-if compounds.
15863 2002-05-25  Miles Bader  <miles@gnu.org>
15865         * menu-bar.el (menu-bar-showhide-fringe-menu-customize-left)
15866         (menu-bar-showhide-fringe-menu-customize-right)
15867         (menu-bar-showhide-fringe-menu-customize-disable):
15868         Use proper calling convention for `customize-set-value'.
15869         Require `fringe' before setting variable.
15871 2002-05-25  Kim F. Storm  <storm@cua.dk>
15873         * emulation/cua-base.el (cua--self-insert-char-p): New function.
15875         * emulation/cua-gmrk.el (cua--init-global-mark): Install default
15876         binding in cua--global-mark-keymap using cua--self-insert-char-p
15877         to handle all global self inserting characters in gmark mode.
15879         * emulation/cua-rect.el (cua--init-rectangles): Install default
15880         binding in cua--rectangle-keymap using cua--self-insert-char-p
15881         to handle all global self inserting characters in rectangle mode.
15883 2002-05-24  Stefan Monnier  <monnier@cs.yale.edu>
15885         * net/ange-ftp.el (read-file-name-internal): Remove the
15886         `ange-ftp' property.
15887         (ange-ftp-real-read-file-name-internal): Remove.
15889 2002-05-24  Glenn Morris  <gmorris@ast.cam.ac.uk>
15891         * progmodes/f90.el: (f90-end-of-subprogram): Remove the final
15892         `forward-line'.
15893         (f90-end-of-block, f90-beginning-of-block, f90-next-block-end)
15894         (f90-previous-block-start): New navigation commands.
15896 2002-05-20  Simon Josefsson  <jas@extundo.com>
15898         * fringe.el: New file.
15900         * menu-bar.el (menu-bar-options-save): Add fringe-mode.
15901         (menu-bar-showhide-fringe-menu): New menu.
15902         (menu-bar-showhide-menu): Add Fringe sub-menu.
15904 2002-05-23  Colin Walters  <walters@verbum.org>
15906         * replace.el (occur-engine): Include all text properties except
15907         mouse-face on the newline at the end of occurences.
15909 2002-05-23  Kim F. Storm  <storm@cua.dk>
15911         * apropos.el (apropos-true-hit, apropos-false-hit-symbol)
15912         (apropos-false-hit-str, apropos-true-hit-doc): New functions.
15913         (apropos-command, apropos-value, apropos-documentation-internal)
15914         (apropos-documentation-check-doc-file)
15915         (apropos-documentation-check-elc-file): Use them to filter out
15916         false matches where only one keyword matches, but more than once.
15918         * apropos.el (apropos-show-scores, apropos-orig-regexp)
15919         (apropos-all-regexp, apropos-synonyms, apropos-words)
15920         (apropos-all-words): New variables.
15921         (aprpos-words-to-regexp, apropos-rewrite-regexp)
15922         (apropos-calc-scores, apropos-score-str, apropos-score-doc)
15923         (apropos-score-symbol): New functions.
15924         (apropos-command, apropos, apropos-value, apropos-documentation):
15925         Allow keywords in addition to regexp. Added scoring.
15926         (apropos-documentation-check-doc-file)
15927         (apropos-documentation-check-elc-file): Added scoring.
15928         (apropos-print): Sort according to score.
15930 2002-05-22  Colin Walters  <walters@cis.ohio-state.edu>
15932         * info.el (Info-mode-hook): Change `font-lock-mode' to
15933         `turn-on-font-lock'.
15935         * font-core.el (font-lock-function): New variable.
15936         (font-lock-default-function): New function, created from
15937         `font-lock-mode'.
15938         (font-lock-mode): Just funcall `font-lock-function'.
15939         (font-lock-symbol-category-alist): New variable.
15941 2002-05-22  Markus Rost  <rost@math.ohio-state.edu>
15943         * files.el (file-newest-backup): Use file-name-sans-versions.
15945         * diff.el (diff-latest-backup-file): Replace the main code by
15946         a call of file-newest-backup.
15948 2002-05-22  Mike Williams  <mdub@bigfoot.com>
15950         * textmodes/sgml-mode.el (sgml-guess-indent): Look further into
15951         the buffer.
15953 2002-05-21  Stefan Monnier  <monnier@cs.yale.edu>
15955         * net/ange-ftp.el (ange-ftp-allow-child-lookup): Re-enable since
15956         the last patch works around the wu-ftpd misfeature that prompted
15957         the disabling of this optimization.
15959 2002-05-21  Colin Walters  <walters@gnu.org>
15961         * international/mule.el (make-coding-system): Doc fixes.
15963         * international/mule.el (auto-coding-functions): New variable.
15964         (auto-coding-from-file-contents): Use it.
15965         (set-auto-coding): Update docs.
15966         (sgml-xml-auto-coding-function): New function.
15968         * international/mule-util.el (truncate-string-to-width):
15969         New optional argument `ellipsis'.  Add commented-out test suite, and
15970         change coding to iso-2022-7bit.
15972 2002-05-21  Colin Walters  <walters@verbum.org>
15974         * font-lock.el (font-lock-defaults, font-lock-defaults-alist)
15975         (font-lock-multiline, font-lock-fontified, font-lock-mode)
15976         (turn-on-font-lock, font-lock-add-keywords, global-font-lock-mode)
15977         (font-lock-global-modes): Moved to font-core.el.
15978         (font-lock-set-defaults-1): Partially moved to font-core.el.
15980         * font-core.el: New file, with functions taken from font-lock.el.
15981         (font-lock-category-alist): New variable.
15982         (font-lock-mode): Use it.
15983         (font-lock-set-defaults): Partially taken from font-lock.el.
15984         Only load font-lock.el when necessary.
15986         * loadup.el: Add font-core.el.
15988         * replace.el (occur-mode-hook): New variable.
15989         (occur-fontify-region-function): Deleted.
15990         (occur-mode): Don't use it.  Set up `font-lock-category-alist'
15991         instead.
15992         (occur-fontify-on-property): Deleted.
15993         (occur-engine): Use categories from `font-lock-category-alist'.
15995         * info.el (Info-fontify): Deleted.
15996         (Info-select-node): Don't use it.
15997         (Info-mode-hook): New variable.
15998         (Info-mode): Set up categories.
15999         (Info-fontify-menu-headers, Info-fontify-node): Use categories.
16001         * ibuffer.el (ibuffer-formats): Update docs.
16002         (ibuffer-category-alist): New variable.
16003         (ibuffer-get-category): New function.
16004         (ibuffer-compile-make-eliding-form): Use category property instead
16005         of face.
16006         (ibuffer-compile-format): Pass current ibuffer buffer to column
16007         functions too.
16008         (ibuffer-buffer-name-category): New function.
16009         (ibuffer-compile-format): If the current column is a `name'
16010         column, figure out the appropriate category to put on it.
16011         (filename-and-process): Use category property.
16012         (ibuffer-fontify-region-function): Deleted.
16013         (ibuffer-unfontify-region-function): Deleted.
16014         (ibuffer-update-title-and-summary): Use category properties.
16015         (ibuffer-insert-filter-group): Ditto.
16016         (ibuffer-mode): Set up category properties.
16018 2002-05-21  Colin Walters  <walters@debian.org>
16020         * replace.el (occur-engine): Increment globalcount all at once
16021         after searching a buffer.
16022         (occur-mode-map): Don't escape plain "o".
16024         * ibuf-macs.el (define-ibuffer-column): Add third argument
16025         `ibuffer-buf'.
16027         * ibuffer.el (toplevel): Require font-lock, to get the face
16028         definitions.
16029         (ibuffer-use-fontification): Deleted.
16030         (column filename-and-process): New column.
16031         (ibuffer-formats): Use it by default.
16032         (ibuffer-name-map, ibuffer-mode-name-map)
16033         (ibuffer-filter-group-map): Don't set parent to `ibuffer-mode-map'.
16034         (ibuffer-do-save, ibuffer-do-toggle-modified)
16035         (ibuffer-do-toggle-read-only, ibuffer-do-delete)
16036         (ibuffer-do-kill-on-deletion-marks): Include name in definition.
16037         (ibuffer): New optional argument `formats'.
16039 2002-05-21  Eli Zaretskii  <eliz@is.elta.co.il>
16041         * indent.el (indent-rigidly): Mention how to remove all indentation.
16043 2002-05-21  Colin Walters  <walters@gnu.org>
16045         * international/mule-diag.el (describe-char-after): Order display
16046         of text properties by the size of their value, for clarity.
16048 2002-05-20  Stefan Monnier  <monnier@cs.yale.edu>
16050         * net/ange-ftp.el (ange-ftp-generate-root-prefixes)
16051         (ange-ftp-file-name-completion): Don't cons unnecessarily.
16052         (ange-ftp-send-cmd): Always `cd' before doing `ls'.
16054         * wid-edit.el (widget-color-complete):
16055         * progmodes/etags.el (tags-complete-tags-table-file):
16056         * progmodes/cpp.el (cpp-choose-symbol): Don't cons unnecessarily.
16058         * textmodes/outline.el (outline-reveal-toggle-invisible):
16059         Reverse the meaning of the second arg.
16061         * reveal.el (reveal-post-command): Reverse the semantics of
16062         reveal-toggle-invisible and support isearch-open-invisible-temporary.
16064 2002-05-20  Markus Rost  <rost@math.ohio-state.edu>
16066         * mail/sendmail.el (mail-recover-1): Remove (debug).
16067         (mail-signature): Fix :type.
16068         (mail-default-directory): New user option.
16069         (mail, mail-recover): Use that option.
16071 2002-05-20  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
16073         * international/mule.el (auto-coding-alist): Use emacs-mule
16074         for auto-save files.
16076 2002-05-20  Miles Bader  <miles@gnu.org>
16078         * files.el (find-file-read-args): Don't trash existing value of
16079         `minibuffer-setup-hook', just add our hook to it.
16081 2002-05-19  Markus Rost  <rost@math.ohio-state.edu>
16083         * international/ucs-tables.el (unify-8859-on-encoding-mode)
16084         (unify-8859-on-decoding-mode): Change :version attributes to strings.
16086         * simple.el (yank-excluded-properties): Change :version attribute
16087         to a string.
16089         * dired.el (dired-view-command-alist): Change :version attribute
16090         to a string.
16092         * xscheme.el (xscheme-start-hook): Change :version attribute to a
16093         string.
16095         * find-dired.el (find-dired): Implement revert-buffer-function.
16097         * mail/emacsbug.el (report-emacs-bug-hook): Do another save-excursion.
16099 2002-05-19  Glenn Morris  <gmorris@ast.cam.ac.uk>
16101         * progmodes/f90.el (f90-match-end, f90-break-line): Simplify a bit.
16102         (f90-get-present-comment-type): Fix earlier change.
16103         (f90-comment-indent): Doc fix.
16104         (f90-equal-symbols, f90-looking-at-do, f90-looking-at-select-case)
16105         (f90-looking-at-if-then): Remove lets.
16106         (f90-looking-at-where-or-forall): Handle if split over lines.
16107         (f90-change-keywords): Doc fix.
16109 2002-05-19  Richard M. Stallman  <rms@gnu.org>
16111         * indent.el (indent-region): Make COLUMN arg optional.
16113         * files.el (find-file-read-args): New function.
16114         (find-file, find-file-other-window, find-file-other-frame)
16115         (find-file-read-only, find-file-read-only-other-window)
16116         (find-file-read-only-other-frame): Use it.
16118         * custom.el (custom-load-symbol): Verify that LOADED is a string.
16120         * arc-mode.el (archive-zip-use-pkzip): Variable deleted.
16121         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
16122         (archive-zip-update-case): Use locate-file to decide whether
16123         to use pkzip.
16124         (archive-zip-extract): Test for pkzip in value of archive-zip-extract.
16126         * files.el (locate-file): Doc fix.
16128 2002-05-19  John Paul Wallington  <jpw@shootybangbang.com>
16130         * mail/rmail.el (rmail-show-message-hook): Offer `goto-address'
16131         as an option.
16133 2002-05-18  Stefan Monnier  <monnier@cs.yale.edu>
16135         * uniquify.el (uniquify-rationalize-file-buffer-names):
16136         Always strip the trailing / even if the file is not a directory.
16138 2002-05-18  Glenn Morris  <gmorris@ast.cam.ac.uk>
16140         * progmodes/f90.el (f90-mode-syntax-table, f90-mode-map): Do the
16141         initialization in the defvar.
16142         (f90-font-lock-on, f90-font-lock-off): Add 'menu-alias property.
16143         (f90-font-lock-1, f90-font-lock-2, f90-font-lock-3)
16144         (f90-font-lock-4): Move the doc strings.
16145         (f90-menu-bar-menu): New internal variable to hold the top-level menu.
16146         (f90-change-case-menu, f90-font-lock-menu): Minor code changes.
16147         (f90-mode-abbrev-table): Initialize in the defvar, with
16148         define-abbrev-table.
16150 2002-05-18  Eli Zaretskii  <eliz@is.elta.co.il>
16152         * tar-mode.el (tar-octal-time): Fix last change.
16154 2002-05-18  Markus Rost  <rost@math.ohio-state.edu>
16156         * mail/emacsbug.el (report-emacs-bug-text-prompt): New variable.
16157         (report-emacs-bug): Store the prompt in
16158         `report-emacs-bug-text-prompt'.  Move Configuration/Important
16159         settings information after the user's report.
16160         (report-emacs-bug-hook): Unclutter by deleting the content of
16161         `report-emacs-bug-text-prompt'.
16163 2002-05-17  Thomas Morgan  <tlm@pocketmail.com>
16165         * forms.el (forms-jump-record, forms-insert-record)
16166         (forms-delete-record): Calculate lines from the beginning of the
16167         accessible portion rather than from the beginning of the buffer.
16169 2002-05-16  Eli Zaretskii  <eliz@is.elta.co.il>
16171         * ps-mule.el (eval-and-compile): Add a trivial replacement for a
16172         possibly missing encode-char.
16173         (ps-mule-font-info-database-bdf): Add associations for Unicode
16174         fonts.  Doc fix.
16175         (ps-mule-font-info-database-ps-bdf): Doc fix.
16176         (ps-mule-encode-ucs2): New function for encoding Unicode characters.
16178         * tar-mode.el (tar-octal-time): Fix the last argument of logior.
16180 2002-05-16  Stefan Monnier  <monnier@cs.yale.edu>
16182         * emacs-lisp/find-func.el (find-function-search-for-symbol):
16183         Find funs defined with defun-cvs-mode.
16184         (find-function-space-re): New const.  Skips comments as well.
16185         (find-function-regexp, find-variable-regexp): Use it.
16187         * pcvs.el (cvs-cmd-do): Accept non-CVS dirs with CVS-ctrl'd subdirs.
16188         (cvs-mode-add-change-log-entry-other-window): Work on multiple files.
16189         (cvs-mode-set-flags): Don't cons unnecessarily.
16191 2002-05-16  Colin Walters  <walters@debian.org>
16193         * menu-bar.el (menu-bar-tools-menu) <calculator>: Renamed to
16194         "Simple Calculator".
16195         (menu-bar-tools-menu) <calc>: New.
16197 2002-05-16  Juanma Barranquero  <lektu@terra.es>
16199         * progmodes/hideshow.el (hs-adjust-block-beginning): Fix typo.
16201         * filesets.el (filesets-ormap): Fix typo.
16203         * faces.el (describe-face): Fix typo.
16205 2002-05-15  Stefan Monnier  <monnier@cs.yale.edu>
16207         * emacs-lisp/easymenu.el (easy-menu-make-symbol):
16208         Don't treat (lambda () ...) as an expression.
16210 2002-05-15  John Paul Wallington  <jpw@shootybangbang.com>
16212         * replace.el (occur-read-primary-args): Handle a bare 'C-u' correctly.
16214 2002-05-15  Eli Zaretskii  <eliz@is.elta.co.il>
16216         * emacs-lisp/easymenu.el (easy-menu-add): Doc fix.
16218 2002-05-14  Glenn Morris  <gmorris@ast.cam.ac.uk>
16220         * progmodes/fortran.el (fortran-directive-re): New name for
16221         fortran-preprocessor-re.  All usage updated.
16222         (fortran-calculate-indent): Give directives zero indentation.
16224 2002-05-14  Jason Rumney  <jasonr@gnu.org>
16226         * emacs-lisp/easymenu.el (easy-menu-name-match): Match both
16227         displayed text and internal name as string.
16229 2002-05-14  Kim F. Storm  <storm@cua.dk>
16231         * emulation/cua-rect.el (cua--rectangle-operation):
16232         Don't highlight empty lines in rectangles.
16234         * emulation/keypad.el: Improved commentary.
16235         (keypad-setup, keypad-shifted-setup): Added choice to setup
16236         Numeric keypad with decimal key; value is selected character.
16237         (keypad-decimal-key, keypad-shifted-decimal-key): Removed options.
16238         (keypad-numlock-setup, keypad-numlock-shifted-setup): New options.
16239         (keypad-setup): Arg list changed to support the new options.
16241 2002-05-14  Richard M. Stallman  <rms@gnu.org>
16243         * dabbrev.el (dabbrev-case-distinction): New option.
16244         (dabbrev--try-find): Handle dabbrev-case-distinction.
16245         (dabbrev--search): Clean up the code.
16246         (dabbrev-upcase-means-case-search): Doc fix.
16247         (dabbrev-case-replace): Fix custom tags and docs.
16249 2002-05-14  Jochen K\e,A|\e(Bpper  <jochen@jochen-kuepper.de>
16251         * calc/calc-units.el (math-standard-units): Update from CODATA.
16253 2002-05-14  Stefan Monnier  <monnier@cs.yale.edu>
16255         * skeleton.el (skeleton-transformation): Default to `identity'.
16256         (skeleton-insert): Use `move-after' markers and `insert' rather
16257         than rely on insert-before-markers.
16258         (skeleton-internal-1): Handle `> \n' specially so that the newline
16259         is inserted before the first line is indented.
16261 2002-05-14  Mike Williams  <mdub@bigfoot.com>
16263         * textmodes/sgml-mode.el (sgml-tag):
16264         Default skeleton-transformation to `identity'.
16266 2002-05-14  Francesco Potort\e,Al\e(B  <pot@gnu.org>
16268         * shell.el (shell-mode): Make second part of initialisation
16269         depend on whether comint-input-ring is empty, rather than depend
16270         on it being nil.
16272 2002-05-14  Richard M. Stallman  <rms@gnu.org>
16274         * files.el (make-auto-save-file-name):
16275         Delete the auto-save file after make-temp-file creates it.
16277 2002-05-13  Kim F. Storm  <storm@cua.dk>
16279         * emulation/cua-base.el (cua-enable-cursor-indications): Default off.
16280         (cua-mode): Print Enabled/Disabled messages if interactive.
16281         Disable delete-selection-mode and pc-selection-mode when cua-mode
16282         is enabled; reenable if cua-mode is turned off.
16283         Remember setting of transient-mark-mode when cua-mode is enabled;
16284         restore if cua-mode is disabled.
16286 2002-05-13  Richard M. Stallman  <rms@gnu.org>
16288         * mail/emacsbug.el (report-emacs-bug): Change the "English please" msg.
16290 2002-05-13  Colin Walters  <walters@gnu.org>
16292         * ibuf-ext.el (ibuffer-format-filter-group-data): New function.
16294         * ibuffer.el (ibuffer-insert-filter-group): New argument filter-string.
16295         (ibuffer-redisplay-engine): Handle it.
16297         * add-log.el (add-log-mailing-address): Can be a list, too.
16298         (add-change-log-entry): If `add-log-mailing-address' is a list,
16299         then handle it.
16301 2002-05-12  Colin Walters  <walters@debian.org>
16303         * replace.el (occur-1): New optional argument `buf-name'.
16304         (occur-revert-function): Use it.
16306         (occur-1): Handle plurals.
16308         (occur-engine): If there are no more matches, then finish
16309         searching the current buffer.
16311 2002-05-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
16313         * net/ange-ftp.el (ange-ftp-try-passive-mode)
16314         (ange-ftp-passive-host-alist): Change :version attributes to be
16315         strings.
16317 2002-05-12  Markus Rost  <rost@math.ohio-state.edu>
16319         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Define it with
16320         define-minor-mode.
16322         * emacs-lisp/find-func.el (find-function-search-for-symbol):
16323         Handle more whitespace/newline combinations in symbol definitions.
16325 2002-05-12  Eli Zaretskii  <eliz@is.elta.co.il>
16327         * w32-vars.el (w32)
16328         * vc-cvs.el (vc-cvs-global-switches)
16329         (vc-cvs-sticky-date-format-string, vc-cvs-sticky-tag-display)
16330         * textmodes/sgml-mode.el (sgml-xml-mode)
16331         * ruler-mode.el (ruler-mode)
16332         * replace.el (query-replace-skip-read-only)
16333         * progmodes/fortran.el (fortran-preprocessor-re)
16334         * net/ange-ftp.el (ange-ftp-passive-host-alist)
16335         * mail/sendmail.el (mail-use-dsn)
16336         * faces.el (mode-line-inactive, minibuffer-prompt)
16337         * add-log.el (add-log-always-start-new-record): Change all
16338         post-21.1 :version attributes to 21.4.
16340 2002-05-12  Richard M. Stallman  <rms@gnu.org>
16342         * mail/smtpmail.el (smtpmail-mail-address): New variable.
16343         (smtpmail-send-it): Bind and use that instead of `mail-address'.
16344         (smtpmail-via-smtp): Likewise.
16346         * ansi-color.el (ansi-color-get-face): Avoid add-to-list on local var.
16347         (ansi-color-apply-sequence): Avoid duplicates in combined face list.
16349         * dired-aux.el (dired-show-file-type): Use -- to say FILE's not option.
16351         * subr.el (functionp): Catch errors in indirect-function.
16353 2002-05-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
16355         * net/ldap.el (ldap-search-internal): Unfold folded lines before
16356         parsing.
16358         * cus-edit.el (customize-set-value): Rename `var' to `variable'
16359         and `val' to `value'.
16360         (customize-save-variable): Rename `var' to `'variable.
16362 2002-05-12  Glenn Morris  <gmorris@ast.cam.ac.uk>
16364         * progmodes/fortran.el (fortran-preprocessor-re): New variable.
16365         Use it for font-locking and indentation.
16366         (fortran-previous-statement, fortran-next-statement): Make them
16367         skip over preprocessor lines.
16368         (fortran-calculate-indent): Use fortran-preprocessor-re.
16370 2002-05-10  Kim F. Storm  <storm@cua.dk>
16372         * emulation/cua-base.el (cua-enable-cua-keys)
16373         (cua-enable-register-prefix): Added value for `other' choice.
16375 2002-05-10  Eli Zaretskii  <eliz@is.elta.co.il>
16377         * menu-bar.el (menu-bar-showhide-scroll-bar-menu)
16378         (menu-bar-showhide-menu): Use display-graphic-p, not window-system.
16379         (menu-bar-showhide-menu) <showhide-menu-bar, showhide-tool-bar>:
16380         Run a named function.
16381         (showhide-menu-bar, showhide-toolbar): Invoke customize-mark-as-set.
16382         (menu-bar-showhide-menu) <column-number-mode, line-number-mode>:
16383         Fix help text.
16385 2002-05-10  Kim F. Storm  <storm@cua.dk>
16387         * emulation/cua-base.el (cua-mode): Misc. changes to use
16388         emulation-mode-map-alists instead of minor-mode-map-alist.
16390 2002-05-09  Richard M. Stallman  <rms@gnu.org>
16392         * mail/rmail.el (rmail-show-message):
16393         Catch error in check-coding-system.
16395         * progmodes/compile.el (compilation-error-regexp-alist):
16396         New element to recognize Python error messages.
16398         * shell.el (shell-replace-by-expanded-directory):
16399         If there's already a / at the end, don't add one.
16401 2002-05-09  Colin Walters  <walters@verbum.org>
16403         * ibuffer.el (ibuffer-mode-map): Add :enable guards for
16404         `ibuffer-filter-disable', `ibuffer-pop-filter',
16405         `ibuffer-or-filter', `ibuffer-negate-filter',
16406         `ibuffer-decompose-filter', `ibuffer-save-filters',
16407         `ibuffer-switch-to-saved-filters', `ibuffer-delete-saved-filters',
16408         `ibuffer-save-filter-groups',
16409         `ibuffer-switch-to-saved-filter-groups',
16410         `ibuffer-delete-saved-filter-groups'.
16412         * ibuf-ext.el (ibuffer-do-occur): Default to 0 context lines.
16414 2002-05-09  Markus Rost  <rost@math.ohio-state.edu>
16416         * woman.el (woman-menu): Move symbol before the comment so that
16417         find-function-search-for-symbol finds it.
16419 2002-05-10  Miles Bader  <miles@gnu.org>
16421         * facemenu.el (list-colors-display): Don't use
16422         `display-color-cells' unless the display class is one for which
16423         that info is relevant.
16425 2002-05-09  Simon Josefsson  <jas@extundo.com>
16427         * mail/smtpmail.el (smtpmail-send-it): Use user-mail-address from
16428         calling buffer.
16429         (smtpmail-auth-credentials): Bump :version to 21.4 (21.3 will not
16430         have the patch).
16432 2002-05-09  Kim F. Storm  <storm@cua.dk>
16434         * wid-edit.el (checkbox): New check-mark image.
16436 2002-05-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
16438         * filesets.el (filesets-running-xemacs): Fix last change.
16440 2002-05-08  Markus Rost  <rost@math.ohio-state.edu>
16442         * help-fns.el (describe-function-1): If the source is
16443         `loaddefs.el', look for the real source.  This is necessary only
16444         for defaliases.
16446         * emacs-lisp/find-func.el (find-function-search-for-symbol):
16447         Add autoload cookie.
16448         (find-function-regexp): Include
16449         "\(quote " to match the defaliases in loaddefs.el.
16451         * filesets.el (filesets-conditional-sort): Use copy-sequence,
16452         not copy-list.
16453         (filesets-menu-path, filesets-menu-before, filesets-menu-in-menu):
16454         Defvar them to nil if running in Emacs.
16456 2002-05-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
16458         * textmodes/flyspell.el (make-flyspell-overlay): Add help text
16459         to flyspell overlays.
16461         * info.el (Info-mode-map): Bind `c' to Info-copy-current-node-name.
16463 2002-05-08  Richard M. Stallman  <rms@gnu.org>
16465         * diff.el (diff-regexp-alist): Doc fix.
16467         * mail/smtpmail.el (netrc-machine, netrc-get): Add autoloads.
16469 2002-05-08  Simon Marshall  <simon@gnu.org>
16471         * msb.el (msb-menu-bar-update-buffers): Fixed frame menu to use
16472         the frame name as the car of a menu entry, rather than the frame.
16474 2002-05-08  Juanma Barranquero  <lektu@terra.es>
16476         * rfn-eshadow.el (read-file-name-electric-shadow-mode): Fix typos
16477         in docstring.
16479 2002-05-07  Colin Walters  <walters@verbum.org>
16481         * replace.el (occur-unfontify-region-function): Delete.
16482         (occur-mode): Don't use it.
16483         (occur-engine): Respect `keep-props'.
16484         (occur-accumulate-lines): If we're moving forward, decrement;
16485         don't increment, and vice versa.
16487 2002-05-08  Toru Tomabechi  <Toru.Tomabechi@orient.unil.ch>
16489         * language/tibet-util.el (tibetan-canonicalize-for-unicode-alist)
16490         (tibetan-canonicalize-for-unicode-regexp): New variables.
16491         (tibetan-canonicalize-for-unicode-region): New function.
16492         (tibetan-strict-unicode): New variable.
16493         (tibetan-pre-write-canonicalize-for-unicode): New function.
16495 2002-05-07  Markus Rost  <rost@math.ohio-state.edu>
16497         * net/ange-ftp.el (ange-ftp-re-read-dir): Don't hide it behind
16498         the autoload-cookie.  Remove comment.
16500         * ffap.el (ffap): Don't hide it behind the autoload-cookie.
16502         * rect.el (close-rectangle): Don't hide it behind the
16503         autoload-cookie.
16505 2002-05-07  Juanma Barranquero  <lektu@terra.es>
16507         * windmove.el (windmove-default-keybindings): Add optional
16508         parameter to allow using a modifier other than 'shift.
16510 2002-05-07  Thomas Link  <t.link@gmx.at>
16512         * filesets.el:
16513         (filesets-external-viewers): Fix customization problem.
16514         (filesets-some): Replaces cl's `some'.  Calls changed.
16515         (filesets-member): Replaces cl's `member*'.  Calls changed.
16516         (filesets-ormap): New function.
16518 2002-05-07  John Paul Wallington  <jpw@shootybangbang.com>
16520         * ibuffer.el (toplevel): Specialize `ibuffer-mode-groups-popup'
16521         menu items.
16523 2002-05-07  Colin Walters  <walters@gnu.org>
16525         * ibuf-ext.el (ibuffer-pop-filter-group): Doc fix.
16526         (ibuffer-clear-filter-groups): Likewise.
16527         (ibuffer-kill-filter-group): Likewise.
16528         (ibuffer-kill-line): Likewise.
16529         (ibuffer-read-filter-group-name): New function.
16530         (ibuffer-jump-to-filter-group): Use it.
16531         (ibuffer-kill-filter-group): Likewise.
16532         (ibuffer-yank-filter-group): Likewise.
16533         (ibuffer-decompose-filter-group): New function.
16535         * ibuffer.el (ibuffer-mode-map): Bind it.  Add :enable guard
16536         around `ibuffer-filters-to-filter-group' menu item.  Fix :enable
16537         guards for `ibuffer-pop-filter-group' and
16538         `ibuffer-clear-filter-groups'.
16540 2002-05-06  Markus Rost  <rost@math.ohio-state.edu>
16542         * emacs-lisp/find-func.el (find-function-search-for-symbol):
16543         Use with-syntax-table.
16545 2002-05-06  Francesco Potort\e,Al\e(B  <pot@gnu.org>
16547         * mail/rmail.el (rmail-font-lock-keywords): Highlight Resent-[Ff]rom:.
16549 2002-05-05  Markus Rost  <rost@math.ohio-state.edu>
16551         * time-stamp.el (time-stamp-format): Doc fix: escape open
16552         parenthesis in column 0.
16554 2002-05-04  Richard M. Stallman  <rms@gnu.org>
16556         * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
16557         Handle both cases: when the menu item has cached info
16558         and when it doesn't.
16560         * filesets.el (filesets-browse-dir-function): Renamed from ...-fn.
16561         (filesets-open-file-function, filesets-save-buffer-function): Likewise.
16562         (filesets-tree-max-level): Doc fix.
16563         (filesets-commands, filesets-external-viewers)
16564         (filesets-ingroup-patterns): Mark as risky.
16565         (filesets-cache-hostname-flag): Doc fix.
16566         (filesets-menu-cache-file): Doc fix.  Mark as risky.
16567         (filesets-menu-before, filesets-menu-path, filesets-menu-in-menu):
16568         Don't defcustom them if running in Emacs.
16570 2002-05-04  Thomas Link  <t.link@gmx.at>
16572         * filesets.el (filesets-ingroup-collect-files):
16573         Fix problem with inclusion groups' :scan-depth property.
16575 2002-05-04  Colin Walters  <walters@verbum.org>
16577         * ibuf-ext.el (ibuffer-kill-filter-group): Test for killing
16578         "Default" group earlier.  Push killed group on
16579         `ibuffer-filter-group-kill-ring'.
16580         (ibuffer-kill-line): Document.  Don't push killed group ourselves.
16581         (ibuffer-yank-filter-group): Renamed from `ibuffer-yank'.
16582         (ibuffer-insert-filter-group-before): New function, broken out
16583         from `ibuffer-yank'.
16584         (ibuffer-yank): Now just call `ibuffer-yank-filter-group'.
16586         * ibuffer.el (ibuffer-mode-operate-menu, ibuffer-mode-mark-menu)
16587         (ibuffer-mode-view-menu): Unused variables; deleted.
16588         (ibuffer-find-file): Pass wildcard flag to `find-file' correctly.
16590 2002-05-04  John Paul Wallington  <jpw@shootybangbang.com>
16592         * ibuffer.el (ibuffer-mode-groups-popup): New variable.
16593         (toplevel): Bind filter group menu entries in it.  Add :enable
16594         forms for some menu items.
16595         (toplevel): Bind [down-mouse-3] in `ibuffer-mode-filter-group-map'
16596         to `ibuffer-mouse-popup-menu'.
16597         (ibuffer-mouse-popup-menu): Test whether or not we're on a filter
16598         group name, and if so, pop up a filter group menu.
16600 2002-05-04  Jason Rumney  <jasonr@gnu.org>
16602         * mwheel.el (mwheel-event-button): Translate mouse-wheel events.
16603         (mwheel-scroll): Recognize nil scroll amount as documented.
16605         * term/w32-win.el (mouse-wheel-scroll-line)
16606         (mouse-wheel-scroll-screen): Remove.
16607         ([mouse-wheel], [C-mouse-wheel], [S-mouse-wheel]): Use mwheel-scroll.
16609         * w32-vars.el: (mouse-wheel-scroll-amount): Removed.
16611 2002-05-04  Markus Rost  <rost@math.ohio-state.edu>
16613         * emacs-lisp/find-func.el (find-function-search-for-symbol):
16614         Bind case-fold-search when searching.
16616 2002-05-04  Eli Zaretskii  <eliz@is.elta.co.il>
16618         * apropos.el (apropos-print): Fix the reference to mouse-2.
16620 2002-05-04  Daniel Pfeiffer  <occitan@esperanto.org>
16622         * play/mpuz.el (mpuz-switch-to-window): Set buffer-read-only directly.
16624 2002-05-04  Kim F. Storm  <storm@cua.dk>
16626         * cus-edit.el (custom-buffer-verbose-help): New variable.
16627         (custom-buffer-create-internal): Remove verbose introduction
16628         in customization buffer when it is nil.
16630 2002-05-03  Dave Love  <fx@gnu.org>
16632         * international/mule-cmds.el (select-safe-coding-system):
16633         Don't offer coding systems that use locking shift.
16634         Ask for confirmation if chosen coding system disagrees with
16635         a `coding:' spec in the file.
16637 2002-05-03  John Wiegley  <johnw@gnu.org>
16639         * eshell/esh-var.el (eshell-modify-global-environment): Added this
16640         customization variable, which will cause any "export" commands
16641         within any eshell buffer to modify the global Emacs environment.
16642         It defaults to nil, which means that such commands will only
16643         modify that Eshell buffer's environment.
16644         (eshell-var-initialize): Initialize `eshell-modify-global-environment'.
16646         * eshell/em-cmpl.el (eshell-command-completions-alist):
16647         Improve default completion targets for objdump, nm and readelf.
16649 2002-05-03  Colin Walters  <walters@verbum.org>
16651         * play/gamegrid.el (gamegrid-user-score-file-directory): New variable.
16652         (gamegrid-add-score-with-update-game-score):
16653         Use `shared-game-score-directory'.  Correctly handle non-setuid case.
16655 2002-05-02  Colin Walters  <walters@verbum.org>
16657         * replace.el (occur-mode-map): Bind "q" to `delete-window'.
16658         (occur-1): If one of the buffers we're searching is the *Occur*
16659         buffer itself, handle it by creating a temporary buffer.  If any
16660         of the buffers being searched are killed, note that in the search
16661         result message.  Also, set local variables before we possibly kill
16662         the buffer.
16664 2002-05-02  Kim F. Storm  <storm@cua.dk>
16666         * menu-bar.el (menu-bar-make-toggle): Added optional PROPS arg.
16667         (menu-bar-options-save): Added cua-mode.
16668         (menu-bar-options-menu): Added toggle for cua-mode.
16669         Disable toggle for transient-mark-mode if cua-mode is enabled.
16671         * emulation/cua-base.el (cua-inhibit-cua-keys): New buffer-local
16672         variable.
16674 2002-05-01  Richard M. Stallman  <rms@gnu.org>
16676         * help.el (view-todo): New function.
16677         (help-map): Bind C-h C-t to view-todo.
16678         (help-for-help): Change the text.
16680 2002-05-01  Glenn Morris  <gmorris@ast.cam.ac.uk>
16682         * progmodes/f90.el: Yet more doc string, commment and whitespace
16683         changes.
16684         (f90-imenu-flag): New name for internal variable f90-imenu.
16685         (f90-blocks-re, f90-program-block-re, f90-end-if-re)
16686         (f90-no-break-re): Use regexp-opt.
16687         (f90-end-type-re): Add closing "\\>".
16688         (f90-indent-region): Correctly indent comments embedded in
16689         continued lines.
16690         (f90-indent-new-line): Make it indent the current line, as it should.
16691         (f90-line-continued, f90-get-present-comment-type)
16692         (f90-looking-at-if-then, f90-indent-line, f90-indent-new-line)
16693         (f90-indent-region, f90-indent-subprogram, f90-do-auto-fill)
16694         (f90-join-lines, f90-fill-region, f90-match-end, f90-insert-end)
16695         (f90-change-keywords): Minor code tidying.
16697         * progmodes/fortran.el (fortran-strip-sequence-nos): Rename from
16698         typo `fortran-strip-sqeuence-nos'.
16700 2002-05-01  Eli Zaretskii  <eliz@is.elta.co.il>
16702         * simple.el (clone-indirect-buffer-other-window): Fix a typo in
16703         pop-up-window.
16705 2002-05-01  Kim F. Storm  <storm@cua.dk>
16707         * emulation/cua-base.el (cua--pre-command-handler):
16708         Only interpret delete-selection property if mark-active.
16709         (cua-mode): Fixed require in defcustom.
16711 2002-05-01  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
16713         * calendar/cal-menu.el (cal-menu-x-popup-menu): Fix argument of
16714         error call.
16716 2002-05-01  Colin Walters  <walters@verbum.org>
16718         * textmodes/tex-mode.el (tex-validate-buffer):
16719         Use `occur-revert-arguments' instead of setting `occur-nlines' and
16720         `occur-buffer'.  Don't test for `input-pending-p' in loop.
16721         Set text property `occur-target' instead of `occur'.
16723 2002-04-30  John Wiegley  <johnw@gnu.org>
16725         * align.el (align-region): Fixed the fix to align-region, because
16726         the "name" argument was appearing twice.
16728 2002-05-01  Martin Stjernholm  <bug-cc-mode@gnu.org>
16730         * progmodes/cc-engine.el (c-beginning-of-decl-1): Better way
16731         to handle protection labels, one which doesn't get confused by
16732         inherit colons.
16734         * progmodes/cc-engine.el (c-end-of-decl-1): Don't treat
16735         functions that have "class" or "struct" in the return type as
16736         classes or structs.
16738 2002-04-30  Kim F. Storm  <storm@cua.dk>
16740         * menu-bar.el (menu-bar-custom-menu): Change "Recently Changed
16741         Options" to "New Options..."; rephrase tooltip.
16742         Rephrase tooltip for "Specific Option...".
16743         Added "Saved Options" item.  [from Simon Marshall]
16745 2002-04-30  Richard M. Stallman  <rms@gnu.org>
16747         * time.el (display-time-mail-directory)
16748         (display-time-mail-function): Doc fixes.
16750         * ediff-hook.el: Remove autoload cookies.
16752         * language/tibetan.el (tibetan-obsolete-glyphs): Now in tibet-util.el.
16754         * language/tibet-util.el (tibetan-obsolete-glyphs): From tibetan.el.
16756         * align.el (align-region): Fix call to `message'.
16757         Check that (car rule) is a symbol.
16759         * autoinsert.el (auto-insert-directory): Doc fix.
16761         * facemenu.el (describe-text-at and stuff): Moved to descr-text.el.
16763         * descr-text.el: New file, broken out of facemenu.el.
16765         * emacs-lisp/advice.el (documentation): Add ad-define-subr-args call.
16767 2002-04-29  Markus Rost  <rost@math.ohio-state.edu>
16769         * mail/emacsbug.el (report-emacs-bug-hook):
16770         Use replace-match only if search was successful.
16772 2002-04-29  Richard M. Stallman  <rms@gnu.org>
16774         * net/zone-mode.el (zone-mode): Add write-file-hooks hook locally.
16776         * mail/emacsbug.el (report-emacs-bug-hook): Don't fail completely
16777         if the user edits the Emacs version number in the text.
16779         * filesets.el (filesets-running-xemacs): Make defvar unconditional.
16780         (filesets-ingroup-files): Renamed from filesets-ingroup-paths.
16781         (filesets-error): Simplify definition and make conditional
16782         on filesets-running-xemacs.
16783         (filesets-find-file-using): Renamed from fsfind-file-using.
16785 2002-04-29  Stefan Monnier  <monnier@cs.yale.edu>
16787         * info.el (Info-find-in-tag-table-1, Info-read-subfile): Use point-min.
16788         (Info-read-node-name-1): Complete file names.
16789         (Info-complete-menu-item): Don't cons unnecessarily.
16791         * files.el (locate-file): New fun.
16792         (locate-file-completion): Rename from load-completion and generalize.
16793         (load-library): Use it.
16794         (make-auto-save-file-name): Expand caddr.
16796         * newcomment.el (comment-fill-column): New var.
16797         (comment-indent): Use it.
16798         (comment-or-uncomment-region): New fun.
16799         (comment-dwim): Use it.
16801 2002-04-29  Colin Walters  <walters@verbum.org>
16803         * ibuf-ext.el (ibuffer-kill-filter-group): Call `delete' function.
16804         (ibuffer-kill-line): Copy the filter group data structure when killing.
16805         (ibuffer-yank): Handle case where we're yanking on the default
16806         group correctly.
16807         (ibuffer-delete-saved-filter-groups): Doc fix.
16809         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16810         Test whether or not update-game-score is setuid, and do the right
16811         thing.
16813 2002-04-29  Kim F. Storm  <storm@cua.dk>
16815         * subr.el (remove-yank-excluded-properties): New helper function.
16816         (insert-for-yank, insert-buffer-substring-as-yank): Use it.
16818         * simple.el (yank-excluded-properties): Added help-echo to list.
16820 2002-04-29  Glenn Morris  <gmorris@ast.cam.ac.uk>
16822         * autoinsert.el (auto-insert-directory): Doc fix.
16824         * progmodes/f90.el: Add/change doc strings for many inline
16825         functions.  Whitespace changes.
16826         (f90-indent-line-no, f90-update-line): Minor code changes.
16828 2002-04-29  Kim F. Storm  <storm@cua.dk>
16830         * emulation/cua-base.el: New file.
16832         * emulation/cua-rect.el: New file.
16834         * emulation/cua-gmrk.el: New file.
16836         * emulation/keypad.el: New file.
16838 2002-04-29  Triet Hoai Lai  <thlai@ee.usyd.edu.au>
16840         * language/vietnamese.el (viet-tcvn-decode-table, ccl-decode-tcvn)
16841         (ccl-encode-tcvn, ccl-encode-tcvn-font, vietnamese-tcvn):
16842         New Vietnamese coding system.
16844         * language/viet-util.el: Update Commentary section.
16846 2002-04-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
16848         * filesets.el (filesets-data): Doc fix.
16849         (filesets-running-xemacs): Define even when compiling.
16851         * recentf.el (recentf-cancel-dialog): Remove dot at the end of
16852         sentence.
16854 2002-04-29  Stefan Monnier  <monnier@cs.yale.edu>
16856         * textmodes/fill.el (fill-context-prefix): Fix last change with
16857         yet-another-approach.
16859 2002-04-28  Markus Rost  <rost@math.ohio-state.edu>
16861         * net/ange-ftp.el (ange-ftp-passive-host-alist)
16862         (ange-ftp-bs2000-additional-pubsets): Fix custom type.
16864         * files.el (small-temporary-file-directory): Fix custom type.
16866 2002-04-28  Glenn Morris  <gmorris@ast.cam.ac.uk>
16868         * progmodes/f90.el (f90-xemacs-flag): New variable.
16869         (f90-mark-subprogram-overlay): New variable.
16870         (f90-mark-subprogram): Now it highlights the subprogram.
16871         (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
16872         Fix highlighting of various "type" forms.
16874 2002-04-28  Colin Walters  <walters@verbum.org>
16876         * ibuffer.el (ibuffer-mode): Additional documentation on filter
16877         groups.
16879 2002-04-28  John Paul Wallington  <jpw@shootybangbang.com>
16881         * ibuf-ext.el (ibuffer-set-filter-groups-by-mode): Don't make an
16882         ibuffer-mode filter group if `ibuffer-view-ibuffer' is nil.
16884 2002-04-28  Richard M. Stallman  <rms@gnu.org>
16886         * mail/sendmail.el (mail-recover-1): Decrease non-random-len
16887         by 1 for the newly-readded #.
16889         * files.el (make-auto-save-file-name): Specify # as suffix
16890         in the non-file-visiting case.
16892         * subr.el (make-temp-file): New arg SUFFIX.
16894         * filesets.el: New file.
16896         * replace.el (occur-accumulate-lines): Avoid incf and decf.
16897         (occur-engine-add-prefix): New function.
16898         (occur-engine): Avoid using macrolet, incf and decf.
16899         Use occur-engine-add-prefix instead.
16900         Rename `l' to `lines' and `c' to `matches'.
16902         * replace.el (occur-engine, occur-mode-mouse-goto)
16903         (occur-mode-find-occurrence, occur-mode-goto-occurrence)
16904         (occur-mode-goto-occurrence-other-window)
16905         (occur-mode-display-occurrence): A position is just a marker,
16906         not a list.
16908         * replace.el (occur-revert-arguments):
16909         Renamed from occur-revert-properties.  All uses changed.
16911 2002-04-28  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
16913         * recentf.el (recentf-menu-before): Use string to specify path in
16914         the menu.
16916         * international/mule-cmds.el (read-language-name): Take care of
16917         non-list values.
16919 2002-04-27  Richard M. Stallman  <rms@gnu.org>
16921         * custom.el (custom-load-symbol): Moved from cus-edit.el.
16922         (custom-load-recursion): Likewise.
16924         * cus-edit.el (custom-load-symbol): Moved to custom.el.
16925         (custom-load-recursion): Likewise.
16927         * progmodes/ada-xref.el (ada-add-ada-menu): Menu pseudo-keys
16928         generated by easymenu are now lowercase.
16930 2002-04-27  Richard M. Stallman  <rms@gnu.org>
16932         * menu-bar.el (menu-bar-update-buffers): Add menu items
16933         Next Buffer and Previous Buffer.
16935         * simple.el (next-buffer, prev-buffer): New commands.
16936         Bind C-x left and C-x right to them.
16938         * info.el (Info-header-line): Mark it as risky-local-variable.
16940         * subr.el (insert-for-yank): Replace `category' property
16941         with whatever properties it stands for.
16943         * subr.el (member-ignore-case): Ignore non-strings in LIST.
16945 2002-04-27  Miles Bader  <miles@gnu.org>
16947         * faces.el (read-face-name): Format the prompt correctly when
16948         there's no default.
16950 2002-04-26  Andrew Choi  <akochoi@shaw.ca>
16952         * term/mac-win.el: Don't call ediff-toggle-multiframe.
16953         Set default directory.  Set process-connection-type to nil.
16955 2002-04-26  Richard M. Stallman  <rms@gnu.org>
16957         * loadup.el: Explicitly load cus-face and timer.
16959         * isearch.el: Don't require timer.
16961         * faces.el: Don't require cus-face.
16963         * cus-edit.el (customize-face): Use read-face-name
16964         and handle multiple faces.
16965         (customize-face-other-window): Make it work similarly.
16967         * faces.el (read-face-name): New defaulting features.
16968         New args STRING-DESCRIBING-DEFAULT and MULTIPLE.
16969         (list-faces-display): Use the face, not its name string,
16970         as arg when running customize-face.
16971         Put a `read-face-name' prop on the entire line.
16972         (describe-face): Handle multiple faces via read-face-name.
16974         * textmodes/tex-mode.el (tex-start-options): New variable.
16975         (tex-start-commands): New variable.
16976         (tex-start-options-string): Variable deleted.
16977         (tex-start-tex): Use tex-start-options and tex-start-commands,
16978         not tex-start-options-string.
16979         (tex-command): Doc fix.
16981 2002-04-26  Sam Steingold  <sds@gnu.org>
16983         * mail/smtpmail.el (smtpmail-try-auth-methods): When `host' is
16984         not in the authinfo/netrc, keep `cred' at nil.
16986 2002-04-26  Gerd Moellmann  <gerd@gnu.org>
16988         * find-file.el: Remove Ada-specific example code.
16990 2002-04-25  Michael Kifer  <kifer@cs.stonybrook.edu>
16992         * ediff-hooks.el: Put back the autoloads.
16994 2002-04-25  Colin Walters  <walters@verbum.org>
16996         * ibuffer.el (define column process): Use `ibuffer-aif'.
16998         * ibuf-ext.el (ibuffer-saved-filter-groups): Don't include broken
16999         defaults.
17000         (ibuffer-yank): Be sure to `setq' after we use `nconc'.
17001         (ibuffer-save-filter-groups): Correctly structure filter groups.
17002         (ibuffer-switch-to-saved-filter-groups): Correctly extract filter
17003         groups.
17005 2002-04-25  Simon Josefsson  <jas@extundo.com>
17007         * mail/sendmail.el (mail-use-dsn): New variable to request
17008         delivery status notification from MTA.
17009         (sendmail-send-it): Use it.
17011         * mail/smtpmail.el (smtpmail-queue-counter): New variable.
17012         (smtpmail-send-it): Use it to construct new queue filenames
17013         (needed if you send more than one message per second, which is
17014         possible if you use Gnus Agent).
17016         * mail/smtpmail.el (smtpmail-auth-credentials): Support netrc
17017         files as well.
17018         (smtpmail-try-auth-methods): Support netrc data.
17019         (netrc-parse): Autoload netrc.
17021 2002-04-25  Colin Walters  <walters@verbum.org>
17023         * replace.el (multi-occur-by-filename-regexp): Doc fix.
17024         (occur-engine): Go to `point-min'.  Make nlines argument actually
17025         mean number of context lines.  Handle it.  Pad digits to the right.
17027         * ibuf-ext.el (ibuffer-filtering-groups): Renamed to
17028         `ibuffer-filter-groups'.  All users updated.
17029         (ibuffer-show-empty-filter-groups): New variable.
17030         (ibuffer-saved-filter-groups): New variable.
17031         (ibuffer-maybe-save-stuff): Renamed from
17032         `ibuffer-maybe-save-saved-filters'.  Callers updated.
17033         Handle `ibuffer-saved-filter-groups'.
17034         (ibuffer-hidden-filtering-groups): Renamed to
17035         `ibuffer-hidden-filter-groups'.
17036         (ibuffer-filter-group-kill-ring): New variable.
17037         (ibuffer-save-with-custom): Doc fix.
17038         (ibuffer-set-filter-groups-by-mode): New function.
17039         (ibuffer-clear-filter-groups): New function.
17040         (ibuffer-current-filter-groups-with-position): Renamed from
17041         `ibuffer-current-filter-groups'.  Callers updated.
17042         (ibuffer-kill-filter-group): New function.
17043         (ibuffer-kill-line): New function.
17044         (ibuffer-yank): New function.
17045         (ibuffer-save-filter-groups): New function.
17046         (ibuffer-delete-saved-filter-groups): New function.
17047         (ibuffer-switch-to-saved-filter-groups): New function.
17048         (ibuffer-mark-on-buffer): Add optional arguments for adding a
17049         specific mark, and marking on a specific group.
17051         * ibuffer.el (ibuffer-formats): Doc fix.
17052         (ibuffer-mode-map): Bind <up> to `ibuffer-backward-line'.
17053         Bind new functions from ibuf-ext.el.  Add menu entries for them.
17054         Remove superfluous tooltips.
17055         (ibuffer-toggle-marks): If on a group name, then toggle marks just
17056         in that group.
17057         (ibuffer-mark-interactive): Handle filter groups.
17058         (ibuffer-mark-forward, ibuffer-unmark-forward)
17059         (ibuffer-mark-for-delete, ibuffer-unmark-backward)
17060         (ibuffer-mark-for-delete-backwards): Update docs.
17061         (ibuffer-current-filter-groups): Moved to ibuf-ext.el, and renamed
17062         to `ibuffer-current-filter-groups-with-position'.
17063         (ibuffer-redisplay-engine): Handle `ibuffer-show-empty-filter-groups'.
17064         (ibuffer-mode): Add some documentation about filter groups.
17066 2002-04-25  Andreas Schwab  <schwab@suse.de>
17068         * find-dired.el (find-name-dired): Don't quote pattern twice.
17070 2002-04-26  Miles Bader  <miles@gnu.org>
17072         * cus-edit.el (customize-face, customize-face-other-window):
17073         Use default instead of initial-input for suggested face.
17075 2002-04-25  Gerd Moellmann  <gerd@gnu.org>
17077         * cus-edit.el (customize-face-other-window, customize-face):
17078         Interactively, when point is on text with a face, suggest to
17079         customize that face.
17081 2002-04-25  Glenn Morris  <gmorris@ast.cam.ac.uk>
17083         * progmodes/f90.el: General tidy-up of commentary and some doc
17084         strings.
17086 2002-04-24  Glenn Morris  <gmorris@ast.cam.ac.uk>
17088         * scroll-all.el (scroll-all-function-all) New function to do the
17089         actual work.
17090         (scroll-all-scroll-down-all, scroll-all-scroll-up-all,
17091         scroll-all-page-down-all, scroll-all-page-up-all,
17092         scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
17093         Make them use scroll-all-function-all.
17095         * progmodes/f90.el (f90-get-beg-of-line): Removed and replaced
17096         with line-beginning-position.
17097         (f90-get-end-of-line): Removed and replaced with line-end-position.
17098         (f90-match-piece): Removed and replaced with match-string.
17099         (f90-current-indentation): Remove `current-column'.
17100         (f90-get-present-comment-type): Use match-string rather than
17101         buffer-substring.
17102         (f90-match-end): Use line-beginning-position, line-end-position
17103         rather than beginning-of-line, end-of-line.
17104         (f90-startup-message): Variable removed.
17106 2002-04-24  Colin Walters  <walters@verbum.org>
17108         * replace.el (occur-accumulate-lines): Add optional argument
17109         `no-props'.  Handle it.
17110         (occur-engine): Use it.
17112         * ibuf-ext.el (toplevel): Remove byte-compile-dynamic.  Try to set
17113         up autoloads manually.
17114         (ibuffer-split-list): New function.
17115         (ibuffer-filtering-groups): New variable.
17116         (ibuffer-hidden-filtering-groups): New variable.
17117         (ibuffer-mouse-toggle-filter-group): New function.
17118         (ibuffer-toggle-filter-group): New function.
17119         (ibuffer-toggle-filter-group-1): New function.
17120         (ibuffer-forward-filter-group): New function.
17121         (ibuffer-backward-filter-group): New funtion.
17122         (ibuffer-generate-filter-groups): New function.
17123         (ibuffer-filters-to-filter-group): New function.
17124         (ibuffer-pop-filter-group): New function.
17125         (ibuffer-jump-to-filter-group): New function.
17126         (ibuffer-do-occur): Just use `occur-read-primary-args'
17128         * ibuffer.el (ibuffer-filter-group-name-face): New.
17129         (ibuffer-mode-map): Bind and add menu entries for most new
17130         functions; also, bind the arrow keys to the movement functions.
17131         (ibuffer-mode-filter-group-map): New.
17132         (ibuffer-mouse-toggle-mark): Handle group names.
17133         (ibuffer-mouse-visit-buffer): Error if the current buffer is killed.
17134         (ibuffer-skip-properties): New function.
17135         (ibuffer-backward-line, ibuffer-forward-line): Optionally skip
17136         group names.  Also, handle new properties.
17137         (ibuffer-visit-buffer, ibuffer-visit-buffer-other-window):
17138         Move error handling to `ibuffer-current-buffer'.
17139         (ibuffer-visit-buffer-other-frame, ibuffer-bury-buffer): Ditto.
17140         (ibuffer-visit-tags-table, ibuffer-do-view-1): Ditto.
17141         (ibuffer-toggle-marks): Add optional group argument.
17142         (ibuffer-mark-interactive): Skip group names.
17143         (ibuffer-current-buffer): Clean up error handling.
17144         (ibuffer-fontify-region-function): Fontify group names.
17145         (ibuffer-map-lines): Add extra group argument.  Handle it.
17146         (ibuffer-current-filter-groups): New function.
17147         (ibuffer-redisplay): Handle hidden filtering groups.
17148         (ibuffer-sort-bufferlist): New function, taken from
17149         `ibuffer-insert-buffers-and-marks'.
17150         (ibuffer-insert-filter-group): New function.
17151         (ibuffer-redisplay-engine): Renamed from
17152         `ibuffer-insert-buffers-and-marks'.  Handle new filtering groups.
17153         (ibuffer): Add filter-groups argument.  Handle it.
17154         Use `save-selected-window'.
17155         (ibuffer-mode): Make `ibuffer-filtering-groups' and
17156         `ibuffer-hidden-filtering-groups' buffer-local.
17158         * ibuf-macs.el (ibuffer-save-marks): Call `ibuffer-redisplay-engine'.
17160 2002-04-24  Richard M. Stallman  <rms@gnu.org>
17162         * emacs-lisp/easymenu.el (easy-menu-intern): Downcase before interning.
17163         (easy-menu-define-key-intern): Function deleted; callers intern
17164         and then call easy-menu-define-key.
17165         (easy-menu-do-add-item): Explicitly intern the key, but not BEFORE.
17166         (easy-menu-define-key): Use easy-menu-name-match to match BEFORE.
17167         (easy-menu-name-match): New function.
17168         (add-submenu): New function.
17169         (easy-menu-get-map-look-for-name): Use easy-menu-name-match.
17171 2002-04-24  Eli Zaretskii  <eliz@is.elta.co.il>
17173         * menu-bar.el (menu-bar-adv-search-menu)
17174         (menu-bar-adv-search-menu): Improve the help text.
17176 2002-04-24  Simon Josefsson  <jas@extundo.com>
17178         * net/netrc.el: New file.
17180 2002-04-24  Thomas DeWeese  <tdeweese@rochester.rr.com>
17182         * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
17183         Check if any of the available selection sources has new content
17184         and if so it will return that content.
17186 2002-04-24  Miles Bader  <miles@gnu.org>
17188         * menu-bar.el (buffers-menu-show-directories)
17189         (buffers-menu-show-status): New variables.
17190         (menu-bar-update-buffers-1): Use them.
17192 2002-04-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
17194         * progmodes/cc-cmds.el (c-mask-comment): More fixes when used
17195         from `c-do-auto-fill' and point is at or near the limit of the
17196         comment.  Fixed bug when the prefix from `c-guess-fill-prefix'
17197         is longer than the text on the first line of the comment when
17198         it's masked.
17200 2002-04-24  Miles Bader  <miles@gnu.org>
17202         * menu-bar.el (menu-bar-update-buffers-1): Make sure
17203         `uniquify-buffer-name-style' is bound.
17205 2002-04-23  Colin Walters  <walters@verbum.org>
17207         * replace.el (toplevel): Require `cl' while compiling.
17208         (occur-buffer, occur-nlines): Delete.
17209         (occur-revert-properties): Rename to `occur-revert-properties'.
17210         (occur-mode): Handle it.  Set up font lock.
17211         (occur-revert-function): Simply apply `occur-1'.
17212         (occur-mode-find-occurence, occur-mode-mouse-goto)
17213         (occur-mode-goto-occurrence-other-window)
17214         (occur-mode-display-occurrence): Handle buffer property.
17215         (list-matching-lines-face): Use defcustom.
17216         (list-matching-lines-buffer-name-face): New variable.
17217         (occur-accumulate-lines): Renamed from `ibuffer-accumulate-lines',
17218         in ibuffer.el.
17219         (occur-read-primary-args): Move out of `occur'.
17220         (occur): Delete.  Now simply call `occur-1'.
17221         (multi-occur, multi-occur-by-filename-regexp): New functions.
17222         (occur-1): New function.
17223         (occur-engine): Renamed from `ibuffer-occur-engine' to replace the
17224         previous implementation of `occur'; taken from ibuf-ext.el.
17225         (occur-fontify-on-property): New function.
17226         (occur-fontify-region-function, occur-unfontify-region-function):
17227         New functions.
17229         * ibuffer.el (ibuffer-accumulate-lines): Moved to replace.el.
17231         * ibuf-ext.el (ibuffer-depropertize-string): Delete.
17232         (ibuffer-occur-match-face): Delete.
17233         (ibuffer-occur-props, ibuffer-occur-mode): Delete.
17234         (ibuffer-occur-mouse-display-occurence): Delete.
17235         (ibuffer-occur-goto-occurence, ibuffer-occur-display-occurence)
17236         (ibuffer-do-occur-1, ibuffer-occur-revert-buffer-function): Delete.
17237         (ibuffer-occur-engine): Moved to replace.el.
17238         (ibuffer-do-occur): Simply call `occur-1'.
17240         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17241         Handle the case where we're already viewing the score file.
17243 2002-04-23  Andreas Schwab  <schwab@suse.de>
17245         * menu-bar.el (menu-bar-goto-menu): Fix bindings for next-tag and
17246         next-tag-otherw.
17248 2002-04-23  Miles Bader  <miles@gnu.org>
17250         * menu-bar.el (menu-bar-update-buffers-1): Don't display a
17251         directory separator if there's no directory.  Don't display
17252         directories at all if uniquify is active.  Some code cleanup.
17253         (uniquify-buffer-name-style): Declare (but don't initialize).
17255         * menu-bar.el (menu-bar-update-buffers): Don't use constant lists
17256         for command menu entries, since the low-level menu code modifies
17257         them.  Cache the resulting list.
17258         (menu-bar-buffers-menu-command-entries): New variable.
17260         * menu-bar.el (menu-bar-update-buffers): Add `Select Named Buffer'.
17261         Add separator line before commands
17262         Remove old crufty code that tried to line things up by adding
17263         spaces to entries (it doesn't work).
17264         Move `Frames' submenu after the normal buffers, and add a
17265         separator line before it.
17266         (menu-bar-buffers-menu-list-buffers-entry): Variable removed.
17268 2002-04-22  Richard M. Stallman  <rms@gnu.org>
17270         * files.el (after-find-file): Use %s to output MSG.
17272         * dired.el (dired-mouse-find-file-other-window):
17273         Handle events that move out of the window.
17275 2002-04-23  Martin Stjernholm  <bug-cc-mode@gnu.org>
17277         * progmodes/cc-cmds.el (c-mask-comment): Fixed bug where point
17278         was moved to the following line when it was at the first line
17279         of a block comment where comment-start-skip matched to eol.
17281 2002-04-22  Richard M. Stallman  <rms@gnu.org>
17283         * simple.el (line-move-finish): Find beg and end of line
17284         before calling line-move-to-column.  Do consider intangible
17285         when finding the end.  Take more care in analyzing the results
17286         of intangibility after line-move-to-column.
17288 2002-04-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
17290         * international/mule-diag.el (list-input-methods-1): Doc fix
17291         (LEIM is now part of the standard distribution).
17293         * tmm.el (tmm-completion-prompt): Doc fix.
17295         * hilit-chg.el (global-highlight-changes): Capitalize status texts.
17297 2002-04-22  Edward M. Reingold  <reingold@emr.cs.iit.edu>
17299         * diary-lib.el (include-other-diary-files): Allow modifying
17300         included buffer, to turn off selective display.
17302 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17304         * progmodes/cc-mode.el: (c-define-abbrev-table): New function to
17305         pass the SYSTEM-FLAG to `define-abbrev' in a way that works in
17306         emacsen that doesn't support it.
17308 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17310         * progmodes/cc-align.el, progmodes/cc-engine.el,
17311         progmodes/cc-styles.el, progmodes/cc-vars.el
17312         (c-guess-basic-syntax, c-lineup-topmost-intro-cont):
17313         Find correct anchor for statement-cont in top level constructs.
17314         Analyze variable initializations in top level constructs as
17315         topmost-intro-cont instead of statement-cont.  That is an
17316         incompatible change but it gives better consistency.  The new
17317         lineup function c-lineup-topmost-intro-cont' compensates for
17318         it and is now put on topmost-intro-cont by default.
17320         * progmodes/cc-align.el, progmodes/cc-engine.el,
17321         progmodes/cc-langs.el (c-lineup-argcont): Lineup function
17322         contributed by Kevin Ryde.
17324         (c-in-gcc-asm-p): Function to recognize asm statements.
17325         Contributed by Kevin Ryde.
17327         (c-opt-asm-stmt-key): New language variable to recognize the
17328         beginning of asm statements.
17330 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17332         * progmodes/cc-engine.el (c-guess-basic-syntax):
17333         Detect variable declarations after class and struct declarations
17334         correctly.  Fixed limit error when finding the anchor for
17335         template-args-cont and topmost-intro-cont.
17337 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17339         * progmodes/cc-cmds.el (c-beginning-of-defun)
17340         (c-declaration-limits): Find the "line oriented" declaration
17341         start too, just like the "line oriented" end is found.
17343 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17345         * progmodes/cc-vars.el (c-offsets-alist): A more sane default
17346         for `inexpr-statement'.  This is not compatible, though.
17347         I think the benefit of a good default style outweights that in
17348         this case.  Besides, `inexpr-statement' is not very common.
17350 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17352         * progmodes/cc-cmds.el (c-electric-delete-forward):
17353         Fix silly bug that caused it to delete backwards in hungry delete
17354         mode.  (It's amazing that this bug hasn't been reported.)
17356         * progmodes/cc-cmds.el (c-declaration-limits, c-mark-function):
17357         Extracted the code to get the declaration limits from
17358         `c-mark-function' to a new `c-declaration-limits'.
17360         (c-indent-defun): Use the same method to get the limits of the
17361         declaration or macro as `c-mark-function'.
17363         * progmodes/cc-engine.el (c-beginning-of-decl-1): Handle brace
17364         list initializers correctly (but costly; it ought to be
17365         integrated into `c-beginning-of-statement-1').
17367 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17369         * progmodes/cc-cmds.el, progmodes/cc-engine.el
17370         (c-beginning-of-defun, c-end-of-defun, c-mark-function):
17371         Rewritten to detect the declaration limits better.
17372         Now handles K&R argdecls, class definitions followed by variables etc.
17374         (c-in-knr-argdecl): Broke out the K&R argdecl test in
17375         `c-beginning-of-decl-1' to this new function.
17377         (c-end-of-statement-1, c-end-of-decl-1):
17378         Replace `c-end-of-statement-1' with `c-end-of-decl-1', which correctly
17379         handles declarations that continue after the block.
17381         * progmodes/cc-engine.el (c-syntactic-re-search-forward):
17382         Added an option to restrict matching to the top level of the
17383         current paren sexp.
17385         * progmodes/cc-langs.el (c-opt-block-decls-with-vars-key):
17386         New regexp to recognize declarations that continue after the block.
17388         (c-syntactic-eol): New regexp to match a "syntactic" eol.
17390 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17392         * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
17393         that often caused the backward limit to be lost at the top
17394         level.  This improves performance a bit.
17396         * progmodes/cc-engine.el (c-syntactic-re-search-forward):
17397         New function that works like `re-search-forward' but only returns
17398         matches in syntactically significant text.
17400         * progmodes/cc-engine.el: Fixed a faster and more accurate way
17401         to recognize K&R argdecls.
17403         (c-beginning-of-decl-1): New function that put point at the
17404         beginning of the declaration.  It handles K&R argdecl blocks.
17406         (c-guess-basic-syntax): Replaced the `knr-argdecl' recognition
17407         code with one that doesn't depend on the current indentation.
17408         The anchor position for `knr-argdecl' has also changed, but in
17409         a way that is unlikely to cause compatibility problems.
17411 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17413         * progmodes/cc-defs.el, progmodes/cc-engine.el
17414         (c-forward-comment): `forward-comment' in XEmacs skips over
17415         line continuations in the backward direction.  Correct for
17416         that.  Also made this a defun since it has grown too large now
17417         to be a defsubst.
17419         * progmodes/cc-langs.el: More convenient and decentralized
17420         setup of the language specific variables.  The regexp-opt
17421         mangling is also done at compile time now.
17423 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17425         * progmodes/cc-cmds.el (c-indent-line-or-region):
17426         Call `c-indent-line' directly instead of through
17427         `indent-according-to-mode' so that this function always
17428         indents syntactically.
17430         * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed a bug
17431         where a class beginning with a nested class could cause an
17432         infinite loop (the state outside the narrowed out class is
17433         never used now).
17435 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17437         * progmodes/cc-align.el, progmodes/cc-cmds.el,
17438         progmodes/cc-engine.el, progmodes/cc-vars.el: Fixes so that
17439         the context sensitive analysis inside macros is restricted to
17440         the bodies of #define's; other things, like #if expressions,
17441         never have anything in common with their surroundings.
17442         The old `cpp-macro-cont' syntax is now used in situations where
17443         the syntactic analysis isn't applicable, and a new syntactic
17444         element `cpp-define-intro' is used to add indentation in
17445         #define bodies.
17447         (c-lineup-cpp-define): New name for `c-lineup-macro-cont' to
17448         better reflect its use.
17450         * progmodes/cc-engine.el (c-guess-basic-syntax): Ignore line
17451         continuation backslashes in the detection of `arglist-cont-nonempty'.
17453         * progmodes/cc-align.el: Use the vector form in the return
17454         value in all cases where lineup functions return absolute columns.
17456 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17458         * progmodes/cc-engine.el (c-add-stmt-syntax)
17459         (c-guess-basic-syntax): Anchor `brace-list-intro' and
17460         `bracec-list-close' better for brace lists nested inside expressions.
17462         * progmodes/cc-engine.el, progmodes/cc-langs.el,
17463         progmodes/cc-mode.el, progmodes/cc-styles.el: Cleaned up the
17464         various language specific variables and their initialization.
17465         The keyword regexps are now lists that are combined with
17466         regexp-opt.  Some variables have changed names to fit better
17467         with the naming convention.
17469         * progmodes/cc-defs.el, progmodes/cc-vars.el
17470         (c-buffer-is-cc-mode): The value is the mode symbol of the
17471         original CC Mode mode.
17473         (c-major-mode-is): Compare against the buffer local variable
17474         `c-buffer-is-cc-mode', which is faster than using `derived-mode-class'.
17476 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17478         * progmodes/cc-engine.el (c-forward-syntactic-ws)
17479         (c-backward-syntactic-ws, c-forward-token-1)
17480         (c-backward-token-1, c-in-literal, c-literal-limits)
17481         (c-collect-line-comments, c-literal-type, c-on-identifier)
17482         (c-guess-basic-syntax): These functions are now considered part
17483         of the "CC Mode API" and may be used by other code.
17484         That's signified by making their documentation into docstrings.
17486         (c-whack-state, c-hack-state, c-skip-case-statement-forward):
17487         Removed these internal functions since they aren't used.
17489         (c-forward-to-cpp-expression): Classified this function as internal.
17491 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17493         * progmodes/cc-langs.el (c-ObjC-class-key, c-Java-class-key):
17494         Simplified these regexps; the class keywords they contain
17495         ought to be enough to avoid false matches, so checking for
17496         following identifiers etc is just unnecessary (and might also
17497         fail for oddly formatted code).
17499 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17501         * progmodes/cc-engine.el, progmodes/cc-cmds.el
17502         (c-forward-comment-lc): New function that behaves like
17503         `c-forward-comment', with the exception that line
17504         continuations are treated as whitespace.
17506         (c-beginning-of-statement): Use `c-forward-comment-lc', to
17507         work correctly in macros and other places where line
17508         continuations should be treated as whitespace.
17510         * progmodes/cc-engine.el (c-guess-basic-syntax): Analyze a
17511         normal label in a switch block as a case label, to get
17512         consistent lineup with the case labels.
17514         * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
17515         in skipping over a macro that ends with an empty line.
17517         * progmodes/cc-styles.el: Require cc-align since styles added
17518         with `c-add-style' often contains references to functions
17519         defined there, and so the `c-valid-offset' check might
17520         otherwise complain on them.
17522 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17524         * progmodes/cc-align.el, progmodes/cc-mode.texi,
17525         progmodes/cc-vars.el: Added two new lineup functions:
17527         (c-lineup-knr-region-comment): A new lineup function to get
17528         (what most people think is) better indentation of comments in
17529         the "K&R region" between the function header and its body.
17531         (c-lineup-gcc-asm-reg): New lineup function for better
17532         indentation inside gcc asm blocks.  Contributed by Kevin Ryde.
17534         (c-offsets-alist): Use `c-lineup-gcc-asm-reg' and
17535         `c-lineup-knr-region-comment' in the default offset
17536         configuration, since these two functions have little impact
17537         outside their intended use, and they generally do the right
17538         thing when they kick in.
17540         * progmodes/cc-engine.el (c-guess-continued-construct)
17541         (c-guess-basic-syntax): Handle nested functions in all
17542         languages, not just Pike.  In C and C++ there's a gcc
17543         extension for this, and it also gives better treatment of
17544         macros that are followed by blocks.
17546         * progmodes/cc-langs.el (c-symbol-key): Made this variable
17547         mode specific, to handle Pike special symbols like `== better.
17549 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17551         * progmodes/cc-cmds.el, progmodes/cc-engine.el,
17552         progmodes/cc-vars.el (c-report-syntactic-errors): A new
17553         variable to control the syntactic error messages.  It defaults
17554         to off; since CC Mode ignores most syntactic errors it might
17555         as well ignore them all for the sake of consistency.
17557 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17559         * progmodes/cc-engine.el (c-looking-at-inexpr-block):
17560         Optimization.  Can give a noticeable speedup if there's a
17561         large preceding function or class body.
17563 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17565         * progmodes/cc-align.el, progmodes/cc-cmds.el: Use more
17566         efficient and correct insertion functions in many places.
17567         Always inherit text properties correctly if the text is
17568         permanent.  Also do it for speed in temporary insertions,
17569         since I figure it's less work to continue the surrounding text
17570         properties than to break them.
17572         * progmodes/cc-styles.el (c-read-offset): Unbind SPC in the
17573         completion to make it easier to enter lists.
17575 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17577         * progmodes/cc-cmds.el (c-beginning-of-defun): Fixed bug where
17578         c-state-cache was clobbered.
17580         * progmodes/cc-cmds.el, progmodes/cc-engine.el
17581         (c-calculate-state): Moved from cc-cmds.el to cc-engine.el due
17582         to dependency.
17584 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17586         * progmodes/cc-engine.el (c-parse-state): Ignore unbalanced
17587         open parens in macros (if point isn't in the same one).
17589 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17591         * progmodes/cc-cmds.el (c-context-open-line): New function
17592         that is the `open-line' equivalent to `c-context-line-break'.
17594         * progmodes/cc-mode.el (c-mode-base-map): Compatibility fix
17595         for Emacs 21 since `indent-new-comment-line' has been changed
17596         to `comment-indent-new-line' there.
17598 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17600         * progmodes/cc-engine.el, progmodes/cc-langs.el
17601         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma):
17602         New variables containing the character sets used to recognize
17603         statement/declaration boundaries.  These variables might help
17604         to support languages like javascript and awk, where newlines
17605         sometimes delimits statements.
17607         (c-crosses-statement-barrier-p): Use `c-stmt-delim-chars' as
17608         the set of statement delimiting characters, to allow it to be
17609         changed dynamically and per-mode.
17611 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17613         * progmodes/cc-engine.el (c-looking-at-bos)
17614         (c-looking-at-inexpr-block, c-add-stmt-syntax)
17615         (c-guess-basic-syntax): Treat blocks directly inside function
17616         calls like "bare" statements inside function calls, and not
17617         like in-expression statements.  This to make indentation of
17618         such blocks consistent with other statements inside macro calls.
17620         * progmodes/cc-engine.el (c-guess-basic-syntax):
17621         Made arglist-cont anchor correctly in arglists that contain statements.
17623         * progmodes/cc-engine.el (c-guess-basic-syntax):
17624         Fixed consistent anchoring of defun-block-intro in defuns in code
17625         blocks (can only occur in Pike).
17627         * progmodes/cc-engine.el (c-looking-at-inexpr-block)
17628         (c-looking-at-inexpr-block-backward): Changed the arguments to
17629         require containing sexps and paren state, for better efficiency.
17631 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17633         * progmodes/cc-cmds.el, progmodes/cc-engine.el,
17634         progmodes/cc-vars.el: Improved anchoring of statement and
17635         handling of labels in front of substatements.
17637         (c-guess-continued-construct, c-guess-basic-syntax):
17638         Improved and unified anchoring at statements.  Statements beginning
17639         with comments or labels are now avoided, by going out of
17640         blocks and containing statements if necessary.  This nesting
17641         handling also fixes the case when there's a statement after a
17642         block open brace.  Added the syntactic symbol `substatement-label'.
17644         (c-electric-colon): Map the new `substatement-label' to
17645         `label' when consulting `c-hanging-colons-alist'.
17647         (c-offsets-alist): Added substatement-label.  Updated the
17648         comments for the new anchoring positions at statements.
17650         * progmodes/cc-engine.el (c-guess-basic-syntax): Use more sane
17651         anchor points for knr-argdecl-intro and access-label.
17652         They used to refer to some point on the same line, a bug which was
17653         neutralized by a kludge in `c-get-syntactic-indentation' which
17654         ignored such anchor points.
17656         (c-get-syntactic-indentation): Removed the kludge that was
17657         necessary due to buggy anchor points.
17659         * progmodes/cc-engine.el (c-guess-basic-syntax): Do not check
17660         the absence of a comma before arglist-close (case 7A) in any
17661         language, since there's nothing better to do that case anyway.
17662         Added special case to make in-expression statements be
17663         recognized as normal arglist-cont if we're directly in a macro
17664         arglist, for consistency with other "bare" statements.
17666         * progmodes/cc-engine.el (c-looking-at-bos): Added optional
17667         limit arg for backward searches.
17669         * progmodes/cc-engine.el (c-looking-at-inexpr-block):
17670         Anchor gcc in-expression statements at the surrounding open
17671         parenthesis.  Treat a class body as an in-expression class if
17672         it's used in an object clone expression in Pike.
17674         * progmodes/cc-engine.el (c-get-offset)
17675         (c-get-syntactic-indentation): Allow several anchor positions
17676         in the list of syntactic symbols.  Only the first is used as
17677         the base for the offset calculation.
17679 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17681         * progmodes/cc-cmds.el (c-indent-defun): Indent the current
17682         macro if inside one at the top level.  Do not throw an error
17683         if used at the top level outside a macro.
17685         * progmodes/cc-cmds.el (c-backslash-region): Do tab width
17686         alignment only if the backslashes can't be aligned with
17687         surrounding backslashes.
17689         * progmodes/cc-engine.el (c-end-of-macro): New function.
17691         * progmodes/cc-engine.el (c-least-enclosing-brace):
17692         Rewritten to not be destructive.
17694 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17696         * progmodes/cc-cmds.el (c-context-line-break): Only do a macro
17697         line break when point is inside the content of it; if it's in
17698         the cpp keyword a normal line break is done.
17700         * progmodes/cc-engine.el (c-guess-basic-syntax): Do not add
17701         cpp-macro-cont inside the argument list to a #define.
17703 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17705         * progmodes/cc-defs.el (c-forward-comment): Implemented a
17706         kludge to avoid the problem most forward-comment incarnations
17707         have with `\' together with comment parsing.
17709 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17711         * progmodes/cc-engine.el (c-check-state-cache): Fixed bug
17712         which could cause the state returned by `c-parse-state' to
17713         lack a closed paren element.  That in turn could result in
17714         very long searches, since it's common that they start from the
17715         last preceding close brace.
17717 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17719         * progmodes/cc-engine.el (c-beginning-of-statement-1): Do not
17720         treat else-if as a single continuation, since that'd make it
17721         hard to get the right anchor point when there's a line break
17722         between the two keywords.  This change causes else-clause to
17723         be anchored on the closest preceding else-if and not always on
17724         the starting if, but that doesn't affect the indentation for
17725         any reasonably sane style.  Also introduced a noerror flag.
17727         (c-beginning-of-closest-statement): Removed;
17728         c-beginning-of-statement-1 now avoids the problem this one solved.
17730         * progmodes/cc-engine.el (c-guess-continued-construct)
17731         (c-guess-basic-syntax): Better and more uniform anchor points
17732         for 'statement-cont and 'substatement.  The effect is
17733         noticeable mostly when there's a label on the same line as the
17734         beginning of the statement, or when there are more stuff
17735         before the start of the statement.
17737         * progmodes/cc-engine.el (c-looking-at-inexpr-block):
17738         Added flag to disable looking at the type of the surrounding paren
17739         since that confuses c-beginning-of-statement-1 and a couple of
17740         other places.
17742         * progmodes/cc-engine.el (c-guess-basic-syntax):
17743         Avoid stepping to the previous statement in case 18.
17744         Improvements in recognition of statement blocks on the top level.
17746 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17748         * progmodes/cc-engine.el (c-beginning-of-statement-1)
17749         (c-crosses-statement-barrier-p): Rewritten to get a well
17750         defined and documented behavior.  This fixes some tricky cases
17751         in recognition of do-while constructs.
17753         (c-backward-to-start-of-do, c-backward-to-start-of-if):
17754         Removed; use c-beginning-of-statement-1 instead.
17756         (c-guess-continued-construct, c-guess-basic-syntax):
17757         Various fixes to not depend on the bugs previously in
17758         c-beginning-of-statement-1.  Cleanups in cases 18 and 17 to
17759         use the new behavior of c-beginning-of-statement-1 better.
17760         Fixed recognition of catch blocks inside macros.
17762         * progmodes/cc-engine.el (c-backward-syntactic-ws): Fixed bug
17763         in skipping over a macro.
17765         * progmodes/cc-langs.el (c-label-kwds): New variable to
17766         contain the appropriate c-*-label-kwds value.
17768         * progmodes/cc-vars.el (defcustom-c-stylevar): Fixed value
17769         evaluation bug that caused the widget for
17770         c-block-comment-prefix to bug out.
17772 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17774         * progmodes/cc-engine.el (c-guess-basic-syntax):
17775         Improved recognition of statements: They are now recognized in
17776         contexts where they normally can't occur, e.g. on the top level or
17777         in function call arguments.  This is mainly useful to recognize
17778         statements in macros at the top level, and in arguments to
17779         macros.  The cases has been moved around quite a bit, and case
17780         10 has been copied to case 18.  (The cases has not been
17781         renumbered because of this.)
17783         (c-guess-continued-construct): New function which has the
17784         rules which are common between cases 10 and 18.
17786         * progmodes/cc-engine.el (c-beginning-of-statement-1)
17787         (c-backward-to-start-of-do, c-backward-to-start-of-if):
17788         Fixes so that they really obey the passed limits.
17790         (c-safe-position): Return nil if the state doesn't contain a
17791         suitable position.
17793         (c-guess-basic-syntax): Fixes some too short limits in calls
17794         to c-beginning-of-statement-1.  Some fixes for top level
17795         analysis in ObjC mode.
17797         * progmodes/cc-engine.el (c-beginning-of-statement-1):
17798         Fixed bug in do-while statements where the body is not a block.
17800         * progmodes/cc-styles.el (c-set-style):
17801         Reset c-special-indent-hook to its global value if in override mode.
17802         Fixes problem where functions on that hook remained after
17803         style switch.
17805         * progmodes/cc-engine.el (c-evaluate-offset, c-get-offset):
17806         Use c-benign-error to report the c-strict-syntax-p error.
17808 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17810         * progmodes/cc-align.el, progmodes/cc-defs.el,
17811         progmodes/cc-cmds.el, progmodes/cc-engine.el, cc-vars.el:
17812         Several fixes to treat macros as code and not literals and to
17813         handle line continuations transparently.
17815         (c-skip-ws-forward, c-skip-ws-backward): New macros to skip
17816         through whitespace and line continuations, but not comments
17817         and macros.
17819         (c-in-literal): No longer recognizes macros as literals by
17820         default. An extra flag argument is required to do that.
17822         (c-macro-start, c-query-macro-start)
17823         (c-query-and-set-macro-start): Added a cache for the macro
17824         start position.
17826         (c-forward-syntactic-ws, c-backward-syntactic-ws): Fixes for
17827         more speed when limits are given.  Workaround for bad behavior
17828         in forward-comment in some emacsen when it hits a buffer limit
17829         with a large repeat count.
17831         (c-lineup-macro-cont): Improved behavior when
17832         c-syntactic-indentation-in-macros is nil.
17834         (c-syntactic-indentation-in-macros, c-backslash-max-column)
17835         (c-auto-align-backslashes): New customization variables to
17836         control macro handling.
17838         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
17839         Fixes to handle line continuations.
17841         * progmodes/cc-defs.el, progmodes/cc-styles.el
17842         (c-get-style-variables, c-set-offset): Report style errors
17843         with message and ding instead of error signal.  This to avoid
17844         interrupted mode init if there's some style problem.
17846         (c-benign-error): New macro to report errors that doesn't need
17847         to interrupt the operation.
17849         * progmodes/cc-defs.el (c-point): Added eonl and eopl positions.
17851 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17853         * progmodes/cc-cmds.el (c-electric-brace, c-indent-region):
17854         Removed most of the c-state-cache fiddling, since the global
17855         state cache now handles this.
17857         * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
17858         when there's an open paren at the very first char of the
17859         visible buffer region.
17861         * progmodes/cc-engine.el (c-parse-state, c-check-state-cache):
17862         Cache the state globally and invalidate it below every buffer
17863         change with the new after change function
17864         `c-check-state-cache'.  This gives a considerable performance
17865         boost when editing large functions or classes.
17867         * progmodes/cc-engine.el (c-whack-state-after): Slight optimization.
17869 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17871         * progmodes/cc-engine.el, progmodes/cc-langs.el,
17872         progmodes/cc-align.el: Improvements to syntactic analysis
17873         inside macros:
17875         (c-block-stmt-1-kwds, c-block-stmt-2-kwds): New variables used
17876         by `c-guess-basic-syntax'.
17878         (c-parse-state): Fixed bug with braces inside macros when
17879         using cached state info.
17881         (c-forward-to-cpp-expression): New function to aid in
17882         syntactic analysis inside macros.
17884         (c-beginning-of-statement-1, c-backward-syntactic-ws):
17885         Fixes to work better inside macros.
17887         (c-forward-syntactic-ws): Whitespace between the # and the
17888         command should be allowed in preprocessor directives.
17890         (c-lineup-macro-cont): New lineup function to get context
17891         sensitive indentation inside macros.
17893         (c-offsets-alist): Made `c-lineup-macro-cont' the default for
17894         cpp-macro-cont.
17896 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17898         * progmodes/cc-engine.el (c-beginning-of-statement-1)
17899         (c-forward-syntactic-ws): Fixes to handle continued lines.
17901         (c-backward-to-start-of-if, c-guess-basic-syntax):
17902         Do syntactic analysis inside macros.
17904 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17906         * progmodes/cc-cmds.el (c-indent-region): Did a speedup made
17907         possible by the more flexible state cache.
17909         * progmodes/cc-engine.el (c-parse-state, c-whack-state-before)
17910         (c-whack-state-after, c-hack-state)
17911         (c-narrow-out-enclosing-class, c-guess-basic-syntax):
17912         Improved the state cache system.  It now can use partial info from
17913         an old cached state to calculate a new one at a different
17914         position.  Removed some kludges to avoid the state cache.
17915         The new functions `c-whack-state-before' and `c-whack-state-after'
17916         replace the now obsolete `c-whack-state'.
17918         * progmodes/cc-engine.el (c-beginning-of-statement-1):
17919         Optimized backing through a macro.  This can speed things up
17920         quite a bit when there are long macros before point.
17922         (c-beginning-of-macro): Do not ignore the limit.
17924 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17926         * progmodes/cc-cmds.el (c-electric-continued-statement):
17927         Fixed a bug where the keyword wasn't reindented correctly if
17928         followed by another keyword or identifier.
17930         * progmodes/cc-engine.el (c-parse-state): Ignore closed brace
17931         pairs that are in macros.  Fixes some cases where e.g. the
17932         second of two "do { } while (0)" macros after each other
17933         indented differently.
17935 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17937         * progmodes/cc-engine.el (c-beginning-of-macro)
17938         (c-forward-syntactic-ws): Recognize "#!" as a preprocessor
17939         directive when it begins a line, to allow for script
17940         interpreter lines like "#!/usr/bin/pike" at the beginning of
17941         the file.
17943 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17945         * progmodes/cc-engine.el (c-looking-at-inexpr-block):
17946         Recognize brace blocks inside a parenthesis expression as
17947         inexpr-statement.  Useful when writing statements as macro arguments.
17949 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17951         * progmodes/cc-cmds.el (c-fill-paragraph, c-do-auto-fill)
17952         (c-mask-comment): Broke out the comment masking code from
17953         `c-fill-paragraph' to a new function `c-mask-comment', to be
17954         able to do the same thing in `c-do-auto-fill'.  This should
17955         make auto-fill-mode behave better.
17957 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17959         * progmodes/cc-cmds.el (c-electric-brace, c-electric-paren):
17960         Check `executing-macro' to avoid blinking parens when macros
17961         are executed.
17963         * progmodes/cc-mode.el, progmodes/cc-styles.el
17964         (c-setup-filladapt): Moved from cc-mode.el to cc-styles.el for
17965         consistency with `c-setup-paragraph-variables' (which was
17966         placed there due to the dependency from `c-set-style').
17968         * progmodes/cc-styles.el, progmodes/cc-vars.el: Fixed bug with
17969         incomplete initialization from the style variable fallbacks if
17970         there already is a style called "user" defined when CC Mode
17971         starts up for the first time.
17973 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17975         * progmodes/cc-cmds.el, progmodes/cc-vars.el
17976         (c-comment-indent, c-indent-comment-alist): Added new variable
17977         `c-indent-comment-alist' to allow better control over
17978         `c-comment-indent'.
17980 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17982         * progmodes/cc-align.el (c-lineup-C-comments): Try to match
17983         both `comment-start-skip' and the comment prefix on the
17984         current line with the comment starter, so that we line up
17985         comments which matches `c-comment-prefix-regexp' on the first
17986         line (after the `/') without the need to make
17987         `comment-start-skip' match whatever `c-comment-prefix-regexp' matches.
17989         * progmodes/cc-mode.el, progmodes/cc-styles.el (c-common-init)
17990         (c-set-style-1, c-setup-paragraph-variables): Moved the
17991         variable initialization based on `c-comment-prefix-regexp' to
17992         a new function `c-setup-paragraph-variables', which is now
17993         used both at mode init and when a style that sets
17994         `c-comment-prefix-regexp' is activated.
17996 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
17998         * progmodes/cc-engine.el (c-beginning-of-member-init-list):
17999         Better handling of C++ template args to avoid confusion with
18000         `<' and `>' used as operators in member init expressions.
18002 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18004         * progmodes/cc-engine.el (c-most-enclosing-brace)
18005         (c-least-enclosing-brace): Added optional second arg to limit
18006         the search to before a certain point.
18008         * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug
18009         which could cause incorrect analysis if a cached state is used
18010         (usually only happens when an electric key reindents a line).
18012 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18014         * progmodes/cc-defs.el (c-forward-comment): More idiosyncrasy
18015         insulation.  This time for XEmacs 21.
18017         * progmodes/cc-engine.el, progmodes/cc-langs.el:
18018         Improved handling of inheritance lists:
18020         (c-beginning-of-inheritance-list): Rewritten to use a more
18021         syntactically correct method that doesn't get confused by
18022         badly placed linebreaks and comments.
18024         (c-guess-basic-syntax): Several fixes to the handling of
18025         inheritance lists in combination with templates.  'inher-intro
18026         is now anchored on the start of the class declaration and not
18027         the indentation of the current line.  Switched places on cases
18028         5D.3 and 5D.4 and made them use more syntactically correct methods.
18030         (c-inher-key): Removed since the code in
18031         `c-guess-basic-syntax' now uses token-based search.
18033         * progmodes/cc-cmds.el, progmodes/cc-mode.el (c-mode-menu):
18034         Added a submenu to access some toggles.
18036         (c-toggle-syntactic-indentation): New function to toggle the
18037         variable `c-syntactic-indentation'.
18039         * progmodes/cc-styles.el (c-set-style): Improved the error
18040         message for incorrect offsets a bit.
18042 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18044         * progmodes/cc-cmds.el (c-indent-exp): Don't require that the
18045         sexp follows point immediately, instead find the closest
18046         following open paren that ends on another line.
18048 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18050         * progmodes/cc-align.el (c-lineup-cascaded-calls):
18051         New indentation function.
18053         * progmodes/cc-engine.el (c-beginning-of-macro): Bugfix for
18054         directives with whitespace between the '#' and the name.
18056 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18058         * progmodes/cc-engine.el (c-forward-syntactic-ws)
18059         (c-backward-syntactic-ws): Handle line continuations as
18060         whitespace.  Don't move past a macro if that'd take us past
18061         the limit.
18063 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18065         * progmodes/cc-engine.el (c-beginning-of-macro)
18066         (c-forward-syntactic-ws): Multiline strings begin with `#"' in
18067         Pike, and that shouldn't be confused with a preprocessor directive.
18069 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18071         * progmodes/cc-cmds.el: Extended the kludge to interoperate
18072         with the delsel and pending-del packages wrt to the new
18073         function `c-electric-delete-forward'.
18075 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18077         * progmodes/cc-cmds.el (c-indent-exp): Keep the indentation of
18078         the block itself, i.e. only indent the contents in it.
18080         * progmodes/cc-styles.el (c-set-style): Use the default
18081         argument to completing-read instead of initial-contents, if
18082         the function is recent enough to support it.
18084 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18086         * progmodes/cc-mode.el (c-mode-help-address):
18087         Removed bug-gnu-emacs@gnu.org from the receiver list for bug reports.
18088         I've almost never seen a bug reported this way that should go
18089         to that list, but it's rather common that the reports concern
18090         the combination CC Mode and XEmacs instead.
18092 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18094         * progmodes/cc-cmds.el (c-electric-paren): Fixed bug when both
18095         brace-elseif-brace and brace-catch-brace are active and
18096         there's a "else if"-block before the catch block.
18098         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
18099         Detect function headers that span lines.
18101 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18103         * progmodes/cc-cmds.el (c-electric-brace)
18104         (c-electric-semi&comma, c-electric-colon, c-electric-paren):
18105         Check for last on line only for doing the auto-newline-mode
18106         stuff, not for the reindentation.
18108         * progmodes/cc-cmds.el (c-electric-brace): Fixed bugs in the
18109         handling of c-syntactic-indentation: When it's nil, indent the
18110         new lines but don't reindent the current one.  Reindent the
18111         line only when the inserted brace comes first on it, instead
18112         of last.
18114         * progmodes/cc-cmds.el (c-electric-brace)
18115         (c-electric-semi&comma): Fixed two places where
18116         c-syntactic-indentation wasn't heeded.
18118         * progmodes/cc-cmds.el (c-electric-pound): Don't be electric
18119         inside a macro.
18121         * progmodes/cc-engine.el (c-backward-to-start-of-if): Try a
18122         little harder to find a fallback position when an orphan else
18123         is found.  Fixed case where an else following a do-while
18124         statement could be associated with an if inside the do-while.
18126 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18128         * progmodes/cc-cmds.el (c-guess-fill-prefix): Tuned the dwim
18129         for the fallback to add a single space after the comment prefix.
18131         * progmodes/cc-cmds.el (c-indent-new-comment-line): Somewhat better
18132         behavior in some special cases, especially for single-line comments.
18133         Avoid breaking up a comment starter or ender.
18135 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18137         * progmodes/cc-cmds.el (c-outline-level): Applied patch from
18138         the Emacs sources to make this work in invisible text.
18140         * progmodes/cc-langs.el (c-switch-label-key): Fixed regexp to
18141         not be confused by a later ':' on the same line as the label.
18143 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18145         * progmodes/cc-cmds.el, progmodes/cc-mode.el
18146         (c-electric-delete, c-electric-delete-forward):
18147         Split `c-electric-delete' into two functions where
18148         `c-electric-delete-forward' always deletes forward and
18149         `c-electric-delete' only contains the code necessary for
18150         XEmacs to choose between backward and forward deletion.
18151         `c-electric-delete-forward' is now bound to C-d to get the
18152         electric behavior on that key too.
18154 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18156         * progmodes/cc-cmds.el (c-fill-paragraph): Fixed bogus direct
18157         use of c-comment-prefix-regexp, which caused an error when
18158         it's a list.
18160 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18162         * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init)
18163         (c-default-style): Removed the hardcoded switch to "java" style
18164         in Java mode.  It's instead taken care of by the default value
18165         for c-default-style.
18167 2002-04-22  Martin Stjernholm  <bug-cc-mode@gnu.org>
18169         * progmodes/cc-align.el (c-lineup-math): Fix bug where lineup
18170         was triggered by equal signs in string literals.
18172 2002-04-21  Kim F. Storm  <storm@cua.dk>
18174         * subr.el (insert-buffer-substring-no-properties): New function.
18175         (insert-buffer-substring-as-yank): New function.
18177 2002-04-21  Glenn Morris  <gmorris@ast.cam.ac.uk>
18179         * scroll-all.el (minor-mode-alist): Fix usage of `scroll-all-mode'.
18180         (scroll-all-page-down-all, scroll-all-page-up-all) Remove `fkey-'
18181         prefix from scroll commands.  Ignore end-of-buffer errors from
18182         other windows.
18183         (scroll-all-check-to-scroll): Remove `fkey-' prefix from scroll
18184         commands.
18185         (scroll-all-beginning-of-buffer-all, scroll-all-end-of-buffer-all):
18186         New functions.
18188         * files.el: (auto-mode-alist): .f95 files in f90-mode.
18190         * progmodes/fortran.el: (fortran-beginning-do): Make regexp match
18191         a DO statement irrespective of numeric label.
18193 2002-04-20  Glenn Morris  <gmorris@ast.cam.ac.uk>
18195         * files.el (auto-save-file-name-transforms): Doc fix.
18196         Add third element to "uniquify" filenames.
18197         (make-auto-save-file-name): Use new element of
18198         auto-save-file-name-transforms.
18199         * startup.el (command-line): Add third element to
18200         auto-save-file-name-transforms.
18202 2002-04-19  Stefan Monnier  <monnier@cs.yale.edu>
18204         * files.el (file-name-non-special): Don't mangle the 0'th arg and the
18205         return value of file-name-completion and file-name-all-completions.
18207 2002-04-19  Glenn Morris  <gmorris@ast.cam.ac.uk>
18209         * progmodes/f90.el: Update maintainer.
18210         (f90-line-continued): Recognize blank/comment lines embedded in
18211         continuation lines.
18212         (f90-looking-at-program-block-start): No extra indentation after
18213         function or subroutine keyword appears in single quotes.
18215 2002-04-19  Miles Bader  <miles@gnu.org>
18217         * custom.el (customize-mark-to-save, customize-mark-as-set)
18218         (custom-quote): Moved here from `cus-edit.el'.
18219         * cus-edit.el (customize-mark-to-save, customize-mark-as-set)
18220         (custom-quote): Moved to `custom.el'.
18222 2002-04-18  Richard M. Stallman  <rms@gnu.org>
18224         * facemenu.el (list-text-properties-at): Command deleted.
18226         * rect.el (insert-rectangle): Use insert-for-yank.
18228         * register.el (insert-register): Use insert-for-yank.
18229         (describe-register-1): Discard text props in yank-excluded-properties.
18231         * toolbar/tool-bar.el (tool-bar-local-item-from-menu):
18232         Fix parts in construction of `menu-item' item at end.
18234         * mail/mailabbrev.el (mail-mode-abbrev-table): Delete defvar.
18236         * subr.el (insert-for-yank): New function.
18238         * simple.el (yank-excluded-properties): New user option.
18239         (yank-pop, yank): Use insert-for-yank.
18241 2002-04-19  Kim F. Storm  <storm@cua.dk>
18243         * simple.el (pop-to-mark-command): Do not set this-command.
18244         (set-mark-command): Always jump to mark when called with arg.
18246 2002-04-18  Francesco Potort\e,Al\e(B  <pot@gnu.org>
18248         * comint.el (comint-watch-for-password-prompt): Remove whitespace
18249         at the beginning of password prompts.
18251 2002-04-18  Andrew Innes  <andrewi@gnu.org>
18253         * facemenu.el: Remove require of wid-edit.
18255 2002-04-17  Colin Walters  <walters@verbum.org>
18257         * ibuffer.el (ibuffer-visit-buffer): Optionally allow reducing to
18258         one window.
18259         (ibuffer-visit-buffer-1-window): Simply call `ibuffer-visit-buffer'.
18260         (ibuffer-current-state-list): Reinstate optional argument; now
18261         just call `point' inside the mapping function.
18263 2002-04-17  Francesco Potort\e,Al\e(B  <pot@gnu.org>
18265         * dired-aux.el (dired-star-subst-regexp)
18266         (dired-quark-subst-regexp): New constants.
18267         (dired-do-shell-command, dired-shell-stuff-it): Use them.
18268         (dired-do-shell-command): Raise an error if both `*' and `?'
18269         substitution marks are used in the same command.
18270         (dired-shell-stuff-it): Substitute all instances of `*' and `?'
18271         in a command given via dired-do-shell-command.
18273         * comint.el (comint-password-prompt-regexp): Match "Repeat passphrase".
18275 2002-04-16  Jason Rumney  <jasonr@gnu.org>
18277         * international/mule-cmds.el (locale-preferred-coding-systems):
18278         Add "jpn".
18280 2002-04-16  Eli Zaretskii  <eliz@is.elta.co.il>
18282         * term.el (term-emulate-terminal): Fix last change.
18284 2002-04-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18286         * bindings.el (mode-line-mode-menu): Update names to reflect
18287         latest changes.
18289 2002-04-16  Mike Williams  <mdub@bigfoot.com>
18291         * textmodes/sgml-mode.el (sgml-at-indentation-p): Move to fix
18292         compilation error.
18294 2002-04-16  Michael Kifer  <kifer@cs.stonybrook.edu>
18296         * viper-ex.el: Patch by Samuel Padgett. Copyright papers received.
18297         (viper-ex-print-buf-name): New variable.
18298         (viper-ex-print-buf): New variable.
18299         (ex-token-alist): Invoke ex-print on ":print" Ex commands.
18300         (ex-g-marks): New variable.
18301         (ex-print): New function.
18302         (ex-print-display-lines): New function.
18304         * viper.el (viper-set-hooks): Add window-setup-hook, which sets
18305         the cursor color.
18307         * ediff-util.el (ediff-cleanup-mess): Delete ctl window on exit
18308         when the window is not in its own frame.
18309         (ediff-clone-buffer-for-region-comparison): More robust window
18310         arrangement while prompting for regions to compare.
18311         (ediff-make-cloned-buffer): Use generate-new-buffer-name.
18312         (ediff-inferior-compare-regions): Deleted unused vars
18313         ctl-buf and quit-now.
18315 2002-04-15  Richard M. Stallman  <rms@gnu.org>
18317         * facemenu.el (facemenu-add-new-face): Use this only for faces.
18318         Delete arg MENU.
18319         (facemenu-add-new-color): New function.
18320         (facemenu-set-foreground, facemenu-set-background):
18321         Use facemenu-add-new-color.
18323 2002-04-15  Eli Zaretskii  <eliz@is.elta.co.il>
18325         * ediff-init.el (ediff-current-diff-face-A)
18326         (ediff-current-diff-face-B, ediff-current-diff-face-C)
18327         (ediff-current-diff-face-Ancestor, ediff-fine-diff-face-A)
18328         (ediff-fine-diff-face-B, ediff-fine-diff-face-C)
18329         (ediff-fine-diff-face-Ancestor, ediff-even-diff-face-A)
18330         (ediff-even-diff-face-B, ediff-even-diff-face-C)
18331         (ediff-even-diff-face-Ancestor, ediff-odd-diff-face-A)
18332         (ediff-odd-diff-face-B, ediff-odd-diff-face-C)
18333         (ediff-odd-diff-face-Ancestor): Add special color definitions for
18334         tty and MS-DOS displays.
18336 2002-04-15  Andrew Innes  <andrewi@gnu.org>
18338         * facemenu.el: Require wid-edit.
18340 2002-04-15  Miles Bader  <miles@gnu.org>
18342         * faces.el (highlight): Force foreground to be black on a tty, so
18343         this face is readable on a dark-background tty.
18344         * wid-edit.el (widget-field-face, widget-single-line-field-face):
18345         Likewise.
18347 2002-04-14  Kim F. Storm  <storm@cua.dk>
18349         * simple.el (pop-to-mark-command, push-mark-command): New commands.
18350         (set-mark-command): Use them.
18351         Enhanced functionality when command is repeated:
18352         - If first command set the mark (no prefix arg), repeat temporarily
18353         enables transient-mark-mode.
18354         - If first command jumped to mark off ring (with argument),
18355         repeat (with or without arg) jump to next mark off ring.
18356         - Use C-u C-u prefix to set mark after jump.
18357         (exchange-point-and-mark): Temporarily enable transient-mark-mode
18358         if prefix arg.
18360 2002-04-14  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18362         * speedbar.el (speedbar-tag-hierarchy-method)
18363         (speedbar-toggle-updates, speedbar-toggle-images): Doc fixes.
18365 2002-04-14  Mike Williams  <mdub@bigfoot.com>
18367         * textmodes/sgml-mode.el (sgml-parse-tag-backward): Fix to work at
18368         beginning of buffer.
18370 2002-04-14  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18372         * speedbar.el (speedbar-generic-item-info)
18373         (speedbar-sort-tags): Doc fix.
18374         (speedbar-add-supported-extension): Fix typo in interactive spec.
18376 2002-04-13  Colin Walters  <walters@verbum.org>
18378         * ibuffer.el (ibuffer-forward-line): Just skip header if we're
18379         only moving one line forward.
18380         (ibuffer-map-lines): Preserve point position even if we delete
18381         lines.  Only call mapping functions with buffer and mark
18382         arguments; the other two were unused.
18383         (ibuffer-redisplay, ibuffer-update): Always skip special areas.
18385         * ibuf-macs.el, ibuf-ext.el: Update callers of `ibuffer-map-lines'.
18387         * calc/calc-bin.el (math-format-radix-float): Use `when'.
18389         * calc/calc.el (math-format-number): Load `calc-ext' before we
18390         call `math-group-float'.
18392         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18393         Renamed from `gamegrid-add-score'.
18394         (gamegrid-add-score-insecure): Restored from the old
18395         `gamegrid-add-score'.
18396         (gamegrid-add-score): Just dispatch on `system-type' to one of the
18397         previous two functions.
18399 2002-04-13  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18401         * iswitchb.el: Update commentary to include new function
18402         iswitchb-exclude-nonmatching.
18404 2002-04-12  John Wiegley  <johnw@gnu.org>
18406         * eshell/esh-ext.el (eshell-script-interpreter): Fix for CRLF
18407         operating systems to the regexp used to detect a script's interpreter.
18409 2002-04-12  Eli Zaretskii  <eliz@is.elta.co.il>
18411         * frame.el (frames-on-display-list): Use `equal' to compare the
18412         `display' frame parameter to the argument DISPLAY.
18414 2002-04-12  Dave Love  <fx@gnu.org>
18416         * help.el (string-key-binding): Deal with margin events.
18418 2002-04-12  Francesco Potort\e,Al\e(B  <pot@gnu.org>
18420         * comint.el (comint-password-prompt-regexp): Match " SMB password".
18422 2002-04-11  Stefan Monnier  <monnier@cs.yale.edu>
18424         * sort.el (sort-reorder-buffer): Don't assume point-min == 1.
18426         * xt-mouse.el (xterm-mouse-mode): Use define-minor-mode.
18428         * emacs-lisp/lucid.el (device-class, buffer-syntactic-context)
18429         (buffer-syntactic-context-depth): New funs.
18431         * emacs-lisp/edebug.el (edebug-eval-defun): Don't use defconst
18432         on variables.
18434         * emacs-lisp/debug.el (debug-on-entry): Use push.
18435         (debugger-make-xrefs): Don't assume point-min == 1.
18437         * progmodes/cc-engine.el (c-backward-to-start-of-if):
18438         Don't assume point-min == 1.
18440         * progmodes/etags.el (etags-verify-tags-table, etags-snarf-tag)
18441         (etags-list-tags, etags-tags-apropos, select-tags-table):
18442         Don't assume point-min == 1.
18444 2002-04-12  Mike Williams  <mdub@bigfoot.com>
18446         * textmodes/sgml-mode.el (sgml-guess-indent): New function.
18448 2002-04-11  Stefan Monnier  <monnier@cs.yale.edu>
18450         * textmodes/fill.el (fill-context-prefix): Fix up last change.
18452         * simple.el (line-move): Use memq rather than or.
18453         (transpose-sexps): Don't presume as much of forward-sexp's behavior.
18454         (do-auto-fill): Use fill-move-to-break-point.
18455         (syntax-code-table): Remove.
18457         * textmodes/fill.el (canonically-space-region): Obey sentence-end.
18458         Don't add spaces at end of sentences at end of line.
18459         (fill-move-to-break-point): Make sure the result is always greater
18460         than linebeg, so we ensure forward progress.
18461         (fill-region-as-paragraph): Compare to `to' rather than eobp.
18462         (fill-paragraph): Don't rebind fill-paragraph-function.
18464 2002-04-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18466         * menu-bar.el (menu-bar-adv-search-menu): Add incremental search.
18468 2002-04-11  Andreas Schwab  <schwab@suse.de>
18470         * files.el (file-name-non-special): Handle return value of t from
18471         `file-name-completion'.
18473 2002-04-10  Stefan Monnier  <monnier@cs.yale.edu>
18475         * textmodes/fill.el (fill-context-prefix): Match the two prefixes
18476         differently to avoid pathological exponential-time case.
18477         (adaptive-fill-regexp): Add ! and %.
18478         (fill-delete-prefix): Remove indentation while removing prefix.
18479         (fill-delete-newlines): Obey sentence-end.
18480         (fill-move-to-break-point, fill-newline): New functions extracted
18481         from fill-region-as-paragraph.
18482         (fill-region-as-paragraph): Use them.
18483         Don't fiddle with fill-indent-according-to-mode.
18485 2002-04-10  Colin Walters  <walters@verbum.org>
18487         * play/snake.el (snake-score-file): Default to just "snake-scores".
18489         * play/tetris.el (tetris-score-file): Likewise.
18491         * play/gamegrid.el (gamegrid-add-score): Rewrite from scratch to
18492         use `update-game-score'.
18494         * ibuffer.el (ibuffer-canonicalize-state-list): Delete unused function.
18495         (ibuffer-current-buffers-with-marks): Don't call `buffer-list'
18496         ourselves; take it as an argument.  Caller updated.
18497         (ibuffer-mode): Make mode-class special.
18499 2002-04-10  Richard M. Stallman  <rms@gnu.org>
18501         * dired.el (dired-view-command-alist): New variable.
18502         (dired-view-file): Use external viewers for some files names.
18504         * mouse.el (mouse-drag-region-1): Display region highlight
18505         only in the selected window.
18507         * subr.el (remove-hook): When there are no more local hooks,
18508         kill the buffer-local value.
18510         * isearch.el (isearch-mode): Don't call make-frame-visible
18511         if frame is already visible.
18513         * cus-face.el (custom-face-attributes): Fix typo in `ultra-bold'.
18515 2002-04-09  Emmanuel Briot  <briot@act-europe.fr>
18517         * progmodes/ada-prj.el: Add support for the new project file
18518         fields: gnatfind-opt, debug-pre-cmd and debug-post-cmd.
18519         Fix widget handling for Emacs 21.  ada-mode now only supports a single
18520         active project file, instead of one per buffer.  This is far less
18521         confusing.
18523         * progmodes/ada-stmt.el: Menu changed from Statements to Templates.
18524         (ada-func-or-proc-name): Get real subprogram name, after change in
18525         ada-mode.el.
18527         * progmodes/ada-xref.el: Ada-mode no longer supports a different
18528         project file per buffer.  This was too complex.  Instead, there is
18529         now a single active project file at any given time, and the user
18530         can switch the active one through the Ada menu.  This revision
18531         also provides better handling of the Windows command line, and the
18532         various available shells on that platform.  ada-mode is now fully
18533         integrated with the GNU visual debugger gvd, see
18534         http://libre.act-europe.fr.
18535         (ada-prj-default-comp-opt): Use the new GNAT switch -gnatQ.
18536         This is only available with GNAT 3.14.
18537         (ada-prj-gnatfind-switches, ada-cd-command): New variable.
18538         (ada-quote-cmd): New function.
18539         (ada-initialize-runtime-library): Get the location of the actual
18540         runtime the compiler will be using, including support for
18541         cross-platform environments.
18542         (ada-treat-cmd-string): Add support for the new variable
18543         ${full_current} add support for debug-pre-cmd and debug-post-cmd,
18544         two commands to run just prior to running the debugger, and just
18545         after starting it.  This provide better support for cross-platform
18546         and remote debugging.
18547         (ada-get-absolute-dir): Remove, replace with expand-file-name.
18548         (ada-gdb-application): New parameter executable-name.
18549         (ada-get-ali-file-name): Better handling of separate packages.
18550         Checkin on behalf of the ada-mode maintainer.
18552         * progmodes/ada-mode.el (ada-case-exception-file)
18553         (ada-indent-handle-comment-special): New variables.
18554         (ada-case-exception-substring): New variable.  Casing exceptions
18555         can now also be defined for substrings, in addition to full
18556         identifier names.  This provides more flexibility.
18557         (ada-align-list): New fun, provide support for align.el in ada-mode.
18558         (ada-procedure-start-regexp): Add support for operators and
18559         generic formal subprograms and packages.
18560         (ada-imenu-comment-re): New variable.
18561         (ada-imenu-generic-expression): Add support for protected types.
18562         (ada-mode): Set comment-start only after running ada-mode-hook, so
18563         that the user can change ada-comment-start in the hook.
18564         Add support for ispell in comments.  Add support for align.el.
18565         (ada-save-exception-file, ada-create-case-exception-substring)
18566         (ada-adjust-case-substring): New functions.
18567         (ada-get-current-indent): Properly handles keywords with uppercases.
18568         (ada-goto-matching-end): Rewritten, fixes problems in the handling
18569         of nested blocks.
18570         (ada-untab-hard): Do not touch the contents of comments and strings.
18572 2002-04-09  Mike Williams  <mdub@bigfoot.com>
18574         * textmodes/sgml-mode.el (sgml-lexical-context):
18575         Use sgml-parse-tag-backward to find start point.
18576         (sgml-looking-back-at): Doc fix.
18578 2002-04-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18580         * isearch.el (isearch-message-prefix): Use minibuffer-prompt face
18581         for prompt.
18583 2002-04-08  Stefan Monnier  <monnier@cs.yale.edu>
18585         * autorevert.el (auto-revert-mode, global-auto-revert-mode):
18586         Use define-minor-mode.
18587         (auto-revert-buffers): Use with-current-buffer.
18588         Avoid changing the minor modes.
18590         * international/iso-acc.el (iso-accents-accent-key): Use `vector'
18591         rather than char-to-string since last-input-char can be any event.
18593         * international/titdic-cnv.el (tit-dictionary):
18594         Use defvar for non-constants.
18596         * progmodes/cwarn.el (global-cwarn-mode): Use define-minor-mode.
18597         (global-cwarn-mode): Use easy-mmode-define-global-mode.
18598         (cwarn-font-lock-keywords): New function.
18599         Replaces cwarn-font-lock-remove-keywords cwarn-font-lock-add-keywords.
18600         (cwarn-font-lock-match): New macro.
18601         (cwarn-font-lock-match-assignment-in-expression)
18602         (cwarn-font-lock-match-dangerous-semicolon)
18603         (cwarn-font-lock-match-reference): Use it.
18605         * progmodes/cperl-mode.el (cperl-make-face, cperl-force-face):
18606         Use defvar rather than defconst since it's meant to be settable.
18607         (cperl-syntax-done-to): Don't hardcode 1 as (point-min).
18608         (cperl-fix-line-spacing): Add missing \ in [ t].
18610         * loadup.el: Call ucs-unify-8859 directly rather than
18611         unify-8859-on-encoding-mode.
18612         (fns-*.el): Don't use it anymore.  Keep the load-history in purespace.
18614         * textmodes/sgml-mode.el (sgml-comment-indent-new-line): New fun.
18615         (sgml-mode): Use it for comment-line-break-function.
18617 2002-04-08  Jason Rumney  <jasonr@gnu.org>
18619         * international/mule-cmds.el (reset-language-environment):
18620         Handle coding-systems not being defined yet.
18622 2002-04-08  Sam Steingold  <sds@gnu.org>
18624         * vc-cvs.el (vc-cvs-valid-version-number-p): New function.
18625         (vc-cvs-checkin): Use it.
18627 2002-04-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18629         * files.el (display-time-string): Fix last change.
18631 2002-04-07  Sam Steingold  <sds@gnu.org>
18633         * vc-cvs.el (vc-cvs-checkin): Pass the required argument to `error'.
18635 2002-04-07  Jason Rumney  <jasonr@gnu.org>
18637         * international/mule-cmds.el (set-default-coding-systems)
18638         (reset-language-environment): Preserve eols on
18639         default-process-coding-system.
18640         (coding-system-change-text-conversion): Fix case where CODING is nil.
18642 2002-04-07  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18644         * subr.el (play-sound): Move here from simple.el.
18646         * simple.el (play-sound): Move to subr.el.
18648 2002-04-06  Richard M. Stallman  <rms@gnu.org>
18650         * files.el (display-time-string-forms): Mark as risky.
18652         * enriched.el (enriched-decode-foreground, enriched-decode-background):
18653         Use proper format for desired elts of `face' property.
18654         Don't test display-color-p; make the properties unconditionally.
18656         * progmodes/compile.el (compilation-error-regexp-alist):
18657         New alternatives for FILE:LINE.COL and for ranges of columns and lines.
18659 2002-04-06  Per Abrahamsen  <abraham@dina.kvl.dk>
18661         * progmodes/cc-vars.el (c-block-comment-prefix): Specify :value
18662         for customization type.
18663         Reported by Mattias Fredsberg <mattias.fredsberg@active-tv.com>.
18665 2002-04-06  Mike Williams  <mdub@bigfoot.com>
18667         * textmodes/xml-lite.el: Remove.
18669 2002-04-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18671         * simple.el (play-sound): New function (uses play-sound-internal).
18673 2002-04-04  Richard M. Stallman  <rms@gnu.org>
18675         * files.el (mode-line-format, mode-line-modified)
18676         (mode-line-mule-info, mode-line-buffer-identification)
18677         (mode-line-modes, mode-line-position): Explicitly mark as risky.
18678         (hack-one-local-variable): Don't recognize "mode-line-..." as risky.
18680         * calendar/solar.el (solar-northern-spring-or-summer-season): Doc fix.
18682         * mail/mailabbrev.el (mail-abbrev-make-syntax-table):
18683         Use (syntax-table), not old-syntax-table.
18685         * enriched.el (enriched-decode-foreground)
18686         (enriched-decode-background): Don't call facemenu-get-face.
18688 2002-04-04  Mike Williams  <mdub@bigfoot.com>
18690         * textmodes/sgml-mode.el: Add missing require.
18691         (sgml-lexical-context): Fix up CDATA detection for boundary cases.
18693 2002-04-03  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
18695         * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line): Move to
18696         spot indicated by text property `cvs-goal-column', if present.
18698         * pcvs-info.el (cvs-fileinfo-pp): Use text property
18699         `cvs-goal-column' to indicate position of file name (if present).
18701 2002-04-03  Richard M. Stallman  <rms@gnu.org>
18703         * mail/mailabbrev.el (mail-abbrev-complete-alias):
18704         Call mail-abbrev-make-syntax-table.
18706         * format.el (format-deannotate-region): Doc fix.
18708         * enriched.el (enriched-face-ans): Delete special treatment
18709         for fg:... and bg:... faces.
18710         (enriched-decode-foreground): Return a list that specifies
18711         the foreground color, rather than creating a face.
18712         (enriched-decode-background): Likewise.
18714         * shell.el (shell-mode): Don't reinit comint-input-ring
18715         if that was already done.
18717 2002-04-03  Edward M. Reingold  <reingold@emr.cs.iit.edu>
18719         * solar.el (solar-spring-or-summer-season): Delete.
18720         (solar-northern-spring-or-summer-season): New variable.
18721         (solar-sunrise-and-sunset, solar-moment, solar-sunrise-sunset):
18722         Rewrite.
18724         * solar.el (diary-sabbath-candles-minutes): New variable.
18725         (diary-sabbath-candles): Use it instead of fixed 18 minutes.
18727         * calendar.el (update-calendar-mode-line): Force mode-line update.
18728         Make date under the cursor available as `date' in
18729         calendar-mode-line-format.
18730         Eval items in calendar-mode-line-format list.
18732         * cal-tex.el (cal-tex-hook, cal-tex-year-hook, cal-tex-month-hook)
18733         (cal-tex-week-hook, cal-tex-daily-hook): Add doc strings.
18735         * cal-tex.el (cal-tex-latexify-list): Fix doc string.
18737         * cal-tex.el (cal-tex-insert-day-names): LaTeXify day names.
18738         (cal-tex-cursor-week-iso, cal-tex-week-hours, cal-tex-weekly4-box)
18739         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18740         (cal-tex-daily-page, cal-tex-mini-calendar): LaTeXify day names.
18742         * cal-tex.el: Change all instances (interactive "P") to
18743         (interactive "p").
18744         (cal-tex-cursor-month): Add hfill and newline at end of month that
18745         ended on Saturday.
18746         (cal-tex-preamble): Change to LaTeX2e.
18747         (cal-tex-cursor-filofax-year): Don't use default month names in
18748         LaTeX macros in case user changes them.
18749         (cal-tex-month-name): New function.  Used throughout in case user
18750         has done something funny with month names.
18752         * cal-hebrew.el (holiday-rosh-hashanah-etc): Spelling correction.
18753         (diary-rosh-hodesh): Spelling correction.
18755 2002-04-03  Mike Williams  <mdub@bigfoot.com>
18757         * textmodes/sgml-mode.el (sgml-lexical-context)
18758         (sgml-parse-tag-backward): Extend support for CDATA to include
18759         conditional sections.
18761 2002-04-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18763         * cus-start.el: Rename `autoselect-window' to
18764         `mouse-autoselect-window'.
18766 2002-04-02  Richard M. Stallman  <rms@gnu.org>
18768         * files.el (hack-one-local-variable):
18769         Clear text props from string value.
18771 2002-04-02  Stefan Monnier  <monnier@cs.yale.edu>
18773         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18774         (f90-procedures-re, f90-operators-re, f90-hpf-keywords-re):
18775         Use regexp-opt.
18776         (f90-keywords-re, f90-keywords-level-3-re): Add `pure' and `elemental'
18777         from F95.
18778         (f90-procedures-re): Add `null' and `cpu_time' from F95.
18779         (f90-font-lock-keywords-1): Minor reorganization so we don't need
18780         `override' any more.
18781         (f90-font-lock-keywords-3): Use `keep' rather than `override'.
18782         (f90-indent-subprogram): Use indent-region.
18783         (f90-break-line): Use indent-according-to-mode.
18785 2002-04-02  Mike Williams  <mdub@bigfoot.com>
18787         * textmodes/sgml-mode.el (sgml-close-tag): Rename from
18788         sgml-insert-end-tag. Simplify by using sgml-lexical-context.
18789         (sgml-get-context): Remove use of sgml-inside-tag-p.
18790         (sgml-inside-tag-p): Remove.
18791         (sgml-looking-back-at): Short-circuit at beg of buffer.
18792         (sgml-lexical-context, sgml-calculate-indent): Add support for
18793         CDATA sections.
18795 2002-04-01  Stefan Monnier  <monnier@cs.yale.edu>
18797         * help.el (help-key-description): New fun.
18798         (describe-key-briefly, describe-key): Use it and
18799         this-single-command-raw-keys plus new arg `untranslated'.
18801         * textmodes/sgml-mode.el (sgml-at-indentation-p, sgml-tag)
18802         (sgml-parse-tag-name, sgml-looking-back-at, sgml-parse-tag-backward)
18803         (sgml-inside-tag-p, sgml-get-context, sgml-show-context)
18804         (sgml-insert-end-tag): New funs taken from xml-lite.el.
18805         (sgml-calculate-indent): Use them.
18806         (sgml-slash-matching): Rename from sgml-slash.
18807         (sgml-slash): Copied from xml-lite and changed to use
18808         sgml-slash-matching and sgml-quick-keys.
18810         * international/mule-cmds.el (standard-keyboard-coding-systems):
18811         Add koi8-u and koi8-r.
18813         * eshell/.cvsignore: New file.
18815         * eshell/esh-groups.el: Remove.
18817         * progmodes/tcl.el: Change maintainer.
18818         (tcl-electric-hash-style): Change default to nil.
18819         (tcl-imenu-generic-expression): Use tcl-proc-regexp.
18820         (tcl-do-auto-fill): Remove.
18821         (tcl-auto-fill-mode): Rewrite using comment-auto-fill-only-comments.
18823 2002-04-01  Mike Williams  <mdub@bigfoot.com>
18825         * textmodes/sgml-mode.el: Doc fixes.
18826         (sgml-mode): Set indent-line-function to sgml-indent-line.
18827         (sgml-calculate-indent): Add an explicit check for 'text syntax,
18828         to protect against future enhancements to sgml-lexical-context.
18829         (sgml-empty-tag-p, sgml-unclosed-tag-p): New funcs.
18831         * textmodes/xml-lite.el: Removed much redundant stuff.
18832         (xml-lite-parse-tag-backward): Simplify parsing by assuming we
18833         always start within text. Make use of sgml-unclosed-tag-p.
18835 2002-04-01  Ville Skytt\e,Ad\e(B  <ville.skytta@xemacs.org>
18837         * tcl.el (tcl-imenu-generic-expression): New value.
18838         (tcl-imenu-create-index-function): Function deleted.
18839         (tcl-mode): Check for filladapt-mode.
18840         Use tcl-imenu-generic-expression instead of
18841         tcl-imenu-create-index-function.
18842         (inferior-tcl-mode): Doc fix.
18843         Change not legally significant.
18845 2002-04-01  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
18847         * cus-start.el: Rename `x-autoselect-window' to `autoselect-window'.
18849         * window.el (handle-select-window): New function.
18850         Update copyright.
18852 2002-04-01  Richard M. Stallman  <rms@gnu.org>
18854         * info.el (info-tool-bar-map): Use tool-bar-local-item-from-menu.
18856         * toolbar/tool-bar.el (tool-bar-local-item): Renamed from
18857         tool-bar-add-item, and new arg MAP.
18858         (tool-bar-add-item): Now calls tool-bar-local-item.
18859         (tool-bar-local-item-from-menu): Renamed from
18860         tool-bar-add-item-from-menu, and new arg IN-MAP.
18861         (tool-bar-add-item-from-menu): Now calls tool-bar-local-item-from-menu.
18863         * help-fns.el (help-with-tutorial): Allow various ways
18864         to specify the text in the [...] line, in handling the <...> line.
18866         * progmodes/idlw-rinfo.el (idlwave-system-routines):
18867         WOLRDTITLE => WORLDTITLE.  SUPRESS_VALUE => SUPPRESS_VALUE.
18869         * subr.el (redraw-modeline): Define alias.
18871 2002-03-31  Richard M. Stallman  <rms@gnu.org>
18873         * files.el (file-expand-wildcards): Use save-match-data.
18875         * files.el (format-alist): Mark as risky.
18877         * simple.el (kill-new): Doc fix.
18879         * emacs-lisp/byte-opt.el (side-effect-free-fns)
18880         (side-effect-and-error-free-fns): Add many functions, remove some.
18882 2002-03-30  Richard M. Stallman  <rms@gnu.org>
18884         * menu-bar.el (menu-bar-tools-menu): Rename gdb item to say GDB.
18886 2002-03-30  Eli Zaretskii  <eliz@gnu.org>
18888         * font-lock.el (save-buffer-state): Fix last change.
18890         * files.el (auto-save-file-name-transforms): Fix last change.
18892         * startup.el (command-line): Fix last change.
18894 2002-03-29  Richard M. Stallman  <rms@gnu.org>
18896         * subr.el (play-sound-file): Moved to simple.el.
18898         * simple.el (play-sound-file): Moved from subr.el, made unconditional.
18900 2002-03-29  Colin Walters  <walters@verbum.org>
18902         * ibuffer.el (ibuffer-mark-interactive): Use `ibuffer-forward-line'
18903         instead of `forward-line'.
18904         (ibuffer-forward-line): Be sure to skip over special properties
18905         before moving, too.
18907         * calc/calc.el (calc-was-split): Var deleted.
18908         (calc): Remove reference to it.
18909         (calc): Ditto.
18910         (calc-quit): Ditto.
18911         (calc-init-base): Ditto.
18913         * calc/calc-misc.el (calc-delete-windows-keep): Function deleted.
18915 2002-03-29  Stefan Monnier  <monnier@cs.yale.edu>
18917         * textmodes/sgml-mode.el (sgml-lexical-context): Return (text . START)
18918         instead of nil when point is outside of any tag.
18919         (sgml-beginning-of-tag): Adjust to the change.
18920         (sgml-calculate-indent): Use the new info returned by
18921         sgml-lexical-context.  Try to handle unclosed tags.
18923         * textmodes/xml-lite.el (xml-lite-get-context): Don't stop parsing
18924         at unclosed tags unless it is at indentation.
18925         Kill nested unclosed tags.
18926         (xml-lite-calculate-indent, xml-lite-indent-line): Remove.
18927         (xml-lite-mode): Use sgml-indent-line instead.
18929 2002-03-29  Eli Zaretskii  <eliz@is.elta.co.il>
18931         * files.el (auto-save-file-name-transforms): Don't run "\\2" via
18932         expand-file-name.
18934         * startup.el (command-line): Recompute auto-save-file-name-transforms
18935         using the updated value of temporary-file-directory.
18937 2002-03-29  Stefan Monnier  <monnier@cs.yale.edu>
18939         * textmodes/xml-lite.el (xml-lite-get-context): Allow stopping
18940         even with an empty context.  Don't save excursion any more.
18941         Don't complain about unmatched start-tags in sgml-unclosed-tags.
18942         Ignore end-tags in sgml-empty-tags.
18943         (xml-lite-get-context, xml-lite-calculate-indent)
18944         (xml-lite-insert-end-tag): Save excursion around xml-lite-get-context.
18945         (xml-lite-indent-line): Use back-to-indentation.
18947         * textmodes/sgml-mode.el (sgml-basic-offset): New var.
18948         (sgml-name-re, sgml-attrs-re): New consts.
18949         (sgml-tag-name-re, sgml-start-tag-regex, sgml-font-lock-keywords-1)
18950         (sgml-mode): Use them.
18951         (sgml-lexical-context): Default to (point-min) if nothing else works.
18952         (sgml-calculate-indent): Indent slightly differently.
18953         (sgml-indent-line): Use back-to-indentation.
18954         (sgml-parse-dtd): New function.
18955         (sgml-unclosed-tags): New var.
18956         (html-mode): Set it.
18958 2002-03-29  Simon Marshall  <simon.marshall@misys.com>
18960         * font-lock.el (save-buffer-state): Use make-symbol to bind `modified'.
18962 2002-03-29  Richard M. Stallman  <rms@gnu.org>
18964         * dired-aux.el (dired-do-query-replace-regexp, dired-do-search):
18965         Use FILTER arg in dired-get-marked-files to exclude directories.
18966         (dired-nondirectory-p): New function.
18968         * dired.el (dired-get-marked-files): New arg FILTER
18969         allows selection of some files.
18971         * progmodes/tcl.el (tcl-imenu-create-index-function): Doc fix.
18973 2002-03-29  Eric M. Ludlam  <eric@siege-engine.com>
18975         * speedbar.el (speedbar-default-directory-list): Made robust
18976         against deleted directories.
18978 2002-03-28  Richard M. Stallman  <rms@gnu.org>
18980         * dired.el (dired-toggle-marks): Renamed from dired-do-toggle.
18981         Bindings changed.
18983         * progmodes/compile.el (compilation-handle-exit):
18984         If compilation-window-height is 0, display status in echo area.
18986         * simple.el (line-move-to-column): Don't call move-to-column if COL=0.
18988         * rect.el (replace-rectangle): Add autoload.
18990         * files.el: Mark many more variables as risky.
18991         (hack-one-local-variable): Recognize several additional
18992         patterns as risky.
18994         * bindings.el (mode-line-mule-info): Use :propertize, not :eval.
18996 2002-03-28  Stefan Monnier  <monnier@cs.yale.edu>
18998         * textmodes/xml-lite.el (xml-lite-in-string-p):
18999         Use sgml-lexical-context.
19000         (xml-lite-parse-tag-backward): Use sgml-tag-syntax-table.
19001         (xml-lite-get-context): Check that open/close tags match.
19002         Don't stop scanning while we're ignoring matching tags.
19004         * textmodes/sgml-mode.el (sgml-make-syntax-table): New fun.
19005         (sgml-mode-syntax-table): Use it.
19006         (sgml-tag-syntax-table, sgml-tag-name-re): New const.
19007         (sgml-tags-invisible): Use it.
19008         (sgml-lexical-context): New fun.
19009         (sgml-maybe-end-tag, sgml-beginning-of-tag): Use it.
19010         (sgml-quote): Accept \n as entity reference terminator.
19011         (sgml-calculate-indent, sgml-indent-line): New funs.
19013 2002-03-28  Andre Spiegel  <spiegel@gnu.org>
19015         * vc-cvs.el (vc-cvs-global-switches): New user option.
19016         (vc-cvs-command): New function.  Update all callers of
19017         `vc-do-command' in vc-cvs.el to use this instead.
19019 2002-03-27  Andrew Innes  <andrewi@gnu.org>
19021         * makefile.w32-in (bootstrap-clean-SH): Use for loop, instead of
19022         relying on shell globbing.
19024 2002-03-27  Colin Walters  <walters@debian.org>
19026         * ibuffer.el (ibuffer-help-buffer-modes): New variable.
19027         (ibuffer-fontification-alist): Use it.
19028         (ibuffer-backward-line): Handle `ibuffer-summary' area.
19029         (ibuffer-forward-line): Ditto.
19031         * ibuf-ext.el (sorter mode-name): Doc fix.
19032         (ibuffer-mark-help-buffers): Use `ibuffer-help-buffer-modes'.
19033         (operation query-replace): Use new `noerror' arg for
19034         `query-replace-read-args'.
19035         (operation query-replace-regexp): Ditto.
19037 2002-03-27  Stefan Monnier  <monnier@cs.yale.edu>
19039         * textmodes/xml-lite.el: Fix copyright notice.
19040         (xml-lite-basic-offset): Rename from xml-lite-indent-offset.
19041         (xml-lite-indent-comment-offset): Remove.
19042         (xml-lite-calculate-indent): Use new name.  Use natural alignment
19043         for comments.
19044         (xml-lite-in-string-p): Simplify.
19046 2002-03-27  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19048         * allout.el (outline-layout): Doc fix.
19050 2002-03-27  Stefan Monnier  <monnier@cs.yale.edu>
19052         * textmodes/xml-lite.el: Don't require `custom'.
19053         (xml-lite-parse-tag-name): Properly treat non-ASCII chars.
19054         (xml-lite-parse-tag-backward): Obey sgml-empty-tags.
19055         (xml-lite-get-context): Drop nested tags not just for comments.
19056         (xml-lite-indent-line): Be more careful about moving point.
19057         (xml-lite-insert-end-tag, xml-lite-slash):
19058         Use indent-according-to-mode instead of xml-lite-indent-line.
19059         (xml-lite-mode): Make xml-lite-orig-indent-line-function buffer-local.
19060         Set sgml-xml-mode.  Don't call force-mode-line-update.
19061         (xml-lite-mode-map): Don't bind TAB.
19063 2002-03-27  Zoltan Kemenczy  <zoltan@ieee.org>
19065         * gud.el (gud-jdb-sourcepath): New variable, saves jdb -sourcepath
19066         parameter value.
19067         (gud-jdb-build-source-files-list): Comment clarification.
19068         (gud-jdb-massage-args): Reworked into loop-based argument list
19069         processing in order to support -classpath and -sourcepath argument
19070         processing.
19071         (gud-jdb-find-source-using-classpath): Prepend gud-jdb-sourcepath
19072         to gud-jdb-classpath to obtain search list.
19073         (gud-jdb-parse-classpath-string): Remove any trailing slashes from
19074         directory names in classpath/sourcepath lists, update comment.
19075         (jdb): Add setting of gud-jdb-sourcepath, update comment.
19076         (gud-find-class): Add gud-jdb-sourcepath use, and correct
19077         behaviour for the case when classpath is not used--backward
19078         compatibility fix.
19080 2002-03-27  Eli Zaretskii  <eliz@is.elta.co.il>
19082         * Makefile.in (compile, compile-always): Don't try to compile
19083         non-existent files or files in empty directories.
19085 2002-03-26  Michael Ernst  <mernst@alum.mit.edu>
19087         * compare-w.el (compare-windows-whitespace): Match all whitespace.
19089         * emacs-lisp/shadow.el (list-load-path-shadows): Only ignore last
19090         copy of standard Lisp directories.
19092         * tar-mode.el (tar-header-block-summarize, tar-get-descriptor):
19093         Support "next has longname" link type.
19095 2002-03-26  Stefan Monnier  <monnier@cs.yale.edu>
19097         * textmodes/xml-lite.el (xml-lite-at-indentation-p): Move.
19098         (xml-lite-in-string-p, xml-lite-looking-back-at, xml-lite-looking-at):
19099         New functions.
19100         (forward-xml-tag, backward-xml-tag, beginning-of-xml-tag)
19101         (end-of-xml-tag): Remove.
19102         (xml-lite-get-context): Better handling of comments.
19103         (xml-lite-calculate-indent): Use xml-lite-in-string-p.
19104         (xml-lite-parse-tag-backward): Rewrite.
19106 2002-03-26  Juanma Barranquero  <lektu@terra.es>
19108         * makefile.w32-in (WINS): Add the toolbar directory.
19110 2002-03-26  Richard M. Stallman  <rms@gnu.org>
19112         * subr.el (substring-no-properties): Function deleted (now in C).
19114 2002-03-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19116         * mwheel.el (mouse-wheel-mode): Use global-set-key and
19117         global-unset-key.
19119 2002-03-24  Richard M. Stallman  <rms@gnu.org>
19121         * mail/rmail.el (rmail-resend): Call mail-abbrev-make-syntax-table.
19123         * progmodes/etags.el (tags-query-replace): Pass t for NOERROR
19124         to query-replace-read-args.
19126         * progmodes/compile.el (compilation-forget-errors):
19127         Don't adjust compilation-parsing-end if it's nil.
19129         * replace.el (query-replace-read-args): New optional arg NOERROR.
19130         (perform-replace): Use save-window-excursion around recursive edit.
19132 2002-03-24  Colin Walters  <walters@verbum.org>
19134         * ibuffer.el (ibuffer): If the user has `ibuffer-use-other-window'
19135         non-nil, then always use another window.
19137 2002-03-24  Gerd Moellmann  <gerd@gnu.org>
19139         * subr.el (macro-declaration-function): New function.  Set the
19140         variable macro-declaration-function to it.
19142         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19143         Handle declarations in macro definitions.
19145 2002-03-24  Eli Zaretskii  <eliz@is.elta.co.il>
19147         * facemenu.el (facemenu-get-face): Remove unused variable `foreground'.
19149         * enriched.el (enriched-face-ans): Support FACE of the form
19150         (:foreground COLOR) and (:background COLOR).
19151         (enriched-decode-foreground, enriched-decode-background): Set the
19152         fore- and background colors of the faces we create, since facemenu
19153         doesn't.
19155 2002-03-24  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19157         * mwheel.el (mouse-wheel-mode): Use the result of
19158         current-global-map instead of the variable `global-map'.
19160 2002-03-23  Richard M. Stallman  <rms@gnu.org>
19162         * mail/mailabbrev.el (mail-abbrev-make-syntax-table): New subroutine
19163         broken out of sendmail-pre-abbrev-expand-hook.
19164         (sendmail-pre-abbrev-expand-hook): Use it.
19166 2002-03-22  Stefan Monnier  <monnier@cs.yale.edu>
19168         * Makefile.in (finder-inf.el): Remove.
19169         (finder-data): Don't depend on finder-inf.el any more.
19170         (compile, compile-always): Handle the case where some files
19171         from DONTCOMPILE are missing (it tried to compile them).
19172         (bootstrap-clean): Use src/emacs only if executable.
19173         (bootstrap): Update subdirs.el and finder-inf.el.
19175         * finder.el: Don't load finder-inf.el during byte-compilation.
19177         * vc-cvs.el (vc-cvs-registered, vc-cvs-dir-state-heuristic):
19178         Don't consider cvs-removed files as under VC control.
19179         VC wouldn't handle them properly anyway and it confuses
19180         vc-file-not-found-hook.
19182         * emacs-lisp/bytecomp.el (batch-byte-compile-if-not-done):
19183         Add autoload cookie.
19185 2002-03-22  Eli Zaretskii  <eliz@is.elta.co.il>
19187         * calendar/calendar.el (calendar): Doc fix.
19189 2002-03-22  Juanma Barranquero  <lektu@terra.es>
19191         * play/gomoku.el (gomoku-font-lock-O-face): Convert to use `defface'.
19192         (gomoku-font-lock-X-face): Likewise.
19193         (gomoku-font-lock-keywords): Use faces instead of variables.
19195 2002-03-21  Stefan Monnier  <monnier@cs.yale.edu>
19197         * Makefile.in (bootstrap): Make sure subdirs.el is ready.
19199 2002-03-21  Kim F. Storm  <storm@cua.dk>
19201         * simple.el (open-network-stream, open-network-stream-nowait)
19202         (open-network-stream-server): Use featurep to test for
19203         supported networking features.
19205 2002-03-21  Thien-Thi Nguyen  <ttn@gnu.org>
19207         * mail/emacsbug.el (report-emacs-bug-hook): Remove submitter
19208         directions as the last action.
19210 2002-03-21  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19212         * startup.el (fancy-splash-tail, normal-splash-screen):
19213         Update copyright.
19215         * novice.el (disabled-command-hook): Clarify output text to match
19216         prompt.
19218 2002-03-20  Jason Rumney  <jasonr@gnu.org>
19220         * frame.el (display-images-p): Do not explicitly check display type.
19222 2002-03-20  pmr-sav  <pmr-sav@hamm.pajato.com>
19224         * mail-utils.el:
19225         Eliminate compilation warnings due to `rfc822-addresses'.
19226         (rmail-dont-reply-to): Eliminate `pos' as a free variable for a
19227         warning free compile.
19229 2002-03-20  Michael Kifer  <kifer@cs.stonybrook.edu>
19231         * ediff-diff.el (ediff-install-fine-diff-if-necessary):
19232         Take the current highlighting style into account.
19233         (ediff-forward-word-function,ediff-whitespace,ediff-word-1)
19234         (ediff-word-2,ediff-word-3,ediff-word-4): Make them buffer local.
19236         * ediff-init.el (ediff-patch-job): New macro.
19238         * ediff-mult.el (ediff-make-new-meta-list-header): New API function.
19239         (ediff-intersect-directories): Use ediff-make-new-meta-list-header.
19241         * ediff-ptch.el (ediff-map-patch-buffer):
19242         Use ediff-make-new-meta-list-header.
19243         (ediff-fixup-patch-map): Use the meta-list API from ediff-mult.el.
19245         * ediff-util.el (ediff-toggle-hilit): Fix toggling of highliting.
19246         (ediff-select-difference): Take highlighting style into account.
19247         (ediff-clone-buffer-for-region-comparison): New function.
19248         (ediff-inferior-compare-regions): Added comparison of current diff
19249         regions.
19251         * ediff.el (ediff-clone-buffer-for-region-comparison)
19252         (ediff-clone-buffer-for-window-comparison): Moved to ediff-util.el.
19254 2002-03-19  pmr-sav  <pmr-sav@hamm.pajato.com>
19256         * mail-utils.el (rmail-dont-reply-to):
19257         Overhaul to correctly apply the regular
19258         expressions in the variable `rmail-dont-reply-to-names' to the list of
19259         destination addresses.  Contributed by lorentey@elte.hu.
19261         * rmail.el (rmail-dont-reply-to-names):
19262         Modify the documentation to make it email
19263         address centric rather than login name centric.  Contributed by
19264         lorentey@elte.hu.
19266 2002-03-18  Colin Walters  <walters@verbum.org>
19268         * ibuf-ext.el (ibuffer-toggle-sorting-mode): Remove `find-if' so
19269         we don't require `cl' at runtime.
19270         (sorting mode mode-name): Don't take the symbol-name of a string.
19272         * ibuffer.el (ibuffer-set-mark): Go back to the beginning of the
19273         line after setting the mark.
19274         (ibuffer-insert-buffers-and-marks): Invert the test for
19275         `ibuffer-sorting-reversep'.
19277 2002-03-18  Stefan Monnier  <monnier@cs.yale.edu>
19279         * international/ucs-tables.el (unify-8859-on-decoding-mode)
19280         (unify-8859-on-encoding-mode): Remove autoload cookie.
19282 2002-03-18  Andre Spiegel  <spiegel@gnu.org>
19284         * vc-rcs.el (vc-rcs-register): Fix handling of
19285         vc-[rcs-]register-switches.
19286         (vc-rcs-checkin-switches, vc-rcs-checkout-switches):
19287         Variables removed, since they weren't used yet.
19289         * vc-cvs.el (vc-cvs-register): Fix handling of
19290         vc-[cvs-]register-switches.
19292         * vc-sccs.el (vc-sccs-register): Fix handling of
19293         vc-[sccs-]register-switches.
19295 2002-03-18  Stefan Monnier  <monnier@cs.yale.edu>
19297         * loadup.el ("emacs-lisp/backquote"): Load earlier.
19298         ("international/ucs-tables"): Load and turn on
19299         unify-8859-on-encoding-mode unconditionally.
19300         (emacs-version): Use `defconst' rather than `setq'.
19302         * eshell/esh-ext.el (eshell-binary-suffixes): Use exec-suffixes.
19304 2002-03-18  Richard M. Stallman  <rms@gnu.org>
19306         * menu-bar.el (menu-bar-options-menu): Cope if
19307         text-mode-hook is not a list.
19309 2002-03-17  Richard M. Stallman  <rms@gnu.org>
19311         * emulation/pc-select.el (pc-selection-mode):
19312         Alter the existing global map, don't replace it.
19314         * files.el (list-directory): Set default-directory at the end.
19316         * dabbrev.el (dabbrev--goto-start-of-abbrev):
19317         Put a limit on field-beginning search.
19319 2002-03-17  Simon Josefsson  <jas@extundo.com>
19321         * net/browse-url.el (browse-url-mosaic-pidfile): New variable.
19322         (browse-url-mosaic): Use it.
19324         * net/browse-url.el (browse-url-filename-alist): Don't begin
19325         docstring with *, you don't want to set this one with M-x set-variable.
19327         * net/browse-url.el: Put * in user option doc strings.
19329 2002-03-17  Stefan Monnier  <monnier@cs.yale.edu>
19331         * textmodes/sgml-mode.el (sgml-xml-mode): Renamed from sgml-xml.
19332         (sgml-xml-guess): Simplify.
19333         (sgml-mode-common): Remove (move into sgml-mode).
19334         (sgml-mode): Add code from sgml-mode-common.
19335         Remove redundant setting of indent-line-function.
19336         Don't set skeleton-transformation when in XML mode.
19338         * international/mule-diag.el (describe-char-after):
19339         Use `internal-describe-syntax-value' again (got lost somewhere).
19341         * international/ucs-tables.el (ucs-unify-8859, ucs-fragment-8859):
19342         Use unify-8859-on-decoding-mode.
19343         (unify-8859-on-decoding-mode): Also set translation-table-for-input.
19344         (ucs-insert): Give an error if the unicode char can't be created.
19346         * pcvs-parse.el (cvs-parse-table): Be a bit more lenient.
19347         (cvs-parse-status): Handle the "used to have a conflict" marker.
19349 2002-03-17  Kim F. Storm  <storm@cua.dk>
19351         The following changes are related to the enhanced network process
19352         support.
19354         * simple.el: Update copyright.
19355         (clone-process): Use make-network-process to clone network
19356         processes.  Get command list via (process-contact ... t).
19357         Use set-process-query-on-exit-flag and process-query-on-exit-flag
19358         instead of process-kill-without-query.
19359         (open-network-stream): Replaces C-version from process.c.
19360         (open-network-stream-nowait, open-network-stream-server): New funs.
19361         (process-kill-without-query): Replaces C-version from process.c.
19363         * files.el: Update copyright.
19364         (save-buffers-kill-emacs): Also check for active server
19365         processes.  Use process-query-on-exit-flag.  Only list processes
19366         which has the query-on-exit flag set in connection with user query.
19368         * shadowfile.el: Update copyright.
19369         (shadow-save-buffers-kill-emacs): Also check for active server
19370         processes.  Use process-query-on-exit-flag.
19372 2002-03-16  Simon Marshall  <simon.marshall@misys.com>
19374         * imenu.el (imenu-menubar-modified-tick): Renamed from
19375         imenu-update-menubar-modified-tick.
19376         (imenu-update-menubar): Update imenu-menubar-modified-tick
19377         whenever outer condition succeeds.
19379         * lazy-lock.el (save-buffer-state):
19380         Bind inhibit-modification-hooks and buffer-file-truename
19381         instead of before-change-functions and after-change-functions.
19383 2002-03-16  Eli Zaretskii  <eliz@is.elta.co.il>
19385         * international/codepage.el (codepage-setup): Don't define a
19386         codepage if it is already defined.
19388         * textmodes/po.el (po-content-type-charset-alist): Convert the
19389         car of each association to a string.
19390         (po-find-file-coding-system-guts): If the charset matches a name
19391         of a codepage, set up that codepage and return it as a coding
19392         system to decode the file.
19393         (po-find-charset): Search for the Charset= header even if we've
19394         read less than 4KB.
19395         <top-level>: Remove the setup for all known codepages: it seems
19396         to cause crashes in the CCL driver.
19398 2002-03-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19400         * textmodes/bibtex.el (bibtex-sort-ignore-string-entries)
19401         (bibtex-entry-field-alist): Doc fix.
19403 2002-03-16  Richard M. Stallman  <rms@gnu.org>
19405         * progmodes/cperl-mode.el (cperl-imenu--function-name-regexp-perl):
19406         Move definition above cperl-outline-regexp.
19408         * bindings.el (mode-line-mule-info): In computing help-echo prop,
19409         avoid using save-window-excursion.  And compile the function.
19411 2002-03-15  Stefan Monnier  <monnier@cs.yale.edu>
19413         * files.el (load-completion): New function.
19414         (load-library): Use it.
19416 2002-03-15  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19418         * calendar/cal-french.el (calendar-goto-french-date): Fix prompt
19419         to match the actual code.
19421 2002-03-15  Eli Zaretskii  <eliz@is.elta.co.il>
19423         * textmodes/po.el (po-find-file-coding-system-guts):
19424         Use with-temp-buffer instead of po-with-temp-buffer.
19426         * international/mule-conf.el (file-coding-system-alist): Add an
19427         association for PO files.
19429         * textmodes/po.el: New file.
19431 2002-03-15  Gerd Moellmann  <gerd@gnu.org>
19433         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
19434         Fix simple loop indentation.
19436 2002-03-14  Miles Bader  <miles@gnu.org>
19438         * net/rlogin.el (rlogin-mode): Use `define-derived-mode'.
19440 2002-03-14  Richard M. Stallman  <rms@gnu.org>
19442         * textmodes/picture.el (picture-insert)
19443         (picture-clear-column, picture-draw-rectangle):
19444         Use move-to-column, not move-to-column-force.
19446         * dired.el (dired-readin): Clear out undo list.
19447         (dired-fun-in-all-buffers): Definition moved from dired-aux.el.
19448         (dired-delete-entry): New function.
19449         (dired-internal-do-deletions): Use dired-fun-in-all-buffers
19450         and dired-delete-entry, to update this buffer (and others).
19452         * dired-aux.el (dired-fun-in-all-buffers): Moved to dired.el.
19454         * facemenu.el (facemenu-add-new-face):
19455         Pass region args to facemenu-set-face, when there is a region.
19456         (facemenu-set-foreground, facemenu-set-background)
19457         (facemenu-add-face): Doc fixes.
19459         * progmodes/cperl-mode.el (cperl-outline-regexp): Move definition up.
19461 2002-03-14  Miles Bader  <miles@gnu.org>
19463         * emacs-lisp/debug.el: Require `button'.
19464         (debugger-mode-map): Set the parent keymap to `button-buffer-map',
19465         to get TAB and <backtab> bindings.
19467         * net/rlogin.el (rlogin-carriage-filter): Function removed.
19468         (rlogin): Don't install the `rlogin-carriage-filter' filter, as
19469         comint removes carriage returns itself now.
19471         * rfn-eshadow.el (rfn-eshadow-update-overlay):
19472         Bind `inhibit-point-motion-hooks' to t while messing around, to avoid
19473         getting hosed by our own intangible property.
19475 2002-03-13  Stefan Monnier  <monnier@cs.yale.edu>
19477         * progmodes/fortran.el (fortran-mode): Set comment-padding to "$$$".
19478         Add fortran-comment-line-start-skip to comment-start-skip.
19479         (fortran-comment-indent): Keep whole-line comments in column 0.
19480         (fortran-find-comment-start-skip): New arg `all'.
19481         If ALL is nil, make sure we only match comment-start-skip if we
19482         can't match fortran-comment-line-start-skip.
19483         Fix bug that made it return t but without moving point when
19484         matching '!'! (a false-comment followed by a real comment).
19485         (fortran-indent-comment): Use new `all' argument above.
19486         Be careful not to add an incorrect comment-starter like "C"
19487         in comment-column.
19488         (fortran-split-line): When splitting a comment, reuse the comment
19489         starter from the current line rather than fortran-comment-line-start.
19490         (fortran-indent-line, fortran-auto-fill): Simplify thanks to the
19491         cleaner behavior of fortran-find-comment-start-skip.
19492         (fortran-fill): Don't be confused by ! inside a comment.
19493         (fortran-break-line): Minor cleanup and simplification.
19495 2002-03-13  Francesco Potort\e,Al\e(B  <pot@gnu.org>
19497         * progmodes/etags.el (tag-exact-file-name-match-p)
19498         (tag-file-name-match-p, tag-partial-file-name-match-p): Use a
19499         simpler regexp.
19501 2002-03-12  Colin Walters  <walters@debian.org>
19503         * ibuffer.el (ibuffer-redisplay-current): Don't move point when
19504         redisplaying a line.
19506 2002-03-12  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
19508         * term/x-win.el (emacs-session-restore): Take previous id as
19509         an argument.
19510         (emacs-session-save): Add comment that return t means cancel shutdown
19512         * startup.el (command-line): Must check that x-session-previous-id
19513         is bound also, for non-X platforms.
19515 2002-03-12  Gerd Moellmann  <gerd@gnu.org>
19517         * emacs-lisp/cl-indent.el (lisp-loop-keyword-indentation)
19518         (lisp-loop-forms-indentation, lisp-simple-loop-indentation):
19519         New user options.
19520         (extended-loop-p, common-lisp-loop-part-indentation): New functions.
19521         (common-lisp-indent-function-1): Renamed from
19522         common-lisp-indent-function.
19523         (common-lisp-indent-function): Handle loop forms specially.
19524         (lisp-indent-defmethod): Use car/cdr instead of first/rest.
19525         (lisp-backquote-indentation): New user option.
19527 2002-03-12  Francesco Potort\e,Al\e(B  <pot@gnu.org>
19529         * progmodes/etags.el (tag-exact-file-name-match-p)
19530         (tag-file-name-match-p, tag-partial-file-name-match-p):
19531         Assume that the header of a tags section has either a number
19532         or nothing after the last comma.
19534 2002-03-11  Richard M. Stallman  <rms@gnu.org>
19536         * imenu.el (imenu-update-menubar-modified-tick): New variable.
19537         (imenu-update-menubar): Don't call imenu--make-index-alist
19538         if buffer has not changed since last time.
19540         * desktop.el (desktop-buffer-handlers): Doc fix.
19541         (desktop-buffer-file): Explicitly return BUF.
19543         * paren.el (show-paren-function): Move back in other direction
19544         to verify the match is correct.
19546         * mail/supercite.el (sc-select-attribution): Accept whatever value
19547         we get in CHOICE; there is no value meaning "try again".
19549 2002-03-11  Colin Walters  <walters@verbum.org>
19551         * shell.el (toplevel): Revert previous change to use pcomplete.
19552         (shell-mode): Ditto.
19553         (shell-pcomplete-setup-done): Remove.
19554         (shell-pcomplete): Ditto.
19555         (shell-pcomplete-reverse): Ditto.
19557         * comint.el: Remove documentation on setting up pcomplete.
19559 2002-03-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19561         * font-lock.el (java-font-lock-extra-types): Add "URL" as separate
19562         item.  Doc fix.
19564         * image.el (image-type-from-file-header): Make temporary buffer
19565         unibyte.
19567         * subr.el (add-to-list): Doc fix.
19569 2002-03-11  Miles Bader  <miles@gnu.org>
19571         * pcomplete.el (pcomplete-entries): Expand environment variables
19572         in filename.
19574 2002-03-10  Daniel Pfeiffer  <occitan@esperanto.org>
19576         * play/mpuz.el: Use defface instead of facemenu-get-face.
19578 2002-03-10  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
19580         * startup.el (command-line): Add call to emacs-session-restore if
19581         both x-session-id and x-session-previous-id are strings.
19583         * term/x-win.el (x-handle-smid): New function.
19584         (emacs-session-filename): New function.
19585         (emacs-session-save): New function.
19586         (emacs-save-session-functions): New variable.
19587         (emacs-session-restore): New function.
19589 2002-03-09  Eli Zaretskii  <eliz@is.elta.co.il>
19591         * simple.el (shell-command-on-region): Call push-mark with
19592         non-nil second arg, to suppress the "Mark set" message.
19594 2002-03-08  Richard M. Stallman  <rms@gnu.org>
19596         * textmodes/picture.el (picture-forward-column): New arg `interactive'
19597         is non-nil for an interactive call.  Use instead of interactive-p.
19598         (picture-backward-column): Likewise.
19600         * tar-mode.el (tar-untar-buffer): New function.
19602         * info.el (Info-fontify-node): Bind up-clicks, not down-clicks.
19603         Put the mouse-face on the entire xref, like the local keymap.
19605         * find-dired.el (find-name-dired): Use shell-quote-argument.
19607 2002-03-08  Daniel Pfeiffer  <occitan@esperanto.org>
19609         * play/mpuz.el (mpuz-unsolved-face, mpuz-solved-face)
19610         (mpuz-trivial-face, mpuz-text-face, mpuz-solve-when-trivial)
19611         (mpuz-allow-double-multiplicator): New options for nicer look and
19612         new features.
19613         (mpuz-put-number-on-board, mpuz-paint-number, mpuz-solve): New funs.
19614         (mpuz-check-all-solved, mpuz-random-puzzle)
19615         (mpuz-paint-statistics, mpuz-paint-digit, mpuz-close-game)
19616         (mpuz-show-solution): Functions streamlined and removed french
19617         style space before punctuation, added face support and optional
19618         solving of trivial results.
19620 2002-03-07  Colin Walters  <walters@verbum.org>
19622         * ibuf-macs.el (define-ibuffer-column): Add :summarizer property.
19624         * ibuffer.el (ibuffer-update-mode-name): Substitute "view time"
19625         instead of "recency" for clarity.
19626         (ibuffer-compile-format): Document more.  Handle new "summarizer"
19627         columns.
19628         (ibuffer-fontify-region-function): Ditto.
19629         (ibuffer-insert-buffer-line): Ditto.
19630         (ibuffer-map-lines): Ditto.
19631         (ibuffer-insert-buffers-and-marks): Ditto.
19632         (ibuffer-update-title-and-summary): Renamed from
19633         `ibuffer-update-title'.  Handle "summarizer" columns.
19634         (ibuffer-clear-summary-columns): New function.
19636         * ibuf-ext.el (ibuffer-filter-format-alist): Add type and group.
19638 2002-03-07  Gerd Moellmann  <gerd@gnu.org>
19640         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
19641         Use the other-window instead of the other-frame functions when
19642         the window is dedicated.
19644 2002-03-06  ShengHuo ZHU  <zsh@cs.rochester.edu>
19646         * textmodes/bibtex.el (bibtex-make-field): Call bibtex-find-text
19647         with SILENT so that a new field can be added.
19649 2002-03-06  Eli Zaretskii  <eliz@is.elta.co.il>
19651         * files.el (make-auto-save-file-name): Make sure the produced file
19652         name does not contain characters that are invalid for DOS/Windows
19653         filesystems.
19655         * dos-fns.el, w32-fns.el (make-auto-save-file-name):
19656         Remove replacement functions.
19658 2002-03-06  Gerd Moellmann  <gerd@gnu.org>
19660         * font-lock.el (lisp-font-lock-keywords-2): Highlight keywords of
19661         the form `:x'.
19663         * vc.el (vc-branch-part): Add autoload cookie.  This function can
19664         be called from vc-rcs-find-most-recent-rev when visiting a file
19665         checked into RCS in a CVS sandbox.
19667 2002-03-06  Andreas Schwab  <schwab@suse.de>
19669         * progmodes/hideif.el: Augment expression parser to handle
19670         conditional expressions.
19671         (hif-token-regexp): Also match `?' and `:'.
19672         (hif-tokenize): Handle `?' and ':' as tokens.
19673         (hif-expr): Parse conditional expressions.
19674         (hif-or-expr): Parse `||' expressions.
19675         (hif-and-expr): Renamed from hif-term.
19676         (hif-conditional): New function to evaluate a conditional
19677         expression.
19679 2002-03-06  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19681         * language/czech.el ("Czech"): Fix the documentation.
19683         * language/slovak.el ("Slovak"): Likewise.
19685 2002-03-05  ShengHuo ZHU  <zsh@cs.rochester.edu>
19687         * xml.el (xml-parse-attlist): Accept empty strings.
19689 2002-03-05  Eli Zaretskii  <eliz@is.elta.co.il>
19691         * mouse.el (mouse-show-mark): Remove the no-highlight alternative:
19692         all terminals now support highlighting of some kind.
19694         * language/european.el (mac-roman): Fix the safe-chars property.
19696 2002-03-05  Andre Spiegel  <spiegel@gnu.org>
19698         * vc.el (vc-transfer-file): Use `make-temp-file'.
19699         (vc-default-update-changelog): Remove conditional use of
19700         `make-temp-name'.
19702         * vc-cvs.el (vc-cvs-diff-tree): Fix typo in parameter names.
19704 2002-03-05  Michael Kifer  <kifer@cs.stonybrook.edu>
19706         * ediff-init.el: Comments.
19708         * ediff-hook.el: Got rid of autoloads. Not needed, since the hook
19709         is loaded.
19711         * ediff-mult.el (ediff-intersect-directories)
19712         (ediff-prepare-meta-buffer,ediff-get-directory-files-under-revision):
19713         Cleanup.
19714         (ediff-draw-dir-diffs): Now supports the "C" command in directory
19715         difference buffer.
19716         (ediff-dir-diff-copy-file): New function that implements copying
19717         of files from one Ediff dir to another
19718         (ediff-bury-dir-diffs-buffer): Kills the buffer instead.
19719         (ediff-append-custom-diff): Better error msgs.
19721         * ediff-util.el (ediff-compute-custom-diffs-maybe): Buglet fix.
19722         (ediff-inferior-compare-regions): Use
19723         ediff-clone-buffer-for-region-comparison. Better and simpler interface.
19725         * ediff.el (ediff-directories-internal): Cleanup.
19726         (ediff-clone-buffer-for-region-comparison): Better interface.
19728 2002-03-04  Richard M. Stallman  <rms@gnu.org>
19730         * emacs-lisp/easy-mmode.el (define-minor-mode):
19731         Use "P" in interactive spec of minor mode commands.
19733 2002-03-04  Stefan Monnier  <monnier@cs.yale.edu>
19735         * faces.el (face-spec-choose): Allow `t' to appear before the end.
19736         (mode-line, tool-bar, minibuffer-prompt, region, fringe, bold, italic)
19737         (bold-italic, underline, highlight, secondary-selection, fixed-pitch)
19738         (variable-pitch, trailing-whitespace): Don't use the old-style entries.
19739         (mode-line-inactive, header-line): Move the `t' section to the
19740         beginning so the `:inherit' setting can be shared.
19742 2002-03-04  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19744         * net/snmp-mode.el: Require tempo when compiling to prevent
19745         warnings.  Update copyright notice.
19747         * help.el (describe-key-briefly, describe-key): Interpret `undefined'
19748         like not defined at all.
19750 2002-03-03  Stefan Monnier  <monnier@cs.yale.edu>
19752         * textmodes/sgml-mode.el: Change maintainer to FSF.
19753         (sgml-start-tag-regex, sgml-font-lock-keywords-1, sgml-mode-common)
19754         (sgml-tags-invisible, sgml-beginning-of-tag):
19755         Allow _ : and non-ASCII in tag names, as required for XML.
19756         (sgml-name-char): Don't assume anything about charsets handled by
19757         encode-char.
19759         * textmodes/tex-mode.el (tex-guess-main-file): Handle the case
19760         where one of the buffers is narrowed.
19762         * hexl.el (hexlify-command, dehexlify-command): Remove.
19763         (hexlify-buffer, dehexlify-buffer): Use call-process-region
19764         rather than shell-command-on-region.
19766         * newcomment.el (comment-forward): Use forward-comment to skip
19767         over whitespace (or comments) even when comment-use-syntax is nil.
19769         * progmodes/cperl-mode.el (cperl-menu): Add "-emacs" to the version.
19771         * textmodes/xml-lite.el: New file.
19773 2002-03-03  Richard M. Stallman  <rms@gnu.org>
19775         * textmodes/artist.el (artist-system): Use make-temp-file.
19777         * progmodes/ps-mode.el (ps-run-make-tmp-filename): Use make-temp-file.
19779         * mail/sendmail.el (mail-recover-1): Increase non-random-len
19780         by 1 since we changed make-auto-save-file-name to add one
19781         fewer character to the buffer name.
19782         (mail-recover): Really show point at the right place
19783         in the *Directory* buffer.
19785         * files.el (make-auto-save-file-name): Use make-temp-file.
19787         * terminal.el (te-create-terminfo): Use make-temp-file
19788         to create the source file in a safe way.
19790 2002-03-03  Eli Zaretskii  <eliz@is.elta.co.il>
19792         * cus-start.el: Rename automatic-hscroll-step and
19793         automatic-hscroll-margin into hscroll-step and hscroll-margin.
19795         * frame.el (auto-hscroll-mode): Renamed from automatic-hscrolling.
19796         (automatic-hscrolling): Now a defvaralias for auto-hscroll-mode.
19798         * mouse.el (mouse-region-delete-keys): Add deletechar.
19800 2002-03-03  Sam Steingold  <sds@gnu.org>
19802         * play/snake.el (snake-score-file): Fixed parens (broken by the
19803         last patch).
19804         * play/tetris.el (tetris-score-file): Ditto.
19806 2002-03-03  Richard M. Stallman  <rms@gnu.org>
19808         * play/tetris.el (tetris-score-file): Put in home dir, not in /tmp.
19810         * play/snake.el (snake-score-file): Put in home dir, not in /tmp.
19812         * play/gamegrid.el (gamegrid-set-font, gamegrid-setup-face)
19813         (gamegrid-make-mono-tty-face): Fix usage of condition-case.
19815 2002-03-03  Thien-Thi Nguyen  <ttn@gnu.org>
19817         * calendar/diary-lib.el (list-diary-entries): Use `buffer-substring'
19818         instead of `buffer-substring-no-properties' to support enriched mode.
19820 2002-03-02  Richard M. Stallman  <rms@gnu.org>
19822         * find-dired.el (find-grep-dired): Call shell-quote-argument.
19823         Specify the -e option.
19824         Rename arg to `regexp'.
19826 2002-03-02  Milan Zamazal  <pdm@zamazal.org>
19828         * textmodes/tildify.el (tildify-string-alist): Add entry for xml-mode.
19830 2002-03-02  Miles Bader  <miles@gnu.org>
19832         * mwheel.el (mwheel-scroll): Remove `double' and `triple' from the
19833         event-modifiers before looking up in `mouse-wheel-scroll-amount'.
19834         If there's no applicable modifiers entry in the alist in
19835         `mouse-wheel-scroll-amount', fall back to the default, not to
19836         nil (which causes full screen scrolls).
19838 2002-03-01  Andreas Schwab  <schwab@suse.de>
19840         * textmodes/texnfo-upd.el (texinfo-start-menu-description):
19841         Remove extra paren in regexp.
19843 2002-03-01  Eli Zaretskii  <eliz@is.elta.co.il>
19845         * mouse.el (mouse-show-mark): Use display-mouse-p, not
19846         display-graphic-p, to decide whether to move point or use the
19847         highlighting.
19849 2002-02-28  Colin Walters  <walters@verbum.org>
19851         * eshell/esh-var.el (eshell-parse-variable-ref): Use `make-temp-file'.
19853         * calc/calc-graph.el (calc-gnuplot-tempfile): Don't expand against
19854         `temporary-file-directory'; we now do that in `calc-graph-file-cache'.
19855         (calc-temp-file-name): Use `make-temp-file'.
19857 2002-02-28  Richard M. Stallman  <rms@gnu.org>
19859         * font-lock.el (java-font-lock-extra-types):
19860         Match java.net.URL, etc.
19862 2002-02-28  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
19864         * hexl.el (hexl-options): Doc fix.
19865         Update Commentary section.
19867         * textmodes/sgml-mode.el (sgml-specials, sgml-quick-keys):
19868         Doc fixes.
19870 2002-02-28  Andre Spiegel  <spiegel@gnu.org>
19872         * vc.el (vc-revert-buffer): If the buffer is not saved, prompt
19873         the user to do that first.
19874         (vc-update): New function.
19876         * vc-hooks.el (vc-menu-map): New entry "Update to Latest Version",
19877         which calls vc-update.  Use the term "Base Version" instead of
19878         "Last Version" for the entries "Revert" and "Compare".
19880 2002-02-28  Kim F. Storm  <storm@cua.dk>
19882         * simple.el (shell-command-on-region): Report non-zero exit
19883         status in mode line instead of buffer.
19885 2002-02-27  Richard M. Stallman  <rms@gnu.org>
19887         * comint.el (comint-preoutput-filter-functions): Doc fix.
19888         (comint-output-filter-functions, comint-input-filter-functions)
19889         (comint-redirect-filter-functions): Likewise.
19891         (comint-redirect-preoutput-filter): Do the local-hook
19892         handling of t when running comint-redirect-filter-functions.
19893         (comint-output-filter): Likewise for comint-preoutput-filter-functions.
19895 2002-02-26  Richard M. Stallman  <rms@gnu.org>
19897         * paths.el (remote-shell-program): Add doc string.
19899 2002-02-26  Colin Walters  <walters@debian.org>
19901         * ibuf-ext.el (sorter mode-name): New.
19902         (ibuffer-do-occur): Don't quote ibuffer-marked-char.
19904         * calc/calc-ext.el (calc-scroll-left): Call scroll-left
19905         interactively, so they do something.
19906         (calc-scroll-right): Ditto.
19908 2002-02-26  Eli Zaretskii  <eliz@is.elta.co.il>
19910         * international/mule.el (ctext-pre-write-conversion): Handle the
19911         case when FROM is a string, and when we are called from
19912         build_annotations_2.
19914 2002-02-26  Richard M. Stallman  <rms@gnu.org>
19916         * rect.el (clear-rectangle-line): Reindent to the same column
19917         that move-to-column reached when it tried to go to endcol.
19919         * icomplete.el (icomplete-exhibit): Use minibuffer-prompt-end.
19921 2002-02-26  Ivar Rummelhoff  <ivarru@math.uio.no>
19923         * winner.el (winner-boring-buffers, winner-set): A window which
19924         displays a buffer whose name is in the list
19925         `winner-boring-buffers', will no longer be restored by `winner-undo'.
19926         (winner-sorted-window-list): Used to improve comparison between
19927         window configurations.
19928         (winner-win-data): Simplified and moved.
19929         (winner-conf): Simplified (now uses `winner-win-data').
19930         (winner-change-fun, winner-save-old-configurations)
19931         (winner-save-(un)conditionally, winner-redo): Changes made while in
19932         the minibuffer will be ignored.  (Such changes are undone upon
19933         exit for the minibuffer, anyway.)
19934         (winner-set-conf): Preserve selected window whenever possible.
19935         (winner-make-point-alist): Simplified.
19936         (winner-mode, winner-save-unconditionally): Save current window
19937         configuration on entering minibuffer.
19938         (minor-mode-alist): Don't add winner-mode to `minor-mode-alist',
19939         since it does not change the overall behavior of Emacs.
19941 2002-02-26  Eli Zaretskii  <eliz@is.elta.co.il>
19943         * international/mule-conf.el (compound-text): Renamed back from
19944         compound-text-no-extensions.
19945         (ctext-no-compositions): Remove the mime-charset property.
19946         (compound-text-with-extensions): Renamed from compound-text.
19947         (x-ctext-with-extensions, ctext-with-extensions): Renamed aliases.
19949 2002-02-26  Juanma Barranquero  <lektu@terra.es>
19951         * faces.el (list-faces-display): Fix typo.
19953 2002-02-25  Richard M. Stallman  <rms@gnu.org>
19955         * frame.el (focus-follows-mouse): Doc fix.
19957 2002-02-26  Miles Bader  <miles@gnu.org>
19959         * mwheel.el (mouse-wheel-mode): Pass vectors instead of symbols
19960         to `define-key', since it no longer accepts the latter.
19962 2002-02-25  Jason Rumney  <jasonr@gnu.org>
19964         * term/w32-win.el (mouse-wheel-scroll-line): Use car of
19965         mouse-wheel-scroll-amount.
19967         * w32-vars.el (mouse-wheel-scroll-amount): Use same definition as
19968         mwheel.el.
19970         * language/japanese.el (iso-2022-jp-2): Add init-bol flag.
19972 2002-02-25  Andre Spiegel  <spiegel@gnu.org>
19974         * vc.el (vc-diff-switches-list): Fix prev change, making the macro
19975         consistent with the others that take a backend name as a symbol.
19977         * vc-cvs.el, vc-rcs.el, vc-sccs.el: Fix calls to vc-diff-switches-list.
19979 2002-02-25  Kim F. Storm  <no-spam@cua.dk>
19981         * comint.el (comint-replace-by-expanded-filename): Do nothing if
19982         comint-match-partial-filename returns nil.
19984         * shell.el (shell-pcomplete-setup-done): New variable.
19985         (shell-pcomplete): Use it instead of shell-pcomplete-setup-p.
19986         (shell-pcomplete-reverse): Ditto.
19988 2002-02-25  Per Abrahamsen  <abraham@dina.kvl.dk>
19990         * ps-print.el (ps-print-printer): Added `lpr' customize group member.
19992 2002-02-25  Juanma Barranquero  <lektu@terra.es>
19994         * subr.el (save-match-data): Doc fix.
19996         * ielm.el (ielm-prompt): Allow customization; make it read-only.
19998 2002-02-25  Kim F. Storm  <storm@cua.dk>
20000         * shell.el (shell-mode-map): Add "Complete" header so completion
20001         menu is shown on the menu bar in shell mode.
20003 2002-02-25  Stefan Monnier  <monnier@cs.yale.edu>
20005         * ielm.el (ielm-match-data): New var.
20006         (inferior-emacs-lisp-mode): Make it buffer-local.
20007         (ielm-eval-input): Use it to preserve match-data between inputs.
20009 2002-02-24  Juanma Barranquero  <lektu@terra.es>
20011         * ielm.el (inferior-emacs-lisp-mode): Use hexl for the dummy process.
20013 2002-02-24  Per Abrahamsen  <abraham@dina.kvl.dk>
20015         * cus-edit.el (custom-unlispify-remove-prefixes): Add to
20016         `custom-buffer' customize group.
20018 2002-02-23  Kim F. Storm  <storm@cua.dk>
20020         * help.el (where-is): Use remap-command.
20022         * help-fns.el (describe-function-1): Use remap-command.
20024         * subr.el (global-set-key, local-set-key): Undo 2002-02-06
20025         change (no longer accept a symbol for the KEY argument).
20027 2002-02-23  Colin Walters  <walters@debian.org>
20029         * calc/calcalg3.el (calc-invent-variables): Convert integer to string.
20030         * calc/calcalg2.el (math-solve-get-sign): Ditto.
20032         * ibuffer.el (ibuffer-compile-format): Don't uselessly bind `pt'
20033         in generated function.
20035         * ibuf-ext.el (ibuffer-old-time): Change to hours.
20036         (ibuffer-mark-old-buffers): Handle it.
20038         * shell.el (shell-pcomplete, shell-pcomplete-reverse): New functions.
20039         (toplevel): Bind them.
20040         (shell-mode): Don't set `comint-dynamic-complete-functions'; it is
20041         not necessary now that we use pcomplete.
20043         * comint.el: Document how use new pcomplete completion facility.
20045 2002-02-23  Richard M. Stallman  <rms@gnu.org>
20047         * mail/rmailsum.el (rmail-summary-output): Properly advance
20048         to next message, by calling rmail-summary-goto-msg.
20050         * net/browse-url.el (browse-url-galeon): Specify --existing
20051         for an existing window.  Use --noraise rather than --no-raise.
20052         Don't use -x.
20054 2002-02-22  Eli Zaretskii  <eliz@is.elta.co.il>
20056         * progmodes/etags.el (find-tag-noselect, find-tag)
20057         (find-tag-other-window, find-tag-other-frame, find-tag-regexp):
20058         Fix a typo in doc strings.
20060 2002-02-20  Deepak Goel  <deego@glue.umd.edu>
20062         * play/snake.el (snake-velocity-queue, snake-update-velocity)
20063         (snake-final-x-velocity, snake-final-y-velocity):
20064         New variable and functions.  Store user's keypresses
20065         into a queue and pop from the queue each subsequent turn.
20066         (snake-update-game, snake-move-left)
20067         (snake-move-right, snake-move-up, snake-move-down, snake-active-p)
20068         (snake-start-game): Use that queue.
20069         (snake-use-glyphs-flag): Renamed from snake-use-glyphs.
20070         (snake-use-color-flag): Likewise.
20071         (snake-mode): Rename uses of those variables.
20073 2002-02-22  Eli Zaretskii  <eliz@is.elta.co.il>
20075         Support for ICCCM  Extended Segments in X selections:
20077         * international/mule-conf.el (ctext-no-compositions): New coding
20078         system.
20079         (compount-text-no-extensions): Renamed from compound-text.
20080         (x-ctext-no-extensions, ctext-no-extensions): Aliases for
20081         compound-text-no-extensions.
20082         (compound-text): Redefined using post-read and pre-write conversions.
20084         * international/mule.el (non-standard-icccm-encodings-alist)
20085         (non-standard-designations-alist): New variables.
20086         (ctext-post-read-conversion, ctext-pre-write-conversion):
20087         New functions.
20089 2002-02-21  Jonathan Kamens  <jik@kamens.brookline.ma.us>
20091         * vc.el (vc-default-init-version): Update documentation to
20092         indicate that the backend can override the default init version.
20093         (vc-register): Use the backend init-version function, if it
20094         exists, to determine the initial version of a file.
20095         (vc-diff-switches-list): Don't symbol-quote backend, since it's
20096         already a symbol.  Don't fail if vc-BACKEND-diff-switches isn't bound.
20098         * vc-hooks.el (vc-mode-line): Set vc-mode to nil if the file is
20099         not version-controlled.  This is necessary, e.g., if the file has
20100         just been reverted, and thus was previously under version control
20101         but isn't any longer.
20102         (vc-find-file-hook): Likewise.
20104 2002-02-21  Martin Lorentzson  <Martin.Lorentzson@telia.com>
20106         * vc-cvs.el (vc-cvs-sticky-date-format-string): New variable.
20107         (vc-cvs-sticky-tag-display): New variable.
20108         (vc-cvs-mode-line-string): Add sticky-tag to the mode-line.
20109         (vc-cvs-checkin): If the input revision is a valid symbolic tag
20110         name, we create it as a branch, commit and switch to it.
20111         (vc-cvs-retrieve-snapshot): Set file-property sticky-tag.
20112         (vc-cvs-valid-symbolic-tag-name-p): New function.
20113         (vc-cvs-parse-sticky-tag): New function.
20114         (vc-cvs-parse-entry): Add parsing of sticky tags.
20116 2002-02-21  Per Abrahamsen  <abraham@dina.kvl.dk>
20118         * toolbar/tool-bar.el (tool-bar-mode): Revert the :init-value to
20119         nil, and then explicitly set the standard-value to t.
20121 2002-02-20  Sam Steingold  <sds@gnu.org>
20123         * textmodes/flyspell.el (flyspell-mode): Autoload the variable
20124         since it is used in the menu bar.
20126 2002-02-20  Richard M. Stallman  <rms@gnu.org>
20128         * simple.el (shell-command-on-region): Display the exit status
20129         when a command fails.
20131         * subr.el (add-hook): Doc fix.
20133         * frame.el (other-frame): Doc fix.
20135         * simple.el (yank): Clear `field' property.
20137 2002-02-20  Tom Tromey  <tromey@cachet>
20139         * progmodes/tcl.el (tcl-do-fill-paragraph): Find and fill on more
20140         natural paragraph boundaries.  Don't fail at beginning of buffer.
20142 2002-02-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20144         * tar-mode.el (tar-next-line, tar-previous-line): Add doc string,
20145         call the argument "arg" to match plain next-line and
20146         previous-line.  From Kevin Ryde <user42@zip.com.au>.
20148 2002-02-19  Sam Steingold  <sds@gnu.org>
20150         * mwheel.el (mouse-wheel-scroll-amount): Can specify different
20151         scroll amounts for different modifiers now.
20152         (mwheel-scroll): Handle the new `mouse-wheel-scroll-amount'
20153         format properly.
20154         (mouse-wheel-mode): Ditto.
20156 2002-02-19  Eli Zaretskii  <eliz@is.elta.co.il>
20158         * textmodes/bibtex.el (bibtex-parse-keys): Put save-match-data
20159         around function body.
20161         * net/browse-url.el (browse-url-maybe-new-window): Reverse the
20162         sense of the comparison, to match the doc strings of functions
20163         that use this macro.
20165 2002-02-19  Per Abrahamsen  <abraham@dina.kvl.dk>
20167         * facemenu.el (describe-text-mode-map): Removed bootstrap kludge.
20169         * toolbar/tool-bar.el (tool-bar-mode): Made the standard value t.
20170         * menu-bar.el (menu-bar-mode): Ditto.
20172 2002-02-18  Andreas Schwab  <schwab@suse.de>
20174         * replace.el (query-replace-regexp-eval): Doc fix.
20176 2002-02-18  Colin Walters  <walters@verbum.org>
20178         * calc/calcalg2.el (math-solve-get-int): Convert return value from
20179         `math-get-from-counter' to a string before calling `concat' on it.
20181         * calc/calc-maint.el (calc-split-manual): Look for calc.texi.
20182         (calc-public-autoloads): Obsolete; remove.
20183         (calc-private-autoloads): Ditto.
20184         (calc-add-autoloads): Ditto.
20186         * calc/calc-macs.el (calc-with-default-simplification): Use &rest
20187         for body.
20189 2002-02-17  Jason Rumney  <jasonr@gnu.org>
20191         * w32-win.el (x-option-alist, x-long-option-alist)
20192         (x-switch-definitions): Remove, use command-line-x-option-alist
20193         instead to be consistent with X.
20194         (x-handle-initial-switch): New function.
20196 2002-02-17  Eli Zaretskii  <eliz@is.elta.co.il>
20198         * faces.el (mode-line-inactive, header-line): Add the :inherit
20199         attribute for the tty case.
20201 2002-02-17  stanislav shalunov  <shalunov@internet2.edu>
20203         * mail/uce.el (uce-reply-to-uce): Fix incorrect behavior when
20204         invoked from Rmail with full headers displayed.
20206 2002-02-17  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
20208         * emacs-lisp/lisp.el (mark-defun): Don't leave multiple marks
20209         when repeated.
20210         * textmodes/paragraphs.el (mark-paragraph): Ditto.
20212 2002-02-17  Per Abrahamsen  <abraham@dina.kvl.dk>
20214         * menu-bar.el (menu-bar-showhide-menu): Added speedbar.
20215         (menu-bar-tools-menu): Removed speedbar.
20217         * textmodes/ispell.el (ispell-menu-map): Added `customize-ispell'
20218         and `flyspell-mode' entries.
20220         * textmodes/flyspell.el (flyspell): Add to ispell group.
20222 2002-02-17  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
20224         * emacs-lisp/lisp.el (mark-sexp): Don't leave multiple marks when
20225         repeated.
20226         (mark-defun): Mark more if repeated.
20228 2002-02-17  Colin Walters  <walters@verbum.org>
20230         * ibuf-ext.el (ibuffer-toggle-sorting-mode): Make it work.
20232         * ibuffer.el (ibuffer-truncate-lines): New option.
20233         (ibuffer-mode): Use it.
20235 2002-02-17  Kim F. Storm  <storm@cua.dk>
20237         * cus-start.el: Add mouse-highlight.
20239 2002-02-16  Eli Zaretskii  <eliz@is.elta.co.il>
20241         * Makefile.in (DONTCOMPILE): Remove cus-start.el.
20243         * cus-start.el: Add automatic-hscroll-margin and
20244         automatic-hscroll-step.
20246 2002-02-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20248         * cus-start.el (x-autoselect-window): Allow customization.
20250         * eshell/em-alias.el (eshell-alias-initialize): Do not use
20251         make-local-hook.
20253         * eshell/em-cmpl.el (eshell-cmpl-initialize): Likewise.
20255         * eshell/em-dirs.el (eshell-dirs-initialize): Likewise.
20257         * eshell/em-glob.el (eshell-glob-initialize): Likewise.
20259         * eshell/em-hist.el (eshell-hist-initialize): Likewise.
20261         * eshell/em-pred.el (eshell-pred-initialize): Likewise.
20263         * eshell/em-prompt.el (eshell-prompt-initialize): Likewise.
20265         * eshell/em-rebind.el (eshell-rebind-initialize): Likewise.
20267         * eshell/em-smart.el (eshell-smart-initialize): Likewise.
20269         * eshell/em-unix.el (eshell-unix-initialize): Likewise.
20271         * eshell/esh-cmd.el (eshell-cmd-initialize): Likewise.
20273         * eshell/esh-ext.el (eshell-ext-initialize): Likewise.
20275         * eshell/esh-io.el (eshell-io-initialize): Likewise.
20277         * eshell/esh-mode.el (eshell-mode): Likewise.
20279         * eshell/esh-test.el (eshell-show-usage-metrics): Likewise.
20281         * eshell/esh-var.el (eshell-var-initialize): Likewise.
20283         * progmodes/idlw-shell.el (idlwave-shell-mode): Likewise.
20285         * progmodes/idlwave.el (idlwave-mode): Likewise.
20287         * textmodes/reftex-sel.el (reftex-select-label-mode)
20288         (reftex-select-bib-mode): Likewise.
20290 2002-02-16  John Wiegley  <johnw@gnu.org>
20292         * eshell/em-hist.el (eshell-hist-initialize): When in the
20293         minibuffer, use the global value of `eshell-history-ring', and
20294         never save it to disk, or ask to save it to disk.  This allows
20295         users of session.el to control whether its global state should be
20296         persisted or not.
20297         (eshell-add-command-to-history): Don't write Eshell's history out
20298         to disk, let the governing mode control that upon exit.
20300 2002-02-16  Eli Zaretskii  <eliz@is.elta.co.il>
20302         * eshell/eshell.el (eshell-command): Before reading from the
20303         minibuffer, add eshell-add-command-to-history to
20304         minibuffer-exit-hook, and remove it after read-from-minibuffer
20305         returns.
20307         * eshell/em-hist.el (eshell-add-input-to-history): New function,
20308         with most of the code from eshell-add-to-history.
20309         (eshell-add-command-to-history): New function, to record in
20310         eshell-history the commands run via eshell-command.
20311         (eshell-add-to-history): Call eshell-add-command-to-history to do
20312         most of the work.
20314 2002-02-16  John Wiegley  <johnw@gnu.org>
20316         * eshell/esh-ext.el (eshell-external-command): Added a fix for
20317         XEmacs' new dired.el, which adds a global entry in the
20318         `file-name-handler-alist'.
20320 2002-02-16  John Wiegley  <johnw@gnu.org>
20322         * align.el (align-region): Added a missing name argument.
20324 2002-02-16  John Wiegley  <johnw@gnu.org>
20326         * eshell/esh-ext.el (eshell-script-interpreter): Allow whitespace
20327         after the #! of a shell interpretor specification.
20329 2002-02-15  Richard M. Stallman  <rms@gnu.org>
20331         * help.el (describe-key-briefly): Make output in INSERT case
20332         look just like what is displayed in the normal case.
20334 2002-02-15  Andreas Schwab  <schwab@suse.de>
20336         * textmodes/tex-mode.el (tex-font-lock-keywords-2):
20337         Require non-letter after specials.
20339 2002-02-15  Eli Zaretskii  <eliz@is.elta.co.il>
20341         * menu-bar.el (menu-bar-tools-menu): Add an item for Calculator.
20343 2002-02-15  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
20345         * simple.el (mark-word): Mark more if repeated.
20346         * textmodes/paragraphs.el (mark-paragraph): Ditto.
20347         (mark-end-of-sentence): Ditto.
20349 2002-02-15  Per Abrahamsen  <abraham@dina.kvl.dk>
20351         * wid-edit.el (widgetp): Made it more robust.
20353 2002-02-14  Per Abrahamsen  <abraham@dina.kvl.dk>
20355         * facemenu.el (describe-text-done): New function.
20356         (describe-text-mode-map): New variable.
20357         (describe-text-mode-hook): New option.
20358         (describe-text-mode): New function.
20359         (describe-text-widget): New function.
20360         (describe-text-sexp): New function.
20361         (describe-text-properties): New function.
20362         (describe-text-category): New command.
20363         (describe-text-at): New command.
20364         (facemenu-menu): Replace `list-text-properties-at' with
20365         `describe-text-at' in the menu.
20367         * wid-edit.el (widgetp): New function.
20368         * wid-edit.el (widget-keymap, widget-insert, widget-setup): Autoload.
20370         * emacs-lisp/pp.el (pp-to-string): Autoloaded.
20372         * wid-browse.el: Removed version and x-url keywords.
20374 2002-02-13  Kim F. Storm  <storm@cua.dk>
20376         * cus-start.el (mode-line-in-non-selected-windows):
20377         Allow customization.
20379 2002-02-13  Richard M. Stallman  <rms@gnu.org>
20381         * textmodes/bibtex.el (bibtex-parse-buffers-stealthily):
20382         Tell bibtex-parse-keys to output no progress messages.
20384 2002-02-12  Eli Zaretskii  <eliz@is.elta.co.il>
20386         * progmodes/pascal.el (pascal-imenu-generic-expression):
20387         Add menu-title and fix parentheses.
20389 2002-02-12  Per Abrahamsen  <abraham@dina.kvl.dk>
20391         * menu-bar.el (menu-bar-options-save): Removed `truncate-lines'.
20392         (menu-bar-options-menu): Don't set default value for `truncate-lines'.
20394 2002-02-12  Per Abrahamsen  <abraham@dina.kvl.dk>
20396         * menu-bar.el (menu-bar-options-save): Only save
20397         `current-language-environment' and `default-input-method' when
20398         marked as customized.
20400         * international/mule-cmds.el
20401         (setup-specified-language-environment):
20402         Mark `current-language-environment' as customized.
20403         (set-input-method): Mark `default-input-method' as customized when
20404         called interactively.
20405         (toggle-input-method): Ditto.
20407 2002-02-11  Colin Walters  <walters@verbum.org>
20409         * ibuffer.el (ibuffer-switch-format): Supply required argument for
20410         `ibuffer-current-formats'.
20412 2002-02-11  Miles Bader  <miles@gnu.org>
20414         * faces.el (mode-line-inactive): Add dark-background variant.
20416 2002-02-11  Per Abrahamsen  <abraham@dina.kvl.dk>
20418         * toolbar/tool-bar.el (tool-bar-mode): Removed standard value.
20419         * menu-bar.el (menu-bar-mode): Ditto.
20420         * cus-edit.el (customize-mark-to-save): Always save variables
20421         without a standard value.
20423         * menu-bar.el (menu-bar-make-toggle): Made it aware of customize.
20424         (menu-bar-options-save): Ditto.
20425         (menu-bar-showhide-menu): Ditto.
20426         (menu-bar-options-menu): Ditto.
20427         (menu-bar-scroll-bar-right, menu-bar-scroll-bar-left)
20428         (menu-bar-scroll-bar-none): Remove.
20429         (menu-bar-showhide-scroll-bar-menu): Use customize aware lambda
20430         expressions instead.
20432         * cus-edit.el (customize-set-value): Return value.
20433         (customize-set-variable): Ditto.
20434         (customize-save-variable): Ditto.
20435         (customize-set-variable): Load dependencies before setting value.
20436         (custom-load-symbol): Autoload it.
20437         (customize-mark-as-set): New function.
20439 2002-02-11  Eli Zaretskii  <eliz@is.elta.co.il>
20441         * cus-start.el: Don't warn about "x-*" symbols when building a
20442         non-GUI version.
20444 2002-02-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20446         * strokes.el (strokes-do-stroke, strokes-do-complex-stroke):
20447         Doc fix.
20448         (strokes-help): Do not use doubled with-output-to-temp-buffer.
20449         Fix the help string.
20450         (strokes-prompt-user-save-strokes): Fix typo.
20451         (strokes-list-strokes): Use proper exit-action argument for
20452         view-buffer.  Update copyright notice.
20454         * international/mule-diag.el: Various doc and message fixes.
20455         (non-iso-charset-alist): Add mac-roman.  Don't add entries for
20456         codepages already present.
20457         (list-block-of-chars): Display space for null entries in
20458         translation table.  Display tab specially.
20459         (list-non-iso-charset-chars): Check for null charsets.  Use pop
20460         for clarity.  Don't break 8-bit sets into sections between ranges.
20461         (list-charset-chars): Avoid indent-tabs-mode.
20462         (describe-char-after): Maybe use the text property for syntax
20463         table information.  Maybe report char-code-property-table info.
20464         Maybe report character's unicode.  Tweak printing of list info.
20465         (list-input-methods): Add xref buttons.
20466         (dump-charsets, dump-codings): Deleted (obsolete).
20467         From Dave Love <fx@gnu.org>.
20469 2002-02-10  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20471         * menu-bar.el (menu-bar-showhide-menu): Rename functions for toggling.
20473 2002-02-10  Michael Kifer  <kifer@cs.stonybrook.edu>
20475         * viper-util.el (viper-read-key-sequence): Fix so it'll read
20476         fast key sequences in emacs native mode
20477         (viper-events-to-keys): Delete.
20479         * viper.el (describe-key, describe-key-briefly): Get rid of
20480         viper-events-to-keys.
20482         * ediff-init.el (ediff-has-gutter-support): Steven Turnbull's patch.
20484         * ediff-wind.el (ediff-setup-control-frame):
20485         Use ediff-has-gutter-support.
20487         * ediff-util.el (ediff-dispose-of-variant-according-to-user):
20488         check if buff is alive.
20490         * ediff.el: Typo in comment.
20492 2002-02-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20494         * menu-bar.el (menu-bar-options-save): Take care of
20495         line-number-mode and column-number-mode variables.
20496         (menu-bar-showhide-menu): New menu-items "Show Line Number" and
20497         "Show Column Number" in "Show/Hide" menu.
20499 2002-02-09  Richard M. Stallman  <rms@gnu.org>
20501         * mail/mailabbrev.el (mail-mode-map): Use eval-after-load to change it.
20503 2002-02-09  Kim F. Storm  <storm@cua.dk>
20505         * faces.el (mode-line-inactive): New face for mode-line for
20506         non-selected windows.
20507         (mode-line): Doc fix: Only used for selected window.
20509 2002-02-08  Eli Zaretskii  <eliz@is.elta.co.il>
20511         * calendar/cal-menu.el (calendar-mode-map): Change the menu item's
20512         name to "Insert Diary Entry".
20514 2002-02-08  Stefan Monnier  <monnier@cs.yale.edu>
20516         * font-lock.el (save-buffer-state): Use restore-buffer-modified-p.
20517         (c-font-lock-syntactic-face-function): Accept doxygen-style comments.
20519 2002-02-08  Richard M. Stallman  <rms@gnu.org>
20521         * textmodes/text-mode.el (text-mode-hook-identify): Define as no-op.
20523 2002-02-08  Andreas Schwab  <schwab@suse.de>
20525         * calc/calc.el (calcDigit-key): Use minibuffer-prompt-end instead
20526         of point-min.
20528 2002-02-08  Eli Zaretskii  <eliz@is.elta.co.il>
20530         * net/ange-ftp.el (ange-ftp-process-handle-line)
20531         (ange-ftp-set-xfer-size): If the file's size is a float, divide
20532         by 1024 instead of using ash.
20534         * international/mule-cmds.el (select-safe-coding-system):
20535         State the buffer's name in the message popped in the *Warning* buffer,
20536         and make sure the offending buffer is displayed.
20538 2002-02-07  Markus Rost  <rost@math.ohio-state.edu>
20540         * ffap.el (ffap-newsgroup-p): Test for non-nil symbol-value of htb.
20542 2002-02-07  Richard M. Stallman  <rms@gnu.org>
20544         * terminal.el (terminal-map): Define [menu-bar] so global def is seen.
20546         * register.el (list-registers): New command.
20547         (describe-register-1): New subroutine, taken out of view-register.
20549         * emacs-lisp/copyright.el (copyright-regexp):
20550         Delete the unibyte copyright symbol; it's redundant.
20551         Fix a spazz in the multibyte encoding here.
20553 2002-02-07  Dave Love  <fx@gnu.org>
20555         * language/cyril-util.el (cyrillic-encode-koi8-r-char)
20556         (cyrillic-encode-alternativnyj-char): Get translation tables from
20557         symbol properties, not as variables.
20558         (standard-display-cyrillic-translit): Include unicodes.
20560 2002-02-06  Kim F. Storm  <storm@cua.dk>
20562         * help.el (where-is): Report remapped commands.
20564         * help-fns.el (describe-function-1): Ditto.
20566         * subr.el (global-set-key, local-set-key): Accept a symbol for the
20567         KEY argument (like define-key).
20569 2002-02-06  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20571         * textmodes/flyspell.el (flyspell-insert-function): Doc fix.
20573 2002-02-06  Richard M. Stallman  <rms@gnu.org>
20575         * mail/mailabbrev.el: Require sendmail only at compile time.
20576         (mail-mode-header-syntax-table): Var deleted.
20577         (mail-abbrev-syntax-table): Init to nil, will compute when needed.
20578         (sendmail-pre-abbrev-expand-hook): Only temporarily change
20579         local-abbrev-table and the syntax table.
20580         Compute mail-abbrev-syntax-table if that has not been done.
20582         * progmodes/compile.el (grep-compute-defaults): Definition moved up.
20584         * emacs-lisp/debug.el (debugger-frame-offset): Var deleted.
20585         (debugger-frame-number): Figure out the offset directly.
20586         (debugger-setup-buffer): Don't use debugger-frame-offset.
20587         (debugger-frame, debugger-frame-clear): Likewise.
20588         (debugger-jump): Don't alter debugger-frame-offset.
20590         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
20591         Replace foo-p as var name with foo-flag, not foo-p-flag.
20593         * hilit-chg.el (highlight-changes-active-string): Default to +Chg.
20594         (highlight-changes-passive-string): Default to -Chg.
20595         (highlight-changes-global-modes): Doc fix.
20597         * dired.el (dired-get-filename): Add /: when appropriate
20598         to avoid taking a local name as remote.
20600         * files.el (file-name-non-special): Add special handling for
20601         file-name-sans-versions, file-name-completion, and
20602         file-name-all-completions.
20604         * isearch.el (isearch-update): Don't update display in kbd macro.
20605         (isearch-lazy-highlight-new-loop): Do nothing in kbd macro.
20607         * subr.el (force-mode-line-update): Doc fix.
20609         * subr.el (atomic-change-group, prepare-change-group)
20610         (activate-change-group, accept-change-group, cancel-change-group):
20611         New functions.
20613         * simple.el (undo-get-state, undo-revert-to-state): Fns deleted.
20614         (transpose-subr-1): Use atomic-change-group.
20616         * subr.el (add-minor-mode): Include the mode's lighter string
20617         in the minor mode menu item name.
20619         * mail/rmail.el (rmail-toggle-header): Avoid possibly slow call to
20620         rmail-count-screen-lines starting from (point-min).
20622         * startup.el (use-fancy-splash-screens-p): Need 19 lines,
20623         beyond the image height, to use the fancy splash screen.
20625         * textmodes/text-mode.el (text-mode-hook-identify): Function deleted.
20626         (text-mode): Set text-mode-variant here.
20628 2002-02-06  Eli Zaretskii  <eliz@is.elta.co.il>
20630         * play/pong.el (pong-height): Don't use height that exceeds the
20631         frame height.
20632         (pong-border-options): Make the border colors slightly more bright.
20634         * play/gamegrid.el (gamegrid-display-type): Treat any
20635         color-capable display as color-x, if display-color-p is fboundp.
20636         (gamegrid-make-color-x-face): Don't call gamegrid-color twice.
20637         (gamegrid-make-color-tty-face): Use the value of color, not the
20638         symbol itself.  Don't call gamegrid-color.
20640 2002-02-05  Eli Zaretskii  <eliz@is.elta.co.il>
20642         * gud.el (gud-refresh): Call recenter only after we are sure we
20643         are in the right window.
20645 2002-02-05  Per Abrahamsen  <abraham@dina.kvl.dk>
20647         * cus-edit.el (customize-mark-to-save): New function.
20648         * menu-bar.el (menu-bar-options-save): Rewrote.
20650 2002-02-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20652         * cus-start.el (x-use-underline-position-properties):
20653         Allow customization.
20655 2002-02-04  Simon Josefsson  <jas@extundo.com>
20657         * dired.el (dired-load-hook, dired-mode-hook)
20658         (dired-before-readin-hook, dired-after-readin-hook): Defcustom.
20660 2002-02-03  Colin Walters  <walters@verbum.org>
20662         * ibuf-ext.el (ibuffer-filter-format-alist)
20663         (ibuffer-cached-filter-formats, ibuffer-compiled-filter-formats):
20664         New variables.
20665         * ibuffer.el (ibuffer): Remove link; the "home page" for ibuffer
20666         is now the Emacs CVS tree.
20667         (ibuffer-formats): Doc fix.
20668         (ibuffer-active-formats-name, ibuffer-current-formats): New functions.
20669         (ibuffer-current-format): Use them.
20670         (ibuffer-recompile-formats, ibuffer-check-formats)
20671         (ibuffer-switch-format, ibuffer-update-title):
20672         Add support for ibuffer-filter-format-alist.
20673         (define-ibuffer-column process): Remove unncessary consing.
20675         * ibuf-macs.el (define-ibuffer-column): Add beginnings of support
20676         for a summary column.
20678 2002-02-03  Andreas Schwab  <schwab@suse.de>
20680         * window.el (save-selected-window): Move macro before first use.
20681         (balance-windows): Fix misplaced parenthesis.
20683 2002-02-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20685         * calculator.el (calculator-displayers): Doc fixes.
20687 2002-02-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20689         * menu-bar.el (menu-bar-help-menu): Use different text for tool-tip.
20690         (menu-bar-options-save): Save also the value of `display-time-mode'.
20691         (showhide-date-time): New function.
20692         (menu-bar-showhide-menu): New menu-item "Date and time".
20694 2002-02-03  Eli Zaretskii  <eliz@is.elta.co.il>
20696         * mail/rmail.el (rmail): Use find-buffer-visiting instead of
20697         get-file-buffer to check for rmail buffer existence.
20699         * term.el (term-emulate-terminal): Extract proper command string
20700         which is supplied to term-command-hook.
20702 2002-02-03  Richard M. Stallman  <rms@gnu.org>
20704         * international/quail.el (quail-help): Don't call help-setup-xref.
20706         * international/mule-cmds.el (describe-input-method):
20707         Call help-setup-xref here.
20708         (describe-current-input-method): Doc fix.
20710         * novice.el (disabled-command-hook): Clarify output text.
20711         Indent the paragraph from the command's doc string.
20713         * dabbrev.el (dabbrev--goto-start-of-abbrev):
20714         Exit loop on beginning of field rather than bobp.
20716 2002-02-02  Eli Zaretskii  <eliz@is.elta.co.il>
20718         * mail/uce.el (uce-reply-to-uce): Prune the headers before copying
20719         the message text into the *mail* buffer, and restore the pruned
20720         state after that.
20722         * mail/rmail.el (rmail-redecode-body): Prune the headers before
20723         looking for X-Coding-System header, and restore the pruned state
20724         before returning.
20726 2002-02-02  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20728         * cus-edit.el (customize-save-variable): Fix typo in prompt.
20730         These changes integrate new version of flyspell.el from its
20731         maintainer, Manuel Serrano:
20733         * textmodes/flyspell.el (flyspell-issue-message-flag): New user option.
20734         (flyspell-mode-on, flyspell-notify-misspell)
20735         (flyspell-small-region, flyspell-external-point-words)
20736         (flyspell-large-region): Use it
20737         (flyspell-before-incorrect-word-string)
20738         (flyspell-after-incorrect-word-string): New user options.
20739         (make-flyspell-overlay): Use them.
20740         (flyspell-version): New function.
20741         (flyspell-incorrect-face, flyspell-duplicate-face): Adapt face
20742         definitions to use :weight.
20743         (flyspell-insert-function): New user option.
20744         (flyspell-auto-correct-word, flyspell-correct-word)
20745         (flyspell-xemacs-correct): Use it.
20746         (flyspell-define-abbrev): New function.
20747         (flyspell-auto-correct-word, flyspell-correct-word)
20748         (flyspell-xemacs-correct): Use it.
20749         (make-flyspell-overlay): Use `evaporate' property.
20750         (flyspell-auto-correct-word, flyspell-correct-word): Remove overlay.
20751         (flyspell-emacs-popup): Use `session' instead of `accept'.
20752         (flyspell-auto-correct-previous-pos): New variable.
20753         (flyspell-auto-correct-previous-hook)
20754         (flyspell-auto-correct-previous-word): New functions.
20756 2002-02-02  Eli Zaretskii  <eliz@is.elta.co.il>
20758         * novice.el (enable-command): If Emacs was invoked as "emacs -q",
20759         don't alter the user's ~/.emacs.
20760         (disable-command): If user-init-file is nil or does not exist,
20761         default to "~/.emacs" (~/_emacs on DOS and, maybe, Windows).
20762         But don't alter the init file if Emacs was invoked as "emacs -q"
20764 2002-02-01  Stefan Monnier  <monnier@cs.yale.edu>
20766         * mail/sendmail.el (mail-mode): Undo half of last change.
20768         * indent.el (indent-for-tab-command): Remove spurious code.
20770         * hi-lock.el (hi-lock-find-patterns): Save restriction.
20772 2002-02-01  Eli Zaretskii  <eliz@is.elta.co.il>
20774         * calendar/time-date.el: Moved from lisp/gnus.
20776         * calendar/parse-time.el: Ditto.
20778 2002-01-31  Richard M. Stallman  <rms@gnu.org>
20780         * international/iso-acc.el (iso-languages): Fix ", " in French.
20782         * cus-start.el (history-length): Specify customization for it.
20784         * emacs-lisp/debug.el (debugger-setup-buffer):
20785         When an eval-buffer frame was reading from a buffer,
20786         insert indication of the buffer position.
20787         (debugger-frame-number): Ignore ;;;-comment lines in backtrace.
20788         (debugger-frame-clear, debugger-frame): Error on non-frame line.
20790         * simple.el (shell-command-on-region): Err if no mark
20791         before reading the command string.
20793         * hl-line.el (hl-line-highlight, hl-line-unhighlight):
20794         Definitions moved down after hl-line-mode var's definition.
20796         * hilit-chg.el (hilit-chg-fixup): Don't alter overlay if not ours.
20797         (hilit-chg-set-face-on-change): Rename arg.
20798         (hilit-chg-make-ov): Detect error earlier.
20800         * ediff-hook.el: Delete autoload cookies.
20802         * comint.el (comint-scroll-show-maximum-output): Default is t.
20804         * emacs-lisp/bytecomp.el (batch-byte-compile): New arg noforce.
20805         (batch-byte-compile-if-not-done): New function.
20807         * Makefile.in (compile): New target.
20808         (compile-always): Renamed from compile-files.
20809         (compile-after-backup): Renamed from compile.
20810         (bootstrap): Depend on compile-always, not compile-files.
20812         * emulation/pc-select.el (pc-select-save-and-set-mode):
20813         Properly use MODE-VAR.
20815 2002-01-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20817         * menu-bar.el (menu-bar-help-menu): Change menu-item "Show Emacs
20818         Version" to "About Emacs".
20819         (menu-bar-options-save): Add `default-frame-alist'
20820         to saved variables.
20821         (menu-bar-showhide-scroll-bar-menu): Use frame-parameters instead
20822         of the variable `scroll-bar-mode'.
20824         * startup.el (normal-splash-screen, display-splash-screen):
20825         New functions (separated from command-line-1).
20826         (command-line-1): Use them.
20828 2002-01-28  Eli Zaretskii  <eliz@is.elta.co.il>
20830         * calendar/calendar.el (generate-calendar-month): Doc fix.
20832 2002-01-27  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
20834         * time.el (display-time-mail-directory): New option.
20835         (display-time-mail-function): Update doc-string.
20836         (display-time-mail-icon): Use XPM image when available.
20837         (display-time-string-forms): Use more descriptive text as
20838         help-echo property.
20839         (display-time-mail-check-directory): New function.
20840         (display-time-update): Use it.
20842         * menu-bar.el (menu-bar-showhide-scroll-bar-menu):
20843         Quote `window-system'.
20845         * tmm.el (tmm-get-keymap): Honour :visible in `menu-item'.
20846         Add Keywords header.  Update Commentary section.
20847         Update copyright notice.
20849         * menu-bar.el (menu-bar-scroll-bar-right)
20850         (menu-bar-scroll-bar-left, menu-bar-scroll-bar-none)
20851         (showhide-menu-bar): New functions.
20852         (menu-bar-showhide-menu): New submenu "Show/Hide".
20853         (menu-bar-showhide-scroll-bar-menu): "Scroll-bar" submenu of
20854         "Show/Hide".
20855         Update copyright notice.
20857 2002-01-27  Eli Zaretskii  <eliz@is.elta.co.il>
20859         * lazy-lock.el (lazy-lock-mode): Add a reference to jit-lock.
20861 2002-01-26  Evgeny Roubinchtein  <evgenyr@cs.washington.edu>
20863         * pc-select.el (pc-selection-mode-hook)
20864         (pc-select-saved-settings-alist, pc-select-map)
20865         (pc-select-saved-global-map, pc-select-key-bindings-alist)
20866         (pc-select-default-key-bindings, pc-select-extra-key-bindings)
20867         (pc-select-meta-moves-sexps-key-bindings)
20868         (pc-select-tty-key-bindings, pc-select-old-M-delete-binding):
20869         New variables.
20870         (pc-select-define-keys, pc-select-restore-keys): New functions.
20871         (pc-select-add-to-alist, pc-select-save-and-set-var)
20872         (pc-select-save-and-set-mode, pc-select-restore-var)
20873         (pc-select-restore-mode): New macros.
20874         (pc-selection-mode): Completely rewrote the body of the function;
20875         the main goal was to make pc-selection-mode "turn-off"-able, like
20876         other minor modes.  Use define-minore-mode instead of just a
20877         defun.  Store the key bindings into four alists:
20878         pc-select-default-key-bindings, pc-select-extra-key-bindings,
20879         pc-select-meta-moves-sexps-key-bindings, and
20880         pc-select-tty-key-bindings; then have the pc-select-define-keys
20881         function walk those alists instead of calling define-key
20882         repeatedly.  When the mode is turned on, set the
20883         keybindings in global-map and remember the old keybindings; when
20884         the mode is turned off, restore the previously-saved keybindings.
20885         (pc-selection-mode defcustom): Reflect the fact that the mode is
20886         now "turn-off"-able.
20888 2002-01-26  Eli Zaretskii  <eliz@is.elta.co.il>
20890         * eshell/esh-cmd.el (eshell-eval-command): If eshell-resume-eval
20891         returns t, don't treat that as an error.
20893 2002-01-25  Jason Rumney  <jasonr@gnu.org>
20895         * faces.el (face-font-registry-alternatives) [windows-nt]:
20896         Add ms-oemlatin as an alternative for iso8859-1.
20898 2002-01-25  Stefan Monnier  <monnier@cs.yale.edu>
20900         * pcvs.el (cvs-reread-cvsrc): Distinguish between an empty list of
20901         args and the absence of an entry.  Don't add -f each time.
20903 2002-01-25  Eli Zaretskii  <eliz@is.elta.co.il>
20905         * emacs-lisp/cl-seq.el (mismatch): Doc fix.
20907         Support for more than 8 colors on character terminals:
20909         * term/rxvt.el: New file.
20911         * Makefile.in (DONTCOMPILE): Remove term/xterm.el.
20913         * term/xterm.el (xterm-standard-colors): New variable.
20914         (xterm-rgb-convert-to-16bit, xterm-register-default-colors)
20915         (xterm-rxvt-set-background-mode): New functions.
20916         (toplevel): Call xterm-register-default-colors,
20917         xterm-rxvt-set-background-mode, and tty-set-up-initial-frame-faces.
20918         Add support for more keys from xterm's terminfo entry.
20920         * facemenu.el (list-colors-display): If the argument is nil, don't
20921         show more colors that the number returned by display-color-cells.
20923         * term/pc-win.el (msdos-color-values): Reverse the order of the
20924         colors, since tty-color-define now preserves the registration order.
20926         * w32-fns.el (w32-tty-standard-colors): Reverse the order.
20928         * term/tty-colors.el (tty-standard-colors): Reverse the order.
20929         (tty-register-default-colors): New function; code moved from
20930         startup.el's command-line.
20931         (tty-modify-color-alist): Use nconc instead of cons, to preserve
20932         the order the colors where registered.
20934         * frame.el (display-color-cells): Use tty-display-color-cells.
20936         * startup.el (command-line): Call tty-register-default-colors.
20938 2002-01-25  Richard M. Stallman  <rms@gnu.org>
20940         * subr.el (remove): Doc fix.
20942 2002-01-24  Richard M. Stallman  <rms@gnu.org>
20944         * progmodes/compile.el (compilation-handle-exit):
20945         Add a compilation-handle-exit property to the "finished" message.
20946         (compilation-parse-errors): Stop parsing when that property is seen.
20948         * subr.el (substring-no-properties): New function.
20949         (copy-without-properties): Function deleted.
20951         * term/x-win.el (x-handle-geometry): Put sizes on both
20952         initial-frame-alist and default-frame-alist.
20954         * cus-edit.el (custom-save-all): Bind file-precious-flag to t
20955         for saving .emacs.
20957         * files.el (basic-save-buffer-2): Ignore file-error in delete-file.
20959         * calendar/calendar.el (generate-calendar-month): Doc fix.
20961 2002-01-23  Richard M. Stallman  <rms@gnu.org>
20963         * play/tetris.el (tetris): New defgroup.
20964         (tetris-use-glyphs, tetris-use-color, tetris-draw-border-with-glyphs)
20965         (tetris-default-tick-period): Convert to defcustom.
20966         Added * in docstring to indicate user variable.
20967         (tetris-update-speed-function, tetris-mode-hook, tetris-tty-colors)
20968         (tetris-x-colors, tetris-buffer-name, tetris-buffer-width)
20969         (tetris-buffer-height, tetris-width, tetris-height)
20970         (tetris-top-left-x, tetris-top-left-y): Convert to defcustom.
20972 2002-01-22  Stefan Monnier  <monnier@cs.yale.edu>
20974         * mail/sendmail.el (mail-mode): ">" is not a supercite-style prefix
20975         and is already matched by adaptive-fill-regexp.
20977 2002-01-22  Richard M. Stallman  <rms@gnu.org>
20979         * bindings.el (mode-line-copied-mode-name): New variable.
20980         (mode-line-mode-name): Don't modify mode-name itself!
20981         Instead, make a copy and reuse it.
20983         * subr.el (copy-without-properties): New function.
20985         * progmodes/sh-script.el (sh-set-shell): Doc fix.
20987         * net/ange-ftp.el (ange-ftp-canonize-filename): Avoid duplicate
20988         slash if DIR is just slash.
20990         * progmodes/perl-mode.el (perl-mode-abbrev-table): Restore definition.
20992 2002-01-21  Richard M. Stallman  <rms@gnu.org>
20994         * emacs-lisp/copyright.el (copyright-regexp): Fix previous change.
20996         * net/ange-ftp.el (ange-ftp-bs2000-posix-hook-installed):
20997         Move defvar up.
20999         * textmodes/ispell.el (ispell-help): Clean up echo area if user quits.
21001         * ibuffer.el: Don't require ibuf-ext at load time.
21002         (ibuffer): Require ibuf-ext here.
21004 2002-01-21  Francesco Potort\e,Al\e(B  <pot@gnu.org>
21006         * generic-x.el (apache-conf-generic-mode): Highlight the first
21007         word in a line even if preceded by blanks.
21009 2002-01-21  Richard M. Stallman  <rms@gnu.org>
21011         * window.el (window-body-height): Handle minibuffer window specially.
21012         Otherwise, don't return less than 1.
21014 2002-01-20  Thomas Dorner  <Thomas.Dorner@start.de>
21016         * ange-ftp.el: Added support for BS2000, and for raw ftp
21017         login commands (needed in some circumstances).
21018         (ange-ftp-raw-login): New custom var.
21019         (ange-ftp-normal-login): Perform login with raw ftp commands, if
21020         ange-ftp-raw-login is set and account password is needed.
21021         (ange-ftp-host-type, ange-ftp-guess-host-type): Handle BS2000 hosts.
21022         (ange-ftp-bs2000-filename-pubset-regexp)
21023         (ange-ftp-bs2000-filename-username-regexp)
21024         (ange-ftp-bs2000-filename-prefix-regexp)
21025         (ange-ftp-bs2000-name-template): New consts.
21026         (ange-ftp-bs2000-short-filename-regexp)
21027         (ange-ftp-bs2000-fix-name-regexp-reverse)
21028         (ange-ftp-bs2000-fix-name-regexp): New consts.
21029         (ange-ftp-bs2000-special-prefix): New custom var.
21030         (ange-ftp-fix-name-for-bs2000)
21031         (ange-ftp-fix-dir-name-for-bs2000): New funs.
21032         (ange-ftp-bs2000-host-regexp, ange-ftp-bs2000-posix-host-regexp)
21033         (ange-ftp-bs2000-posix-hook-installed): New vars.
21034         (ange-ftp-parse-bs2000-filename, ange-ftp-parse-bs2000-listing)
21035         (ange-ftp-bs2000-host, ange-ftp-bs2000-posix-host)
21036         (ange-ftp-add-bs2000-host, ange-ftp-add-bs2000-posix-host): New funs.
21037         (ange-ftp-bs2000-filename-regexp): New const.
21038         (ange-ftp-bs2000-additional-pubsets): New custom var.
21039         (ange-ftp-bs2000-cd-to-posix): New fun.
21041 2002-01-20  Colin Walters  <walters@verbum.org>
21043         * ibuffer.el: (toplevel) Require `ibuf-ext', which is now compiled
21044         with `byte-compile-dynamic'.
21045         (ibuffer-default-directory, toplevel): Doc files.
21047 2002-01-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21049         * tempo.el (tempo-define-template): Doc fix.
21051         * scroll-bar.el (scroll-bar-mode): Make argument optional.
21053 2002-01-20  Jason Rumney  <jasonr@gnu.org>
21055         * w32-vars.el: New file.
21057         * loadup.el [windows-nt]: Load it.
21059         * w32-fns.el, term/w32-win.el: Move user variables to w32-vars.el
21060         and make them defcustoms.
21062         * term/w32-win.el (mouse-set-font): Use w32-list-proportional-fonts.
21064 2002-01-19  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21066         * language/tibet-util.el (tibetan-decompose-region)
21067         (tibetan-decompose-string): Fix typo in docstring.
21069         * ruler-mode.el (ruler-mode): New keyword.  Fix :version.
21071 2002-01-18  Richard M. Stallman  <rms@gnu.org>
21073         * comint.el (comint-redirect-send-command-to-process):
21074         Restore previous current buffer.
21076         * window.el (window-body-height): New function.
21078 2002-01-18  Zoltan Kemenczy  <kemenczy@rogers.com>
21080         * gud.el (easy-mmode-defmap): Enable "Up Stack", "Down Stack", and
21081         "Finish Function" menu map entries for jdb mode.
21082         (gud-jdb-use-classpath): New customization variable.
21083         (gud-jdb-command-name): Add customization.
21084         (gud-jdb-classpath, gud-marker-acc-max-length): New variables.
21085         (gud-jdb-classpath-string): New variable.
21086         (gud-jdb-source-files, gud-jdb-class-source-alist): Add doc strings.
21087         (gud-jdb-build-source-files-list): Likewise.
21088         (gud-jdb-massage-args): Record any command argument classpath
21089         string in `gud-jdb-classpath-string'.
21090         (gud-jdb-lowest-stack-level): New function, finds bottom of current
21091         java call stack in jdb output.
21092         (gud-jdb-find-source-using-classpath, gud-jdb-find-source)
21093         (gud-jdb-parse-classpath-string): New functions.
21094         (gud-jdb-marker-filter): Search/detect classpath information in
21095         jdb's output.  marker regexp updated to match oldjdb and jdb output
21096         formats.  Expand search for source files to include new/old methods
21097         using new functions above.  Do not allow `gud-marker-acc' to grow
21098         without bound.
21099         (jdb): Set classpath information (if available) as jdb is started.
21100         Change `gud-break' and `gud-remove'
21101         to use new %c ("class") escape in format strings.
21102         Add `gud-finish', `gud-up', `gud-down' command string functions, and
21103         add them to the local menu map.  Update `comint-prompt-regexp' for
21104         jdb and oldjdb.  If attaching to an already running java VM and
21105         configured to use classpath, send command to query for classpath,
21106         else use previous method for finding and parsing java
21107         sources.  Set `gud-jdb-find-source' function accordingly.
21108         (gud-mode): Doc fix.
21109         (gud-format-command): Add support for new %c ("class") escape.
21110         (gud-find-class): New function in support of %c escape.
21112 2002-01-17  Richard M. Stallman  <rms@gnu.org>
21114         * ibuf-ext.el: Enable byte-compile-dynamic.
21116 2002-01-17  Jason Rumney  <jasonr@gnu.org>
21118         * term/w32-win.el: Restore conditional require of fontset.
21120 2002-01-16  Richard M. Stallman  <rms@gnu.org>
21122         * mouse.el (mouse-drag-region-1): Renamed from mouse-drag-region,
21123         more or less.
21124         (mouse-drag-region): New function.  For a click in the echo area,
21125         show *Messages*.
21127         * ibuf-ext.el: Delete the autoloads for functions defined with
21128         ibuffer-specific commands.
21130         * help.el (describe-distribution): Really call view-file.
21132         * net/ange-ftp.el (ange-ftp-passive-mode): New arg PROC.
21133         (ange-ftp-get-process): Pass that arg.
21135         * comint.el (comint-simple-send): Fix previous change.
21137         * net/telnet.el (telnet-simple-send): Fix previous change.
21139         * progmodes/sql.el (sql-escape-newlines-and-send)
21140         (sql-query-placeholders-and-send): Fix previous change.
21142 2002-01-16  Colin Walters  <walters@verbum.org>
21144         * ibuf-ext.el, ibuf-macs.el, ibuffer.el (toplevel): Remove X-RCS,
21145         URL, Compatibility headers.  Update copyright notice.
21146         * ibuf-macs.el (toplevel): Require `cl' when compiling.
21148 2002-01-16  Andrew Choi  <akochoi@cse.cuhk.edu.hk>
21150         * startup.el (command-line): Set EOL mnemonics for the Mac.
21152 2002-01-16  Andreas Schwab  <schwab@suse.de>
21154         * mail/feedmail.el (feedmail): Fix :link spec.
21156 2002-01-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21158         * net/ldap.el (ldap-ldapsearch-prog): Default to OpenLDAP version
21159         2 ldapsearch.
21161         * net/eudc.el: New maintainer.  Change author's address.
21162         (eudc-pre-select-window-configuration, eudc-insertion-marker):
21163         Variables removed.
21164         (eudc-insert-selected): Function removed.
21165         (eudc-select): Reimplemented.
21166         (eudc-expand-inline): Delete the strings only after its expansion
21167         is chosen not before.
21169         * net/eudcb-ph.el (eudc-ph-open-session): Remove XEmacs case.
21170         Minor coding style fixes.
21172         * net/eudcb-ldap.el: New maintainer.  Change author's address.
21173         (eudc-attribute-display-method-alist): Display mail with
21174         eudc-display-mail.
21176         * net/eudcb-bbdb.el, net/eudc-export.el, net/eudc-hotlist.el,
21177         * net/eudc-vars.el: New maintainer.  Change author's address.
21179         * net/eudc-bob.el: New maintainer.  Change author's address.
21180         (eudc-bob-mail-keymap): New keymap for e-mail addresses.
21181         (eudc-display-mail): New function.
21182         (eudc-bob-play-sound-at-point): Remove XEmacs case.
21184 2002-01-15  Richard M. Stallman  <rms@gnu.org>
21186         * emacs-lisp/autoload.el (make-autoload):
21187         Don't handle define-ibuffer-column, define-ibuffer-filter,
21188         define-ibuffer-sorter, and define-ibuffer-op.
21190 2002-01-14  Richard M. Stallman  <rms@gnu.org>
21192         * calendar/calendar.el (diary-date-forms): Doc fix.
21194 2002-01-14  Eli Zaretskii  <eliz@is.elta.co.il>
21196         * startup.el (command-line): Register the default tty colors even
21197         if the terminal doesn't seem to support colors.
21198         <tty-long-option-alist>: New option --color.
21199         (tty-handle-args): Parse the --color arg.
21201         * term/tty-colors.el (tty-color-mode-alist): New variable.
21203 2002-01-14  Stefan Monnier  <monnier@cs.yale.edu>
21205         * net/ange-ftp.el (ange-ftp-root-dir-p): New function.
21206         (ange-ftp-file-name-all-completions, ange-ftp-file-name-completion):
21207         Use it.
21208         (ange-ftp-hook-function): Preserve match-data.
21209         (ange-ftp-insert-directory): Typo.
21210         (ange-ftp-shell-command): Check if regexp matched.
21212 2002-01-13  Richard M. Stallman  <rms@gnu.org>
21214         * international/mule-cmds.el: help-map bindings moved to help.el.
21216         * help.el (view-echo-area-messages): New function.
21217         (help-map): Add `e' binding.  Delete obsolete `d' binding.
21218         Change old Info bindings C-f, C-k and C-i to F, K, S.
21219         Move view-emacs-FAQ from F to C-f.
21220         Move view-emacs-problems from P to C-e.
21221         Bindings moved here from mule-cmds.el.
21222         C-l binding for describe-language-environment deleted
21223         (help-for-help): Update for all these changes.
21225         * emacs-lisp/copyright.el (copyright-regexp): Make (C) optional.
21227 2002-01-13  Dave Love  <fx@gnu.org>
21229         * emacs-lisp/copyright.el: Doc fixes.
21230         (copyright-regexp): Add Latin-9 copyright sign.
21231         Match comment delimiters in year lists.
21232         (copyright-current-year): Initialize to load-time year.
21234 2002-01-13  Andreas Schwab  <schwab@suse.de>
21236         * dired-aux.el (dired-do-shell-command): Doc fix.
21238 2002-01-13  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
21240         * startup.el (command-line-x-option-alist): New options "-fs",
21241         "-fw", "-fh", "--fullscreen", "--fullwidth", and "--fullheight".
21243         * term/x-win.el (x-handle-initial-switch): New function.
21245 2002-01-13  Colin Walters  <walters@debian.org>
21247         * emacs-lisp/autoload.el (make-autoload): Handle define-ibuffer-column,
21248         define-ibuffer-filter, define-ibuffer-sorter, and define-ibuffer-op.
21250         * emacs-lisp/lisp-mode.el (toplevel): Ditto.
21252         * ibuffer.el, ibuf-ext.el, ibuf-macs.el: New files.
21254 2002-01-12  Richard M. Stallman  <rms@gnu.org>
21256         * net/browse-url.el (browse-url-grail):
21257         Use browse-url-maybe-new-window.
21259         * net/telnet.el (telnet-simple-send):
21260         Handle comint-input-sender-no-newline like comint-simple-send.
21262         * progmodes/sql.el (sql-query-placeholders-and-send):
21263         Handle comint-input-sender-no-newline like comint-simple-send.
21264         (sql-escape-newlines-and-send): Likewise.
21266         * comint.el (comint-input-sender): Doc fix.
21267         (comint-input-sender-no-newline): New variable.
21268         (comint-simple-send): If comint-input-sender-no-newline,
21269         don't output newline, but maybe send eof.
21270         (comint-send-input): New arg NO-NEWLINE.
21271         (comint-send-eof): Call comint-send-eof with NO-NEWLINE.
21273 2002-01-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21275         * textmodes/flyspell.el (flyspell-check-pre-word-p):
21276         Prevent delaying when executing keyboard macros.
21278 2002-01-12  Richard M. Stallman  <rms@gnu.org>
21280         * simple.el (line-move): If we can't move enough lines,
21281         go to beginning or end of line.
21283         * help-mode.el (help-xref-go-back): Restore POSITION in proper buffer
21284         and proper window.
21286         * help.el (describe-mode): Call help-setup-xref in the help buffer.
21287         Switch buffers only after calling `help-buffer'.
21289         * dired-aux.el (dired-shell-stuff-it): Substitute for * or ?
21290         only when they are surrounded by whitespace.
21291         Use dired-mark-separator when adding one file name to a command.
21292         (dired-do-shell-command): Verify that * is surrounded by whitespace.
21293         Ask for confirmation if * or ? is not surrounded by whitespace.
21294         (dired-bunch-files): Re-reverse the partial file list when it is used.
21296 2002-01-12  Richard M. Stallman  <rms@gnu.org>
21298         * comint.el (comint-dynamic-list-completions): Repeating the command
21299         after displaying a completion list scrolls the list.
21301 2002-01-12  Eli Zaretskii  <eliz@is.elta.co.il>
21303         * files.el (find-file-noselect): Don't consider a buffer as
21304         visiting a file literally if it is in hexl-mode.
21306         * faces.el (minibuffer-prompt): A better face definition for MS-DOS.
21308 2002-01-11  Richard M. Stallman  <rms@gnu.org>
21310         * startup.el (initial-scratch-message): Fix custom type, add group.
21312         * mail/rmail.el (rmail-decode-babyl-format): Disable undo
21313         around the decode-coding-region call.
21315         * emacs-lisp/lisp.el (lisp-complete-symbol): Repeating the command
21316         after displaying a completion list scrolls the list.
21318 2002-01-11  Eli Zaretskii  <eliz@is.elta.co.il>
21320         * version.el (emacs-version): Bump to 21.2.50.
21322 2002-01-10  Thien-Thi Nguyen  <ttn@giblet.glug.org>
21324         * play/zone.el (zone-timeout): New var.
21325         (zone-hiding-modeline): New macro.
21326         (zone-call): New func.
21328         (zone): Init `modeline-hidden-level' symbol property.
21329         Use `zone-call' instead of `funcall'.
21331         (zone-pgm-whack-chars): Use `make-string' (fix bug introduced in 2001-10-26T20:11:25Z!monnier@iro.umontreal.ca).
21333         (zone-pgm-stress): Use `zone-hiding-modeline'.
21335         (zone-pgm-stress-destress): New zone program.
21337 2002-01-10  Eli Zaretskii  <eliz@is.elta.co.il>
21339         * faces.el (minibuffer-prompt): Special face definition for MS-DOS.
21341 2002-01-09  Richard M. Stallman  <rms@gnu.org>
21343         * startup.el (fancy-splash-screens): Set tab-width in correct buffer.
21345 2002-01-09  Michael Kifer  <kifer@cs.stonybrook.edu>
21347         * viper.el (viper-set-hooks): Zap viper-unfriendly bindings in
21348         flyspell-mouse-map.
21350 2002-01-08  Richard M. Stallman  <rms@gnu.org>
21352         * emacs-lisp/regexp-opt.el (regexp-opt): Bind max-specpdl-size.
21354         * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Fix custom type.
21356         * textmodes/flyspell.el (flyspell-mode-line-string): Fix custom type.
21358 2002-01-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21360         * progmodes/ada-mode.el (ada-initialize-properties, ada-mode):
21361         Do not use make-local-hook.
21363 2002-01-08  Eli Zaretskii  <eliz@is.elta.co.il>
21365         * international/quail.el (quail-start-translation)
21366         (quail-start-conversion): Bind last-command-event, last-command,
21367         and this-command in the first let.  This fixes the change from
21368         2000-08-30.
21370 2002-01-08  Michael Kifer  <kifer@cs.stonybrook.edu>
21372         * ediff-hook.el: Add an autoload cookie.
21374 2002-01-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21376         * net/eudcb-ph.el, net/ldap.el: New maintainer.  New e-mail
21377         address of the author.
21379 2002-01-08  Richard M. Stallman  <rms@gnu.org>
21381         * replace.el (occur-mode-goto-occurrence-other-window): New command.
21382         (occur-mode-map): Bind `o' to that.
21384 2002-01-07  Michael Kifer  <kifer@cs.stonybrook.edu>
21386         * viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
21387         new macro that replaces viper-emacs-p and viper-xemacs-p in many
21388         cases. Used to reduce the number of warnings.
21390         * viper-cmd.el: Use viper-cond-compile-for-xemacs-or-emacs.
21391         (viper-standard-value): Move here from viper.el.
21392         (viper-set-unread-command-events): Move to viper-util.el
21393         (viper-check-minibuffer-overlay): Make sure
21394         viper-minibuffer-overlay is moved to cover the entire input field.
21396         * viper-util.el: Use viper-cond-compile-for-xemacs-or-emacs.
21397         (viper-read-key-sequence, viper-set-unread-command-events)
21398         (viper-char-symbol-sequence-p, viper-char-array-p): Moved here.
21400         * viper-ex.el: Use viper-cond-compile-for-xemacs-or-emacs.
21402         * viper-keym.el: Use viper-cond-compile-for-xemacs-or-emacs.
21404         * viper-mous.el: Use viper-cond-compile-for-xemacs-or-emacs.
21406         * viper-macs.el (viper-char-array-p, viper-char-symbol-sequence-p)
21407         (viper-event-vector-p): Move to viper-util.el
21409         * viper.el (viper-standard-value): Move to viper-cmd.el.
21410         Use viper-cond-compile-for-xemacs-or-emacs.
21412         * ediff-help.el: Use ediff-cond-compile-for-xemacs-or-emacs.
21414         * ediff-hook.el: Use ediff-cond-compile-for-xemacs-or-emacs.
21416         * ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs):
21417         New macro designed to be used in many places where ediff-emacs-p or
21418         ediff-xemacs-p was previously used.  Reduces the number of warnings.
21419         Use ediff-cond-compile-for-xemacs-or-emacs in many places in lieu
21420         of ediff-xemacs-p.
21421         (ediff-make-current-diff-overlay, ediff-highlight-diff-in-one-buffer)
21422         (ediff-convert-fine-diffs-to-overlays, ediff-empty-diff-region-p)
21423         (ediff-whitespace-diff-region-p, ediff-get-region-contents):
21424         Move to ediff-util.el.
21425         (ediff-event-key): Moved here.
21427         * ediff-merge.el: Got rid of unreferenced variables.
21429         * ediff-mult.el: Use ediff-cond-compile-for-xemacs-or-emacs.
21431         * ediff-util.el: Use ediff-cond-compile-for-xemacs-or-emacs.
21432         (ediff-cleanup-mess): Improve the way windows are set up after
21433         quitting ediff.
21434         (ediff-janitor): Use ediff-dispose-of-variant-according-to-user.
21435         (ediff-dispose-of-variant-according-to-user): New function
21436         designed to be smarter and also understands indirect buffers.
21437         (ediff-highlight-diff-in-one-buffer)
21438         (ediff-unhighlight-diff-in-one-buffer)
21439         (ediff-unhighlight-diffs-totally-in-one-buffer)
21440         (ediff-highlight-diff, ediff-highlight-diff)
21441         (ediff-unhighlight-diff, ediff-unhighlight-diffs-totally)
21442         (ediff-empty-diff-region-p, ediff-whitespace-diff-region-p)
21443         (ediff-get-region-contents, ediff-make-current-diff-overlay):
21444         Moved here.
21445         (ediff-format-bindings-of): New function by Hannu Koivisto
21446         <azure@iki.fi>.
21447         (ediff-setup): Make sure the merge buffer is always widened and
21448         modifiable.
21449         (ediff-write-merge-buffer-and-maybe-kill): Refuse to write the
21450         result of a merge into a file visited by another buffer.
21451         (ediff-arrange-autosave-in-merge-jobs): Check if the merge file
21452         is visited by another buffer and ask to save/delete that buffer.
21453         (ediff-verify-file-merge-buffer): New function to do the above.
21455         * ediff-vers.el: Load ediff-init.el at compile time.
21457         * ediff-wind.el: Use ediff-cond-compile-for-xemacs-or-emacs.
21459         * ediff.el (ediff-windows, ediff-regions-wordwise)
21460         (ediff-regions-linewise): Use indirect buffers to improve
21461         robustness and make it possible to compare regions of the same
21462         buffer (even overlapping regions).
21463         (ediff-clone-buffer-for-region-comparison)
21464         (ediff-clone-buffer-for-window-comparison): New functions.
21465         (ediff-files-internal): Refuse to compare identical files.
21466         (ediff-regions-internal): Get rid of the warning about comparing
21467         regions of the same buffer.
21469         * ediff-diff.el (ediff-convert-fine-diffs-to-overlays): Moved here.
21470         Plus the following fixes courtesy of Dave Love: Doc fixes.
21471         (ediff-word-1): Use word class and move - to the
21472         front per regexp documentation.
21473         (ediff-wordify): Bind forward-word-function outside loop.
21474         (ediff-copy-to-buffer): Use insert-buffer-substring rather than
21475         consing buffer contents.
21476         (ediff-goto-word): Move syntax table setting outside loop.
21478 2002-01-07  Richard M. Stallman  <rms@gnu.org>
21480         * dired.el (dired-copy-filename-as-kill): Call kill-append
21481         if following a kill command.
21483         * help-fns.el (describe-variable, describe-function):
21484         Do save-excursion.
21486 2002-01-06  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21488         * net/ldap.el (ldap-search-internal): Skip error message from
21489         ldapsearch.  Allow listing attribute names only.  Do not open
21490         non-existent files.
21492         * net/eudcb-ldap.el (eudc-ldap-get-field-list): Do not try to
21493         call non-existent function.
21495         * net/eudc.el (top-level): Revert previous change.
21497         * net/net-utils.el (nslookup-font-lock-keywords): Defvar font-lock
21498         variables to prevent warning from byte-compiler.
21500         * net/eudc.el (top-level): Use eudc-xemacs-p instead of
21501         string-match on emacs-version again.
21503         * enriched.el (enriched-make-annotation): Fix the change from
21504         2002-01-05.
21505         (enriched-handle-display-prop): Return proper values.
21507         * net/eudcb-ldap.el (eudc-attribute-display-method-alist):
21508         Use proper attribute name labeledUri instead of deprecated labeledUrl.
21510 2002-01-05  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21512         * net/eudc-hotlist.el (eudc-edit-hotlist): Avoid error when
21513         editing an empty hotlist.
21515         * net/ldap.el (ldap-search-internal): Make the buffer unibyte.
21516         Use buffer-string instead of buffer-substring for the whole buffer.
21518         * net/eudc-vars.el (eudc-external-viewers): Do not use xv, it is
21519         not free.
21521         * net/eudc-bob.el (eudc-bob-can-display-inline-images)
21522         (eudc-bob-display-jpeg): Use fboundp instead of boundp.
21523         (eudc-bob-save-object): Make the buffer unibyte.
21524         (eudc-bob-generic-keymap): Add new keybinding `!' to pipe the
21525         object to external program.
21527 2002-01-05  Andre Spiegel  <spiegel@gnu.org>
21529         * vc.el (vc-branch-part): Return nil if there's no `.'
21530         (vc-default-previous-version): Renamed from vc-previous-version.
21531         New args BACKEND and FILE.  Return nil for revision numbers
21532         without a `.'
21533         (vc-version-diff): Call vc-BACKEND-previous-version.
21534         (vc-steal-lock): Steal lock before composing mail, so that no mail
21535         is sent when the stealing goes wrong.  And we'll actually see the
21536         error in that case now.
21537         (vc-finish-steal): Removed.
21539         * vc-rcs.el (vc-rcs-steal-lock): Do a real checkout after stealing
21540         the lock, so that we see expanded headers.
21541         (vc-rcs-trunk-p, vc-rcs-branch-part, vc-rcs-branch-p)
21542         (vc-rcs-minor-part, vc-rcs-previous-version): Removed.  These are
21543         available from vc.el.  Updated all callers.
21545 2002-01-05  Richard M. Stallman  <rms@gnu.org>
21547         * enriched.el (enriched-make-annotation): Doc fix.
21549         * format.el (format-replace-strings, format-subtract-regions)
21550         (format-annotate-region, format-annotate-location)
21551         (format-annotate-atomic-property-change)
21552         (format-annotate-single-property-change): Doc fixes.
21554 2002-01-05  Jason Rumney  <jasonr@gnu.org>
21556         * term/w32-win.el: Require fontset unconditionally.
21557         (w32-handle-scroll-bar-event): Remove.
21559 2002-01-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21561         * emacs-lisp/copyright.el (copyright-regexp): Allow multi-line
21562         copyrights to be updated.
21564 2002-01-04  Eli Zaretskii  <eliz@is.elta.co.il>
21566         * textmodes/texinfo.el (texinfo-insert-@end): Fix the change from
21567         2001-10-24.
21569         * mail/sendmail.el (mail-recover-1, mail-recover): Doc fix.
21571 2002-01-04  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21573         * net/ldap.el (ldap-host-parameters-alist): Remove duplicated entry.
21574         (ldap-ignore-attribute-codings): Change the default value to allow
21575         encoding/decoding of attributes.
21576         (ldap-coding-system): Use UTF-8 as the coding-system.  Doc fix.
21578 2002-01-03  Richard M. Stallman  <rms@gnu.org>
21580         * files.el (basic-save-buffer): Undo previous change.
21582         * calendar/diary-lib.el (diary-block): Doc fix.
21584         * custom.el (defcustom): Fix syntax of previous change.
21586 2002-01-03  Per Abrahamsen  <abraham@dina.kvl.dk>
21588         * custom.el (defcustom): Documented :tag, :link and :load.
21590 2002-01-03  Eli Zaretskii  <eliz@is.elta.co.il>
21592         * mail/sendmail.el (mail-recover-1): New function.
21593         (mail-recover): Switch to the *mail* buffer right away.
21594         Use buffer-auto-save-file-name instead of calling
21595         make-auto-save-file-name.  Call dired-noselect instead of invoking
21596         `ls' directly.  Bind coding-system-for-read to emacs-mule-unix
21597         before reading the auto-save file.  If the buffer's auto-save file
21598         does not exist, call mail-recover-1 to allow recovery from past
21599         auto-saved drafts.
21601 2002-01-03  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21603         * time.el (display-time-load-average-threshold): Fix defcustom
21604         (add type and group).
21606         * net/ange-ftp.el (ange-ftp-shell-command): Remove port
21607         specification from the hostname.
21609 2002-01-02  Richard M. Stallman  <rms@gnu.org>
21611         * facemenu.el (facemenu-active-faces):
21612         Use face-attributes-as-vector, not face-attributes-vector.
21614 2002-01-02  Chris Hanson  <cph@aarau.ai.mit.edu>
21616         * xscheme.el: Eleven years of updates on a private copy.
21618         Extensive changes to support multiple xscheme buffers:
21619         (run-scheme): Break up into new functions to facilitate starting
21620         processes in other buffers.
21621         (xscheme-start, xscheme-read-command-line): New functions.
21622         (start-scheme, select-scheme)
21623         (default-xscheme-runlight)
21624         (global-set-scheme-interaction-buffer)
21625         (local-set-scheme-interaction-buffer)
21626         (local-clear-scheme-interaction-buffer)
21627         (exit-scheme-interaction-mode)
21628         (verify-xscheme-buffer): New functions.
21629         (xscheme-process-name, xscheme-buffer-name)
21630         (xscheme-runlight): New internal vars.
21631         (default-xscheme-runlight): New const.
21632         (xscheme-start-process): Add args for the process/buffer names.
21633         (reset-scheme): Pass process/buffer names.
21634         (scheme-interaction-mode): Initialize new local vars.
21635         (reset-scheme, xscheme-send-string-2, xscheme-process-running-p)
21636         (xscheme-select-process-buffer, xscheme-process-buffer)
21637         (xscheme-send-region, xscheme-send-char, xscheme-send-interrupt)
21638         (xscheme-goto-output-point, xscheme-write-message-1): Use new
21639         var xscheme-process-name.
21640         (xscheme-start-process): Initialize xscheme-process-name and
21641         xscheme-buffer-name in the process buffer.  Pass buffer name to
21642         xscheme-modeline-initialize.
21643         (xscheme-modeline-initialize): Add argument to specify buffer name
21644         for mode-line vars.
21645         (xscheme-process-sentinel): Make sure sentinel is run in the
21646         process buffer so it sees its local vars.
21647         (xscheme-process-filter-initialize, xscheme-set-runlight):
21648         More elaborate logic to handle multiple-buffer mode lines.
21650         (xscheme-enter-input-wait): Re-enable control-G handler upon
21651         entering input wait.
21653         (scheme-interaction-mode): Add arg to preserve local vars.
21654         (xscheme-enter-interaction-mode)
21655         (xscheme-enter-debugger-mode): Preserve local vars.
21656         (xscheme-start-process): Clobber local vars.
21658         (scheme-interaction-mode-commands): Allow end user to add commands
21659         to scheme-interaction-mode keymap.
21660         (scheme-interaction-mode-commands-alist): New variable.
21662         (xscheme-send-string): Don't use insert-before-markers.
21664         Implement a per-buffer kill ring:
21665         (xscheme-insert-expression)
21666         (xscheme-rotate-yank-pointer, xscheme-yank)
21667         (xscheme-yank-pop, xscheme-yank-push): New functions.
21668         (xscheme-expressions-ring)
21669         (xscheme-expressions-ring-yank-pointer)
21670         (xscheme-expressions-ring-max): New variables.
21671         (xscheme-send-string-1): Call xscheme-insert-expression to save
21672         expression in ring.
21673         (xscheme-yank-previous-send): Now an alias for xscheme-yank.
21674         (xscheme-previous-send): Deleted variable.
21676         (xscheme-send-string-2, xscheme-send-char, xscheme-send-proceed)
21677         (xscheme-send-control-g-interrupt): Use process-send-string rather
21678         than send-string.
21680         (xscheme-send-region): Insert a newline after an expression that
21681         is submitted in the interaction buffer, for consistency with
21682         recent changes to Edwin.
21684         (xscheme-delete-output): New function mimics comint-delete-output.
21685         (xscheme-last-input-end): New internal variable.
21686         (xscheme-process-filter-output): Update xscheme-last-input-end.
21688         (xscheme-send-control-g-interrupt): Make sure that
21689         xscheme-control-g-disabled-p is looked up in the right buffer.
21691         (xscheme-enable-control-g): Clear C-g message if visible.
21692         (xscheme-control-g-message-string): New internal var.
21693         (xscheme-send-control-g-interrupt): Use new var.
21695         (xscheme-send-control-g-interrupt, xscheme-send-interrupt):
21696         Delay after sending interrupt in order to work around race condition.
21698         (xscheme-send-control-g-interrupt, xscheme-send-interrupt)
21699         (xscheme-send-char): Use xscheme-send-char rather than send-string
21700         to send single char.
21702         (xscheme-process-filter, xscheme-process-filter-alist):
21703         Add support for evaluating expressions outside of the call-excursion.
21704         (xscheme-process-filter:string-action-noexcursion): New func.
21706         (xscheme-write-value): Change output string to match that used by
21707         Edwin.
21709         (xscheme-coerce-prompt): Don't write a space after a command
21710         prompt.  The PROMPT-FOR-COMMAND- procedures will take care of this
21711         for us.
21713         (reset-scheme): Delete process after killing it.
21715 2002-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
21717         * bindings.el (function-key-map): Don't bind shifted keypad
21718         numeric keys.
21720 2002-01-02  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21722         * enriched.el (enriched-handle-display-prop): Remove unused variables.
21723         (enriched-mode): Doc fix.
21725 2002-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
21727         * international/ucs-tables.el (ucs-8859-8-alist): Comment away
21728         Hebrew points.
21730 2002-01-01  Richard M. Stallman  <rms@gnu.org>
21732         * jka-compr.el (jka-compr-write-region): If START = nil, use whole buf.
21734 2001-12-31  Richard M. Stallman  <rms@gnu.org>
21736         * comint.el, cus-edit.el, diff-mode.el, enriched.el, font-lock.el:
21737         * generic-x.el, info.el, log-view.el, pcvs-info.el, speedbar.el:
21738         * wid-edit.el, woman.el, calendar/calendar.el, textmodes/flyspell.el:
21739         * emulation/viper-init.el, eshell/em-ls.el, progmodes/antlr-mode.el:
21740         * progmodes/cperl-mode.el, progmodes/idlwave.el:
21741         * progmodes/sh-script.el, progmodes/vhdl-mode.el:
21742         Adapt face definitions to use :weight and :slant.
21744         * ps-print.el (ps-font-lock-face-attributes): Use :weight and :slant.
21746         * cus-edit.el (custom-face-edit-fix-value): Delete `assert' call.
21748         * font-lock.el (initializing from font-lock-face-attributes):
21749         Use :weight and :slant, not :bold and :italic.
21751 2001-12-31  Per Abrahamsen  <abraham@dina.kvl.dk>
21753         * cus-edit.el (custom-face-edit-fix-value): New function.
21754         (custom-face-edit): Use it, to convert :italic and :bold to new forms.
21756 2001-12-30  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21758         * progmodes/octave-mod.el (octave-abbrev-table):
21759         * progmodes/idlwave.el (idlwave-mode-abbrev-table):
21760         * progmodes/fortran.el (fortran-mode-abbrev-table):
21761         * progmodes/f90.el (f90-mode-abbrev-table):
21762         * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init):
21763         * progmodes/sql.el (sql-mode-abbrev-table): Mark all the
21764         predefined abbrevs as "system" abbrevs.
21766 2001-12-30  Richard M. Stallman  <rms@gnu.org>
21768         * info.el (Info-fontify-node): For a **** underline line, put the
21769         invisible and intangible props on the following newline, but not
21770         on the previous newline or the last char of the previous line.
21772         * faces.el (face-set-after-frame-default): Don't change `default' face.
21774         * faces.el (minibuffer-prompt): Adopt some default colors.
21776         * replace.el (query-replace-read-args): Immediate error if read-only.
21778         * textmodes/makeinfo.el (makeinfo-compilation-sentinel):
21779         Display the output buffer in a more intelligent way.
21781 2001-12-30  Eli Zaretskii  <eliz@is.elta.co.il>
21783         * ls-lisp.el (insert-directory): Modify the "total" line wording,
21784         in accordance with files.el's insert-directory.
21786 2001-12-29  Richard M. Stallman  <rms@gnu.org>
21788         * files.el (basic-save-buffer): If a before-write hook displays
21789         an echo area message, pause before calling basic-save-buffer-1.
21791 2001-12-29  Markus Rost  <rost@math.ohio-state.edu>
21793         * textmodes/reftex-global.el (reftex-query-replace-document)
21794         (reftex-change-label): Doc fix.
21796         * dired-aux.el (dired-do-query-replace-regexp): Doc fix.
21798         * progmodes/etags.el (tags-query-replace): Doc fix.
21800 2001-12-29  Richard M. Stallman  <rms@gnu.org>
21802         * progmodes/compile.el (compile-internal): Fix previous change.
21804 2001-12-28  Richard M. Stallman  <rms@gnu.org>
21806         * mouse.el (mouse-drag-mode-line-1): When dragging a mode line upward,
21807         shrink the windows above as necessary to get space.
21808         (mouse-drag-move-window-bottom, mouse-drag-window-above): New fns.
21810         * net/ange-ftp.el (ange-ftp-allow-child-lookup): Always return nil.
21811         This fixes a bug that treated all files as directories.
21812         (ange-ftp-insert-directory): Explicitly follow symlinks.
21814         * international/iso-transl.el (iso-transl-char-map) Eliminate the
21815         alias symbols--put the translated sequences here directly.
21817         * progmodes/cc-mode.el (c-mode-abbrev-table)
21818         (c++-mode-abbrev-table, objc-mode-abbrev-table)
21819         (java-mode-abbrev-table, pike-mode-abbrev-table):
21820         Mark all the predefined abbrevs as "system" abbrevs.
21822         * mail/sendmail.el (mail-envelope-from): Fix custom type.
21823         (sendmail-send-it): Check mail-specify-envelope-from
21824         and mail-envelope-from in the mail buffer at start.
21826 2001-12-28  Simon Josefsson  <jas@extundo.com>
21828         * mail/sendmail.el (mail-envelope-from): Fix :type.
21829         (sendmail-send-it): Copy `mail-envelope-from' from calling buffer.
21831 2001-12-28  Richard M. Stallman  <rms@gnu.org>
21833         * net/ldap.el (ldap-search-internal): Handle <file://...> in results.
21835         * simple.el (line-move-invisible): New subroutine.
21836         (line-move-to-column): New subroutine--smarter about advancing over
21837         invisible parts of a line, or lines, but only as long as hpos grows.
21838         (line-move-finish): New subroutine: repeatedly processes desired
21839         column, intangibility, and fields.
21840         (line-move): Use those subroutines.
21841         When moving lines downward, skip invisible text first rather than last.
21843 2001-12-27  Richard M. Stallman  <rms@gnu.org>
21845         * international/mule-diag.el (describe-char-after):
21846         Describe the text properties of the char after point.
21848         * help.el (describe-key): Doc fix.
21850 2001-12-26  Markus Rost  <rost@math.ohio-state.edu>
21852         * find-dired.el (find-dired-sentinel): Precede exit message by
21853         two spaces, to match the regexp in dired-between-files.
21855 2001-12-28  Miles Bader  <miles@gnu.org>
21857         * wid-edit.el (widget-toggle-value-create): Don't eval actual
21858         images (which are lists too).
21860 2001-12-27  Eli Zaretskii  <eliz@is.elta.co.il>
21862         * language/european.el: Fix the doc string of "Latin-5" language
21863         environment.
21865 2001-12-26  Richard M. Stallman  <rms@gnu.org>
21867         * textmodes/flyspell.el (flyspell-mode-map): New keymap,
21868         defined as before 2001-11-09.
21869         (add-minor-mode call): Specify the keymap.
21871         * progmodes/compile.el (compile-internal):
21872         Set TERM variable in process-environment.
21874 2001-12-25  Richard M. Stallman  <rms@gnu.org>
21876         * help-mode.el (help-xref-on-pp): Catch and ignore errors in scanning
21877         the buffer.
21879         * startup.el (command-line): Convert command line args
21880         to Emacs internal representation using locale-coding-system.
21882 2001-12-25  Eli Zaretskii  <eliz@is.elta.co.il>
21884         * international/fontset.el: Don't require ind-util when compiling.
21886 2001-12-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21888         * emulation/tpu-edt.el (tpu-reset-screen-size):
21889         Use set-frame-height and set-frame-width instead of set-screen-height
21890         and set-screen-width.
21892         * vt-control.el (vt-wide, vt-narrow): Use set-frame-width instead
21893         of obsolete set-screen-width.
21895         * locate.el (locate): Remove dot at the end of error argument.
21897         * emerge.el (emerge-show-file-name): Use frame-height instead of
21898         obsolete screen-height.
21900         * mail/mh-utils.el (mh-show-msg): Likewise.
21901         (mh-handle-process-error): Use frame-width instead of obsolete
21902         screen-width.
21904 2001-12-25  Richard M. Stallman  <rms@gnu.org>
21906         * window.el (balance-windows): Use new PRESERVE-BEFORE arg
21907         to enlarge-window.  Use save-selected-window.  Don't try
21908         to resize windows that end at the bottom "level".
21909         Retry changing the sizes until the windows get the desired sizes.
21910         Discount the minibuffer when computing total height available.
21912         * emacs-lisp/debug.el (debugger-mode-map): Bind C-m, not `RET'.
21913         (debugger-make-xrefs): Only make a button for the first symbol
21914         on any line.
21916 2001-12-24  Eli Zaretskii  <eliz@is.elta.co.il>
21918         * term/internal.el (dos-cpNNN-setup, dos-codepage-setup):
21919         Call IT-setup-unicode-display here instead of adding it to
21920         dos-codepage-setup-hook, so that Unicode display tables are set
21921         before dos-codepage-setup-hook runs.
21923 2001-12-24  Richard M. Stallman  <rms@gnu.org>
21925         * net/net-utils.el (ftp-mode-abbrev-table): Don't define it.
21926         (nslookup-mode-abbrev-table): Don't define it.
21927         (smbclient-mode-abbrev-table): Don't define it.
21928         (ftp-mode): Don't use ftp-mode-abbrev-table; don't enable Abbrev mode.
21929         (nslookup-mode, smbclient-mode): Likewise.
21930         (network-connection-service-abbrev-alist): Variable deleted.
21931         (network-connection-mode-setup): Don't set up abbrev table.
21933         * faces.el (minibuffer-prompt): New face.
21934         (minibuffer-prompt-properties): Add `face' property.
21936         * replace.el (occur-mode-display-occurrence): New function.
21937         (occur-mode-map): Bind C-o to it.
21939 2001-12-24  Michael Kifer  <kifer@cs.sunysb.edu>
21941         * viper-cmd.el (viper-change-state): Got rid of make-local-hook.
21942         (viper-special-read-and-insert-char): Make C-m work right in the r
21943         comand.
21944         (viper-buffer-search-enable): Fixed format string.
21946         * viper-ex.el (ex-token-alist): Use ex-set-visited-file-name
21947         instead of viper-info-on-file.
21948         (ex-set-visited-file-name): New function.
21950         * viper.el (viper-emacs-state-mode-list): Added mail-mode.
21952         * ediff-mult.el (ediff-meta-mark-equal-files): Added optional
21953         action argument.
21955         * ediff-init.el: Fixed some doc strings.
21957         * ediff-util.el (ediff-after-quit-hook-internal): New variable.
21958         Got rid of make-local-hook.
21960         * ediff-wind.el (ediff-setup-control-frame): Got rid of
21961         make-local-hook.
21963 2001-12-23  Richard M. Stallman  <rms@gnu.org>
21965         * term/x-win.el (x-handle-geometry): Put height and width
21966         on default-frame-alist, left and top on initial-frame-alist.
21967         * term/w32-win.el (x-handle-geometry): Likewise.
21969         * sort.el (sort-reorder-buffer): Copy all to a temp buffer first.
21971         * play/yow.el (yow): Use an arg to distinguish interactive calls,
21972         not interactive-p.
21974 2001-12-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
21976         * emacs-lisp/elint.el (elint-unknown-builtin-args):
21977         Remove mocklisp entries.
21979         * subr.el (insert-string): Moved from mocklisp.c, reimplemented in
21980         Lisp.  Obsoleted.
21982         * emulation/mlconvert.el: File removed.
21984         * emulation/mlsupport.el: Moved to obsolete.
21986         * obsolete/mlsupport.el: Moved there from lisp/emulation.
21988         * emacs-lisp/find-gc.el (source-files): Remove mocklisp.c.
21990         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
21991         Remove mocklisp case.
21993         * help-fns.el (describe-function-1): Remove mocklisp function case.
21995 2001-12-22  Miles Bader  <miles@gnu.org>
21997         * textmodes/refill.el (refill-mode): Don't barf when redundantly
21998         turning refill-mode off.
22000 2001-12-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22002         * time.el (display-time-load-average-threshold): New variable.
22003         (display-time-update): Use it.
22005         These changes allow cycling through past 1, 5 and 15 minutes
22006         load-average displayed in the mode-line.
22008         * time.el (display-time-default-load-average): New customizable option.
22009         (display-time-load-average): New variable.
22010         (display-time-cycle-load-average): New function.
22011         (display-time-update): Use them.
22013 2001-12-21  Richard M. Stallman  <rms@gnu.org>
22015         * apropos.el (apropos-print): SPACING is now nil or a separator string.
22016         (apropos-documentation, apropos-value): Pass a suitable string.
22018 2001-12-21  Eli Zaretskii  <eliz@is.elta.co.il>
22020         * dired.el (dired-free-space-program, dired-free-space-args):
22021         Aliases for back-compatibility.
22023         * info.el (Info-select-node): If Info-use-header-line is nil, set
22024         header-line-format to nil.
22025         (Info-fontify-node): Don't put a keymap text property on the
22026         heading if we are not going to display the header line.  Remove
22027         any such text properties left over from past visits to this node.
22029         * ls-lisp.el (insert-directory): Insert the amount of free disk
22030         space, like files.el's insert-directory does.
22032         * files.el (directory-free-space-program):
22033         Mention file-system-info in the doc string.
22034         (get-free-disk-space): New function; code moved from insert-directory.
22035         (insert-directory): Call get-free-disk-space to get the amount of
22036         free space.
22038 2001-12-21  Richard M. Stallman  <rms@gnu.org>
22040         * help.el (view-order-manuals, view-emacs-news, describe-copying)
22041         (describe-distribution, describe-project): Use view-file.
22043         * emacs-lisp/cl-indent.el (define-modify-macro): Better indent spec.
22045         * net/ange-ftp.el (ange-ftp-file-modtime): Use save-match-data.
22047         * emacs-lisp/easy-mmode.el (define-minor-mode):
22048         Make no arg by default in an interactive call,
22049         so that repeating the command toggles again.
22051         * emacs-lisp/lisp-mode.el (eval-defun-1): Cope with atoms as args.
22053 2001-12-21  Christoph Wedler  <Christoph.Wedler@sap.com>
22055         * antlr-mode.el: More sophisticated indentation of cpp directive.
22056         (antlr-indent-at-bol-alist): New user option.
22057         (antlr-indent-line): Use it.
22058         (antlr-indent-style): New user option.
22059         (antlr-mode): Use it.
22060         (antlr-indent-item-regexp): Customize.
22062         * antlr-mode.el: Syntax highlighting changes.
22063         (antlr-font-lock-literal-regexp): New user option.
22064         (antlr-font-lock-syntax-face): New face used for :, |, ....
22065         (antlr-font-lock-default-face): New face.
22066         (antlr-font-lock-additional-keywords): Use them.
22068         * antlr-mode.el: New command to insert options -- variables.
22069         (antlr-mode-map): New binding [C-c C-o].
22070         (antlr-mode-menu): New submenus.
22071         (antlr-options-use-submenus): New user option.
22072         (antlr-tool-version): New user option.
22073         (antlr-options-auto-colon): New user option.
22074         (antlr-options-style): New user option.
22075         (antlr-options-push-mark): New user option.
22076         (antlr-options-assign-string): New user option.
22077         (antlr-options-headings): New variable.
22079         * antlr-mode.el: New command to insert options -- specific.
22080         (antlr-options-alists): New variable.
22081         (antlr-read-value): New function.
22082         (antlr-read-boolean): New function.
22083         (antlr-language-option-extra): New function.
22084         (antlr-language-limit-n-regexp): Change default to higher LIMIT.
22085         (antlr-c++-mode-extra): New function.
22086         (antlr-grammar-tokens): New function.
22087         (antlr-imenu-create-index-function): New optional argument.
22089         * antlr-mode.el: New command to insert options -- functions.
22090         (antlr-insert-option): New command.
22091         (antlr-insert-option-interactive): New function.
22092         (antlr-options-menu-filter): New function.
22093         (antlr-option-kind): New function.
22094         (antlr-scan-lists): New alias.
22095         (antlr-scan-lists-internal): New function.
22096         (antlr-skip-file-prelude): Hack for special SKIP-COMMENT.
22097         (antlr-option-level): New function.
22098         (antlr-syntactic-grammar-depth): New function.
22099         (antlr-option-location): New function.
22100         (antlr-insert-option-do): New function.
22101         (antlr-option-spec): New function.
22102         (antlr-version-string): New function.
22103         (antlr-insert-option-existing): New function.
22104         (antlr-insert-option-space): New function.
22105         (antlr-insert-option-area): New function.
22107         * antlr-mode.el: New electric keys ":;|&(){}", TAB works better
22108         with narrowing.  Menu change.  Miscellaneous.
22109         (antlr-mode-menu): Include "Indent Region" and "Customize Antlr".
22110         (antlr-mode-map): New bindings for characters in ":;|&(){}".
22111         (antlr-electric-character): New command.
22112         (antlr-class-header-regexp): New variable.
22113         (antlr-font-lock-additional-keywords): Use it.
22114         (antlr-imenu-create-index-function): Use it.
22115         (antlr-file-dependencies): Use it.
22116         (antlr-indent-line): Also works with restrictions.
22117         (antlr-indent-command): Interactive spec - changes the buffer.
22118         (antlr-language-for-option): Deletia.
22119         (antlr-language-option): New function, defined instead.
22120         (antlr-mode): Use it.
22122 2001-12-21  Eli Zaretskii  <eliz@is.elta.co.il>
22124         * jka-compr.el (jka-compr-partial-uncompress): Use null-device
22125         instead of a literal /dev/null.
22127         * Makefile.in (distclean): Remove Makefile in the build
22128         directory, not in the source directory.
22130 2001-12-21  Simon Josefsson  <jas@extundo.com>.
22132         * mail/smtpmail.el (smtpmail-send-queued-mail):
22133         Use with-temp-buffer instead of find-file-noselect, and bind
22134         coding-system-for-read to no-conversion when reading the queued
22135         messages.  (Simon's code modified slightly by Eli Zaretskii.)
22137 2001-12-20  Werner Lemberg  <wl@gnu.org>
22139         * international/mule-diag.el (describe-coding-system)
22140         (print-coding-system-briefly): Make printed output have a similar
22141         format as describe-character-set.
22143 2001-12-20  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22145         * play/blackbox.el (bb-member): Remove, use member instead.
22146         (bb-delete): Remove, use delete instead.
22147         Update copyright notice.  Defvar for bb-board, bb-x, bb-y,
22148         bb-score, bb-detour-count and bb-balls-placed.
22149         Propertize results of rays.
22151 2001-12-19  Karl Fogel  <kfogel@red-bean.com>
22153         * isearch.el (isearch-forward, isearch-edit-string): Make doc
22154         strings mention keybinding for `isearch-yank-word-or-char',
22155         rather than `isearch-yank-word', since the former is bound now
22156         and the latter is not.
22157         (isearch-yank-word-or-char): Fix formatting.
22159 2001-12-19  Werner Lemberg  <wl@gnu.org>
22161         * language/czech.el, language/european.el, language/slovak.el:
22162         More fixes for language info doc strings.
22164 2001-12-19  Eli Zaretskii  <eliz@is.elta.co.il>
22166         * loadup.el: Add "language" to the load-path.
22168 2001-12-19  Richard M. Stallman  <rms@gnu.org>
22170         * international/mule-cmds.el (describe-language-environment):
22171         Fix calls to help-xref-button.
22173 2001-12-19  Miles Bader  <miles@gnu.org>
22175         * international/fontset.el: Require `ind-util' when compiling.
22177 2001-12-18  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22179         * language/ethio-util.el (ethio-modify-vowel): Use char-to-string
22180         instead of decompose-composite-char.
22182 2001-12-18  Richard M. Stallman  <rms@gnu.org>
22184         * simple.el (eval-expression-print-level)
22185         (eval-expression-print-length): Doc fixes.
22187         * international/mule-diag.el (describe-character-set):
22188         Fix the arg to help-xref-button.
22190         * files.el (directory-free-space-program): New variable.
22191         (directory-free-space-args): New variable.
22192         (insert-directory): Use those two variables for getting free space.
22193         Use file-system-info instead, if that is defined.
22195         * dired.el (dired-free-space-program): Variable deleted.
22196         (dired-free-space-args): Variable deleted.
22197         (dired-insert-directory): Don't try to determine free space.
22199         * files.el (font-lock-defaults): Add risky-local-variables prop.
22200         (hack-one-local-variable): Treat various font-lock variables as risky.
22202 2001-12-18  Werner Lemberg  <wl@gnu.org>
22204         * language/chinese.el, language/cyrillic.el:
22205         * language/czech.el, language/european.el, language/greek.el:
22206         * language/hebrew.el, language/indian.el, language/japanese.el:
22207         * language/korean.el, language/lao.el, language/slovak.el:
22208         * language/thai.el, language/tibetan.el, language/vietnamese.el:
22209         Improve documentation strings of coding systems and language infos.
22211 2001-12-18  Werner LEMBERG  <wl@gnu.org>
22213         Add support for EUC-TW decoding/encoding.
22215         * language/china-util.el (big5-to-flat-code, flat-code-to-big5)
22216         (euc-to-flat-code, flat-code-to-euc, expand-euc-big5-alist):
22217         New auxiliary functions to build `big5-to-cns'.
22218         (big5-to-cns): New translation alist.
22220         * language/chinese.el: Added new coding system `euc-tw' and its
22221         alias `euc-taiwan'.
22222         Updated language `Chinese-CNS' to include euc-tw encoding also.
22223         (ccl-decode-euc-tw, ccl-encode-euc-tw): New functions for handling
22224         euc-tw.
22226 2001-12-18  Dave Love  <fx@gnu.org>
22228         * loadup.el: Add language/utf-8-lang, language/georgian.
22230         * image-file.el (image-file-name-extensions): Add pnm.  Doc fix.
22231         (image-file-name-regexps): Doc fix.
22233         * server.el (server-unload-hook): New function.
22235         * emacs-lisp/lisp-mnt.el (lm-copyright-prefix): Group the leader.
22236         (lm-crack-copyright): Cope with multi-line copyright `lines'.
22238         * simple.el (newline): Doc fix.
22239         (eval-expression-print-level, eval-expression-print-length): Doc
22240         fix.  Amend :type.
22241         (next-line, previous-line): Make arg optional.
22242         (newline): Doc fix.
22244         * Makefile.in (DONTCOMPILE): Add various language files.
22246         * international/quail.el (quail-input-string-to-events): Don't use
22247         string-to-list.
22249         * progmodes/f90.el (f90-break-line): Avoid infinite recursion
22250         calling `newline'.
22252 2001-12-17  Richard M. Stallman  <rms@gnu.org>
22254         * comint.el (comint-dynamic-list-input-ring-select): New function.
22255         Switches back to the old window configuration.
22256         (comint-dynamic-list-input-ring): Bind RET to that function.
22257         (comint-dynamic-list-input-ring-window-conf): New variable.
22259 2001-12-17  Werner Lemberg  <wl@gnu.org>
22261         * international/mule-conf.el: Improve documentation strings of
22262         character sets.
22264 2001-12-16  Richard M. Stallman  <rms@gnu.org>
22266         * dired.el (dired-copy-filename-as-kill): Moved from dired-x.el.
22267         (dired-mode-map): Bind w to dired-copy-filename-as-kill.
22269         * dired-x.el (dired-copy-filename-as-kill): Moved to dired.el.
22271         * autoinsert.el (auto-insert-alist): Redo finding C and C++ headers.
22272         Add a DESCRIPTION for the makefile item.
22274         * find-file.el (ff-other-file-name): New function.
22276 2001-12-16  Eli Zaretskii  <eliz@is.elta.co.il>
22278         * international/quail.el (quail-input-string-to-events): Fix last
22279         change.
22281 2001-12-16  Richard M. Stallman  <rms@gnu.org>
22283         * isearch.el (isearch-edit-string): When we set isearch-string
22284         to the default, also set isearch-message.
22286         * subr.el (temp-buffer-show-hook, temp-buffer-setup-hook): Add defvars.
22288         * startup.el (command-line-1): Display startup screen
22289         even if there are command line args.
22290         Add a note about how to go to editing your files.
22291         (fancy-splash-head): Add a note about how to go to your files.
22292         (fancy-splash-outer-buffer): New variable.
22293         (fancy-splash-screens): Bind variable fancy-splash-outer-buffer.
22295         * subr.el (with-temp-message): At the end, always discard
22296         the temp message, even by clearing the echo area.
22298         * progmodes/sh-script.el (sh-mode): Run sh-mode-hook.
22300 2001-12-16  Stefan Monnier  <monnier@cs.yale.edu>
22302         * log-view.el (log-view-message-re, log-view-current-tag):
22303         Recognize Subversion's log output format.
22305         * international/fontset.el: Build the list L at compile time.
22307         * language/ind-util.el (mapthread): Make a closure.
22309 2001-12-15  Richard M. Stallman  <rms@gnu.org>
22311         * isearch.el (isearch-start-hscroll): New variable.
22312         (isearch-mode): Set isearch-start-hscroll.
22313         (isearch-update): Restore original hscrolling if possible.
22315         * isearch.el (isearch-edit-string):
22316         Treat isearch-yank-word-or-char specially, like isearch-yank-word.
22318         * emacs-lisp/debug.el (debugger-previous-backtrace): New variable.
22319         (debugger-make-xrefs): Optimize by (1) using skip-syntax-forward
22320         rather than regexp search and (2) copying text properties
22321         already set up on text unchanged from the previous backtrace.
22323         * case-table.el (set-case-syntax-pair):
22324         Detect invalid calls and signal an error.
22326 2001-12-15  Richard M. Stallman  <rms@gnu.org>
22328         * language/ind-util.el (range): Function deleted.
22329         (indian-regexp-of-hashtbl-keys): Renamed from `regexp-of-hashtbl-keys'.
22330         All calls changed.
22332         * language/devan-util.el (devanagari-range): Renamed from `range'.
22333         All calls changed.
22334         (devanagari-regexp-of-hashtbl-keys):
22335         Renamed from `regexp-of-hashtbl-keys'.  All calls changed.
22337 2001-12-15  Dave Love  <fx@gnu.org>
22339         * language/ind-util.el: Don't require cl.
22340         (indian-glyph-char, indian-glyph-max-char)
22341         (indian-char-glyph): Moved from indian.el
22342         (indian--puthash-char, mapthread): Don't quote lambda.
22343         (indian--map): New function.
22344         (indian--puthash-v, indian--puthash-c, indian--puthash-m)
22345         (indian--puthash-cv): Use it.
22347         * language/indian.el (indian-glyph-char, indian-glyph-max-char)
22348         (indian-char-glyph): Moved to ind-util.el
22350         * language/devan-util.el (devanagari-post-read-conversion):
22351         New function.
22353         * language/georgian.el: New file.
22355         * international/mule-cmds.el (locale-language-names): Add various
22356         entries.  Remove utf-8 special case.
22357         (locale-charset-language-names, locale-preferred-coding-systems):
22358         Add utf-8 case.
22359         (set-language-environment): Process required-features earlier.
22361         * international/quail.el (quail-keyboard-layout-alist):
22362         Add pc105-uk.
22363         (quail-keyboard-layout-type): Fix :type.
22364         (quail-choose-completion-string): Simplify.
22365         (quail-update-leim-list-file): Don't get fooled by commented-out code.
22366         (quail-input-string-to-events): Run events through
22367         translation-table-for-input.
22369         * international/mule-conf.el (translation-table-for-input):
22370         New variable.
22371         (latin-iso8859-14): Amend description.
22372         (file-coding-system-alist): Add entry for utf-8.
22374         * language/utf-8-lang.el: New file.
22376         * international/code-pages.el: New file.
22378         * language/hebrew.el ("Windows-1255"): New language.
22380         * language/european.el ("Welsh", "Latin-7", "Lithuanian")
22381         ("Latvian"): New languages.
22383 2001-12-14  Stefan Monnier  <monnier@cs.yale.edu>
22385         * xml.el: Use setq rather than (set 'foo bar).
22386         Use push+nreverse rather than append.
22387         (xml-node-name, xml-node-attributes, xml-node-children):
22388         Use defsubst rather than macros.
22389         (xml-parse-region): Handle a nil return value from xml-parse-tag.
22390         (xml-parse-tag): Don't skip white space.  Return nil for a comment.
22391         Concat the two strings surrounding a comment into a single string.
22393         * newcomment.el (comment-indent): Jump to the middle of empty comments.
22395 2001-12-14  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22397         * select.el (xselect-convert-to-class, xselect-convert-to-name):
22398         Document.
22400 2001-12-14  Andre Spiegel  <spiegel@gnu.org>
22402         * vc-hooks.el (vc-checkout-model, vc-state, vc-workfile-version):
22403         Return nil if FILE is not registered.
22404         (vc-check-master-templates, vc-default-make-version-backups-p):
22405         Doc fix.
22407 2001-12-13  David Ponce  <david@dponce.com>
22409         * ruler-mode.el (ruler-mode-extra-left-cols): Remove.
22410         (ruler-mode-left-fringe-cols): New macro.
22411         (ruler-mode-right-fringe-cols): New macro.
22412         (ruler-mode-left-scroll-bar-cols): New macro.
22413         (ruler-mode-right-scroll-bar-cols): New macro.
22414         (ruler-mode-ruler): Use above new macros.
22416 2001-12-13  Richard M. Stallman  <rms@gnu.org>
22418         * files.el (set-auto-mode): Fix previous change.
22420 2001-12-13  Stefan Monnier  <monnier@cs.yale.edu>
22422         * emacs-lisp/easymenu.el (easy-menu-intern): New fun.
22423         (easy-menu-do-define, easy-menu-convert-item-1)
22424         (easy-menu-define-key-intern, easy-menu-get-map): Use it.
22425         (easy-menu-return-item): Only return nil if there is no binding.
22427 2001-12-13  Rajesh Vaidheeswarran  <rv@gnu.org>
22429         * whitespace.el (whitespace-version): 3.2
22430         * whitespace.el (whitespace-force-mode-line-update): Replace with
22431         `whitespace-mode-line-update', which is an alias to the correct
22432         function in various emacsen.
22433         * whitespace.el (whitespace-{un,}highlight-the-space):
22434         Add colorized highlighting of the bogus whitespaces in a buffer/file,
22435         using the `whitespace-highlight-face' if
22436         `whitespace-display-spaces-in-color' is set.
22438 2001-12-13  Eli Zaretskii  <eliz@is.elta.co.il>
22440         * international/mule.el (set-auto-coding): Don't search for
22441         "unibyte:" or "coding:" if set-auto-mode-1 returns nil.
22443 2001-12-13  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22445         * mail/mailabbrev.el (mail-abbrevs-setup): Do not use make-local-hook.
22447         * mail/rmail.el (rmail-fontify-buffer-function): Likewise.
22449         * mail/rmailsum.el (rmail-summary-mode): Likewise.
22451 2001-12-13  Richard M. Stallman  <rms@gnu.org>
22453         * simple.el (undo): Always set this-command to `undo',
22454         so that the next undo after an error will not begin redoing.
22456         * simple.el (shell-command): Doc fix.
22457         (shell-command-on-region): If there is output an an error,
22458         add "...Shell command failed" to the output.
22460 2001-12-13  David Ponce  <david@dponce.com>
22462         * ruler-mode.el (ruler-mode-left-fringe-cols): Variable removed.
22463         (ruler-mode-left-fringe-cols): Function replaced by more efficient
22464         implementation `ruler-mode-extra-left-cols'.
22465         (ruler-mode-ruler): Use above new function.  Take into account
22466         that the fringe areas can now be resized.
22468 2001-12-12  Richard M. Stallman  <rms@gnu.org>
22470         * international/characters.el (Unicode): Comment out
22471         the specifications for kelvin and angstrom signs.
22473         * international/mule.el (make-translation-table-from-vector):
22474         Allow null elements in VEC.
22476         * international/ucs-tables.el (unify-8859-on-encoding-mode)
22477         (unify-8859-on-decoding-mode): Swap the code in their bodies.
22478         Add :version.
22480 2001-12-11  Richard M. Stallman  <rms@gnu.org>
22482         * derived.el (derived-mode-p): Function moved to subr.el.
22484         * subr.el (derived-mode-p): Moved here from derived.el.
22486         * international/mule.el (set-auto-coding): Use set-auto-mode-1.
22488         * files.el (set-auto-mode-1): New subroutine, broken out of
22489         set-auto-mode.
22490         (set-auto-mode, hack-local-variables-prop-line): Use that.
22492 2001-12-11  Dave Love  <fx@gnu.org>
22494         * language/thai-util.el, language/thai.el: Add Unicode equivalents.
22496         * language/european.el: Remove autoload cookies.  Fix registration
22497         of diacritic composition function.
22499 2001-12-11  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22501         * calendar/todo-mode.el: Require time-stamp.
22503         * net/zone-mode.el (zone-mode): Don't use make-local-hook.
22505 2001-12-11  Richard M. Stallman  <rms@gnu.org>
22507         * emacs-lisp/authors.el (authors-aliases): Delete "Richard Stallmao".
22509         * textmodes/ispell.el (ispell-buffer-local-parsing):
22510         Match xml like sgml.
22512         * emacs-lisp/advice.el (ad-compile-function):
22513         Byte compile the function under another (uninterned) name.
22515         * gud.el (gdb): Define and bind gud-jump.
22517         * font-lock.el (font-lock-mode):
22518         Put our function at the end of after-change-functions.
22520         * ediff-diff.el (ediff-cmp-options): Doc fix.
22522         * comint.el (comint-password-prompt-regexp): Match "UNIX Password".
22524 2001-12-10  Richard M. Stallman  <rms@gnu.org>
22526         * isearch.el (isearch-yank-word-or-char): New function.
22527         (isearch-mode-map): Bind C-w to that.
22529         * menu-bar.el (menu-bar-mode): Make arg optional.
22531         * simple.el (line-move): Cope if next-single-property-change
22532         or previous-single-property-change returns nil.
22534         * emacs-lisp/lisp-mnt.el (lm-verify): New arg NON-FSF-OK.
22535         Don't use interactive-p; instead, pass the proper args
22536         in (interactive...).  Clean up most of the trouble-report strings.
22538 2001-12-10  Eli Zaretskii  <eliz@is.elta.co.il>
22540         * mail/smtpmail.el (smtpmail-send-queued-mail): Insert the
22541         enqueued messages literally.
22543 2001-12-10  Noah Friedman  <friedman@splode.com>
22545         * battery.el (battery-insert-file-contents): Obsolete function
22546         removed.
22547         (battery-read-function): Obsolete function removed.
22548         (battery-linux-proc-apm): Use insert-file-contents.
22550 2001-12-07  Stephen Eglen  <stephen@gnu.org>
22552         * iswitchb.el (iswitchb-visit-buffer):
22553         Use `select-frame-set-input-focus'--needed when window manager
22554         uses "click to focus" policy.
22556 2001-12-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22558         * COPYING: Moved back.
22560 2001-12-07  Eli Zaretskii  <eliz@is.elta.co.il>
22562         * term/internal.el (IT-character-translations): Add entries for
22563         more points.
22565         * international/characters.el: Resurrect the Hebrew category
22566         settings for all Hebrew characters removed by the last change.
22567         Add code for setting the Hebrew category of the Unicode Hebrew
22568         characters.  Set syntax entries for Hebrew punctuation characters.
22570         * international/ucs-tables.el (ucs-8859-8-alist): Add Hebrew
22571         points and directional formatting control characters.
22573 2001-12-07  Dave Love  <fx@gnu.org>
22575         * language/lao-util.el: Add Unicode equivalents for rules.
22576         (lao-post-read-conversion): New function.
22578         * language/lao.el: Add Unicode equivalents.
22579         (lao): Add post-read conversion.
22581         * international/latin1-disp.el: Fix some 8-bit-graphic characters.
22582         Use iso2022 encoding.
22583         (latin1-char-displayable-p): Doc fix.
22584         (latin1-display-ucs-per-lynx): New option.
22585         (latin1-display-ucs-per-lynx): New command.
22586         (latin1-display-reset): Special-case arabic.
22587         (ucs-tables): Require.
22588         (latin1-display-sets, latin1-display-setup): Add arabic.
22589         (latin1-display) <variable>: Use function latin1-display.
22590         (latin1-display) <function>: Add mule-unicode stuff.
22591         (latin1-display-check-font): Don't lose if `info' is nil.
22593         * international/iso-transl.el: Insert Latin-1 characters, not
22594         unibyte codes.
22596         * language/european.el (diacritic-composition-pattern): New constant.
22597         (diacritic-compose-region, diacritic-compose-string)
22598         (diacritic-compose-buffer, diacritic-post-read-conversion)
22599         (diacritic-composition-function): New functions.
22601         * international/utf-8.el (ucs-mule-to-mule-unicode):
22602         New translation table.
22603         (ccl-encode-mule-utf-8): Use it.
22604         (utf-8-untranslated-to-ucs, utf-8-help-echo, utf-8-compose)
22605         (utf-8-post-read-conversion, utf-8-pre-write-conversion): New function.
22606         (utf-8-subst-table): New variable.
22607         (utf-8-compose-scripts): New option.
22608         (mule-utf-8): Update safe-charsets, pre-write and post-read conversion.
22610         * international/ucs-tables.el, international/utf-8-subst.el:
22611         New files.
22613         * international/characters.el: Don't set word syntax (the default)
22614         explicitly.  Add a diacritic category.  Add info for Unicode
22615         equivalents of characters in various Mule charsets and for extra
22616         Unicode characters.  Don't define specific categories for
22617         Indian/Devanagari, since they aren't used.
22619 2001-12-06  Richard M. Stallman  <rms@gnu.org>
22621         * textmodes/fill.el (set-justification): Rename arg VALUE to STYLE.
22622         (set-justification-left, set-justification-right): Doc fix.
22624         * progmodes/f90.el (f90-break-line): Use (newline 1) to insert newline.
22625         (bug-f90-mode): Variable deleted.
22627 2001-12-06  Stefan Monnier  <monnier@cs.yale.edu>
22629         * indent.el (indent-line-function): Default is indent-relative again.
22631 2001-12-07  Miles Bader  <miles@gnu.org>
22633         * progmodes/compile.el (compilation-error-regexp-alist):
22634         Added regexps for RXP.
22636 2001-12-05  Eli Zaretskii  <eliz@is.elta.co.il>
22638         * progmodes/cwarn.el (cwarn-font-lock-match-assignment-in-expression):
22639         Add shift-assignment operators to those highlighted, and highlight
22640         the whole operator rather than just the "=".
22642 2001-12-04  Juanma Barranquero  <lektu@terra.es>
22644         * files.el (save-abbrevs, save-some-buffers): Don't ask the user
22645         before saving abbrevs if `save-abbrevs' has the value `silently'.
22647 2001-12-04  Andreas Schwab  <schwab@suse.de>
22649         * xt-mouse.el (turn-off-xterm-mouse-tracking): Doc fix.
22651 2001-12-04  Colin Walters  <walters@debian.org>
22653         * emacs-lisp/autoload.el (make-autoload): Also generate autoloads
22654         for `defmacro*' forms.
22656         * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
22657         `defmacro*'.
22659 2001-12-03  Stefan Monnier  <monnier@cs.yale.edu>
22661         * progmodes/antlr-mode.el (antlr-c-common-init): Undo last change.
22663 2001-12-02  Richard M. Stallman  <rms@gnu.org>
22665         * files.el (insert-directory): If the df output does not look right,
22666         don't try to use it.  Other cleanups in overall code structure.
22668 2001-12-02  Stefan Monnier  <monnier@cs.yale.edu>
22670         * textmodes/outline.el (outline-mode-prefix-map):
22671         Add bindings for outline-promote and outline-demote.
22672         (outline-minor-mode-menu-bar-map): New var.
22673         (outline-minor-mode): Use it.
22674         (outline-heading-alist): New var (renamed from outline-level-heading).
22675         (outline-level): Use it.
22676         (outline-insert-heading, outline-promote, outline-demote):
22677         Update to use outline-heading-alist.
22679         * disp-table.el (standard-display-european):
22680         Simplify since the function is not interactive any more.
22681         Don't set the existing buffers to unibyte.
22683         * pcvs-util.el (cvs-file-to-string): Move condition-case outside.
22685         * pcvs.el (cvs-reread-cvsrc): Don't use cvs-file-to-string.
22687         * reveal.el (reveal-mode): Fix reveal-mode's lighter.
22689         * shell.el (shell): Use shell-file-name.
22690         Pop to buffer before calling comint to set COLUMNS properly.
22692         * emacs-lisp/cl.el (svref): New alias.
22694         * progmodes/antlr-mode.el (antlr-c-common-init):
22695         Don't inhibit adaptive-fill-mode any more.
22697         * progmodes/delphi.el (delphi-mode): Don't use make-local-hook.
22699         * progmodes/etags.el (tags-with-face): Use make-symbol.
22700         (tags-search, tags-query-replace): Use backquotes.
22702         * textmodes/picture.el (picture-mode-map): Don't use defconst
22703         for a variable.
22705 2001-12-02  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22707         * textmodes/reftex-index.el (reftex-index-mode):
22708         Remove make-local-hook.
22710         * textmodes/reftex-toc.el (reftex-toc-mode): Likewise.
22712 2001-12-02  Kim F. Storm  <storm@cua.dk>
22714         * isearch.el (isearch-resume-enabled): New variable.
22715         (isearch-done): Use that variable.
22717 2001-12-01  Richard M. Stallman  <rms@gnu.org>
22719         * wid-edit.el (widget-button-click): Don't move point permanently:
22720         Avoid mouse-set-point--instead select the window,
22721         then do save-excursion, then move point.
22722         Specify the buffer for get-char-property.
22723         Don't use `@' in interactive.
22725         * indent.el (indent-line-function):
22726         Default is indent-to-left-margin again.
22728         * replace.el (query-replace-read-args): Display message
22729         if FROM contains `\n' or `\t'.
22731 2001-12-01  Stefan Monnier  <monnier@cs.yale.edu>
22733         * indent.el (tab-to-tab-stop): Use delete-horizontal-space.
22735         * bindings.el (minibuffer-local-map): Bind TAB to insert-tab.
22737         * emacs-lisp/regexp-opt.el (regexp-opt):
22738         Bind completion-regexp-list to nil.
22740         * progmodes/hideif.el (hif-nexttoken): Move to before first def.
22742 2001-12-01  Eli Zaretskii  <eliz@is.elta.co.il>
22744         * progmodes/idlwave.el, progmodes/idlw-rinfo.el:
22745         * progmodes/idlw-shell.el, progmodes/idlw-toolbar.el:
22746         Update maintainer.
22748 2001-11-30  Stefan Monnier  <monnier@cs.yale.edu>
22750         * mail/smtpmail.el: Use with-current-buffer.
22751         (message-make-date, message-make-message-id): Autoload when needed.
22752         (smtpmail-send-it): Use them to add `Date:' and `Message-Id:'
22753         headers when missing.
22755         * international/encoded-kb.el (encoded-kbd-mode):
22756         Use define-minor-mode.
22758         * enriched.el (enriched-mode): Use define-minor-mode.
22759         Use dolist and pop and push.
22761         * info.el (Info-find-node-2): Don't call info-insert-file-contents
22762         with the `visit' argument.
22763         (Info-extract-menu-node-name): Use `replace-regexps-in-string'.
22765         * progmodes/hideif.el (hide-ifdef-mode): Only modify
22766         `change-major-mode-hook' locally.  Reset invisibility spec.
22768         * man.el (Man-build-section-alist): Remove last Man-match-substring.
22770 2001-11-30  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
22772         * textmodes/paragraphs.el (mark-paragraph): Clarify doc.
22773         Clarify error message.
22775 2001-11-29  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
22777         * textmodes/paragraphs.el (mark-paragraph): Allow prefix arg.
22779 2001-11-30  Andre Spiegel  <spiegel@gnu.org>
22781         * vc-cvs.el (vc-cvs-parse-status): Store file state in property,
22782         don't just return it.
22784 2001-11-30  Eli Zaretskii  <eliz@is.elta.co.il>
22786         * menu-bar.el (menu-bar-read-lispref, menu-bar-read-lispintro)
22787         (menu-bar-read-emacs-man, search-emacs-glossary)
22788         (emacs-index-search, elisp-index-search): New functions.
22789         (apropso-documentation, apropos, apropos-value, apropos-variable)
22790         (apropos-commands): Modify menu item names and help text.
22791         (elisp-index-search, emacs-index-search, emacs-glossary):
22792         New menu items.
22793         (menu-bar-manuals-menu): Move the Ordering Manuals item to a
22794         submenu.
22795         (info-elisp, info-elintro): New menu items.
22796         (apropos): Modify the menu item name.
22798 2001-11-30  Stefan Monnier  <monnier@cs.yale.edu>
22800         * emacs-lisp/lisp-mode.el (read-if): Add lisp-indent-function prop.
22802         * textmodes/outline.el (outline-promote, outline-demote): Typo.
22804         * man.el (man-follow-mouse): New function.
22805         (Man-mode-map): Bind mouse-2 to it.
22806         (Man-match-substring): Remove.  Replace with `match-string'.
22807         (man): Use the `default-value' argument to `read-string'.
22808         (Man-fontify-manpage): Add mouse-face to cross references.
22810         * emacs-lisp/cl-macs.el (shiftf): Fix more.  Simplify.
22812 2001-11-29  Stefan Monnier  <monnier@cs.yale.edu>
22814         * emacs-lisp/crm.el (completing-read-multiple): Better preserve
22815         the value of require-match in minibuffer-completion-confirm.
22816         Use crm-local-completion-map.
22818         * emacs-lisp/cl-macs.el (shiftf): Fix the fast case so
22819         (let ((a 1) (b 2)) (shiftf a b (cons a b)) b) returns (1 . 2).
22820         (cl-make-type-test): Use char-valid-p for `character'.
22822         * info.el (Info-complete-next-re, Info-complete-cache): New vars.
22823         (Info-complete-menu-item): Rewrite.  Add the ability to search
22824         several sequential nodes.  Add a simple caching mechanism.
22825         (Info-goto-index): New function extracted from Info-index.
22826         (Info-index): Use it.  Add completion to the interactive spec.
22827         (Info-menu-update): Simplify call to `Info-complete-menu-item'.
22829 2001-11-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22831         * COPYING: Removed.
22833 2001-11-29  Dave Love  <fx@gnu.org>
22835         * progmodes/fortran.el: Fontify rewind, backspace.  Doc fixes.
22836         (fortran-window-create, fortran-window-create-momentarily):
22837         Rewrite, moving error condition.
22838         (fortran-beginning-do, fortran-beginning-if): Fix regexps.
22839         (fortran-mode-syntax-table): Revert last change.
22841         * international/mule.el: Doc fixes.
22842         (map-charset-chars): New function.
22843         (register-char-codings): Use it to cope with generic chars in
22844         safe-chars.
22846 2001-11-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22848         * play/blackbox.el (blackbox-mode, blackbox): Doc fix.
22850         * play/cookie1.el (cookie, cookie-insert, shuffle-vector): Doc fixes.
22852         * play/studly.el (studlify-word, studlify-region)
22853         (studlify-buffer): Fix doc-string.
22854         (studlify-buffer): Add autoload cookie.
22856 2001-11-28  Stefan Monnier  <monnier@cs.yale.edu>
22858         * textmodes/outline.el (outline-up-heading): Add `invisible-ok' arg.
22859         (outline-up-heading-all): Remove.
22860         (hide-sublevels): Move to end-of-heading before calling flag-region.
22861         (outline-copy-overlay, outline-discard-overlays): Remove.
22862         (outline-flag-region): Use `remove-overlays'.
22863         Don't move to end-of-heading.
22864         (outline-next-visible-heading, outline-back-to-heading)
22865         (outline-on-heading-p): Use outline-invisible-p.
22866         (outline-font-lock-level): Use outline-up-heading's new arg.
22867         (outline-minor-mode): Simplify.
22868         (outline-map-tree, outline-reveal-toggle-invisible): New funs.
22869         (outline): Put a `reveal-toggle-invisible' property.
22870         (outline-level-heading): New var.
22871         (outline-insert-heading, outline-promote, outline-demote)
22872         (outline-toggle-children): New commands.
22874         * progmodes/hideif.el (hif-end-of-line): New function.
22875         (hide-ifdef-mode): Set line-move-ignore-invisible.
22876         (hide-ifdef-region-internal): New function.
22877         (hide-ifdef-region): Use it.
22878         (hif-defined): Return an integer.
22879         (hif-infix-to-prefix): Remove.
22880         (hif-tokenize): Parse from the buffer rather than from a string.
22881         Correctly tokenize integers.  Use forward-comment.
22882         (hif-expr): Use hif-or.
22883         (hif-term): Use hif-and.
22884         (hif-factor): Use hif-not.  Handle numbers properly.
22885         Don't require parenthesis around `defined's argument.
22886         (hif-and, hif-or, hif-not): New funs.
22887         (hif-canonicalize): Pass a region to hif-tokenize.  Use hif-not.
22888         (hif-hide-line): Don't hide the \n before the line.
22889         (hif-possibly-hide): Correctly handle numeric evaluation results.
22891         * progmodes/make-mode.el: Use line-(end|beginning)-position.
22892         (makefile-mode): Set indent-line-function.
22893         (makefile-browser-insert-continuation): Use with-current-buffer.
22894         (makefile-beginning-of-line-point, makefile-end-of-line-point): Remove.
22896 2001-11-28  Karl Fogel  <kfogel@red-bean.com>
22898         * isearch.el (isearch-yank-internal): New helper function.
22899         (isearch-yank-char): New function.
22900         (isearch-yank-word, isearch-yank-line): Rewrite to use
22901         isearch-yank-internal.
22903 2001-11-28  Eli Zaretskii  <eliz@is.elta.co.il>
22905         * mouse.el (mouse-set-font): Make it a no-op if multiple fonts
22906         aren't supported.  Print a message to that effect if invoked.
22908 2001-11-27  Stephen Eglen  <stephen@gnu.org>
22910         * locate.el (locate): Put point at first matching file rather
22911         than top of buffer.
22913 2001-11-27  Stefan Monnier  <monnier@cs.yale.edu>
22915         * reveal.el: New file.
22917         * progmodes/hideif.el: Misc cleanup.
22918         (hide-ifdef-mode-submap): Put the def in the defvar.
22919         Use substitute-key-definition.
22920         (hide-ifdef-mode): Use define-minor-mode.
22921         (hif-outline-flag-region): Remove.
22922         (hif-show-all): Define in terms of hif-show-ifdef-region.
22923         (hif-after-revert-function): Rename from hif-before-revert-function.
22924         (hide-ifdef-region, hif-show-ifdef-region): Use overlays.
22925         (hif-tokenize): Use with-syntax-table.
22926         (hif-make-range): Use `else' also for `else-p'.
22927         (hif-range-else-p): Remove.
22928         (hif-find-range): Simplify.
22929         (hif-hide-line): Don't bother preserving buffer-modified-p.
22930         (hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
22931         Don't use selective-display and inhibit-read-only.
22933         * subr.el (copy-overlay, remove-overlays): New funs.
22935         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix off-by-two error.
22937 2001-11-27  Sam Steingold  <sds@gnu.org>
22939         * ansi-color.el, bookmark.el, dired.el, emerge.el, fast-lock.el
22940         * lazy-lock.el, mouse-sel.el, mail/feedmail.el
22941         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el, emacs-lisp/ewoc.el
22942         * obsolete/c-mode.el, obsolete/cplus-md.el
22943         * progmodes/dcl-mode.el, progmodes/idlw-shell.el, progmodes/idlwave.el
22944         * term/sun-mouse.el, textmodes/artist.el:
22945         Converted backquote to the new style.
22946         * mouse.el, reposition.el: Likewise (in comments).
22947         * expand.el: Likewise (in a string).
22949 2001-11-27  Richard M. Stallman  <rms@gnu.org>
22951         * cus-edit.el (custom-load-symbol): Don't always load locate-library.
22953 2001-11-26  Richard M. Stallman  <rms@gnu.org>
22955         * wid-edit.el (widget-toggle-value-create): On graphic terminal,
22956         if :on-glyph or :off-glyph is a list, eval it and store it back.
22957         (checkbox): Quote the values for :on-glyph and :off-glyph.
22959         * cus-start.el (recursive-load-depth-limit): Delete item.
22961 2001-11-26  Stefan Monnier  <monnier@cs.yale.edu>
22963         * help-fns.el (describe-categories, help-describe-category-set): New.
22964         describe-categories moved here from src/category.c.
22966 2001-11-26  Sam Steingold  <sds@gnu.org>
22968         * progmodes/cc-mode.el (c-submit-bug-report): Make sure that the
22969         arguments to `insert' are strings.
22971 2001-11-26  Richard M. Stallman  <rms@gnu.org>
22973         * startup.el (command-line-1): Call kill-buffer only in non-fancy case.
22975 2001-11-26  Eli Zaretskii  <eliz@is.elta.co.il>
22977         * international/mule-diag.el: Require help-fns instead of
22978         help-funs.
22980         * help-fns.el: Renamed from help-funs.el.
22982         * startup.el (command-line-1): Don't try to call process-list if
22983         it is not fboundp.
22985 2001-11-26  Sam Steingold  <sds@gnu.org>
22987         * frame.el (show-trailing-whitespace): Remove :set argument (the
22988         value was essentially identical to the defalt).
22990 2001-11-26  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
22992         * hexl.el (hexl-mode, hexl-follow-ascii): Remove make-local-hook.
22994         * icomplete.el (icomplete-minibuffer-setup): Likewise.
22996         * hilit-chg.el (hilit-chg-set): Likewise.
22998         * speedbar.el (speedbar-mode): Likewise.
23000         * calendar/calendar.el (calendar-mode): Likewise.
23002         * play/yow.el (psychoanalyze-pinhead): Use insert instead of
23003         insert-string.
23005         * play/gamegrid.el (gamegrid-init-buffer): Likewise.
23007         * term/bg-mouse.el (bg-insert-moused-sexp): Likewise.
23009         * term/sun-mouse.el (sun-yank-selection): Likewise.
23011         * textmodes/bib-mode.el (return-key-bib): Likewise.
23013         * calendar/appt.el (appt-disp-window): Likewise.
23015         * calendar/diary-lib.el (list-diary-entries): Likewise.
23017         * array.el (array-reconfigure-rows): Likewise.
23019         * filecache.el (file-cache-minibuffer-complete): Likewise.
23021         * obsolete/cplus-md.el (fill-c++-comment): Likewise.
23023         * strokes.el (strokes-prompt-user-save-strokes): Likewise.
23025         * allout.el (outline-version, outline-open-topic)
23026         (outline-rebullet-heading, outline-insert-listified)
23027         (outline-latex-verbatim-quote-curr-line)
23028         (outline-latexify-one-item, outlineify-sticky): Likewise.
23030         * vc.el (vc-next-action-on-file): Likewise.
23031         (vc-dired-mode): Remove make-local-hook.
23033 2001-11-26  Andre Spiegel  <spiegel@gnu.org>
23035         * vc.el (vc-find-version): New function.
23036         (vc-version-other-window): Redefined in terms of the above.
23038         * log-view.el (log-view-find-version): New function.
23039         (log-view-mode-map): Bind it to `f'.
23041 2001-11-26  Gerd Moellmann  <gerd@gnu.org>
23043         * language/devan-util.el (dev-char-glyph): Escape `"' in
23044         string literals.
23045         (dev-glyph-glyph, dev-glyph-glyph-2)
23046         (devanagari-compose-syllable-region): Likewise.
23048 2001-11-26  Richard M. Stallman  <rms@gnu.org>
23050         * window.el (save-selected-window): No error if saved window is dead.
23052         * help-funs.el (describe-syntax): Put (interactive) after doc string.
23054 2001-11-26  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
23056         * international/quail.el (quail-help): Require help-mode in
23057         top-level instead.
23059         * iswitchb.el (iswitchb-exhibit): Use insert instead of
23060         insert-string.
23062         * icomplete.el (icomplete-exhibit): Likewise.
23064 2001-11-25  Stefan Monnier  <monnier@cs.yale.edu>
23066         * diff-mode.el (diff-end-of-hunk): Watch out for ambiguities.
23067         (diff-hunk-kill): Simplify.
23068         (diff-post-command-hook): Only apply to a single hunk.
23069         (diff-hunk-text): Make `char-offset' non-optional.
23070         (diff-find-text): Return a cons cell.
23071         (diff-find-approx-text): New fun.
23072         (diff-find-source-location): Use it.
23073         (diff-apply-hunk, diff-test-hunk, diff-goto-source):
23074         Adapt to new retval of diff-find-text.
23076         * vc-cvs.el (vc-cvs-parse-entry): Rewrite, comparing the string-
23077         rather than integer- representation of dates.
23079         * textmodes/fill.el (fill-indent-according-to-mode): Default to nil.
23081         * emacs-lisp/syntax.el: Don't profile syntax-ppss any more.
23082         (syntax-after): New fun.
23084         * help-funs.el (describe-syntax): New fun.
23086         * font-lock.el (font-lock-cache-state, font-lock-cache-position)
23087         (font-lock-ppss-stats, font-lock-ppss): Remove.
23088         (font-lock-fontify-syntactically-region): Remove tuning code.
23089         (font-lock-compile-keywords): Fix off-by-one bug.
23090         (font-lock-set-defaults): Don't set removed vars.
23091         (c-keywords): Add `inline'.
23092         (c-type-names): Add `_Complex', `_Imaginary' and `_Bool'.
23094         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
23095         Set syntax-begin-function.
23096         (lisp-interaction-mode-abbrev-table): Defvar to its correct value.
23097         (lisp-interaction-mode): Don't set local-abbrev-table any more.
23098         (lisp-mode-auto-fill): Use syntax-ppss and obey
23099         comment-auto-fill-only-comments.
23100         (lisp-fill-paragraph): Use syntax-ppss.
23102 2001-11-25  ShengHuo ZHU  <zsh@cs.rochester.edu>
23104         * mail/rmail.el (rmail-enable-mime-composing): New. A lightweight
23105         version of rmail-enable-mime.
23106         (rmail-forward): Use it.
23108 2001-11-25  Richard M. Stallman  <rms@gnu.org>
23110         * emacs-lisp/lisp-mode.el (lisp-indent-function): Add doc string.
23112         * international/quail.el (quail-keyboard-layout-button):
23113         Define button type.
23114         (quail-keyboard-customize-button): Likewise.
23115         (quail-help): Use those button types.  Require `help-mode'.
23116         Avoid altering the argument `package'.
23118         * help-mode.el (help-function, help-variable, help-face)
23119         (help-coding-system, help-input-method, help-character-set):
23120         Define each button type with its own explicit define-button-type.
23122         * language/devan-util.el: Comment out parts of the file
23123         which apparently are garbled.
23125 2001-11-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
23127         * mail/smtpmail.el (smtpmail-deduce-address-list): Don't use
23128         insert-string.
23130 2001-11-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
23132         * play/snake.el (snake-mode): Remove make-local-hook.
23134         * play/tetris.el (tetris-mode): Likewise.
23136         * play/decipher.el (decipher-mode): Likewise.
23138         * tmm.el (tmm-add-prompt): Likewise.
23140 2001-11-25  Sam Steingold  <sds@gnu.org>
23142         * menu-bar.el (menu-bar-apropos-menu): New variable.
23143         Moved all `apropos' bindings to this menu.
23144         (menu-bar-help-menu): Added `menu-bar-apropos-menu'.
23146 2001-11-24  KAWABATA, Taichi  <batta@beige.ocn.ne.jp>
23148         The following changes are for new indian languages support based
23149         on Unicode charset and CDAC fonts.
23151         * international/mule-conf.el: Change indian-1-column charset to
23152         indian-glyph charset.
23154         * international/characters.el: Adjusted for the change of
23155         indian-1-column -> indian-glyph.
23157         * international/fontset.el: Delete the setting for indian-1-column
23158         and add the setting for indian-glyph in the default fontset.
23160         * language/indian.el: Completely re-written.
23162         * language/devanagari.el: Completely re-written.
23164         * language/devan-util.el: Completely re-written.
23166         * language/ind-util.el: New file.
23168 2001-11-24  Richard M. Stallman  <rms@gnu.org>
23170         * startup.el (command-line-1): Don't do startup screen
23171         if a subprocess is running.  Call the startup screen buffer
23172         "GNU Emacs".  Make a special mode-line-format for it.
23174         * net/browse-url.el (browse-url-galeon-new-window-is-tab): New var.
23175         (browse-url-galeon): Use that variable.
23177         * mail/supercite.el (sc-toggle-var): Don't use set-variable or
23178         eval-expression.  Eval and set the variable simply.
23180         * files.el (temporary-file-directory): Use defcustom.
23181         (small-temporary-file-directory): Likewise.
23182         (normal-backup-enable-predicate): Move down in file
23183         after definition of temporary-file-directory.
23185         * bindings.el (last-buffer, unbury-buffer): Doc fixes.
23187 2001-11-24  Colin Walters  <walters@debian.org>
23189         * calc/calc-ext.el (calc-init-extensions): Update the rest of the
23190         autoload names to match files renamed on initial calc import.
23192         * calc/calc.el (Commentary): Cleanup, and add logistic curve
23193         fitting suggestion from Robert J. Chassell <bob@rattlesnake.com>.
23195 2001-11-23  Colin Walters  <walters@debian.org>
23197         * Makefile.in (finder_setwins, setwins): Include Calc again.
23199         * calc/calc-rules.el: Add header comment.
23201 2001-11-23  Andre Spiegel  <spiegel@gnu.org>
23203         * vc.el (with-vc-properties): Don't bind `filename' locally.
23204         (with-vc-file, edit-vc-file): Use `make-symbol' for local bindings
23205         to avoid name clashes.  Fix `lisp-indent-function' property for
23206         both.
23208 2001-11-23  Francesco Potort\e,Al\e(B  <pot@gnu.org>
23210         * generic-x.el (mailrc-generic-mode): Highlight the `source' keyword.
23212 2001-11-22  Colin Walters  <walters@debian.org>
23214         * calc/calc-misc.el (report-calc-bug):
23215         Use `reporter-prompt-for-summary-p'.
23217         * calc/INSTALL, calc/Makefile: Remove.
23219 2001-11-22  Miles Bader  <miles@gnu.org>
23221         * emacs-lisp/re-builder.el (reb-match-0, reb-match-1)
23222         (reb-match-2, reb-match-3): Add dark-background variants.
23224 2001-11-22  Colin Walters  <walters@debian.org>
23226         * calc/calc-misc.el (calc-info): Don't perform voodoo, just
23227         (info "Calc").
23228         (report-calc-bug): Use reporter.el.
23230         * mail/reporter.el (reporter-submit-bug-report): Doc fixes.
23232 2001-11-21  Richard M. Stallman  <rms@gnu.org>
23234         * which-func.el (which-function): Call imenu--make-index-alist
23235         if necessary to get a list of functions.
23236         (which-function-imenu-failed): New variable.
23237         (which-func-update): Handle all visible windows.
23238         (which-func-update-1): New subroutine broken out of which-func-update.
23240         * files.el (temporary-file-directory, null-device)
23241         (small-temporary-file-directory): Definitions moved up.
23243         * progmodes/cperl-mode.el (cperl-problems, cperl-tips)
23244         (cperl-non-problems, cperl-praise): Doc fixes.
23246         * progmodes/sh-script.el (sh-mode): Don't use define-derived-mode.
23247         (sh-mode-syntax-table): Function restored.
23248         Variable set up for use by function sh-mode-syntax-table.
23249         (sh-set-shell): Set the syntax table.
23251         * play/gomoku.el (gomoku-mode): Don't use define-derived-mode.
23253         * progmodes/perl-mode.el (perl-mode): Don't use define-derived-mode.
23255         * international/encoded-kb.el: Don't alter minor-map-alist.
23257 2001-11-20  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
23259         * files.el (auto-save-file-name-transforms): Put remote files in
23260         temporary-file-directory rather than /tmp.
23262 2001-11-21  Colin Walters  <walters@debian.org>
23264         * calc/calc-macs.el (calc-slow-wrapper): Move (point) call outside
23265         of (function ...) wrapper.
23267 2001-11-20  Stefan Monnier  <monnier@cs.yale.edu>
23269         * derived.el (define-derived-mode): Create the abbrev-table
23270         from inside the `defvar'.
23272         * jit-lock.el (jit-lock-defer-time): New var.
23273         (jit-lock-defer-timer, jit-lock-buffers): New vars.
23274         (jit-lock-mode): Initialize them.  Cancel the timers more carefully.
23275         (jit-lock-function): Defer fontification if requested.
23276         (jit-lock-stealth-chunk-start): Pay attention to the new non-nil value.
23277         (jit-lock-stealth-fontify): Check the new `jit-lock-defer-multiline'
23278         text property.
23279         (jit-lock-deferred-fontify): New fun.
23281 2001-11-20  Richard M. Stallman  <rms@gnu.org>
23283         * emacs-lisp/lisp-mode.el (lisp-interaction-mode):
23284         Set local-abbrev-table to lisp-mode-abbrev-table.
23286         * emacs-lisp/re-builder.el (reb-mode):
23287         Don't use define-derived-mode.  Call kill-all-local-variables.
23289         * emacs-lisp/lisp-mode.el (lisp-mode, emacs-lisp-mode):
23290         Don't use define-derived-mode.
23292         * help-mode.el (help-mode): Undo 2001-10-07 change.
23294         * replace.el (occur-mode): Undo 2001-5-20 change.
23296 2001-11-20  Jason Rumney  <jasonr@gnu.org>
23298         * w32-fns.el (w32-system-coding-system): Change to an alias for
23299         locale-coding-system.
23300         (set-w32-system-coding-system): Document the above change.
23301         Set locale-coding-system instead.
23303 2001-11-20  Richard M. Stallman  <rms@gnu.org>
23305         * ruler-mode.el: Add pagination.
23306         (ruler-mode-toggle-show-tab-stops): No need to
23307         test `ruler-mode' variable.
23309 2001-11-20  Eli Zaretskii  <eliz@is.elta.co.il>
23311         * play/landmark.el: Mark lm-mode as special.
23313         * play/gomoku.el: Mark gomoku-mode as special.
23315 2001-11-20  Juanma Barranquero  <lektu@terra.es>
23317         * emacs-lisp/re-builder.el (reb-change-target-buffer): New function.
23318         (top-level): Bind it to C-c C-b.
23319         (re-builder): Don't re-enter RE Builder Mode.
23321         * bs.el (bs-delete): Signal an error if the buffer cannot be deleted.
23323 2001-11-20  Stefan Monnier  <monnier@cs.yale.edu>
23325         * progmodes/cperl-mode.el (cperl-perldoc): Require man before binding
23326         `manual-program'.
23328         * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Don't move back
23329         to a line without a comment.
23331 2001-11-20  Eli Zaretskii  <eliz@is.elta.co.il>
23333         * dired.el (dired-listing-switches): Mention in the doc string
23334         that some switches are not supported by ls-lisp.el
23336 2001-11-19  Stefan Monnier  <monnier@cs.yale.edu>
23338         * imenu.el (imenu--split-menu): Use dolist and copy-sequence.
23339         (imenu--create-keymap-2): Remove.
23340         (imenu--create-keymap-1): Simplify, remove third argument.
23341         (imenu--generic-function): Use dolist.
23342         (imenu-find-default): New function.
23343         (imenu--completion-buffer): Use it.
23344         (imenu--mouse-menu): Use popup-menu.
23345         (imenu--menubar-select): Return t rather than calling imenu.
23347         * textmodes/fill.el (fill-delete-prefix, fill-delete-newlines):
23348         New functions, extracted from fill-region-as-paragraph.
23349         (fill-region-as-paragraph): Use them.
23350         Use an end marker instead of eob.
23351         Ignore whitespace-only fill-prefixes when indenting according to mode.
23352         Simplify the loop that searches for spaces backwards.
23354         * textmodes/picture.el (picture-vertical-step)
23355         (picture-horizontal-step): Don't use defconst for variables.
23357         * mail/mail-extr.el: Use backquote/dolist/mapc/when.  Docstring fixes.
23358         (mail-extract-address-components): Downcase domain names.
23359         (mail-extr-delete-char): Remove.  Use delete-char instead.
23361         * emulation/pc-select.el: Doc string fixes.
23362         (pc-selection-mode): Don't treat macos as a tty.
23364         * emacs-lisp/lisp.el (mark-sexp): Mark more if repeated.
23366         * progmodes/cc-engine.el (c-parse-state): Typo. From Martin Stjernholm.
23368         * mwheel.el (mouse-wheel-scroll-amount): Allow float values.
23369         (mouse-wheel-progessive-speed): New var.
23370         (mwheel-scroll): Use it and handle float values.
23372         * lazy-lock.el (lazy-lock-install-hooks): Remove make-local-hook.
23374         * iswitchb.el (iswitchb-mode): Use define-minor-mode.
23375         (iswitchb): Fix the case where the result was selected with the mouse.
23376         (iswitchb-completion-help): Use the normal *Completions* now that
23377         mouse selection works.
23378         (iswitchb-minibuffer-setup): Simplify.
23380         * newcomment.el (comment-column, comment-style, comment-multi-line)
23381         (comment-auto-fill-only-comments): Remove :group arg.
23382         (comment-padding): Add :type.
23383         (comment-indent-new-line): Ignore comment-auto-fill-only-comments
23384         if called interactively.
23386 2001-11-19  Colin Walters  <walters@verbum.org>
23388         * calc/calc.el (toplevel): Add comment and version header.
23389         (calc-init-base): Bump version to 2.02f, update date.
23391 2001-11-19  Richard M. Stallman  <rms@gnu.org>
23393         * net/browse-url.el: Support Mozilla and Galeon.
23394         By default, find the installed browser whichever it is.
23395         (browse-url-mozilla): New function.
23396         (browse-url-mozilla-sentinel): New function.
23397         (browse-url-galeon, browse-url-galeon-sentinel): New functions.
23398         (browse-url-default-browser): New function.
23399         (browse-url-process-environment): Use browse-url-browser-display.
23400         (browse-url-browser-display): Renamed from browse-url-netscape-display.
23401         (browse-url-mozilla-startup-arguments, browse-url-galeon-program)
23402         (browse-url-galeon-arguments, browse-url-galeon-startup-arguments)
23403         (browse-url-mozilla-program, browse-url-mozilla-arguments): New vars.
23404         (browse-url-browser-function): New default, new options.
23406 2001-11-19  Sam Steingold  <sds@gnu.org>
23408         * bindings.el (last-buffer, unbury-buffer): New function.
23409         (mode-line-unbury-buffer): Use `unbury-buffer'.
23411 2001-11-18  Stephen Eglen  <stephen@gnu.org>
23413         * iswitchb.el (iswitchb-cannot-complete-hook): New variable to
23414         control behaviour when no further completion is possible.
23416 2001-11-19  Colin Walters  <walters@verbum.org>
23418         * calc/calc-macs.el (calc-wrapper, calc-slow-wrapper)
23419         (math-showing-full-precision, math-with-extra-prec, math-working)
23420         (calc-with-default-simplification)
23421         (calc-with-trail-buffer): Use backtick.
23422         (Math-zerop, Math-integer-negp, Math-integer-posp, Math-negp)
23423         (Math-looks-negp, Math-posp, Math-integerp, Math-natnump)
23424         (Math-ratp, Math-realp, Math-anglep, Math-numberp, Math-scalarp)
23425         (Math-vectorp, Math-messy-integerp, Math-objectp, Math-objvecp)
23426         (Math-integer-neg, Math-equal, Math-lessp, Math-primp)
23427         (Math-num-integerp, Math-bignum-test, Math-equal-int)
23428         (Math-natnum-lessp, math-format-radix-digit): Change to `defsubst'.
23429         (calc-record-compilation-date-macro): Deleted.  Callers updated.
23430         (math-format-radix-digit): Move to calc-bin.el.
23432         * calc/calc.el (calc-record-compilation-date): Remove.
23433         (calc-bug-address): Update.
23434         (calc-settings-file): Use `user-init-file'.
23436         * calc/calc-mode.el (calc-settings-file-name, calc-save-modes):
23437         Handle null `calc-settings-file'.
23439         * calc/calc-frac.el (calc-over-notation): Use `completing-read'.
23440         * calc/calc-keypd.el (calc-keypad-mode): New.
23441         (calc-do-keypad): Use it.
23442         (calc-keypad-map): Move into `calc-keypad-mode'.
23444         * calc-math.el (calcFunc-sqrt, calcFunc-hypot): Add missing quote
23445         to defalias argument.
23447         * calc-misc.el (math-fixnump, math-fixnatnump, calcFunc-trunc)
23448         (calcFunc-floor): Ditto.
23450         * calc-units.el (calcFunc-usimplify): Ditto.
23452         * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
23453         * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
23454         * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
23455         * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
23456         * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
23457         * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
23458         * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
23459         * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
23460         * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
23461         * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
23462         * calcsel2.el: Change all toplevel `setq' forms to `defvar' forms,
23463         and move them before their first use.  Use `when', `unless'.
23464         Remove trailing periods from error forms.  Add description and
23465         headers suggested by Emacs Lisp coding conventions.
23467 2001-11-19  Stefan Monnier  <monnier@cs.yale.edu>
23469         * newcomment.el (comment-indent):
23470         Fix misindentation for comment-only lines.
23471         (comment-indent-new-line): Only obey comment-multi-line if the
23472         comment-ender is not the end-of-line.
23474 2001-11-19  Richard M. Stallman  <rms@gnu.org>
23476         * net/net-utils.el (network-connection-service-abbrev-alist):
23477         New variable.
23479         * emacs-lisp/cl-indent.el (lisp-indent-defmethod):
23480         Advance to start of 3rd sexp by moving fwd and backing over it.
23481         At first three elements, act like defun.
23483         * delsel.el (delete-selection-pre-hook): Handle and resignal
23484         file-supersession errors to interact properly with userlock.el.
23486 2001-11-18  Richard M. Stallman  <rms@gnu.org>
23488         * progmodes/fortran.el (fortran-mode-syntax-table):
23489         Specify punctuation syntax for backslash.
23491         * progmodes/sh-script.el (sh-must-be-shell-mode): Function deleted.
23492         All calls deleted.
23494         * international/mule-util.el (string-to-sequence): Make it obsolete.
23495         (string-to-list, string-to-vector): Implement them directly
23496         using append and vconcat, not with string-to-sequence.
23498         * startup.el (command-line): Set abbrevs-changed to nil after
23499         reading the init file and the abbrevs file.
23501         * isearch.el (isearch): Use magenta2 as bg for (background light)
23503 2001-11-17  Richard M. Stallman  <rms@gnu.org>
23505         * menu-bar.el (menu-bar-update-buffers-1): Don't pad the buffer name.
23507         * simple.el (minibuffer-history-sexp-flag): Doc fix.
23509 2001-11-17  Stefan Monnier  <monnier@cs.yale.edu>
23511         * font-lock.el (font-lock-compile-keywords): New arg `regexp'.
23512         If set and if applicable, add a regexp to highlight defun-like
23513         text inside comments and strings.
23514         (font-lock-fontify-keywords-region): Pass that new arg.
23515         (font-lock-set-defaults): Move the code to set `font-lock-keywords'
23516         to the end and pass that new arg.
23517         (c-font-lock-keywords-2): Fix regex for labels.
23518         (font-lock-match-c++-style-declaration-item-and-skip-to-next):
23519         Make it work when LIMIT is several lines further.
23520         (c-font-lock-keywords-3, c++-font-lock-keywords-3)
23521         (objc-font-lock-keywords-3, java-font-lock-keywords-3):
23522         Use backquote and make the regexes for `int a, b, c;' work on
23523         multiple lines.
23525         * emacs-lisp/re-builder.el (reb-mode): Use define-derived-mode.
23526         (font-lock-defaults-alist): Don't change it any more.
23527         (reb-subexp-mode-map): Cleanup.
23529         * custom.el (custom-current-group-alist): New var.
23530         (custom-declare-group): Set it.
23531         (custom-current-group): New fun.
23532         (custom-declare-variable, custom-handle-all-keywords):
23533         Use it as a default if no :group argument is specified.
23535         * international/mule-cmds.el (locale-name-match): Use \` and \(?:.
23536         (standard-keyboard-coding-systems): New var.
23537         (set-locale-environment): Use it to decide whether or not to call
23538         set-keyboard-coding-system.
23539         (locale-language-names): Use \"French\" for "fr".
23541 2001-11-17  Richard M. Stallman  <rms@gnu.org>
23543         * emacs-lisp/checkdoc.el (princ-list, checkdoc-read-event)
23544         (add-to-list): Delete compatibility code.
23545         (checkdoc-next-message-error): Doc fix.
23547 2001-11-17  Stephen Eglen  <stephen@gnu.org>
23549         * locate.el (locate): Show default locate pattern within the
23550         prompt, but don't insert it into the minibuffer contents.
23551         Catch the case when pattern is the empty string.
23553 2001-11-17  Eli Zaretskii  <eliz@is.elta.co.il>
23555         * language/european.el ("French"): New language environment.
23557 2001-11-16  Richard M. Stallman  <rms@gnu.org>
23559         * calendar/todo-mode.el (todo-save): Fix previous change.
23561         * subr.el (functionp): Do use cdr-safe on object.
23563 2001-11-16  Stefan Monnier  <monnier@cs.yale.edu>
23565         * bindings.el (mode-line-mode-name): Only put the help-echo property
23566         if the local-map property was put as well.
23567         (global-map): Bind switch-frame, delete-frame, iconify-frame
23568         and make-frame-visible events.
23570         * emacs-lisp/elp.el (elp-not-profilable): New var.
23571         (elp-not-profilable-p): New function.
23572         (elp-instrument-function): Use it.  Use backquotes and push.
23574         * emacs-lisp/bytecomp.el (byte-compile-call-tree, byte-code-vector)
23575         (byte-stack+-info, byte-compile-last-warned-form)
23576         (byte-compile-last-logged-file): Don't defconst a variable.
23577         (no-byte-compile): Declare.
23578         (byte-compile-file): Don't boundp-check no-byte-compile any more.
23579         (byte-compile-defvar): Leave defconst as is.
23581         * emacs-lisp/edebug.el (edebug-form-data, edebug-offsets)
23582         (edebug-offsets-stack, edebug-read-dotted-list, edebug-def-name)
23583         (edebug-current-offset, edebug-old-def-name, edebug-error-point)
23584         (edebug-best-error): Don't defconst a variable.
23585         (edebug-read-syntax-table): Use a char-table.
23586         (edebug-lemacs-specific): Remove.
23587         Toplevel: Eliminate check for Lucid Emacs.
23589         * pcvs-util.el (cvs-prefix-define): Don't defconst a variable.
23591         * rect.el (move-to-column-force): Mark obsolete.
23592         (operate-on-rectangle, delete-extract-rectangle-line)
23593         (insert-rectangle, delete-whitespace-rectangle-line)
23594         (open-rectangle-line, clear-rectangle-line): Use move-to-column.
23595         (string-rectangle-history): New var.
23596         (string-rectangle, string-insert-rectangle): Use it.
23597         (delete-rectangle-line): Fix pos/column mixup and simplify.
23599         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
23600         (normal-top-level, command-line, command-line-1): Simplify.
23602         * tar-mode.el (tar-mode): Use define-derived-mode.
23604         * view.el (view-mode-enable): Don't use make-local-hook.
23606         * emacs-lisp/eldoc.el (eldoc-mode): Use define-minor-mode.
23608 2001-11-16  Richard M. Stallman  <rms@gnu.org>
23610         * mail/mail-extr.el (mail-extr-voodoo): Treat a number as a word
23611         if it doesn't make sense as anything else.
23612         Don't recognize a "telephone number" at the beginning of the name.
23613         (mail-extr-leading-garbage): Match non-word characters only.
23615 2001-11-16  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
23617         * startup.el (command-line-processed): Doc fix.
23619         * apropos.el (apropos-next-label-button): Doc fix.
23621 2001-11-16  Stefan Monnier  <monnier@cs.yale.edu>
23623         * comint.el (comint-mode): Simplify.
23624         (make-comint-in-buffer): Run `comint-mode' only if necessary.
23626         * subr.el (eval-after-load): Make it work with features as well.
23628         * log-view.el (log-view-mode): Don't mark the buffer unmodified.
23630         * international/mule-cmds.el (describe-input-method): Setup xref.
23631         (set-language-environment): Use functionp.
23632         (locale-language-names, locale-charset-language-names)
23633         (locale-preferred-coding-systems): Defconst and purecopy.
23635         * language/european.el (mac-roman): Add mime-charset property.
23637 2001-11-15  Richard M. Stallman  <rms@gnu.org>
23639         * emacs-lisp/cl.el (values, values-list, multiple-value-list)
23640         (multiple-value-apply, nth-value): Use defsubst rather than defalias
23641         to get better doc strings.
23643 2001-11-15  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
23645         * derived.el: Fix autoload cookie.
23647 2001-11-15  Richard M. Stallman  <rms@gnu.org>
23649         * jka-compr.el (jka-compr-partial-uncompress): Fix previous change.
23651 2001-11-15  Stefan Monnier  <monnier@cs.yale.edu>
23653         * menu-bar.el (menu-bar-edit-menu) <copy>: Put an explicit key binding.
23655 2001-11-15  Richard M. Stallman  <rms@gnu.org>
23657         * dired.el (dired-undo): Display a message to explain
23658         that this does not undo file system changes.
23660 2001-11-15  David Kastrup  <David.Kastrup@t-online.de>
23662         * mouse-drag.el (mouse-drag-throw): Push back non-drag events
23663         into `unread-command-events' instead of trying keymap
23664         lookups ourselves.  This makes mouse-clicks do the right
23665         thing even when keymaps of overlays are involved.
23666         (mouse-drag-drag): Likewise.
23668 2001-11-15  Andreas Schwab  <schwab@suse.de>
23670         * progmodes/ada-mode.el (ada-add-extensions): Quote regexp special
23671         characters and append anchor to pattern added to auto-mode-alist.
23673 2001-11-15  Stefan Monnier  <monnier@cs.yale.edu>
23675         * server.el (server-process-filter): Run pre/post-comment-hook
23676         before/after visiting the file.
23678         * info-look.el (makefile-mode): Add info for automake.
23679         (autoconf-mode): Fix the name of the index for automake.
23681         * international/latin-9.el: Give pilcrow punctuation syntax.
23683 2001-11-15  Andre Spiegel  <spiegel@gnu.org>
23685         * vc.el: Documentation fixes.
23687 2001-11-14  Stefan Monnier  <monnier@cs.yale.edu>
23689         * smerge-mode.el (smerge-match-conflict): Fix typo.
23690         (smerge-diff): Be careful to read match-data early enough.
23692 2001-11-14  Colin Walters  <walters@verbum.org>
23694         * calc/calc-alg.el (calcFunc-esimplify, calcFunc-simplify)
23695         (calcFunc-subst): Use `defalias' instead of `fset' and
23696         `symbol-function'.
23698         * calc/calc-arith.el (calcFunc-abs, calcFunc-float)
23699         (calcFunc-ceil, calcFunc-round): Ditto.
23701         * calc/calc-bin.el (calcFunc-clip): Ditto.
23703         * calc/calc-ext.el (calcFunc-evalv): Ditto.
23705         * calc/calc-math.el (calcFunc-sqrt, calcFunc-hypot): Ditto.
23707         * calc/calc-misc.el (math-fixnump, math-fixnatnump)
23708         (calcFunc-trunc, calcFunc-floor, calc-report-bug): Ditto.
23710         * calc/calc-units.el (calcFunc-unsimplify): Ditto.
23712         * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el
23713         * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el
23714         * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el
23715         * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el
23716         * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el
23717         * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el
23718         * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el
23719         * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el
23720         * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el
23721         * calc-help.el, calc-math.el, calc-rules.el, calc-units.el
23722         * calcsel2.el: Style cleanup; don't put closing parens on their
23723         own line, add "foo.el ends here" to each file, and update
23724         copyright date.
23726         * README: Update maintainer.
23728 2001-11-13  Richard M. Stallman  <rms@gnu.org>
23730         * progmodes/compile.el (recompile): Use compilation-arguments if
23731         set, so as to be able to M-x recompile the exact command which
23732         created a compilation-mode buffer.
23734         * progmodes/ada-mode.el (ada-fill-comment-prefix): Doc fix.
23736 2001-11-13  Gerd Moellmann  <gerd@gnu.org>
23738         * mouse.el (mouse-drag-region): Don't run the up-event
23739         handler if window start changed due to the down-mouse event.
23741 2001-11-13  Richard M. Stallman  <rms@gnu.org>
23743         * mouse.el (mouse-show-mark): Either move point to the mark
23744         or use highlighting, never both.
23745         (mouse-buffer-menu): If WINDOW is a frame, select its selected window.
23747 2001-11-13  Simon Josefsson  <jas@extundo.com>
23749         * mail/smtpmail.el (top-level): Change maintainer to Simon
23750         Josefsson, cleanup the smtpmail.el header.
23752         * mail/smtpmail.el (top-level): Don't require cl or base64.
23753         (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
23754         (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd):
23755         Defsubst instead of defmacro.
23756         (smtpmail-intersection): Return value in reverse order.
23757         (smtpmail-open-stream): Use stringp instead of string-to-list.
23758         (smtpmail-open-stream, smtpmail-try-auth-methods): New functions,
23759         separated from smtpmail-via-smtp.
23761         * mail/smtpmail.el (top-level): Autoload starttls, mail-utils and
23762         rfc2104.  Require base64 and cl.
23763         (smtpmail-smtp-service): Doc fix.  :type fix.
23764         (smtpmail-debug-info): Doc fix.
23765         (smtpmail-debug-verb, smtpmail-auth-credentials)
23766         (smtpmail-starttls-credentials, smtpmail-auth-supported):
23767         New variables.
23768         (smtpmail-deduce-address-list, smtpmail-send-it): Don't require
23769         mail-utils (it is autoloaded).
23770         (smtpmail-cred-server, smtpmail-cred-port, smtpmail-cred-key)
23771         (smtpmail-cred-user, smtpmail-cred-cert, smtpmail-cred-passwd)
23772         (smtpmail-find-credentials, smtpmail-intersection): New utility funs.
23773         (smtpmail-via-smtp): Support STARTTLS, if binary is installed.
23774         (smtpmail-via-smtp): Support AUTH.
23775         (smtpmail-via-smtp): Use `smtpmail-debug-verb' to control VERB.
23777 2001-11-13  Richard M. Stallman  <rms@gnu.org>
23779         * ebuff-menu.el (electric-buffer-update-highlight): New function.
23780         (electric-buffer-overlay): New variable.
23781         (electric-buffer-menu-looper): Call electric-buffer-update-highlight.
23782         (electric-buffer-list): Likewise.
23784         * isearch.el (isearch-whitespace-chars): Doc fix.
23785         (isearch-mode): Handle negative search-slow-window-lines correctly.
23787 2001-11-13  Stefan Monnier  <monnier@cs.yale.edu>
23789         * newcomment.el (comment-normalize-vars): Handle a nil comment-padding.
23791         * progmodes/ada-mode.el (ada-fill-comment-prefix): GNAT wants 2 spaces.
23792         From Emmanuel Briot <briot@act-europe.fr>.
23794 2001-11-13  Colin Walters  <walters@debian.org>
23796         * calc/calc.el (calc-unread-command): Use `unread-command-events'.
23798         * calc/calc-mode.el (calc-settings-file-name): Don't hardcode
23799         "~/.emacs"; use `read-file-name'.
23801         * calc/calc-graph.el, calc/calc-embed.el, calc/calc-graph.el
23802         * calc/calc-misc.el, calc/calc-mode.el, calc/calc-prog.el
23803         * calc/calc-sel.el, calc/calc-store.el, calc/calc-yank.el
23804         * calc/calc.el: Use `frame-width' instead of `screen-width',
23805         `frame-height' instead of `screen-height', and,
23806         `executing-kbd-macro' instead of `executing-macro'.
23808         * calc/calc-embed.el (calc-do-embedded): Call `y-or-n-p' with
23809         correct number of arguments.
23811         * calc/calc-aent.el (calc-do-alg-entry):
23812         Use `blink-paren-function' instead of `blink-paren-hook'.
23814 2001-11-12  Richard M. Stallman  <rms@gnu.org>
23816         * calendar/todo-mode.el (todo-save): Add save-excursion
23817         and save-restriction.
23819         * server.el (server-edit, server-done): Doc fix.
23821         * simple.el (clone-indirect-buffer): Error if major mode symbol
23822         has a no-clone-indirect property.
23823         (clone-buffer): Check for obvious errors before reading clone name.
23825         * info.el (Info-mode): Add a no-clone-indirect property.
23827 2001-11-12  Sam Steingold  <sds@gnu.org>
23829         * vc.el (vc-print-log): Bind `inhibit-read-only' to t before and
23830         set-buffer-modified-p to nil after `vc-exec-after'.
23831         * log-view.el (log-view-mode-map): Bind "q", "z", "m" and "d".
23832         (log-view-mode): Make read-only.
23833         (log-view-current-file): Do final `expand-file-name' in the
23834         current `default-directory'.
23835         (log-view-current-tag): Take an optional `where' arg.
23836         (log-view-diff): New user command.
23838 2001-11-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
23840         * progmodes/cpp.el (cpp-choose-face): Fix typo.
23842 2001-11-12  Sam Steingold  <sds@gnu.org>
23844         * emacs-lisp/cl-indent.el (toplevel): Indent properly
23845         `generic-flet', `generic-labels', `with-accessors',
23846         `with-condition-restarts'.
23848 2001-11-12  Richard M. Stallman  <rms@gnu.org>
23850         * dired.el: Many trivial doc fixes.
23851         (dired-get-file-for-visit): New function.
23852         (dired-find-alternate-file, dired-mouse-find-file-other-window)
23853         (dired-view-file, dired-find-file-other-window, dired-display-file)
23854         (dired-find-file): Use dired-get-file-for-visit.
23856 2001-11-12  Alex Schroeder  <kensanata@yahoo.com>
23858         * sql.el (sql-mode): Doc change.
23860         * sql.el (sql-mode-syntax-table): The backslash is no longer an
23861         escape character.
23863 2001-11-12  Colin Walters  <walters@debian.org>
23865         * calc/calc-keypd.el (toplevel): Bind mouse buttons.
23866         (calc-do-keypad): Don't attempt to use nonexistent global
23867         mouse-map, use calc-keypad-map.
23868         (calc-keypad-x-left-click): Renamed to calc-keypad-left-click.
23869         (calc-keypad-left-click): Don't use mouse-map; update to new event
23870         interface.
23871         (calc-keypad-x-middle-click, calc-keypad-x-right-click): Ditto.
23872         (calc-keypad-press): Use `unread-command-events' instead of
23873         `unread-command-char'.
23875         * calc/calc-ext.el (calc-init-extensions): Update autoload names
23876         to match files renamed on initial calc import.
23878 2001-11-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
23880         * textmodes/flyspell.el (flyspell-default-dictionary):
23881         Fix previous change.
23883 2001-11-12  Richard M. Stallman  <rms@gnu.org>
23885         * textmodes/flyspell.el (flyspell-default-dictionary):
23886         Fix custom type.
23888 2001-11-11  Richard M. Stallman  <rms@gnu.org>
23890         * calendar/solar.el (solar-sunrise-and-sunset):
23891         Exchange the two extreme values of day-length.
23893         * progmodes/sh-script.el (sh-must-be-shell-mode):
23894         Allow modes derived from sh-mode.
23896         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
23897         Turn off error in some re-search-forward calls.
23899         * replace.el (query-replace-skip-read-only): New variable.
23900         (perform-replace): If that variable is non-nil, ignore matches
23901         that have a read-only property.
23903         * derived.el (define-derived-mode): Doc fix.
23905         * server.el (server-buffer-done): Test of server-existing-buffer
23906         was backwards.
23907         (server-existing-buffer): Doc fix.
23909         * textmodes/flyspell.el (flyspell-default-dictionary):
23910         Allow nil as value, and make nil the default.
23912 2001-11-11  Eli Zaretskii  <eliz@is.elta.co.il>
23914         * menu-bar.el (menu-bar-edit-menu): Don't use x-selection-exists-p if
23915         it is not fboundp.
23916         (clipboard-yank): Ditto.
23918 2001-11-11  Colin Walters  <walters@verbum.org>
23920         The following changes are based on patches from
23921         Eli Zaretskii <eliz@is.elta.co.il>, Kai Gro\e,A_\e(Bjohann
23922         <Kai.Grossjohann@CS.Uni-Dortmund.DE>, and others.
23924         * calc/calc.el (toplevel): Require calc-macs.
23925         (calc-minibuffer-size): New.
23926         (calcDigit-nondigit): Use it instead of `buffer-size'.
23927         (calcDigit-backspace): Likewise.
23928         (calcDigit-nondigit): Use `minibuffer-contents' instead of
23929         `buffer-string'.
23930         (calc-minibuffer-contains): Use `minibuffer-prompt-end' instead of
23931         `point-min'.
23932         (calcDigit-key): Use `calc-minibuffer-contains' instead of a
23933         `save-excursion'.
23935         * calc/calc-macs.el (calc-record-compilation-date-macro): Return a
23936         simple `setq' form.
23938         * calc/calc-ext.el: (toplevel): Require calc.
23939         (calc-fancy-prefix-map): New.
23940         (calc-fancy-prefix): Use it.
23941         (calc-fancy-prefix-other-key): New.
23943         * calc/calc-aent.el (toplevel): Require calc-macs during compilation.
23944         (calc-do-quick-calc): Use `frame-width' instead of `screen-width'.
23945         (calcAlg-edit): Use `minibuffer-contents' instead of `buffer-string'.
23946         (calcAlg-enter): Likewise.
23947         (calcAlg-enter): Use `minibuffer-prompt-end' instead of `point-min'.
23949 2001-11-10  Richard M. Stallman  <rms@gnu.org>
23951         * abbrev.el (read-abbrev-file): Don't set save-abbrevs.
23952         (quietly-read-abbrev-file): Doc fix.
23954         * startup.el (command-line): Read standard abbrev
23955         file (abbrev-file-name), if it exists.
23957         * files.el (save-abbrevs): Default value is t.
23959         * progmodes/compile.el (compile-goto-error): Fix previous change
23960         in the case where subsequent errors have not been parsed yet
23961         because they are in a different source file.
23963 2001-11-10  Peter Kleiweg  <kleiweg@let.rug.nl>
23965         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
23966         Merge two regular expressions into one.
23967         (ps-mode): Make local bindings for `comment-start' and
23968         `comment-start-skip'.
23969         (ps-mode-looking-at-nested): Simplify an if-else construct;
23970         use `set-match-data' to set the result.
23972 2001-11-10  Richard M. Stallman  <rms@gnu.org>
23974         * textmodes/flyspell.el (flyspell-correct-word/local-keymap):
23975         Function deleted.
23976         (flyspell-correct-word): Old definition deleted.
23977         (flyspell-correct-word/mouse-keymap): Renamed to flyspell-correct-word.
23978         All references renamed too.
23980 2001-11-10  Gerd Moellmann  <gerd@gnu.org>
23982         * Makefile.in (finder_setwins, setwins): Exclude Calc.
23984 2001-11-09  Per Abrahamsen  <abraham@dina.kvl.dk>
23986         * wid-edit.el (checklist): Removed `:menu-tag'.
23987         (radio-button-choice): Ditto.
23988         (editable-list): Ditto.
23990 2001-11-09  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
23992         * play/gomoku.el: Move definitions of constants to the beginning
23993         of file, before their use.
23995 2001-11-09  Richard M. Stallman  <rms@gnu.org>
23997         * textmodes/flyspell.el: Use the keymap property
23998         instead of local-map, and don't use a minor-mode map.
23999         (flyspell-mode-map): Variable deleted.
24000         Don't mess with minor-mode-map-alist.
24001         (calling add-minor-mode): Specify nil for keymap.
24002         And always use add-minor-mode, now that it exists.
24003         (flyspell-overlay-keymap-property-name): Set it to `keymap'.
24004         (flyspell-mode-on): Don't locally bind flyspell-mouse-map
24005         or flyspell-local-mouse-map.
24006         (make-flyspell-overlay): Use flyspell-mouse-map directly.
24007         (flyspell-mode): Doc fix.
24008         (flyspell-mode-on): Don't call make-local-hook.
24010 2001-11-09  Sam Steingold  <sds@gnu.org>
24012         * emacs-lisp/debug.el (debugger-make-xrefs):
24013         Add buttons to all symbols.
24015 2001-11-09  Andre Spiegel  <spiegel@gnu.org>
24017         * vc.el: Add John David Smith to credits.
24019         Suggested by Kalle Olavi Niemitalo <kon@iki.fi>:
24021         * vc-hooks.el (vc-error-occured): Backquotified.
24022         (vc-file-prop-obarray): Use prime length for better efficiency.
24024         * vc.el (vc-clear-context): Fill obarray with 0, not nil.
24026 2001-11-09  Eli Zaretskii  <eliz@is.elta.co.il>
24028         * info.el (Info-file-list-for-emacs): Add entries for Calc.
24030 2001-11-09  Miles Bader  <miles@gnu.org>
24032         * subr.el (functionp): Don't consider macros as functions.
24034 2001-11-08  Miles Bader  <miles@gnu.org>
24036         * subr.el (functionp): Make work correctly for macros and unbound
24037         symbols.
24039         * comint.el (comint-send-input): Fix description of
24040         `comint-process-echoes' in the doc-string.
24042 2001-11-08  Eli Zaretskii  <eliz@is.elta.co.il>
24044         * international/mule.el (make-translation-table): Doc fix.
24045         Suggested by Alex Schroeder <alex@gnu.org>.
24047 2001-11-07  Richard M. Stallman  <rms@gnu.org>
24049         * info.el (Info-fontify-node): Highlight every third menu item.
24051 2001-11-07  Per Abrahamsen  <abraham@dina.kvl.dk>
24053         * cus-edit.el (custom-face-value-create): Don't ignore the
24054         `customized-face' attribute when finding the current face spec.
24056 2001-11-07  Stefan Monnier  <monnier@cs.yale.edu>
24058         * subr.el (with-local-quit): New macro.
24059         (make-syntax-table): Always inherit.
24060         (functionp): Be more careful when `object' is a symbol.
24062         * dabbrev.el (dabbrev-completion): Use "*Completions*".
24064 2001-11-07  Paul Eggert  <eggert@twinsun.com>
24066         * dired.el (dired-move-to-filename-regexp):
24067         Do not distinguish between ASCII letters and non-ASCII characters.
24068         Don't allow comma except in the form "month day, year".
24069         Don't allow space between month name and comma.
24070         Clean up the code that checks for trailing period, comma, and space.
24071         Remove now-obsolete comments, and add more commentary about
24072         Japanese dates.
24073         Always gobble up trailing spaces, instead of doing it only sometimes.
24075 2001-11-07  Miles Bader  <miles@gnu.org>
24077         * paren.el (show-paren-match-face): Add dark-background variant.
24079 2001-11-06  Stefan Monnier  <monnier@cs.yale.edu>
24081         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Paren typo.
24082         (lisp-mode-variables): Don't set paragraph-{start,separate}.
24083         Don't disable adaptive-fill-mode.
24084         (lisp-fill-paragraph): Use tab-width rather than 8.
24085         Prevent filling the first line of docstrings.
24087 2001-11-06  Richard M. Stallman  <rms@gnu.org>
24089         * play/gomoku.el (gomoku): Doc fix.
24091         * jka-compr.el (jka-compr-partial-uncompress):
24092         Support an alternative of not using dd.
24093         (jka-compr-dd-program): Use defcustom to define this.
24094         (jka-compr-load-suffixes): Use defcustom.
24095         (jka-compr-mode-alist-additions): Use defcustom.
24097 2001-11-06  Stefan Monnier  <monnier@cs.yale.edu>
24099         * font-lock.el (font-lock-match-c-style-declaration-item-and-skip-to-next):
24100         Also work when LIMIT is further than the end of line.
24102 2001-11-06  Eli Zaretskii  <eliz@is.elta.co.il>
24104         * international/quail.el (quail-update-leim-list-file): Print the
24105         offending file name if some of its quail-define-package forms is broken.
24107 2001-11-05  Richard M. Stallman  <rms@gnu.org>
24109         * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Return the value
24110         of the evaluated form.
24112 2001-11-05  Paul Eggert  <eggert@twinsun.com>
24114         * ls-lisp.el (ls-lisp-time-to-seconds): New function.
24115         (ls-lisp-format-time): Emulate GNU fileutils 4.1.1 ls, whose time
24116         stamps always line up by default.  Also, it uses a slightly
24117         different window to determine whether files are "recent".
24119 2001-11-05  Andrew Innes  <andrewi@gnu.org>
24121         * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
24122         Don't attempt to remake autoloads before nuking .elc files.
24124 2001-11-04  Richard M. Stallman  <rms@gnu.org>
24126         * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): Cope if
24127         previous-single-property-change or next-single-char-property-change
24128         returns nil.
24130         * international/mule-cmds.el (set-locale-environment):
24131         Make it interactive; make arg optional.
24133         * international/mule-diag.el (help-funs): Require help-funs.
24135 2001-11-04  Eli Zaretskii  <eliz@is.elta.co.il>
24137         * term/internal.el (term-setup-hook): Add IT-setup-unicode-display.
24139 2001-11-04  Miles Bader  <miles@gnu.org>
24141         * startup.el (fancy-splash-head): Reapply Gerd's hack to make the
24142         shadow of the splash image grey on a dark background instead of black.
24144 2001-11-03  Stefan Monnier  <monnier@cs.yale.edu>
24146         * term.el (all faces): Don't (copy-face 'default <foo>).
24148         * term/xterm.el (function-key-map):
24149         Add entry for `ESC [ 3 ~' -> <delete>
24150         Add entries `ESC O 5 [ABCD]' -> C-{up,down,right,left}.
24151         Use inheritance so that .emacs and terminfo take precedence.
24153 2001-11-03  Eli Zaretskii  <eliz@is.elta.co.il>
24155         * tooltip.el (tooltip-delay): Decrease to 0.7.
24156         (tooltip-hide-delay): Enlarge to 10.
24158 2001-11-03  Richard M. Stallman  <rms@gnu.org>
24160         * startup.el (fancy-splash-tail): Explain how to recover
24161         from a crash, if there was a crash.
24162         (command-line-1): Reorganize display of startup screen,
24163         to simplify the logic.  Use a temp buffer for it.
24165 2001-11-03  Eli Zaretskii  <eliz@is.elta.co.il>
24167         * frame.el (set-background-color, set-foreground-color):
24168         Call face-set-after-frame-default, to propagate the new colors to
24169         the frame's parameters alist.
24171         * calendar/timeclock.el (timeclock-out): Signal an error if
24172         timeclock-last-event is nil.
24174 2001-11-02  Stefan Monnier  <monnier@cs.yale.edu>
24176         * textmodes/fill.el (fill-context-prefix): Fix braino.
24178         * international/quail.el (quail-help):
24179         Use `help-buffer' and move `help-setup-xref' to beginning.
24181         * international/mule-cmds.el (describe-language-environment):
24182         Use `help-buffer' and move `help-setup-xref' to beginning.
24184         * international/mule-diag.el (list-character-sets)
24185         (sort-listed-character-sets, describe-character-set)
24186         (describe-coding-system, describe-fontset, list-fontsets):
24187         Use `help-buffer' and move `help-setup-xref' to beginning.
24188         (describe-char-after): Use `internal-describe-syntax-value'.
24190 2001-11-02  Richard M. Stallman  <rms@gnu.org>
24192         * mouse.el (popup-menu): If the user refuses to select
24193         from a menu, don't try to invoke the menu.
24195 2001-11-02  Miles Bader  <miles@gnu.org>
24197         * help-mode.el (help-xref): New button type.
24198         (help-function, help-variable, help-face, help-coding-system)
24199         (help-input-method, help-character-set, help-type, help-symbol)
24200         (help-back, help-info, help-customize-variable, help-customize-face)
24201         (help-function-def, help-variable-def): Use it as a supertype.
24202         Remove `action' property.
24204         * international/mule-diag.el (describe-character-set)
24205         (describe-coding-system): Pass correct args to `help-xref-button'.
24206         (sort-listed-character-sets): New button type.
24207         (list-character-sets): Use it.
24208         (list-charset-chars): New button type.
24209         (list-character-sets-1): Use it.
24211 2001-11-01  Stefan Monnier  <monnier@rum.cs.yale.edu>
24213         * indent.el (tab-always-indent, indent-for-tab-command):
24214         Remove redundant `never' setting.
24216         * fill.el (fill-region-as-paragraph): Don't forget to skip
24217         over current whitespace before looking for a preceding space.
24219 2001-11-01  Richard M. Stallman  <rms@gnu.org>
24221         * files.el (file-newest-backup): Don't pass backup file name
24222         thru file-name-sans-versions, because it never has version numbers.
24224         * textmodes/sgml-mode.el (sgml-xml-guess): Fix regexp
24225         to avoid ambiguous nested loops.
24227         * files.el (find-file-noselect): Offer to change buffer-read-only
24228         only when the file's read-only status has changed from before
24229         as well as disagreeing with the buffer's current status.
24230         (buffer-file-read-only): New var, local in all buffers.
24232         * buff-menu.el (buffer-menu): Doc fix.
24233         (buffer-menu-other-window): Doc fix.
24234         (list-buffers, list-buffers-noselect): Doc fix.
24236 2001-11-01  Gerd Moellmann  <gerd@gnu.org>
24238         * startup.el (command-line): If the terminal Emacs is running on
24239         has erase char set to ^H, use the Backspace key for deleting
24240         backward, and the Delete key for deleting forward.
24242 2001-11-01  Miles Bader  <miles@gnu.org>
24244         * button.el (define-button-type): Make sure every user-defined
24245         button type has a supertype.
24247 2001-10-31  Jason Rumney  <jasonr@gnu.org>
24249         * international/mule-cmds.el (locale-language-names): Add chs and
24250         cht as aliases for Chinese-GB and Chinese-BIG5.
24252 2001-10-31  Richard M. Stallman  <rms@gnu.org>
24254         * bindings.el (mode-line-frame-identification): Add doc string.
24255         (mode-line-position, mode-line-modes): New variables.
24256         (mode-line-format): Use mode-line-position for the part
24257         that displays the position-in-buffer info.
24258         Use mode-line-modes for the part that displays major and minor modes.
24260 2001-10-31  Sam Steingold  <sds@gnu.org>
24262         * emacs-lisp/debug.el (debugger-make-xrefs): New function.
24263         (debugger-setup-buffer): Call it.
24264         (debugger-mode-map): Bind RET and mouse-2.
24266 2001-10-31  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
24268         * startup.el: Document command line option --no-window-system
24269         instead of --no-windows.
24271 2001-10-30  Stefan Monnier  <monnier@cs.yale.edu>
24273         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip.
24275         * font-lock.el (java-font-lock-syntactic-face-function): New fun.
24276         (font-lock-defaults-alist): Use it.
24277         From David Ponce <david.ponce@wanadoo.fr>
24279         * progmodes/perl-mode.el (perl-indent-line): Use `eq' to compare
24280         output of `char-after'.
24282         * bindings.el (ctl-x-map): Add binding for C-x (, C-x ) and C-x e.
24284         * simple.el (reindent-then-newline-and-indent): Insert the newline
24285         before indenting the first line.
24286         (undo-get-state, undo-revert-to-state): New funs.
24287         (shell-command): Don't kill the buffer even if empty.
24288         (transpose-subr-start1, transpose-subr-start2, transpose-subr-end1)
24289         (transpose-subr-end2): Remove.
24290         (transpose-subr): Add `special' arg and simplify.
24291         (transpose-subr-1): Rewrite.
24292         (do-auto-fill): Use fill-indent-according-to-mode and fill-nobreak-p.
24293         (rfc822-goto-eoh): Simplify.
24295 2001-10-30  Richard M. Stallman  <rms@gnu.org>
24297         * enriched.el (enriched-face-ans): Fix previous change.
24299 2001-10-30  Gerd Moellmann  <gerd@gnu.org>
24301         * international/iso-acc.el (iso-accents-compose): Remove a
24302         superfluous setq.
24304 2001-10-30  Eli Zaretskii  <eliz@is.elta.co.il>
24306         * buff-menu.el (list-buffers-noselect): If the buffer's name
24307         starts with a blank, but it visits a file, do show it (for files
24308         whose names start with a blank).
24310 2001-10-30  Stefan Monnier  <monnier@cs.yale.edu>
24312         * textmodes/fill.el (sentence-end-double-space)
24313         (sentence-end-without-period): Move to paragraphs.el.
24314         (fill-indent-according-to-mode): Change default to t.
24315         (fill-context-prefix): Simplify control-flow and use a more
24316         sophisticated merge that unifies both previous checks.
24317         (fill-single-word-nobreak-p, fill-french-nobreak-p): New funs.
24318         (fill-nobreak-predicate): Make it into a defcustom'd hook.
24319         (fill-nobreak-p): New fun.
24320         (fill-region-as-paragraph): Use it.
24321         Handle `fill-indent-according-to-mode' slightly differently.
24322         (fill-individual-paragraphs-prefix): Simplify the control-flow.
24323         (fill-individual-paragraphs-citation): Fix.
24325         * textmodes/paragraphs.el (use-hard-newlines): Use define-minor-mode.
24326         (paragraph-start): Change default to the `text-mode' value.
24327         (sentence-end-double-space, sentence-end-without-period):
24328         Move from fill.el.
24329         (forward-paragraph): Use `parstart' and `parsep' for temp variables
24330         rather than rebinding `paragraph-start' and `paragraph-separate'.
24332         * indent.el (indent-line-function): Change default to indent-relative.
24333         (tab-always-indent): Add an `never' setting.
24334         (indent-according-to-mode): Handle `indent-relative' and
24335         `indent-relative-maybe' specially.
24336         (indent-for-tab-command): Rename `prefix-arg' to `arg'.
24337         Handle the `never' case for `tab-always-indent'.
24338         Don't call indent-according-to-mode for indent-relative' and
24339         `indent-relative-maybe'.
24340         (insert-tab): Rename `prefix-arg' to `arg'.
24341         (indent-region): Indent the first line as well.
24342         (indent-relative): Don't mark the buffer modified if the indentation
24343         is unchanged.
24345         * textmodes/text-mode.el (paragraph-indent-minor-mode):
24346         Don't set paragraph-separate.  Set paragraph-start more carefully.
24347         Set indent-line-function.
24348         (paragraph-indent-text-mode): Use it and define-derived-mode.
24349         (text-mode-map): Remove the \t binding.
24350         (text-mode): Simplify now that the default is more favorable.
24352 2001-10-29  Stefan Monnier  <monnier@cs.yale.edu>
24354         * emacs-lisp/find-func.el (find-function-search-for-symbol):
24355         If the regexp doesn't match, use a looser one.
24356         (find-variable-noselect): Add `file' argument.
24358         * pcvs.el (cvs-mode-commit-hook): New hook.
24359         (cvs-mode-commit): Run it.
24361         * log-edit.el (log-edit): Run hook after `log-edit-files'.
24363         * emacs-lisp/edebug.el (delay-mode-hooks): Add edebug-spec.
24364         (edebug-instrument-function): Use `find-function-noselect'.
24366 2001-10-29  Richard M. Stallman  <rms@gnu.org>
24368         * term.el (term-if-emacs19): Macro deleted.
24369         Callers changed to use progn instead.
24371         * frame.el (blink-cursor-mode): Doc fix.
24373         * files.el (find-backup-file-name): Use make-backup-file-name.
24375         * emacs-lisp/edebug.el (edebug-window-live-p): Always alias to
24376         window-live-p.
24377         (edebug-set-conditional-breakpoint): Unconditionally use
24378         the former Emacs >=19 definition.
24379         (edebug-mark): Define unconditionally.
24380         (edebug-eval-expression): Always call read-from-minibuffer
24381         and specify history list.
24382         (edebug-lemacs-specific): Override emacs-mark, edebug-window-live-p,
24383         edebug-set-conditional-breakpoint.
24384         (edebug-emacs-version-specific): Function deleted;
24385         do the job at top level.
24386         (edebug-emacs-19-specific): Function deleted, this is the default.
24388 2001-10-29  Sam Steingold  <sds@gnu.org>
24390         * w32-fns.el (convert-standard-filename): Handle cygwin-specific
24391         "/cygdrive/LETTER/" pathnames.
24393 2001-10-29  Eli Zaretskii  <eliz@is.elta.co.il>
24395         * faces.el (invert-face): Check for 'unspecified, not for nil,
24396         when testing whether face colors are not specified.
24397         From David.Kastrup@t-online.de (David Kastrup).
24398         (read-face-name): Doc fix.
24399         (make-face-bold, make-face-unbold, make-face-italic)
24400         (make-face-unitalic, make-face-bold-italic, invert-face):
24401         Remove trailing blank from the prompt passed to read-face-name.
24403 2001-10-29  Sam Steingold  <sds@gnu.org>
24405         * emacs-lisp/bytecomp.el (byte-recompile-directory):
24406         Report numbers of files skipped and failed too.
24407         (byte-compile-file): Return 'no-byte-compile for skipped files.
24409 2001-10-29  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
24411         * log-view.el (log-view-mode-map): Bind `M-n' and `M-p', not `M n'
24412         and `M p'.
24414 2001-10-29  Gerd Moellmann  <gerd@gnu.org>
24416         * international/iso-acc.el (iso-accents-compose): Push SECOND-CHAR
24417         as is on unread-command-events instead of `(SECOND-CHAR)'.
24419 2001-10-29  Andre Spiegel  <spiegel@gnu.org>
24421         * vc.el: Mention vc-*-switches in backend API documentation.
24422         (vc-annotate): Adapt doc string to recent change.
24424 2001-10-29  Gerd Moellmann  <gerd@gnu.org>
24426         * enriched.el (enriched-face-ans): Handle face attributes
24427         of the form `(FACE1 FACE2 ...)'.
24429         * dired-x.el (dired-omit-startup): Show ``Omit'' only in Dired buffers.
24431 2001-10-29  Alex Schroeder  <kensanata@yahoo.com>
24433         * progmodes/sql.el (sql-mysql): Doc change by RMS.
24435         * progmodes/sql.el (sql-db2): Doc change.
24436         (sql-help): Doc change by Christian Egli <christian.egli@stest.ch>.
24437         (sql-mysql): Doc change by Christian Egli <christian.egli@stest.ch>.
24439 2001-10-29  Gerd Moellmann  <gerd@gnu.org>
24441         * env.el (substitute-env-vars): Don't quote argument to `rx';
24442         it's a macro.
24444 2001-10-28  Per Abrahamsen  <abraham@dina.kvl.dk>
24446         * cus-start.el (recursive-load-depth-limit): Added.
24448 2001-10-28  Richard M. Stallman  <rms@gnu.org>
24450         * textmodes/ispell.el (version18p, version20p): Vars deleted.
24451         All uses removed--assume Emacs version is >= 20.
24453         * mail/supercite.el (sc-emacs-features): Test for "Emacs 19"
24454         by really checking that it is not version 18.
24456         * emacs-lisp/lisp-mode.el (eval-defun): Doc fix.
24458 2001-10-28  Miles Bader  <miles@gnu.org>
24460         * faces.el (face-attribute): Add INHERIT argument, consider face
24461         inheritance if it's non-nil.
24462         (face-attribute-merged-with): New function.
24463         (face-attribute-specified-or): New macro.
24464         (face-foreground, face-background, face-stipple): Add INHERIT
24465         argument.  Use `face-attribute-specified-or'.
24467 2001-10-28  Stefan Monnier  <monnier@cs.yale.edu>
24469         * font-lock.el: Require `syntax'.
24470         (font-lock-defaults-alist): Don't define keywords for lisp languages.
24471         Use `c-font-lock-syntactic-face-function' for c languages.
24472         (font-lock-mode): Don't unset vars when turning the mode off.
24473         (font-lock-default-fontify-buffer): Don't unset vars at the end.
24474         (font-lock-extra-managed-props): New var.
24475         (font-lock-default-unfontify-region): Use it.
24476         (font-lock-apply-syntactic-highlight): Flush the syntax cache.
24477         Don't eval the value when there's no match.
24478         (font-lock-ppss-stats): New var.
24479         (font-lock-ppss): New fun.
24480         (font-lock-fontify-syntactically-region): Use it and syntax.ppss.
24481         (font-lock-apply-highlight): Allow `highlight' to set several props.
24482         (font-lock-set-defaults): Use dolist.
24483         (font-lock-unset-defaults): Remove.
24484         (font-lock-match-c-style-declaration-item-and-skip-to-next):
24485         Try to recognize prototypes using `foo P_ ((args))'.
24486         ({c,c++,java,objc}-font-lock-keywords-{1,2,3}): Don't setq a defconst.
24487         (c-font-lock-keywords-2): Fix last change to still use Anders' trick.
24488         (c-font-lock-syntactic-face-function): New function.
24489         (font-lock-match-c++-style-declaration-item-and-skip-to-next)
24490         (c++-keywords): Use a more sophisticated regexp to handle
24491         shallowly nested templates.
24493 2001-10-27  Stefan Monnier  <monnier@cs.yale.edu>
24495         * textmodes/sgml-mode.el (sgml-empty-tags): New var.
24496         (sgml-tag): Use it.  Cleanup with `cond'.
24497         (sgml-tags-invisible): Make sgml-tags-invisible buffer-local.
24498         Mark the overlays and only delete those that are marked.
24499         (sgml-skip-close-p): Remove.
24500         (sgml-value): Replace sgml-skip-close-p with its definition.
24501         (html-tag-alist): Use sgml-xml a bit more.
24502         (html-mode): Set sgml-empty-tags.
24504         * textmodes/texnfo-upd.el: Use `when', `dolist', `push', ...
24505         (texinfo-update-node, texinfo-sequential-node-update):
24506         Don't bind the obsolete `auto-fill-hook'.
24507         (texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list):
24508         Use `set-buffer' rather than `switch-to-buffer'.
24509         (texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
24510         Use `set-buffer' rather than `switch-to-buffer'.
24512         * mail/sendmail.el (mail-mode-syntax-table): Let it inherit from
24513         text-mode-syntax-table.
24514         (mail-mode): Use define-derived-mode.
24515         Fix ordering of alternatives in adaptive-fill-regexp.
24516         (mail-mode-map): Don't rely on keymap's internal representation.
24518 2001-10-27  Sam Steingold  <sds@gnu.org>
24520         * textmodes/sgml-mode.el (sgml-xml): Renamed from `html-xhtml'.
24521         (sgml-xml-guess): Extracted from `html-mode' and generalized.
24522         (sgml-mode-common): Call it.
24523         (sgml-mode, html-mode): Set `mode-name' based on `sgml-xml'.
24524         (sgml-tag, sgml-skip-close-p, html-tag-alist, html-line)
24525         (html-horizontal-rule, html-image, html-ordered-list):
24526         (html-unordered-list, html-list-item, html-paragraph):
24527         (html-checkboxes, html-radio-buttons): Use `sgml-xml' instead of
24528         `html-xhtml'.
24530 2001-10-26  Masayuki Ataka  <ataka@milk.freemail.ne.jp>
24532         * textmodes/texinfmt.el (texinfo-format-ifnotinfo): New function.
24533         (ifnothtml): New alias.
24535 2001-10-27  Stefan Monnier  <monnier@cs.yale.edu>
24537         * textmodes/text-mode.el (text-mode): Use define-derived-mode.
24538         (toggle-text-mode-auto-fill): Use derived-mode-p.
24540 2001-10-27  Gerd Moellmann  <gerd.moellmann@t-online.de>
24542         * net/ange-ftp.el (ange-ftp-send-cmd): Call fix-name-func for
24543         `mdtm'.  From "Forrest Cahoon" <forrest.cahoon@merrillcorp.com>.
24545 2001-10-26  Eli Zaretskii  <eliz@is.elta.co.il>
24547         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
24548         Add make-obsolete cookies, to follow faces.el.
24550         These changes avoid warnings from the byte compiler in faces.el:
24552         * faces.el (internal-get-face): Use facep instead of the obsolete
24553         internal-find-face.
24554         (internal-frob-font-weight, internal-frob-font-slant):
24555         New defaliases for obsolete functions.
24556         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
24557         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
24558         (x-make-font-bold-italic): Use internal-frob-font-weight and
24559         internal-frob-font-slant aliases instead of the obsolete
24560         x-frob-... functions.
24562 2001-10-26  Sam Steingold  <sds@gnu.org>
24564         * textmodes/sgml-mode.el (html-mode): Set `html-xhtml' from the
24565         DOCTYPE; set `mode-name' based on it.
24566         (html-tag-alist): Use `html-xhtml' for "li", "dt" and "dd".
24567         (sgml-tag): Close empty tags in XHTML.
24569 2001-10-26  Jason Rumney  <jasonr@gnu.org>
24571         * w32-fns.el: (w32-charset-info-alist): Use ANSI for iso10646-1
24572         when UNICODE is not defined.
24574 2001-10-26  Sam Steingold  <sds@gnu.org>
24576         * font-lock.el (c-font-lock-keywords-2): Do not require labels to
24577         be alone on the line.
24579 2001-10-26  Eli Zaretskii  <eliz@is.elta.co.il>
24581         * button.el (button): Special face definition for MS-DOS terminals.
24583 2001-10-26  Sam Steingold  <sds@gnu.org>
24585         * progmodes/sh-script.el (sh-font-lock-syntactic-keywords):
24586         Protect the /= test by checking that the args are non-nil.
24587         (sh-font-lock-close-heredoc): Check eof for being non-nil.
24589 2001-10-26  Tomas Abrahamsson  <tab@lysator.liu.se>
24591         * textmodes/artist.el (artist-version): 1.2.4.
24592         (artist-butlast-fn): New variable.
24593         (artist-butlast): New function.
24594         (artist-ellipse-mirror-quadrant): Use it.
24595         (artist-mouse-draw-poly): Use nil for `point-list'.
24596         (artist-mouse-draw-poly): Check for point-list being nil.
24598 2001-10-26  Peter Kleiweg  <kleiweg@let.rug.nl>
24600         * progmodes/ps-mode.el (ps-mode-print-function): Remove quote for
24601         lambda expression.
24602         (ps-mode-menu-main): Submenu with options on/off was replaced with
24603         a toggle button.
24604         (ps-mode, ps-run-mode): Define with `define-derived-mode'
24605         (ps-mode): Autoload cookie added on same line as comment
24606         (ps-mode-tabkey, ps-mode-backward-delete-char):
24607         (ps-mode-r-balance): Replace `delete-horizontal-space' and
24608         `indent-to' with `indent-line-to'
24609         (ps-mode-print-buffer, ps-mode-print-region): Use `funcall'
24610         instead of `eval'.
24611         (ps-mode-print-region): Use `with-temp-buffer'.
24612         (ps-run-start): Use of `mapconcat'.  Use `apply' instead of `eval'.
24613         (numerous places): Add back-tick and tick around names in
24614         docstrings, fix punctuation in docstrings, remove trailing spaces.
24616 2001-10-25  Stefan Monnier  <monnier@cs.yale.edu>
24618         * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Ignore comments.
24619         (sgml-font-lock-keywords-2): Use `eval'.  Moved from sgml-mode-common.
24620         (sgml-font-lock-syntactic-keywords): New var.
24621         (sgml-mode-common): Drop the two args.
24622         Don't make buffer-local variables that aren't used.
24623         Don't set sgml-font-lock-keywords-2 now that it uses `eval instead.
24624         Don't set `before-string' props from sgml-display-text.
24625         (sgml-mode): Use define-derived-mode.
24626         (sgml-tags-invisible): Use sgml-display-text.
24627         (sgml-quote): New command.
24628         (html-tag-alist): Add args for `span'.
24629         (html-mode): Use define-derived-mode.
24630         Set sgml-display-text and sgml-tag-face-alist.
24632 2001-10-25  Sam Steingold  <sds@gnu.org>
24634         * add-log.el (add-log-always-start-new-record): New user option.
24635         (add-change-log-entry): Use it.
24637 2001-10-25  Richard M. Stallman  <rms@gnu.org>
24639         * progmodes/etags.el (tags-query-replace): Make tags-loop-scan
24640         bind case-fold-search if FROM is not all lower case.
24642 2001-10-25  Gerd Moellmann  <gerd@gnu.org>
24644         * startup.el (normal-top-level): Check for frame-initial-frame
24645         only if it's really used.
24647         * mail/mh-utils.el (mh-recenter): Call recenter with arg `(4)'.
24649         * progmodes/compile.el (compilation-parse-errors-filename-function):
24650         New variable.
24651         (compilation-parse-errors): Use it.
24653 2001-10-25  Stefan Monnier  <monnier@cs.yale.edu>
24655         * emacs-lisp/checkdoc.el (checkdoc-eval-defun): Call eval-defun
24656         interactively so that C-u M-C-x still does edebug.
24657         (checkdoc-sentencespace-region-engine): Don't force a double-space
24658         after `.' if it doesn't look like an end-of-sentence.
24659         (debug-ignored-errors): Add `disambiguate ...'.
24661 2001-10-24  Stefan Monnier  <monnier@cs.yale.edu>
24663         * textmodes/texinfo.el (texinfo-environments)
24664         (texinfo-environment-regexp): Hoist.
24665         (texinfo-font-lock-keywords): Use `italic' and `bold' faces.
24666         Only highlight the menu name in menu items.
24667         Setup `@foo ... @end foo' as text clones.
24668         (texinfo-clone-environment): New function.
24669         (texinfo-mode): Simplify auto-fill-inhibit-regexp.
24670         (texinfo-insert-block): Simplify.
24671         (texinfo-insert-quote): Insert a plain " if preceded by \ or if
24672         the command is repeated.
24673         (texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs.
24674         (texinfo-insert-@end): Simplify.
24676         * textmodes/texnfo-upd.el (texinfo-section-types-regexp)
24677         (texinfo-section-level-regexp, texinfo-subsection-level-regexp)
24678         (texinfo-subsubsection-level-regexp)
24679         (texinfo-update-menu-same-level-regexps)
24680         (texinfo-update-menu-higher-regexps)
24681         (texinfo-update-menu-lower-regexps): Hoist to eliminate warnings.
24683         * derived.el (define-derived-mode): Use {delay,run}-mode-hooks.
24684         (derived-mode-p): Autoload.
24686         * subr.el (delay-mode-hooks, delayed-mode-hooks, run-mode-hooks):
24687         New vars and functions.
24688         (text-clone-maintain, text-clone-create): New functions.
24690 2001-10-25  Miles Bader  <miles@gnu.org>
24692         * facemenu.el (facemenu-add-new-face): Fix variable names.
24694 2001-10-24  Richard M. Stallman  <rms@gnu.org>
24696         * facemenu.el (facemenu-unlisted-faces): Improve doc strings
24697         of t and nil values.
24698         (facemenu-set-face): Handle START and END interactively.
24699         (facemenu-set-foreground): Don't use a face; specify color directly.
24700         (facemenu-set-background): Likewise.
24701         (facemenu-set-face-from-menu): Doc fix.
24702         (facemenu-active-faces): Use face-attribute-vector
24703         to handle bare attributes not in faces.
24704         (facemenu-get-face): Don't handle face names fg:... and bg:...
24705         specially.
24706         (facemenu-add-new-face): New argument MENU.
24707         New way to handle adding colors to the color menus.
24709         * env.el (substitute-env-vars): Quote the arg to rx.
24711 2001-10-24  Sam Steingold  <sds@gnu.org>
24713         * mouse.el (mouse-buffer-menu-mode-groups): Added "Version
24714         Control" and "SGML" groups.
24716 2001-10-24  Martin Stjernholm  <bug-cc-mode@gnu.org>
24718         * progmodes/cc-engine.el (c-beginning-of-member-init-list):
24719         Better handling of C++ template args to avoid confusion with `<'
24720         and `>' used as operators in member init expressions.
24722 2001-10-24  Gerd Moellmann  <gerd@gnu.org>
24724         * replace.el (perform-replace): Move START and END parameters
24725         to the end of the argument list and make them optional.
24727         * progmodes/ebrowse.el, progmodes/etags.el: Adapt to change in
24728         perform-replace.
24730         * international/fontset.el (x-must-resolve-font-name): New function.
24731         (x-complement-fontset-spec): Use it.
24733 2001-10-23  Stefan Monnier  <monnier@cs.yale.edu>
24735         * uniquify.el (uniquify-get-proposed-name): Fix (.. "usr" "/usr" 0).
24737         * progmodes/compile.el (compile-mouse-goto-error, compile-goto-error):
24738         Turn caadr into caar of cdr.
24740 2001-10-23  Gerd Moellmann  <gerd@gnu.org>
24742         * info.el (Info-fontify-node): Bind down-mouse-{1,2} instead
24743         of mouse-{1,2} since dragging is on the down event.
24745         * play/doctor.el (make-doctor-variables): Remove a '($ please)'.
24747         * mail/mh-utils.el (mh-recenter): Call `recenter' with arg t
24748         if ARG is nil.
24750         * desktop.el (desktop-last-buffer): New variable.
24751         (desktop-create-buffer): Set it.
24752         (desktop-read): Bind it and switch to that buffer.
24754 2001-10-22  Gerd Moellmann  <gerd@gnu.org>
24756         * progmodes/compile.el (compilation-set-window-height):
24757         Select old window only if it's still live.
24759 2001-10-22  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
24761         * help-mode.el (help-buffer): Remove debugging code.
24762         From Stefan Monnier <monnier@cs.yale.edu>.
24764 2001-10-22  Eli Zaretskii  <eliz@is.elta.co.il>
24766         * files.el (file-name-sans-extension, file-name-extension):
24767         Don't count the leading dots in file names as signaling an extension.
24769 2001-10-22  Andre Spiegel  <spiegel@gnu.org>
24771         * vc.el (vc-diff-switches): Doc rewritten.
24773 2001-10-22  Eli Zaretskii  <eliz@is.elta.co.il>
24775         * tooltip.el (tooltip-set-param): Doc fix.
24777         * textmodes/sgml-mode.el (sgml-mode-map): Bind 8-bit codes above
24778         127 to sgml-maybe-name-self.
24779         (sgml-name-8bit-mode): Doc fix.
24780         (sgml-char-names-table): New variable.
24781         (sgml-name-char): Support non-ASCII and mule-unicode-*
24782         characters.  Doc fix.
24783         (sgml-maybe-name-self): Convert unibyte characters to multibyte.
24785         * tooltip.el (tooltip-x-offset, tooltip-y-offset): Mention in the
24786         doc string the effect of `left' and `top' parameters in
24787         tooltip-frame-parameters, the default values, and the units.
24788         (tooltip-frame-parameters): Mention `top' and `left' in the doc string.
24789         (tooltip-show): Mention in the doc string the `top' and `left'
24790         parameters in tooltip-frame-parameters, and x-max-tooltip-size.
24792 2001-10-22  Andre Spiegel  <spiegel@gnu.org>
24794         Add autoscaling support for vc-annotate.
24795         From J.D. Smith <jdsmith@alum.mit.edu>.
24797         * vc.el (vc-annotate-display-default): Accept colormap scaling
24798         ratio (now deprecated).
24799         (vc-annotate-display-autoscale): Added.
24800         (vc-annotate-add-menu): New autoscaling menu options "Span to
24801         Oldest" and "Span Oldest->Newest".  Easymenu support added for
24802         toggle menus driven by customize variable `vc-annotate-display-mode'.
24803         (vc-annotate-display-select): Added.
24804         (vc-annotate): Changed temp-buffer-show-function to
24805         `vc-annotate-display-select'.
24806         (vc-annotate-display): Removed arguments BUFFER and BACKEND.
24807         Added argument OFFSET.  Instead of backend function, calls now
24808         generic `vc-annotate-difference'.
24809         (vc-annotate-difference): Added as generic function instead of
24810         backend-specific function.  No longer takes argument POINT, but
24811         instead accepts a time OFFSET.
24812         (vc-default-annotate-current-time): Added.
24814         * vc-cvs.el (vc-cvs-annotate-difference): Removed to generic
24815         version in vc.el, with
24816         (vc-cvs-annotate-current-time): Added, as override of default.
24817         (vc-cvs-annotate-time): Added.  Taken mostly from the (now removed)
24818         `vc-cvs-annotate-difference'.
24820 2001-10-22  Gerd Moellmann  <gerd@gnu.org>
24822         * saveplace.el (save-place): Require `saveplace'.
24824         * progmodes/cwarn.el (cwarn-font-lock-feature-keywords-alist):
24825         Use `sexp' for :value-type instead of `face'.
24827 2001-10-21  Eli Zaretskii  <eliz@is.elta.co.il>
24829         * mail/rmailsum.el (rmail-summary-font-lock-keywords): Fix the
24830         regexps due to 5-digit message IDs.
24832 2001-10-21  Jason Rumney  <jasonr@gnu.org>
24834         * term/w32-win.el (redisplay-dont-pause): Don't set.
24836 2001-10-21  Miles Bader  <miles@gnu.org>
24838         * help-funs.el (help-manyarg-func-alist): Variable removed.
24840 2001-10-21  Miles Bader  <miles@gnu.org>
24842         * help-funs.el (help-manyarg-func-alist): Remove entries for
24843         `insert', `insert-and-inherit', `insert-before-markers',
24844         `insert-before-markers-and-inherit', `message', `message-box',
24845         `message-or-box', `propertize', `format', `encode-time', `append',
24846         `concat', `vconcat', `nconc', `widget-apply', `make-hash-table',
24847         `insert-string', `ml-if', `ml-provide-prefix-argument', and
24848         `ml-prefix-argument-loop'.
24850 2001-10-21  Andre Spiegel  <spiegel@gnu.org>
24852         * vc.el (vc-diff-internal, vc-coding-system-for-diff)
24853         (vc-default-diff-tree): New functions.
24854         (vc-version-diff): Use them.  As a result, coding systems are now
24855         set up properly for all sorts of diffs, and tree diffs can now
24856         also be done locally.
24857         (vc-diff): With a prefix argument, don't require that it's called
24858         from a buffer under version control.
24859         (diff-switches): Remove duplicate definition.
24861         * vc-cvs.el (vc-cvs-diff-tree): New function.
24863 2001-10-21  Miles Bader  <miles@gnu.org>
24865         * help-funs.el (help-manyarg-func-alist): Remove entries for
24866         `list', `vector', `make-byte-code', `call-process',
24867         `call-process-region', `string', `+', `-', `*', `/', `max', `min',
24868         `logand', `logior', and `logxor'.
24870         * wid-edit.el (checkbox): Swap bg/fg colors in image, and invert
24871         image bits to compensate.  Use `make-string' instead of
24872         `make-bool-vector' (XBM apparently wants byte-aligned rows).
24874 2001-10-20  Kim F. Storm  <storm@cua.dk>
24876         * simple.el (kill-ring-save): Don't show extent of copied region
24877         if using transient-mark-mode and region is fully visible.
24879 See ChangeLog.9 for earlier changes.
24881 ;; Local Variables:
24882 ;; coding: iso-2022-7bit
24883 ;; End:
24885     Copyright (C) 2001, 2002 Free Software Foundation, Inc.
24886   Copying and distribution of this file, with or without modification,
24887   are permitted provided the copyright notice and this notice are preserved.