1 2000-11-02 Stefan Monnier <monnier@cs.yale.edu>
3 * font-lock.el (font-lock-buffers): Remove.
4 (font-lock-global-modes): Define with easy-mmode-define-global-mode.
5 (font-lock-change-major-mode): Remove.
6 (turn-on-font-lock-if-enabled): Only apply to the current buffer.
7 (font-lock-default-fontify-region): Extend the multiline
8 fontification to whole lines.
9 (font-lock-fontify-anchored-keywords)
10 (font-lock-fontify-keywords-region): If matching just one
11 line (with \n) only mark the \n as multiline.
13 * emacs-lisp/easy-mmode.el (define-minor-mode): Remove :toggle arg.
14 Correctly handle the case where several :group args are supplied.
16 (easy-mmode-define-global-mode): Allow :extra-args.
17 Correctly handle the case where several :group args are supplied.
19 2000-11-02 Miles Bader <miles@gnu.org>
21 * calendar/calendar.el (diary-face, calendar-today-face)
22 (holiday-face): Remove dependency on `window-system'.
24 2000-11-02 Ken Raeburn <raeburn@gnu.org>
26 * Makefile.in (emacs): Set EMACSLOADPATH always.
27 (update-authors, .el.elc, compile-files): Don't do it explicitly
29 (compile-files): Bomb out if compilation of a file fails.
31 2000-11-02 Dave Love <fx@gnu.org>
33 * emacs-lisp/find-func.el (find-variable-regexp): Avoid defgroup.
35 2000-11-02 Eli Zaretskii <eliz@is.elta.co.il>
37 * mail/emacsbug.el (report-emacs-bug): Fix whitespace and
38 punctuation in the warning inserted into the *mail* buffer.
40 2000-11-02 Gerd Moellmann <gerd@gnu.org>
42 * emacs-lisp/authors.el (authors-public-domain-files): New variable.
43 (authors-public-domain-p): New function.
44 (authors-print): Use it.
46 * help.el (view-emacs-news): Use ONEWS.* instead of NEWS.* files.
48 * mail/mh-e.el, mail/mh-comp.el: Change maintainer.
50 2000-11-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
52 * ps-print.el: Extension for even/odd printing. Doc fix.
53 (ps-print-version): New version number (6.3.1).
54 (ps-even-or-odd-pages): Customization fix.
55 (ps-print-page-p, ps-begin-file, ps-begin-job, ps-page-number)
56 (ps-header-sheet, ps-header-page, ps-end-job): Code fix.
57 (ps-page-count): Var replaced by `ps-page-column'.
58 (ps-page-column, ps-page-sheet, ps-page-printed): New vars.
59 (ps-print-sheet-p): New fun.
61 2000-11-02 Miles Bader <miles@lsi.nec.co.jp>
63 * tooltip.el (tooltip-gud-tips-setup): New function.
64 (tooltip-gud-tips-p): Add :set to call tooltip-gud-tips-setup.
65 (tooltip-mode): Call tooltip-gud-tips-setup.
66 (tooltip-gud-tips): Use `gud-basic-call' instead of
67 process-send-string, so the prompt gets frobbed appropriately.
68 Handle nil return value from `tooltip-gud-print-command'.
70 2000-11-01 Eric M. Ludlam <zappo@ultranet.com>
72 * comint.el (comint-add-to-input-history): New function.
73 (comint-send-input): Use `comint-add-to-input-history'.
75 2000-11-02 Miles Bader <miles@lsi.nec.co.jp>
77 * info.el (info-menu-header): New face.
78 (Info-fontify-menu-headers): New function.
79 (Info-fontify-node, Info-insert-dir): Call `Info-fontify-menu-headers'.
81 * info.el (Info-insert-dir): Don't include blank lines at
82 beginning of additional dir files (one is added automatically).
84 2000-11-01 Stefan Monnier <monnier@cs.yale.edu>
86 * emacs-lisp/easy-mmode.el (define-minor-mode):
87 Revert the latest changes.
88 Allow the three positional arguments to be skipped and replaced
90 Add a :toggle argument to determine whether a nil arg means toggle
91 or means turn-on. The default is unchanged.
92 Add a call to force-mode-line-update.
94 2000-11-01 Dave Love <fx@gnu.org>
96 * emacs-lisp/elp.el (elp-restore-function): Remove autoload
99 2000-11-01 Miles Bader <miles@lsi.nec.co.jp>
101 * calendar/calendar.el (diary-face, holiday-face): Add
102 dark-background variants.
104 2000-10-31 Sam Steingold <sds@gnu.org>
106 * textmodes/tex-mode.el (tex-file): Use `default-directory' when
107 `tex-main-file' does not have directory in it.
109 2000-10-31 Stefan Monnier <monnier@cs.yale.edu>
111 * cus-edit.el (custom-mode-map): Switch back to a sparse keymap.
113 2000-10-31 Thien-Thi Nguyen <ttn@gnu.org>
115 * ediff-init.el (ediff-prepare-buffer-hook): Expand docstring, no
118 2000-10-31 Gerd Moellmann <gerd@gnu.org>
120 * files.el (find-file-noselect): When we expand a wildcard, return
121 a list of buffers, as we should do according to the doc string.
123 2000-10-31 Ken Raeburn <raeburn@gnu.org>
125 * loadup.el (top level): Adjust load path if program name is
126 "../src/bootstrap-emacs", in case it's not dumped and thus the
127 load path adjustment hasn't already been done.
129 2000-10-31 Vinicius Jose Latorre <vinicius@cpqd.com.br>
131 * ps-print.el: Fix bug on selected pages for printing. Use
132 `color-values' for Emacs 21. Ensure fontification when jit-lock
133 is on. Try to avoid warning messages when compiling. Doc Fix.
134 (ps-print-version): New version number (6.3).
135 (ps-color-device): Use `color-values' to determine if device
137 (ps-color-values): Try to use `x-color-values' when using XEmacs.
138 (ps-print-page-p): Changed from defsubst to defun.
139 (ps-page-number): Changed from defmacro to defun.
140 (ps-header-sheet, ps-header-page): Fix bug on selected pages for
142 (ps-print-ensure-fontified): Ensure fontification when jit-lock is on.
143 (ps-end-file, ps-dummy-page): Funs eliminated.
144 (ps-print-color-scale): Changed default value.
145 (ps-page-n-up, ps-print-page-p): New internal vars.
146 (ps-print-preprint, ps-output, ps-begin-file, ps-begin-page)
147 (ps-plot-region, ps-generate, ps-end-job): Code fix.
149 * delim-col.el: Little programming improvement.
150 (delimit-columns-str): New macro.
151 (delimit-columns-region, delimit-columns-rectangle): Code fix.
153 2000-10-31 Kenichi Handa <handa@etl.go.jp>
155 * term/mac-win.el (decode-mac-roman, encode-mac-roman, mac-roman):
156 Moved to european.el.
157 (ccl-encode-mac-roman-font, fontset-mac): Modified for
158 mule-unicode-2500-33ff and mule-unicode-e000-ffff.
159 (mac-roman-kbd-insert, mac-roman-kbd-mode): These functions deleted.
160 (mac-roman-kbd-mode, mac-roman-kbd-mode-map): These variables deleted.
162 2000-10-30 Dave Love <fx@gnu.org>
164 * progmodes/cc-menus.el (imenu-generic-expression)
165 (imenu-progress-message): Only defvar when compiling.
167 * emacs-lisp/elp.el (elp-unload-hook): New function.
169 * loadhist.el (unload-feature): Call elp-restore-function,
170 checking for symbols; don't use elp-restore-all.
171 (loadhist-hook-functions): Doc fix.
173 2000-10-30 Stefan Monnier <monnier@cs.yale.edu>
175 * log-edit.el (log-edit-confirm): Fix the default.
177 2000-10-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
179 * delim-col.el: Little fix: replace delimit-columns-align-columns by
180 delimit-columns-format.
181 (delimit-columns-region, delimit-columns-rectangle): Code fix.
183 2000-10-30 Miles Bader <miles@lsi.nec.co.jp>
185 * comint.el (comint-replace-by-expanded-history): Don't use
186 comint-get-old-input (we're not looking at *old* input).
187 (comint-get-old-input-default): If using fields, signal an error
188 when the point is not in an input field.
190 2000-10-30 Kenichi Handa <handa@etl.go.jp>
192 * international/mule-conf.el: New charsets mule-unicode-2500-33ff
193 and mule-unicode-e000-ffff.
195 * international/mule.el (decode-char, encode-char): New functions.
196 (make-coding-system): Accept a symbol of translation table as a
197 value of property `safe-chars'.
199 * international/mule-cmds.el (encode-coding-char): Check property
200 safe-chars instead of safe-charsets.
202 * international/fontset.el (fontset-default): Modified for
203 mule-unicode-2500-33ff and mule-unicode-e000-ffff.
204 (x-font-name-charset-alist): Likewise.
205 (ccl-encode-unicode-font): New CCL program. Record it in
206 font-ccl-encoder-alist to be used for fonts "ISO10646-1".
208 * language/european.el (mac-roman-decoder, mac-roman-encoder):
209 New translation tables.
210 (decode-mac-roman, encode-mac-roman): Definition of these CCL
211 programs are modified and moved from mac-win.el.
212 (mac-roman): Definition of this coding system is modified and
213 moved from mac-win.el.
215 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
217 * ediff-wind.el (ediff-setup-control-frame): Enclose
218 face-attribute in condition-case to avoid errors in older emacsen.
220 2000-10-29 Miles Bader <miles@gnu.org>
222 * custom.el (custom-add-to-group): Allow multiple entries for a
223 given value OPTION, as long as their widget types are different.
224 * cus-edit.el (custom-face-value-create): If face name doesn't end
225 with "face", add such here (similar to custom group widgets).
227 * comint.el (comint-highlight-prompt): Add :type.
229 2000-10-28 John Wiegley <johnw@gnu.org>
231 * textmodes/flyspell.el (flyspell-maybe-correct-transposition):
232 Changed this function to operate on a temporary buffer instead of
233 the main buffer. This not only keeps flyspell from marking a
234 buffer as changed that wasn't, but it solves the jumpy cursor
235 problem when attempts are made to edit incorrect words.
236 (flyspell-maybe-correct-doubling): Same change as for
237 `flyspell-maybe-correct-transposition'.
239 * calendar/timeclock.el (timeclock-log): Doc fix.
240 (timeclock-last-event): Doc fix.
241 (timeclock-log): Kill the timelog buffer after appending a new
243 (timeclock-find-discrep): Use a temp buffer to read in the
244 timelog, instead of visiting the file.
245 (timeclock-log-data): A new function, along with a host of helper
246 functions, for the purpose of making timelog data accessible to
249 * eshell/esh-mode.el (window-height test): Make certain that
250 `eshell-stringify-t' is non-nil.
251 (eshell-password-prompt-regexp): Changed to a much simpler
253 (eshell-send-input): If `eshell-invoke-directly' returns t,
254 directly invoke the parsed command using `eval'. This improves
255 turn-around time on simple commands by a factor of three or
256 greater, such as cd, ls, pwd, etc. -- which get used very often.
257 It also conserves thousands of cons cells per call (since
258 `eshell-do-eval' consumes memory like a Cookie Monster set loose
259 in the Pacific Cookie Company).
261 * eshell/esh-test.el (eshell-test): Whitespace fix.
263 * eshell/em-ls.el (eshell-ls-insert-directory): Make
264 `eshell-ls-initial-args' nil when inserting directory contents.
266 * eshell/em-script.el (eshell-script-initialize): Add names to
267 `eshell-complex-commands, since `source' and `.' are complex.
269 * eshell/esh-cmd.el (eshell-rewrite-for-command)
270 (eshell-rewrite-while-command): Use `eshell-protect' instead of
271 `eshell-copy-handles'.
272 (eshell-rewrite-if-command): Use `eshell-protect' to wrap the call
274 (eshell-separate-commands): Whitespace fix.
275 (eshell-complex-commands): Added a new list of names, for
276 determining whether a given command is as simple as it looks.
277 (eshell-invoke-directly): New function. Returns t if a command
278 should be invoked directly (using `eval'), rather than indirectly
279 using `eshell-do-eval'.
280 (eshell-do-eval): Whitespace fix.
282 * eshell/em-unix.el (eshell-default-target-is-dot): New variable,
283 which provides an emulation of the DOS shell behavior of assuming
284 that cp/mv/ln should copy/move/link to the current directory.
285 (eshell-remove-entries): Added a doc string.
286 (eshell-shuffle-files): Removed the check for `target' being null.
287 (eshell-mvcp-template, eshell-mvcpln-template): Renamed
288 `eshell-mvcp-template' to `eshell-mvcpln-template', and extended
289 it to do a smarter check of whether a destination was provided.
290 (eshell/mv, eshell/cp): Enable `:preserve-args'.
291 (eshell/ln): Enable `:preserve-args', and use
292 `eshell-mvcpln-template' to implement the body of the function.
293 (eshell/cat, eshell/make, eshell-poor-mans-grep, eshell-grep)
294 (eshell/du, eshell/diff, eshell/locate): Stringify the argument
295 list after flattening it. This makes it possible to cat files
296 with numerical names.
297 (eshell-unix-initialize): Added several names to
298 `eshell-complex-commands.
299 (eshell-unix-command-complex-p): Return t if a given command name
300 may result in external processes being invoked.
302 * eshell/em-glob.el (eshell-glob-show-progress): Make this
303 variable nil by default, since it slows down glob processing by a
304 factor of two or more, and increases memory consumption.
306 * eshell/em-smart.el: Added a note about how memory consumptive
307 smart display mode can be (at least this is true in Emacs 21).
308 (eshell-smart-initialize): Whitespace fix.
309 (eshell-refresh-windows): Use `if' instead of `when'.
310 (eshell-smart-scroll-window): Calling `save-current-buffer' was
312 (eshell-currently-handling-window): Added a missing global
315 * eshell/em-ls.el (eshell-do-ls): Code simplification.
316 (eshell-ls-sort-entries, eshell-ls-entries, eshell-ls-dir):
318 (eshell-ls-exclude-hidden): Added this variable in addition to
319 `eshell-ls-exclude-regexp'. This one prevents files beginning
320 with . from even being read, which can improve memory consumption
322 (eshell-ls-dir): If `eshell-ls-exclude-hidden' is non-nil, do not
323 read file entries beginning with a dot. In home directories with
324 lots of hidden files, fully two-thirds of the time spent in ls is
325 used to read directory entries that are immediately thrown away.
326 (eshell-ls-initial-args): Added back this configuration variable,
327 for specifying default initial arguments to every call to ls.
328 Much faster than using an alias to do the same thing.
329 (eshell-do-ls): Use `eshell-ls-initial-args', if set.
330 (eshell-ls-dir): Whitespace change.
332 * eshell/em-dirs.el (eshell/pwd): Small code simplification.
334 * eshell/esh-util.el: Don't require `ange-ftp' if it's not
336 (eshell-stringify-t): Added a customization variable, to indicate
337 whether `t' should be rendered as a string at all. If not, one
338 can still determine if the result of an expression is true using
339 "file-exists-p FILE && echo true".
340 (eshell-stringify): If `eshell-stringify-t' is nil, don't
343 * eshell/esh-module.el: Whitespace fix.
345 * eshell/em-alias.el (eshell-alias-initialize): Added
346 `eshell-command-aliased-p' to `eshell-complex-commands'.
347 (eshell-command-aliased-p): New function that returns t if a
348 command name names an aliased.
350 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
352 * viper-cmd.el (viper-preserve-cursor-color): New test that avoids
353 redrawing the screen when changing cursor color.
354 (viper-insert-state-pre-command-sentinel)
355 (viper-replace-state-pre-command-sentinel)
356 (viper-replace-state-post-command-sentinel):
357 Use viper-preserve-cursor-color.
358 Many functions changed to use viper= instead of = when comparing
360 * viper-util.el (viper-memq-char,viper=): New functions for
361 working with characters.
362 (viper-change-cursor-color): Fixed buglet.
363 Many functions changed to use viper= instead of = when comparing
365 * viper.el (viper-insert-state-mode-list): Added eshell.
367 * ediff-init.el (ediff-before-setup-hook): New hook.
368 Several typos fixed in various docstrings.
369 * ediff-merg.el (ediff-show-clashes-only): Docstring typo fixed.
370 * ediff-nult.el (ediff-before-session-group-setup-hooks): New
372 (ediff-show-meta-buffer): Run ediff-before-session-group-setup-hooks.
373 * ediff-util.el (ediff-setup): Run ediff-before-setup-hook.
374 (ediff-other-buffer): Use selected buffers if in Buffer-menu buffer.
375 (ediff-get-selected-buffers): New function.
376 * ediff-vers.el (ediff-vc-internal,ediff-rcs-internal)
377 (ediff-vc-merge-internal,ediff-rcs-merge-internal): Use
378 save-window-excursion.
379 * ediff-wind.el (ediff-skip-unsuitable-frames): More robust
380 termination check in while loop.
381 * ediff.el (ediff-get-default-file-name): Better defaults when in
383 (ediff-files,ediff-merge-files,ediff-files3)
384 (ediff-merge-files-with-ancestor): Use ediff-get-default-file-name.
386 2000-10-28 Dave Love <fx@gnu.org>
388 * info.el (Info-fontify-node): Add help-echo for menu items.
390 2000-10-28 Eli Zaretskii <eliz@is.elta.co.il>
392 * startup.el (normal-top-level): If the value of $TERM indicates
393 we are running from xterm or one of its work-alikes, default to a
394 light background mode.
396 Support for -fg, -bg, and -rv command-line arguments for TTYs:
397 * faces.el (tty-handle-reverse-video): New function.
398 (tty-create-frame-with-faces): Call it.
400 * frame.el (frame-notice-user-settings): Don't apply
401 default-frame-alist and initial-frame-alist to MS-DOS frames.
402 Call tty-handle-reverse-video, frame-set-background-mode, and
403 face-set-after-frame-default for non-MS-DOS frames.
405 * startup.el (tty-long-option-alist): New variable.
406 (tty-handle-args): New function.
407 (command-line): Call tty-handle-args.
409 * term/pc-win.el (x-long-option-alist, msdos-handle-args): Remove;
410 startup.el now does that for all character-terminal frames.
412 2000-10-28 Miles Bader <miles@gnu.org>
414 * emacs-lisp/easy-mmode.el (define-minor-mode): Generate
415 `turn-on-MODE' and `turn-off-MODE' functions unless the mode is
416 global. If :global is followed by a non-nil but non-t value,
417 make the mode buffer-local, but also generate a `global-MODE'
418 version using `easy-mmode-define-global-mode'. Add
419 :conditional-turn-on keyword argument.
421 2000-10-28 Dave Love <fx@gnu.org>
423 * international/latin1-disp.el (latin1-char-displayable-p): Don't
426 2000-10-27 Eli Zaretskii <eliz@is.elta.co.il>
428 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
429 Don't call find-buffer-file-type-coding-system. Instead, just
430 set eol-type to -unix if inhibit-eol-conversion is in effect, or
431 if the file is on an untranslated filesystem.
432 (add-untranslated-filesystem): Use "D" instead of "f" inside
435 2000-10-27 Dave Love <fx@gnu.org>
437 * textmodes/refill.el (refill-late-fill-paragraph-function): New var.
438 (refill-mode): Use it.
440 2000-10-27 Stefan Monnier <monnier@cs.yale.edu>
442 * international/quail.el (quail-activate): Don't make-local-hook.
444 2000-10-27 Andre Spiegel <spiegel@gnu.org>
446 * vc-hooks.el (vc-version-backup-file-name): Use file.~<rev>~ for
447 manual backups and file.~<rev>.~ for automatic ones.
448 (vc-make-version-backup): Don't do it on MS-DOS without long file
451 * vc.el (vc-version-other-window): If an automatic backup of the
452 desired version exists, rename it instead of copying it.
454 * vc-cvs.el (vc-cvs-checkin): Check both status and error message
455 after command. If there's an unexpected error, signal it instead
457 (vc-cvs-merge-news): Be prepared for no news at all.
459 2000-10-27 Miles Bader <miles@lsi.nec.co.jp>
461 * shell.el (shell): Add BUFFER argument.
462 * comint.el (make-comint-in-buffer): New function.
463 (make-comint): Use it.
465 * faces.el (face-spec-choose): Change syntax so that the list of
466 attribute-value pairs is now the cdr of each clause, not the cadr.
467 Detect old-style entries, and handle them. Use pop.
469 2000-10-26 Stefan Monnier <monnier@cs.yale.edu>
471 * cus-edit.el (custom-mode-map): Use a sparse map.
472 (custom-mode): Don't bother with make-local-hook.
474 * wid-edit.el (widget-add-change): Don't bother with make-local-hook.
476 * vc.el (vc-start-entry): Only erase the buffer if comment is set.
478 2000-10-26 Vinicius Jose Latorre <vinicius@cpqd.com.br>
480 * ps-print.el: Avoid compilation gripes.
481 (ps-print-version): New version number (6.2.1).
483 2000-10-26 Dave Love <fx@gnu.org>
485 * menu-bar.el: Modify some menu item help strings.
486 (menu-bar-help-menu): Add link to MORE.STUFF.
488 * cus-edit.el (custom-mode): Add `special' mode-class property.
490 * wid-browse.el (widget-browse-mode): Likewise.
492 * wid-edit.el (widget-specify-field): Revert to using local-map
493 property, not keymap.
495 2000-10-26 Miles Bader <miles@lsi.nec.co.jp>
497 * wid-edit.el (widget-field-end): When checking for a `boundary'
498 field, do so in the correct buffer.
500 * simple.el (undo): Correctly distinguish between numeric and
501 non-numeric prefix args in non-transient-mark-mode, as per the doc
502 string. When in transient-mark-mode, treat all prefix-args as
505 * simple.el (previous-matching-history-element): Miscellaneous cleanup.
506 Position point on match. Handle N == 0 correctly.
508 * comint.el (comint-mode): Locally set `next-line-add-newlines' to nil.
509 (comint-mode-map): Reverse order of `comint-write-output' and
510 `comint-append-output-to-file'.
511 (comint-append-output-to-file): Reinstate this function, for the
514 2000-10-25 Stefan Monnier <monnier@cs.yale.edu>
516 * vc.el (vc-version-other-window): Bind `file'.
518 2000-10-25 Gerd Moellmann <gerd@gnu.org>
520 * Makefile.in (update-authors): New target for maintenance purposes.
522 * emacs-lisp/authors.el (batch-update-authors): New function.
523 (authors-fixed-entries): New defconst.
524 (authors-add-fixed-entries): New function.
525 (authors): Call it.: Don't process lispref/.
527 2000-10-25 Jason Rumney <jasonr@gnu.org>
529 * cus-edit.el (custom-button-face, custom-button-pressed-face):
530 Merge x w32 and mac definitions.
532 2000-10-25 Gerd Moellmann <gerd@gnu.org>
534 * menu-bar.el (menu-bar-options-menu): Add a help string for
537 2000-10-25 Stephen Gildea <gildea@alum.mit.edu>
539 * time-stamp.el (time-stamp-string-preprocess):
540 Fix a wrong type argument error.
542 2000-10-25 Miles Bader <miles@gnu.org>
544 * recentf.el (recentf-mode): Variable removed.
545 (recentf-mode): Use `define-minor-mode'.
547 * mwheel.el (mouse-wheel-mode): New global minor mode.
548 (mwheel-install): Use `mouse-wheel-mode'.
550 2000-10-25 Dave Love <fx@gnu.org>
552 * progmodes/cperl-mode.el (cperl-mode):
553 Set normal-auto-fill-function correctly.
555 * wid-edit.el (widget-field-keymap, widget-text-keymap): Don't
556 inherit from global-map and don't nullify menu-bar and tool-bar
559 2000-10-25 Miles Bader <miles@lsi.nec.co.jp>
561 * wid-edit.el (widget-field-at): New function.
562 (widget-at, widget-field-activate): Use it.
563 (widget-tabable-at): Use `widget-at'.
564 (widget-specify-field): If the terminating character of the widget
565 field (which is read-only) is a newline, put it into a special
566 `boundary' field so that C-n/C-p act more naturally.
567 (widget-field-end): Also don't subtract one if a special
568 `boundary' field has been added after the widget field.
570 * comint.el (comint-output-filter, comint-send-input): Don't
571 bother adding stickiness fields to overlays to fool the field
572 code, since it should notice the overlay insertion-types now.
574 * wid-edit.el (widget-beginning-of-line, widget-end-of-line):
575 Replace with aliases of the normal emacs b-o-l/e-o-l functions.
576 (widget-field-keymap, widget-text-keymap): Don't bind C-a/C-e.
578 2000-10-24 Gerd Moellmann <gerd@gnu.org>
580 * emacs-lisp/authors.el (authors-aliases): Add some more aliases.
581 (authors): Set file coding system to iso-2022-7bit. Add
582 file-local variables to output buffer.
584 * files.el (after-find-file): Don't print any warnings if
587 2000-10-24 Vinicius Jose Latorre <vinicius@cpqd.com.br>
589 * ps-print.el (ps-generate): Fix odd/even pages printing bug.
591 * delim-col.el: Now there is a column formatting mechanism.
592 Modified to customization mechanisms convention. Doc fix.
593 (columns): New group for delim-col.
594 (delimit-columns-before, delimit-columns-after)
595 (delimit-columns-format, delimit-columns-extra, delimit-columns-start)
596 (delimit-columns-end): New vars.
597 (delimit-columns-customize, delimit-columns-format): New funs.
598 (delimit-columns-region, delimit-columns-rectangle)
599 (delimit-columns-rectangle-line): Modified to support column
602 2000-10-24 Dave Love <fx@gnu.org>
604 * log-edit.el (log-edit): Add :version and a :group for vc.
606 2000-10-24 Gerd Moellmann <gerd@gnu.org>
608 * files.el (after-find-file): Don't print a message ``New file''
611 * wid-edit.el (widget-field-keymap, widget-text-keymap): Define
612 the tool-bar map as nil, as for the menu-bar. Otherwise, we'll
613 get duplicate tool-bar entries because we'll see the global ones
614 on more than one path through keymaps.
616 * emacs-lisp/lisp.el (defun-prompt-regexp): Doc fix.
618 * progmodes/cmacexp.el: Change Francesco's email address.
620 2000-10-24 Kenichi Handa <handa@etl.go.jp>
622 * window.el (fit-window-to-buffer): Adjust point of the window
623 buffer, not that of the current buffer.
625 2000-10-24 Eli Zaretskii <eliz@is.elta.co.il>
627 * progmodes/cmacexp.el: Update the euthor's email address.
629 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
631 * faces.el (face-spec-set-match-display): Add `graphic' display
632 type (the inverse of `tty'). Use `display-graphic-p' instead of
633 the window-system variable.
635 2000-10-24 Kenichi Handa <handa@etl.go.jp>
637 * international/isearch-x.el (isearch-with-input-method): Call
638 input-method-function with the first event in
639 unread-command-events.
641 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
643 * faces.el (face-default-spec, face-user-default-spec): Make
646 2000-10-24 Andrew Choi <akochoi@i-cable.com>
648 * international/mule-conf.el (mac-roman-lower, mac-roman-upper):
651 * term/mac-win.el: Remove definitions of mac-roman-lower and
652 mac-roman-upper, require dired, and define instead of set
653 mac-ready-for-drag-n-drop to avoid compilation error.
655 2000-10-23 Andrew Innes <andrewi@gnu.org>
657 * files.el (make-backup-file-name-1) [windowsnt, ms-dos]: Remove
658 superfluous calls to subst-char-in-string; instead apply
659 expand-file-name after convert-standard-filename to ensure
660 expected directory separators are used.
662 2000-10-23 Eli Zaretskii <eliz@is.elta.co.il>
664 * info.el (Info-file-list-for-emacs): Add an entry for Eshell.
666 2000-10-23 Dave Love <fx@gnu.org>
668 * toolbar/tool-bar.el (tool-bar-add-item-from-menu)
669 (tool-bar-add-item): Set foreground and background for XBM icons.
671 * international/latin1-disp.el (latin1-char-displayable-p): New
672 function (from Handa).
673 (latin1-display-check-font): Use it.
675 * imenu.el (imenu--create-keymap-2): Build menu with menu-item
676 using :key-sequence, making it much more usable. Use nconc, not
678 (imenu--create-keymap-1): Avoid append.
680 * textmodes/refill.el: Remove bits redundant with define-minor-mode.
682 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
684 [the following changes fix a bug where `define-minor-mode' didn't
685 correctly generate :require clauses for defcustoms in compiled files]
686 * emacs-lisp/bytecomp.el (byte-compile-last-logged-file): New variable.
687 (byte-compile-log-file, byte-compile-log-1): Don't set
688 `byte-compile-current-file' to nil. Instead set
689 `byte-compile-last-logged-file' to it. Test whether
690 byte-compile-current-file equals byte-compile-last-logged-file
691 instead of whether its nil.
692 (byte-compile-file): Bind `byte-compile-last-logged-file' to nil.
694 2000-10-23 Stefan Monnier <monnier@cs.yale.edu>
696 * textmodes/refill.el: Fix var names in doc.
697 (refill-mode): Don't bother with make-local-hook anymore.
699 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
701 * faces.el (face-user-default-spec, face-default-spec): New functions.
702 (face-spec-choose, face-spec-set): Document nil-SPEC behavior.
703 (frame-set-background-mode, face-set-after-frame-default):
704 Use `face-user-default-spec'. Simplify code slightly.
706 * woman.el (woman-italic-face, woman-bold-face)
707 (woman-unknown-face): Add dark-background variants.
708 (woman-default-faces): Renamed from `woman-colour-faces'.
709 Set using the stored defaults, rather than using hard-wired colors.
710 (woman-monochrome-faces): Renamed from `woman-black-faces'.
711 Just make the foreground `unspecified' rather than "black".
712 (woman-menu): Rename menu entries accordingly.
714 * faces.el (header-line): Make more reasonable on mono/grayscale
717 2000-10-23 Andrew Choi <akochoi@i-cable.com>
719 * cus-edit.el (custom-button-face): Use 3D look for mac.
720 (custom-button-pressed-face): Likewise.
722 * faces.el (set-face-attributes-from-resources): Handle mac frames
723 in the same way as x and w32 frames.
724 (face-valid-attribute-values): Likewise.
725 (read-face-attribute): Likewise.
726 (defined-colors): Likewise.
727 (color-defined-p): Likewise.
728 (color-values): Likewise.
729 (display-grayscale-p): Likewise.
730 (face-set-after-frame-default): Likewise.
731 (mode-line): Same default face as for x and w32.
732 (tool-bar): Likewise.
734 * frame.el: Remove call to frame-notice-user-settings at end of
737 * info.el (Info-fontify-node): make underlines invisible for mac
738 as for x, pc, and w32 frame types.
740 * term/mac-win.el: New file.
742 2000-10-22 Dave Love <fx@gnu.org>
744 * textmodes/refill.el: New file.
746 2000-10-22 Andre Spiegel <spiegel@gnu.org>
748 * vc-hooks.el (vc-version-backup-file-name): New optional args
750 (vc-delete-automatic-version-backups, vc-make-version-backup):
752 (vc-before-save): Use the latter.
753 (vc-default-make-version-backups-p): Added `-p' suffix to avoid
756 * vc-cvs.el (vc-cvs-make-version-backups-p): Added `-p' suffix as
757 expected by vc[-hooks].el.
759 * vc.el (vc-checkout): Added `-p' suffix in call to
760 vc-make-version-backups-p; use vc-make-version-backup to actually
762 (vc-version-other-window, vc-version-backup-file): Handle both
763 automatic and manual backups.
764 (vc-revert-file): Use vc-delete-automatic-version-backups to get rid
767 2000-10-22 Miles Bader <miles@gnu.org>
769 * comint.el (comint-highlight-input, comint-highlight-prompt):
770 Renamed, `-face' at end removed.
771 (comint-send-input, comint-output-filter): Use renamed faces.
773 * window.el (fit-window-to-buffer): Change defaulting of
776 * faces.el (color-values, color-defined-p): Use `member', not
777 `memq', because it works correctly for strings.
778 (frame-set-background-mode): Actually, "unspecified-fg" and
779 "unspecified-bg" *are* strings. Use `member', not `memq', and
780 `equal', not `eq', when a string value is possible.
782 2000-10-21 Eli Zaretskii <eliz@is.elta.co.il>
784 * info.el (Info-file-list-for-emacs): Add an entry for Speedbar.
786 2000-10-21 Stefan Monnier <monnier@cs.yale.edu>
788 * progmodes/sh-script.el (sh-mode-map): Remove bindings for
789 sh-electric-rparen, sh-electric-less and sh-electric-hash.
790 (sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
791 (sh-font-lock-heredoc, sh-font-lock-paren): New funs.
792 (sh-font-lock-syntactic-keywords): Use them.
793 (sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
794 (sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
795 (sh-mode): Don't override font-lock-unfontify-region-function.
796 Use a copy of sh-font-lock-syntactic-keywords.
797 (sh-set-shell): Don't set sh-electric-rparen-needed-here.
798 Don't call sh-scan-buffer since font-lock does it on the fly.
799 (sh-get-indent-info): Use `face' rather than `syntax-table'
800 text-property to detect here-documents.
801 Replace sh-special-syntax with sh-st-punc.
802 (sh-prev-line): Use `face' rather than `syntax-table'
803 text-property to skip over here-documents.
804 (sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
805 (sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
806 (sh-electric-less, sh-set-here-doc-region)
807 (sh-remove-our-text-properties, sh-search-word, sh-scan-case)
808 (sh-scan-buffer, sh-rescan-buffer): Remove.
810 2000-10-21 Andrew Innes <andrewi@gnu.org>
812 * w32-fns.el (make-auto-save-file-name): Don't apply conversion to
813 remote (ange-ftp) file names.
815 2000-10-21 Miles Bader <miles@gnu.org>
817 * window.el (fit-window-to-buffer): New function.
818 (shrink-window-if-larger-than-buffer): Use it.
819 (window-text-height): Don't expect minibuffers to have mode-lines.
821 * help.el (resize-temp-buffer-window): Use `fit-window-to-buffer'.
822 * international/quail.el (quail-update-guidance): Use
823 `fit-window-to-buffer' instead of `set-window-text-height'.
825 * international/quail.el (quail-show-guidance-buf): Make sure
826 guidance window really has enough room.
827 (quail-update-guidance): If quail-guidance-win is already shown,
828 make sure its height is OK.
830 * window.el (window-text-height, set-window-text-height):
832 (shrink-window-if-larger-than-buffer): Use `window-text-height'
833 instead of `window-height' & `mode-line-window-height-fudge'.
834 (mode-line-window-height-fudge): Add FACE parameter.
835 * help.el (resize-temp-buffer-window): Use `set-window-text-height'
836 instead of `enlarge-window' & `mode-line-window-height-fudge'.
838 2000-10-20 Miles Bader <miles@gnu.org>
840 * window.el (height-affecting-face-attributes): Use `defconst'.
842 * textmodes/ispell.el (ispell-mode-line-window-height-fudge):
843 New function, conditionally aliased to `mode-line-window-height-fudge'.
844 (ispell-help): Use it.
845 (ispell-choices-win-default-height): Don't include mode-line fudge.
846 (ispell-choices-win-default-height): New function.
847 (ispell-show-choices, ispell-command-loop): Use function
848 `ispell-choices-win-default-height' instead of variable.
850 2000-10-20 Miles Bader <miles@lsi.nec.co.jp>
852 * window.el (mode-line-window-height-fudge): New variable.
853 (height-affecting-face-attributes): New variable.
854 (mode-line-window-height-fudge): New function.
855 (shrink-window-if-larger-than-buffer): Use it.
856 * help.el (resize-temp-buffer-window): Likewise.
858 * info.el (Info-fontify-node): Add support for @subsubsection
859 titles, which use `Info-title-4-face'.
860 (Info-title-4-face): New face.
861 (Info-title-3-face): Inherit from Info-title-4-face instead of
864 2000-10-19 Jason Rumney <jasonr@gnu.org>
866 * dired.el (dired-insert-directory): Do not let errors signalled by
867 attempt to run dired-free-space-program prevent dired from working.
869 2000-10-19 Stefan Monnier <monnier@cs.yale.edu>
871 * diff-mode.el (diff-find-file-name): Fix regex subgroup number.
873 2000-10-19 Gerd Moellmann <gerd@gnu.org>
875 * dirtrack.el (dirtrack): Fix call to run-hooks.
877 * cmuscheme.el (cmuscheme-program-name): Renamed from
878 scheme-program-name because xscheme.el contains a defcustom with
879 the same name. As a consequence, customizing group `cmuscheme'
880 loaded `xscheme' which redefined run-scheme.
881 (run-scheme): Use cmuscheme-program-name.
883 * ps-print.el (ps-print-emacs-type): Move into the
886 * play/doctor.el (doctor-death): Update the Samaritans'
887 anonymous address, and add a website for Befrienders International.
889 2000-10-19 Vinicius Jose Latorre <vinicius@cpqd.com.br>
891 * ps-print.el: Even/odd pages fix. Fix little bug on XEmacs.
892 Avoid compilation gripes. Doc fix.
893 (ps-print-version): New version number (6.2).
894 (ps-x-color-instance-p, ps-x-color-instance-rgb-components)
895 (ps-x-color-name, ps-x-color-specifier-p, ps-x-copy-coding-system)
896 (ps-x-device-class, ps-x-extent-end-position, ps-x-extent-face)
897 (ps-x-extent-priority, ps-x-extent-start-position)
898 (ps-x-face-font-instance, ps-x-find-coding-system)
899 (ps-x-font-instance-properties, ps-x-make-color-instance)
900 (ps-x-map-extents): Alias for functions without the prefix `ps-x-', to
901 avoid compilation gripes without defining functions.
902 (ps-e-find-composition): Alias for function find-composition, to have a
903 suitable function depending on Emacs version.
904 (ps-color-device, ps-color-values, ps-face-foreground-name)
905 (ps-face-background-name, ps-face-bold-p, ps-face-italic-p, ps-mapper)
906 (ps-extent-sorter, ps-xemacs-face-kind-p, ps-xemacs-color-name)
907 (ps-print-ensure-fontified): Function definitions surrounded by
908 `eval-and-compile' to avoid compilation gripes.
909 (ps-font-lock-face-attributes): `font-lock-face-attributes' evaluated
910 by symbol-value to avoid compilation gripes.
911 (ps-end-file, ps-header-sheet, ps-plot-region): Even/odd pages fix.
912 (ps-generate-postscript-with-faces): Fix little bug on XEmacs.
914 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
916 * startup.el (normal-top-level): Call `frame-set-background-mode'
917 after `frame-notice-user-settings' because the latter doesn't call
920 * faces.el (frame-set-background-mode): `unspecified' &c are
921 symbols, not strings.
923 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
925 * term/tty-colors.el (color-name-rgb-alist): Add a comment explaining
926 why some "light*" colors are deliberately absent from the alist.
928 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face):
929 Change colors for tty's, as suggested by Miles Bader.
931 2000-10-19 Kenichi Handa <handa@etl.go.jp>
933 * international/fontset.el: Use registry "MuleTibetan-2" for Tibetan.
934 (ccl-encode-mule-unicode-0100-24ff): New CCL program. Register it
935 for ISO10646-1 fonts.
936 (x-font-name-charset-alist): Add an entry for "iso10646-1".
938 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
940 * faces.el (frame-set-background-mode): If a tty frame defines a
941 background color, use that to compute the background mode, instead
942 of always defaulting to "dark".
944 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
946 * comint.el (comint-write-output): New function.
947 (comint-mode-map): Add it to the menu.
948 Bind `C-c C-s' to comint-write-output.
950 2000-10-18 Gerd Moellmann <gerd@gnu.org>
952 * startup.el (fancy-splash-screens): Set buffer-undo-list to t.
953 Use fancy-splash-delay.
955 2000-10-18 Alex Schroeder <alex@gnu.org>
957 * progmodes/sql.el (sql-sybase-options): New option.
958 (sql-sybase): Use it. Add sql-database to the list of parameters
959 provided for login. The options -w 2048 -n are not used any more.
961 * comint.el (comint-read-input-ring): Bugfix such that the first
962 and the last entry of the input ring file are not lost.
964 2000-10-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
966 * ps-print.el: Internal variable changes to defcustom,
967 make-local-hook changes to defvar. Doc fix.
968 (ps-print-version): New version number (6.1).
969 (ps-setup, ps-do-despool): Code fix.
970 (ps-printer-name): Customization fix.
971 (ps-printer-name-option): Now is a defcustom instead of an
973 (ps-print-hook, ps-print-begin-sheet-hook, ps-print-begin-page-hook)
974 (ps-print-begin-column-hook): Now are defvar instead of
977 2000-10-18 Miles Bader <miles@gnu.org>
979 * comint.el (comint-delete-output): Renamed from `comint-kill-output'.
980 (comint-kill-output): Changed into an alias for `comint-delete-output',
982 (comint-mode-map): Rename references to comint-kill-output.
984 2000-10-18 Eli Zaretskii <eliz@is.elta.co.il>
986 * diff-mode.el (diff-header-face, diff-file-header-face)
987 (diff-changed-face): Add bold and italic attributes to tty faces.
988 (diff-function-face): New face.
989 (diff-font-lock-keywords): Use it.
991 2000-10-18 Miles Bader <miles@lsi.nec.co.jp>
993 * comint.el (comint-output-filter): Fixup comint-last-input-end too.
994 Remove commented-out call to force-mode-line-update.
995 (comint-kill-output): Use `forward-line 0' instead of
996 beginning-of-line to make sure we get past the prompt.
998 2000-10-17 Stefan Monnier <monnier@cs.yale.edu>
1000 * diff-mode.el (diff-header-face, diff-file-header-face):
1001 Add specific setting for dark background.
1002 (diff-context-face): Renamed from diff-comment-face.
1003 Set explicitly rather than inheriting from font-lock-comment-face.
1005 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1007 * startup.el (command-line): Move the code which sets the default
1008 TTY colors to before before-init-hook.
1010 2000-10-17 Gerd Moellmann <gerd@gnu.org>
1012 * jit-lock.el (jit-lock-stealth-time): Doc fix.
1014 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1016 * files.el (auto-mode-alist): Add .dif and .pat as diff-mode
1017 extensions, for MS-DOS.
1019 * diff-mode.el (diff-header-face, diff-file-header-face)
1020 (diff-changed-face): Define tty-specific colors.
1022 2000-10-17 Gerd Moellmann <gerd@gnu.org>
1024 * startup.el (fancy-splash-text): Realign the text.
1026 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1028 * font-lock.el (font-lock-comment-face): Define a separate default
1029 for dark-background tty's.
1031 2000-10-17 Miles Bader <miles@gnu.org>
1033 * help.el (resize-temp-buffer-window): Add hack to avoid last line
1034 being obscured by whizzy mode-lines on graphics displays.
1036 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1038 * info.el (Info-title-1-face, Info-title-2-face)
1039 (Info-title-3-face): Define colors for tty's.
1040 (info-header-node): Remove unneeded tty-specific definition.
1042 2000-10-16 Eli Zaretskii <eliz@is.elta.co.il>
1044 * term/pc-win.el (msdos-handle-reverse-video): Don't remove
1045 reverse from the frame parameters, and don't invert foreground and
1048 2000-10-16 Miles Bader <miles@gnu.org>
1050 * info.el (Info-set-mode-line): Use `%b' instead of hardwired
1051 string "*Info*". Call propertized-buffer-identification to spruce
1054 2000-10-16 Gerd Moellmann <gerd@gnu.org>
1056 * help.el: Provide `help' for the sake of define-minor-mode
1057 which generates defcustoms with requires.
1059 * jit-lock.el (jit-lock-after-change): If we're in text that
1060 matches a multi-line font-lock pattern, make sure the whole text
1061 will be redisplayed.
1063 * emacs-lisp/authors.el (authors-add): Don't add an entry if
1064 author's name is unknown.
1066 * eshell/esh-var.el, eshell/esh-util.el, eshell/esh-test.el,
1067 * eshell/esh-proc.el, eshell/esh-opt.el, eshell/esh-mode.el,
1068 * eshell/esh-maint.el, eshell/esh-io.el, eshell/esh-ext.el,
1069 * eshell/esh-cmd.el, eshell/esh-arg.el, eshell/em-xtra.el,
1070 * eshell/em-unix.el, eshell/em-term.el, eshell/em-smart.el,
1071 * eshell/em-script.el, eshell/em-rebind.el, eshell/em-prompt.el,
1072 * eshell/em-pred.el, eshell/em-ls.el, eshell/em-hist.el,
1073 * eshell/em-glob.el, shell/em-dirs.el, eshell/em-cmpl.el,
1074 * eshell/em-basic.el, eshell/em-banner.el, eshell/em-alias.el:
1075 Add author information.
1077 2000-10-16 Miles Bader <miles@lsi.nec.co.jp>
1079 * toolbar/up_arrow.xpm, toolbar/right_arrow.xpm:
1080 * toolbar/left_arrow.xpm, toolbar/home.xpm: Re-convert from
1081 full-color version (using the Gimp) to eliminate dithering artifacts.
1083 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
1085 * font-lock.el (font-lock-syntactic-keywords): Fix docstring.
1087 * simple.el (syntax-flag-table, string-to-syntax): Remove.
1089 2000-10-15 Dave Love <fx@gnu.org>
1091 * progmodes/sh-script.el: Require skeleton and comint when
1094 * pcomplete.el (pcomplete) <defgroup>: Add :version.
1096 * whitespace.el: Doc fixes.
1097 (top-level): Don't add hooks here.
1098 (whitespace-running-emacs): Deleted.
1099 (timer): Don't require.
1100 (whitespace): Add back :version conditional on xemacs test.
1101 (whitespace-spacetab-regexp, whitespace-indent-regexp)
1102 (whitespace-ateol-regexp, whitespace-modes): Fix custom type.
1103 (whitespace-force-mode-line-update, whitespace-refresh-rescan-list)
1104 (whitespace-tickle-timer, whitespace-rescan-files-in-buffers):
1105 Avoid specific xemacs test.
1106 (whitespace-global-mode): New option.
1107 (whitespace-global-mode): New command.
1108 (whitespace-unload-hook): New function.
1110 * info.el (Info-mouse-follow-nearest-node): Use mouse-set-point.
1111 (Info-fontify-node, Info-goto-node, Info-mode-menu)
1112 (Info-fontify-node): `Goto' goes to `Go to'.
1113 (Info-fontify-node): Add help-echo to xref links.
1115 2000-10-15 Eli Zaretskii <eliz@is.elta.co.il>
1117 * eshell/em-unix.el (eshell-du-prefer-over-ange): Doc fix.
1119 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
1121 * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
1122 Use plist-get and allow :inherit.
1124 * emacs-lisp/cl-macs.el (cl-do-arglist):
1125 Use plist-get and plist-member instead of memq.
1127 * emacs-lisp/ewoc.el (ewoc-location): New function.
1128 (ewoc-enter-after, ewoc-enter-before): Document return value.
1129 * pcvs.el (cvs-make-cvs-buffer, cvs-run-process):
1130 Don't need make-local-hook any more.
1131 (cvs-addto-collection): Return the new tin.
1132 (cvs-mode-insert): Jump to the new line.
1134 * jit-lock.el (jit-lock-fontify-buffer): Remove.
1136 * arc-mode.el (archive-zoo-summarize): Fix from gnu.emacs.bug.
1138 * font-lock.el (font-lock-syntactically-fontified): New var.
1139 (font-lock-fontify-syntactic-keywords-region): Use it.
1140 (font-lock-mode): Fix docstring. Don't need make-local-hook anymore.
1142 * diff-mode.el (diff-find-file-name): Fix regexp.
1144 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
1145 (cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.
1147 * progmodes/sh-script.el (sh-imenu-generic-expression): Fix.
1148 (sh-mode-syntax-table): Add punctuation syntax for < and >.
1149 (sh-mode): Don't make all vars local here.
1151 (sh-set-shell): Use dolist. Don't set indent-region-function.
1152 (sh-mode-syntax-table): Use pop.
1153 (sh-remember-variable): Use push.
1154 (sh-help-string-for-variable): Use memq.
1155 (sh-safe-backward-sexp): Remove.
1156 (sh-safe-forward-sexp): Add ARG.
1157 (sh-get-indent-info, sh-prev-stmt): Use it.
1158 (sh-prev-line): Simplify by using forward-comment.
1159 (sh-this-is-a-continuation): Simplify.
1160 (sh-learn-buffer-indent): Use dolist.
1161 (sh-do-nothing): Remove.
1162 (sh-set-char-syntax, sh-set-here-doc-region):
1163 Use inhibit-modification-hooks.
1164 (sh-name-style): Use mapcar and push.
1165 (sh-load-style): Use dolist.
1166 (sh-save-styles-to-buffer): Use with-current-buffer and pp.
1167 (sh-case, sh-while-getopts): Use propertize directly rather
1168 than sh-electric-rparen.
1170 2000-10-14 Stefan Monnier <monnier@cs.yale.edu>
1172 * textmodes/tex-mode.el: Require CL when compiling.
1173 (tex-mode-syntax-table): Init immediately.
1174 (tex-mode-map): Bind M-RET to latex-insert-item.
1175 (latex-mode): Set indent-line-function to latex-indent.
1176 (tex-common-initialization): Don't setup the syntax-table any more.
1177 (latex-insert-item): New skeleton.
1178 (tex-next-unmatched-end): Fix copy/paste braino.
1179 (latex-syntax-after, latex-skip-close-parens, latex-down-list)
1180 (latex-indent, latex-find-indent): New functions.
1181 (tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table)
1182 (tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
1183 (tex-compilation-parse-errors): Use with-syntax-table.
1185 2000-10-15 Miles Bader <miles@gnu.org>
1187 * font-lock.el (font-lock-comment-face): Change dark-background,
1188 color, non-tty, default to `chocolate1'.
1190 2000-10-13 John Wiegley <johnw@gnu.org>
1192 * eshell/esh-util.el (require): Added a missing `require' form,
1193 needed when compiling (for an ange-ftp macro definition).
1195 2000-10-13 Dave Love <fx@gnu.org>
1197 * toolbar/paste.pbm, toolbar/saveas.pbm: Retouch.
1199 2000-10-13 Gerd Moellmann <gerd@gnu.org>
1201 * emacs-lisp/lisp.el (down-list, backward-up-list, up-list): Doc
1204 * toolbar/*.xpm: Reduce to max. 8 colors (mogrify -colorspace
1205 transparent -colors 8).
1207 2000-10-13 Stephen Gildea <gildea@alum.mit.edu>
1209 * time-stamp.el (time-stamp): Fixed bug in new multi-line code
1210 that breaks with old list format timestamps.
1211 (time-stamp-warn-inactive, time-stamp-old-format-warn)
1212 (time-stamp-count, time-stamp-conversion-warn): Improved doc
1215 2000-10-13 John Wiegley <johnw@gnu.org>
1217 * align.el, pcomplete.el, calendar/timeclock.el,
1218 eshell/esh-module.el, eshell/eshell.el: Removed URL reference.
1220 * calendar/timeclock.el (timeclock-find-discrep): A fix to some
1221 faulty math, where holiday hours were being computing as seconds.
1223 2000-10-13 John Wiegley <johnw@gnu.org>
1225 * desktop.el (desktop-buffer-modes-to-save): Added a global for
1226 specifying what "other" kinds of buffers should be saved. This
1227 used to be hard-coded.
1228 (desktop-buffer-misc-functions): A global for specifying how
1229 auxiliary data should be determined for special buffer types.
1230 (desktop-save-buffer-p): Use `desktop-buffer-modes-to-save',
1231 instead of hard-coding the special buffer types.
1232 (desktop-save): Run `desktop-buffer-misc-functions' to gather
1233 auxiliary data, instead of hard-coding for Info buffers and dired.
1234 (desktop-buffer-info-misc-data): Aux function for determining Info
1235 buffer auxiliary info.
1236 (desktop-buffer-dired-misc-data): Likewise, but for dired buffers.
1237 (desktop-buffer-info): Changed this function to use the info
1239 (desktop-create-buffer): Be a little more careful about what
1240 `minor-mode' means before calling it. This is important for some
1243 2000-10-13 John Wiegley <johnw@gnu.org>
1245 * eshell/esh-util.el: Added a global form which declares an
1246 autoload for `parse-time-string', if that function is not already
1247 defined, and if parse-time.el is available on the user's system.
1249 * eshell/em-ls.el (eshell-ls-applicable): Extended this function
1250 to be aware of ange-ftp user info.
1251 (eshell-do-ls): Bind `ange-cache'. Also, use
1252 `eshell-file-attributes'.
1253 (eshell-ls-annotate): Use `eshell-file-attributes'.
1254 (eshell-ls-file): Made the user-id printing code a bit smarter.
1256 * eshell/esh-util.el (eshell-ange-ls-uids): Added variable, to
1257 allow identification of alias user ids in remote directories.
1258 It's manual, but there's no other way to know when the current
1259 user on the local machine, is also the owning user on the remote
1261 (fboundp): Bind `ange-cache'.
1262 (eshell-directory-files-and-attributes): Re-organized the logic a
1263 bit to use `eshell-file-attributes' instead of `file-attributes'.
1264 The former is more sensitive to directories that are read via FTP,
1265 and knows how to use ange-ftp to determine full attribute
1266 information, instead of just the name and last modtime.
1267 (eshell-current-ange-uids): Return the current user id when in a
1269 (eshell-parse-ange-ls): Parse a full directory listing that has
1270 been returned by ange-ftp.
1271 (eshell-file-attributes): This beefed up version of
1272 `file-attributes' is only special if the user is currently in a
1273 remote directory, in which case it does a lot of work to find out
1274 what the real attributes of a file are, as they appear on the
1275 remote machine. This makes usage of remote directories (i.e.,
1276 ange-ftp pathnames) much more useful. You can now use Eshell as a
1277 full-fledged FTP client, with much more manipulation ability than
1280 * eshell/em-unix.el (eshell-du-prefer-over-ange): Added a new
1281 variable, which means that Eshell's du should always be preferred
1282 in remote directories.
1283 (eshell-shuffle-files): Use `eshell-file-attributes', rather than
1284 just `file-attributes'.
1285 (eshell-mvcp-template): Bind `ange-cache', to improve performance
1286 when reading remote directories. This is an Eshell-specific
1287 variable (not part of ange-ftp).
1288 (eshell/ln): Bind `ange-cache'.
1289 (eshell/du): Added some extra logic for determining when to use
1290 Eshell's du (which is slow), and when to use the external version
1291 (which may or may not exist).
1293 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof): Call
1294 `eshell-interactive-process', rather than using
1295 `get-buffer-process', since backgrounded processes don't count in
1296 the context of this function's logic.
1298 * eshell/esh-arg.el (eshell-parse-double-quote): Moved a call to
1299 `forward-char', so that null strings are parsed correctly.
1301 2000-09-13 John Wiegley <johnw@gnu.org>
1303 * eshell/em-pred.el (eshell-pred-file-type,
1304 eshell-pred-file-links, eshell-pred-file-size): Use
1305 `eshell-file-attributes'. This is more correct over ange-ftp.
1307 * eshell/em-glob.el (eshell-extended-glob): Bind `ange-cache', so
1308 that remote file globbing is more efficient.
1310 * eshell/em-ls.el (eshell-ls-dir): Use `expand-file-name' when
1311 gathering the files and attributes within a directory.
1313 * eshell/em-unix.el (eshell/cat): If any of the files passed on
1314 the command line is a special file (not a regular file, directory
1315 or symlink), always attempt to call the external version of cat.
1317 2000-09-13 John Wiegley <johnw@gnu.org>
1319 * eshell/esh-mode.el (eshell-find-tag): Corrections to the
1320 Eshell-friendly version of find-tag.
1322 2000-10-13 Miles Bader <miles@lsi.nec.co.jp>
1324 * image-file.el (image-file-name-extensions)
1325 (image-file-name-regexps): Add autoload cookies.
1327 2000-10-13 Kenichi Handa <handa@etl.go.jp>
1329 * international/mule-cmds.el (select-safe-coding-system): If FROM
1330 is string, show it in *Warning* buffer.
1332 2000-10-13 Eli Zaretskii <eliz@is.elta.co.il>
1334 * startup.el (normal-top-level): Use display-popup-menus-p instead
1336 (command-line): Use display-graphic-p instead of window-system.
1337 (command-line-1): Use display-popup-menus-p and display-mouse-p
1338 instead of window-system.
1340 2000-10-12 Sam Steingold <sds@gnu.org>
1342 * tooltip.el (tooltip-use-echo-area): New user variable.
1343 (tooltip-show): Use it to choose between `x-show-tip' and `message'.
1345 2000-10-12 Dave Love <fx@gnu.org>
1347 * recentf.el: Maintainer's checkdoc fixes.
1349 * startup.el (normal-top-level-add-subdirs-to-load-path): Use
1350 character class, not ASCII when matching file names.
1351 (fancy-splash-head): Add trailing slash to URL.
1352 (command-line): Don't require XPM support for toolbar.
1354 * progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
1355 (cperl-invalid-face): Revert last change.
1356 (cperl-init-faces): Quote cperl-invalid-face.
1358 2000-10-12 Kenichi Handa <handa@etl.go.jp>
1360 * startup.el (fancy-splash-text): Remove superfluous quote.
1362 2000-10-12 Gerd Moellmann <gerd@gnu.org>
1364 * startup.el (fancy-splash-screens): Don't add a pre-command hook.
1365 (fancy-splash-pre-command, fancy-splash-pending-command): Removed.
1366 (command-line-1): Don't use fancy-splash-pending-command.
1367 (fancy-splash-screens-1): Goto point-min after inserting text.
1369 * calendar/diary-lib.el (diary-cyclic): Doc fix from Ed Reingold.
1371 * progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
1372 instead of shared-lisp-mode-map.
1374 2000-10-12 Miles Bader <miles@lsi.nec.co.jp>
1376 * faces.el (header-line): Change tty-variant to use underlining.
1378 * isearch.el (isearch-set-lazy-highlight-faces-at): New function.
1379 (isearch-highlight): Restore lazy-isearch face properties at old
1380 position, and suppress them at new position.
1381 (isearch-dehighlight): Restore lazy-isearch face properties.
1382 (isearch-lazy-highlight-update): Add lazy-isearch overlays even
1383 over the real isearch overlay, but in that case, don't give it a
1384 face property. Use `push'.
1386 2000-10-12 Kenichi Handa <handa@etl.go.jp>
1388 * man.el (Man-getpage-in-background): Fix previous change.
1389 Decode the process output only when we are in multibyte mode.
1391 2000-10-11 Dave Love <fx@gnu.org>
1393 * info.el (Info-mode-menu): Fix some help.
1394 (info-tool-bar-map): Add entry for Info-last.
1396 * toolbar/cancel.xpm, toolbar/jump_to.xpm, toolbar/right_arrow.xpm:
1397 * toolbar/close.xpm, toolbar/left_arrow.xpm, toolbar/save.xpm:
1398 * toolbar/copy.xpm, toolbar/mail.xpm, toolbar/saveas.xpm:
1399 * toolbar/cut.xpm, toolbar/mail_compose.xpm:
1400 * toolbar/search-replace.xpm, toolbar/exit.xpm:
1401 * toolbar/mail_send.xpm, toolbar/search.xpm, toolbar/fld_open.xpm:
1402 * toolbar/new.xpm, toolbar/spell.xpm, toolbar/help.xpm:
1403 * toolbar/open.xpm, toolbar/undo.xpm, toolbar/home.xpm:
1404 * toolbar/paste.xpm, toolbar/up_arrow.xpm, toolbar/index.xpm:
1405 * toolbar/preferences.xpm, toolbar/info.xpm, toolbar/print.xpm:
1406 Reduce colour requirements to 25 overall. (Probably wants
1407 revisiting from the originals to reduce further.)
1409 2000-10-11 Eli Zaretskii <eliz@is.elta.co.il>
1411 * hexl.el (hexlify-buffer): Bind coding-system-for-write to
1412 buffer-file-coding-system, instead of raw-text.
1413 (dehexlify-buffer): Bind coding-system-for-read to
1414 buffer-file-coding-system, instead of raw-text.
1416 2000-10-11 Sam Steingold <sds@gnu.org>
1418 * progmodes/cperl-mode.el (cperl-invalid-face): double-quote
1419 `underline' - fixes the bug introduced on 2000-09-21.
1421 2000-10-11 Dave Love <fx@gnu.org>
1423 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Avoid
1425 (scheme-mode): Doc fix.
1426 (scheme-font-lock-keywords-1): Match `define-syntax'.
1428 2000-10-11 Miles Bader <miles@lsi.nec.co.jp>
1430 * faces.el (frame-set-background-mode): Pay attention to saved
1431 face specs as well as default ones. Only do anything if the
1432 bg-mode or display-type has actually changed. Use `dolist'.
1433 (region): Make dark-background `region' face less in-your-face.
1435 2000-10-10 Sam Steingold <sds@gnu.org>
1437 * chistory.el, ielm.el, ledit.el:
1438 * progmodes/inf-lisp.el, progmodes/scheme.el:
1439 Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
1441 2000-10-10 Stefan Monnier <monnier@cs.yale.edu>
1443 * textmodes/texinfo.el: Update copyright and fix typo.
1445 * desktop.el (desktop-modes-not-to-save): New var.
1446 (desktop-save-buffer-p): Use it.
1447 Also, obey desktop-buffers-not-to-save even for non-file buffers.
1448 (desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
1450 2000-10-10 Dave Love <fx@gnu.org>
1452 * toolbar/tool-bar.el (tool-bar-add-item)
1453 (tool-bar-add-item-from-menu): Don't favour XPM icons on mono
1456 * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
1457 * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
1458 * toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
1459 * toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
1460 * toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
1461 * toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
1462 * toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
1463 * toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
1464 * toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
1465 * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
1466 the .xpms; probably need retouching.
1468 2000-10-10 Miles Bader <miles@lsi.nec.co.jp>
1470 * subr.el (add-to-list): Add optional argument APPEND.
1471 * battery.el (display-battery): Use `add-to-list'.
1473 2000-10-09 Thien-Thi Nguyen <ttn@gnu.org>
1475 * play/zone.el (zone-timer, zone-wc-tbl): Rework
1476 these vars as symbol properties.
1477 (zone, zone-when-idle, zone-leave-me-alone)
1478 (zone-pgm-whack-chars): Use new symbol properties.
1480 * battery.el (display-battery): Doc spelling fix.
1482 * vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
1485 2000-10-09 Dave Love <fx@gnu.org>
1487 * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
1488 has been initialized before calling tool-bar-setup.
1489 (tool-bar-add-item-from-menu): Add autoload cookie.
1491 2000-10-09 Eli Zaretskii <eliz@is.elta.co.il>
1493 * menu-bar.el (send-mail-item-name): New function.
1494 (menu-bar-tools-menu) <compose-mail>: Use it to display the value
1495 of mail-user-agent in the menu. Don't display the "Send Mail"
1496 item if mail-user-agent is nil or its value is ignore.
1497 (menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
1498 if read-mail-command is nil or its value is ignore.
1500 * mouse.el ([header-line mouse-1]): Bind to mouse-select-window.
1502 2000-10-09 Miles Bader <miles@gnu.org>
1504 * toolbar/up_arrow.xpm: Flip to put highlight in correct place.
1506 * toolbar/left_arrow.xpm: Correct image size.
1508 * jka-compr.el: Don't call `jka-compr-install' when loading (it
1509 will be done by the definition of `auto-compression-mode' if
1510 necessary. Move code to uninstall existing file-name handler
1511 before definition of `auto-compression-mode'.
1513 * image-file.el (auto-image-file-mode): Move to the end of the
1514 file, because `define-minor-mode' actually calls the mode-function
1515 if the associated variable is non-nil, which requires that all
1516 needed functions be already defined.
1518 * mouse.el (popup-menu): Balance parens.
1520 2000-10-08 Stefan Monnier <monnier@cs.yale.edu>
1522 * mouse.el (popup-menu): Move the command call outside the loop
1523 so that popup-menu returns whatever the command returns.
1525 * progmodes/etags.el: Docstring fixes. Maintainer line updated.
1526 (initialize-new-tags-table): Use run-hook-with-args-until-success.
1527 (find-tag): Use pop-to-buffer if switch-to-buffer failed.
1528 (tags-table-format-functions): Renamed from tags-table-format-hooks.
1530 * vc.el (vc-version-diff): diff-switches can be a list.
1531 Use relative filenames for prettier output.
1533 * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
1534 (vc-post-command-functions): Remove old-VC compatibility code.
1536 * newcomment.el (comment-indent-default): Autoload.
1538 * font-lock.el (font-lock-defaults): Make buffer-local.
1539 (font-lock-turn-on-thing-lock): Use jit-lock-refontify.
1540 (font-lock-choose-keywords):
1541 Ignore LEVEL unless KEYWORDS is a list of syms.
1542 (c-keywords, c++-keywords, objc-keywords, java-keywords):
1543 Don't wrap regexp-opt things in \(...\) unnecessarily.
1545 * jit-lock.el: Don't require font-lock any more.
1546 (jit-lock-functions): Make buffer-local.
1547 (jit-lock-saved-fontify-buffer-function): Remove.
1548 (jit-lock-mode): Remove autoload cookie.
1549 Remove font-lock specific code.
1550 (jit-lock-unregister): Don't bother handling complex hooks any more.
1551 (jit-lock-refontify): New function.
1552 (jit-lock-fontify-buffer): Use it.
1553 (jit-lock-function-1): Replaced by jit-lock-fontify-now.
1554 (jit-lock-fontify-now): Renamed from jit-lock-function-1.
1555 Add optional args START and END.
1556 Never call font-lock-fontify-region directly.
1557 (jit-lock-function, jit-lock-stealth-fontify): Use it.
1559 * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.
1561 2000-10-08 Dave Love <fx@gnu.org>
1563 * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
1565 * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
1567 * play/studly.el (studlify-region, studlify-word): Add autoload
1570 * play/morse.el (morse-region, unmorse-region): Add autoload
1573 * play/spook.el (spook-phrases-file): Use expand-file-name, not
1576 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
1577 insist on symbols starting with word syntax.
1578 (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
1579 (eval-defun-1): Doc fix.
1580 (indent-sexp): Use nconc to build up indent-stack.
1582 * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
1583 Gnus with little use.
1584 (mail-setup-hook): Add mail-abbrevs-setup to options.
1586 * recentf.el: Doc fixes.
1588 * vcursor.el (vcursor-cs-binding): Remove compatibility code.
1591 * timezone.el (timezone-parse-date): Doc fix. Fix regexps for (5)
1592 without timezone and (8) with timezone to enforce some whitespace.
1593 Simplify code somewhat.
1595 * options.el (list-options): Doc that you should use customize.
1597 * iswitchb.el (iswitchb-mode): Add :require.
1599 * info.el (Info-goto-node, Info-menu): Doc fix.
1600 (Info-mode-menu): Bind beginning-of-buffer, Info-edit
1601 (info-tool-bar-map): New variable.
1602 (Info-mode): Use it.
1603 (Info-edit-map): Define all in defvar.
1604 (speedbar-attached-frame): Avoid compiler warning.
1606 * toolbar/tool-bar.el (tool-bar-map): Define it empty.
1607 (global-map): Bind [tool-bar] to a filtered map.
1608 (tool-bar-add-item): Remove MAP arg. Allow PBM icons.
1609 (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
1611 (tool-bar-setup): Adjust calls of tool-bar-add-item.
1613 * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
1614 * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
1615 * toolbar/right_arrow.xpm: New files. Renamed from tigert's
1616 icons, except up_arrow, which is left-arrow rotated.
1618 * imenu.el (imenu-add-to-menubar): Fix last change.
1620 2000-10-08 Peter Breton <pbreton@ne.mediaone.net>
1622 * generic-x.el (rul-generic-mode): Remove eval-when-compile
1623 statements. Suggested by Stefan Monnier <monnier@cs.yale.edu>.
1625 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
1627 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
1628 typos in doc strings.
1630 * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
1631 the doc strings how to customize Font Lock faces.
1633 * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
1634 computing growth when dragging the header line.
1636 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
1638 * simple.el (kill-line): Doc fix.
1640 2000-10-08 Miles Bader <miles@gnu.org>
1642 * faces.el (secondary-selection): Make foreground visible on tty.
1644 * jka-compr.el (auto-compression-mode): Move to the end of the
1645 file, because `define-minor-mode' actually calls the mode-function
1646 if the associated variable is non-nil, which requires that all
1647 needed functions be already defined.
1648 (with-auto-compression-mode): Add autoload cookie.
1650 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il>
1652 * files.el (find-backup-file-name) [ms-dos]: If support for long
1653 file names is not available, behave as if version-control were set
1656 2000-10-07 Dave Love <fx@gnu.org>
1658 * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
1659 (browse-url-gnome-moz): New function.
1660 (browse-url-browser-function): Use it.
1661 Suggested by Colin Walters <walters@cis.ohio-state.edu>.
1663 2000-10-07 Stefan Monnier <monnier@cs.yale.edu>
1665 * indent.el (tab-always-indent): New var.
1666 (indent-for-tab-command): Use it.
1668 * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
1669 raise an error. This way it can still default to a sane value.
1671 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
1673 * startup.el (fancy-splash-screens): Use local rather than global map.
1674 Don't use `update-menu-bindings' any more.
1675 Get rid of assumptions about keymap representation.
1677 2000-10-06 Dave Love <fx@gnu.org>
1679 * textmodes/fill.el (sentence-end-double-space)
1680 (sentence-end-without-period): Doc fix.
1681 (adaptive-fill-regexp): Purecopy.
1682 (unjustify-current-line): Use line-end-position.
1683 (fill-individual-paragraphs-prefix): Use line-beginning-position.
1685 * net/eudc-vars.el (eudc): Add :version, :link.
1687 * international/mule-conf.el (file-coding-system-alist): Use \', not $.
1689 * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
1690 Fix for define-minor-mode.
1691 (function-at-point): Alias to function-called-at-point.
1693 * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
1695 * simple.el (backward-word): Doc fix.
1697 * image-file.el (image-file-name-regexp): image-file-regexps ->
1698 image-file-name-regexps.
1699 (image-file-name-extensions): Add pbm.
1701 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
1703 * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
1704 and add filename to the names so that diff-mode can jump to source.
1706 * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
1707 (tex-font-lock-keywords, tex-font-lock-keywords-2)
1708 (tex-font-lock-keywords-1): Remove.
1709 (font-lock-turn-on-thing-lock): Use jit-lock-register.
1710 (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
1711 (font-lock-default-fontify-region):
1712 Expand beg..end correctly when just following a multiline region.
1713 (font-lock-fontify-anchored-keywords):
1714 Include the anchor text as part of the multiline.
1716 2000-10-06 Gerd Moellmann <gerd@gnu.org>
1718 * loadup.el (toplevel): Load `loaddefs' before `help' because the
1719 latter needs the autoloaded define-minor-mode macro during the
1722 * startup.el (command-line): For now, activate tool-bar-mode only
1723 if XPM images are supported.
1725 * mouse.el (mouse-drag-header-line): Don't allow resizing a
1726 window by dragging a header-line at the top of the frame; that's
1727 confusing because the header-line doesn't move.
1728 (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
1729 of treating the event as a list. Some cleanup.
1731 2000-10-06 Miles Bader <miles@gnu.org>
1733 * simple.el (display-message-or-buffer): New function.
1734 (shell-command-on-region): Use `display-message-or-buffer'.
1736 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
1739 * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
1740 (smbclient-prompt-regexp): Add usage note to doc string.
1741 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
1742 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
1743 Use add-hook for adding the comint filter function, and only do so
1744 if it's not already in the global hook list.
1745 (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
1746 to `make-local-variable'.
1747 (nslookup-font-lock-keywords): Remove prompt entry.
1748 (nslookup): Don't set the process-filter.
1749 (finger): Exit the loop correctly when the regexps list runs out.
1750 (ftp, smbclient, smbclient-list-shares):
1751 Set the real major mode immediately, not after execing.
1752 Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
1754 * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
1756 2000-10-05 Stefan Monnier <monnier@cs.yale.edu>
1758 * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
1760 * which-func.el (which-func-format): Remove spurious space.
1761 (which-func-mode): Don't make it permanent-local.
1762 (which-func-ff-hook): Allow which-func-maxout to be nil.
1763 (which-func-update): Simplify a bit. Only run if which-func-mode is t.
1764 (which-func-mode): Simplify.
1765 Use post-command-idle-hook rather than post-command-hook.
1766 Go through all buffers and update their state.
1767 (which-function): Also try add-log-current-defun-function.
1769 * vc.el (with-vc-properties): Use conses rather than length-2 lists.
1770 (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
1771 Update call to with-vc-properties accordingly.
1772 (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
1773 (vc-revert-buffer): More careful about window selection and deletion.
1774 (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
1776 * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
1777 (cvs-retrieve-revision): Reuse a pre-existing buffer.
1778 (cvs-dired-action): Change the default to quickdir.
1780 * newcomment.el (comment-indent): Delegate to indent-according-to-mode
1781 if comment-indent-function returns nil.
1782 (comment-indent-default): New function.
1783 (comment-indent-function): Use it and document the new semantics.
1785 * image-file.el: Docstring fixes.
1787 * help.el (help-xref-on-pp): Use match-string.
1788 (describe-variable): New arg BUFFER.
1789 Store the current buffer in the help-xref-stack.
1790 (temp-buffer-resize-mode): Use define-minor-mode.
1792 * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
1793 consistently with its docstring.
1794 Set jit-lock-first-unfontify-pos in an idempotent way.
1795 (jit-lock-register): Autoload and add arg CONTEXTUAL.
1797 2000-10-05 Alex Schroeder <alex@gnu.org>
1799 * sql.el (sql-mysql-options): New variable.
1800 (sql-mysql): Use it.
1802 2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
1804 * image.el (image): New group.
1806 * smerge-mode.el (smerge-mine-face, smerge-other-face)
1807 (smerge-base-face, smerge-markers-face): Add dark-background variants.
1809 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
1811 * net/net-utils.el (nslookup-font-lock-keywords)
1812 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
1813 Ignore the value of wqindow-system; always define keywords
1815 2000-10-05 Kenichi Handa <handa@etl.go.jp>
1817 * startup.el (fancy-splash-screens): Remove the code for
1818 debugging; `(trace-to-stderr "EXITTT\n")'.
1820 2000-10-05 Miles Bader <miles@gnu.org>
1822 * diff-mode.el (diff-goto-source): Update call to
1823 `diff-hunk-status-msg' to reflect new REV variable.
1825 2000-10-04 Stefan Monnier <monnier@cs.yale.edu>
1827 * progmodes/icon.el (icon-mode):
1828 Don't gratuitously override the default for comment-column.
1830 * vc-hooks.el (vc-mode-line): Fix interactive spec.
1832 * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
1833 (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
1834 (jit-lock-functions): New var.
1835 (jit-lock-function-1): Use it if non-nil.
1836 Don't switch the syntax-table. Don't set parse-sexp-lookup-properties.
1837 Set the `fontified' property before doing the fontification to avoid
1838 repeatedly going through the same error.
1839 Don't turn errors into messages.
1840 (jit-lock-register, jit-lock-unregister): New functions.
1842 * dired.el (dired-mark-pop-up): Turn comment into docstring.
1843 Use with-current-buffer.
1845 * dired-aux.el (dired-do-create-files, dired-kill-tree):
1846 Turn comment into docstring.
1848 * apropos.el (apropos-mode): Use define-derived-mode.
1850 2000-10-04 Gerd Moellmann <gerd@gnu.org>
1852 * startup.el (fancy-splash-pending-command): New variable.
1853 (fancy-splash-pre-command): New function.
1854 (fancy-splash-screens): Rewritten.
1855 (command-line-1): If fancy-splash-pending-command is set, call it
1858 2000-10-04 Dave Love <fx@gnu.org>
1860 * toolbar/tool-bar.el (tool-bar-setup): New function.
1861 (tool-bar-mode): Use it.
1863 * subr.el (substitute-key-definition): Doc fix.
1864 (play-sound-file): New command.
1866 2000-10-04 Andre Spiegel <spiegel@gnu.org>
1868 * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
1869 vc-version-backup-file-name): New functions.
1871 * files.el (basic-save-buffer): Call vc-before-save before saving.
1873 * vc-cvs.el (vc-cvs-make-version-backups): Return t if
1874 vc-cvs-stay-local-p.
1876 * vc.el (vc-revert-buffer): Handle empty diff properly.
1877 (vc-version-backup-file): New function.
1878 (vc-checkout): Create a version backup if necessary.
1879 (vc-checkin): If a version backup file exists, delete it.
1880 (vc-version-diff): Diff locally using version backups, if available.
1881 (vc-revert-file): If there's a version backup, revert locally.
1882 (vc-transfer-file): Use version backup for base version, if
1883 available. If not, ask for confirmation whether to get it from the
1884 server. Update mode line before check-in.
1886 2000-10-04 Dave Love <fx@gnu.org>
1888 * toolbar/tool-bar.el (tool-bar-setup): New function.
1889 (tool-bar-mode): Use it.
1891 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
1893 * net/net-utils.el (nslookup-font-lock-keywords)
1894 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
1895 Only set if window-system is non-nil
1896 (net-utils-run-program): Returns buffer.
1897 (network-connection-reconnect): Added this function.
1900 Incorporates extensive cleanup and docfixes by
1901 Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
1902 Uses cl compile-time macros.
1903 (generic-mode-name, generic-comment-list)
1904 (generic-keywords-list, generic-font-lock-expressions)
1905 (generic-mode-function-list, generic-mode-syntax-table):
1907 (generic-mode-alist): Renamed to generic-mode-list.
1908 (generic-find-file-regexp): Default changed to "^#".
1909 (generic-read-type): Uses completing read on generic-mode-list.
1910 (generic-mode-sanity-check): removed this function.
1911 (generic-add-to-auto-mode): Removed this function
1912 (generic-mode-internal): Bind mode-specific definitions
1913 into function instead of putting them in alist.
1914 (generic-mode-set-comments): Reworked extensively.
1915 (generic-mode-find-file-hook): Simplified regexp searching
1916 (generic-make-keywords-list): Omit extra pair of parens
1918 * find-lisp.el (find-lisp-find-files-internal):
1919 Make sure directory name ends with "/".
1921 * generic-x.el (apache-conf-generic-mode):
1922 Regexp now allows leading whitespace.
1923 (rc-generic-mode): Added eval-when-compile
1924 around generic-make-keywords-list.
1925 Deleted duplicate regexp
1926 (rul-generic-mode): Added eval-when-compile
1927 around generic-make-keywords-list.
1928 (etc-fstab-generic-mode): New generic mode.
1929 (rul-generic-mode): Removed one eval-when-compile
1930 which caused a max-specpdl-size exceeded error.
1932 2000-10-04 Miles Bader <miles@gnu.org>
1934 * simple.el (minibuffer-temporary-goal-position): New variable.
1935 (next-history-element): Try to keep the position of point in the
1936 input string constant.
1938 * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
1939 (dired-do-create-files): If there's only one file, pass it in as
1940 the DEFAULT arg to dired-mark-read-file-name.
1942 2000-10-03 Stefan Monnier <monnier@cs.yale.edu>
1944 * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
1945 (diff-goto-source): Be smarter when choosing REVERSE or not.
1947 * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
1948 (texinfo-mode-menu): Add an explicit shortcut for update all.
1950 2000-10-03 Andre Spiegel <spiegel@gnu.org>
1952 * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
1953 factorize backend-specific code cleanly (this was essentially
1954 conceived by Stefan Monnier).
1955 (vc-unregister): Function removed.
1956 (vc-revert-file): New function.
1957 (vc-revert-buffer): Delegate some of the work to it.
1959 * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
1960 default branch unconditionally.
1961 (vc-rcs-set-default-branch): New function.
1962 (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
1963 (vc-rcs-checkin): If an appropriate default branch has been set,
1964 force creation of that branch.
1965 (vc-rcs-receive-file): Rewritten to contain only backend-specific
1966 code (as suggested by Stefan Monnier).
1968 2000-10-02 Gerd Moellmann <gerd@gnu.org>
1970 * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
1971 highlighting overlay with a different face over the overlay
1972 isearch uses to highlight the current match because that can lead
1973 to bad face combinations.
1975 * loadup.el (toplevel): Load faces before isearch.
1977 * isearch.el (isearch-faces): New custom group.
1978 (isearch): New defface; was already tested for in the code.
1979 (isearch-lazy-highlight-face): Changed to defface from defcustom.
1980 (isearch-highlight): Always use face `isearch'.
1982 2000-10-02 Dave Love <fx@gnu.org>
1984 * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
1985 unused vars. Treat byte-constant2 like byte-constant. Fix bogus
1986 comparison of opcode with operand.
1988 2000-10-03 Miles Bader <miles@gnu.org>
1990 * play/yow.el (yow): Don't display multi-line quotations in a *Help*
1991 buffer, since the echo area will now grow to accommodate them.
1993 2000-10-02 Andre Spiegel <spiegel@gnu.org>
1995 * vc-hooks.el (vc-registered): If FILE used to be registered under
1996 a certain backend, try that one first.
1998 * vc.el (vc-responsible-backend): Undo the previous change in the
1999 argument list. Handle multiple backends correctly.
2000 (vc-find-new-backend): Function removed.
2001 (vc-register): Use vc-responsible-backend, as before.
2002 (vc-next-action-on-file): Do use vc-registered, not vc-backend.
2004 2000-10-02 Gerd Moellmann <gerd@gnu.org>
2006 * startup.el (fancy-splash-head): Change message below the
2009 2000-10-02 Miles Bader <miles@lsi.nec.co.jp>
2011 * diff-mode.el (diff-goto-source): Emit a status message.
2012 (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
2013 (diff-test-hunk): Fix doc string.
2014 (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
2015 (diff-advance-after-apply-hunk): New variable.
2016 (diff-apply-hunk): Don't return a value.
2018 2000-10-01 Stefan Monnier <monnier@cs.yale.edu>
2020 * vc.el (vc-editable-p): Minor optimization.
2021 (edit-vc-file, vc-next-action-on-file): Don't use find-file.
2022 (vc-find-new-backend): New function split from vc-responsible-backend.
2023 (vc-register): Use it.
2024 (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
2025 (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
2026 (vc-default-unregister, vc-revert-buffer): Docstring fix.
2027 (vc-clear-headers): Don't use find-file.
2028 (vc-revert-buffer): Use `and' again (must have been a braino).
2029 (vc-switch-backend): Only prompt if requested.
2030 Short circuit if nothing is to be done.
2031 Don't use vc-resynch-buffer which could lose unsaved editing.
2032 (vc-default-receive-file): Update call to vc-unregister.
2033 (with-vc-file, vc-next-action-on-file):
2034 Use vc-backend rather than vc-registered.
2035 (vc-next-action-on-file): Use intern-soft.
2036 Deal with read-only *vc-diff* buffer.
2037 (vc-transfer-file): Docstring fix.
2039 * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
2040 (vc-rcs-receive-file): Avoid with-vc-properties.
2041 Update call to vc-unregister.
2042 Use constant `RCS' rather than (dynamically bound) var `backend'.
2044 2000-10-01 Andre Spiegel <spiegel@gnu.org>
2046 * vc.el (vc-next-action-on-file): Update mode line only if file
2048 (vc-start-entry): New argument initial-contents. Don't visit the file
2049 if it isn't already visited. Brought documentation up-to-date.
2050 (vc-next-action, vc-register): Updated calls to vc-start-entry.
2051 (vc-checkin): New optional arg initial-contents, which is passed to
2053 (vc-finish-logentry): Make sure to bury log buffer only if there
2054 really is one. Call `vc-resynch-buffer' on log-file, not
2056 (vc-default-comment-history, vc-default-wash-log): New functions.
2057 (vc-index-of): Removed.
2058 (vc-transfer-file): Make do without the above.
2059 (vc-default-receive-file): Call comment-history unconditionally. Pass
2060 the resulting string to vc-checkin, instead of inserting it into the
2063 * vc-rcs.el (vc-rcs-receive-file): Call comment-history
2064 unconditionally. Use the comments as initial contents of the log
2065 entry buffer. Document the trick to force branch creation with no
2068 2000-10-01 Miles Bader <miles@gnu.org>
2070 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
2071 `recenter' with an arg to prevent redrawing the display.
2073 2000-09-30 Stefan Monnier <monnier@cs.yale.edu>
2075 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
2077 * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
2079 * progmodes/c-mode.el (c-mode):
2080 Don't gratuitously override the default for comment-column.
2082 * textmodes/tex-mode.el (latex-metasection-list): New var.
2083 (latex-imenu-create-index): Use it.
2084 Move the regexp construction outside loops (and use push).
2085 (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
2086 (tex-font-lock-keywords): Moved from font-lock.el.
2087 (tex-comment-indent): Remove.
2088 (tex-common-initialization): Don't set comment-indent-function.
2089 (latex-block-default): New var.
2090 (tex-latex-block): Use it to provide a default choice.
2091 Add any unknown choice to latex-block-names.
2092 Insert [...] after {...}.
2093 (tex-last-unended-begin): Simplify regexp.
2094 (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
2095 (latex-forward-sexp-1, latex-forward-sexp): New functions.
2096 (latex-mode): Set forward-sexp-function.
2098 * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
2099 Add regexp for @ignore ... @end ignore.
2100 (texinfo-heading-face): New face.
2101 (texinfo-font-lock-keywords): Use it.
2102 (texinfo-mode-menu): New menu.
2103 (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
2105 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
2106 (texinfo-section-types-regexp, texinfo-section-level-regexp)
2107 (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
2109 (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
2111 * delsel.el (delete-selection-mode): Use define-minor-mode.
2113 * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
2115 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
2117 * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
2119 2000-09-30 Gerd Moellmann <gerd@gnu.org>
2121 * replace.el (keep-lines-read-args): New function.
2122 (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
2123 read arguments interactively. Add parameters RSTART and REND.
2124 Operate on the active region in Transient Mark mode.
2126 * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
2128 * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
2129 (authors-obsolete-files-regexps): New variable.
2130 (authors-add): Don't record changes in obsolete files.
2132 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
2134 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
2136 * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
2137 (comment-indent): Make sure there's a space between code and comment.
2138 Shift comments left to avoid going past fill-column.
2140 2000-09-29 Gerd Moellmann <gerd@gnu.org>
2142 * startup.el (startup-echo-area-message): New function.
2143 (display-startup-echo-area-message): Use it.
2144 (fancy-splash-screens): Rewritten to use keymaps and a timer.
2145 (fancy-splash-default-action): New function.
2146 (fancy-splash-screens-1): New function.
2147 (fancy-splash-head): Put a help-echo and a keymap under the image.
2149 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
2151 * diff-mode.el (diff-add-log-file-name): Remove.
2152 (diff-mode): Use add-log-buffer-file-name-function.
2154 * add-log.el (find-change-log): New arg BUFFER-FILE.
2155 (add-log-file-name): Obey add-log-file-name-function.
2156 (add-log-buffer-file-name-function): New var.
2157 (add-change-log-entry): Use it.
2159 2000-09-29 Miles Bader <miles@gnu.org>
2161 * image-file.el (image-file-name-extensions): New variable.
2162 (image-file-name-regexps): Renamed from `image-file-regexps'.
2163 New default value is nil. Call `auto-image-file-mode'.
2164 (image-file-name-regexp): New function.
2165 (auto-image-file-mode): New minor mode.
2166 (insert-image-file): Don't make conditional on the image-file
2167 handler being enabled.
2168 (image-file-handler): Make the call here conditional instead.
2169 (set-image-file-handler-enabled, enable-image-file-handler)
2170 (disable-image-file-handler): Functions removed.
2172 * emacs-lisp/authors.el (authors-print): Rephrase many-files
2175 2000-09-29 Gerd Moellmann <gerd@gnu.org>
2177 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
2178 it's a function from CL.
2179 (latex-imenu-create-index): Replace eval-when-compile with progn
2180 because latex-section-alist is not bound while compiling.
2182 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
2184 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
2185 (outline-mode): Use define-derived-mode.
2187 * progmodes/perl-mode.el (perl-mode):
2188 * progmodes/awk-mode.el (awk-mode):
2189 * progmodes/asm-mode.el (asm-mode):
2190 Don't gratuitously override the default for comment-column.
2192 * emacs-lisp/lisp.el (lisp-complete-symbol):
2193 Distinguish the let-binding case from the funcall case.
2194 (forward-sexp-function): New variable.
2195 (forward-sexp): Use it.
2197 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
2198 (easy-mmode-defmap): Remove the now useless autoload.
2200 * time.el (display-time-mode): Use define-minor-mode.
2202 * subr.el (add-minor-mode): Don't eval NAME.
2203 Don't depend on the presence of TOGGLE-FUN for any special behavior.
2204 Use if rather than cond.
2206 * simple.el (read-expression-map): Define more properly.
2207 (comment-indent-hook): Remove.
2208 (string-to-syntax): Bug fix.
2210 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
2211 (cvs-ediff-diff): Fix typo.
2212 (cvs-revert-if-needed): Don't bother preserving read-only.
2214 * paren.el (show-paren-mode): Use define-minor-mode.
2216 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
2217 (toggle-auto-compression): Remove.
2218 (jka-compr-build-file-regexp): Remove useless grouping.
2220 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
2221 Avoid user-reserved bindings.
2222 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
2223 (diff-header-face): Revert to grey85.
2225 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
2227 * complete.el (partial-completion-mode) <defcustom>: Remove.
2228 (partial-completion-mode): Use define-minor-mode.
2229 (PC-do-completion): Understand `completion-auto-help = delay'
2230 to mean to popup the completion buffer only the second time.
2231 (PC-include-file-all-completions, PC-include-file-all-completions)
2232 (PC-include-file-all-completions): Don't quote lambda.
2234 * comint.el (comint-mode-hook): Docstring fix.
2235 (comint-mode): Use define-derived-mode.
2236 (comint-mode-map): Remove obsolete comment.
2237 (make-comint): Minor stylistic change.
2238 (comint-insert-clicked-input): Be more careful to find the overlay.
2239 Use this-command-keys rather than hardcoding mouse-2.
2241 * font-lock.el: Replace confusing (,@ with ,
2242 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
2243 Don't use regexp-opt-depth. Spice up the regexp for args.
2244 Don't distinguish between cmds that can take an opt arg or not.
2245 Use `append' and `prepend' rather than `keep'.
2247 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
2248 (latex-outline-regexp): New var.
2249 (latex-outline-level): New fun.
2250 (latex-section-alist): New var.
2251 (latex-imenu-create-index): Use it. Use `push' as well.
2252 (tex-shell-map): Initialize it properly.
2253 (tex-mode): Minor stylistic change.
2254 (plain-tex-mode): Use define-derived-mode.
2255 (latex-mode): Use define-derived-mode.
2256 Construct the paragraph regexps in a more readable way.
2257 Set the buffer-local outline-{level,regexp} vars.
2258 (slitex-mode): Derive from latex-mode.
2259 (tex-common-initialization): Don't kill-all-vars anymore.
2260 Add setting for comment-add and font-lock-defaults.
2261 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
2262 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
2263 (tex-start-tex): New arg DIR (and send a chdir command for it).
2264 Also display the shell buffer and save it in tex-last-buffer-texed.
2265 (tex-region): Use expand-file-name rather than concat.
2266 Remove code made useless by changes in tex-start-tex.
2267 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
2269 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
2271 2000-09-28 Dave Love <fx@gnu.org>
2273 * eshell/eshell.el (eshell) <defgroup>: Add :version.
2275 2000-09-28 Gerd Moellmann <gerd@gnu.org>
2277 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
2280 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
2282 * info.el (Info-extract-pointer): Undo last change.
2283 Instead, fix the position of the `bound' arg to re-search-backward.
2285 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
2287 * info.el (Info-extract-pointer):
2288 Widen more carefully, to avoid finding pointers in other nodes.
2289 (Info-index): Use push.
2291 2000-09-27 Gerd Moellmann <gerd@gnu.org>
2293 * frame.el (set-frame-font): Remove call to obsolete function
2295 (set-foreground-color, set-background-color): Likewise for
2296 frame-update-face-colors.
2298 2000-09-27 Miles Bader <miles@gnu.org>
2300 * image-file.el: New file.
2302 2000-09-27 Gerd Moellmann <gerd@gnu.org>
2304 * frame.el (frame-notice-user-settings): Don't call
2305 frame-update-faces, which is a no-op now.
2307 * ediff-wind.el (ediff-control-frame-parameters): Add zero
2310 2000-09-27 Dave Love <fx@gnu.org>
2312 * mouse.el: Fix last change.
2314 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
2316 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
2318 2000-09-22 Kenichi Handa <handa@etl.go.jp>
2320 * international/quail.el (quail-help): The output message is
2323 2000-09-26 Dave Love <fx@gnu.org>
2325 * mouse.el (popup-menu): If POSITION is nil, set it using
2328 2000-09-25 Sam Steingold <sds@gnu.org>
2330 * net/browse-url.el (browse-url-file-url): Check for null maps.
2332 2000-09-26 Gerd Moellmann <gerd@gnu.org>
2334 * frame.el (frame-notice-user-settings): Don't add a
2335 tool-bar-lines frame parameter to default-frame-alist in batch mode.
2337 * frame.el (frame-notice-user-settings):
2338 Make tool-bar-mode and default-frame-alist consistent.
2340 * toolbar/tool-bar.el (tool-bar-help): New function.
2342 2000-09-25 Gerd Moellmann <gerd@gnu.org>
2344 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
2345 current-load-list in top-level forms. Else this leaks a cons cell
2346 every time a defun is called.
2348 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
2350 2000-09-25 Dave Love <fx@gnu.org>
2352 * startup.el (fancy-splash-head): Check XPM is available.
2354 * autoinsert.el (auto-insert): Doc fix.
2355 (auto-insert-alist): Following GNU notices, don't say `copyright
2356 _by_'. Use line-beginning-position.
2357 (auto-insert): Check buffer-file-name is non-nil before use.
2359 2000-09-25 Gerd Moellmann <gerd@gnu.org>
2361 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
2362 starting with `@def' or `@multitable', in addition to ones
2363 specified by the user in auto-fill-inhibit-regexp.
2365 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
2367 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
2368 rmail-dont-reply-to-names matches the empty string.
2370 2000-09-25 Gerd Moellmann <gerd@gnu.org>
2372 * startup.el (command-line-1, fancy-splash-text): Change the
2373 text to sound more friendly.
2375 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
2377 * progmodes/hideshow.el: Update author email address.
2378 Generally, sync w/ maintainer version 5.22.
2379 (hs-hide-all-non-comment-function): New var.
2380 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
2381 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
2382 (hs-show-region): Delete this command.
2383 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
2385 2000-09-22 Dave Love <fx@gnu.org>
2387 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
2388 (hl-line-highlight): Specify buffer when moving overlay.
2390 * progmodes/fortran.el (fortran-mode): Locally set
2391 normal-auto-fill-function.
2392 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
2393 (fortran-mode-map): Adjust auto-fill menu entry.
2395 2000-09-22 Gerd Moellmann <gerd@gnu.org>
2397 * vc-rcs.el (toplevel): Require `vc' when compiling.
2399 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
2401 2000-09-22 Andre Spiegel <spiegel@gnu.org>
2403 * vc.el (vc-switch-backend): Signal an error if the file is not
2404 registered under the new backend.
2406 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
2407 without explicit revision number.
2409 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
2411 * diff-mode.el (diff-file-header-face): Reset to its previous value.
2412 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
2413 (diff-xor): New function.
2414 (diff-find-source-location): Use it. Fix a stupid name clash.
2415 (diff-hunk-status-msg): New function.
2416 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
2417 (diff-test-hunk): Use diff-find-source-location.
2418 (diff-goto-source): Favor the `reverse'.
2419 (diff-hunk-text): Properly handle one-sided context diffs.
2420 (diff-apply-hunk): When done, advance to the next hunk.
2422 2000-09-21 Gerd Moellmann <gerd@gnu.org>
2424 * startup.el (command-line): If frame was created with a non-zero
2425 tool-bar-lines parameter, switch tool-bar-mode on.
2427 * add-log.el (change-log-date-face, change-log-name-face)
2428 (change-log-email-face, change-log-file-face)
2429 (change-log-list-face, change-log-conditionals-face)
2430 (change-log-function-face, change-log-acknowledgement-face):
2431 New faces, inheriting from font-lock faces.
2432 (change-log-font-lock-keywords): Use them.
2434 2000-09-21 Dave Love <fx@gnu.org>
2436 * progmodes/cperl-mode.el (top-level): Clean up
2437 `eval-when-compile's and assorted defvars.
2438 (cperl-invalid-face): Don't double-quote value. Change custom
2440 (cperl-mode): Set normal-auto-fill-function and don't zap
2442 (cperl-imenu--function-name-regexp-perl): Renamed from
2443 imenu-example--function-name-regexp-perl.
2444 (cperl-imenu--create-perl-index): Renamed from
2445 imenu-example--create-perl-index.
2446 (cperl-xsub-scan): Don't require cl.
2448 * msb.el (msb-mode-map): Use substitute-key-definition.
2449 (msb-mode): Use msb-mode-map.
2451 2000-09-21 Andre Spiegel <spiegel@gnu.org>
2453 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
2455 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
2456 (vc-switch-backend): New function.
2457 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
2458 (vc-register): Fix prompt.
2459 (vc-unregister, vc-default-unregister): New functions.
2460 (vc-version-diff): Handle empty buffer in sentinel.
2462 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
2463 (vc-rcs-state-heuristic): Use it to guess the state of files with
2465 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
2466 been set with -b, but not created yet.
2467 (vc-rcs-fetch-master-state): With non-strict locking, compare file
2468 contents in order to find the state.
2469 (vc-rcs-checkin): Allow creation of branches with no changes.
2470 (vc-rcs-unregister, vc-rcs-receive-file)
2471 (vc-rcs-set-non-strict-locking): New functions.
2473 * vc-hooks.el (vc-name): Force correct computation of the value
2474 in case it is missing.
2476 2000-09-21 Gerd Moellmann <gerd@gnu.org>
2478 * startup.el (fancy-splash-tail): Use a different foreground
2479 color on a dark frame background.
2481 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
2483 * info.el: Use the correct capitalization when making Info-mode
2484 and Info-edit-mode `special' modes.
2486 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
2488 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
2489 (diff-mode): Add support for add-log.el.
2490 (diff-hunk-text): Use char offsets rather than line offsets.
2491 (diff-find-source-location): Replace LINE with line-offset (nil
2492 if not found) and always set POS to a meaningful position.
2493 Adapt to the new char-offsets.
2494 (diff-apply-hunk): Drop support for the unused `select' POPUP.
2495 Adapt to the new diff-find-source-location.
2496 (diff-goto-source): Adapt to the new diff-find-source-location.
2498 * add-log.el (add-log-file-name): New function (split out of
2499 add-change-log-entry).
2500 (add-change-log-entry): Use it.
2501 Call add-log-file-name-function with the changelog file name if
2502 the current buffer is not associated with any file.
2503 Avoid find-file if the selected window is dedicated.
2505 * diff-mode.el (diff-find-source-location):
2506 Move code from diff-apply-hunk. Return buffer rather than file.
2507 (diff-apply-hunk): Use the new result from diff-find-source-location.
2508 (diff-goto-source): Use the new diff-find-source-location.
2510 2000-09-20 Dave Love <fx@gnu.org>
2512 * iswitchb.el: Some doc fixes.
2513 (iswitchb-mode-map): Define completely initially. Inherit
2514 minibuffer-local-map.
2515 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
2517 (iswitchb-global-map): New variable.
2518 (iswitchb-summaries-to-end): Amalgamate regexps.
2519 (iswitchb-mode): New.
2520 (iswitchb-mode-hook): New variable.
2521 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
2524 2000-09-20 Gerd Moellmann <gerd@gnu.org>
2526 * ehelp.el (electric-help): New defgroup.
2527 (electric-help-shrink-window): New user-option.
2528 (with-electric-help): Use it.
2530 * window.el (shrink-window-if-larger-than-buffer): If face
2531 `mode-line' has a :box, and we're on a graphical frame, add 1
2532 to the needed window height.
2534 * frame.el (frame-notice-user-settings): Add a last parameter nil
2535 to a call to `append', because the last list passed to `append' is
2536 not copied, and so subsequent calls to assq-delete-all will modify
2537 default-frame-alist.
2539 * startup.el (fancy-splash-image): Change :type.
2540 (fancy-splash-head): Use an XBM image if appropriate.
2541 (command-line-1): Show splash screens in more cases.
2543 * startup.el (fancy-splash-text): Don't quote faces.
2545 * dired.el (dired-font-lock-keywords): Undo last change.
2546 (dired-readin): Bind indent-tabs-mode to nil.
2548 * startup.el (fancy-splash-head): If frame's background mode
2549 is `dark', change the black background of the image to gray.
2550 (fancy-splash-screens): Display startup echo area message.
2551 (display-startup-echo-area-message): New function.
2553 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
2555 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
2557 * info.el (info-header-node): Tweak for color ttys.
2559 * faces.el (face-valid-attribute-values): Make sure directories we
2560 search for stipples both exist and are readable before trying to
2563 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
2564 in the dry-run case.
2566 * jka-compr.el (with-auto-compression-mode): New macro.
2568 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
2569 (custom-group-tag-face, custom-variable-tag-face): Use relative
2570 :height and inherit from `variable-pitch' face instead of
2572 * hi-lock.el (hi-black-hb): Likewise.
2574 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
2575 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
2576 toolbar-add-item, if image doesn't have a mask add a `:mask
2579 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
2581 * diff-mode.el: Docstring fixes.
2582 (diff-header-face, diff-comment-face): New faces.
2583 (diff-font-lock-keywords): Highlight a bit differently.
2584 (diff-find-source-location): Don't return SPAN any more.
2585 (diff-hunk-text): Don't bother erasing the temp buffer.
2586 (diff-find-text): Drop argument LINE.
2587 (diff-apply-hunk): Update calls to diff-find-text.
2588 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
2590 * calendar/calendar.el: Docstring fixes.
2591 (calendar-make-alist): Don't quote lambda.
2592 (calendar-star-date): Use make-local-variable.
2594 2000-09-19 Dave Love <fx@gnu.org>
2596 * toolbar/tool-bar.el: Renamed from toolbar.el.
2597 Change `toolbar' to `tool-bar' generally in symbols.
2598 Make some items invisible in `special' major modes.
2599 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
2602 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
2604 (fancy-splash-delay, fancy-splash-image): Remove :version here.
2606 2000-09-19 Gerd Moellmann <gerd@gnu.org>
2608 * progmodes/sh-script.el (sh-search-word): Remove call to `debug'.
2610 * files.el (find-file-suppress-same-file-warnings): New user-option.
2611 (find-file-noselect): Use it.
2613 * startup.el (fancy-splash-delay, fancy-splash-image): Add :version.
2614 (fancy-splash-screen): Defgroup.
2616 * add-log.el (change-log-font-lock-keywords): Match names
2617 more exactly for the case that font-lock-constant-face is
2620 2000-09-19 Richard M. Stallman <rms@gnu.org>
2622 * progmodes/sh-script.el (sh-search-word): Rewritten for speed.
2624 2000-09-19 Andre Spiegel <spiegel@gnu.org>
2626 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
2628 2000-09-19 Gerd Moellmann <gerd@gnu.org>
2630 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
2631 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
2632 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
2633 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
2634 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
2635 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
2636 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
2637 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
2638 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
2639 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
2640 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
2641 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
2643 * startup.el (fancy-splash-text): New variable.
2644 (fancy-splash-delay, fancy-splash-image): New user-options.
2645 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
2646 (fancy-splash-screens): New functions.
2647 (command-line-1): If display has a `display' frame parameter, has
2648 colors, and we have XPM support, show more fancy splash screens.
2650 2000-09-19 Dave Love <fx@gnu.org>
2652 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
2653 with null `help'. Use modern backquote syntax.
2655 2000-09-19 Gerd Moellmann <gerd@gnu.org>
2657 * font-lock.el (font-lock-mode): Change message telling the user
2658 that ``the buffer is too big''.
2660 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
2661 for instance for the case that tab-width is 2.
2663 2000-09-18 Gerd Moellmann <gerd@gnu.org>
2665 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
2666 toolbar-add-item, if image doesn't have a mask add a `:mask
2669 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
2671 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
2672 and return a cons if it's non-nil.
2673 (diff-apply-hunk): Try to jump to the line in the source text
2674 corresponding to the position of point in the in the hunk.
2676 * info.el (Info-title-3-face, Info-title-2-face)
2677 (Info-title-1-face): Use face inheritance and relative sizes
2678 instead of hard-wiring things.
2680 * faces.el (secondary-selection): Make dark-background variant sane.
2682 2000-09-16 Andrew Innes <andrewi@gnu.org>
2684 * makefile.w32-in (compile-files-CMD): No need to make .elc files
2685 read-only, since they aren't under VC now.
2687 2000-09-17 Dave Love <fx@gnu.org>
2689 * tmm.el: Replace mapcar with mapc in several places.
2691 * loadhist.el (unload-feature): Maybe call elp-restore-list and
2694 * international/latin1-disp.el: New file.
2696 * calendar/cal-move.el (scroll-calendar-left)
2697 (scroll-calendar-right): Make arg optional (for active mode line).
2699 * calendar/calendar.el (calendar-mode-line-format): Make fields
2701 (calendar-read-date, calendar-read-date, calendar-window-list):
2703 (calendar-month-name): Use aref, not sref.
2705 * view.el (minor-mode-alist): Propertize the string.
2707 * international/characters.el (standard-case-table): Add entries
2710 2000-09-18 Miles Bader <miles@gnu.org>
2712 * info.el (info-node, info-xref): Add dark-background variants.
2714 * faces.el (header-line): Change defaults to be less confusing
2715 when mixed with mode-lines.
2717 * info.el (Info-fontify-node): Make a few cleanups.
2718 Add extra `help-echo' and `local-map' props to node xrefs.
2719 Use header-specific faces for node-names & xrefs.
2720 (Info-use-header-line): New variable.
2721 (info-header-xref, info-header-node): New faces.
2722 (Info-setup-header-line): New function.
2723 (Info-select-node): Call Info-setup-header-line when enabled.
2724 (Info-extract-pointer): Work even if the header line is hidden.
2725 (Info-header-line): New variable.
2727 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
2729 * vms-patch.el (print-region-function): Don't quote lambda.
2731 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
2733 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
2734 (lm-get-header-re): Allow spaces between the header and the colon.
2735 (lm-header): Allow $ in non-RCS headers.
2736 (lm-header-multiline): Put the strings back into order.
2737 Stop at an empty line. Don't require two space chars if the
2738 line is clearly not another header line.
2740 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
2741 (popup-menu-popup): Remove.
2743 2000-09-15 Gerd Moellmann <gerd@gnu.org>
2745 * toolbar/toolbar.el (toolbar-add-item): Use the same image
2746 specification if or if not tool-bar item contains an `:enabled'
2749 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
2750 current buffer has no file name.
2752 2000-09-15 Dave Love <fx@gnu.org>
2754 * strokes.el: Sync with maintainer's current version with changes
2755 for Emacs, but avoid runtime cl and levents.
2756 (toplevel): Change autoloads and compilation requires.
2757 (strokes-version, strokes-bug-address, strokes-lift): Values
2759 (strokes-xpm-header, strokes-insinuated): New variable.
2760 (strokes): Add :link.
2761 (strokes-mode): Customized.
2762 (strokes-while-inhibiting-garbage-collector): New macro.
2763 (strokes-remassoc): Avoid remove-if.
2764 (strokes-fix-button2-command): Don't use ad-do-it.
2765 (strokes-insinuate): New function.
2766 (strokes-button-press-event-p, strokes-button-release-event-p):
2767 New functions, used instead of non-`strokes-' versions..
2768 (strokes-mouse-event-p): Rewritten.
2769 (strokes-event-closest-point): Avoid event-point.
2770 (strokes-get-grid-position): Avoid cdadr, caadr
2771 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
2773 (strokes-help): Use with-output-to-temp-buffer.
2774 (strokes-window-configuration-changed-p): New function.
2775 (strokes-update-window-configuration): Use buffer-live-p,
2776 strokes-window-configuration-changed-p.
2777 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
2778 (strokes-char-face): New face.
2779 (strokes-char-table, strokes-base64-chars): New variable.
2780 (strokes-xpm-for-stroke, strokes-list-strokes)
2781 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
2782 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
2783 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
2784 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
2785 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
2788 2000-09-15 Gerd Moellmann <gerd@gnu.org>
2790 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
2792 * image.el (create-image): Doc fix.
2794 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
2795 instead of `:heuristic-mask t'.
2797 2000-09-14 Andrew Innes <andrewi@gnu.org>
2799 * makefile.w32-in: Revert to Unix line endings.
2801 2000-09-14 Andrew Innes <andrewi@gnu.org>
2803 * makefile.w32-in: Add bootstrap support. Also copy lisp source
2806 * makefile.nt (DONTCOMPILE): Fix typo.
2808 * shell.el (shell-write-history-on-exit): New function.
2809 (shell-dumb-shell-regexp): New custom variable.
2810 (shell-mode): Make shell-write-history-on-exit the process
2811 sentinel if shell name matches shell-dumb-shell-regexp.
2813 * w32-fns.el: Comment out before-init-hook function which resets
2814 source-directory based; this breaks bootstrap.
2816 2000-09-14 Dave Love <fx@gnu.org>
2818 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
2819 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
2820 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
2821 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
2822 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
2823 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
2824 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
2825 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
2826 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
2828 * toolbar/toolbar.el: New.
2830 * subdirs.el: Add toolbar.
2832 2000-09-14 Gerd Moellmann <gerd@gnu.org>
2834 * indent.el (indent-for-tab-command): Doc fix.
2836 2000-09-14 Alex Schroeder <alex@gnu.org>
2838 * ansi-color.el (ansi-colors): Doc change.
2839 (ansi-color-get-face): Simplified regexp.
2840 (ansi-color-faces-vector): Added more faces, doc change.
2841 (ansi-color-names-vector): Doc change.
2842 (ansi-color-regexp): Simplified regexp.
2843 (ansi-color-parameter-regexp): New regexp.
2844 (ansi-color-filter-apply): Doc change.
2845 (ansi-color-filter-region): Doc change.
2846 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
2847 deal with zero length parameters.
2848 (ansi-color-apply-on-region): Doc change.
2849 (ansi-color-map): Doc change.
2850 (ansi-color-map-update): Removed debugging message.
2851 (ansi-color-get-face-1): Added condition-case to trap
2852 args-out-of-range errors.
2853 (ansi-color-get-face): Doc change.
2854 (ansi-color-make-face): Removed.
2855 (ansi-color-for-shell-mode): New option.
2857 2000-09-13 Kenichi Handa <handa@etl.go.jp>
2859 * international/quail.el (quail-start-translation): Translate KEY
2860 if necessary even if it doesn't have any mapping in the current
2862 (quail-start-conversion): Likewise.
2863 (quail-help): The output message is improved.
2865 2000-09-13 Miles Bader <miles@gnu.org>
2867 * comint.el (comint-output-filter): Revert to using
2868 `insert-before-markers'. Add bletcherous hack to undo damage
2869 caused by `insert-before-markers'. Put `front-sticky' property on
2870 overlays created here so that the field code understands how the
2871 overlay works. Use a let when making comint-last-prompt-overlay,
2872 so that the code is easier to read.
2874 2000-09-13 Dave Love <fx@gnu.org>
2876 * wid-edit.el (widget-default-format-handler): DTRT when
2877 doc-property is a function.
2879 2000-09-12 Francesco Potorti` <pot@gnu.org>
2881 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
2882 filed name if it's not there.
2884 2000-09-12 Dave Love <fx@gnu.org>
2886 * simple.el (read-mail-command): Doc fix.
2887 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
2889 * vc.el (vc-dired-listing-switches): Fix :version.
2891 * vc-hooks.el: Doc fixes.
2893 * subr.el (add-minor-mode): Use toggle-fun arg.
2895 * speedbar.el: Add :version to several defcustoms.
2897 * imenu.el (imenu--truncate-items, imenu--cleanup)
2898 (imenu--generic-function): Avoid mapcar.
2899 (imenu--replace-spaces): Function removed.
2900 (imenu--completion-buffer): Use subst-char-in-string.
2901 (imenu-add-to-menubar): Use keymap inheritance.
2903 2000-09-12 Miles Bader <miles@gnu.org>
2905 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
2906 (diff-mode-map): Bind `diff-test-hunk'.
2907 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
2909 2000-09-11 Gerd Moellmann <gerd@gnu.org>
2911 * bytecomp.el (byte-compile-defvar): Undo last change
2912 because it breaks '(make-variable-buffer-local (defvar ...)'
2913 which is used at least in dired.
2915 2000-09-12 Kenichi Handa <handa@etl.go.jp>
2917 * international/quail.el (quail-define-package): Docstring
2920 2000-09-12 Kenichi Handa <handa@etl.go.jp>
2922 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
2923 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
2924 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
2925 docstring of "chinese-py".
2927 * international/quail.el (quail-translation-docstring): New
2929 (quail-show-keyboard-layout): Docstring modified.
2930 (quail-select-current): Likewise.
2931 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
2932 infinite recursive call.
2933 (quail-help): Check quail-translation-docstring. Format of the
2935 (quail-help-insert-keymap-description): Adjusted for the above
2938 2000-09-11 Gerd Moellmann <gerd@gnu.org>
2940 * bytecomp.el (byte-compile-defvar): Only cons onto
2941 current-load-list in top-level forms. Else this leaks a cons cell
2942 every time a defun is called.
2944 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
2946 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
2947 Now understands non-unified diffs. Some functionality moved into
2948 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
2949 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
2950 modify anything. Only reposition point in the patched file if the
2951 patch succeeds. Only pop up another window if POPUP is true.
2952 Emit a message describing what happened if successful, and at what
2953 line-offset. Automatically detect reversed hunks and do something
2955 (diff-hunk-text, diff-find-text): New functions.
2956 (diff-filter-lines): Function removed.
2957 (diff-test-hunk): New function.
2958 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
2960 2000-09-10 Dave Love <fx@gnu.org>
2962 * textmodes/tildify.el: Minor doc/commentary fixes.
2963 (tildify) <defgroup>: Add :version.
2965 * faces.el (face-x-resources): Make custom type more specific.
2966 (frame-background-mode): Use mapc.
2967 (region) <defcustom>: Add :version.
2969 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
2971 * vc-sccs.el (vc-sccs-register):
2972 * vc-rcs.el (vc-rcs-register):
2973 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
2974 * vc.el (vc-register): Clear file's properties.
2976 2000-09-08 Gerd Moellmann <gerd@gnu.org>
2978 * faces.el (face-spec-set): Only face-spec-reset-face when
2981 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
2983 * help.el (help-insert-xref-button): Fix a typo in doc string.
2985 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
2987 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2988 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
2991 * menu-bar.el (read-mail-item-name): New function.
2992 (menu-bar-tools-menu): Use it to compute and display the package
2994 (menu-bar-tools-menu): Fix typo in GUD's help string.
2996 2000-09-07 Dave Love <fx@gnu.org>
2998 * diff-mode.el (diff-mouse-goto-source): New function.
3000 * vc-sccs.el: Doc fixes.
3001 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
3003 * vc-rcs.el: Doc fixes.
3004 (vc-rcs-register-switches, vc-rcs-checkin-switches)
3005 (vc-rcs-checkout-switches, vc-rcs-header)
3006 (vc-rcs-master-templates): Add or change :version.
3008 * vc-cvs.el: Doc fixes.
3009 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
3010 (vc-cvs-stay-local): Add :version.
3012 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
3014 2000-09-07 Kenichi Handa <handa@etl.go.jp>
3016 * international/quail.el (quail-help): Fix previous change.
3018 2000-09-07 Gerd Moellmann <gerd@gnu.org>
3020 * faces.el (color-values): Doc fix.
3022 * faces.el (frame-set-background-mode): Use frame-parameter
3023 instead of frame-parameters.
3025 * frame.el (filtered-frame-list): Reduce consing.
3026 (frames-on-display-list): Call frame-parameter instead of
3029 2000-09-07 Kenichi Handa <handa@etl.go.jp>
3031 * language/devan-util.el (devanagari-to-indian-region): In the
3032 loop, change the following char, not preceding char.
3034 2000-09-07 Gerd Moellmann <gerd@gnu.org>
3036 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
3037 instead of frame-parameters.
3039 * faces.el (set-face-attribute): Simplify by calling
3040 internal-set-lisp-face-attribute with FRAME being 0.
3042 * vc.el: Remove `Id' version control keyword.
3044 2000-09-07 Kenichi Handa <handa@etl.go.jp>
3046 * help.el (help-make-xrefs): Adjusted for the change of
3047 help-xref-mule-regexp.
3048 (help-insert-xref-button): New function.
3050 * international/mule-cmds.el (help-xref-mule-regexp-template):
3051 Include the pattern for character set.
3054 * international/quail.el: Don't require face.
3056 (quail-other-command): Dummy command to make quail-help work better.
3057 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
3058 (quail-keyboard-layout-substitution): New variable.
3059 (quail-update-keyboard-layout): New function.
3060 (quail-keyboard-layout-type): New customizable variable.
3061 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
3062 (quail-keyboard-translate): Pay attention to
3063 quail-keyboard-layout-substitution.
3064 (quail-insert-kbd-layout): New function.
3065 (quail-show-keyboard-layout): New function.
3066 (quail-get-translation): If the definition is a vector of length
3067 1, and the element is a string of length 1, return the character
3069 (quail-update-current-translations): Fix the case of
3070 relative-index out of range.
3071 (quail-build-decode-map, quail-insert-decode-map): New Functions.
3072 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
3073 Show key sequences for all available characters.
3074 (quail-help-insert-keymap-description): Don't show such verbose
3075 key bindings as quail-self-insert-command.
3077 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3078 Format changed, and each element now have extra documentations.
3079 (tit-process-header): Delete invalid characters from TIT-PROMPT.
3080 Adjusted for the change of quail-cxterm-package-ext-info.
3082 2000-09-06 Gerd Moellmann <gerd@gnu.org>
3084 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
3085 requiring it leads to a recursive loading of vc.el and vc-hooks.el
3088 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3090 * vc.el: (toplevel): Don't require `dired' at run-time.
3091 (vc-dired-resynch-file): Remove autoload cookie.
3093 2000-09-05 Andre Spiegel <spiegel@gnu.org>
3095 * vc.el: Made several backend functions optional.
3096 (vc-default-responsible-p): New function.
3097 (vc-merge): Use RET for first version to trigger merge-news, not
3099 (vc-annotate): Handle backends that do not support annotation.
3100 (vc-default-merge-news): Removed. The existence of a merge-news
3101 implementation is now checked on caller sites.
3103 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
3106 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
3107 special case that has been removed from the default in vc-hooks.el.
3109 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3111 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
3113 2000-09-05 Andre Spiegel <spiegel@gnu.org>
3115 * vc-hooks.el: Require vc during compilation.
3116 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
3117 macro `with-vc-properties' in vc.el.
3118 (vc-file-getprop): Doc fix.
3119 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
3121 * vc.el: Require dired-aux during compilation.
3122 (vc-name-assoc-file): Moved to vc-sccs.el.
3123 (with-vc-properties): New macro.
3124 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
3125 vc-finish-steal): Use it.
3126 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
3127 to the backend-specific function is now supposed to do the checkout,
3129 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
3131 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
3132 set file properties; that gets done in the generic code now.
3134 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
3135 Changed parameter list, added code from vc.el that does the
3136 checkout, possibly with a double-take.
3138 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
3139 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
3140 the above under the new name.
3141 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
3142 parameter list, added checkout command.
3143 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
3144 properties; that gets done in the generic code now.
3146 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3148 * vc.el: Docstring fixes (courtesy of checkdoc).
3150 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3152 * vc.el (vc-checkout-writable-buffer-hook)
3153 (vc-checkout-writable-buffer): Remove.
3154 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
3155 (vc-log-mode): Make it into a clean derived major mode.
3156 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
3157 vc-log-mode if log-edit is not available.
3158 (vc-dired-mode-map): Don't set-keymap-parent yet.
3159 (vc-dired-mode): Do set-keymap-parent here.
3160 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
3162 2000-09-05 Gerd Moellmann <gerd@gnu.org>
3164 * faces.el (set-face-attribute, face-spec-reset-face)
3165 (face-spec-set): Avoid consing by removing calls to `apply'.
3167 * frame.el (frame-parameter): Move to C code.
3169 2000-09-05 Dave Love <fx@gnu.org>
3171 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
3172 insert-before-markers-and-inherit. Now checked systematically!
3174 2000-09-05 Alex Schroeder <alex@gnu.org>
3176 * sql.el (sql-postgres): Use sql-postgres-options.
3177 (sql-postgres-options): New variable.
3179 2000-09-05 Alex Schroeder <alex@gnu.org>
3181 * sql.el (sql-mode-menu): Work around missing variable mark-active
3183 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
3184 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
3187 2000-09-04 Gerd Moellmann <gerd@gnu.org>
3189 * vc.el (vc-dired-resynch-file): Add autoload cookie.
3191 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
3193 * Makefile.in (DONTCOMPILE): Fix typo in file name.
3195 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3197 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
3198 don't support anything else under SCCS yet.
3200 * vc-hooks.el: Minor doc fixes.
3202 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3204 * vc.el (vc-next-action-on-file): Do not visit the file if it's
3205 not necessary. If verbose in state `needs-patch', do the same as
3206 under `up-to-date'. When NOT verbose and `needs-patch', check out
3207 latest version instead of `merge-news'.
3208 (vc-next-action-dired): Don't mess with default-directory here; it
3209 breaks other parts of dired. It is the job of the
3210 backend-specific functions to adjust it temporarily if they need it.
3211 (vc-next-action): Remove a special CVS case.
3212 (vc-clear-headers): New optional arg FILE.
3213 (vc-checkin, vc-checkout): Set properties vc-state and
3214 vc-checkout-time properly.
3215 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
3216 (vc-print-log): Use new backend function `show-log-entry'.
3217 (vc-cancel-version): Do the checks in a different order. Added a
3218 FIXME concerning RCS-only code.
3220 * vc-rcs.el (vc-rcs-show-log-entry): New function.
3221 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
3223 * vc-cvs.el (vc-cvs-show-log-entry): New function.
3225 * vc-hooks.el (vc-default-mode-line-string): Show state
3226 `needs-patch' as a `-' too.
3228 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3230 * vc.el (vc-responsible-backend): New optional arg REGISTER.
3231 (vc-default-could-register): New function.
3232 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
3233 (vc-resynch-buffer): Call vc-dired-resynch-file.
3234 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
3235 vc-resynch-buffer instead of vc-resynch-window.
3236 (vc-next-action-dired): Don't redisplay here, that gets done as a
3237 result of the individual file operations.
3238 (vc-retrieve-snapshot): Corrected prompt order.
3240 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
3242 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
3244 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
3245 hostname regexps. Updated all callers.
3246 (vc-cvs-responsible-p): Handle directories as well.
3247 (vc-cvs-could-register): New function.
3248 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
3249 properties up-to-date.
3251 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
3252 user whether to create one.
3254 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3256 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
3257 check out a non-existing file.
3259 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
3260 workfile does not exist.
3262 * vc.el (vc-version-diff): Use `require' to check for existence of
3265 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3267 * vc-cvs.el (vc-cvs-registered): Use new function
3268 vc-cvs-parse-entry to do the actual work.
3270 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3272 * vc-hooks.el (vc-find-backend-function): If function doesn't
3273 exist, return nil instead of error.
3274 (vc-call-backend): Doc fix.
3276 * vc.el (vc-do-command): Doc fix.
3277 (vc-finish-logentry): When checking in from vc-dired, choose the
3278 right backend for logentry check.
3279 (vc-dired-mode-map): Inherit from dired-mode-map.
3280 (vc-dired-mode): Local value of dired-move-to-filename-regexp
3282 (vc-dired-state-info): Removed, updated caller.
3283 (vc-default-dired-state-info): Use parentheses instead of hyphens.
3284 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
3285 (vc-dired-listing-switches): New variable.
3286 (vc-directory): Use it, instead of dired-listing-switches.
3288 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
3289 (vc-cvs-dir-state): New function.
3290 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
3291 (vc-cvs-parse-entry): New function, also to be used in
3294 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3296 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
3297 *or* single-window-frames.
3299 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3301 * vc.el (vc-update-changelog): Split into generic part and default
3302 implementation. Doc string adapted.
3303 (vc-default-update-changelog): New function. Call the `rcs2log'
3304 script in exec-directory, to fix a long-standing nuisance.
3306 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
3307 simply signals an error.
3309 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3311 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
3312 control-flow more clear and to avoid running `cvs' twice.
3314 * vc.el (vc-next-action-on-file): Doc fix.
3315 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
3316 (vc-print-log): Eval `file' before constructing the continuation.
3318 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3320 * vc.el (vc-next-action-on-file): Corrected several messages.
3321 (vc-merge): Add prefix arg `merge-news'; handle it.
3323 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
3324 is not reached. It is.
3325 (vc-cvs-merge): Set state to 'edited after merge.
3326 (vc-cvs-merge-news): Set workfile version to nil if not known.
3327 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
3329 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
3330 via stdout. (Merge from main line.)
3332 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3334 * vc.el (vc-finish-logentry): Thinko in the "same comment"
3337 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3339 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
3340 against kill-all-local-variables.
3341 (vc-log-edit): Don't save vc-parent-buffer any more.
3342 (vc-last-comment-match): Initialize to an empty string.
3343 (vc-post-command-functions): New hook.
3344 (vc-do-command): Run it.
3345 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
3346 (vc-finish-logentry): Only add the comment to the ring if it's
3347 different from the last comment entered.
3348 (vc-new-comment-index): New function.
3349 (vc-previous-comment): Use it. Make the minibuffer message
3350 slightly less terse.
3351 (vc-comment-search-reverse): Make it work forward as well. Don't
3352 set vc-comment-ring-index if no match is found. Use
3353 vc-new-comment-index.
3354 (vc-comment-search-forward): Use vc-comment-search-reverse.
3355 (vc-dired-mode-map): Don't inherit from dired-mode-map since
3356 define-derived-mode will do it for us. Bind `v' to a keymap that
3357 inherits from vc-prefix-map so that we can bind `vt' without
3359 (vc-retrieve-snapshot): Parenthesis typo.
3361 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
3362 to 1. Make sure to switch to *vc* before looking for an error
3363 message. Use vc-parse-buffer.
3365 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3367 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
3369 (vc-retrieve-snapshot): Split into two parts.
3370 (vc-default-retrieve-snapshot): New function.
3372 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
3373 (vc-cvs-retrieve-snapshot): New function (untested).
3374 (vc-cvs-stay-local): Default to t.
3375 (vc-cvs-remote-p): New function and property.
3376 (vc-cvs-state): Stay local only if the above is t.
3377 (vc-handle-cvs): Removed.
3378 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
3379 done via vc-handled-backends now.
3380 (vc-cvs-header): Escape Id.
3382 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3384 * vc.el (vc-do-command): Remove unused commands.
3385 (vc-version-diff): Make sure default-directory ends with a slash.
3386 Move the window commands into a vc-exec-after.
3387 (vc-print-log): Move more of the code into the `vc-exec-after'.
3389 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3391 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
3392 (vc-print-log): Search current revision from beginning of buffer.
3393 (vc-revert-buffer): Clear echo area after the diff is finished.
3394 (vc-prefix-map): Removed definition of "t" for terse display in vc
3396 (vc-dired-mode-map): Inherit from dired-mode-map. Added
3397 definition of "vt" for terse display.
3398 (vc-dired-mode): Fix dired-move-to-filename-regexp.
3400 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3402 * vc.el (vc-exec-after): Avoid caddr.
3404 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3406 * vc.el (vc-exec-after): New function.
3407 (vc-do-command): Use it to add a termination message for async
3409 (vc-checkout): Try to handle a missing-backend situation.
3410 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
3411 of a directory with a backend using async diffs.
3412 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
3415 * vc-sccs.el (vc-sccs-state-heuristic): Use
3416 file-ownership-preserved-p.
3418 * vc-rcs.el (vc-rcs-state-heuristic): Use
3419 file-ownership-preserved-p.
3420 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
3422 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3424 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
3427 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
3428 when there are no changes.
3430 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3432 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
3434 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
3436 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3438 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
3440 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
3441 the `fset' outside of the defvar so that it works even if
3442 vc-prefix-map was already defined.
3443 (vc-setup-buffer): New function, split out of vc-do-command.
3444 (vc-do-command): Allow BUFFER to be t to mean `just use the
3445 current buffer without any fuss'.
3446 (vc-version-diff): Change the `diff' backend operation to just put
3447 the diff in the current buffer without erasing it. Always use
3448 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
3449 shrink-window-if-larger-than-buffer.
3450 (vc-print-log): Change the `print-log' backend operation to just
3451 put the log in the current buffer without erasing it. Protect
3452 shrink-window-if-larger-than-buffer.
3453 (vc-update-change-log): Fix setd typo.
3455 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
3456 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
3458 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
3459 (vc-rcs-diff): Insert in the current buffer and remove unused arg
3462 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
3463 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
3464 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
3466 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3468 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
3469 not possible, use vc-BACKEND-workfile-unchanged-p.
3470 (vc-default-workfile-unchanged-p): New function. Delegates to a
3471 full vc-BACKEND-diff.
3473 * vc-hooks.el (vc-simple-command): Removed.
3475 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
3476 instead of vc-simple-command.
3477 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
3478 avoid doing a diff when opening a file.
3479 (vc-rcs-state): Added check for unlocked-changes.
3480 (vc-rcs-header): Escape Id.
3481 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
3482 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
3485 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
3486 (vc-sccs-diff): Remove optional arg CMP.
3487 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
3488 SCCS-specific function.
3490 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
3493 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3495 * vc.el (vc-editable-p): Renamed from vc-writable-p.
3496 (with-vc-file, vc-merge): Use vc-editable-p.
3497 (vc-do-command): Remove unused var vc-file and fix the
3498 doubly-defined `status' var. Add a user message when starting an
3500 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
3501 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
3502 Use with-current-buffer.
3503 (vc-buffer-sync): Use unless.
3504 (vc-next-action-on-file): If the file is 'edited by read-only,
3505 make it read-write instead of trying to commit.
3506 (vc-version-diff, vc-update-change-log): Use `setq
3507 default-directory' rather than `cd'.
3508 (vc-log-edit): Don't forget to set default-directory in the
3511 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
3512 (vc-sccs-state-heuristic): Use file-writable-p instead of
3514 (vc-sccs-checkout): Use `unless'.
3516 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
3517 of comparing userids.
3518 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
3519 Simplify the logic by eliminating unreachable code.
3520 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
3521 just do a recursive call if we need to retry.
3522 (vc-rcs-checkout): Handle the case where rcs is missing by making
3523 the buffer read-write if requested and re-signalling the error.
3525 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
3527 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3529 * vc-hooks.el (vc-handled-backends): Docstring change.
3530 (vc-ignore-vc-files): Mark obsolete.
3531 (vc-registered): Check vc-ignore-vc-files.
3532 (vc-find-file-hook, vc-file-not-found-hook): Don't check
3535 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
3537 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3539 * vc.el (vc-checkout): Don't do anything special for ange-ftp
3540 files since ange-ftp already has vc-registered return nil.
3542 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
3543 (vc-sccs-workfile-version): Use with-temp-buffer and new
3544 vc-parse-buffer and don't bother setting the property.
3545 (vc-sccs-add-triple): Use with-current-buffer and
3547 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
3549 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
3550 derives from the old vc-parse-buffer but uses the revision number
3551 rather than the date (much easier to compare robustly).
3552 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
3553 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
3554 locking-user more directly. Check strict locking and set
3555 checkout-model appropriately.
3556 (vc-rcs-parse-locks): Remove.
3557 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
3558 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
3559 (vc-rcs-system-release): Use with-current-buffer and
3561 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
3563 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
3564 (vc-simple-command): Docstring fix.
3565 (vc-registered): Align the way the file-handler is called with the
3566 way the function itself works.
3567 (vc-file-owner): Remove.
3569 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
3570 extraction of fields and call to file-attributes because of a
3571 temporary bug in rcp.el.
3572 (vc-cvs-fetch-status): Use with-current-buffer.
3574 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3576 * vc.el (vc-do-command): Use file-relative-name.
3577 (vc-responsible-backend): Use vc-backend if possible.
3578 (vc-create-snapshot): Improve the `interactive' spec. Add support
3579 for branches and dispatch to backend-specific `create-snapshot'.
3580 (vc-default-create-snapshot): New function, containing the bulk of
3581 the old vc-create-snapshot.
3582 (vc-retrieve-snapshot): Improve the interactive spec.
3584 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
3585 (vc-backend-hook-functions): Remove.
3586 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
3587 (vc-backend): Reintroduce the test for `file = nil' now that I
3588 know why it was there (and added a comment to better remember).
3590 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
3591 code from vc-sccs-hooks.el.
3592 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
3594 (vc-sccs-responsible-p): Use expand-file-name instead of concat
3595 and file-directory-p instead of file-exists-p.
3596 (vc-sccs-check-headers): Simplify the regexp.
3598 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
3599 from vc-rcs-hooks.el. Don't require 'vc anymore.
3600 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
3601 file-directory-p instead of file-exists-p.
3603 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
3604 from vc-cvs-hooks.el.
3605 (proto vc-cvs-registered): Require 'vc-cvs instead of
3606 'vc-cvs-hooks. Don't require 'vc anymore.
3607 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
3608 file-directory-p instead of file-exists-p.
3609 (vc-cvs-create-snapshot): New function, replacing
3611 (vc-cvs-assign-name): Remove.
3613 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3615 * vc-cvs.el (vc-cvs-header): New var.
3617 * vc-rcs.el (vc-rcs-exists): Remove.
3618 (vc-rcs-header): New var.
3620 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
3621 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
3622 (vc-sccs-header): New var.
3624 * vc.el (vc-do-command): Get rid of the `last' argument.
3625 (vc-header-alist): Remove, replaced by vc-X-header.
3626 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
3627 (vc-dired-hook): Use expand-file-name instead of concat.
3628 (vc-directory): Use file-name-as-directory.
3629 (vc-snapshot-precondition, vc-create-snapshot)
3630 (vc-retrieve-snapshot): Allow the command to operate on any
3633 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
3634 just removing the 'WORKFILE argument or by removing the 'MASTER
3635 argument and replacing `file' with (vc-name file).
3637 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3639 * vc.el: Update Copyright and add a crude list of backend funs.
3640 (vc-writable-p): New function.
3641 (with-vc-file): Use vc-writable-p.
3642 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
3643 (vc-register): Avoid vc-name.
3644 (vc-locking-user): Remove.
3645 (vc-steal-lock): Make the `owner' arg non-optional.
3646 (vc-merge): Use vc-writable-p instead of vc-locking-user and
3648 (vc-default-dired-state-info): Use vc-state instead of
3649 vc-locking-user and return special strings for special states.
3650 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
3651 and get rid of one of the special CVS cases.
3652 (vc-cancel-version): prettify error message with \\[...].
3653 (vc-rename-master): New function.
3654 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
3655 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
3656 the CVS special case generic.
3657 (vc-default-record-rename): Remove.
3658 (vc-file-tree-walk-internal): Only call FUNC for files that are
3659 under control of some VC backend and replace `concat' with
3661 (vc-file-tree-walk): Update docstring.
3662 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
3663 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
3665 * vc-sccs.el (vc-sccs-rename-file): Renamed from
3666 vc-sccs-record-rename. Use `find-file-noselect' rather than
3667 `find-file' and call `vc-rename-master' to do the actual move.
3668 (vc-sccs-diff): Remove unused `backend' variable.
3670 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
3671 to delay loading of vc-sccs until it is really used.
3672 (vc-sccs-master-templates): Preload.
3673 (vc-sccs-state): Update call to vc-sccs-parse-locks.
3674 (vc-sccs-project-dir): Remove (merged into
3675 vc-sccs-search-project-dir).
3676 (vc-sccs-search-project-dir): Rewrite using file name handling ops
3677 rather than `concat', make sure it is preloaded and don't bother
3678 to check that the file actually exists.
3679 (vc-sccs-parse-locks): Remove unused `file' argument, remove
3680 `locks' argument (use buffer's content instead) and eliminate n^2
3683 * vc-rcs.el: Update Copyright.
3684 (vc-rcs-rename-file): New function.
3685 (vc-rcs-diff): Remove unused `backend' variable.
3687 * vc-hooks.el: Update Copyright.
3688 (vc-backend): Don't accept a nil argument any more.
3689 (vc-up-to-date-p): Turn into a defsubst.
3690 (vc-possible-master): New function.
3691 (vc-check-master-templates): Use `vc-possible-master' and allow
3692 funs in vc-X-master-templates to return a non-existent file.
3694 * vc-cvs.el: Update Copyright.
3695 (vc-cvs-diff): Remove unused `backend' variable.
3696 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
3698 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
3700 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3702 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
3703 since it can be called from vc-rcs.el.
3704 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
3706 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3708 * vc.el (vc-version-diff): Expand file name read from the
3709 minibuffer. Handle the case when a previous version number can't
3710 be guessed. Give suitable messages when there were no differences
3712 (vc-clear-headers): Call backend-specific implementation, if one
3714 (vc-cancel-version): Made error checks generic. When done, clear
3715 headers generically, too.
3717 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
3718 from vc-clear-headers in vc.el.
3720 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
3722 (vc-rcs-latest-on-branch-p): Made second argument VERSION
3723 optional. Handle the case when it's not there.
3725 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3727 * vc.el (vc-locking-user): Moved from vc-hooks.el.
3729 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3731 * vc-hooks.el (vc-loadup): Remove.
3732 (vc-find-backend-function): Use `require'. Also, handle the case
3733 where vc-BACKEND-hooks.el doesn't exist.
3734 (vc-call-backend): Cleanup.
3736 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3738 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
3739 vc-rcs-grab-templates)
3740 (vc-rcs-registered): Remove. The default function works as well.
3741 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
3742 vc-sccs-grab-templates)
3743 (vc-sccs-registered): Remove. The default function works as well.
3745 * vc.el (vc-version-diff): Left out a vc- in call to
3747 (vc-default-dired-state-info, vc-default-record-rename)
3748 (vc-default-merge-news): Update for the new backend argument.
3750 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
3751 using the default function.
3752 (vc-call-backend): If calling the default function, pass it the
3753 backend as first argument. Update the docstring accordingly.
3754 (vc-default-state-heuristic, vc-default-mode-line-string): Update
3755 for the new backend argument.
3756 (vc-make-backend-sym): Renamed from vc-make-backend-function.
3757 (vc-find-backend-function): Use the new name.
3758 (vc-default-registered): New function.
3760 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3762 * vc.el (vc-merge): Use vc-find-backend-function.
3764 * vc-hooks.el (vc-backend-functions): Remove.
3765 (vc-loadup): Don't setup 'vc-functions.
3766 (vc-find-backend-function): New function.
3767 (vc-call-backend): Use above fun and populate 'vc-functions
3769 (vc-backend-defines): Remove.
3771 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3773 * vc.el (vc-register): Put a FIXME note for a newly found bug.
3774 Call vc-call-backend without the leading vc-.
3775 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
3776 (vc-check-headers): Call vc-call-backend without the leading vc-.
3777 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
3778 (vc-annotate-display): Replace confusing use of `cond' with `or'.
3779 Call vc-call-backend without the leading vc-.
3781 * vc-cvs.el (tail): Provide vc-cvs.
3782 * vc-sccs.el (tail): Provide vc-sccs.
3783 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
3785 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
3786 (vc-make-backend-function, vc-call): Pass names without leading
3787 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
3788 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
3789 (vc-call-backend): Always try to load vc-X-hooks.
3790 (vc-registered): Remove vc- in call to vc-call-backend.
3792 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3794 * vc.el (vc-process-filter): New function.
3795 (vc-do-command): Setup `vc-process-filter' for the async process.
3796 (vc-maybe-resolve-conflicts): New function to reduce
3797 code-duplication. Additionally, it puts the buffer in
3798 `smerge-mode' if applicable.
3799 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
3800 calling `merge-news'.
3801 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
3802 (vc-log-edit): New function. Replacement for `vc-log-mode' by
3803 interfacing to log-edit.el.
3804 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
3805 log-edit is available.
3806 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
3808 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3810 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
3811 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
3812 defvar and the initialization.
3813 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
3815 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
3816 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
3818 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
3820 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3822 * vc.el (vc-file-clear-masterprops): Removed.
3823 (vc-checkin, vc-revert-buffer): Removed calls to the above.
3824 (vc-version-diff): Use buffer-size without argument.
3825 (vc-register): Heed vc-initial-comment.
3827 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
3830 * vc-rcs.el (vc-rcs-register): Parse command output to find master
3831 file name and workfile version.
3832 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
3834 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
3835 vc-file-clear-masterprops.
3837 * vc-sccs.el (vc-sccs-checkout): Removed call to
3838 vc-file-clear-masterprops. If writable, set vc-state to 'edited
3839 rather than user login name.
3842 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3844 * vc.el (vc-workfile-unchanged-p): Remove unused argument
3845 `want-differences-if-changed' and simplify.
3846 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
3847 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
3848 output (which is invalid for async vc-diff) to decide whether to
3849 do the revert silently or not.
3851 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3853 * vc-hooks.el (vc-loadup): Load files quietly.
3854 (vc-call-backend): Oops, brain fart.
3856 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3858 * vc-cvs.el (vc-cvs-state): Typo.
3859 (vc-cvs-merge-news): Return the status code rather than the error msg.
3861 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3863 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
3864 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
3865 vc-state or vc-up-to-date-p.
3866 (vc-merge): Use vc-backend-defines to check whether merging is
3867 possible. Set state to 'edited after successful merge.
3869 * vc-hooks.el (vc-locking-user): If locked by the calling user,
3870 return that name. Redocumented.
3872 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3874 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
3875 new `vc-state' semantics.
3876 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
3877 'vc-locking-user to the current user.
3878 (vc-merge): Inline vc-backend-merge. Comment out code that I
3879 don't understand and hence can't adapt to the new `vc-state' and
3880 `vc-locking-user' semantics.
3881 (vc-backend-merge): Remove.
3883 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
3884 rather than 'vc-locking-user.
3886 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
3888 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
3889 (vc-state): Don't use 'reserved any more. Just use the same
3890 convention as the one used for vc-<backend>-state where the
3891 locking user (as a string) is returned.
3892 (vc-locking-user): Update, based on the above convention. The
3893 'vc-locking-user property has disappeared.
3894 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
3896 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
3897 with a heuristic one.
3898 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
3899 (vc-cvs-checkin): Do a trivial parse to set the state in case of
3900 error. That allows us to get to 'needs-merge even in the
3901 stay-local case. There's still no way to detect 'needs-patch in
3902 such a setup (or to force an update for that matter).
3903 (vc-cvs-logentry-check): Remove, the default works as well.
3905 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3907 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
3909 * vc.el (vc-do-command): kill-all-local-variables, to reset any
3910 major-mode in which the buffer might have been put earlier. Use
3911 `remove' and `when'. Allow `okstatus' to be `async' and use
3912 `start-process' in this case.
3913 (vc-version-diff): Handle the case where the diff looks empty
3914 because of the use of an async process.
3916 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3918 * vc.el (vc-next-action-on-file): Removed optional parameter
3919 `simple'. Recompute state unconditionally.
3920 (vc-default-toggle-read-only): Removed.
3922 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
3923 (vc-toggle-read-only): Undid prev change.
3925 * vc-cvs.el (vc-cvs-stay-local): Renamed from
3926 vc-cvs-simple-toggle. Redocumented.
3927 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
3928 (vc-cvs-toggle-read-only): Removed.
3930 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3932 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
3933 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
3934 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
3935 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
3936 still is. So maybe it should be removed.
3937 (vc-head-version, vc-find-binary): Remove.
3938 (vc-recompute-state): Move from vc-hooks.el.
3939 (vc-next-action-on-file): Add a `simple' argument to allow
3940 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
3941 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
3942 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
3943 (vc-dired-mode-map): Properly defvar it.
3944 (vc-print-log): Call log-view-mode if available.
3945 (small-temporary-file-directory): defvar instead of use boundp.
3946 (vc-merge-news): Moved to vc-cvs.el.
3947 (vc-default-merge-news): New function.
3949 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
3950 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
3951 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
3952 unknown `vc-latest-version' function. It should probably refer to
3953 vc-workfile-version or somesuch, but it's very unclear to me and I
3954 don't have SCCS to test things.
3956 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
3957 (vc-sccs-state-heuristic): Fix typo.
3958 (vc-sccs-workfile-unchanged-p): Add missing argument.
3960 * vc-rcs.el: Require vc and vc-rcs-hooks.
3961 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
3962 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
3963 (vc-release-greater-or-equal-p): Move from vc.
3964 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
3965 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
3966 (vc-rcs-checkout): Add a missing `new-version' argument in the
3967 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
3969 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
3970 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
3971 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
3972 than the apparently unbound `workfile-version'.
3974 * vc-hooks.el (vc-master-templates): Def the obsolete var.
3975 (vc-file-prop-obarray): Use `make-vector'.
3976 (vc-backend-functions): Add new hookable functions
3977 vc-toggle-read-only, vc-record-rename and vc-merge-news.
3978 (vc-loadup): If neither backend nor default functions exist, use
3979 the backend function rather than nil.
3980 (vc-call-backend): If the function if not bound yet, try to load
3981 the non-hook file to see if it provides it.
3982 (vc-call): New macro plus use it wherever possible.
3983 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
3984 nor `vc-find-binary' since it's only called from
3985 vc-mistrust-permission which is only used once the backend is known.
3986 (vc-checkout-model): Fix parenthesis.
3987 (vc-recompute-state, vc-prefix-map): Move to vc.el.
3989 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
3990 (vc-cvs-release, vc-cvs-system-release): Remove.
3991 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
3992 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
3994 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
3995 (vc-cvs-toggle-read-only): First cut at a function to allow a
3996 cvs-status-free vc-toggle-read-only.
3997 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
3998 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
3999 vc-cvs-status. Also set vc-state rather than vc-locking-user.
4000 (vc-cvs-checkout): Modify access rights directly if the user
4001 requested not to use `cvs edit'. And refresh the mode line.
4003 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
4004 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
4006 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4008 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
4009 workfile' that got lost when the code was extracted from vc.el.
4010 And merged the tail with the rest of the code (not possible in the
4011 old vc.el where the tail was shared among all backends). And
4012 explicitly set the state to 'edited if `writable' is set.
4014 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
4015 (vc-cvs-state): Be careful to return the value from
4017 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
4018 property but return it instead. Also be careful to handle a nil
4019 or "" `rev' when workfile is non-nil (it was handled properly when
4022 * vc.el: Removed those pesky unnecessary `(function' quotes.
4023 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
4024 directly in the defvar.
4025 (vc-do-command): Bind inhibit-read-only so as to properly handle
4026 the case where the destination buffer has been made read-only.
4027 (vc-diff): Delegate to vc-version-diff in all cases.
4028 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
4029 (vc-annotate-mode-variables): Removed (code moved partly to
4030 defvars and partly to vc-annotate-add-menu).
4031 (vc-annotate-mode): Turned into a derived-mode.
4032 (vc-annotate-add-menu): Moved in code in
4033 vc-annotate-mode-variables.
4034 (vc-update-change-log): Use make-temp-file if available.
4036 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
4038 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
4039 `vc-checkout-model' updated to `vc-cvs-update-model'.
4041 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4043 * vc.el (vc-next-action-on-file): Added handling of state
4045 (vc-checkout-carefully): Is now practically obsolete, unless the
4046 above is too slow to be enabled unconditionally.
4047 (vc-update-change-log): Fixed typo.
4049 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
4051 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
4052 Now handles state `unlocked-changes'.
4053 (vc-sccs-workfile-unchanged-p): New function, to support the above.
4055 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
4057 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
4058 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
4060 (vc-rcs-workfile-unchanged-p): Renamed from
4061 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
4062 function yet, but supposed to become one soon.
4064 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
4066 (vc-call-backend): Changed error message.
4067 (vc-state): Added description of state `unlocked-changes'.
4069 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4071 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
4072 always return t in CVS-controlled directories.
4074 * vc.el (vc-responsible-backend): New function.
4075 (vc-register): Largely rewritten.
4076 (vc-admin): Removed (implementation moved into vc-register).
4077 (vc-checkin): Redocumented.
4078 (vc-finish-logentry): If no backend defined yet (because we are in
4079 the process of registering), use the responsible backend.
4081 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
4082 Updated function lists.
4083 (vc-call-backend): Fixed typo.
4085 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
4087 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
4088 Removed query option. Redocumented.
4090 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4092 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
4094 * vc.el: Updated callers of `vc-checkout-required' to use
4095 `vc-checkout-model'.
4097 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4099 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
4100 stuff updated to reference this function instead of the old
4101 `vc-backend-release-p'.
4103 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4105 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
4106 vc-checkout-model. Return appropriate values. Updated callers.
4108 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4110 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
4111 (vc-backend-revert): Function moved into `vc-revert';
4112 `vc-next-action' must be updated to accomodate this change.
4113 (vc-backend-steal): Function moved into `vc-finish-steal'.
4114 (vc-backend-logentry-check): Function moved into
4115 `vc-finish-logentry'.
4116 (vc-backend-printlog): Function moved into `vc-print-log'.
4117 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
4118 (vc-backend-assign-name): Function moved into
4119 `vc-create-snapshot'.
4121 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4123 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
4124 Rename to vc-checkout-model. Return appropriate values.
4127 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
4128 to vc-checkout-model.
4129 (vc-checkout-required): Rename to vc-checkout-model.
4130 Re-implement and re-comment.
4131 (vc-after-save): Use vc-checkout-model.
4133 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4135 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
4136 Update to use the vc-BACKEND-diff functions instead.
4137 `vc-diff' is now working.
4139 * vc-rcs.el (vc-rcs-logentry-check): New function.
4141 * vc-cvs.el (vc-cvs-logentry-check): New function.
4143 * vc-sccs.el (vc-sccs-diff): Function changed name from
4144 `vc-backend-diff'. This makes `vc-diff' work.
4146 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
4147 of functions possibly implemented in a vc-BACKEND library.
4148 (vc-checkout-required): Fix bug that caused an error to be
4149 signaled during `vc-after-save'.
4152 This checkin is made with our new VC code base for the very first time.
4153 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
4155 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
4156 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
4158 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
4159 updated to `vc-uses-locking'.
4160 (vc-checkout-required): Call to backend function.
4161 `vc-checkout-required' updated to `vc-uses-locking' instead.
4163 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
4164 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
4166 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
4167 to match the split into various backends.
4168 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
4169 (vc-retrieve-snapshot): Bug fix.
4171 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4173 * vc-sccs.el (vc-sccs-release): Doc fix.
4175 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4177 * vc.el (vc-next-action-on-file): Bug found and fixed.
4178 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
4179 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
4181 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
4182 (vc-rcs-checkout): Name space cleaned up. No more revision number
4183 crunching function names that are not prefixed with vc-rcs.
4184 (vc-rcs-checkout-model): Function added. References to
4185 `vc-checkout-model' replaced.
4187 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4189 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
4190 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
4191 still need to be split, and implemented for RCS).
4193 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4195 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
4197 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
4198 required by the vc.el file.
4200 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
4201 required by the vc.el file.
4202 (vc-rcs-exists): Function added.
4204 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
4205 required by the vc.el file.
4207 * vc.el (vc-admin): Updated to handle selection of appropriate
4208 backend. Current implementation is crufty and need re-thinking.
4210 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
4212 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4214 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
4215 beginning of annotate buffers correctly.
4217 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
4218 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
4219 functionality updated quite a lot to support multiple backends.
4220 Variables `vc-annotate-mode', `vc-annotate-buffers',
4221 `vc-annotate-backend' added.
4223 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
4224 `vc-annotate-difference' added to supported backend functions.
4226 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4228 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
4229 Use with-temp-file instead of /bin/sh. Merged from mainline
4231 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4233 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
4235 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
4237 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
4239 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4241 * vc-hooks.el: vc-state-heuristic added to
4242 vc-backend-hook-functions.
4244 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
4246 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
4248 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
4249 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
4250 state to `reserved'.
4252 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
4253 `vc-checkout-required'. Rename the `locked' state to `reserved'.
4255 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4257 * vc-rcs-hooks.el: Implement new state model. Hardly anything
4260 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
4262 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
4263 if defined. (Merged from main line, slightly adapted.)
4265 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
4266 millenium problem (merged from mainline).
4268 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4270 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
4271 part and moved the non-BACKEND stuff to vc.el.
4273 * vc.el: Split the annotate feature into a BACKEND specific part
4274 and moved it from the vc-cvs.el file to this one.
4276 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4278 * vc-hooks.el: Implement new state model.
4279 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
4280 (vc-locking-user): Simplify. Now only needed if the file is
4281 locked by somebody else.
4282 (vc-lock-from-permissions): Remove. Functionality is in
4283 vc-sccs-hooks.el and vc-rcs-hooks.el now.
4284 (vc-mode-line-string): New name for former vc-status. Adapted.
4285 (vc-mode-line): Adapt to use the above. Remove optional parameter.
4287 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
4288 Various simplifications and adaptations all over the place.
4290 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
4291 Simplify and adapt the rest.
4293 * vc.el (vc-resynch-window): Add TODO comment: check for
4294 interaction with view mode according to recent RCS change.
4295 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
4297 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4299 * vc.el: Convert the remaining function comments to docstrings.
4301 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4303 * vc.el (vc-backend-release, vc-release-greater-or-equal)
4304 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
4305 (vc-minor-part, vc-previous-version): Functions that operate and
4306 compare revision numbers got proper documentation. Comments added
4307 about their possible removal.
4309 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4311 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
4312 the vc-backend.el files.
4314 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
4316 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
4317 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
4318 (vc-rcs-previous-version): Functions added.
4320 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
4322 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
4324 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4326 * vc-hooks.el (vc-master-templates): Is really obsolete.
4327 Comment out the definition for now. What is the right procedure
4329 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
4331 (vc-default-registered): Remove.
4332 (vc-check-master-templates): New function; does mostly what the
4334 (vc-locking-user): Don't rely on the backend to set the property.
4336 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
4337 Rewrite documentation.
4338 (vc-rcs-templates-grabbed): New variable.
4339 (vc-rcs-grab-templates): New function.
4340 (vc-rcs-registered): Rewrite to use above mechanism.
4342 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
4343 Rewrite documentation.
4344 (vc-sccs-templates-grabbed): New variable.
4345 (vc-sccs-grab-templates): New function.
4346 (vc-sccs-registered): Rewrite to use above mechanism.
4347 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
4348 Don't throw the result, simply return it.
4350 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
4351 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
4352 (vc-cvs-registered): Does the check itself now. Simplify.
4354 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
4357 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4359 * vc-cvs.el (vc-cvs-diff): New function.
4361 * vc-sccs.el (vc-sccs-diff): New function.
4363 * vc-rcs.el (vc-rcs-diff): New function.
4364 (vc-rcs-checkout): Bug (typo) found and fixed.
4365 (vc-rcs-register-switches): New variable.
4367 * vc.el (vc-backend-diff): Function removed and placed in the
4370 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4372 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
4374 * vc.el (vc-backend-checkout): Function removed and replaced in
4375 the vc-backend.el files.
4377 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
4379 * vc.el (vc-backend-admin): Removed and replaced in the
4380 vc-backend.el files.
4382 * vc.el (Martin): Removed all the annotate functionality since it
4383 is CVS backend specific.
4385 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4387 * spec.txt: Added specification of vc-state.
4389 * vc-sccs-hooks.el (vc-sccs-master-properties):
4390 Remove handling of vc-latest-version and
4391 vc-your-latest-version. What used to be vc-latest-version, is now
4392 returned as vc-workfile-version.
4393 (vc-sccs-workfile-version): Adapt.
4395 2000-09-04 Dave Love <fx@gnu.org>
4397 * vc.el: [Merged from mainline.]
4398 (vc-dired-mode): Make the dired-move-to-filename-regexp
4399 regexp match the date, to avoid treating date as file size.
4400 Add YYYY S option to WESTERN/
4402 2000-09-04 Dave Love <fx@gnu.org>
4404 * vc.el: Require `compile' when compiling.
4405 (vc-logentry-check-hook): New option.
4406 (vc-steal-lock): Use compose-mail.
4407 (vc-dired-mode-map): Defvar when compiling.
4408 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
4409 vc-sccs.el and renamed. Callers changed.
4410 (vc-backend-checkout, vc-backend-logentry-check)
4411 (vc-backend-merge-news): Doc fix.
4412 (vc-default-logentry-check): New function.
4413 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
4414 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
4415 (vc-backend-merge): Doc fix. Use backend functions.
4416 (vc-check-headers): Use backend functions.
4418 * vc-cvs.el: Require vc when compiling.
4419 (vc-cvs-register-switches): Doc fix.
4420 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
4421 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
4422 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
4423 New functions (code from vc.el).
4424 (vc-annotate-display-default): Fix interactive spec.
4425 (vc-annotate-time-span): Doc fix.
4427 * vc-rcs.el: Require vc when compiling.
4428 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
4429 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
4430 (vc-rcs-checkin): New functions (code from vc.el).
4431 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
4433 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
4435 * vc-sccs.el: Require vc when compiling.
4436 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
4437 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
4439 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
4441 (vc-sccs-add-triple, vc-sccs-record-rename)
4442 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
4443 (vc-sccs-admin): Doc fix.
4445 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4447 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
4448 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
4449 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
4452 * vc-sccs.el (vc-admin-sccs): Added from vc.el
4454 * vc-cvs.el: Moved the annotate functionality from vc.el.
4455 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
4457 2000-09-04 Dave Love <fx@gnu.org>
4459 * vc.el (vc-backend-release): Call vc-system-release.
4461 * vc-sccs.el (vc-sccs-system-release):
4462 Renamed from vc-sccs-backend-release.
4464 * vc-rcs.el (vc-rcs-system-release):
4465 Renamed from vc-rcs-backend-release.
4467 * vc-cvs.el (vc-cvs-system-release):
4468 Renamed from vc-cvs-backend-release.
4470 2000-09-04 Dave Love <fx@gnu.org>
4472 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
4474 (vc-backend-release): Dispatch to backend functions.
4475 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
4476 probably needs attention.]
4478 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
4479 (vc-sccs-backend-release): New function.
4481 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
4482 (vc-cvs-backend-release): New function.
4484 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
4486 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
4487 (vc-default-dired-state-info): New function.
4488 (vc-dired-state-info): Dispatch to backends.
4489 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
4491 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
4492 from vc.el and renamed.
4494 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4496 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
4497 (vc-version-other-window, vc-backend-assign-name): Removed
4498 references to vc-latest-version; sometimes changed into
4499 vc-workfile-version.
4501 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
4502 vc-rcs-master-workfile-version.
4503 (vc-rcs-workfile-version): Use the above. Don't call
4504 vc-latest-version (that was unreachable code, anyway).
4505 (vc-rcs-fetch-master-properties): Doc fix.
4507 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
4508 (vc-backend-hook-functions): Removed them from this list, too.
4509 (vc-fetch-properties): Removed.
4510 (vc-workfile-version): Doc fix.
4512 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
4513 (vc-rcs-workfile-version, vc-rcs-locking-user)
4514 (vc-rcs-uses-locking): Use it.
4516 * vc-hooks.el (vc-consult-rcs-headers):
4517 Moved into vc-rcs-hooks.el, under the name
4518 vc-rcs-consult-headers.
4520 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
4522 (vc-cvs-find-master): Use this name only; correct different
4523 versions of the name.
4525 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
4527 (vc-sccs-locking-user): Use the latter.
4529 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
4532 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
4534 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
4535 functions are implementation details of those two backends.
4537 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4539 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
4540 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
4542 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
4543 (vc-sccs-parse-locks): SCCS-specific code moved here from
4546 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
4547 code moved here from vc-hooks.
4549 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
4550 into back-end specific parts and removed. Callers not updated
4551 yet; because I guess these callers will disappear into back-end
4552 specific files anyway.
4554 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4556 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
4557 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
4560 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
4561 Store yes/no in the property, and return t/nil. Updated all
4564 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
4565 vc-sccs-uses-locking. Don't set property.
4566 (vc-sccs-locking-user): Don't set property.
4568 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
4569 vc-cvs-uses-locking. Don't set property here; leave that to
4571 (vc-cvs-locking-user): Reflect above change. Streamlined.
4573 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
4574 vc-rcs-uses-locking.
4575 (vc-rcs-locking-user): Reflect above change.
4577 2000-09-04 Dave Love <fx@gnu.org>
4579 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
4581 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
4583 * vc-hooks.el (vc-checkout-model): Punt to backends.
4585 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
4587 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
4589 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
4592 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
4595 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
4596 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
4598 * vc-hooks.el (vc-default-locking-user): New function.
4599 (vc-locking-user, vc-workfile-version): Punt to backends.
4601 2000-09-04 Dave Love <fx@gnu.org>
4603 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
4604 (vc-master-workfile-version): Moved from vc-hooks.
4606 * vc-rcs-hooks.el: Fix duplicate code in last change.
4608 * vc-rcs-hooks.el: Require vc-hooks when compiling.
4609 (vc-rcs-master-templates): Improve :type.
4610 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
4611 vc-master-workfile-version): Moved from vc-hooks.
4613 * vc-sccs-hooks.el: Require vc-hooks when compiling.
4614 (vc-sccs-master-templates): Improve :type.
4615 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
4617 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
4619 * vc-cvs-hooks.el: Require vc-hooks when compiling.
4620 (vc-cvs-master-templates): Improve :type. Use
4621 vc-cvs-find-cvs-master.
4622 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
4624 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
4626 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
4627 Moved to vc-cvs-hooks.
4629 * vc-hooks.el: Add doc strings in various places. Simplify the
4631 (vc-handled-backends): New user variable.
4632 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
4635 2000-09-04 Dave Love <fx@gnu.org>
4637 * vc.el: Some doc fixes for autoloaded and interactive functions.
4638 Fix compilation warnings from ediff stuff.
4639 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
4641 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
4643 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
4645 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
4647 2000-09-04 Dave Love <fx@gnu.org>
4649 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
4651 (vc-make-backend-function, vc-loadup, vc-call-backend)
4652 (vc-backend-defines): New functions.
4654 * vc-hooks.el: Various doc fixes.
4655 (vc-default-back-end, vc-follow-symlinks): Custom fix.
4656 (vc-match-substring): Function removed. Callers changed to use
4658 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
4661 2000-09-04 Dave Love <fx@gnu.org>
4663 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
4665 (vc-sccs-project-dir, vc-search-sccs-project-dir)
4666 (vc-sccs-registered): Doc fix.
4668 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
4669 (vc-cvs-registered): Doc fix.
4671 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
4672 (vc-rcs-registered): Doc fix.
4674 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4676 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
4678 * vc-hooks.el: vc-registered has been renamed
4679 vc-default-registered. Some functions have been moved to the
4680 backend specific files. they all support the
4681 vc-BACKEND-registered functions.
4683 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4685 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
4687 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
4689 2000-09-04 Dave Love <fx@gnu.org>
4691 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
4692 menu-bar-update-hook.
4694 * help.el (help-manyarg-func-alist): Add
4695 find-operation-coding-system.
4697 * wid-edit.el (widget-sexp-validate): Fix garbled code.
4699 * custom.el (custom-set-variables): Print message about errors in
4702 2000-09-03 Andrew Innes <andrewi@gnu.org>
4704 * makefile.w32-in: Change to DOS line endings.
4706 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4708 * mouse.el (mouse-popup-menubar): Supply the prompt string for
4709 minor-mode keymaps, if they don't have one.
4711 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4713 * eshell/esh-module.el (eval-when-compile): Don't lose if
4714 esh-module.el's file name is truncated to DOS 8+3 limits.
4716 2000-09-01 John Wiegley <johnw@gnu.org>
4718 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
4719 predicate, which caused entries in the completion list to be
4722 2000-08-30 John Wiegley <johnw@gnu.org>
4724 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
4725 sending to subprocesses. Also, hook pre-command-hook if
4726 `eshell-send-direct-to-subprocesses' is non-nil.
4727 (eshell-send-direct-to-subprocesses): New config variable. If t,
4728 subprocess input is send immediately.
4729 (eshell-toggle-direct-send): New function.
4730 (eshell-self-insert-command): New function.
4731 (eshell-intercept-commands): New function.
4732 (eshell-send-input): If direct subprocess sending is enabled,
4733 don't echo any input to the Eshell buffer. Let the subprocess
4734 handle that. This requires "stty echo" in bash, for example.
4736 2000-08-28 John Wiegley <johnw@gnu.org>
4738 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
4739 completion function for Eshell's implementation of `unset'.
4741 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4743 * info.el (Info-directory-list): Doc fix.
4745 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
4747 * filecache.el (file-cache-add-directory-using-find): Don't quote
4748 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
4750 2000-08-31 Kenichi Handa <handa@etl.go.jp>
4752 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
4755 2000-08-30 Andrew Innes <andrewi@gnu.org>
4757 * timer.el (run-with-idle-timer): Undo last change, so that timer
4758 is not activated immediately if Emacs is already idle. Some
4759 existing code relies on this behaviour.
4761 2000-08-30 Miles Bader <miles@gnu.org>
4763 * frame.el (set-frame-font): Do completion of font-name for
4766 2000-08-30 Kenichi Handa <handa@etl.go.jp>
4768 * international/quail.el (quail-start-translation): Bind locally
4769 last-command-event, last-command, and this-command.
4770 (quail-start-conversion): Likewise.
4771 (quail-self-insert-command): Fix docstring.
4773 2000-08-29 Gerd Moellmann <gerd@gnu.org>
4775 * progmodes/executable.el
4776 (executable-make-buffer-file-executable-if-script-p): Check that
4777 buffer contains at least 2 characters.
4779 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
4781 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
4783 2000-08-29 Dave Love <fx@gnu.org>
4785 * diff-mode.el (diff-mode) <defgroup>: Add :version.
4786 (diff-mode-shared-map): Bind mouse-2.
4787 (diff-imenu-generic-expression): New variable.
4788 (diff-mode): Use it.
4790 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
4791 (mouse-popup-menubar): Add minor mode menus.
4792 (popup-menu): Check for lookup-key returning number.
4794 2000-08-29 Miles Bader <miles@gnu.org>
4796 * comint.el (comint-send-input): Create overlays using the proper
4797 front/read-advance arguments.
4799 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4801 * ps-print.el: Even/odd pages printing. Doc fix.
4802 (ps-print-version): New version number (6.0).
4803 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
4804 (ps-background, ps-begin-file, ps-begin-job): Code fix.
4805 (ps-print-duplex-feature): Variable eliminated.
4806 (ps-even-or-odd-pages): New variable.
4808 * progmodes/ebnf2ps.el: Doc fix.
4809 (ebnf-version): New version (3.3).
4810 (ebnf-user-arrow): Change variable customization to sexp.
4811 (ebnf-user-arrow): Function eliminated.
4812 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
4814 2000-08-29 Kenichi Handa <handa@etl.go.jp>
4816 * help.el (help-xref-mule-regexp): New variable.
4817 (help-make-xrefs): Handle help-xref-mule-regexp.
4819 * international/mule-cmds.el (help-xref-mule-regexp-template): New
4821 (describe-input-method): Temporarily activate the specfied input
4822 method to display the information.
4823 (describe-language-environment): Hyperlinks to mule related items.
4825 * international/mule-diag.el (charset-multibyte-form-string): New
4827 (list-character-sets-1): Use charset-multibyte-form-string.
4828 (describe-character-set): New function.
4829 (describe-coding-system): Hyperlinks to safe character sets.
4831 * international/quail.el (quail-help): New arg PACKAGE.
4832 Hyperlinks to mule related items.
4833 (quail-help-insert-keymap-description): Use
4834 substitute-command-keys instead of describe-bindings.
4835 (quail-translation-help): Hyperlinks to mule related items.
4837 2000-08-28 John Wiegley <johnw@gnu.org>
4839 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
4840 have a defsubst call itself. Made `eshell-flatten-list' back into
4843 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
4844 catch, in case re-centering point at bottom messes up the display.
4845 This happens frequently in Emacs 21, due I believe to variable
4848 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
4849 to call `find-tag-interactive'.
4851 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
4852 the list of remember directories.
4854 2000-08-28 John Wiegley <johnw@gnu.org>
4856 * align.el: Test align-region-separate to see if it's a symbol.
4858 2000-08-28 John Wiegley <johnw@gnu.org>
4860 * eshell/esh-util.el (eshell-flatten-list): Made this function
4861 into a defsubst form. It gets used very frequently, although
4862 calls don't occur all that often.
4864 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
4867 * eshell/esh-cmd.el (eshell-rewrite-while-command):
4868 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
4870 (eshell-copy-handles): Created a new macro for duplicating the
4871 current set of open handles. This is needed by the looping
4873 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
4874 is not incorrectly stomped on.
4876 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
4877 declaration for pcomplete-use-paring.
4878 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
4879 value of eshell-cmpl-use-paring.
4880 * pcomplete.el (pcomplete-use-paring): New config variable, to
4881 indicate whether paring should be used.
4882 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
4883 completion alternatives that have already been used.
4885 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
4886 bound to C-c C-y, which will repeat the previous N arguments
4887 (based on prefix argument).
4888 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
4890 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
4891 if there is no *Help* buffer. This is for XEmacs, which renames
4892 its help buffers uniquely. TODO: Find out what the current buffer
4895 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
4896 first entry that correlates to a passwd/group number. Later
4897 entries (used for group/user name aliasing to multiple IDs) are
4900 * eshell/em-xtra.el (eshell/expr):
4901 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
4902 (eshell-grep, eshell/diff, eshell/locate):
4903 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
4904 argument list, before passing it to the system command.
4906 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
4907 `find-tag' for use at final position in Eshell buffers (which
4908 otherwise triggers an error on Emacs 21).
4909 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
4910 buffer, if it is currently bound to `find-tag'.
4912 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
4913 in the list of matched Makefile names.
4914 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
4915 directory, prefer its contents to Makefile.
4917 * eshell/em-dirs.el (eshell/cd): cd commands that look up
4918 directory parts (like "cd old new", or "cd =regexp"), are now case
4919 sensitive on non-Windows/DOS platforms.
4921 * eshell/esh-mode.el (eshell-parse-command-input): When a user
4922 types RET after an open delimiter (like "), display a message
4923 indicating that Eshell is waiting for the closing delimiter.
4925 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
4926 environment variables.
4928 * eshell/em-unix.el (eshell/diff): Added logic to fail more
4929 gracefully if the user enters incorrect arguments.
4931 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
4934 * eshell/esh-var.el (eshell-interpolate-variable):
4935 * eshell/esh-mode.el (eshell-move-argument):
4936 * eshell/em-unix.el (eshell-du-sum-directory):
4937 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
4938 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
4941 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
4942 to ensure the `preserve' flag gets propagated when doing recursive
4945 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
4947 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
4948 Don't convert \n into \0177 in memory.
4949 (eshell-read-history, eshell-write-history): Convert \n to \0177,
4950 and back again, when reading and writing.
4952 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
4954 * eshell/esh-util.el (eshell-processp): Added to relieve constant
4955 testing of `fboundp' on `processp'.
4957 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
4958 (eshell/jobs): Don't call process-list if it is not bound.
4959 (eshell-gather-process-output): Support systems where async
4960 subprocesses aren't supported.
4961 (eshell-scratch-buffer, eshell-last-sync-output-start): New
4964 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
4965 eshell-do-eval returns t.
4966 (eshell-do-pipelines-synchronously): New defmacro.
4967 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
4968 when async subprocesses aren't supported.
4969 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
4970 if async subprocesses aren't supported.
4971 (eshell-resume-command): Don't assume STATUS is a string.
4973 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
4975 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
4976 (eshell-close-target, eshell-get-target): Use eshell-processp.
4977 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
4979 (eshell-get-target, eshell-create-handles): Doc fix.
4981 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
4983 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
4984 criterion to include commands that output something, as long as it
4985 leaves both the command and the end-of-buffer visible when the
4987 (eshell-review-quick-commands): Adjust the help doc string
4990 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
4992 * locate.el (locate): Cleaned up locate command's interactive prompting
4993 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
4995 * filecache.el (file-cache-case-fold-search): New variable
4996 (file-cache-assoc-function): New variable
4997 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
4998 Use file-cache-case-fold-search variable
4999 (file-cache-add-file): Use file-cache-assoc-function
5000 (file-cache-delete-file): likewise
5001 (file-cache-directory-name): likewise
5002 (file-cache-debug-read-from-minibuffer): likewise
5004 2000-08-28 Gerd Moellmann <gerd@gnu.org>
5006 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
5007 (abbrev-table-name): New function.
5008 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
5009 If non-nil list local abbrev, only.
5011 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
5013 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
5014 from Gnus support code, and use special article copy buffer
5015 `(gnus-original-article-buffer)' instead. This allows to get rid
5016 of article-hide-headers usage (which breaks in the latest Gnus
5017 version). Thanks to Detlev Zundel.
5019 2000-08-28 Kenichi Handa <handa@etl.go.jp>
5021 * international/quail.el (quail-use-package): Hide "... loaded"
5023 (quail-start-translation, quail-start-conversion): Likewise.
5025 * international/kkc.el (kkc-region): Hide "... loaded" message.
5027 2000-08-27 Dave Love <fx@gnu.org>
5029 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
5031 2000-08-27 Miles Bader <miles@gnu.org>
5033 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
5035 2000-08-27 Kenichi Handa <handa@etl.go.jp>
5037 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
5038 'ja-dic-cnv), not (require 'skkdic-cnv).
5040 2000-08-26 Miles Bader <miles@gnu.org>
5042 * faces.el (face-x-resources): Add entry for :inherit.
5043 * cus-face.el (custom-face-attributes): Add support for :inherit
5044 attribute. Add support for relative face heights.
5045 (custom-face-attributes-get): Treat `nil' as being a default value
5046 for :inherit (as well as `unspecified').
5048 * faces.el (set-face-attribute): Update doc string.
5049 (face-attribute-name-alist): Add :inherit.
5050 (face-valid-attribute-values): Handle :inherit.
5051 (face-read-string): Rephrase prompt to be less confusing.
5052 Assume that DEFAULT is a string, since we must return a string.
5053 (face-read-integer): Use `format' to turn DEFAULT into an
5054 acceptable default for face-read-string. Match NEW-VALUE against
5055 the string "unspecified", not the symbol `unspecified', since
5056 that's what face-read-string returns.
5057 (read-face-attribute): Lookup a name for old-value in valid, and
5058 use it as a default if we find one. Treat all values from
5059 face-read-string as strings. If the default is used, don't do any
5060 more processing on the value, just use the old value directly.
5061 (read-face-and-attribute, modify-face): Tweak prompt.
5062 (read-face-name): Don't assume prompt ends with a space.
5064 * faces.el (describe-face): Add support for :inherit attribute.
5066 2000-08-25 Kenichi Handa <handa@etl.go.jp>
5068 * terminal.el (terminal-emulator): Fix args to `concat'. Now
5069 concat doesn't accept interger.
5071 * international/kkc.el: Remove SKK from Keywords. Require
5072 ja-dic-utl instead of skkdic-utl.
5074 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
5075 Provide ja-dic-cnv instead of skkdic-cnv.
5076 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
5077 (iso-2022-7bit-short): Add safe-charsets property.
5078 (skkdic-convert-postfix): Search Japanese chou-on character in
5079 addition to Hiragana character.
5080 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
5081 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
5082 (batch-skkdic-convert): Likewise.
5084 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
5085 Provide ja-dic-utl instead of skkdic-utl.
5086 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
5088 2000-08-24 Dave Love <fx@gnu.org>
5090 * disp-table.el (standard-display-default): Make the test of `l'
5093 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
5096 * international/iso-ascii.el: Make pilcrow convenient string
5097 consistent with section.
5098 (iso-ascii-display): Set up multibyte characters as well as
5101 2000-08-24 Kenichi Handa <handa@etl.go.jp>
5103 * international/mule-cmds.el (reset-language-environment): Set
5104 default-process-coding-system to '(undecided . iso-latin-1), which
5105 makes process I/O almost consistent with file I/O. Call this
5106 function when mule-cmds.el[c] is loaded.
5108 2000-08-22 Andrew Innes <andrewi@gnu.org>
5110 * makefile.w32-in: New file.
5112 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
5114 * comint.el (comint-output-filter): Compare end of
5115 comint-last-output-overlay with the start of the newly inserted
5116 text, not the end, when deciding whether to extend it.
5117 Set saved-point's insertion type to advance after insertion.
5119 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
5120 since this is now done independently of font-lock mode.
5122 2000-08-21 Gerd Moellmann <gerd@gnu.org>
5124 * server.el (server-kill-new-buffers): New user option.
5125 (server-existing-buffer): New buffer-local variable.
5126 (server-visit-files): When using an existing buffer, set
5127 server-existing-buffer to t.
5128 (server-buffer-done): If server-kill-new-buffers is t, kill the
5129 buffer, unless it was already present before visiting it with
5132 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
5134 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
5135 even if the display doesn't support colors: some displays will
5136 support bold/underline faces.
5138 2000-08-21 Gerd Moellmann <gerd@gnu.org>
5140 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
5142 * startup.el (command-line): If user's init file had an error,
5143 add explanatory text to *Messages*.
5145 2000-08-21 Kenichi Handa <handa@etl.go.jp>
5147 * man.el (Man-getpage-in-background): Decode the process output by
5148 the system locale coding system.
5150 2000-08-20 Dave Love <fx@gnu.org>
5152 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
5153 Don't test x-popup-menu.
5154 (function) <complete-function>: Complete only fbound symbols.
5155 <validate, value>: New.
5156 (variable) <complete-function>: Complete only bound symbols.
5157 (coding-system): Add :base-only, :complete-function, :validate,
5158 :value, :prompt-match.
5159 (widget-coding-system-prompt-value): Use read-coding-system and
5161 (editable-field): Add :help-echo.
5162 (widget-push-button-gui, widget-push-button-cache)
5163 (widget-gui-action, widget-editable-list-gui): COmment out, along
5165 (widget-at): Make arg optional.
5166 (widget-echo-help): Adjust for current help-echo calling sequence.
5167 (widget-specify-field, widget-specify-button)
5168 (widget-specify-insert, widget-get-sibling, widget-image-find)
5169 (widget-convert, widget-insert, widget-leave-text)
5170 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
5171 (widget-setup, widget-field-find, widget-before-change)
5172 (widget-after-change, widget-default-complete)
5173 (widget-default-create, widget-default-delete)
5174 (widget-push-button-value-create, editable-field)
5175 (widget-field-prompt-value, widget-field-validate)
5176 (widget-choice-value-create, widget-choice-action)
5177 (widget-choice-validate, widget-checklist-add-item)
5178 (widget-radio-add-item, widget-radio-chosen)
5179 (widget-radio-value-inline, widget-editable-list-value-create)
5180 (widget-editable-list-entry-create)
5181 (widget-documentation-link-add)
5182 (widget-documentation-string-value-create)
5183 (widget-regexp-validate, widget-file-complete)
5184 (widget-sexp-validate, widget-plist-convert-widget)
5185 (widget-plist-convert-widget, widget-alist-convert-widget)
5186 (widget-alist-convert-widget, widget-color-complete): Simplify,
5187 particularly to avoid bindings which aren't optimized out.
5189 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
5191 (down-list, backward-up-list, up-list, kill-sexp)
5192 (backward-kill-sexp, mark-sexp): Make arg optional.
5193 (lisp-complete-symbol): Add optional arg PREDICATE.
5195 * cus-start.el: Add display-buffer-reuse-frames,
5196 file-coding-system-alist.
5198 2000-08-20 Gerd Moellmann <gerd@gnu.org>
5200 * startup.el (command-line): Clear realized faces after
5201 modifying TTY color mappings.
5203 2000-08-20 Miles Bader <miles@gnu.org>
5205 * faces.el (face-attr-match-p): Don't return true if ATTRS are
5206 merely a subset of FACE's attributes.
5208 2000-08-19 Miles Bader <miles@gnu.org>
5210 * comint.el (comint-output-filter): Save the point with a marker,
5211 not just a buffer position.
5213 * international/mule.el (set-buffer-process-coding-system): Make
5214 interactive prompt less confusing.
5216 2000-08-19 Gerd Moellmann <gerd@gnu.org>
5218 * hilit-chg.el: General cleanup of doc strings, comments and
5221 2000-08-19 Miles Bader <miles@gnu.org>
5223 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
5224 Compiler macro removed; beginning-of-line is no longer always
5225 equivalent to forward-line, in the presence of fields.
5227 * comint.el (comint-output-filter): Remove ad-hoc saving of
5228 restriction, and just use save-restriction, now that it works
5229 correctly. Don't adjust comint-last-input-start to account for
5230 our insertion; it shouldn't have moved because we don't use
5231 insert-before-markers anymore. Comment out call to
5232 `force-mode-line-update'; why is it here?
5234 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
5235 while checking for prompt to delete. Use `forward-line 0'
5236 instead of beginning-of-line.
5237 (gud-filter): Temporarily widen gud comint buffer while
5240 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
5242 * progmodes/sh-script.el: Big bag of typos.
5244 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
5245 check since ispell-process is not bound when ispell is not yet loaded.
5247 2000-08-18 Dave Love <fx@gnu.org>
5249 * image.el (find-image): Copy `spec' before using plist-put.
5251 2000-08-18 Gerd Moellmann <gerd@gnu.org>
5253 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
5256 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
5257 backward-kill-sexp, analogous to kill-sexp.
5259 * progmodes/icon.el (icon-indent-line)
5260 (icon-is-continuation-line): Handle comments specially.
5262 2000-08-17 Ken Stevens <k.stevens@ieee.org>
5264 * ispell.el: Set to standard author/maintainer/keyword fields.
5265 Fine tuning to menu map appearance and operation, and added help.
5266 Remove `start' and `end' error messages when compiling.
5267 (ispell-choices-win-default-height): Fixed comment string.
5268 (ispell-dictionary-alist-1): Fixed regexp in castellano and
5269 castellano8 dictionaries.
5270 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
5271 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
5272 dictionary, added italiano dictionary.
5273 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
5275 (ispell-tex-skip-alists): Added psfig support.
5276 (ispell-skip-html): Renamed from ispell-skip-sgml.
5277 (ispell-begin-skip-region-regexp, ispell-skip-region)
5278 (ispell-minor-check): Improved html skipping support to skip across
5279 code, and recognize `&' commands without propper `;' syntax;
5280 (ispell-process-line): Fix alignment error when manually
5281 correcting spelling.
5282 (ispell): Fix comment string.
5283 (ispell-add-per-file-word-list): Always put word list on new line.
5285 2000-08-17 Gerd Moellmann <gerd@gnu.org>
5287 * format.el (format-encode-run-method): Fix error message to say
5288 `encode' instead of `decode'. Use save-window-excursion around
5289 shell-command-on-region as in format-decode-run-method because
5290 shell-command-on-region can display a buffer with error output.
5291 (format-decode): Don't record undo information for the decoding.
5292 (format-annotate-function): Add parameter FORMAT-COUNT. Make
5293 that number part of the temporary buffer name so that more than
5294 one decoding using a temporary buffer can happen safely.
5296 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
5297 of `A-z' in the regexp.
5299 * hilit-chg.el: Fix typos in commentary.
5301 * help.el (view-emacs-news): Rewritten for new naming scheme
5304 * startup.el (command-line): Pop to *Messages* in case an error
5305 is signaled while loading user-init-file.
5307 2000-08-17 Andreas Schwab <schwab@suse.de>
5309 * files.el (insert-directory): Don't lose original file name,
5310 undoing an undocumented change.
5312 2000-08-17 Alex Schroeder <alex@gnu.org>
5314 * sql.el (sql-magic-go): Use comint-bol.
5315 (sql-copy-column): Use comint-line-beginning-position.
5316 (comint-line-beginning-position): Define a replacement for
5317 comint-line-beginning-position if it is not fboundp.
5319 2000-08-17 Alex Schroeder <alex@gnu.org>
5321 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
5322 it didn't have any effect anyway.
5324 2000-08-17 Alex Schroeder <alex@gnu.org>
5326 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
5327 --pset and pager=off instead of sending \\o|cat at the beginning
5330 2000-08-17 Miles Bader <miles@gnu.org>
5332 * progmodes/octave-inf.el: Add compatibility definition of
5333 comint-line-beginning-position.
5335 2000-08-17 Kenichi Handa <handa@etl.go.jp>
5337 * startup.el (normal-top-level): Look in each dir in load-path for
5338 a leim-list.el file too. This assures of loading leim-list.el
5339 that is created at Emacs installation time even if a user have his
5342 2000-08-17 Miles Bader <miles@gnu.org>
5344 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
5345 foreground color to black if the background is dark.
5347 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
5349 * loadhist.el (unload-feature): Typo.
5351 * finder.el (finder-compile-keywords):
5352 * cus-dep.el (custom-make-dependencies): Add local-variable settings
5353 to the generated file.
5355 * mail/mh-e.el (mh-make-local-vars):
5356 Replace make-variable-buffer-local with make-local-variable.
5359 * options.el (Edit-options-{set,toggle,t,nil}):
5360 * mail/mailabbrev.el (mail-abbrevs-mode):
5361 * textmodes/tex-mode.el (tex-expand-files):
5362 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
5364 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
5366 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
5367 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
5368 Allow going past the last element.
5369 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
5370 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
5371 (cvs-mouse-toggle-mark): Don't move point.
5372 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
5374 * progmodes/compile.el (grep): Provide a default set of files.
5375 (next-error): Docstring fix.
5376 (compilation-find-file): Avoid find-file (fails in a dedicated window).
5378 * emacs-lisp/easy-mmode.el (define-minor-mode):
5379 Use `symbol-value' to keep the byte-compiler quiet.
5381 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
5382 (diff-find-source-location): New fun, extracted from diff-goto-source.
5383 (diff-goto-source): Use it.
5384 (diff-next-complex-hunk, diff-filter-lines): New function.
5385 (diff-apply-hunk): New command.
5387 * smerge-mode.el (smerge-mode-menu): Doc fix.
5389 * msb.el (msb-mode): Define it in terms of define-minor-mode.
5391 2000-08-16 Dave Love <fx@gnu.org>
5393 * windmove.el (windmove) <defgroup>: Add :version.
5395 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
5396 (goto-address-fontify-p, goto-address-highlight-p)
5397 (goto-address-url-face, goto-address-url-mouse-face)
5398 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
5399 (goto-address-url-regexp): Use thing-at-point-url-regexp.
5400 (goto-address-fontify, goto-address-at-mouse): Simplify,
5401 (goto-address-at-point): browse-url-url-at-point,
5402 goto-address-find-address-at-point can return nil.
5403 (goto-address-find-address-at-point): Return nil on failure.
5405 * align.el (align) <defgroup>: Add :version.
5407 * calculator.el (calculator): Add :version.
5408 (calculator): Use two lines for calculator window if `modeline'
5411 * play/5x5.el: Doc fixes.
5412 (5x5) <defgroup>: Add :version.
5414 * play/fortune.el (fortune) <defgroup>: Add :version.
5415 (fortune-append): Fix error message.
5416 (fortune-from-region): Doc fix.
5418 * play/pong.el (pong): Doc fix.
5420 * play/morse.el: Keywords, commentary, autoloads.
5422 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
5424 * desktop.el (desktop-save): Don't look at symbol-value of a
5425 member of minor-mode-alist, unless it is boundp.
5427 2000-08-16 Sam Steingold <sds@gnu.org>
5429 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
5430 `while'; use `with-current-buffer' instead of `save-excursion'.
5431 Removed unnecessary kludges now that "*Buffer List*" is excluded.
5433 2000-08-16 Kenichi Handa <handa@etl.go.jp>
5435 * international/ccl.el (declare-ccl-program): Docstring modified.
5436 (ccl-execute-with-args): Likewise.
5438 2000-08-16 Miles Bader <miles@gnu.org>
5440 * progmodes/sql.el: Add compatibility definition of
5441 comint-line-beginning-position.
5443 2000-08-15 Gerd Moellmann <gerd@gnu.org>
5445 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
5446 'buffer-menu' property.
5447 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
5449 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
5450 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
5453 * buff-menu.el (list-buffers-noselect): Don't display the
5454 *Buffer List* buffer.
5456 * font-lock.el: Require jit-lock to prevent a very late
5457 `Loading jit-lock' message.
5459 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
5460 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
5463 2000-08-15 Miles Bader <miles@gnu.org>
5465 * textmodes/ispell.el (ispell-graphic-p): New constant.
5466 (ispell-choices-win-default-height, ispell-help): Use
5467 `ispell-graphic-p' instead of `xemacsp'.
5469 2000-08-15 Dave Love <fx@gnu.org>
5471 * simple.el: Autoload widget-convert when compiling.
5472 (mail-user-agent): Doc fix.
5474 * help.el (function-called-at-point, variable-at-point): Use
5476 (help-manyarg-func-alist): Add insert-and-inherit.
5478 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
5480 * delsel.el (delsel-unload-hook): New function.
5482 * find-file.el: Doc fixes. Move provide to end.
5483 (ff) <defgroup>: Add :link.
5484 (ff-goto-click): Deleted.
5485 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
5486 Use mouse-set-point.
5488 * textmodes/tildify.el: Doc fixes.
5489 (tildify) <defgroup>: Add:version.
5491 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
5492 (glasses-custom-set): Use set-default, not set.
5493 (minor-mode-alist): Propertize the lighter.
5494 (glasses-mode): Provide optional arg.
5496 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
5497 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
5498 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
5499 option. Provide :type.
5500 (cwarn-configuration): Provide :type.
5501 (cwarn-mode): Doc fix.
5503 * add-log.el (change-log-merge): Doc fix.
5504 (change-log-redate): New command.
5506 * net/browse-url.el (browse-url-filename-alist): Add a clause for
5508 (browse-url): Use dolist, not mapcar.
5509 (browse-url-at-point): Check for null url.
5510 (browse-url-event-buffer, browse-url-event-point): Functions
5512 (browse-url-at-mouse, browse-url-netscape): Simplify.
5514 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
5516 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
5517 Fix previous change to mapcan.
5518 (msb--init-file-alist, msb--add-separators)
5519 (msb--make-keymap-menu): Simplify.
5520 (msb--choose-file-menu): Use copy-sequence.
5521 (msb-mode-map): Add title to keymap.
5522 (msb-unload-hook): New function.
5524 * bs.el: Fix indentation.
5525 (bs) <defgroup>: Add :links.
5527 (bs-apply-sort-faces): Don't use window-system.
5528 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
5530 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
5532 * calendar/timeclock.el (timeclock-file): Run .timelog through
5533 convert-standard-filename.
5535 2000-08-14 Gerd Moellmann <gerd@gnu.org>
5537 * emacs-lisp/authors.el: New file.
5539 * paren.el (show-paren-priority): New user option.
5540 (show-paren-function): Set overlay priorities to
5541 show-paren-priority.
5543 2000-08-14 Miles Bader <miles@gnu.org>
5545 * comint.el (comint-bol): Use `forward-line 0' instead of calling
5546 beginning-of-line with inhibit-field-text-motion bound.
5548 2000-08-14 Gerd Moellmann <gerd@gnu.org>
5550 * calendar/timeclock.el: New file.
5552 2000-08-14 David Ponce <david@dponce.com>
5554 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
5555 `widget-button-click'. so that one can use left mouse button to
5556 click on dialog buttons.
5558 2000-08-14 Emmanuel Briot <briot@gnat.com>
5560 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
5561 identifiers, since XML is case sensitive
5563 2000-08-12 Miles Bader <miles@gnu.org>
5565 * comint.el (comint-output-filter): Don't bother frobbing
5566 window-start, it doesn't seem to be necessary.
5568 * comint.el (comint-send-string, comint-send-region): Make into
5569 real functions. Snapshot the prompt before sending.
5571 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
5573 * info.el (Info-find-emacs-command-nodes): Rewrite to use
5574 technique similar to Info-index, instead of relying on specific
5575 names of relevant Index nodes.
5576 (Info-goto-emacs-command-node): Bind Info-history to nil when
5577 going to the first node found by Info-find-emacs-command-nodes.
5579 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
5581 * menu-bar.el (menu-bar-help-menu): Add a :help string.
5583 2000-08-10 Miles Bader <miles@gnu.org>
5585 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
5587 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
5589 * info.el (Info-file-list-for-emacs): More elements for the
5590 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
5593 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
5595 * comint.el (comint-send-input): Make the newline boundary overlay
5596 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
5597 (comint-output-filter): Use `insert' instead of
5598 `insert-before-markers'. Extend comint-last-output-overlay when
5599 necessary since we can't rely on insert-before-markers to do it.
5600 * gud.el (gud-filter): Use `with-current-buffer' instead of
5601 save-excursion when inserting the output, so that point gets
5602 updated correctly; the old method relied on a rather dodgy
5603 side-effect of comint-output-filter to avoid the effect of
5606 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
5608 * files.el (recover-file): Call insert-directory instead of
5609 invoking `ls' directly.
5611 2000-08-10 Miles Bader <miles@gnu.org>
5613 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
5614 (comint-last-prompt-overlay): New variables.
5615 (comint-output-filter): Implement prompt highlighting.
5616 (comint-snapshot-last-prompt): New function.
5617 (comint-send-input): Snapshot the last prompt.
5618 Use comint-highlight-input-face.
5619 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
5620 Use defface instead of defcustom.
5621 (send-invisible, comint-send-eof): Snapshot the last prompt.
5622 (comint-delchar-or-maybe-eof): Use comint-send-eof.
5623 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
5625 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
5627 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
5628 (regexp-opt-group): Use a list of chars for `letters'.
5629 (regexp-opt-charset): `chars' is now a list of chars.
5630 Use a char-table rather than a vector so it works for multibyte chars.
5632 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
5633 Set cvs-minor-current-files to the selected fileinfo.
5634 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
5635 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
5637 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
5639 * files.el (insert-directory): Don't call access-file on
5640 directories on DOS and Windows.
5642 2000-08-09 Kenichi Handa <handa@etl.go.jp>
5644 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
5645 longer if necessary.
5646 (ccl-embed-code): Call ccl-embed-data to store CODE in
5649 2000-08-09 Miles Bader <miles@gnu.org>
5651 * comint.el (comint-output-filter): Properly handle the case where
5652 the text surrounded by comint-last-output-overlay was deleted.
5654 2000-08-08 Gerd Moellmann <gerd@gnu.org>
5656 * info.el (Info-insert-dir): Use Info-additional-directory-list if
5658 (Info-file-list-for-emacs): Remove "info" from the list because
5659 that leads to trying to use the documentation from file `info'
5660 in various situations where it isn't appropriate, for instance
5663 * ffap.el (ffap-read-file-or-url-internal): Handle case that
5664 DIR and/or STRING are nil.
5666 * progmodes/compile.el (compilation-setup): Make variable
5667 compilation-error-screen-columns buffer-local, as some comment
5668 in the code suggests it should be.
5670 * files.el (auto-mode-interpreter-regexp): New variable.
5671 (set-auto-mode): Use it.
5673 * indent.el (indent-for-tab-command): Doc fix.
5675 * mouse-sel.el (mouse-sel-mode): Doc fix.
5677 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
5680 * help.el (print-help-return-message): When
5681 display-buffer-reuse-frames is set, let the help window been quit,
5682 instead of deleting it, which might delete a reused frame.
5684 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
5686 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
5687 rename a directory to a name that differs only by its letter case.
5689 2000-08-08 Kenichi Handa <handa@etl.go.jp>
5691 * international/quail.el (quail-define-rules): Handle Quail decode
5692 map correctly. Add code for supporting annotations.
5693 (quail-install-decode-map): New function.
5694 (quail-defrule-internal): New optional arguments decode-map and
5696 (quail-advice): New function.
5698 2000-08-07 Sam Steingold <sds@gnu.org>
5700 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
5701 `defconst', `define-condition', `with-slots'.
5702 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
5704 2000-08-03 Miles Bader <miles@gnu.org>
5706 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5708 (comint-prompt-regexp, comint-get-old-input): Document dependence on
5709 comint-use-prompt-regexp-instead-of-fields.
5710 (comint-send-input): Add `input' field property to stuff we send to
5711 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
5712 (comint-output-filter): Add `output' field property to process
5713 output, if comint-use-prompt-regexp-instead-of-fields is nil.
5714 (comint-replace-by-expanded-history)
5715 (comint-get-old-input-default, comint-show-output)
5716 (comint-backward-matching-input, comint-forward-matching-input)
5717 (comint-next-prompt, comint-previous-prompt): Use field
5718 properties if comint-use-prompt-regexp-instead-of-fields is nil.
5719 (comint-line-beginning-position): New function.
5720 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
5721 (comint-replace-by-expanded-history-before-point): Use
5722 comint-line-beginning-position and line-end-position.
5723 (comint-last-output-overlay): New variable.
5724 (comint-mode): Make `comint-last-output-overlay' buffer-local.
5726 * shell.el (shell-prompt-pattern): Doc change.
5727 (shell-backward-command): Use line-beginning-position.
5729 * gud.el (gud-gdb-complete-command): Use
5730 comint-line-beginning-position.
5732 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
5733 comint-bol doesn't actually go to the beginning of the line.
5735 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
5736 if comint-use-prompt-regexp-instead-of-fields is non-nil.
5737 (try-expand-line-all-buffers): Likewise.
5739 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
5740 explicitly matching comint-prompt-regexp.
5741 (sql-copy-column): Use comint-line-beginning-position instead of
5742 explicitly matching comint-prompt-regexp.
5744 * progmodes/octave-inf.el (inferior-octave-complete): Use
5745 comint-line-beginning-position.
5747 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
5749 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
5750 looking for a prompt, use `forward-line 0' instead of
5751 `beginning-of-line', to avoid getting caught by an input field.
5753 2000-08-07 Gerd Moellmann <gerd@gnu.org>
5755 * files.el (shell-quote-wildcard-pattern): Make sure to return
5756 PATTERN, in the Unix case.
5758 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
5760 * play/zone.el (zone): Discard any pending input before running
5761 the randomly-chosen pgm.
5763 2000-08-07 Kenichi Handa <handa@etl.go.jp>
5765 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
5766 checking the existence of any multibyte characters.
5768 2000-08-06 Gerd Moellmann <gerd@gnu.org>
5770 * help.el (describe-mode): Test minor-mode symbol for being
5771 bound before testing its value for being nil.
5773 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
5774 `first', `second', and `third'.
5776 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
5777 (second): Make it an alias for `cadr'.
5779 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
5781 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
5782 types of display support faces now.
5784 2000-08-05 Gerd Moellmann <gerd@gnu.org>
5786 * pcvs.el (require): Require `cl' during compilation, only.
5788 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
5789 (toplevel): Remove `remq' and `remove' from autoloads.
5790 (cl-fake-autoloads): New variable. If set, arrange for an error
5791 when CL functions etc. are autoloaded.
5793 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
5795 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
5797 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
5798 popped up, but the user clicks outside the menu, return an empty
5799 regexp (that causes unhighlight-regexp to have no effect).
5801 * menu-bar.el (menu-bar-games-menu): Add Zone.
5803 * hi-lock.el (toplevel): Require font-lock.
5805 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5807 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
5808 (ebnf-8-bit-chars): New var for bug fix.
5809 (ebnf-string): Bug fix.
5811 2000-08-03 Sam Steingold <sds@gnu.org>
5813 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
5814 instead of `buffer-string'.
5815 (require 'cl): Always, not just when compiling.
5816 `ignore-errors' in `interactive', `list*', `defun*' &c make this
5819 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
5821 * international/mule-cmds.el (select-safe-coding-system): Make
5822 the message text about selecting a safe coding system more clear.
5824 2000-08-02 Gerd Moellmann <gerd@gnu.org>
5826 * hi-lock.el: New file.
5828 * play/zone.el: New file.
5830 * replace.el (occur): Set tab-width in the *Occur* buffer to the
5831 value of tab-width in the original buffer. Choose a line number
5832 format that's a multiple of the original buffer's tab width, so
5833 that lines appear right.
5835 * textmodes/ispell.el (ispell): New function, replacing an alias.
5836 Spell-check active region if in transient-mark-mode and mark
5837 is active; otherwise spell-check buffer.
5839 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5841 * ps-mule.el: Fix a customization problem on
5842 ps-mule-font-info-database-default.
5844 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
5846 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
5847 display-mouse-p instead of window-system.
5848 (ebrowse-member-mode-map): Ditto.
5850 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5852 * progmodes/ebnf2ps.el: Update ps-print functions call.
5853 Indentation fix. Doc fix.
5854 (ebnf-version): New version number (3.2).
5855 (ebnf-format-color, ebnf-begin-job): Code fix.
5857 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
5859 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
5860 font lock support on window-system.
5861 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
5863 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
5864 display-color-p, if fboundp, instead of window-system.
5866 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
5868 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
5869 instead of window-system.
5871 * wid-edit.el (widget-choose): Use display-mouse-p instead of
5873 (widget-choice-mouse-down-action): Use display-popup-menus-p
5874 instead of window-system.
5876 * strokes.el (strokes-file): Run the file name through
5877 convert-standard-filename.
5878 (strokes-mode): Call display-mouse-p instead of looking at
5879 window-system. Change the error message accordingly.
5881 * progmodes/cpp.el (toplevel): Support faces on tty's.
5883 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
5884 (lm-plot-square, lm-init-display): Don't use window-system.
5886 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
5887 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
5889 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
5890 instead of looking at window-system.
5892 2000-07-30 Gerd Moellmann <gerd@gnu.org>
5894 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
5895 of testing if iswitchb-prepost-hooks is bound, because the
5896 latter will always be true when invoking a recursive minibuffer
5897 from an active Iswitchb buffer.
5899 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
5901 * files.el (shell-quote-wildcard-pattern): New function.
5902 (insert-directory): Call it. Only prepend "\" to command on Unix
5903 and GNU/Linux systems.
5905 2000-07-30 Gerd Moellmann <gerd@gnu.org>
5907 * eshell/esh-groups.el: Change custom :link file names
5908 from `eshell.info' to `eshell'.
5910 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
5912 * dired.el (dired-build-subdir-alist): Expand subdirectory names
5913 correctly in recursive ange-ftp listings.
5915 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5917 * ps-print.el: Fix bug 1: if ps-font-size-internal,
5918 ps-header-font-size-internal and
5919 ps-header-title-font-size-internal variables are not set,
5920 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
5921 face text property is (foreground-color . COLOR) or
5922 `(background-color . COLOR)', ps-print crashes. Doc fix.
5923 (ps-print-version): New version number (5.2.4).
5924 (ps-plot-region): Code fix.
5925 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
5926 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
5929 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
5931 * glasses.el (glasses-make-readable): Fix uncapitalization of
5932 identifiers like `myXMLDocument'.
5934 2000-07-28 Karl Fogel <kfogel@red-bean.com>
5936 * mail/mail-hist.el (mail-hist-previous-input)
5937 (mail-hist-next-input): Do the obvious code factorization.
5938 (mail-hist-retrieve-and-insert): New func, contains common
5940 If inserting a message body, leave point at top.
5942 2000-07-28 Sam Steingold <sds@gnu.org>
5944 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
5945 Use `<=', not `<' to compare times!
5946 (ange-ftp-ls): Remove.
5948 2000-07-27 Gerd Moellmann <gerd@gnu.org>
5950 * play/cookie1.el: Add explanation of how to make cookie.el
5951 compatible with strfile(1) to comment.
5953 * subr.el (remove, remq): New functions.
5955 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
5956 escape `*' in regexps.
5957 (midnight-find): Reverse order of arguments in the funcall of
5960 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
5963 * play/meese.el: Add Commentary section.
5965 2000-07-27 Alex Schroeder <alex@gnu.org>
5967 * sql.el (sql-ms): Added autoload cookie.
5968 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
5969 (sql-oracle): Ditto.
5970 (sql-help): Doc change.
5972 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
5973 types and exceptions.
5975 2000-07-27 Alex Schroeder <alex@gnu.org>
5977 * sql.el (sql-placeholder-history): New variable.
5978 (sql-query-placeholders-and-send): New function that will query
5979 the user and replace placeholders with user input.
5980 (sql-oracle): If running on NT, set comint-input-sender to
5981 sql-query-placeholders-and-send.
5983 (sql-stop): If in the SQLi buffer, insert stop notification, else
5984 present it as a message.
5986 2000-07-27 Alex Schroeder <alex@gnu.org>
5988 * sql.el (sql-input-ring-separator): Doc change.
5989 (sql-input-ring-file-name): Doc change.
5990 (sql-interactive-mode): Use `sql-input-ring-separator' and
5991 `sql-input-ring-file-name' to set the comint-mode equivalents
5992 without making them local variables.
5993 (sql-stop): Don't bind `sql-input-ring-separator' and
5994 `sql-input-ring-file-name' dynamically to their comint-mode
5997 2000-07-27 Kenichi Handa <handa@etl.go.jp>
5999 * international/mule.el (register-char-codings): New function.
6000 (make-coding-system): Handle `safe-chars' specification in the arg
6003 * international/mule-cmds.el
6004 (find-coding-systems-region-subset-p): This function deleted.
6005 (sort-coding-systems-predicate): New variable.
6006 (sort-coding-systems): New function.
6007 (find-coding-systems-region): Use
6008 find-coding-systems-region-internal.
6009 (find-coding-systems-string): Use find-coding-systems-region.
6010 (find-coding-systems-for-charsets): Check
6011 char-coding-system-table.
6012 (select-safe-coding-system-accept-default-p): New variable.
6013 (select-safe-coding-system): Mostly rewritten. New argument
6015 (select-message-coding-system): Call select-safe-coding-system
6016 with ACCEPT-DEFAULT-P arg.
6017 (reset-language-environment): Reset default-sendmail-coding-system
6018 to the default value iso-latin-1.
6019 (set-language-environment): Don't set the obsolete variable
6020 charset-origin-alist.
6022 * international/codepage.el (cp-coding-system-for-codepage-1):
6023 Give `safe-chars' property to make-coding-system.
6025 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
6026 calling select-message-coding-system twice.
6028 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
6029 instead of `safe-charsets'.
6030 (cyrillic-alternativnyj): Likewise.
6031 (ccl-encode-alternativnyj): Don't check the charset
6034 2000-07-27 Kenichi Handa <handa@etl.go.jp>
6036 * composite.el (compose-chars-after): Preserve match data.
6038 2000-07-26 Sam Steingold <sds@gnu.org>
6040 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
6041 (ange-ftp-real-file-newer-than-file-p): New function.
6042 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
6043 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
6045 * tooltip.el (tooltip-float-time): Removed (use `float-time').
6046 * midnight.el (midnight-float-time): Ditto.
6048 2000-07-26 Andreas Schwab <schwab@suse.de>
6050 * files.el (normal-backup-enable-predicate): Correct
6051 interpretation of the return value of compare-strings.
6053 2000-07-26 Gerd Moellmann <gerd@gnu.org>
6055 * isearch.el (isearch-resume): New function.
6056 (isearch-done): Add something to command-history to resume
6058 (isearch-yank-line, isearch-yank-word): Use
6059 buffer-substring-no-properties instead of buffer-substring.
6061 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
6062 of flyspell-mouse-map.
6064 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
6065 duplicate definition.
6066 (makefile-mode): Remove duplicate setting of local-abbrev-table.
6068 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
6069 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
6071 2000-07-25 Sam Steingold <sds@gnu.org>
6073 * net/ange-ftp.el: Get modtime over the net.
6074 (ange-ftp-file-modtime): New function.
6075 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6076 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
6078 (ange-ftp-dot-to-slash): New function.
6079 (ange-ftp-fix-name-for-vms): Use it.
6081 * midnight.el (midnight-buffer-display-time): Use
6082 `with-current-buffer'.
6084 2000-07-25 Gerd Moellmann <gerd@gnu.org>
6086 * find-dired.el: Update copyright notice.
6087 (find-dired): Offer to kill a running `find'.
6089 * enriched.el (enriched-face-ans): For a `foreground-color'
6090 property, return '(("x-color" COLOR))' so that COLOR will be
6091 output as a parameter of the x-color annotation. Likewise for the
6092 `background-color' property. In the case of normal face
6093 properties, don't return annotations for unspecified foreground
6094 and background face attributes.
6096 2000-07-25 Kenichi Handa <handa@etl.go.jp>
6098 * language/japan-util.el (japanese-katakana-region): Fix handling
6101 2000-07-25 Miles Bader <miles@gnu.org>
6103 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
6104 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
6107 2000-07-24 Andrew Innes <andrewi@gnu.org>
6109 * timer.el (timer-activate-when-idle): Add optional parameter
6110 DONT-WAIT. Update docstring.
6111 (run-with-idle-timer): Specify extra parameter to
6112 timer-activate-when-idle, so that timer will be activated
6113 immediately if Emacs is already idle.
6115 * w32-fns.el (w32-using-nt): Fix docstring.
6117 2000-07-24 Dave Love <fx@gnu.org>
6119 * mouse.el (popup-menu): Set last-command-event.
6120 (mouse-major-mode-menu-prefix): Declare.
6122 2000-07-24 Gerd Moellmann <gerd@gnu.org>
6124 * textmodes/flyspell.el: Update to author's version 1.5d.
6126 * progmodes/hideshow.el: Update copyright notice.
6128 * vcursor.el: Set maintainer to FSF, since author cannot
6131 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
6133 * info.el (Info-goto-emacs-key-command-node): Leave a space after
6136 * mouse.el (popup-menu): Run the keymap through indirect-function,
6137 in case it was defined with define-prefix-key. If the menu is a
6138 list of keymaps, look up the binding of user's choice in each one
6140 (mouse-popup-menubar): If the global and local menu-bar keymaps
6141 don't have a prompt string, create one and insert it into the
6142 keymap. Don't barf if current-local-map returns nil.
6144 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
6146 * dired.el (dired-sort-R-check): Added to allow recursive listing
6148 (dired-sort-other): Use it.
6150 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6152 * Release of cc-mode 5.27
6154 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6156 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
6157 c-beginning-of-statement-1 that caused a bad case of recursion
6158 which could consume a lot of CPU in large classes in languages
6159 that have in-expression classes (i.e. Java and Pike).
6161 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
6162 statements before top level constructs (i.e. case 6 is moved
6163 before case 5 and is now case 4) to catch in-expression
6164 classes in top level expressions correctly.
6166 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6168 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
6169 objc-method-intro. Case 4 removed and case 5I added.
6171 * cc-langs.el (c-append-paragraph-start): New variable used by
6172 c-common-init to get paragraph-start correct.
6173 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
6174 initialize paragraph-start to make it correct both with and
6175 without the javadoc special case.
6177 * cc-mode.el (java-mode): Use c-append-paragraph-start to
6178 initialize paragraph-start for javadoc markup.
6180 * cc-vars.el (c-style-variables-are-local-p): Incompatible
6181 change by defaulting this to t. It's motivated by the
6182 confusing behavior that otherwise arise from the style system
6183 when editing both java and non-java files at the same time
6184 (see the comments about style setting in c-common-init).
6186 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6188 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
6189 similar to the one in c-fill-paragraph to check the fill
6190 prefix from the adaptive fill function for sanity.
6192 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6194 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
6197 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6199 * cc-mode.texi Documented the change of cpp-macro.
6201 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6203 * cc-align.el (c-lineup-multi-inher): Handle lines with
6204 leading comma nicely. Extended to handle member initializers
6207 * cc-engine.el: (c-beginning-of-inheritance-list,
6208 c-guess-basic-syntax): Fixed recognition of inheritance lists
6209 when the lines begins with a comma.
6211 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
6213 * cc-vars.el (c-offsets-alist): Changed default for
6214 member-init-cont to c-lineup-multi-inher since it now handles
6215 member initializers and indents better for leading commas.
6217 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6219 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
6220 handling that caused class open lines to be recognized as
6221 statement-conts in some cases.
6223 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
6224 guessed by the adaptive fill function unless point is on the
6225 first line of a block comment.
6227 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
6228 when the buffer ends with a macro continuation char.
6230 * cc-engine.el (c-guess-basic-syntax): Added support for
6231 function definitions as statements in Pike. The first
6232 statement in a lambda block is now labeled defun-block-intro
6233 instead of statement-block-intro.
6235 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
6236 so that the class surrounding point is selected, not the one
6237 innermost in the state.
6239 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
6240 recognition of switch labels having hanging multiline
6243 * cc-engine.el (c-beginning-of-member-init-list): Broke out
6244 some code in c-guess-basic-syntax to a separate function.
6245 * cc-engine.el (c-just-after-func-arglist-p): Fixed
6246 recognition of member inits with multiple line arglists.
6247 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
6248 member-init-cont when the commas are in funny places.
6250 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6252 * cc-defs.el (c-auto-newline): Removed this macro since it's
6255 * cc-engine.el (c-looking-at-bos): New helper function.
6256 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
6257 inexpr and toplevel classes apart in Pike.
6259 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
6262 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
6263 constant, since "class" can introduce an in-expression class
6266 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6268 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
6269 indentation on cpp-macro lines.
6271 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
6272 a syntax modifier like comment-intro, to make it possible to
6273 get syntactic indentation for preprocessor directives. It's
6274 incompatible wrt to lineup functions on cpp-macro, but it has
6275 no observable effect in the 99.9% common case where cpp-macro
6278 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6280 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
6281 member-init-cont when the preceding arglist is several lines.
6283 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6285 * cc-styles.el (c-style-alist): The basic offset for the BSD
6286 style corrected to 8.
6288 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6290 * cc-styles.el (c-style-alist): Adjusted the indentation of
6291 brace list openers in the gnu style.
6293 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6295 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
6297 * cc-cmds.el (c-electric-brace, c-electric-slash,
6298 c-electric-star, c-electric-semi&comma, c-electric-colon,
6299 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
6300 when c-syntactic-indentation is nil.
6302 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
6303 we were left at comments preceding the first statement when
6304 reaching the beginning of the buffer.
6306 * cc-vars.el (c-syntactic-indentation): New variable to turn
6307 off all syntactic indentation.
6309 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6311 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
6312 between the text and the block comment ender when it hangs,
6313 depending on how many there are before the fill.
6315 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6317 * cc-engine.el (c-beginning-of-closest-statement): New helper
6318 function to go back to the closest preceding statement start,
6319 which could be inside a conditional statement.
6320 * cc-engine.el (c-guess-basic-syntax): Use
6321 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
6323 * cc-engine.el (c-guess-basic-syntax): Better handling of
6324 arglist-intro, arglist-cont-nonempty and arglist-close when
6325 the arglist is nested inside parens. Cases 7A, 7C and 7F
6328 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
6329 up-to-date with javadoc 1.2.
6331 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6333 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
6334 multiline Pike type decls.
6336 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6338 * cc-cmds.el (c-indent-new-comment-line): Always break
6339 multiline comments in multiline mode, regardless of
6342 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6344 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
6345 fully::qualified::names in C++ member init lists. Preamble in
6348 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6350 * cc-langs.el (c-common-init): Handling of obsolete variables
6351 moved to c-initialize-cc-mode. More compatible style override
6352 when using global style variables.
6353 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
6354 variables moved here.
6356 * cc-mode.texi: Documented the special behavior of
6357 c-special-indent-hook as a style variable. Don't talk about
6358 doing (c-make-styles-buffer-local t) in a mode hook, since
6359 that's already too late to work right.
6361 * cc-styles.el (c-make-styles-buffer-local): Flag style
6362 variable localness in c-style-variables-are-local-p to make
6363 the compatibility measure in c-common-init work well.
6365 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
6366 longer contain set-from-style.
6367 * cc-styles.el (c-initialize-builtin-style): Don't check for
6368 set-from-style on c-special-indent-hook.
6369 * cc-styles.el (c-copy-tree): Obsolete. The standard function
6370 copy-alist is sufficient now.
6372 * cc-styles.el (c-set-style, c-set-style-1,
6373 c-get-style-variables): Fixes to variable initialization so
6374 that duplicate entries in styles have the same effect
6375 regardless of DONT-OVERRIDE.
6377 * cc-styles.el (c-set-style-2): Fixed bug where the
6378 initialization of inheriting styles failed when the
6379 dont-override flag is set.
6381 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
6384 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6386 * cc-defs.el (c-forward-comment): Removed the workaround
6387 introduced in 5.38 since it had worse side-effects. If a line
6388 contains the string "//\"", it regarded the // as a comment
6389 start since the \ temporarily doesn't have escape syntax.
6391 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
6393 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
6394 ada-xref.el before ada-prj.el, so that the Project menu is created
6395 when ada-prj tries to add to it.
6396 (ada-activate-keys-for-case): Suppress the characters that are not
6397 part of the Ada syntax. Better compatibility with else-mode
6398 (ada-adjust-case-interactive): When auto-casing is not active,
6399 correctly insert newlines (used to insert only ^M). Prevent the
6400 syntax table from being changed in case of an error
6401 (or '_' becomes part of a word and some commands are confused).
6402 Do nothing if ada-auto-case is nil.
6403 (ada-after-keyword-p): Ignore keywords that are also attributes
6404 (ada-batch-reformat): Update usage comment
6405 (ada-call-from-contextual-menu): New function
6406 (ada-case-read-exceptions): Reinitialize the casing exception list
6407 first to nil first, so that the casing exception file can be
6409 (ada-check-defun-name): Handles "configure" keyword for gnatdist
6411 (ada-compile-goto-error): Fix regexp used to detect a file:line
6412 anywhere in the error message
6413 (ada-contextual-menu-last-point): New variable
6414 (ada-create-keymap): If the variable delete-key-deletes-forward is
6415 t on XEmacs, it means that DEL should delete one character
6417 (ada-create-menu): Use :included instead of :visible for XEmacs.
6418 New submenu "Options".
6419 (ada-end-stmt-re): Correctly indent "select ... then abort"
6421 (ada-fill-comment-paragraph): Correctly delete all leading '--'
6422 even if they don't match ada-fill-comment-prefix Fix handling of
6423 paragraphs on the first or last line of a file.
6424 (ada-format-paramlist): Fix handling of default parameter values.
6425 (ada-get-body-name): New function.
6426 (ada-get-current-indent): Optimized by searchling directly for an
6427 existing generic part or a statement outside of it. Handle
6428 ada-indent-align-comments when indenting comments Replaced some
6429 regexps by testing directly the next character. This results in a
6430 huge speedup on some files. New indentation scheme for renames
6431 statements. Stop looking for the 'while' or 'for' associated with
6432 a 'loop' at the first semicolon encountered. A "return" can also
6433 match an anonymous access subprogram declaration.
6434 (ada-get-indent-noindent): Ignore strings and comments when
6435 looking for the keywords "record" and "private".
6436 (ada-goto-matching-decl-start): When matching "if", make sure we
6437 are not in fact seeing "end if". Ignore "when" statements except
6438 when initial keyword was "begin". Fix handling of nested
6439 procedures. Add a recursive call to this function to skip over
6440 other 'end' statmts. Fix indentation for "when .. => begin"
6441 (ada-in-open-paren-p): Fix indentation for complex boolean
6442 expressions, where 'and then', 'or else' and parenthesis
6443 statements are mixed up.
6444 (ada-in-paramlist-p): Skip comments while searching for the
6445 beginning Fix handling of operator declarations.
6446 (ada-indent-align-comments): New variable
6447 (ada-indent-current): Change the syntax table only in the
6448 protected section, so that we are sure it is restored correctly.
6449 (ada-indent-on-previous-lines): Use ada-use-indent and
6450 ada-with-indent Correctly indent "select ... then"
6451 (ada-indent-region): Slight speedup.
6452 (ada-indent-renames): New variable.
6453 (ada-last-which-function-subprog, ada-last-which-function-line):
6455 (ada-looking-at-semi-private): Correctly indent the 'private'
6456 keyword when it is the first word in a package declaration.
6457 (ada-loose-case-word): Stop searching if at the end of the buffer.
6458 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
6459 even if point is not initially at the end of the word.
6460 (ada-matching-decl-start-re): Add "when".
6461 (ada-mode): Add support for abbrev-mode, outline-mode and
6462 which-func-mode Override the old find-file.el entry in
6463 ff-special-constructs since it is using the obsolete
6464 ada-spec-suffix variable
6465 (ada-no-auto-case): New function
6466 (ada-scan-paramlist): When parsing the argument type, accept
6467 spaces (as in "X 'Class", generated by Rational Rose).
6468 (ada-other-file-name): No longer loads the other file.
6469 (ada-popup-menu): Save and restore the current buffer and cursor
6470 position before and after displaying the menu.
6471 (ada-search-ignore-complex-boolean): New function.
6472 (ada-uncomment-region): Emacs21 already knows how to delete
6473 comments not starting in the first column.
6474 (ada-use-indent): New variable
6475 (ada-which-function): New function.
6476 (ada-with-indent): New variable
6477 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
6478 can be batch-compiled from the command line.
6480 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
6481 Add to the menu when the file is loaded, not in ada-mode-hook.
6482 Add -toolbar to the default ddd command Switches moved from
6483 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
6484 ada-prj-default-comp-opt
6485 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
6486 Reference Manual to the menu
6487 (ada-check-current): rewritten as a call to ada-compile-current
6488 (ada-compile): Removed.
6489 (ada-compile-application, ada-compile-current, ada-check-current):
6490 Set the compilation-search-path so that compile.el automatically
6491 finds the sources in src_dir. Automatic scrollong of the
6492 compilation buffer. C-uC-cC-c asks for confirmation before
6494 (ada-compile-current): New parameter, prj-field
6495 (ada-complete-identifier): Load the .ali file before doing
6497 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
6498 conform to gnatmake's behavior.
6499 (ada-find-file-in-dir): New function
6500 (ada-find-references): Set the environment variables for gnatfind
6501 (ada-find-src-file-in-dir): New function.
6502 (ada-first-non-nil): Removed
6503 (ada-gdb-application): Add support for jdb, the java debugger.
6504 (ada-get-ada-file-name): Load the original-file first if not done
6506 (ada-get-all-references): Handles the new ali syntax (parent types
6507 are found between <>).
6508 (ada-initialize-runtime-library): New function
6509 (ada-mode-hook): Always load a project file when a file is opened,
6510 so that the casing exceptions are correctly read.
6511 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
6512 (ada-parse-prj-file): Use find-file-noselect instead of find-file
6513 to open the project file, since the latter does not work with
6514 speedbar Get default values before loading the prj file, or the
6515 default executable file name is wrong. Use the absolute value of
6516 src_dir to initialize ada-search-directories and
6517 compilation-search-path,... Add the standard runtime library to
6518 the search path for find-file.
6519 (ada-prj-default-debugger): Was missing an opening '{'
6520 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
6522 (ada-prj-default-gnatmake-opt): New variable
6523 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
6524 buffers, the project file is the default one Save the windows
6525 configuration before displaying the menu.
6526 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
6527 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
6528 ...) regexp-quote identifiers names to support operators +,
6530 (ada-remote): New function.
6531 (ada-run-application): Erase the output buffer before starting the
6532 run Support remote execution of the application. Use
6533 call-process, or the arguments are incorrectly parsed
6534 (ada-set-default-project-file): Reread the content of the active
6535 project file, not the one from the current buffer When a project
6536 file is set as the default project, all directories are
6537 automatically associated with it.
6538 (ada-set-environment): New function
6539 (ada-treat-cmd-string): New special variable ${current}
6540 (ada-treat-cmd-string): Revised. The substitution is now done for
6541 any ${...} substring
6542 (ada-xref-current): If no body was found, compiles the spec
6543 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
6544 compiler to get rid of command line length limitations.
6545 (ada-xref-get-project-field): New function
6546 (ada-xref-project-files): New variable
6547 (ada-xref-runtime-library-specs-path)
6548 (ada-xref-runtime-library-ali-path): New variables
6549 (ada-xref-set-default-prj-values): Default run command now does a
6550 cd to the build directory. New field: main_unit Provide a default
6551 file name even if the current buffer has no prj file.
6554 Rewritten to show a tabbed-dialog.
6555 (ada-prj-add-ada-menu): Remove the map and name parameters.
6556 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
6558 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
6559 (ada-prj-load-from-file): New function
6560 (ada-prj-save): Always save fields that depend on the current buffer
6561 (ada-prj-show-value): New function
6563 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
6564 Ada mode. This will allow us to display the Ada menu in any buffer
6565 we want (for project items).
6566 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
6567 number of spaces in the header.
6569 2000-07-24 Dave Love <fx@gnu.org>
6571 * ediff-init.el (ediff-region-help-echo): Bind face-help.
6573 2000-07-23 Noah Friedman <friedman@splode.com>
6575 * type-break.el (type-break): perform autosave.
6576 Suggested by Stephen Gildea <gildea@intouchsys.com>.
6577 (type-break-do-query): Cancel query schedule while performing
6578 actual query, to avoid possibility of a second query being made
6579 while first one is already in progress.
6580 (type-break-time-stamp-format): New variable.
6581 (type-break-time-stamp): New function.
6582 (type-break-time-warning): Use it.
6583 (type-break-keystroke-warning): Use it.
6584 (type-break-noninteractive-query): Use it.
6586 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
6588 Use add-minor-mode to set minor-mode-alist, if available.
6589 (eldoc-echo-area-use-multiline-p): New user option.
6590 (eldoc-echo-area-multiline-supported-p): New variable.
6591 (eldoc-docstring-format-sym-doc): Use them.
6592 (eldoc-mode): If not using idle timers, append to local post and
6593 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
6594 (eldoc-display-message-no-interference-p): Don't interfere with
6596 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
6597 (eldoc-function-arglist): New function.
6598 (eldoc-function-argstring): Use it.
6600 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
6601 auto save directory exists before calling directory-files.
6603 2000-07-23 Dave Love <fx@gnu.org>
6605 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
6608 2000-07-21 Dave Love <fx@gnu.org>
6610 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
6611 now passed to the function. It now works properly.
6613 * smerge-mode.el (smerge-mode-menu): Fill it out.
6615 2000-07-20 Gerd Moellmann <gerd@gnu.org>
6617 * info-look.el (info-lookup): If *info* is shown in another frame
6618 on the same display, select that frame, instead of switching to
6619 the Info buffer in another window of the selected frame.
6621 * simple.el (universal-argument-map): Bind numeric keypad keys
6622 kp-0 to kp-9 and kp-subtract.
6623 (digit-argument): Handle these keys.
6625 2000-07-20 Dave Love <fx@gnu.org>
6627 * net/goto-addr.el (goto-address-fontify): Don't bother with
6628 buffer-modified and read-only stuff -- irrelevant with overlays.
6629 Put an extra property on the overlays and use it to clean up in
6630 case goto-address is re-run.
6632 2000-07-19 Richard M. Stallman <rms@gnu.org>
6634 * timer.el (run-with-idle-timer): Doc fix.
6636 * mail/mail-utils.el (mail-strip-quoted-names):
6637 Handle case where <...> appears inside "...".
6638 Use replace-match to edit the string more simply.
6639 (rmail-dont-reply-to): Cope with an unmatched ".
6641 2000-07-19 Dave Love <fx@gnu.org>
6643 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
6646 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
6647 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
6648 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
6650 2000-07-19 Gerd Moellmann <gerd@gnu.org>
6652 * textmodes/refer.el: Correct maintainer's email address.
6654 * progmodes/hideif.el: Correct author's email address.
6655 Fix typo in comment.
6659 * mail/mailheader.el: Correct author's mail address.
6661 * gnus/parse-time.el: Correct author's mail address.
6663 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
6665 * comint.el (comint-highlight-input, comint-highlight-face):
6667 (comint-input-ring-file-name): Change custom type.
6668 (comint-mode-map): Bind mouse-2.
6669 (comint-insert-clicked-input): New function.
6670 (comint-send-input): Handle input highlighting.
6672 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
6674 * mouse.el (popup-menu): New function.
6675 (mouse-major-mode-menu): Use it.
6677 2000-07-18 Dave Love <fx@gnu.org>
6679 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
6682 2000-07-18 Gerd Moellmann <gerd@gnu.org>
6684 * faces.el (face-font-selection-order)
6685 (face-font-family-alternatives): Add custom type.
6687 2000-07-18 Dave Love <fx@gnu.org>
6689 * cus-edit.el (custom-variable-reset-saved)
6690 (custom-variable-reset-standard): Remove unused bindings.
6692 * rect.el (open-rectangle-line): Remove unused let.
6694 * hl-line.el (hl-line-highlight): Check hl-line-mode.
6696 2000-07-18 Gerd Moellmann <gerd@gnu.org>
6698 * cdl.el: Fix `Maintainer' keyword.
6700 * play/pong.el: Add author's email address.
6702 2000-07-17 Sam Steingold <sds@gnu.org>
6704 * files.el (insert-directory): Call `split-string' instead of
6707 2000-07-18 Gerd Moellmann <gerd@gnu.org>
6709 * mail/vms-pmail.el: Change maintainer to FSF.
6711 * net/goto-addr.el: Change maintainer to FSF.
6713 * recentf.el: Update from author.
6715 * info.el (Info-title-face-alist): Removed.
6717 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
6719 * eshell/eshell.el (eshell): Replace links to eshell.info with
6720 links to eshell, to avoid problems on systems where the manual is
6721 installed as `eshell'.
6722 * eshell/esh-cmd.el (eshell-cmd): Ditto.
6723 * eshell/em-smart.el (eshell-smart): Ditto.
6724 * eshell/em-banner.el (eshell-banner): Ditto.
6725 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
6727 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
6728 same-file check in the MS-DOS version (it does support inodes).
6730 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
6732 * eshell/eshell.el (eshell-directory-name):
6733 Run default directory name through convert-standard-filename.
6735 2000-07-18 Kenichi Handa <handa@etl.go.jp>
6737 * international/mule-cmds.el (select-safe-coding-system):
6738 Fix typo in the comment.
6740 * language/european.el (compound-text):
6741 Force katakana-jisx0201 to be designated to G1.
6743 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
6744 Don't translate some national variant characters of latin-jisx0201.
6745 (x-ctext): Force katakana-jisx0201 to be designated to G1.
6747 * international/kkc.el (kkc-after-update-conversion-functions):
6749 (kkc-update-conversion): Run functions in it at the tail.
6751 2000-07-16 John Wiegley <johnw@gnu.org>
6753 * lisp/align.el (align-newline-and-indent):
6754 Adding new function. for auto-aligning blocks of code on RET.
6755 (align-region): Fixed badly formatted minibuffer message.
6757 2000-07-17 Kenichi Handa <handa@etl.go.jp>
6759 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
6760 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
6761 the conversion list at first if appropriate.
6762 (kkc-next): Don't update kkc-next-count here.
6763 (kkc-prev): Don't update kkc-prev-count here.
6764 (kkc-show-conversion-list-update): Fix setting up of conversion
6767 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
6769 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
6771 2000-07-16 Dave Love <fx@gnu.org>
6773 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
6774 function to be more specific.
6776 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
6777 non-string help-echo.
6778 (widget-types-convert-widget): Defsubst it.
6779 (widget-echo-help): Try to cope with a help-echo function of two
6782 2000-07-15 Jason Rumney <jasonr@gnu.org>
6784 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
6785 Declare as obsolete.
6787 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
6789 2000-07-14 Gerd Moellmann <gerd@gnu.org>
6791 * hilit-chg.el: Fix typo.
6793 2000-07-14 Dave Love <fx@gnu.org>
6795 * info.el (Info-mode-menu): Fix use of :help, :enable.
6797 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
6799 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
6801 2000-07-13 Dave Love <fx@gnu.org>
6803 * emacs-lisp/easymenu.el: Doc fixes.
6804 (easy-menu-remove): Defalias to ignore.
6806 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
6807 Call throw correctly.
6809 2000-07-13 Gerd Moellmann <gerd@gnu.org>
6811 * faces.el (frame-background-mode): Doc fix.
6813 * simple.el (eval-expression-print-length): Change custom type to
6814 allow entering nil as value.
6816 2000-07-13 Dave Love <fx@gnu.org>
6818 * progmodes/fortran.el (fortran-imenu-generic-expression):
6819 Change definition layout.
6820 (fortran-mode-menu): Reinstate customize entries.
6822 * cus-edit.el (custom-group-menu-create, customize-menu-create):
6823 Use :filter, per old XEmacs code.
6825 2000-07-12 Gerd Moellmann <gerd@gnu.org>
6827 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
6828 event when deciding what to send to the terminal.
6830 2000-07-12 Dave Love <fx@gnu.org>
6832 * cus-start.el: Add optional version as 4th element of specs and
6833 use it for several things new in v21. Remove load-path. Fix type
6834 of line-number-display-limit.
6836 2000-07-11 Dave Love <fx@gnu.org>
6838 * progmodes/fortran.el: Don't require easymenu.
6839 Use repeat counts in various regexps.
6840 (fortran-mode-syntax-table): Defvar directly.
6841 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
6842 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
6843 Use defvar, not defconst.
6844 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
6845 (fortran-mode): Set fortran-comment-line-start-skip,
6846 fortran-comment-line-start-skip, dabbrev-case-fold-search.
6847 (fortran-comment-indent): Use defsubst.
6848 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
6849 Use fortran-comment-indent, not fortran-comment-indent-function.
6850 (fortran-comment-region, fortran-electric-line-number): Simplify.
6851 (fortran-auto-fill): New function.
6852 (fortran-do-auto-fill): Deleted.
6853 (fortran-find-comment-start-skip):
6854 Check for non-null comment-start-skip.
6855 (fortran-auto-fill-mode, fortran-fill-statement):
6856 Use fortran-auto-fill.
6857 (fortran-fill): Use fortran-auto-fill. Check for null
6858 comment-start-skip. Simplify final clause and use end-of-line finally.
6860 * widget.el (widget-plist-member): New alias.
6862 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
6864 * eshell/esh-module.el (toplevel): Reference
6865 byte-compile-current-file only if it is bound.
6867 2000-07-10 Gerd Moellmann <gerd@gnu.org>
6869 * dired.el: Don't require `dired-aux'.
6871 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
6873 * dired-aux.el (dired-show-file-type): New function.
6874 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
6875 (dired-show-file-type): Add autoload.
6877 2000-07-10 Kenichi Handa <handa@etl.go.jp>
6879 * international/mule-diag.el (describe-font): Adjusted for the
6880 change of fontset-info.
6881 (print-fontset): Likewise.
6883 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
6885 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
6887 2000-07-07 Gerd Moellmann <gerd@gnu.org>
6889 * bindings.el: Bind `[delete]' to delete-char.
6891 * dired.el (dired-find-alternate-file): New function.
6892 (dired-mode-map): Bind `a' to dired-find-alternate-file.
6893 (toplevel): Require dired-aux when compiling.
6894 (dired-buffers): Move defvar within file to avoid compiler warning.
6896 * info.el (Info-last-search): Variable removed.
6897 (Info-search-history): New variable.
6898 (Info-search): New Info-search-history.
6900 * battery.el, info-look.el: Change author's mail address.
6902 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
6904 * mail/rmail.el (rmail-clear-headers): Don't throw an error
6905 if rmail-ignored-headers is nil.
6906 (rmail-retry-failure): Bind rmail-ignored-headers and
6907 rmail-displayed-headers to nil.
6909 2000-07-06 Gerd Moellmann <gerd@gnu.org>
6911 * lpr.el (lpr-page-header-switches): Add `-h' switch.
6912 (print-region-1): Don't hard code `-h' here.
6914 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
6916 2000-07-01 Francesco Potorti` <pot@gnu.org>
6918 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
6919 exim can use "your message" instead of "the message".
6921 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
6923 * facemenu.el: Docstrings fixes.
6924 (facemenu-get-face): Don't use internal-find-face.
6925 (facemenu-iterate): Rename arg to match the docstring.
6927 * newcomment.el (uncomment-region): Be more careful when skipping
6928 backwards over `=' not to bump into BOBP.
6930 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
6932 * ediff-diff.el (ediff-wordify): Use syntax table.
6933 * ediff-init.el (ediff-has-face-support-p): Use
6934 ediff-color-display-p.
6935 (ediff-color-display-p): Use display-color-p, changed to defun
6937 Got rid of special cases for NeXT and OS/2.
6938 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
6941 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
6943 * emacs-lisp/lucid.el: Require CL.
6944 (copy-tree, remprop): Remove, it's provided by CL.
6945 (map-keymap): Define in terms of cl-map-keymap.
6946 (extent-property, set-extent-end-glyph): New functions.
6948 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
6950 2000-07-05 Gerd Moellmann <gerd@gnu.org>
6952 * Makefile.in (DONTCOMPILE): Add comment that the name may
6953 not be changed without changing the make-dist script.
6955 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
6956 (cl-mapc): Use mapc instead of cl-old-mapc.
6958 2000-07-05 Andrew Innes <andrewi@gnu.org>
6960 * makefile.nt: Add support for `bootstrap' and related targets.
6962 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
6964 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
6965 (easy-menu-do-define): Use `menu-item' format.
6966 Handle case where easy-menu-create-menu returns a symbol.
6967 Manually call the potential top-level filter in the function binding.
6968 (easy-menu-filter-return): New arg NAME.
6969 Convert to a keymap if MENU is an XEmacs menu.
6970 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
6971 (easy-menu-converted-items-table, easy-menu-convert-item):
6972 New var and fun to memoize easy-menu-convert-item-1.
6973 (easy-menu-do-add-item): Use it.
6974 (easy-menu-create-menu): Use easy-menu-convert-item.
6975 Wrap easy-menu-filter-return around any :filter specification.
6976 Don't convert the menu if a filter was specified.
6977 Tell easy-menu-make-symbol not to check for MENU being an expression.
6978 (easy-menu-make-symbol): New arg NOEXP.
6980 2000-07-05 Gerd Moellmann <gerd@gnu.org>
6982 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
6983 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
6984 (eval-defun): If called with prefix arg, instrument code for
6987 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
6988 similar to that of eval-defun.
6990 2000-07-04 Dave Love <fx@gnu.org>
6992 * hl-line.el (hl-line-overlay): Make it permanent-local.
6994 * calendar/todo-mode.el: Replaced with a working version, based on
6995 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
6997 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
6999 * paths.el (prune-directory-list): New function.
7000 (Info-default-directory-list): Rewritten to more methodically
7001 enumerate a big list of possible info directories (based on the
7002 list used by the standalone info reader).
7004 * info.el (info-initialize): Use prune-directory-list to remove
7005 non-existent directories from Info-directory-list.
7007 * paths.el (Info-default-directory-list): Try a list of possible
7008 info-directories instead of a single one. Add the possible
7009 info directory "/usr/share/info".
7011 * woman.el (woman-man.conf-path): Explicitly include the debian
7012 man-db config file "/etc/manpath.config".
7013 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
7014 are present in `manpath.config'.
7015 (woman-manpath): Include "/usr/share/man".
7017 2000-07-03 Gerd Moellmann <gerd@gnu.org>
7019 * frame.el (blink-cursor-mode): Don't hide cursor initially.
7021 * startup.el (command-line): Initialize blink-cursor based
7024 * frame.el (blink-cursor): Default to nil if not running under
7027 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
7028 (face-x-resources): Remove duplicate entry for :font.
7030 * textmodes/refer.el (refer-find-entry-internal): Use some-window
7031 instead of cycling through windows with next-window.
7033 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
7034 of cycling through windows with next-window.
7036 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
7037 of cycling through windows with next-window.
7039 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
7040 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
7041 instead of cycling through windows with next-window.
7043 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
7044 instead of cycling through windows with next-window.
7046 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
7047 of cycling through windows with next-window.
7049 * terminal.el (te-process-output): Use walk-windows instead of
7050 cycling through windows with next-window.
7052 * server.el (server-switch-buffer): Use some-window instead of
7053 cycling through windows with next-window.
7055 * window.el (some-window): New function.
7056 (walk-windows): Remove reference to walk-windows-start.
7058 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
7060 2000-07-03 Richard Stallman <rms@gnu.org>
7062 * window.el (walk-windows): Guarantee termination by keeping a list
7063 of all the windows already handled.
7065 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
7067 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
7070 * man.el (Man-notify-when-ready): Don't use window-system. If
7071 Man-notify-method is newframe, and the display is not
7072 multi-frame, select the frame created for the man page.
7073 (Man-init-defvars): Doc fix.
7075 2000-06-28 Gerd Moellmann <gerd@gnu.org>
7077 * faces.el (region): Change background color for light background.
7079 * ediff-wind.el (ediff-setup-control-frame): Remove :box
7080 attribute from mode-line face of Ediff control frame.
7082 * replace.el (query-replace-map): Bind `e' like `E'.
7084 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
7086 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
7087 Change name to "Select All".
7089 * dos-fns.el (convert-standard-filename): Fix last change.
7091 2000-06-27 Gerd Moellmann <gerd@gnu.org>
7093 * help.el (describe-variable): Don't insert a second `'s' in front
7094 of the string `value is shown below'. Since the syntax-table is
7095 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
7096 an existing `'s', so that this won't be deleted.
7098 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
7099 * pcmpl-unix.el: New files.
7101 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
7103 * wid-edit.el (widget-member): Use the new plist-member.
7105 2000-06-26 Gerd Moellmann <gerd@gnu.org>
7107 * replace.el (perform-replace): Undo change of 2000-04-04.
7108 Instead, move backward 1 character at the end of the loop when
7111 * faces.el (fringe): Change face for different backgrounds.
7113 * eshell/esh-module.el (toplevel): Load defgroup's differently;
7116 * eshell/*.el: Change spelling of the Free Software Foundation.
7118 * eshell/esh-toggle.el: Removed.
7120 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
7122 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
7125 2000-06-26 Alex Schroeder <alex@gnu.org>
7127 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
7128 `define-key'; instead of checking `(emacs-version)' check for
7129 `set-keymap-parent' and `set-keymap-name' directly. Add entries
7130 for `;' and `o' which might be electric.
7132 (sql-electric-stuff): New user option.
7133 (sql-magic-go): New function which uses `sql-electric-stuff'.
7134 (sql-magic-semicolon): New function which uses
7135 `sql-electric-stuff'.
7137 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
7140 (sql-oracle-options): New variable.
7141 (sql-oracle): Use it.
7143 (sql-imenu-generic-expression): Doc change.
7144 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
7147 (sql-informix): Added command line parameter "-" to force
7148 sql-informix-program to use stdout.
7150 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
7152 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
7153 (cp864-decode-table): Doc fix.
7154 (cp720-decode-table): New variable, supports the Arabic OEM
7155 codepage used by Windows.
7156 (cp737-decode-table): New, Greek OEM codepage used by Windows.
7158 2000-06-23 Dave Love <fx@gnu.org>
7160 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
7161 (font-lock-fontify-anchored-keywords): Use
7162 line-beginning-position.
7163 (global-font-lock-mode): Use mapc.
7165 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
7167 * eshell/esh-module.el: Require CL when compiling.
7169 2000-06-23 Gerd Moellmann <gerd@gnu.org>
7171 * comint.el (comint-substitute-in-file-name): Call replace-match
7172 with second and third arg t.
7174 * cus-edit.el (custom-button-face, custom-button-pressed-face):
7175 Specify foreground color.
7177 * faces.el (tool-bar, mode-line, header-line): Specify foreground
7180 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
7182 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
7183 cddr instead of cdddr.
7185 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
7186 instead of copy-list.
7188 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
7191 * subdirs.el: Add eshell subdirectory.
7193 * eshell: New subdirectory containing the Eshell package.
7195 * pcomplete.el: New file.
7197 2000-06-23 Paul Eggert <eggert@twinsun.com>
7199 * mail/mailpost.el (post-mail-send-it): Make sure file has
7200 proper permissions from birth.
7202 * files.el (basic-save-buffer-2): When temporarily setting
7203 file modes, set them to current modes plus 0200, not to 0777.
7205 * emerge.el (emerge-make-temp-file): Make sure file has proper
7206 permissions from birth.
7208 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
7210 * files.el (make-backup-file-name-1): On DOS/Windows, run the
7211 backup file name through convert-standard-filename.
7213 * dos-fns.el (convert-standard-filename): Convert leading
7214 directories as well. When long file names are supported, convert
7215 characters that are invalid in Windows file names.
7217 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7219 * ps-print.el: Fix bug: if ^L is the very first buffer character,
7220 ps-print crashes. New feature: page selection for printing. Create
7221 raw-text-unix coding system for XEmacs. Doc fix.
7222 (ps-print-version): New version number (5.2.3).
7223 (ps-plot-region): Bug fix.
7224 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
7225 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
7226 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
7228 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
7229 (ps-last-page): New vars.
7231 2000-06-21 Gerd Moellmann <gerd@gnu.org>
7233 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
7234 empty option string.
7236 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
7238 * man.el (man): Doc fix.
7240 2000-06-21 Kenichi Handa <handa@etl.go.jp>
7242 * international/mule-cmds.el (set-language-info-alist): Docstring
7245 2000-06-20 Gerd Moellmann <gerd@gnu.org>
7247 * version.el (emacs-version): Use ISO date format.
7249 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
7250 instead of `M-backspace'.
7252 * simple.el (turn-off-auto-fill): New function.
7254 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
7256 * jit-lock.el (with-buffer-prepared-for-jit-lock):
7257 Renamed from with-buffer-prepared-for-font-lock and use
7258 inhibit-modification-hooks rather than setting *-change-functions.
7259 Update all functions to use the new name.
7260 (jit-lock-first-unfontify-pos): New semantics (and doc).
7261 (jit-lock-mode): Make non-interactive.
7262 Don't automatically turn on font-lock.
7263 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
7264 Always use jit-lock-after-change.
7265 Remove and restore font-lock-after-change-function.
7266 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
7267 (jit-lock-after-unfontify-buffer): Remove.
7268 (jit-lock-stealth-fontify):
7269 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
7270 (jit-lock-after-change): Set the `fontified' text-prop to nil.
7272 2000-06-20 Sam Steingold <sds@gnu.org>
7274 * emacs-lisp/cl-indent.el (toplevel): Indent
7275 `print-unreadable-object' properly. Untabify.
7277 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
7279 * textmodes/reftex.el (reftex-find-citation-regexp-format):
7280 Support for bibentry.
7281 (reftex-compile-variables): Fixed problem with end of section-re.
7283 * texmodes/reftex-dcr.el (reftex-view-crossref,
7284 reftex-view-crossref-from-bibtex):
7285 Deal with changed `reftex-find-citation-regexp-format'.
7286 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
7287 Replaced `remprop' with `put'.
7288 (reftex-view-crossref, reftex-view-crossref-when-idle):
7289 Support for bibentry.
7291 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
7292 New entry for bibentry package.
7294 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
7295 Regexp also matches "\nobibliography".
7297 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
7298 Call `reftex-ensure-write-access' before doing anything.
7299 (reftex-ensure-write-access): New function.
7301 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
7303 * progmodes/idlwave.el: File re-installed (update to version 4.2)
7305 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
7307 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
7309 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
7312 2000-06-20 Dave Love <fx@gnu.org>
7314 * faces.el (frame-background-mode): Use set-default, not set, in
7316 (frame-update-faces, frame-update-face-colors): Define with
7319 * enriched.el (enriched-decode-foreground)
7320 (enriched-decode-background): Don't use internal-find-face.
7322 * apropos.el: Doc fixes.
7324 * cus-edit.el (customize-changed-options): Check arg.
7325 (customize-version-lessp): Don't require decimal point.
7327 * custom.el (defcustom, defgroup): Doc fix.
7329 * newcomment.el (comment) <defgroup>: Add :version.
7330 (comment-multi-line): Doc fix.
7332 * emulation/mlsupport.el (define-hooked-local-abbrev,
7333 define-hooked-global-abbrev): Fix, using define-abbrev.
7335 2000-06-19 Gerd Moellmann <gerd@gnu.org>
7337 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
7340 2000-06-19 Dave Love <fx@gnu.org>
7342 * menu-bar.el (menu-bar-options-save): New function.
7343 (menu-bar-options-menu): Use it.
7344 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
7347 2000-06-19 Andreas Schwab <schwab@suse.de>
7349 * progmodes/etags.el (tags-query-replace): Put new parameters
7350 START and END at the end, for backward compatibility.
7352 2000-06-19 Kenichi Handa <handa@etl.go.jp>
7354 * international/codepage.el:
7355 (cp-coding-system-for-codepage-1): Delete special codes for
7356 generating xxx-dos coding system because now a CCL based coding
7357 system can handle EOL conversion by default.
7359 * international/mule.el (make-coding-system): Generate subsidiary
7360 coding systems for EOL handling variants even for a CCL based
7363 2000-06-19 Kenichi Handa <handa@etl.go.jp>
7365 * international/isearch-x.el (isearch-minibuffer-input-method)
7366 (isearch-minibuffer-input-method-function): These variables
7368 (isearch-with-input-method): Don't use the above variables.
7369 (isearch-process-search-multibyte-characters): Likewise. Call
7370 read-string with the arg INHERIT-INPUT-METHOD t.
7372 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
7374 * font-lock.el (font-lock-after-fontify-buffer)
7375 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
7377 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
7378 Use consistent make-local-variable style for font-lock-fontified.
7379 (jit-lock-fontify-buffer):
7380 Don't bother checking for font-lock-mode and jit-lock-mode.
7382 * time.el: Remove trailing ^M that prevent CVS-merging.
7384 2000-06-16 Gerd Moellmann <gerd@gnu.org>
7386 * Makefile.in (distclean): New target.
7388 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
7390 * Makefile.in (srcdir): Define for update-subdirs.
7392 2000-06-16 Gerd Moellmann <gerd@gnu.org>
7394 * find-lisp.el: New file.
7396 2000-06-16 Andrew Innes <andrewi@gnu.org>
7398 * time.el (display-time-mail-function): New variable, to allow
7399 external packages to indicate when new mail is available.
7400 (display-time-update): Use it.
7402 2000-06-16 Kenichi Handa <handa@etl.go.jp>
7404 * international/mule.el (mule-version): Change version name to
7405 SAKAKI. AOI has already been used by Meadow.
7407 * international/quail.el (quail-show-guidance-buf): To find the
7408 bottom window (but minibuffer), pay attention to the height of
7411 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
7413 * arc-mode.el (archive-mode-map): Use the new menu-item format for
7414 menu-bar menus. Add help strings. Don't remove the Edit menu
7415 from the menu bar, as the menu bar has enough space now.
7417 * Makefile.in (SHELL): Make sure /bin/sh is used.
7419 * woman.el (woman-man-buffer): Fix bold and underlined CJK
7420 characters, which use series of two ^H characters instead of one.
7422 2000-06-15 Gerd Moellmann <gerd@gnu.org>
7424 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
7425 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
7427 (Info-find-node-2): Try a case-sensitive search first, then
7428 do a case-insensitive search.
7430 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
7433 * complete.el (PC-env-vars-alist): New variable.
7434 (PC-complete-as-file-name): New function.
7435 (partial-completion-mode): Initialize PC-env-vars-alist from
7436 process-environment.
7437 (PC-do-completion): Handle completion of env vars.
7439 * info.el (Info-set-mode-line): Show file name in mode line,
7440 use `*Info*' instead of `Info:'.
7442 * startup.el (command-line-1): Change copyright messages to year
7445 2000-06-15 Dave Love <fx@gnu.org>
7447 * net/goto-addr.el (goto-address-fontify): Use keymap property,
7450 2000-06-15 Kenichi Handa <handa@etl.go.jp>
7452 * international/mule.el (set-buffer-file-coding-system): Almost
7453 rewritten to handle `undecided' as no-op.
7455 2000-06-14 Gerd Moellmann <gerd@gnu.org>
7457 * Makefile.in: New file.
7459 * Makefile: Removed.
7461 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
7462 (goto-address-highlight-keymap): Bind C-c RET.
7464 2000-06-14 Kenichi Handa <handa@etl.go.jp>
7466 * mail/sendmail.el (sendmail-send-it): The temporary buffer
7467 inherits buffer-file-coding-system of the current buffer.
7469 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
7470 0. Give correct argument to set-auto-coding-function.
7471 (tar-expunge): For goto-char, use (point-min), not 0.
7472 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
7473 (tar-subfile-save-buffer): Likewize.
7475 * international/mule.el
7476 (after-insert-file-set-buffer-file-coding-system): Call
7477 set-buffer-file-coding-system with the arg FORCE t.
7479 2000-06-13 Gerd Moellmann <gerd@gnu.org>
7481 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
7482 nil. Contemporary sendmails issue an X-Authentication-Warning if
7483 the sender is set with `-f'.
7485 2000-06-13 Dave Love <fx@gnu.org>
7487 * help.el (describe-function-1): Kluge around cases of functions
7488 fset to subrs whose doc doesn't match their symbol-name.
7490 * image.el (insert-image): Default STRING to a space.
7492 * info.el Doc fixes.
7493 (Info-build-node-completions): Match Ref tags.
7495 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
7497 * frame.el (display-multi-frame-p, display-multi-font-p): New
7498 defaliases for display-graphic-p.
7500 * hl-line.el: Fixed a typo in commentary.
7502 2000-06-13 Kenichi Handa <handa@etl.go.jp>
7504 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
7507 2000-06-12 Dave Love <fx@gnu.org>
7509 * image.el (insert-image): Save a little consing.
7511 2000-06-12 Kenichi Handa <handa@etl.go.jp>
7513 * language/tibet-util.el: Convert all tibetan-1-column characters
7514 to the corresponding tibetan characters.
7515 (tibetan-add-components): Delete code for the special treatment of
7518 * language/tibetan.el (tibetan-composable-pattern): Fix previous
7520 (tibetan-vowel-transcription-alist): More rules added.
7521 (tibetan-composite-vowel-alist): New variable.
7522 (tibetan-precomposition-rule-alist): More rules added.
7524 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
7526 * startup.el (command-line): Only call menu-bar-mode if interactive.
7528 * thingatpt.el (toplevel symbol-properties):
7529 * textmodes/makeinfo.el (makeinfo-compile):
7530 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
7531 * progmodes/hideif.el (hif-compress-define-list)
7532 (hide-ifdef-use-define-alist):
7533 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
7534 (ange-ftp-vms-add-file-entry):
7535 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
7536 * man.el (Man-build-man-command):
7537 * mail/rnewspost.el (news-reply-header-hook):
7538 * info.el (Info-insert-dir):
7539 * emulation/mlconvert.el (backward-word, forward-word, setq):
7540 * emacs-lisp/gulp.el (gulp-send-requests):
7541 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
7542 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
7543 (byte-optimize-apply, end of file):
7544 * emacs-lisp/advice.el (ad-advice-class-completion-table)
7545 (ad-make-freeze-definition):
7546 * startup.el (command-line, command-line-1): Don't quote lambdas.
7548 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
7549 (cvs-cleanup-removed): New function.
7550 (cvs-cleanup-functions): New var.
7551 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
7552 some flexibility in specifying additional entries to auto-cleanup.
7553 (cvs-quickdir): New function.
7554 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
7555 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
7556 (cvs-mode-find-file): Check that we are on a filename or dirname
7557 when invoked through a mouse-click.
7558 (cvs-full-path): Remove.
7559 (cvs-dired-action): Re-introduced.
7560 (cvs-dired-noselect): Use it.
7561 (vc-post-command-functions): use this new hook if available.
7563 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
7564 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
7565 (cvs-filename-map, cvs-dirname-map): Remove.
7566 (cvs-default-action): Remove.
7567 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
7568 if the arg is really a keymap.
7569 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
7570 Don't hardcode the mapping from state (aka type) to face, but check
7571 the var cvs-fi-<type>-face instead.
7572 (cvs-fileinfo-from-entries): New function.
7574 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
7576 (cvs-find-file-and-jump): Change default to be safer.
7577 (cvs-mode-diff-map): Define it as a function as well.
7578 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
7579 Bind mouse-2 in this global map rather than with text-properties.
7581 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
7582 file to resolve the ambiguity between C(conflict) and C(need-merge).
7584 2000-06-12 Kenichi Handa <handa@etl.go.jp>
7586 * international/mule.el (set-buffer-file-coding-system): If
7587 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
7590 2000-06-12 Dave Love <fx@gnu.org>
7592 * wid-edit.el (widget-specify-button): Really suppress the face if
7595 2000-06-11 Gerd Moellmann <gerd@gnu.org>
7597 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
7599 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
7601 * imenu.el (imenu-generic-expression): Docstring fix.
7603 * composite.el (composition-function-table): Move the `put'
7604 below the autoload cookie so we can load the file before loaddefs.
7606 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
7608 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
7609 Handle easy-mmode-define-global-mode.
7610 For complex macros like define-minor-mode that can generate
7611 several autoload entries, try to autoload entries in the
7614 * emacs-lisp/easy-mmode.el (define-minor-mode):
7615 If KEYMAP is a symbol, just use it.
7616 Use byte-compile-current-file and load-file-name to infer the
7617 proper :require to pass to defcustom.
7618 Wrap the hook var into `progn' so as not to autoload it.
7619 Add a :autoload-end cookie.
7620 Be more careful about the evaluation of KEYMAP.
7621 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
7622 (define-derived-mode): Move define-abbrev-table outside of defvar.
7624 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
7626 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
7627 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
7628 (backup-compiled-files): Ignore errors during `tar'.
7629 (bootstrap): Make autoloads before elc files.
7631 2000-06-10 Kenichi Handa <handa@etl.go.jp>
7633 * international/mule.el (set-buffer-file-coding-system): If one of
7634 undecided-XXX is specified, change only EOL conversion.
7636 * international/mule-conf.el (unix): New alias for the coding
7637 system undecided-unix.
7639 2000-06-09 Dave Love <fx@gnu.org>
7641 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
7643 * progmodes/executable.el: Byte compile dynamic.
7644 (executable-insert): Change custom type.
7645 (executable-find): Add autoload cookie.
7646 (executable-make-buffer-file-executable-if-script-p): New
7647 function. After Noah Friedman.
7649 * files.el (after-save-hook): Customize, with
7650 executable-make-buffer-file-executable-if-script-p as an option.
7652 2000-06-09 Kenichi Handa <handa@etl.go.jp>
7654 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
7655 "tib24p-mule.bdf" for Tibetan.
7657 * composite.el (decompose-composite-char): Declare it as obsolete.
7659 * man.el (Man-fontify-manpage): Pay attention to underline and
7660 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
7662 2000-06-08 Gerd Moellmann <gerd@gnu.org>
7664 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
7665 Set maintainer to FSF since author isn't reachable.
7667 2000-06-08 Dave Love <fx@gnu.org>
7669 * international/mule-cmds.el (select-safe-coding-system): If
7670 DEFAULT-CODING-SYSTEM is not specified, also check the most
7671 preferred coding-system if buffer-file-coding-system is
7672 `undecided'. From Handa.
7674 2000-06-08 Kenichi Handa <handa@etl.go.jp>
7676 * international/mule.el
7677 (after-insert-file-set-buffer-file-coding-system): If the buffer
7678 size is greater than INSERTED, judget that we are not visiting.
7680 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
7682 * whitespace.el (defgroup whitespace): Comment out `:version'.
7683 XEmacs 20.4 has problems defining the group with this present.
7684 We'll have this commented out till get resolve the problem.
7686 2000-06-07 Gerd Moellmann <gerd@gnu.org>
7688 * align.el: Update from author.
7690 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
7692 * apropos.el (apropos-mode-hook): New user variable.
7693 (apropos-mode): Run apropos-mode-hook.
7695 2000-06-07 David Ponce <david@dponce.com>
7697 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
7698 commands. Require `wid-edit' at run-time.
7700 2000-06-07 David Ponce <david@dponce.com>
7702 * recentf.el: Added some "Commentary".
7703 (recentf-open-more-files, recentf-edit-list): Minor changes to
7704 move the point at the top of the file list. This behaviour is
7705 consistent with the menu one when the list contains a lot of
7707 (recentf-cleanup): Now displays the number of items removed from
7709 (recentf-relative-filter) New menu filter to show filenames
7710 relative to `default-directory'.
7712 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7714 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
7715 with/without giving an error if PostScript printer doesn't have this
7716 kind of page size. Zebra Stripe continues or restarts on next page.
7717 Manual/automatic paper feeding. Switch or not the header.
7718 (ps-print-version): New version number (5.2.2).
7719 (ps-windows-system): Include emx as a Windows system.
7720 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
7721 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
7722 (ps-background-text): Code fix.
7723 (ps-error-handler-message, ps-user-defined-prologue)
7724 (ps-print-prologue-header, ps-printer-name)
7725 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
7726 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
7727 (ps-use-face-background): Customization fix.
7728 (ps-n-up-database): Data fix.
7729 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
7730 (ps-switch-header): New vars.
7731 (ps-xemacs-color-name, ps-face-foreground-name)
7732 (ps-face-background-name, ps-boolean-constant): New funs.
7734 2000-06-07 Dave Love <fx@gnu.org>
7736 * allout.el: New version from Manheimer.
7738 2000-06-07 Kenichi Handa <handa@etl.go.jp>
7740 * textmodes/fill.el (fill-find-break-point): Check the validity of
7743 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7745 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
7746 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
7747 Call display-color-p and display-mouse-p instead of looking at
7750 2000-06-06 Dave Love <fx@gnu.org>
7752 * image.el (find-image): Doc fix. Return nil if image not found.
7753 (put-image, insert-image): Make STRING arg optional.
7755 2000-06-06 Kenichi Handa <handa@etl.go.jp>
7757 * language/vietnamese.el: Remove eval-when-compile.
7758 (viet-viscii-nonascii-translation-table): Define it as a
7759 translation table made from viet-viscii-decode-table.
7760 (viet-viscii-encode-table): Define it as a translation table made
7761 from the reverse map of above.
7762 (viet-vscii-nonascii-translation-table): Define it as a
7763 translation table made from viet-vscii-decode-table.
7764 (viet-vscii-encode-table): Define it as a translation table made
7765 from the reverse map of above.
7766 (ccl-decode-viscii): Use translate-character.
7767 (ccl-encode-viscii, ccl-encode-viscii-font)
7768 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
7771 * language/cyrillic.el: Remove eval-when-compile.
7772 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
7773 translation table made from cyrillic-koi8-r-decode-table.
7774 (cyrillic-koi8-r-encode-table): Define it as a translation table
7775 made from the reverse map of above.
7776 (ccl-decode-koi8): Use translate-character.
7777 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
7778 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
7779 a translation table made from cyrillic-alternativnyj-decode-table.
7780 (cyrillic-alternativnyj-encode-table): Define it as a translation
7781 table made from the reverse map of above.
7782 (ccl-decode-alternativnyj): Use translate-character.
7783 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
7786 * international/mule-diag.el (non-iso-charset-alist): Specify
7787 translation table symbol instead of translation table itself.
7788 (list-block-of-chars): CHARSET may be a translation table symbol.
7790 * international/mule.el (make-coding-system): If CODING-SYSTEM
7791 already exists, override it.
7793 * international/fontset.el: Use family `proportional' for Tibetan
7796 * international/ccl.el (ccl-compile-translate-character): Don't
7797 check if Rrr has property translation-table.
7798 (ccl-compile-map-multiple): Modified to avoid compiler warning.
7800 2000-06-05 Gerd Moellmann <gerd@gnu.org>
7802 * info.el: Bind case-fold-search to t when searching in case
7803 a user sets it to nil in a hook.
7805 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
7807 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7808 * hl-line.el (hl-line-mode): Use the new :global key argument.
7810 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
7811 (tar-clip-time-string): Prepend a space.
7812 (tar-grind-file-mode): Construct a string rather than modifying one.
7813 (tar-header-block-summarize): Fix docstring.
7814 Use `format' rather than an error-prone set of copy-loops.
7816 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
7817 (diff-goto-source, diff-unified->context, diff-context->unified)
7818 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
7819 understand the format output by the `-p' argument to diff.
7821 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
7822 (sh-re-done): Use defconst.
7823 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
7824 (sh-help-string-for-variable, sh-guess-basic-offset):
7825 Don't quote lambdas.
7826 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
7827 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
7829 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
7830 (mh-letter-mode): Derive from text-mode.
7831 This implicitly means that it now calls kill-all-local-variables.
7832 Also remove the Emacs-18 compatibility code.
7834 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
7835 Make use of symbol-property doc-string-elt.
7836 Use memq rather than a sequence of eq.
7837 (doc-string-elt): Fix the wrong or missing previously unused values.
7838 (autoload-print-form): New function extracted from
7839 generate-file-autoloads to allow recursion when handling progn
7840 so that defvar's and defun's docstrings are properly printed.
7841 (generate-file-autoloads): Use it.
7843 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
7844 Use find-file-hooks in the minor-mode function.
7845 Be careful not to loop indefinitely in the post-command-hook function.
7847 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
7849 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
7851 * ediff-diff.el (ediff-exec-process): Use --binary for fine
7852 differences whenever appropriate.
7853 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
7854 * viper.el (find-file, find-file-other-window): Get viper to do
7857 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
7859 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
7860 (jit-lock-fontify-buffer): New function for JIT refontification.
7861 (jit-lock-mode): Fix docstring.
7862 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
7863 Remove jit-lock-after-change from the _local_ hook.
7864 (jit-lock-function-1): Fix docstring.
7866 * info.el (Info-on-current-buffer): Initialize info.
7868 * newcomment.el (comment-indent): Ignore comment-indent-hook.
7870 * progmodes/tcl.el (tcl-indent-for-comment):
7871 Ignore comment-indent-hook.
7873 * emacs-lisp/easy-mmode.el: Require CL during compilation.
7874 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
7875 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
7876 and improve to use the lighter to guess the capitalization.
7877 (define-minor-mode): Inline code from easy-mmode-define-toggle.
7878 Add keyword arguments to specify global-ness or the custom group.
7879 Add local-map and help-echo properties to the lighter.
7880 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
7881 (easy-mmode-define-global-mode): New macro.
7883 2000-06-02 Dave Love <fx@gnu.org>
7885 * wid-edit.el: byte-compile-dynamic since we typically don't use
7886 all the widgets. Don't require cl or widget. Remove
7887 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
7888 (widget-read-event): Removed. Callers changed to use read-event.
7889 (widget-button-release-event-p): Renamed from
7890 button-release-event-p.
7891 (widget-field-add-space, widget-field-use-before-change):
7893 (widget-specify-field): Use keymap property, not local-map.
7894 (widget-specify-button): Obey :suppress-face.
7895 (widget-specify-insert): Use modern backquote syntax.
7896 (widget-image-directory): Renamed from widget-glyph-directory.
7897 (widget-image-enable): Renamed from widget-glyph-enable.
7898 (widget-image-find): Replaces widget-glyph-find.
7899 (widget-button-pressed-face): Move defvar.
7900 (widget-image-insert): Replaces widget-glyph-insert.
7901 (widget-convert): Use keywordp.
7902 (widget-leave-text, widget-children-value-delete): Use mapc.
7903 (widget-keymap): Remove XEmacs stuff.
7904 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
7905 (widget-button-click): Don't set point at the click, but re-centre
7906 if we scroll out of window. Rewritten for images v. glyphs &c.
7907 (widget-tabable-at): Use POS arg, not point.
7908 (widget-beginning-of-line, widget-end-of-line)
7909 (widget-item-value-create, widget-sublist, widget-princ-to-string)
7910 (widget-sexp-prompt-value, widget-echo-help): Simplify.
7911 (widget-default-create): Use widget-image-insert; some rewriting.
7912 (widget-visibility-value-create)
7913 (widget-push-button-value-create, widget-toggle-value-create): Use
7914 widget-image-insert.
7915 (checkbox): Create on and off images dynamically.
7916 (documentation-link): Change :help-echo.
7917 (widget-documentation-link-echo-help): Remove.
7919 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
7921 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
7923 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
7924 (easy-mmode-define-toggle, define-minor-mode): Use it.
7925 (easy-mmode-define-keymap): Docstring fix.
7926 (define-derived-mode): Default PARENT to fundamental-mode.
7927 Add the derived-mode-parent symbol-property.
7928 (easy-mmode-derived-mode-p): New function.
7930 2000-06-02 Dave Love <fx@gnu.org>
7932 * files.el (convert-standard-filename): Doc fix.
7933 (normal-backup-enable-predicate): New function.
7934 (backup-enable-predicate): Use it to replace the lambda form.
7936 * calendar/todo-mode.el: [This needs more work on the outline
7938 (todo) <defgroup>: Add :version.
7939 (todo-add-category): Don't use pushnew.
7940 (todo-cmd-raise): Fix typo.
7941 (todo-top-priorities): Change temp buffer name.
7942 (todo-category-alist): Avoid redundant lambda.
7943 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
7944 Use outline-next-heading.
7946 * autoarg.el: Rewritten to use define-minor-mode.
7947 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
7948 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
7950 2000-06-02 Kenichi Handa <handa@etl.go.jp>
7952 * isearch.el (isearch-other-meta-char): Fix previous change.
7954 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
7956 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
7957 (log-edit-done): Only add the comment to the ring if it's different
7958 from the last comment entered.
7960 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
7962 2000-06-01 Dave Love <fx@gnu.org>
7964 * hl-line.el: Rewritten using define-minor-mode.
7966 * help.el (describe-function-1): Distinguish special form from
7967 builtin function. Sanity-check presence of arglist for builtins.
7969 2000-06-01 Kenichi Handa <handa@etl.go.jp>
7971 * international/characters.el: Fix syntax/category setting of
7974 * language/tibet-util.el (tibetan-add-components): Fixes for new
7975 encoding of Tibetan characters.
7976 (tibetan-decompose-precomposition-alist): New variable.
7977 (tibetan-decompose-region): Convert precomposed characters to
7978 non-precomposed characters.
7979 (tibetan-decompose-string): Likewise.
7980 (tibetan-composition-function): Fix args to
7981 thibetan-compose-string.
7983 * language/tibetan.el (tibetan-composable-pattern): More
7984 characters included.
7985 (tibetan-consonant-transcription-alist): Rule for "R" added.
7986 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
7988 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
7990 * language/lao-util.el (lao-composition-function): Fix args to
7993 * language/thai-util.el (thai-composition-function): Fix args to
7996 * isearch.el (isearch-update): Set disable-point-adjustment to t
7997 to prevent the point moving to the end of a composition when a
7998 part of a composition is searched.
7999 (isearch-other-meta-char): If the key invoking this command can be
8000 mapped by function-key-map to a printing char, call
8001 isearch-process-search-char directly.
8003 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
8005 * emacs-lisp/bytecomp.el:
8007 * international/mule-cmds.el:
8008 * international/mule-util.el:
8009 * international/mule.el:
8012 * faces.el: Update calls to make-obsolete with a WHEN argument.
8014 * byte-run.el (make-obsolete, make-obsolete-variable):
8015 Add an optional WHEN argument and change the format of the
8016 symbol-property information.
8017 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
8018 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
8019 new obsolete-symbol-property format and print WHEN if it is provided.
8021 2000-05-31 Dave Love <fx@gnu.org>
8023 * loadhist.el (loadhist-hook-functions): Remove
8024 before-change-function, after-change-function.
8025 (unload-feature): Deal with symbols which are both bound and
8028 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
8029 before-change-function, after-change-function.
8031 * simple.el (newline): Don't bind before-change-function,
8032 after-change-function.
8034 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
8036 * whitespace.el (whitespace-rescan-timer-time): Update interval
8037 set to 600 seconds (10 minutes) instead of 60 seconds since
8038 a large number of whitespace buffers causes emacs to `freeze'
8039 for a considerable amount of time.
8041 * whitespace.el: Updated email address
8043 2000-05-31 Dave Love <fx@gnu.org>
8045 * add-log.el (change-log-font-lock-keywords) <function>: Add
8046 pattern for function of change.
8047 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
8048 acknowledgements patterns.
8050 2000-05-31 Kenichi Handa <handa@etl.go.jp>
8052 * isearch.el (isearch-printing-char): If keyboard coding system is
8053 being used, call isearch-process-search-multibyte-characters.
8055 * international/isearch-x.el: Mostly rewritten.
8057 * international/quail.el (quail-start-conversion): Don't include
8058 unhandled events in the returned events, but set them in
8059 unread-command-events. Exit if all inputs are deleted.
8061 2000-05-30 Jason Rumney <jasonr@gnu.org>
8063 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
8065 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
8066 Reenable code to create initial fontsets.
8067 Use set-fontset-font in place of put-charset-property.
8069 2000-05-30 Gerd Moellmann <gerd@gnu.org>
8071 * progmodes/perl-mode.el (perl-indent-line): When looking for a
8072 label, ensure that the first colon isn't followed by another.
8074 * paths.el (Info-default-directory-list): Doc fix.
8076 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
8077 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
8078 send a query containing USER only, not USER@HOST.
8080 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
8081 and rmail-msgend to compute the restriction at the end, instead of
8084 2000-05-29 Gerd Moellmann <gerd@gnu.org>
8086 * dabbrev.el (dabbrev-expand): Don't display messages in the
8087 echo area if the minibuffer window is active.
8089 * jit-lock.el (jit-lock-mode): Add after change function to
8092 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
8094 * antlr-mode.el: New commands: hide/unhide actions,
8095 upcase/downcase literals.
8096 (antlr-tiny-action-length): New user option.
8097 (antlr-hide-actions): New command. Suggested by
8098 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
8099 (antlr-mode-map): New binding [C-c C-v].
8100 (antlr-mode-menu): New entries.
8101 (antlr-downcase-literals): New command.
8102 (antlr-upcase-literals): Ditto.
8104 * antlr-mode.el: Minor changes: indendation, mode-name.
8105 (antlr-indent-line): Indent cpp directive at column 0.
8106 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
8108 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
8109 (antlr-font-lock-additional-keywords): Workaround for intentional
8110 bug in XEmacs version of font-lock.
8111 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
8112 be used by a smarter version of `buffers-menu-grouping-function'.
8114 2000-05-29 Gerd Moellmann <gerd@gnu.org>
8116 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
8117 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
8119 2000-05-29 Kenichi Handa <handa@etl.go.jp>
8121 * international/encoded-kb.el
8122 (encoded-kbd-iso2022-designation-map): Pay attention to that
8123 charset-iso-final-char return -1 for eight-bit-control and
8126 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
8128 * speedbar.el (speedbar-use-images, speedbar-update-flag)
8129 (speedbar-easymenu-definition-base): Use display-graphic-p where
8130 available, instead of window-system.
8132 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
8134 * international/codepage.el (cp-coding-system-for-codepage-1): Add
8135 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
8138 2000-05-26 Dave Love <fx@gnu.org>
8140 * disp-table.el (standard-display-underline): Don't use
8143 * mail/reporter.el: Maintainer change. Doc fixes.
8144 (reporter-version): Deleted.
8146 * emacs-lisp/elp.el: Maintainer change.
8147 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
8149 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
8151 * add-log.el (add-change-log-entry): Merge the current entry with the
8152 previous one if the previous one is empty.
8154 2000-05-26 Dave Love <fx@gnu.org>
8156 * loadhist.el (unload-feature): Fix interactive spec [from
8157 lijnzaad@ebi.ac.uk].
8159 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
8160 subr-arity to check primitives.
8161 (byte-compile-flush-pending, byte-compile-file-form-progn)
8162 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
8163 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
8166 2000-05-26 Kenichi Handa <handa@etl.go.jp>
8168 * international/fontset.el: Set family names of non-latin charsets
8169 in default fontset to "*".
8171 * international/mule-diag.el (print-fontset): Combine family part
8172 and registry part of the fontname by "-*-" instead of "-".
8174 * international/mule-cmds.el (encode-coding-char): Make strings
8175 multibyte before calling encode-coding-string.
8177 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
8179 * derived.el: Fix keywords.
8180 (define-derived-mode): Only define if needed.
8182 * simple.el (fill-comment, comment-column, comment-start)
8183 (comment-start-skip, comment-end, comment-indent-function)
8184 (block-comment-start, block-comment-end, indent-for-comment)
8185 (set-comment-column, kill-comment, comment-padding, comment-region)
8186 (comment-multi-line, indent-new-comment-line): Remove.
8188 * bindings.el (esc-map): Change ; to comment-dwim and use the new
8189 function names for comment operations.
8191 * newcomment.el: Add abundant autoload cookies.
8192 (comment-style): Don't depend on runtime data at compile-time.
8193 (comment-indent-hook): Remove.
8194 (comment-indent): Check if comment-indent-hook is bound.
8195 (comment-region): Docstring fix.
8197 2000-05-25 Dave Love <fx@gnu.org>
8199 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
8200 byte-code-function-p.
8202 * mail/rmailsum.el: Add provide.
8204 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
8206 * smerge-mode.el (smerge-diff-switches): Don't use list* in
8209 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
8211 * ediff-diff.el (ediff-exec-process): delete --binary option from
8212 non-buffer ediff jobs.
8214 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8216 * hilit-chg.el (highlight-changes-mode): Ask about color or
8217 grayscale support, not about window-system.
8219 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
8221 (ffap-highlight): Always default to t.
8223 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
8224 display-popup-menus-p instead of looking at window-system.
8226 * disp-table.el (standard-display-g1, standard-display-graphic):
8227 Only refuse to use string glyphs on X and MS-Windows.
8229 * avoid.el: Remove window-system from commentary, suggest to use
8230 display-*-p instead.
8232 * apropos.el (apropos-print): Use display-mouse-p instead of
8235 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8237 * international/codepage.el (cp-decoding-vector-for-codepage):
8238 Fill up unsupported characters with their own codes. From Kenichi
8241 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8243 * international/mule-diag.el (describe-char-after): Use
8244 display-graphic-p instead of window-system, so that this function
8247 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8249 * international/codepage.el (cp-make-coding-systems-for-codepage):
8250 Remove the eight-bit-graphic and eight-bit-control charsets from
8251 the list of charsets which we convert into `?'.
8253 2000-05-25 Kenichi Handa <handa@etl.go.jp>
8255 * international/mule-conf.el: Specify CHARSET-ID explicitely for
8257 (mule-unicode-0100-24ff, japanese-jisx0213-1,
8258 japanese-jisx0213-2): New charsets.
8260 * international/fontset.el: Setup default fontset for new charsets.
8262 2000-05-24 Dave Love <fx@gnu.org>
8264 * info.el (Info-find-node-2): Restructure [following "Vadim
8265 S. Solomin" <sovs@uic.nnov.ru>].
8267 * icomplete.el: Fix header for Finder.
8269 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
8271 * rmailout.el (rmail-output-to-rmail-file): Added optional param
8274 * rmail.el (rmail-automatic-folder-directives): New user variable.
8275 (rmail-show-message): Add call to `rmail-auto-file' during
8277 (rmail-auto-file): New function.
8279 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
8281 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
8283 (ediff-test-utility,ediff-diff-mandatory-option)
8284 (ediff-reset-diff-options): Utilities for proper initialization of
8285 ediff-diff-options and ediff-diff3-options on Windows.
8287 * ediff-init.el (ediff-merge-filename-prefix): New customizable
8290 * ediff-mult.el (ediff-filegroup-action): Use
8291 ediff-merge-filename-prefix.
8293 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
8295 * viper-ex.el (ex-write): Set selective display to nil.
8297 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
8299 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
8300 aliases for hebrew-iso-8bit.
8302 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
8304 * woman.el: New version from Francis J. Wright
8305 <F.J.Wright@Maths.QMW.ac.uk>.
8306 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
8307 names in environment variables regardless of the path separator.
8308 (woman-topic-all-completions-1): Don't call file-name-directory-p
8309 on all files, since woman-file-regexp already filters out any
8312 2000-05-24 Kenichi Handa <handa@etl.go.jp>
8314 * international/quail.el (quail-start-translation): Don't change
8315 modified-p of the current buffer.
8316 (quail-start-conversion): Likewise.
8318 * international/kkc.el (kkc-region): Don't change modified-p of
8321 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
8323 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
8325 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
8327 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
8328 (speedbar-insert-button): Invisible text property fix.
8329 (speedbar-directory-plus): Renamed from speedbar-directory-+
8330 (speedbar-directory-minus): Renamed from speedbar-directory--
8331 (speedbar-page-plus): Renamed from speedbar-file-+
8332 (speedbar-page-minus): Renamed from speedbar-file--
8333 (speedbar-page): Renamed from speedbar-file-
8334 (speedbar-tag): Renamed from speedbar-tag-
8335 (speedbar-tag-plus): Renamed from speedbar-tag-+
8336 (speedbar-tag-minus): Renamed from speedbar-tag--
8337 (speedbar-expand-image-button-alist): Use above renames.
8339 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
8340 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
8341 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
8342 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
8343 * sb-pg.xpm: Renamed from sb-file.xpm
8344 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
8345 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
8347 2000-05-24 Kenichi Handa <handa@etl.go.jp>
8349 * international/quail.el (quail-show-guidance-buf): Set
8350 current-input-method of the guidance buffer to the name of the
8351 curren input method.
8353 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
8355 * progmodes/compile.el (compile-internal): Style typo.
8357 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
8358 quote vars and functions in the docstring.
8360 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
8362 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
8363 Don't quote lambdas.
8365 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
8367 2000-05-23 Gerd Moellmann <gerd@gnu.org>
8369 * startup.el (command-line): Determine source file of compiled
8370 user init file differently. Warn if compiled user init file
8371 is older than its source file.
8373 * ffap.el (ffap-url-regexp): Add `https'.
8375 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
8377 * files.el (make-backup-file-name-1): Replace slashes with `!'
8378 rather than `|' (which is not allowed on Windows). Replace the
8379 drive letters with a string "drive_X".
8381 2000-05-23 Gerd Moellmann <gerd@gnu.org>
8383 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
8385 * files.el (interpreter-mode-alist): Add `bash2'.
8387 2000-05-22 Dave Love <fx@gnu.org>
8389 * loadhist.el (feature-symbols, file-provides, file-requires): Use
8391 (feature-file): Avoid calling symbol-name. Doc fix.
8392 (file-set-intersect, file-dependents): Use dolist, not mapcar.
8393 (loadhist-hook-functions): Add mouse-position-function.
8394 (unload-feature): Change uses of mapcar.
8396 * files.el (parse-colon-path): Doc fix.
8397 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
8398 (set-auto-mode): Use mapc.
8400 * complete.el (PC-look-for-include-file): Use :alnum: character
8402 (partial-completion-mode): Add autoload cookie.
8404 2000-05-22 Sam Steingold <sds@gnu.org>
8406 * info.el (Info-fontify-node): Fixed the call to
8407 `add-text-properties' (bug introduced on 2000-05-18).
8409 2000-05-22 Dave Love <fx@gnu.org>
8411 * bindings.el: Remove debug-ignored-errors set in other files.
8413 * progmodes/etags.el: Add to debug-ignored-errors.
8414 (visit-tags-table-buffer): Clear out buffers holding old tables
8415 when making a new list.
8416 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
8419 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
8421 (cmpl-string-case-type): Use character classes.
8424 * textmodes/ispell.el:
8427 * progmodes/compile.el: Add to debug-ignored-errors.
8429 * dabbrev.el: Add to debug-ignored-errors.
8430 (dabbrev-completion): Use mapc.
8432 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
8434 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
8435 (woman-mapcan, woman-parse-man.conf)
8436 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
8437 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
8438 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
8440 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
8441 (woman-manpath): Call woman-parse-man.conf.
8442 (woman-emulation): New defcustom, defaults to nroff.
8443 (woman-font-support): New defconst.
8444 (woman-use-symbol-font): New defcustom.
8445 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
8447 Many functions: Doc fix.
8449 2000-05-22 Kenichi Handa <handa@etl.go.jp>
8451 * international/quail.el (quail-simple-translation-keymap): Map
8452 128..255 to quail-self-insert-command.
8453 (quail-keyboard-layout-alist): Add definition for "pc102-de".
8455 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
8457 * help.el (help-manyarg-func-alist): Typo.
8459 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
8460 intervals which makes it heaps simpler.
8462 * newcomment.el (comment-region-internal): Go back to BEG after quoting
8463 the nested comment markers.
8465 * subr.el (remove-hook): Don't turn the hook's value into a list.
8467 2000-05-21 Dave Love <fx@gnu.org>
8469 * edmacro.el (edmacro-parse-keys): Return vector if any elements
8470 are invalid characters.
8472 * international/mule-util.el (detect-coding-with-priority): Use
8473 mapc. Remove redundant lambda.
8475 * international/mule-diag.el (list-non-iso-charset-chars)
8476 (describe-fontset): Remove redundant lambda.
8478 * emulation/crisp.el (brief-mode): New alias.
8480 * emacs-lisp/ring.el (ring-elements): New function.
8482 * emacs-lisp/easymenu.el (easy-menu-create-menu)
8483 (easy-menu-do-add-item): Use keywordp.
8485 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
8487 * replace.el: Doc and error message fixes.
8488 (replace-highlight): Use facep, not internal-find-face.
8490 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
8492 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
8494 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
8495 (log-edit-insert-changelog): Drop `:' as well.
8497 * log-view.el: Fix file description.
8498 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
8500 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
8501 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
8503 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
8504 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
8505 Print a status message if the toggle is called interactively.
8506 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
8507 for global minor modes and use `defcustom' for them.
8509 (easy-mmode-define-derived-mode): Remove.
8510 (define-derived-mode): Fancier default docstring.
8511 (easy-mmode-define-navigation): Signal an error rather than (ding).
8513 * newcomment.el (comment-styles): New `box-multi'.
8514 (comment-normalize-vars): Better default for comment-continue to
8515 avoid whitespace-only continuations.
8516 (comment-search-forward): Always move even in the no-syntax case.
8517 (comment-padright): Only obey N if it's only obeyed for padleft.
8518 (comment-make-extra-lines): Better handling of empty continuations.
8519 Use `=' for the filler if comment-start has only one character.
8520 (uncomment-region): Try handling the special `=' filler.
8521 (comment-region): Allow LINES even if MULTI is nil.
8522 (comment-box): Choose box style based on comment-style.
8524 2000-05-20 Kenichi Handa <handa@etl.go.jp>
8526 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
8527 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
8529 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
8531 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
8532 and insert, not subst-char-in-region.
8534 * international/mule-diag.el (list-character-sets-1): Handle
8535 charsets eight-bit-control and eight-bit-graphic.
8536 (list-iso-charset-chars): Likewise.
8537 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
8538 charactes as is. Use indent-to to align characters.
8540 * international/mule-cmds.el (find-multibyte-characters): Never
8541 exclude charsets eight-bit-control and eight-bit-graphic.
8543 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
8545 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
8546 Don't quote lambdas.
8548 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
8550 2000-05-19 Gerd Moellmann <gerd@gnu.org>
8552 * gud.el (gud-jdb-directories): Doc fix.
8554 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
8556 * newcomment.el: New file.
8558 2000-05-19 Gerd Moellmann <gerd@gnu.org>
8560 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
8562 2000-05-18 Andreas Schwab <schwab@suse.de>
8564 * dired.el (dired-between-files): Also skip lines beginning with
8567 2000-05-18 Gerd Moellmann <gerd@gnu.org>
8569 * msb.el (msb-menu-cond): Add choice `user'.
8571 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8573 * ps-print.el: Compatibility, customization and doc fix.
8574 (ps-printer-name-option): Replace defconst by defvar.
8575 (ps-postscript-code-directory): XEmacs compatibility.
8576 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
8578 (ps-user-defined-prologue, ps-print-prologue-header)
8579 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
8580 compatibility and code fix.
8581 (ps-print-background-image, ps-print-background-text):
8583 (ps-line-number-start, ps-n-up-on): New vars.
8585 2000-05-18 Espen Skoglund <esk@ira.uka.de>
8587 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
8588 the indent-comment function to just return the appropriate indent.
8590 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
8592 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
8593 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
8594 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
8596 2000-05-18 Dave Love <fx@gnu.org>
8598 * info.el (Info-fontify-node): Add intangible property as well as
8601 * calendar/appt.el (appt-make-list): Match all lines of entry.
8602 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
8604 2000-05-18 Kenichi Handa <handa@etl.go.jp>
8606 * international/mule-diag.el (describe-char-after): Call
8607 internal-char-font, not char-font. If internal-char-font returns
8608 nil, display "-- none --".
8610 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
8612 * image.el (image-type-available-p): Don't reference image-types
8615 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
8617 * autoarg.el (autoarg-mode): Typo in the :set argument.
8619 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
8621 * startup.el (command-line-1): Don't signal an error if the
8622 directory for auto-save-list files does not yet exist.
8624 2000-05-17 Kenichi Handa <handa@etl.go.jp>
8626 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
8628 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
8630 * subr.el (remove-hook): `setq' hook-value, not `set'.
8632 2000-05-16 Sam Steingold <sds@gnu.org>
8634 * info.el (debug-ignored-errors): More errors to ignore.
8636 2000-05-16 Dave Love <fx@gnu.org>
8638 * cus-edit.el: Don't require cl or easymenu.
8639 (custom-variable-prompt): Test standard-value property, not
8642 2000-05-16 Sam Steingold <sds@gnu.org>
8644 * subr.el (add-hook): `setq' hook-value, not `set'.
8646 2000-05-16 Gerd Moellmann <gerd@gnu.org>
8648 * startup.el (command-line-1): Mention the FAQ in the startup
8651 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
8653 * progmodes/compile.el (compilation-parse-errors): Collect
8654 `nomessage' regexps last.
8656 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
8658 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
8659 to the function name.
8661 2000-05-15 Dave Love <fx@gnu.org>
8663 * speedbar.el (speedbar-recenter): Typo.
8664 (speedbar-expand-line): Make arg optional.
8665 (speedbar-mode): Avoid a compiler warning.
8667 2000-05-15 Gerd Moellmann <gerd@gnu.org>
8669 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
8670 user-specified option string is empty.
8672 * mouse.el (mouse-yank-at-click): Doc fix.
8674 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
8676 * term/internal.el (IT-character-translations): More updates of
8677 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
8680 2000-05-15 Gerd Moellmann <gerd@gnu.org>
8682 * env.el (getenv): New function, interactively callable.
8683 (setenv, getenv): Remove autoload cookies.
8685 * loadup.el: Load `env'.
8687 * progmodes/f90.el: Change author's mail address.
8689 2000-05-14 Dave Love <fx@gnu.org>
8691 * mail/rmail.el (rmail-show-message-hook): Customize and offer
8692 goto-addr as an option.
8694 * help.el (help-xref-stack): Doc fix.
8695 (help-xref-following): New variable.
8696 (help-make-xrefs): Use it.
8697 (help-xref-go-back): Use position information from stack element.
8698 (help-follow): Make position in stack element a pair. Use
8699 help-xref-following.
8701 * autoarg.el: New file.
8703 * faces.el: Declare more functions obsolete.
8705 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
8706 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
8707 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
8708 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
8709 Remove all the setup-...-environment functions.
8711 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
8713 * speedbar.el: Updated the commentary section. xemacs20p now uses
8714 >= when detecting. Require `defimage' safely.
8715 (speedbar-easymenu-definition-base): Add toggle for images.
8716 (speedbar-easymenu-definition-special): Add flush cache & expand.
8717 (speedbar-visiting-tag-hook): Set new defaults. Added options.
8718 (speedbar-reconfigure-keymaps-hook): New variable.
8719 (speedbar-frame-parameters): Updated documentation.
8720 (speedbar-use-imenu-flag): Updated custom tag
8721 (speedbar-dynamic-tags-function-list): New variable.
8722 (speedbar-tag-hierarchy-method): Updated doc & custom.
8723 (speedbar-indentation-width, speedbar-indentation-width) New
8725 (speedbar-hide-button-brackets-flag): Customizable.
8726 (speedbar-vc-indicator): Doc update.
8727 (speedbar-ignored-path-expressions): Updated default value.
8728 (speedbar-supported-extension-expressions): Updated default value.
8729 (speedbar-syntax-table): Remove {} paren status.
8730 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
8731 as "+". Added overlay aliases.
8732 (speedbar-mode): Use `speedbar-mode-line-update' instead of
8733 `force-mode-line-update'.
8734 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
8735 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
8737 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
8738 (speedbar-item-info-tag-helper): Revamped to handle a wider range
8739 of arbitrary text, and new helper functions.
8740 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
8742 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
8743 (speedbar-directory-buttons): Update path search/expansion.
8744 (speedbar-make-tag-line): Pay attention to
8745 `speedbar-indentation-width'. Use more care w/ invisible
8747 (speedbar-change-expand-button-char): Call
8748 `speedbar-insert-image-button-maybe'.
8749 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
8750 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
8751 (speedbar-trim-words-tag-hierarchy)
8752 (speedbar-simple-group-tag-hierarchy): New functions
8753 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
8754 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
8756 (speedbar-mouse-set-point): New function
8757 (speedbar-power-click): Updated documentation.
8758 (speedbar-line-token, speedbar-goto-this-file): Handle more types
8760 (speedbar-expand-line, speedbar-contract-line): Make more robust
8762 (speedbar-expand-line): Takes universal argument to flush the
8764 (speedbar-flush-expand-line): New function.
8765 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
8766 Use new generator insertion method.
8767 (speedbar-fetch-dynamic-tags): New function.
8768 (speedbar-fetch-dynamic-imenu): Removed code now handled in
8769 `speedbar-fetch-dynamic-imenu'.
8770 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
8771 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
8772 "Revert Buffer" menu items.
8773 (speedbar-buffer-buttons-engine): Be smarter when creating a
8774 filename tag (for expansion purposes.).
8775 (speedbar-highlight-one-tag-line,
8776 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
8777 (speedbar-recenter): New functions.
8778 (defimage-speedbar): Image loading abstraction.
8779 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
8780 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
8781 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
8782 (speedbar-tag-type, speedbar-tag-mail): New images.
8783 (speedbar-expand-image-button-alist): New variable.
8784 (speedbar-insert-image-button-maybe): Insert an image over some
8787 2000-05-13 Kenichi Handa <handa@etl.go.jp>
8789 * international/mule-cmds.el (encode-coding-char): An ASCII
8790 character is always encodable.
8792 * international/mule-conf.el: Add more information in descriptions
8795 * international/mule-diag.el (describe-char-after): New function.
8796 (describe-font-internal): Adjusted for the change of font-info.
8797 (describe-font): Likewise.
8798 (print-fontset): Rewritten for the new fontset implementation.
8799 (describe-fontset): Include fontset alias names in completion.
8800 (list-fontsets): Adjusted for the change of print-fontset.
8802 * simple.el (what-cursor-position): If DETAIL is non-nil, call
8803 describe-char-after instead of displaying the detail in the echo
8805 (syntax-code-table): Format changed.
8806 (string-to-syntax): Adjusted for the above change.
8808 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
8810 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
8812 2000-05-12 Dave Love <fx@gnu.org>
8814 * calendar/todo-mode.el: Remove some compatibility stuff and CL
8815 dependence. Use line-{beginning,end}-position, not
8816 point-at{b,e}ol. Some doc fixes.
8817 (todo-position): New function. Fix callers of position to use it.
8818 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
8820 2000-05-12 Gerd Moellmann <gerd@gnu.org>
8822 * time.el (display-time-mail-icon): Use `:ascent center'.
8824 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
8825 handling FTP security extensions.
8827 2000-05-11 Dave Love <fx@gnu.org>
8829 * calendar/todo-mode.el: New file.
8831 2000-05-11 Gerd Moellmann <gerd@gnu.org>
8833 * comint.el (comint-read-input-ring): Move reference to
8834 comint-input-ring-size outside of the save-excursion. It was
8835 causing the default value to be the only one ever seen.
8837 * font-lock.el: Update copyright. Remove Simon Marshall's email
8838 address on request from him.
8840 * subr.el (substitute-key-definition): Add comment describing
8841 the meaning of PREFIX.
8843 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
8845 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
8847 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
8848 (add-minor-mode): Don't make the variable buffer-local and add a
8849 reference to define-minor-mode in the docstring.
8851 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
8852 HEADER/FOOTER and fix bug with trailing empty directory.
8853 (cvs-append-to-ignore): Use vc-editable-p if available.
8854 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
8855 (vc-do-command): Tweak advice to handle the new VC.
8857 * log-view.el (log-view-goto-rev): New function for the new VC.
8858 (log-view-minor-wrap): Use mark-active.
8860 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
8861 (log-edit-changelog-full-paragraphs): New var.
8862 (log-edit-insert-changelog): Remove a lonely leading `* file'.
8863 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
8864 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
8865 (log-edit-changelog-ours-p, log-edit-changelog-entries)
8866 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
8867 Replace the `cvs' prefix with `log-edit'.
8869 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
8871 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
8872 (diff-font-lock-defaults): Explicitly turn off multiline.
8873 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
8874 (diff-ediff-patch): Fix call to ediff-patch-file.
8875 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
8878 * frame.el (automatic-hscrolling): Typo.
8880 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
8882 2000-05-09 Sam Steingold <sds@goems.com>
8884 * apropos.el (apropos-print): use `describe-face' instead of
8885 `customize-face-other-window'.
8887 2000-05-09 Dave Love <fx@gnu.org>
8889 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
8891 * help.el (describe-variable): Have customize button pop the
8892 help-xref stack when invoked.
8893 (help-xref-symbol-regexp): Add `face'.
8894 (help-make-xrefs): Check for quoted face names and adapt regexp
8895 submatch numbers to cope.
8896 (help-xref-interned): Maybe insert face doc too. Separate
8897 sections with a line of hyphens.
8899 * faces.el: Some doc fixes. Declare some functions obsolete.
8900 (describe-face): Add customize button. Return the help
8903 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
8905 * term/internal.el (IT-character-translations): Fix last change.
8907 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
8909 * woman.el: New file
8910 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
8912 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
8914 * term/internal.el (IT-character-translations): Update ASCII
8915 simulations for greek-iso8859-7, add latin-iso8859-14 and
8918 * international/mule-cmds.el (set-language-info-alist): Call
8919 define-prefix-command with 3 arguments, to make the map suitable
8922 2000-05-07 Dave Love <fx@gnu.org>
8924 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
8926 2000-05-05 Dave Love <fx@gnu.org>
8928 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
8929 list in doc string. Don't quote keyword symbols.
8930 * emacs-lisp/cl.el: Likewise
8931 * emacs-lisp/cl-seq.el: Likewise
8933 2000-05-05 Gerd Moellmann <gerd@gnu.org>
8935 * abbrev.el (abbrev-mode): Make ARG optional.
8937 2000-05-04 Gerd Moellmann <gerd@gnu.org>
8939 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
8941 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
8943 * subr.el (substitute-key-definition): Clarify documentation.
8945 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
8947 * glasses.el (glasses-convert-to-unreadable): Use
8948 `glasses-separator' instead of the hard-wired "_".
8949 (glasses-mode): Call `glasses-make-unreadable' only in a single
8952 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
8954 * term/internal.el (cjk-codepages-alist): Add associations for
8955 Chinese and Korean codepages. Remove FIXME comment.
8957 2000-05-03 Dave Love <fx@gnu.org>
8959 * time.el (display-time-mail-face, display-time-use-mail-icon):
8961 (display-time-mail-icon): New variable.
8962 (display-time-string-forms): Use the above. Fix the local-map.
8964 2000-05-03 Gerd Moellmann <gerd@gnu.org>
8966 * replace.el (query-replace-map): Add binding for `E'.
8967 (query-replace-help): Extend help text.
8968 (perform-replace): Allow editing the replacement string.
8970 * make-mode.el (makefile-mode-abbrev-table): New variable.
8971 (makefile-mode): Set local abbrev table to
8972 makefile-mode-abbrev-table.
8973 (makefile-font-lock-keywords): Fontify includes and conditionals.
8975 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
8978 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
8979 mail-interactive-insert-alias.
8980 (mail-abbrev-complete-alias): New command.
8981 (mail-mode-map): Bind it to `M-TAB'.
8983 2000-05-03 Kenichi Handa <handa@etl.go.jp>
8985 * language/lao-util.el (lao-compose-region): New function.
8987 2000-05-02 Gerd Moellmann <gerd@gnu.org>
8989 * files.el (recover-session): Make directories as necessary
8990 if they don't exist yet.
8992 * calendar/cal-french.el
8993 (french-calendar-multibyte-special-days-array)
8994 (french-calendar-special-days-array): Change French text.
8995 (calendar-french-date-string): Change output.
8996 (calendar-goto-french-date): Likewise.
8998 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
9000 * wid-edit.el (widget-default-active): Obey `:always-active'.
9001 (widget-documentation-string-value-create): Set `:always-active'.
9003 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
9005 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
9006 default prefix to `~/_emacs.d/auto-save.list/_s'.
9007 (normal-top-level): Create the directory for auto-save files, if
9008 it doesn't already exist (in the ms-dos case only).
9010 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
9012 * international/mule-cmds.el (set-language-environment): Don't
9013 concat an integer (dos-codepage), use format instead.
9015 2000-05-02 Dave Love <fx@gnu.org>
9017 * help.el (help-xref-on-pp): Check for constant symbols.
9019 2000-04-29 Gerd Moellmann <gerd@gnu.org>
9021 * startup.el (normal-top-level): Put a condition-case around
9022 the code loading subdirs.el.
9024 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9026 * ps-print.el: Upside-down and face background color printing,
9027 line number step, doc fix.
9028 (ps-print-version): New version number (5.2).
9029 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
9030 (ps-face-attribute-list, ps-plot-with-face): Code fix.
9031 (ps-spool-config): Var fix.
9032 (ps-printer-name-option): Const fix.
9033 (ps-print-upside-down, ps-use-face-background)
9034 (ps-line-number-step): New vars.
9035 (ps-window-system, ps-lp-system): New consts.
9036 (ps-face-background): New fun.
9038 2000-04-28 Richard Stallman <rms@gnu.org>
9040 * files.el (make-auto-save-file-name):
9041 Apply auto-save-file-name-transforms to visited file name
9042 before generating auto save file name.
9043 (auto-save-file-name-transforms): New variable.
9045 * files.el (backup-enable-predicate):
9046 Correctly test for a file under a temporary directory.
9048 2000-04-28 Gerd Moellmann <gerd@gnu.org>
9050 * subr.el (add-minor-mode): Rewritten.
9052 2000-04-28 Kenichi Handa <handa@etl.go.jp>
9054 * mail/sendmail.el (sendmail-send-it): Set
9055 buffer-file-coding-system to the selected coding system for MIME
9058 2000-04-27 Gerd Moellmann <gerd@gnu.org>
9060 * dired.el (dired-move-to-filename-regexp): Allow format where
9061 YYYY is followed by two spaces.
9063 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
9064 in the second character class of the regexp.
9066 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
9069 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
9072 * subr.el (add-minor-mode): Use `set' instead of `setq'.
9074 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
9077 2000-04-27 Sen Nagata <sen@eccosys.com>
9079 * emacs-lisp/crm.el (crm-completion-table): New variable.
9080 (crm-collection-fn, crm-test-completion)
9081 (completing-read-multiple): Use it.
9083 2000-04-27 Dave Love <fx@gnu.org>
9085 * help.el (locate-library): Use mapc.
9086 (help-manyarg-func-alist): Add call-process-region.
9088 2000-04-26 Gerd Moellmann <gerd@gnu.org>
9090 * subr.el (add-minor-mode): Make argument MAP optional.
9092 * desktop.el (desktop-save): Save list of minor modes.
9093 (desktop-create-buffer): Restore minor modes.
9094 (desktop-minor-mode-table): New user-option.
9096 * subr.el (add-minor-mode): New function.
9098 * image.el (find-image): New function.
9099 (defimage): Rewritten to find image at load time.
9101 * startup.el (normal-top-level-add-to-load-path): Handle
9102 case that the default directory is not in load-path.
9104 * help.el: Old patch from Stefan Monnier.
9105 (help-xref-on-pp): New function.
9106 (describe-variable): Use it to display xrefs in a symbol's value.
9108 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
9110 * cus-edit.el (custom-face): Fix parenthesis.
9112 2000-04-26 Kenichi Handa <handa@etl.go.jp>
9114 * mail/rmail.el (rmail-expunge): When there are no deleted
9115 messages, do nothing.
9117 2000-04-26 Dave Love <fx@gnu.org>
9119 * international/mule-cmds.el (locale-translation-file-name):
9121 (set-locale-environment): Set it here (at runtime).
9123 2000-04-25 Gerd Moellmann <gerd@gnu.org>
9125 * replace.el (perform-replace): Add parameters START and END. Use
9126 them instead of the check for a region in Transient Mark mode.
9127 (query-replace-read-args): Return two more list elements for the
9128 start and end of the region in Transient Mark mode.
9129 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9130 (map-query-replace-regexp, replace-string, replace-regexp): Add
9131 optional last arguments START and END and pass them to
9134 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
9135 form with additional arguments for perform-replace.
9137 * progmodes/etags.el (tags-query-replace): Add parameters START
9138 and END. Construct a form with additional arguments for
9141 * simple.el (shell-command): Set default directory for "*Shell
9142 Command Output" buffer.
9144 * language/european.el (iso-latin-4): Fix typo.
9146 * emacs-lisp/crm.el: New file.
9148 2000-04-24 Dave Love <fx@gnu.org>
9150 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
9151 (Custom-reset-saved, Custom-reset-standard)
9152 (custom-group-value-create, custom-group-set, custom-group-save)
9153 (custom-group-reset-current, custom-group-reset-saved)
9154 (custom-group-reset-standard): Use mapc.
9155 (custom-buffer-create-internal): Disable undo when creating items.
9157 (custom-face): Avoid redundant lambda.
9159 2000-04-24 Gerd Moellmann <gerd@gnu.org>
9161 * startup.el (auto-save-list-file-prefix): Set default to
9162 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
9164 2000-04-24 Sam Steingold <sds@gnu.org>
9166 * time-stamp.el (time-stamp-string-preprocess): Always convert
9167 `field-result' to a string.
9169 2000-04-24 Gerd Moellmann <gerd@gnu.org>
9171 * frame.el (scrolling): New group.
9172 (automatic-hscrolling): New user-option.
9174 * startup.el (command-line-x-option-alist): Add `-lsp' and
9177 2000-04-19 Dave Love <fx@gnu.org>
9179 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
9180 (cl-mapc): Rename from mapc. Fix the funcall.
9182 2000-04-19 Gerd Moellmann <gerd@gnu.org>
9184 * simple.el (clone-indirect-buffer-other-window): New command.
9185 (clone-indirect-buffer): Add optional arg NORECROD.
9186 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
9188 * help.el (resize-temp-buffer-window): Use count-screen-lines.
9190 * window.el (count-screen-lines): New function.
9191 (shrink-window-if-larger-than-buffer): Use count-screen-lines
9192 instead of window-buffer-height.
9194 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
9195 non-existing variable comint-input-sentinel.
9196 (inferior-lisp-args-to-list): Removed.
9197 (inferior-lisp): Use split-string instead of
9198 inferior-lisp-args-to-list.
9200 * hexl.el (hexl-insert-hex-string): New command.
9202 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
9205 2000-04-18 Gerd Moellmann <gerd@gnu.org>
9207 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
9208 at the start of an existing but empty folder.
9210 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9212 * ps-mule.el: Customization fix, doc fix.
9213 (ps-multibyte-buffer): Customization fix.
9215 2000-04-17 Richard M. Stallman <rms@gnu.org>
9217 * subr.el (read-passwd): Use read-char-exclusive.
9219 2000-04-17 Gerd Moellmann <gerd@gnu.org>
9221 * textmodes/texinfo.el (texinfo-insert-@email)
9222 (texinfo-insert-@emph, texinfo-insert-@quotation)
9223 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
9224 (texinfo-mode-map): Add key bindings for them.
9226 * files.el (basic-save-buffer-2): Use a template with `$'
9227 instead of `#' for VMS.
9229 * simple.el (clone-indirect-buffer): New function.
9231 2000-04-16 Stephen Eglen <stephen@gnu.org>
9233 * iswitchb.el (iswitchb-case): New function. If the user input
9234 contains any upper-case characters, the search is made
9237 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
9239 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
9241 (texinfo-font-lock-syntactic-keywords): New var.
9242 (texinfo-font-lock-keywords): Remove comment regexp.
9243 (texinfo-insert-block): New function.
9244 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
9245 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
9246 and font-lock-defaults. Use regexp-opt for outline-regexp.
9247 (texinfo-environments): New var.
9248 (texinfo-environment-regexp): Use regexp-opt and
9249 texinfo-environments.
9251 * textmodes/ispell.el (ispell-menu-map-needed): Check that
9252 ispell-process is bound since this might be eval'd before ispell
9254 (ispell-message): Use a tiny bit less magic and a bit more hard
9255 data to figure out what kind of sc-cite-regexp to use.
9257 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
9259 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
9260 (insert-cyclic-diary-entry): Unquote the lambda.
9262 * gud.el (gud-jdb-build-source-files-list): Fix typo.
9264 * files.el (backup-enable-predicate): Unquote the lambda.
9266 * cus-edit.el (custom-face, face): Unquote the lambda.
9268 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9270 * ps-print.el: Check for line-beginning-position definition.
9272 * ps-print.el: Fix counting lines in a region.
9273 (ps-print-version): New version number (5.1.5).
9274 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
9275 (ps-printing-region): Fun code fix.
9277 2000-04-15 Gerd Moellmann <gerd@gnu.org>
9279 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
9280 to file-directory-p.
9282 2000-04-14 Gerd Moellmann <gerd@gnu.org>
9284 * gud.el (gud-jdb-build-source-files-list): Check that directory
9285 exists before calling directory-files.
9287 2000-04-13 Dave Love <fx@gnu.org>
9289 * emacs-lisp/trace.el: Change maintainer. Use new backquote
9292 * emacs-lisp/cl-specs.el: Remove when, unless.
9294 * emacs-lisp/cl-extra.el: Don't quote keywords.
9295 (cl-old-mapc): New variable.
9297 (cl-map-intervals): Use with-current-buffer. Don't check for
9298 next-property-change.
9299 (cl-map-overlays): Use with-current-buffer.
9301 (copy-tree, remprop): Define unconditionally.
9303 * emacs-lisp/cl-compat.el (keywordp): Remove.
9305 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
9307 (edebug-spec): Enable keywordp.
9309 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
9312 * cus-start.el: Use keywordp.
9314 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
9316 * diary-lib.el (include-other-diary-files): Fix the fix of
9317 2000-02-18 by doing a save-excursion.
9319 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9321 * ps-print.el: Customization fix, doc fix.
9322 (ps-print-version): New version number (5.1.4).
9323 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
9324 (ps-print-preprint): Adjust code.
9325 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
9326 (ps-print-prologue-header, ps-print-control-characters)
9327 (ps-spool-config): Customization fix.
9329 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
9331 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
9332 converted to the new menu-item format, names silightly changed,
9335 Support for spelling without async subprocesses:
9337 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
9338 (ispell-session-buffer): New variables.
9339 (ispell-start-process, ispell-process-status,
9340 ispell-accept-output, ispell-send-string): New functions, for
9341 Ispell invocation when async subprocesses aren't supported.
9342 (ispell-word, ispell-pdict-save, ispell-command-loop,
9343 ispell-process-line, ispell-buffer-local-parsing): Replace calls
9344 to process-send-string with calls to ispell-send-string, and
9345 accept-process-output with ispell-accept-output.
9346 (ispell-init-process): Call ispell-process-status instead of
9347 process-status with.
9348 (ispell-init-process): Call ispell-start-process. Call
9349 ispell-accept-output and ispell-send-string. Don't call
9350 process-kill-without-query and kill-process if they are unbound.
9351 (ispell-async-processp): New function.
9353 2000-04-12 Dave Love <fx@gnu.org>
9355 * info.el: Add debug-ignored-errors.
9356 (Info-mode-menu): Add some items.
9357 (Info-directory): Add autoload cookie.
9359 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
9360 Modify `truncate-lines'. Make `describe-language-environment'
9361 always visible and add help. Modify `describe-key' help. Invoke
9362 Info-directory from `info'. New entry `emacs-manual'.
9364 2000-04-10 Gerd Moellmann <gerd@gnu.org>
9366 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
9367 propertized-buffer-identification.
9368 (ebrowse-update-member-buffer-mode-line): Likewise.
9369 (ebrowse--mode-strings): Removed.
9370 (ebrowse--mode-line-props): Removed.
9372 * files.el (auto-mode-alist): Add `EBROWSE'.
9374 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
9375 space before testing for end of buffer.
9376 (ebrowse-load): Removed.
9377 (ebrowse-revert-tree-buffer-from-file): Rewritten.
9378 (ebrowse-create-tree-buffer): Rewritten.
9379 (ebrowse-tree-mode): Read tree from buffer.
9381 * progmodes/ebrowse-ffh.el: Removed.
9383 2000-04-10 Kenichi Handa <handa@etl.go.jp>
9385 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
9387 2000-04-10 Gerd Moellmann <gerd@gnu.org>
9389 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
9392 2000-04-09 Dave Love <fx@gnu.org>
9394 * files.el (backup-enable-predicate): Use
9395 temporary-file-directory, small-temporary-file-directory.
9396 (make-backup-file-name-function, backup-directory-alist): New
9398 (make-backup-file-name-1): New function.
9399 (make-backup-file-name): Use it.
9400 (find-backup-file-name): Likewise. Use format for clarity, not
9402 (file-newest-backup): Use make-backup-file-name.
9404 2000-04-09 Gerd Moellmann <gerd@gnu.org>
9406 * progmodes/ebrowse-ffh.el: New file.
9408 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
9410 (ebrowse-load): Add autoload.
9412 * finder.el (finder-commentary): Add autoload cookie.
9414 * mail/rfc2368.el: Correct author's email address.
9416 * progmodes/ebrowse.el: New file.
9418 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
9420 (easy-menu-do-add-item): Ditto.
9421 (easy-menu-define): Extend doc string.
9423 * jit-lock.el (with-buffer-unmodified): Use
9424 restore-buffer-modified-p.
9425 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
9426 (jit-lock-function, jit-lock-stealth-fontify): Don't use
9427 with-buffer-unmodified.
9429 2000-04-08 Dave Love <fx@gnu.org>
9431 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
9434 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
9436 * viper-util.el (viper-put-on-search-overlay): New subroutine.
9437 (viper-flash-search-pattern): No operation when using Emacs
9438 doesn't support face.
9439 Use `viper-put-on-search-overlay'.
9441 2000-04-04 Gerd Moellmann <gerd@gnu.org>
9443 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
9446 * progmodes/make-mode.el: Some doc fixes.
9447 (makefile-mode-abbrev-table): New variable.
9448 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
9449 (makefile-font-lock-keywords): Fontify includes and conditionals.
9450 (toplevel): Require `dabbrev' and `add-log' when compiling.
9452 * replace.el (perform-replace): Don't move forward one char
9453 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
9454 to do that because it leaves point 1 position after the last
9455 replacement, after everything has been replaced.
9457 * jit-lock.el (with-buffer-unmodified): New macro.
9458 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
9460 (jit-lock-function-1): Extracted from jit-lock-function; not
9461 preserving buffer's modified state.
9462 (jit-lock-function, jit-lock-stealth-fontify): Call
9463 jit-lock-function-1.
9465 * mail/rfc2368.el: Remove supernumerary copyright line.
9467 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
9469 * glasses.el: Provide facilities for inserting space before left
9470 parentheses and uncapitalization of identifiers.
9471 (glasses-mode): Try to remove old overlays in all cases.
9473 2000-04-03 Gerd Moellmann <gerd@gnu.org>
9475 * progmodes/compile.el (compile-internal): Display the compilation
9476 buffer in a different frame, if it's already displayed there.
9478 * mail/rfc2368.el: New file.
9480 * simple.el (sendmail-user-agent-compose): Recognize a `body'
9481 header and insert its value as mail body.
9483 * subr.el (member-ignore-case): New function.
9485 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
9486 (dabbrev--find-expansion): Ignore buffers matching a regexp
9487 from dabbrev-ignored-regexps.
9489 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
9490 to extensions handled by gzip.
9492 2000-04-03 Richard M. Stallman <rms@gnu.org>
9494 * files.el (insert-directory): List the total free space
9495 along with the used space.
9497 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
9498 line is followed by one that matches CITATION-REGEXP, end the
9501 2000-04-03 Markus Rost <rost@delysid.gnu.org>
9503 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
9504 (rmail-make-basic-summary-line): Use that option.
9506 2000-04-03 Kenichi Handa <handa@etl.go.jp>
9508 * international/mule-cmds.el (encoded-string-description):
9509 Rewritten. Try pretty description for ISO 2022 escape sequences
9510 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
9511 for hexadecimal format.
9513 2000-04-01 Dave Love <fx@gnu.org>
9515 * cpp.el: Change customization group to `c' from `C'.
9517 * vcursor.el (vcursor-move): Use display-color-p.
9519 * international/mule-util.el: Provide mule-utils.
9520 (string-to-sequence): Simplify and speed up.
9522 * international/mule.el (make-coding-system): Purecopy doc-string.
9524 * international/mule-cmds.el: Various menu changes.
9525 (describe-specified-language-support): Handle `Default'.
9526 (set-language-info): Purecopy `info'.
9528 2000-03-31 Andrew Innes <andrewi@gnu.org>
9530 * vc.el (vc-backend-diff): Return the correct status if we had to
9531 retry the rcsdiff command without the --brief option.
9533 2000-03-31 Dave Love <fx@gnu.org>
9535 * help.el (help-manyarg-func-alist): Correct several omissions.
9537 * add-log.el: Don't require cl, fortran.
9538 (add-log-current-defun-function): Doc fix.
9539 (change-log-version-number-regexp-list): Remove SCCS part. Doc
9541 (change-log-version-rcs): Function deleted.
9542 (change-log-version-number-search): Doc fix. Use
9543 vc-workfile-version. Avoid CL dolist.
9544 (add-change-log-entry): Just call add-log-current-defun to get
9545 defun. Simplify somewhat.
9546 (change-log-get-method-definition-1): Likewise.
9547 (add-log-current-defun): Return nil if calling
9548 add-log-current-defun-function does so. Move Fortran stuff to
9549 fortran.el. Return string without properties.
9551 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
9552 and :alpha: char classes.
9554 * mail/supercite.el: Defvar curline when compiling.
9555 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
9556 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
9557 rather than a-zA-Z0-9 to allow non-ASCII characters.
9559 2000-03-31 Gerd Moellmann <gerd@gnu.org>
9561 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
9563 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9566 * lpr.el (print-region-1): Use -d to specify printer name for
9567 systems `usg-unix-v*, `dgux', `hpux', `irix'.
9569 2000-03-31 Dave Love <fx@gnu.org>
9571 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
9572 for function definition in symbol's function value slot first
9573 instead of first consulting byte-compile-function-environment.
9575 2000-03-31 Kenichi Handa <handa@etl.go.jp>
9577 * language/european.el ("Polish"): New language environment.
9578 (setup-polish-environment): New function.
9580 2000-03-30 Gerd Moellmann <gerd@gnu.org>
9582 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9585 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
9586 trying to `load' the symbol of an autoload instead of the file
9587 recorded in the autoload. Fix error messages.
9589 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9591 * ps-print.el: PostScript programming fix for ghostview, doc fix.
9592 (ps-print-version): New version number (5.1.3).
9593 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
9594 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
9595 (ps-generate-postscript-with-faces): Code fix.
9596 (ps-color-values): XEmacs compatibility.
9597 (ps-print-background-image, ps-print-background-text, ps-printer-name)
9598 (ps-default-fg, ps-default-bg): Adjust customization.
9599 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
9600 (ps-color-scale): Renaming old ps-color-value fun.
9601 (ps-print-headers): Replace ps-print-header group to avoid conflict
9602 with ps-print-header variable.
9603 (ps-print-miscellany): New group.
9604 (ps-format-color, ps-rgb-color): New funs.
9605 (ps-default-foreground): New var.
9606 (ps-printer-name-option): New const.
9608 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
9611 (network-connection-host, network-connection-service): New variables
9612 (network-connection-mode): New mode, derived from comint-mode
9613 (network-connection-mode-setup): New function, saves host and
9614 service information in local variables.
9617 (locate-word-at-point): Added this function
9618 (locate): Default to using locate-word-at-point as input
9621 2000-03-29 Dave Love <fx@gnu.org>
9623 * calendar/appt.el: Doc fixes.
9624 (appt-check): Convert min-to-app to a string before passing to
9625 appt-disp-window-function or concat.
9626 (appt-delete-window): Remove test for frame-root-window.
9627 (appt-select-lowest-window, appt-convert-time): Simplify.
9629 * emacs-lisp/bytecomp.el: Doc fixes.
9630 (byte-compile-file-form-autoload): Update
9631 byte-compile-function-environment.
9633 2000-03-29 Andreas Schwab <schwab@suse.de>
9635 * emacs-lisp/autoload.el: Also print defsubst doc string
9638 * dired.el (dired-insert-directory): If dired-free-space-program
9639 failed just delete its output.
9641 2000-03-29 Dave Love <fx@gnu.org>
9643 * international/iso-cvt.el: Move provide to end. Doc fixes.
9644 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
9645 (iso-iso2sgml, iso-sgml2iso): New functions.
9646 (iso-cvt-define-menu): Fix some entries and use backquote for
9649 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
9651 2000-03-28 Gerd Moellmann <gerd@gnu.org>
9653 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
9654 ISO-DATE. If non-nil, return date in ISO 8601 format.
9656 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
9658 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
9659 if it ever becomes used.
9660 (log-edit-mode-hook): Default to vc-log-mode-hook.
9661 (log-edit-mode): Fix the docstring.
9663 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
9666 2000-03-26 Dave Love <fx@gnu.org>
9668 * net/browse-url.el (browse-url): Re-fix case of
9669 browse-url-browser-function being an alist.
9670 (browse-url): Add :link to defgroup.
9672 * files.el: Doc fixes.
9673 (file-truename): Include `[' in wildcard characters.
9674 (automount-dir-prefix): Customize.
9675 (find-file-wildcards): Add :version.
9676 (find-file-noselect): Simplify a mapcar call.
9678 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
9679 compatible with inf-lisp version.
9680 (eval-defun-1): Fix custom-declare-variable case.
9682 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
9684 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
9686 2000-03-24 Gerd Moellmann <gerd@gnu.org>
9688 * Makefile (COMPILE_FIRST): New macro.
9689 (compile-files): Compile files from COMPILE_FIRST first.
9691 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
9694 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
9695 matching open parenthesis in column 0 to defun-prompt-regexp
9696 only if open-paren-in-column-0-is-defun-start is set.
9698 * sun-curs.el: Require CL at compile-time only.
9700 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
9701 instead of copy-list which is a function from CL.
9702 (msb--choose-menu, msb--mode-menu-cond)
9703 (msb--create-buffer-menu-2): Use dolist instead of mapc.
9704 (msb--init-file-alist): Use mapcar instead of mapcan.
9705 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
9706 `(' in column 0 in doc string.
9707 (msb--add-separators): Use mapcar instead of mapcan.
9709 * cus-dep.el: Require CL at compile-time only.
9711 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
9713 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
9714 (byte-compile-warnings): New warning `noruntime'.
9715 (byte-compile-constants, byte-compile-variables): Fix docstring.
9716 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
9717 execute `eval-whenc-compile's body.
9718 (byte-compile-unresolved-functions): Fix docstring.
9719 (byte-compile-eval): New function.
9720 (byte-compile-callargs-warn): Check if the function will be available
9721 at runtime (via property `byte-compile-noruntime').
9722 (byte-compile-print-syms): New function.
9723 (byte-compile-warn-about-unresolved-functions): Also warn about
9724 `noruntime' functions (and use `byte-compile-print-syms').
9725 (byte-compile-file): Capitalize the message.
9727 2000-03-24 Gerd Moellmann <gerd@gnu.org>
9729 * mail/rmail.el (rmail-confirm-expunge): New user-option.
9730 (rmail-expunge): Ask for confirmation depending on the setting
9731 of rmail-confirm-expunge.
9733 2000-03-23 Gerd Moellmann <gerd@gnu.org>
9735 * Makefile (bootstrap-clean): If $(emacs) exists, build
9736 loaddefs.el first. A loaddefs.el that's not up-to-date might
9737 cause a bootstrap failure because things don't autoload as
9740 2000-03-23 Dave Love <fx@gnu.org>
9742 * net/browse-url.el: Restore previous use of
9743 browse-url-maybe-new-window.
9745 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9747 * ps-print.el: Skip banner page fix.
9748 (ps-print-version): New version number (5.1.2).
9749 (ps-begin-file, ps-end-file, ps-generate): Code fix.
9751 2000-03-23 Dave Pearson <davep@davep.org>
9753 * net/quickurl.el Changed the type of parameter passed to the
9754 function defined by `quickurl-format-function'. Before only the
9755 text of the URL was passed. Now the whole URL structure is passed
9756 and the function is responsible for extracting the parts it
9757 requires. Changed the default of `quickurl-format-function'
9759 (quickurl-insert): Changed the `funcall' of
9760 `quickurl-format-function' to match the above change.
9761 (quickurl-list-insert): Changed the `url' case so that it makes
9762 use of `quickurl-format-function', previous to this the format was
9765 2000-03-22 Gerd Moellmann <gerd@gnu.org>
9767 * startup.el: Change some spellings for the X Window System.
9769 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
9771 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
9772 up the code and the regexp and make sure the cursor is temporarily
9773 moved to the suspicious line while querying the user.
9775 2000-03-22 Jason Rumney <jasonr@gnu.org>
9777 * w32-fns.el (w32-charset-info-alist): Initialize.
9779 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9781 * ps-print.el: N-up last page fix.
9782 (ps-print-version): New version number (5.1.1).
9783 (ps-end-file, ps-end-job, ps-generate): Code fix.
9785 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
9787 * files.el (find-file-run-dired): Update docstring.
9788 (find-directory-functions): New hook.
9789 (find-file-noselect): Run find-directory-functions rather than
9790 calling dired directly.
9792 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
9794 * pcvs.el: Add a minimal leading commentary.
9795 (cvs-make-cvs-buffer): Change the header part by removing the startup
9796 message and adding a `Module' entry. Also replace the FOOTER and
9797 HEADER special fileinfos with the new support in ewoc for updating
9798 its own footer and header.
9799 (cvs-update-header): Update to use the header/footer of the ewoc.
9800 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
9801 (cvs-is-within-p): New function.
9802 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
9803 to only examine some subset of the buffers.
9805 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
9806 `format' instead of our own ad-hoc functions.
9807 Remove HEADER and FOOTER cases, now handled in the EWOC.
9808 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
9810 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
9811 output to avoid scaring the user.
9812 (cvs-parse-table): Catch message for non-up-to-date commits.
9814 * pcvs-defs.el (cvs-startup-message): Remove.
9815 (cvs-global-menu): New autoloaded menu.
9817 * pcvs-util.el (cvs-string-fill): Remove.
9819 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
9820 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
9821 PP part of it and also make it work for footers and headers.
9822 (ewoc-create): Drop POS and BUFFER arguments.
9823 Use the DLL's dummy node to store the end-of-footer position.
9824 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
9825 (ewoc-refresh): Remove unused `header' variable.
9826 (ewoc-(get|set)-hf): New functions.
9828 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
9829 log-view-*-(message|file) and use easy-mmode-define-navigation.
9830 (log-view-message-re): Match SCCS format as well.
9831 And match the revision line rather than the dashed separator line.
9832 (log-view-mode): Use the new define-derived-mode.
9833 (log-view-current-tag): Fill in with an actual implementation.
9835 * cvs-status.el (cvs-status-(prev|next)): Rename from
9836 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
9837 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
9838 to let the output "breathe" a little more (more readable).
9839 (cvs-status-mode): Use the new define-derived-mode.
9841 * smerge-mode.el (smerge-auto-leave): New function and variable.
9842 (smerge-basic-map): Rename from smerge-basic-keymap.
9843 Change the bindings for smerge-diff-*.
9844 (smerge-*-map): Use easy-mmode-defmap.
9845 (smerge-(next|prev)): Use easy-mmode-define-navigation.
9846 (smerge-keep-*): Use smerge-auto-leave.
9848 2000-03-21 Jason Rumney <jasonr@gnu.org>
9850 * cus-edit.el (custom-button-face): Use 3D look for w32.
9851 (custom-button-pressed-face): Likewise.
9853 2000-03-21 Gerd Moellmann <gerd@gnu.org>
9855 * progmodes/etags.el (tags-case-fold-search): New user-option.
9856 (tags-loop-eval): New function. Bind case-fold-search around eval
9857 depending on the value of tags-case-fold-search.
9858 (tags-loop-continue): Use tags-loop-eval.
9859 (find-tag-in-order): Bind case-fold-search depending on the value
9860 of tags-case-fold-search.
9862 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
9864 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
9865 (diff-end-of-hunk): Return the end position for use in
9866 `easy-mmode-define-navigation'.
9867 (diff-recenter): Remove.
9868 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
9869 of `easy-mmode-define-navigation'.
9870 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
9871 previous renaming) and fix to use new names.
9872 (diff-merge-strings): Use \n as separator: simpler, faster.
9873 (diff-mode): Use `define-derived-mode'.
9875 * derived.el (define-derived-mode): Don't autoload anymore.
9876 Prefer the macro-only version provided by easy-mmode.el.
9878 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
9879 `easy-mmode-define-derived-mode'.
9880 Use `combine-run-hooks'.
9881 (easy-mmode-define-navigation): New macro.
9883 * subr.el (combine-run-hooks): New function.
9885 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
9887 * term/x-win.el: Fontsets related initialization is simplified.
9889 * international/mule-diag.el (describe-font): Don't refer to
9890 global-fontset-alist, instead call font-list.
9891 (describe-fontset, list-fontsets, mule-diag): Likewise.
9892 (print-fontset): Adjusted for the change of fontset
9895 * international/fontset.el (x-charset-registries): Variable
9896 removed, instead the corresponding data is stored in the default
9898 (register-alternate-fontnames): Function removed.
9899 (resolved-ascii-font): Variable removed.
9900 (x-compose-font-name): Ignore the second argument REDOCE.
9901 (x-complement-fontset-spec): Complement only an ASCII font and
9902 element for those charsets than can use that ASCII font.
9903 (generate-fontset-menu): Don't refer to global-fontset-alist,
9904 instead call fontset-list.
9905 (uninstantiated-fontset-alist): Variable removed.
9906 (x-style-funcs-alist): Likewise.
9907 (fontset-default-styles): Likewise.
9908 (x-modify-font-name): Function removed.
9909 (create-fontset-from-fontset-spec): Ignore the argument
9911 (create-fontset-from-ascii-font): Docsting adjusted for the above
9913 (instantiate-fontset, resolve-fontset-name): Functions removed.
9914 (fontset-list): Now implemented by C code.
9916 * faces.el (read-face-font): Fix TABLE arg to completing-read.
9917 (describe-face): Include `font' attribute in the description.
9919 2000-03-21 Kenichi Handa <handa@etl.go.jp>
9921 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
9923 2000-03-20 Gerd Moellmann <gerd@gnu.org>
9925 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
9926 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
9927 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
9929 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
9930 about behavior of set-buffer-modified-p wrt redisplay.
9932 2000-03-19 Richard M. Stallman <rms@gnu.org>
9934 * view.el (view-mode-disable): Kill local binding of view-read-only.
9936 2000-03-18 Gerd Moellmann <gerd@gnu.org>
9938 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
9939 is a string, convert it to a syntax cell using string-to-syntax.
9941 * simple.el (syntax-code-table, syntax-flag-table): New variables.
9942 (string-to-syntax): New function.
9944 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
9945 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
9946 try to use passive ftp mode.
9948 2000-03-17 Gerd Moellmann <gerd@gnu.org>
9950 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
9952 * simple.el (append-to-buffer): Update point of windows after
9955 * abbrev.el (inverse-add-abbrev): Identify word by first moving
9956 forward then moving backward. Reindent.
9958 * frame.el (other-frame): Call x-focus-frame only if
9959 focus-follows-mouse is off.
9961 2000-03-17 Dave Love <fx@gnu.org>
9963 * pcvs-util.el (cvs-strings->string): Rename
9964 replace-regexps-in-string.
9966 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
9968 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
9969 regexp for labels cannot span several lines.
9971 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
9972 `(setq :<key> ':<key>)' to the macro expansion.
9974 2000-03-16 Dave Love <fx@gnu.org>
9976 * progmodes/f90.el (f90): Put custom group under `languages', not
9978 (f90-mode-hook): Customize.
9979 (f90-mode): Set add-log-current-defun-function.
9980 (f90-current-defun): New function.
9982 2000-03-16 Gerd Moellmann <gerd@gnu.org>
9984 * cus-edit.el (custom-variable-tag-face): Handle case that
9985 default face's height is not a number.
9986 (custom-face-tag-face, custom-group-tag-face-1)
9987 (custom-group-tag-face): Ditto.
9988 (custom-group-tag-face-1): Add :group.
9990 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
9992 2000-03-15 Gerd Moellmann <gerd@gnu.org>
9994 * pcvs-defs.el (toplevel): Remove autoload cookie for form
9997 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9999 * ps-print.el: PostScript user-defined prologue, PostScript error
10001 (ps-print-version): New version number (5.1).
10002 (ps-user-defined-prologue, ps-error-handler-message)
10003 (ps-print-prologue-0, ps-error-handler-alist): New vars.
10004 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
10005 (ps-insert-string): New function.
10007 2000-03-15 Kenichi Handa <handa@etl.go.jp>
10009 * international/ccl.el (ccl-compile-expression): Don't generate
10010 invalid self-assignment code.
10012 2000-03-14 Dave Love <fx@gnu.org>
10014 * subr.el (replace-regexp-in-string): Renamed from
10015 replace-regexps-in-string. Doc fix.
10017 2000-03-12 Dave Love <fx@gnu.org>
10019 * cus-edit.el: Doc fixes.
10020 (customize-set-variable, customize-save-variable): Rename args for
10022 (custom-variable-tag-face, custom-face-tag-face)
10023 (custom-group-tag-face-1, custom-group-tag-face): Modify from
10024 style which user identify as hyperlink.
10025 (hook): Don't add undefined functions to the hook.
10026 (debug-ignored-errors): Transfer message from bindings.el.
10028 2000-03-12 Gerd Moellmann <gerd@gnu.org>
10030 * recentf.el (recentf-keep-non-readable-files-p): Remove
10031 double/nested definition.
10033 2000-03-12 Dave Love <fx@gnu.org>
10035 * facemenu.el (facemenu-get-face): Use display-color-p.
10036 * enriched.el (enriched-decode-foreground): Likewise.
10037 (enriched-decode-background): Likewise.
10038 * isearch.el (isearch-highlight): Likewise.
10039 * info-look.el (info-lookup): Likewise.
10040 * simple.el (completion-setup-function): Likewise.
10042 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
10045 * bindings.el (mode-line-format): Fix line-number and
10046 column-number items. Add help-echo for the background.
10047 (mode-line-mule-info): Modify help-echo.
10049 * avoid.el (mouse-avoidance-mode): Add autoload cookie to
10052 * files.el (load-file): Allow completion to .elc.
10054 * man.el: Doc fixes.
10055 (Man-init-defvars): Use display-color-p to set fontification.
10057 * play/hanoi.el (hanoi-internal): Don't use oddp.
10059 2000-03-12 Gerd Moellmann <gerd@gnu.org>
10061 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
10063 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
10065 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
10067 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
10070 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
10072 * font-lock.el (font-lock-keywords): Fix the doc now that
10073 regexp-opt-depth is unnecessary.
10074 (save-buffer-state): Set an edebug spec.
10075 (font-lock-fontify-anchored-keywords): Properly handle the case when
10076 the matcher goes past the limit.
10078 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
10079 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
10081 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
10082 dll.el and cookie.el (from Elib) with heavy renaming and other
10085 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
10086 Autoload the functions used.
10087 (easy-mmode-define-syntax): Fix CL typo.
10088 (easy-mmode-define-derived-mode): Improve the docstring generation.
10090 2000-03-10 Gerd Moellmann <gerd@gnu.org>
10092 * textmodes/texinfo.el (texinfo-version): Variable and function
10095 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
10097 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
10098 allow more flexibility.
10099 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
10101 (easy-mmode-defmap, easy-mmode-defsyntax)
10102 (easy-mmode-define-derived-mode): New macros.
10104 2000-03-09 Didier Verna <didier@xemacs.org>
10106 * rect.el (replace-rectangle): New function.
10108 2000-03-09 Dave Love <fx@gnu.org>
10110 * progmodes/fortran.el (fortran-comment-line-start): Define as
10112 (fortran-comment-line-start-skip): Don't match cpp stuff.
10113 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
10114 (fortran-mode-map): Remove over-eager custom-menu-create for now.
10115 (fortran-mode): Don't set fortran-comment-line-start-skip,
10116 fortran-comment-line-start here. Set comment-start,
10117 add-log-current-defun.
10118 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
10119 (fortran-current-defun): New function.
10121 2000-03-09 Gerd Moellmann <gerd@gnu.org>
10123 * emacs-lisp/re-builder.el: New file.
10125 * mouse.el (mouse-drag-region): Don't run up-event handler
10126 if hscroll has changed.
10128 * octave-mod.el (octave-font-lock-keywords): To font-lock the
10129 builtin operators, use `font-lock-builtin-face' for Emacs and
10130 `font-lock-preprocessor-face' otherwise.
10132 * font-lock.el (lisp-font-lock-keywords-1): Highlight
10133 `(defun (setf foo)' differently.
10135 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
10137 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
10138 (regexp-opt): Update comment and adapt the code the new meaning of
10139 the `paren' argument of regex-opt-group for shy-groups.
10140 (regexp-opt-depth): Handle shy groups as well as backslashed
10142 (regexp-opt-group): Turn the leading comment into a docstring.
10143 Allow `paren' to be a string (the string to use to open a group).
10144 Remove open-presuf and close-presuf. Instead of checking for `all
10145 one-char' and then later on check for `several one-char', handle
10146 both cases close together. Also apply a more generic algorithm
10147 for suffixes (the mirror image of the algorithm used for
10148 prefixes). Use shy-groups. Use nreverse rather than reverse.
10149 (regexp-opt-try-suffix): Removed.
10151 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
10152 from comint-mode-map, so we can just inherit from it. Also, move
10153 the initialization into the `defvar' since there's no docstring
10154 anyway and it's fairly short.
10155 (inferior-scheme-mode): Define it as derived-mode: the code is
10156 shorter and this way we inherit from comint-mode-map rather than
10159 * subr.el (replace-regexps-in-string): Properly handle the case
10160 where we match an empty string.
10162 * comint.el (comint-exec-1): Add the current-dir to the exec-path
10163 when the command has a directory component (such as "./testml").
10164 Also fix a typo in the comment.
10166 2000-03-08 Gerd Moellmann <gerd@gnu.org>
10168 * Makefile (compile-files): Compile files one by one because
10169 that's the only way to ensure a clean compilation environment for
10170 each individual file.
10172 * frame.el (other-frame): Call x-focus-frame.
10174 2000-03-07 Dave Love <fx@gnu.org>
10176 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
10177 :require to defcustom.
10179 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
10182 * files.el (auto-mode-alist): Add configure.in.
10184 * progmodes/autoconf.el: New file.
10186 2000-03-07 Gerd Moellmann <gerd@gnu.org>
10188 * mail/mh-e.el: Change maintainer to `none'.
10190 * recentf.el (recentf-keep-non-readable-files-p): Quote args
10191 to remove-hook and add-hook.
10193 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
10195 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
10197 (mail-send): Test mail-send-nonascii also for the new `mime' value.
10198 (sendmail-send-it): Conditionally add MIME headers specifying the
10199 used character set.
10201 2000-03-07 Dave Love <fx@gnu.org>
10203 * winner.el: Fix keywords, autoload cookies. Split
10204 eval-when-compile form to avoid compilation failure.
10206 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
10208 * international/mule.el: Modify comment about coding system
10209 property `coding-category'.
10210 (make-coding-system): New argument EOL-TYPE. Pay attention to
10211 coding-category property of PROPERTIES.
10213 * international/mule-conf.el (coding-category-utf-8,
10214 coding-category-utf-16-be, coding-category-utf-16-le): New coding
10215 categories. Include them in the argument for set-coding-priority.
10217 * international/mule-cmds.el (reset-language-environment): Include
10218 coding-category-utf-8, coding-category-utf-16-be, and
10219 coding-category-utf-16-le in the argument for set-coding-priority.
10220 (reset-language-environment): Initialize coding-category-utf-8,
10221 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
10223 2000-03-06 Karl Fogel <kfogel@red-bean.com>
10225 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
10226 code abstracted out of `bookmark-jump-noselect'. Now tries info
10227 extensions as well as compression extensions.
10228 (bookmark-jump-noselect): Use above new func.
10230 2000-03-03 Gerd Moellmann <gerd@gnu.org>
10232 * strokes.el: Change maintainer's mail address.
10234 2000-03-03 Kenichi Handa <handa@etl.go.jp>
10236 * international/mule-diag.el (list-character-sets): Make help-echo
10237 string by substitute-command-keys.
10238 (list-character-sets): Likewise.
10239 (sort-listed-character-sets): Call help-setup-xref.
10241 2000-03-02 Gerd Moellmann <gerd@gnu.org>
10243 * time.el (display-time-mail-file): Add `none' to the list of
10246 2000-03-01 Dave Love <fx@gnu.org>
10248 * help.el (help-xref-go-back): Don't try to set position.
10250 * international/mule-diag.el (list-character-sets): Call
10251 help-setup-xref. Add help-echo to xrefs.
10252 (list-character-sets-1): Add help-echo to xrefs.
10254 2000-03-02 Gerd Moellmann <gerd@gnu.org>
10256 * frame.el (blink-cursor-mode): Switch cursor on when turning
10259 * add-log.el (add-log-current-defun): Add support for
10262 * mail/rmail.el (rmail-quit-hook): New variable.
10264 2000-03-01 Dave Love <fx@gnu.org>
10266 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
10268 * help.el (help-xref-button): Add help-echo arg.
10269 (describe-function-1, describe-variable, help-make-xrefs): Use it.
10271 * faces.el (list-faces-display): Supply help-echo with
10274 * facemenu.el (list-text-properties-at): Set help-xref-stack to
10277 2000-03-01 Gerd Moellmann <gerd@gnu.org>
10279 * image.el (defimage): Look for image files in load-path.
10281 * frame.el (busy-cursor-delay-seconds): Change type to
10284 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
10286 * recentf.el (recentf): Added version tag to the defgroup of
10289 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
10291 * recentf.el (recentf-cleanup): Changed to remove excluded file
10293 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
10294 action to select/unselect a file.
10295 (recentf-edit-list): Code cleanup and improvement.
10296 (recentf-open-more-files-action): `recentf-open-more-files' button
10297 widget action to open a file.
10298 (recentf-open-more-files): No more use standard completion but
10300 (recentf-more-collection): Deleted.
10301 (recentf-more-history): Deleted.
10302 (recentf-setup-more-completion): Deleted.
10304 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
10306 * recentf.el (recentf-mode): No more needs that Emacs is running
10307 under a window-system.
10309 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10311 * recentf.el (recentf-edit-list): New command to edit the recent
10312 list which allow the user to remove files.
10313 (recentf-edit-selected-items): New global variable, used by
10314 `recentf-edit-list' to hold the list of files to be removed from
10316 (recentf-make-menu-items): Updated to display a "Edit list..."
10317 menu item. Minor code cleanup.
10319 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10321 * recentf.el (recentf-open-more-files): New command to open files
10322 that are not displayed in the menu.
10323 (recentf-more-collection): New global variable holding the set of
10324 permissible completions used by `recentf-open-more-files'.
10325 (recentf-more-history): New global variable holding the history list
10326 used by `recentf-open-more-files' completion.
10327 (recentf-setup-more-completion): New function to setup completion for
10328 `recentf-open-more-files'.
10329 (recentf-make-menu-items): Updated to display a "More..." menu item.
10331 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10333 * recentf.el (recentf-menu-action): Doc fixed.
10335 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10337 * recentf.el (recentf-menu-filter): Doc updated.
10338 (recentf-update-menu-hook): Allow menu filters to force menu update.
10339 (recentf-make-menu-items): New menu filter handling.
10340 (recentf-make-menu-item): New helper function.
10341 (recentf-menu-elements): New menu handling function.
10342 (recentf-sort-ascending): Updated to new menu filter handling.
10343 (recentf-sort-descending): Updated to new menu filter handling.
10344 (recentf-sort-basenames-ascending): New menu filter function.
10345 (recentf-sort-basenames-descending): New menu filter function.
10346 (recentf-show-basenames): New menu filter function.
10347 (recentf-show-basenames-ascending): New menu filter function.
10348 (recentf-show-basenames-descending): New menu filter function.
10350 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
10352 * diary-lib.el (list-diary-entries): Don't try to go forward at
10353 the end of the buffer.
10355 2000-02-29 Kenichi Handa <handa@etl.go.jp>
10357 * international/mule-diag.el (list-character-sets): Completely
10359 (sort-listed-character-sets): New function.
10360 (list-character-sets-1): Completely rewritten.
10361 (list-character-sets-2): New function.
10362 (non-iso-charset-alist): New variable.
10363 (decode-codepage-char): New function.
10364 (charset-history): New variable.
10365 (read-charset) (list-block-of-chars)
10366 (list-iso-charset-chars)
10367 (list-non-iso-charset-chars)
10368 (list-charset-chars): New functions.
10369 (mule-diag): Call list-character-sets-2, not
10370 list-character-sets-2.
10371 (dump-charsets): Likewise.
10373 2000-02-29 Gerd Moellmann <gerd@gnu.org>
10375 * dired-x.el (dired-filename-at-point): Add `@' to valid
10376 file name characters.
10377 (dired-filename-at-point): Handle ange-ftp file names.
10379 * frame.el (frame-notice-user-settings): Use assq-delete-all
10380 instead of assoc-delete-all.
10381 (frame-notice-user-settings): Ditto.
10383 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
10386 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
10388 * calculator.el (calculator-use-menu): New option.
10389 (calculator-initial-bindings): Changed some bindings to work as
10391 (calculator-forced-input): Removed.
10392 (calculator-restart-other-mode): New variable.
10393 (calculator-mode-map): Set up menu.
10395 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
10397 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
10400 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
10402 * viper-cmd.el (viper-envelop-ESC-key): added the option to
10403 translate all ESC key sequences.
10404 (viper-goto-mark-subr): restore markers for files for which
10406 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
10407 * viper-util.el (viper-set-replace-overlay-glyphs,
10408 viper-set-replace-overlay): always check if the replacement
10410 * viper.el (viper-vi-state-mode-list): added major modes.
10411 * ediff-wind.el: minor comment changes.
10412 * ediff.el: copyright notice date fix.
10414 2000-02-27 Jason Rumney <jasonr@gnu.org>
10416 * faces.el (face-font-family-alternatives): Add arial to helv.
10417 (mode-line, header-line, tool-bar): Same default as x for w32.
10418 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
10419 face-font-family-alternatives from working.
10420 * term/w32-win.el (mouse-set-font): Do not build fontset from
10423 2000-02-25 Sam Steingold <sds@goems.com>
10425 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
10428 2000-02-25 Richard M. Stallman <rms@gnu.org>
10430 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
10432 2000-02-25 Gerd Moellmann <gerd@gnu.org>
10434 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
10437 * frame.el (busy-cursor-delay-seconds): New option.
10439 2000-02-24 Gerd Moellmann <gerd@gnu.org>
10441 * frame.el (show-cursor-in-non-selected-windows): New option.
10443 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
10445 * diary-lib.el (include-other-diary-files): Undo the selective
10446 display in any included file and don't kill it.
10448 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
10450 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
10451 bar. Menu items converted to (menu-item format, help strings
10453 [downcase, upcase]: Don't enable on MS-DOS.
10454 [symlink, symlinks]: Don't show if make-symbolic-link is not
10456 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
10458 2000-02-23 Dave Love <fx@gnu.org>
10460 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
10461 (backward-kill-word): Revert addition of * to interactive spec --
10464 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
10465 (backward-kill-sentence, kill-sentence): Likewise.
10467 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
10468 scratch buffer name.
10469 (gud-format-command): Use int-to-string in ?l case. Simplify
10472 * term/w32-win.el (internal-face-interactive): Update prompt for
10473 new read-face-name.
10475 * mail/footnote.el (footnote): Add :version to defgroup.
10476 (footnote-section-tag-regexp): Customize.
10477 (footnote-start-tag, footnote-end-tag): New option.
10478 (footnote-latin-regexp): New variable.
10479 (Footnote-latin): New function.
10480 (footnote-style-alist): Add element for latin style.
10481 (footnote-style): Moved.
10482 (Footnote-goto-footnote): Use eq to test arg.
10484 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
10486 * emacs-lisp/byte-opt.el: Change old backquote syntax.
10487 (byte-compile-trueconstp): Include keywords.
10488 (byte-optimize-quote, byte-optimize-lapcode): Use
10489 byte-compile-const-symbol-p.
10490 (byte-optimize-char-before): New optimization.
10492 * emacs-lisp/bytecomp.el: Change old backquote syntax.
10493 (byte-compile-const-symbol-p): New function.
10494 (byte-compile-constp, byte-compile-out-toplevel)
10495 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
10498 * subr.el (define-key-after): Default AFTER to t. Doc fix.
10500 2000-02-23 Kenichi Handa <handa@etl.go.jp>
10502 * international/encoded-kb.el: Be sure to update minor-mode-alist
10503 and minor-mode-map-alist.
10504 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
10505 codes SS2 and SS3 correctly.
10506 (encoded-kbd-self-insert-ccl): New function.
10507 (encoded-kbd-setup-keymap): New function.
10508 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
10509 by calling encoded-kbd-setup-keymap.
10511 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
10513 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
10516 2000-02-22 Dave Love <fx@gnu.org>
10518 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
10519 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
10521 (lisp-mode-syntax-table): Set up for #|...|# comments.
10522 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
10523 classes. Match `defface'.
10524 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
10525 (eval-defun-1): Fix for defcustom.
10526 (lisp-indent-region): Doc fix.
10528 * subr.el (when, unless, split-string): Doc fix.
10529 (read-passwd): Move call of clear-this-command-keys to the right
10531 (replace-regexps-in-string): New function.
10533 2000-02-22 Gerd Moellmann <gerd@gnu.org>
10535 * help.el (describe-variable): Set syntax table to
10536 emacs-lisp-mode-syntax-table when moving forward over the
10539 2000-02-22 Dave Love <fx@gnu.org>
10541 * xt-mouse.el: Doc fixes.
10542 (xterm-mouse-position-function): New function, replacing advice of
10544 (xterm-mouse-mode): Use it. Don't turn on under a window system.
10546 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
10548 2000-02-21 Gerd Moellmann <gerd@gnu.org>
10550 * format.el (format-annotate-single-property-change): Handle
10551 properties.with dotted-list values.
10552 (format-proper-list-p): New function.
10554 * enriched.el (enriched-face-ans): Handle '(foreground-color
10555 . COLOR) and (background-color . COLOR).
10557 2000-02-20 Dave Love <fx@gnu.org>
10559 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
10560 and assignments to it.
10561 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
10563 (make-flyspell-overlay): Use it.
10564 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
10566 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
10567 (lm-get-header-re): Defun, not defsubst.
10568 (lm-get-package-name): Defun, not defsubst. Simplify.
10569 (lm-version): Doc fix. Simplify.
10570 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
10571 (lm-crack-address, lm-last-modified-date, lm-commentary)
10572 (lm-verify, lm-synopsis): Simplify.
10573 (lm-report-bug): Require emacsbug. Use compose-mail.
10575 2000-02-20 Gerd Moellmann <gerd@gnu.org>
10577 * dired.el (dired-mode): Call propertized-buffer-identification
10578 to set mode-line-buffer-identification to something having
10579 the right text properties.
10581 * bindings.el (propertized-buffer-identification): New function.
10583 2000-02-20 Dave Love <fx@gnu.org>
10585 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
10586 check for t-mouse too.
10588 * cus-start.el: Make echo-keystrokes `number'.
10590 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
10592 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
10593 Don't call ring-empty-p unless tags-location-ring is bound.
10594 From Noah Friedman <friedman@splode.com>.
10596 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
10598 * progmodes/hideshow.el (hs-flag-region): No longer use
10599 `intangible' overlay property.
10601 (hs-toggle-hiding): New command.
10602 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
10604 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
10605 Fix omission bug: Run `hs-minor-mode-hook' for both activation
10608 2000-02-18 Gerd Moellmann <gerd@gnu.org>
10610 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
10612 2000-02-17 Gerd Moellmann <gerd@gnu.org>
10614 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
10616 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
10617 of `*' to handle `(* ... *)' comments.
10619 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
10621 * faces.el (list-faces-display): Use display-mouse-p instead of
10624 * menu-bar.el (global-map): Menu-bar items converted to the new
10625 format (menu-item..., rearranged for better CUA compliance, and
10626 their names changed for better clarity. Help strings added.
10628 * international/mule-cmds.el (mule-menu-keymap)
10629 (describe-language-environment-map, set-coding-system-map)
10630 (setup-language-environment-map): Convert to new (menu-item...
10631 form, add help strings. Change names of menu items for better
10632 clarity. "Mule" menu-bar item removed (it's now in the "Options"
10635 2000-02-17 Gerd Moellmann <gerd@gnu.org>
10637 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
10640 2000-02-16 Dave Love <fx@gnu.org>
10642 * faces.el: Don't require custom. Add more specific :groups to
10644 (set-face-attribute): Purecopy args.
10645 (read-face-name): Default to name at point and use it in prompt.
10646 Remove colon from arg in all callers.
10647 (list-faces-display): Hyperlink to face descriptions and customize
10650 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
10652 * wid-edit.el (widget-match-inline): An atom never matches a
10655 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10657 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
10658 at ':' characters by call to split-string.
10660 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10662 * textmodes/bibtex.el: Added RCS version identification.
10664 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10666 * textmodes/bibtex.el: Some temporary comments removed.
10667 (bibtex-field-name, bibtex-entry-type): Made the relationship
10669 (bibtex-field-const): Allow capital letters.
10670 (bibtex-start-of-string): Deleted because unused.
10672 * textmodes/bibtex.el: Unified some nomenclature. We no longer
10673 use the term 'reference' to describe a bibtex entry as a whole.
10674 Further, reference keys are no longer called 'labels'.
10675 (bibtex-keys): Renamed to bibtex-reference-keys.
10676 (bibtex-reformat-previous-labels): Renamed to
10677 bibtex-reformat-previous-reference-keys.
10678 (bibtex-reference-type): Renamed to bibtex-entry-type.
10679 (bibtex-reference-head): Renamed to bibtex-entry-head.
10680 (bibtex-reference-maybe-empty-head): Renamed to
10681 bibtex-entry-maybe-empty-head.
10682 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
10683 (bibtex-search-reference): Renamed to bibtex-search-entry.
10684 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
10685 bibtex-enclosing-entry-maybe-empty-head.
10686 (bibtex-entry-field-alist, bibtex-entry-head,
10687 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
10688 bibtex-map-entries, bibtex-search-entry,
10689 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
10690 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10691 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
10692 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
10693 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
10694 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
10695 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
10697 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10699 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
10701 (bibtex-format-field-delimiters): New function, functionality
10702 extracted from bibtex-format-entry.
10703 (bibtex-autokey-get-yearfield-digits): New function, functionality
10704 extracted from bibtex-autokey-get-yearfield.
10706 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
10707 entries in order to avoid stack overflow in the regexp matcher if
10708 field contents become large.
10709 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
10710 bibtex-field-string-part-not-braced,
10711 bibtex-field-string-part-no-inner-braces,
10712 bibtex-field-string-part-1-inner-brace,
10713 bibtex-field-string-part-2-inner-braces,
10714 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
10715 bibtex-field-string-quoted, bibtex-field-string,
10716 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
10717 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
10718 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
10719 as parsing is now performed by the following functions.
10720 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
10721 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
10722 bibtex-parse-field-string, bibtex-search-forward-field-string,
10723 bibtex-parse-association, bibtex-field-name-for-parsing,
10724 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
10725 bibtex-search-forward-field, bibtex-search-backward-field,
10726 bibtex-start-of-field, bibtex-end-of-field,
10727 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
10728 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
10729 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
10730 bibtex-parse-string, bibtex-search-forward-string,
10731 bibtex-search-backward-string, bibtex-start-of-string,
10732 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
10733 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
10734 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
10735 entries. Instead of reporting the results of the parsing by
10736 match-beginning or match-end, these functions return data structures
10737 that hold the corresponding positions.
10738 (bibtex-enclosing-field): Changed to also report field boundaries by
10739 return values rather than by match-beginning or match-end. The
10740 following functions have been adapted to use the new parsing
10742 (bibtex-skip-to-valid-entry, bibtex-search-reference,
10743 bibtex-enclosing-field, bibtex-format-entry,
10744 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
10745 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
10746 bibtex-print-help-message, bibtex-end-of-entry,
10747 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
10748 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10749 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
10750 method for parsing.
10751 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
10752 bibtex-map-entries, bibtex-flash-head,
10753 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
10754 bibtex-autokey-change, bibtex-autokey-get-namefield,
10755 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
10756 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10757 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
10758 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10759 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
10760 order to make the new binding of case-fold-search immediately
10763 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10765 * textmodes/bibtex.el: Copyright notice is up to date.
10766 Added constant 'bibtex-maintainer-salutation.
10768 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
10769 than make-temp-name, use match-string-no-properties and eliminate
10770 a quadratic behavior when building bibtex-strings.
10772 * bibtex.el (bibtex-reference-key): Accept string entries whose
10773 reference key contains upper case letters.
10775 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10777 * bibtex.el (bibtex-reference-head): Allow entries to start with
10780 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10782 * bibtex.el: Hiding of entry bodies is not longer provided by
10783 bibtex.el directly. Instead the hideshow package can be used.
10784 Added a special bibtex entry to hs-special-modes-alist.
10785 (bibtex-hs-forward-sexp): Added for hideshow.el.
10787 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10789 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
10790 at ':' characters by call to split-string.
10792 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10794 * textmodes/bibtex.el: Added RCS version identification.
10796 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10798 * textmodes/bibtex.el: Some temporary comments removed.
10799 (bibtex-field-name, bibtex-entry-type): Made the relationship
10801 (bibtex-field-const): Allow capital letters.
10802 (bibtex-start-of-string): Deleted because unused.
10804 * textmodes/bibtex.el: Unified some nomenclature. We no longer
10805 use the term 'reference' to describe a bibtex entry as a whole.
10806 Further, reference keys are no longer called 'labels'.
10807 (bibtex-keys): Renamed to bibtex-reference-keys.
10808 (bibtex-reformat-previous-labels): Renamed to
10809 bibtex-reformat-previous-reference-keys.
10810 (bibtex-reference-type): Renamed to bibtex-entry-type.
10811 (bibtex-reference-head): Renamed to bibtex-entry-head.
10812 (bibtex-reference-maybe-empty-head): Renamed to
10813 bibtex-entry-maybe-empty-head.
10814 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
10815 (bibtex-search-reference): Renamed to bibtex-search-entry.
10816 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
10817 bibtex-enclosing-entry-maybe-empty-head.
10818 (bibtex-entry-field-alist, bibtex-entry-head,
10819 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
10820 bibtex-map-entries, bibtex-search-entry,
10821 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
10822 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10823 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
10824 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
10825 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
10826 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
10827 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
10829 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10831 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
10833 (bibtex-format-field-delimiters): New function, functionality
10834 extracted from bibtex-format-entry.
10835 (bibtex-autokey-get-yearfield-digits): New function, functionality
10836 extracted from bibtex-autokey-get-yearfield.
10838 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
10839 entries in order to avoid stack overflow in the regexp matcher if
10840 field contents become large.
10841 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
10842 bibtex-field-string-part-not-braced,
10843 bibtex-field-string-part-no-inner-braces,
10844 bibtex-field-string-part-1-inner-brace,
10845 bibtex-field-string-part-2-inner-braces,
10846 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
10847 bibtex-field-string-quoted, bibtex-field-string,
10848 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
10849 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
10850 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
10851 as parsing is now performed by the following functions.
10852 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
10853 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
10854 bibtex-parse-field-string, bibtex-search-forward-field-string,
10855 bibtex-parse-association, bibtex-field-name-for-parsing,
10856 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
10857 bibtex-search-forward-field, bibtex-search-backward-field,
10858 bibtex-start-of-field, bibtex-end-of-field,
10859 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
10860 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
10861 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
10862 bibtex-parse-string, bibtex-search-forward-string,
10863 bibtex-search-backward-string, bibtex-start-of-string,
10864 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
10865 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
10866 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
10867 entries. Instead of reporting the results of the parsing by
10868 match-beginning or match-end, these functions return data structures
10869 that hold the corresponding positions.
10870 (bibtex-enclosing-field): Changed to also report field boundaries by
10871 return values rather than by match-beginning or match-end. The
10872 following functions have been adapted to use the new parsing
10874 (bibtex-skip-to-valid-entry, bibtex-search-reference,
10875 bibtex-enclosing-field, bibtex-format-entry,
10876 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
10877 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
10878 bibtex-print-help-message, bibtex-end-of-entry,
10879 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
10880 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10881 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
10882 method for parsing.
10883 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
10884 bibtex-map-entries, bibtex-flash-head,
10885 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
10886 bibtex-autokey-change, bibtex-autokey-get-namefield,
10887 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
10888 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10889 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
10890 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10891 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
10892 order to make the new binding of case-fold-search immediately
10895 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10897 * textmodes/bibtex.el: Copyright notice is up to date.
10898 Added constant 'bibtex-maintainer-salutation.
10900 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
10901 than make-temp-name, use match-string-no-properties and eliminate
10902 a quadratic behavior when building bibtex-strings.
10904 * bibtex.el (bibtex-reference-key): Accept string entries whose
10905 reference key contains upper case letters.
10907 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10909 * bibtex.el (bibtex-reference-head): Allow entries to start with
10912 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10914 * bibtex.el: Hiding of entry bodies is not longer provided by
10915 bibtex.el directly. Instead the hideshow package can be used.
10916 Added a special bibtex entry to hs-special-modes-alist.
10917 (bibtex-hs-forward-sexp): Added for hideshow.el.
10919 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10921 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
10922 proceedings entry type (for cross referencing). Thanks to Wagner
10923 Toledo Correa for the suggestion.
10925 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
10927 2000-02-14 Kenichi Handa <handa@etl.go.jp>
10929 * international/characters.el: Setup case table for Vietnamese.
10931 2000-02-12 Gerd Moellmann <gerd@gnu.org>
10933 * uniquify.el (toplevel): Require CL at compile time.
10934 (uniquify-push): Removed.
10936 * shadowfile.el (shadow-when): Removed.
10938 * tempo.el (tempo-dolist, tempo-mapc): Removed.
10939 (tempo-process-and-insert-string): Use dolist instead of
10942 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
10943 regexp for paragraph-start.
10945 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
10948 2000-02-10 Dave Love <fx@gnu.org>
10950 * wid-edit.el: (widgets) [defgroup]: Remove url link.
10951 (widget-color-choice-list, widget-color-history, widget-mouse-help):
10953 (widget-specify-field, widget-specify-button): Don't use
10954 widget-mouse-help as help-echo property.
10955 (default): Use #'ignore for :validate and :mouse-down-action.
10956 (checkbox): Add help-echo.
10957 (widget-sexp-validate): Rewritten to clarify error messages.
10958 (character): Use char-valid-p in :match function.
10959 (widget-color-complete): Use facemenu-color-alist.
10960 (widget-color-action): Use facemenu-read-color.
10962 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
10963 set up `caar' &c that we now have.
10965 2000-02-09 Ray Blaak <blaak@gnu.org>
10967 * delphi.el: Make resourcestring a declaration region, like const
10970 2000-02-09 Dave Love <fx@gnu.org>
10972 * bindings.el (mode-line-input-method-map): New variable.
10973 (mode-line-mule-info): Use it; fix last change.
10974 (mode-line-mode-menu): Move definition.
10975 (mode-line-mouse-sensitive-p): Deleted.
10976 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
10977 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
10980 * startup.el (command-line-1): Don't call
10981 make-mode-line-mouse-sensitive.
10983 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
10985 * mail/rmail.el (rmail-retry-failure): Use
10986 rmail-beginning-of-message before rmail-toggle-header, because the
10987 former toggles headers.
10989 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
10991 * diff-mode.el (diff-kill-junk): New interactive function.
10992 (diff-reverse-direction): Use delete-and-extract-region.
10993 (diff-post-command-hook): Restrict the area so that the hook also works
10994 outside of any diff hunk. This is necessary for the minor-mode.
10995 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
10996 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
10998 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
10999 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
11000 so that it can be used more easily in <foo>-mode-hook. Also make sure
11001 to avoid duplicate entries.
11002 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
11003 (font-lock-remove-keywords): Just as was done for `add', allow it to
11004 work even if font-lock-mode is nil. Also make sure we don't modify
11005 any pre-existing list by forcing a copy-sequence. Finally rename
11006 `major-mode' to `mode'.
11007 (font-lock-fontify-syntactic-anchored-keywords)
11008 (font-lock-fontify-anchored-keywords)
11009 (font-lock-fontify-keywords-region): Use line-end-position.
11010 Don't make `font-lock-multiline' local (it's now done in
11011 font-lock-set-defaults).
11012 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
11013 move the `font-lock-fontified' creation to inside the `unless'.
11015 2000-02-06 Andrew Innes <andrewi@gnu.org>
11017 * term/w32-win.el (x-handle-args): Comment out call to message,
11018 which occurs before window system is initialized.
11020 * makefile.nt: Add support for recompiling lisp code.
11022 2000-02-04 Dave Love <fx@gnu.org>
11024 * bindings.el (mode-line-mule-info): Fix/extend last change.
11026 * completion.el: Replace completion-dolist with dolist.
11028 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
11031 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
11033 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
11034 environment names before they go into the section regexp.
11036 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
11037 char class in regexp.
11039 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
11040 `case-fold-search' to nil.
11042 * progmodes/idlwave.el (idlwave-template): Respect
11043 `idlwave-abbrev-change-case'.
11044 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
11045 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
11046 idlwave-while): respect `idlwave-reserved-word-upcase'.
11047 (idlwave-rw-case): New function.
11048 (idlwave-statement-match): Fixed problem with assignment regexp.
11049 (idlwave-font-lock-keywords): Improved regexp for keyword
11051 (idlwave-surround): New argument LENGTH to support padding of
11052 operators longer than 1 char.
11054 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
11055 idlwave-shell-expression-overlay. Implemented printing of
11056 expressions on higher levels of the calling stack.
11057 (idlwave-shell-display-level-in-calling-stack): Restore stack
11059 (idlwave-retrieve-expression-from-level): New function.
11060 (idlwave-shell-last-calling-stack): Variable removed.
11061 (idlwave-shell-reset): Argument action reversed (`visible' to
11062 `hidden'). Also remove stop-line overlay.
11063 (idlwave-shell-calling-stack-routine): New variable.
11064 (idlwave-shell-parse-stack-and-display): Messages now display
11065 negative level numbers.
11066 (idlwave-shell-mode): Set `modeline-format'.
11067 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
11068 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
11070 (idlwave-shell-print-expression-function): New option.
11072 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
11073 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
11074 `tool-bar' instead of `toolbar'.
11076 2000-02-02 Dave Love <fx@gnu.org>
11078 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
11079 emacs-lisp-mode-hook. Don't check for defalias being defined.
11081 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
11082 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
11083 the new builtins directly.
11085 * whitespace.el (whitespace): Add :version to defgroup.
11087 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
11090 * thingatpt.el (sexp-at-point, symbol-at-point)
11091 (number-at-point, list-at-point): Add autoload cookie.
11093 * recentf.el (recentf): Add :version to defgroup.
11095 * quickurl.el (quickurl): Add :version to defgroup.
11097 * elide-head.el (elide-head): Use point-marker more.
11099 * bs.el (bs): Add :version to defgroup.
11101 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
11103 * progmodes/delphi.el (delphi): Add :version to defgroup.
11105 2000-02-02 Gerd Moellmann <gerd@gnu.org>
11107 * ange-ftp.el (ange-ftp-write-region): Handle case that
11108 succeeding process operation sets a different coding system.
11110 * calculator.el: New file.
11112 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
11114 * frame.el (frames-on-display-list, framep-on-display): New
11116 (display-mouse-p, display-popup-menus-p, display-graphic-p)
11117 (display-selections-p, display-screens, display-pixel-width)
11118 (display-pixel-height, display-mm-width, display-mm-height)
11119 (display-backing-store, display-save-under, display-planes)
11120 (display-color-cells, display-visual-class): New functions.
11122 * term/tty-colors.el (tty-color-gray-shades): New function.
11124 * faces.el (display-color-p): Use framep-on-display.
11125 (display-grayscale-p): New function.
11127 2000-01-31 Dave Love <fx@gnu.org>
11129 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
11130 (create-fontset-from-x-resource): Don't concat integers.
11132 2000-01-31 Inge Frick <inge@nada.kth.se>
11134 * view.el: Some changes in documentation. Removed some trailing
11135 whitespace. Changed some parameter names to agree with
11137 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
11138 window is not deleted. Modifies change 1998-04-26.
11140 2000-01-31 Gerd Moellmann <gerd@gnu.org>
11142 * windmove.el: New file.
11144 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
11145 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
11146 progmodes/ebnf-yac.el: Update copyright and license info.
11148 * jit-lock.el (jit-lock-function): Widen before calculating end
11150 (jit-lock-stealth-chunk-start): Rewritten.
11152 * info.el (Info-title-face-alist): Removed.
11153 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
11155 (Info-fontify-node): Use these faces.
11157 2000-01-30 Gerd Moellmann <gerd@gnu.org>
11159 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
11160 (cl-macro-list1): Recognize `&allow-other-keys' instead of
11161 `&allow-other-keywords'.
11163 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
11164 the list of directories scanned heuristically.
11166 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
11169 2000-01-30 Jason Rumney <jasonr@gnu.org>
11171 * w32-fns.el: Define w32-tty-standard-colors.
11173 * startup.el (command-line): Use w32-tty-standard-colors when in
11176 2000-01-30 Dave Love <fx@gnu.org>
11178 * jka-compr.el (jka-compr-load): Fix up load-history.
11180 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
11182 * emacs-lisp/cl-macs.el: Revert previous change.
11184 2000-01-29 Dave Love <fx@gnu.org>
11186 * facemenu.el: Purecopy various strings.
11188 * timezone.el (timezone-fix-time): Window against 69 for two-digit
11189 years. Deal with three-digit years.
11191 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
11192 defconst, purecopy.
11193 (help-back-label): Purecopy it.
11195 2000-01-18 Gerd Moellmann <gerd@gnu.org>
11197 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
11198 variable. If non-nil, order the buffer list according to the
11199 currently selected frame.
11200 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
11201 non-nil, pass the selected frame to function buffer-list.
11203 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11205 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
11207 2000-01-28 Dave Love <fx@gnu.org>
11209 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
11211 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
11212 Don't use lisp-indent-hook property.
11215 * subr.el: Move out indent and edebug specs for when and unless.
11217 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
11220 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
11223 2000-01-28 Gerd Moellmann <gerd@gnu.org>
11225 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
11226 `collecting' as synonym for `collect'.
11228 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
11229 for the case it contains spaces.
11231 * simple.el (what-cursor-position): Change formatting of
11234 * frame.el (delete-other-frames): New function.
11235 (toplevel): Bind it to C-x 5 1.
11237 * sort.el (sort-numeric-base): New option.
11238 (sort-numeric-fields): If number starts with `0' or `0[xX[',
11239 interpret it as octal or hexadecimal. Use sort-numeric-base
11242 * progmodes/glasses.el: New file.
11244 2000-01-27 Gerd Moellmann <gerd@gnu.org>
11246 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
11247 userids differently.
11249 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
11250 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
11251 progmodes/ebnf-yac.el: New files.
11253 2000-01-26 Dave Love <fx@gnu.org>
11255 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
11256 on a function with an empty body. [From Eric Ludlam.]
11258 2000-01-25 Andre Spiegel <spiegel@gnu.org>
11260 * vc.el (vc-version-diff): Make sure file name is expanded.
11262 2000-01-25 Gerd Moellmann <gerd@gnu.org>
11264 * scroll-bar.el (scroll-bar-timer): Variable removed.
11265 (scroll-bar-toolkit-scroll): Don't use a timer.
11267 2000-01-25 Kenichi Handa <handa@etl.go.jp>
11269 * language/thai-util.el (thai-composition-function): Delete
11272 2000-01-24 Dave Love <fx@gnu.org>
11274 * fortran.el (fortran-mode): Use beginning-of-defun-function,
11275 end-of-defun-function.
11277 * font-lock.el (turn-on-font-lock): Don't depend on window-system
11280 2000-01-22 Jason Rumney <jasonr@gnu.org>
11282 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
11283 conflicts with new face support.
11285 2000-01-22 Richard M. Stallman <rms@gnu.org>
11287 * replace.el (query-replace): Rename last arg to DELIMITED.
11288 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
11289 (query-replace-regexp): Likewise.
11291 2000-01-20 Richard M. Stallman <rms@gnu.org>
11293 * subr.el (with-syntax-table): Use make-symbol, not gensym.
11295 * emacs-lisp/lisp.el (beginning-of-defun-function):
11296 Variable renamed from beginning-of-defun.
11297 Do not call make-variable-buffer-local.
11298 (beginning-of-defun-raw): Use new variable name; doc fix.
11299 (beginning-of-defun): Doc fix.
11300 (end-of-defun-function): Variable renamed from end-of-defun.
11301 Do not call make-variable-buffer-local.
11302 (end-of-defun): Use new variable name; doc fix.
11304 * subr.el (dolist, dotimes): Copied from cl-macs.el
11307 * mail/undigest.el (rmail-digest-end-regexps):
11308 Variable replaces rmail-digest-end-regexp.
11309 Allows multiple regexps for detecting the end line.
11310 (undigestify-rmail-message): Corresponding changes.
11312 2000-01-19 Dave Love <fx@gnu.org>
11314 * files.el (user-init-file): Don't declare here -- is primitive.
11316 * startup.el (command-line): Check for compiled user-init-file and
11317 set to uncompiled version if necessary.
11319 2000-01-18 Gerd Moellmann <gerd@gnu.org>
11321 * mail/undigest.el (rmail-digest-end-regexp): New user option.
11322 (undigestify-rmail-message): Use it.
11324 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
11326 2000-01-17 Gerd Moellmann <gerd@gnu.org>
11328 * tmm.el (tmm-goto-completions): Adapt to prompt being part
11331 2000-01-14 Gerd Moellmann <gerd@gnu.org>
11333 * emacs-lisp/copyright.el (copyright-update): Removed the
11334 requirement for a trailing space from `copyright-regexp', to
11335 support copyrights with owner specified on a separate line..
11337 * align.el: New file.
11339 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
11341 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
11343 2000-01-13 Dave Love <fx@gnu.org>
11345 * ph.el: Removed. (Obsoleted by EUDC.)
11347 2000-01-13 Gerd Moellmann <gerd@gnu.org>
11349 * net/eudc.el (toplevel): Remove autoloaded code installing
11350 menu with easymenu, because that causes build problems.
11352 * frame.el (frame-notice-user-settings): New variable.
11353 (frame-notice-user-settings): Don't modify frame parameters
11354 if called a second time.
11356 2000-01-13 Richard M. Stallman <rms@gnu.org>
11358 * frame.el (frame-notice-user-settings):
11359 Notice default-frame-parameters even for non-window frames.
11361 2000-01-13 Gerd Moellmann <gerd@gnu.org>
11363 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
11365 (eudc-bob-can-display-inline-images): Extend for Emacs.
11366 (eudc-bob-toggle-inline-display): Ditto.
11367 (eudc-bob-display-jpeg): Ditto.
11369 2000-01-12 Gerd Moellmann <gerd@gnu.org>
11371 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
11372 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
11373 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
11375 * add-log.el (add-change-log-entry): Fix error trying an `(insert
11378 * subdirs.el: Add `net' directory.
11380 * net: New directory.
11382 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
11383 eval-last-sexp. Don't bind debug-on-error here.
11384 (eval-last-sexp): New function. Bind debug-on-error if
11385 eval-expression-debug-on-error is non-nil.
11386 (eval-defun-2, eval-defun): Likewise.
11388 * simple.el (eval-expression): Don't bind debug-on-error if
11389 eval-expression-debug-on-error is nil. Detect changed
11390 debug-on-error, and propagate new value to global binding, if
11391 eval-expression-debug-on-error is non-nil,
11392 (eval-expression-debug-on-error): Change doc string.
11394 2000-01-11 Richard M. Stallman <rms@gnu.org>
11396 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
11398 * emacs-lisp/lisp-mode.el (with-syntax-table):
11399 Set up lisp-indent-function property.
11401 * subr.el (with-syntax-table): Moved from simple.el.
11403 * simple.el (with-syntax-table): Moved to subr.el.
11405 2000-01-11 Gerd Moellmann <gerd@gnu.org>
11407 * tmm.el (tmm-shortcut): Delete region after prompt instead
11410 * textmodes/fill.el (fill-common-string-prefix): New function.
11411 (fill-context-prefix): Use the longest common prefix of first
11412 and second line fill prefix, if there is one.
11414 2000-01-11 Richard M. Stallman <rms@gnu.org>
11416 * array.el (array-mode): Don't use make-variable-buffer-local.
11417 Use make-local-variable for `truncate-lines'.
11419 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
11421 * add-log.el (add-log-current-defun): Handle user-defined
11422 add-log-current-function returning nil,
11424 * add-log.el (add-change-log-entry): Insert version number
11425 if having found a current function
11427 * add-log.el (add-log-current-defun): Call
11428 `add-log-current-defun-function'. Try matches at level 0 and
11429 level 1. Strip whitespace from defun found.
11431 2000-01-10 John Wiegley <johnw@gnu.org>
11433 * allout.el (isearch-done/outline-provisions): Added `edit'
11434 argument to correspond with the current definition of
11437 2000-01-10 Dave Love <fx@gnu.org>
11439 * elide-head.el (elide-head): Use point-marker, not point.
11441 2000-01-10 Gerd Moellmann <gerd@gnu.org>
11443 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
11444 before and after the year 2000.
11446 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
11447 Add ispell- prefix.
11449 2000-01-10 Ken Stevens <k.stevens@ieee.org>
11451 * ispell.el: Only define dictionaries in menus when they exist.
11452 (version18p): New variable.
11453 (version20p): New variable.
11454 (xemacsp): New variable.
11455 (ispell-choices-win-default-height): Fix for XEmacs visibility.
11456 (ispell-dictionary-alist1): Added Brasileiro dictionary.
11457 (ispell-dictionary-alist6): Russian command lines no longer accept
11458 run-together words.
11459 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
11460 (ispell-dictionary-alist): Add koi8-r to customize definition.
11461 (check-ispell-version): Added documentation string. Returns
11462 library path when called non-interactively.
11463 (ispell-menu-map-needed): Uses new variables.
11464 (ispell-library-path): New variable.
11465 (ispell-decode-string): XEmacs fix for bogus variable bindings.
11466 (ispell-word): Improved documentation string. Test for valid
11467 character mappings. Correctly check typed in word changes that can
11468 result in single words split into multiple words. Returns
11470 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
11471 replace in recursive query replace mode. Help message for
11472 recursive edit mode.
11473 (ispell-show-choices): Protect against bad framepop bindings.
11474 (ispell-help): Fix to work with XEmacs.
11475 (ispell-highlight-spelling-error): Use new variables.
11476 (ispell-overlay-window): Fix to work with XEmacs.
11477 (ispell-parse-output): Passed and returns location information
11478 tracking spelling corrections. Doesn't recheck same word on
11480 (ispell-init-process): Protect against bogus XEmacs variable binding.
11481 Fix call to single argument in sleep-for. Use new variables.
11482 (ispell-region): Passed and returns location information tracking
11483 spelling corrections. Doesn't check same word on current line.
11484 Improved documentation string. Doesn't resend a line already
11485 checked to the ispell process - fixes bug in LaTeX parsing.
11486 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
11487 (ispell-skip-region): No longer skips <TT> in SGML.
11488 (ispell-process-line): Tracks location information with spelling
11489 corrections. Added documentation string. Accounts for words
11490 already accepted on this line. Don't allow query-replace on line
11491 starting with math characters. Doesn't resend a line already sent
11492 to ispell process. Fixes alignment error bug.
11494 2000-01-10 Richard M. Stallman <rms@gnu.org>
11496 * dired-x.el (dired-guess-shell-alist-default):
11497 Suggest xloadimage, which is free, not xv, which isn't.
11499 * ange-ftp.el (ange-ftp-file-name-nondirectory):
11500 Don't ever include the host name or user name in the value.
11502 2000-01-09 Gerd Moellmann <gerd@gnu.org>
11504 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
11507 2000-01-09 Stephen Eglen <stephen@gnu.org>
11509 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
11512 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
11514 * cus-edit.el (custom-hook-convert-widget): Fix comment.
11516 2000-01-09 Gerd Moellmann <gerd@gnu.org>
11518 * progmodes/cperl-mode.el: Replace ^F with ^L.
11520 * sendmail.el (toplevel): Provide `sendmail' when compiling
11521 before `require'ing rmail and mailalias to prevent infinite
11524 2000-01-08 Dave Love <fx@gnu.org>
11526 * emacs-lisp/backquote.el: Remove inappropriate customization
11527 (allowing custom.el to use backquote).
11529 2000-01-07 Dave Love <fx@gnu.org>
11531 * add-log.el (add-log-debugging): Deleted.
11532 (add-change-log-entry): Treat a backup FILE-NAME as its parent
11533 file. Remove debugging code.
11534 (change-log-get-method-definition, change-log-name): Add doc.
11535 (change-log-sortable-date-at): New function.
11536 (change-log-merge): New command.
11538 * time.el (display-time-string-forms): Make the Mail string active.
11539 (display-time-update): Provide help-echo for load average.
11541 * bindings.el (make-mode-line-mouse2-map): New function.
11542 (mode-line-modified): Use it and simplify.
11543 (mode-line-mule-info): Provide help-echo info.
11544 (minor-mode-alist): Activate the strings.
11545 (make-mode-line-mouse-sensitive): Simplify for
11546 mode-line-buffer-identification.
11548 2000-01-07 Gerd Moellmann <gerd@gnu.org>
11550 * play/pong.el: New file.
11552 2000-01-06 Dave Love <fx@gnu.org>
11554 * array.el: Assorted cleanups for compiler warnings, doc strings,
11555 `array-' prefix for symbols.
11557 2000-01-05 Dave Love <fx@gnu.org>
11559 * textmodes/outline.el (outline-mode-menu-bar-map): Add
11560 outline-headers-as-kill.
11561 (outline-mode): Define imenu-generic-expression.
11562 (outline-headers-as-kill): New command.
11564 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
11565 from paragraph-start.
11566 (paragraph-indent-minor-mode): New command.
11568 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
11569 M-C-e, M-C-h, C-j, C-xnd, TAB.
11570 (fortran-mode): Set beginning-of-defun, end-of-defun.
11571 (fortran-column-ruler): Simplify.
11572 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
11573 (fortran-with-subprogram-narrowing): Likewise.
11574 (fortran-indent-subprogram): Call mark-defun.
11575 (fortran-check-for-matching-do): Change narrowing.
11577 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
11578 (cl-lucid-hash-tag): Delete.
11579 (cl-hash-table-p): Correct test for native table.
11580 (cl-hash-table-count): Use hash-table-count.
11582 * browse-url.el (browse-url): Fix case of
11583 browse-url-browser-function being an alist.
11585 2000-01-05 Carsten Dominik <cd@gnu.org>
11587 * textmodes/reftex-vars.el (reftex-parse-file-extension)
11588 (reftex-index-phrase-file-extension): New options.
11590 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
11591 Use new option `reftex-index-phrase-file-extension'.
11593 * textmodes/reftex.el (reftex-access-parse-file): Use new option
11594 `reftex-parse-file-extension'.
11596 2000-01-05 Dave Love <fx@gnu.org>
11598 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
11599 (beginning-of-defun-raw): Use it.
11600 (end-of-defun): New variable.
11601 (end-of-defun): Use it.
11602 (check-parens): New command.
11604 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
11606 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
11607 (hs-show-block): Don't use `mapcar' when not accumulating.
11609 Fix buglet in local variables initialization.
11611 2000-01-05 Andreas Schwab <schwab@suse.de>
11613 * hscroll.el (hscroll): Doc fix.
11615 2000-01-05 Carsten Dominik <cd@gnu.org>
11617 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
11620 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
11621 file idlw-rinfo.el.
11622 (idlwave-customize): load must read file idlw-shell.el.
11623 (idlwave-create-customize-menu): load must read file idlw-shell.el.
11625 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
11627 * progmodes/idlw-shell.el: Also provide idlwave-shell
11628 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
11629 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
11631 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
11632 both reftex-dcr and reftex-vcr.
11634 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
11636 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11638 * ps-print.el: PostScript code now is in separate files, doc fix.
11639 (ps-print-version): New version number (5.0.3).
11640 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
11642 (ps-spool-config): Initialization fix.
11643 (ps-print-prologue-1, ps-print-prologue-2)
11644 (ps-print-duplex-feature): PostScript code moved to separated file.
11645 (ps-background-image): Little code reformating.
11646 (ps-begin-file, ps-begin-job): Fix code.
11647 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
11648 (ps-prologue-file): New fun.
11650 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11652 * ps-vars.el: Eliminated.
11654 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
11657 * ps-print.el: ps-vars eliminated, doc fix.
11658 (ps-print-version): New version number (5.0.2).
11659 (ps-spool-config): Initialization fix.
11660 (ps-print-customize): New fun.
11662 2000-01-04 Gerd Moellmann <gerd@gnu.org>
11664 * autorevert.el (auto-revert-mode): Return value of
11667 2000-01-04 Dave Love <fx@gnu.org>
11669 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
11672 2000-01-03 Dave Love <fx@gnu.org>
11674 * elide-head.el (elide-head) [defgroup]: Add :version.
11676 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
11677 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
11678 `cl-hash-table-p', not `hash-table-p'.
11679 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
11681 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
11683 * faces.el (face-read-integer, read-face-attribute)
11684 (color-defined-p, color-values): unspecified-{f,b}g are now
11687 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
11689 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
11690 at comment end, and re-insert them after filling.
11692 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
11694 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
11695 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
11696 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
11698 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
11700 * term/x-win.el (xw-defined-colors): Call color-supported-p,
11701 the new name of face-color-supported-p.
11703 * term/w32-win.el (xw-defined-colors): Likewise.
11705 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
11707 * simple.el (completion-setup-function): Count completion-size
11708 from minibuffer-prompt-end, not from point-min.
11710 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
11712 * faces.el (read-face-attribute, defined-colors, color-defined-p):
11713 Pass the frame to tty-color-* functions.
11714 (display-color-p, frame-set-background-mode): Pass the frame to
11715 tty-display-color-p.
11717 * term/tty-colors.el (tty-defined-color-alist): Renamed from
11719 (tty-color-alist, tty-modify-color-alist): New functions.
11720 (tty-color-define, tty-color-clear, tty-color-approximate)
11721 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
11722 an optional parameter FRAME.
11724 2000-01-01 Gerd Moellmann <gerd@gnu.org>
11726 * image.el (create-image, defimage): Don't assume image data is a
11729 * image.el (defimage): Handle specifications containing :data
11731 (image-type-from-data): New function.
11732 (image-type-from-file-header): Use it.
11733 (create-image): Add parameter DATA-P.
11735 See ChangeLog.8 for earlier changes.
11737 ;; Local Variables:
11738 ;; coding: iso-2022-7bit