1 2000-11-02 Miles Bader <miles@gnu.org>
3 * calendar/calendar.el (diary-face, calendar-today-face)
4 (holiday-face): Remove dependency on `window-system'.
6 2000-11-02 Ken Raeburn <raeburn@gnu.org>
8 * Makefile.in (emacs): Set EMACSLOADPATH always.
9 (update-authors, .el.elc, compile-files): Don't do it explicitly
11 (compile-files): Bomb out if compilation of a file fails.
13 2000-11-02 Dave Love <fx@gnu.org>
15 * emacs-lisp/find-func.el (find-variable-regexp): Avoid defgroup.
17 2000-11-02 Eli Zaretskii <eliz@is.elta.co.il>
19 * mail/emacsbug.el (report-emacs-bug): Fix whitespace and
20 punctuation in the warning inserted into the *mail* buffer.
22 2000-11-02 Gerd Moellmann <gerd@gnu.org>
24 * emacs-lisp/authors.el (authors-public-domain-files): New variable.
25 (authors-public-domain-p): New function.
26 (authors-print): Use it.
28 * help.el (view-emacs-news): Use ONEWS.* instead of NEWS.* files.
30 * mail/mh-e.el, mail/mh-comp.el: Change maintainer.
32 2000-11-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
34 * ps-print.el: Extension for even/odd printing. Doc fix.
35 (ps-print-version): New version number (6.3.1).
36 (ps-even-or-odd-pages): Customization fix.
37 (ps-print-page-p, ps-begin-file, ps-begin-job, ps-page-number)
38 (ps-header-sheet, ps-header-page, ps-end-job): Code fix.
39 (ps-page-count): Var replaced by `ps-page-column'.
40 (ps-page-column, ps-page-sheet, ps-page-printed): New vars.
41 (ps-print-sheet-p): New fun.
43 2000-11-02 Miles Bader <miles@lsi.nec.co.jp>
45 * tooltip.el (tooltip-gud-tips-setup): New function.
46 (tooltip-gud-tips-p): Add :set to call tooltip-gud-tips-setup.
47 (tooltip-mode): Call tooltip-gud-tips-setup.
48 (tooltip-gud-tips): Use `gud-basic-call' instead of
49 process-send-string, so the prompt gets frobbed appropriately.
50 Handle nil return value from `tooltip-gud-print-command'.
52 2000-11-01 Eric M. Ludlam <zappo@ultranet.com>
54 * comint.el (comint-add-to-input-history): New function.
55 (comint-send-input): Use `comint-add-to-input-history'.
57 2000-11-02 Miles Bader <miles@lsi.nec.co.jp>
59 * info.el (info-menu-header): New face.
60 (Info-fontify-menu-headers): New function.
61 (Info-fontify-node, Info-insert-dir): Call `Info-fontify-menu-headers'.
63 * info.el (Info-insert-dir): Don't include blank lines at
64 beginning of additional dir files (one is added automatically).
66 2000-11-01 Stefan Monnier <monnier@cs.yale.edu>
68 * emacs-lisp/easy-mmode.el (define-minor-mode):
69 Revert the latest changes.
70 Allow the three positional arguments to be skipped and replaced
72 Add a :toggle argument to determine whether a nil arg means toggle
73 or means turn-on. The default is unchanged.
74 Add a call to force-mode-line-update.
76 2000-11-01 Dave Love <fx@gnu.org>
78 * emacs-lisp/elp.el (elp-restore-function): Remove autoload
81 2000-11-01 Miles Bader <miles@lsi.nec.co.jp>
83 * calendar/calendar.el (diary-face, holiday-face): Add
84 dark-background variants.
86 2000-10-31 Sam Steingold <sds@gnu.org>
88 * textmodes/tex-mode.el (tex-file): Use `default-directory' when
89 `tex-main-file' does not have directory in it.
91 2000-10-31 Stefan Monnier <monnier@cs.yale.edu>
93 * cus-edit.el (custom-mode-map): Switch back to a sparse keymap.
95 2000-10-31 Thien-Thi Nguyen <ttn@gnu.org>
97 * ediff-init.el (ediff-prepare-buffer-hook): Expand docstring, no
100 2000-10-31 Gerd Moellmann <gerd@gnu.org>
102 * files.el (find-file-noselect): When we expand a wildcard, return
103 a list of buffers, as we should do according to the doc string.
105 2000-10-31 Ken Raeburn <raeburn@gnu.org>
107 * loadup.el (top level): Adjust load path if program name is
108 "../src/bootstrap-emacs", in case it's not dumped and thus the
109 load path adjustment hasn't already been done.
111 2000-10-31 Vinicius Jose Latorre <vinicius@cpqd.com.br>
113 * ps-print.el: Fix bug on selected pages for printing. Use
114 `color-values' for Emacs 21. Ensure fontification when jit-lock
115 is on. Try to avoid warning messages when compiling. Doc Fix.
116 (ps-print-version): New version number (6.3).
117 (ps-color-device): Use `color-values' to determine if device
119 (ps-color-values): Try to use `x-color-values' when using XEmacs.
120 (ps-print-page-p): Changed from defsubst to defun.
121 (ps-page-number): Changed from defmacro to defun.
122 (ps-header-sheet, ps-header-page): Fix bug on selected pages for
124 (ps-print-ensure-fontified): Ensure fontification when jit-lock is on.
125 (ps-end-file, ps-dummy-page): Funs eliminated.
126 (ps-print-color-scale): Changed default value.
127 (ps-page-n-up, ps-print-page-p): New internal vars.
128 (ps-print-preprint, ps-output, ps-begin-file, ps-begin-page)
129 (ps-plot-region, ps-generate, ps-end-job): Code fix.
131 * delim-col.el: Little programming improvement.
132 (delimit-columns-str): New macro.
133 (delimit-columns-region, delimit-columns-rectangle): Code fix.
135 2000-10-31 Kenichi Handa <handa@etl.go.jp>
137 * term/mac-win.el (decode-mac-roman, encode-mac-roman, mac-roman):
138 Moved to european.el.
139 (ccl-encode-mac-roman-font, fontset-mac): Modified for
140 mule-unicode-2500-33ff and mule-unicode-e000-ffff.
141 (mac-roman-kbd-insert, mac-roman-kbd-mode): These functions deleted.
142 (mac-roman-kbd-mode, mac-roman-kbd-mode-map): These variables deleted.
144 2000-10-30 Dave Love <fx@gnu.org>
146 * progmodes/cc-menus.el (imenu-generic-expression)
147 (imenu-progress-message): Only defvar when compiling.
149 * emacs-lisp/elp.el (elp-unload-hook): New function.
151 * loadhist.el (unload-feature): Call elp-restore-function,
152 checking for symbols; don't use elp-restore-all.
153 (loadhist-hook-functions): Doc fix.
155 2000-10-30 Stefan Monnier <monnier@cs.yale.edu>
157 * log-edit.el (log-edit-confirm): Fix the default.
159 2000-10-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
161 * delim-col.el: Little fix: replace delimit-columns-align-columns by
162 delimit-columns-format.
163 (delimit-columns-region, delimit-columns-rectangle): Code fix.
165 2000-10-30 Miles Bader <miles@lsi.nec.co.jp>
167 * comint.el (comint-replace-by-expanded-history): Don't use
168 comint-get-old-input (we're not looking at *old* input).
169 (comint-get-old-input-default): If using fields, signal an error
170 when the point is not in an input field.
172 2000-10-30 Kenichi Handa <handa@etl.go.jp>
174 * international/mule-conf.el: New charsets mule-unicode-2500-33ff
175 and mule-unicode-e000-ffff.
177 * international/mule.el (decode-char, encode-char): New functions.
178 (make-coding-system): Accept a symbol of translation table as a
179 value of property `safe-chars'.
181 * international/mule-cmds.el (encode-coding-char): Check property
182 safe-chars instead of safe-charsets.
184 * international/fontset.el (fontset-default): Modified for
185 mule-unicode-2500-33ff and mule-unicode-e000-ffff.
186 (x-font-name-charset-alist): Likewise.
187 (ccl-encode-unicode-font): New CCL program. Record it in
188 font-ccl-encoder-alist to be used for fonts "ISO10646-1".
190 * language/european.el (mac-roman-decoder, mac-roman-encoder):
191 New translation tables.
192 (decode-mac-roman, encode-mac-roman): Definition of these CCL
193 programs are modified and moved from mac-win.el.
194 (mac-roman): Definition of this coding system is modified and
195 moved from mac-win.el.
197 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
199 * ediff-wind.el (ediff-setup-control-frame): Enclose
200 face-attribute in condition-case to avoid errors in older emacsen.
202 2000-10-29 Miles Bader <miles@gnu.org>
204 * custom.el (custom-add-to-group): Allow multiple entries for a
205 given value OPTION, as long as their widget types are different.
206 * cus-edit.el (custom-face-value-create): If face name doesn't end
207 with "face", add such here (similar to custom group widgets).
209 * comint.el (comint-highlight-prompt): Add :type.
211 2000-10-28 John Wiegley <johnw@gnu.org>
213 * textmodes/flyspell.el (flyspell-maybe-correct-transposition):
214 Changed this function to operate on a temporary buffer instead of
215 the main buffer. This not only keeps flyspell from marking a
216 buffer as changed that wasn't, but it solves the jumpy cursor
217 problem when attempts are made to edit incorrect words.
218 (flyspell-maybe-correct-doubling): Same change as for
219 `flyspell-maybe-correct-transposition'.
221 * calendar/timeclock.el (timeclock-log): Doc fix.
222 (timeclock-last-event): Doc fix.
223 (timeclock-log): Kill the timelog buffer after appending a new
225 (timeclock-find-discrep): Use a temp buffer to read in the
226 timelog, instead of visiting the file.
227 (timeclock-log-data): A new function, along with a host of helper
228 functions, for the purpose of making timelog data accessible to
231 * eshell/esh-mode.el (window-height test): Make certain that
232 `eshell-stringify-t' is non-nil.
233 (eshell-password-prompt-regexp): Changed to a much simpler
235 (eshell-send-input): If `eshell-invoke-directly' returns t,
236 directly invoke the parsed command using `eval'. This improves
237 turn-around time on simple commands by a factor of three or
238 greater, such as cd, ls, pwd, etc. -- which get used very often.
239 It also conserves thousands of cons cells per call (since
240 `eshell-do-eval' consumes memory like a Cookie Monster set loose
241 in the Pacific Cookie Company).
243 * eshell/esh-test.el (eshell-test): Whitespace fix.
245 * eshell/em-ls.el (eshell-ls-insert-directory): Make
246 `eshell-ls-initial-args' nil when inserting directory contents.
248 * eshell/em-script.el (eshell-script-initialize): Add names to
249 `eshell-complex-commands, since `source' and `.' are complex.
251 * eshell/esh-cmd.el (eshell-rewrite-for-command)
252 (eshell-rewrite-while-command): Use `eshell-protect' instead of
253 `eshell-copy-handles'.
254 (eshell-rewrite-if-command): Use `eshell-protect' to wrap the call
256 (eshell-separate-commands): Whitespace fix.
257 (eshell-complex-commands): Added a new list of names, for
258 determining whether a given command is as simple as it looks.
259 (eshell-invoke-directly): New function. Returns t if a command
260 should be invoked directly (using `eval'), rather than indirectly
261 using `eshell-do-eval'.
262 (eshell-do-eval): Whitespace fix.
264 * eshell/em-unix.el (eshell-default-target-is-dot): New variable,
265 which provides an emulation of the DOS shell behavior of assuming
266 that cp/mv/ln should copy/move/link to the current directory.
267 (eshell-remove-entries): Added a doc string.
268 (eshell-shuffle-files): Removed the check for `target' being null.
269 (eshell-mvcp-template, eshell-mvcpln-template): Renamed
270 `eshell-mvcp-template' to `eshell-mvcpln-template', and extended
271 it to do a smarter check of whether a destination was provided.
272 (eshell/mv, eshell/cp): Enable `:preserve-args'.
273 (eshell/ln): Enable `:preserve-args', and use
274 `eshell-mvcpln-template' to implement the body of the function.
275 (eshell/cat, eshell/make, eshell-poor-mans-grep, eshell-grep)
276 (eshell/du, eshell/diff, eshell/locate): Stringify the argument
277 list after flattening it. This makes it possible to cat files
278 with numerical names.
279 (eshell-unix-initialize): Added several names to
280 `eshell-complex-commands.
281 (eshell-unix-command-complex-p): Return t if a given command name
282 may result in external processes being invoked.
284 * eshell/em-glob.el (eshell-glob-show-progress): Make this
285 variable nil by default, since it slows down glob processing by a
286 factor of two or more, and increases memory consumption.
288 * eshell/em-smart.el: Added a note about how memory consumptive
289 smart display mode can be (at least this is true in Emacs 21).
290 (eshell-smart-initialize): Whitespace fix.
291 (eshell-refresh-windows): Use `if' instead of `when'.
292 (eshell-smart-scroll-window): Calling `save-current-buffer' was
294 (eshell-currently-handling-window): Added a missing global
297 * eshell/em-ls.el (eshell-do-ls): Code simplification.
298 (eshell-ls-sort-entries, eshell-ls-entries, eshell-ls-dir):
300 (eshell-ls-exclude-hidden): Added this variable in addition to
301 `eshell-ls-exclude-regexp'. This one prevents files beginning
302 with . from even being read, which can improve memory consumption
304 (eshell-ls-dir): If `eshell-ls-exclude-hidden' is non-nil, do not
305 read file entries beginning with a dot. In home directories with
306 lots of hidden files, fully two-thirds of the time spent in ls is
307 used to read directory entries that are immediately thrown away.
308 (eshell-ls-initial-args): Added back this configuration variable,
309 for specifying default initial arguments to every call to ls.
310 Much faster than using an alias to do the same thing.
311 (eshell-do-ls): Use `eshell-ls-initial-args', if set.
312 (eshell-ls-dir): Whitespace change.
314 * eshell/em-dirs.el (eshell/pwd): Small code simplification.
316 * eshell/esh-util.el: Don't require `ange-ftp' if it's not
318 (eshell-stringify-t): Added a customization variable, to indicate
319 whether `t' should be rendered as a string at all. If not, one
320 can still determine if the result of an expression is true using
321 "file-exists-p FILE && echo true".
322 (eshell-stringify): If `eshell-stringify-t' is nil, don't
325 * eshell/esh-module.el: Whitespace fix.
327 * eshell/em-alias.el (eshell-alias-initialize): Added
328 `eshell-command-aliased-p' to `eshell-complex-commands'.
329 (eshell-command-aliased-p): New function that returns t if a
330 command name names an aliased.
332 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
334 * viper-cmd.el (viper-preserve-cursor-color): New test that avoids
335 redrawing the screen when changing cursor color.
336 (viper-insert-state-pre-command-sentinel)
337 (viper-replace-state-pre-command-sentinel)
338 (viper-replace-state-post-command-sentinel):
339 Use viper-preserve-cursor-color.
340 Many functions changed to use viper= instead of = when comparing
342 * viper-util.el (viper-memq-char,viper=): New functions for
343 working with characters.
344 (viper-change-cursor-color): Fixed buglet.
345 Many functions changed to use viper= instead of = when comparing
347 * viper.el (viper-insert-state-mode-list): Added eshell.
349 * ediff-init.el (ediff-before-setup-hook): New hook.
350 Several typos fixed in various docstrings.
351 * ediff-merg.el (ediff-show-clashes-only): Docstring typo fixed.
352 * ediff-nult.el (ediff-before-session-group-setup-hooks): New
354 (ediff-show-meta-buffer): Run ediff-before-session-group-setup-hooks.
355 * ediff-util.el (ediff-setup): Run ediff-before-setup-hook.
356 (ediff-other-buffer): Use selected buffers if in Buffer-menu buffer.
357 (ediff-get-selected-buffers): New function.
358 * ediff-vers.el (ediff-vc-internal,ediff-rcs-internal)
359 (ediff-vc-merge-internal,ediff-rcs-merge-internal): Use
360 save-window-excursion.
361 * ediff-wind.el (ediff-skip-unsuitable-frames): More robust
362 termination check in while loop.
363 * ediff.el (ediff-get-default-file-name): Better defaults when in
365 (ediff-files,ediff-merge-files,ediff-files3)
366 (ediff-merge-files-with-ancestor): Use ediff-get-default-file-name.
368 2000-10-28 Dave Love <fx@gnu.org>
370 * info.el (Info-fontify-node): Add help-echo for menu items.
372 2000-10-28 Eli Zaretskii <eliz@is.elta.co.il>
374 * startup.el (normal-top-level): If the value of $TERM indicates
375 we are running from xterm or one of its work-alikes, default to a
376 light background mode.
378 Support for -fg, -bg, and -rv command-line arguments for TTYs:
379 * faces.el (tty-handle-reverse-video): New function.
380 (tty-create-frame-with-faces): Call it.
382 * frame.el (frame-notice-user-settings): Don't apply
383 default-frame-alist and initial-frame-alist to MS-DOS frames.
384 Call tty-handle-reverse-video, frame-set-background-mode, and
385 face-set-after-frame-default for non-MS-DOS frames.
387 * startup.el (tty-long-option-alist): New variable.
388 (tty-handle-args): New function.
389 (command-line): Call tty-handle-args.
391 * term/pc-win.el (x-long-option-alist, msdos-handle-args): Remove;
392 startup.el now does that for all character-terminal frames.
394 2000-10-28 Miles Bader <miles@gnu.org>
396 * emacs-lisp/easy-mmode.el (define-minor-mode): Generate
397 `turn-on-MODE' and `turn-off-MODE' functions unless the mode is
398 global. If :global is followed by a non-nil but non-t value,
399 make the mode buffer-local, but also generate a `global-MODE'
400 version using `easy-mmode-define-global-mode'. Add
401 :conditional-turn-on keyword argument.
403 2000-10-28 Dave Love <fx@gnu.org>
405 * international/latin1-disp.el (latin1-char-displayable-p): Don't
408 2000-10-27 Eli Zaretskii <eliz@is.elta.co.il>
410 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
411 Don't call find-buffer-file-type-coding-system. Instead, just
412 set eol-type to -unix if inhibit-eol-conversion is in effect, or
413 if the file is on an untranslated filesystem.
414 (add-untranslated-filesystem): Use "D" instead of "f" inside
417 2000-10-27 Dave Love <fx@gnu.org>
419 * textmodes/refill.el (refill-late-fill-paragraph-function): New var.
420 (refill-mode): Use it.
422 2000-10-27 Stefan Monnier <monnier@cs.yale.edu>
424 * international/quail.el (quail-activate): Don't make-local-hook.
426 2000-10-27 Andre Spiegel <spiegel@gnu.org>
428 * vc-hooks.el (vc-version-backup-file-name): Use file.~<rev>~ for
429 manual backups and file.~<rev>.~ for automatic ones.
430 (vc-make-version-backup): Don't do it on MS-DOS without long file
433 * vc.el (vc-version-other-window): If an automatic backup of the
434 desired version exists, rename it instead of copying it.
436 * vc-cvs.el (vc-cvs-checkin): Check both status and error message
437 after command. If there's an unexpected error, signal it instead
439 (vc-cvs-merge-news): Be prepared for no news at all.
441 2000-10-27 Miles Bader <miles@lsi.nec.co.jp>
443 * shell.el (shell): Add BUFFER argument.
444 * comint.el (make-comint-in-buffer): New function.
445 (make-comint): Use it.
447 * faces.el (face-spec-choose): Change syntax so that the list of
448 attribute-value pairs is now the cdr of each clause, not the cadr.
449 Detect old-style entries, and handle them. Use pop.
451 2000-10-26 Stefan Monnier <monnier@cs.yale.edu>
453 * cus-edit.el (custom-mode-map): Use a sparse map.
454 (custom-mode): Don't bother with make-local-hook.
456 * wid-edit.el (widget-add-change): Don't bother with make-local-hook.
458 * vc.el (vc-start-entry): Only erase the buffer if comment is set.
460 2000-10-26 Vinicius Jose Latorre <vinicius@cpqd.com.br>
462 * ps-print.el: Avoid compilation gripes.
463 (ps-print-version): New version number (6.2.1).
465 2000-10-26 Dave Love <fx@gnu.org>
467 * menu-bar.el: Modify some menu item help strings.
468 (menu-bar-help-menu): Add link to MORE.STUFF.
470 * cus-edit.el (custom-mode): Add `special' mode-class property.
472 * wid-browse.el (widget-browse-mode): Likewise.
474 * wid-edit.el (widget-specify-field): Revert to using local-map
475 property, not keymap.
477 2000-10-26 Miles Bader <miles@lsi.nec.co.jp>
479 * wid-edit.el (widget-field-end): When checking for a `boundary'
480 field, do so in the correct buffer.
482 * simple.el (undo): Correctly distinguish between numeric and
483 non-numeric prefix args in non-transient-mark-mode, as per the doc
484 string. When in transient-mark-mode, treat all prefix-args as
487 * simple.el (previous-matching-history-element): Miscellaneous cleanup.
488 Position point on match. Handle N == 0 correctly.
490 * comint.el (comint-mode): Locally set `next-line-add-newlines' to nil.
491 (comint-mode-map): Reverse order of `comint-write-output' and
492 `comint-append-output-to-file'.
493 (comint-append-output-to-file): Reinstate this function, for the
496 2000-10-25 Stefan Monnier <monnier@cs.yale.edu>
498 * vc.el (vc-version-other-window): Bind `file'.
500 2000-10-25 Gerd Moellmann <gerd@gnu.org>
502 * Makefile.in (update-authors): New target for maintenance purposes.
504 * emacs-lisp/authors.el (batch-update-authors): New function.
505 (authors-fixed-entries): New defconst.
506 (authors-add-fixed-entries): New function.
507 (authors): Call it.: Don't process lispref/.
509 2000-10-25 Jason Rumney <jasonr@gnu.org>
511 * cus-edit.el (custom-button-face, custom-button-pressed-face):
512 Merge x w32 and mac definitions.
514 2000-10-25 Gerd Moellmann <gerd@gnu.org>
516 * menu-bar.el (menu-bar-options-menu): Add a help string for
519 2000-10-25 Stephen Gildea <gildea@alum.mit.edu>
521 * time-stamp.el (time-stamp-string-preprocess):
522 Fix a wrong type argument error.
524 2000-10-25 Miles Bader <miles@gnu.org>
526 * recentf.el (recentf-mode): Variable removed.
527 (recentf-mode): Use `define-minor-mode'.
529 * mwheel.el (mouse-wheel-mode): New global minor mode.
530 (mwheel-install): Use `mouse-wheel-mode'.
532 2000-10-25 Dave Love <fx@gnu.org>
534 * progmodes/cperl-mode.el (cperl-mode):
535 Set normal-auto-fill-function correctly.
537 * wid-edit.el (widget-field-keymap, widget-text-keymap): Don't
538 inherit from global-map and don't nullify menu-bar and tool-bar
541 2000-10-25 Miles Bader <miles@lsi.nec.co.jp>
543 * wid-edit.el (widget-field-at): New function.
544 (widget-at, widget-field-activate): Use it.
545 (widget-tabable-at): Use `widget-at'.
546 (widget-specify-field): If the terminating character of the widget
547 field (which is read-only) is a newline, put it into a special
548 `boundary' field so that C-n/C-p act more naturally.
549 (widget-field-end): Also don't subtract one if a special
550 `boundary' field has been added after the widget field.
552 * comint.el (comint-output-filter, comint-send-input): Don't
553 bother adding stickiness fields to overlays to fool the field
554 code, since it should notice the overlay insertion-types now.
556 * wid-edit.el (widget-beginning-of-line, widget-end-of-line):
557 Replace with aliases of the normal emacs b-o-l/e-o-l functions.
558 (widget-field-keymap, widget-text-keymap): Don't bind C-a/C-e.
560 2000-10-24 Gerd Moellmann <gerd@gnu.org>
562 * emacs-lisp/authors.el (authors-aliases): Add some more aliases.
563 (authors): Set file coding system to iso-2022-7bit. Add
564 file-local variables to output buffer.
566 * files.el (after-find-file): Don't print any warnings if
569 2000-10-24 Vinicius Jose Latorre <vinicius@cpqd.com.br>
571 * ps-print.el (ps-generate): Fix odd/even pages printing bug.
573 * delim-col.el: Now there is a column formatting mechanism.
574 Modified to customization mechanisms convention. Doc fix.
575 (columns): New group for delim-col.
576 (delimit-columns-before, delimit-columns-after)
577 (delimit-columns-format, delimit-columns-extra, delimit-columns-start)
578 (delimit-columns-end): New vars.
579 (delimit-columns-customize, delimit-columns-format): New funs.
580 (delimit-columns-region, delimit-columns-rectangle)
581 (delimit-columns-rectangle-line): Modified to support column
584 2000-10-24 Dave Love <fx@gnu.org>
586 * log-edit.el (log-edit): Add :version and a :group for vc.
588 2000-10-24 Gerd Moellmann <gerd@gnu.org>
590 * files.el (after-find-file): Don't print a message ``New file''
593 * wid-edit.el (widget-field-keymap, widget-text-keymap): Define
594 the tool-bar map as nil, as for the menu-bar. Otherwise, we'll
595 get duplicate tool-bar entries because we'll see the global ones
596 on more than one path through keymaps.
598 * emacs-lisp/lisp.el (defun-prompt-regexp): Doc fix.
600 * progmodes/cmacexp.el: Change Francesco's email address.
602 2000-10-24 Kenichi Handa <handa@etl.go.jp>
604 * window.el (fit-window-to-buffer): Adjust point of the window
605 buffer, not that of the current buffer.
607 2000-10-24 Eli Zaretskii <eliz@is.elta.co.il>
609 * progmodes/cmacexp.el: Update the euthor's email address.
611 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
613 * faces.el (face-spec-set-match-display): Add `graphic' display
614 type (the inverse of `tty'). Use `display-graphic-p' instead of
615 the window-system variable.
617 2000-10-24 Kenichi Handa <handa@etl.go.jp>
619 * international/isearch-x.el (isearch-with-input-method): Call
620 input-method-function with the first event in
621 unread-command-events.
623 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
625 * faces.el (face-default-spec, face-user-default-spec): Make
628 2000-10-24 Andrew Choi <akochoi@i-cable.com>
630 * international/mule-conf.el (mac-roman-lower, mac-roman-upper):
633 * term/mac-win.el: Remove definitions of mac-roman-lower and
634 mac-roman-upper, require dired, and define instead of set
635 mac-ready-for-drag-n-drop to avoid compilation error.
637 2000-10-23 Andrew Innes <andrewi@gnu.org>
639 * files.el (make-backup-file-name-1) [windowsnt, ms-dos]: Remove
640 superfluous calls to subst-char-in-string; instead apply
641 expand-file-name after convert-standard-filename to ensure
642 expected directory separators are used.
644 2000-10-23 Eli Zaretskii <eliz@is.elta.co.il>
646 * info.el (Info-file-list-for-emacs): Add an entry for Eshell.
648 2000-10-23 Dave Love <fx@gnu.org>
650 * toolbar/tool-bar.el (tool-bar-add-item-from-menu)
651 (tool-bar-add-item): Set foreground and background for XBM icons.
653 * international/latin1-disp.el (latin1-char-displayable-p): New
654 function (from Handa).
655 (latin1-display-check-font): Use it.
657 * imenu.el (imenu--create-keymap-2): Build menu with menu-item
658 using :key-sequence, making it much more usable. Use nconc, not
660 (imenu--create-keymap-1): Avoid append.
662 * textmodes/refill.el: Remove bits redundant with define-minor-mode.
664 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
666 [the following changes fix a bug where `define-minor-mode' didn't
667 correctly generate :require clauses for defcustoms in compiled files]
668 * emacs-lisp/bytecomp.el (byte-compile-last-logged-file): New variable.
669 (byte-compile-log-file, byte-compile-log-1): Don't set
670 `byte-compile-current-file' to nil. Instead set
671 `byte-compile-last-logged-file' to it. Test whether
672 byte-compile-current-file equals byte-compile-last-logged-file
673 instead of whether its nil.
674 (byte-compile-file): Bind `byte-compile-last-logged-file' to nil.
676 2000-10-23 Stefan Monnier <monnier@cs.yale.edu>
678 * textmodes/refill.el: Fix var names in doc.
679 (refill-mode): Don't bother with make-local-hook anymore.
681 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
683 * faces.el (face-user-default-spec, face-default-spec): New functions.
684 (face-spec-choose, face-spec-set): Document nil-SPEC behavior.
685 (frame-set-background-mode, face-set-after-frame-default):
686 Use `face-user-default-spec'. Simplify code slightly.
688 * woman.el (woman-italic-face, woman-bold-face)
689 (woman-unknown-face): Add dark-background variants.
690 (woman-default-faces): Renamed from `woman-colour-faces'.
691 Set using the stored defaults, rather than using hard-wired colors.
692 (woman-monochrome-faces): Renamed from `woman-black-faces'.
693 Just make the foreground `unspecified' rather than "black".
694 (woman-menu): Rename menu entries accordingly.
696 * faces.el (header-line): Make more reasonable on mono/grayscale
699 2000-10-23 Andrew Choi <akochoi@i-cable.com>
701 * cus-edit.el (custom-button-face): Use 3D look for mac.
702 (custom-button-pressed-face): Likewise.
704 * faces.el (set-face-attributes-from-resources): Handle mac frames
705 in the same way as x and w32 frames.
706 (face-valid-attribute-values): Likewise.
707 (read-face-attribute): Likewise.
708 (defined-colors): Likewise.
709 (color-defined-p): Likewise.
710 (color-values): Likewise.
711 (display-grayscale-p): Likewise.
712 (face-set-after-frame-default): Likewise.
713 (mode-line): Same default face as for x and w32.
714 (tool-bar): Likewise.
716 * frame.el: Remove call to frame-notice-user-settings at end of
719 * info.el (Info-fontify-node): make underlines invisible for mac
720 as for x, pc, and w32 frame types.
722 * term/mac-win.el: New file.
724 2000-10-22 Dave Love <fx@gnu.org>
726 * textmodes/refill.el: New file.
728 2000-10-22 Andre Spiegel <spiegel@gnu.org>
730 * vc-hooks.el (vc-version-backup-file-name): New optional args
732 (vc-delete-automatic-version-backups, vc-make-version-backup):
734 (vc-before-save): Use the latter.
735 (vc-default-make-version-backups-p): Added `-p' suffix to avoid
738 * vc-cvs.el (vc-cvs-make-version-backups-p): Added `-p' suffix as
739 expected by vc[-hooks].el.
741 * vc.el (vc-checkout): Added `-p' suffix in call to
742 vc-make-version-backups-p; use vc-make-version-backup to actually
744 (vc-version-other-window, vc-version-backup-file): Handle both
745 automatic and manual backups.
746 (vc-revert-file): Use vc-delete-automatic-version-backups to get rid
749 2000-10-22 Miles Bader <miles@gnu.org>
751 * comint.el (comint-highlight-input, comint-highlight-prompt):
752 Renamed, `-face' at end removed.
753 (comint-send-input, comint-output-filter): Use renamed faces.
755 * window.el (fit-window-to-buffer): Change defaulting of
758 * faces.el (color-values, color-defined-p): Use `member', not
759 `memq', because it works correctly for strings.
760 (frame-set-background-mode): Actually, "unspecified-fg" and
761 "unspecified-bg" *are* strings. Use `member', not `memq', and
762 `equal', not `eq', when a string value is possible.
764 2000-10-21 Eli Zaretskii <eliz@is.elta.co.il>
766 * info.el (Info-file-list-for-emacs): Add an entry for Speedbar.
768 2000-10-21 Stefan Monnier <monnier@cs.yale.edu>
770 * progmodes/sh-script.el (sh-mode-map): Remove bindings for
771 sh-electric-rparen, sh-electric-less and sh-electric-hash.
772 (sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
773 (sh-font-lock-heredoc, sh-font-lock-paren): New funs.
774 (sh-font-lock-syntactic-keywords): Use them.
775 (sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
776 (sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
777 (sh-mode): Don't override font-lock-unfontify-region-function.
778 Use a copy of sh-font-lock-syntactic-keywords.
779 (sh-set-shell): Don't set sh-electric-rparen-needed-here.
780 Don't call sh-scan-buffer since font-lock does it on the fly.
781 (sh-get-indent-info): Use `face' rather than `syntax-table'
782 text-property to detect here-documents.
783 Replace sh-special-syntax with sh-st-punc.
784 (sh-prev-line): Use `face' rather than `syntax-table'
785 text-property to skip over here-documents.
786 (sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
787 (sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
788 (sh-electric-less, sh-set-here-doc-region)
789 (sh-remove-our-text-properties, sh-search-word, sh-scan-case)
790 (sh-scan-buffer, sh-rescan-buffer): Remove.
792 2000-10-21 Andrew Innes <andrewi@gnu.org>
794 * w32-fns.el (make-auto-save-file-name): Don't apply conversion to
795 remote (ange-ftp) file names.
797 2000-10-21 Miles Bader <miles@gnu.org>
799 * window.el (fit-window-to-buffer): New function.
800 (shrink-window-if-larger-than-buffer): Use it.
801 (window-text-height): Don't expect minibuffers to have mode-lines.
803 * help.el (resize-temp-buffer-window): Use `fit-window-to-buffer'.
804 * international/quail.el (quail-update-guidance): Use
805 `fit-window-to-buffer' instead of `set-window-text-height'.
807 * international/quail.el (quail-show-guidance-buf): Make sure
808 guidance window really has enough room.
809 (quail-update-guidance): If quail-guidance-win is already shown,
810 make sure its height is OK.
812 * window.el (window-text-height, set-window-text-height):
814 (shrink-window-if-larger-than-buffer): Use `window-text-height'
815 instead of `window-height' & `mode-line-window-height-fudge'.
816 (mode-line-window-height-fudge): Add FACE parameter.
817 * help.el (resize-temp-buffer-window): Use `set-window-text-height'
818 instead of `enlarge-window' & `mode-line-window-height-fudge'.
820 2000-10-20 Miles Bader <miles@gnu.org>
822 * window.el (height-affecting-face-attributes): Use `defconst'.
824 * textmodes/ispell.el (ispell-mode-line-window-height-fudge):
825 New function, conditionally aliased to `mode-line-window-height-fudge'.
826 (ispell-help): Use it.
827 (ispell-choices-win-default-height): Don't include mode-line fudge.
828 (ispell-choices-win-default-height): New function.
829 (ispell-show-choices, ispell-command-loop): Use function
830 `ispell-choices-win-default-height' instead of variable.
832 2000-10-20 Miles Bader <miles@lsi.nec.co.jp>
834 * window.el (mode-line-window-height-fudge): New variable.
835 (height-affecting-face-attributes): New variable.
836 (mode-line-window-height-fudge): New function.
837 (shrink-window-if-larger-than-buffer): Use it.
838 * help.el (resize-temp-buffer-window): Likewise.
840 * info.el (Info-fontify-node): Add support for @subsubsection
841 titles, which use `Info-title-4-face'.
842 (Info-title-4-face): New face.
843 (Info-title-3-face): Inherit from Info-title-4-face instead of
846 2000-10-19 Jason Rumney <jasonr@gnu.org>
848 * dired.el (dired-insert-directory): Do not let errors signalled by
849 attempt to run dired-free-space-program prevent dired from working.
851 2000-10-19 Stefan Monnier <monnier@cs.yale.edu>
853 * diff-mode.el (diff-find-file-name): Fix regex subgroup number.
855 2000-10-19 Gerd Moellmann <gerd@gnu.org>
857 * dirtrack.el (dirtrack): Fix call to run-hooks.
859 * cmuscheme.el (cmuscheme-program-name): Renamed from
860 scheme-program-name because xscheme.el contains a defcustom with
861 the same name. As a consequence, customizing group `cmuscheme'
862 loaded `xscheme' which redefined run-scheme.
863 (run-scheme): Use cmuscheme-program-name.
865 * ps-print.el (ps-print-emacs-type): Move into the
868 * play/doctor.el (doctor-death): Update the Samaritans'
869 anonymous address, and add a website for Befrienders International.
871 2000-10-19 Vinicius Jose Latorre <vinicius@cpqd.com.br>
873 * ps-print.el: Even/odd pages fix. Fix little bug on XEmacs.
874 Avoid compilation gripes. Doc fix.
875 (ps-print-version): New version number (6.2).
876 (ps-x-color-instance-p, ps-x-color-instance-rgb-components)
877 (ps-x-color-name, ps-x-color-specifier-p, ps-x-copy-coding-system)
878 (ps-x-device-class, ps-x-extent-end-position, ps-x-extent-face)
879 (ps-x-extent-priority, ps-x-extent-start-position)
880 (ps-x-face-font-instance, ps-x-find-coding-system)
881 (ps-x-font-instance-properties, ps-x-make-color-instance)
882 (ps-x-map-extents): Alias for functions without the prefix `ps-x-', to
883 avoid compilation gripes without defining functions.
884 (ps-e-find-composition): Alias for function find-composition, to have a
885 suitable function depending on Emacs version.
886 (ps-color-device, ps-color-values, ps-face-foreground-name)
887 (ps-face-background-name, ps-face-bold-p, ps-face-italic-p, ps-mapper)
888 (ps-extent-sorter, ps-xemacs-face-kind-p, ps-xemacs-color-name)
889 (ps-print-ensure-fontified): Function definitions surrounded by
890 `eval-and-compile' to avoid compilation gripes.
891 (ps-font-lock-face-attributes): `font-lock-face-attributes' evaluated
892 by symbol-value to avoid compilation gripes.
893 (ps-end-file, ps-header-sheet, ps-plot-region): Even/odd pages fix.
894 (ps-generate-postscript-with-faces): Fix little bug on XEmacs.
896 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
898 * startup.el (normal-top-level): Call `frame-set-background-mode'
899 after `frame-notice-user-settings' because the latter doesn't call
902 * faces.el (frame-set-background-mode): `unspecified' &c are
903 symbols, not strings.
905 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
907 * term/tty-colors.el (color-name-rgb-alist): Add a comment explaining
908 why some "light*" colors are deliberately absent from the alist.
910 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face):
911 Change colors for tty's, as suggested by Miles Bader.
913 2000-10-19 Kenichi Handa <handa@etl.go.jp>
915 * international/fontset.el: Use registry "MuleTibetan-2" for Tibetan.
916 (ccl-encode-mule-unicode-0100-24ff): New CCL program. Register it
917 for ISO10646-1 fonts.
918 (x-font-name-charset-alist): Add an entry for "iso10646-1".
920 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
922 * faces.el (frame-set-background-mode): If a tty frame defines a
923 background color, use that to compute the background mode, instead
924 of always defaulting to "dark".
926 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
928 * comint.el (comint-write-output): New function.
929 (comint-mode-map): Add it to the menu.
930 Bind `C-c C-s' to comint-write-output.
932 2000-10-18 Gerd Moellmann <gerd@gnu.org>
934 * startup.el (fancy-splash-screens): Set buffer-undo-list to t.
935 Use fancy-splash-delay.
937 2000-10-18 Alex Schroeder <alex@gnu.org>
939 * progmodes/sql.el (sql-sybase-options): New option.
940 (sql-sybase): Use it. Add sql-database to the list of parameters
941 provided for login. The options -w 2048 -n are not used any more.
943 * comint.el (comint-read-input-ring): Bugfix such that the first
944 and the last entry of the input ring file are not lost.
946 2000-10-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
948 * ps-print.el: Internal variable changes to defcustom,
949 make-local-hook changes to defvar. Doc fix.
950 (ps-print-version): New version number (6.1).
951 (ps-setup, ps-do-despool): Code fix.
952 (ps-printer-name): Customization fix.
953 (ps-printer-name-option): Now is a defcustom instead of an
955 (ps-print-hook, ps-print-begin-sheet-hook, ps-print-begin-page-hook)
956 (ps-print-begin-column-hook): Now are defvar instead of
959 2000-10-18 Miles Bader <miles@gnu.org>
961 * comint.el (comint-delete-output): Renamed from `comint-kill-output'.
962 (comint-kill-output): Changed into an alias for `comint-delete-output',
964 (comint-mode-map): Rename references to comint-kill-output.
966 2000-10-18 Eli Zaretskii <eliz@is.elta.co.il>
968 * diff-mode.el (diff-header-face, diff-file-header-face)
969 (diff-changed-face): Add bold and italic attributes to tty faces.
970 (diff-function-face): New face.
971 (diff-font-lock-keywords): Use it.
973 2000-10-18 Miles Bader <miles@lsi.nec.co.jp>
975 * comint.el (comint-output-filter): Fixup comint-last-input-end too.
976 Remove commented-out call to force-mode-line-update.
977 (comint-kill-output): Use `forward-line 0' instead of
978 beginning-of-line to make sure we get past the prompt.
980 2000-10-17 Stefan Monnier <monnier@cs.yale.edu>
982 * diff-mode.el (diff-header-face, diff-file-header-face):
983 Add specific setting for dark background.
984 (diff-context-face): Renamed from diff-comment-face.
985 Set explicitly rather than inheriting from font-lock-comment-face.
987 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
989 * startup.el (command-line): Move the code which sets the default
990 TTY colors to before before-init-hook.
992 2000-10-17 Gerd Moellmann <gerd@gnu.org>
994 * jit-lock.el (jit-lock-stealth-time): Doc fix.
996 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
998 * files.el (auto-mode-alist): Add .dif and .pat as diff-mode
999 extensions, for MS-DOS.
1001 * diff-mode.el (diff-header-face, diff-file-header-face)
1002 (diff-changed-face): Define tty-specific colors.
1004 2000-10-17 Gerd Moellmann <gerd@gnu.org>
1006 * startup.el (fancy-splash-text): Realign the text.
1008 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1010 * font-lock.el (font-lock-comment-face): Define a separate default
1011 for dark-background tty's.
1013 2000-10-17 Miles Bader <miles@gnu.org>
1015 * help.el (resize-temp-buffer-window): Add hack to avoid last line
1016 being obscured by whizzy mode-lines on graphics displays.
1018 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1020 * info.el (Info-title-1-face, Info-title-2-face)
1021 (Info-title-3-face): Define colors for tty's.
1022 (info-header-node): Remove unneeded tty-specific definition.
1024 2000-10-16 Eli Zaretskii <eliz@is.elta.co.il>
1026 * term/pc-win.el (msdos-handle-reverse-video): Don't remove
1027 reverse from the frame parameters, and don't invert foreground and
1030 2000-10-16 Miles Bader <miles@gnu.org>
1032 * info.el (Info-set-mode-line): Use `%b' instead of hardwired
1033 string "*Info*". Call propertized-buffer-identification to spruce
1036 2000-10-16 Gerd Moellmann <gerd@gnu.org>
1038 * help.el: Provide `help' for the sake of define-minor-mode
1039 which generates defcustoms with requires.
1041 * jit-lock.el (jit-lock-after-change): If we're in text that
1042 matches a multi-line font-lock pattern, make sure the whole text
1043 will be redisplayed.
1045 * emacs-lisp/authors.el (authors-add): Don't add an entry if
1046 author's name is unknown.
1048 * eshell/esh-var.el, eshell/esh-util.el, eshell/esh-test.el,
1049 * eshell/esh-proc.el, eshell/esh-opt.el, eshell/esh-mode.el,
1050 * eshell/esh-maint.el, eshell/esh-io.el, eshell/esh-ext.el,
1051 * eshell/esh-cmd.el, eshell/esh-arg.el, eshell/em-xtra.el,
1052 * eshell/em-unix.el, eshell/em-term.el, eshell/em-smart.el,
1053 * eshell/em-script.el, eshell/em-rebind.el, eshell/em-prompt.el,
1054 * eshell/em-pred.el, eshell/em-ls.el, eshell/em-hist.el,
1055 * eshell/em-glob.el, shell/em-dirs.el, eshell/em-cmpl.el,
1056 * eshell/em-basic.el, eshell/em-banner.el, eshell/em-alias.el:
1057 Add author information.
1059 2000-10-16 Miles Bader <miles@lsi.nec.co.jp>
1061 * toolbar/up_arrow.xpm, toolbar/right_arrow.xpm:
1062 * toolbar/left_arrow.xpm, toolbar/home.xpm: Re-convert from
1063 full-color version (using the Gimp) to eliminate dithering artifacts.
1065 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
1067 * font-lock.el (font-lock-syntactic-keywords): Fix docstring.
1069 * simple.el (syntax-flag-table, string-to-syntax): Remove.
1071 2000-10-15 Dave Love <fx@gnu.org>
1073 * progmodes/sh-script.el: Require skeleton and comint when
1076 * pcomplete.el (pcomplete) <defgroup>: Add :version.
1078 * whitespace.el: Doc fixes.
1079 (top-level): Don't add hooks here.
1080 (whitespace-running-emacs): Deleted.
1081 (timer): Don't require.
1082 (whitespace): Add back :version conditional on xemacs test.
1083 (whitespace-spacetab-regexp, whitespace-indent-regexp)
1084 (whitespace-ateol-regexp, whitespace-modes): Fix custom type.
1085 (whitespace-force-mode-line-update, whitespace-refresh-rescan-list)
1086 (whitespace-tickle-timer, whitespace-rescan-files-in-buffers):
1087 Avoid specific xemacs test.
1088 (whitespace-global-mode): New option.
1089 (whitespace-global-mode): New command.
1090 (whitespace-unload-hook): New function.
1092 * info.el (Info-mouse-follow-nearest-node): Use mouse-set-point.
1093 (Info-fontify-node, Info-goto-node, Info-mode-menu)
1094 (Info-fontify-node): `Goto' goes to `Go to'.
1095 (Info-fontify-node): Add help-echo to xref links.
1097 2000-10-15 Eli Zaretskii <eliz@is.elta.co.il>
1099 * eshell/em-unix.el (eshell-du-prefer-over-ange): Doc fix.
1101 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
1103 * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
1104 Use plist-get and allow :inherit.
1106 * emacs-lisp/cl-macs.el (cl-do-arglist):
1107 Use plist-get and plist-member instead of memq.
1109 * emacs-lisp/ewoc.el (ewoc-location): New function.
1110 (ewoc-enter-after, ewoc-enter-before): Document return value.
1111 * pcvs.el (cvs-make-cvs-buffer, cvs-run-process):
1112 Don't need make-local-hook any more.
1113 (cvs-addto-collection): Return the new tin.
1114 (cvs-mode-insert): Jump to the new line.
1116 * jit-lock.el (jit-lock-fontify-buffer): Remove.
1118 * arc-mode.el (archive-zoo-summarize): Fix from gnu.emacs.bug.
1120 * font-lock.el (font-lock-syntactically-fontified): New var.
1121 (font-lock-fontify-syntactic-keywords-region): Use it.
1122 (font-lock-mode): Fix docstring. Don't need make-local-hook anymore.
1124 * diff-mode.el (diff-find-file-name): Fix regexp.
1126 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
1127 (cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.
1129 * progmodes/sh-script.el (sh-imenu-generic-expression): Fix.
1130 (sh-mode-syntax-table): Add punctuation syntax for < and >.
1131 (sh-mode): Don't make all vars local here.
1133 (sh-set-shell): Use dolist. Don't set indent-region-function.
1134 (sh-mode-syntax-table): Use pop.
1135 (sh-remember-variable): Use push.
1136 (sh-help-string-for-variable): Use memq.
1137 (sh-safe-backward-sexp): Remove.
1138 (sh-safe-forward-sexp): Add ARG.
1139 (sh-get-indent-info, sh-prev-stmt): Use it.
1140 (sh-prev-line): Simplify by using forward-comment.
1141 (sh-this-is-a-continuation): Simplify.
1142 (sh-learn-buffer-indent): Use dolist.
1143 (sh-do-nothing): Remove.
1144 (sh-set-char-syntax, sh-set-here-doc-region):
1145 Use inhibit-modification-hooks.
1146 (sh-name-style): Use mapcar and push.
1147 (sh-load-style): Use dolist.
1148 (sh-save-styles-to-buffer): Use with-current-buffer and pp.
1149 (sh-case, sh-while-getopts): Use propertize directly rather
1150 than sh-electric-rparen.
1152 2000-10-14 Stefan Monnier <monnier@cs.yale.edu>
1154 * textmodes/tex-mode.el: Require CL when compiling.
1155 (tex-mode-syntax-table): Init immediately.
1156 (tex-mode-map): Bind M-RET to latex-insert-item.
1157 (latex-mode): Set indent-line-function to latex-indent.
1158 (tex-common-initialization): Don't setup the syntax-table any more.
1159 (latex-insert-item): New skeleton.
1160 (tex-next-unmatched-end): Fix copy/paste braino.
1161 (latex-syntax-after, latex-skip-close-parens, latex-down-list)
1162 (latex-indent, latex-find-indent): New functions.
1163 (tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table)
1164 (tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
1165 (tex-compilation-parse-errors): Use with-syntax-table.
1167 2000-10-15 Miles Bader <miles@gnu.org>
1169 * font-lock.el (font-lock-comment-face): Change dark-background,
1170 color, non-tty, default to `chocolate1'.
1172 2000-10-13 John Wiegley <johnw@gnu.org>
1174 * eshell/esh-util.el (require): Added a missing `require' form,
1175 needed when compiling (for an ange-ftp macro definition).
1177 2000-10-13 Dave Love <fx@gnu.org>
1179 * toolbar/paste.pbm, toolbar/saveas.pbm: Retouch.
1181 2000-10-13 Gerd Moellmann <gerd@gnu.org>
1183 * emacs-lisp/lisp.el (down-list, backward-up-list, up-list): Doc
1186 * toolbar/*.xpm: Reduce to max. 8 colors (mogrify -colorspace
1187 transparent -colors 8).
1189 2000-10-13 Stephen Gildea <gildea@alum.mit.edu>
1191 * time-stamp.el (time-stamp): Fixed bug in new multi-line code
1192 that breaks with old list format timestamps.
1193 (time-stamp-warn-inactive, time-stamp-old-format-warn)
1194 (time-stamp-count, time-stamp-conversion-warn): Improved doc
1197 2000-10-13 John Wiegley <johnw@gnu.org>
1199 * align.el, pcomplete.el, calendar/timeclock.el,
1200 eshell/esh-module.el, eshell/eshell.el: Removed URL reference.
1202 * calendar/timeclock.el (timeclock-find-discrep): A fix to some
1203 faulty math, where holiday hours were being computing as seconds.
1205 2000-10-13 John Wiegley <johnw@gnu.org>
1207 * desktop.el (desktop-buffer-modes-to-save): Added a global for
1208 specifying what "other" kinds of buffers should be saved. This
1209 used to be hard-coded.
1210 (desktop-buffer-misc-functions): A global for specifying how
1211 auxiliary data should be determined for special buffer types.
1212 (desktop-save-buffer-p): Use `desktop-buffer-modes-to-save',
1213 instead of hard-coding the special buffer types.
1214 (desktop-save): Run `desktop-buffer-misc-functions' to gather
1215 auxiliary data, instead of hard-coding for Info buffers and dired.
1216 (desktop-buffer-info-misc-data): Aux function for determining Info
1217 buffer auxiliary info.
1218 (desktop-buffer-dired-misc-data): Likewise, but for dired buffers.
1219 (desktop-buffer-info): Changed this function to use the info
1221 (desktop-create-buffer): Be a little more careful about what
1222 `minor-mode' means before calling it. This is important for some
1225 2000-10-13 John Wiegley <johnw@gnu.org>
1227 * eshell/esh-util.el: Added a global form which declares an
1228 autoload for `parse-time-string', if that function is not already
1229 defined, and if parse-time.el is available on the user's system.
1231 * eshell/em-ls.el (eshell-ls-applicable): Extended this function
1232 to be aware of ange-ftp user info.
1233 (eshell-do-ls): Bind `ange-cache'. Also, use
1234 `eshell-file-attributes'.
1235 (eshell-ls-annotate): Use `eshell-file-attributes'.
1236 (eshell-ls-file): Made the user-id printing code a bit smarter.
1238 * eshell/esh-util.el (eshell-ange-ls-uids): Added variable, to
1239 allow identification of alias user ids in remote directories.
1240 It's manual, but there's no other way to know when the current
1241 user on the local machine, is also the owning user on the remote
1243 (fboundp): Bind `ange-cache'.
1244 (eshell-directory-files-and-attributes): Re-organized the logic a
1245 bit to use `eshell-file-attributes' instead of `file-attributes'.
1246 The former is more sensitive to directories that are read via FTP,
1247 and knows how to use ange-ftp to determine full attribute
1248 information, instead of just the name and last modtime.
1249 (eshell-current-ange-uids): Return the current user id when in a
1251 (eshell-parse-ange-ls): Parse a full directory listing that has
1252 been returned by ange-ftp.
1253 (eshell-file-attributes): This beefed up version of
1254 `file-attributes' is only special if the user is currently in a
1255 remote directory, in which case it does a lot of work to find out
1256 what the real attributes of a file are, as they appear on the
1257 remote machine. This makes usage of remote directories (i.e.,
1258 ange-ftp pathnames) much more useful. You can now use Eshell as a
1259 full-fledged FTP client, with much more manipulation ability than
1262 * eshell/em-unix.el (eshell-du-prefer-over-ange): Added a new
1263 variable, which means that Eshell's du should always be preferred
1264 in remote directories.
1265 (eshell-shuffle-files): Use `eshell-file-attributes', rather than
1266 just `file-attributes'.
1267 (eshell-mvcp-template): Bind `ange-cache', to improve performance
1268 when reading remote directories. This is an Eshell-specific
1269 variable (not part of ange-ftp).
1270 (eshell/ln): Bind `ange-cache'.
1271 (eshell/du): Added some extra logic for determining when to use
1272 Eshell's du (which is slow), and when to use the external version
1273 (which may or may not exist).
1275 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof): Call
1276 `eshell-interactive-process', rather than using
1277 `get-buffer-process', since backgrounded processes don't count in
1278 the context of this function's logic.
1280 * eshell/esh-arg.el (eshell-parse-double-quote): Moved a call to
1281 `forward-char', so that null strings are parsed correctly.
1283 2000-09-13 John Wiegley <johnw@gnu.org>
1285 * eshell/em-pred.el (eshell-pred-file-type,
1286 eshell-pred-file-links, eshell-pred-file-size): Use
1287 `eshell-file-attributes'. This is more correct over ange-ftp.
1289 * eshell/em-glob.el (eshell-extended-glob): Bind `ange-cache', so
1290 that remote file globbing is more efficient.
1292 * eshell/em-ls.el (eshell-ls-dir): Use `expand-file-name' when
1293 gathering the files and attributes within a directory.
1295 * eshell/em-unix.el (eshell/cat): If any of the files passed on
1296 the command line is a special file (not a regular file, directory
1297 or symlink), always attempt to call the external version of cat.
1299 2000-09-13 John Wiegley <johnw@gnu.org>
1301 * eshell/esh-mode.el (eshell-find-tag): Corrections to the
1302 Eshell-friendly version of find-tag.
1304 2000-10-13 Miles Bader <miles@lsi.nec.co.jp>
1306 * image-file.el (image-file-name-extensions)
1307 (image-file-name-regexps): Add autoload cookies.
1309 2000-10-13 Kenichi Handa <handa@etl.go.jp>
1311 * international/mule-cmds.el (select-safe-coding-system): If FROM
1312 is string, show it in *Warning* buffer.
1314 2000-10-13 Eli Zaretskii <eliz@is.elta.co.il>
1316 * startup.el (normal-top-level): Use display-popup-menus-p instead
1318 (command-line): Use display-graphic-p instead of window-system.
1319 (command-line-1): Use display-popup-menus-p and display-mouse-p
1320 instead of window-system.
1322 2000-10-12 Sam Steingold <sds@gnu.org>
1324 * tooltip.el (tooltip-use-echo-area): New user variable.
1325 (tooltip-show): Use it to choose between `x-show-tip' and `message'.
1327 2000-10-12 Dave Love <fx@gnu.org>
1329 * recentf.el: Maintainer's checkdoc fixes.
1331 * startup.el (normal-top-level-add-subdirs-to-load-path): Use
1332 character class, not ASCII when matching file names.
1333 (fancy-splash-head): Add trailing slash to URL.
1334 (command-line): Don't require XPM support for toolbar.
1336 * progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
1337 (cperl-invalid-face): Revert last change.
1338 (cperl-init-faces): Quote cperl-invalid-face.
1340 2000-10-12 Kenichi Handa <handa@etl.go.jp>
1342 * startup.el (fancy-splash-text): Remove superfluous quote.
1344 2000-10-12 Gerd Moellmann <gerd@gnu.org>
1346 * startup.el (fancy-splash-screens): Don't add a pre-command hook.
1347 (fancy-splash-pre-command, fancy-splash-pending-command): Removed.
1348 (command-line-1): Don't use fancy-splash-pending-command.
1349 (fancy-splash-screens-1): Goto point-min after inserting text.
1351 * calendar/diary-lib.el (diary-cyclic): Doc fix from Ed Reingold.
1353 * progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
1354 instead of shared-lisp-mode-map.
1356 2000-10-12 Miles Bader <miles@lsi.nec.co.jp>
1358 * faces.el (header-line): Change tty-variant to use underlining.
1360 * isearch.el (isearch-set-lazy-highlight-faces-at): New function.
1361 (isearch-highlight): Restore lazy-isearch face properties at old
1362 position, and suppress them at new position.
1363 (isearch-dehighlight): Restore lazy-isearch face properties.
1364 (isearch-lazy-highlight-update): Add lazy-isearch overlays even
1365 over the real isearch overlay, but in that case, don't give it a
1366 face property. Use `push'.
1368 2000-10-12 Kenichi Handa <handa@etl.go.jp>
1370 * man.el (Man-getpage-in-background): Fix previous change.
1371 Decode the process output only when we are in multibyte mode.
1373 2000-10-11 Dave Love <fx@gnu.org>
1375 * info.el (Info-mode-menu): Fix some help.
1376 (info-tool-bar-map): Add entry for Info-last.
1378 * toolbar/cancel.xpm, toolbar/jump_to.xpm, toolbar/right_arrow.xpm:
1379 * toolbar/close.xpm, toolbar/left_arrow.xpm, toolbar/save.xpm:
1380 * toolbar/copy.xpm, toolbar/mail.xpm, toolbar/saveas.xpm:
1381 * toolbar/cut.xpm, toolbar/mail_compose.xpm:
1382 * toolbar/search-replace.xpm, toolbar/exit.xpm:
1383 * toolbar/mail_send.xpm, toolbar/search.xpm, toolbar/fld_open.xpm:
1384 * toolbar/new.xpm, toolbar/spell.xpm, toolbar/help.xpm:
1385 * toolbar/open.xpm, toolbar/undo.xpm, toolbar/home.xpm:
1386 * toolbar/paste.xpm, toolbar/up_arrow.xpm, toolbar/index.xpm:
1387 * toolbar/preferences.xpm, toolbar/info.xpm, toolbar/print.xpm:
1388 Reduce colour requirements to 25 overall. (Probably wants
1389 revisiting from the originals to reduce further.)
1391 2000-10-11 Eli Zaretskii <eliz@is.elta.co.il>
1393 * hexl.el (hexlify-buffer): Bind coding-system-for-write to
1394 buffer-file-coding-system, instead of raw-text.
1395 (dehexlify-buffer): Bind coding-system-for-read to
1396 buffer-file-coding-system, instead of raw-text.
1398 2000-10-11 Sam Steingold <sds@gnu.org>
1400 * progmodes/cperl-mode.el (cperl-invalid-face): double-quote
1401 `underline' - fixes the bug introduced on 2000-09-21.
1403 2000-10-11 Dave Love <fx@gnu.org>
1405 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Avoid
1407 (scheme-mode): Doc fix.
1408 (scheme-font-lock-keywords-1): Match `define-syntax'.
1410 2000-10-11 Miles Bader <miles@lsi.nec.co.jp>
1412 * faces.el (frame-set-background-mode): Pay attention to saved
1413 face specs as well as default ones. Only do anything if the
1414 bg-mode or display-type has actually changed. Use `dolist'.
1415 (region): Make dark-background `region' face less in-your-face.
1417 2000-10-10 Sam Steingold <sds@gnu.org>
1419 * chistory.el, ielm.el, ledit.el:
1420 * progmodes/inf-lisp.el, progmodes/scheme.el:
1421 Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
1423 2000-10-10 Stefan Monnier <monnier@cs.yale.edu>
1425 * textmodes/texinfo.el: Update copyright and fix typo.
1427 * desktop.el (desktop-modes-not-to-save): New var.
1428 (desktop-save-buffer-p): Use it.
1429 Also, obey desktop-buffers-not-to-save even for non-file buffers.
1430 (desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
1432 2000-10-10 Dave Love <fx@gnu.org>
1434 * toolbar/tool-bar.el (tool-bar-add-item)
1435 (tool-bar-add-item-from-menu): Don't favour XPM icons on mono
1438 * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
1439 * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
1440 * toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
1441 * toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
1442 * toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
1443 * toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
1444 * toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
1445 * toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
1446 * toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
1447 * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
1448 the .xpms; probably need retouching.
1450 2000-10-10 Miles Bader <miles@lsi.nec.co.jp>
1452 * subr.el (add-to-list): Add optional argument APPEND.
1453 * battery.el (display-battery): Use `add-to-list'.
1455 2000-10-09 Thien-Thi Nguyen <ttn@gnu.org>
1457 * play/zone.el (zone-timer, zone-wc-tbl): Rework
1458 these vars as symbol properties.
1459 (zone, zone-when-idle, zone-leave-me-alone)
1460 (zone-pgm-whack-chars): Use new symbol properties.
1462 * battery.el (display-battery): Doc spelling fix.
1464 * vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
1467 2000-10-09 Dave Love <fx@gnu.org>
1469 * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
1470 has been initialized before calling tool-bar-setup.
1471 (tool-bar-add-item-from-menu): Add autoload cookie.
1473 2000-10-09 Eli Zaretskii <eliz@is.elta.co.il>
1475 * menu-bar.el (send-mail-item-name): New function.
1476 (menu-bar-tools-menu) <compose-mail>: Use it to display the value
1477 of mail-user-agent in the menu. Don't display the "Send Mail"
1478 item if mail-user-agent is nil or its value is ignore.
1479 (menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
1480 if read-mail-command is nil or its value is ignore.
1482 * mouse.el ([header-line mouse-1]): Bind to mouse-select-window.
1484 2000-10-09 Miles Bader <miles@gnu.org>
1486 * toolbar/up_arrow.xpm: Flip to put highlight in correct place.
1488 * toolbar/left_arrow.xpm: Correct image size.
1490 * jka-compr.el: Don't call `jka-compr-install' when loading (it
1491 will be done by the definition of `auto-compression-mode' if
1492 necessary. Move code to uninstall existing file-name handler
1493 before definition of `auto-compression-mode'.
1495 * image-file.el (auto-image-file-mode): Move to the end of the
1496 file, because `define-minor-mode' actually calls the mode-function
1497 if the associated variable is non-nil, which requires that all
1498 needed functions be already defined.
1500 * mouse.el (popup-menu): Balance parens.
1502 2000-10-08 Stefan Monnier <monnier@cs.yale.edu>
1504 * mouse.el (popup-menu): Move the command call outside the loop
1505 so that popup-menu returns whatever the command returns.
1507 * progmodes/etags.el: Docstring fixes. Maintainer line updated.
1508 (initialize-new-tags-table): Use run-hook-with-args-until-success.
1509 (find-tag): Use pop-to-buffer if switch-to-buffer failed.
1510 (tags-table-format-functions): Renamed from tags-table-format-hooks.
1512 * vc.el (vc-version-diff): diff-switches can be a list.
1513 Use relative filenames for prettier output.
1515 * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
1516 (vc-post-command-functions): Remove old-VC compatibility code.
1518 * newcomment.el (comment-indent-default): Autoload.
1520 * font-lock.el (font-lock-defaults): Make buffer-local.
1521 (font-lock-turn-on-thing-lock): Use jit-lock-refontify.
1522 (font-lock-choose-keywords):
1523 Ignore LEVEL unless KEYWORDS is a list of syms.
1524 (c-keywords, c++-keywords, objc-keywords, java-keywords):
1525 Don't wrap regexp-opt things in \(...\) unnecessarily.
1527 * jit-lock.el: Don't require font-lock any more.
1528 (jit-lock-functions): Make buffer-local.
1529 (jit-lock-saved-fontify-buffer-function): Remove.
1530 (jit-lock-mode): Remove autoload cookie.
1531 Remove font-lock specific code.
1532 (jit-lock-unregister): Don't bother handling complex hooks any more.
1533 (jit-lock-refontify): New function.
1534 (jit-lock-fontify-buffer): Use it.
1535 (jit-lock-function-1): Replaced by jit-lock-fontify-now.
1536 (jit-lock-fontify-now): Renamed from jit-lock-function-1.
1537 Add optional args START and END.
1538 Never call font-lock-fontify-region directly.
1539 (jit-lock-function, jit-lock-stealth-fontify): Use it.
1541 * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.
1543 2000-10-08 Dave Love <fx@gnu.org>
1545 * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
1547 * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
1549 * play/studly.el (studlify-region, studlify-word): Add autoload
1552 * play/morse.el (morse-region, unmorse-region): Add autoload
1555 * play/spook.el (spook-phrases-file): Use expand-file-name, not
1558 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
1559 insist on symbols starting with word syntax.
1560 (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
1561 (eval-defun-1): Doc fix.
1562 (indent-sexp): Use nconc to build up indent-stack.
1564 * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
1565 Gnus with little use.
1566 (mail-setup-hook): Add mail-abbrevs-setup to options.
1568 * recentf.el: Doc fixes.
1570 * vcursor.el (vcursor-cs-binding): Remove compatibility code.
1573 * timezone.el (timezone-parse-date): Doc fix. Fix regexps for (5)
1574 without timezone and (8) with timezone to enforce some whitespace.
1575 Simplify code somewhat.
1577 * options.el (list-options): Doc that you should use customize.
1579 * iswitchb.el (iswitchb-mode): Add :require.
1581 * info.el (Info-goto-node, Info-menu): Doc fix.
1582 (Info-mode-menu): Bind beginning-of-buffer, Info-edit
1583 (info-tool-bar-map): New variable.
1584 (Info-mode): Use it.
1585 (Info-edit-map): Define all in defvar.
1586 (speedbar-attached-frame): Avoid compiler warning.
1588 * toolbar/tool-bar.el (tool-bar-map): Define it empty.
1589 (global-map): Bind [tool-bar] to a filtered map.
1590 (tool-bar-add-item): Remove MAP arg. Allow PBM icons.
1591 (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
1593 (tool-bar-setup): Adjust calls of tool-bar-add-item.
1595 * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
1596 * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
1597 * toolbar/right_arrow.xpm: New files. Renamed from tigert's
1598 icons, except up_arrow, which is left-arrow rotated.
1600 * imenu.el (imenu-add-to-menubar): Fix last change.
1602 2000-10-08 Peter Breton <pbreton@ne.mediaone.net>
1604 * generic-x.el (rul-generic-mode): Remove eval-when-compile
1605 statements. Suggested by Stefan Monnier <monnier@cs.yale.edu>.
1607 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
1609 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
1610 typos in doc strings.
1612 * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
1613 the doc strings how to customize Font Lock faces.
1615 * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
1616 computing growth when dragging the header line.
1618 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
1620 * simple.el (kill-line): Doc fix.
1622 2000-10-08 Miles Bader <miles@gnu.org>
1624 * faces.el (secondary-selection): Make foreground visible on tty.
1626 * jka-compr.el (auto-compression-mode): Move to the end of the
1627 file, because `define-minor-mode' actually calls the mode-function
1628 if the associated variable is non-nil, which requires that all
1629 needed functions be already defined.
1630 (with-auto-compression-mode): Add autoload cookie.
1632 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il>
1634 * files.el (find-backup-file-name) [ms-dos]: If support for long
1635 file names is not available, behave as if version-control were set
1638 2000-10-07 Dave Love <fx@gnu.org>
1640 * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
1641 (browse-url-gnome-moz): New function.
1642 (browse-url-browser-function): Use it.
1643 Suggested by Colin Walters <walters@cis.ohio-state.edu>.
1645 2000-10-07 Stefan Monnier <monnier@cs.yale.edu>
1647 * indent.el (tab-always-indent): New var.
1648 (indent-for-tab-command): Use it.
1650 * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
1651 raise an error. This way it can still default to a sane value.
1653 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
1655 * startup.el (fancy-splash-screens): Use local rather than global map.
1656 Don't use `update-menu-bindings' any more.
1657 Get rid of assumptions about keymap representation.
1659 2000-10-06 Dave Love <fx@gnu.org>
1661 * textmodes/fill.el (sentence-end-double-space)
1662 (sentence-end-without-period): Doc fix.
1663 (adaptive-fill-regexp): Purecopy.
1664 (unjustify-current-line): Use line-end-position.
1665 (fill-individual-paragraphs-prefix): Use line-beginning-position.
1667 * net/eudc-vars.el (eudc): Add :version, :link.
1669 * international/mule-conf.el (file-coding-system-alist): Use \', not $.
1671 * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
1672 Fix for define-minor-mode.
1673 (function-at-point): Alias to function-called-at-point.
1675 * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
1677 * simple.el (backward-word): Doc fix.
1679 * image-file.el (image-file-name-regexp): image-file-regexps ->
1680 image-file-name-regexps.
1681 (image-file-name-extensions): Add pbm.
1683 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
1685 * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
1686 and add filename to the names so that diff-mode can jump to source.
1688 * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
1689 (tex-font-lock-keywords, tex-font-lock-keywords-2)
1690 (tex-font-lock-keywords-1): Remove.
1691 (font-lock-turn-on-thing-lock): Use jit-lock-register.
1692 (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
1693 (font-lock-default-fontify-region):
1694 Expand beg..end correctly when just following a multiline region.
1695 (font-lock-fontify-anchored-keywords):
1696 Include the anchor text as part of the multiline.
1698 2000-10-06 Gerd Moellmann <gerd@gnu.org>
1700 * loadup.el (toplevel): Load `loaddefs' before `help' because the
1701 latter needs the autoloaded define-minor-mode macro during the
1704 * startup.el (command-line): For now, activate tool-bar-mode only
1705 if XPM images are supported.
1707 * mouse.el (mouse-drag-header-line): Don't allow resizing a
1708 window by dragging a header-line at the top of the frame; that's
1709 confusing because the header-line doesn't move.
1710 (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
1711 of treating the event as a list. Some cleanup.
1713 2000-10-06 Miles Bader <miles@gnu.org>
1715 * simple.el (display-message-or-buffer): New function.
1716 (shell-command-on-region): Use `display-message-or-buffer'.
1718 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
1721 * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
1722 (smbclient-prompt-regexp): Add usage note to doc string.
1723 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
1724 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
1725 Use add-hook for adding the comint filter function, and only do so
1726 if it's not already in the global hook list.
1727 (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
1728 to `make-local-variable'.
1729 (nslookup-font-lock-keywords): Remove prompt entry.
1730 (nslookup): Don't set the process-filter.
1731 (finger): Exit the loop correctly when the regexps list runs out.
1732 (ftp, smbclient, smbclient-list-shares):
1733 Set the real major mode immediately, not after execing.
1734 Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
1736 * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
1738 2000-10-05 Stefan Monnier <monnier@cs.yale.edu>
1740 * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
1742 * which-func.el (which-func-format): Remove spurious space.
1743 (which-func-mode): Don't make it permanent-local.
1744 (which-func-ff-hook): Allow which-func-maxout to be nil.
1745 (which-func-update): Simplify a bit. Only run if which-func-mode is t.
1746 (which-func-mode): Simplify.
1747 Use post-command-idle-hook rather than post-command-hook.
1748 Go through all buffers and update their state.
1749 (which-function): Also try add-log-current-defun-function.
1751 * vc.el (with-vc-properties): Use conses rather than length-2 lists.
1752 (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
1753 Update call to with-vc-properties accordingly.
1754 (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
1755 (vc-revert-buffer): More careful about window selection and deletion.
1756 (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
1758 * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
1759 (cvs-retrieve-revision): Reuse a pre-existing buffer.
1760 (cvs-dired-action): Change the default to quickdir.
1762 * newcomment.el (comment-indent): Delegate to indent-according-to-mode
1763 if comment-indent-function returns nil.
1764 (comment-indent-default): New function.
1765 (comment-indent-function): Use it and document the new semantics.
1767 * image-file.el: Docstring fixes.
1769 * help.el (help-xref-on-pp): Use match-string.
1770 (describe-variable): New arg BUFFER.
1771 Store the current buffer in the help-xref-stack.
1772 (temp-buffer-resize-mode): Use define-minor-mode.
1774 * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
1775 consistently with its docstring.
1776 Set jit-lock-first-unfontify-pos in an idempotent way.
1777 (jit-lock-register): Autoload and add arg CONTEXTUAL.
1779 2000-10-05 Alex Schroeder <alex@gnu.org>
1781 * sql.el (sql-mysql-options): New variable.
1782 (sql-mysql): Use it.
1784 2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
1786 * image.el (image): New group.
1788 * smerge-mode.el (smerge-mine-face, smerge-other-face)
1789 (smerge-base-face, smerge-markers-face): Add dark-background variants.
1791 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
1793 * net/net-utils.el (nslookup-font-lock-keywords)
1794 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
1795 Ignore the value of wqindow-system; always define keywords
1797 2000-10-05 Kenichi Handa <handa@etl.go.jp>
1799 * startup.el (fancy-splash-screens): Remove the code for
1800 debugging; `(trace-to-stderr "EXITTT\n")'.
1802 2000-10-05 Miles Bader <miles@gnu.org>
1804 * diff-mode.el (diff-goto-source): Update call to
1805 `diff-hunk-status-msg' to reflect new REV variable.
1807 2000-10-04 Stefan Monnier <monnier@cs.yale.edu>
1809 * progmodes/icon.el (icon-mode):
1810 Don't gratuitously override the default for comment-column.
1812 * vc-hooks.el (vc-mode-line): Fix interactive spec.
1814 * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
1815 (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
1816 (jit-lock-functions): New var.
1817 (jit-lock-function-1): Use it if non-nil.
1818 Don't switch the syntax-table. Don't set parse-sexp-lookup-properties.
1819 Set the `fontified' property before doing the fontification to avoid
1820 repeatedly going through the same error.
1821 Don't turn errors into messages.
1822 (jit-lock-register, jit-lock-unregister): New functions.
1824 * dired.el (dired-mark-pop-up): Turn comment into docstring.
1825 Use with-current-buffer.
1827 * dired-aux.el (dired-do-create-files, dired-kill-tree):
1828 Turn comment into docstring.
1830 * apropos.el (apropos-mode): Use define-derived-mode.
1832 2000-10-04 Gerd Moellmann <gerd@gnu.org>
1834 * startup.el (fancy-splash-pending-command): New variable.
1835 (fancy-splash-pre-command): New function.
1836 (fancy-splash-screens): Rewritten.
1837 (command-line-1): If fancy-splash-pending-command is set, call it
1840 2000-10-04 Dave Love <fx@gnu.org>
1842 * toolbar/tool-bar.el (tool-bar-setup): New function.
1843 (tool-bar-mode): Use it.
1845 * subr.el (substitute-key-definition): Doc fix.
1846 (play-sound-file): New command.
1848 2000-10-04 Andre Spiegel <spiegel@gnu.org>
1850 * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
1851 vc-version-backup-file-name): New functions.
1853 * files.el (basic-save-buffer): Call vc-before-save before saving.
1855 * vc-cvs.el (vc-cvs-make-version-backups): Return t if
1856 vc-cvs-stay-local-p.
1858 * vc.el (vc-revert-buffer): Handle empty diff properly.
1859 (vc-version-backup-file): New function.
1860 (vc-checkout): Create a version backup if necessary.
1861 (vc-checkin): If a version backup file exists, delete it.
1862 (vc-version-diff): Diff locally using version backups, if available.
1863 (vc-revert-file): If there's a version backup, revert locally.
1864 (vc-transfer-file): Use version backup for base version, if
1865 available. If not, ask for confirmation whether to get it from the
1866 server. Update mode line before check-in.
1868 2000-10-04 Dave Love <fx@gnu.org>
1870 * toolbar/tool-bar.el (tool-bar-setup): New function.
1871 (tool-bar-mode): Use it.
1873 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
1875 * net/net-utils.el (nslookup-font-lock-keywords)
1876 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
1877 Only set if window-system is non-nil
1878 (net-utils-run-program): Returns buffer.
1879 (network-connection-reconnect): Added this function.
1882 Incorporates extensive cleanup and docfixes by
1883 Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
1884 Uses cl compile-time macros.
1885 (generic-mode-name, generic-comment-list)
1886 (generic-keywords-list, generic-font-lock-expressions)
1887 (generic-mode-function-list, generic-mode-syntax-table):
1889 (generic-mode-alist): Renamed to generic-mode-list.
1890 (generic-find-file-regexp): Default changed to "^#".
1891 (generic-read-type): Uses completing read on generic-mode-list.
1892 (generic-mode-sanity-check): removed this function.
1893 (generic-add-to-auto-mode): Removed this function
1894 (generic-mode-internal): Bind mode-specific definitions
1895 into function instead of putting them in alist.
1896 (generic-mode-set-comments): Reworked extensively.
1897 (generic-mode-find-file-hook): Simplified regexp searching
1898 (generic-make-keywords-list): Omit extra pair of parens
1900 * find-lisp.el (find-lisp-find-files-internal):
1901 Make sure directory name ends with "/".
1903 * generic-x.el (apache-conf-generic-mode):
1904 Regexp now allows leading whitespace.
1905 (rc-generic-mode): Added eval-when-compile
1906 around generic-make-keywords-list.
1907 Deleted duplicate regexp
1908 (rul-generic-mode): Added eval-when-compile
1909 around generic-make-keywords-list.
1910 (etc-fstab-generic-mode): New generic mode.
1911 (rul-generic-mode): Removed one eval-when-compile
1912 which caused a max-specpdl-size exceeded error.
1914 2000-10-04 Miles Bader <miles@gnu.org>
1916 * simple.el (minibuffer-temporary-goal-position): New variable.
1917 (next-history-element): Try to keep the position of point in the
1918 input string constant.
1920 * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
1921 (dired-do-create-files): If there's only one file, pass it in as
1922 the DEFAULT arg to dired-mark-read-file-name.
1924 2000-10-03 Stefan Monnier <monnier@cs.yale.edu>
1926 * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
1927 (diff-goto-source): Be smarter when choosing REVERSE or not.
1929 * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
1930 (texinfo-mode-menu): Add an explicit shortcut for update all.
1932 2000-10-03 Andre Spiegel <spiegel@gnu.org>
1934 * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
1935 factorize backend-specific code cleanly (this was essentially
1936 conceived by Stefan Monnier).
1937 (vc-unregister): Function removed.
1938 (vc-revert-file): New function.
1939 (vc-revert-buffer): Delegate some of the work to it.
1941 * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
1942 default branch unconditionally.
1943 (vc-rcs-set-default-branch): New function.
1944 (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
1945 (vc-rcs-checkin): If an appropriate default branch has been set,
1946 force creation of that branch.
1947 (vc-rcs-receive-file): Rewritten to contain only backend-specific
1948 code (as suggested by Stefan Monnier).
1950 2000-10-02 Gerd Moellmann <gerd@gnu.org>
1952 * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
1953 highlighting overlay with a different face over the overlay
1954 isearch uses to highlight the current match because that can lead
1955 to bad face combinations.
1957 * loadup.el (toplevel): Load faces before isearch.
1959 * isearch.el (isearch-faces): New custom group.
1960 (isearch): New defface; was already tested for in the code.
1961 (isearch-lazy-highlight-face): Changed to defface from defcustom.
1962 (isearch-highlight): Always use face `isearch'.
1964 2000-10-02 Dave Love <fx@gnu.org>
1966 * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
1967 unused vars. Treat byte-constant2 like byte-constant. Fix bogus
1968 comparison of opcode with operand.
1970 2000-10-03 Miles Bader <miles@gnu.org>
1972 * play/yow.el (yow): Don't display multi-line quotations in a *Help*
1973 buffer, since the echo area will now grow to accommodate them.
1975 2000-10-02 Andre Spiegel <spiegel@gnu.org>
1977 * vc-hooks.el (vc-registered): If FILE used to be registered under
1978 a certain backend, try that one first.
1980 * vc.el (vc-responsible-backend): Undo the previous change in the
1981 argument list. Handle multiple backends correctly.
1982 (vc-find-new-backend): Function removed.
1983 (vc-register): Use vc-responsible-backend, as before.
1984 (vc-next-action-on-file): Do use vc-registered, not vc-backend.
1986 2000-10-02 Gerd Moellmann <gerd@gnu.org>
1988 * startup.el (fancy-splash-head): Change message below the
1991 2000-10-02 Miles Bader <miles@lsi.nec.co.jp>
1993 * diff-mode.el (diff-goto-source): Emit a status message.
1994 (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
1995 (diff-test-hunk): Fix doc string.
1996 (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
1997 (diff-advance-after-apply-hunk): New variable.
1998 (diff-apply-hunk): Don't return a value.
2000 2000-10-01 Stefan Monnier <monnier@cs.yale.edu>
2002 * vc.el (vc-editable-p): Minor optimization.
2003 (edit-vc-file, vc-next-action-on-file): Don't use find-file.
2004 (vc-find-new-backend): New function split from vc-responsible-backend.
2005 (vc-register): Use it.
2006 (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
2007 (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
2008 (vc-default-unregister, vc-revert-buffer): Docstring fix.
2009 (vc-clear-headers): Don't use find-file.
2010 (vc-revert-buffer): Use `and' again (must have been a braino).
2011 (vc-switch-backend): Only prompt if requested.
2012 Short circuit if nothing is to be done.
2013 Don't use vc-resynch-buffer which could lose unsaved editing.
2014 (vc-default-receive-file): Update call to vc-unregister.
2015 (with-vc-file, vc-next-action-on-file):
2016 Use vc-backend rather than vc-registered.
2017 (vc-next-action-on-file): Use intern-soft.
2018 Deal with read-only *vc-diff* buffer.
2019 (vc-transfer-file): Docstring fix.
2021 * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
2022 (vc-rcs-receive-file): Avoid with-vc-properties.
2023 Update call to vc-unregister.
2024 Use constant `RCS' rather than (dynamically bound) var `backend'.
2026 2000-10-01 Andre Spiegel <spiegel@gnu.org>
2028 * vc.el (vc-next-action-on-file): Update mode line only if file
2030 (vc-start-entry): New argument initial-contents. Don't visit the file
2031 if it isn't already visited. Brought documentation up-to-date.
2032 (vc-next-action, vc-register): Updated calls to vc-start-entry.
2033 (vc-checkin): New optional arg initial-contents, which is passed to
2035 (vc-finish-logentry): Make sure to bury log buffer only if there
2036 really is one. Call `vc-resynch-buffer' on log-file, not
2038 (vc-default-comment-history, vc-default-wash-log): New functions.
2039 (vc-index-of): Removed.
2040 (vc-transfer-file): Make do without the above.
2041 (vc-default-receive-file): Call comment-history unconditionally. Pass
2042 the resulting string to vc-checkin, instead of inserting it into the
2045 * vc-rcs.el (vc-rcs-receive-file): Call comment-history
2046 unconditionally. Use the comments as initial contents of the log
2047 entry buffer. Document the trick to force branch creation with no
2050 2000-10-01 Miles Bader <miles@gnu.org>
2052 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
2053 `recenter' with an arg to prevent redrawing the display.
2055 2000-09-30 Stefan Monnier <monnier@cs.yale.edu>
2057 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
2059 * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
2061 * progmodes/c-mode.el (c-mode):
2062 Don't gratuitously override the default for comment-column.
2064 * textmodes/tex-mode.el (latex-metasection-list): New var.
2065 (latex-imenu-create-index): Use it.
2066 Move the regexp construction outside loops (and use push).
2067 (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
2068 (tex-font-lock-keywords): Moved from font-lock.el.
2069 (tex-comment-indent): Remove.
2070 (tex-common-initialization): Don't set comment-indent-function.
2071 (latex-block-default): New var.
2072 (tex-latex-block): Use it to provide a default choice.
2073 Add any unknown choice to latex-block-names.
2074 Insert [...] after {...}.
2075 (tex-last-unended-begin): Simplify regexp.
2076 (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
2077 (latex-forward-sexp-1, latex-forward-sexp): New functions.
2078 (latex-mode): Set forward-sexp-function.
2080 * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
2081 Add regexp for @ignore ... @end ignore.
2082 (texinfo-heading-face): New face.
2083 (texinfo-font-lock-keywords): Use it.
2084 (texinfo-mode-menu): New menu.
2085 (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
2087 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
2088 (texinfo-section-types-regexp, texinfo-section-level-regexp)
2089 (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
2091 (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
2093 * delsel.el (delete-selection-mode): Use define-minor-mode.
2095 * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
2097 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
2099 * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
2101 2000-09-30 Gerd Moellmann <gerd@gnu.org>
2103 * replace.el (keep-lines-read-args): New function.
2104 (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
2105 read arguments interactively. Add parameters RSTART and REND.
2106 Operate on the active region in Transient Mark mode.
2108 * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
2110 * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
2111 (authors-obsolete-files-regexps): New variable.
2112 (authors-add): Don't record changes in obsolete files.
2114 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
2116 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
2118 * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
2119 (comment-indent): Make sure there's a space between code and comment.
2120 Shift comments left to avoid going past fill-column.
2122 2000-09-29 Gerd Moellmann <gerd@gnu.org>
2124 * startup.el (startup-echo-area-message): New function.
2125 (display-startup-echo-area-message): Use it.
2126 (fancy-splash-screens): Rewritten to use keymaps and a timer.
2127 (fancy-splash-default-action): New function.
2128 (fancy-splash-screens-1): New function.
2129 (fancy-splash-head): Put a help-echo and a keymap under the image.
2131 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
2133 * diff-mode.el (diff-add-log-file-name): Remove.
2134 (diff-mode): Use add-log-buffer-file-name-function.
2136 * add-log.el (find-change-log): New arg BUFFER-FILE.
2137 (add-log-file-name): Obey add-log-file-name-function.
2138 (add-log-buffer-file-name-function): New var.
2139 (add-change-log-entry): Use it.
2141 2000-09-29 Miles Bader <miles@gnu.org>
2143 * image-file.el (image-file-name-extensions): New variable.
2144 (image-file-name-regexps): Renamed from `image-file-regexps'.
2145 New default value is nil. Call `auto-image-file-mode'.
2146 (image-file-name-regexp): New function.
2147 (auto-image-file-mode): New minor mode.
2148 (insert-image-file): Don't make conditional on the image-file
2149 handler being enabled.
2150 (image-file-handler): Make the call here conditional instead.
2151 (set-image-file-handler-enabled, enable-image-file-handler)
2152 (disable-image-file-handler): Functions removed.
2154 * emacs-lisp/authors.el (authors-print): Rephrase many-files
2157 2000-09-29 Gerd Moellmann <gerd@gnu.org>
2159 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
2160 it's a function from CL.
2161 (latex-imenu-create-index): Replace eval-when-compile with progn
2162 because latex-section-alist is not bound while compiling.
2164 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
2166 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
2167 (outline-mode): Use define-derived-mode.
2169 * progmodes/perl-mode.el (perl-mode):
2170 * progmodes/awk-mode.el (awk-mode):
2171 * progmodes/asm-mode.el (asm-mode):
2172 Don't gratuitously override the default for comment-column.
2174 * emacs-lisp/lisp.el (lisp-complete-symbol):
2175 Distinguish the let-binding case from the funcall case.
2176 (forward-sexp-function): New variable.
2177 (forward-sexp): Use it.
2179 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
2180 (easy-mmode-defmap): Remove the now useless autoload.
2182 * time.el (display-time-mode): Use define-minor-mode.
2184 * subr.el (add-minor-mode): Don't eval NAME.
2185 Don't depend on the presence of TOGGLE-FUN for any special behavior.
2186 Use if rather than cond.
2188 * simple.el (read-expression-map): Define more properly.
2189 (comment-indent-hook): Remove.
2190 (string-to-syntax): Bug fix.
2192 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
2193 (cvs-ediff-diff): Fix typo.
2194 (cvs-revert-if-needed): Don't bother preserving read-only.
2196 * paren.el (show-paren-mode): Use define-minor-mode.
2198 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
2199 (toggle-auto-compression): Remove.
2200 (jka-compr-build-file-regexp): Remove useless grouping.
2202 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
2203 Avoid user-reserved bindings.
2204 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
2205 (diff-header-face): Revert to grey85.
2207 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
2209 * complete.el (partial-completion-mode) <defcustom>: Remove.
2210 (partial-completion-mode): Use define-minor-mode.
2211 (PC-do-completion): Understand `completion-auto-help = delay'
2212 to mean to popup the completion buffer only the second time.
2213 (PC-include-file-all-completions, PC-include-file-all-completions)
2214 (PC-include-file-all-completions): Don't quote lambda.
2216 * comint.el (comint-mode-hook): Docstring fix.
2217 (comint-mode): Use define-derived-mode.
2218 (comint-mode-map): Remove obsolete comment.
2219 (make-comint): Minor stylistic change.
2220 (comint-insert-clicked-input): Be more careful to find the overlay.
2221 Use this-command-keys rather than hardcoding mouse-2.
2223 * font-lock.el: Replace confusing (,@ with ,
2224 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
2225 Don't use regexp-opt-depth. Spice up the regexp for args.
2226 Don't distinguish between cmds that can take an opt arg or not.
2227 Use `append' and `prepend' rather than `keep'.
2229 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
2230 (latex-outline-regexp): New var.
2231 (latex-outline-level): New fun.
2232 (latex-section-alist): New var.
2233 (latex-imenu-create-index): Use it. Use `push' as well.
2234 (tex-shell-map): Initialize it properly.
2235 (tex-mode): Minor stylistic change.
2236 (plain-tex-mode): Use define-derived-mode.
2237 (latex-mode): Use define-derived-mode.
2238 Construct the paragraph regexps in a more readable way.
2239 Set the buffer-local outline-{level,regexp} vars.
2240 (slitex-mode): Derive from latex-mode.
2241 (tex-common-initialization): Don't kill-all-vars anymore.
2242 Add setting for comment-add and font-lock-defaults.
2243 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
2244 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
2245 (tex-start-tex): New arg DIR (and send a chdir command for it).
2246 Also display the shell buffer and save it in tex-last-buffer-texed.
2247 (tex-region): Use expand-file-name rather than concat.
2248 Remove code made useless by changes in tex-start-tex.
2249 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
2251 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
2253 2000-09-28 Dave Love <fx@gnu.org>
2255 * eshell/eshell.el (eshell) <defgroup>: Add :version.
2257 2000-09-28 Gerd Moellmann <gerd@gnu.org>
2259 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
2262 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
2264 * info.el (Info-extract-pointer): Undo last change.
2265 Instead, fix the position of the `bound' arg to re-search-backward.
2267 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
2269 * info.el (Info-extract-pointer):
2270 Widen more carefully, to avoid finding pointers in other nodes.
2271 (Info-index): Use push.
2273 2000-09-27 Gerd Moellmann <gerd@gnu.org>
2275 * frame.el (set-frame-font): Remove call to obsolete function
2277 (set-foreground-color, set-background-color): Likewise for
2278 frame-update-face-colors.
2280 2000-09-27 Miles Bader <miles@gnu.org>
2282 * image-file.el: New file.
2284 2000-09-27 Gerd Moellmann <gerd@gnu.org>
2286 * frame.el (frame-notice-user-settings): Don't call
2287 frame-update-faces, which is a no-op now.
2289 * ediff-wind.el (ediff-control-frame-parameters): Add zero
2292 2000-09-27 Dave Love <fx@gnu.org>
2294 * mouse.el: Fix last change.
2296 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
2298 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
2300 2000-09-22 Kenichi Handa <handa@etl.go.jp>
2302 * international/quail.el (quail-help): The output message is
2305 2000-09-26 Dave Love <fx@gnu.org>
2307 * mouse.el (popup-menu): If POSITION is nil, set it using
2310 2000-09-25 Sam Steingold <sds@gnu.org>
2312 * net/browse-url.el (browse-url-file-url): Check for null maps.
2314 2000-09-26 Gerd Moellmann <gerd@gnu.org>
2316 * frame.el (frame-notice-user-settings): Don't add a
2317 tool-bar-lines frame parameter to default-frame-alist in batch mode.
2319 * frame.el (frame-notice-user-settings):
2320 Make tool-bar-mode and default-frame-alist consistent.
2322 * toolbar/tool-bar.el (tool-bar-help): New function.
2324 2000-09-25 Gerd Moellmann <gerd@gnu.org>
2326 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
2327 current-load-list in top-level forms. Else this leaks a cons cell
2328 every time a defun is called.
2330 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
2332 2000-09-25 Dave Love <fx@gnu.org>
2334 * startup.el (fancy-splash-head): Check XPM is available.
2336 * autoinsert.el (auto-insert): Doc fix.
2337 (auto-insert-alist): Following GNU notices, don't say `copyright
2338 _by_'. Use line-beginning-position.
2339 (auto-insert): Check buffer-file-name is non-nil before use.
2341 2000-09-25 Gerd Moellmann <gerd@gnu.org>
2343 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
2344 starting with `@def' or `@multitable', in addition to ones
2345 specified by the user in auto-fill-inhibit-regexp.
2347 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
2349 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
2350 rmail-dont-reply-to-names matches the empty string.
2352 2000-09-25 Gerd Moellmann <gerd@gnu.org>
2354 * startup.el (command-line-1, fancy-splash-text): Change the
2355 text to sound more friendly.
2357 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
2359 * progmodes/hideshow.el: Update author email address.
2360 Generally, sync w/ maintainer version 5.22.
2361 (hs-hide-all-non-comment-function): New var.
2362 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
2363 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
2364 (hs-show-region): Delete this command.
2365 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
2367 2000-09-22 Dave Love <fx@gnu.org>
2369 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
2370 (hl-line-highlight): Specify buffer when moving overlay.
2372 * progmodes/fortran.el (fortran-mode): Locally set
2373 normal-auto-fill-function.
2374 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
2375 (fortran-mode-map): Adjust auto-fill menu entry.
2377 2000-09-22 Gerd Moellmann <gerd@gnu.org>
2379 * vc-rcs.el (toplevel): Require `vc' when compiling.
2381 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
2383 2000-09-22 Andre Spiegel <spiegel@gnu.org>
2385 * vc.el (vc-switch-backend): Signal an error if the file is not
2386 registered under the new backend.
2388 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
2389 without explicit revision number.
2391 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
2393 * diff-mode.el (diff-file-header-face): Reset to its previous value.
2394 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
2395 (diff-xor): New function.
2396 (diff-find-source-location): Use it. Fix a stupid name clash.
2397 (diff-hunk-status-msg): New function.
2398 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
2399 (diff-test-hunk): Use diff-find-source-location.
2400 (diff-goto-source): Favor the `reverse'.
2401 (diff-hunk-text): Properly handle one-sided context diffs.
2402 (diff-apply-hunk): When done, advance to the next hunk.
2404 2000-09-21 Gerd Moellmann <gerd@gnu.org>
2406 * startup.el (command-line): If frame was created with a non-zero
2407 tool-bar-lines parameter, switch tool-bar-mode on.
2409 * add-log.el (change-log-date-face, change-log-name-face)
2410 (change-log-email-face, change-log-file-face)
2411 (change-log-list-face, change-log-conditionals-face)
2412 (change-log-function-face, change-log-acknowledgement-face):
2413 New faces, inheriting from font-lock faces.
2414 (change-log-font-lock-keywords): Use them.
2416 2000-09-21 Dave Love <fx@gnu.org>
2418 * progmodes/cperl-mode.el (top-level): Clean up
2419 `eval-when-compile's and assorted defvars.
2420 (cperl-invalid-face): Don't double-quote value. Change custom
2422 (cperl-mode): Set normal-auto-fill-function and don't zap
2424 (cperl-imenu--function-name-regexp-perl): Renamed from
2425 imenu-example--function-name-regexp-perl.
2426 (cperl-imenu--create-perl-index): Renamed from
2427 imenu-example--create-perl-index.
2428 (cperl-xsub-scan): Don't require cl.
2430 * msb.el (msb-mode-map): Use substitute-key-definition.
2431 (msb-mode): Use msb-mode-map.
2433 2000-09-21 Andre Spiegel <spiegel@gnu.org>
2435 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
2437 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
2438 (vc-switch-backend): New function.
2439 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
2440 (vc-register): Fix prompt.
2441 (vc-unregister, vc-default-unregister): New functions.
2442 (vc-version-diff): Handle empty buffer in sentinel.
2444 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
2445 (vc-rcs-state-heuristic): Use it to guess the state of files with
2447 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
2448 been set with -b, but not created yet.
2449 (vc-rcs-fetch-master-state): With non-strict locking, compare file
2450 contents in order to find the state.
2451 (vc-rcs-checkin): Allow creation of branches with no changes.
2452 (vc-rcs-unregister, vc-rcs-receive-file)
2453 (vc-rcs-set-non-strict-locking): New functions.
2455 * vc-hooks.el (vc-name): Force correct computation of the value
2456 in case it is missing.
2458 2000-09-21 Gerd Moellmann <gerd@gnu.org>
2460 * startup.el (fancy-splash-tail): Use a different foreground
2461 color on a dark frame background.
2463 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
2465 * info.el: Use the correct capitalization when making Info-mode
2466 and Info-edit-mode `special' modes.
2468 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
2470 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
2471 (diff-mode): Add support for add-log.el.
2472 (diff-hunk-text): Use char offsets rather than line offsets.
2473 (diff-find-source-location): Replace LINE with line-offset (nil
2474 if not found) and always set POS to a meaningful position.
2475 Adapt to the new char-offsets.
2476 (diff-apply-hunk): Drop support for the unused `select' POPUP.
2477 Adapt to the new diff-find-source-location.
2478 (diff-goto-source): Adapt to the new diff-find-source-location.
2480 * add-log.el (add-log-file-name): New function (split out of
2481 add-change-log-entry).
2482 (add-change-log-entry): Use it.
2483 Call add-log-file-name-function with the changelog file name if
2484 the current buffer is not associated with any file.
2485 Avoid find-file if the selected window is dedicated.
2487 * diff-mode.el (diff-find-source-location):
2488 Move code from diff-apply-hunk. Return buffer rather than file.
2489 (diff-apply-hunk): Use the new result from diff-find-source-location.
2490 (diff-goto-source): Use the new diff-find-source-location.
2492 2000-09-20 Dave Love <fx@gnu.org>
2494 * iswitchb.el: Some doc fixes.
2495 (iswitchb-mode-map): Define completely initially. Inherit
2496 minibuffer-local-map.
2497 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
2499 (iswitchb-global-map): New variable.
2500 (iswitchb-summaries-to-end): Amalgamate regexps.
2501 (iswitchb-mode): New.
2502 (iswitchb-mode-hook): New variable.
2503 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
2506 2000-09-20 Gerd Moellmann <gerd@gnu.org>
2508 * ehelp.el (electric-help): New defgroup.
2509 (electric-help-shrink-window): New user-option.
2510 (with-electric-help): Use it.
2512 * window.el (shrink-window-if-larger-than-buffer): If face
2513 `mode-line' has a :box, and we're on a graphical frame, add 1
2514 to the needed window height.
2516 * frame.el (frame-notice-user-settings): Add a last parameter nil
2517 to a call to `append', because the last list passed to `append' is
2518 not copied, and so subsequent calls to assq-delete-all will modify
2519 default-frame-alist.
2521 * startup.el (fancy-splash-image): Change :type.
2522 (fancy-splash-head): Use an XBM image if appropriate.
2523 (command-line-1): Show splash screens in more cases.
2525 * startup.el (fancy-splash-text): Don't quote faces.
2527 * dired.el (dired-font-lock-keywords): Undo last change.
2528 (dired-readin): Bind indent-tabs-mode to nil.
2530 * startup.el (fancy-splash-head): If frame's background mode
2531 is `dark', change the black background of the image to gray.
2532 (fancy-splash-screens): Display startup echo area message.
2533 (display-startup-echo-area-message): New function.
2535 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
2537 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
2539 * info.el (info-header-node): Tweak for color ttys.
2541 * faces.el (face-valid-attribute-values): Make sure directories we
2542 search for stipples both exist and are readable before trying to
2545 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
2546 in the dry-run case.
2548 * jka-compr.el (with-auto-compression-mode): New macro.
2550 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
2551 (custom-group-tag-face, custom-variable-tag-face): Use relative
2552 :height and inherit from `variable-pitch' face instead of
2554 * hi-lock.el (hi-black-hb): Likewise.
2556 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
2557 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
2558 toolbar-add-item, if image doesn't have a mask add a `:mask
2561 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
2563 * diff-mode.el: Docstring fixes.
2564 (diff-header-face, diff-comment-face): New faces.
2565 (diff-font-lock-keywords): Highlight a bit differently.
2566 (diff-find-source-location): Don't return SPAN any more.
2567 (diff-hunk-text): Don't bother erasing the temp buffer.
2568 (diff-find-text): Drop argument LINE.
2569 (diff-apply-hunk): Update calls to diff-find-text.
2570 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
2572 * calendar/calendar.el: Docstring fixes.
2573 (calendar-make-alist): Don't quote lambda.
2574 (calendar-star-date): Use make-local-variable.
2576 2000-09-19 Dave Love <fx@gnu.org>
2578 * toolbar/tool-bar.el: Renamed from toolbar.el.
2579 Change `toolbar' to `tool-bar' generally in symbols.
2580 Make some items invisible in `special' major modes.
2581 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
2584 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
2586 (fancy-splash-delay, fancy-splash-image): Remove :version here.
2588 2000-09-19 Gerd Moellmann <gerd@gnu.org>
2590 * progmodes/sh-script.el (sh-search-word): Remove call to `debug'.
2592 * files.el (find-file-suppress-same-file-warnings): New user-option.
2593 (find-file-noselect): Use it.
2595 * startup.el (fancy-splash-delay, fancy-splash-image): Add :version.
2596 (fancy-splash-screen): Defgroup.
2598 * add-log.el (change-log-font-lock-keywords): Match names
2599 more exactly for the case that font-lock-constant-face is
2602 2000-09-19 Richard M. Stallman <rms@gnu.org>
2604 * progmodes/sh-script.el (sh-search-word): Rewritten for speed.
2606 2000-09-19 Andre Spiegel <spiegel@gnu.org>
2608 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
2610 2000-09-19 Gerd Moellmann <gerd@gnu.org>
2612 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
2613 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
2614 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
2615 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
2616 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
2617 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
2618 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
2619 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
2620 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
2621 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
2622 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
2623 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
2625 * startup.el (fancy-splash-text): New variable.
2626 (fancy-splash-delay, fancy-splash-image): New user-options.
2627 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
2628 (fancy-splash-screens): New functions.
2629 (command-line-1): If display has a `display' frame parameter, has
2630 colors, and we have XPM support, show more fancy splash screens.
2632 2000-09-19 Dave Love <fx@gnu.org>
2634 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
2635 with null `help'. Use modern backquote syntax.
2637 2000-09-19 Gerd Moellmann <gerd@gnu.org>
2639 * font-lock.el (font-lock-mode): Change message telling the user
2640 that ``the buffer is too big''.
2642 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
2643 for instance for the case that tab-width is 2.
2645 2000-09-18 Gerd Moellmann <gerd@gnu.org>
2647 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
2648 toolbar-add-item, if image doesn't have a mask add a `:mask
2651 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
2653 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
2654 and return a cons if it's non-nil.
2655 (diff-apply-hunk): Try to jump to the line in the source text
2656 corresponding to the position of point in the in the hunk.
2658 * info.el (Info-title-3-face, Info-title-2-face)
2659 (Info-title-1-face): Use face inheritance and relative sizes
2660 instead of hard-wiring things.
2662 * faces.el (secondary-selection): Make dark-background variant sane.
2664 2000-09-16 Andrew Innes <andrewi@gnu.org>
2666 * makefile.w32-in (compile-files-CMD): No need to make .elc files
2667 read-only, since they aren't under VC now.
2669 2000-09-17 Dave Love <fx@gnu.org>
2671 * tmm.el: Replace mapcar with mapc in several places.
2673 * loadhist.el (unload-feature): Maybe call elp-restore-list and
2676 * international/latin1-disp.el: New file.
2678 * calendar/cal-move.el (scroll-calendar-left)
2679 (scroll-calendar-right): Make arg optional (for active mode line).
2681 * calendar/calendar.el (calendar-mode-line-format): Make fields
2683 (calendar-read-date, calendar-read-date, calendar-window-list):
2685 (calendar-month-name): Use aref, not sref.
2687 * view.el (minor-mode-alist): Propertize the string.
2689 * international/characters.el (standard-case-table): Add entries
2692 2000-09-18 Miles Bader <miles@gnu.org>
2694 * info.el (info-node, info-xref): Add dark-background variants.
2696 * faces.el (header-line): Change defaults to be less confusing
2697 when mixed with mode-lines.
2699 * info.el (Info-fontify-node): Make a few cleanups.
2700 Add extra `help-echo' and `local-map' props to node xrefs.
2701 Use header-specific faces for node-names & xrefs.
2702 (Info-use-header-line): New variable.
2703 (info-header-xref, info-header-node): New faces.
2704 (Info-setup-header-line): New function.
2705 (Info-select-node): Call Info-setup-header-line when enabled.
2706 (Info-extract-pointer): Work even if the header line is hidden.
2707 (Info-header-line): New variable.
2709 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
2711 * vms-patch.el (print-region-function): Don't quote lambda.
2713 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
2715 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
2716 (lm-get-header-re): Allow spaces between the header and the colon.
2717 (lm-header): Allow $ in non-RCS headers.
2718 (lm-header-multiline): Put the strings back into order.
2719 Stop at an empty line. Don't require two space chars if the
2720 line is clearly not another header line.
2722 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
2723 (popup-menu-popup): Remove.
2725 2000-09-15 Gerd Moellmann <gerd@gnu.org>
2727 * toolbar/toolbar.el (toolbar-add-item): Use the same image
2728 specification if or if not tool-bar item contains an `:enabled'
2731 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
2732 current buffer has no file name.
2734 2000-09-15 Dave Love <fx@gnu.org>
2736 * strokes.el: Sync with maintainer's current version with changes
2737 for Emacs, but avoid runtime cl and levents.
2738 (toplevel): Change autoloads and compilation requires.
2739 (strokes-version, strokes-bug-address, strokes-lift): Values
2741 (strokes-xpm-header, strokes-insinuated): New variable.
2742 (strokes): Add :link.
2743 (strokes-mode): Customized.
2744 (strokes-while-inhibiting-garbage-collector): New macro.
2745 (strokes-remassoc): Avoid remove-if.
2746 (strokes-fix-button2-command): Don't use ad-do-it.
2747 (strokes-insinuate): New function.
2748 (strokes-button-press-event-p, strokes-button-release-event-p):
2749 New functions, used instead of non-`strokes-' versions..
2750 (strokes-mouse-event-p): Rewritten.
2751 (strokes-event-closest-point): Avoid event-point.
2752 (strokes-get-grid-position): Avoid cdadr, caadr
2753 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
2755 (strokes-help): Use with-output-to-temp-buffer.
2756 (strokes-window-configuration-changed-p): New function.
2757 (strokes-update-window-configuration): Use buffer-live-p,
2758 strokes-window-configuration-changed-p.
2759 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
2760 (strokes-char-face): New face.
2761 (strokes-char-table, strokes-base64-chars): New variable.
2762 (strokes-xpm-for-stroke, strokes-list-strokes)
2763 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
2764 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
2765 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
2766 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
2767 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
2770 2000-09-15 Gerd Moellmann <gerd@gnu.org>
2772 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
2774 * image.el (create-image): Doc fix.
2776 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
2777 instead of `:heuristic-mask t'.
2779 2000-09-14 Andrew Innes <andrewi@gnu.org>
2781 * makefile.w32-in: Revert to Unix line endings.
2783 2000-09-14 Andrew Innes <andrewi@gnu.org>
2785 * makefile.w32-in: Add bootstrap support. Also copy lisp source
2788 * makefile.nt (DONTCOMPILE): Fix typo.
2790 * shell.el (shell-write-history-on-exit): New function.
2791 (shell-dumb-shell-regexp): New custom variable.
2792 (shell-mode): Make shell-write-history-on-exit the process
2793 sentinel if shell name matches shell-dumb-shell-regexp.
2795 * w32-fns.el: Comment out before-init-hook function which resets
2796 source-directory based; this breaks bootstrap.
2798 2000-09-14 Dave Love <fx@gnu.org>
2800 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
2801 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
2802 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
2803 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
2804 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
2805 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
2806 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
2807 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
2808 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
2810 * toolbar/toolbar.el: New.
2812 * subdirs.el: Add toolbar.
2814 2000-09-14 Gerd Moellmann <gerd@gnu.org>
2816 * indent.el (indent-for-tab-command): Doc fix.
2818 2000-09-14 Alex Schroeder <alex@gnu.org>
2820 * ansi-color.el (ansi-colors): Doc change.
2821 (ansi-color-get-face): Simplified regexp.
2822 (ansi-color-faces-vector): Added more faces, doc change.
2823 (ansi-color-names-vector): Doc change.
2824 (ansi-color-regexp): Simplified regexp.
2825 (ansi-color-parameter-regexp): New regexp.
2826 (ansi-color-filter-apply): Doc change.
2827 (ansi-color-filter-region): Doc change.
2828 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
2829 deal with zero length parameters.
2830 (ansi-color-apply-on-region): Doc change.
2831 (ansi-color-map): Doc change.
2832 (ansi-color-map-update): Removed debugging message.
2833 (ansi-color-get-face-1): Added condition-case to trap
2834 args-out-of-range errors.
2835 (ansi-color-get-face): Doc change.
2836 (ansi-color-make-face): Removed.
2837 (ansi-color-for-shell-mode): New option.
2839 2000-09-13 Kenichi Handa <handa@etl.go.jp>
2841 * international/quail.el (quail-start-translation): Translate KEY
2842 if necessary even if it doesn't have any mapping in the current
2844 (quail-start-conversion): Likewise.
2845 (quail-help): The output message is improved.
2847 2000-09-13 Miles Bader <miles@gnu.org>
2849 * comint.el (comint-output-filter): Revert to using
2850 `insert-before-markers'. Add bletcherous hack to undo damage
2851 caused by `insert-before-markers'. Put `front-sticky' property on
2852 overlays created here so that the field code understands how the
2853 overlay works. Use a let when making comint-last-prompt-overlay,
2854 so that the code is easier to read.
2856 2000-09-13 Dave Love <fx@gnu.org>
2858 * wid-edit.el (widget-default-format-handler): DTRT when
2859 doc-property is a function.
2861 2000-09-12 Francesco Potorti` <pot@gnu.org>
2863 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
2864 filed name if it's not there.
2866 2000-09-12 Dave Love <fx@gnu.org>
2868 * simple.el (read-mail-command): Doc fix.
2869 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
2871 * vc.el (vc-dired-listing-switches): Fix :version.
2873 * vc-hooks.el: Doc fixes.
2875 * subr.el (add-minor-mode): Use toggle-fun arg.
2877 * speedbar.el: Add :version to several defcustoms.
2879 * imenu.el (imenu--truncate-items, imenu--cleanup)
2880 (imenu--generic-function): Avoid mapcar.
2881 (imenu--replace-spaces): Function removed.
2882 (imenu--completion-buffer): Use subst-char-in-string.
2883 (imenu-add-to-menubar): Use keymap inheritance.
2885 2000-09-12 Miles Bader <miles@gnu.org>
2887 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
2888 (diff-mode-map): Bind `diff-test-hunk'.
2889 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
2891 2000-09-11 Gerd Moellmann <gerd@gnu.org>
2893 * bytecomp.el (byte-compile-defvar): Undo last change
2894 because it breaks '(make-variable-buffer-local (defvar ...)'
2895 which is used at least in dired.
2897 2000-09-12 Kenichi Handa <handa@etl.go.jp>
2899 * international/quail.el (quail-define-package): Docstring
2902 2000-09-12 Kenichi Handa <handa@etl.go.jp>
2904 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
2905 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
2906 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
2907 docstring of "chinese-py".
2909 * international/quail.el (quail-translation-docstring): New
2911 (quail-show-keyboard-layout): Docstring modified.
2912 (quail-select-current): Likewise.
2913 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
2914 infinite recursive call.
2915 (quail-help): Check quail-translation-docstring. Format of the
2917 (quail-help-insert-keymap-description): Adjusted for the above
2920 2000-09-11 Gerd Moellmann <gerd@gnu.org>
2922 * bytecomp.el (byte-compile-defvar): Only cons onto
2923 current-load-list in top-level forms. Else this leaks a cons cell
2924 every time a defun is called.
2926 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
2928 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
2929 Now understands non-unified diffs. Some functionality moved into
2930 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
2931 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
2932 modify anything. Only reposition point in the patched file if the
2933 patch succeeds. Only pop up another window if POPUP is true.
2934 Emit a message describing what happened if successful, and at what
2935 line-offset. Automatically detect reversed hunks and do something
2937 (diff-hunk-text, diff-find-text): New functions.
2938 (diff-filter-lines): Function removed.
2939 (diff-test-hunk): New function.
2940 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
2942 2000-09-10 Dave Love <fx@gnu.org>
2944 * textmodes/tildify.el: Minor doc/commentary fixes.
2945 (tildify) <defgroup>: Add :version.
2947 * faces.el (face-x-resources): Make custom type more specific.
2948 (frame-background-mode): Use mapc.
2949 (region) <defcustom>: Add :version.
2951 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
2953 * vc-sccs.el (vc-sccs-register):
2954 * vc-rcs.el (vc-rcs-register):
2955 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
2956 * vc.el (vc-register): Clear file's properties.
2958 2000-09-08 Gerd Moellmann <gerd@gnu.org>
2960 * faces.el (face-spec-set): Only face-spec-reset-face when
2963 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
2965 * help.el (help-insert-xref-button): Fix a typo in doc string.
2967 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
2969 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2970 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
2973 * menu-bar.el (read-mail-item-name): New function.
2974 (menu-bar-tools-menu): Use it to compute and display the package
2976 (menu-bar-tools-menu): Fix typo in GUD's help string.
2978 2000-09-07 Dave Love <fx@gnu.org>
2980 * diff-mode.el (diff-mouse-goto-source): New function.
2982 * vc-sccs.el: Doc fixes.
2983 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
2985 * vc-rcs.el: Doc fixes.
2986 (vc-rcs-register-switches, vc-rcs-checkin-switches)
2987 (vc-rcs-checkout-switches, vc-rcs-header)
2988 (vc-rcs-master-templates): Add or change :version.
2990 * vc-cvs.el: Doc fixes.
2991 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
2992 (vc-cvs-stay-local): Add :version.
2994 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
2996 2000-09-07 Kenichi Handa <handa@etl.go.jp>
2998 * international/quail.el (quail-help): Fix previous change.
3000 2000-09-07 Gerd Moellmann <gerd@gnu.org>
3002 * faces.el (color-values): Doc fix.
3004 * faces.el (frame-set-background-mode): Use frame-parameter
3005 instead of frame-parameters.
3007 * frame.el (filtered-frame-list): Reduce consing.
3008 (frames-on-display-list): Call frame-parameter instead of
3011 2000-09-07 Kenichi Handa <handa@etl.go.jp>
3013 * language/devan-util.el (devanagari-to-indian-region): In the
3014 loop, change the following char, not preceding char.
3016 2000-09-07 Gerd Moellmann <gerd@gnu.org>
3018 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
3019 instead of frame-parameters.
3021 * faces.el (set-face-attribute): Simplify by calling
3022 internal-set-lisp-face-attribute with FRAME being 0.
3024 * vc.el: Remove `Id' version control keyword.
3026 2000-09-07 Kenichi Handa <handa@etl.go.jp>
3028 * help.el (help-make-xrefs): Adjusted for the change of
3029 help-xref-mule-regexp.
3030 (help-insert-xref-button): New function.
3032 * international/mule-cmds.el (help-xref-mule-regexp-template):
3033 Include the pattern for character set.
3036 * international/quail.el: Don't require face.
3038 (quail-other-command): Dummy command to make quail-help work better.
3039 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
3040 (quail-keyboard-layout-substitution): New variable.
3041 (quail-update-keyboard-layout): New function.
3042 (quail-keyboard-layout-type): New customizable variable.
3043 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
3044 (quail-keyboard-translate): Pay attention to
3045 quail-keyboard-layout-substitution.
3046 (quail-insert-kbd-layout): New function.
3047 (quail-show-keyboard-layout): New function.
3048 (quail-get-translation): If the definition is a vector of length
3049 1, and the element is a string of length 1, return the character
3051 (quail-update-current-translations): Fix the case of
3052 relative-index out of range.
3053 (quail-build-decode-map, quail-insert-decode-map): New Functions.
3054 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
3055 Show key sequences for all available characters.
3056 (quail-help-insert-keymap-description): Don't show such verbose
3057 key bindings as quail-self-insert-command.
3059 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3060 Format changed, and each element now have extra documentations.
3061 (tit-process-header): Delete invalid characters from TIT-PROMPT.
3062 Adjusted for the change of quail-cxterm-package-ext-info.
3064 2000-09-06 Gerd Moellmann <gerd@gnu.org>
3066 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
3067 requiring it leads to a recursive loading of vc.el and vc-hooks.el
3070 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3072 * vc.el: (toplevel): Don't require `dired' at run-time.
3073 (vc-dired-resynch-file): Remove autoload cookie.
3075 2000-09-05 Andre Spiegel <spiegel@gnu.org>
3077 * vc.el: Made several backend functions optional.
3078 (vc-default-responsible-p): New function.
3079 (vc-merge): Use RET for first version to trigger merge-news, not
3081 (vc-annotate): Handle backends that do not support annotation.
3082 (vc-default-merge-news): Removed. The existence of a merge-news
3083 implementation is now checked on caller sites.
3085 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
3088 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
3089 special case that has been removed from the default in vc-hooks.el.
3091 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3093 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
3095 2000-09-05 Andre Spiegel <spiegel@gnu.org>
3097 * vc-hooks.el: Require vc during compilation.
3098 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
3099 macro `with-vc-properties' in vc.el.
3100 (vc-file-getprop): Doc fix.
3101 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
3103 * vc.el: Require dired-aux during compilation.
3104 (vc-name-assoc-file): Moved to vc-sccs.el.
3105 (with-vc-properties): New macro.
3106 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
3107 vc-finish-steal): Use it.
3108 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
3109 to the backend-specific function is now supposed to do the checkout,
3111 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
3113 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
3114 set file properties; that gets done in the generic code now.
3116 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
3117 Changed parameter list, added code from vc.el that does the
3118 checkout, possibly with a double-take.
3120 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
3121 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
3122 the above under the new name.
3123 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
3124 parameter list, added checkout command.
3125 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
3126 properties; that gets done in the generic code now.
3128 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3130 * vc.el: Docstring fixes (courtesy of checkdoc).
3132 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3134 * vc.el (vc-checkout-writable-buffer-hook)
3135 (vc-checkout-writable-buffer): Remove.
3136 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
3137 (vc-log-mode): Make it into a clean derived major mode.
3138 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
3139 vc-log-mode if log-edit is not available.
3140 (vc-dired-mode-map): Don't set-keymap-parent yet.
3141 (vc-dired-mode): Do set-keymap-parent here.
3142 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
3144 2000-09-05 Gerd Moellmann <gerd@gnu.org>
3146 * faces.el (set-face-attribute, face-spec-reset-face)
3147 (face-spec-set): Avoid consing by removing calls to `apply'.
3149 * frame.el (frame-parameter): Move to C code.
3151 2000-09-05 Dave Love <fx@gnu.org>
3153 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
3154 insert-before-markers-and-inherit. Now checked systematically!
3156 2000-09-05 Alex Schroeder <alex@gnu.org>
3158 * sql.el (sql-postgres): Use sql-postgres-options.
3159 (sql-postgres-options): New variable.
3161 2000-09-05 Alex Schroeder <alex@gnu.org>
3163 * sql.el (sql-mode-menu): Work around missing variable mark-active
3165 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
3166 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
3169 2000-09-04 Gerd Moellmann <gerd@gnu.org>
3171 * vc.el (vc-dired-resynch-file): Add autoload cookie.
3173 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
3175 * Makefile.in (DONTCOMPILE): Fix typo in file name.
3177 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3179 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
3180 don't support anything else under SCCS yet.
3182 * vc-hooks.el: Minor doc fixes.
3184 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3186 * vc.el (vc-next-action-on-file): Do not visit the file if it's
3187 not necessary. If verbose in state `needs-patch', do the same as
3188 under `up-to-date'. When NOT verbose and `needs-patch', check out
3189 latest version instead of `merge-news'.
3190 (vc-next-action-dired): Don't mess with default-directory here; it
3191 breaks other parts of dired. It is the job of the
3192 backend-specific functions to adjust it temporarily if they need it.
3193 (vc-next-action): Remove a special CVS case.
3194 (vc-clear-headers): New optional arg FILE.
3195 (vc-checkin, vc-checkout): Set properties vc-state and
3196 vc-checkout-time properly.
3197 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
3198 (vc-print-log): Use new backend function `show-log-entry'.
3199 (vc-cancel-version): Do the checks in a different order. Added a
3200 FIXME concerning RCS-only code.
3202 * vc-rcs.el (vc-rcs-show-log-entry): New function.
3203 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
3205 * vc-cvs.el (vc-cvs-show-log-entry): New function.
3207 * vc-hooks.el (vc-default-mode-line-string): Show state
3208 `needs-patch' as a `-' too.
3210 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3212 * vc.el (vc-responsible-backend): New optional arg REGISTER.
3213 (vc-default-could-register): New function.
3214 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
3215 (vc-resynch-buffer): Call vc-dired-resynch-file.
3216 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
3217 vc-resynch-buffer instead of vc-resynch-window.
3218 (vc-next-action-dired): Don't redisplay here, that gets done as a
3219 result of the individual file operations.
3220 (vc-retrieve-snapshot): Corrected prompt order.
3222 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
3224 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
3226 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
3227 hostname regexps. Updated all callers.
3228 (vc-cvs-responsible-p): Handle directories as well.
3229 (vc-cvs-could-register): New function.
3230 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
3231 properties up-to-date.
3233 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
3234 user whether to create one.
3236 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3238 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
3239 check out a non-existing file.
3241 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
3242 workfile does not exist.
3244 * vc.el (vc-version-diff): Use `require' to check for existence of
3247 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3249 * vc-cvs.el (vc-cvs-registered): Use new function
3250 vc-cvs-parse-entry to do the actual work.
3252 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3254 * vc-hooks.el (vc-find-backend-function): If function doesn't
3255 exist, return nil instead of error.
3256 (vc-call-backend): Doc fix.
3258 * vc.el (vc-do-command): Doc fix.
3259 (vc-finish-logentry): When checking in from vc-dired, choose the
3260 right backend for logentry check.
3261 (vc-dired-mode-map): Inherit from dired-mode-map.
3262 (vc-dired-mode): Local value of dired-move-to-filename-regexp
3264 (vc-dired-state-info): Removed, updated caller.
3265 (vc-default-dired-state-info): Use parentheses instead of hyphens.
3266 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
3267 (vc-dired-listing-switches): New variable.
3268 (vc-directory): Use it, instead of dired-listing-switches.
3270 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
3271 (vc-cvs-dir-state): New function.
3272 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
3273 (vc-cvs-parse-entry): New function, also to be used in
3276 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3278 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
3279 *or* single-window-frames.
3281 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3283 * vc.el (vc-update-changelog): Split into generic part and default
3284 implementation. Doc string adapted.
3285 (vc-default-update-changelog): New function. Call the `rcs2log'
3286 script in exec-directory, to fix a long-standing nuisance.
3288 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
3289 simply signals an error.
3291 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3293 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
3294 control-flow more clear and to avoid running `cvs' twice.
3296 * vc.el (vc-next-action-on-file): Doc fix.
3297 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
3298 (vc-print-log): Eval `file' before constructing the continuation.
3300 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3302 * vc.el (vc-next-action-on-file): Corrected several messages.
3303 (vc-merge): Add prefix arg `merge-news'; handle it.
3305 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
3306 is not reached. It is.
3307 (vc-cvs-merge): Set state to 'edited after merge.
3308 (vc-cvs-merge-news): Set workfile version to nil if not known.
3309 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
3311 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
3312 via stdout. (Merge from main line.)
3314 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3316 * vc.el (vc-finish-logentry): Thinko in the "same comment"
3319 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3321 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
3322 against kill-all-local-variables.
3323 (vc-log-edit): Don't save vc-parent-buffer any more.
3324 (vc-last-comment-match): Initialize to an empty string.
3325 (vc-post-command-functions): New hook.
3326 (vc-do-command): Run it.
3327 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
3328 (vc-finish-logentry): Only add the comment to the ring if it's
3329 different from the last comment entered.
3330 (vc-new-comment-index): New function.
3331 (vc-previous-comment): Use it. Make the minibuffer message
3332 slightly less terse.
3333 (vc-comment-search-reverse): Make it work forward as well. Don't
3334 set vc-comment-ring-index if no match is found. Use
3335 vc-new-comment-index.
3336 (vc-comment-search-forward): Use vc-comment-search-reverse.
3337 (vc-dired-mode-map): Don't inherit from dired-mode-map since
3338 define-derived-mode will do it for us. Bind `v' to a keymap that
3339 inherits from vc-prefix-map so that we can bind `vt' without
3341 (vc-retrieve-snapshot): Parenthesis typo.
3343 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
3344 to 1. Make sure to switch to *vc* before looking for an error
3345 message. Use vc-parse-buffer.
3347 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3349 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
3351 (vc-retrieve-snapshot): Split into two parts.
3352 (vc-default-retrieve-snapshot): New function.
3354 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
3355 (vc-cvs-retrieve-snapshot): New function (untested).
3356 (vc-cvs-stay-local): Default to t.
3357 (vc-cvs-remote-p): New function and property.
3358 (vc-cvs-state): Stay local only if the above is t.
3359 (vc-handle-cvs): Removed.
3360 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
3361 done via vc-handled-backends now.
3362 (vc-cvs-header): Escape Id.
3364 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3366 * vc.el (vc-do-command): Remove unused commands.
3367 (vc-version-diff): Make sure default-directory ends with a slash.
3368 Move the window commands into a vc-exec-after.
3369 (vc-print-log): Move more of the code into the `vc-exec-after'.
3371 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3373 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
3374 (vc-print-log): Search current revision from beginning of buffer.
3375 (vc-revert-buffer): Clear echo area after the diff is finished.
3376 (vc-prefix-map): Removed definition of "t" for terse display in vc
3378 (vc-dired-mode-map): Inherit from dired-mode-map. Added
3379 definition of "vt" for terse display.
3380 (vc-dired-mode): Fix dired-move-to-filename-regexp.
3382 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3384 * vc.el (vc-exec-after): Avoid caddr.
3386 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3388 * vc.el (vc-exec-after): New function.
3389 (vc-do-command): Use it to add a termination message for async
3391 (vc-checkout): Try to handle a missing-backend situation.
3392 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
3393 of a directory with a backend using async diffs.
3394 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
3397 * vc-sccs.el (vc-sccs-state-heuristic): Use
3398 file-ownership-preserved-p.
3400 * vc-rcs.el (vc-rcs-state-heuristic): Use
3401 file-ownership-preserved-p.
3402 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
3404 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3406 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
3409 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
3410 when there are no changes.
3412 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3414 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
3416 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
3418 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3420 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
3422 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
3423 the `fset' outside of the defvar so that it works even if
3424 vc-prefix-map was already defined.
3425 (vc-setup-buffer): New function, split out of vc-do-command.
3426 (vc-do-command): Allow BUFFER to be t to mean `just use the
3427 current buffer without any fuss'.
3428 (vc-version-diff): Change the `diff' backend operation to just put
3429 the diff in the current buffer without erasing it. Always use
3430 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
3431 shrink-window-if-larger-than-buffer.
3432 (vc-print-log): Change the `print-log' backend operation to just
3433 put the log in the current buffer without erasing it. Protect
3434 shrink-window-if-larger-than-buffer.
3435 (vc-update-change-log): Fix setd typo.
3437 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
3438 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
3440 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
3441 (vc-rcs-diff): Insert in the current buffer and remove unused arg
3444 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
3445 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
3446 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
3448 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3450 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
3451 not possible, use vc-BACKEND-workfile-unchanged-p.
3452 (vc-default-workfile-unchanged-p): New function. Delegates to a
3453 full vc-BACKEND-diff.
3455 * vc-hooks.el (vc-simple-command): Removed.
3457 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
3458 instead of vc-simple-command.
3459 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
3460 avoid doing a diff when opening a file.
3461 (vc-rcs-state): Added check for unlocked-changes.
3462 (vc-rcs-header): Escape Id.
3463 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
3464 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
3467 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
3468 (vc-sccs-diff): Remove optional arg CMP.
3469 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
3470 SCCS-specific function.
3472 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
3475 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3477 * vc.el (vc-editable-p): Renamed from vc-writable-p.
3478 (with-vc-file, vc-merge): Use vc-editable-p.
3479 (vc-do-command): Remove unused var vc-file and fix the
3480 doubly-defined `status' var. Add a user message when starting an
3482 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
3483 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
3484 Use with-current-buffer.
3485 (vc-buffer-sync): Use unless.
3486 (vc-next-action-on-file): If the file is 'edited by read-only,
3487 make it read-write instead of trying to commit.
3488 (vc-version-diff, vc-update-change-log): Use `setq
3489 default-directory' rather than `cd'.
3490 (vc-log-edit): Don't forget to set default-directory in the
3493 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
3494 (vc-sccs-state-heuristic): Use file-writable-p instead of
3496 (vc-sccs-checkout): Use `unless'.
3498 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
3499 of comparing userids.
3500 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
3501 Simplify the logic by eliminating unreachable code.
3502 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
3503 just do a recursive call if we need to retry.
3504 (vc-rcs-checkout): Handle the case where rcs is missing by making
3505 the buffer read-write if requested and re-signalling the error.
3507 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
3509 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3511 * vc-hooks.el (vc-handled-backends): Docstring change.
3512 (vc-ignore-vc-files): Mark obsolete.
3513 (vc-registered): Check vc-ignore-vc-files.
3514 (vc-find-file-hook, vc-file-not-found-hook): Don't check
3517 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
3519 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3521 * vc.el (vc-checkout): Don't do anything special for ange-ftp
3522 files since ange-ftp already has vc-registered return nil.
3524 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
3525 (vc-sccs-workfile-version): Use with-temp-buffer and new
3526 vc-parse-buffer and don't bother setting the property.
3527 (vc-sccs-add-triple): Use with-current-buffer and
3529 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
3531 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
3532 derives from the old vc-parse-buffer but uses the revision number
3533 rather than the date (much easier to compare robustly).
3534 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
3535 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
3536 locking-user more directly. Check strict locking and set
3537 checkout-model appropriately.
3538 (vc-rcs-parse-locks): Remove.
3539 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
3540 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
3541 (vc-rcs-system-release): Use with-current-buffer and
3543 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
3545 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
3546 (vc-simple-command): Docstring fix.
3547 (vc-registered): Align the way the file-handler is called with the
3548 way the function itself works.
3549 (vc-file-owner): Remove.
3551 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
3552 extraction of fields and call to file-attributes because of a
3553 temporary bug in rcp.el.
3554 (vc-cvs-fetch-status): Use with-current-buffer.
3556 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3558 * vc.el (vc-do-command): Use file-relative-name.
3559 (vc-responsible-backend): Use vc-backend if possible.
3560 (vc-create-snapshot): Improve the `interactive' spec. Add support
3561 for branches and dispatch to backend-specific `create-snapshot'.
3562 (vc-default-create-snapshot): New function, containing the bulk of
3563 the old vc-create-snapshot.
3564 (vc-retrieve-snapshot): Improve the interactive spec.
3566 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
3567 (vc-backend-hook-functions): Remove.
3568 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
3569 (vc-backend): Reintroduce the test for `file = nil' now that I
3570 know why it was there (and added a comment to better remember).
3572 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
3573 code from vc-sccs-hooks.el.
3574 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
3576 (vc-sccs-responsible-p): Use expand-file-name instead of concat
3577 and file-directory-p instead of file-exists-p.
3578 (vc-sccs-check-headers): Simplify the regexp.
3580 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
3581 from vc-rcs-hooks.el. Don't require 'vc anymore.
3582 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
3583 file-directory-p instead of file-exists-p.
3585 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
3586 from vc-cvs-hooks.el.
3587 (proto vc-cvs-registered): Require 'vc-cvs instead of
3588 'vc-cvs-hooks. Don't require 'vc anymore.
3589 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
3590 file-directory-p instead of file-exists-p.
3591 (vc-cvs-create-snapshot): New function, replacing
3593 (vc-cvs-assign-name): Remove.
3595 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3597 * vc-cvs.el (vc-cvs-header): New var.
3599 * vc-rcs.el (vc-rcs-exists): Remove.
3600 (vc-rcs-header): New var.
3602 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
3603 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
3604 (vc-sccs-header): New var.
3606 * vc.el (vc-do-command): Get rid of the `last' argument.
3607 (vc-header-alist): Remove, replaced by vc-X-header.
3608 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
3609 (vc-dired-hook): Use expand-file-name instead of concat.
3610 (vc-directory): Use file-name-as-directory.
3611 (vc-snapshot-precondition, vc-create-snapshot)
3612 (vc-retrieve-snapshot): Allow the command to operate on any
3615 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
3616 just removing the 'WORKFILE argument or by removing the 'MASTER
3617 argument and replacing `file' with (vc-name file).
3619 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3621 * vc.el: Update Copyright and add a crude list of backend funs.
3622 (vc-writable-p): New function.
3623 (with-vc-file): Use vc-writable-p.
3624 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
3625 (vc-register): Avoid vc-name.
3626 (vc-locking-user): Remove.
3627 (vc-steal-lock): Make the `owner' arg non-optional.
3628 (vc-merge): Use vc-writable-p instead of vc-locking-user and
3630 (vc-default-dired-state-info): Use vc-state instead of
3631 vc-locking-user and return special strings for special states.
3632 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
3633 and get rid of one of the special CVS cases.
3634 (vc-cancel-version): prettify error message with \\[...].
3635 (vc-rename-master): New function.
3636 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
3637 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
3638 the CVS special case generic.
3639 (vc-default-record-rename): Remove.
3640 (vc-file-tree-walk-internal): Only call FUNC for files that are
3641 under control of some VC backend and replace `concat' with
3643 (vc-file-tree-walk): Update docstring.
3644 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
3645 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
3647 * vc-sccs.el (vc-sccs-rename-file): Renamed from
3648 vc-sccs-record-rename. Use `find-file-noselect' rather than
3649 `find-file' and call `vc-rename-master' to do the actual move.
3650 (vc-sccs-diff): Remove unused `backend' variable.
3652 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
3653 to delay loading of vc-sccs until it is really used.
3654 (vc-sccs-master-templates): Preload.
3655 (vc-sccs-state): Update call to vc-sccs-parse-locks.
3656 (vc-sccs-project-dir): Remove (merged into
3657 vc-sccs-search-project-dir).
3658 (vc-sccs-search-project-dir): Rewrite using file name handling ops
3659 rather than `concat', make sure it is preloaded and don't bother
3660 to check that the file actually exists.
3661 (vc-sccs-parse-locks): Remove unused `file' argument, remove
3662 `locks' argument (use buffer's content instead) and eliminate n^2
3665 * vc-rcs.el: Update Copyright.
3666 (vc-rcs-rename-file): New function.
3667 (vc-rcs-diff): Remove unused `backend' variable.
3669 * vc-hooks.el: Update Copyright.
3670 (vc-backend): Don't accept a nil argument any more.
3671 (vc-up-to-date-p): Turn into a defsubst.
3672 (vc-possible-master): New function.
3673 (vc-check-master-templates): Use `vc-possible-master' and allow
3674 funs in vc-X-master-templates to return a non-existent file.
3676 * vc-cvs.el: Update Copyright.
3677 (vc-cvs-diff): Remove unused `backend' variable.
3678 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
3680 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
3682 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3684 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
3685 since it can be called from vc-rcs.el.
3686 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
3688 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3690 * vc.el (vc-version-diff): Expand file name read from the
3691 minibuffer. Handle the case when a previous version number can't
3692 be guessed. Give suitable messages when there were no differences
3694 (vc-clear-headers): Call backend-specific implementation, if one
3696 (vc-cancel-version): Made error checks generic. When done, clear
3697 headers generically, too.
3699 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
3700 from vc-clear-headers in vc.el.
3702 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
3704 (vc-rcs-latest-on-branch-p): Made second argument VERSION
3705 optional. Handle the case when it's not there.
3707 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3709 * vc.el (vc-locking-user): Moved from vc-hooks.el.
3711 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3713 * vc-hooks.el (vc-loadup): Remove.
3714 (vc-find-backend-function): Use `require'. Also, handle the case
3715 where vc-BACKEND-hooks.el doesn't exist.
3716 (vc-call-backend): Cleanup.
3718 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3720 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
3721 vc-rcs-grab-templates)
3722 (vc-rcs-registered): Remove. The default function works as well.
3723 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
3724 vc-sccs-grab-templates)
3725 (vc-sccs-registered): Remove. The default function works as well.
3727 * vc.el (vc-version-diff): Left out a vc- in call to
3729 (vc-default-dired-state-info, vc-default-record-rename)
3730 (vc-default-merge-news): Update for the new backend argument.
3732 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
3733 using the default function.
3734 (vc-call-backend): If calling the default function, pass it the
3735 backend as first argument. Update the docstring accordingly.
3736 (vc-default-state-heuristic, vc-default-mode-line-string): Update
3737 for the new backend argument.
3738 (vc-make-backend-sym): Renamed from vc-make-backend-function.
3739 (vc-find-backend-function): Use the new name.
3740 (vc-default-registered): New function.
3742 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3744 * vc.el (vc-merge): Use vc-find-backend-function.
3746 * vc-hooks.el (vc-backend-functions): Remove.
3747 (vc-loadup): Don't setup 'vc-functions.
3748 (vc-find-backend-function): New function.
3749 (vc-call-backend): Use above fun and populate 'vc-functions
3751 (vc-backend-defines): Remove.
3753 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3755 * vc.el (vc-register): Put a FIXME note for a newly found bug.
3756 Call vc-call-backend without the leading vc-.
3757 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
3758 (vc-check-headers): Call vc-call-backend without the leading vc-.
3759 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
3760 (vc-annotate-display): Replace confusing use of `cond' with `or'.
3761 Call vc-call-backend without the leading vc-.
3763 * vc-cvs.el (tail): Provide vc-cvs.
3764 * vc-sccs.el (tail): Provide vc-sccs.
3765 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
3767 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
3768 (vc-make-backend-function, vc-call): Pass names without leading
3769 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
3770 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
3771 (vc-call-backend): Always try to load vc-X-hooks.
3772 (vc-registered): Remove vc- in call to vc-call-backend.
3774 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3776 * vc.el (vc-process-filter): New function.
3777 (vc-do-command): Setup `vc-process-filter' for the async process.
3778 (vc-maybe-resolve-conflicts): New function to reduce
3779 code-duplication. Additionally, it puts the buffer in
3780 `smerge-mode' if applicable.
3781 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
3782 calling `merge-news'.
3783 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
3784 (vc-log-edit): New function. Replacement for `vc-log-mode' by
3785 interfacing to log-edit.el.
3786 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
3787 log-edit is available.
3788 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
3790 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3792 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
3793 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
3794 defvar and the initialization.
3795 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
3797 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
3798 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
3800 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
3802 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3804 * vc.el (vc-file-clear-masterprops): Removed.
3805 (vc-checkin, vc-revert-buffer): Removed calls to the above.
3806 (vc-version-diff): Use buffer-size without argument.
3807 (vc-register): Heed vc-initial-comment.
3809 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
3812 * vc-rcs.el (vc-rcs-register): Parse command output to find master
3813 file name and workfile version.
3814 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
3816 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
3817 vc-file-clear-masterprops.
3819 * vc-sccs.el (vc-sccs-checkout): Removed call to
3820 vc-file-clear-masterprops. If writable, set vc-state to 'edited
3821 rather than user login name.
3824 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3826 * vc.el (vc-workfile-unchanged-p): Remove unused argument
3827 `want-differences-if-changed' and simplify.
3828 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
3829 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
3830 output (which is invalid for async vc-diff) to decide whether to
3831 do the revert silently or not.
3833 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3835 * vc-hooks.el (vc-loadup): Load files quietly.
3836 (vc-call-backend): Oops, brain fart.
3838 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3840 * vc-cvs.el (vc-cvs-state): Typo.
3841 (vc-cvs-merge-news): Return the status code rather than the error msg.
3843 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3845 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
3846 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
3847 vc-state or vc-up-to-date-p.
3848 (vc-merge): Use vc-backend-defines to check whether merging is
3849 possible. Set state to 'edited after successful merge.
3851 * vc-hooks.el (vc-locking-user): If locked by the calling user,
3852 return that name. Redocumented.
3854 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3856 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
3857 new `vc-state' semantics.
3858 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
3859 'vc-locking-user to the current user.
3860 (vc-merge): Inline vc-backend-merge. Comment out code that I
3861 don't understand and hence can't adapt to the new `vc-state' and
3862 `vc-locking-user' semantics.
3863 (vc-backend-merge): Remove.
3865 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
3866 rather than 'vc-locking-user.
3868 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
3870 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
3871 (vc-state): Don't use 'reserved any more. Just use the same
3872 convention as the one used for vc-<backend>-state where the
3873 locking user (as a string) is returned.
3874 (vc-locking-user): Update, based on the above convention. The
3875 'vc-locking-user property has disappeared.
3876 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
3878 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
3879 with a heuristic one.
3880 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
3881 (vc-cvs-checkin): Do a trivial parse to set the state in case of
3882 error. That allows us to get to 'needs-merge even in the
3883 stay-local case. There's still no way to detect 'needs-patch in
3884 such a setup (or to force an update for that matter).
3885 (vc-cvs-logentry-check): Remove, the default works as well.
3887 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3889 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
3891 * vc.el (vc-do-command): kill-all-local-variables, to reset any
3892 major-mode in which the buffer might have been put earlier. Use
3893 `remove' and `when'. Allow `okstatus' to be `async' and use
3894 `start-process' in this case.
3895 (vc-version-diff): Handle the case where the diff looks empty
3896 because of the use of an async process.
3898 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3900 * vc.el (vc-next-action-on-file): Removed optional parameter
3901 `simple'. Recompute state unconditionally.
3902 (vc-default-toggle-read-only): Removed.
3904 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
3905 (vc-toggle-read-only): Undid prev change.
3907 * vc-cvs.el (vc-cvs-stay-local): Renamed from
3908 vc-cvs-simple-toggle. Redocumented.
3909 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
3910 (vc-cvs-toggle-read-only): Removed.
3912 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3914 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
3915 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
3916 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
3917 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
3918 still is. So maybe it should be removed.
3919 (vc-head-version, vc-find-binary): Remove.
3920 (vc-recompute-state): Move from vc-hooks.el.
3921 (vc-next-action-on-file): Add a `simple' argument to allow
3922 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
3923 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
3924 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
3925 (vc-dired-mode-map): Properly defvar it.
3926 (vc-print-log): Call log-view-mode if available.
3927 (small-temporary-file-directory): defvar instead of use boundp.
3928 (vc-merge-news): Moved to vc-cvs.el.
3929 (vc-default-merge-news): New function.
3931 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
3932 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
3933 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
3934 unknown `vc-latest-version' function. It should probably refer to
3935 vc-workfile-version or somesuch, but it's very unclear to me and I
3936 don't have SCCS to test things.
3938 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
3939 (vc-sccs-state-heuristic): Fix typo.
3940 (vc-sccs-workfile-unchanged-p): Add missing argument.
3942 * vc-rcs.el: Require vc and vc-rcs-hooks.
3943 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
3944 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
3945 (vc-release-greater-or-equal-p): Move from vc.
3946 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
3947 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
3948 (vc-rcs-checkout): Add a missing `new-version' argument in the
3949 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
3951 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
3952 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
3953 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
3954 than the apparently unbound `workfile-version'.
3956 * vc-hooks.el (vc-master-templates): Def the obsolete var.
3957 (vc-file-prop-obarray): Use `make-vector'.
3958 (vc-backend-functions): Add new hookable functions
3959 vc-toggle-read-only, vc-record-rename and vc-merge-news.
3960 (vc-loadup): If neither backend nor default functions exist, use
3961 the backend function rather than nil.
3962 (vc-call-backend): If the function if not bound yet, try to load
3963 the non-hook file to see if it provides it.
3964 (vc-call): New macro plus use it wherever possible.
3965 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
3966 nor `vc-find-binary' since it's only called from
3967 vc-mistrust-permission which is only used once the backend is known.
3968 (vc-checkout-model): Fix parenthesis.
3969 (vc-recompute-state, vc-prefix-map): Move to vc.el.
3971 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
3972 (vc-cvs-release, vc-cvs-system-release): Remove.
3973 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
3974 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
3976 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
3977 (vc-cvs-toggle-read-only): First cut at a function to allow a
3978 cvs-status-free vc-toggle-read-only.
3979 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
3980 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
3981 vc-cvs-status. Also set vc-state rather than vc-locking-user.
3982 (vc-cvs-checkout): Modify access rights directly if the user
3983 requested not to use `cvs edit'. And refresh the mode line.
3985 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
3986 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
3988 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3990 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
3991 workfile' that got lost when the code was extracted from vc.el.
3992 And merged the tail with the rest of the code (not possible in the
3993 old vc.el where the tail was shared among all backends). And
3994 explicitly set the state to 'edited if `writable' is set.
3996 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
3997 (vc-cvs-state): Be careful to return the value from
3999 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
4000 property but return it instead. Also be careful to handle a nil
4001 or "" `rev' when workfile is non-nil (it was handled properly when
4004 * vc.el: Removed those pesky unnecessary `(function' quotes.
4005 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
4006 directly in the defvar.
4007 (vc-do-command): Bind inhibit-read-only so as to properly handle
4008 the case where the destination buffer has been made read-only.
4009 (vc-diff): Delegate to vc-version-diff in all cases.
4010 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
4011 (vc-annotate-mode-variables): Removed (code moved partly to
4012 defvars and partly to vc-annotate-add-menu).
4013 (vc-annotate-mode): Turned into a derived-mode.
4014 (vc-annotate-add-menu): Moved in code in
4015 vc-annotate-mode-variables.
4016 (vc-update-change-log): Use make-temp-file if available.
4018 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
4020 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
4021 `vc-checkout-model' updated to `vc-cvs-update-model'.
4023 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4025 * vc.el (vc-next-action-on-file): Added handling of state
4027 (vc-checkout-carefully): Is now practically obsolete, unless the
4028 above is too slow to be enabled unconditionally.
4029 (vc-update-change-log): Fixed typo.
4031 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
4033 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
4034 Now handles state `unlocked-changes'.
4035 (vc-sccs-workfile-unchanged-p): New function, to support the above.
4037 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
4039 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
4040 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
4042 (vc-rcs-workfile-unchanged-p): Renamed from
4043 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
4044 function yet, but supposed to become one soon.
4046 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
4048 (vc-call-backend): Changed error message.
4049 (vc-state): Added description of state `unlocked-changes'.
4051 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4053 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
4054 always return t in CVS-controlled directories.
4056 * vc.el (vc-responsible-backend): New function.
4057 (vc-register): Largely rewritten.
4058 (vc-admin): Removed (implementation moved into vc-register).
4059 (vc-checkin): Redocumented.
4060 (vc-finish-logentry): If no backend defined yet (because we are in
4061 the process of registering), use the responsible backend.
4063 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
4064 Updated function lists.
4065 (vc-call-backend): Fixed typo.
4067 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
4069 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
4070 Removed query option. Redocumented.
4072 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4074 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
4076 * vc.el: Updated callers of `vc-checkout-required' to use
4077 `vc-checkout-model'.
4079 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4081 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
4082 stuff updated to reference this function instead of the old
4083 `vc-backend-release-p'.
4085 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4087 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
4088 vc-checkout-model. Return appropriate values. Updated callers.
4090 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4092 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
4093 (vc-backend-revert): Function moved into `vc-revert';
4094 `vc-next-action' must be updated to accomodate this change.
4095 (vc-backend-steal): Function moved into `vc-finish-steal'.
4096 (vc-backend-logentry-check): Function moved into
4097 `vc-finish-logentry'.
4098 (vc-backend-printlog): Function moved into `vc-print-log'.
4099 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
4100 (vc-backend-assign-name): Function moved into
4101 `vc-create-snapshot'.
4103 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4105 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
4106 Rename to vc-checkout-model. Return appropriate values.
4109 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
4110 to vc-checkout-model.
4111 (vc-checkout-required): Rename to vc-checkout-model.
4112 Re-implement and re-comment.
4113 (vc-after-save): Use vc-checkout-model.
4115 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4117 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
4118 Update to use the vc-BACKEND-diff functions instead.
4119 `vc-diff' is now working.
4121 * vc-rcs.el (vc-rcs-logentry-check): New function.
4123 * vc-cvs.el (vc-cvs-logentry-check): New function.
4125 * vc-sccs.el (vc-sccs-diff): Function changed name from
4126 `vc-backend-diff'. This makes `vc-diff' work.
4128 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
4129 of functions possibly implemented in a vc-BACKEND library.
4130 (vc-checkout-required): Fix bug that caused an error to be
4131 signaled during `vc-after-save'.
4134 This checkin is made with our new VC code base for the very first time.
4135 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
4137 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
4138 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
4140 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
4141 updated to `vc-uses-locking'.
4142 (vc-checkout-required): Call to backend function.
4143 `vc-checkout-required' updated to `vc-uses-locking' instead.
4145 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
4146 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
4148 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
4149 to match the split into various backends.
4150 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
4151 (vc-retrieve-snapshot): Bug fix.
4153 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4155 * vc-sccs.el (vc-sccs-release): Doc fix.
4157 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4159 * vc.el (vc-next-action-on-file): Bug found and fixed.
4160 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
4161 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
4163 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
4164 (vc-rcs-checkout): Name space cleaned up. No more revision number
4165 crunching function names that are not prefixed with vc-rcs.
4166 (vc-rcs-checkout-model): Function added. References to
4167 `vc-checkout-model' replaced.
4169 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4171 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
4172 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
4173 still need to be split, and implemented for RCS).
4175 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4177 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
4179 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
4180 required by the vc.el file.
4182 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
4183 required by the vc.el file.
4184 (vc-rcs-exists): Function added.
4186 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
4187 required by the vc.el file.
4189 * vc.el (vc-admin): Updated to handle selection of appropriate
4190 backend. Current implementation is crufty and need re-thinking.
4192 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
4194 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4196 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
4197 beginning of annotate buffers correctly.
4199 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
4200 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
4201 functionality updated quite a lot to support multiple backends.
4202 Variables `vc-annotate-mode', `vc-annotate-buffers',
4203 `vc-annotate-backend' added.
4205 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
4206 `vc-annotate-difference' added to supported backend functions.
4208 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4210 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
4211 Use with-temp-file instead of /bin/sh. Merged from mainline
4213 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4215 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
4217 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
4219 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
4221 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4223 * vc-hooks.el: vc-state-heuristic added to
4224 vc-backend-hook-functions.
4226 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
4228 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
4230 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
4231 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
4232 state to `reserved'.
4234 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
4235 `vc-checkout-required'. Rename the `locked' state to `reserved'.
4237 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4239 * vc-rcs-hooks.el: Implement new state model. Hardly anything
4242 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
4244 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
4245 if defined. (Merged from main line, slightly adapted.)
4247 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
4248 millenium problem (merged from mainline).
4250 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4252 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
4253 part and moved the non-BACKEND stuff to vc.el.
4255 * vc.el: Split the annotate feature into a BACKEND specific part
4256 and moved it from the vc-cvs.el file to this one.
4258 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4260 * vc-hooks.el: Implement new state model.
4261 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
4262 (vc-locking-user): Simplify. Now only needed if the file is
4263 locked by somebody else.
4264 (vc-lock-from-permissions): Remove. Functionality is in
4265 vc-sccs-hooks.el and vc-rcs-hooks.el now.
4266 (vc-mode-line-string): New name for former vc-status. Adapted.
4267 (vc-mode-line): Adapt to use the above. Remove optional parameter.
4269 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
4270 Various simplifications and adaptations all over the place.
4272 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
4273 Simplify and adapt the rest.
4275 * vc.el (vc-resynch-window): Add TODO comment: check for
4276 interaction with view mode according to recent RCS change.
4277 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
4279 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4281 * vc.el: Convert the remaining function comments to docstrings.
4283 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4285 * vc.el (vc-backend-release, vc-release-greater-or-equal)
4286 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
4287 (vc-minor-part, vc-previous-version): Functions that operate and
4288 compare revision numbers got proper documentation. Comments added
4289 about their possible removal.
4291 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4293 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
4294 the vc-backend.el files.
4296 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
4298 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
4299 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
4300 (vc-rcs-previous-version): Functions added.
4302 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
4304 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
4306 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4308 * vc-hooks.el (vc-master-templates): Is really obsolete.
4309 Comment out the definition for now. What is the right procedure
4311 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
4313 (vc-default-registered): Remove.
4314 (vc-check-master-templates): New function; does mostly what the
4316 (vc-locking-user): Don't rely on the backend to set the property.
4318 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
4319 Rewrite documentation.
4320 (vc-rcs-templates-grabbed): New variable.
4321 (vc-rcs-grab-templates): New function.
4322 (vc-rcs-registered): Rewrite to use above mechanism.
4324 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
4325 Rewrite documentation.
4326 (vc-sccs-templates-grabbed): New variable.
4327 (vc-sccs-grab-templates): New function.
4328 (vc-sccs-registered): Rewrite to use above mechanism.
4329 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
4330 Don't throw the result, simply return it.
4332 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
4333 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
4334 (vc-cvs-registered): Does the check itself now. Simplify.
4336 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
4339 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4341 * vc-cvs.el (vc-cvs-diff): New function.
4343 * vc-sccs.el (vc-sccs-diff): New function.
4345 * vc-rcs.el (vc-rcs-diff): New function.
4346 (vc-rcs-checkout): Bug (typo) found and fixed.
4347 (vc-rcs-register-switches): New variable.
4349 * vc.el (vc-backend-diff): Function removed and placed in the
4352 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4354 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
4356 * vc.el (vc-backend-checkout): Function removed and replaced in
4357 the vc-backend.el files.
4359 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
4361 * vc.el (vc-backend-admin): Removed and replaced in the
4362 vc-backend.el files.
4364 * vc.el (Martin): Removed all the annotate functionality since it
4365 is CVS backend specific.
4367 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4369 * spec.txt: Added specification of vc-state.
4371 * vc-sccs-hooks.el (vc-sccs-master-properties):
4372 Remove handling of vc-latest-version and
4373 vc-your-latest-version. What used to be vc-latest-version, is now
4374 returned as vc-workfile-version.
4375 (vc-sccs-workfile-version): Adapt.
4377 2000-09-04 Dave Love <fx@gnu.org>
4379 * vc.el: [Merged from mainline.]
4380 (vc-dired-mode): Make the dired-move-to-filename-regexp
4381 regexp match the date, to avoid treating date as file size.
4382 Add YYYY S option to WESTERN/
4384 2000-09-04 Dave Love <fx@gnu.org>
4386 * vc.el: Require `compile' when compiling.
4387 (vc-logentry-check-hook): New option.
4388 (vc-steal-lock): Use compose-mail.
4389 (vc-dired-mode-map): Defvar when compiling.
4390 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
4391 vc-sccs.el and renamed. Callers changed.
4392 (vc-backend-checkout, vc-backend-logentry-check)
4393 (vc-backend-merge-news): Doc fix.
4394 (vc-default-logentry-check): New function.
4395 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
4396 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
4397 (vc-backend-merge): Doc fix. Use backend functions.
4398 (vc-check-headers): Use backend functions.
4400 * vc-cvs.el: Require vc when compiling.
4401 (vc-cvs-register-switches): Doc fix.
4402 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
4403 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
4404 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
4405 New functions (code from vc.el).
4406 (vc-annotate-display-default): Fix interactive spec.
4407 (vc-annotate-time-span): Doc fix.
4409 * vc-rcs.el: Require vc when compiling.
4410 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
4411 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
4412 (vc-rcs-checkin): New functions (code from vc.el).
4413 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
4415 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
4417 * vc-sccs.el: Require vc when compiling.
4418 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
4419 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
4421 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
4423 (vc-sccs-add-triple, vc-sccs-record-rename)
4424 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
4425 (vc-sccs-admin): Doc fix.
4427 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4429 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
4430 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
4431 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
4434 * vc-sccs.el (vc-admin-sccs): Added from vc.el
4436 * vc-cvs.el: Moved the annotate functionality from vc.el.
4437 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
4439 2000-09-04 Dave Love <fx@gnu.org>
4441 * vc.el (vc-backend-release): Call vc-system-release.
4443 * vc-sccs.el (vc-sccs-system-release):
4444 Renamed from vc-sccs-backend-release.
4446 * vc-rcs.el (vc-rcs-system-release):
4447 Renamed from vc-rcs-backend-release.
4449 * vc-cvs.el (vc-cvs-system-release):
4450 Renamed from vc-cvs-backend-release.
4452 2000-09-04 Dave Love <fx@gnu.org>
4454 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
4456 (vc-backend-release): Dispatch to backend functions.
4457 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
4458 probably needs attention.]
4460 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
4461 (vc-sccs-backend-release): New function.
4463 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
4464 (vc-cvs-backend-release): New function.
4466 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
4468 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
4469 (vc-default-dired-state-info): New function.
4470 (vc-dired-state-info): Dispatch to backends.
4471 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
4473 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
4474 from vc.el and renamed.
4476 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4478 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
4479 (vc-version-other-window, vc-backend-assign-name): Removed
4480 references to vc-latest-version; sometimes changed into
4481 vc-workfile-version.
4483 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
4484 vc-rcs-master-workfile-version.
4485 (vc-rcs-workfile-version): Use the above. Don't call
4486 vc-latest-version (that was unreachable code, anyway).
4487 (vc-rcs-fetch-master-properties): Doc fix.
4489 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
4490 (vc-backend-hook-functions): Removed them from this list, too.
4491 (vc-fetch-properties): Removed.
4492 (vc-workfile-version): Doc fix.
4494 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
4495 (vc-rcs-workfile-version, vc-rcs-locking-user)
4496 (vc-rcs-uses-locking): Use it.
4498 * vc-hooks.el (vc-consult-rcs-headers):
4499 Moved into vc-rcs-hooks.el, under the name
4500 vc-rcs-consult-headers.
4502 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
4504 (vc-cvs-find-master): Use this name only; correct different
4505 versions of the name.
4507 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
4509 (vc-sccs-locking-user): Use the latter.
4511 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
4514 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
4516 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
4517 functions are implementation details of those two backends.
4519 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4521 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
4522 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
4524 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
4525 (vc-sccs-parse-locks): SCCS-specific code moved here from
4528 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
4529 code moved here from vc-hooks.
4531 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
4532 into back-end specific parts and removed. Callers not updated
4533 yet; because I guess these callers will disappear into back-end
4534 specific files anyway.
4536 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4538 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
4539 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
4542 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
4543 Store yes/no in the property, and return t/nil. Updated all
4546 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
4547 vc-sccs-uses-locking. Don't set property.
4548 (vc-sccs-locking-user): Don't set property.
4550 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
4551 vc-cvs-uses-locking. Don't set property here; leave that to
4553 (vc-cvs-locking-user): Reflect above change. Streamlined.
4555 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
4556 vc-rcs-uses-locking.
4557 (vc-rcs-locking-user): Reflect above change.
4559 2000-09-04 Dave Love <fx@gnu.org>
4561 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
4563 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
4565 * vc-hooks.el (vc-checkout-model): Punt to backends.
4567 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
4569 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
4571 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
4574 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
4577 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
4578 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
4580 * vc-hooks.el (vc-default-locking-user): New function.
4581 (vc-locking-user, vc-workfile-version): Punt to backends.
4583 2000-09-04 Dave Love <fx@gnu.org>
4585 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
4586 (vc-master-workfile-version): Moved from vc-hooks.
4588 * vc-rcs-hooks.el: Fix duplicate code in last change.
4590 * vc-rcs-hooks.el: Require vc-hooks when compiling.
4591 (vc-rcs-master-templates): Improve :type.
4592 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
4593 vc-master-workfile-version): Moved from vc-hooks.
4595 * vc-sccs-hooks.el: Require vc-hooks when compiling.
4596 (vc-sccs-master-templates): Improve :type.
4597 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
4599 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
4601 * vc-cvs-hooks.el: Require vc-hooks when compiling.
4602 (vc-cvs-master-templates): Improve :type. Use
4603 vc-cvs-find-cvs-master.
4604 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
4606 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
4608 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
4609 Moved to vc-cvs-hooks.
4611 * vc-hooks.el: Add doc strings in various places. Simplify the
4613 (vc-handled-backends): New user variable.
4614 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
4617 2000-09-04 Dave Love <fx@gnu.org>
4619 * vc.el: Some doc fixes for autoloaded and interactive functions.
4620 Fix compilation warnings from ediff stuff.
4621 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
4623 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
4625 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
4627 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
4629 2000-09-04 Dave Love <fx@gnu.org>
4631 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
4633 (vc-make-backend-function, vc-loadup, vc-call-backend)
4634 (vc-backend-defines): New functions.
4636 * vc-hooks.el: Various doc fixes.
4637 (vc-default-back-end, vc-follow-symlinks): Custom fix.
4638 (vc-match-substring): Function removed. Callers changed to use
4640 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
4643 2000-09-04 Dave Love <fx@gnu.org>
4645 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
4647 (vc-sccs-project-dir, vc-search-sccs-project-dir)
4648 (vc-sccs-registered): Doc fix.
4650 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
4651 (vc-cvs-registered): Doc fix.
4653 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
4654 (vc-rcs-registered): Doc fix.
4656 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4658 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
4660 * vc-hooks.el: vc-registered has been renamed
4661 vc-default-registered. Some functions have been moved to the
4662 backend specific files. they all support the
4663 vc-BACKEND-registered functions.
4665 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4667 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
4669 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
4671 2000-09-04 Dave Love <fx@gnu.org>
4673 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
4674 menu-bar-update-hook.
4676 * help.el (help-manyarg-func-alist): Add
4677 find-operation-coding-system.
4679 * wid-edit.el (widget-sexp-validate): Fix garbled code.
4681 * custom.el (custom-set-variables): Print message about errors in
4684 2000-09-03 Andrew Innes <andrewi@gnu.org>
4686 * makefile.w32-in: Change to DOS line endings.
4688 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4690 * mouse.el (mouse-popup-menubar): Supply the prompt string for
4691 minor-mode keymaps, if they don't have one.
4693 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4695 * eshell/esh-module.el (eval-when-compile): Don't lose if
4696 esh-module.el's file name is truncated to DOS 8+3 limits.
4698 2000-09-01 John Wiegley <johnw@gnu.org>
4700 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
4701 predicate, which caused entries in the completion list to be
4704 2000-08-30 John Wiegley <johnw@gnu.org>
4706 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
4707 sending to subprocesses. Also, hook pre-command-hook if
4708 `eshell-send-direct-to-subprocesses' is non-nil.
4709 (eshell-send-direct-to-subprocesses): New config variable. If t,
4710 subprocess input is send immediately.
4711 (eshell-toggle-direct-send): New function.
4712 (eshell-self-insert-command): New function.
4713 (eshell-intercept-commands): New function.
4714 (eshell-send-input): If direct subprocess sending is enabled,
4715 don't echo any input to the Eshell buffer. Let the subprocess
4716 handle that. This requires "stty echo" in bash, for example.
4718 2000-08-28 John Wiegley <johnw@gnu.org>
4720 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
4721 completion function for Eshell's implementation of `unset'.
4723 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4725 * info.el (Info-directory-list): Doc fix.
4727 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
4729 * filecache.el (file-cache-add-directory-using-find): Don't quote
4730 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
4732 2000-08-31 Kenichi Handa <handa@etl.go.jp>
4734 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
4737 2000-08-30 Andrew Innes <andrewi@gnu.org>
4739 * timer.el (run-with-idle-timer): Undo last change, so that timer
4740 is not activated immediately if Emacs is already idle. Some
4741 existing code relies on this behaviour.
4743 2000-08-30 Miles Bader <miles@gnu.org>
4745 * frame.el (set-frame-font): Do completion of font-name for
4748 2000-08-30 Kenichi Handa <handa@etl.go.jp>
4750 * international/quail.el (quail-start-translation): Bind locally
4751 last-command-event, last-command, and this-command.
4752 (quail-start-conversion): Likewise.
4753 (quail-self-insert-command): Fix docstring.
4755 2000-08-29 Gerd Moellmann <gerd@gnu.org>
4757 * progmodes/executable.el
4758 (executable-make-buffer-file-executable-if-script-p): Check that
4759 buffer contains at least 2 characters.
4761 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
4763 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
4765 2000-08-29 Dave Love <fx@gnu.org>
4767 * diff-mode.el (diff-mode) <defgroup>: Add :version.
4768 (diff-mode-shared-map): Bind mouse-2.
4769 (diff-imenu-generic-expression): New variable.
4770 (diff-mode): Use it.
4772 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
4773 (mouse-popup-menubar): Add minor mode menus.
4774 (popup-menu): Check for lookup-key returning number.
4776 2000-08-29 Miles Bader <miles@gnu.org>
4778 * comint.el (comint-send-input): Create overlays using the proper
4779 front/read-advance arguments.
4781 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4783 * ps-print.el: Even/odd pages printing. Doc fix.
4784 (ps-print-version): New version number (6.0).
4785 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
4786 (ps-background, ps-begin-file, ps-begin-job): Code fix.
4787 (ps-print-duplex-feature): Variable eliminated.
4788 (ps-even-or-odd-pages): New variable.
4790 * progmodes/ebnf2ps.el: Doc fix.
4791 (ebnf-version): New version (3.3).
4792 (ebnf-user-arrow): Change variable customization to sexp.
4793 (ebnf-user-arrow): Function eliminated.
4794 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
4796 2000-08-29 Kenichi Handa <handa@etl.go.jp>
4798 * help.el (help-xref-mule-regexp): New variable.
4799 (help-make-xrefs): Handle help-xref-mule-regexp.
4801 * international/mule-cmds.el (help-xref-mule-regexp-template): New
4803 (describe-input-method): Temporarily activate the specfied input
4804 method to display the information.
4805 (describe-language-environment): Hyperlinks to mule related items.
4807 * international/mule-diag.el (charset-multibyte-form-string): New
4809 (list-character-sets-1): Use charset-multibyte-form-string.
4810 (describe-character-set): New function.
4811 (describe-coding-system): Hyperlinks to safe character sets.
4813 * international/quail.el (quail-help): New arg PACKAGE.
4814 Hyperlinks to mule related items.
4815 (quail-help-insert-keymap-description): Use
4816 substitute-command-keys instead of describe-bindings.
4817 (quail-translation-help): Hyperlinks to mule related items.
4819 2000-08-28 John Wiegley <johnw@gnu.org>
4821 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
4822 have a defsubst call itself. Made `eshell-flatten-list' back into
4825 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
4826 catch, in case re-centering point at bottom messes up the display.
4827 This happens frequently in Emacs 21, due I believe to variable
4830 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
4831 to call `find-tag-interactive'.
4833 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
4834 the list of remember directories.
4836 2000-08-28 John Wiegley <johnw@gnu.org>
4838 * align.el: Test align-region-separate to see if it's a symbol.
4840 2000-08-28 John Wiegley <johnw@gnu.org>
4842 * eshell/esh-util.el (eshell-flatten-list): Made this function
4843 into a defsubst form. It gets used very frequently, although
4844 calls don't occur all that often.
4846 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
4849 * eshell/esh-cmd.el (eshell-rewrite-while-command):
4850 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
4852 (eshell-copy-handles): Created a new macro for duplicating the
4853 current set of open handles. This is needed by the looping
4855 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
4856 is not incorrectly stomped on.
4858 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
4859 declaration for pcomplete-use-paring.
4860 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
4861 value of eshell-cmpl-use-paring.
4862 * pcomplete.el (pcomplete-use-paring): New config variable, to
4863 indicate whether paring should be used.
4864 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
4865 completion alternatives that have already been used.
4867 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
4868 bound to C-c C-y, which will repeat the previous N arguments
4869 (based on prefix argument).
4870 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
4872 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
4873 if there is no *Help* buffer. This is for XEmacs, which renames
4874 its help buffers uniquely. TODO: Find out what the current buffer
4877 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
4878 first entry that correlates to a passwd/group number. Later
4879 entries (used for group/user name aliasing to multiple IDs) are
4882 * eshell/em-xtra.el (eshell/expr):
4883 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
4884 (eshell-grep, eshell/diff, eshell/locate):
4885 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
4886 argument list, before passing it to the system command.
4888 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
4889 `find-tag' for use at final position in Eshell buffers (which
4890 otherwise triggers an error on Emacs 21).
4891 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
4892 buffer, if it is currently bound to `find-tag'.
4894 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
4895 in the list of matched Makefile names.
4896 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
4897 directory, prefer its contents to Makefile.
4899 * eshell/em-dirs.el (eshell/cd): cd commands that look up
4900 directory parts (like "cd old new", or "cd =regexp"), are now case
4901 sensitive on non-Windows/DOS platforms.
4903 * eshell/esh-mode.el (eshell-parse-command-input): When a user
4904 types RET after an open delimiter (like "), display a message
4905 indicating that Eshell is waiting for the closing delimiter.
4907 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
4908 environment variables.
4910 * eshell/em-unix.el (eshell/diff): Added logic to fail more
4911 gracefully if the user enters incorrect arguments.
4913 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
4916 * eshell/esh-var.el (eshell-interpolate-variable):
4917 * eshell/esh-mode.el (eshell-move-argument):
4918 * eshell/em-unix.el (eshell-du-sum-directory):
4919 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
4920 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
4923 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
4924 to ensure the `preserve' flag gets propagated when doing recursive
4927 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
4929 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
4930 Don't convert \n into \0177 in memory.
4931 (eshell-read-history, eshell-write-history): Convert \n to \0177,
4932 and back again, when reading and writing.
4934 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
4936 * eshell/esh-util.el (eshell-processp): Added to relieve constant
4937 testing of `fboundp' on `processp'.
4939 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
4940 (eshell/jobs): Don't call process-list if it is not bound.
4941 (eshell-gather-process-output): Support systems where async
4942 subprocesses aren't supported.
4943 (eshell-scratch-buffer, eshell-last-sync-output-start): New
4946 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
4947 eshell-do-eval returns t.
4948 (eshell-do-pipelines-synchronously): New defmacro.
4949 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
4950 when async subprocesses aren't supported.
4951 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
4952 if async subprocesses aren't supported.
4953 (eshell-resume-command): Don't assume STATUS is a string.
4955 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
4957 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
4958 (eshell-close-target, eshell-get-target): Use eshell-processp.
4959 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
4961 (eshell-get-target, eshell-create-handles): Doc fix.
4963 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
4965 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
4966 criterion to include commands that output something, as long as it
4967 leaves both the command and the end-of-buffer visible when the
4969 (eshell-review-quick-commands): Adjust the help doc string
4972 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
4974 * locate.el (locate): Cleaned up locate command's interactive prompting
4975 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
4977 * filecache.el (file-cache-case-fold-search): New variable
4978 (file-cache-assoc-function): New variable
4979 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
4980 Use file-cache-case-fold-search variable
4981 (file-cache-add-file): Use file-cache-assoc-function
4982 (file-cache-delete-file): likewise
4983 (file-cache-directory-name): likewise
4984 (file-cache-debug-read-from-minibuffer): likewise
4986 2000-08-28 Gerd Moellmann <gerd@gnu.org>
4988 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
4989 (abbrev-table-name): New function.
4990 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
4991 If non-nil list local abbrev, only.
4993 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
4995 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
4996 from Gnus support code, and use special article copy buffer
4997 `(gnus-original-article-buffer)' instead. This allows to get rid
4998 of article-hide-headers usage (which breaks in the latest Gnus
4999 version). Thanks to Detlev Zundel.
5001 2000-08-28 Kenichi Handa <handa@etl.go.jp>
5003 * international/quail.el (quail-use-package): Hide "... loaded"
5005 (quail-start-translation, quail-start-conversion): Likewise.
5007 * international/kkc.el (kkc-region): Hide "... loaded" message.
5009 2000-08-27 Dave Love <fx@gnu.org>
5011 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
5013 2000-08-27 Miles Bader <miles@gnu.org>
5015 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
5017 2000-08-27 Kenichi Handa <handa@etl.go.jp>
5019 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
5020 'ja-dic-cnv), not (require 'skkdic-cnv).
5022 2000-08-26 Miles Bader <miles@gnu.org>
5024 * faces.el (face-x-resources): Add entry for :inherit.
5025 * cus-face.el (custom-face-attributes): Add support for :inherit
5026 attribute. Add support for relative face heights.
5027 (custom-face-attributes-get): Treat `nil' as being a default value
5028 for :inherit (as well as `unspecified').
5030 * faces.el (set-face-attribute): Update doc string.
5031 (face-attribute-name-alist): Add :inherit.
5032 (face-valid-attribute-values): Handle :inherit.
5033 (face-read-string): Rephrase prompt to be less confusing.
5034 Assume that DEFAULT is a string, since we must return a string.
5035 (face-read-integer): Use `format' to turn DEFAULT into an
5036 acceptable default for face-read-string. Match NEW-VALUE against
5037 the string "unspecified", not the symbol `unspecified', since
5038 that's what face-read-string returns.
5039 (read-face-attribute): Lookup a name for old-value in valid, and
5040 use it as a default if we find one. Treat all values from
5041 face-read-string as strings. If the default is used, don't do any
5042 more processing on the value, just use the old value directly.
5043 (read-face-and-attribute, modify-face): Tweak prompt.
5044 (read-face-name): Don't assume prompt ends with a space.
5046 * faces.el (describe-face): Add support for :inherit attribute.
5048 2000-08-25 Kenichi Handa <handa@etl.go.jp>
5050 * terminal.el (terminal-emulator): Fix args to `concat'. Now
5051 concat doesn't accept interger.
5053 * international/kkc.el: Remove SKK from Keywords. Require
5054 ja-dic-utl instead of skkdic-utl.
5056 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
5057 Provide ja-dic-cnv instead of skkdic-cnv.
5058 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
5059 (iso-2022-7bit-short): Add safe-charsets property.
5060 (skkdic-convert-postfix): Search Japanese chou-on character in
5061 addition to Hiragana character.
5062 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
5063 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
5064 (batch-skkdic-convert): Likewise.
5066 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
5067 Provide ja-dic-utl instead of skkdic-utl.
5068 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
5070 2000-08-24 Dave Love <fx@gnu.org>
5072 * disp-table.el (standard-display-default): Make the test of `l'
5075 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
5078 * international/iso-ascii.el: Make pilcrow convenient string
5079 consistent with section.
5080 (iso-ascii-display): Set up multibyte characters as well as
5083 2000-08-24 Kenichi Handa <handa@etl.go.jp>
5085 * international/mule-cmds.el (reset-language-environment): Set
5086 default-process-coding-system to '(undecided . iso-latin-1), which
5087 makes process I/O almost consistent with file I/O. Call this
5088 function when mule-cmds.el[c] is loaded.
5090 2000-08-22 Andrew Innes <andrewi@gnu.org>
5092 * makefile.w32-in: New file.
5094 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
5096 * comint.el (comint-output-filter): Compare end of
5097 comint-last-output-overlay with the start of the newly inserted
5098 text, not the end, when deciding whether to extend it.
5099 Set saved-point's insertion type to advance after insertion.
5101 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
5102 since this is now done independently of font-lock mode.
5104 2000-08-21 Gerd Moellmann <gerd@gnu.org>
5106 * server.el (server-kill-new-buffers): New user option.
5107 (server-existing-buffer): New buffer-local variable.
5108 (server-visit-files): When using an existing buffer, set
5109 server-existing-buffer to t.
5110 (server-buffer-done): If server-kill-new-buffers is t, kill the
5111 buffer, unless it was already present before visiting it with
5114 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
5116 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
5117 even if the display doesn't support colors: some displays will
5118 support bold/underline faces.
5120 2000-08-21 Gerd Moellmann <gerd@gnu.org>
5122 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
5124 * startup.el (command-line): If user's init file had an error,
5125 add explanatory text to *Messages*.
5127 2000-08-21 Kenichi Handa <handa@etl.go.jp>
5129 * man.el (Man-getpage-in-background): Decode the process output by
5130 the system locale coding system.
5132 2000-08-20 Dave Love <fx@gnu.org>
5134 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
5135 Don't test x-popup-menu.
5136 (function) <complete-function>: Complete only fbound symbols.
5137 <validate, value>: New.
5138 (variable) <complete-function>: Complete only bound symbols.
5139 (coding-system): Add :base-only, :complete-function, :validate,
5140 :value, :prompt-match.
5141 (widget-coding-system-prompt-value): Use read-coding-system and
5143 (editable-field): Add :help-echo.
5144 (widget-push-button-gui, widget-push-button-cache)
5145 (widget-gui-action, widget-editable-list-gui): COmment out, along
5147 (widget-at): Make arg optional.
5148 (widget-echo-help): Adjust for current help-echo calling sequence.
5149 (widget-specify-field, widget-specify-button)
5150 (widget-specify-insert, widget-get-sibling, widget-image-find)
5151 (widget-convert, widget-insert, widget-leave-text)
5152 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
5153 (widget-setup, widget-field-find, widget-before-change)
5154 (widget-after-change, widget-default-complete)
5155 (widget-default-create, widget-default-delete)
5156 (widget-push-button-value-create, editable-field)
5157 (widget-field-prompt-value, widget-field-validate)
5158 (widget-choice-value-create, widget-choice-action)
5159 (widget-choice-validate, widget-checklist-add-item)
5160 (widget-radio-add-item, widget-radio-chosen)
5161 (widget-radio-value-inline, widget-editable-list-value-create)
5162 (widget-editable-list-entry-create)
5163 (widget-documentation-link-add)
5164 (widget-documentation-string-value-create)
5165 (widget-regexp-validate, widget-file-complete)
5166 (widget-sexp-validate, widget-plist-convert-widget)
5167 (widget-plist-convert-widget, widget-alist-convert-widget)
5168 (widget-alist-convert-widget, widget-color-complete): Simplify,
5169 particularly to avoid bindings which aren't optimized out.
5171 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
5173 (down-list, backward-up-list, up-list, kill-sexp)
5174 (backward-kill-sexp, mark-sexp): Make arg optional.
5175 (lisp-complete-symbol): Add optional arg PREDICATE.
5177 * cus-start.el: Add display-buffer-reuse-frames,
5178 file-coding-system-alist.
5180 2000-08-20 Gerd Moellmann <gerd@gnu.org>
5182 * startup.el (command-line): Clear realized faces after
5183 modifying TTY color mappings.
5185 2000-08-20 Miles Bader <miles@gnu.org>
5187 * faces.el (face-attr-match-p): Don't return true if ATTRS are
5188 merely a subset of FACE's attributes.
5190 2000-08-19 Miles Bader <miles@gnu.org>
5192 * comint.el (comint-output-filter): Save the point with a marker,
5193 not just a buffer position.
5195 * international/mule.el (set-buffer-process-coding-system): Make
5196 interactive prompt less confusing.
5198 2000-08-19 Gerd Moellmann <gerd@gnu.org>
5200 * hilit-chg.el: General cleanup of doc strings, comments and
5203 2000-08-19 Miles Bader <miles@gnu.org>
5205 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
5206 Compiler macro removed; beginning-of-line is no longer always
5207 equivalent to forward-line, in the presence of fields.
5209 * comint.el (comint-output-filter): Remove ad-hoc saving of
5210 restriction, and just use save-restriction, now that it works
5211 correctly. Don't adjust comint-last-input-start to account for
5212 our insertion; it shouldn't have moved because we don't use
5213 insert-before-markers anymore. Comment out call to
5214 `force-mode-line-update'; why is it here?
5216 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
5217 while checking for prompt to delete. Use `forward-line 0'
5218 instead of beginning-of-line.
5219 (gud-filter): Temporarily widen gud comint buffer while
5222 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
5224 * progmodes/sh-script.el: Big bag of typos.
5226 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
5227 check since ispell-process is not bound when ispell is not yet loaded.
5229 2000-08-18 Dave Love <fx@gnu.org>
5231 * image.el (find-image): Copy `spec' before using plist-put.
5233 2000-08-18 Gerd Moellmann <gerd@gnu.org>
5235 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
5238 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
5239 backward-kill-sexp, analogous to kill-sexp.
5241 * progmodes/icon.el (icon-indent-line)
5242 (icon-is-continuation-line): Handle comments specially.
5244 2000-08-17 Ken Stevens <k.stevens@ieee.org>
5246 * ispell.el: Set to standard author/maintainer/keyword fields.
5247 Fine tuning to menu map appearance and operation, and added help.
5248 Remove `start' and `end' error messages when compiling.
5249 (ispell-choices-win-default-height): Fixed comment string.
5250 (ispell-dictionary-alist-1): Fixed regexp in castellano and
5251 castellano8 dictionaries.
5252 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
5253 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
5254 dictionary, added italiano dictionary.
5255 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
5257 (ispell-tex-skip-alists): Added psfig support.
5258 (ispell-skip-html): Renamed from ispell-skip-sgml.
5259 (ispell-begin-skip-region-regexp, ispell-skip-region)
5260 (ispell-minor-check): Improved html skipping support to skip across
5261 code, and recognize `&' commands without propper `;' syntax;
5262 (ispell-process-line): Fix alignment error when manually
5263 correcting spelling.
5264 (ispell): Fix comment string.
5265 (ispell-add-per-file-word-list): Always put word list on new line.
5267 2000-08-17 Gerd Moellmann <gerd@gnu.org>
5269 * format.el (format-encode-run-method): Fix error message to say
5270 `encode' instead of `decode'. Use save-window-excursion around
5271 shell-command-on-region as in format-decode-run-method because
5272 shell-command-on-region can display a buffer with error output.
5273 (format-decode): Don't record undo information for the decoding.
5274 (format-annotate-function): Add parameter FORMAT-COUNT. Make
5275 that number part of the temporary buffer name so that more than
5276 one decoding using a temporary buffer can happen safely.
5278 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
5279 of `A-z' in the regexp.
5281 * hilit-chg.el: Fix typos in commentary.
5283 * help.el (view-emacs-news): Rewritten for new naming scheme
5286 * startup.el (command-line): Pop to *Messages* in case an error
5287 is signaled while loading user-init-file.
5289 2000-08-17 Andreas Schwab <schwab@suse.de>
5291 * files.el (insert-directory): Don't lose original file name,
5292 undoing an undocumented change.
5294 2000-08-17 Alex Schroeder <alex@gnu.org>
5296 * sql.el (sql-magic-go): Use comint-bol.
5297 (sql-copy-column): Use comint-line-beginning-position.
5298 (comint-line-beginning-position): Define a replacement for
5299 comint-line-beginning-position if it is not fboundp.
5301 2000-08-17 Alex Schroeder <alex@gnu.org>
5303 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
5304 it didn't have any effect anyway.
5306 2000-08-17 Alex Schroeder <alex@gnu.org>
5308 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
5309 --pset and pager=off instead of sending \\o|cat at the beginning
5312 2000-08-17 Miles Bader <miles@gnu.org>
5314 * progmodes/octave-inf.el: Add compatibility definition of
5315 comint-line-beginning-position.
5317 2000-08-17 Kenichi Handa <handa@etl.go.jp>
5319 * startup.el (normal-top-level): Look in each dir in load-path for
5320 a leim-list.el file too. This assures of loading leim-list.el
5321 that is created at Emacs installation time even if a user have his
5324 2000-08-17 Miles Bader <miles@gnu.org>
5326 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
5327 foreground color to black if the background is dark.
5329 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
5331 * loadhist.el (unload-feature): Typo.
5333 * finder.el (finder-compile-keywords):
5334 * cus-dep.el (custom-make-dependencies): Add local-variable settings
5335 to the generated file.
5337 * mail/mh-e.el (mh-make-local-vars):
5338 Replace make-variable-buffer-local with make-local-variable.
5341 * options.el (Edit-options-{set,toggle,t,nil}):
5342 * mail/mailabbrev.el (mail-abbrevs-mode):
5343 * textmodes/tex-mode.el (tex-expand-files):
5344 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
5346 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
5348 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
5349 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
5350 Allow going past the last element.
5351 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
5352 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
5353 (cvs-mouse-toggle-mark): Don't move point.
5354 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
5356 * progmodes/compile.el (grep): Provide a default set of files.
5357 (next-error): Docstring fix.
5358 (compilation-find-file): Avoid find-file (fails in a dedicated window).
5360 * emacs-lisp/easy-mmode.el (define-minor-mode):
5361 Use `symbol-value' to keep the byte-compiler quiet.
5363 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
5364 (diff-find-source-location): New fun, extracted from diff-goto-source.
5365 (diff-goto-source): Use it.
5366 (diff-next-complex-hunk, diff-filter-lines): New function.
5367 (diff-apply-hunk): New command.
5369 * smerge-mode.el (smerge-mode-menu): Doc fix.
5371 * msb.el (msb-mode): Define it in terms of define-minor-mode.
5373 2000-08-16 Dave Love <fx@gnu.org>
5375 * windmove.el (windmove) <defgroup>: Add :version.
5377 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
5378 (goto-address-fontify-p, goto-address-highlight-p)
5379 (goto-address-url-face, goto-address-url-mouse-face)
5380 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
5381 (goto-address-url-regexp): Use thing-at-point-url-regexp.
5382 (goto-address-fontify, goto-address-at-mouse): Simplify,
5383 (goto-address-at-point): browse-url-url-at-point,
5384 goto-address-find-address-at-point can return nil.
5385 (goto-address-find-address-at-point): Return nil on failure.
5387 * align.el (align) <defgroup>: Add :version.
5389 * calculator.el (calculator): Add :version.
5390 (calculator): Use two lines for calculator window if `modeline'
5393 * play/5x5.el: Doc fixes.
5394 (5x5) <defgroup>: Add :version.
5396 * play/fortune.el (fortune) <defgroup>: Add :version.
5397 (fortune-append): Fix error message.
5398 (fortune-from-region): Doc fix.
5400 * play/pong.el (pong): Doc fix.
5402 * play/morse.el: Keywords, commentary, autoloads.
5404 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
5406 * desktop.el (desktop-save): Don't look at symbol-value of a
5407 member of minor-mode-alist, unless it is boundp.
5409 2000-08-16 Sam Steingold <sds@gnu.org>
5411 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
5412 `while'; use `with-current-buffer' instead of `save-excursion'.
5413 Removed unnecessary kludges now that "*Buffer List*" is excluded.
5415 2000-08-16 Kenichi Handa <handa@etl.go.jp>
5417 * international/ccl.el (declare-ccl-program): Docstring modified.
5418 (ccl-execute-with-args): Likewise.
5420 2000-08-16 Miles Bader <miles@gnu.org>
5422 * progmodes/sql.el: Add compatibility definition of
5423 comint-line-beginning-position.
5425 2000-08-15 Gerd Moellmann <gerd@gnu.org>
5427 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
5428 'buffer-menu' property.
5429 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
5431 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
5432 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
5435 * buff-menu.el (list-buffers-noselect): Don't display the
5436 *Buffer List* buffer.
5438 * font-lock.el: Require jit-lock to prevent a very late
5439 `Loading jit-lock' message.
5441 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
5442 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
5445 2000-08-15 Miles Bader <miles@gnu.org>
5447 * textmodes/ispell.el (ispell-graphic-p): New constant.
5448 (ispell-choices-win-default-height, ispell-help): Use
5449 `ispell-graphic-p' instead of `xemacsp'.
5451 2000-08-15 Dave Love <fx@gnu.org>
5453 * simple.el: Autoload widget-convert when compiling.
5454 (mail-user-agent): Doc fix.
5456 * help.el (function-called-at-point, variable-at-point): Use
5458 (help-manyarg-func-alist): Add insert-and-inherit.
5460 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
5462 * delsel.el (delsel-unload-hook): New function.
5464 * find-file.el: Doc fixes. Move provide to end.
5465 (ff) <defgroup>: Add :link.
5466 (ff-goto-click): Deleted.
5467 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
5468 Use mouse-set-point.
5470 * textmodes/tildify.el: Doc fixes.
5471 (tildify) <defgroup>: Add:version.
5473 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
5474 (glasses-custom-set): Use set-default, not set.
5475 (minor-mode-alist): Propertize the lighter.
5476 (glasses-mode): Provide optional arg.
5478 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
5479 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
5480 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
5481 option. Provide :type.
5482 (cwarn-configuration): Provide :type.
5483 (cwarn-mode): Doc fix.
5485 * add-log.el (change-log-merge): Doc fix.
5486 (change-log-redate): New command.
5488 * net/browse-url.el (browse-url-filename-alist): Add a clause for
5490 (browse-url): Use dolist, not mapcar.
5491 (browse-url-at-point): Check for null url.
5492 (browse-url-event-buffer, browse-url-event-point): Functions
5494 (browse-url-at-mouse, browse-url-netscape): Simplify.
5496 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
5498 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
5499 Fix previous change to mapcan.
5500 (msb--init-file-alist, msb--add-separators)
5501 (msb--make-keymap-menu): Simplify.
5502 (msb--choose-file-menu): Use copy-sequence.
5503 (msb-mode-map): Add title to keymap.
5504 (msb-unload-hook): New function.
5506 * bs.el: Fix indentation.
5507 (bs) <defgroup>: Add :links.
5509 (bs-apply-sort-faces): Don't use window-system.
5510 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
5512 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
5514 * calendar/timeclock.el (timeclock-file): Run .timelog through
5515 convert-standard-filename.
5517 2000-08-14 Gerd Moellmann <gerd@gnu.org>
5519 * emacs-lisp/authors.el: New file.
5521 * paren.el (show-paren-priority): New user option.
5522 (show-paren-function): Set overlay priorities to
5523 show-paren-priority.
5525 2000-08-14 Miles Bader <miles@gnu.org>
5527 * comint.el (comint-bol): Use `forward-line 0' instead of calling
5528 beginning-of-line with inhibit-field-text-motion bound.
5530 2000-08-14 Gerd Moellmann <gerd@gnu.org>
5532 * calendar/timeclock.el: New file.
5534 2000-08-14 David Ponce <david@dponce.com>
5536 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
5537 `widget-button-click'. so that one can use left mouse button to
5538 click on dialog buttons.
5540 2000-08-14 Emmanuel Briot <briot@gnat.com>
5542 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
5543 identifiers, since XML is case sensitive
5545 2000-08-12 Miles Bader <miles@gnu.org>
5547 * comint.el (comint-output-filter): Don't bother frobbing
5548 window-start, it doesn't seem to be necessary.
5550 * comint.el (comint-send-string, comint-send-region): Make into
5551 real functions. Snapshot the prompt before sending.
5553 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
5555 * info.el (Info-find-emacs-command-nodes): Rewrite to use
5556 technique similar to Info-index, instead of relying on specific
5557 names of relevant Index nodes.
5558 (Info-goto-emacs-command-node): Bind Info-history to nil when
5559 going to the first node found by Info-find-emacs-command-nodes.
5561 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
5563 * menu-bar.el (menu-bar-help-menu): Add a :help string.
5565 2000-08-10 Miles Bader <miles@gnu.org>
5567 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
5569 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
5571 * info.el (Info-file-list-for-emacs): More elements for the
5572 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
5575 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
5577 * comint.el (comint-send-input): Make the newline boundary overlay
5578 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
5579 (comint-output-filter): Use `insert' instead of
5580 `insert-before-markers'. Extend comint-last-output-overlay when
5581 necessary since we can't rely on insert-before-markers to do it.
5582 * gud.el (gud-filter): Use `with-current-buffer' instead of
5583 save-excursion when inserting the output, so that point gets
5584 updated correctly; the old method relied on a rather dodgy
5585 side-effect of comint-output-filter to avoid the effect of
5588 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
5590 * files.el (recover-file): Call insert-directory instead of
5591 invoking `ls' directly.
5593 2000-08-10 Miles Bader <miles@gnu.org>
5595 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
5596 (comint-last-prompt-overlay): New variables.
5597 (comint-output-filter): Implement prompt highlighting.
5598 (comint-snapshot-last-prompt): New function.
5599 (comint-send-input): Snapshot the last prompt.
5600 Use comint-highlight-input-face.
5601 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
5602 Use defface instead of defcustom.
5603 (send-invisible, comint-send-eof): Snapshot the last prompt.
5604 (comint-delchar-or-maybe-eof): Use comint-send-eof.
5605 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
5607 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
5609 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
5610 (regexp-opt-group): Use a list of chars for `letters'.
5611 (regexp-opt-charset): `chars' is now a list of chars.
5612 Use a char-table rather than a vector so it works for multibyte chars.
5614 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
5615 Set cvs-minor-current-files to the selected fileinfo.
5616 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
5617 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
5619 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
5621 * files.el (insert-directory): Don't call access-file on
5622 directories on DOS and Windows.
5624 2000-08-09 Kenichi Handa <handa@etl.go.jp>
5626 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
5627 longer if necessary.
5628 (ccl-embed-code): Call ccl-embed-data to store CODE in
5631 2000-08-09 Miles Bader <miles@gnu.org>
5633 * comint.el (comint-output-filter): Properly handle the case where
5634 the text surrounded by comint-last-output-overlay was deleted.
5636 2000-08-08 Gerd Moellmann <gerd@gnu.org>
5638 * info.el (Info-insert-dir): Use Info-additional-directory-list if
5640 (Info-file-list-for-emacs): Remove "info" from the list because
5641 that leads to trying to use the documentation from file `info'
5642 in various situations where it isn't appropriate, for instance
5645 * ffap.el (ffap-read-file-or-url-internal): Handle case that
5646 DIR and/or STRING are nil.
5648 * progmodes/compile.el (compilation-setup): Make variable
5649 compilation-error-screen-columns buffer-local, as some comment
5650 in the code suggests it should be.
5652 * files.el (auto-mode-interpreter-regexp): New variable.
5653 (set-auto-mode): Use it.
5655 * indent.el (indent-for-tab-command): Doc fix.
5657 * mouse-sel.el (mouse-sel-mode): Doc fix.
5659 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
5662 * help.el (print-help-return-message): When
5663 display-buffer-reuse-frames is set, let the help window been quit,
5664 instead of deleting it, which might delete a reused frame.
5666 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
5668 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
5669 rename a directory to a name that differs only by its letter case.
5671 2000-08-08 Kenichi Handa <handa@etl.go.jp>
5673 * international/quail.el (quail-define-rules): Handle Quail decode
5674 map correctly. Add code for supporting annotations.
5675 (quail-install-decode-map): New function.
5676 (quail-defrule-internal): New optional arguments decode-map and
5678 (quail-advice): New function.
5680 2000-08-07 Sam Steingold <sds@gnu.org>
5682 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
5683 `defconst', `define-condition', `with-slots'.
5684 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
5686 2000-08-03 Miles Bader <miles@gnu.org>
5688 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5690 (comint-prompt-regexp, comint-get-old-input): Document dependence on
5691 comint-use-prompt-regexp-instead-of-fields.
5692 (comint-send-input): Add `input' field property to stuff we send to
5693 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
5694 (comint-output-filter): Add `output' field property to process
5695 output, if comint-use-prompt-regexp-instead-of-fields is nil.
5696 (comint-replace-by-expanded-history)
5697 (comint-get-old-input-default, comint-show-output)
5698 (comint-backward-matching-input, comint-forward-matching-input)
5699 (comint-next-prompt, comint-previous-prompt): Use field
5700 properties if comint-use-prompt-regexp-instead-of-fields is nil.
5701 (comint-line-beginning-position): New function.
5702 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
5703 (comint-replace-by-expanded-history-before-point): Use
5704 comint-line-beginning-position and line-end-position.
5705 (comint-last-output-overlay): New variable.
5706 (comint-mode): Make `comint-last-output-overlay' buffer-local.
5708 * shell.el (shell-prompt-pattern): Doc change.
5709 (shell-backward-command): Use line-beginning-position.
5711 * gud.el (gud-gdb-complete-command): Use
5712 comint-line-beginning-position.
5714 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
5715 comint-bol doesn't actually go to the beginning of the line.
5717 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
5718 if comint-use-prompt-regexp-instead-of-fields is non-nil.
5719 (try-expand-line-all-buffers): Likewise.
5721 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
5722 explicitly matching comint-prompt-regexp.
5723 (sql-copy-column): Use comint-line-beginning-position instead of
5724 explicitly matching comint-prompt-regexp.
5726 * progmodes/octave-inf.el (inferior-octave-complete): Use
5727 comint-line-beginning-position.
5729 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
5731 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
5732 looking for a prompt, use `forward-line 0' instead of
5733 `beginning-of-line', to avoid getting caught by an input field.
5735 2000-08-07 Gerd Moellmann <gerd@gnu.org>
5737 * files.el (shell-quote-wildcard-pattern): Make sure to return
5738 PATTERN, in the Unix case.
5740 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
5742 * play/zone.el (zone): Discard any pending input before running
5743 the randomly-chosen pgm.
5745 2000-08-07 Kenichi Handa <handa@etl.go.jp>
5747 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
5748 checking the existence of any multibyte characters.
5750 2000-08-06 Gerd Moellmann <gerd@gnu.org>
5752 * help.el (describe-mode): Test minor-mode symbol for being
5753 bound before testing its value for being nil.
5755 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
5756 `first', `second', and `third'.
5758 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
5759 (second): Make it an alias for `cadr'.
5761 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
5763 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
5764 types of display support faces now.
5766 2000-08-05 Gerd Moellmann <gerd@gnu.org>
5768 * pcvs.el (require): Require `cl' during compilation, only.
5770 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
5771 (toplevel): Remove `remq' and `remove' from autoloads.
5772 (cl-fake-autoloads): New variable. If set, arrange for an error
5773 when CL functions etc. are autoloaded.
5775 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
5777 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
5779 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
5780 popped up, but the user clicks outside the menu, return an empty
5781 regexp (that causes unhighlight-regexp to have no effect).
5783 * menu-bar.el (menu-bar-games-menu): Add Zone.
5785 * hi-lock.el (toplevel): Require font-lock.
5787 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5789 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
5790 (ebnf-8-bit-chars): New var for bug fix.
5791 (ebnf-string): Bug fix.
5793 2000-08-03 Sam Steingold <sds@gnu.org>
5795 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
5796 instead of `buffer-string'.
5797 (require 'cl): Always, not just when compiling.
5798 `ignore-errors' in `interactive', `list*', `defun*' &c make this
5801 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
5803 * international/mule-cmds.el (select-safe-coding-system): Make
5804 the message text about selecting a safe coding system more clear.
5806 2000-08-02 Gerd Moellmann <gerd@gnu.org>
5808 * hi-lock.el: New file.
5810 * play/zone.el: New file.
5812 * replace.el (occur): Set tab-width in the *Occur* buffer to the
5813 value of tab-width in the original buffer. Choose a line number
5814 format that's a multiple of the original buffer's tab width, so
5815 that lines appear right.
5817 * textmodes/ispell.el (ispell): New function, replacing an alias.
5818 Spell-check active region if in transient-mark-mode and mark
5819 is active; otherwise spell-check buffer.
5821 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5823 * ps-mule.el: Fix a customization problem on
5824 ps-mule-font-info-database-default.
5826 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
5828 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
5829 display-mouse-p instead of window-system.
5830 (ebrowse-member-mode-map): Ditto.
5832 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5834 * progmodes/ebnf2ps.el: Update ps-print functions call.
5835 Indentation fix. Doc fix.
5836 (ebnf-version): New version number (3.2).
5837 (ebnf-format-color, ebnf-begin-job): Code fix.
5839 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
5841 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
5842 font lock support on window-system.
5843 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
5845 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
5846 display-color-p, if fboundp, instead of window-system.
5848 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
5850 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
5851 instead of window-system.
5853 * wid-edit.el (widget-choose): Use display-mouse-p instead of
5855 (widget-choice-mouse-down-action): Use display-popup-menus-p
5856 instead of window-system.
5858 * strokes.el (strokes-file): Run the file name through
5859 convert-standard-filename.
5860 (strokes-mode): Call display-mouse-p instead of looking at
5861 window-system. Change the error message accordingly.
5863 * progmodes/cpp.el (toplevel): Support faces on tty's.
5865 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
5866 (lm-plot-square, lm-init-display): Don't use window-system.
5868 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
5869 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
5871 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
5872 instead of looking at window-system.
5874 2000-07-30 Gerd Moellmann <gerd@gnu.org>
5876 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
5877 of testing if iswitchb-prepost-hooks is bound, because the
5878 latter will always be true when invoking a recursive minibuffer
5879 from an active Iswitchb buffer.
5881 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
5883 * files.el (shell-quote-wildcard-pattern): New function.
5884 (insert-directory): Call it. Only prepend "\" to command on Unix
5885 and GNU/Linux systems.
5887 2000-07-30 Gerd Moellmann <gerd@gnu.org>
5889 * eshell/esh-groups.el: Change custom :link file names
5890 from `eshell.info' to `eshell'.
5892 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
5894 * dired.el (dired-build-subdir-alist): Expand subdirectory names
5895 correctly in recursive ange-ftp listings.
5897 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5899 * ps-print.el: Fix bug 1: if ps-font-size-internal,
5900 ps-header-font-size-internal and
5901 ps-header-title-font-size-internal variables are not set,
5902 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
5903 face text property is (foreground-color . COLOR) or
5904 `(background-color . COLOR)', ps-print crashes. Doc fix.
5905 (ps-print-version): New version number (5.2.4).
5906 (ps-plot-region): Code fix.
5907 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
5908 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
5911 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
5913 * glasses.el (glasses-make-readable): Fix uncapitalization of
5914 identifiers like `myXMLDocument'.
5916 2000-07-28 Karl Fogel <kfogel@red-bean.com>
5918 * mail/mail-hist.el (mail-hist-previous-input)
5919 (mail-hist-next-input): Do the obvious code factorization.
5920 (mail-hist-retrieve-and-insert): New func, contains common
5922 If inserting a message body, leave point at top.
5924 2000-07-28 Sam Steingold <sds@gnu.org>
5926 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
5927 Use `<=', not `<' to compare times!
5928 (ange-ftp-ls): Remove.
5930 2000-07-27 Gerd Moellmann <gerd@gnu.org>
5932 * play/cookie1.el: Add explanation of how to make cookie.el
5933 compatible with strfile(1) to comment.
5935 * subr.el (remove, remq): New functions.
5937 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
5938 escape `*' in regexps.
5939 (midnight-find): Reverse order of arguments in the funcall of
5942 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
5945 * play/meese.el: Add Commentary section.
5947 2000-07-27 Alex Schroeder <alex@gnu.org>
5949 * sql.el (sql-ms): Added autoload cookie.
5950 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
5951 (sql-oracle): Ditto.
5952 (sql-help): Doc change.
5954 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
5955 types and exceptions.
5957 2000-07-27 Alex Schroeder <alex@gnu.org>
5959 * sql.el (sql-placeholder-history): New variable.
5960 (sql-query-placeholders-and-send): New function that will query
5961 the user and replace placeholders with user input.
5962 (sql-oracle): If running on NT, set comint-input-sender to
5963 sql-query-placeholders-and-send.
5965 (sql-stop): If in the SQLi buffer, insert stop notification, else
5966 present it as a message.
5968 2000-07-27 Alex Schroeder <alex@gnu.org>
5970 * sql.el (sql-input-ring-separator): Doc change.
5971 (sql-input-ring-file-name): Doc change.
5972 (sql-interactive-mode): Use `sql-input-ring-separator' and
5973 `sql-input-ring-file-name' to set the comint-mode equivalents
5974 without making them local variables.
5975 (sql-stop): Don't bind `sql-input-ring-separator' and
5976 `sql-input-ring-file-name' dynamically to their comint-mode
5979 2000-07-27 Kenichi Handa <handa@etl.go.jp>
5981 * international/mule.el (register-char-codings): New function.
5982 (make-coding-system): Handle `safe-chars' specification in the arg
5985 * international/mule-cmds.el
5986 (find-coding-systems-region-subset-p): This function deleted.
5987 (sort-coding-systems-predicate): New variable.
5988 (sort-coding-systems): New function.
5989 (find-coding-systems-region): Use
5990 find-coding-systems-region-internal.
5991 (find-coding-systems-string): Use find-coding-systems-region.
5992 (find-coding-systems-for-charsets): Check
5993 char-coding-system-table.
5994 (select-safe-coding-system-accept-default-p): New variable.
5995 (select-safe-coding-system): Mostly rewritten. New argument
5997 (select-message-coding-system): Call select-safe-coding-system
5998 with ACCEPT-DEFAULT-P arg.
5999 (reset-language-environment): Reset default-sendmail-coding-system
6000 to the default value iso-latin-1.
6001 (set-language-environment): Don't set the obsolete variable
6002 charset-origin-alist.
6004 * international/codepage.el (cp-coding-system-for-codepage-1):
6005 Give `safe-chars' property to make-coding-system.
6007 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
6008 calling select-message-coding-system twice.
6010 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
6011 instead of `safe-charsets'.
6012 (cyrillic-alternativnyj): Likewise.
6013 (ccl-encode-alternativnyj): Don't check the charset
6016 2000-07-27 Kenichi Handa <handa@etl.go.jp>
6018 * composite.el (compose-chars-after): Preserve match data.
6020 2000-07-26 Sam Steingold <sds@gnu.org>
6022 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
6023 (ange-ftp-real-file-newer-than-file-p): New function.
6024 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
6025 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
6027 * tooltip.el (tooltip-float-time): Removed (use `float-time').
6028 * midnight.el (midnight-float-time): Ditto.
6030 2000-07-26 Andreas Schwab <schwab@suse.de>
6032 * files.el (normal-backup-enable-predicate): Correct
6033 interpretation of the return value of compare-strings.
6035 2000-07-26 Gerd Moellmann <gerd@gnu.org>
6037 * isearch.el (isearch-resume): New function.
6038 (isearch-done): Add something to command-history to resume
6040 (isearch-yank-line, isearch-yank-word): Use
6041 buffer-substring-no-properties instead of buffer-substring.
6043 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
6044 of flyspell-mouse-map.
6046 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
6047 duplicate definition.
6048 (makefile-mode): Remove duplicate setting of local-abbrev-table.
6050 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
6051 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
6053 2000-07-25 Sam Steingold <sds@gnu.org>
6055 * net/ange-ftp.el: Get modtime over the net.
6056 (ange-ftp-file-modtime): New function.
6057 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6058 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
6060 (ange-ftp-dot-to-slash): New function.
6061 (ange-ftp-fix-name-for-vms): Use it.
6063 * midnight.el (midnight-buffer-display-time): Use
6064 `with-current-buffer'.
6066 2000-07-25 Gerd Moellmann <gerd@gnu.org>
6068 * find-dired.el: Update copyright notice.
6069 (find-dired): Offer to kill a running `find'.
6071 * enriched.el (enriched-face-ans): For a `foreground-color'
6072 property, return '(("x-color" COLOR))' so that COLOR will be
6073 output as a parameter of the x-color annotation. Likewise for the
6074 `background-color' property. In the case of normal face
6075 properties, don't return annotations for unspecified foreground
6076 and background face attributes.
6078 2000-07-25 Kenichi Handa <handa@etl.go.jp>
6080 * language/japan-util.el (japanese-katakana-region): Fix handling
6083 2000-07-25 Miles Bader <miles@gnu.org>
6085 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
6086 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
6089 2000-07-24 Andrew Innes <andrewi@gnu.org>
6091 * timer.el (timer-activate-when-idle): Add optional parameter
6092 DONT-WAIT. Update docstring.
6093 (run-with-idle-timer): Specify extra parameter to
6094 timer-activate-when-idle, so that timer will be activated
6095 immediately if Emacs is already idle.
6097 * w32-fns.el (w32-using-nt): Fix docstring.
6099 2000-07-24 Dave Love <fx@gnu.org>
6101 * mouse.el (popup-menu): Set last-command-event.
6102 (mouse-major-mode-menu-prefix): Declare.
6104 2000-07-24 Gerd Moellmann <gerd@gnu.org>
6106 * textmodes/flyspell.el: Update to author's version 1.5d.
6108 * progmodes/hideshow.el: Update copyright notice.
6110 * vcursor.el: Set maintainer to FSF, since author cannot
6113 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
6115 * info.el (Info-goto-emacs-key-command-node): Leave a space after
6118 * mouse.el (popup-menu): Run the keymap through indirect-function,
6119 in case it was defined with define-prefix-key. If the menu is a
6120 list of keymaps, look up the binding of user's choice in each one
6122 (mouse-popup-menubar): If the global and local menu-bar keymaps
6123 don't have a prompt string, create one and insert it into the
6124 keymap. Don't barf if current-local-map returns nil.
6126 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
6128 * dired.el (dired-sort-R-check): Added to allow recursive listing
6130 (dired-sort-other): Use it.
6132 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6134 * Release of cc-mode 5.27
6136 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6138 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
6139 c-beginning-of-statement-1 that caused a bad case of recursion
6140 which could consume a lot of CPU in large classes in languages
6141 that have in-expression classes (i.e. Java and Pike).
6143 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
6144 statements before top level constructs (i.e. case 6 is moved
6145 before case 5 and is now case 4) to catch in-expression
6146 classes in top level expressions correctly.
6148 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6150 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
6151 objc-method-intro. Case 4 removed and case 5I added.
6153 * cc-langs.el (c-append-paragraph-start): New variable used by
6154 c-common-init to get paragraph-start correct.
6155 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
6156 initialize paragraph-start to make it correct both with and
6157 without the javadoc special case.
6159 * cc-mode.el (java-mode): Use c-append-paragraph-start to
6160 initialize paragraph-start for javadoc markup.
6162 * cc-vars.el (c-style-variables-are-local-p): Incompatible
6163 change by defaulting this to t. It's motivated by the
6164 confusing behavior that otherwise arise from the style system
6165 when editing both java and non-java files at the same time
6166 (see the comments about style setting in c-common-init).
6168 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6170 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
6171 similar to the one in c-fill-paragraph to check the fill
6172 prefix from the adaptive fill function for sanity.
6174 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6176 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
6179 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6181 * cc-mode.texi Documented the change of cpp-macro.
6183 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6185 * cc-align.el (c-lineup-multi-inher): Handle lines with
6186 leading comma nicely. Extended to handle member initializers
6189 * cc-engine.el: (c-beginning-of-inheritance-list,
6190 c-guess-basic-syntax): Fixed recognition of inheritance lists
6191 when the lines begins with a comma.
6193 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
6195 * cc-vars.el (c-offsets-alist): Changed default for
6196 member-init-cont to c-lineup-multi-inher since it now handles
6197 member initializers and indents better for leading commas.
6199 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6201 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
6202 handling that caused class open lines to be recognized as
6203 statement-conts in some cases.
6205 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
6206 guessed by the adaptive fill function unless point is on the
6207 first line of a block comment.
6209 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
6210 when the buffer ends with a macro continuation char.
6212 * cc-engine.el (c-guess-basic-syntax): Added support for
6213 function definitions as statements in Pike. The first
6214 statement in a lambda block is now labeled defun-block-intro
6215 instead of statement-block-intro.
6217 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
6218 so that the class surrounding point is selected, not the one
6219 innermost in the state.
6221 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
6222 recognition of switch labels having hanging multiline
6225 * cc-engine.el (c-beginning-of-member-init-list): Broke out
6226 some code in c-guess-basic-syntax to a separate function.
6227 * cc-engine.el (c-just-after-func-arglist-p): Fixed
6228 recognition of member inits with multiple line arglists.
6229 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
6230 member-init-cont when the commas are in funny places.
6232 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6234 * cc-defs.el (c-auto-newline): Removed this macro since it's
6237 * cc-engine.el (c-looking-at-bos): New helper function.
6238 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
6239 inexpr and toplevel classes apart in Pike.
6241 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
6244 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
6245 constant, since "class" can introduce an in-expression class
6248 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6250 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
6251 indentation on cpp-macro lines.
6253 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
6254 a syntax modifier like comment-intro, to make it possible to
6255 get syntactic indentation for preprocessor directives. It's
6256 incompatible wrt to lineup functions on cpp-macro, but it has
6257 no observable effect in the 99.9% common case where cpp-macro
6260 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6262 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
6263 member-init-cont when the preceding arglist is several lines.
6265 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6267 * cc-styles.el (c-style-alist): The basic offset for the BSD
6268 style corrected to 8.
6270 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6272 * cc-styles.el (c-style-alist): Adjusted the indentation of
6273 brace list openers in the gnu style.
6275 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6277 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
6279 * cc-cmds.el (c-electric-brace, c-electric-slash,
6280 c-electric-star, c-electric-semi&comma, c-electric-colon,
6281 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
6282 when c-syntactic-indentation is nil.
6284 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
6285 we were left at comments preceding the first statement when
6286 reaching the beginning of the buffer.
6288 * cc-vars.el (c-syntactic-indentation): New variable to turn
6289 off all syntactic indentation.
6291 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6293 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
6294 between the text and the block comment ender when it hangs,
6295 depending on how many there are before the fill.
6297 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6299 * cc-engine.el (c-beginning-of-closest-statement): New helper
6300 function to go back to the closest preceding statement start,
6301 which could be inside a conditional statement.
6302 * cc-engine.el (c-guess-basic-syntax): Use
6303 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
6305 * cc-engine.el (c-guess-basic-syntax): Better handling of
6306 arglist-intro, arglist-cont-nonempty and arglist-close when
6307 the arglist is nested inside parens. Cases 7A, 7C and 7F
6310 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
6311 up-to-date with javadoc 1.2.
6313 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6315 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
6316 multiline Pike type decls.
6318 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6320 * cc-cmds.el (c-indent-new-comment-line): Always break
6321 multiline comments in multiline mode, regardless of
6324 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6326 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
6327 fully::qualified::names in C++ member init lists. Preamble in
6330 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6332 * cc-langs.el (c-common-init): Handling of obsolete variables
6333 moved to c-initialize-cc-mode. More compatible style override
6334 when using global style variables.
6335 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
6336 variables moved here.
6338 * cc-mode.texi: Documented the special behavior of
6339 c-special-indent-hook as a style variable. Don't talk about
6340 doing (c-make-styles-buffer-local t) in a mode hook, since
6341 that's already too late to work right.
6343 * cc-styles.el (c-make-styles-buffer-local): Flag style
6344 variable localness in c-style-variables-are-local-p to make
6345 the compatibility measure in c-common-init work well.
6347 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
6348 longer contain set-from-style.
6349 * cc-styles.el (c-initialize-builtin-style): Don't check for
6350 set-from-style on c-special-indent-hook.
6351 * cc-styles.el (c-copy-tree): Obsolete. The standard function
6352 copy-alist is sufficient now.
6354 * cc-styles.el (c-set-style, c-set-style-1,
6355 c-get-style-variables): Fixes to variable initialization so
6356 that duplicate entries in styles have the same effect
6357 regardless of DONT-OVERRIDE.
6359 * cc-styles.el (c-set-style-2): Fixed bug where the
6360 initialization of inheriting styles failed when the
6361 dont-override flag is set.
6363 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
6366 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6368 * cc-defs.el (c-forward-comment): Removed the workaround
6369 introduced in 5.38 since it had worse side-effects. If a line
6370 contains the string "//\"", it regarded the // as a comment
6371 start since the \ temporarily doesn't have escape syntax.
6373 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
6375 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
6376 ada-xref.el before ada-prj.el, so that the Project menu is created
6377 when ada-prj tries to add to it.
6378 (ada-activate-keys-for-case): Suppress the characters that are not
6379 part of the Ada syntax. Better compatibility with else-mode
6380 (ada-adjust-case-interactive): When auto-casing is not active,
6381 correctly insert newlines (used to insert only ^M). Prevent the
6382 syntax table from being changed in case of an error
6383 (or '_' becomes part of a word and some commands are confused).
6384 Do nothing if ada-auto-case is nil.
6385 (ada-after-keyword-p): Ignore keywords that are also attributes
6386 (ada-batch-reformat): Update usage comment
6387 (ada-call-from-contextual-menu): New function
6388 (ada-case-read-exceptions): Reinitialize the casing exception list
6389 first to nil first, so that the casing exception file can be
6391 (ada-check-defun-name): Handles "configure" keyword for gnatdist
6393 (ada-compile-goto-error): Fix regexp used to detect a file:line
6394 anywhere in the error message
6395 (ada-contextual-menu-last-point): New variable
6396 (ada-create-keymap): If the variable delete-key-deletes-forward is
6397 t on XEmacs, it means that DEL should delete one character
6399 (ada-create-menu): Use :included instead of :visible for XEmacs.
6400 New submenu "Options".
6401 (ada-end-stmt-re): Correctly indent "select ... then abort"
6403 (ada-fill-comment-paragraph): Correctly delete all leading '--'
6404 even if they don't match ada-fill-comment-prefix Fix handling of
6405 paragraphs on the first or last line of a file.
6406 (ada-format-paramlist): Fix handling of default parameter values.
6407 (ada-get-body-name): New function.
6408 (ada-get-current-indent): Optimized by searchling directly for an
6409 existing generic part or a statement outside of it. Handle
6410 ada-indent-align-comments when indenting comments Replaced some
6411 regexps by testing directly the next character. This results in a
6412 huge speedup on some files. New indentation scheme for renames
6413 statements. Stop looking for the 'while' or 'for' associated with
6414 a 'loop' at the first semicolon encountered. A "return" can also
6415 match an anonymous access subprogram declaration.
6416 (ada-get-indent-noindent): Ignore strings and comments when
6417 looking for the keywords "record" and "private".
6418 (ada-goto-matching-decl-start): When matching "if", make sure we
6419 are not in fact seeing "end if". Ignore "when" statements except
6420 when initial keyword was "begin". Fix handling of nested
6421 procedures. Add a recursive call to this function to skip over
6422 other 'end' statmts. Fix indentation for "when .. => begin"
6423 (ada-in-open-paren-p): Fix indentation for complex boolean
6424 expressions, where 'and then', 'or else' and parenthesis
6425 statements are mixed up.
6426 (ada-in-paramlist-p): Skip comments while searching for the
6427 beginning Fix handling of operator declarations.
6428 (ada-indent-align-comments): New variable
6429 (ada-indent-current): Change the syntax table only in the
6430 protected section, so that we are sure it is restored correctly.
6431 (ada-indent-on-previous-lines): Use ada-use-indent and
6432 ada-with-indent Correctly indent "select ... then"
6433 (ada-indent-region): Slight speedup.
6434 (ada-indent-renames): New variable.
6435 (ada-last-which-function-subprog, ada-last-which-function-line):
6437 (ada-looking-at-semi-private): Correctly indent the 'private'
6438 keyword when it is the first word in a package declaration.
6439 (ada-loose-case-word): Stop searching if at the end of the buffer.
6440 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
6441 even if point is not initially at the end of the word.
6442 (ada-matching-decl-start-re): Add "when".
6443 (ada-mode): Add support for abbrev-mode, outline-mode and
6444 which-func-mode Override the old find-file.el entry in
6445 ff-special-constructs since it is using the obsolete
6446 ada-spec-suffix variable
6447 (ada-no-auto-case): New function
6448 (ada-scan-paramlist): When parsing the argument type, accept
6449 spaces (as in "X 'Class", generated by Rational Rose).
6450 (ada-other-file-name): No longer loads the other file.
6451 (ada-popup-menu): Save and restore the current buffer and cursor
6452 position before and after displaying the menu.
6453 (ada-search-ignore-complex-boolean): New function.
6454 (ada-uncomment-region): Emacs21 already knows how to delete
6455 comments not starting in the first column.
6456 (ada-use-indent): New variable
6457 (ada-which-function): New function.
6458 (ada-with-indent): New variable
6459 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
6460 can be batch-compiled from the command line.
6462 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
6463 Add to the menu when the file is loaded, not in ada-mode-hook.
6464 Add -toolbar to the default ddd command Switches moved from
6465 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
6466 ada-prj-default-comp-opt
6467 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
6468 Reference Manual to the menu
6469 (ada-check-current): rewritten as a call to ada-compile-current
6470 (ada-compile): Removed.
6471 (ada-compile-application, ada-compile-current, ada-check-current):
6472 Set the compilation-search-path so that compile.el automatically
6473 finds the sources in src_dir. Automatic scrollong of the
6474 compilation buffer. C-uC-cC-c asks for confirmation before
6476 (ada-compile-current): New parameter, prj-field
6477 (ada-complete-identifier): Load the .ali file before doing
6479 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
6480 conform to gnatmake's behavior.
6481 (ada-find-file-in-dir): New function
6482 (ada-find-references): Set the environment variables for gnatfind
6483 (ada-find-src-file-in-dir): New function.
6484 (ada-first-non-nil): Removed
6485 (ada-gdb-application): Add support for jdb, the java debugger.
6486 (ada-get-ada-file-name): Load the original-file first if not done
6488 (ada-get-all-references): Handles the new ali syntax (parent types
6489 are found between <>).
6490 (ada-initialize-runtime-library): New function
6491 (ada-mode-hook): Always load a project file when a file is opened,
6492 so that the casing exceptions are correctly read.
6493 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
6494 (ada-parse-prj-file): Use find-file-noselect instead of find-file
6495 to open the project file, since the latter does not work with
6496 speedbar Get default values before loading the prj file, or the
6497 default executable file name is wrong. Use the absolute value of
6498 src_dir to initialize ada-search-directories and
6499 compilation-search-path,... Add the standard runtime library to
6500 the search path for find-file.
6501 (ada-prj-default-debugger): Was missing an opening '{'
6502 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
6504 (ada-prj-default-gnatmake-opt): New variable
6505 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
6506 buffers, the project file is the default one Save the windows
6507 configuration before displaying the menu.
6508 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
6509 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
6510 ...) regexp-quote identifiers names to support operators +,
6512 (ada-remote): New function.
6513 (ada-run-application): Erase the output buffer before starting the
6514 run Support remote execution of the application. Use
6515 call-process, or the arguments are incorrectly parsed
6516 (ada-set-default-project-file): Reread the content of the active
6517 project file, not the one from the current buffer When a project
6518 file is set as the default project, all directories are
6519 automatically associated with it.
6520 (ada-set-environment): New function
6521 (ada-treat-cmd-string): New special variable ${current}
6522 (ada-treat-cmd-string): Revised. The substitution is now done for
6523 any ${...} substring
6524 (ada-xref-current): If no body was found, compiles the spec
6525 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
6526 compiler to get rid of command line length limitations.
6527 (ada-xref-get-project-field): New function
6528 (ada-xref-project-files): New variable
6529 (ada-xref-runtime-library-specs-path)
6530 (ada-xref-runtime-library-ali-path): New variables
6531 (ada-xref-set-default-prj-values): Default run command now does a
6532 cd to the build directory. New field: main_unit Provide a default
6533 file name even if the current buffer has no prj file.
6536 Rewritten to show a tabbed-dialog.
6537 (ada-prj-add-ada-menu): Remove the map and name parameters.
6538 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
6540 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
6541 (ada-prj-load-from-file): New function
6542 (ada-prj-save): Always save fields that depend on the current buffer
6543 (ada-prj-show-value): New function
6545 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
6546 Ada mode. This will allow us to display the Ada menu in any buffer
6547 we want (for project items).
6548 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
6549 number of spaces in the header.
6551 2000-07-24 Dave Love <fx@gnu.org>
6553 * ediff-init.el (ediff-region-help-echo): Bind face-help.
6555 2000-07-23 Noah Friedman <friedman@splode.com>
6557 * type-break.el (type-break): perform autosave.
6558 Suggested by Stephen Gildea <gildea@intouchsys.com>.
6559 (type-break-do-query): Cancel query schedule while performing
6560 actual query, to avoid possibility of a second query being made
6561 while first one is already in progress.
6562 (type-break-time-stamp-format): New variable.
6563 (type-break-time-stamp): New function.
6564 (type-break-time-warning): Use it.
6565 (type-break-keystroke-warning): Use it.
6566 (type-break-noninteractive-query): Use it.
6568 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
6570 Use add-minor-mode to set minor-mode-alist, if available.
6571 (eldoc-echo-area-use-multiline-p): New user option.
6572 (eldoc-echo-area-multiline-supported-p): New variable.
6573 (eldoc-docstring-format-sym-doc): Use them.
6574 (eldoc-mode): If not using idle timers, append to local post and
6575 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
6576 (eldoc-display-message-no-interference-p): Don't interfere with
6578 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
6579 (eldoc-function-arglist): New function.
6580 (eldoc-function-argstring): Use it.
6582 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
6583 auto save directory exists before calling directory-files.
6585 2000-07-23 Dave Love <fx@gnu.org>
6587 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
6590 2000-07-21 Dave Love <fx@gnu.org>
6592 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
6593 now passed to the function. It now works properly.
6595 * smerge-mode.el (smerge-mode-menu): Fill it out.
6597 2000-07-20 Gerd Moellmann <gerd@gnu.org>
6599 * info-look.el (info-lookup): If *info* is shown in another frame
6600 on the same display, select that frame, instead of switching to
6601 the Info buffer in another window of the selected frame.
6603 * simple.el (universal-argument-map): Bind numeric keypad keys
6604 kp-0 to kp-9 and kp-subtract.
6605 (digit-argument): Handle these keys.
6607 2000-07-20 Dave Love <fx@gnu.org>
6609 * net/goto-addr.el (goto-address-fontify): Don't bother with
6610 buffer-modified and read-only stuff -- irrelevant with overlays.
6611 Put an extra property on the overlays and use it to clean up in
6612 case goto-address is re-run.
6614 2000-07-19 Richard M. Stallman <rms@gnu.org>
6616 * timer.el (run-with-idle-timer): Doc fix.
6618 * mail/mail-utils.el (mail-strip-quoted-names):
6619 Handle case where <...> appears inside "...".
6620 Use replace-match to edit the string more simply.
6621 (rmail-dont-reply-to): Cope with an unmatched ".
6623 2000-07-19 Dave Love <fx@gnu.org>
6625 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
6628 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
6629 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
6630 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
6632 2000-07-19 Gerd Moellmann <gerd@gnu.org>
6634 * textmodes/refer.el: Correct maintainer's email address.
6636 * progmodes/hideif.el: Correct author's email address.
6637 Fix typo in comment.
6641 * mail/mailheader.el: Correct author's mail address.
6643 * gnus/parse-time.el: Correct author's mail address.
6645 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
6647 * comint.el (comint-highlight-input, comint-highlight-face):
6649 (comint-input-ring-file-name): Change custom type.
6650 (comint-mode-map): Bind mouse-2.
6651 (comint-insert-clicked-input): New function.
6652 (comint-send-input): Handle input highlighting.
6654 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
6656 * mouse.el (popup-menu): New function.
6657 (mouse-major-mode-menu): Use it.
6659 2000-07-18 Dave Love <fx@gnu.org>
6661 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
6664 2000-07-18 Gerd Moellmann <gerd@gnu.org>
6666 * faces.el (face-font-selection-order)
6667 (face-font-family-alternatives): Add custom type.
6669 2000-07-18 Dave Love <fx@gnu.org>
6671 * cus-edit.el (custom-variable-reset-saved)
6672 (custom-variable-reset-standard): Remove unused bindings.
6674 * rect.el (open-rectangle-line): Remove unused let.
6676 * hl-line.el (hl-line-highlight): Check hl-line-mode.
6678 2000-07-18 Gerd Moellmann <gerd@gnu.org>
6680 * cdl.el: Fix `Maintainer' keyword.
6682 * play/pong.el: Add author's email address.
6684 2000-07-17 Sam Steingold <sds@gnu.org>
6686 * files.el (insert-directory): Call `split-string' instead of
6689 2000-07-18 Gerd Moellmann <gerd@gnu.org>
6691 * mail/vms-pmail.el: Change maintainer to FSF.
6693 * net/goto-addr.el: Change maintainer to FSF.
6695 * recentf.el: Update from author.
6697 * info.el (Info-title-face-alist): Removed.
6699 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
6701 * eshell/eshell.el (eshell): Replace links to eshell.info with
6702 links to eshell, to avoid problems on systems where the manual is
6703 installed as `eshell'.
6704 * eshell/esh-cmd.el (eshell-cmd): Ditto.
6705 * eshell/em-smart.el (eshell-smart): Ditto.
6706 * eshell/em-banner.el (eshell-banner): Ditto.
6707 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
6709 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
6710 same-file check in the MS-DOS version (it does support inodes).
6712 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
6714 * eshell/eshell.el (eshell-directory-name):
6715 Run default directory name through convert-standard-filename.
6717 2000-07-18 Kenichi Handa <handa@etl.go.jp>
6719 * international/mule-cmds.el (select-safe-coding-system):
6720 Fix typo in the comment.
6722 * language/european.el (compound-text):
6723 Force katakana-jisx0201 to be designated to G1.
6725 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
6726 Don't translate some national variant characters of latin-jisx0201.
6727 (x-ctext): Force katakana-jisx0201 to be designated to G1.
6729 * international/kkc.el (kkc-after-update-conversion-functions):
6731 (kkc-update-conversion): Run functions in it at the tail.
6733 2000-07-16 John Wiegley <johnw@gnu.org>
6735 * lisp/align.el (align-newline-and-indent):
6736 Adding new function. for auto-aligning blocks of code on RET.
6737 (align-region): Fixed badly formatted minibuffer message.
6739 2000-07-17 Kenichi Handa <handa@etl.go.jp>
6741 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
6742 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
6743 the conversion list at first if appropriate.
6744 (kkc-next): Don't update kkc-next-count here.
6745 (kkc-prev): Don't update kkc-prev-count here.
6746 (kkc-show-conversion-list-update): Fix setting up of conversion
6749 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
6751 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
6753 2000-07-16 Dave Love <fx@gnu.org>
6755 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
6756 function to be more specific.
6758 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
6759 non-string help-echo.
6760 (widget-types-convert-widget): Defsubst it.
6761 (widget-echo-help): Try to cope with a help-echo function of two
6764 2000-07-15 Jason Rumney <jasonr@gnu.org>
6766 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
6767 Declare as obsolete.
6769 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
6771 2000-07-14 Gerd Moellmann <gerd@gnu.org>
6773 * hilit-chg.el: Fix typo.
6775 2000-07-14 Dave Love <fx@gnu.org>
6777 * info.el (Info-mode-menu): Fix use of :help, :enable.
6779 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
6781 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
6783 2000-07-13 Dave Love <fx@gnu.org>
6785 * emacs-lisp/easymenu.el: Doc fixes.
6786 (easy-menu-remove): Defalias to ignore.
6788 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
6789 Call throw correctly.
6791 2000-07-13 Gerd Moellmann <gerd@gnu.org>
6793 * faces.el (frame-background-mode): Doc fix.
6795 * simple.el (eval-expression-print-length): Change custom type to
6796 allow entering nil as value.
6798 2000-07-13 Dave Love <fx@gnu.org>
6800 * progmodes/fortran.el (fortran-imenu-generic-expression):
6801 Change definition layout.
6802 (fortran-mode-menu): Reinstate customize entries.
6804 * cus-edit.el (custom-group-menu-create, customize-menu-create):
6805 Use :filter, per old XEmacs code.
6807 2000-07-12 Gerd Moellmann <gerd@gnu.org>
6809 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
6810 event when deciding what to send to the terminal.
6812 2000-07-12 Dave Love <fx@gnu.org>
6814 * cus-start.el: Add optional version as 4th element of specs and
6815 use it for several things new in v21. Remove load-path. Fix type
6816 of line-number-display-limit.
6818 2000-07-11 Dave Love <fx@gnu.org>
6820 * progmodes/fortran.el: Don't require easymenu.
6821 Use repeat counts in various regexps.
6822 (fortran-mode-syntax-table): Defvar directly.
6823 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
6824 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
6825 Use defvar, not defconst.
6826 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
6827 (fortran-mode): Set fortran-comment-line-start-skip,
6828 fortran-comment-line-start-skip, dabbrev-case-fold-search.
6829 (fortran-comment-indent): Use defsubst.
6830 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
6831 Use fortran-comment-indent, not fortran-comment-indent-function.
6832 (fortran-comment-region, fortran-electric-line-number): Simplify.
6833 (fortran-auto-fill): New function.
6834 (fortran-do-auto-fill): Deleted.
6835 (fortran-find-comment-start-skip):
6836 Check for non-null comment-start-skip.
6837 (fortran-auto-fill-mode, fortran-fill-statement):
6838 Use fortran-auto-fill.
6839 (fortran-fill): Use fortran-auto-fill. Check for null
6840 comment-start-skip. Simplify final clause and use end-of-line finally.
6842 * widget.el (widget-plist-member): New alias.
6844 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
6846 * eshell/esh-module.el (toplevel): Reference
6847 byte-compile-current-file only if it is bound.
6849 2000-07-10 Gerd Moellmann <gerd@gnu.org>
6851 * dired.el: Don't require `dired-aux'.
6853 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
6855 * dired-aux.el (dired-show-file-type): New function.
6856 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
6857 (dired-show-file-type): Add autoload.
6859 2000-07-10 Kenichi Handa <handa@etl.go.jp>
6861 * international/mule-diag.el (describe-font): Adjusted for the
6862 change of fontset-info.
6863 (print-fontset): Likewise.
6865 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
6867 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
6869 2000-07-07 Gerd Moellmann <gerd@gnu.org>
6871 * bindings.el: Bind `[delete]' to delete-char.
6873 * dired.el (dired-find-alternate-file): New function.
6874 (dired-mode-map): Bind `a' to dired-find-alternate-file.
6875 (toplevel): Require dired-aux when compiling.
6876 (dired-buffers): Move defvar within file to avoid compiler warning.
6878 * info.el (Info-last-search): Variable removed.
6879 (Info-search-history): New variable.
6880 (Info-search): New Info-search-history.
6882 * battery.el, info-look.el: Change author's mail address.
6884 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
6886 * mail/rmail.el (rmail-clear-headers): Don't throw an error
6887 if rmail-ignored-headers is nil.
6888 (rmail-retry-failure): Bind rmail-ignored-headers and
6889 rmail-displayed-headers to nil.
6891 2000-07-06 Gerd Moellmann <gerd@gnu.org>
6893 * lpr.el (lpr-page-header-switches): Add `-h' switch.
6894 (print-region-1): Don't hard code `-h' here.
6896 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
6898 2000-07-01 Francesco Potorti` <pot@gnu.org>
6900 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
6901 exim can use "your message" instead of "the message".
6903 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
6905 * facemenu.el: Docstrings fixes.
6906 (facemenu-get-face): Don't use internal-find-face.
6907 (facemenu-iterate): Rename arg to match the docstring.
6909 * newcomment.el (uncomment-region): Be more careful when skipping
6910 backwards over `=' not to bump into BOBP.
6912 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
6914 * ediff-diff.el (ediff-wordify): Use syntax table.
6915 * ediff-init.el (ediff-has-face-support-p): Use
6916 ediff-color-display-p.
6917 (ediff-color-display-p): Use display-color-p, changed to defun
6919 Got rid of special cases for NeXT and OS/2.
6920 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
6923 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
6925 * emacs-lisp/lucid.el: Require CL.
6926 (copy-tree, remprop): Remove, it's provided by CL.
6927 (map-keymap): Define in terms of cl-map-keymap.
6928 (extent-property, set-extent-end-glyph): New functions.
6930 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
6932 2000-07-05 Gerd Moellmann <gerd@gnu.org>
6934 * Makefile.in (DONTCOMPILE): Add comment that the name may
6935 not be changed without changing the make-dist script.
6937 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
6938 (cl-mapc): Use mapc instead of cl-old-mapc.
6940 2000-07-05 Andrew Innes <andrewi@gnu.org>
6942 * makefile.nt: Add support for `bootstrap' and related targets.
6944 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
6946 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
6947 (easy-menu-do-define): Use `menu-item' format.
6948 Handle case where easy-menu-create-menu returns a symbol.
6949 Manually call the potential top-level filter in the function binding.
6950 (easy-menu-filter-return): New arg NAME.
6951 Convert to a keymap if MENU is an XEmacs menu.
6952 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
6953 (easy-menu-converted-items-table, easy-menu-convert-item):
6954 New var and fun to memoize easy-menu-convert-item-1.
6955 (easy-menu-do-add-item): Use it.
6956 (easy-menu-create-menu): Use easy-menu-convert-item.
6957 Wrap easy-menu-filter-return around any :filter specification.
6958 Don't convert the menu if a filter was specified.
6959 Tell easy-menu-make-symbol not to check for MENU being an expression.
6960 (easy-menu-make-symbol): New arg NOEXP.
6962 2000-07-05 Gerd Moellmann <gerd@gnu.org>
6964 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
6965 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
6966 (eval-defun): If called with prefix arg, instrument code for
6969 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
6970 similar to that of eval-defun.
6972 2000-07-04 Dave Love <fx@gnu.org>
6974 * hl-line.el (hl-line-overlay): Make it permanent-local.
6976 * calendar/todo-mode.el: Replaced with a working version, based on
6977 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
6979 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
6981 * paths.el (prune-directory-list): New function.
6982 (Info-default-directory-list): Rewritten to more methodically
6983 enumerate a big list of possible info directories (based on the
6984 list used by the standalone info reader).
6986 * info.el (info-initialize): Use prune-directory-list to remove
6987 non-existent directories from Info-directory-list.
6989 * paths.el (Info-default-directory-list): Try a list of possible
6990 info-directories instead of a single one. Add the possible
6991 info directory "/usr/share/info".
6993 * woman.el (woman-man.conf-path): Explicitly include the debian
6994 man-db config file "/etc/manpath.config".
6995 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
6996 are present in `manpath.config'.
6997 (woman-manpath): Include "/usr/share/man".
6999 2000-07-03 Gerd Moellmann <gerd@gnu.org>
7001 * frame.el (blink-cursor-mode): Don't hide cursor initially.
7003 * startup.el (command-line): Initialize blink-cursor based
7006 * frame.el (blink-cursor): Default to nil if not running under
7009 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
7010 (face-x-resources): Remove duplicate entry for :font.
7012 * textmodes/refer.el (refer-find-entry-internal): Use some-window
7013 instead of cycling through windows with next-window.
7015 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
7016 of cycling through windows with next-window.
7018 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
7019 of cycling through windows with next-window.
7021 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
7022 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
7023 instead of cycling through windows with next-window.
7025 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
7026 instead of cycling through windows with next-window.
7028 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
7029 of cycling through windows with next-window.
7031 * terminal.el (te-process-output): Use walk-windows instead of
7032 cycling through windows with next-window.
7034 * server.el (server-switch-buffer): Use some-window instead of
7035 cycling through windows with next-window.
7037 * window.el (some-window): New function.
7038 (walk-windows): Remove reference to walk-windows-start.
7040 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
7042 2000-07-03 Richard Stallman <rms@gnu.org>
7044 * window.el (walk-windows): Guarantee termination by keeping a list
7045 of all the windows already handled.
7047 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
7049 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
7052 * man.el (Man-notify-when-ready): Don't use window-system. If
7053 Man-notify-method is newframe, and the display is not
7054 multi-frame, select the frame created for the man page.
7055 (Man-init-defvars): Doc fix.
7057 2000-06-28 Gerd Moellmann <gerd@gnu.org>
7059 * faces.el (region): Change background color for light background.
7061 * ediff-wind.el (ediff-setup-control-frame): Remove :box
7062 attribute from mode-line face of Ediff control frame.
7064 * replace.el (query-replace-map): Bind `e' like `E'.
7066 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
7068 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
7069 Change name to "Select All".
7071 * dos-fns.el (convert-standard-filename): Fix last change.
7073 2000-06-27 Gerd Moellmann <gerd@gnu.org>
7075 * help.el (describe-variable): Don't insert a second `'s' in front
7076 of the string `value is shown below'. Since the syntax-table is
7077 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
7078 an existing `'s', so that this won't be deleted.
7080 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
7081 * pcmpl-unix.el: New files.
7083 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
7085 * wid-edit.el (widget-member): Use the new plist-member.
7087 2000-06-26 Gerd Moellmann <gerd@gnu.org>
7089 * replace.el (perform-replace): Undo change of 2000-04-04.
7090 Instead, move backward 1 character at the end of the loop when
7093 * faces.el (fringe): Change face for different backgrounds.
7095 * eshell/esh-module.el (toplevel): Load defgroup's differently;
7098 * eshell/*.el: Change spelling of the Free Software Foundation.
7100 * eshell/esh-toggle.el: Removed.
7102 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
7104 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
7107 2000-06-26 Alex Schroeder <alex@gnu.org>
7109 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
7110 `define-key'; instead of checking `(emacs-version)' check for
7111 `set-keymap-parent' and `set-keymap-name' directly. Add entries
7112 for `;' and `o' which might be electric.
7114 (sql-electric-stuff): New user option.
7115 (sql-magic-go): New function which uses `sql-electric-stuff'.
7116 (sql-magic-semicolon): New function which uses
7117 `sql-electric-stuff'.
7119 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
7122 (sql-oracle-options): New variable.
7123 (sql-oracle): Use it.
7125 (sql-imenu-generic-expression): Doc change.
7126 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
7129 (sql-informix): Added command line parameter "-" to force
7130 sql-informix-program to use stdout.
7132 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
7134 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
7135 (cp864-decode-table): Doc fix.
7136 (cp720-decode-table): New variable, supports the Arabic OEM
7137 codepage used by Windows.
7138 (cp737-decode-table): New, Greek OEM codepage used by Windows.
7140 2000-06-23 Dave Love <fx@gnu.org>
7142 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
7143 (font-lock-fontify-anchored-keywords): Use
7144 line-beginning-position.
7145 (global-font-lock-mode): Use mapc.
7147 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
7149 * eshell/esh-module.el: Require CL when compiling.
7151 2000-06-23 Gerd Moellmann <gerd@gnu.org>
7153 * comint.el (comint-substitute-in-file-name): Call replace-match
7154 with second and third arg t.
7156 * cus-edit.el (custom-button-face, custom-button-pressed-face):
7157 Specify foreground color.
7159 * faces.el (tool-bar, mode-line, header-line): Specify foreground
7162 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
7164 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
7165 cddr instead of cdddr.
7167 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
7168 instead of copy-list.
7170 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
7173 * subdirs.el: Add eshell subdirectory.
7175 * eshell: New subdirectory containing the Eshell package.
7177 * pcomplete.el: New file.
7179 2000-06-23 Paul Eggert <eggert@twinsun.com>
7181 * mail/mailpost.el (post-mail-send-it): Make sure file has
7182 proper permissions from birth.
7184 * files.el (basic-save-buffer-2): When temporarily setting
7185 file modes, set them to current modes plus 0200, not to 0777.
7187 * emerge.el (emerge-make-temp-file): Make sure file has proper
7188 permissions from birth.
7190 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
7192 * files.el (make-backup-file-name-1): On DOS/Windows, run the
7193 backup file name through convert-standard-filename.
7195 * dos-fns.el (convert-standard-filename): Convert leading
7196 directories as well. When long file names are supported, convert
7197 characters that are invalid in Windows file names.
7199 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7201 * ps-print.el: Fix bug: if ^L is the very first buffer character,
7202 ps-print crashes. New feature: page selection for printing. Create
7203 raw-text-unix coding system for XEmacs. Doc fix.
7204 (ps-print-version): New version number (5.2.3).
7205 (ps-plot-region): Bug fix.
7206 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
7207 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
7208 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
7210 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
7211 (ps-last-page): New vars.
7213 2000-06-21 Gerd Moellmann <gerd@gnu.org>
7215 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
7216 empty option string.
7218 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
7220 * man.el (man): Doc fix.
7222 2000-06-21 Kenichi Handa <handa@etl.go.jp>
7224 * international/mule-cmds.el (set-language-info-alist): Docstring
7227 2000-06-20 Gerd Moellmann <gerd@gnu.org>
7229 * version.el (emacs-version): Use ISO date format.
7231 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
7232 instead of `M-backspace'.
7234 * simple.el (turn-off-auto-fill): New function.
7236 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
7238 * jit-lock.el (with-buffer-prepared-for-jit-lock):
7239 Renamed from with-buffer-prepared-for-font-lock and use
7240 inhibit-modification-hooks rather than setting *-change-functions.
7241 Update all functions to use the new name.
7242 (jit-lock-first-unfontify-pos): New semantics (and doc).
7243 (jit-lock-mode): Make non-interactive.
7244 Don't automatically turn on font-lock.
7245 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
7246 Always use jit-lock-after-change.
7247 Remove and restore font-lock-after-change-function.
7248 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
7249 (jit-lock-after-unfontify-buffer): Remove.
7250 (jit-lock-stealth-fontify):
7251 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
7252 (jit-lock-after-change): Set the `fontified' text-prop to nil.
7254 2000-06-20 Sam Steingold <sds@gnu.org>
7256 * emacs-lisp/cl-indent.el (toplevel): Indent
7257 `print-unreadable-object' properly. Untabify.
7259 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
7261 * textmodes/reftex.el (reftex-find-citation-regexp-format):
7262 Support for bibentry.
7263 (reftex-compile-variables): Fixed problem with end of section-re.
7265 * texmodes/reftex-dcr.el (reftex-view-crossref,
7266 reftex-view-crossref-from-bibtex):
7267 Deal with changed `reftex-find-citation-regexp-format'.
7268 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
7269 Replaced `remprop' with `put'.
7270 (reftex-view-crossref, reftex-view-crossref-when-idle):
7271 Support for bibentry.
7273 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
7274 New entry for bibentry package.
7276 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
7277 Regexp also matches "\nobibliography".
7279 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
7280 Call `reftex-ensure-write-access' before doing anything.
7281 (reftex-ensure-write-access): New function.
7283 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
7285 * progmodes/idlwave.el: File re-installed (update to version 4.2)
7287 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
7289 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
7291 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
7294 2000-06-20 Dave Love <fx@gnu.org>
7296 * faces.el (frame-background-mode): Use set-default, not set, in
7298 (frame-update-faces, frame-update-face-colors): Define with
7301 * enriched.el (enriched-decode-foreground)
7302 (enriched-decode-background): Don't use internal-find-face.
7304 * apropos.el: Doc fixes.
7306 * cus-edit.el (customize-changed-options): Check arg.
7307 (customize-version-lessp): Don't require decimal point.
7309 * custom.el (defcustom, defgroup): Doc fix.
7311 * newcomment.el (comment) <defgroup>: Add :version.
7312 (comment-multi-line): Doc fix.
7314 * emulation/mlsupport.el (define-hooked-local-abbrev,
7315 define-hooked-global-abbrev): Fix, using define-abbrev.
7317 2000-06-19 Gerd Moellmann <gerd@gnu.org>
7319 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
7322 2000-06-19 Dave Love <fx@gnu.org>
7324 * menu-bar.el (menu-bar-options-save): New function.
7325 (menu-bar-options-menu): Use it.
7326 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
7329 2000-06-19 Andreas Schwab <schwab@suse.de>
7331 * progmodes/etags.el (tags-query-replace): Put new parameters
7332 START and END at the end, for backward compatibility.
7334 2000-06-19 Kenichi Handa <handa@etl.go.jp>
7336 * international/codepage.el:
7337 (cp-coding-system-for-codepage-1): Delete special codes for
7338 generating xxx-dos coding system because now a CCL based coding
7339 system can handle EOL conversion by default.
7341 * international/mule.el (make-coding-system): Generate subsidiary
7342 coding systems for EOL handling variants even for a CCL based
7345 2000-06-19 Kenichi Handa <handa@etl.go.jp>
7347 * international/isearch-x.el (isearch-minibuffer-input-method)
7348 (isearch-minibuffer-input-method-function): These variables
7350 (isearch-with-input-method): Don't use the above variables.
7351 (isearch-process-search-multibyte-characters): Likewise. Call
7352 read-string with the arg INHERIT-INPUT-METHOD t.
7354 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
7356 * font-lock.el (font-lock-after-fontify-buffer)
7357 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
7359 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
7360 Use consistent make-local-variable style for font-lock-fontified.
7361 (jit-lock-fontify-buffer):
7362 Don't bother checking for font-lock-mode and jit-lock-mode.
7364 * time.el: Remove trailing ^M that prevent CVS-merging.
7366 2000-06-16 Gerd Moellmann <gerd@gnu.org>
7368 * Makefile.in (distclean): New target.
7370 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
7372 * Makefile.in (srcdir): Define for update-subdirs.
7374 2000-06-16 Gerd Moellmann <gerd@gnu.org>
7376 * find-lisp.el: New file.
7378 2000-06-16 Andrew Innes <andrewi@gnu.org>
7380 * time.el (display-time-mail-function): New variable, to allow
7381 external packages to indicate when new mail is available.
7382 (display-time-update): Use it.
7384 2000-06-16 Kenichi Handa <handa@etl.go.jp>
7386 * international/mule.el (mule-version): Change version name to
7387 SAKAKI. AOI has already been used by Meadow.
7389 * international/quail.el (quail-show-guidance-buf): To find the
7390 bottom window (but minibuffer), pay attention to the height of
7393 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
7395 * arc-mode.el (archive-mode-map): Use the new menu-item format for
7396 menu-bar menus. Add help strings. Don't remove the Edit menu
7397 from the menu bar, as the menu bar has enough space now.
7399 * Makefile.in (SHELL): Make sure /bin/sh is used.
7401 * woman.el (woman-man-buffer): Fix bold and underlined CJK
7402 characters, which use series of two ^H characters instead of one.
7404 2000-06-15 Gerd Moellmann <gerd@gnu.org>
7406 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
7407 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
7409 (Info-find-node-2): Try a case-sensitive search first, then
7410 do a case-insensitive search.
7412 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
7415 * complete.el (PC-env-vars-alist): New variable.
7416 (PC-complete-as-file-name): New function.
7417 (partial-completion-mode): Initialize PC-env-vars-alist from
7418 process-environment.
7419 (PC-do-completion): Handle completion of env vars.
7421 * info.el (Info-set-mode-line): Show file name in mode line,
7422 use `*Info*' instead of `Info:'.
7424 * startup.el (command-line-1): Change copyright messages to year
7427 2000-06-15 Dave Love <fx@gnu.org>
7429 * net/goto-addr.el (goto-address-fontify): Use keymap property,
7432 2000-06-15 Kenichi Handa <handa@etl.go.jp>
7434 * international/mule.el (set-buffer-file-coding-system): Almost
7435 rewritten to handle `undecided' as no-op.
7437 2000-06-14 Gerd Moellmann <gerd@gnu.org>
7439 * Makefile.in: New file.
7441 * Makefile: Removed.
7443 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
7444 (goto-address-highlight-keymap): Bind C-c RET.
7446 2000-06-14 Kenichi Handa <handa@etl.go.jp>
7448 * mail/sendmail.el (sendmail-send-it): The temporary buffer
7449 inherits buffer-file-coding-system of the current buffer.
7451 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
7452 0. Give correct argument to set-auto-coding-function.
7453 (tar-expunge): For goto-char, use (point-min), not 0.
7454 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
7455 (tar-subfile-save-buffer): Likewize.
7457 * international/mule.el
7458 (after-insert-file-set-buffer-file-coding-system): Call
7459 set-buffer-file-coding-system with the arg FORCE t.
7461 2000-06-13 Gerd Moellmann <gerd@gnu.org>
7463 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
7464 nil. Contemporary sendmails issue an X-Authentication-Warning if
7465 the sender is set with `-f'.
7467 2000-06-13 Dave Love <fx@gnu.org>
7469 * help.el (describe-function-1): Kluge around cases of functions
7470 fset to subrs whose doc doesn't match their symbol-name.
7472 * image.el (insert-image): Default STRING to a space.
7474 * info.el Doc fixes.
7475 (Info-build-node-completions): Match Ref tags.
7477 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
7479 * frame.el (display-multi-frame-p, display-multi-font-p): New
7480 defaliases for display-graphic-p.
7482 * hl-line.el: Fixed a typo in commentary.
7484 2000-06-13 Kenichi Handa <handa@etl.go.jp>
7486 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
7489 2000-06-12 Dave Love <fx@gnu.org>
7491 * image.el (insert-image): Save a little consing.
7493 2000-06-12 Kenichi Handa <handa@etl.go.jp>
7495 * language/tibet-util.el: Convert all tibetan-1-column characters
7496 to the corresponding tibetan characters.
7497 (tibetan-add-components): Delete code for the special treatment of
7500 * language/tibetan.el (tibetan-composable-pattern): Fix previous
7502 (tibetan-vowel-transcription-alist): More rules added.
7503 (tibetan-composite-vowel-alist): New variable.
7504 (tibetan-precomposition-rule-alist): More rules added.
7506 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
7508 * startup.el (command-line): Only call menu-bar-mode if interactive.
7510 * thingatpt.el (toplevel symbol-properties):
7511 * textmodes/makeinfo.el (makeinfo-compile):
7512 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
7513 * progmodes/hideif.el (hif-compress-define-list)
7514 (hide-ifdef-use-define-alist):
7515 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
7516 (ange-ftp-vms-add-file-entry):
7517 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
7518 * man.el (Man-build-man-command):
7519 * mail/rnewspost.el (news-reply-header-hook):
7520 * info.el (Info-insert-dir):
7521 * emulation/mlconvert.el (backward-word, forward-word, setq):
7522 * emacs-lisp/gulp.el (gulp-send-requests):
7523 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
7524 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
7525 (byte-optimize-apply, end of file):
7526 * emacs-lisp/advice.el (ad-advice-class-completion-table)
7527 (ad-make-freeze-definition):
7528 * startup.el (command-line, command-line-1): Don't quote lambdas.
7530 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
7531 (cvs-cleanup-removed): New function.
7532 (cvs-cleanup-functions): New var.
7533 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
7534 some flexibility in specifying additional entries to auto-cleanup.
7535 (cvs-quickdir): New function.
7536 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
7537 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
7538 (cvs-mode-find-file): Check that we are on a filename or dirname
7539 when invoked through a mouse-click.
7540 (cvs-full-path): Remove.
7541 (cvs-dired-action): Re-introduced.
7542 (cvs-dired-noselect): Use it.
7543 (vc-post-command-functions): use this new hook if available.
7545 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
7546 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
7547 (cvs-filename-map, cvs-dirname-map): Remove.
7548 (cvs-default-action): Remove.
7549 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
7550 if the arg is really a keymap.
7551 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
7552 Don't hardcode the mapping from state (aka type) to face, but check
7553 the var cvs-fi-<type>-face instead.
7554 (cvs-fileinfo-from-entries): New function.
7556 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
7558 (cvs-find-file-and-jump): Change default to be safer.
7559 (cvs-mode-diff-map): Define it as a function as well.
7560 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
7561 Bind mouse-2 in this global map rather than with text-properties.
7563 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
7564 file to resolve the ambiguity between C(conflict) and C(need-merge).
7566 2000-06-12 Kenichi Handa <handa@etl.go.jp>
7568 * international/mule.el (set-buffer-file-coding-system): If
7569 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
7572 2000-06-12 Dave Love <fx@gnu.org>
7574 * wid-edit.el (widget-specify-button): Really suppress the face if
7577 2000-06-11 Gerd Moellmann <gerd@gnu.org>
7579 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
7581 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
7583 * imenu.el (imenu-generic-expression): Docstring fix.
7585 * composite.el (composition-function-table): Move the `put'
7586 below the autoload cookie so we can load the file before loaddefs.
7588 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
7590 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
7591 Handle easy-mmode-define-global-mode.
7592 For complex macros like define-minor-mode that can generate
7593 several autoload entries, try to autoload entries in the
7596 * emacs-lisp/easy-mmode.el (define-minor-mode):
7597 If KEYMAP is a symbol, just use it.
7598 Use byte-compile-current-file and load-file-name to infer the
7599 proper :require to pass to defcustom.
7600 Wrap the hook var into `progn' so as not to autoload it.
7601 Add a :autoload-end cookie.
7602 Be more careful about the evaluation of KEYMAP.
7603 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
7604 (define-derived-mode): Move define-abbrev-table outside of defvar.
7606 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
7608 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
7609 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
7610 (backup-compiled-files): Ignore errors during `tar'.
7611 (bootstrap): Make autoloads before elc files.
7613 2000-06-10 Kenichi Handa <handa@etl.go.jp>
7615 * international/mule.el (set-buffer-file-coding-system): If one of
7616 undecided-XXX is specified, change only EOL conversion.
7618 * international/mule-conf.el (unix): New alias for the coding
7619 system undecided-unix.
7621 2000-06-09 Dave Love <fx@gnu.org>
7623 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
7625 * progmodes/executable.el: Byte compile dynamic.
7626 (executable-insert): Change custom type.
7627 (executable-find): Add autoload cookie.
7628 (executable-make-buffer-file-executable-if-script-p): New
7629 function. After Noah Friedman.
7631 * files.el (after-save-hook): Customize, with
7632 executable-make-buffer-file-executable-if-script-p as an option.
7634 2000-06-09 Kenichi Handa <handa@etl.go.jp>
7636 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
7637 "tib24p-mule.bdf" for Tibetan.
7639 * composite.el (decompose-composite-char): Declare it as obsolete.
7641 * man.el (Man-fontify-manpage): Pay attention to underline and
7642 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
7644 2000-06-08 Gerd Moellmann <gerd@gnu.org>
7646 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
7647 Set maintainer to FSF since author isn't reachable.
7649 2000-06-08 Dave Love <fx@gnu.org>
7651 * international/mule-cmds.el (select-safe-coding-system): If
7652 DEFAULT-CODING-SYSTEM is not specified, also check the most
7653 preferred coding-system if buffer-file-coding-system is
7654 `undecided'. From Handa.
7656 2000-06-08 Kenichi Handa <handa@etl.go.jp>
7658 * international/mule.el
7659 (after-insert-file-set-buffer-file-coding-system): If the buffer
7660 size is greater than INSERTED, judget that we are not visiting.
7662 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
7664 * whitespace.el (defgroup whitespace): Comment out `:version'.
7665 XEmacs 20.4 has problems defining the group with this present.
7666 We'll have this commented out till get resolve the problem.
7668 2000-06-07 Gerd Moellmann <gerd@gnu.org>
7670 * align.el: Update from author.
7672 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
7674 * apropos.el (apropos-mode-hook): New user variable.
7675 (apropos-mode): Run apropos-mode-hook.
7677 2000-06-07 David Ponce <david@dponce.com>
7679 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
7680 commands. Require `wid-edit' at run-time.
7682 2000-06-07 David Ponce <david@dponce.com>
7684 * recentf.el: Added some "Commentary".
7685 (recentf-open-more-files, recentf-edit-list): Minor changes to
7686 move the point at the top of the file list. This behaviour is
7687 consistent with the menu one when the list contains a lot of
7689 (recentf-cleanup): Now displays the number of items removed from
7691 (recentf-relative-filter) New menu filter to show filenames
7692 relative to `default-directory'.
7694 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7696 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
7697 with/without giving an error if PostScript printer doesn't have this
7698 kind of page size. Zebra Stripe continues or restarts on next page.
7699 Manual/automatic paper feeding. Switch or not the header.
7700 (ps-print-version): New version number (5.2.2).
7701 (ps-windows-system): Include emx as a Windows system.
7702 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
7703 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
7704 (ps-background-text): Code fix.
7705 (ps-error-handler-message, ps-user-defined-prologue)
7706 (ps-print-prologue-header, ps-printer-name)
7707 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
7708 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
7709 (ps-use-face-background): Customization fix.
7710 (ps-n-up-database): Data fix.
7711 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
7712 (ps-switch-header): New vars.
7713 (ps-xemacs-color-name, ps-face-foreground-name)
7714 (ps-face-background-name, ps-boolean-constant): New funs.
7716 2000-06-07 Dave Love <fx@gnu.org>
7718 * allout.el: New version from Manheimer.
7720 2000-06-07 Kenichi Handa <handa@etl.go.jp>
7722 * textmodes/fill.el (fill-find-break-point): Check the validity of
7725 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7727 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
7728 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
7729 Call display-color-p and display-mouse-p instead of looking at
7732 2000-06-06 Dave Love <fx@gnu.org>
7734 * image.el (find-image): Doc fix. Return nil if image not found.
7735 (put-image, insert-image): Make STRING arg optional.
7737 2000-06-06 Kenichi Handa <handa@etl.go.jp>
7739 * language/vietnamese.el: Remove eval-when-compile.
7740 (viet-viscii-nonascii-translation-table): Define it as a
7741 translation table made from viet-viscii-decode-table.
7742 (viet-viscii-encode-table): Define it as a translation table made
7743 from the reverse map of above.
7744 (viet-vscii-nonascii-translation-table): Define it as a
7745 translation table made from viet-vscii-decode-table.
7746 (viet-vscii-encode-table): Define it as a translation table made
7747 from the reverse map of above.
7748 (ccl-decode-viscii): Use translate-character.
7749 (ccl-encode-viscii, ccl-encode-viscii-font)
7750 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
7753 * language/cyrillic.el: Remove eval-when-compile.
7754 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
7755 translation table made from cyrillic-koi8-r-decode-table.
7756 (cyrillic-koi8-r-encode-table): Define it as a translation table
7757 made from the reverse map of above.
7758 (ccl-decode-koi8): Use translate-character.
7759 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
7760 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
7761 a translation table made from cyrillic-alternativnyj-decode-table.
7762 (cyrillic-alternativnyj-encode-table): Define it as a translation
7763 table made from the reverse map of above.
7764 (ccl-decode-alternativnyj): Use translate-character.
7765 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
7768 * international/mule-diag.el (non-iso-charset-alist): Specify
7769 translation table symbol instead of translation table itself.
7770 (list-block-of-chars): CHARSET may be a translation table symbol.
7772 * international/mule.el (make-coding-system): If CODING-SYSTEM
7773 already exists, override it.
7775 * international/fontset.el: Use family `proportional' for Tibetan
7778 * international/ccl.el (ccl-compile-translate-character): Don't
7779 check if Rrr has property translation-table.
7780 (ccl-compile-map-multiple): Modified to avoid compiler warning.
7782 2000-06-05 Gerd Moellmann <gerd@gnu.org>
7784 * info.el: Bind case-fold-search to t when searching in case
7785 a user sets it to nil in a hook.
7787 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
7789 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7790 * hl-line.el (hl-line-mode): Use the new :global key argument.
7792 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
7793 (tar-clip-time-string): Prepend a space.
7794 (tar-grind-file-mode): Construct a string rather than modifying one.
7795 (tar-header-block-summarize): Fix docstring.
7796 Use `format' rather than an error-prone set of copy-loops.
7798 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
7799 (diff-goto-source, diff-unified->context, diff-context->unified)
7800 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
7801 understand the format output by the `-p' argument to diff.
7803 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
7804 (sh-re-done): Use defconst.
7805 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
7806 (sh-help-string-for-variable, sh-guess-basic-offset):
7807 Don't quote lambdas.
7808 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
7809 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
7811 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
7812 (mh-letter-mode): Derive from text-mode.
7813 This implicitly means that it now calls kill-all-local-variables.
7814 Also remove the Emacs-18 compatibility code.
7816 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
7817 Make use of symbol-property doc-string-elt.
7818 Use memq rather than a sequence of eq.
7819 (doc-string-elt): Fix the wrong or missing previously unused values.
7820 (autoload-print-form): New function extracted from
7821 generate-file-autoloads to allow recursion when handling progn
7822 so that defvar's and defun's docstrings are properly printed.
7823 (generate-file-autoloads): Use it.
7825 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
7826 Use find-file-hooks in the minor-mode function.
7827 Be careful not to loop indefinitely in the post-command-hook function.
7829 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
7831 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
7833 * ediff-diff.el (ediff-exec-process): Use --binary for fine
7834 differences whenever appropriate.
7835 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
7836 * viper.el (find-file, find-file-other-window): Get viper to do
7839 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
7841 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
7842 (jit-lock-fontify-buffer): New function for JIT refontification.
7843 (jit-lock-mode): Fix docstring.
7844 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
7845 Remove jit-lock-after-change from the _local_ hook.
7846 (jit-lock-function-1): Fix docstring.
7848 * info.el (Info-on-current-buffer): Initialize info.
7850 * newcomment.el (comment-indent): Ignore comment-indent-hook.
7852 * progmodes/tcl.el (tcl-indent-for-comment):
7853 Ignore comment-indent-hook.
7855 * emacs-lisp/easy-mmode.el: Require CL during compilation.
7856 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
7857 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
7858 and improve to use the lighter to guess the capitalization.
7859 (define-minor-mode): Inline code from easy-mmode-define-toggle.
7860 Add keyword arguments to specify global-ness or the custom group.
7861 Add local-map and help-echo properties to the lighter.
7862 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
7863 (easy-mmode-define-global-mode): New macro.
7865 2000-06-02 Dave Love <fx@gnu.org>
7867 * wid-edit.el: byte-compile-dynamic since we typically don't use
7868 all the widgets. Don't require cl or widget. Remove
7869 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
7870 (widget-read-event): Removed. Callers changed to use read-event.
7871 (widget-button-release-event-p): Renamed from
7872 button-release-event-p.
7873 (widget-field-add-space, widget-field-use-before-change):
7875 (widget-specify-field): Use keymap property, not local-map.
7876 (widget-specify-button): Obey :suppress-face.
7877 (widget-specify-insert): Use modern backquote syntax.
7878 (widget-image-directory): Renamed from widget-glyph-directory.
7879 (widget-image-enable): Renamed from widget-glyph-enable.
7880 (widget-image-find): Replaces widget-glyph-find.
7881 (widget-button-pressed-face): Move defvar.
7882 (widget-image-insert): Replaces widget-glyph-insert.
7883 (widget-convert): Use keywordp.
7884 (widget-leave-text, widget-children-value-delete): Use mapc.
7885 (widget-keymap): Remove XEmacs stuff.
7886 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
7887 (widget-button-click): Don't set point at the click, but re-centre
7888 if we scroll out of window. Rewritten for images v. glyphs &c.
7889 (widget-tabable-at): Use POS arg, not point.
7890 (widget-beginning-of-line, widget-end-of-line)
7891 (widget-item-value-create, widget-sublist, widget-princ-to-string)
7892 (widget-sexp-prompt-value, widget-echo-help): Simplify.
7893 (widget-default-create): Use widget-image-insert; some rewriting.
7894 (widget-visibility-value-create)
7895 (widget-push-button-value-create, widget-toggle-value-create): Use
7896 widget-image-insert.
7897 (checkbox): Create on and off images dynamically.
7898 (documentation-link): Change :help-echo.
7899 (widget-documentation-link-echo-help): Remove.
7901 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
7903 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
7905 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
7906 (easy-mmode-define-toggle, define-minor-mode): Use it.
7907 (easy-mmode-define-keymap): Docstring fix.
7908 (define-derived-mode): Default PARENT to fundamental-mode.
7909 Add the derived-mode-parent symbol-property.
7910 (easy-mmode-derived-mode-p): New function.
7912 2000-06-02 Dave Love <fx@gnu.org>
7914 * files.el (convert-standard-filename): Doc fix.
7915 (normal-backup-enable-predicate): New function.
7916 (backup-enable-predicate): Use it to replace the lambda form.
7918 * calendar/todo-mode.el: [This needs more work on the outline
7920 (todo) <defgroup>: Add :version.
7921 (todo-add-category): Don't use pushnew.
7922 (todo-cmd-raise): Fix typo.
7923 (todo-top-priorities): Change temp buffer name.
7924 (todo-category-alist): Avoid redundant lambda.
7925 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
7926 Use outline-next-heading.
7928 * autoarg.el: Rewritten to use define-minor-mode.
7929 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
7930 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
7932 2000-06-02 Kenichi Handa <handa@etl.go.jp>
7934 * isearch.el (isearch-other-meta-char): Fix previous change.
7936 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
7938 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
7939 (log-edit-done): Only add the comment to the ring if it's different
7940 from the last comment entered.
7942 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
7944 2000-06-01 Dave Love <fx@gnu.org>
7946 * hl-line.el: Rewritten using define-minor-mode.
7948 * help.el (describe-function-1): Distinguish special form from
7949 builtin function. Sanity-check presence of arglist for builtins.
7951 2000-06-01 Kenichi Handa <handa@etl.go.jp>
7953 * international/characters.el: Fix syntax/category setting of
7956 * language/tibet-util.el (tibetan-add-components): Fixes for new
7957 encoding of Tibetan characters.
7958 (tibetan-decompose-precomposition-alist): New variable.
7959 (tibetan-decompose-region): Convert precomposed characters to
7960 non-precomposed characters.
7961 (tibetan-decompose-string): Likewise.
7962 (tibetan-composition-function): Fix args to
7963 thibetan-compose-string.
7965 * language/tibetan.el (tibetan-composable-pattern): More
7966 characters included.
7967 (tibetan-consonant-transcription-alist): Rule for "R" added.
7968 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
7970 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
7972 * language/lao-util.el (lao-composition-function): Fix args to
7975 * language/thai-util.el (thai-composition-function): Fix args to
7978 * isearch.el (isearch-update): Set disable-point-adjustment to t
7979 to prevent the point moving to the end of a composition when a
7980 part of a composition is searched.
7981 (isearch-other-meta-char): If the key invoking this command can be
7982 mapped by function-key-map to a printing char, call
7983 isearch-process-search-char directly.
7985 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
7987 * emacs-lisp/bytecomp.el:
7989 * international/mule-cmds.el:
7990 * international/mule-util.el:
7991 * international/mule.el:
7994 * faces.el: Update calls to make-obsolete with a WHEN argument.
7996 * byte-run.el (make-obsolete, make-obsolete-variable):
7997 Add an optional WHEN argument and change the format of the
7998 symbol-property information.
7999 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
8000 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
8001 new obsolete-symbol-property format and print WHEN if it is provided.
8003 2000-05-31 Dave Love <fx@gnu.org>
8005 * loadhist.el (loadhist-hook-functions): Remove
8006 before-change-function, after-change-function.
8007 (unload-feature): Deal with symbols which are both bound and
8010 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
8011 before-change-function, after-change-function.
8013 * simple.el (newline): Don't bind before-change-function,
8014 after-change-function.
8016 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
8018 * whitespace.el (whitespace-rescan-timer-time): Update interval
8019 set to 600 seconds (10 minutes) instead of 60 seconds since
8020 a large number of whitespace buffers causes emacs to `freeze'
8021 for a considerable amount of time.
8023 * whitespace.el: Updated email address
8025 2000-05-31 Dave Love <fx@gnu.org>
8027 * add-log.el (change-log-font-lock-keywords) <function>: Add
8028 pattern for function of change.
8029 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
8030 acknowledgements patterns.
8032 2000-05-31 Kenichi Handa <handa@etl.go.jp>
8034 * isearch.el (isearch-printing-char): If keyboard coding system is
8035 being used, call isearch-process-search-multibyte-characters.
8037 * international/isearch-x.el: Mostly rewritten.
8039 * international/quail.el (quail-start-conversion): Don't include
8040 unhandled events in the returned events, but set them in
8041 unread-command-events. Exit if all inputs are deleted.
8043 2000-05-30 Jason Rumney <jasonr@gnu.org>
8045 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
8047 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
8048 Reenable code to create initial fontsets.
8049 Use set-fontset-font in place of put-charset-property.
8051 2000-05-30 Gerd Moellmann <gerd@gnu.org>
8053 * progmodes/perl-mode.el (perl-indent-line): When looking for a
8054 label, ensure that the first colon isn't followed by another.
8056 * paths.el (Info-default-directory-list): Doc fix.
8058 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
8059 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
8060 send a query containing USER only, not USER@HOST.
8062 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
8063 and rmail-msgend to compute the restriction at the end, instead of
8066 2000-05-29 Gerd Moellmann <gerd@gnu.org>
8068 * dabbrev.el (dabbrev-expand): Don't display messages in the
8069 echo area if the minibuffer window is active.
8071 * jit-lock.el (jit-lock-mode): Add after change function to
8074 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
8076 * antlr-mode.el: New commands: hide/unhide actions,
8077 upcase/downcase literals.
8078 (antlr-tiny-action-length): New user option.
8079 (antlr-hide-actions): New command. Suggested by
8080 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
8081 (antlr-mode-map): New binding [C-c C-v].
8082 (antlr-mode-menu): New entries.
8083 (antlr-downcase-literals): New command.
8084 (antlr-upcase-literals): Ditto.
8086 * antlr-mode.el: Minor changes: indendation, mode-name.
8087 (antlr-indent-line): Indent cpp directive at column 0.
8088 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
8090 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
8091 (antlr-font-lock-additional-keywords): Workaround for intentional
8092 bug in XEmacs version of font-lock.
8093 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
8094 be used by a smarter version of `buffers-menu-grouping-function'.
8096 2000-05-29 Gerd Moellmann <gerd@gnu.org>
8098 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
8099 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
8101 2000-05-29 Kenichi Handa <handa@etl.go.jp>
8103 * international/encoded-kb.el
8104 (encoded-kbd-iso2022-designation-map): Pay attention to that
8105 charset-iso-final-char return -1 for eight-bit-control and
8108 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
8110 * speedbar.el (speedbar-use-images, speedbar-update-flag)
8111 (speedbar-easymenu-definition-base): Use display-graphic-p where
8112 available, instead of window-system.
8114 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
8116 * international/codepage.el (cp-coding-system-for-codepage-1): Add
8117 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
8120 2000-05-26 Dave Love <fx@gnu.org>
8122 * disp-table.el (standard-display-underline): Don't use
8125 * mail/reporter.el: Maintainer change. Doc fixes.
8126 (reporter-version): Deleted.
8128 * emacs-lisp/elp.el: Maintainer change.
8129 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
8131 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
8133 * add-log.el (add-change-log-entry): Merge the current entry with the
8134 previous one if the previous one is empty.
8136 2000-05-26 Dave Love <fx@gnu.org>
8138 * loadhist.el (unload-feature): Fix interactive spec [from
8139 lijnzaad@ebi.ac.uk].
8141 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
8142 subr-arity to check primitives.
8143 (byte-compile-flush-pending, byte-compile-file-form-progn)
8144 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
8145 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
8148 2000-05-26 Kenichi Handa <handa@etl.go.jp>
8150 * international/fontset.el: Set family names of non-latin charsets
8151 in default fontset to "*".
8153 * international/mule-diag.el (print-fontset): Combine family part
8154 and registry part of the fontname by "-*-" instead of "-".
8156 * international/mule-cmds.el (encode-coding-char): Make strings
8157 multibyte before calling encode-coding-string.
8159 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
8161 * derived.el: Fix keywords.
8162 (define-derived-mode): Only define if needed.
8164 * simple.el (fill-comment, comment-column, comment-start)
8165 (comment-start-skip, comment-end, comment-indent-function)
8166 (block-comment-start, block-comment-end, indent-for-comment)
8167 (set-comment-column, kill-comment, comment-padding, comment-region)
8168 (comment-multi-line, indent-new-comment-line): Remove.
8170 * bindings.el (esc-map): Change ; to comment-dwim and use the new
8171 function names for comment operations.
8173 * newcomment.el: Add abundant autoload cookies.
8174 (comment-style): Don't depend on runtime data at compile-time.
8175 (comment-indent-hook): Remove.
8176 (comment-indent): Check if comment-indent-hook is bound.
8177 (comment-region): Docstring fix.
8179 2000-05-25 Dave Love <fx@gnu.org>
8181 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
8182 byte-code-function-p.
8184 * mail/rmailsum.el: Add provide.
8186 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
8188 * smerge-mode.el (smerge-diff-switches): Don't use list* in
8191 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
8193 * ediff-diff.el (ediff-exec-process): delete --binary option from
8194 non-buffer ediff jobs.
8196 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8198 * hilit-chg.el (highlight-changes-mode): Ask about color or
8199 grayscale support, not about window-system.
8201 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
8203 (ffap-highlight): Always default to t.
8205 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
8206 display-popup-menus-p instead of looking at window-system.
8208 * disp-table.el (standard-display-g1, standard-display-graphic):
8209 Only refuse to use string glyphs on X and MS-Windows.
8211 * avoid.el: Remove window-system from commentary, suggest to use
8212 display-*-p instead.
8214 * apropos.el (apropos-print): Use display-mouse-p instead of
8217 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8219 * international/codepage.el (cp-decoding-vector-for-codepage):
8220 Fill up unsupported characters with their own codes. From Kenichi
8223 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8225 * international/mule-diag.el (describe-char-after): Use
8226 display-graphic-p instead of window-system, so that this function
8229 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8231 * international/codepage.el (cp-make-coding-systems-for-codepage):
8232 Remove the eight-bit-graphic and eight-bit-control charsets from
8233 the list of charsets which we convert into `?'.
8235 2000-05-25 Kenichi Handa <handa@etl.go.jp>
8237 * international/mule-conf.el: Specify CHARSET-ID explicitely for
8239 (mule-unicode-0100-24ff, japanese-jisx0213-1,
8240 japanese-jisx0213-2): New charsets.
8242 * international/fontset.el: Setup default fontset for new charsets.
8244 2000-05-24 Dave Love <fx@gnu.org>
8246 * info.el (Info-find-node-2): Restructure [following "Vadim
8247 S. Solomin" <sovs@uic.nnov.ru>].
8249 * icomplete.el: Fix header for Finder.
8251 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
8253 * rmailout.el (rmail-output-to-rmail-file): Added optional param
8256 * rmail.el (rmail-automatic-folder-directives): New user variable.
8257 (rmail-show-message): Add call to `rmail-auto-file' during
8259 (rmail-auto-file): New function.
8261 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
8263 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
8265 (ediff-test-utility,ediff-diff-mandatory-option)
8266 (ediff-reset-diff-options): Utilities for proper initialization of
8267 ediff-diff-options and ediff-diff3-options on Windows.
8269 * ediff-init.el (ediff-merge-filename-prefix): New customizable
8272 * ediff-mult.el (ediff-filegroup-action): Use
8273 ediff-merge-filename-prefix.
8275 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
8277 * viper-ex.el (ex-write): Set selective display to nil.
8279 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
8281 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
8282 aliases for hebrew-iso-8bit.
8284 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
8286 * woman.el: New version from Francis J. Wright
8287 <F.J.Wright@Maths.QMW.ac.uk>.
8288 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
8289 names in environment variables regardless of the path separator.
8290 (woman-topic-all-completions-1): Don't call file-name-directory-p
8291 on all files, since woman-file-regexp already filters out any
8294 2000-05-24 Kenichi Handa <handa@etl.go.jp>
8296 * international/quail.el (quail-start-translation): Don't change
8297 modified-p of the current buffer.
8298 (quail-start-conversion): Likewise.
8300 * international/kkc.el (kkc-region): Don't change modified-p of
8303 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
8305 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
8307 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
8309 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
8310 (speedbar-insert-button): Invisible text property fix.
8311 (speedbar-directory-plus): Renamed from speedbar-directory-+
8312 (speedbar-directory-minus): Renamed from speedbar-directory--
8313 (speedbar-page-plus): Renamed from speedbar-file-+
8314 (speedbar-page-minus): Renamed from speedbar-file--
8315 (speedbar-page): Renamed from speedbar-file-
8316 (speedbar-tag): Renamed from speedbar-tag-
8317 (speedbar-tag-plus): Renamed from speedbar-tag-+
8318 (speedbar-tag-minus): Renamed from speedbar-tag--
8319 (speedbar-expand-image-button-alist): Use above renames.
8321 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
8322 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
8323 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
8324 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
8325 * sb-pg.xpm: Renamed from sb-file.xpm
8326 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
8327 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
8329 2000-05-24 Kenichi Handa <handa@etl.go.jp>
8331 * international/quail.el (quail-show-guidance-buf): Set
8332 current-input-method of the guidance buffer to the name of the
8333 curren input method.
8335 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
8337 * progmodes/compile.el (compile-internal): Style typo.
8339 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
8340 quote vars and functions in the docstring.
8342 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
8344 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
8345 Don't quote lambdas.
8347 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
8349 2000-05-23 Gerd Moellmann <gerd@gnu.org>
8351 * startup.el (command-line): Determine source file of compiled
8352 user init file differently. Warn if compiled user init file
8353 is older than its source file.
8355 * ffap.el (ffap-url-regexp): Add `https'.
8357 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
8359 * files.el (make-backup-file-name-1): Replace slashes with `!'
8360 rather than `|' (which is not allowed on Windows). Replace the
8361 drive letters with a string "drive_X".
8363 2000-05-23 Gerd Moellmann <gerd@gnu.org>
8365 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
8367 * files.el (interpreter-mode-alist): Add `bash2'.
8369 2000-05-22 Dave Love <fx@gnu.org>
8371 * loadhist.el (feature-symbols, file-provides, file-requires): Use
8373 (feature-file): Avoid calling symbol-name. Doc fix.
8374 (file-set-intersect, file-dependents): Use dolist, not mapcar.
8375 (loadhist-hook-functions): Add mouse-position-function.
8376 (unload-feature): Change uses of mapcar.
8378 * files.el (parse-colon-path): Doc fix.
8379 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
8380 (set-auto-mode): Use mapc.
8382 * complete.el (PC-look-for-include-file): Use :alnum: character
8384 (partial-completion-mode): Add autoload cookie.
8386 2000-05-22 Sam Steingold <sds@gnu.org>
8388 * info.el (Info-fontify-node): Fixed the call to
8389 `add-text-properties' (bug introduced on 2000-05-18).
8391 2000-05-22 Dave Love <fx@gnu.org>
8393 * bindings.el: Remove debug-ignored-errors set in other files.
8395 * progmodes/etags.el: Add to debug-ignored-errors.
8396 (visit-tags-table-buffer): Clear out buffers holding old tables
8397 when making a new list.
8398 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
8401 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
8403 (cmpl-string-case-type): Use character classes.
8406 * textmodes/ispell.el:
8409 * progmodes/compile.el: Add to debug-ignored-errors.
8411 * dabbrev.el: Add to debug-ignored-errors.
8412 (dabbrev-completion): Use mapc.
8414 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
8416 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
8417 (woman-mapcan, woman-parse-man.conf)
8418 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
8419 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
8420 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
8422 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
8423 (woman-manpath): Call woman-parse-man.conf.
8424 (woman-emulation): New defcustom, defaults to nroff.
8425 (woman-font-support): New defconst.
8426 (woman-use-symbol-font): New defcustom.
8427 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
8429 Many functions: Doc fix.
8431 2000-05-22 Kenichi Handa <handa@etl.go.jp>
8433 * international/quail.el (quail-simple-translation-keymap): Map
8434 128..255 to quail-self-insert-command.
8435 (quail-keyboard-layout-alist): Add definition for "pc102-de".
8437 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
8439 * help.el (help-manyarg-func-alist): Typo.
8441 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
8442 intervals which makes it heaps simpler.
8444 * newcomment.el (comment-region-internal): Go back to BEG after quoting
8445 the nested comment markers.
8447 * subr.el (remove-hook): Don't turn the hook's value into a list.
8449 2000-05-21 Dave Love <fx@gnu.org>
8451 * edmacro.el (edmacro-parse-keys): Return vector if any elements
8452 are invalid characters.
8454 * international/mule-util.el (detect-coding-with-priority): Use
8455 mapc. Remove redundant lambda.
8457 * international/mule-diag.el (list-non-iso-charset-chars)
8458 (describe-fontset): Remove redundant lambda.
8460 * emulation/crisp.el (brief-mode): New alias.
8462 * emacs-lisp/ring.el (ring-elements): New function.
8464 * emacs-lisp/easymenu.el (easy-menu-create-menu)
8465 (easy-menu-do-add-item): Use keywordp.
8467 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
8469 * replace.el: Doc and error message fixes.
8470 (replace-highlight): Use facep, not internal-find-face.
8472 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
8474 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
8476 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
8477 (log-edit-insert-changelog): Drop `:' as well.
8479 * log-view.el: Fix file description.
8480 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
8482 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
8483 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
8485 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
8486 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
8487 Print a status message if the toggle is called interactively.
8488 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
8489 for global minor modes and use `defcustom' for them.
8491 (easy-mmode-define-derived-mode): Remove.
8492 (define-derived-mode): Fancier default docstring.
8493 (easy-mmode-define-navigation): Signal an error rather than (ding).
8495 * newcomment.el (comment-styles): New `box-multi'.
8496 (comment-normalize-vars): Better default for comment-continue to
8497 avoid whitespace-only continuations.
8498 (comment-search-forward): Always move even in the no-syntax case.
8499 (comment-padright): Only obey N if it's only obeyed for padleft.
8500 (comment-make-extra-lines): Better handling of empty continuations.
8501 Use `=' for the filler if comment-start has only one character.
8502 (uncomment-region): Try handling the special `=' filler.
8503 (comment-region): Allow LINES even if MULTI is nil.
8504 (comment-box): Choose box style based on comment-style.
8506 2000-05-20 Kenichi Handa <handa@etl.go.jp>
8508 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
8509 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
8511 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
8513 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
8514 and insert, not subst-char-in-region.
8516 * international/mule-diag.el (list-character-sets-1): Handle
8517 charsets eight-bit-control and eight-bit-graphic.
8518 (list-iso-charset-chars): Likewise.
8519 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
8520 charactes as is. Use indent-to to align characters.
8522 * international/mule-cmds.el (find-multibyte-characters): Never
8523 exclude charsets eight-bit-control and eight-bit-graphic.
8525 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
8527 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
8528 Don't quote lambdas.
8530 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
8532 2000-05-19 Gerd Moellmann <gerd@gnu.org>
8534 * gud.el (gud-jdb-directories): Doc fix.
8536 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
8538 * newcomment.el: New file.
8540 2000-05-19 Gerd Moellmann <gerd@gnu.org>
8542 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
8544 2000-05-18 Andreas Schwab <schwab@suse.de>
8546 * dired.el (dired-between-files): Also skip lines beginning with
8549 2000-05-18 Gerd Moellmann <gerd@gnu.org>
8551 * msb.el (msb-menu-cond): Add choice `user'.
8553 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8555 * ps-print.el: Compatibility, customization and doc fix.
8556 (ps-printer-name-option): Replace defconst by defvar.
8557 (ps-postscript-code-directory): XEmacs compatibility.
8558 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
8560 (ps-user-defined-prologue, ps-print-prologue-header)
8561 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
8562 compatibility and code fix.
8563 (ps-print-background-image, ps-print-background-text):
8565 (ps-line-number-start, ps-n-up-on): New vars.
8567 2000-05-18 Espen Skoglund <esk@ira.uka.de>
8569 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
8570 the indent-comment function to just return the appropriate indent.
8572 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
8574 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
8575 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
8576 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
8578 2000-05-18 Dave Love <fx@gnu.org>
8580 * info.el (Info-fontify-node): Add intangible property as well as
8583 * calendar/appt.el (appt-make-list): Match all lines of entry.
8584 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
8586 2000-05-18 Kenichi Handa <handa@etl.go.jp>
8588 * international/mule-diag.el (describe-char-after): Call
8589 internal-char-font, not char-font. If internal-char-font returns
8590 nil, display "-- none --".
8592 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
8594 * image.el (image-type-available-p): Don't reference image-types
8597 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
8599 * autoarg.el (autoarg-mode): Typo in the :set argument.
8601 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
8603 * startup.el (command-line-1): Don't signal an error if the
8604 directory for auto-save-list files does not yet exist.
8606 2000-05-17 Kenichi Handa <handa@etl.go.jp>
8608 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
8610 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
8612 * subr.el (remove-hook): `setq' hook-value, not `set'.
8614 2000-05-16 Sam Steingold <sds@gnu.org>
8616 * info.el (debug-ignored-errors): More errors to ignore.
8618 2000-05-16 Dave Love <fx@gnu.org>
8620 * cus-edit.el: Don't require cl or easymenu.
8621 (custom-variable-prompt): Test standard-value property, not
8624 2000-05-16 Sam Steingold <sds@gnu.org>
8626 * subr.el (add-hook): `setq' hook-value, not `set'.
8628 2000-05-16 Gerd Moellmann <gerd@gnu.org>
8630 * startup.el (command-line-1): Mention the FAQ in the startup
8633 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
8635 * progmodes/compile.el (compilation-parse-errors): Collect
8636 `nomessage' regexps last.
8638 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
8640 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
8641 to the function name.
8643 2000-05-15 Dave Love <fx@gnu.org>
8645 * speedbar.el (speedbar-recenter): Typo.
8646 (speedbar-expand-line): Make arg optional.
8647 (speedbar-mode): Avoid a compiler warning.
8649 2000-05-15 Gerd Moellmann <gerd@gnu.org>
8651 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
8652 user-specified option string is empty.
8654 * mouse.el (mouse-yank-at-click): Doc fix.
8656 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
8658 * term/internal.el (IT-character-translations): More updates of
8659 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
8662 2000-05-15 Gerd Moellmann <gerd@gnu.org>
8664 * env.el (getenv): New function, interactively callable.
8665 (setenv, getenv): Remove autoload cookies.
8667 * loadup.el: Load `env'.
8669 * progmodes/f90.el: Change author's mail address.
8671 2000-05-14 Dave Love <fx@gnu.org>
8673 * mail/rmail.el (rmail-show-message-hook): Customize and offer
8674 goto-addr as an option.
8676 * help.el (help-xref-stack): Doc fix.
8677 (help-xref-following): New variable.
8678 (help-make-xrefs): Use it.
8679 (help-xref-go-back): Use position information from stack element.
8680 (help-follow): Make position in stack element a pair. Use
8681 help-xref-following.
8683 * autoarg.el: New file.
8685 * faces.el: Declare more functions obsolete.
8687 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
8688 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
8689 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
8690 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
8691 Remove all the setup-...-environment functions.
8693 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
8695 * speedbar.el: Updated the commentary section. xemacs20p now uses
8696 >= when detecting. Require `defimage' safely.
8697 (speedbar-easymenu-definition-base): Add toggle for images.
8698 (speedbar-easymenu-definition-special): Add flush cache & expand.
8699 (speedbar-visiting-tag-hook): Set new defaults. Added options.
8700 (speedbar-reconfigure-keymaps-hook): New variable.
8701 (speedbar-frame-parameters): Updated documentation.
8702 (speedbar-use-imenu-flag): Updated custom tag
8703 (speedbar-dynamic-tags-function-list): New variable.
8704 (speedbar-tag-hierarchy-method): Updated doc & custom.
8705 (speedbar-indentation-width, speedbar-indentation-width) New
8707 (speedbar-hide-button-brackets-flag): Customizable.
8708 (speedbar-vc-indicator): Doc update.
8709 (speedbar-ignored-path-expressions): Updated default value.
8710 (speedbar-supported-extension-expressions): Updated default value.
8711 (speedbar-syntax-table): Remove {} paren status.
8712 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
8713 as "+". Added overlay aliases.
8714 (speedbar-mode): Use `speedbar-mode-line-update' instead of
8715 `force-mode-line-update'.
8716 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
8717 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
8719 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
8720 (speedbar-item-info-tag-helper): Revamped to handle a wider range
8721 of arbitrary text, and new helper functions.
8722 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
8724 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
8725 (speedbar-directory-buttons): Update path search/expansion.
8726 (speedbar-make-tag-line): Pay attention to
8727 `speedbar-indentation-width'. Use more care w/ invisible
8729 (speedbar-change-expand-button-char): Call
8730 `speedbar-insert-image-button-maybe'.
8731 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
8732 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
8733 (speedbar-trim-words-tag-hierarchy)
8734 (speedbar-simple-group-tag-hierarchy): New functions
8735 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
8736 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
8738 (speedbar-mouse-set-point): New function
8739 (speedbar-power-click): Updated documentation.
8740 (speedbar-line-token, speedbar-goto-this-file): Handle more types
8742 (speedbar-expand-line, speedbar-contract-line): Make more robust
8744 (speedbar-expand-line): Takes universal argument to flush the
8746 (speedbar-flush-expand-line): New function.
8747 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
8748 Use new generator insertion method.
8749 (speedbar-fetch-dynamic-tags): New function.
8750 (speedbar-fetch-dynamic-imenu): Removed code now handled in
8751 `speedbar-fetch-dynamic-imenu'.
8752 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
8753 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
8754 "Revert Buffer" menu items.
8755 (speedbar-buffer-buttons-engine): Be smarter when creating a
8756 filename tag (for expansion purposes.).
8757 (speedbar-highlight-one-tag-line,
8758 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
8759 (speedbar-recenter): New functions.
8760 (defimage-speedbar): Image loading abstraction.
8761 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
8762 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
8763 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
8764 (speedbar-tag-type, speedbar-tag-mail): New images.
8765 (speedbar-expand-image-button-alist): New variable.
8766 (speedbar-insert-image-button-maybe): Insert an image over some
8769 2000-05-13 Kenichi Handa <handa@etl.go.jp>
8771 * international/mule-cmds.el (encode-coding-char): An ASCII
8772 character is always encodable.
8774 * international/mule-conf.el: Add more information in descriptions
8777 * international/mule-diag.el (describe-char-after): New function.
8778 (describe-font-internal): Adjusted for the change of font-info.
8779 (describe-font): Likewise.
8780 (print-fontset): Rewritten for the new fontset implementation.
8781 (describe-fontset): Include fontset alias names in completion.
8782 (list-fontsets): Adjusted for the change of print-fontset.
8784 * simple.el (what-cursor-position): If DETAIL is non-nil, call
8785 describe-char-after instead of displaying the detail in the echo
8787 (syntax-code-table): Format changed.
8788 (string-to-syntax): Adjusted for the above change.
8790 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
8792 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
8794 2000-05-12 Dave Love <fx@gnu.org>
8796 * calendar/todo-mode.el: Remove some compatibility stuff and CL
8797 dependence. Use line-{beginning,end}-position, not
8798 point-at{b,e}ol. Some doc fixes.
8799 (todo-position): New function. Fix callers of position to use it.
8800 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
8802 2000-05-12 Gerd Moellmann <gerd@gnu.org>
8804 * time.el (display-time-mail-icon): Use `:ascent center'.
8806 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
8807 handling FTP security extensions.
8809 2000-05-11 Dave Love <fx@gnu.org>
8811 * calendar/todo-mode.el: New file.
8813 2000-05-11 Gerd Moellmann <gerd@gnu.org>
8815 * comint.el (comint-read-input-ring): Move reference to
8816 comint-input-ring-size outside of the save-excursion. It was
8817 causing the default value to be the only one ever seen.
8819 * font-lock.el: Update copyright. Remove Simon Marshall's email
8820 address on request from him.
8822 * subr.el (substitute-key-definition): Add comment describing
8823 the meaning of PREFIX.
8825 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
8827 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
8829 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
8830 (add-minor-mode): Don't make the variable buffer-local and add a
8831 reference to define-minor-mode in the docstring.
8833 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
8834 HEADER/FOOTER and fix bug with trailing empty directory.
8835 (cvs-append-to-ignore): Use vc-editable-p if available.
8836 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
8837 (vc-do-command): Tweak advice to handle the new VC.
8839 * log-view.el (log-view-goto-rev): New function for the new VC.
8840 (log-view-minor-wrap): Use mark-active.
8842 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
8843 (log-edit-changelog-full-paragraphs): New var.
8844 (log-edit-insert-changelog): Remove a lonely leading `* file'.
8845 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
8846 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
8847 (log-edit-changelog-ours-p, log-edit-changelog-entries)
8848 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
8849 Replace the `cvs' prefix with `log-edit'.
8851 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
8853 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
8854 (diff-font-lock-defaults): Explicitly turn off multiline.
8855 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
8856 (diff-ediff-patch): Fix call to ediff-patch-file.
8857 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
8860 * frame.el (automatic-hscrolling): Typo.
8862 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
8864 2000-05-09 Sam Steingold <sds@goems.com>
8866 * apropos.el (apropos-print): use `describe-face' instead of
8867 `customize-face-other-window'.
8869 2000-05-09 Dave Love <fx@gnu.org>
8871 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
8873 * help.el (describe-variable): Have customize button pop the
8874 help-xref stack when invoked.
8875 (help-xref-symbol-regexp): Add `face'.
8876 (help-make-xrefs): Check for quoted face names and adapt regexp
8877 submatch numbers to cope.
8878 (help-xref-interned): Maybe insert face doc too. Separate
8879 sections with a line of hyphens.
8881 * faces.el: Some doc fixes. Declare some functions obsolete.
8882 (describe-face): Add customize button. Return the help
8885 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
8887 * term/internal.el (IT-character-translations): Fix last change.
8889 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
8891 * woman.el: New file
8892 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
8894 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
8896 * term/internal.el (IT-character-translations): Update ASCII
8897 simulations for greek-iso8859-7, add latin-iso8859-14 and
8900 * international/mule-cmds.el (set-language-info-alist): Call
8901 define-prefix-command with 3 arguments, to make the map suitable
8904 2000-05-07 Dave Love <fx@gnu.org>
8906 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
8908 2000-05-05 Dave Love <fx@gnu.org>
8910 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
8911 list in doc string. Don't quote keyword symbols.
8912 * emacs-lisp/cl.el: Likewise
8913 * emacs-lisp/cl-seq.el: Likewise
8915 2000-05-05 Gerd Moellmann <gerd@gnu.org>
8917 * abbrev.el (abbrev-mode): Make ARG optional.
8919 2000-05-04 Gerd Moellmann <gerd@gnu.org>
8921 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
8923 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
8925 * subr.el (substitute-key-definition): Clarify documentation.
8927 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
8929 * glasses.el (glasses-convert-to-unreadable): Use
8930 `glasses-separator' instead of the hard-wired "_".
8931 (glasses-mode): Call `glasses-make-unreadable' only in a single
8934 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
8936 * term/internal.el (cjk-codepages-alist): Add associations for
8937 Chinese and Korean codepages. Remove FIXME comment.
8939 2000-05-03 Dave Love <fx@gnu.org>
8941 * time.el (display-time-mail-face, display-time-use-mail-icon):
8943 (display-time-mail-icon): New variable.
8944 (display-time-string-forms): Use the above. Fix the local-map.
8946 2000-05-03 Gerd Moellmann <gerd@gnu.org>
8948 * replace.el (query-replace-map): Add binding for `E'.
8949 (query-replace-help): Extend help text.
8950 (perform-replace): Allow editing the replacement string.
8952 * make-mode.el (makefile-mode-abbrev-table): New variable.
8953 (makefile-mode): Set local abbrev table to
8954 makefile-mode-abbrev-table.
8955 (makefile-font-lock-keywords): Fontify includes and conditionals.
8957 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
8960 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
8961 mail-interactive-insert-alias.
8962 (mail-abbrev-complete-alias): New command.
8963 (mail-mode-map): Bind it to `M-TAB'.
8965 2000-05-03 Kenichi Handa <handa@etl.go.jp>
8967 * language/lao-util.el (lao-compose-region): New function.
8969 2000-05-02 Gerd Moellmann <gerd@gnu.org>
8971 * files.el (recover-session): Make directories as necessary
8972 if they don't exist yet.
8974 * calendar/cal-french.el
8975 (french-calendar-multibyte-special-days-array)
8976 (french-calendar-special-days-array): Change French text.
8977 (calendar-french-date-string): Change output.
8978 (calendar-goto-french-date): Likewise.
8980 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
8982 * wid-edit.el (widget-default-active): Obey `:always-active'.
8983 (widget-documentation-string-value-create): Set `:always-active'.
8985 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
8987 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
8988 default prefix to `~/_emacs.d/auto-save.list/_s'.
8989 (normal-top-level): Create the directory for auto-save files, if
8990 it doesn't already exist (in the ms-dos case only).
8992 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
8994 * international/mule-cmds.el (set-language-environment): Don't
8995 concat an integer (dos-codepage), use format instead.
8997 2000-05-02 Dave Love <fx@gnu.org>
8999 * help.el (help-xref-on-pp): Check for constant symbols.
9001 2000-04-29 Gerd Moellmann <gerd@gnu.org>
9003 * startup.el (normal-top-level): Put a condition-case around
9004 the code loading subdirs.el.
9006 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9008 * ps-print.el: Upside-down and face background color printing,
9009 line number step, doc fix.
9010 (ps-print-version): New version number (5.2).
9011 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
9012 (ps-face-attribute-list, ps-plot-with-face): Code fix.
9013 (ps-spool-config): Var fix.
9014 (ps-printer-name-option): Const fix.
9015 (ps-print-upside-down, ps-use-face-background)
9016 (ps-line-number-step): New vars.
9017 (ps-window-system, ps-lp-system): New consts.
9018 (ps-face-background): New fun.
9020 2000-04-28 Richard Stallman <rms@gnu.org>
9022 * files.el (make-auto-save-file-name):
9023 Apply auto-save-file-name-transforms to visited file name
9024 before generating auto save file name.
9025 (auto-save-file-name-transforms): New variable.
9027 * files.el (backup-enable-predicate):
9028 Correctly test for a file under a temporary directory.
9030 2000-04-28 Gerd Moellmann <gerd@gnu.org>
9032 * subr.el (add-minor-mode): Rewritten.
9034 2000-04-28 Kenichi Handa <handa@etl.go.jp>
9036 * mail/sendmail.el (sendmail-send-it): Set
9037 buffer-file-coding-system to the selected coding system for MIME
9040 2000-04-27 Gerd Moellmann <gerd@gnu.org>
9042 * dired.el (dired-move-to-filename-regexp): Allow format where
9043 YYYY is followed by two spaces.
9045 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
9046 in the second character class of the regexp.
9048 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
9051 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
9054 * subr.el (add-minor-mode): Use `set' instead of `setq'.
9056 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
9059 2000-04-27 Sen Nagata <sen@eccosys.com>
9061 * emacs-lisp/crm.el (crm-completion-table): New variable.
9062 (crm-collection-fn, crm-test-completion)
9063 (completing-read-multiple): Use it.
9065 2000-04-27 Dave Love <fx@gnu.org>
9067 * help.el (locate-library): Use mapc.
9068 (help-manyarg-func-alist): Add call-process-region.
9070 2000-04-26 Gerd Moellmann <gerd@gnu.org>
9072 * subr.el (add-minor-mode): Make argument MAP optional.
9074 * desktop.el (desktop-save): Save list of minor modes.
9075 (desktop-create-buffer): Restore minor modes.
9076 (desktop-minor-mode-table): New user-option.
9078 * subr.el (add-minor-mode): New function.
9080 * image.el (find-image): New function.
9081 (defimage): Rewritten to find image at load time.
9083 * startup.el (normal-top-level-add-to-load-path): Handle
9084 case that the default directory is not in load-path.
9086 * help.el: Old patch from Stefan Monnier.
9087 (help-xref-on-pp): New function.
9088 (describe-variable): Use it to display xrefs in a symbol's value.
9090 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
9092 * cus-edit.el (custom-face): Fix parenthesis.
9094 2000-04-26 Kenichi Handa <handa@etl.go.jp>
9096 * mail/rmail.el (rmail-expunge): When there are no deleted
9097 messages, do nothing.
9099 2000-04-26 Dave Love <fx@gnu.org>
9101 * international/mule-cmds.el (locale-translation-file-name):
9103 (set-locale-environment): Set it here (at runtime).
9105 2000-04-25 Gerd Moellmann <gerd@gnu.org>
9107 * replace.el (perform-replace): Add parameters START and END. Use
9108 them instead of the check for a region in Transient Mark mode.
9109 (query-replace-read-args): Return two more list elements for the
9110 start and end of the region in Transient Mark mode.
9111 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9112 (map-query-replace-regexp, replace-string, replace-regexp): Add
9113 optional last arguments START and END and pass them to
9116 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
9117 form with additional arguments for perform-replace.
9119 * progmodes/etags.el (tags-query-replace): Add parameters START
9120 and END. Construct a form with additional arguments for
9123 * simple.el (shell-command): Set default directory for "*Shell
9124 Command Output" buffer.
9126 * language/european.el (iso-latin-4): Fix typo.
9128 * emacs-lisp/crm.el: New file.
9130 2000-04-24 Dave Love <fx@gnu.org>
9132 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
9133 (Custom-reset-saved, Custom-reset-standard)
9134 (custom-group-value-create, custom-group-set, custom-group-save)
9135 (custom-group-reset-current, custom-group-reset-saved)
9136 (custom-group-reset-standard): Use mapc.
9137 (custom-buffer-create-internal): Disable undo when creating items.
9139 (custom-face): Avoid redundant lambda.
9141 2000-04-24 Gerd Moellmann <gerd@gnu.org>
9143 * startup.el (auto-save-list-file-prefix): Set default to
9144 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
9146 2000-04-24 Sam Steingold <sds@gnu.org>
9148 * time-stamp.el (time-stamp-string-preprocess): Always convert
9149 `field-result' to a string.
9151 2000-04-24 Gerd Moellmann <gerd@gnu.org>
9153 * frame.el (scrolling): New group.
9154 (automatic-hscrolling): New user-option.
9156 * startup.el (command-line-x-option-alist): Add `-lsp' and
9159 2000-04-19 Dave Love <fx@gnu.org>
9161 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
9162 (cl-mapc): Rename from mapc. Fix the funcall.
9164 2000-04-19 Gerd Moellmann <gerd@gnu.org>
9166 * simple.el (clone-indirect-buffer-other-window): New command.
9167 (clone-indirect-buffer): Add optional arg NORECROD.
9168 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
9170 * help.el (resize-temp-buffer-window): Use count-screen-lines.
9172 * window.el (count-screen-lines): New function.
9173 (shrink-window-if-larger-than-buffer): Use count-screen-lines
9174 instead of window-buffer-height.
9176 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
9177 non-existing variable comint-input-sentinel.
9178 (inferior-lisp-args-to-list): Removed.
9179 (inferior-lisp): Use split-string instead of
9180 inferior-lisp-args-to-list.
9182 * hexl.el (hexl-insert-hex-string): New command.
9184 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
9187 2000-04-18 Gerd Moellmann <gerd@gnu.org>
9189 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
9190 at the start of an existing but empty folder.
9192 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9194 * ps-mule.el: Customization fix, doc fix.
9195 (ps-multibyte-buffer): Customization fix.
9197 2000-04-17 Richard M. Stallman <rms@gnu.org>
9199 * subr.el (read-passwd): Use read-char-exclusive.
9201 2000-04-17 Gerd Moellmann <gerd@gnu.org>
9203 * textmodes/texinfo.el (texinfo-insert-@email)
9204 (texinfo-insert-@emph, texinfo-insert-@quotation)
9205 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
9206 (texinfo-mode-map): Add key bindings for them.
9208 * files.el (basic-save-buffer-2): Use a template with `$'
9209 instead of `#' for VMS.
9211 * simple.el (clone-indirect-buffer): New function.
9213 2000-04-16 Stephen Eglen <stephen@gnu.org>
9215 * iswitchb.el (iswitchb-case): New function. If the user input
9216 contains any upper-case characters, the search is made
9219 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
9221 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
9223 (texinfo-font-lock-syntactic-keywords): New var.
9224 (texinfo-font-lock-keywords): Remove comment regexp.
9225 (texinfo-insert-block): New function.
9226 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
9227 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
9228 and font-lock-defaults. Use regexp-opt for outline-regexp.
9229 (texinfo-environments): New var.
9230 (texinfo-environment-regexp): Use regexp-opt and
9231 texinfo-environments.
9233 * textmodes/ispell.el (ispell-menu-map-needed): Check that
9234 ispell-process is bound since this might be eval'd before ispell
9236 (ispell-message): Use a tiny bit less magic and a bit more hard
9237 data to figure out what kind of sc-cite-regexp to use.
9239 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
9241 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
9242 (insert-cyclic-diary-entry): Unquote the lambda.
9244 * gud.el (gud-jdb-build-source-files-list): Fix typo.
9246 * files.el (backup-enable-predicate): Unquote the lambda.
9248 * cus-edit.el (custom-face, face): Unquote the lambda.
9250 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9252 * ps-print.el: Check for line-beginning-position definition.
9254 * ps-print.el: Fix counting lines in a region.
9255 (ps-print-version): New version number (5.1.5).
9256 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
9257 (ps-printing-region): Fun code fix.
9259 2000-04-15 Gerd Moellmann <gerd@gnu.org>
9261 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
9262 to file-directory-p.
9264 2000-04-14 Gerd Moellmann <gerd@gnu.org>
9266 * gud.el (gud-jdb-build-source-files-list): Check that directory
9267 exists before calling directory-files.
9269 2000-04-13 Dave Love <fx@gnu.org>
9271 * emacs-lisp/trace.el: Change maintainer. Use new backquote
9274 * emacs-lisp/cl-specs.el: Remove when, unless.
9276 * emacs-lisp/cl-extra.el: Don't quote keywords.
9277 (cl-old-mapc): New variable.
9279 (cl-map-intervals): Use with-current-buffer. Don't check for
9280 next-property-change.
9281 (cl-map-overlays): Use with-current-buffer.
9283 (copy-tree, remprop): Define unconditionally.
9285 * emacs-lisp/cl-compat.el (keywordp): Remove.
9287 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
9289 (edebug-spec): Enable keywordp.
9291 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
9294 * cus-start.el: Use keywordp.
9296 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
9298 * diary-lib.el (include-other-diary-files): Fix the fix of
9299 2000-02-18 by doing a save-excursion.
9301 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9303 * ps-print.el: Customization fix, doc fix.
9304 (ps-print-version): New version number (5.1.4).
9305 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
9306 (ps-print-preprint): Adjust code.
9307 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
9308 (ps-print-prologue-header, ps-print-control-characters)
9309 (ps-spool-config): Customization fix.
9311 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
9313 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
9314 converted to the new menu-item format, names silightly changed,
9317 Support for spelling without async subprocesses:
9319 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
9320 (ispell-session-buffer): New variables.
9321 (ispell-start-process, ispell-process-status,
9322 ispell-accept-output, ispell-send-string): New functions, for
9323 Ispell invocation when async subprocesses aren't supported.
9324 (ispell-word, ispell-pdict-save, ispell-command-loop,
9325 ispell-process-line, ispell-buffer-local-parsing): Replace calls
9326 to process-send-string with calls to ispell-send-string, and
9327 accept-process-output with ispell-accept-output.
9328 (ispell-init-process): Call ispell-process-status instead of
9329 process-status with.
9330 (ispell-init-process): Call ispell-start-process. Call
9331 ispell-accept-output and ispell-send-string. Don't call
9332 process-kill-without-query and kill-process if they are unbound.
9333 (ispell-async-processp): New function.
9335 2000-04-12 Dave Love <fx@gnu.org>
9337 * info.el: Add debug-ignored-errors.
9338 (Info-mode-menu): Add some items.
9339 (Info-directory): Add autoload cookie.
9341 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
9342 Modify `truncate-lines'. Make `describe-language-environment'
9343 always visible and add help. Modify `describe-key' help. Invoke
9344 Info-directory from `info'. New entry `emacs-manual'.
9346 2000-04-10 Gerd Moellmann <gerd@gnu.org>
9348 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
9349 propertized-buffer-identification.
9350 (ebrowse-update-member-buffer-mode-line): Likewise.
9351 (ebrowse--mode-strings): Removed.
9352 (ebrowse--mode-line-props): Removed.
9354 * files.el (auto-mode-alist): Add `EBROWSE'.
9356 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
9357 space before testing for end of buffer.
9358 (ebrowse-load): Removed.
9359 (ebrowse-revert-tree-buffer-from-file): Rewritten.
9360 (ebrowse-create-tree-buffer): Rewritten.
9361 (ebrowse-tree-mode): Read tree from buffer.
9363 * progmodes/ebrowse-ffh.el: Removed.
9365 2000-04-10 Kenichi Handa <handa@etl.go.jp>
9367 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
9369 2000-04-10 Gerd Moellmann <gerd@gnu.org>
9371 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
9374 2000-04-09 Dave Love <fx@gnu.org>
9376 * files.el (backup-enable-predicate): Use
9377 temporary-file-directory, small-temporary-file-directory.
9378 (make-backup-file-name-function, backup-directory-alist): New
9380 (make-backup-file-name-1): New function.
9381 (make-backup-file-name): Use it.
9382 (find-backup-file-name): Likewise. Use format for clarity, not
9384 (file-newest-backup): Use make-backup-file-name.
9386 2000-04-09 Gerd Moellmann <gerd@gnu.org>
9388 * progmodes/ebrowse-ffh.el: New file.
9390 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
9392 (ebrowse-load): Add autoload.
9394 * finder.el (finder-commentary): Add autoload cookie.
9396 * mail/rfc2368.el: Correct author's email address.
9398 * progmodes/ebrowse.el: New file.
9400 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
9402 (easy-menu-do-add-item): Ditto.
9403 (easy-menu-define): Extend doc string.
9405 * jit-lock.el (with-buffer-unmodified): Use
9406 restore-buffer-modified-p.
9407 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
9408 (jit-lock-function, jit-lock-stealth-fontify): Don't use
9409 with-buffer-unmodified.
9411 2000-04-08 Dave Love <fx@gnu.org>
9413 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
9416 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
9418 * viper-util.el (viper-put-on-search-overlay): New subroutine.
9419 (viper-flash-search-pattern): No operation when using Emacs
9420 doesn't support face.
9421 Use `viper-put-on-search-overlay'.
9423 2000-04-04 Gerd Moellmann <gerd@gnu.org>
9425 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
9428 * progmodes/make-mode.el: Some doc fixes.
9429 (makefile-mode-abbrev-table): New variable.
9430 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
9431 (makefile-font-lock-keywords): Fontify includes and conditionals.
9432 (toplevel): Require `dabbrev' and `add-log' when compiling.
9434 * replace.el (perform-replace): Don't move forward one char
9435 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
9436 to do that because it leaves point 1 position after the last
9437 replacement, after everything has been replaced.
9439 * jit-lock.el (with-buffer-unmodified): New macro.
9440 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
9442 (jit-lock-function-1): Extracted from jit-lock-function; not
9443 preserving buffer's modified state.
9444 (jit-lock-function, jit-lock-stealth-fontify): Call
9445 jit-lock-function-1.
9447 * mail/rfc2368.el: Remove supernumerary copyright line.
9449 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
9451 * glasses.el: Provide facilities for inserting space before left
9452 parentheses and uncapitalization of identifiers.
9453 (glasses-mode): Try to remove old overlays in all cases.
9455 2000-04-03 Gerd Moellmann <gerd@gnu.org>
9457 * progmodes/compile.el (compile-internal): Display the compilation
9458 buffer in a different frame, if it's already displayed there.
9460 * mail/rfc2368.el: New file.
9462 * simple.el (sendmail-user-agent-compose): Recognize a `body'
9463 header and insert its value as mail body.
9465 * subr.el (member-ignore-case): New function.
9467 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
9468 (dabbrev--find-expansion): Ignore buffers matching a regexp
9469 from dabbrev-ignored-regexps.
9471 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
9472 to extensions handled by gzip.
9474 2000-04-03 Richard M. Stallman <rms@gnu.org>
9476 * files.el (insert-directory): List the total free space
9477 along with the used space.
9479 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
9480 line is followed by one that matches CITATION-REGEXP, end the
9483 2000-04-03 Markus Rost <rost@delysid.gnu.org>
9485 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
9486 (rmail-make-basic-summary-line): Use that option.
9488 2000-04-03 Kenichi Handa <handa@etl.go.jp>
9490 * international/mule-cmds.el (encoded-string-description):
9491 Rewritten. Try pretty description for ISO 2022 escape sequences
9492 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
9493 for hexadecimal format.
9495 2000-04-01 Dave Love <fx@gnu.org>
9497 * cpp.el: Change customization group to `c' from `C'.
9499 * vcursor.el (vcursor-move): Use display-color-p.
9501 * international/mule-util.el: Provide mule-utils.
9502 (string-to-sequence): Simplify and speed up.
9504 * international/mule.el (make-coding-system): Purecopy doc-string.
9506 * international/mule-cmds.el: Various menu changes.
9507 (describe-specified-language-support): Handle `Default'.
9508 (set-language-info): Purecopy `info'.
9510 2000-03-31 Andrew Innes <andrewi@gnu.org>
9512 * vc.el (vc-backend-diff): Return the correct status if we had to
9513 retry the rcsdiff command without the --brief option.
9515 2000-03-31 Dave Love <fx@gnu.org>
9517 * help.el (help-manyarg-func-alist): Correct several omissions.
9519 * add-log.el: Don't require cl, fortran.
9520 (add-log-current-defun-function): Doc fix.
9521 (change-log-version-number-regexp-list): Remove SCCS part. Doc
9523 (change-log-version-rcs): Function deleted.
9524 (change-log-version-number-search): Doc fix. Use
9525 vc-workfile-version. Avoid CL dolist.
9526 (add-change-log-entry): Just call add-log-current-defun to get
9527 defun. Simplify somewhat.
9528 (change-log-get-method-definition-1): Likewise.
9529 (add-log-current-defun): Return nil if calling
9530 add-log-current-defun-function does so. Move Fortran stuff to
9531 fortran.el. Return string without properties.
9533 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
9534 and :alpha: char classes.
9536 * mail/supercite.el: Defvar curline when compiling.
9537 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
9538 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
9539 rather than a-zA-Z0-9 to allow non-ASCII characters.
9541 2000-03-31 Gerd Moellmann <gerd@gnu.org>
9543 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
9545 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9548 * lpr.el (print-region-1): Use -d to specify printer name for
9549 systems `usg-unix-v*, `dgux', `hpux', `irix'.
9551 2000-03-31 Dave Love <fx@gnu.org>
9553 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
9554 for function definition in symbol's function value slot first
9555 instead of first consulting byte-compile-function-environment.
9557 2000-03-31 Kenichi Handa <handa@etl.go.jp>
9559 * language/european.el ("Polish"): New language environment.
9560 (setup-polish-environment): New function.
9562 2000-03-30 Gerd Moellmann <gerd@gnu.org>
9564 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9567 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
9568 trying to `load' the symbol of an autoload instead of the file
9569 recorded in the autoload. Fix error messages.
9571 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9573 * ps-print.el: PostScript programming fix for ghostview, doc fix.
9574 (ps-print-version): New version number (5.1.3).
9575 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
9576 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
9577 (ps-generate-postscript-with-faces): Code fix.
9578 (ps-color-values): XEmacs compatibility.
9579 (ps-print-background-image, ps-print-background-text, ps-printer-name)
9580 (ps-default-fg, ps-default-bg): Adjust customization.
9581 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
9582 (ps-color-scale): Renaming old ps-color-value fun.
9583 (ps-print-headers): Replace ps-print-header group to avoid conflict
9584 with ps-print-header variable.
9585 (ps-print-miscellany): New group.
9586 (ps-format-color, ps-rgb-color): New funs.
9587 (ps-default-foreground): New var.
9588 (ps-printer-name-option): New const.
9590 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
9593 (network-connection-host, network-connection-service): New variables
9594 (network-connection-mode): New mode, derived from comint-mode
9595 (network-connection-mode-setup): New function, saves host and
9596 service information in local variables.
9599 (locate-word-at-point): Added this function
9600 (locate): Default to using locate-word-at-point as input
9603 2000-03-29 Dave Love <fx@gnu.org>
9605 * calendar/appt.el: Doc fixes.
9606 (appt-check): Convert min-to-app to a string before passing to
9607 appt-disp-window-function or concat.
9608 (appt-delete-window): Remove test for frame-root-window.
9609 (appt-select-lowest-window, appt-convert-time): Simplify.
9611 * emacs-lisp/bytecomp.el: Doc fixes.
9612 (byte-compile-file-form-autoload): Update
9613 byte-compile-function-environment.
9615 2000-03-29 Andreas Schwab <schwab@suse.de>
9617 * emacs-lisp/autoload.el: Also print defsubst doc string
9620 * dired.el (dired-insert-directory): If dired-free-space-program
9621 failed just delete its output.
9623 2000-03-29 Dave Love <fx@gnu.org>
9625 * international/iso-cvt.el: Move provide to end. Doc fixes.
9626 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
9627 (iso-iso2sgml, iso-sgml2iso): New functions.
9628 (iso-cvt-define-menu): Fix some entries and use backquote for
9631 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
9633 2000-03-28 Gerd Moellmann <gerd@gnu.org>
9635 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
9636 ISO-DATE. If non-nil, return date in ISO 8601 format.
9638 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
9640 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
9641 if it ever becomes used.
9642 (log-edit-mode-hook): Default to vc-log-mode-hook.
9643 (log-edit-mode): Fix the docstring.
9645 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
9648 2000-03-26 Dave Love <fx@gnu.org>
9650 * net/browse-url.el (browse-url): Re-fix case of
9651 browse-url-browser-function being an alist.
9652 (browse-url): Add :link to defgroup.
9654 * files.el: Doc fixes.
9655 (file-truename): Include `[' in wildcard characters.
9656 (automount-dir-prefix): Customize.
9657 (find-file-wildcards): Add :version.
9658 (find-file-noselect): Simplify a mapcar call.
9660 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
9661 compatible with inf-lisp version.
9662 (eval-defun-1): Fix custom-declare-variable case.
9664 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
9666 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
9668 2000-03-24 Gerd Moellmann <gerd@gnu.org>
9670 * Makefile (COMPILE_FIRST): New macro.
9671 (compile-files): Compile files from COMPILE_FIRST first.
9673 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
9676 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
9677 matching open parenthesis in column 0 to defun-prompt-regexp
9678 only if open-paren-in-column-0-is-defun-start is set.
9680 * sun-curs.el: Require CL at compile-time only.
9682 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
9683 instead of copy-list which is a function from CL.
9684 (msb--choose-menu, msb--mode-menu-cond)
9685 (msb--create-buffer-menu-2): Use dolist instead of mapc.
9686 (msb--init-file-alist): Use mapcar instead of mapcan.
9687 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
9688 `(' in column 0 in doc string.
9689 (msb--add-separators): Use mapcar instead of mapcan.
9691 * cus-dep.el: Require CL at compile-time only.
9693 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
9695 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
9696 (byte-compile-warnings): New warning `noruntime'.
9697 (byte-compile-constants, byte-compile-variables): Fix docstring.
9698 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
9699 execute `eval-whenc-compile's body.
9700 (byte-compile-unresolved-functions): Fix docstring.
9701 (byte-compile-eval): New function.
9702 (byte-compile-callargs-warn): Check if the function will be available
9703 at runtime (via property `byte-compile-noruntime').
9704 (byte-compile-print-syms): New function.
9705 (byte-compile-warn-about-unresolved-functions): Also warn about
9706 `noruntime' functions (and use `byte-compile-print-syms').
9707 (byte-compile-file): Capitalize the message.
9709 2000-03-24 Gerd Moellmann <gerd@gnu.org>
9711 * mail/rmail.el (rmail-confirm-expunge): New user-option.
9712 (rmail-expunge): Ask for confirmation depending on the setting
9713 of rmail-confirm-expunge.
9715 2000-03-23 Gerd Moellmann <gerd@gnu.org>
9717 * Makefile (bootstrap-clean): If $(emacs) exists, build
9718 loaddefs.el first. A loaddefs.el that's not up-to-date might
9719 cause a bootstrap failure because things don't autoload as
9722 2000-03-23 Dave Love <fx@gnu.org>
9724 * net/browse-url.el: Restore previous use of
9725 browse-url-maybe-new-window.
9727 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9729 * ps-print.el: Skip banner page fix.
9730 (ps-print-version): New version number (5.1.2).
9731 (ps-begin-file, ps-end-file, ps-generate): Code fix.
9733 2000-03-23 Dave Pearson <davep@davep.org>
9735 * net/quickurl.el Changed the type of parameter passed to the
9736 function defined by `quickurl-format-function'. Before only the
9737 text of the URL was passed. Now the whole URL structure is passed
9738 and the function is responsible for extracting the parts it
9739 requires. Changed the default of `quickurl-format-function'
9741 (quickurl-insert): Changed the `funcall' of
9742 `quickurl-format-function' to match the above change.
9743 (quickurl-list-insert): Changed the `url' case so that it makes
9744 use of `quickurl-format-function', previous to this the format was
9747 2000-03-22 Gerd Moellmann <gerd@gnu.org>
9749 * startup.el: Change some spellings for the X Window System.
9751 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
9753 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
9754 up the code and the regexp and make sure the cursor is temporarily
9755 moved to the suspicious line while querying the user.
9757 2000-03-22 Jason Rumney <jasonr@gnu.org>
9759 * w32-fns.el (w32-charset-info-alist): Initialize.
9761 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9763 * ps-print.el: N-up last page fix.
9764 (ps-print-version): New version number (5.1.1).
9765 (ps-end-file, ps-end-job, ps-generate): Code fix.
9767 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
9769 * files.el (find-file-run-dired): Update docstring.
9770 (find-directory-functions): New hook.
9771 (find-file-noselect): Run find-directory-functions rather than
9772 calling dired directly.
9774 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
9776 * pcvs.el: Add a minimal leading commentary.
9777 (cvs-make-cvs-buffer): Change the header part by removing the startup
9778 message and adding a `Module' entry. Also replace the FOOTER and
9779 HEADER special fileinfos with the new support in ewoc for updating
9780 its own footer and header.
9781 (cvs-update-header): Update to use the header/footer of the ewoc.
9782 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
9783 (cvs-is-within-p): New function.
9784 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
9785 to only examine some subset of the buffers.
9787 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
9788 `format' instead of our own ad-hoc functions.
9789 Remove HEADER and FOOTER cases, now handled in the EWOC.
9790 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
9792 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
9793 output to avoid scaring the user.
9794 (cvs-parse-table): Catch message for non-up-to-date commits.
9796 * pcvs-defs.el (cvs-startup-message): Remove.
9797 (cvs-global-menu): New autoloaded menu.
9799 * pcvs-util.el (cvs-string-fill): Remove.
9801 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
9802 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
9803 PP part of it and also make it work for footers and headers.
9804 (ewoc-create): Drop POS and BUFFER arguments.
9805 Use the DLL's dummy node to store the end-of-footer position.
9806 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
9807 (ewoc-refresh): Remove unused `header' variable.
9808 (ewoc-(get|set)-hf): New functions.
9810 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
9811 log-view-*-(message|file) and use easy-mmode-define-navigation.
9812 (log-view-message-re): Match SCCS format as well.
9813 And match the revision line rather than the dashed separator line.
9814 (log-view-mode): Use the new define-derived-mode.
9815 (log-view-current-tag): Fill in with an actual implementation.
9817 * cvs-status.el (cvs-status-(prev|next)): Rename from
9818 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
9819 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
9820 to let the output "breathe" a little more (more readable).
9821 (cvs-status-mode): Use the new define-derived-mode.
9823 * smerge-mode.el (smerge-auto-leave): New function and variable.
9824 (smerge-basic-map): Rename from smerge-basic-keymap.
9825 Change the bindings for smerge-diff-*.
9826 (smerge-*-map): Use easy-mmode-defmap.
9827 (smerge-(next|prev)): Use easy-mmode-define-navigation.
9828 (smerge-keep-*): Use smerge-auto-leave.
9830 2000-03-21 Jason Rumney <jasonr@gnu.org>
9832 * cus-edit.el (custom-button-face): Use 3D look for w32.
9833 (custom-button-pressed-face): Likewise.
9835 2000-03-21 Gerd Moellmann <gerd@gnu.org>
9837 * progmodes/etags.el (tags-case-fold-search): New user-option.
9838 (tags-loop-eval): New function. Bind case-fold-search around eval
9839 depending on the value of tags-case-fold-search.
9840 (tags-loop-continue): Use tags-loop-eval.
9841 (find-tag-in-order): Bind case-fold-search depending on the value
9842 of tags-case-fold-search.
9844 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
9846 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
9847 (diff-end-of-hunk): Return the end position for use in
9848 `easy-mmode-define-navigation'.
9849 (diff-recenter): Remove.
9850 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
9851 of `easy-mmode-define-navigation'.
9852 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
9853 previous renaming) and fix to use new names.
9854 (diff-merge-strings): Use \n as separator: simpler, faster.
9855 (diff-mode): Use `define-derived-mode'.
9857 * derived.el (define-derived-mode): Don't autoload anymore.
9858 Prefer the macro-only version provided by easy-mmode.el.
9860 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
9861 `easy-mmode-define-derived-mode'.
9862 Use `combine-run-hooks'.
9863 (easy-mmode-define-navigation): New macro.
9865 * subr.el (combine-run-hooks): New function.
9867 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
9869 * term/x-win.el: Fontsets related initialization is simplified.
9871 * international/mule-diag.el (describe-font): Don't refer to
9872 global-fontset-alist, instead call font-list.
9873 (describe-fontset, list-fontsets, mule-diag): Likewise.
9874 (print-fontset): Adjusted for the change of fontset
9877 * international/fontset.el (x-charset-registries): Variable
9878 removed, instead the corresponding data is stored in the default
9880 (register-alternate-fontnames): Function removed.
9881 (resolved-ascii-font): Variable removed.
9882 (x-compose-font-name): Ignore the second argument REDOCE.
9883 (x-complement-fontset-spec): Complement only an ASCII font and
9884 element for those charsets than can use that ASCII font.
9885 (generate-fontset-menu): Don't refer to global-fontset-alist,
9886 instead call fontset-list.
9887 (uninstantiated-fontset-alist): Variable removed.
9888 (x-style-funcs-alist): Likewise.
9889 (fontset-default-styles): Likewise.
9890 (x-modify-font-name): Function removed.
9891 (create-fontset-from-fontset-spec): Ignore the argument
9893 (create-fontset-from-ascii-font): Docsting adjusted for the above
9895 (instantiate-fontset, resolve-fontset-name): Functions removed.
9896 (fontset-list): Now implemented by C code.
9898 * faces.el (read-face-font): Fix TABLE arg to completing-read.
9899 (describe-face): Include `font' attribute in the description.
9901 2000-03-21 Kenichi Handa <handa@etl.go.jp>
9903 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
9905 2000-03-20 Gerd Moellmann <gerd@gnu.org>
9907 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
9908 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
9909 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
9911 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
9912 about behavior of set-buffer-modified-p wrt redisplay.
9914 2000-03-19 Richard M. Stallman <rms@gnu.org>
9916 * view.el (view-mode-disable): Kill local binding of view-read-only.
9918 2000-03-18 Gerd Moellmann <gerd@gnu.org>
9920 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
9921 is a string, convert it to a syntax cell using string-to-syntax.
9923 * simple.el (syntax-code-table, syntax-flag-table): New variables.
9924 (string-to-syntax): New function.
9926 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
9927 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
9928 try to use passive ftp mode.
9930 2000-03-17 Gerd Moellmann <gerd@gnu.org>
9932 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
9934 * simple.el (append-to-buffer): Update point of windows after
9937 * abbrev.el (inverse-add-abbrev): Identify word by first moving
9938 forward then moving backward. Reindent.
9940 * frame.el (other-frame): Call x-focus-frame only if
9941 focus-follows-mouse is off.
9943 2000-03-17 Dave Love <fx@gnu.org>
9945 * pcvs-util.el (cvs-strings->string): Rename
9946 replace-regexps-in-string.
9948 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
9950 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
9951 regexp for labels cannot span several lines.
9953 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
9954 `(setq :<key> ':<key>)' to the macro expansion.
9956 2000-03-16 Dave Love <fx@gnu.org>
9958 * progmodes/f90.el (f90): Put custom group under `languages', not
9960 (f90-mode-hook): Customize.
9961 (f90-mode): Set add-log-current-defun-function.
9962 (f90-current-defun): New function.
9964 2000-03-16 Gerd Moellmann <gerd@gnu.org>
9966 * cus-edit.el (custom-variable-tag-face): Handle case that
9967 default face's height is not a number.
9968 (custom-face-tag-face, custom-group-tag-face-1)
9969 (custom-group-tag-face): Ditto.
9970 (custom-group-tag-face-1): Add :group.
9972 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
9974 2000-03-15 Gerd Moellmann <gerd@gnu.org>
9976 * pcvs-defs.el (toplevel): Remove autoload cookie for form
9979 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9981 * ps-print.el: PostScript user-defined prologue, PostScript error
9983 (ps-print-version): New version number (5.1).
9984 (ps-user-defined-prologue, ps-error-handler-message)
9985 (ps-print-prologue-0, ps-error-handler-alist): New vars.
9986 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
9987 (ps-insert-string): New function.
9989 2000-03-15 Kenichi Handa <handa@etl.go.jp>
9991 * international/ccl.el (ccl-compile-expression): Don't generate
9992 invalid self-assignment code.
9994 2000-03-14 Dave Love <fx@gnu.org>
9996 * subr.el (replace-regexp-in-string): Renamed from
9997 replace-regexps-in-string. Doc fix.
9999 2000-03-12 Dave Love <fx@gnu.org>
10001 * cus-edit.el: Doc fixes.
10002 (customize-set-variable, customize-save-variable): Rename args for
10004 (custom-variable-tag-face, custom-face-tag-face)
10005 (custom-group-tag-face-1, custom-group-tag-face): Modify from
10006 style which user identify as hyperlink.
10007 (hook): Don't add undefined functions to the hook.
10008 (debug-ignored-errors): Transfer message from bindings.el.
10010 2000-03-12 Gerd Moellmann <gerd@gnu.org>
10012 * recentf.el (recentf-keep-non-readable-files-p): Remove
10013 double/nested definition.
10015 2000-03-12 Dave Love <fx@gnu.org>
10017 * facemenu.el (facemenu-get-face): Use display-color-p.
10018 * enriched.el (enriched-decode-foreground): Likewise.
10019 (enriched-decode-background): Likewise.
10020 * isearch.el (isearch-highlight): Likewise.
10021 * info-look.el (info-lookup): Likewise.
10022 * simple.el (completion-setup-function): Likewise.
10024 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
10027 * bindings.el (mode-line-format): Fix line-number and
10028 column-number items. Add help-echo for the background.
10029 (mode-line-mule-info): Modify help-echo.
10031 * avoid.el (mouse-avoidance-mode): Add autoload cookie to
10034 * files.el (load-file): Allow completion to .elc.
10036 * man.el: Doc fixes.
10037 (Man-init-defvars): Use display-color-p to set fontification.
10039 * play/hanoi.el (hanoi-internal): Don't use oddp.
10041 2000-03-12 Gerd Moellmann <gerd@gnu.org>
10043 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
10045 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
10047 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
10049 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
10052 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
10054 * font-lock.el (font-lock-keywords): Fix the doc now that
10055 regexp-opt-depth is unnecessary.
10056 (save-buffer-state): Set an edebug spec.
10057 (font-lock-fontify-anchored-keywords): Properly handle the case when
10058 the matcher goes past the limit.
10060 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
10061 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
10063 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
10064 dll.el and cookie.el (from Elib) with heavy renaming and other
10067 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
10068 Autoload the functions used.
10069 (easy-mmode-define-syntax): Fix CL typo.
10070 (easy-mmode-define-derived-mode): Improve the docstring generation.
10072 2000-03-10 Gerd Moellmann <gerd@gnu.org>
10074 * textmodes/texinfo.el (texinfo-version): Variable and function
10077 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
10079 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
10080 allow more flexibility.
10081 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
10083 (easy-mmode-defmap, easy-mmode-defsyntax)
10084 (easy-mmode-define-derived-mode): New macros.
10086 2000-03-09 Didier Verna <didier@xemacs.org>
10088 * rect.el (replace-rectangle): New function.
10090 2000-03-09 Dave Love <fx@gnu.org>
10092 * progmodes/fortran.el (fortran-comment-line-start): Define as
10094 (fortran-comment-line-start-skip): Don't match cpp stuff.
10095 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
10096 (fortran-mode-map): Remove over-eager custom-menu-create for now.
10097 (fortran-mode): Don't set fortran-comment-line-start-skip,
10098 fortran-comment-line-start here. Set comment-start,
10099 add-log-current-defun.
10100 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
10101 (fortran-current-defun): New function.
10103 2000-03-09 Gerd Moellmann <gerd@gnu.org>
10105 * emacs-lisp/re-builder.el: New file.
10107 * mouse.el (mouse-drag-region): Don't run up-event handler
10108 if hscroll has changed.
10110 * octave-mod.el (octave-font-lock-keywords): To font-lock the
10111 builtin operators, use `font-lock-builtin-face' for Emacs and
10112 `font-lock-preprocessor-face' otherwise.
10114 * font-lock.el (lisp-font-lock-keywords-1): Highlight
10115 `(defun (setf foo)' differently.
10117 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
10119 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
10120 (regexp-opt): Update comment and adapt the code the new meaning of
10121 the `paren' argument of regex-opt-group for shy-groups.
10122 (regexp-opt-depth): Handle shy groups as well as backslashed
10124 (regexp-opt-group): Turn the leading comment into a docstring.
10125 Allow `paren' to be a string (the string to use to open a group).
10126 Remove open-presuf and close-presuf. Instead of checking for `all
10127 one-char' and then later on check for `several one-char', handle
10128 both cases close together. Also apply a more generic algorithm
10129 for suffixes (the mirror image of the algorithm used for
10130 prefixes). Use shy-groups. Use nreverse rather than reverse.
10131 (regexp-opt-try-suffix): Removed.
10133 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
10134 from comint-mode-map, so we can just inherit from it. Also, move
10135 the initialization into the `defvar' since there's no docstring
10136 anyway and it's fairly short.
10137 (inferior-scheme-mode): Define it as derived-mode: the code is
10138 shorter and this way we inherit from comint-mode-map rather than
10141 * subr.el (replace-regexps-in-string): Properly handle the case
10142 where we match an empty string.
10144 * comint.el (comint-exec-1): Add the current-dir to the exec-path
10145 when the command has a directory component (such as "./testml").
10146 Also fix a typo in the comment.
10148 2000-03-08 Gerd Moellmann <gerd@gnu.org>
10150 * Makefile (compile-files): Compile files one by one because
10151 that's the only way to ensure a clean compilation environment for
10152 each individual file.
10154 * frame.el (other-frame): Call x-focus-frame.
10156 2000-03-07 Dave Love <fx@gnu.org>
10158 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
10159 :require to defcustom.
10161 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
10164 * files.el (auto-mode-alist): Add configure.in.
10166 * progmodes/autoconf.el: New file.
10168 2000-03-07 Gerd Moellmann <gerd@gnu.org>
10170 * mail/mh-e.el: Change maintainer to `none'.
10172 * recentf.el (recentf-keep-non-readable-files-p): Quote args
10173 to remove-hook and add-hook.
10175 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
10177 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
10179 (mail-send): Test mail-send-nonascii also for the new `mime' value.
10180 (sendmail-send-it): Conditionally add MIME headers specifying the
10181 used character set.
10183 2000-03-07 Dave Love <fx@gnu.org>
10185 * winner.el: Fix keywords, autoload cookies. Split
10186 eval-when-compile form to avoid compilation failure.
10188 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
10190 * international/mule.el: Modify comment about coding system
10191 property `coding-category'.
10192 (make-coding-system): New argument EOL-TYPE. Pay attention to
10193 coding-category property of PROPERTIES.
10195 * international/mule-conf.el (coding-category-utf-8,
10196 coding-category-utf-16-be, coding-category-utf-16-le): New coding
10197 categories. Include them in the argument for set-coding-priority.
10199 * international/mule-cmds.el (reset-language-environment): Include
10200 coding-category-utf-8, coding-category-utf-16-be, and
10201 coding-category-utf-16-le in the argument for set-coding-priority.
10202 (reset-language-environment): Initialize coding-category-utf-8,
10203 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
10205 2000-03-06 Karl Fogel <kfogel@red-bean.com>
10207 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
10208 code abstracted out of `bookmark-jump-noselect'. Now tries info
10209 extensions as well as compression extensions.
10210 (bookmark-jump-noselect): Use above new func.
10212 2000-03-03 Gerd Moellmann <gerd@gnu.org>
10214 * strokes.el: Change maintainer's mail address.
10216 2000-03-03 Kenichi Handa <handa@etl.go.jp>
10218 * international/mule-diag.el (list-character-sets): Make help-echo
10219 string by substitute-command-keys.
10220 (list-character-sets): Likewise.
10221 (sort-listed-character-sets): Call help-setup-xref.
10223 2000-03-02 Gerd Moellmann <gerd@gnu.org>
10225 * time.el (display-time-mail-file): Add `none' to the list of
10228 2000-03-01 Dave Love <fx@gnu.org>
10230 * help.el (help-xref-go-back): Don't try to set position.
10232 * international/mule-diag.el (list-character-sets): Call
10233 help-setup-xref. Add help-echo to xrefs.
10234 (list-character-sets-1): Add help-echo to xrefs.
10236 2000-03-02 Gerd Moellmann <gerd@gnu.org>
10238 * frame.el (blink-cursor-mode): Switch cursor on when turning
10241 * add-log.el (add-log-current-defun): Add support for
10244 * mail/rmail.el (rmail-quit-hook): New variable.
10246 2000-03-01 Dave Love <fx@gnu.org>
10248 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
10250 * help.el (help-xref-button): Add help-echo arg.
10251 (describe-function-1, describe-variable, help-make-xrefs): Use it.
10253 * faces.el (list-faces-display): Supply help-echo with
10256 * facemenu.el (list-text-properties-at): Set help-xref-stack to
10259 2000-03-01 Gerd Moellmann <gerd@gnu.org>
10261 * image.el (defimage): Look for image files in load-path.
10263 * frame.el (busy-cursor-delay-seconds): Change type to
10266 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
10268 * recentf.el (recentf): Added version tag to the defgroup of
10271 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
10273 * recentf.el (recentf-cleanup): Changed to remove excluded file
10275 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
10276 action to select/unselect a file.
10277 (recentf-edit-list): Code cleanup and improvement.
10278 (recentf-open-more-files-action): `recentf-open-more-files' button
10279 widget action to open a file.
10280 (recentf-open-more-files): No more use standard completion but
10282 (recentf-more-collection): Deleted.
10283 (recentf-more-history): Deleted.
10284 (recentf-setup-more-completion): Deleted.
10286 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
10288 * recentf.el (recentf-mode): No more needs that Emacs is running
10289 under a window-system.
10291 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10293 * recentf.el (recentf-edit-list): New command to edit the recent
10294 list which allow the user to remove files.
10295 (recentf-edit-selected-items): New global variable, used by
10296 `recentf-edit-list' to hold the list of files to be removed from
10298 (recentf-make-menu-items): Updated to display a "Edit list..."
10299 menu item. Minor code cleanup.
10301 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10303 * recentf.el (recentf-open-more-files): New command to open files
10304 that are not displayed in the menu.
10305 (recentf-more-collection): New global variable holding the set of
10306 permissible completions used by `recentf-open-more-files'.
10307 (recentf-more-history): New global variable holding the history list
10308 used by `recentf-open-more-files' completion.
10309 (recentf-setup-more-completion): New function to setup completion for
10310 `recentf-open-more-files'.
10311 (recentf-make-menu-items): Updated to display a "More..." menu item.
10313 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10315 * recentf.el (recentf-menu-action): Doc fixed.
10317 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10319 * recentf.el (recentf-menu-filter): Doc updated.
10320 (recentf-update-menu-hook): Allow menu filters to force menu update.
10321 (recentf-make-menu-items): New menu filter handling.
10322 (recentf-make-menu-item): New helper function.
10323 (recentf-menu-elements): New menu handling function.
10324 (recentf-sort-ascending): Updated to new menu filter handling.
10325 (recentf-sort-descending): Updated to new menu filter handling.
10326 (recentf-sort-basenames-ascending): New menu filter function.
10327 (recentf-sort-basenames-descending): New menu filter function.
10328 (recentf-show-basenames): New menu filter function.
10329 (recentf-show-basenames-ascending): New menu filter function.
10330 (recentf-show-basenames-descending): New menu filter function.
10332 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
10334 * diary-lib.el (list-diary-entries): Don't try to go forward at
10335 the end of the buffer.
10337 2000-02-29 Kenichi Handa <handa@etl.go.jp>
10339 * international/mule-diag.el (list-character-sets): Completely
10341 (sort-listed-character-sets): New function.
10342 (list-character-sets-1): Completely rewritten.
10343 (list-character-sets-2): New function.
10344 (non-iso-charset-alist): New variable.
10345 (decode-codepage-char): New function.
10346 (charset-history): New variable.
10347 (read-charset) (list-block-of-chars)
10348 (list-iso-charset-chars)
10349 (list-non-iso-charset-chars)
10350 (list-charset-chars): New functions.
10351 (mule-diag): Call list-character-sets-2, not
10352 list-character-sets-2.
10353 (dump-charsets): Likewise.
10355 2000-02-29 Gerd Moellmann <gerd@gnu.org>
10357 * dired-x.el (dired-filename-at-point): Add `@' to valid
10358 file name characters.
10359 (dired-filename-at-point): Handle ange-ftp file names.
10361 * frame.el (frame-notice-user-settings): Use assq-delete-all
10362 instead of assoc-delete-all.
10363 (frame-notice-user-settings): Ditto.
10365 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
10368 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
10370 * calculator.el (calculator-use-menu): New option.
10371 (calculator-initial-bindings): Changed some bindings to work as
10373 (calculator-forced-input): Removed.
10374 (calculator-restart-other-mode): New variable.
10375 (calculator-mode-map): Set up menu.
10377 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
10379 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
10382 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
10384 * viper-cmd.el (viper-envelop-ESC-key): added the option to
10385 translate all ESC key sequences.
10386 (viper-goto-mark-subr): restore markers for files for which
10388 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
10389 * viper-util.el (viper-set-replace-overlay-glyphs,
10390 viper-set-replace-overlay): always check if the replacement
10392 * viper.el (viper-vi-state-mode-list): added major modes.
10393 * ediff-wind.el: minor comment changes.
10394 * ediff.el: copyright notice date fix.
10396 2000-02-27 Jason Rumney <jasonr@gnu.org>
10398 * faces.el (face-font-family-alternatives): Add arial to helv.
10399 (mode-line, header-line, tool-bar): Same default as x for w32.
10400 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
10401 face-font-family-alternatives from working.
10402 * term/w32-win.el (mouse-set-font): Do not build fontset from
10405 2000-02-25 Sam Steingold <sds@goems.com>
10407 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
10410 2000-02-25 Richard M. Stallman <rms@gnu.org>
10412 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
10414 2000-02-25 Gerd Moellmann <gerd@gnu.org>
10416 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
10419 * frame.el (busy-cursor-delay-seconds): New option.
10421 2000-02-24 Gerd Moellmann <gerd@gnu.org>
10423 * frame.el (show-cursor-in-non-selected-windows): New option.
10425 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
10427 * diary-lib.el (include-other-diary-files): Undo the selective
10428 display in any included file and don't kill it.
10430 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
10432 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
10433 bar. Menu items converted to (menu-item format, help strings
10435 [downcase, upcase]: Don't enable on MS-DOS.
10436 [symlink, symlinks]: Don't show if make-symbolic-link is not
10438 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
10440 2000-02-23 Dave Love <fx@gnu.org>
10442 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
10443 (backward-kill-word): Revert addition of * to interactive spec --
10446 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
10447 (backward-kill-sentence, kill-sentence): Likewise.
10449 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
10450 scratch buffer name.
10451 (gud-format-command): Use int-to-string in ?l case. Simplify
10454 * term/w32-win.el (internal-face-interactive): Update prompt for
10455 new read-face-name.
10457 * mail/footnote.el (footnote): Add :version to defgroup.
10458 (footnote-section-tag-regexp): Customize.
10459 (footnote-start-tag, footnote-end-tag): New option.
10460 (footnote-latin-regexp): New variable.
10461 (Footnote-latin): New function.
10462 (footnote-style-alist): Add element for latin style.
10463 (footnote-style): Moved.
10464 (Footnote-goto-footnote): Use eq to test arg.
10466 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
10468 * emacs-lisp/byte-opt.el: Change old backquote syntax.
10469 (byte-compile-trueconstp): Include keywords.
10470 (byte-optimize-quote, byte-optimize-lapcode): Use
10471 byte-compile-const-symbol-p.
10472 (byte-optimize-char-before): New optimization.
10474 * emacs-lisp/bytecomp.el: Change old backquote syntax.
10475 (byte-compile-const-symbol-p): New function.
10476 (byte-compile-constp, byte-compile-out-toplevel)
10477 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
10480 * subr.el (define-key-after): Default AFTER to t. Doc fix.
10482 2000-02-23 Kenichi Handa <handa@etl.go.jp>
10484 * international/encoded-kb.el: Be sure to update minor-mode-alist
10485 and minor-mode-map-alist.
10486 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
10487 codes SS2 and SS3 correctly.
10488 (encoded-kbd-self-insert-ccl): New function.
10489 (encoded-kbd-setup-keymap): New function.
10490 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
10491 by calling encoded-kbd-setup-keymap.
10493 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
10495 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
10498 2000-02-22 Dave Love <fx@gnu.org>
10500 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
10501 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
10503 (lisp-mode-syntax-table): Set up for #|...|# comments.
10504 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
10505 classes. Match `defface'.
10506 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
10507 (eval-defun-1): Fix for defcustom.
10508 (lisp-indent-region): Doc fix.
10510 * subr.el (when, unless, split-string): Doc fix.
10511 (read-passwd): Move call of clear-this-command-keys to the right
10513 (replace-regexps-in-string): New function.
10515 2000-02-22 Gerd Moellmann <gerd@gnu.org>
10517 * help.el (describe-variable): Set syntax table to
10518 emacs-lisp-mode-syntax-table when moving forward over the
10521 2000-02-22 Dave Love <fx@gnu.org>
10523 * xt-mouse.el: Doc fixes.
10524 (xterm-mouse-position-function): New function, replacing advice of
10526 (xterm-mouse-mode): Use it. Don't turn on under a window system.
10528 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
10530 2000-02-21 Gerd Moellmann <gerd@gnu.org>
10532 * format.el (format-annotate-single-property-change): Handle
10533 properties.with dotted-list values.
10534 (format-proper-list-p): New function.
10536 * enriched.el (enriched-face-ans): Handle '(foreground-color
10537 . COLOR) and (background-color . COLOR).
10539 2000-02-20 Dave Love <fx@gnu.org>
10541 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
10542 and assignments to it.
10543 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
10545 (make-flyspell-overlay): Use it.
10546 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
10548 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
10549 (lm-get-header-re): Defun, not defsubst.
10550 (lm-get-package-name): Defun, not defsubst. Simplify.
10551 (lm-version): Doc fix. Simplify.
10552 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
10553 (lm-crack-address, lm-last-modified-date, lm-commentary)
10554 (lm-verify, lm-synopsis): Simplify.
10555 (lm-report-bug): Require emacsbug. Use compose-mail.
10557 2000-02-20 Gerd Moellmann <gerd@gnu.org>
10559 * dired.el (dired-mode): Call propertized-buffer-identification
10560 to set mode-line-buffer-identification to something having
10561 the right text properties.
10563 * bindings.el (propertized-buffer-identification): New function.
10565 2000-02-20 Dave Love <fx@gnu.org>
10567 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
10568 check for t-mouse too.
10570 * cus-start.el: Make echo-keystrokes `number'.
10572 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
10574 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
10575 Don't call ring-empty-p unless tags-location-ring is bound.
10576 From Noah Friedman <friedman@splode.com>.
10578 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
10580 * progmodes/hideshow.el (hs-flag-region): No longer use
10581 `intangible' overlay property.
10583 (hs-toggle-hiding): New command.
10584 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
10586 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
10587 Fix omission bug: Run `hs-minor-mode-hook' for both activation
10590 2000-02-18 Gerd Moellmann <gerd@gnu.org>
10592 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
10594 2000-02-17 Gerd Moellmann <gerd@gnu.org>
10596 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
10598 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
10599 of `*' to handle `(* ... *)' comments.
10601 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
10603 * faces.el (list-faces-display): Use display-mouse-p instead of
10606 * menu-bar.el (global-map): Menu-bar items converted to the new
10607 format (menu-item..., rearranged for better CUA compliance, and
10608 their names changed for better clarity. Help strings added.
10610 * international/mule-cmds.el (mule-menu-keymap)
10611 (describe-language-environment-map, set-coding-system-map)
10612 (setup-language-environment-map): Convert to new (menu-item...
10613 form, add help strings. Change names of menu items for better
10614 clarity. "Mule" menu-bar item removed (it's now in the "Options"
10617 2000-02-17 Gerd Moellmann <gerd@gnu.org>
10619 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
10622 2000-02-16 Dave Love <fx@gnu.org>
10624 * faces.el: Don't require custom. Add more specific :groups to
10626 (set-face-attribute): Purecopy args.
10627 (read-face-name): Default to name at point and use it in prompt.
10628 Remove colon from arg in all callers.
10629 (list-faces-display): Hyperlink to face descriptions and customize
10632 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
10634 * wid-edit.el (widget-match-inline): An atom never matches a
10637 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10639 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
10640 at ':' characters by call to split-string.
10642 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10644 * textmodes/bibtex.el: Added RCS version identification.
10646 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10648 * textmodes/bibtex.el: Some temporary comments removed.
10649 (bibtex-field-name, bibtex-entry-type): Made the relationship
10651 (bibtex-field-const): Allow capital letters.
10652 (bibtex-start-of-string): Deleted because unused.
10654 * textmodes/bibtex.el: Unified some nomenclature. We no longer
10655 use the term 'reference' to describe a bibtex entry as a whole.
10656 Further, reference keys are no longer called 'labels'.
10657 (bibtex-keys): Renamed to bibtex-reference-keys.
10658 (bibtex-reformat-previous-labels): Renamed to
10659 bibtex-reformat-previous-reference-keys.
10660 (bibtex-reference-type): Renamed to bibtex-entry-type.
10661 (bibtex-reference-head): Renamed to bibtex-entry-head.
10662 (bibtex-reference-maybe-empty-head): Renamed to
10663 bibtex-entry-maybe-empty-head.
10664 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
10665 (bibtex-search-reference): Renamed to bibtex-search-entry.
10666 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
10667 bibtex-enclosing-entry-maybe-empty-head.
10668 (bibtex-entry-field-alist, bibtex-entry-head,
10669 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
10670 bibtex-map-entries, bibtex-search-entry,
10671 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
10672 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10673 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
10674 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
10675 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
10676 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
10677 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
10679 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10681 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
10683 (bibtex-format-field-delimiters): New function, functionality
10684 extracted from bibtex-format-entry.
10685 (bibtex-autokey-get-yearfield-digits): New function, functionality
10686 extracted from bibtex-autokey-get-yearfield.
10688 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
10689 entries in order to avoid stack overflow in the regexp matcher if
10690 field contents become large.
10691 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
10692 bibtex-field-string-part-not-braced,
10693 bibtex-field-string-part-no-inner-braces,
10694 bibtex-field-string-part-1-inner-brace,
10695 bibtex-field-string-part-2-inner-braces,
10696 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
10697 bibtex-field-string-quoted, bibtex-field-string,
10698 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
10699 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
10700 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
10701 as parsing is now performed by the following functions.
10702 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
10703 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
10704 bibtex-parse-field-string, bibtex-search-forward-field-string,
10705 bibtex-parse-association, bibtex-field-name-for-parsing,
10706 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
10707 bibtex-search-forward-field, bibtex-search-backward-field,
10708 bibtex-start-of-field, bibtex-end-of-field,
10709 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
10710 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
10711 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
10712 bibtex-parse-string, bibtex-search-forward-string,
10713 bibtex-search-backward-string, bibtex-start-of-string,
10714 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
10715 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
10716 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
10717 entries. Instead of reporting the results of the parsing by
10718 match-beginning or match-end, these functions return data structures
10719 that hold the corresponding positions.
10720 (bibtex-enclosing-field): Changed to also report field boundaries by
10721 return values rather than by match-beginning or match-end. The
10722 following functions have been adapted to use the new parsing
10724 (bibtex-skip-to-valid-entry, bibtex-search-reference,
10725 bibtex-enclosing-field, bibtex-format-entry,
10726 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
10727 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
10728 bibtex-print-help-message, bibtex-end-of-entry,
10729 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
10730 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10731 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
10732 method for parsing.
10733 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
10734 bibtex-map-entries, bibtex-flash-head,
10735 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
10736 bibtex-autokey-change, bibtex-autokey-get-namefield,
10737 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
10738 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10739 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
10740 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10741 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
10742 order to make the new binding of case-fold-search immediately
10745 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10747 * textmodes/bibtex.el: Copyright notice is up to date.
10748 Added constant 'bibtex-maintainer-salutation.
10750 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
10751 than make-temp-name, use match-string-no-properties and eliminate
10752 a quadratic behavior when building bibtex-strings.
10754 * bibtex.el (bibtex-reference-key): Accept string entries whose
10755 reference key contains upper case letters.
10757 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10759 * bibtex.el (bibtex-reference-head): Allow entries to start with
10762 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10764 * bibtex.el: Hiding of entry bodies is not longer provided by
10765 bibtex.el directly. Instead the hideshow package can be used.
10766 Added a special bibtex entry to hs-special-modes-alist.
10767 (bibtex-hs-forward-sexp): Added for hideshow.el.
10769 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10771 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
10772 at ':' characters by call to split-string.
10774 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10776 * textmodes/bibtex.el: Added RCS version identification.
10778 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10780 * textmodes/bibtex.el: Some temporary comments removed.
10781 (bibtex-field-name, bibtex-entry-type): Made the relationship
10783 (bibtex-field-const): Allow capital letters.
10784 (bibtex-start-of-string): Deleted because unused.
10786 * textmodes/bibtex.el: Unified some nomenclature. We no longer
10787 use the term 'reference' to describe a bibtex entry as a whole.
10788 Further, reference keys are no longer called 'labels'.
10789 (bibtex-keys): Renamed to bibtex-reference-keys.
10790 (bibtex-reformat-previous-labels): Renamed to
10791 bibtex-reformat-previous-reference-keys.
10792 (bibtex-reference-type): Renamed to bibtex-entry-type.
10793 (bibtex-reference-head): Renamed to bibtex-entry-head.
10794 (bibtex-reference-maybe-empty-head): Renamed to
10795 bibtex-entry-maybe-empty-head.
10796 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
10797 (bibtex-search-reference): Renamed to bibtex-search-entry.
10798 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
10799 bibtex-enclosing-entry-maybe-empty-head.
10800 (bibtex-entry-field-alist, bibtex-entry-head,
10801 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
10802 bibtex-map-entries, bibtex-search-entry,
10803 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
10804 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10805 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
10806 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
10807 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
10808 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
10809 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
10811 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10813 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
10815 (bibtex-format-field-delimiters): New function, functionality
10816 extracted from bibtex-format-entry.
10817 (bibtex-autokey-get-yearfield-digits): New function, functionality
10818 extracted from bibtex-autokey-get-yearfield.
10820 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
10821 entries in order to avoid stack overflow in the regexp matcher if
10822 field contents become large.
10823 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
10824 bibtex-field-string-part-not-braced,
10825 bibtex-field-string-part-no-inner-braces,
10826 bibtex-field-string-part-1-inner-brace,
10827 bibtex-field-string-part-2-inner-braces,
10828 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
10829 bibtex-field-string-quoted, bibtex-field-string,
10830 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
10831 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
10832 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
10833 as parsing is now performed by the following functions.
10834 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
10835 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
10836 bibtex-parse-field-string, bibtex-search-forward-field-string,
10837 bibtex-parse-association, bibtex-field-name-for-parsing,
10838 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
10839 bibtex-search-forward-field, bibtex-search-backward-field,
10840 bibtex-start-of-field, bibtex-end-of-field,
10841 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
10842 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
10843 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
10844 bibtex-parse-string, bibtex-search-forward-string,
10845 bibtex-search-backward-string, bibtex-start-of-string,
10846 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
10847 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
10848 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
10849 entries. Instead of reporting the results of the parsing by
10850 match-beginning or match-end, these functions return data structures
10851 that hold the corresponding positions.
10852 (bibtex-enclosing-field): Changed to also report field boundaries by
10853 return values rather than by match-beginning or match-end. The
10854 following functions have been adapted to use the new parsing
10856 (bibtex-skip-to-valid-entry, bibtex-search-reference,
10857 bibtex-enclosing-field, bibtex-format-entry,
10858 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
10859 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
10860 bibtex-print-help-message, bibtex-end-of-entry,
10861 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
10862 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10863 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
10864 method for parsing.
10865 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
10866 bibtex-map-entries, bibtex-flash-head,
10867 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
10868 bibtex-autokey-change, bibtex-autokey-get-namefield,
10869 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
10870 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10871 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
10872 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10873 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
10874 order to make the new binding of case-fold-search immediately
10877 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10879 * textmodes/bibtex.el: Copyright notice is up to date.
10880 Added constant 'bibtex-maintainer-salutation.
10882 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
10883 than make-temp-name, use match-string-no-properties and eliminate
10884 a quadratic behavior when building bibtex-strings.
10886 * bibtex.el (bibtex-reference-key): Accept string entries whose
10887 reference key contains upper case letters.
10889 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10891 * bibtex.el (bibtex-reference-head): Allow entries to start with
10894 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10896 * bibtex.el: Hiding of entry bodies is not longer provided by
10897 bibtex.el directly. Instead the hideshow package can be used.
10898 Added a special bibtex entry to hs-special-modes-alist.
10899 (bibtex-hs-forward-sexp): Added for hideshow.el.
10901 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10903 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
10904 proceedings entry type (for cross referencing). Thanks to Wagner
10905 Toledo Correa for the suggestion.
10907 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
10909 2000-02-14 Kenichi Handa <handa@etl.go.jp>
10911 * international/characters.el: Setup case table for Vietnamese.
10913 2000-02-12 Gerd Moellmann <gerd@gnu.org>
10915 * uniquify.el (toplevel): Require CL at compile time.
10916 (uniquify-push): Removed.
10918 * shadowfile.el (shadow-when): Removed.
10920 * tempo.el (tempo-dolist, tempo-mapc): Removed.
10921 (tempo-process-and-insert-string): Use dolist instead of
10924 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
10925 regexp for paragraph-start.
10927 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
10930 2000-02-10 Dave Love <fx@gnu.org>
10932 * wid-edit.el: (widgets) [defgroup]: Remove url link.
10933 (widget-color-choice-list, widget-color-history, widget-mouse-help):
10935 (widget-specify-field, widget-specify-button): Don't use
10936 widget-mouse-help as help-echo property.
10937 (default): Use #'ignore for :validate and :mouse-down-action.
10938 (checkbox): Add help-echo.
10939 (widget-sexp-validate): Rewritten to clarify error messages.
10940 (character): Use char-valid-p in :match function.
10941 (widget-color-complete): Use facemenu-color-alist.
10942 (widget-color-action): Use facemenu-read-color.
10944 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
10945 set up `caar' &c that we now have.
10947 2000-02-09 Ray Blaak <blaak@gnu.org>
10949 * delphi.el: Make resourcestring a declaration region, like const
10952 2000-02-09 Dave Love <fx@gnu.org>
10954 * bindings.el (mode-line-input-method-map): New variable.
10955 (mode-line-mule-info): Use it; fix last change.
10956 (mode-line-mode-menu): Move definition.
10957 (mode-line-mouse-sensitive-p): Deleted.
10958 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
10959 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
10962 * startup.el (command-line-1): Don't call
10963 make-mode-line-mouse-sensitive.
10965 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
10967 * mail/rmail.el (rmail-retry-failure): Use
10968 rmail-beginning-of-message before rmail-toggle-header, because the
10969 former toggles headers.
10971 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
10973 * diff-mode.el (diff-kill-junk): New interactive function.
10974 (diff-reverse-direction): Use delete-and-extract-region.
10975 (diff-post-command-hook): Restrict the area so that the hook also works
10976 outside of any diff hunk. This is necessary for the minor-mode.
10977 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
10978 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
10980 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
10981 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
10982 so that it can be used more easily in <foo>-mode-hook. Also make sure
10983 to avoid duplicate entries.
10984 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
10985 (font-lock-remove-keywords): Just as was done for `add', allow it to
10986 work even if font-lock-mode is nil. Also make sure we don't modify
10987 any pre-existing list by forcing a copy-sequence. Finally rename
10988 `major-mode' to `mode'.
10989 (font-lock-fontify-syntactic-anchored-keywords)
10990 (font-lock-fontify-anchored-keywords)
10991 (font-lock-fontify-keywords-region): Use line-end-position.
10992 Don't make `font-lock-multiline' local (it's now done in
10993 font-lock-set-defaults).
10994 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
10995 move the `font-lock-fontified' creation to inside the `unless'.
10997 2000-02-06 Andrew Innes <andrewi@gnu.org>
10999 * term/w32-win.el (x-handle-args): Comment out call to message,
11000 which occurs before window system is initialized.
11002 * makefile.nt: Add support for recompiling lisp code.
11004 2000-02-04 Dave Love <fx@gnu.org>
11006 * bindings.el (mode-line-mule-info): Fix/extend last change.
11008 * completion.el: Replace completion-dolist with dolist.
11010 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
11013 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
11015 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
11016 environment names before they go into the section regexp.
11018 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
11019 char class in regexp.
11021 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
11022 `case-fold-search' to nil.
11024 * progmodes/idlwave.el (idlwave-template): Respect
11025 `idlwave-abbrev-change-case'.
11026 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
11027 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
11028 idlwave-while): respect `idlwave-reserved-word-upcase'.
11029 (idlwave-rw-case): New function.
11030 (idlwave-statement-match): Fixed problem with assignment regexp.
11031 (idlwave-font-lock-keywords): Improved regexp for keyword
11033 (idlwave-surround): New argument LENGTH to support padding of
11034 operators longer than 1 char.
11036 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
11037 idlwave-shell-expression-overlay. Implemented printing of
11038 expressions on higher levels of the calling stack.
11039 (idlwave-shell-display-level-in-calling-stack): Restore stack
11041 (idlwave-retrieve-expression-from-level): New function.
11042 (idlwave-shell-last-calling-stack): Variable removed.
11043 (idlwave-shell-reset): Argument action reversed (`visible' to
11044 `hidden'). Also remove stop-line overlay.
11045 (idlwave-shell-calling-stack-routine): New variable.
11046 (idlwave-shell-parse-stack-and-display): Messages now display
11047 negative level numbers.
11048 (idlwave-shell-mode): Set `modeline-format'.
11049 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
11050 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
11052 (idlwave-shell-print-expression-function): New option.
11054 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
11055 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
11056 `tool-bar' instead of `toolbar'.
11058 2000-02-02 Dave Love <fx@gnu.org>
11060 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
11061 emacs-lisp-mode-hook. Don't check for defalias being defined.
11063 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
11064 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
11065 the new builtins directly.
11067 * whitespace.el (whitespace): Add :version to defgroup.
11069 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
11072 * thingatpt.el (sexp-at-point, symbol-at-point)
11073 (number-at-point, list-at-point): Add autoload cookie.
11075 * recentf.el (recentf): Add :version to defgroup.
11077 * quickurl.el (quickurl): Add :version to defgroup.
11079 * elide-head.el (elide-head): Use point-marker more.
11081 * bs.el (bs): Add :version to defgroup.
11083 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
11085 * progmodes/delphi.el (delphi): Add :version to defgroup.
11087 2000-02-02 Gerd Moellmann <gerd@gnu.org>
11089 * ange-ftp.el (ange-ftp-write-region): Handle case that
11090 succeeding process operation sets a different coding system.
11092 * calculator.el: New file.
11094 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
11096 * frame.el (frames-on-display-list, framep-on-display): New
11098 (display-mouse-p, display-popup-menus-p, display-graphic-p)
11099 (display-selections-p, display-screens, display-pixel-width)
11100 (display-pixel-height, display-mm-width, display-mm-height)
11101 (display-backing-store, display-save-under, display-planes)
11102 (display-color-cells, display-visual-class): New functions.
11104 * term/tty-colors.el (tty-color-gray-shades): New function.
11106 * faces.el (display-color-p): Use framep-on-display.
11107 (display-grayscale-p): New function.
11109 2000-01-31 Dave Love <fx@gnu.org>
11111 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
11112 (create-fontset-from-x-resource): Don't concat integers.
11114 2000-01-31 Inge Frick <inge@nada.kth.se>
11116 * view.el: Some changes in documentation. Removed some trailing
11117 whitespace. Changed some parameter names to agree with
11119 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
11120 window is not deleted. Modifies change 1998-04-26.
11122 2000-01-31 Gerd Moellmann <gerd@gnu.org>
11124 * windmove.el: New file.
11126 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
11127 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
11128 progmodes/ebnf-yac.el: Update copyright and license info.
11130 * jit-lock.el (jit-lock-function): Widen before calculating end
11132 (jit-lock-stealth-chunk-start): Rewritten.
11134 * info.el (Info-title-face-alist): Removed.
11135 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
11137 (Info-fontify-node): Use these faces.
11139 2000-01-30 Gerd Moellmann <gerd@gnu.org>
11141 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
11142 (cl-macro-list1): Recognize `&allow-other-keys' instead of
11143 `&allow-other-keywords'.
11145 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
11146 the list of directories scanned heuristically.
11148 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
11151 2000-01-30 Jason Rumney <jasonr@gnu.org>
11153 * w32-fns.el: Define w32-tty-standard-colors.
11155 * startup.el (command-line): Use w32-tty-standard-colors when in
11158 2000-01-30 Dave Love <fx@gnu.org>
11160 * jka-compr.el (jka-compr-load): Fix up load-history.
11162 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
11164 * emacs-lisp/cl-macs.el: Revert previous change.
11166 2000-01-29 Dave Love <fx@gnu.org>
11168 * facemenu.el: Purecopy various strings.
11170 * timezone.el (timezone-fix-time): Window against 69 for two-digit
11171 years. Deal with three-digit years.
11173 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
11174 defconst, purecopy.
11175 (help-back-label): Purecopy it.
11177 2000-01-18 Gerd Moellmann <gerd@gnu.org>
11179 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
11180 variable. If non-nil, order the buffer list according to the
11181 currently selected frame.
11182 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
11183 non-nil, pass the selected frame to function buffer-list.
11185 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11187 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
11189 2000-01-28 Dave Love <fx@gnu.org>
11191 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
11193 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
11194 Don't use lisp-indent-hook property.
11197 * subr.el: Move out indent and edebug specs for when and unless.
11199 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
11202 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
11205 2000-01-28 Gerd Moellmann <gerd@gnu.org>
11207 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
11208 `collecting' as synonym for `collect'.
11210 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
11211 for the case it contains spaces.
11213 * simple.el (what-cursor-position): Change formatting of
11216 * frame.el (delete-other-frames): New function.
11217 (toplevel): Bind it to C-x 5 1.
11219 * sort.el (sort-numeric-base): New option.
11220 (sort-numeric-fields): If number starts with `0' or `0[xX[',
11221 interpret it as octal or hexadecimal. Use sort-numeric-base
11224 * progmodes/glasses.el: New file.
11226 2000-01-27 Gerd Moellmann <gerd@gnu.org>
11228 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
11229 userids differently.
11231 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
11232 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
11233 progmodes/ebnf-yac.el: New files.
11235 2000-01-26 Dave Love <fx@gnu.org>
11237 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
11238 on a function with an empty body. [From Eric Ludlam.]
11240 2000-01-25 Andre Spiegel <spiegel@gnu.org>
11242 * vc.el (vc-version-diff): Make sure file name is expanded.
11244 2000-01-25 Gerd Moellmann <gerd@gnu.org>
11246 * scroll-bar.el (scroll-bar-timer): Variable removed.
11247 (scroll-bar-toolkit-scroll): Don't use a timer.
11249 2000-01-25 Kenichi Handa <handa@etl.go.jp>
11251 * language/thai-util.el (thai-composition-function): Delete
11254 2000-01-24 Dave Love <fx@gnu.org>
11256 * fortran.el (fortran-mode): Use beginning-of-defun-function,
11257 end-of-defun-function.
11259 * font-lock.el (turn-on-font-lock): Don't depend on window-system
11262 2000-01-22 Jason Rumney <jasonr@gnu.org>
11264 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
11265 conflicts with new face support.
11267 2000-01-22 Richard M. Stallman <rms@gnu.org>
11269 * replace.el (query-replace): Rename last arg to DELIMITED.
11270 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
11271 (query-replace-regexp): Likewise.
11273 2000-01-20 Richard M. Stallman <rms@gnu.org>
11275 * subr.el (with-syntax-table): Use make-symbol, not gensym.
11277 * emacs-lisp/lisp.el (beginning-of-defun-function):
11278 Variable renamed from beginning-of-defun.
11279 Do not call make-variable-buffer-local.
11280 (beginning-of-defun-raw): Use new variable name; doc fix.
11281 (beginning-of-defun): Doc fix.
11282 (end-of-defun-function): Variable renamed from end-of-defun.
11283 Do not call make-variable-buffer-local.
11284 (end-of-defun): Use new variable name; doc fix.
11286 * subr.el (dolist, dotimes): Copied from cl-macs.el
11289 * mail/undigest.el (rmail-digest-end-regexps):
11290 Variable replaces rmail-digest-end-regexp.
11291 Allows multiple regexps for detecting the end line.
11292 (undigestify-rmail-message): Corresponding changes.
11294 2000-01-19 Dave Love <fx@gnu.org>
11296 * files.el (user-init-file): Don't declare here -- is primitive.
11298 * startup.el (command-line): Check for compiled user-init-file and
11299 set to uncompiled version if necessary.
11301 2000-01-18 Gerd Moellmann <gerd@gnu.org>
11303 * mail/undigest.el (rmail-digest-end-regexp): New user option.
11304 (undigestify-rmail-message): Use it.
11306 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
11308 2000-01-17 Gerd Moellmann <gerd@gnu.org>
11310 * tmm.el (tmm-goto-completions): Adapt to prompt being part
11313 2000-01-14 Gerd Moellmann <gerd@gnu.org>
11315 * emacs-lisp/copyright.el (copyright-update): Removed the
11316 requirement for a trailing space from `copyright-regexp', to
11317 support copyrights with owner specified on a separate line..
11319 * align.el: New file.
11321 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
11323 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
11325 2000-01-13 Dave Love <fx@gnu.org>
11327 * ph.el: Removed. (Obsoleted by EUDC.)
11329 2000-01-13 Gerd Moellmann <gerd@gnu.org>
11331 * net/eudc.el (toplevel): Remove autoloaded code installing
11332 menu with easymenu, because that causes build problems.
11334 * frame.el (frame-notice-user-settings): New variable.
11335 (frame-notice-user-settings): Don't modify frame parameters
11336 if called a second time.
11338 2000-01-13 Richard M. Stallman <rms@gnu.org>
11340 * frame.el (frame-notice-user-settings):
11341 Notice default-frame-parameters even for non-window frames.
11343 2000-01-13 Gerd Moellmann <gerd@gnu.org>
11345 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
11347 (eudc-bob-can-display-inline-images): Extend for Emacs.
11348 (eudc-bob-toggle-inline-display): Ditto.
11349 (eudc-bob-display-jpeg): Ditto.
11351 2000-01-12 Gerd Moellmann <gerd@gnu.org>
11353 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
11354 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
11355 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
11357 * add-log.el (add-change-log-entry): Fix error trying an `(insert
11360 * subdirs.el: Add `net' directory.
11362 * net: New directory.
11364 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
11365 eval-last-sexp. Don't bind debug-on-error here.
11366 (eval-last-sexp): New function. Bind debug-on-error if
11367 eval-expression-debug-on-error is non-nil.
11368 (eval-defun-2, eval-defun): Likewise.
11370 * simple.el (eval-expression): Don't bind debug-on-error if
11371 eval-expression-debug-on-error is nil. Detect changed
11372 debug-on-error, and propagate new value to global binding, if
11373 eval-expression-debug-on-error is non-nil,
11374 (eval-expression-debug-on-error): Change doc string.
11376 2000-01-11 Richard M. Stallman <rms@gnu.org>
11378 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
11380 * emacs-lisp/lisp-mode.el (with-syntax-table):
11381 Set up lisp-indent-function property.
11383 * subr.el (with-syntax-table): Moved from simple.el.
11385 * simple.el (with-syntax-table): Moved to subr.el.
11387 2000-01-11 Gerd Moellmann <gerd@gnu.org>
11389 * tmm.el (tmm-shortcut): Delete region after prompt instead
11392 * textmodes/fill.el (fill-common-string-prefix): New function.
11393 (fill-context-prefix): Use the longest common prefix of first
11394 and second line fill prefix, if there is one.
11396 2000-01-11 Richard M. Stallman <rms@gnu.org>
11398 * array.el (array-mode): Don't use make-variable-buffer-local.
11399 Use make-local-variable for `truncate-lines'.
11401 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
11403 * add-log.el (add-log-current-defun): Handle user-defined
11404 add-log-current-function returning nil,
11406 * add-log.el (add-change-log-entry): Insert version number
11407 if having found a current function
11409 * add-log.el (add-log-current-defun): Call
11410 `add-log-current-defun-function'. Try matches at level 0 and
11411 level 1. Strip whitespace from defun found.
11413 2000-01-10 John Wiegley <johnw@gnu.org>
11415 * allout.el (isearch-done/outline-provisions): Added `edit'
11416 argument to correspond with the current definition of
11419 2000-01-10 Dave Love <fx@gnu.org>
11421 * elide-head.el (elide-head): Use point-marker, not point.
11423 2000-01-10 Gerd Moellmann <gerd@gnu.org>
11425 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
11426 before and after the year 2000.
11428 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
11429 Add ispell- prefix.
11431 2000-01-10 Ken Stevens <k.stevens@ieee.org>
11433 * ispell.el: Only define dictionaries in menus when they exist.
11434 (version18p): New variable.
11435 (version20p): New variable.
11436 (xemacsp): New variable.
11437 (ispell-choices-win-default-height): Fix for XEmacs visibility.
11438 (ispell-dictionary-alist1): Added Brasileiro dictionary.
11439 (ispell-dictionary-alist6): Russian command lines no longer accept
11440 run-together words.
11441 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
11442 (ispell-dictionary-alist): Add koi8-r to customize definition.
11443 (check-ispell-version): Added documentation string. Returns
11444 library path when called non-interactively.
11445 (ispell-menu-map-needed): Uses new variables.
11446 (ispell-library-path): New variable.
11447 (ispell-decode-string): XEmacs fix for bogus variable bindings.
11448 (ispell-word): Improved documentation string. Test for valid
11449 character mappings. Correctly check typed in word changes that can
11450 result in single words split into multiple words. Returns
11452 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
11453 replace in recursive query replace mode. Help message for
11454 recursive edit mode.
11455 (ispell-show-choices): Protect against bad framepop bindings.
11456 (ispell-help): Fix to work with XEmacs.
11457 (ispell-highlight-spelling-error): Use new variables.
11458 (ispell-overlay-window): Fix to work with XEmacs.
11459 (ispell-parse-output): Passed and returns location information
11460 tracking spelling corrections. Doesn't recheck same word on
11462 (ispell-init-process): Protect against bogus XEmacs variable binding.
11463 Fix call to single argument in sleep-for. Use new variables.
11464 (ispell-region): Passed and returns location information tracking
11465 spelling corrections. Doesn't check same word on current line.
11466 Improved documentation string. Doesn't resend a line already
11467 checked to the ispell process - fixes bug in LaTeX parsing.
11468 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
11469 (ispell-skip-region): No longer skips <TT> in SGML.
11470 (ispell-process-line): Tracks location information with spelling
11471 corrections. Added documentation string. Accounts for words
11472 already accepted on this line. Don't allow query-replace on line
11473 starting with math characters. Doesn't resend a line already sent
11474 to ispell process. Fixes alignment error bug.
11476 2000-01-10 Richard M. Stallman <rms@gnu.org>
11478 * dired-x.el (dired-guess-shell-alist-default):
11479 Suggest xloadimage, which is free, not xv, which isn't.
11481 * ange-ftp.el (ange-ftp-file-name-nondirectory):
11482 Don't ever include the host name or user name in the value.
11484 2000-01-09 Gerd Moellmann <gerd@gnu.org>
11486 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
11489 2000-01-09 Stephen Eglen <stephen@gnu.org>
11491 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
11494 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
11496 * cus-edit.el (custom-hook-convert-widget): Fix comment.
11498 2000-01-09 Gerd Moellmann <gerd@gnu.org>
11500 * progmodes/cperl-mode.el: Replace ^F with ^L.
11502 * sendmail.el (toplevel): Provide `sendmail' when compiling
11503 before `require'ing rmail and mailalias to prevent infinite
11506 2000-01-08 Dave Love <fx@gnu.org>
11508 * emacs-lisp/backquote.el: Remove inappropriate customization
11509 (allowing custom.el to use backquote).
11511 2000-01-07 Dave Love <fx@gnu.org>
11513 * add-log.el (add-log-debugging): Deleted.
11514 (add-change-log-entry): Treat a backup FILE-NAME as its parent
11515 file. Remove debugging code.
11516 (change-log-get-method-definition, change-log-name): Add doc.
11517 (change-log-sortable-date-at): New function.
11518 (change-log-merge): New command.
11520 * time.el (display-time-string-forms): Make the Mail string active.
11521 (display-time-update): Provide help-echo for load average.
11523 * bindings.el (make-mode-line-mouse2-map): New function.
11524 (mode-line-modified): Use it and simplify.
11525 (mode-line-mule-info): Provide help-echo info.
11526 (minor-mode-alist): Activate the strings.
11527 (make-mode-line-mouse-sensitive): Simplify for
11528 mode-line-buffer-identification.
11530 2000-01-07 Gerd Moellmann <gerd@gnu.org>
11532 * play/pong.el: New file.
11534 2000-01-06 Dave Love <fx@gnu.org>
11536 * array.el: Assorted cleanups for compiler warnings, doc strings,
11537 `array-' prefix for symbols.
11539 2000-01-05 Dave Love <fx@gnu.org>
11541 * textmodes/outline.el (outline-mode-menu-bar-map): Add
11542 outline-headers-as-kill.
11543 (outline-mode): Define imenu-generic-expression.
11544 (outline-headers-as-kill): New command.
11546 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
11547 from paragraph-start.
11548 (paragraph-indent-minor-mode): New command.
11550 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
11551 M-C-e, M-C-h, C-j, C-xnd, TAB.
11552 (fortran-mode): Set beginning-of-defun, end-of-defun.
11553 (fortran-column-ruler): Simplify.
11554 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
11555 (fortran-with-subprogram-narrowing): Likewise.
11556 (fortran-indent-subprogram): Call mark-defun.
11557 (fortran-check-for-matching-do): Change narrowing.
11559 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
11560 (cl-lucid-hash-tag): Delete.
11561 (cl-hash-table-p): Correct test for native table.
11562 (cl-hash-table-count): Use hash-table-count.
11564 * browse-url.el (browse-url): Fix case of
11565 browse-url-browser-function being an alist.
11567 2000-01-05 Carsten Dominik <cd@gnu.org>
11569 * textmodes/reftex-vars.el (reftex-parse-file-extension)
11570 (reftex-index-phrase-file-extension): New options.
11572 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
11573 Use new option `reftex-index-phrase-file-extension'.
11575 * textmodes/reftex.el (reftex-access-parse-file): Use new option
11576 `reftex-parse-file-extension'.
11578 2000-01-05 Dave Love <fx@gnu.org>
11580 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
11581 (beginning-of-defun-raw): Use it.
11582 (end-of-defun): New variable.
11583 (end-of-defun): Use it.
11584 (check-parens): New command.
11586 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
11588 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
11589 (hs-show-block): Don't use `mapcar' when not accumulating.
11591 Fix buglet in local variables initialization.
11593 2000-01-05 Andreas Schwab <schwab@suse.de>
11595 * hscroll.el (hscroll): Doc fix.
11597 2000-01-05 Carsten Dominik <cd@gnu.org>
11599 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
11602 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
11603 file idlw-rinfo.el.
11604 (idlwave-customize): load must read file idlw-shell.el.
11605 (idlwave-create-customize-menu): load must read file idlw-shell.el.
11607 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
11609 * progmodes/idlw-shell.el: Also provide idlwave-shell
11610 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
11611 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
11613 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
11614 both reftex-dcr and reftex-vcr.
11616 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
11618 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11620 * ps-print.el: PostScript code now is in separate files, doc fix.
11621 (ps-print-version): New version number (5.0.3).
11622 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
11624 (ps-spool-config): Initialization fix.
11625 (ps-print-prologue-1, ps-print-prologue-2)
11626 (ps-print-duplex-feature): PostScript code moved to separated file.
11627 (ps-background-image): Little code reformating.
11628 (ps-begin-file, ps-begin-job): Fix code.
11629 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
11630 (ps-prologue-file): New fun.
11632 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11634 * ps-vars.el: Eliminated.
11636 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
11639 * ps-print.el: ps-vars eliminated, doc fix.
11640 (ps-print-version): New version number (5.0.2).
11641 (ps-spool-config): Initialization fix.
11642 (ps-print-customize): New fun.
11644 2000-01-04 Gerd Moellmann <gerd@gnu.org>
11646 * autorevert.el (auto-revert-mode): Return value of
11649 2000-01-04 Dave Love <fx@gnu.org>
11651 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
11654 2000-01-03 Dave Love <fx@gnu.org>
11656 * elide-head.el (elide-head) [defgroup]: Add :version.
11658 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
11659 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
11660 `cl-hash-table-p', not `hash-table-p'.
11661 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
11663 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
11665 * faces.el (face-read-integer, read-face-attribute)
11666 (color-defined-p, color-values): unspecified-{f,b}g are now
11669 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
11671 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
11672 at comment end, and re-insert them after filling.
11674 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
11676 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
11677 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
11678 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
11680 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
11682 * term/x-win.el (xw-defined-colors): Call color-supported-p,
11683 the new name of face-color-supported-p.
11685 * term/w32-win.el (xw-defined-colors): Likewise.
11687 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
11689 * simple.el (completion-setup-function): Count completion-size
11690 from minibuffer-prompt-end, not from point-min.
11692 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
11694 * faces.el (read-face-attribute, defined-colors, color-defined-p):
11695 Pass the frame to tty-color-* functions.
11696 (display-color-p, frame-set-background-mode): Pass the frame to
11697 tty-display-color-p.
11699 * term/tty-colors.el (tty-defined-color-alist): Renamed from
11701 (tty-color-alist, tty-modify-color-alist): New functions.
11702 (tty-color-define, tty-color-clear, tty-color-approximate)
11703 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
11704 an optional parameter FRAME.
11706 2000-01-01 Gerd Moellmann <gerd@gnu.org>
11708 * image.el (create-image, defimage): Don't assume image data is a
11711 * image.el (defimage): Handle specifications containing :data
11713 (image-type-from-data): New function.
11714 (image-type-from-file-header): Use it.
11715 (create-image): Add parameter DATA-P.
11717 See ChangeLog.8 for earlier changes.
11719 ;; Local Variables:
11720 ;; coding: iso-2022-7bit