1 2000-09-25 Sam Steingold <sds@gnu.org>
3 * net/browse-url.el (browse-url-file-url): Check for null maps.
5 2000-09-26 Gerd Moellmann <gerd@gnu.org>
7 * frame.el (frame-notice-user-settings): Don't add a
8 tool-bar-lines frame parameter to default-frame-alist in batch
11 * frame.el (frame-notice-user-settings): Make tool-bar-mode and
12 default-frame-alist consistent.
14 * toolbar/tool-bar.el (tool-bar-help): New function.
16 2000-09-25 Gerd Moellmann <gerd@gnu.org>
18 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
19 current-load-list in top-level forms. Else this leaks a cons cell
20 every time a defun is called.
22 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
24 2000-09-25 Dave Love <fx@gnu.org>
26 * startup.el (fancy-splash-head): Check XPM is available.
28 * autoinsert.el (auto-insert): Doc fix.
29 (auto-insert-alist): Following GNU notices, don't say `copyright
30 _by_'. Use line-beginning-position.
31 (auto-insert): Check buffer-file-name is non-nil before use.
33 2000-09-25 Gerd Moellmann <gerd@gnu.org>
35 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
36 starting with `@def' or `@multitable', in addition to ones
37 specified by the user in auto-fill-inhibit-regexp.
39 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
41 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
42 rmail-dont-reply-to-names matches the empty string.
44 2000-09-25 Gerd Moellmann <gerd@gnu.org>
46 * startup.el (command-line-1, fancy-splash-text): Change the
47 text to sound more friendly.
49 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
51 * progmodes/hideshow.el: Update author email address.
52 Generally, sync w/ maintainer version 5.22.
54 (hs-hide-all-non-comment-function): New var.
55 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
56 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
57 (hs-show-region): Delete this command.
58 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
60 2000-09-22 Dave Love <fx@gnu.org>
62 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
63 (hl-line-highlight): Specify buffer when moving overlay.
65 * progmodes/fortran.el (fortran-mode): Locally set
66 normal-auto-fill-function.
67 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
68 (fortran-mode-map): Adjust auto-fill menu entry.
70 2000-09-22 Gerd Moellmann <gerd@gnu.org>
72 * vc-rcs.el (toplevel): Require `vc' when compiling.
74 * startup.el (fancy-splash-head): Use splash.pbm instead of
77 2000-09-22 Andre Spiegel <spiegel@gnu.org>
79 * vc.el (vc-switch-backend): Signal an error if the file is not
80 registered under the new backend.
82 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
83 without explicit revision number.
85 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
87 * diff-mode.el (diff-file-header-face): Reset to its previous value.
88 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
89 (diff-xor): New function.
90 (diff-find-source-location): Use it. Fix a stupid name clash.
91 (diff-hunk-status-msg): New function.
92 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
93 (diff-test-hunk): Use diff-find-source-location.
94 (diff-goto-source): Favor the `reverse'.
95 (diff-hunk-text): Properly handle one-sided context diffs.
96 (diff-apply-hunk): When done, advance to the next hunk.
98 2000-09-21 Gerd Moellmann <gerd@gnu.org>
100 * startup.el (command-line): If frame was created with a non-zero
101 tool-bar-lines parameter, switch tool-bar-mode on.
103 * add-log.el (change-log-date-face, change-log-name-face)
104 (change-log-email-face, change-log-file-face)
105 (change-log-list-face, change-log-conditionals-face)
106 (change-log-function-face, change-log-acknowledgement-face): New
107 faces, inheriting from font-lock faces.
108 (change-log-font-lock-keywords): Use them.
110 2000-09-21 Dave Love <fx@gnu.org>
112 * progmodes/cperl-mode.el (top-level): Clean up
113 `eval-when-compile's and assorted defvars.
114 (cperl-invalid-face): Don't double-quote value. Change custom
116 (cperl-mode): Set normal-auto-fill-function and don't zap
118 (cperl-imenu--function-name-regexp-perl): Renamed from
119 imenu-example--function-name-regexp-perl.
120 (cperl-imenu--create-perl-index): Renamed from
121 imenu-example--create-perl-index.
122 (cperl-xsub-scan): Don't require cl.
124 * msb.el (msb-mode-map): Use substitute-key-definition.
125 (msb-mode): Use msb-mode-map.
127 2000-09-21 Andre Spiegel <spiegel@gnu.org>
129 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
131 (vc-next-action-on-file): Call vc-transfer-file at appropriate
133 (vc-switch-backend): New function.
134 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
135 (vc-register): Fix prompt.
136 (vc-unregister, vc-default-unregister): New functions.
137 (vc-version-diff): Handle empty buffer in sentinel.
139 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
140 (vc-rcs-state-heuristic): Use it to guess the state of files with
142 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
143 been set with -b, but not created yet.
144 (vc-rcs-fetch-master-state): With non-strict locking, compare file
145 contents in order to find the state.
146 (vc-rcs-checkin): Allow creation of branches with no changes.
147 (vc-rcs-unregister, vc-rcs-receive-file,
148 vc-rcs-set-non-strict-locking): New functions.
150 * vc-hooks.el (vc-name): Force correct computation of the value
151 in case it is missing.
153 2000-09-21 Gerd Moellmann <gerd@gnu.org>
155 * startup.el (fancy-splash-tail): Use a different foreground
156 color on a dark frame background.
158 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
160 * info.el: Use the correct capitalization when making Info-mode
161 and Info-edit-mode `special' modes.
163 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
165 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
166 (diff-mode): Add support for add-log.el.
167 (diff-hunk-text): Use char offsets rather than line offsets.
168 (diff-find-source-location): Replace LINE with line-offset (nil
169 if not found) and always set POS to a meaningful position.
170 Adapt to the new char-offsets.
171 (diff-apply-hunk): Drop support for the unused `select' POPUP.
172 Adapt to the new diff-find-source-location.
173 (diff-goto-source): Adapt to the new diff-find-source-location.
175 * add-log.el (add-log-file-name): New function (split out of
176 add-change-log-entry).
177 (add-change-log-entry): Use it.
178 Call add-log-file-name-function with the changelog file name if
179 the current buffer is not associated with any file.
180 Avoid find-file if the selected window is dedicated.
182 * diff-mode.el (diff-find-source-location):
183 Move code from diff-apply-hunk. Return buffer rather than file.
184 (diff-apply-hunk): Use the new result from diff-find-source-location.
185 (diff-goto-source): Use the new diff-find-source-location.
187 2000-09-20 Dave Love <fx@gnu.org>
189 * iswitchb.el: Some doc fixes.
190 (iswitchb-mode-map): Define completely initially. Inherit
191 minibuffer-local-map.
192 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
194 (iswitchb-global-map): New variable.
195 (iswitchb-summaries-to-end): Amalgamate regexps.
196 (iswitchb-mode): New.
197 (iswitchb-mode-hook): New variable.
198 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
201 2000-09-20 Gerd Moellmann <gerd@gnu.org>
203 * ehelp.el (electric-help): New defgroup.
204 (electric-help-shrink-window): New user-option.
205 (with-electric-help): Use it.
207 * window.el (shrink-window-if-larger-than-buffer): If face
208 `mode-line' has a :box, and we're on a graphical frame, add 1
209 to the needed window height.
211 * frame.el (frame-notice-user-settings): Add a last parameter nil
212 to a call to `append', because the last list passed to `append' is
213 not copied, and so subsequent calls to assq-delete-all will modify
216 * startup.el (fancy-splash-image): Change :type.
217 (fancy-splash-head): Use an XBM image if appropriate.
218 (command-line-1): Show splash screens in more cases.
220 * startup.el (fancy-splash-text): Don't quote faces.
222 * dired.el (dired-font-lock-keywords): Undo last change.
223 (dired-readin): Bind indent-tabs-mode to nil.
225 * startup.el (fancy-splash-head): If frame's background mode
226 is `dark', change the black background of the image to gray.
227 (fancy-splash-screens): Display startup echo area message.
228 (display-startup-echo-area-message): New function.
230 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
232 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
234 * info.el (info-header-node): Tweak for color ttys.
236 * faces.el (face-valid-attribute-values): Make sure directories we
237 search for stipples both exist and are readable before trying to
240 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
243 * jka-compr.el (with-auto-compression-mode): New macro.
245 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
246 (custom-group-tag-face, custom-variable-tag-face): Use relative
247 :height and inherit from `variable-pitch' face instead of
249 * hi-lock.el (hi-black-hb): Likewise.
251 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
252 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
253 toolbar-add-item, if image doesn't have a mask add a `:mask
256 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
258 * diff-mode.el: Docstring fixes.
259 (diff-header-face, diff-comment-face): New faces.
260 (diff-font-lock-keywords): Highlight a bit differently.
261 (diff-find-source-location): Don't return SPAN any more.
262 (diff-hunk-text): Don't bother erasing the temp buffer.
263 (diff-find-text): Drop argument LINE.
264 (diff-apply-hunk): Update calls to diff-find-text.
265 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
267 * calendar/calendar.el: Docstring fixes.
268 (calendar-make-alist): Don't quote lambda.
269 (calendar-star-date): Use make-local-variable.
271 2000-09-19 Dave Love <fx@gnu.org>
273 * toolbar/tool-bar.el: Renamed from toolbar.el.
274 Change `toolbar' to `tool-bar' generally in symbols.
275 Make some items invisible in `special' major modes.
276 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
279 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
281 (fancy-splash-delay, fancy-splash-image): Remove :version here.
283 2000-09-19 Gerd Moellmann <gerd@gnu.org>
285 * progmodes/sh-script.el (sh-search-word): Remove call to
288 * files.el (find-file-suppress-same-file-warnings): New
290 (find-file-noselect): Use it.
292 * startup.el (fancy-splash-delay, fancy-splash-image): Add
294 (fancy-splash-screen): Defgroup.
296 * add-log.el (change-log-font-lock-keywords): Match names
297 more exactly for the case that font-lock-constant-face is
300 2000-09-19 Richard M. Stallman <rms@gnu.org>
302 * progmodes/sh-script.el (sh-search-word): Rewritten for
305 2000-09-19 Andre Spiegel <spiegel@gnu.org>
307 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
309 2000-09-19 Gerd Moellmann <gerd@gnu.org>
311 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
312 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
313 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
314 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
315 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
316 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
317 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
318 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
319 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
320 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
321 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
322 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
324 * startup.el (fancy-splash-text): New variable.
325 (fancy-splash-delay, fancy-splash-image): New user-options.
326 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
327 (fancy-splash-screens): New functions.
328 (command-line-1): If display has a `display' frame parameter, has
329 colors, and we have XPM support, show more fancy splash screens.
331 2000-09-19 Dave Love <fx@gnu.org>
333 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
334 with null `help'. Use modern backquote syntax.
336 2000-09-19 Gerd Moellmann <gerd@gnu.org>
338 * font-lock.el (font-lock-mode): Change message telling the user
339 that ``the buffer is too big''.
341 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
342 for instance for the case that tab-width is 2.
344 2000-09-18 Gerd Moellmann <gerd@gnu.org>
346 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
347 toolbar-add-item, if image doesn't have a mask add a `:mask
350 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
352 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
353 and return a cons if it's non-nil.
354 (diff-apply-hunk): Try to jump to the line in the source text
355 corresponding to the position of point in the in the hunk.
357 * info.el (Info-title-3-face, Info-title-2-face)
358 (Info-title-1-face): Use face inheritance and relative sizes
359 instead of hard-wiring things.
361 * faces.el (secondary-selection): Make dark-background variant sane.
363 2000-09-16 Andrew Innes <andrewi@gnu.org>
365 * makefile.nt (compile-files): No need to make .elc files
366 read-only, since they aren't under VC now.
368 * makefile.w32-in (compile-files-CMD): No need to make .elc files
369 read-only, since they aren't under VC now.
371 2000-09-17 Dave Love <fx@gnu.org>
373 * tmm.el: Replace mapcar with mapc in several places.
375 * loadhist.el (unload-feature): Maybe call elp-restore-list and
378 * international/latin1-disp.el: New file.
380 * calendar/cal-move.el (scroll-calendar-left)
381 (scroll-calendar-right): Make arg optional (for active mode line).
383 * calendar/calendar.el (calendar-mode-line-format): Make fields
385 (calendar-read-date, calendar-read-date, calendar-window-list):
387 (calendar-month-name): Use aref, not sref.
389 * view.el (minor-mode-alist): Propertize the string.
391 * international/characters.el (standard-case-table): Add entries
394 2000-09-18 Miles Bader <miles@gnu.org>
396 * info.el (info-node, info-xref): Add dark-background variants.
398 * faces.el (header-line): Change defaults to be less confusing
399 when mixed with mode-lines.
401 * info.el (Info-fontify-node): Make a few cleanups.
402 Add extra `help-echo' and `local-map' props to node xrefs.
403 Use header-specific faces for node-names & xrefs.
404 (Info-use-header-line): New variable.
405 (info-header-xref, info-header-node): New faces.
406 (Info-setup-header-line): New function.
407 (Info-select-node): Call Info-setup-header-line when enabled.
408 (Info-extract-pointer): Work even if the header line is hidden.
409 (Info-header-line): New variable.
411 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
413 * vms-patch.el (print-region-function): Don't quote lambda.
415 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
417 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
418 (lm-get-header-re): Allow spaces between the header and the colon.
419 (lm-header): Allow $ in non-RCS headers.
420 (lm-header-multiline): Put the strings back into order.
421 Stop at an empty line. Don't require two space chars if the
422 line is clearly not another header line.
424 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
425 (popup-menu-popup): Remove.
427 2000-09-15 Gerd Moellmann <gerd@gnu.org>
429 * toolbar/toolbar.el (toolbar-add-item): Use the same image
430 specification if or if not tool-bar item contains an `:enabled'
433 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
434 current buffer has no file name.
436 2000-09-15 Dave Love <fx@gnu.org>
438 * strokes.el: Sync with maintainer's current version with changes
439 for Emacs, but avoid runtime cl and levents.
440 (toplevel): Change autoloads and compilation requires.
441 (strokes-version, strokes-bug-address, strokes-lift): Values
443 (strokes-xpm-header, strokes-insinuated): New variable.
444 (strokes): Add :link.
445 (strokes-mode): Customized.
446 (strokes-while-inhibiting-garbage-collector): New macro.
447 (strokes-remassoc): Avoid remove-if.
448 (strokes-fix-button2-command): Don't use ad-do-it.
449 (strokes-insinuate): New function.
450 (strokes-button-press-event-p, strokes-button-release-event-p):
451 New functions, used instead of non-`strokes-' versions..
452 (strokes-mouse-event-p): Rewritten.
453 (strokes-event-closest-point): Avoid event-point.
454 (strokes-get-grid-position): Avoid cdadr, caadr
455 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
457 (strokes-help): Use with-output-to-temp-buffer.
458 (strokes-window-configuration-changed-p): New function.
459 (strokes-update-window-configuration): Use buffer-live-p,
460 strokes-window-configuration-changed-p.
461 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
462 (strokes-char-face): New face.
463 (strokes-char-table, strokes-base64-chars): New variable.
464 (strokes-xpm-for-stroke, strokes-list-strokes)
465 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
466 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
467 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
468 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
469 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
472 2000-09-15 Gerd Moellmann <gerd@gnu.org>
474 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
476 * image.el (create-image): Doc fix.
478 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
479 instead of `:heuristic-mask t'.
481 2000-09-14 Andrew Innes <andrewi@gnu.org>
483 * makefile.w32-in: Revert to Unix line endings.
485 2000-09-14 Andrew Innes <andrewi@gnu.org>
487 * makefile.w32-in: Add bootstrap support. Also copy lisp source
490 * makefile.nt (DONTCOMPILE): Fix typo.
492 * shell.el (shell-write-history-on-exit): New function.
493 (shell-dumb-shell-regexp): New custom variable.
494 (shell-mode): Make shell-write-history-on-exit the process
495 sentinel if shell name matches shell-dumb-shell-regexp.
497 * w32-fns.el: Comment out before-init-hook function which resets
498 source-directory based; this breaks bootstrap.
500 2000-09-14 Dave Love <fx@gnu.org>
502 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
503 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
504 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
505 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
506 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
507 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
508 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
509 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
510 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
512 * toolbar/toolbar.el: New.
514 * subdirs.el: Add toolbar.
516 2000-09-14 Gerd Moellmann <gerd@gnu.org>
518 * indent.el (indent-for-tab-command): Doc fix.
520 2000-09-14 Alex Schroeder <alex@gnu.org>
522 * ansi-color.el (ansi-colors): Doc change.
523 (ansi-color-get-face): Simplified regexp.
524 (ansi-color-faces-vector): Added more faces, doc change.
525 (ansi-color-names-vector): Doc change.
526 (ansi-color-regexp): Simplified regexp.
527 (ansi-color-parameter-regexp): New regexp.
528 (ansi-color-filter-apply): Doc change.
529 (ansi-color-filter-region): Doc change.
530 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
531 deal with zero length parameters.
532 (ansi-color-apply-on-region): Doc change.
533 (ansi-color-map): Doc change.
534 (ansi-color-map-update): Removed debugging message.
535 (ansi-color-get-face-1): Added condition-case to trap
536 args-out-of-range errors.
537 (ansi-color-get-face): Doc change.
538 (ansi-color-make-face): Removed.
539 (ansi-color-for-shell-mode): New option.
541 2000-09-13 Kenichi Handa <handa@etl.go.jp>
543 * international/quail.el (quail-start-translation): Translate KEY
544 if necessary even if it doesn't have any mapping in the current
546 (quail-start-conversion): Likewise.
547 (quail-help): The output message is improved.
549 2000-09-13 Miles Bader <miles@gnu.org>
551 * comint.el (comint-output-filter): Revert to using
552 `insert-before-markers'. Add bletcherous hack to undo damage
553 caused by `insert-before-markers'. Put `front-sticky' property on
554 overlays created here so that the field code understands how the
555 overlay works. Use a let when making comint-last-prompt-overlay,
556 so that the code is easier to read.
558 2000-09-13 Dave Love <fx@gnu.org>
560 * wid-edit.el (widget-default-format-handler): DTRT when
561 doc-property is a function.
563 2000-09-12 Francesco Potorti` <pot@gnu.org>
565 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
566 filed name if it's not there.
568 2000-09-12 Dave Love <fx@gnu.org>
570 * simple.el (read-mail-command): Doc fix.
571 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
573 * vc.el (vc-dired-listing-switches): Fix :version.
575 * vc-hooks.el: Doc fixes.
577 * subr.el (add-minor-mode): Use toggle-fun arg.
579 * speedbar.el: Add :version to several defcustoms.
581 * imenu.el (imenu--truncate-items, imenu--cleanup)
582 (imenu--generic-function): Avoid mapcar.
583 (imenu--replace-spaces): Function removed.
584 (imenu--completion-buffer): Use subst-char-in-string.
585 (imenu-add-to-menubar): Use keymap inheritance.
587 2000-09-12 Miles Bader <miles@gnu.org>
589 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
590 (diff-mode-map): Bind `diff-test-hunk'.
591 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
593 2000-09-11 Gerd Moellmann <gerd@gnu.org>
595 * bytecomp.el (byte-compile-defvar): Undo last change
596 because it breaks '(make-variable-buffer-local (defvar ...)'
597 which is used at least in dired.
599 2000-09-12 Kenichi Handa <handa@etl.go.jp>
601 * international/quail.el (quail-define-package): Docstring
604 2000-09-12 Kenichi Handa <handa@etl.go.jp>
606 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
607 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
608 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
609 docstring of "chinese-py".
611 * international/quail.el (quail-translation-docstring): New
613 (quail-show-keyboard-layout): Docstring modified.
614 (quail-select-current): Likewise.
615 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
616 infinite recursive call.
617 (quail-help): Check quail-translation-docstring. Format of the
619 (quail-help-insert-keymap-description): Adjusted for the above
622 2000-09-11 Gerd Moellmann <gerd@gnu.org>
624 * bytecomp.el (byte-compile-defvar): Only cons onto
625 current-load-list in top-level forms. Else this leaks a cons cell
626 every time a defun is called.
628 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
630 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
631 Now understands non-unified diffs. Some functionality moved into
632 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
633 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
634 modify anything. Only reposition point in the patched file if the
635 patch succeeds. Only pop up another window if POPUP is true.
636 Emit a message describing what happened if successful, and at what
637 line-offset. Automatically detect reversed hunks and do something
639 (diff-hunk-text, diff-find-text): New functions.
640 (diff-filter-lines): Function removed.
641 (diff-test-hunk): New function.
642 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
644 2000-09-10 Dave Love <fx@gnu.org>
646 * textmodes/tildify.el: Minor doc/commentary fixes.
647 (tildify) <defgroup>: Add :version.
649 * faces.el (face-x-resources): Make custom type more specific.
650 (frame-background-mode): Use mapc.
651 (region) <defcustom>: Add :version.
653 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
655 * vc-sccs.el (vc-sccs-register):
656 * vc-rcs.el (vc-rcs-register):
657 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
658 * vc.el (vc-register): Clear file's properties.
660 2000-09-08 Gerd Moellmann <gerd@gnu.org>
662 * faces.el (face-spec-set): Only face-spec-reset-face when
665 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
667 * help.el (help-insert-xref-button): Fix a typo in doc string.
669 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
671 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
672 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
675 * menu-bar.el (read-mail-item-name): New function.
676 (menu-bar-tools-menu): Use it to compute and display the package
678 (menu-bar-tools-menu): Fix typo in GUD's help string.
680 2000-09-07 Dave Love <fx@gnu.org>
682 * diff-mode.el (diff-mouse-goto-source): New function.
684 * vc-sccs.el: Doc fixes.
685 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
687 * vc-rcs.el: Doc fixes.
688 (vc-rcs-register-switches, vc-rcs-checkin-switches)
689 (vc-rcs-checkout-switches, vc-rcs-header)
690 (vc-rcs-master-templates): Add or change :version.
692 * vc-cvs.el: Doc fixes.
693 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
694 (vc-cvs-stay-local): Add :version.
696 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
698 2000-09-07 Kenichi Handa <handa@etl.go.jp>
700 * international/quail.el (quail-help): Fix previous change.
702 2000-09-07 Gerd Moellmann <gerd@gnu.org>
704 * faces.el (color-values): Doc fix.
706 * faces.el (frame-set-background-mode): Use frame-parameter
707 instead of frame-parameters.
709 * frame.el (filtered-frame-list): Reduce consing.
710 (frames-on-display-list): Call frame-parameter instead of
713 2000-09-07 Kenichi Handa <handa@etl.go.jp>
715 * language/devan-util.el (devanagari-to-indian-region): In the
716 loop, change the following char, not preceding char.
718 2000-09-07 Gerd Moellmann <gerd@gnu.org>
720 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
721 instead of frame-parameters.
723 * faces.el (set-face-attribute): Simplify by calling
724 internal-set-lisp-face-attribute with FRAME being 0.
726 * vc.el: Remove `Id' version control keyword.
728 2000-09-07 Kenichi Handa <handa@etl.go.jp>
730 * help.el (help-make-xrefs): Adjusted for the change of
731 help-xref-mule-regexp.
732 (help-insert-xref-button): New function.
734 * international/mule-cmds.el (help-xref-mule-regexp-template):
735 Include the pattern for character set.
738 * international/quail.el: Don't require face.
740 (quail-other-command): Dummy command to make quail-help work better.
741 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
742 (quail-keyboard-layout-substitution): New variable.
743 (quail-update-keyboard-layout): New function.
744 (quail-keyboard-layout-type): New customizable variable.
745 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
746 (quail-keyboard-translate): Pay attention to
747 quail-keyboard-layout-substitution.
748 (quail-insert-kbd-layout): New function.
749 (quail-show-keyboard-layout): New function.
750 (quail-get-translation): If the definition is a vector of length
751 1, and the element is a string of length 1, return the character
753 (quail-update-current-translations): Fix the case of
754 relative-index out of range.
755 (quail-build-decode-map, quail-insert-decode-map): New Functions.
756 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
757 Show key sequences for all available characters.
758 (quail-help-insert-keymap-description): Don't show such verbose
759 key bindings as quail-self-insert-command.
761 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
762 Format changed, and each element now have extra documentations.
763 (tit-process-header): Delete invalid characters from TIT-PROMPT.
764 Adjusted for the change of quail-cxterm-package-ext-info.
766 2000-09-06 Gerd Moellmann <gerd@gnu.org>
768 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
769 requiring it leads to a recursive loading of vc.el and vc-hooks.el
772 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
774 * vc.el: (toplevel): Don't require `dired' at run-time.
775 (vc-dired-resynch-file): Remove autoload cookie.
777 2000-09-05 Andre Spiegel <spiegel@gnu.org>
779 * vc.el: Made several backend functions optional.
780 (vc-default-responsible-p): New function.
781 (vc-merge): Use RET for first version to trigger merge-news, not
783 (vc-annotate): Handle backends that do not support annotation.
784 (vc-default-merge-news): Removed. The existence of a merge-news
785 implementation is now checked on caller sites.
787 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
790 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
791 special case that has been removed from the default in vc-hooks.el.
793 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
795 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
797 2000-09-05 Andre Spiegel <spiegel@gnu.org>
799 * vc-hooks.el: Require vc during compilation.
800 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
801 macro `with-vc-properties' in vc.el.
802 (vc-file-getprop): Doc fix.
803 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
805 * vc.el: Require dired-aux during compilation.
806 (vc-name-assoc-file): Moved to vc-sccs.el.
807 (with-vc-properties): New macro.
808 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
809 vc-finish-steal): Use it.
810 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
811 to the backend-specific function is now supposed to do the checkout,
813 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
815 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
816 set file properties; that gets done in the generic code now.
818 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
819 Changed parameter list, added code from vc.el that does the
820 checkout, possibly with a double-take.
822 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
823 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
824 the above under the new name.
825 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
826 parameter list, added checkout command.
827 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
828 properties; that gets done in the generic code now.
830 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
832 * vc.el: Docstring fixes (courtesy of checkdoc).
834 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
836 * vc.el (vc-checkout-writable-buffer-hook)
837 (vc-checkout-writable-buffer): Remove.
838 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
839 (vc-log-mode): Make it into a clean derived major mode.
840 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
841 vc-log-mode if log-edit is not available.
842 (vc-dired-mode-map): Don't set-keymap-parent yet.
843 (vc-dired-mode): Do set-keymap-parent here.
844 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
846 2000-09-05 Gerd Moellmann <gerd@gnu.org>
848 * faces.el (set-face-attribute, face-spec-reset-face)
849 (face-spec-set): Avoid consing by removing calls to `apply'.
851 * frame.el (frame-parameter): Move to C code.
853 2000-09-05 Dave Love <fx@gnu.org>
855 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
856 insert-before-markers-and-inherit. Now checked systematically!
858 2000-09-05 Alex Schroeder <alex@gnu.org>
860 * sql.el (sql-postgres): Use sql-postgres-options.
861 (sql-postgres-options): New variable.
863 2000-09-05 Alex Schroeder <alex@gnu.org>
865 * sql.el (sql-mode-menu): Work around missing variable mark-active
867 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
868 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
871 2000-09-04 Gerd Moellmann <gerd@gnu.org>
873 * vc.el (vc-dired-resynch-file): Add autoload cookie.
875 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
877 * Makefile.in (DONTCOMPILE): Fix typo in file name.
879 2000-09-04 Andre Spiegel <spiegel@gnu.org>
881 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
882 don't support anything else under SCCS yet.
884 * vc-hooks.el: Minor doc fixes.
886 2000-09-04 Andre Spiegel <spiegel@gnu.org>
888 * vc.el (vc-next-action-on-file): Do not visit the file if it's
889 not necessary. If verbose in state `needs-patch', do the same as
890 under `up-to-date'. When NOT verbose and `needs-patch', check out
891 latest version instead of `merge-news'.
892 (vc-next-action-dired): Don't mess with default-directory here; it
893 breaks other parts of dired. It is the job of the
894 backend-specific functions to adjust it temporarily if they need it.
895 (vc-next-action): Remove a special CVS case.
896 (vc-clear-headers): New optional arg FILE.
897 (vc-checkin, vc-checkout): Set properties vc-state and
898 vc-checkout-time properly.
899 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
900 (vc-print-log): Use new backend function `show-log-entry'.
901 (vc-cancel-version): Do the checks in a different order. Added a
902 FIXME concerning RCS-only code.
904 * vc-rcs.el (vc-rcs-show-log-entry): New function.
905 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
907 * vc-cvs.el (vc-cvs-show-log-entry): New function.
909 * vc-hooks.el (vc-default-mode-line-string): Show state
910 `needs-patch' as a `-' too.
912 2000-09-04 Andre Spiegel <spiegel@gnu.org>
914 * vc.el (vc-responsible-backend): New optional arg REGISTER.
915 (vc-default-could-register): New function.
916 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
917 (vc-resynch-buffer): Call vc-dired-resynch-file.
918 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
919 vc-resynch-buffer instead of vc-resynch-window.
920 (vc-next-action-dired): Don't redisplay here, that gets done as a
921 result of the individual file operations.
922 (vc-retrieve-snapshot): Corrected prompt order.
924 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
926 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
928 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
929 hostname regexps. Updated all callers.
930 (vc-cvs-responsible-p): Handle directories as well.
931 (vc-cvs-could-register): New function.
932 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
933 properties up-to-date.
935 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
936 user whether to create one.
938 2000-09-04 Andre Spiegel <spiegel@gnu.org>
940 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
941 check out a non-existing file.
943 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
944 workfile does not exist.
946 * vc.el (vc-version-diff): Use `require' to check for existence of
949 2000-09-04 Andre Spiegel <spiegel@gnu.org>
951 * vc-cvs.el (vc-cvs-registered): Use new function
952 vc-cvs-parse-entry to do the actual work.
954 2000-09-04 Andre Spiegel <spiegel@gnu.org>
956 * vc-hooks.el (vc-find-backend-function): If function doesn't
957 exist, return nil instead of error.
958 (vc-call-backend): Doc fix.
960 * vc.el (vc-do-command): Doc fix.
961 (vc-finish-logentry): When checking in from vc-dired, choose the
962 right backend for logentry check.
963 (vc-dired-mode-map): Inherit from dired-mode-map.
964 (vc-dired-mode): Local value of dired-move-to-filename-regexp
966 (vc-dired-state-info): Removed, updated caller.
967 (vc-default-dired-state-info): Use parentheses instead of hyphens.
968 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
969 (vc-dired-listing-switches): New variable.
970 (vc-directory): Use it, instead of dired-listing-switches.
972 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
973 (vc-cvs-dir-state): New function.
974 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
975 (vc-cvs-parse-entry): New function, also to be used in
978 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
980 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
981 *or* single-window-frames.
983 2000-09-04 Andre Spiegel <spiegel@gnu.org>
985 * vc.el (vc-update-changelog): Split into generic part and default
986 implementation. Doc string adapted.
987 (vc-default-update-changelog): New function. Call the `rcs2log'
988 script in exec-directory, to fix a long-standing nuisance.
990 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
991 simply signals an error.
993 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
995 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
996 control-flow more clear and to avoid running `cvs' twice.
998 * vc.el (vc-next-action-on-file): Doc fix.
999 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
1000 (vc-print-log): Eval `file' before constructing the continuation.
1002 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1004 * vc.el (vc-next-action-on-file): Corrected several messages.
1005 (vc-merge): Add prefix arg `merge-news'; handle it.
1007 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
1008 is not reached. It is.
1009 (vc-cvs-merge): Set state to 'edited after merge.
1010 (vc-cvs-merge-news): Set workfile version to nil if not known.
1011 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
1013 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
1014 via stdout. (Merge from main line.)
1016 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1018 * vc.el (vc-finish-logentry): Thinko in the "same comment"
1021 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1023 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
1024 against kill-all-local-variables.
1025 (vc-log-edit): Don't save vc-parent-buffer any more.
1026 (vc-last-comment-match): Initialize to an empty string.
1027 (vc-post-command-functions): New hook.
1028 (vc-do-command): Run it.
1029 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
1030 (vc-finish-logentry): Only add the comment to the ring if it's
1031 different from the last comment entered.
1032 (vc-new-comment-index): New function.
1033 (vc-previous-comment): Use it. Make the minibuffer message
1034 slightly less terse.
1035 (vc-comment-search-reverse): Make it work forward as well. Don't
1036 set vc-comment-ring-index if no match is found. Use
1037 vc-new-comment-index.
1038 (vc-comment-search-forward): Use vc-comment-search-reverse.
1039 (vc-dired-mode-map): Don't inherit from dired-mode-map since
1040 define-derived-mode will do it for us. Bind `v' to a keymap that
1041 inherits from vc-prefix-map so that we can bind `vt' without
1043 (vc-retrieve-snapshot): Parenthesis typo.
1045 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
1046 to 1. Make sure to switch to *vc* before looking for an error
1047 message. Use vc-parse-buffer.
1049 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1051 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
1053 (vc-retrieve-snapshot): Split into two parts.
1054 (vc-default-retrieve-snapshot): New function.
1056 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
1057 (vc-cvs-retrieve-snapshot): New function (untested).
1058 (vc-cvs-stay-local): Default to t.
1059 (vc-cvs-remote-p): New function and property.
1060 (vc-cvs-state): Stay local only if the above is t.
1061 (vc-handle-cvs): Removed.
1062 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
1063 done via vc-handled-backends now.
1064 (vc-cvs-header): Escape Id.
1066 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1068 * vc.el (vc-do-command): Remove unused commands.
1069 (vc-version-diff): Make sure default-directory ends with a slash.
1070 Move the window commands into a vc-exec-after.
1071 (vc-print-log): Move more of the code into the `vc-exec-after'.
1073 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1075 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
1076 (vc-print-log): Search current revision from beginning of buffer.
1077 (vc-revert-buffer): Clear echo area after the diff is finished.
1078 (vc-prefix-map): Removed definition of "t" for terse display in vc
1080 (vc-dired-mode-map): Inherit from dired-mode-map. Added
1081 definition of "vt" for terse display.
1082 (vc-dired-mode): Fix dired-move-to-filename-regexp.
1084 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1086 * vc.el (vc-exec-after): Avoid caddr.
1088 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1090 * vc.el (vc-exec-after): New function.
1091 (vc-do-command): Use it to add a termination message for async
1093 (vc-checkout): Try to handle a missing-backend situation.
1094 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
1095 of a directory with a backend using async diffs.
1096 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
1099 * vc-sccs.el (vc-sccs-state-heuristic): Use
1100 file-ownership-preserved-p.
1102 * vc-rcs.el (vc-rcs-state-heuristic): Use
1103 file-ownership-preserved-p.
1104 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
1106 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1108 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
1111 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
1112 when there are no changes.
1114 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1116 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
1118 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
1120 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1122 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
1124 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
1125 the `fset' outside of the defvar so that it works even if
1126 vc-prefix-map was already defined.
1127 (vc-setup-buffer): New function, split out of vc-do-command.
1128 (vc-do-command): Allow BUFFER to be t to mean `just use the
1129 current buffer without any fuss'.
1130 (vc-version-diff): Change the `diff' backend operation to just put
1131 the diff in the current buffer without erasing it. Always use
1132 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
1133 shrink-window-if-larger-than-buffer.
1134 (vc-print-log): Change the `print-log' backend operation to just
1135 put the log in the current buffer without erasing it. Protect
1136 shrink-window-if-larger-than-buffer.
1137 (vc-update-change-log): Fix setd typo.
1139 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
1140 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
1142 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
1143 (vc-rcs-diff): Insert in the current buffer and remove unused arg
1146 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
1147 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
1148 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
1150 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1152 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
1153 not possible, use vc-BACKEND-workfile-unchanged-p.
1154 (vc-default-workfile-unchanged-p): New function. Delegates to a
1155 full vc-BACKEND-diff.
1157 * vc-hooks.el (vc-simple-command): Removed.
1159 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
1160 instead of vc-simple-command.
1161 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
1162 avoid doing a diff when opening a file.
1163 (vc-rcs-state): Added check for unlocked-changes.
1164 (vc-rcs-header): Escape Id.
1165 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
1166 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
1169 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
1170 (vc-sccs-diff): Remove optional arg CMP.
1171 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
1172 SCCS-specific function.
1174 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
1177 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1179 * vc.el (vc-editable-p): Renamed from vc-writable-p.
1180 (with-vc-file, vc-merge): Use vc-editable-p.
1181 (vc-do-command): Remove unused var vc-file and fix the
1182 doubly-defined `status' var. Add a user message when starting an
1184 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
1185 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
1186 Use with-current-buffer.
1187 (vc-buffer-sync): Use unless.
1188 (vc-next-action-on-file): If the file is 'edited by read-only,
1189 make it read-write instead of trying to commit.
1190 (vc-version-diff, vc-update-change-log): Use `setq
1191 default-directory' rather than `cd'.
1192 (vc-log-edit): Don't forget to set default-directory in the
1195 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
1196 (vc-sccs-state-heuristic): Use file-writable-p instead of
1198 (vc-sccs-checkout): Use `unless'.
1200 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
1201 of comparing userids.
1202 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
1203 Simplify the logic by eliminating unreachable code.
1204 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
1205 just do a recursive call if we need to retry.
1206 (vc-rcs-checkout): Handle the case where rcs is missing by making
1207 the buffer read-write if requested and re-signalling the error.
1209 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
1211 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1213 * vc-hooks.el (vc-handled-backends): Docstring change.
1214 (vc-ignore-vc-files): Mark obsolete.
1215 (vc-registered): Check vc-ignore-vc-files.
1216 (vc-find-file-hook, vc-file-not-found-hook): Don't check
1219 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
1221 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1223 * vc.el (vc-checkout): Don't do anything special for ange-ftp
1224 files since ange-ftp already has vc-registered return nil.
1226 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
1227 (vc-sccs-workfile-version): Use with-temp-buffer and new
1228 vc-parse-buffer and don't bother setting the property.
1229 (vc-sccs-add-triple): Use with-current-buffer and
1231 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
1233 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
1234 derives from the old vc-parse-buffer but uses the revision number
1235 rather than the date (much easier to compare robustly).
1236 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
1237 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
1238 locking-user more directly. Check strict locking and set
1239 checkout-model appropriately.
1240 (vc-rcs-parse-locks): Remove.
1241 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
1242 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
1243 (vc-rcs-system-release): Use with-current-buffer and
1245 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
1247 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
1248 (vc-simple-command): Docstring fix.
1249 (vc-registered): Align the way the file-handler is called with the
1250 way the function itself works.
1251 (vc-file-owner): Remove.
1253 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
1254 extraction of fields and call to file-attributes because of a
1255 temporary bug in rcp.el.
1256 (vc-cvs-fetch-status): Use with-current-buffer.
1258 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1260 * vc.el (vc-do-command): Use file-relative-name.
1261 (vc-responsible-backend): Use vc-backend if possible.
1262 (vc-create-snapshot): Improve the `interactive' spec. Add support
1263 for branches and dispatch to backend-specific `create-snapshot'.
1264 (vc-default-create-snapshot): New function, containing the bulk of
1265 the old vc-create-snapshot.
1266 (vc-retrieve-snapshot): Improve the interactive spec.
1268 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
1269 (vc-backend-hook-functions): Remove.
1270 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
1271 (vc-backend): Reintroduce the test for `file = nil' now that I
1272 know why it was there (and added a comment to better remember).
1274 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
1275 code from vc-sccs-hooks.el.
1276 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
1278 (vc-sccs-responsible-p): Use expand-file-name instead of concat
1279 and file-directory-p instead of file-exists-p.
1280 (vc-sccs-check-headers): Simplify the regexp.
1282 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
1283 from vc-rcs-hooks.el. Don't require 'vc anymore.
1284 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
1285 file-directory-p instead of file-exists-p.
1287 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
1288 from vc-cvs-hooks.el.
1289 (proto vc-cvs-registered): Require 'vc-cvs instead of
1290 'vc-cvs-hooks. Don't require 'vc anymore.
1291 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
1292 file-directory-p instead of file-exists-p.
1293 (vc-cvs-create-snapshot): New function, replacing
1295 (vc-cvs-assign-name): Remove.
1297 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1299 * vc-cvs.el (vc-cvs-header): New var.
1301 * vc-rcs.el (vc-rcs-exists): Remove.
1302 (vc-rcs-header): New var.
1304 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
1305 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
1306 (vc-sccs-header): New var.
1308 * vc.el (vc-do-command): Get rid of the `last' argument.
1309 (vc-header-alist): Remove, replaced by vc-X-header.
1310 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
1311 (vc-dired-hook): Use expand-file-name instead of concat.
1312 (vc-directory): Use file-name-as-directory.
1313 (vc-snapshot-precondition, vc-create-snapshot)
1314 (vc-retrieve-snapshot): Allow the command to operate on any
1317 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
1318 just removing the 'WORKFILE argument or by removing the 'MASTER
1319 argument and replacing `file' with (vc-name file).
1321 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1323 * vc.el: Update Copyright and add a crude list of backend funs.
1324 (vc-writable-p): New function.
1325 (with-vc-file): Use vc-writable-p.
1326 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
1327 (vc-register): Avoid vc-name.
1328 (vc-locking-user): Remove.
1329 (vc-steal-lock): Make the `owner' arg non-optional.
1330 (vc-merge): Use vc-writable-p instead of vc-locking-user and
1332 (vc-default-dired-state-info): Use vc-state instead of
1333 vc-locking-user and return special strings for special states.
1334 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
1335 and get rid of one of the special CVS cases.
1336 (vc-cancel-version): prettify error message with \\[...].
1337 (vc-rename-master): New function.
1338 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
1339 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
1340 the CVS special case generic.
1341 (vc-default-record-rename): Remove.
1342 (vc-file-tree-walk-internal): Only call FUNC for files that are
1343 under control of some VC backend and replace `concat' with
1345 (vc-file-tree-walk): Update docstring.
1346 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
1347 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
1349 * vc-sccs.el (vc-sccs-rename-file): Renamed from
1350 vc-sccs-record-rename. Use `find-file-noselect' rather than
1351 `find-file' and call `vc-rename-master' to do the actual move.
1352 (vc-sccs-diff): Remove unused `backend' variable.
1354 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
1355 to delay loading of vc-sccs until it is really used.
1356 (vc-sccs-master-templates): Preload.
1357 (vc-sccs-state): Update call to vc-sccs-parse-locks.
1358 (vc-sccs-project-dir): Remove (merged into
1359 vc-sccs-search-project-dir).
1360 (vc-sccs-search-project-dir): Rewrite using file name handling ops
1361 rather than `concat', make sure it is preloaded and don't bother
1362 to check that the file actually exists.
1363 (vc-sccs-parse-locks): Remove unused `file' argument, remove
1364 `locks' argument (use buffer's content instead) and eliminate n^2
1367 * vc-rcs.el: Update Copyright.
1368 (vc-rcs-rename-file): New function.
1369 (vc-rcs-diff): Remove unused `backend' variable.
1371 * vc-hooks.el: Update Copyright.
1372 (vc-backend): Don't accept a nil argument any more.
1373 (vc-up-to-date-p): Turn into a defsubst.
1374 (vc-possible-master): New function.
1375 (vc-check-master-templates): Use `vc-possible-master' and allow
1376 funs in vc-X-master-templates to return a non-existent file.
1378 * vc-cvs.el: Update Copyright.
1379 (vc-cvs-diff): Remove unused `backend' variable.
1380 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
1382 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
1384 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1386 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
1387 since it can be called from vc-rcs.el.
1388 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
1390 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1392 * vc.el (vc-version-diff): Expand file name read from the
1393 minibuffer. Handle the case when a previous version number can't
1394 be guessed. Give suitable messages when there were no differences
1396 (vc-clear-headers): Call backend-specific implementation, if one
1398 (vc-cancel-version): Made error checks generic. When done, clear
1399 headers generically, too.
1401 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
1402 from vc-clear-headers in vc.el.
1404 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
1406 (vc-rcs-latest-on-branch-p): Made second argument VERSION
1407 optional. Handle the case when it's not there.
1409 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1411 * vc.el (vc-locking-user): Moved from vc-hooks.el.
1413 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1415 * vc-hooks.el (vc-loadup): Remove.
1416 (vc-find-backend-function): Use `require'. Also, handle the case
1417 where vc-BACKEND-hooks.el doesn't exist.
1418 (vc-call-backend): Cleanup.
1420 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1422 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
1423 vc-rcs-grab-templates)
1424 (vc-rcs-registered): Remove. The default function works as well.
1425 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
1426 vc-sccs-grab-templates)
1427 (vc-sccs-registered): Remove. The default function works as well.
1429 * vc.el (vc-version-diff): Left out a vc- in call to
1431 (vc-default-dired-state-info, vc-default-record-rename)
1432 (vc-default-merge-news): Update for the new backend argument.
1434 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
1435 using the default function.
1436 (vc-call-backend): If calling the default function, pass it the
1437 backend as first argument. Update the docstring accordingly.
1438 (vc-default-state-heuristic, vc-default-mode-line-string): Update
1439 for the new backend argument.
1440 (vc-make-backend-sym): Renamed from vc-make-backend-function.
1441 (vc-find-backend-function): Use the new name.
1442 (vc-default-registered): New function.
1444 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1446 * vc.el (vc-merge): Use vc-find-backend-function.
1448 * vc-hooks.el (vc-backend-functions): Remove.
1449 (vc-loadup): Don't setup 'vc-functions.
1450 (vc-find-backend-function): New function.
1451 (vc-call-backend): Use above fun and populate 'vc-functions
1453 (vc-backend-defines): Remove.
1455 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1457 * vc.el (vc-register): Put a FIXME note for a newly found bug.
1458 Call vc-call-backend without the leading vc-.
1459 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
1460 (vc-check-headers): Call vc-call-backend without the leading vc-.
1461 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
1462 (vc-annotate-display): Replace confusing use of `cond' with `or'.
1463 Call vc-call-backend without the leading vc-.
1465 * vc-cvs.el (tail): Provide vc-cvs.
1466 * vc-sccs.el (tail): Provide vc-sccs.
1467 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
1469 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
1470 (vc-make-backend-function, vc-call): Pass names without leading
1471 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
1472 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
1473 (vc-call-backend): Always try to load vc-X-hooks.
1474 (vc-registered): Remove vc- in call to vc-call-backend.
1476 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1478 * vc.el (vc-process-filter): New function.
1479 (vc-do-command): Setup `vc-process-filter' for the async process.
1480 (vc-maybe-resolve-conflicts): New function to reduce
1481 code-duplication. Additionally, it puts the buffer in
1482 `smerge-mode' if applicable.
1483 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
1484 calling `merge-news'.
1485 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
1486 (vc-log-edit): New function. Replacement for `vc-log-mode' by
1487 interfacing to log-edit.el.
1488 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
1489 log-edit is available.
1490 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
1492 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1494 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
1495 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
1496 defvar and the initialization.
1497 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
1499 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
1500 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
1502 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
1504 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1506 * vc.el (vc-file-clear-masterprops): Removed.
1507 (vc-checkin, vc-revert-buffer): Removed calls to the above.
1508 (vc-version-diff): Use buffer-size without argument.
1509 (vc-register): Heed vc-initial-comment.
1511 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
1514 * vc-rcs.el (vc-rcs-register): Parse command output to find master
1515 file name and workfile version.
1516 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
1518 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
1519 vc-file-clear-masterprops.
1521 * vc-sccs.el (vc-sccs-checkout): Removed call to
1522 vc-file-clear-masterprops. If writable, set vc-state to 'edited
1523 rather than user login name.
1526 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1528 * vc.el (vc-workfile-unchanged-p): Remove unused argument
1529 `want-differences-if-changed' and simplify.
1530 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
1531 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
1532 output (which is invalid for async vc-diff) to decide whether to
1533 do the revert silently or not.
1535 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1537 * vc-hooks.el (vc-loadup): Load files quietly.
1538 (vc-call-backend): Oops, brain fart.
1540 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1542 * vc-cvs.el (vc-cvs-state): Typo.
1543 (vc-cvs-merge-news): Return the status code rather than the error msg.
1545 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1547 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
1548 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
1549 vc-state or vc-up-to-date-p.
1550 (vc-merge): Use vc-backend-defines to check whether merging is
1551 possible. Set state to 'edited after successful merge.
1553 * vc-hooks.el (vc-locking-user): If locked by the calling user,
1554 return that name. Redocumented.
1556 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1558 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
1559 new `vc-state' semantics.
1560 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
1561 'vc-locking-user to the current user.
1562 (vc-merge): Inline vc-backend-merge. Comment out code that I
1563 don't understand and hence can't adapt to the new `vc-state' and
1564 `vc-locking-user' semantics.
1565 (vc-backend-merge): Remove.
1567 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
1568 rather than 'vc-locking-user.
1570 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
1572 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
1573 (vc-state): Don't use 'reserved any more. Just use the same
1574 convention as the one used for vc-<backend>-state where the
1575 locking user (as a string) is returned.
1576 (vc-locking-user): Update, based on the above convention. The
1577 'vc-locking-user property has disappeared.
1578 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
1580 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
1581 with a heuristic one.
1582 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
1583 (vc-cvs-checkin): Do a trivial parse to set the state in case of
1584 error. That allows us to get to 'needs-merge even in the
1585 stay-local case. There's still no way to detect 'needs-patch in
1586 such a setup (or to force an update for that matter).
1587 (vc-cvs-logentry-check): Remove, the default works as well.
1589 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1591 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
1593 * vc.el (vc-do-command): kill-all-local-variables, to reset any
1594 major-mode in which the buffer might have been put earlier. Use
1595 `remove' and `when'. Allow `okstatus' to be `async' and use
1596 `start-process' in this case.
1597 (vc-version-diff): Handle the case where the diff looks empty
1598 because of the use of an async process.
1600 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1602 * vc.el (vc-next-action-on-file): Removed optional parameter
1603 `simple'. Recompute state unconditionally.
1604 (vc-default-toggle-read-only): Removed.
1606 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
1607 (vc-toggle-read-only): Undid prev change.
1609 * vc-cvs.el (vc-cvs-stay-local): Renamed from
1610 vc-cvs-simple-toggle. Redocumented.
1611 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
1612 (vc-cvs-toggle-read-only): Removed.
1614 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1616 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
1617 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
1618 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
1619 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
1620 still is. So maybe it should be removed.
1621 (vc-head-version, vc-find-binary): Remove.
1622 (vc-recompute-state): Move from vc-hooks.el.
1623 (vc-next-action-on-file): Add a `simple' argument to allow
1624 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
1625 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
1626 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
1627 (vc-dired-mode-map): Properly defvar it.
1628 (vc-print-log): Call log-view-mode if available.
1629 (small-temporary-file-directory): defvar instead of use boundp.
1630 (vc-merge-news): Moved to vc-cvs.el.
1631 (vc-default-merge-news): New function.
1633 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
1634 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
1635 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
1636 unknown `vc-latest-version' function. It should probably refer to
1637 vc-workfile-version or somesuch, but it's very unclear to me and I
1638 don't have SCCS to test things.
1640 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
1641 (vc-sccs-state-heuristic): Fix typo.
1642 (vc-sccs-workfile-unchanged-p): Add missing argument.
1644 * vc-rcs.el: Require vc and vc-rcs-hooks.
1645 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
1646 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
1647 (vc-release-greater-or-equal-p): Move from vc.
1648 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
1649 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
1650 (vc-rcs-checkout): Add a missing `new-version' argument in the
1651 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
1653 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
1654 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
1655 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
1656 than the apparently unbound `workfile-version'.
1658 * vc-hooks.el (vc-master-templates): Def the obsolete var.
1659 (vc-file-prop-obarray): Use `make-vector'.
1660 (vc-backend-functions): Add new hookable functions
1661 vc-toggle-read-only, vc-record-rename and vc-merge-news.
1662 (vc-loadup): If neither backend nor default functions exist, use
1663 the backend function rather than nil.
1664 (vc-call-backend): If the function if not bound yet, try to load
1665 the non-hook file to see if it provides it.
1666 (vc-call): New macro plus use it wherever possible.
1667 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
1668 nor `vc-find-binary' since it's only called from
1669 vc-mistrust-permission which is only used once the backend is known.
1670 (vc-checkout-model): Fix parenthesis.
1671 (vc-recompute-state, vc-prefix-map): Move to vc.el.
1673 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
1674 (vc-cvs-release, vc-cvs-system-release): Remove.
1675 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
1676 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
1678 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
1679 (vc-cvs-toggle-read-only): First cut at a function to allow a
1680 cvs-status-free vc-toggle-read-only.
1681 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
1682 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
1683 vc-cvs-status. Also set vc-state rather than vc-locking-user.
1684 (vc-cvs-checkout): Modify access rights directly if the user
1685 requested not to use `cvs edit'. And refresh the mode line.
1687 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
1688 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
1690 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1692 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
1693 workfile' that got lost when the code was extracted from vc.el.
1694 And merged the tail with the rest of the code (not possible in the
1695 old vc.el where the tail was shared among all backends). And
1696 explicitly set the state to 'edited if `writable' is set.
1698 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
1699 (vc-cvs-state): Be careful to return the value from
1701 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
1702 property but return it instead. Also be careful to handle a nil
1703 or "" `rev' when workfile is non-nil (it was handled properly when
1706 * vc.el: Removed those pesky unnecessary `(function' quotes.
1707 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
1708 directly in the defvar.
1709 (vc-do-command): Bind inhibit-read-only so as to properly handle
1710 the case where the destination buffer has been made read-only.
1711 (vc-diff): Delegate to vc-version-diff in all cases.
1712 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
1713 (vc-annotate-mode-variables): Removed (code moved partly to
1714 defvars and partly to vc-annotate-add-menu).
1715 (vc-annotate-mode): Turned into a derived-mode.
1716 (vc-annotate-add-menu): Moved in code in
1717 vc-annotate-mode-variables.
1718 (vc-update-change-log): Use make-temp-file if available.
1720 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
1722 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
1723 `vc-checkout-model' updated to `vc-cvs-update-model'.
1725 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1727 * vc.el (vc-next-action-on-file): Added handling of state
1729 (vc-checkout-carefully): Is now practically obsolete, unless the
1730 above is too slow to be enabled unconditionally.
1731 (vc-update-change-log): Fixed typo.
1733 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
1735 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
1736 Now handles state `unlocked-changes'.
1737 (vc-sccs-workfile-unchanged-p): New function, to support the above.
1739 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
1741 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
1742 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
1744 (vc-rcs-workfile-unchanged-p): Renamed from
1745 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
1746 function yet, but supposed to become one soon.
1748 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
1750 (vc-call-backend): Changed error message.
1751 (vc-state): Added description of state `unlocked-changes'.
1753 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1755 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
1756 always return t in CVS-controlled directories.
1758 * vc.el (vc-responsible-backend): New function.
1759 (vc-register): Largely rewritten.
1760 (vc-admin): Removed (implementation moved into vc-register).
1761 (vc-checkin): Redocumented.
1762 (vc-finish-logentry): If no backend defined yet (because we are in
1763 the process of registering), use the responsible backend.
1765 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
1766 Updated function lists.
1767 (vc-call-backend): Fixed typo.
1769 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
1771 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
1772 Removed query option. Redocumented.
1774 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1776 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
1778 * vc.el: Updated callers of `vc-checkout-required' to use
1779 `vc-checkout-model'.
1781 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1783 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
1784 stuff updated to reference this function instead of the old
1785 `vc-backend-release-p'.
1787 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1789 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
1790 vc-checkout-model. Return appropriate values. Updated callers.
1792 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1794 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
1795 (vc-backend-revert): Function moved into `vc-revert';
1796 `vc-next-action' must be updated to accomodate this change.
1797 (vc-backend-steal): Function moved into `vc-finish-steal'.
1798 (vc-backend-logentry-check): Function moved into
1799 `vc-finish-logentry'.
1800 (vc-backend-printlog): Function moved into `vc-print-log'.
1801 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
1802 (vc-backend-assign-name): Function moved into
1803 `vc-create-snapshot'.
1805 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1807 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
1808 Rename to vc-checkout-model. Return appropriate values.
1811 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
1812 to vc-checkout-model.
1813 (vc-checkout-required): Rename to vc-checkout-model.
1814 Re-implement and re-comment.
1815 (vc-after-save): Use vc-checkout-model.
1817 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1819 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
1820 Update to use the vc-BACKEND-diff functions instead.
1821 `vc-diff' is now working.
1823 * vc-rcs.el (vc-rcs-logentry-check): New function.
1825 * vc-cvs.el (vc-cvs-logentry-check): New function.
1827 * vc-sccs.el (vc-sccs-diff): Function changed name from
1828 `vc-backend-diff'. This makes `vc-diff' work.
1830 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
1831 of functions possibly implemented in a vc-BACKEND library.
1832 (vc-checkout-required): Fix bug that caused an error to be
1833 signaled during `vc-after-save'.
1836 This checkin is made with our new VC code base for the very first time.
1837 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
1839 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
1840 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
1842 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
1843 updated to `vc-uses-locking'.
1844 (vc-checkout-required): Call to backend function.
1845 `vc-checkout-required' updated to `vc-uses-locking' instead.
1847 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
1848 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
1850 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
1851 to match the split into various backends.
1852 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
1853 (vc-retrieve-snapshot): Bug fix.
1855 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1857 * vc-sccs.el (vc-sccs-release): Doc fix.
1859 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1861 * vc.el (vc-next-action-on-file): Bug found and fixed.
1862 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
1863 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
1865 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
1866 (vc-rcs-checkout): Name space cleaned up. No more revision number
1867 crunching function names that are not prefixed with vc-rcs.
1868 (vc-rcs-checkout-model): Function added. References to
1869 `vc-checkout-model' replaced.
1871 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1873 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
1874 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
1875 still need to be split, and implemented for RCS).
1877 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1879 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
1881 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
1882 required by the vc.el file.
1884 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
1885 required by the vc.el file.
1886 (vc-rcs-exists): Function added.
1888 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
1889 required by the vc.el file.
1891 * vc.el (vc-admin): Updated to handle selection of appropriate
1892 backend. Current implementation is crufty and need re-thinking.
1894 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
1896 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1898 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
1899 beginning of annotate buffers correctly.
1901 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
1902 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
1903 functionality updated quite a lot to support multiple backends.
1904 Variables `vc-annotate-mode', `vc-annotate-buffers',
1905 `vc-annotate-backend' added.
1907 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
1908 `vc-annotate-difference' added to supported backend functions.
1910 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1912 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
1913 Use with-temp-file instead of /bin/sh. Merged from mainline
1915 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1917 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
1919 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
1921 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
1923 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1925 * vc-hooks.el: vc-state-heuristic added to
1926 vc-backend-hook-functions.
1928 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
1930 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
1932 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
1933 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
1934 state to `reserved'.
1936 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
1937 `vc-checkout-required'. Rename the `locked' state to `reserved'.
1939 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1941 * vc-rcs-hooks.el: Implement new state model. Hardly anything
1944 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
1946 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
1947 if defined. (Merged from main line, slightly adapted.)
1949 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
1950 millenium problem (merged from mainline).
1952 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1954 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
1955 part and moved the non-BACKEND stuff to vc.el.
1957 * vc.el: Split the annotate feature into a BACKEND specific part
1958 and moved it from the vc-cvs.el file to this one.
1960 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1962 * vc-hooks.el: Implement new state model.
1963 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
1964 (vc-locking-user): Simplify. Now only needed if the file is
1965 locked by somebody else.
1966 (vc-lock-from-permissions): Remove. Functionality is in
1967 vc-sccs-hooks.el and vc-rcs-hooks.el now.
1968 (vc-mode-line-string): New name for former vc-status. Adapted.
1969 (vc-mode-line): Adapt to use the above. Remove optional parameter.
1971 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
1972 Various simplifications and adaptations all over the place.
1974 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
1975 Simplify and adapt the rest.
1977 * vc.el (vc-resynch-window): Add TODO comment: check for
1978 interaction with view mode according to recent RCS change.
1979 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
1981 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1983 * vc.el: Convert the remaining function comments to docstrings.
1985 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1987 * vc.el (vc-backend-release, vc-release-greater-or-equal)
1988 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
1989 (vc-minor-part, vc-previous-version): Functions that operate and
1990 compare revision numbers got proper documentation. Comments added
1991 about their possible removal.
1993 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1995 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
1996 the vc-backend.el files.
1998 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
2000 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
2001 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
2002 (vc-rcs-previous-version): Functions added.
2004 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
2006 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
2008 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2010 * vc-hooks.el (vc-master-templates): Is really obsolete.
2011 Comment out the definition for now. What is the right procedure
2013 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
2015 (vc-default-registered): Remove.
2016 (vc-check-master-templates): New function; does mostly what the
2018 (vc-locking-user): Don't rely on the backend to set the property.
2020 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
2021 Rewrite documentation.
2022 (vc-rcs-templates-grabbed): New variable.
2023 (vc-rcs-grab-templates): New function.
2024 (vc-rcs-registered): Rewrite to use above mechanism.
2026 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
2027 Rewrite documentation.
2028 (vc-sccs-templates-grabbed): New variable.
2029 (vc-sccs-grab-templates): New function.
2030 (vc-sccs-registered): Rewrite to use above mechanism.
2031 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
2032 Don't throw the result, simply return it.
2034 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
2035 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
2036 (vc-cvs-registered): Does the check itself now. Simplify.
2038 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
2041 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2043 * vc-cvs.el (vc-cvs-diff): New function.
2045 * vc-sccs.el (vc-sccs-diff): New function.
2047 * vc-rcs.el (vc-rcs-diff): New function.
2048 (vc-rcs-checkout): Bug (typo) found and fixed.
2049 (vc-rcs-register-switches): New variable.
2051 * vc.el (vc-backend-diff): Function removed and placed in the
2054 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2056 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
2058 * vc.el (vc-backend-checkout): Function removed and replaced in
2059 the vc-backend.el files.
2061 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
2063 * vc.el (vc-backend-admin): Removed and replaced in the
2064 vc-backend.el files.
2066 * vc.el (Martin): Removed all the annotate functionality since it
2067 is CVS backend specific.
2069 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2071 * spec.txt: Added specification of vc-state.
2073 * vc-sccs-hooks.el (vc-sccs-master-properties):
2074 Remove handling of vc-latest-version and
2075 vc-your-latest-version. What used to be vc-latest-version, is now
2076 returned as vc-workfile-version.
2077 (vc-sccs-workfile-version): Adapt.
2079 2000-09-04 Dave Love <fx@gnu.org>
2081 * vc.el: [Merged from mainline.]
2082 (vc-dired-mode): Make the dired-move-to-filename-regexp
2083 regexp match the date, to avoid treating date as file size.
2084 Add YYYY S option to WESTERN/
2086 2000-09-04 Dave Love <fx@gnu.org>
2088 * vc.el: Require `compile' when compiling.
2089 (vc-logentry-check-hook): New option.
2090 (vc-steal-lock): Use compose-mail.
2091 (vc-dired-mode-map): Defvar when compiling.
2092 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
2093 vc-sccs.el and renamed. Callers changed.
2094 (vc-backend-checkout, vc-backend-logentry-check)
2095 (vc-backend-merge-news): Doc fix.
2096 (vc-default-logentry-check): New function.
2097 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
2098 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
2099 (vc-backend-merge): Doc fix. Use backend functions.
2100 (vc-check-headers): Use backend functions.
2102 * vc-cvs.el: Require vc when compiling.
2103 (vc-cvs-register-switches): Doc fix.
2104 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
2105 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
2106 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
2107 New functions (code from vc.el).
2108 (vc-annotate-display-default): Fix interactive spec.
2109 (vc-annotate-time-span): Doc fix.
2111 * vc-rcs.el: Require vc when compiling.
2112 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
2113 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
2114 (vc-rcs-checkin): New functions (code from vc.el).
2115 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
2117 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
2119 * vc-sccs.el: Require vc when compiling.
2120 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
2121 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
2123 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
2125 (vc-sccs-add-triple, vc-sccs-record-rename)
2126 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
2127 (vc-sccs-admin): Doc fix.
2129 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2131 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
2132 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
2133 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
2136 * vc-sccs.el (vc-admin-sccs): Added from vc.el
2138 * vc-cvs.el: Moved the annotate functionality from vc.el.
2139 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
2141 2000-09-04 Dave Love <fx@gnu.org>
2143 * vc.el (vc-backend-release): Call vc-system-release.
2145 * vc-sccs.el (vc-sccs-system-release):
2146 Renamed from vc-sccs-backend-release.
2148 * vc-rcs.el (vc-rcs-system-release):
2149 Renamed from vc-rcs-backend-release.
2151 * vc-cvs.el (vc-cvs-system-release):
2152 Renamed from vc-cvs-backend-release.
2154 2000-09-04 Dave Love <fx@gnu.org>
2156 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
2158 (vc-backend-release): Dispatch to backend functions.
2159 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
2160 probably needs attention.]
2162 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
2163 (vc-sccs-backend-release): New function.
2165 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
2166 (vc-cvs-backend-release): New function.
2168 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
2170 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
2171 (vc-default-dired-state-info): New function.
2172 (vc-dired-state-info): Dispatch to backends.
2173 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
2175 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
2176 from vc.el and renamed.
2178 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2180 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
2181 (vc-version-other-window, vc-backend-assign-name): Removed
2182 references to vc-latest-version; sometimes changed into
2183 vc-workfile-version.
2185 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
2186 vc-rcs-master-workfile-version.
2187 (vc-rcs-workfile-version): Use the above. Don't call
2188 vc-latest-version (that was unreachable code, anyway).
2189 (vc-rcs-fetch-master-properties): Doc fix.
2191 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
2192 (vc-backend-hook-functions): Removed them from this list, too.
2193 (vc-fetch-properties): Removed.
2194 (vc-workfile-version): Doc fix.
2196 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
2197 (vc-rcs-workfile-version, vc-rcs-locking-user)
2198 (vc-rcs-uses-locking): Use it.
2200 * vc-hooks.el (vc-consult-rcs-headers):
2201 Moved into vc-rcs-hooks.el, under the name
2202 vc-rcs-consult-headers.
2204 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
2206 (vc-cvs-find-master): Use this name only; correct different
2207 versions of the name.
2209 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
2211 (vc-sccs-locking-user): Use the latter.
2213 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
2216 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
2218 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
2219 functions are implementation details of those two backends.
2221 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2223 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
2224 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
2226 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
2227 (vc-sccs-parse-locks): SCCS-specific code moved here from
2230 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
2231 code moved here from vc-hooks.
2233 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
2234 into back-end specific parts and removed. Callers not updated
2235 yet; because I guess these callers will disappear into back-end
2236 specific files anyway.
2238 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2240 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
2241 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
2244 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
2245 Store yes/no in the property, and return t/nil. Updated all
2248 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
2249 vc-sccs-uses-locking. Don't set property.
2250 (vc-sccs-locking-user): Don't set property.
2252 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
2253 vc-cvs-uses-locking. Don't set property here; leave that to
2255 (vc-cvs-locking-user): Reflect above change. Streamlined.
2257 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
2258 vc-rcs-uses-locking.
2259 (vc-rcs-locking-user): Reflect above change.
2261 2000-09-04 Dave Love <fx@gnu.org>
2263 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
2265 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
2267 * vc-hooks.el (vc-checkout-model): Punt to backends.
2269 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
2271 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
2273 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
2276 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
2279 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
2280 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
2282 * vc-hooks.el (vc-default-locking-user): New function.
2283 (vc-locking-user, vc-workfile-version): Punt to backends.
2285 2000-09-04 Dave Love <fx@gnu.org>
2287 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
2288 (vc-master-workfile-version): Moved from vc-hooks.
2290 * vc-rcs-hooks.el: Fix duplicate code in last change.
2292 * vc-rcs-hooks.el: Require vc-hooks when compiling.
2293 (vc-rcs-master-templates): Improve :type.
2294 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
2295 vc-master-workfile-version): Moved from vc-hooks.
2297 * vc-sccs-hooks.el: Require vc-hooks when compiling.
2298 (vc-sccs-master-templates): Improve :type.
2299 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
2301 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
2303 * vc-cvs-hooks.el: Require vc-hooks when compiling.
2304 (vc-cvs-master-templates): Improve :type. Use
2305 vc-cvs-find-cvs-master.
2306 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
2308 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
2310 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
2311 Moved to vc-cvs-hooks.
2313 * vc-hooks.el: Add doc strings in various places. Simplify the
2315 (vc-handled-backends): New user variable.
2316 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
2319 2000-09-04 Dave Love <fx@gnu.org>
2321 * vc.el: Some doc fixes for autoloaded and interactive functions.
2322 Fix compilation warnings from ediff stuff.
2323 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
2325 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
2327 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
2329 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
2331 2000-09-04 Dave Love <fx@gnu.org>
2333 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
2335 (vc-make-backend-function, vc-loadup, vc-call-backend)
2336 (vc-backend-defines): New functions.
2338 * vc-hooks.el: Various doc fixes.
2339 (vc-default-back-end, vc-follow-symlinks): Custom fix.
2340 (vc-match-substring): Function removed. Callers changed to use
2342 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
2345 2000-09-04 Dave Love <fx@gnu.org>
2347 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
2349 (vc-sccs-project-dir, vc-search-sccs-project-dir)
2350 (vc-sccs-registered): Doc fix.
2352 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
2353 (vc-cvs-registered): Doc fix.
2355 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
2356 (vc-rcs-registered): Doc fix.
2358 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2360 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
2362 * vc-hooks.el: vc-registered has been renamed
2363 vc-default-registered. Some functions have been moved to the
2364 backend specific files. they all support the
2365 vc-BACKEND-registered functions.
2367 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2369 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
2371 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
2373 2000-09-04 Dave Love <fx@gnu.org>
2375 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
2376 menu-bar-update-hook.
2378 * help.el (help-manyarg-func-alist): Add
2379 find-operation-coding-system.
2381 * wid-edit.el (widget-sexp-validate): Fix garbled code.
2383 * custom.el (custom-set-variables): Print message about errors in
2386 2000-09-03 Andrew Innes <andrewi@gnu.org>
2388 * makefile.w32-in: Change to DOS line endings.
2390 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2392 * mouse.el (mouse-popup-menubar): Supply the prompt string for
2393 minor-mode keymaps, if they don't have one.
2395 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2397 * eshell/esh-module.el (eval-when-compile): Don't lose if
2398 esh-module.el's file name is truncated to DOS 8+3 limits.
2400 2000-09-01 John Wiegley <johnw@gnu.org>
2402 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
2403 predicate, which caused entries in the completion list to be
2406 2000-08-30 John Wiegley <johnw@gnu.org>
2408 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
2409 sending to subprocesses. Also, hook pre-command-hook if
2410 `eshell-send-direct-to-subprocesses' is non-nil.
2411 (eshell-send-direct-to-subprocesses): New config variable. If t,
2412 subprocess input is send immediately.
2413 (eshell-toggle-direct-send): New function.
2414 (eshell-self-insert-command): New function.
2415 (eshell-intercept-commands): New function.
2416 (eshell-send-input): If direct subprocess sending is enabled,
2417 don't echo any input to the Eshell buffer. Let the subprocess
2418 handle that. This requires "stty echo" in bash, for example.
2420 2000-08-28 John Wiegley <johnw@gnu.org>
2422 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
2423 completion function for Eshell's implementation of `unset'.
2425 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2427 * info.el (Info-directory-list): Doc fix.
2429 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
2431 * filecache.el (file-cache-add-directory-using-find): Don't quote
2432 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
2434 2000-08-31 Kenichi Handa <handa@etl.go.jp>
2436 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
2439 2000-08-30 Andrew Innes <andrewi@gnu.org>
2441 * timer.el (run-with-idle-timer): Undo last change, so that timer
2442 is not activated immediately if Emacs is already idle. Some
2443 existing code relies on this behaviour.
2445 2000-08-30 Miles Bader <miles@gnu.org>
2447 * frame.el (set-frame-font): Do completion of font-name for
2450 2000-08-30 Kenichi Handa <handa@etl.go.jp>
2452 * international/quail.el (quail-start-translation): Bind locally
2453 last-command-event, last-command, and this-command.
2454 (quail-start-conversion): Likewise.
2455 (quail-self-insert-command): Fix docstring.
2457 2000-08-29 Gerd Moellmann <gerd@gnu.org>
2459 * progmodes/executable.el
2460 (executable-make-buffer-file-executable-if-script-p): Check that
2461 buffer contains at least 2 characters.
2463 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2465 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
2467 2000-08-29 Dave Love <fx@gnu.org>
2469 * diff-mode.el (diff-mode) <defgroup>: Add :version.
2470 (diff-mode-shared-map): Bind mouse-2.
2471 (diff-imenu-generic-expression): New variable.
2472 (diff-mode): Use it.
2474 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
2475 (mouse-popup-menubar): Add minor mode menus.
2476 (popup-menu): Check for lookup-key returning number.
2478 2000-08-29 Miles Bader <miles@gnu.org>
2480 * comint.el (comint-send-input): Create overlays using the proper
2481 front/read-advance arguments.
2483 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
2485 * ps-print.el: Even/odd pages printing. Doc fix.
2486 (ps-print-version): New version number (6.0).
2487 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
2488 (ps-background, ps-begin-file, ps-begin-job): Code fix.
2489 (ps-print-duplex-feature): Variable eliminated.
2490 (ps-even-or-odd-pages): New variable.
2492 * progmodes/ebnf2ps.el: Doc fix.
2493 (ebnf-version): New version (3.3).
2494 (ebnf-user-arrow): Change variable customization to sexp.
2495 (ebnf-user-arrow): Function eliminated.
2496 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
2498 2000-08-29 Kenichi Handa <handa@etl.go.jp>
2500 * help.el (help-xref-mule-regexp): New variable.
2501 (help-make-xrefs): Handle help-xref-mule-regexp.
2503 * international/mule-cmds.el (help-xref-mule-regexp-template): New
2505 (describe-input-method): Temporarily activate the specfied input
2506 method to display the information.
2507 (describe-language-environment): Hyperlinks to mule related items.
2509 * international/mule-diag.el (charset-multibyte-form-string): New
2511 (list-character-sets-1): Use charset-multibyte-form-string.
2512 (describe-character-set): New function.
2513 (describe-coding-system): Hyperlinks to safe character sets.
2515 * international/quail.el (quail-help): New arg PACKAGE.
2516 Hyperlinks to mule related items.
2517 (quail-help-insert-keymap-description): Use
2518 substitute-command-keys instead of describe-bindings.
2519 (quail-translation-help): Hyperlinks to mule related items.
2521 2000-08-28 John Wiegley <johnw@gnu.org>
2523 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
2524 have a defsubst call itself. Made `eshell-flatten-list' back into
2527 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
2528 catch, in case re-centering point at bottom messes up the display.
2529 This happens frequently in Emacs 21, due I believe to variable
2532 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
2533 to call `find-tag-interactive'.
2535 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
2536 the list of remember directories.
2538 2000-08-28 John Wiegley <johnw@gnu.org>
2540 * align.el: Test align-region-separate to see if it's a symbol.
2542 2000-08-28 John Wiegley <johnw@gnu.org>
2544 * eshell/esh-util.el (eshell-flatten-list): Made this function
2545 into a defsubst form. It gets used very frequently, although
2546 calls don't occur all that often.
2548 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
2551 * eshell/esh-cmd.el (eshell-rewrite-while-command):
2552 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
2554 (eshell-copy-handles): Created a new macro for duplicating the
2555 current set of open handles. This is needed by the looping
2557 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
2558 is not incorrectly stomped on.
2560 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
2561 declaration for pcomplete-use-paring.
2562 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
2563 value of eshell-cmpl-use-paring.
2564 * pcomplete.el (pcomplete-use-paring): New config variable, to
2565 indicate whether paring should be used.
2566 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
2567 completion alternatives that have already been used.
2569 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
2570 bound to C-c C-y, which will repeat the previous N arguments
2571 (based on prefix argument).
2572 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
2574 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
2575 if there is no *Help* buffer. This is for XEmacs, which renames
2576 its help buffers uniquely. TODO: Find out what the current buffer
2579 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
2580 first entry that correlates to a passwd/group number. Later
2581 entries (used for group/user name aliasing to multiple IDs) are
2584 * eshell/em-xtra.el (eshell/expr):
2585 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
2586 (eshell-grep, eshell/diff, eshell/locate):
2587 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
2588 argument list, before passing it to the system command.
2590 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
2591 `find-tag' for use at final position in Eshell buffers (which
2592 otherwise triggers an error on Emacs 21).
2593 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
2594 buffer, if it is currently bound to `find-tag'.
2596 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
2597 in the list of matched Makefile names.
2598 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
2599 directory, prefer its contents to Makefile.
2601 * eshell/em-dirs.el (eshell/cd): cd commands that look up
2602 directory parts (like "cd old new", or "cd =regexp"), are now case
2603 sensitive on non-Windows/DOS platforms.
2605 * eshell/esh-mode.el (eshell-parse-command-input): When a user
2606 types RET after an open delimiter (like "), display a message
2607 indicating that Eshell is waiting for the closing delimiter.
2609 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
2610 environment variables.
2612 * eshell/em-unix.el (eshell/diff): Added logic to fail more
2613 gracefully if the user enters incorrect arguments.
2615 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
2618 * eshell/esh-var.el (eshell-interpolate-variable):
2619 * eshell/esh-mode.el (eshell-move-argument):
2620 * eshell/em-unix.el (eshell-du-sum-directory):
2621 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
2622 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
2625 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
2626 to ensure the `preserve' flag gets propagated when doing recursive
2629 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
2631 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
2632 Don't convert \n into \0177 in memory.
2633 (eshell-read-history, eshell-write-history): Convert \n to \0177,
2634 and back again, when reading and writing.
2636 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
2638 * eshell/esh-util.el (eshell-processp): Added to relieve constant
2639 testing of `fboundp' on `processp'.
2641 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
2642 (eshell/jobs): Don't call process-list if it is not bound.
2643 (eshell-gather-process-output): Support systems where async
2644 subprocesses aren't supported.
2645 (eshell-scratch-buffer, eshell-last-sync-output-start): New
2648 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
2649 eshell-do-eval returns t.
2650 (eshell-do-pipelines-synchronously): New defmacro.
2651 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
2652 when async subprocesses aren't supported.
2653 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
2654 if async subprocesses aren't supported.
2655 (eshell-resume-command): Don't assume STATUS is a string.
2657 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
2659 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
2660 (eshell-close-target, eshell-get-target): Use eshell-processp.
2661 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
2663 (eshell-get-target, eshell-create-handles): Doc fix.
2665 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
2667 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
2668 criterion to include commands that output something, as long as it
2669 leaves both the command and the end-of-buffer visible when the
2671 (eshell-review-quick-commands): Adjust the help doc string
2674 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
2676 * locate.el (locate): Cleaned up locate command's interactive prompting
2677 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
2679 * filecache.el (file-cache-case-fold-search): New variable
2680 (file-cache-assoc-function): New variable
2681 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
2682 Use file-cache-case-fold-search variable
2683 (file-cache-add-file): Use file-cache-assoc-function
2684 (file-cache-delete-file): likewise
2685 (file-cache-directory-name): likewise
2686 (file-cache-debug-read-from-minibuffer): likewise
2688 2000-08-28 Gerd Moellmann <gerd@gnu.org>
2690 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
2691 (abbrev-table-name): New function.
2692 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
2693 If non-nil list local abbrev, only.
2695 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
2697 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
2698 from Gnus support code, and use special article copy buffer
2699 `(gnus-original-article-buffer)' instead. This allows to get rid
2700 of article-hide-headers usage (which breaks in the latest Gnus
2701 version). Thanks to Detlev Zundel.
2703 2000-08-28 Kenichi Handa <handa@etl.go.jp>
2705 * international/quail.el (quail-use-package): Hide "... loaded"
2707 (quail-start-translation, quail-start-conversion): Likewise.
2709 * international/kkc.el (kkc-region): Hide "... loaded" message.
2711 2000-08-27 Dave Love <fx@gnu.org>
2713 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
2715 2000-08-27 Miles Bader <miles@gnu.org>
2717 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
2719 2000-08-27 Kenichi Handa <handa@etl.go.jp>
2721 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
2722 'ja-dic-cnv), not (require 'skkdic-cnv).
2724 2000-08-26 Miles Bader <miles@gnu.org>
2726 * faces.el (face-x-resources): Add entry for :inherit.
2727 * cus-face.el (custom-face-attributes): Add support for :inherit
2728 attribute. Add support for relative face heights.
2729 (custom-face-attributes-get): Treat `nil' as being a default value
2730 for :inherit (as well as `unspecified').
2732 * faces.el (set-face-attribute): Update doc string.
2733 (face-attribute-name-alist): Add :inherit.
2734 (face-valid-attribute-values): Handle :inherit.
2735 (face-read-string): Rephrase prompt to be less confusing.
2736 Assume that DEFAULT is a string, since we must return a string.
2737 (face-read-integer): Use `format' to turn DEFAULT into an
2738 acceptable default for face-read-string. Match NEW-VALUE against
2739 the string "unspecified", not the symbol `unspecified', since
2740 that's what face-read-string returns.
2741 (read-face-attribute): Lookup a name for old-value in valid, and
2742 use it as a default if we find one. Treat all values from
2743 face-read-string as strings. If the default is used, don't do any
2744 more processing on the value, just use the old value directly.
2745 (read-face-and-attribute, modify-face): Tweak prompt.
2746 (read-face-name): Don't assume prompt ends with a space.
2748 * faces.el (describe-face): Add support for :inherit attribute.
2750 2000-08-25 Kenichi Handa <handa@etl.go.jp>
2752 * terminal.el (terminal-emulator): Fix args to `concat'. Now
2753 concat doesn't accept interger.
2755 * international/kkc.el: Remove SKK from Keywords. Require
2756 ja-dic-utl instead of skkdic-utl.
2758 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
2759 Provide ja-dic-cnv instead of skkdic-cnv.
2760 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
2761 (iso-2022-7bit-short): Add safe-charsets property.
2762 (skkdic-convert-postfix): Search Japanese chou-on character in
2763 addition to Hiragana character.
2764 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
2765 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
2766 (batch-skkdic-convert): Likewise.
2768 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
2769 Provide ja-dic-utl instead of skkdic-utl.
2770 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
2772 2000-08-24 Dave Love <fx@gnu.org>
2774 * disp-table.el (standard-display-default): Make the test of `l'
2777 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
2780 * international/iso-ascii.el: Make pilcrow convenient string
2781 consistent with section.
2782 (iso-ascii-display): Set up multibyte characters as well as
2785 2000-08-24 Kenichi Handa <handa@etl.go.jp>
2787 * international/mule-cmds.el (reset-language-environment): Set
2788 default-process-coding-system to '(undecided . iso-latin-1), which
2789 makes process I/O almost consistent with file I/O. Call this
2790 function when mule-cmds.el[c] is loaded.
2792 2000-08-22 Andrew Innes <andrewi@gnu.org>
2794 * makefile.w32-in: New file.
2796 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
2798 * comint.el (comint-output-filter): Compare end of
2799 comint-last-output-overlay with the start of the newly inserted
2800 text, not the end, when deciding whether to extend it.
2801 Set saved-point's insertion type to advance after insertion.
2803 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
2804 since this is now done independently of font-lock mode.
2806 2000-08-21 Gerd Moellmann <gerd@gnu.org>
2808 * server.el (server-kill-new-buffers): New user option.
2809 (server-existing-buffer): New buffer-local variable.
2810 (server-visit-files): When using an existing buffer, set
2811 server-existing-buffer to t.
2812 (server-buffer-done): If server-kill-new-buffers is t, kill the
2813 buffer, unless it was already present before visiting it with
2816 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
2818 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
2819 even if the display doesn't support colors: some displays will
2820 support bold/underline faces.
2822 2000-08-21 Gerd Moellmann <gerd@gnu.org>
2824 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
2826 * startup.el (command-line): If user's init file had an error,
2827 add explanatory text to *Messages*.
2829 2000-08-21 Kenichi Handa <handa@etl.go.jp>
2831 * man.el (Man-getpage-in-background): Decode the process output by
2832 the system locale coding system.
2834 2000-08-20 Dave Love <fx@gnu.org>
2836 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
2837 Don't test x-popup-menu.
2838 (function) <complete-function>: Complete only fbound symbols.
2839 <validate, value>: New.
2840 (variable) <complete-function>: Complete only bound symbols.
2841 (coding-system): Add :base-only, :complete-function, :validate,
2842 :value, :prompt-match.
2843 (widget-coding-system-prompt-value): Use read-coding-system and
2845 (editable-field): Add :help-echo.
2846 (widget-push-button-gui, widget-push-button-cache)
2847 (widget-gui-action, widget-editable-list-gui): COmment out, along
2849 (widget-at): Make arg optional.
2850 (widget-echo-help): Adjust for current help-echo calling sequence.
2851 (widget-specify-field, widget-specify-button)
2852 (widget-specify-insert, widget-get-sibling, widget-image-find)
2853 (widget-convert, widget-insert, widget-leave-text)
2854 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
2855 (widget-setup, widget-field-find, widget-before-change)
2856 (widget-after-change, widget-default-complete)
2857 (widget-default-create, widget-default-delete)
2858 (widget-push-button-value-create, editable-field)
2859 (widget-field-prompt-value, widget-field-validate)
2860 (widget-choice-value-create, widget-choice-action)
2861 (widget-choice-validate, widget-checklist-add-item)
2862 (widget-radio-add-item, widget-radio-chosen)
2863 (widget-radio-value-inline, widget-editable-list-value-create)
2864 (widget-editable-list-entry-create)
2865 (widget-documentation-link-add)
2866 (widget-documentation-string-value-create)
2867 (widget-regexp-validate, widget-file-complete)
2868 (widget-sexp-validate, widget-plist-convert-widget)
2869 (widget-plist-convert-widget, widget-alist-convert-widget)
2870 (widget-alist-convert-widget, widget-color-complete): Simplify,
2871 particularly to avoid bindings which aren't optimized out.
2873 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
2875 (down-list, backward-up-list, up-list, kill-sexp)
2876 (backward-kill-sexp, mark-sexp): Make arg optional.
2877 (lisp-complete-symbol): Add optional arg PREDICATE.
2879 * cus-start.el: Add display-buffer-reuse-frames,
2880 file-coding-system-alist.
2882 2000-08-20 Gerd Moellmann <gerd@gnu.org>
2884 * startup.el (command-line): Clear realized faces after
2885 modifying TTY color mappings.
2887 2000-08-20 Miles Bader <miles@gnu.org>
2889 * faces.el (face-attr-match-p): Don't return true if ATTRS are
2890 merely a subset of FACE's attributes.
2892 2000-08-19 Miles Bader <miles@gnu.org>
2894 * comint.el (comint-output-filter): Save the point with a marker,
2895 not just a buffer position.
2897 * international/mule.el (set-buffer-process-coding-system): Make
2898 interactive prompt less confusing.
2900 2000-08-19 Gerd Moellmann <gerd@gnu.org>
2902 * hilit-chg.el: General cleanup of doc strings, comments and
2905 2000-08-19 Miles Bader <miles@gnu.org>
2907 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
2908 Compiler macro removed; beginning-of-line is no longer always
2909 equivalent to forward-line, in the presence of fields.
2911 * comint.el (comint-output-filter): Remove ad-hoc saving of
2912 restriction, and just use save-restriction, now that it works
2913 correctly. Don't adjust comint-last-input-start to account for
2914 our insertion; it shouldn't have moved because we don't use
2915 insert-before-markers anymore. Comment out call to
2916 `force-mode-line-update'; why is it here?
2918 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
2919 while checking for prompt to delete. Use `forward-line 0'
2920 instead of beginning-of-line.
2921 (gud-filter): Temporarily widen gud comint buffer while
2924 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
2926 * progmodes/sh-script.el: Big bag of typos.
2928 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
2929 check since ispell-process is not bound when ispell is not yet loaded.
2931 2000-08-18 Dave Love <fx@gnu.org>
2933 * image.el (find-image): Copy `spec' before using plist-put.
2935 2000-08-18 Gerd Moellmann <gerd@gnu.org>
2937 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
2940 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
2941 backward-kill-sexp, analogous to kill-sexp.
2943 * progmodes/icon.el (icon-indent-line)
2944 (icon-is-continuation-line): Handle comments specially.
2946 2000-08-17 Ken Stevens <k.stevens@ieee.org>
2948 * ispell.el: Set to standard author/maintainer/keyword fields.
2949 Fine tuning to menu map appearance and operation, and added help.
2950 Remove `start' and `end' error messages when compiling.
2951 (ispell-choices-win-default-height): Fixed comment string.
2952 (ispell-dictionary-alist-1): Fixed regexp in castellano and
2953 castellano8 dictionaries.
2954 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
2955 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
2956 dictionary, added italiano dictionary.
2957 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
2959 (ispell-tex-skip-alists): Added psfig support.
2960 (ispell-skip-html): Renamed from ispell-skip-sgml.
2961 (ispell-begin-skip-region-regexp, ispell-skip-region)
2962 (ispell-minor-check): Improved html skipping support to skip across
2963 code, and recognize `&' commands without propper `;' syntax;
2964 (ispell-process-line): Fix alignment error when manually
2965 correcting spelling.
2966 (ispell): Fix comment string.
2967 (ispell-add-per-file-word-list): Always put word list on new line.
2969 2000-08-17 Gerd Moellmann <gerd@gnu.org>
2971 * format.el (format-encode-run-method): Fix error message to say
2972 `encode' instead of `decode'. Use save-window-excursion around
2973 shell-command-on-region as in format-decode-run-method because
2974 shell-command-on-region can display a buffer with error output.
2975 (format-decode): Don't record undo information for the decoding.
2976 (format-annotate-function): Add parameter FORMAT-COUNT. Make
2977 that number part of the temporary buffer name so that more than
2978 one decoding using a temporary buffer can happen safely.
2980 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
2981 of `A-z' in the regexp.
2983 * hilit-chg.el: Fix typos in commentary.
2985 * help.el (view-emacs-news): Rewritten for new naming scheme
2988 * startup.el (command-line): Pop to *Messages* in case an error
2989 is signaled while loading user-init-file.
2991 2000-08-17 Andreas Schwab <schwab@suse.de>
2993 * files.el (insert-directory): Don't lose original file name,
2994 undoing an undocumented change.
2996 2000-08-17 Alex Schroeder <alex@gnu.org>
2998 * sql.el (sql-magic-go): Use comint-bol.
2999 (sql-copy-column): Use comint-line-beginning-position.
3000 (comint-line-beginning-position): Define a replacement for
3001 comint-line-beginning-position if it is not fboundp.
3003 2000-08-17 Alex Schroeder <alex@gnu.org>
3005 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
3006 it didn't have any effect anyway.
3008 2000-08-17 Alex Schroeder <alex@gnu.org>
3010 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
3011 --pset and pager=off instead of sending \\o|cat at the beginning
3014 2000-08-17 Miles Bader <miles@gnu.org>
3016 * progmodes/octave-inf.el: Add compatibility definition of
3017 comint-line-beginning-position.
3019 2000-08-17 Kenichi Handa <handa@etl.go.jp>
3021 * startup.el (normal-top-level): Look in each dir in load-path for
3022 a leim-list.el file too. This assures of loading leim-list.el
3023 that is created at Emacs installation time even if a user have his
3026 2000-08-17 Miles Bader <miles@gnu.org>
3028 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
3029 foreground color to black if the background is dark.
3031 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
3033 * loadhist.el (unload-feature): Typo.
3035 * finder.el (finder-compile-keywords):
3036 * cus-dep.el (custom-make-dependencies): Add local-variable settings
3037 to the generated file.
3039 * mail/mh-e.el (mh-make-local-vars):
3040 Replace make-variable-buffer-local with make-local-variable.
3043 * options.el (Edit-options-{set,toggle,t,nil}):
3044 * mail/mailabbrev.el (mail-abbrevs-mode):
3045 * textmodes/tex-mode.el (tex-expand-files):
3046 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
3048 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
3050 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
3051 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
3052 Allow going past the last element.
3053 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
3054 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
3055 (cvs-mouse-toggle-mark): Don't move point.
3056 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
3058 * progmodes/compile.el (grep): Provide a default set of files.
3059 (next-error): Docstring fix.
3060 (compilation-find-file): Avoid find-file (fails in a dedicated window).
3062 * emacs-lisp/easy-mmode.el (define-minor-mode):
3063 Use `symbol-value' to keep the byte-compiler quiet.
3065 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
3066 (diff-find-source-location): New fun, extracted from diff-goto-source.
3067 (diff-goto-source): Use it.
3068 (diff-next-complex-hunk, diff-filter-lines): New function.
3069 (diff-apply-hunk): New command.
3071 * smerge-mode.el (smerge-mode-menu): Doc fix.
3073 * msb.el (msb-mode): Define it in terms of define-minor-mode.
3075 2000-08-16 Dave Love <fx@gnu.org>
3077 * windmove.el (windmove) <defgroup>: Add :version.
3079 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
3080 (goto-address-fontify-p, goto-address-highlight-p)
3081 (goto-address-url-face, goto-address-url-mouse-face)
3082 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
3083 (goto-address-url-regexp): Use thing-at-point-url-regexp.
3084 (goto-address-fontify, goto-address-at-mouse): Simplify,
3085 (goto-address-at-point): browse-url-url-at-point,
3086 goto-address-find-address-at-point can return nil.
3087 (goto-address-find-address-at-point): Return nil on failure.
3089 * align.el (align) <defgroup>: Add :version.
3091 * calculator.el (calculator): Add :version.
3092 (calculator): Use two lines for calculator window if `modeline'
3095 * play/5x5.el: Doc fixes.
3096 (5x5) <defgroup>: Add :version.
3098 * play/fortune.el (fortune) <defgroup>: Add :version.
3099 (fortune-append): Fix error message.
3100 (fortune-from-region): Doc fix.
3102 * play/pong.el (pong): Doc fix.
3104 * play/morse.el: Keywords, commentary, autoloads.
3106 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
3108 * desktop.el (desktop-save): Don't look at symbol-value of a
3109 member of minor-mode-alist, unless it is boundp.
3111 2000-08-16 Sam Steingold <sds@gnu.org>
3113 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
3114 `while'; use `with-current-buffer' instead of `save-excursion'.
3115 Removed unnecessary kludges now that "*Buffer List*" is excluded.
3117 2000-08-16 Kenichi Handa <handa@etl.go.jp>
3119 * international/ccl.el (declare-ccl-program): Docstring modified.
3120 (ccl-execute-with-args): Likewise.
3122 2000-08-16 Miles Bader <miles@gnu.org>
3124 * progmodes/sql.el: Add compatibility definition of
3125 comint-line-beginning-position.
3127 2000-08-15 Gerd Moellmann <gerd@gnu.org>
3129 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
3130 'buffer-menu' property.
3131 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
3133 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
3134 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
3137 * buff-menu.el (list-buffers-noselect): Don't display the
3138 *Buffer List* buffer.
3140 * font-lock.el: Require jit-lock to prevent a very late
3141 `Loading jit-lock' message.
3143 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
3144 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
3147 2000-08-15 Miles Bader <miles@gnu.org>
3149 * textmodes/ispell.el (ispell-graphic-p): New constant.
3150 (ispell-choices-win-default-height, ispell-help): Use
3151 `ispell-graphic-p' instead of `xemacsp'.
3153 2000-08-15 Dave Love <fx@gnu.org>
3155 * simple.el: Autoload widget-convert when compiling.
3156 (mail-user-agent): Doc fix.
3158 * help.el (function-called-at-point, variable-at-point): Use
3160 (help-manyarg-func-alist): Add insert-and-inherit.
3162 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
3164 * delsel.el (delsel-unload-hook): New function.
3166 * find-file.el: Doc fixes. Move provide to end.
3167 (ff) <defgroup>: Add :link.
3168 (ff-goto-click): Deleted.
3169 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
3170 Use mouse-set-point.
3172 * textmodes/tildify.el: Doc fixes.
3173 (tildify) <defgroup>: Add:version.
3175 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
3176 (glasses-custom-set): Use set-default, not set.
3177 (minor-mode-alist): Propertize the lighter.
3178 (glasses-mode): Provide optional arg.
3180 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
3181 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
3182 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
3183 option. Provide :type.
3184 (cwarn-configuration): Provide :type.
3185 (cwarn-mode): Doc fix.
3187 * add-log.el (change-log-merge): Doc fix.
3188 (change-log-redate): New command.
3190 * net/browse-url.el (browse-url-filename-alist): Add a clause for
3192 (browse-url): Use dolist, not mapcar.
3193 (browse-url-at-point): Check for null url.
3194 (browse-url-event-buffer, browse-url-event-point): Functions
3196 (browse-url-at-mouse, browse-url-netscape): Simplify.
3198 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
3200 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
3201 Fix previous change to mapcan.
3202 (msb--init-file-alist, msb--add-separators)
3203 (msb--make-keymap-menu): Simplify.
3204 (msb--choose-file-menu): Use copy-sequence.
3205 (msb-mode-map): Add title to keymap.
3206 (msb-unload-hook): New function.
3208 * bs.el: Fix indentation.
3209 (bs) <defgroup>: Add :links.
3211 (bs-apply-sort-faces): Don't use window-system.
3212 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
3214 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
3216 * calendar/timeclock.el (timeclock-file): Run .timelog through
3217 convert-standard-filename.
3219 2000-08-14 Gerd Moellmann <gerd@gnu.org>
3221 * emacs-lisp/authors.el: New file.
3223 * paren.el (show-paren-priority): New user option.
3224 (show-paren-function): Set overlay priorities to
3225 show-paren-priority.
3227 2000-08-14 Miles Bader <miles@gnu.org>
3229 * comint.el (comint-bol): Use `forward-line 0' instead of calling
3230 beginning-of-line with inhibit-field-text-motion bound.
3232 2000-08-14 Gerd Moellmann <gerd@gnu.org>
3234 * calendar/timeclock.el: New file.
3236 2000-08-14 David Ponce <david@dponce.com>
3238 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
3239 `widget-button-click'. so that one can use left mouse button to
3240 click on dialog buttons.
3242 2000-08-14 Emmanuel Briot <briot@gnat.com>
3244 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
3245 identifiers, since XML is case sensitive
3247 2000-08-12 Miles Bader <miles@gnu.org>
3249 * comint.el (comint-output-filter): Don't bother frobbing
3250 window-start, it doesn't seem to be necessary.
3252 * comint.el (comint-send-string, comint-send-region): Make into
3253 real functions. Snapshot the prompt before sending.
3255 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
3257 * info.el (Info-find-emacs-command-nodes): Rewrite to use
3258 technique similar to Info-index, instead of relying on specific
3259 names of relevant Index nodes.
3260 (Info-goto-emacs-command-node): Bind Info-history to nil when
3261 going to the first node found by Info-find-emacs-command-nodes.
3263 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
3265 * menu-bar.el (menu-bar-help-menu): Add a :help string.
3267 2000-08-10 Miles Bader <miles@gnu.org>
3269 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
3271 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
3273 * info.el (Info-file-list-for-emacs): More elements for the
3274 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
3277 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
3279 * comint.el (comint-send-input): Make the newline boundary overlay
3280 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
3281 (comint-output-filter): Use `insert' instead of
3282 `insert-before-markers'. Extend comint-last-output-overlay when
3283 necessary since we can't rely on insert-before-markers to do it.
3284 * gud.el (gud-filter): Use `with-current-buffer' instead of
3285 save-excursion when inserting the output, so that point gets
3286 updated correctly; the old method relied on a rather dodgy
3287 side-effect of comint-output-filter to avoid the effect of
3290 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
3292 * files.el (recover-file): Call insert-directory instead of
3293 invoking `ls' directly.
3295 2000-08-10 Miles Bader <miles@gnu.org>
3297 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
3298 (comint-last-prompt-overlay): New variables.
3299 (comint-output-filter): Implement prompt highlighting.
3300 (comint-snapshot-last-prompt): New function.
3301 (comint-send-input): Snapshot the last prompt.
3302 Use comint-highlight-input-face.
3303 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
3304 Use defface instead of defcustom.
3305 (send-invisible, comint-send-eof): Snapshot the last prompt.
3306 (comint-delchar-or-maybe-eof): Use comint-send-eof.
3307 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
3309 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
3311 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
3312 (regexp-opt-group): Use a list of chars for `letters'.
3313 (regexp-opt-charset): `chars' is now a list of chars.
3314 Use a char-table rather than a vector so it works for multibyte chars.
3316 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
3317 Set cvs-minor-current-files to the selected fileinfo.
3318 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
3319 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
3321 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
3323 * files.el (insert-directory): Don't call access-file on
3324 directories on DOS and Windows.
3326 2000-08-09 Kenichi Handa <handa@etl.go.jp>
3328 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
3329 longer if necessary.
3330 (ccl-embed-code): Call ccl-embed-data to store CODE in
3333 2000-08-09 Miles Bader <miles@gnu.org>
3335 * comint.el (comint-output-filter): Properly handle the case where
3336 the text surrounded by comint-last-output-overlay was deleted.
3338 2000-08-08 Gerd Moellmann <gerd@gnu.org>
3340 * info.el (Info-insert-dir): Use Info-additional-directory-list if
3342 (Info-file-list-for-emacs): Remove "info" from the list because
3343 that leads to trying to use the documentation from file `info'
3344 in various situations where it isn't appropriate, for instance
3347 * ffap.el (ffap-read-file-or-url-internal): Handle case that
3348 DIR and/or STRING are nil.
3350 * progmodes/compile.el (compilation-setup): Make variable
3351 compilation-error-screen-columns buffer-local, as some comment
3352 in the code suggests it should be.
3354 * files.el (auto-mode-interpreter-regexp): New variable.
3355 (set-auto-mode): Use it.
3357 * indent.el (indent-for-tab-command): Doc fix.
3359 * mouse-sel.el (mouse-sel-mode): Doc fix.
3361 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
3364 * help.el (print-help-return-message): When
3365 display-buffer-reuse-frames is set, let the help window been quit,
3366 instead of deleting it, which might delete a reused frame.
3368 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
3370 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
3371 rename a directory to a name that differs only by its letter case.
3373 2000-08-08 Kenichi Handa <handa@etl.go.jp>
3375 * international/quail.el (quail-define-rules): Handle Quail decode
3376 map correctly. Add code for supporting annotations.
3377 (quail-install-decode-map): New function.
3378 (quail-defrule-internal): New optional arguments decode-map and
3380 (quail-advice): New function.
3382 2000-08-07 Sam Steingold <sds@gnu.org>
3384 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
3385 `defconst', `define-condition', `with-slots'.
3386 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
3388 2000-08-03 Miles Bader <miles@gnu.org>
3390 * comint.el (comint-use-prompt-regexp-instead-of-fields):
3392 (comint-prompt-regexp, comint-get-old-input): Document dependence on
3393 comint-use-prompt-regexp-instead-of-fields.
3394 (comint-send-input): Add `input' field property to stuff we send to
3395 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
3396 (comint-output-filter): Add `output' field property to process
3397 output, if comint-use-prompt-regexp-instead-of-fields is nil.
3398 (comint-replace-by-expanded-history)
3399 (comint-get-old-input-default, comint-show-output)
3400 (comint-backward-matching-input, comint-forward-matching-input)
3401 (comint-next-prompt, comint-previous-prompt): Use field
3402 properties if comint-use-prompt-regexp-instead-of-fields is nil.
3403 (comint-line-beginning-position): New function.
3404 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
3405 (comint-replace-by-expanded-history-before-point): Use
3406 comint-line-beginning-position and line-end-position.
3407 (comint-last-output-overlay): New variable.
3408 (comint-mode): Make `comint-last-output-overlay' buffer-local.
3410 * shell.el (shell-prompt-pattern): Doc change.
3411 (shell-backward-command): Use line-beginning-position.
3413 * gud.el (gud-gdb-complete-command): Use
3414 comint-line-beginning-position.
3416 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
3417 comint-bol doesn't actually go to the beginning of the line.
3419 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
3420 if comint-use-prompt-regexp-instead-of-fields is non-nil.
3421 (try-expand-line-all-buffers): Likewise.
3423 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
3424 explicitly matching comint-prompt-regexp.
3425 (sql-copy-column): Use comint-line-beginning-position instead of
3426 explicitly matching comint-prompt-regexp.
3428 * progmodes/octave-inf.el (inferior-octave-complete): Use
3429 comint-line-beginning-position.
3431 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
3433 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
3434 looking for a prompt, use `forward-line 0' instead of
3435 `beginning-of-line', to avoid getting caught by an input field.
3437 2000-08-07 Gerd Moellmann <gerd@gnu.org>
3439 * files.el (shell-quote-wildcard-pattern): Make sure to return
3440 PATTERN, in the Unix case.
3442 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
3444 * play/zone.el (zone): Discard any pending input before running
3445 the randomly-chosen pgm.
3447 2000-08-07 Kenichi Handa <handa@etl.go.jp>
3449 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
3450 checking the existence of any multibyte characters.
3452 2000-08-06 Gerd Moellmann <gerd@gnu.org>
3454 * help.el (describe-mode): Test minor-mode symbol for being
3455 bound before testing its value for being nil.
3457 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
3458 `first', `second', and `third'.
3460 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
3461 (second): Make it an alias for `cadr'.
3463 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
3465 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
3466 types of display support faces now.
3468 2000-08-05 Gerd Moellmann <gerd@gnu.org>
3470 * pcvs.el (require): Require `cl' during compilation, only.
3472 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
3473 (toplevel): Remove `remq' and `remove' from autoloads.
3474 (cl-fake-autoloads): New variable. If set, arrange for an error
3475 when CL functions etc. are autoloaded.
3477 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
3479 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
3481 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
3482 popped up, but the user clicks outside the menu, return an empty
3483 regexp (that causes unhighlight-regexp to have no effect).
3485 * menu-bar.el (menu-bar-games-menu): Add Zone.
3487 * hi-lock.el (toplevel): Require font-lock.
3489 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3491 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
3492 (ebnf-8-bit-chars): New var for bug fix.
3493 (ebnf-string): Bug fix.
3495 2000-08-03 Sam Steingold <sds@gnu.org>
3497 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
3498 instead of `buffer-string'.
3499 (require 'cl): Always, not just when compiling.
3500 `ignore-errors' in `interactive', `list*', `defun*' &c make this
3503 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
3505 * international/mule-cmds.el (select-safe-coding-system): Make
3506 the message text about selecting a safe coding system more clear.
3508 2000-08-02 Gerd Moellmann <gerd@gnu.org>
3510 * hi-lock.el: New file.
3512 * play/zone.el: New file.
3514 * replace.el (occur): Set tab-width in the *Occur* buffer to the
3515 value of tab-width in the original buffer. Choose a line number
3516 format that's a multiple of the original buffer's tab width, so
3517 that lines appear right.
3519 * textmodes/ispell.el (ispell): New function, replacing an alias.
3520 Spell-check active region if in transient-mark-mode and mark
3521 is active; otherwise spell-check buffer.
3523 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3525 * ps-mule.el: Fix a customization problem on
3526 ps-mule-font-info-database-default.
3528 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
3530 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
3531 display-mouse-p instead of window-system.
3532 (ebrowse-member-mode-map): Ditto.
3534 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3536 * progmodes/ebnf2ps.el: Update ps-print functions call.
3537 Indentation fix. Doc fix.
3538 (ebnf-version): New version number (3.2).
3539 (ebnf-format-color, ebnf-begin-job): Code fix.
3541 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
3543 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
3544 font lock support on window-system.
3545 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
3547 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
3548 display-color-p, if fboundp, instead of window-system.
3550 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
3552 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
3553 instead of window-system.
3555 * wid-edit.el (widget-choose): Use display-mouse-p instead of
3557 (widget-choice-mouse-down-action): Use display-popup-menus-p
3558 instead of window-system.
3560 * strokes.el (strokes-file): Run the file name through
3561 convert-standard-filename.
3562 (strokes-mode): Call display-mouse-p instead of looking at
3563 window-system. Change the error message accordingly.
3565 * progmodes/cpp.el (toplevel): Support faces on tty's.
3567 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
3568 (lm-plot-square, lm-init-display): Don't use window-system.
3570 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
3571 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
3573 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
3574 instead of looking at window-system.
3576 2000-07-30 Gerd Moellmann <gerd@gnu.org>
3578 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
3579 of testing if iswitchb-prepost-hooks is bound, because the
3580 latter will always be true when invoking a recursive minibuffer
3581 from an active Iswitchb buffer.
3583 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
3585 * files.el (shell-quote-wildcard-pattern): New function.
3586 (insert-directory): Call it. Only prepend "\" to command on Unix
3587 and GNU/Linux systems.
3589 2000-07-30 Gerd Moellmann <gerd@gnu.org>
3591 * eshell/esh-groups.el: Change custom :link file names
3592 from `eshell.info' to `eshell'.
3594 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
3596 * dired.el (dired-build-subdir-alist): Expand subdirectory names
3597 correctly in recursive ange-ftp listings.
3599 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3601 * ps-print.el: Fix bug 1: if ps-font-size-internal,
3602 ps-header-font-size-internal and
3603 ps-header-title-font-size-internal variables are not set,
3604 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
3605 face text property is (foreground-color . COLOR) or
3606 `(background-color . COLOR)', ps-print crashes. Doc fix.
3607 (ps-print-version): New version number (5.2.4).
3608 (ps-plot-region): Code fix.
3609 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
3610 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
3613 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
3615 * glasses.el (glasses-make-readable): Fix uncapitalization of
3616 identifiers like `myXMLDocument'.
3618 2000-07-28 Karl Fogel <kfogel@red-bean.com>
3620 * mail/mail-hist.el (mail-hist-previous-input)
3621 (mail-hist-next-input): Do the obvious code factorization.
3622 (mail-hist-retrieve-and-insert): New func, contains common
3624 If inserting a message body, leave point at top.
3626 2000-07-28 Sam Steingold <sds@gnu.org>
3628 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
3629 Use `<=', not `<' to compare times!
3630 (ange-ftp-ls): Remove.
3632 2000-07-27 Gerd Moellmann <gerd@gnu.org>
3634 * play/cookie1.el: Add explanation of how to make cookie.el
3635 compatible with strfile(1) to comment.
3637 * subr.el (remove, remq): New functions.
3639 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
3640 escape `*' in regexps.
3641 (midnight-find): Reverse order of arguments in the funcall of
3644 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
3647 * play/meese.el: Add Commentary section.
3649 2000-07-27 Alex Schroeder <alex@gnu.org>
3651 * sql.el (sql-ms): Added autoload cookie.
3652 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
3653 (sql-oracle): Ditto.
3654 (sql-help): Doc change.
3656 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
3657 types and exceptions.
3659 2000-07-27 Alex Schroeder <alex@gnu.org>
3661 * sql.el (sql-placeholder-history): New variable.
3662 (sql-query-placeholders-and-send): New function that will query
3663 the user and replace placeholders with user input.
3664 (sql-oracle): If running on NT, set comint-input-sender to
3665 sql-query-placeholders-and-send.
3667 (sql-stop): If in the SQLi buffer, insert stop notification, else
3668 present it as a message.
3670 2000-07-27 Alex Schroeder <alex@gnu.org>
3672 * sql.el (sql-input-ring-separator): Doc change.
3673 (sql-input-ring-file-name): Doc change.
3674 (sql-interactive-mode): Use `sql-input-ring-separator' and
3675 `sql-input-ring-file-name' to set the comint-mode equivalents
3676 without making them local variables.
3677 (sql-stop): Don't bind `sql-input-ring-separator' and
3678 `sql-input-ring-file-name' dynamically to their comint-mode
3681 2000-07-27 Kenichi Handa <handa@etl.go.jp>
3683 * international/mule.el (register-char-codings): New function.
3684 (make-coding-system): Handle `safe-chars' specification in the arg
3687 * international/mule-cmds.el
3688 (find-coding-systems-region-subset-p): This function deleted.
3689 (sort-coding-systems-predicate): New variable.
3690 (sort-coding-systems): New function.
3691 (find-coding-systems-region): Use
3692 find-coding-systems-region-internal.
3693 (find-coding-systems-string): Use find-coding-systems-region.
3694 (find-coding-systems-for-charsets): Check
3695 char-coding-system-table.
3696 (select-safe-coding-system-accept-default-p): New variable.
3697 (select-safe-coding-system): Mostly rewritten. New argument
3699 (select-message-coding-system): Call select-safe-coding-system
3700 with ACCEPT-DEFAULT-P arg.
3701 (reset-language-environment): Reset default-sendmail-coding-system
3702 to the default value iso-latin-1.
3703 (set-language-environment): Don't set the obsolete variable
3704 charset-origin-alist.
3706 * international/codepage.el (cp-coding-system-for-codepage-1):
3707 Give `safe-chars' property to make-coding-system.
3709 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
3710 calling select-message-coding-system twice.
3712 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
3713 instead of `safe-charsets'.
3714 (cyrillic-alternativnyj): Likewise.
3715 (ccl-encode-alternativnyj): Don't check the charset
3718 2000-07-27 Kenichi Handa <handa@etl.go.jp>
3720 * composite.el (compose-chars-after): Preserve match data.
3722 2000-07-26 Sam Steingold <sds@gnu.org>
3724 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
3725 (ange-ftp-real-file-newer-than-file-p): New function.
3726 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
3727 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
3729 * tooltip.el (tooltip-float-time): Removed (use `float-time').
3730 * midnight.el (midnight-float-time): Ditto.
3732 2000-07-26 Andreas Schwab <schwab@suse.de>
3734 * files.el (normal-backup-enable-predicate): Correct
3735 interpretation of the return value of compare-strings.
3737 2000-07-26 Gerd Moellmann <gerd@gnu.org>
3739 * isearch.el (isearch-resume): New function.
3740 (isearch-done): Add something to command-history to resume
3742 (isearch-yank-line, isearch-yank-word): Use
3743 buffer-substring-no-properties instead of buffer-substring.
3745 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
3746 of flyspell-mouse-map.
3748 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
3749 duplicate definition.
3750 (makefile-mode): Remove duplicate setting of local-abbrev-table.
3752 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
3753 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
3755 2000-07-25 Sam Steingold <sds@gnu.org>
3757 * net/ange-ftp.el: Get modtime over the net.
3758 (ange-ftp-file-modtime): New function.
3759 (ange-ftp-write-region, ange-ftp-insert-file-contents)
3760 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
3762 (ange-ftp-dot-to-slash): New function.
3763 (ange-ftp-fix-name-for-vms): Use it.
3765 * midnight.el (midnight-buffer-display-time): Use
3766 `with-current-buffer'.
3768 2000-07-25 Gerd Moellmann <gerd@gnu.org>
3770 * find-dired.el: Update copyright notice.
3771 (find-dired): Offer to kill a running `find'.
3773 * enriched.el (enriched-face-ans): For a `foreground-color'
3774 property, return '(("x-color" COLOR))' so that COLOR will be
3775 output as a parameter of the x-color annotation. Likewise for the
3776 `background-color' property. In the case of normal face
3777 properties, don't return annotations for unspecified foreground
3778 and background face attributes.
3780 2000-07-25 Kenichi Handa <handa@etl.go.jp>
3782 * language/japan-util.el (japanese-katakana-region): Fix handling
3785 2000-07-25 Miles Bader <miles@gnu.org>
3787 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
3788 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
3791 2000-07-24 Andrew Innes <andrewi@gnu.org>
3793 * timer.el (timer-activate-when-idle): Add optional parameter
3794 DONT-WAIT. Update docstring.
3795 (run-with-idle-timer): Specify extra parameter to
3796 timer-activate-when-idle, so that timer will be activated
3797 immediately if Emacs is already idle.
3799 * w32-fns.el (w32-using-nt): Fix docstring.
3801 2000-07-24 Dave Love <fx@gnu.org>
3803 * mouse.el (popup-menu): Set last-command-event.
3804 (mouse-major-mode-menu-prefix): Declare.
3806 2000-07-24 Gerd Moellmann <gerd@gnu.org>
3808 * textmodes/flyspell.el: Update to author's version 1.5d.
3810 * progmodes/hideshow.el: Update copyright notice.
3812 * vcursor.el: Set maintainer to FSF, since author cannot
3815 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
3817 * info.el (Info-goto-emacs-key-command-node): Leave a space after
3820 * mouse.el (popup-menu): Run the keymap through indirect-function,
3821 in case it was defined with define-prefix-key. If the menu is a
3822 list of keymaps, look up the binding of user's choice in each one
3824 (mouse-popup-menubar): If the global and local menu-bar keymaps
3825 don't have a prompt string, create one and insert it into the
3826 keymap. Don't barf if current-local-map returns nil.
3828 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
3830 * dired.el (dired-sort-R-check): Added to allow recursive listing
3832 (dired-sort-other): Use it.
3834 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3836 * Release of cc-mode 5.27
3838 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3840 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
3841 c-beginning-of-statement-1 that caused a bad case of recursion
3842 which could consume a lot of CPU in large classes in languages
3843 that have in-expression classes (i.e. Java and Pike).
3845 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
3846 statements before top level constructs (i.e. case 6 is moved
3847 before case 5 and is now case 4) to catch in-expression
3848 classes in top level expressions correctly.
3850 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3852 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
3853 objc-method-intro. Case 4 removed and case 5I added.
3855 * cc-langs.el (c-append-paragraph-start): New variable used by
3856 c-common-init to get paragraph-start correct.
3857 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
3858 initialize paragraph-start to make it correct both with and
3859 without the javadoc special case.
3861 * cc-mode.el (java-mode): Use c-append-paragraph-start to
3862 initialize paragraph-start for javadoc markup.
3864 * cc-vars.el (c-style-variables-are-local-p): Incompatible
3865 change by defaulting this to t. It's motivated by the
3866 confusing behavior that otherwise arise from the style system
3867 when editing both java and non-java files at the same time
3868 (see the comments about style setting in c-common-init).
3870 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3872 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
3873 similar to the one in c-fill-paragraph to check the fill
3874 prefix from the adaptive fill function for sanity.
3876 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3878 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
3881 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3883 * cc-mode.texi Documented the change of cpp-macro.
3885 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3887 * cc-align.el (c-lineup-multi-inher): Handle lines with
3888 leading comma nicely. Extended to handle member initializers
3891 * cc-engine.el: (c-beginning-of-inheritance-list,
3892 c-guess-basic-syntax): Fixed recognition of inheritance lists
3893 when the lines begins with a comma.
3895 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
3897 * cc-vars.el (c-offsets-alist): Changed default for
3898 member-init-cont to c-lineup-multi-inher since it now handles
3899 member initializers and indents better for leading commas.
3901 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3903 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
3904 handling that caused class open lines to be recognized as
3905 statement-conts in some cases.
3907 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
3908 guessed by the adaptive fill function unless point is on the
3909 first line of a block comment.
3911 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
3912 when the buffer ends with a macro continuation char.
3914 * cc-engine.el (c-guess-basic-syntax): Added support for
3915 function definitions as statements in Pike. The first
3916 statement in a lambda block is now labeled defun-block-intro
3917 instead of statement-block-intro.
3919 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
3920 so that the class surrounding point is selected, not the one
3921 innermost in the state.
3923 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
3924 recognition of switch labels having hanging multiline
3927 * cc-engine.el (c-beginning-of-member-init-list): Broke out
3928 some code in c-guess-basic-syntax to a separate function.
3929 * cc-engine.el (c-just-after-func-arglist-p): Fixed
3930 recognition of member inits with multiple line arglists.
3931 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
3932 member-init-cont when the commas are in funny places.
3934 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3936 * cc-defs.el (c-auto-newline): Removed this macro since it's
3939 * cc-engine.el (c-looking-at-bos): New helper function.
3940 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
3941 inexpr and toplevel classes apart in Pike.
3943 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
3946 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
3947 constant, since "class" can introduce an in-expression class
3950 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3952 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
3953 indentation on cpp-macro lines.
3955 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
3956 a syntax modifier like comment-intro, to make it possible to
3957 get syntactic indentation for preprocessor directives. It's
3958 incompatible wrt to lineup functions on cpp-macro, but it has
3959 no observable effect in the 99.9% common case where cpp-macro
3962 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3964 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
3965 member-init-cont when the preceding arglist is several lines.
3967 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3969 * cc-styles.el (c-style-alist): The basic offset for the BSD
3970 style corrected to 8.
3972 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3974 * cc-styles.el (c-style-alist): Adjusted the indentation of
3975 brace list openers in the gnu style.
3977 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3979 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
3981 * cc-cmds.el (c-electric-brace, c-electric-slash,
3982 c-electric-star, c-electric-semi&comma, c-electric-colon,
3983 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
3984 when c-syntactic-indentation is nil.
3986 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
3987 we were left at comments preceding the first statement when
3988 reaching the beginning of the buffer.
3990 * cc-vars.el (c-syntactic-indentation): New variable to turn
3991 off all syntactic indentation.
3993 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3995 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
3996 between the text and the block comment ender when it hangs,
3997 depending on how many there are before the fill.
3999 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4001 * cc-engine.el (c-beginning-of-closest-statement): New helper
4002 function to go back to the closest preceding statement start,
4003 which could be inside a conditional statement.
4004 * cc-engine.el (c-guess-basic-syntax): Use
4005 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
4007 * cc-engine.el (c-guess-basic-syntax): Better handling of
4008 arglist-intro, arglist-cont-nonempty and arglist-close when
4009 the arglist is nested inside parens. Cases 7A, 7C and 7F
4012 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
4013 up-to-date with javadoc 1.2.
4015 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4017 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
4018 multiline Pike type decls.
4020 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4022 * cc-cmds.el (c-indent-new-comment-line): Always break
4023 multiline comments in multiline mode, regardless of
4026 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4028 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
4029 fully::qualified::names in C++ member init lists. Preamble in
4032 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4034 * cc-langs.el (c-common-init): Handling of obsolete variables
4035 moved to c-initialize-cc-mode. More compatible style override
4036 when using global style variables.
4037 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
4038 variables moved here.
4040 * cc-mode.texi: Documented the special behavior of
4041 c-special-indent-hook as a style variable. Don't talk about
4042 doing (c-make-styles-buffer-local t) in a mode hook, since
4043 that's already too late to work right.
4045 * cc-styles.el (c-make-styles-buffer-local): Flag style
4046 variable localness in c-style-variables-are-local-p to make
4047 the compatibility measure in c-common-init work well.
4049 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
4050 longer contain set-from-style.
4051 * cc-styles.el (c-initialize-builtin-style): Don't check for
4052 set-from-style on c-special-indent-hook.
4053 * cc-styles.el (c-copy-tree): Obsolete. The standard function
4054 copy-alist is sufficient now.
4056 * cc-styles.el (c-set-style, c-set-style-1,
4057 c-get-style-variables): Fixes to variable initialization so
4058 that duplicate entries in styles have the same effect
4059 regardless of DONT-OVERRIDE.
4061 * cc-styles.el (c-set-style-2): Fixed bug where the
4062 initialization of inheriting styles failed when the
4063 dont-override flag is set.
4065 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
4068 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4070 * cc-defs.el (c-forward-comment): Removed the workaround
4071 introduced in 5.38 since it had worse side-effects. If a line
4072 contains the string "//\"", it regarded the // as a comment
4073 start since the \ temporarily doesn't have escape syntax.
4075 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
4077 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
4078 ada-xref.el before ada-prj.el, so that the Project menu is created
4079 when ada-prj tries to add to it.
4080 (ada-activate-keys-for-case): Suppress the characters that are not
4081 part of the Ada syntax. Better compatibility with else-mode
4082 (ada-adjust-case-interactive): When auto-casing is not active,
4083 correctly insert newlines (used to insert only ^M). Prevent the
4084 syntax table from being changed in case of an error
4085 (or '_' becomes part of a word and some commands are confused).
4086 Do nothing if ada-auto-case is nil.
4087 (ada-after-keyword-p): Ignore keywords that are also attributes
4088 (ada-batch-reformat): Update usage comment
4089 (ada-call-from-contextual-menu): New function
4090 (ada-case-read-exceptions): Reinitialize the casing exception list
4091 first to nil first, so that the casing exception file can be
4093 (ada-check-defun-name): Handles "configure" keyword for gnatdist
4095 (ada-compile-goto-error): Fix regexp used to detect a file:line
4096 anywhere in the error message
4097 (ada-contextual-menu-last-point): New variable
4098 (ada-create-keymap): If the variable delete-key-deletes-forward is
4099 t on XEmacs, it means that DEL should delete one character
4101 (ada-create-menu): Use :included instead of :visible for XEmacs.
4102 New submenu "Options".
4103 (ada-end-stmt-re): Correctly indent "select ... then abort"
4105 (ada-fill-comment-paragraph): Correctly delete all leading '--'
4106 even if they don't match ada-fill-comment-prefix Fix handling of
4107 paragraphs on the first or last line of a file.
4108 (ada-format-paramlist): Fix handling of default parameter values.
4109 (ada-get-body-name): New function.
4110 (ada-get-current-indent): Optimized by searchling directly for an
4111 existing generic part or a statement outside of it. Handle
4112 ada-indent-align-comments when indenting comments Replaced some
4113 regexps by testing directly the next character. This results in a
4114 huge speedup on some files. New indentation scheme for renames
4115 statements. Stop looking for the 'while' or 'for' associated with
4116 a 'loop' at the first semicolon encountered. A "return" can also
4117 match an anonymous access subprogram declaration.
4118 (ada-get-indent-noindent): Ignore strings and comments when
4119 looking for the keywords "record" and "private".
4120 (ada-goto-matching-decl-start): When matching "if", make sure we
4121 are not in fact seeing "end if". Ignore "when" statements except
4122 when initial keyword was "begin". Fix handling of nested
4123 procedures. Add a recursive call to this function to skip over
4124 other 'end' statmts. Fix indentation for "when .. => begin"
4125 (ada-in-open-paren-p): Fix indentation for complex boolean
4126 expressions, where 'and then', 'or else' and parenthesis
4127 statements are mixed up.
4128 (ada-in-paramlist-p): Skip comments while searching for the
4129 beginning Fix handling of operator declarations.
4130 (ada-indent-align-comments): New variable
4131 (ada-indent-current): Change the syntax table only in the
4132 protected section, so that we are sure it is restored correctly.
4133 (ada-indent-on-previous-lines): Use ada-use-indent and
4134 ada-with-indent Correctly indent "select ... then"
4135 (ada-indent-region): Slight speedup.
4136 (ada-indent-renames): New variable.
4137 (ada-last-which-function-subprog, ada-last-which-function-line):
4139 (ada-looking-at-semi-private): Correctly indent the 'private'
4140 keyword when it is the first word in a package declaration.
4141 (ada-loose-case-word): Stop searching if at the end of the buffer.
4142 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
4143 even if point is not initially at the end of the word.
4144 (ada-matching-decl-start-re): Add "when".
4145 (ada-mode): Add support for abbrev-mode, outline-mode and
4146 which-func-mode Override the old find-file.el entry in
4147 ff-special-constructs since it is using the obsolete
4148 ada-spec-suffix variable
4149 (ada-no-auto-case): New function
4150 (ada-scan-paramlist): When parsing the argument type, accept
4151 spaces (as in "X 'Class", generated by Rational Rose).
4152 (ada-other-file-name): No longer loads the other file.
4153 (ada-popup-menu): Save and restore the current buffer and cursor
4154 position before and after displaying the menu.
4155 (ada-search-ignore-complex-boolean): New function.
4156 (ada-uncomment-region): Emacs21 already knows how to delete
4157 comments not starting in the first column.
4158 (ada-use-indent): New variable
4159 (ada-which-function): New function.
4160 (ada-with-indent): New variable
4161 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
4162 can be batch-compiled from the command line.
4164 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
4165 Add to the menu when the file is loaded, not in ada-mode-hook.
4166 Add -toolbar to the default ddd command Switches moved from
4167 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
4168 ada-prj-default-comp-opt
4169 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
4170 Reference Manual to the menu
4171 (ada-check-current): rewritten as a call to ada-compile-current
4172 (ada-compile): Removed.
4173 (ada-compile-application, ada-compile-current, ada-check-current):
4174 Set the compilation-search-path so that compile.el automatically
4175 finds the sources in src_dir. Automatic scrollong of the
4176 compilation buffer. C-uC-cC-c asks for confirmation before
4178 (ada-compile-current): New parameter, prj-field
4179 (ada-complete-identifier): Load the .ali file before doing
4181 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
4182 conform to gnatmake's behavior.
4183 (ada-find-file-in-dir): New function
4184 (ada-find-references): Set the environment variables for gnatfind
4185 (ada-find-src-file-in-dir): New function.
4186 (ada-first-non-nil): Removed
4187 (ada-gdb-application): Add support for jdb, the java debugger.
4188 (ada-get-ada-file-name): Load the original-file first if not done
4190 (ada-get-all-references): Handles the new ali syntax (parent types
4191 are found between <>).
4192 (ada-initialize-runtime-library): New function
4193 (ada-mode-hook): Always load a project file when a file is opened,
4194 so that the casing exceptions are correctly read.
4195 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
4196 (ada-parse-prj-file): Use find-file-noselect instead of find-file
4197 to open the project file, since the latter does not work with
4198 speedbar Get default values before loading the prj file, or the
4199 default executable file name is wrong. Use the absolute value of
4200 src_dir to initialize ada-search-directories and
4201 compilation-search-path,... Add the standard runtime library to
4202 the search path for find-file.
4203 (ada-prj-default-debugger): Was missing an opening '{'
4204 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
4206 (ada-prj-default-gnatmake-opt): New variable
4207 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
4208 buffers, the project file is the default one Save the windows
4209 configuration before displaying the menu.
4210 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
4211 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
4212 ...) regexp-quote identifiers names to support operators +,
4214 (ada-remote): New function.
4215 (ada-run-application): Erase the output buffer before starting the
4216 run Support remote execution of the application. Use
4217 call-process, or the arguments are incorrectly parsed
4218 (ada-set-default-project-file): Reread the content of the active
4219 project file, not the one from the current buffer When a project
4220 file is set as the default project, all directories are
4221 automatically associated with it.
4222 (ada-set-environment): New function
4223 (ada-treat-cmd-string): New special variable ${current}
4224 (ada-treat-cmd-string): Revised. The substitution is now done for
4225 any ${...} substring
4226 (ada-xref-current): If no body was found, compiles the spec
4227 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
4228 compiler to get rid of command line length limitations.
4229 (ada-xref-get-project-field): New function
4230 (ada-xref-project-files): New variable
4231 (ada-xref-runtime-library-specs-path)
4232 (ada-xref-runtime-library-ali-path): New variables
4233 (ada-xref-set-default-prj-values): Default run command now does a
4234 cd to the build directory. New field: main_unit Provide a default
4235 file name even if the current buffer has no prj file.
4238 Rewritten to show a tabbed-dialog.
4239 (ada-prj-add-ada-menu): Remove the map and name parameters.
4240 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
4242 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
4243 (ada-prj-load-from-file): New function
4244 (ada-prj-save): Always save fields that depend on the current buffer
4245 (ada-prj-show-value): New function
4247 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
4248 Ada mode. This will allow us to display the Ada menu in any buffer
4249 we want (for project items).
4250 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
4251 number of spaces in the header.
4253 2000-07-24 Dave Love <fx@gnu.org>
4255 * ediff-init.el (ediff-region-help-echo): Bind face-help.
4257 2000-07-23 Noah Friedman <friedman@splode.com>
4259 * type-break.el (type-break): perform autosave.
4260 Suggested by Stephen Gildea <gildea@intouchsys.com>.
4261 (type-break-do-query): Cancel query schedule while performing
4262 actual query, to avoid possibility of a second query being made
4263 while first one is already in progress.
4264 (type-break-time-stamp-format): New variable.
4265 (type-break-time-stamp): New function.
4266 (type-break-time-warning): Use it.
4267 (type-break-keystroke-warning): Use it.
4268 (type-break-noninteractive-query): Use it.
4270 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
4272 Use add-minor-mode to set minor-mode-alist, if available.
4273 (eldoc-echo-area-use-multiline-p): New user option.
4274 (eldoc-echo-area-multiline-supported-p): New variable.
4275 (eldoc-docstring-format-sym-doc): Use them.
4276 (eldoc-mode): If not using idle timers, append to local post and
4277 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
4278 (eldoc-display-message-no-interference-p): Don't interfere with
4280 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
4281 (eldoc-function-arglist): New function.
4282 (eldoc-function-argstring): Use it.
4284 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
4285 auto save directory exists before calling directory-files.
4287 2000-07-23 Dave Love <fx@gnu.org>
4289 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
4292 2000-07-21 Dave Love <fx@gnu.org>
4294 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
4295 now passed to the function. It now works properly.
4297 * smerge-mode.el (smerge-mode-menu): Fill it out.
4299 2000-07-20 Gerd Moellmann <gerd@gnu.org>
4301 * info-look.el (info-lookup): If *info* is shown in another frame
4302 on the same display, select that frame, instead of switching to
4303 the Info buffer in another window of the selected frame.
4305 * simple.el (universal-argument-map): Bind numeric keypad keys
4306 kp-0 to kp-9 and kp-subtract.
4307 (digit-argument): Handle these keys.
4309 2000-07-20 Dave Love <fx@gnu.org>
4311 * net/goto-addr.el (goto-address-fontify): Don't bother with
4312 buffer-modified and read-only stuff -- irrelevant with overlays.
4313 Put an extra property on the overlays and use it to clean up in
4314 case goto-address is re-run.
4316 2000-07-19 Richard M. Stallman <rms@gnu.org>
4318 * timer.el (run-with-idle-timer): Doc fix.
4320 * mail/mail-utils.el (mail-strip-quoted-names):
4321 Handle case where <...> appears inside "...".
4322 Use replace-match to edit the string more simply.
4323 (rmail-dont-reply-to): Cope with an unmatched ".
4325 2000-07-19 Dave Love <fx@gnu.org>
4327 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
4330 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
4331 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
4332 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
4334 2000-07-19 Gerd Moellmann <gerd@gnu.org>
4336 * textmodes/refer.el: Correct maintainer's email address.
4338 * progmodes/hideif.el: Correct author's email address.
4339 Fix typo in comment.
4343 * mail/mailheader.el: Correct author's mail address.
4345 * gnus/parse-time.el: Correct author's mail address.
4347 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
4349 * comint.el (comint-highlight-input, comint-highlight-face):
4351 (comint-input-ring-file-name): Change custom type.
4352 (comint-mode-map): Bind mouse-2.
4353 (comint-insert-clicked-input): New function.
4354 (comint-send-input): Handle input highlighting.
4356 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
4358 * mouse.el (popup-menu): New function.
4359 (mouse-major-mode-menu): Use it.
4361 2000-07-18 Dave Love <fx@gnu.org>
4363 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
4366 2000-07-18 Gerd Moellmann <gerd@gnu.org>
4368 * faces.el (face-font-selection-order)
4369 (face-font-family-alternatives): Add custom type.
4371 2000-07-18 Dave Love <fx@gnu.org>
4373 * cus-edit.el (custom-variable-reset-saved)
4374 (custom-variable-reset-standard): Remove unused bindings.
4376 * rect.el (open-rectangle-line): Remove unused let.
4378 * hl-line.el (hl-line-highlight): Check hl-line-mode.
4380 2000-07-18 Gerd Moellmann <gerd@gnu.org>
4382 * cdl.el: Fix `Maintainer' keyword.
4384 * play/pong.el: Add author's email address.
4386 2000-07-17 Sam Steingold <sds@gnu.org>
4388 * files.el (insert-directory): Call `split-string' instead of
4391 2000-07-18 Gerd Moellmann <gerd@gnu.org>
4393 * mail/vms-pmail.el: Change maintainer to FSF.
4395 * net/goto-addr.el: Change maintainer to FSF.
4397 * recentf.el: Update from author.
4399 * info.el (Info-title-face-alist): Removed.
4401 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
4403 * eshell/eshell.el (eshell): Replace links to eshell.info with
4404 links to eshell, to avoid problems on systems where the manual is
4405 installed as `eshell'.
4406 * eshell/esh-cmd.el (eshell-cmd): Ditto.
4407 * eshell/em-smart.el (eshell-smart): Ditto.
4408 * eshell/em-banner.el (eshell-banner): Ditto.
4409 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
4411 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
4412 same-file check in the MS-DOS version (it does support inodes).
4414 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
4416 * eshell/eshell.el (eshell-directory-name):
4417 Run default directory name through convert-standard-filename.
4419 2000-07-18 Kenichi Handa <handa@etl.go.jp>
4421 * international/mule-cmds.el (select-safe-coding-system):
4422 Fix typo in the comment.
4424 * language/european.el (compound-text):
4425 Force katakana-jisx0201 to be designated to G1.
4427 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
4428 Don't translate some national variant characters of latin-jisx0201.
4429 (x-ctext): Force katakana-jisx0201 to be designated to G1.
4431 * international/kkc.el (kkc-after-update-conversion-functions):
4433 (kkc-update-conversion): Run functions in it at the tail.
4435 2000-07-16 John Wiegley <johnw@gnu.org>
4437 * lisp/align.el (align-newline-and-indent):
4438 Adding new function. for auto-aligning blocks of code on RET.
4439 (align-region): Fixed badly formatted minibuffer message.
4441 2000-07-17 Kenichi Handa <handa@etl.go.jp>
4443 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
4444 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
4445 the conversion list at first if appropriate.
4446 (kkc-next): Don't update kkc-next-count here.
4447 (kkc-prev): Don't update kkc-prev-count here.
4448 (kkc-show-conversion-list-update): Fix setting up of conversion
4451 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
4453 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
4455 2000-07-16 Dave Love <fx@gnu.org>
4457 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
4458 function to be more specific.
4460 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
4461 non-string help-echo.
4462 (widget-types-convert-widget): Defsubst it.
4463 (widget-echo-help): Try to cope with a help-echo function of two
4466 2000-07-15 Jason Rumney <jasonr@gnu.org>
4468 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
4469 Declare as obsolete.
4471 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
4473 2000-07-14 Gerd Moellmann <gerd@gnu.org>
4475 * hilit-chg.el: Fix typo.
4477 2000-07-14 Dave Love <fx@gnu.org>
4479 * info.el (Info-mode-menu): Fix use of :help, :enable.
4481 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
4483 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
4485 2000-07-13 Dave Love <fx@gnu.org>
4487 * emacs-lisp/easymenu.el: Doc fixes.
4488 (easy-menu-remove): Defalias to ignore.
4490 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
4491 Call throw correctly.
4493 2000-07-13 Gerd Moellmann <gerd@gnu.org>
4495 * faces.el (frame-background-mode): Doc fix.
4497 * simple.el (eval-expression-print-length): Change custom type to
4498 allow entering nil as value.
4500 2000-07-13 Dave Love <fx@gnu.org>
4502 * progmodes/fortran.el (fortran-imenu-generic-expression):
4503 Change definition layout.
4504 (fortran-mode-menu): Reinstate customize entries.
4506 * cus-edit.el (custom-group-menu-create, customize-menu-create):
4507 Use :filter, per old XEmacs code.
4509 2000-07-12 Gerd Moellmann <gerd@gnu.org>
4511 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
4512 event when deciding what to send to the terminal.
4514 2000-07-12 Dave Love <fx@gnu.org>
4516 * cus-start.el: Add optional version as 4th element of specs and
4517 use it for several things new in v21. Remove load-path. Fix type
4518 of line-number-display-limit.
4520 2000-07-11 Dave Love <fx@gnu.org>
4522 * progmodes/fortran.el: Don't require easymenu.
4523 Use repeat counts in various regexps.
4524 (fortran-mode-syntax-table): Defvar directly.
4525 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
4526 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
4527 Use defvar, not defconst.
4528 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
4529 (fortran-mode): Set fortran-comment-line-start-skip,
4530 fortran-comment-line-start-skip, dabbrev-case-fold-search.
4531 (fortran-comment-indent): Use defsubst.
4532 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
4533 Use fortran-comment-indent, not fortran-comment-indent-function.
4534 (fortran-comment-region, fortran-electric-line-number): Simplify.
4535 (fortran-auto-fill): New function.
4536 (fortran-do-auto-fill): Deleted.
4537 (fortran-find-comment-start-skip):
4538 Check for non-null comment-start-skip.
4539 (fortran-auto-fill-mode, fortran-fill-statement):
4540 Use fortran-auto-fill.
4541 (fortran-fill): Use fortran-auto-fill. Check for null
4542 comment-start-skip. Simplify final clause and use end-of-line finally.
4544 * widget.el (widget-plist-member): New alias.
4546 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
4548 * eshell/esh-module.el (toplevel): Reference
4549 byte-compile-current-file only if it is bound.
4551 2000-07-10 Gerd Moellmann <gerd@gnu.org>
4553 * dired.el: Don't require `dired-aux'.
4555 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
4557 * dired-aux.el (dired-show-file-type): New function.
4558 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
4559 (dired-show-file-type): Add autoload.
4561 2000-07-10 Kenichi Handa <handa@etl.go.jp>
4563 * international/mule-diag.el (describe-font): Adjusted for the
4564 change of fontset-info.
4565 (print-fontset): Likewise.
4567 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
4569 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
4571 2000-07-07 Gerd Moellmann <gerd@gnu.org>
4573 * bindings.el: Bind `[delete]' to delete-char.
4575 * dired.el (dired-find-alternate-file): New function.
4576 (dired-mode-map): Bind `a' to dired-find-alternate-file.
4577 (toplevel): Require dired-aux when compiling.
4578 (dired-buffers): Move defvar within file to avoid compiler warning.
4580 * info.el (Info-last-search): Variable removed.
4581 (Info-search-history): New variable.
4582 (Info-search): New Info-search-history.
4584 * battery.el, info-look.el: Change author's mail address.
4586 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4588 * mail/rmail.el (rmail-clear-headers): Don't throw an error
4589 if rmail-ignored-headers is nil.
4590 (rmail-retry-failure): Bind rmail-ignored-headers and
4591 rmail-displayed-headers to nil.
4593 2000-07-06 Gerd Moellmann <gerd@gnu.org>
4595 * lpr.el (lpr-page-header-switches): Add `-h' switch.
4596 (print-region-1): Don't hard code `-h' here.
4598 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
4600 2000-07-01 Francesco Potorti` <pot@gnu.org>
4602 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
4603 exim can use "your message" instead of "the message".
4605 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
4607 * facemenu.el: Docstrings fixes.
4608 (facemenu-get-face): Don't use internal-find-face.
4609 (facemenu-iterate): Rename arg to match the docstring.
4611 * newcomment.el (uncomment-region): Be more careful when skipping
4612 backwards over `=' not to bump into BOBP.
4614 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
4616 * ediff-diff.el (ediff-wordify): Use syntax table.
4617 * ediff-init.el (ediff-has-face-support-p): Use
4618 ediff-color-display-p.
4619 (ediff-color-display-p): Use display-color-p, changed to defun
4621 Got rid of special cases for NeXT and OS/2.
4622 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
4625 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
4627 * emacs-lisp/lucid.el: Require CL.
4628 (copy-tree, remprop): Remove, it's provided by CL.
4629 (map-keymap): Define in terms of cl-map-keymap.
4630 (extent-property, set-extent-end-glyph): New functions.
4632 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
4634 2000-07-05 Gerd Moellmann <gerd@gnu.org>
4636 * Makefile.in (DONTCOMPILE): Add comment that the name may
4637 not be changed without changing the make-dist script.
4639 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
4640 (cl-mapc): Use mapc instead of cl-old-mapc.
4642 2000-07-05 Andrew Innes <andrewi@gnu.org>
4644 * makefile.nt: Add support for `bootstrap' and related targets.
4646 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
4648 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
4649 (easy-menu-do-define): Use `menu-item' format.
4650 Handle case where easy-menu-create-menu returns a symbol.
4651 Manually call the potential top-level filter in the function binding.
4652 (easy-menu-filter-return): New arg NAME.
4653 Convert to a keymap if MENU is an XEmacs menu.
4654 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
4655 (easy-menu-converted-items-table, easy-menu-convert-item):
4656 New var and fun to memoize easy-menu-convert-item-1.
4657 (easy-menu-do-add-item): Use it.
4658 (easy-menu-create-menu): Use easy-menu-convert-item.
4659 Wrap easy-menu-filter-return around any :filter specification.
4660 Don't convert the menu if a filter was specified.
4661 Tell easy-menu-make-symbol not to check for MENU being an expression.
4662 (easy-menu-make-symbol): New arg NOEXP.
4664 2000-07-05 Gerd Moellmann <gerd@gnu.org>
4666 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
4667 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
4668 (eval-defun): If called with prefix arg, instrument code for
4671 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
4672 similar to that of eval-defun.
4674 2000-07-04 Dave Love <fx@gnu.org>
4676 * hl-line.el (hl-line-overlay): Make it permanent-local.
4678 * calendar/todo-mode.el: Replaced with a working version, based on
4679 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
4681 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
4683 * paths.el (prune-directory-list): New function.
4684 (Info-default-directory-list): Rewritten to more methodically
4685 enumerate a big list of possible info directories (based on the
4686 list used by the standalone info reader).
4688 * info.el (info-initialize): Use prune-directory-list to remove
4689 non-existent directories from Info-directory-list.
4691 * paths.el (Info-default-directory-list): Try a list of possible
4692 info-directories instead of a single one. Add the possible
4693 info directory "/usr/share/info".
4695 * woman.el (woman-man.conf-path): Explicitly include the debian
4696 man-db config file "/etc/manpath.config".
4697 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
4698 are present in `manpath.config'.
4699 (woman-manpath): Include "/usr/share/man".
4701 2000-07-03 Gerd Moellmann <gerd@gnu.org>
4703 * frame.el (blink-cursor-mode): Don't hide cursor initially.
4705 * startup.el (command-line): Initialize blink-cursor based
4708 * frame.el (blink-cursor): Default to nil if not running under
4711 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
4712 (face-x-resources): Remove duplicate entry for :font.
4714 * textmodes/refer.el (refer-find-entry-internal): Use some-window
4715 instead of cycling through windows with next-window.
4717 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
4718 of cycling through windows with next-window.
4720 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
4721 of cycling through windows with next-window.
4723 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
4724 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
4725 instead of cycling through windows with next-window.
4727 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
4728 instead of cycling through windows with next-window.
4730 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
4731 of cycling through windows with next-window.
4733 * terminal.el (te-process-output): Use walk-windows instead of
4734 cycling through windows with next-window.
4736 * server.el (server-switch-buffer): Use some-window instead of
4737 cycling through windows with next-window.
4739 * window.el (some-window): New function.
4740 (walk-windows): Remove reference to walk-windows-start.
4742 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
4744 2000-07-03 Richard Stallman <rms@gnu.org>
4746 * window.el (walk-windows): Guarantee termination by keeping a list
4747 of all the windows already handled.
4749 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
4751 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
4754 * man.el (Man-notify-when-ready): Don't use window-system. If
4755 Man-notify-method is newframe, and the display is not
4756 multi-frame, select the frame created for the man page.
4757 (Man-init-defvars): Doc fix.
4759 2000-06-28 Gerd Moellmann <gerd@gnu.org>
4761 * faces.el (region): Change background color for light background.
4763 * ediff-wind.el (ediff-setup-control-frame): Remove :box
4764 attribute from mode-line face of Ediff control frame.
4766 * replace.el (query-replace-map): Bind `e' like `E'.
4768 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
4770 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
4771 Change name to "Select All".
4773 * dos-fns.el (convert-standard-filename): Fix last change.
4775 2000-06-27 Gerd Moellmann <gerd@gnu.org>
4777 * help.el (describe-variable): Don't insert a second `'s' in front
4778 of the string `value is shown below'. Since the syntax-table is
4779 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
4780 an existing `'s', so that this won't be deleted.
4782 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
4783 * pcmpl-unix.el: New files.
4785 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
4787 * wid-edit.el (widget-member): Use the new plist-member.
4789 2000-06-26 Gerd Moellmann <gerd@gnu.org>
4791 * replace.el (perform-replace): Undo change of 2000-04-04.
4792 Instead, move backward 1 character at the end of the loop when
4795 * faces.el (fringe): Change face for different backgrounds.
4797 * eshell/esh-module.el (toplevel): Load defgroup's differently;
4800 * eshell/*.el: Change spelling of the Free Software Foundation.
4802 * eshell/esh-toggle.el: Removed.
4804 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
4806 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
4809 2000-06-26 Alex Schroeder <alex@gnu.org>
4811 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
4812 `define-key'; instead of checking `(emacs-version)' check for
4813 `set-keymap-parent' and `set-keymap-name' directly. Add entries
4814 for `;' and `o' which might be electric.
4816 (sql-electric-stuff): New user option.
4817 (sql-magic-go): New function which uses `sql-electric-stuff'.
4818 (sql-magic-semicolon): New function which uses
4819 `sql-electric-stuff'.
4821 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
4824 (sql-oracle-options): New variable.
4825 (sql-oracle): Use it.
4827 (sql-imenu-generic-expression): Doc change.
4828 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
4831 (sql-informix): Added command line parameter "-" to force
4832 sql-informix-program to use stdout.
4834 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
4836 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
4837 (cp864-decode-table): Doc fix.
4838 (cp720-decode-table): New variable, supports the Arabic OEM
4839 codepage used by Windows.
4840 (cp737-decode-table): New, Greek OEM codepage used by Windows.
4842 2000-06-23 Dave Love <fx@gnu.org>
4844 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
4845 (font-lock-fontify-anchored-keywords): Use
4846 line-beginning-position.
4847 (global-font-lock-mode): Use mapc.
4849 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
4851 * eshell/esh-module.el: Require CL when compiling.
4853 2000-06-23 Gerd Moellmann <gerd@gnu.org>
4855 * comint.el (comint-substitute-in-file-name): Call replace-match
4856 with second and third arg t.
4858 * cus-edit.el (custom-button-face, custom-button-pressed-face):
4859 Specify foreground color.
4861 * faces.el (tool-bar, mode-line, header-line): Specify foreground
4864 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
4866 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
4867 cddr instead of cdddr.
4869 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
4870 instead of copy-list.
4872 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
4875 * subdirs.el: Add eshell subdirectory.
4877 * eshell: New subdirectory containing the Eshell package.
4879 * pcomplete.el: New file.
4881 2000-06-23 Paul Eggert <eggert@twinsun.com>
4883 * mail/mailpost.el (post-mail-send-it): Make sure file has
4884 proper permissions from birth.
4886 * files.el (basic-save-buffer-2): When temporarily setting
4887 file modes, set them to current modes plus 0200, not to 0777.
4889 * emerge.el (emerge-make-temp-file): Make sure file has proper
4890 permissions from birth.
4892 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
4894 * files.el (make-backup-file-name-1): On DOS/Windows, run the
4895 backup file name through convert-standard-filename.
4897 * dos-fns.el (convert-standard-filename): Convert leading
4898 directories as well. When long file names are supported, convert
4899 characters that are invalid in Windows file names.
4901 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4903 * ps-print.el: Fix bug: if ^L is the very first buffer character,
4904 ps-print crashes. New feature: page selection for printing. Create
4905 raw-text-unix coding system for XEmacs. Doc fix.
4906 (ps-print-version): New version number (5.2.3).
4907 (ps-plot-region): Bug fix.
4908 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
4909 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
4910 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
4912 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
4913 (ps-last-page): New vars.
4915 2000-06-21 Gerd Moellmann <gerd@gnu.org>
4917 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
4918 empty option string.
4920 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
4922 * man.el (man): Doc fix.
4924 2000-06-21 Kenichi Handa <handa@etl.go.jp>
4926 * international/mule-cmds.el (set-language-info-alist): Docstring
4929 2000-06-20 Gerd Moellmann <gerd@gnu.org>
4931 * version.el (emacs-version): Use ISO date format.
4933 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
4934 instead of `M-backspace'.
4936 * simple.el (turn-off-auto-fill): New function.
4938 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
4940 * jit-lock.el (with-buffer-prepared-for-jit-lock):
4941 Renamed from with-buffer-prepared-for-font-lock and use
4942 inhibit-modification-hooks rather than setting *-change-functions.
4943 Update all functions to use the new name.
4944 (jit-lock-first-unfontify-pos): New semantics (and doc).
4945 (jit-lock-mode): Make non-interactive.
4946 Don't automatically turn on font-lock.
4947 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
4948 Always use jit-lock-after-change.
4949 Remove and restore font-lock-after-change-function.
4950 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
4951 (jit-lock-after-unfontify-buffer): Remove.
4952 (jit-lock-stealth-fontify):
4953 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
4954 (jit-lock-after-change): Set the `fontified' text-prop to nil.
4956 2000-06-20 Sam Steingold <sds@gnu.org>
4958 * emacs-lisp/cl-indent.el (toplevel): Indent
4959 `print-unreadable-object' properly. Untabify.
4961 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
4963 * textmodes/reftex.el (reftex-find-citation-regexp-format):
4964 Support for bibentry.
4965 (reftex-compile-variables): Fixed problem with end of section-re.
4967 * texmodes/reftex-dcr.el (reftex-view-crossref,
4968 reftex-view-crossref-from-bibtex):
4969 Deal with changed `reftex-find-citation-regexp-format'.
4970 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
4971 Replaced `remprop' with `put'.
4972 (reftex-view-crossref, reftex-view-crossref-when-idle):
4973 Support for bibentry.
4975 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
4976 New entry for bibentry package.
4978 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
4979 Regexp also matches "\nobibliography".
4981 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
4982 Call `reftex-ensure-write-access' before doing anything.
4983 (reftex-ensure-write-access): New function.
4985 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
4987 * progmodes/idlwave.el: File re-installed (update to version 4.2)
4989 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
4991 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
4993 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
4996 2000-06-20 Dave Love <fx@gnu.org>
4998 * faces.el (frame-background-mode): Use set-default, not set, in
5000 (frame-update-faces, frame-update-face-colors): Define with
5003 * enriched.el (enriched-decode-foreground)
5004 (enriched-decode-background): Don't use internal-find-face.
5006 * apropos.el: Doc fixes.
5008 * cus-edit.el (customize-changed-options): Check arg.
5009 (customize-version-lessp): Don't require decimal point.
5011 * custom.el (defcustom, defgroup): Doc fix.
5013 * newcomment.el (comment) <defgroup>: Add :version.
5014 (comment-multi-line): Doc fix.
5016 * emulation/mlsupport.el (define-hooked-local-abbrev,
5017 define-hooked-global-abbrev): Fix, using define-abbrev.
5019 2000-06-19 Gerd Moellmann <gerd@gnu.org>
5021 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
5024 2000-06-19 Dave Love <fx@gnu.org>
5026 * menu-bar.el (menu-bar-options-save): New function.
5027 (menu-bar-options-menu): Use it.
5028 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
5031 2000-06-19 Andreas Schwab <schwab@suse.de>
5033 * progmodes/etags.el (tags-query-replace): Put new parameters
5034 START and END at the end, for backward compatibility.
5036 2000-06-19 Kenichi Handa <handa@etl.go.jp>
5038 * international/codepage.el:
5039 (cp-coding-system-for-codepage-1): Delete special codes for
5040 generating xxx-dos coding system because now a CCL based coding
5041 system can handle EOL conversion by default.
5043 * international/mule.el (make-coding-system): Generate subsidiary
5044 coding systems for EOL handling variants even for a CCL based
5047 2000-06-19 Kenichi Handa <handa@etl.go.jp>
5049 * international/isearch-x.el (isearch-minibuffer-input-method)
5050 (isearch-minibuffer-input-method-function): These variables
5052 (isearch-with-input-method): Don't use the above variables.
5053 (isearch-process-search-multibyte-characters): Likewise. Call
5054 read-string with the arg INHERIT-INPUT-METHOD t.
5056 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
5058 * font-lock.el (font-lock-after-fontify-buffer)
5059 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
5061 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
5062 Use consistent make-local-variable style for font-lock-fontified.
5063 (jit-lock-fontify-buffer):
5064 Don't bother checking for font-lock-mode and jit-lock-mode.
5066 * time.el: Remove trailing ^M that prevent CVS-merging.
5068 2000-06-16 Gerd Moellmann <gerd@gnu.org>
5070 * Makefile.in (distclean): New target.
5072 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
5074 * Makefile.in (srcdir): Define for update-subdirs.
5076 2000-06-16 Gerd Moellmann <gerd@gnu.org>
5078 * find-lisp.el: New file.
5080 2000-06-16 Andrew Innes <andrewi@gnu.org>
5082 * time.el (display-time-mail-function): New variable, to allow
5083 external packages to indicate when new mail is available.
5084 (display-time-update): Use it.
5086 2000-06-16 Kenichi Handa <handa@etl.go.jp>
5088 * international/mule.el (mule-version): Change version name to
5089 SAKAKI. AOI has already been used by Meadow.
5091 * international/quail.el (quail-show-guidance-buf): To find the
5092 bottom window (but minibuffer), pay attention to the height of
5095 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
5097 * arc-mode.el (archive-mode-map): Use the new menu-item format for
5098 menu-bar menus. Add help strings. Don't remove the Edit menu
5099 from the menu bar, as the menu bar has enough space now.
5101 * Makefile.in (SHELL): Make sure /bin/sh is used.
5103 * woman.el (woman-man-buffer): Fix bold and underlined CJK
5104 characters, which use series of two ^H characters instead of one.
5106 2000-06-15 Gerd Moellmann <gerd@gnu.org>
5108 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
5109 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
5111 (Info-find-node-2): Try a case-sensitive search first, then
5112 do a case-insensitive search.
5114 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
5117 * complete.el (PC-env-vars-alist): New variable.
5118 (PC-complete-as-file-name): New function.
5119 (partial-completion-mode): Initialize PC-env-vars-alist from
5120 process-environment.
5121 (PC-do-completion): Handle completion of env vars.
5123 * info.el (Info-set-mode-line): Show file name in mode line,
5124 use `*Info*' instead of `Info:'.
5126 * startup.el (command-line-1): Change copyright messages to year
5129 2000-06-15 Dave Love <fx@gnu.org>
5131 * net/goto-addr.el (goto-address-fontify): Use keymap property,
5134 2000-06-15 Kenichi Handa <handa@etl.go.jp>
5136 * international/mule.el (set-buffer-file-coding-system): Almost
5137 rewritten to handle `undecided' as no-op.
5139 2000-06-14 Gerd Moellmann <gerd@gnu.org>
5141 * Makefile.in: New file.
5143 * Makefile: Removed.
5145 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
5146 (goto-address-highlight-keymap): Bind C-c RET.
5148 2000-06-14 Kenichi Handa <handa@etl.go.jp>
5150 * mail/sendmail.el (sendmail-send-it): The temporary buffer
5151 inherits buffer-file-coding-system of the current buffer.
5153 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
5154 0. Give correct argument to set-auto-coding-function.
5155 (tar-expunge): For goto-char, use (point-min), not 0.
5156 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
5157 (tar-subfile-save-buffer): Likewize.
5159 * international/mule.el
5160 (after-insert-file-set-buffer-file-coding-system): Call
5161 set-buffer-file-coding-system with the arg FORCE t.
5163 2000-06-13 Gerd Moellmann <gerd@gnu.org>
5165 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
5166 nil. Contemporary sendmails issue an X-Authentication-Warning if
5167 the sender is set with `-f'.
5169 2000-06-13 Dave Love <fx@gnu.org>
5171 * help.el (describe-function-1): Kluge around cases of functions
5172 fset to subrs whose doc doesn't match their symbol-name.
5174 * image.el (insert-image): Default STRING to a space.
5176 * info.el Doc fixes.
5177 (Info-build-node-completions): Match Ref tags.
5179 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
5181 * frame.el (display-multi-frame-p, display-multi-font-p): New
5182 defaliases for display-graphic-p.
5184 * hl-line.el: Fixed a typo in commentary.
5186 2000-06-13 Kenichi Handa <handa@etl.go.jp>
5188 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
5191 2000-06-12 Dave Love <fx@gnu.org>
5193 * image.el (insert-image): Save a little consing.
5195 2000-06-12 Kenichi Handa <handa@etl.go.jp>
5197 * language/tibet-util.el: Convert all tibetan-1-column characters
5198 to the corresponding tibetan characters.
5199 (tibetan-add-components): Delete code for the special treatment of
5202 * language/tibetan.el (tibetan-composable-pattern): Fix previous
5204 (tibetan-vowel-transcription-alist): More rules added.
5205 (tibetan-composite-vowel-alist): New variable.
5206 (tibetan-precomposition-rule-alist): More rules added.
5208 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
5210 * startup.el (command-line): Only call menu-bar-mode if interactive.
5212 * thingatpt.el (toplevel symbol-properties):
5213 * textmodes/makeinfo.el (makeinfo-compile):
5214 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
5215 * progmodes/hideif.el (hif-compress-define-list)
5216 (hide-ifdef-use-define-alist):
5217 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
5218 (ange-ftp-vms-add-file-entry):
5219 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
5220 * man.el (Man-build-man-command):
5221 * mail/rnewspost.el (news-reply-header-hook):
5222 * info.el (Info-insert-dir):
5223 * emulation/mlconvert.el (backward-word, forward-word, setq):
5224 * emacs-lisp/gulp.el (gulp-send-requests):
5225 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
5226 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
5227 (byte-optimize-apply, end of file):
5228 * emacs-lisp/advice.el (ad-advice-class-completion-table)
5229 (ad-make-freeze-definition):
5230 * startup.el (command-line, command-line-1): Don't quote lambdas.
5232 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
5233 (cvs-cleanup-removed): New function.
5234 (cvs-cleanup-functions): New var.
5235 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
5236 some flexibility in specifying additional entries to auto-cleanup.
5237 (cvs-quickdir): New function.
5238 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
5239 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
5240 (cvs-mode-find-file): Check that we are on a filename or dirname
5241 when invoked through a mouse-click.
5242 (cvs-full-path): Remove.
5243 (cvs-dired-action): Re-introduced.
5244 (cvs-dired-noselect): Use it.
5245 (vc-post-command-functions): use this new hook if available.
5247 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
5248 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
5249 (cvs-filename-map, cvs-dirname-map): Remove.
5250 (cvs-default-action): Remove.
5251 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
5252 if the arg is really a keymap.
5253 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
5254 Don't hardcode the mapping from state (aka type) to face, but check
5255 the var cvs-fi-<type>-face instead.
5256 (cvs-fileinfo-from-entries): New function.
5258 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
5260 (cvs-find-file-and-jump): Change default to be safer.
5261 (cvs-mode-diff-map): Define it as a function as well.
5262 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
5263 Bind mouse-2 in this global map rather than with text-properties.
5265 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
5266 file to resolve the ambiguity between C(conflict) and C(need-merge).
5268 2000-06-12 Kenichi Handa <handa@etl.go.jp>
5270 * international/mule.el (set-buffer-file-coding-system): If
5271 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
5274 2000-06-12 Dave Love <fx@gnu.org>
5276 * wid-edit.el (widget-specify-button): Really suppress the face if
5279 2000-06-11 Gerd Moellmann <gerd@gnu.org>
5281 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
5283 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
5285 * imenu.el (imenu-generic-expression): Docstring fix.
5287 * composite.el (composition-function-table): Move the `put'
5288 below the autoload cookie so we can load the file before loaddefs.
5290 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
5292 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
5293 Handle easy-mmode-define-global-mode.
5294 For complex macros like define-minor-mode that can generate
5295 several autoload entries, try to autoload entries in the
5298 * emacs-lisp/easy-mmode.el (define-minor-mode):
5299 If KEYMAP is a symbol, just use it.
5300 Use byte-compile-current-file and load-file-name to infer the
5301 proper :require to pass to defcustom.
5302 Wrap the hook var into `progn' so as not to autoload it.
5303 Add a :autoload-end cookie.
5304 Be more careful about the evaluation of KEYMAP.
5305 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
5306 (define-derived-mode): Move define-abbrev-table outside of defvar.
5308 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
5310 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
5311 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
5312 (backup-compiled-files): Ignore errors during `tar'.
5313 (bootstrap): Make autoloads before elc files.
5315 2000-06-10 Kenichi Handa <handa@etl.go.jp>
5317 * international/mule.el (set-buffer-file-coding-system): If one of
5318 undecided-XXX is specified, change only EOL conversion.
5320 * international/mule-conf.el (unix): New alias for the coding
5321 system undecided-unix.
5323 2000-06-09 Dave Love <fx@gnu.org>
5325 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
5327 * progmodes/executable.el: Byte compile dynamic.
5328 (executable-insert): Change custom type.
5329 (executable-find): Add autoload cookie.
5330 (executable-make-buffer-file-executable-if-script-p): New
5331 function. After Noah Friedman.
5333 * files.el (after-save-hook): Customize, with
5334 executable-make-buffer-file-executable-if-script-p as an option.
5336 2000-06-09 Kenichi Handa <handa@etl.go.jp>
5338 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
5339 "tib24p-mule.bdf" for Tibetan.
5341 * composite.el (decompose-composite-char): Declare it as obsolete.
5343 * man.el (Man-fontify-manpage): Pay attention to underline and
5344 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
5346 2000-06-08 Gerd Moellmann <gerd@gnu.org>
5348 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
5349 Set maintainer to FSF since author isn't reachable.
5351 2000-06-08 Dave Love <fx@gnu.org>
5353 * international/mule-cmds.el (select-safe-coding-system): If
5354 DEFAULT-CODING-SYSTEM is not specified, also check the most
5355 preferred coding-system if buffer-file-coding-system is
5356 `undecided'. From Handa.
5358 2000-06-08 Kenichi Handa <handa@etl.go.jp>
5360 * international/mule.el
5361 (after-insert-file-set-buffer-file-coding-system): If the buffer
5362 size is greater than INSERTED, judget that we are not visiting.
5364 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
5366 * whitespace.el (defgroup whitespace): Comment out `:version'.
5367 XEmacs 20.4 has problems defining the group with this present.
5368 We'll have this commented out till get resolve the problem.
5370 2000-06-07 Gerd Moellmann <gerd@gnu.org>
5372 * align.el: Update from author.
5374 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
5376 * apropos.el (apropos-mode-hook): New user variable.
5377 (apropos-mode): Run apropos-mode-hook.
5379 2000-06-07 David Ponce <david@dponce.com>
5381 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
5382 commands. Require `wid-edit' at run-time.
5384 2000-06-07 David Ponce <david@dponce.com>
5386 * recentf.el: Added some "Commentary".
5387 (recentf-open-more-files, recentf-edit-list): Minor changes to
5388 move the point at the top of the file list. This behaviour is
5389 consistent with the menu one when the list contains a lot of
5391 (recentf-cleanup): Now displays the number of items removed from
5393 (recentf-relative-filter) New menu filter to show filenames
5394 relative to `default-directory'.
5396 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5398 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
5399 with/without giving an error if PostScript printer doesn't have this
5400 kind of page size. Zebra Stripe continues or restarts on next page.
5401 Manual/automatic paper feeding. Switch or not the header.
5402 (ps-print-version): New version number (5.2.2).
5403 (ps-windows-system): Include emx as a Windows system.
5404 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
5405 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
5406 (ps-background-text): Code fix.
5407 (ps-error-handler-message, ps-user-defined-prologue)
5408 (ps-print-prologue-header, ps-printer-name)
5409 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
5410 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
5411 (ps-use-face-background): Customization fix.
5412 (ps-n-up-database): Data fix.
5413 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
5414 (ps-switch-header): New vars.
5415 (ps-xemacs-color-name, ps-face-foreground-name)
5416 (ps-face-background-name, ps-boolean-constant): New funs.
5418 2000-06-07 Dave Love <fx@gnu.org>
5420 * allout.el: New version from Manheimer.
5422 2000-06-07 Kenichi Handa <handa@etl.go.jp>
5424 * textmodes/fill.el (fill-find-break-point): Check the validity of
5427 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
5429 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
5430 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
5431 Call display-color-p and display-mouse-p instead of looking at
5434 2000-06-06 Dave Love <fx@gnu.org>
5436 * image.el (find-image): Doc fix. Return nil if image not found.
5437 (put-image, insert-image): Make STRING arg optional.
5439 2000-06-06 Kenichi Handa <handa@etl.go.jp>
5441 * language/vietnamese.el: Remove eval-when-compile.
5442 (viet-viscii-nonascii-translation-table): Define it as a
5443 translation table made from viet-viscii-decode-table.
5444 (viet-viscii-encode-table): Define it as a translation table made
5445 from the reverse map of above.
5446 (viet-vscii-nonascii-translation-table): Define it as a
5447 translation table made from viet-vscii-decode-table.
5448 (viet-vscii-encode-table): Define it as a translation table made
5449 from the reverse map of above.
5450 (ccl-decode-viscii): Use translate-character.
5451 (ccl-encode-viscii, ccl-encode-viscii-font)
5452 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
5455 * language/cyrillic.el: Remove eval-when-compile.
5456 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
5457 translation table made from cyrillic-koi8-r-decode-table.
5458 (cyrillic-koi8-r-encode-table): Define it as a translation table
5459 made from the reverse map of above.
5460 (ccl-decode-koi8): Use translate-character.
5461 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
5462 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
5463 a translation table made from cyrillic-alternativnyj-decode-table.
5464 (cyrillic-alternativnyj-encode-table): Define it as a translation
5465 table made from the reverse map of above.
5466 (ccl-decode-alternativnyj): Use translate-character.
5467 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
5470 * international/mule-diag.el (non-iso-charset-alist): Specify
5471 translation table symbol instead of translation table itself.
5472 (list-block-of-chars): CHARSET may be a translation table symbol.
5474 * international/mule.el (make-coding-system): If CODING-SYSTEM
5475 already exists, override it.
5477 * international/fontset.el: Use family `proportional' for Tibetan
5480 * international/ccl.el (ccl-compile-translate-character): Don't
5481 check if Rrr has property translation-table.
5482 (ccl-compile-map-multiple): Modified to avoid compiler warning.
5484 2000-06-05 Gerd Moellmann <gerd@gnu.org>
5486 * info.el: Bind case-fold-search to t when searching in case
5487 a user sets it to nil in a hook.
5489 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
5491 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5492 * hl-line.el (hl-line-mode): Use the new :global key argument.
5494 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
5495 (tar-clip-time-string): Prepend a space.
5496 (tar-grind-file-mode): Construct a string rather than modifying one.
5497 (tar-header-block-summarize): Fix docstring.
5498 Use `format' rather than an error-prone set of copy-loops.
5500 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
5501 (diff-goto-source, diff-unified->context, diff-context->unified)
5502 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
5503 understand the format output by the `-p' argument to diff.
5505 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
5506 (sh-re-done): Use defconst.
5507 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
5508 (sh-help-string-for-variable, sh-guess-basic-offset):
5509 Don't quote lambdas.
5510 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
5511 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
5513 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
5514 (mh-letter-mode): Derive from text-mode.
5515 This implicitly means that it now calls kill-all-local-variables.
5516 Also remove the Emacs-18 compatibility code.
5518 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
5519 Make use of symbol-property doc-string-elt.
5520 Use memq rather than a sequence of eq.
5521 (doc-string-elt): Fix the wrong or missing previously unused values.
5522 (autoload-print-form): New function extracted from
5523 generate-file-autoloads to allow recursion when handling progn
5524 so that defvar's and defun's docstrings are properly printed.
5525 (generate-file-autoloads): Use it.
5527 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
5528 Use find-file-hooks in the minor-mode function.
5529 Be careful not to loop indefinitely in the post-command-hook function.
5531 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
5533 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
5535 * ediff-diff.el (ediff-exec-process): Use --binary for fine
5536 differences whenever appropriate.
5537 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
5538 * viper.el (find-file, find-file-other-window): Get viper to do
5541 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
5543 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
5544 (jit-lock-fontify-buffer): New function for JIT refontification.
5545 (jit-lock-mode): Fix docstring.
5546 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
5547 Remove jit-lock-after-change from the _local_ hook.
5548 (jit-lock-function-1): Fix docstring.
5550 * info.el (Info-on-current-buffer): Initialize info.
5552 * newcomment.el (comment-indent): Ignore comment-indent-hook.
5554 * progmodes/tcl.el (tcl-indent-for-comment):
5555 Ignore comment-indent-hook.
5557 * emacs-lisp/easy-mmode.el: Require CL during compilation.
5558 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
5559 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
5560 and improve to use the lighter to guess the capitalization.
5561 (define-minor-mode): Inline code from easy-mmode-define-toggle.
5562 Add keyword arguments to specify global-ness or the custom group.
5563 Add local-map and help-echo properties to the lighter.
5564 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
5565 (easy-mmode-define-global-mode): New macro.
5567 2000-06-02 Dave Love <fx@gnu.org>
5569 * wid-edit.el: byte-compile-dynamic since we typically don't use
5570 all the widgets. Don't require cl or widget. Remove
5571 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
5572 (widget-read-event): Removed. Callers changed to use read-event.
5573 (widget-button-release-event-p): Renamed from
5574 button-release-event-p.
5575 (widget-field-add-space, widget-field-use-before-change):
5577 (widget-specify-field): Use keymap property, not local-map.
5578 (widget-specify-button): Obey :suppress-face.
5579 (widget-specify-insert): Use modern backquote syntax.
5580 (widget-image-directory): Renamed from widget-glyph-directory.
5581 (widget-image-enable): Renamed from widget-glyph-enable.
5582 (widget-image-find): Replaces widget-glyph-find.
5583 (widget-button-pressed-face): Move defvar.
5584 (widget-image-insert): Replaces widget-glyph-insert.
5585 (widget-convert): Use keywordp.
5586 (widget-leave-text, widget-children-value-delete): Use mapc.
5587 (widget-keymap): Remove XEmacs stuff.
5588 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
5589 (widget-button-click): Don't set point at the click, but re-centre
5590 if we scroll out of window. Rewritten for images v. glyphs &c.
5591 (widget-tabable-at): Use POS arg, not point.
5592 (widget-beginning-of-line, widget-end-of-line)
5593 (widget-item-value-create, widget-sublist, widget-princ-to-string)
5594 (widget-sexp-prompt-value, widget-echo-help): Simplify.
5595 (widget-default-create): Use widget-image-insert; some rewriting.
5596 (widget-visibility-value-create)
5597 (widget-push-button-value-create, widget-toggle-value-create): Use
5598 widget-image-insert.
5599 (checkbox): Create on and off images dynamically.
5600 (documentation-link): Change :help-echo.
5601 (widget-documentation-link-echo-help): Remove.
5603 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
5605 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
5607 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
5608 (easy-mmode-define-toggle, define-minor-mode): Use it.
5609 (easy-mmode-define-keymap): Docstring fix.
5610 (define-derived-mode): Default PARENT to fundamental-mode.
5611 Add the derived-mode-parent symbol-property.
5612 (easy-mmode-derived-mode-p): New function.
5614 2000-06-02 Dave Love <fx@gnu.org>
5616 * files.el (convert-standard-filename): Doc fix.
5617 (normal-backup-enable-predicate): New function.
5618 (backup-enable-predicate): Use it to replace the lambda form.
5620 * calendar/todo-mode.el: [This needs more work on the outline
5622 (todo) <defgroup>: Add :version.
5623 (todo-add-category): Don't use pushnew.
5624 (todo-cmd-raise): Fix typo.
5625 (todo-top-priorities): Change temp buffer name.
5626 (todo-category-alist): Avoid redundant lambda.
5627 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
5628 Use outline-next-heading.
5630 * autoarg.el: Rewritten to use define-minor-mode.
5631 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
5632 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
5634 2000-06-02 Kenichi Handa <handa@etl.go.jp>
5636 * isearch.el (isearch-other-meta-char): Fix previous change.
5638 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
5640 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
5641 (log-edit-done): Only add the comment to the ring if it's different
5642 from the last comment entered.
5644 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
5646 2000-06-01 Dave Love <fx@gnu.org>
5648 * hl-line.el: Rewritten using define-minor-mode.
5650 * help.el (describe-function-1): Distinguish special form from
5651 builtin function. Sanity-check presence of arglist for builtins.
5653 2000-06-01 Kenichi Handa <handa@etl.go.jp>
5655 * international/characters.el: Fix syntax/category setting of
5658 * language/tibet-util.el (tibetan-add-components): Fixes for new
5659 encoding of Tibetan characters.
5660 (tibetan-decompose-precomposition-alist): New variable.
5661 (tibetan-decompose-region): Convert precomposed characters to
5662 non-precomposed characters.
5663 (tibetan-decompose-string): Likewise.
5664 (tibetan-composition-function): Fix args to
5665 thibetan-compose-string.
5667 * language/tibetan.el (tibetan-composable-pattern): More
5668 characters included.
5669 (tibetan-consonant-transcription-alist): Rule for "R" added.
5670 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
5672 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
5674 * language/lao-util.el (lao-composition-function): Fix args to
5677 * language/thai-util.el (thai-composition-function): Fix args to
5680 * isearch.el (isearch-update): Set disable-point-adjustment to t
5681 to prevent the point moving to the end of a composition when a
5682 part of a composition is searched.
5683 (isearch-other-meta-char): If the key invoking this command can be
5684 mapped by function-key-map to a printing char, call
5685 isearch-process-search-char directly.
5687 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
5689 * emacs-lisp/bytecomp.el:
5691 * international/mule-cmds.el:
5692 * international/mule-util.el:
5693 * international/mule.el:
5696 * faces.el: Update calls to make-obsolete with a WHEN argument.
5698 * byte-run.el (make-obsolete, make-obsolete-variable):
5699 Add an optional WHEN argument and change the format of the
5700 symbol-property information.
5701 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
5702 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
5703 new obsolete-symbol-property format and print WHEN if it is provided.
5705 2000-05-31 Dave Love <fx@gnu.org>
5707 * loadhist.el (loadhist-hook-functions): Remove
5708 before-change-function, after-change-function.
5709 (unload-feature): Deal with symbols which are both bound and
5712 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
5713 before-change-function, after-change-function.
5715 * simple.el (newline): Don't bind before-change-function,
5716 after-change-function.
5718 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
5720 * whitespace.el (whitespace-rescan-timer-time): Update interval
5721 set to 600 seconds (10 minutes) instead of 60 seconds since
5722 a large number of whitespace buffers causes emacs to `freeze'
5723 for a considerable amount of time.
5725 * whitespace.el: Updated email address
5727 2000-05-31 Dave Love <fx@gnu.org>
5729 * add-log.el (change-log-font-lock-keywords) <function>: Add
5730 pattern for function of change.
5731 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
5732 acknowledgements patterns.
5734 2000-05-31 Kenichi Handa <handa@etl.go.jp>
5736 * isearch.el (isearch-printing-char): If keyboard coding system is
5737 being used, call isearch-process-search-multibyte-characters.
5739 * international/isearch-x.el: Mostly rewritten.
5741 * international/quail.el (quail-start-conversion): Don't include
5742 unhandled events in the returned events, but set them in
5743 unread-command-events. Exit if all inputs are deleted.
5745 2000-05-30 Jason Rumney <jasonr@gnu.org>
5747 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
5749 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
5750 Reenable code to create initial fontsets.
5751 Use set-fontset-font in place of put-charset-property.
5753 2000-05-30 Gerd Moellmann <gerd@gnu.org>
5755 * progmodes/perl-mode.el (perl-indent-line): When looking for a
5756 label, ensure that the first colon isn't followed by another.
5758 * paths.el (Info-default-directory-list): Doc fix.
5760 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
5761 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
5762 send a query containing USER only, not USER@HOST.
5764 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
5765 and rmail-msgend to compute the restriction at the end, instead of
5768 2000-05-29 Gerd Moellmann <gerd@gnu.org>
5770 * dabbrev.el (dabbrev-expand): Don't display messages in the
5771 echo area if the minibuffer window is active.
5773 * jit-lock.el (jit-lock-mode): Add after change function to
5776 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
5778 * antlr-mode.el: New commands: hide/unhide actions,
5779 upcase/downcase literals.
5780 (antlr-tiny-action-length): New user option.
5781 (antlr-hide-actions): New command. Suggested by
5782 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
5783 (antlr-mode-map): New binding [C-c C-v].
5784 (antlr-mode-menu): New entries.
5785 (antlr-downcase-literals): New command.
5786 (antlr-upcase-literals): Ditto.
5788 * antlr-mode.el: Minor changes: indendation, mode-name.
5789 (antlr-indent-line): Indent cpp directive at column 0.
5790 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
5792 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
5793 (antlr-font-lock-additional-keywords): Workaround for intentional
5794 bug in XEmacs version of font-lock.
5795 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
5796 be used by a smarter version of `buffers-menu-grouping-function'.
5798 2000-05-29 Gerd Moellmann <gerd@gnu.org>
5800 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
5801 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
5803 2000-05-29 Kenichi Handa <handa@etl.go.jp>
5805 * international/encoded-kb.el
5806 (encoded-kbd-iso2022-designation-map): Pay attention to that
5807 charset-iso-final-char return -1 for eight-bit-control and
5810 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
5812 * speedbar.el (speedbar-use-images, speedbar-update-flag)
5813 (speedbar-easymenu-definition-base): Use display-graphic-p where
5814 available, instead of window-system.
5816 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
5818 * international/codepage.el (cp-coding-system-for-codepage-1): Add
5819 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
5822 2000-05-26 Dave Love <fx@gnu.org>
5824 * disp-table.el (standard-display-underline): Don't use
5827 * mail/reporter.el: Maintainer change. Doc fixes.
5828 (reporter-version): Deleted.
5830 * emacs-lisp/elp.el: Maintainer change.
5831 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
5833 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
5835 * add-log.el (add-change-log-entry): Merge the current entry with the
5836 previous one if the previous one is empty.
5838 2000-05-26 Dave Love <fx@gnu.org>
5840 * loadhist.el (unload-feature): Fix interactive spec [from
5841 lijnzaad@ebi.ac.uk].
5843 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
5844 subr-arity to check primitives.
5845 (byte-compile-flush-pending, byte-compile-file-form-progn)
5846 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
5847 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
5850 2000-05-26 Kenichi Handa <handa@etl.go.jp>
5852 * international/fontset.el: Set family names of non-latin charsets
5853 in default fontset to "*".
5855 * international/mule-diag.el (print-fontset): Combine family part
5856 and registry part of the fontname by "-*-" instead of "-".
5858 * international/mule-cmds.el (encode-coding-char): Make strings
5859 multibyte before calling encode-coding-string.
5861 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
5863 * derived.el: Fix keywords.
5864 (define-derived-mode): Only define if needed.
5866 * simple.el (fill-comment, comment-column, comment-start)
5867 (comment-start-skip, comment-end, comment-indent-function)
5868 (block-comment-start, block-comment-end, indent-for-comment)
5869 (set-comment-column, kill-comment, comment-padding, comment-region)
5870 (comment-multi-line, indent-new-comment-line): Remove.
5872 * bindings.el (esc-map): Change ; to comment-dwim and use the new
5873 function names for comment operations.
5875 * newcomment.el: Add abundant autoload cookies.
5876 (comment-style): Don't depend on runtime data at compile-time.
5877 (comment-indent-hook): Remove.
5878 (comment-indent): Check if comment-indent-hook is bound.
5879 (comment-region): Docstring fix.
5881 2000-05-25 Dave Love <fx@gnu.org>
5883 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
5884 byte-code-function-p.
5886 * mail/rmailsum.el: Add provide.
5888 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
5890 * smerge-mode.el (smerge-diff-switches): Don't use list* in
5893 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
5895 * ediff-diff.el (ediff-exec-process): delete --binary option from
5896 non-buffer ediff jobs.
5898 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
5900 * hilit-chg.el (highlight-changes-mode): Ask about color or
5901 grayscale support, not about window-system.
5903 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
5905 (ffap-highlight): Always default to t.
5907 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
5908 display-popup-menus-p instead of looking at window-system.
5910 * disp-table.el (standard-display-g1, standard-display-graphic):
5911 Only refuse to use string glyphs on X and MS-Windows.
5913 * avoid.el: Remove window-system from commentary, suggest to use
5914 display-*-p instead.
5916 * apropos.el (apropos-print): Use display-mouse-p instead of
5919 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
5921 * international/codepage.el (cp-decoding-vector-for-codepage):
5922 Fill up unsupported characters with their own codes. From Kenichi
5925 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
5927 * international/mule-diag.el (describe-char-after): Use
5928 display-graphic-p instead of window-system, so that this function
5931 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
5933 * international/codepage.el (cp-make-coding-systems-for-codepage):
5934 Remove the eight-bit-graphic and eight-bit-control charsets from
5935 the list of charsets which we convert into `?'.
5937 2000-05-25 Kenichi Handa <handa@etl.go.jp>
5939 * international/mule-conf.el: Specify CHARSET-ID explicitely for
5941 (mule-unicode-0100-24ff, japanese-jisx0213-1,
5942 japanese-jisx0213-2): New charsets.
5944 * international/fontset.el: Setup default fontset for new charsets.
5946 2000-05-24 Dave Love <fx@gnu.org>
5948 * info.el (Info-find-node-2): Restructure [following "Vadim
5949 S. Solomin" <sovs@uic.nnov.ru>].
5951 * icomplete.el: Fix header for Finder.
5953 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
5955 * rmailout.el (rmail-output-to-rmail-file): Added optional param
5958 * rmail.el (rmail-automatic-folder-directives): New user variable.
5959 (rmail-show-message): Add call to `rmail-auto-file' during
5961 (rmail-auto-file): New function.
5963 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
5965 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
5967 (ediff-test-utility,ediff-diff-mandatory-option)
5968 (ediff-reset-diff-options): Utilities for proper initialization of
5969 ediff-diff-options and ediff-diff3-options on Windows.
5971 * ediff-init.el (ediff-merge-filename-prefix): New customizable
5974 * ediff-mult.el (ediff-filegroup-action): Use
5975 ediff-merge-filename-prefix.
5977 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
5979 * viper-ex.el (ex-write): Set selective display to nil.
5981 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
5983 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
5984 aliases for hebrew-iso-8bit.
5986 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
5988 * woman.el: New version from Francis J. Wright
5989 <F.J.Wright@Maths.QMW.ac.uk>.
5990 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
5991 names in environment variables regardless of the path separator.
5992 (woman-topic-all-completions-1): Don't call file-name-directory-p
5993 on all files, since woman-file-regexp already filters out any
5996 2000-05-24 Kenichi Handa <handa@etl.go.jp>
5998 * international/quail.el (quail-start-translation): Don't change
5999 modified-p of the current buffer.
6000 (quail-start-conversion): Likewise.
6002 * international/kkc.el (kkc-region): Don't change modified-p of
6005 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
6007 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
6009 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
6011 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
6012 (speedbar-insert-button): Invisible text property fix.
6013 (speedbar-directory-plus): Renamed from speedbar-directory-+
6014 (speedbar-directory-minus): Renamed from speedbar-directory--
6015 (speedbar-page-plus): Renamed from speedbar-file-+
6016 (speedbar-page-minus): Renamed from speedbar-file--
6017 (speedbar-page): Renamed from speedbar-file-
6018 (speedbar-tag): Renamed from speedbar-tag-
6019 (speedbar-tag-plus): Renamed from speedbar-tag-+
6020 (speedbar-tag-minus): Renamed from speedbar-tag--
6021 (speedbar-expand-image-button-alist): Use above renames.
6023 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
6024 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
6025 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
6026 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
6027 * sb-pg.xpm: Renamed from sb-file.xpm
6028 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
6029 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
6031 2000-05-24 Kenichi Handa <handa@etl.go.jp>
6033 * international/quail.el (quail-show-guidance-buf): Set
6034 current-input-method of the guidance buffer to the name of the
6035 curren input method.
6037 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
6039 * progmodes/compile.el (compile-internal): Style typo.
6041 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
6042 quote vars and functions in the docstring.
6044 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
6046 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
6047 Don't quote lambdas.
6049 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
6051 2000-05-23 Gerd Moellmann <gerd@gnu.org>
6053 * startup.el (command-line): Determine source file of compiled
6054 user init file differently. Warn if compiled user init file
6055 is older than its source file.
6057 * ffap.el (ffap-url-regexp): Add `https'.
6059 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
6061 * files.el (make-backup-file-name-1): Replace slashes with `!'
6062 rather than `|' (which is not allowed on Windows). Replace the
6063 drive letters with a string "drive_X".
6065 2000-05-23 Gerd Moellmann <gerd@gnu.org>
6067 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
6069 * files.el (interpreter-mode-alist): Add `bash2'.
6071 2000-05-22 Dave Love <fx@gnu.org>
6073 * loadhist.el (feature-symbols, file-provides, file-requires): Use
6075 (feature-file): Avoid calling symbol-name. Doc fix.
6076 (file-set-intersect, file-dependents): Use dolist, not mapcar.
6077 (loadhist-hook-functions): Add mouse-position-function.
6078 (unload-feature): Change uses of mapcar.
6080 * files.el (parse-colon-path): Doc fix.
6081 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
6082 (set-auto-mode): Use mapc.
6084 * complete.el (PC-look-for-include-file): Use :alnum: character
6086 (partial-completion-mode): Add autoload cookie.
6088 2000-05-22 Sam Steingold <sds@gnu.org>
6090 * info.el (Info-fontify-node): Fixed the call to
6091 `add-text-properties' (bug introduced on 2000-05-18).
6093 2000-05-22 Dave Love <fx@gnu.org>
6095 * bindings.el: Remove debug-ignored-errors set in other files.
6097 * progmodes/etags.el: Add to debug-ignored-errors.
6098 (visit-tags-table-buffer): Clear out buffers holding old tables
6099 when making a new list.
6100 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
6103 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
6105 (cmpl-string-case-type): Use character classes.
6108 * textmodes/ispell.el:
6111 * progmodes/compile.el: Add to debug-ignored-errors.
6113 * dabbrev.el: Add to debug-ignored-errors.
6114 (dabbrev-completion): Use mapc.
6116 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
6118 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
6119 (woman-mapcan, woman-parse-man.conf)
6120 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
6121 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
6122 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
6124 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
6125 (woman-manpath): Call woman-parse-man.conf.
6126 (woman-emulation): New defcustom, defaults to nroff.
6127 (woman-font-support): New defconst.
6128 (woman-use-symbol-font): New defcustom.
6129 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
6131 Many functions: Doc fix.
6133 2000-05-22 Kenichi Handa <handa@etl.go.jp>
6135 * international/quail.el (quail-simple-translation-keymap): Map
6136 128..255 to quail-self-insert-command.
6137 (quail-keyboard-layout-alist): Add definition for "pc102-de".
6139 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
6141 * help.el (help-manyarg-func-alist): Typo.
6143 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
6144 intervals which makes it heaps simpler.
6146 * newcomment.el (comment-region-internal): Go back to BEG after quoting
6147 the nested comment markers.
6149 * subr.el (remove-hook): Don't turn the hook's value into a list.
6151 2000-05-21 Dave Love <fx@gnu.org>
6153 * edmacro.el (edmacro-parse-keys): Return vector if any elements
6154 are invalid characters.
6156 * international/mule-util.el (detect-coding-with-priority): Use
6157 mapc. Remove redundant lambda.
6159 * international/mule-diag.el (list-non-iso-charset-chars)
6160 (describe-fontset): Remove redundant lambda.
6162 * emulation/crisp.el (brief-mode): New alias.
6164 * emacs-lisp/ring.el (ring-elements): New function.
6166 * emacs-lisp/easymenu.el (easy-menu-create-menu)
6167 (easy-menu-do-add-item): Use keywordp.
6169 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
6171 * replace.el: Doc and error message fixes.
6172 (replace-highlight): Use facep, not internal-find-face.
6174 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
6176 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
6178 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
6179 (log-edit-insert-changelog): Drop `:' as well.
6181 * log-view.el: Fix file description.
6182 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
6184 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
6185 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
6187 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
6188 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
6189 Print a status message if the toggle is called interactively.
6190 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
6191 for global minor modes and use `defcustom' for them.
6193 (easy-mmode-define-derived-mode): Remove.
6194 (define-derived-mode): Fancier default docstring.
6195 (easy-mmode-define-navigation): Signal an error rather than (ding).
6197 * newcomment.el (comment-styles): New `box-multi'.
6198 (comment-normalize-vars): Better default for comment-continue to
6199 avoid whitespace-only continuations.
6200 (comment-search-forward): Always move even in the no-syntax case.
6201 (comment-padright): Only obey N if it's only obeyed for padleft.
6202 (comment-make-extra-lines): Better handling of empty continuations.
6203 Use `=' for the filler if comment-start has only one character.
6204 (uncomment-region): Try handling the special `=' filler.
6205 (comment-region): Allow LINES even if MULTI is nil.
6206 (comment-box): Choose box style based on comment-style.
6208 2000-05-20 Kenichi Handa <handa@etl.go.jp>
6210 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
6211 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
6213 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
6215 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
6216 and insert, not subst-char-in-region.
6218 * international/mule-diag.el (list-character-sets-1): Handle
6219 charsets eight-bit-control and eight-bit-graphic.
6220 (list-iso-charset-chars): Likewise.
6221 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
6222 charactes as is. Use indent-to to align characters.
6224 * international/mule-cmds.el (find-multibyte-characters): Never
6225 exclude charsets eight-bit-control and eight-bit-graphic.
6227 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
6229 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
6230 Don't quote lambdas.
6232 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
6234 2000-05-19 Gerd Moellmann <gerd@gnu.org>
6236 * gud.el (gud-jdb-directories): Doc fix.
6238 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
6240 * newcomment.el: New file.
6242 2000-05-19 Gerd Moellmann <gerd@gnu.org>
6244 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
6246 2000-05-18 Andreas Schwab <schwab@suse.de>
6248 * dired.el (dired-between-files): Also skip lines beginning with
6251 2000-05-18 Gerd Moellmann <gerd@gnu.org>
6253 * msb.el (msb-menu-cond): Add choice `user'.
6255 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6257 * ps-print.el: Compatibility, customization and doc fix.
6258 (ps-printer-name-option): Replace defconst by defvar.
6259 (ps-postscript-code-directory): XEmacs compatibility.
6260 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
6262 (ps-user-defined-prologue, ps-print-prologue-header)
6263 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
6264 compatibility and code fix.
6265 (ps-print-background-image, ps-print-background-text):
6267 (ps-line-number-start, ps-n-up-on): New vars.
6269 2000-05-18 Espen Skoglund <esk@ira.uka.de>
6271 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
6272 the indent-comment function to just return the appropriate indent.
6274 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
6276 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
6277 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
6278 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
6280 2000-05-18 Dave Love <fx@gnu.org>
6282 * info.el (Info-fontify-node): Add intangible property as well as
6285 * calendar/appt.el (appt-make-list): Match all lines of entry.
6286 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
6288 2000-05-18 Kenichi Handa <handa@etl.go.jp>
6290 * international/mule-diag.el (describe-char-after): Call
6291 internal-char-font, not char-font. If internal-char-font returns
6292 nil, display "-- none --".
6294 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
6296 * image.el (image-type-available-p): Don't reference image-types
6299 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
6301 * autoarg.el (autoarg-mode): Typo in the :set argument.
6303 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
6305 * startup.el (command-line-1): Don't signal an error if the
6306 directory for auto-save-list files does not yet exist.
6308 2000-05-17 Kenichi Handa <handa@etl.go.jp>
6310 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
6312 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
6314 * subr.el (remove-hook): `setq' hook-value, not `set'.
6316 2000-05-16 Sam Steingold <sds@gnu.org>
6318 * info.el (debug-ignored-errors): More errors to ignore.
6320 2000-05-16 Dave Love <fx@gnu.org>
6322 * cus-edit.el: Don't require cl or easymenu.
6323 (custom-variable-prompt): Test standard-value property, not
6326 2000-05-16 Sam Steingold <sds@gnu.org>
6328 * subr.el (add-hook): `setq' hook-value, not `set'.
6330 2000-05-16 Gerd Moellmann <gerd@gnu.org>
6332 * startup.el (command-line-1): Mention the FAQ in the startup
6335 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
6337 * progmodes/compile.el (compilation-parse-errors): Collect
6338 `nomessage' regexps last.
6340 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
6342 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
6343 to the function name.
6345 2000-05-15 Dave Love <fx@gnu.org>
6347 * speedbar.el (speedbar-recenter): Typo.
6348 (speedbar-expand-line): Make arg optional.
6349 (speedbar-mode): Avoid a compiler warning.
6351 2000-05-15 Gerd Moellmann <gerd@gnu.org>
6353 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
6354 user-specified option string is empty.
6356 * mouse.el (mouse-yank-at-click): Doc fix.
6358 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
6360 * term/internal.el (IT-character-translations): More updates of
6361 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
6364 2000-05-15 Gerd Moellmann <gerd@gnu.org>
6366 * env.el (getenv): New function, interactively callable.
6367 (setenv, getenv): Remove autoload cookies.
6369 * loadup.el: Load `env'.
6371 * progmodes/f90.el: Change author's mail address.
6373 2000-05-14 Dave Love <fx@gnu.org>
6375 * mail/rmail.el (rmail-show-message-hook): Customize and offer
6376 goto-addr as an option.
6378 * help.el (help-xref-stack): Doc fix.
6379 (help-xref-following): New variable.
6380 (help-make-xrefs): Use it.
6381 (help-xref-go-back): Use position information from stack element.
6382 (help-follow): Make position in stack element a pair. Use
6383 help-xref-following.
6385 * autoarg.el: New file.
6387 * faces.el: Declare more functions obsolete.
6389 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
6390 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
6391 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
6392 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
6393 Remove all the setup-...-environment functions.
6395 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
6397 * speedbar.el: Updated the commentary section. xemacs20p now uses
6398 >= when detecting. Require `defimage' safely.
6399 (speedbar-easymenu-definition-base): Add toggle for images.
6400 (speedbar-easymenu-definition-special): Add flush cache & expand.
6401 (speedbar-visiting-tag-hook): Set new defaults. Added options.
6402 (speedbar-reconfigure-keymaps-hook): New variable.
6403 (speedbar-frame-parameters): Updated documentation.
6404 (speedbar-use-imenu-flag): Updated custom tag
6405 (speedbar-dynamic-tags-function-list): New variable.
6406 (speedbar-tag-hierarchy-method): Updated doc & custom.
6407 (speedbar-indentation-width, speedbar-indentation-width) New
6409 (speedbar-hide-button-brackets-flag): Customizable.
6410 (speedbar-vc-indicator): Doc update.
6411 (speedbar-ignored-path-expressions): Updated default value.
6412 (speedbar-supported-extension-expressions): Updated default value.
6413 (speedbar-syntax-table): Remove {} paren status.
6414 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
6415 as "+". Added overlay aliases.
6416 (speedbar-mode): Use `speedbar-mode-line-update' instead of
6417 `force-mode-line-update'.
6418 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
6419 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
6421 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
6422 (speedbar-item-info-tag-helper): Revamped to handle a wider range
6423 of arbitrary text, and new helper functions.
6424 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
6426 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
6427 (speedbar-directory-buttons): Update path search/expansion.
6428 (speedbar-make-tag-line): Pay attention to
6429 `speedbar-indentation-width'. Use more care w/ invisible
6431 (speedbar-change-expand-button-char): Call
6432 `speedbar-insert-image-button-maybe'.
6433 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
6434 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
6435 (speedbar-trim-words-tag-hierarchy)
6436 (speedbar-simple-group-tag-hierarchy): New functions
6437 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
6438 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
6440 (speedbar-mouse-set-point): New function
6441 (speedbar-power-click): Updated documentation.
6442 (speedbar-line-token, speedbar-goto-this-file): Handle more types
6444 (speedbar-expand-line, speedbar-contract-line): Make more robust
6446 (speedbar-expand-line): Takes universal argument to flush the
6448 (speedbar-flush-expand-line): New function.
6449 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
6450 Use new generator insertion method.
6451 (speedbar-fetch-dynamic-tags): New function.
6452 (speedbar-fetch-dynamic-imenu): Removed code now handled in
6453 `speedbar-fetch-dynamic-imenu'.
6454 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
6455 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
6456 "Revert Buffer" menu items.
6457 (speedbar-buffer-buttons-engine): Be smarter when creating a
6458 filename tag (for expansion purposes.).
6459 (speedbar-highlight-one-tag-line,
6460 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
6461 (speedbar-recenter): New functions.
6462 (defimage-speedbar): Image loading abstraction.
6463 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
6464 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
6465 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
6466 (speedbar-tag-type, speedbar-tag-mail): New images.
6467 (speedbar-expand-image-button-alist): New variable.
6468 (speedbar-insert-image-button-maybe): Insert an image over some
6471 2000-05-13 Kenichi Handa <handa@etl.go.jp>
6473 * international/mule-cmds.el (encode-coding-char): An ASCII
6474 character is always encodable.
6476 * international/mule-conf.el: Add more information in descriptions
6479 * international/mule-diag.el (describe-char-after): New function.
6480 (describe-font-internal): Adjusted for the change of font-info.
6481 (describe-font): Likewise.
6482 (print-fontset): Rewritten for the new fontset implementation.
6483 (describe-fontset): Include fontset alias names in completion.
6484 (list-fontsets): Adjusted for the change of print-fontset.
6486 * simple.el (what-cursor-position): If DETAIL is non-nil, call
6487 describe-char-after instead of displaying the detail in the echo
6489 (syntax-code-table): Format changed.
6490 (string-to-syntax): Adjusted for the above change.
6492 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
6494 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
6496 2000-05-12 Dave Love <fx@gnu.org>
6498 * calendar/todo-mode.el: Remove some compatibility stuff and CL
6499 dependence. Use line-{beginning,end}-position, not
6500 point-at{b,e}ol. Some doc fixes.
6501 (todo-position): New function. Fix callers of position to use it.
6502 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
6504 2000-05-12 Gerd Moellmann <gerd@gnu.org>
6506 * time.el (display-time-mail-icon): Use `:ascent center'.
6508 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
6509 handling FTP security extensions.
6511 2000-05-11 Dave Love <fx@gnu.org>
6513 * calendar/todo-mode.el: New file.
6515 2000-05-11 Gerd Moellmann <gerd@gnu.org>
6517 * comint.el (comint-read-input-ring): Move reference to
6518 comint-input-ring-size outside of the save-excursion. It was
6519 causing the default value to be the only one ever seen.
6521 * font-lock.el: Update copyright. Remove Simon Marshall's email
6522 address on request from him.
6524 * subr.el (substitute-key-definition): Add comment describing
6525 the meaning of PREFIX.
6527 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
6529 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
6531 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
6532 (add-minor-mode): Don't make the variable buffer-local and add a
6533 reference to define-minor-mode in the docstring.
6535 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
6536 HEADER/FOOTER and fix bug with trailing empty directory.
6537 (cvs-append-to-ignore): Use vc-editable-p if available.
6538 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
6539 (vc-do-command): Tweak advice to handle the new VC.
6541 * log-view.el (log-view-goto-rev): New function for the new VC.
6542 (log-view-minor-wrap): Use mark-active.
6544 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
6545 (log-edit-changelog-full-paragraphs): New var.
6546 (log-edit-insert-changelog): Remove a lonely leading `* file'.
6547 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
6548 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
6549 (log-edit-changelog-ours-p, log-edit-changelog-entries)
6550 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
6551 Replace the `cvs' prefix with `log-edit'.
6553 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
6555 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
6556 (diff-font-lock-defaults): Explicitly turn off multiline.
6557 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
6558 (diff-ediff-patch): Fix call to ediff-patch-file.
6559 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
6562 * frame.el (automatic-hscrolling): Typo.
6564 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
6566 2000-05-09 Sam Steingold <sds@goems.com>
6568 * apropos.el (apropos-print): use `describe-face' instead of
6569 `customize-face-other-window'.
6571 2000-05-09 Dave Love <fx@gnu.org>
6573 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
6575 * help.el (describe-variable): Have customize button pop the
6576 help-xref stack when invoked.
6577 (help-xref-symbol-regexp): Add `face'.
6578 (help-make-xrefs): Check for quoted face names and adapt regexp
6579 submatch numbers to cope.
6580 (help-xref-interned): Maybe insert face doc too. Separate
6581 sections with a line of hyphens.
6583 * faces.el: Some doc fixes. Declare some functions obsolete.
6584 (describe-face): Add customize button. Return the help
6587 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
6589 * term/internal.el (IT-character-translations): Fix last change.
6591 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
6593 * woman.el: New file
6594 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
6596 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
6598 * term/internal.el (IT-character-translations): Update ASCII
6599 simulations for greek-iso8859-7, add latin-iso8859-14 and
6602 * international/mule-cmds.el (set-language-info-alist): Call
6603 define-prefix-command with 3 arguments, to make the map suitable
6606 2000-05-07 Dave Love <fx@gnu.org>
6608 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
6610 2000-05-05 Dave Love <fx@gnu.org>
6612 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
6613 list in doc string. Don't quote keyword symbols.
6614 * emacs-lisp/cl.el: Likewise
6615 * emacs-lisp/cl-seq.el: Likewise
6617 2000-05-05 Gerd Moellmann <gerd@gnu.org>
6619 * abbrev.el (abbrev-mode): Make ARG optional.
6621 2000-05-04 Gerd Moellmann <gerd@gnu.org>
6623 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
6625 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
6627 * subr.el (substitute-key-definition): Clarify documentation.
6629 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
6631 * glasses.el (glasses-convert-to-unreadable): Use
6632 `glasses-separator' instead of the hard-wired "_".
6633 (glasses-mode): Call `glasses-make-unreadable' only in a single
6636 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
6638 * term/internal.el (cjk-codepages-alist): Add associations for
6639 Chinese and Korean codepages. Remove FIXME comment.
6641 2000-05-03 Dave Love <fx@gnu.org>
6643 * time.el (display-time-mail-face, display-time-use-mail-icon):
6645 (display-time-mail-icon): New variable.
6646 (display-time-string-forms): Use the above. Fix the local-map.
6648 2000-05-03 Gerd Moellmann <gerd@gnu.org>
6650 * replace.el (query-replace-map): Add binding for `E'.
6651 (query-replace-help): Extend help text.
6652 (perform-replace): Allow editing the replacement string.
6654 * make-mode.el (makefile-mode-abbrev-table): New variable.
6655 (makefile-mode): Set local abbrev table to
6656 makefile-mode-abbrev-table.
6657 (makefile-font-lock-keywords): Fontify includes and conditionals.
6659 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
6662 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
6663 mail-interactive-insert-alias.
6664 (mail-abbrev-complete-alias): New command.
6665 (mail-mode-map): Bind it to `M-TAB'.
6667 2000-05-03 Kenichi Handa <handa@etl.go.jp>
6669 * language/lao-util.el (lao-compose-region): New function.
6671 2000-05-02 Gerd Moellmann <gerd@gnu.org>
6673 * files.el (recover-session): Make directories as necessary
6674 if they don't exist yet.
6676 * calendar/cal-french.el
6677 (french-calendar-multibyte-special-days-array)
6678 (french-calendar-special-days-array): Change French text.
6679 (calendar-french-date-string): Change output.
6680 (calendar-goto-french-date): Likewise.
6682 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
6684 * wid-edit.el (widget-default-active): Obey `:always-active'.
6685 (widget-documentation-string-value-create): Set `:always-active'.
6687 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
6689 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
6690 default prefix to `~/_emacs.d/auto-save.list/_s'.
6691 (normal-top-level): Create the directory for auto-save files, if
6692 it doesn't already exist (in the ms-dos case only).
6694 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
6696 * international/mule-cmds.el (set-language-environment): Don't
6697 concat an integer (dos-codepage), use format instead.
6699 2000-05-02 Dave Love <fx@gnu.org>
6701 * help.el (help-xref-on-pp): Check for constant symbols.
6703 2000-04-29 Gerd Moellmann <gerd@gnu.org>
6705 * startup.el (normal-top-level): Put a condition-case around
6706 the code loading subdirs.el.
6708 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6710 * ps-print.el: Upside-down and face background color printing,
6711 line number step, doc fix.
6712 (ps-print-version): New version number (5.2).
6713 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
6714 (ps-face-attribute-list, ps-plot-with-face): Code fix.
6715 (ps-spool-config): Var fix.
6716 (ps-printer-name-option): Const fix.
6717 (ps-print-upside-down, ps-use-face-background)
6718 (ps-line-number-step): New vars.
6719 (ps-window-system, ps-lp-system): New consts.
6720 (ps-face-background): New fun.
6722 2000-04-28 Richard Stallman <rms@gnu.org>
6724 * files.el (make-auto-save-file-name):
6725 Apply auto-save-file-name-transforms to visited file name
6726 before generating auto save file name.
6727 (auto-save-file-name-transforms): New variable.
6729 * files.el (backup-enable-predicate):
6730 Correctly test for a file under a temporary directory.
6732 2000-04-28 Gerd Moellmann <gerd@gnu.org>
6734 * subr.el (add-minor-mode): Rewritten.
6736 2000-04-28 Kenichi Handa <handa@etl.go.jp>
6738 * mail/sendmail.el (sendmail-send-it): Set
6739 buffer-file-coding-system to the selected coding system for MIME
6742 2000-04-27 Gerd Moellmann <gerd@gnu.org>
6744 * dired.el (dired-move-to-filename-regexp): Allow format where
6745 YYYY is followed by two spaces.
6747 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
6748 in the second character class of the regexp.
6750 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
6753 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
6756 * subr.el (add-minor-mode): Use `set' instead of `setq'.
6758 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
6761 2000-04-27 Sen Nagata <sen@eccosys.com>
6763 * emacs-lisp/crm.el (crm-completion-table): New variable.
6764 (crm-collection-fn, crm-test-completion)
6765 (completing-read-multiple): Use it.
6767 2000-04-27 Dave Love <fx@gnu.org>
6769 * help.el (locate-library): Use mapc.
6770 (help-manyarg-func-alist): Add call-process-region.
6772 2000-04-26 Gerd Moellmann <gerd@gnu.org>
6774 * subr.el (add-minor-mode): Make argument MAP optional.
6776 * desktop.el (desktop-save): Save list of minor modes.
6777 (desktop-create-buffer): Restore minor modes.
6778 (desktop-minor-mode-table): New user-option.
6780 * subr.el (add-minor-mode): New function.
6782 * image.el (find-image): New function.
6783 (defimage): Rewritten to find image at load time.
6785 * startup.el (normal-top-level-add-to-load-path): Handle
6786 case that the default directory is not in load-path.
6788 * help.el: Old patch from Stefan Monnier.
6789 (help-xref-on-pp): New function.
6790 (describe-variable): Use it to display xrefs in a symbol's value.
6792 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
6794 * cus-edit.el (custom-face): Fix parenthesis.
6796 2000-04-26 Kenichi Handa <handa@etl.go.jp>
6798 * mail/rmail.el (rmail-expunge): When there are no deleted
6799 messages, do nothing.
6801 2000-04-26 Dave Love <fx@gnu.org>
6803 * international/mule-cmds.el (locale-translation-file-name):
6805 (set-locale-environment): Set it here (at runtime).
6807 2000-04-25 Gerd Moellmann <gerd@gnu.org>
6809 * replace.el (perform-replace): Add parameters START and END. Use
6810 them instead of the check for a region in Transient Mark mode.
6811 (query-replace-read-args): Return two more list elements for the
6812 start and end of the region in Transient Mark mode.
6813 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6814 (map-query-replace-regexp, replace-string, replace-regexp): Add
6815 optional last arguments START and END and pass them to
6818 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
6819 form with additional arguments for perform-replace.
6821 * progmodes/etags.el (tags-query-replace): Add parameters START
6822 and END. Construct a form with additional arguments for
6825 * simple.el (shell-command): Set default directory for "*Shell
6826 Command Output" buffer.
6828 * language/european.el (iso-latin-4): Fix typo.
6830 * emacs-lisp/crm.el: New file.
6832 2000-04-24 Dave Love <fx@gnu.org>
6834 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
6835 (Custom-reset-saved, Custom-reset-standard)
6836 (custom-group-value-create, custom-group-set, custom-group-save)
6837 (custom-group-reset-current, custom-group-reset-saved)
6838 (custom-group-reset-standard): Use mapc.
6839 (custom-buffer-create-internal): Disable undo when creating items.
6841 (custom-face): Avoid redundant lambda.
6843 2000-04-24 Gerd Moellmann <gerd@gnu.org>
6845 * startup.el (auto-save-list-file-prefix): Set default to
6846 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
6848 2000-04-24 Sam Steingold <sds@gnu.org>
6850 * time-stamp.el (time-stamp-string-preprocess): Always convert
6851 `field-result' to a string.
6853 2000-04-24 Gerd Moellmann <gerd@gnu.org>
6855 * frame.el (scrolling): New group.
6856 (automatic-hscrolling): New user-option.
6858 * startup.el (command-line-x-option-alist): Add `-lsp' and
6861 2000-04-19 Dave Love <fx@gnu.org>
6863 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
6864 (cl-mapc): Rename from mapc. Fix the funcall.
6866 2000-04-19 Gerd Moellmann <gerd@gnu.org>
6868 * simple.el (clone-indirect-buffer-other-window): New command.
6869 (clone-indirect-buffer): Add optional arg NORECROD.
6870 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
6872 * help.el (resize-temp-buffer-window): Use count-screen-lines.
6874 * window.el (count-screen-lines): New function.
6875 (shrink-window-if-larger-than-buffer): Use count-screen-lines
6876 instead of window-buffer-height.
6878 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
6879 non-existing variable comint-input-sentinel.
6880 (inferior-lisp-args-to-list): Removed.
6881 (inferior-lisp): Use split-string instead of
6882 inferior-lisp-args-to-list.
6884 * hexl.el (hexl-insert-hex-string): New command.
6886 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
6889 2000-04-18 Gerd Moellmann <gerd@gnu.org>
6891 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
6892 at the start of an existing but empty folder.
6894 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6896 * ps-mule.el: Customization fix, doc fix.
6897 (ps-multibyte-buffer): Customization fix.
6899 2000-04-17 Richard M. Stallman <rms@gnu.org>
6901 * subr.el (read-passwd): Use read-char-exclusive.
6903 2000-04-17 Gerd Moellmann <gerd@gnu.org>
6905 * textmodes/texinfo.el (texinfo-insert-@email)
6906 (texinfo-insert-@emph, texinfo-insert-@quotation)
6907 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
6908 (texinfo-mode-map): Add key bindings for them.
6910 * files.el (basic-save-buffer-2): Use a template with `$'
6911 instead of `#' for VMS.
6913 * simple.el (clone-indirect-buffer): New function.
6915 2000-04-16 Stephen Eglen <stephen@gnu.org>
6917 * iswitchb.el (iswitchb-case): New function. If the user input
6918 contains any upper-case characters, the search is made
6921 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
6923 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
6925 (texinfo-font-lock-syntactic-keywords): New var.
6926 (texinfo-font-lock-keywords): Remove comment regexp.
6927 (texinfo-insert-block): New function.
6928 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
6929 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
6930 and font-lock-defaults. Use regexp-opt for outline-regexp.
6931 (texinfo-environments): New var.
6932 (texinfo-environment-regexp): Use regexp-opt and
6933 texinfo-environments.
6935 * textmodes/ispell.el (ispell-menu-map-needed): Check that
6936 ispell-process is bound since this might be eval'd before ispell
6938 (ispell-message): Use a tiny bit less magic and a bit more hard
6939 data to figure out what kind of sc-cite-regexp to use.
6941 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
6943 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
6944 (insert-cyclic-diary-entry): Unquote the lambda.
6946 * gud.el (gud-jdb-build-source-files-list): Fix typo.
6948 * files.el (backup-enable-predicate): Unquote the lambda.
6950 * cus-edit.el (custom-face, face): Unquote the lambda.
6952 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6954 * ps-print.el: Check for line-beginning-position definition.
6956 * ps-print.el: Fix counting lines in a region.
6957 (ps-print-version): New version number (5.1.5).
6958 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
6959 (ps-printing-region): Fun code fix.
6961 2000-04-15 Gerd Moellmann <gerd@gnu.org>
6963 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
6964 to file-directory-p.
6966 2000-04-14 Gerd Moellmann <gerd@gnu.org>
6968 * gud.el (gud-jdb-build-source-files-list): Check that directory
6969 exists before calling directory-files.
6971 2000-04-13 Dave Love <fx@gnu.org>
6973 * emacs-lisp/trace.el: Change maintainer. Use new backquote
6976 * emacs-lisp/cl-specs.el: Remove when, unless.
6978 * emacs-lisp/cl-extra.el: Don't quote keywords.
6979 (cl-old-mapc): New variable.
6981 (cl-map-intervals): Use with-current-buffer. Don't check for
6982 next-property-change.
6983 (cl-map-overlays): Use with-current-buffer.
6985 (copy-tree, remprop): Define unconditionally.
6987 * emacs-lisp/cl-compat.el (keywordp): Remove.
6989 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
6991 (edebug-spec): Enable keywordp.
6993 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
6996 * cus-start.el: Use keywordp.
6998 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
7000 * diary-lib.el (include-other-diary-files): Fix the fix of
7001 2000-02-18 by doing a save-excursion.
7003 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7005 * ps-print.el: Customization fix, doc fix.
7006 (ps-print-version): New version number (5.1.4).
7007 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
7008 (ps-print-preprint): Adjust code.
7009 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
7010 (ps-print-prologue-header, ps-print-control-characters)
7011 (ps-spool-config): Customization fix.
7013 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
7015 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
7016 converted to the new menu-item format, names silightly changed,
7019 Support for spelling without async subprocesses:
7021 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
7022 (ispell-session-buffer): New variables.
7023 (ispell-start-process, ispell-process-status,
7024 ispell-accept-output, ispell-send-string): New functions, for
7025 Ispell invocation when async subprocesses aren't supported.
7026 (ispell-word, ispell-pdict-save, ispell-command-loop,
7027 ispell-process-line, ispell-buffer-local-parsing): Replace calls
7028 to process-send-string with calls to ispell-send-string, and
7029 accept-process-output with ispell-accept-output.
7030 (ispell-init-process): Call ispell-process-status instead of
7031 process-status with.
7032 (ispell-init-process): Call ispell-start-process. Call
7033 ispell-accept-output and ispell-send-string. Don't call
7034 process-kill-without-query and kill-process if they are unbound.
7035 (ispell-async-processp): New function.
7037 2000-04-12 Dave Love <fx@gnu.org>
7039 * info.el: Add debug-ignored-errors.
7040 (Info-mode-menu): Add some items.
7041 (Info-directory): Add autoload cookie.
7043 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
7044 Modify `truncate-lines'. Make `describe-language-environment'
7045 always visible and add help. Modify `describe-key' help. Invoke
7046 Info-directory from `info'. New entry `emacs-manual'.
7048 2000-04-10 Gerd Moellmann <gerd@gnu.org>
7050 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
7051 propertized-buffer-identification.
7052 (ebrowse-update-member-buffer-mode-line): Likewise.
7053 (ebrowse--mode-strings): Removed.
7054 (ebrowse--mode-line-props): Removed.
7056 * files.el (auto-mode-alist): Add `EBROWSE'.
7058 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
7059 space before testing for end of buffer.
7060 (ebrowse-load): Removed.
7061 (ebrowse-revert-tree-buffer-from-file): Rewritten.
7062 (ebrowse-create-tree-buffer): Rewritten.
7063 (ebrowse-tree-mode): Read tree from buffer.
7065 * progmodes/ebrowse-ffh.el: Removed.
7067 2000-04-10 Kenichi Handa <handa@etl.go.jp>
7069 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
7071 2000-04-10 Gerd Moellmann <gerd@gnu.org>
7073 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
7076 2000-04-09 Dave Love <fx@gnu.org>
7078 * files.el (backup-enable-predicate): Use
7079 temporary-file-directory, small-temporary-file-directory.
7080 (make-backup-file-name-function, backup-directory-alist): New
7082 (make-backup-file-name-1): New function.
7083 (make-backup-file-name): Use it.
7084 (find-backup-file-name): Likewise. Use format for clarity, not
7086 (file-newest-backup): Use make-backup-file-name.
7088 2000-04-09 Gerd Moellmann <gerd@gnu.org>
7090 * progmodes/ebrowse-ffh.el: New file.
7092 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
7094 (ebrowse-load): Add autoload.
7096 * finder.el (finder-commentary): Add autoload cookie.
7098 * mail/rfc2368.el: Correct author's email address.
7100 * progmodes/ebrowse.el: New file.
7102 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
7104 (easy-menu-do-add-item): Ditto.
7105 (easy-menu-define): Extend doc string.
7107 * jit-lock.el (with-buffer-unmodified): Use
7108 restore-buffer-modified-p.
7109 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
7110 (jit-lock-function, jit-lock-stealth-fontify): Don't use
7111 with-buffer-unmodified.
7113 2000-04-08 Dave Love <fx@gnu.org>
7115 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
7118 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
7120 * viper-util.el (viper-put-on-search-overlay): New subroutine.
7121 (viper-flash-search-pattern): No operation when using Emacs
7122 doesn't support face.
7123 Use `viper-put-on-search-overlay'.
7125 2000-04-04 Gerd Moellmann <gerd@gnu.org>
7127 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
7130 * progmodes/make-mode.el: Some doc fixes.
7131 (makefile-mode-abbrev-table): New variable.
7132 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
7133 (makefile-font-lock-keywords): Fontify includes and conditionals.
7134 (toplevel): Require `dabbrev' and `add-log' when compiling.
7136 * replace.el (perform-replace): Don't move forward one char
7137 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
7138 to do that because it leaves point 1 position after the last
7139 replacement, after everything has been replaced.
7141 * jit-lock.el (with-buffer-unmodified): New macro.
7142 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
7144 (jit-lock-function-1): Extracted from jit-lock-function; not
7145 preserving buffer's modified state.
7146 (jit-lock-function, jit-lock-stealth-fontify): Call
7147 jit-lock-function-1.
7149 * mail/rfc2368.el: Remove supernumerary copyright line.
7151 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
7153 * glasses.el: Provide facilities for inserting space before left
7154 parentheses and uncapitalization of identifiers.
7155 (glasses-mode): Try to remove old overlays in all cases.
7157 2000-04-03 Gerd Moellmann <gerd@gnu.org>
7159 * progmodes/compile.el (compile-internal): Display the compilation
7160 buffer in a different frame, if it's already displayed there.
7162 * mail/rfc2368.el: New file.
7164 * simple.el (sendmail-user-agent-compose): Recognize a `body'
7165 header and insert its value as mail body.
7167 * subr.el (member-ignore-case): New function.
7169 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
7170 (dabbrev--find-expansion): Ignore buffers matching a regexp
7171 from dabbrev-ignored-regexps.
7173 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
7174 to extensions handled by gzip.
7176 2000-04-03 Richard M. Stallman <rms@gnu.org>
7178 * files.el (insert-directory): List the total free space
7179 along with the used space.
7181 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
7182 line is followed by one that matches CITATION-REGEXP, end the
7185 2000-04-03 Markus Rost <rost@delysid.gnu.org>
7187 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
7188 (rmail-make-basic-summary-line): Use that option.
7190 2000-04-03 Kenichi Handa <handa@etl.go.jp>
7192 * international/mule-cmds.el (encoded-string-description):
7193 Rewritten. Try pretty description for ISO 2022 escape sequences
7194 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
7195 for hexadecimal format.
7197 2000-04-01 Dave Love <fx@gnu.org>
7199 * cpp.el: Change customization group to `c' from `C'.
7201 * vcursor.el (vcursor-move): Use display-color-p.
7203 * international/mule-util.el: Provide mule-utils.
7204 (string-to-sequence): Simplify and speed up.
7206 * international/mule.el (make-coding-system): Purecopy doc-string.
7208 * international/mule-cmds.el: Various menu changes.
7209 (describe-specified-language-support): Handle `Default'.
7210 (set-language-info): Purecopy `info'.
7212 2000-03-31 Andrew Innes <andrewi@gnu.org>
7214 * vc.el (vc-backend-diff): Return the correct status if we had to
7215 retry the rcsdiff command without the --brief option.
7217 2000-03-31 Dave Love <fx@gnu.org>
7219 * help.el (help-manyarg-func-alist): Correct several omissions.
7221 * add-log.el: Don't require cl, fortran.
7222 (add-log-current-defun-function): Doc fix.
7223 (change-log-version-number-regexp-list): Remove SCCS part. Doc
7225 (change-log-version-rcs): Function deleted.
7226 (change-log-version-number-search): Doc fix. Use
7227 vc-workfile-version. Avoid CL dolist.
7228 (add-change-log-entry): Just call add-log-current-defun to get
7229 defun. Simplify somewhat.
7230 (change-log-get-method-definition-1): Likewise.
7231 (add-log-current-defun): Return nil if calling
7232 add-log-current-defun-function does so. Move Fortran stuff to
7233 fortran.el. Return string without properties.
7235 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
7236 and :alpha: char classes.
7238 * mail/supercite.el: Defvar curline when compiling.
7239 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
7240 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
7241 rather than a-zA-Z0-9 to allow non-ASCII characters.
7243 2000-03-31 Gerd Moellmann <gerd@gnu.org>
7245 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
7247 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7250 * lpr.el (print-region-1): Use -d to specify printer name for
7251 systems `usg-unix-v*, `dgux', `hpux', `irix'.
7253 2000-03-31 Dave Love <fx@gnu.org>
7255 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
7256 for function definition in symbol's function value slot first
7257 instead of first consulting byte-compile-function-environment.
7259 2000-03-31 Kenichi Handa <handa@etl.go.jp>
7261 * language/european.el ("Polish"): New language environment.
7262 (setup-polish-environment): New function.
7264 2000-03-30 Gerd Moellmann <gerd@gnu.org>
7266 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7269 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
7270 trying to `load' the symbol of an autoload instead of the file
7271 recorded in the autoload. Fix error messages.
7273 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7275 * ps-print.el: PostScript programming fix for ghostview, doc fix.
7276 (ps-print-version): New version number (5.1.3).
7277 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
7278 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
7279 (ps-generate-postscript-with-faces): Code fix.
7280 (ps-color-values): XEmacs compatibility.
7281 (ps-print-background-image, ps-print-background-text, ps-printer-name)
7282 (ps-default-fg, ps-default-bg): Adjust customization.
7283 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
7284 (ps-color-scale): Renaming old ps-color-value fun.
7285 (ps-print-headers): Replace ps-print-header group to avoid conflict
7286 with ps-print-header variable.
7287 (ps-print-miscellany): New group.
7288 (ps-format-color, ps-rgb-color): New funs.
7289 (ps-default-foreground): New var.
7290 (ps-printer-name-option): New const.
7292 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
7295 (network-connection-host, network-connection-service): New variables
7296 (network-connection-mode): New mode, derived from comint-mode
7297 (network-connection-mode-setup): New function, saves host and
7298 service information in local variables.
7301 (locate-word-at-point): Added this function
7302 (locate): Default to using locate-word-at-point as input
7305 2000-03-29 Dave Love <fx@gnu.org>
7307 * calendar/appt.el: Doc fixes.
7308 (appt-check): Convert min-to-app to a string before passing to
7309 appt-disp-window-function or concat.
7310 (appt-delete-window): Remove test for frame-root-window.
7311 (appt-select-lowest-window, appt-convert-time): Simplify.
7313 * emacs-lisp/bytecomp.el: Doc fixes.
7314 (byte-compile-file-form-autoload): Update
7315 byte-compile-function-environment.
7317 2000-03-29 Andreas Schwab <schwab@suse.de>
7319 * emacs-lisp/autoload.el: Also print defsubst doc string
7322 * dired.el (dired-insert-directory): If dired-free-space-program
7323 failed just delete its output.
7325 2000-03-29 Dave Love <fx@gnu.org>
7327 * international/iso-cvt.el: Move provide to end. Doc fixes.
7328 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
7329 (iso-iso2sgml, iso-sgml2iso): New functions.
7330 (iso-cvt-define-menu): Fix some entries and use backquote for
7333 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
7335 2000-03-28 Gerd Moellmann <gerd@gnu.org>
7337 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
7338 ISO-DATE. If non-nil, return date in ISO 8601 format.
7340 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
7342 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
7343 if it ever becomes used.
7344 (log-edit-mode-hook): Default to vc-log-mode-hook.
7345 (log-edit-mode): Fix the docstring.
7347 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
7350 2000-03-26 Dave Love <fx@gnu.org>
7352 * net/browse-url.el (browse-url): Re-fix case of
7353 browse-url-browser-function being an alist.
7354 (browse-url): Add :link to defgroup.
7356 * files.el: Doc fixes.
7357 (file-truename): Include `[' in wildcard characters.
7358 (automount-dir-prefix): Customize.
7359 (find-file-wildcards): Add :version.
7360 (find-file-noselect): Simplify a mapcar call.
7362 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
7363 compatible with inf-lisp version.
7364 (eval-defun-1): Fix custom-declare-variable case.
7366 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
7368 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
7370 2000-03-24 Gerd Moellmann <gerd@gnu.org>
7372 * Makefile (COMPILE_FIRST): New macro.
7373 (compile-files): Compile files from COMPILE_FIRST first.
7375 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
7378 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
7379 matching open parenthesis in column 0 to defun-prompt-regexp
7380 only if open-paren-in-column-0-is-defun-start is set.
7382 * sun-curs.el: Require CL at compile-time only.
7384 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
7385 instead of copy-list which is a function from CL.
7386 (msb--choose-menu, msb--mode-menu-cond)
7387 (msb--create-buffer-menu-2): Use dolist instead of mapc.
7388 (msb--init-file-alist): Use mapcar instead of mapcan.
7389 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
7390 `(' in column 0 in doc string.
7391 (msb--add-separators): Use mapcar instead of mapcan.
7393 * cus-dep.el: Require CL at compile-time only.
7395 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
7397 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
7398 (byte-compile-warnings): New warning `noruntime'.
7399 (byte-compile-constants, byte-compile-variables): Fix docstring.
7400 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
7401 execute `eval-whenc-compile's body.
7402 (byte-compile-unresolved-functions): Fix docstring.
7403 (byte-compile-eval): New function.
7404 (byte-compile-callargs-warn): Check if the function will be available
7405 at runtime (via property `byte-compile-noruntime').
7406 (byte-compile-print-syms): New function.
7407 (byte-compile-warn-about-unresolved-functions): Also warn about
7408 `noruntime' functions (and use `byte-compile-print-syms').
7409 (byte-compile-file): Capitalize the message.
7411 2000-03-24 Gerd Moellmann <gerd@gnu.org>
7413 * mail/rmail.el (rmail-confirm-expunge): New user-option.
7414 (rmail-expunge): Ask for confirmation depending on the setting
7415 of rmail-confirm-expunge.
7417 2000-03-23 Gerd Moellmann <gerd@gnu.org>
7419 * Makefile (bootstrap-clean): If $(emacs) exists, build
7420 loaddefs.el first. A loaddefs.el that's not up-to-date might
7421 cause a bootstrap failure because things don't autoload as
7424 2000-03-23 Dave Love <fx@gnu.org>
7426 * net/browse-url.el: Restore previous use of
7427 browse-url-maybe-new-window.
7429 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7431 * ps-print.el: Skip banner page fix.
7432 (ps-print-version): New version number (5.1.2).
7433 (ps-begin-file, ps-end-file, ps-generate): Code fix.
7435 2000-03-23 Dave Pearson <davep@davep.org>
7437 * net/quickurl.el Changed the type of parameter passed to the
7438 function defined by `quickurl-format-function'. Before only the
7439 text of the URL was passed. Now the whole URL structure is passed
7440 and the function is responsible for extracting the parts it
7441 requires. Changed the default of `quickurl-format-function'
7443 (quickurl-insert): Changed the `funcall' of
7444 `quickurl-format-function' to match the above change.
7445 (quickurl-list-insert): Changed the `url' case so that it makes
7446 use of `quickurl-format-function', previous to this the format was
7449 2000-03-22 Gerd Moellmann <gerd@gnu.org>
7451 * startup.el: Change some spellings for the X Window System.
7453 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
7455 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
7456 up the code and the regexp and make sure the cursor is temporarily
7457 moved to the suspicious line while querying the user.
7459 2000-03-22 Jason Rumney <jasonr@gnu.org>
7461 * w32-fns.el (w32-charset-info-alist): Initialize.
7463 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7465 * ps-print.el: N-up last page fix.
7466 (ps-print-version): New version number (5.1.1).
7467 (ps-end-file, ps-end-job, ps-generate): Code fix.
7469 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
7471 * files.el (find-file-run-dired): Update docstring.
7472 (find-directory-functions): New hook.
7473 (find-file-noselect): Run find-directory-functions rather than
7474 calling dired directly.
7476 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
7478 * pcvs.el: Add a minimal leading commentary.
7479 (cvs-make-cvs-buffer): Change the header part by removing the startup
7480 message and adding a `Module' entry. Also replace the FOOTER and
7481 HEADER special fileinfos with the new support in ewoc for updating
7482 its own footer and header.
7483 (cvs-update-header): Update to use the header/footer of the ewoc.
7484 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
7485 (cvs-is-within-p): New function.
7486 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
7487 to only examine some subset of the buffers.
7489 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
7490 `format' instead of our own ad-hoc functions.
7491 Remove HEADER and FOOTER cases, now handled in the EWOC.
7492 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
7494 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
7495 output to avoid scaring the user.
7496 (cvs-parse-table): Catch message for non-up-to-date commits.
7498 * pcvs-defs.el (cvs-startup-message): Remove.
7499 (cvs-global-menu): New autoloaded menu.
7501 * pcvs-util.el (cvs-string-fill): Remove.
7503 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
7504 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
7505 PP part of it and also make it work for footers and headers.
7506 (ewoc-create): Drop POS and BUFFER arguments.
7507 Use the DLL's dummy node to store the end-of-footer position.
7508 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
7509 (ewoc-refresh): Remove unused `header' variable.
7510 (ewoc-(get|set)-hf): New functions.
7512 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
7513 log-view-*-(message|file) and use easy-mmode-define-navigation.
7514 (log-view-message-re): Match SCCS format as well.
7515 And match the revision line rather than the dashed separator line.
7516 (log-view-mode): Use the new define-derived-mode.
7517 (log-view-current-tag): Fill in with an actual implementation.
7519 * cvs-status.el (cvs-status-(prev|next)): Rename from
7520 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
7521 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
7522 to let the output "breathe" a little more (more readable).
7523 (cvs-status-mode): Use the new define-derived-mode.
7525 * smerge-mode.el (smerge-auto-leave): New function and variable.
7526 (smerge-basic-map): Rename from smerge-basic-keymap.
7527 Change the bindings for smerge-diff-*.
7528 (smerge-*-map): Use easy-mmode-defmap.
7529 (smerge-(next|prev)): Use easy-mmode-define-navigation.
7530 (smerge-keep-*): Use smerge-auto-leave.
7532 2000-03-21 Jason Rumney <jasonr@gnu.org>
7534 * cus-edit.el (custom-button-face): Use 3D look for w32.
7535 (custom-button-pressed-face): Likewise.
7537 2000-03-21 Gerd Moellmann <gerd@gnu.org>
7539 * progmodes/etags.el (tags-case-fold-search): New user-option.
7540 (tags-loop-eval): New function. Bind case-fold-search around eval
7541 depending on the value of tags-case-fold-search.
7542 (tags-loop-continue): Use tags-loop-eval.
7543 (find-tag-in-order): Bind case-fold-search depending on the value
7544 of tags-case-fold-search.
7546 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
7548 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
7549 (diff-end-of-hunk): Return the end position for use in
7550 `easy-mmode-define-navigation'.
7551 (diff-recenter): Remove.
7552 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
7553 of `easy-mmode-define-navigation'.
7554 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
7555 previous renaming) and fix to use new names.
7556 (diff-merge-strings): Use \n as separator: simpler, faster.
7557 (diff-mode): Use `define-derived-mode'.
7559 * derived.el (define-derived-mode): Don't autoload anymore.
7560 Prefer the macro-only version provided by easy-mmode.el.
7562 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
7563 `easy-mmode-define-derived-mode'.
7564 Use `combine-run-hooks'.
7565 (easy-mmode-define-navigation): New macro.
7567 * subr.el (combine-run-hooks): New function.
7569 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
7571 * term/x-win.el: Fontsets related initialization is simplified.
7573 * international/mule-diag.el (describe-font): Don't refer to
7574 global-fontset-alist, instead call font-list.
7575 (describe-fontset, list-fontsets, mule-diag): Likewise.
7576 (print-fontset): Adjusted for the change of fontset
7579 * international/fontset.el (x-charset-registries): Variable
7580 removed, instead the corresponding data is stored in the default
7582 (register-alternate-fontnames): Function removed.
7583 (resolved-ascii-font): Variable removed.
7584 (x-compose-font-name): Ignore the second argument REDOCE.
7585 (x-complement-fontset-spec): Complement only an ASCII font and
7586 element for those charsets than can use that ASCII font.
7587 (generate-fontset-menu): Don't refer to global-fontset-alist,
7588 instead call fontset-list.
7589 (uninstantiated-fontset-alist): Variable removed.
7590 (x-style-funcs-alist): Likewise.
7591 (fontset-default-styles): Likewise.
7592 (x-modify-font-name): Function removed.
7593 (create-fontset-from-fontset-spec): Ignore the argument
7595 (create-fontset-from-ascii-font): Docsting adjusted for the above
7597 (instantiate-fontset, resolve-fontset-name): Functions removed.
7598 (fontset-list): Now implemented by C code.
7600 * faces.el (read-face-font): Fix TABLE arg to completing-read.
7601 (describe-face): Include `font' attribute in the description.
7603 2000-03-21 Kenichi Handa <handa@etl.go.jp>
7605 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
7607 2000-03-20 Gerd Moellmann <gerd@gnu.org>
7609 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
7610 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
7611 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
7613 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
7614 about behavior of set-buffer-modified-p wrt redisplay.
7616 2000-03-19 Richard M. Stallman <rms@gnu.org>
7618 * view.el (view-mode-disable): Kill local binding of view-read-only.
7620 2000-03-18 Gerd Moellmann <gerd@gnu.org>
7622 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
7623 is a string, convert it to a syntax cell using string-to-syntax.
7625 * simple.el (syntax-code-table, syntax-flag-table): New variables.
7626 (string-to-syntax): New function.
7628 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
7629 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
7630 try to use passive ftp mode.
7632 2000-03-17 Gerd Moellmann <gerd@gnu.org>
7634 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
7636 * simple.el (append-to-buffer): Update point of windows after
7639 * abbrev.el (inverse-add-abbrev): Identify word by first moving
7640 forward then moving backward. Reindent.
7642 * frame.el (other-frame): Call x-focus-frame only if
7643 focus-follows-mouse is off.
7645 2000-03-17 Dave Love <fx@gnu.org>
7647 * pcvs-util.el (cvs-strings->string): Rename
7648 replace-regexps-in-string.
7650 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
7652 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
7653 regexp for labels cannot span several lines.
7655 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
7656 `(setq :<key> ':<key>)' to the macro expansion.
7658 2000-03-16 Dave Love <fx@gnu.org>
7660 * progmodes/f90.el (f90): Put custom group under `languages', not
7662 (f90-mode-hook): Customize.
7663 (f90-mode): Set add-log-current-defun-function.
7664 (f90-current-defun): New function.
7666 2000-03-16 Gerd Moellmann <gerd@gnu.org>
7668 * cus-edit.el (custom-variable-tag-face): Handle case that
7669 default face's height is not a number.
7670 (custom-face-tag-face, custom-group-tag-face-1)
7671 (custom-group-tag-face): Ditto.
7672 (custom-group-tag-face-1): Add :group.
7674 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
7676 2000-03-15 Gerd Moellmann <gerd@gnu.org>
7678 * pcvs-defs.el (toplevel): Remove autoload cookie for form
7681 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7683 * ps-print.el: PostScript user-defined prologue, PostScript error
7685 (ps-print-version): New version number (5.1).
7686 (ps-user-defined-prologue, ps-error-handler-message)
7687 (ps-print-prologue-0, ps-error-handler-alist): New vars.
7688 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
7689 (ps-insert-string): New function.
7691 2000-03-15 Kenichi Handa <handa@etl.go.jp>
7693 * international/ccl.el (ccl-compile-expression): Don't generate
7694 invalid self-assignment code.
7696 2000-03-14 Dave Love <fx@gnu.org>
7698 * subr.el (replace-regexp-in-string): Renamed from
7699 replace-regexps-in-string. Doc fix.
7701 2000-03-12 Dave Love <fx@gnu.org>
7703 * cus-edit.el: Doc fixes.
7704 (customize-set-variable, customize-save-variable): Rename args for
7706 (custom-variable-tag-face, custom-face-tag-face)
7707 (custom-group-tag-face-1, custom-group-tag-face): Modify from
7708 style which user identify as hyperlink.
7709 (hook): Don't add undefined functions to the hook.
7710 (debug-ignored-errors): Transfer message from bindings.el.
7712 2000-03-12 Gerd Moellmann <gerd@gnu.org>
7714 * recentf.el (recentf-keep-non-readable-files-p): Remove
7715 double/nested definition.
7717 2000-03-12 Dave Love <fx@gnu.org>
7719 * facemenu.el (facemenu-get-face): Use display-color-p.
7720 * enriched.el (enriched-decode-foreground): Likewise.
7721 (enriched-decode-background): Likewise.
7722 * isearch.el (isearch-highlight): Likewise.
7723 * info-look.el (info-lookup): Likewise.
7724 * simple.el (completion-setup-function): Likewise.
7726 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
7729 * bindings.el (mode-line-format): Fix line-number and
7730 column-number items. Add help-echo for the background.
7731 (mode-line-mule-info): Modify help-echo.
7733 * avoid.el (mouse-avoidance-mode): Add autoload cookie to
7736 * files.el (load-file): Allow completion to .elc.
7738 * man.el: Doc fixes.
7739 (Man-init-defvars): Use display-color-p to set fontification.
7741 * play/hanoi.el (hanoi-internal): Don't use oddp.
7743 2000-03-12 Gerd Moellmann <gerd@gnu.org>
7745 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
7747 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
7749 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
7751 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
7754 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
7756 * font-lock.el (font-lock-keywords): Fix the doc now that
7757 regexp-opt-depth is unnecessary.
7758 (save-buffer-state): Set an edebug spec.
7759 (font-lock-fontify-anchored-keywords): Properly handle the case when
7760 the matcher goes past the limit.
7762 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
7763 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
7765 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
7766 dll.el and cookie.el (from Elib) with heavy renaming and other
7769 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
7770 Autoload the functions used.
7771 (easy-mmode-define-syntax): Fix CL typo.
7772 (easy-mmode-define-derived-mode): Improve the docstring generation.
7774 2000-03-10 Gerd Moellmann <gerd@gnu.org>
7776 * textmodes/texinfo.el (texinfo-version): Variable and function
7779 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
7781 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
7782 allow more flexibility.
7783 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
7785 (easy-mmode-defmap, easy-mmode-defsyntax)
7786 (easy-mmode-define-derived-mode): New macros.
7788 2000-03-09 Didier Verna <didier@xemacs.org>
7790 * rect.el (replace-rectangle): New function.
7792 2000-03-09 Dave Love <fx@gnu.org>
7794 * progmodes/fortran.el (fortran-comment-line-start): Define as
7796 (fortran-comment-line-start-skip): Don't match cpp stuff.
7797 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
7798 (fortran-mode-map): Remove over-eager custom-menu-create for now.
7799 (fortran-mode): Don't set fortran-comment-line-start-skip,
7800 fortran-comment-line-start here. Set comment-start,
7801 add-log-current-defun.
7802 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
7803 (fortran-current-defun): New function.
7805 2000-03-09 Gerd Moellmann <gerd@gnu.org>
7807 * emacs-lisp/re-builder.el: New file.
7809 * mouse.el (mouse-drag-region): Don't run up-event handler
7810 if hscroll has changed.
7812 * octave-mod.el (octave-font-lock-keywords): To font-lock the
7813 builtin operators, use `font-lock-builtin-face' for Emacs and
7814 `font-lock-preprocessor-face' otherwise.
7816 * font-lock.el (lisp-font-lock-keywords-1): Highlight
7817 `(defun (setf foo)' differently.
7819 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
7821 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
7822 (regexp-opt): Update comment and adapt the code the new meaning of
7823 the `paren' argument of regex-opt-group for shy-groups.
7824 (regexp-opt-depth): Handle shy groups as well as backslashed
7826 (regexp-opt-group): Turn the leading comment into a docstring.
7827 Allow `paren' to be a string (the string to use to open a group).
7828 Remove open-presuf and close-presuf. Instead of checking for `all
7829 one-char' and then later on check for `several one-char', handle
7830 both cases close together. Also apply a more generic algorithm
7831 for suffixes (the mirror image of the algorithm used for
7832 prefixes). Use shy-groups. Use nreverse rather than reverse.
7833 (regexp-opt-try-suffix): Removed.
7835 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
7836 from comint-mode-map, so we can just inherit from it. Also, move
7837 the initialization into the `defvar' since there's no docstring
7838 anyway and it's fairly short.
7839 (inferior-scheme-mode): Define it as derived-mode: the code is
7840 shorter and this way we inherit from comint-mode-map rather than
7843 * subr.el (replace-regexps-in-string): Properly handle the case
7844 where we match an empty string.
7846 * comint.el (comint-exec-1): Add the current-dir to the exec-path
7847 when the command has a directory component (such as "./testml").
7848 Also fix a typo in the comment.
7850 2000-03-08 Gerd Moellmann <gerd@gnu.org>
7852 * Makefile (compile-files): Compile files one by one because
7853 that's the only way to ensure a clean compilation environment for
7854 each individual file.
7856 * frame.el (other-frame): Call x-focus-frame.
7858 2000-03-07 Dave Love <fx@gnu.org>
7860 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
7861 :require to defcustom.
7863 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
7866 * files.el (auto-mode-alist): Add configure.in.
7868 * progmodes/autoconf.el: New file.
7870 2000-03-07 Gerd Moellmann <gerd@gnu.org>
7872 * mail/mh-e.el: Change maintainer to `none'.
7874 * recentf.el (recentf-keep-non-readable-files-p): Quote args
7875 to remove-hook and add-hook.
7877 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
7879 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
7881 (mail-send): Test mail-send-nonascii also for the new `mime' value.
7882 (sendmail-send-it): Conditionally add MIME headers specifying the
7885 2000-03-07 Dave Love <fx@gnu.org>
7887 * winner.el: Fix keywords, autoload cookies. Split
7888 eval-when-compile form to avoid compilation failure.
7890 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
7892 * international/mule.el: Modify comment about coding system
7893 property `coding-category'.
7894 (make-coding-system): New argument EOL-TYPE. Pay attention to
7895 coding-category property of PROPERTIES.
7897 * international/mule-conf.el (coding-category-utf-8,
7898 coding-category-utf-16-be, coding-category-utf-16-le): New coding
7899 categories. Include them in the argument for set-coding-priority.
7901 * international/mule-cmds.el (reset-language-environment): Include
7902 coding-category-utf-8, coding-category-utf-16-be, and
7903 coding-category-utf-16-le in the argument for set-coding-priority.
7904 (reset-language-environment): Initialize coding-category-utf-8,
7905 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
7907 2000-03-06 Karl Fogel <kfogel@red-bean.com>
7909 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
7910 code abstracted out of `bookmark-jump-noselect'. Now tries info
7911 extensions as well as compression extensions.
7912 (bookmark-jump-noselect): Use above new func.
7914 2000-03-03 Gerd Moellmann <gerd@gnu.org>
7916 * strokes.el: Change maintainer's mail address.
7918 2000-03-03 Kenichi Handa <handa@etl.go.jp>
7920 * international/mule-diag.el (list-character-sets): Make help-echo
7921 string by substitute-command-keys.
7922 (list-character-sets): Likewise.
7923 (sort-listed-character-sets): Call help-setup-xref.
7925 2000-03-02 Gerd Moellmann <gerd@gnu.org>
7927 * time.el (display-time-mail-file): Add `none' to the list of
7930 2000-03-01 Dave Love <fx@gnu.org>
7932 * help.el (help-xref-go-back): Don't try to set position.
7934 * international/mule-diag.el (list-character-sets): Call
7935 help-setup-xref. Add help-echo to xrefs.
7936 (list-character-sets-1): Add help-echo to xrefs.
7938 2000-03-02 Gerd Moellmann <gerd@gnu.org>
7940 * frame.el (blink-cursor-mode): Switch cursor on when turning
7943 * add-log.el (add-log-current-defun): Add support for
7946 * mail/rmail.el (rmail-quit-hook): New variable.
7948 2000-03-01 Dave Love <fx@gnu.org>
7950 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
7952 * help.el (help-xref-button): Add help-echo arg.
7953 (describe-function-1, describe-variable, help-make-xrefs): Use it.
7955 * faces.el (list-faces-display): Supply help-echo with
7958 * facemenu.el (list-text-properties-at): Set help-xref-stack to
7961 2000-03-01 Gerd Moellmann <gerd@gnu.org>
7963 * image.el (defimage): Look for image files in load-path.
7965 * frame.el (busy-cursor-delay-seconds): Change type to
7968 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
7970 * recentf.el (recentf): Added version tag to the defgroup of
7973 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
7975 * recentf.el (recentf-cleanup): Changed to remove excluded file
7977 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
7978 action to select/unselect a file.
7979 (recentf-edit-list): Code cleanup and improvement.
7980 (recentf-open-more-files-action): `recentf-open-more-files' button
7981 widget action to open a file.
7982 (recentf-open-more-files): No more use standard completion but
7984 (recentf-more-collection): Deleted.
7985 (recentf-more-history): Deleted.
7986 (recentf-setup-more-completion): Deleted.
7988 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
7990 * recentf.el (recentf-mode): No more needs that Emacs is running
7991 under a window-system.
7993 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
7995 * recentf.el (recentf-edit-list): New command to edit the recent
7996 list which allow the user to remove files.
7997 (recentf-edit-selected-items): New global variable, used by
7998 `recentf-edit-list' to hold the list of files to be removed from
8000 (recentf-make-menu-items): Updated to display a "Edit list..."
8001 menu item. Minor code cleanup.
8003 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8005 * recentf.el (recentf-open-more-files): New command to open files
8006 that are not displayed in the menu.
8007 (recentf-more-collection): New global variable holding the set of
8008 permissible completions used by `recentf-open-more-files'.
8009 (recentf-more-history): New global variable holding the history list
8010 used by `recentf-open-more-files' completion.
8011 (recentf-setup-more-completion): New function to setup completion for
8012 `recentf-open-more-files'.
8013 (recentf-make-menu-items): Updated to display a "More..." menu item.
8015 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8017 * recentf.el (recentf-menu-action): Doc fixed.
8019 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8021 * recentf.el (recentf-menu-filter): Doc updated.
8022 (recentf-update-menu-hook): Allow menu filters to force menu update.
8023 (recentf-make-menu-items): New menu filter handling.
8024 (recentf-make-menu-item): New helper function.
8025 (recentf-menu-elements): New menu handling function.
8026 (recentf-sort-ascending): Updated to new menu filter handling.
8027 (recentf-sort-descending): Updated to new menu filter handling.
8028 (recentf-sort-basenames-ascending): New menu filter function.
8029 (recentf-sort-basenames-descending): New menu filter function.
8030 (recentf-show-basenames): New menu filter function.
8031 (recentf-show-basenames-ascending): New menu filter function.
8032 (recentf-show-basenames-descending): New menu filter function.
8034 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
8036 * diary-lib.el (list-diary-entries): Don't try to go forward at
8037 the end of the buffer.
8039 2000-02-29 Kenichi Handa <handa@etl.go.jp>
8041 * international/mule-diag.el (list-character-sets): Completely
8043 (sort-listed-character-sets): New function.
8044 (list-character-sets-1): Completely rewritten.
8045 (list-character-sets-2): New function.
8046 (non-iso-charset-alist): New variable.
8047 (decode-codepage-char): New function.
8048 (charset-history): New variable.
8049 (read-charset) (list-block-of-chars)
8050 (list-iso-charset-chars)
8051 (list-non-iso-charset-chars)
8052 (list-charset-chars): New functions.
8053 (mule-diag): Call list-character-sets-2, not
8054 list-character-sets-2.
8055 (dump-charsets): Likewise.
8057 2000-02-29 Gerd Moellmann <gerd@gnu.org>
8059 * dired-x.el (dired-filename-at-point): Add `@' to valid
8060 file name characters.
8061 (dired-filename-at-point): Handle ange-ftp file names.
8063 * frame.el (frame-notice-user-settings): Use assq-delete-all
8064 instead of assoc-delete-all.
8065 (frame-notice-user-settings): Ditto.
8067 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
8070 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
8072 * calculator.el (calculator-use-menu): New option.
8073 (calculator-initial-bindings): Changed some bindings to work as
8075 (calculator-forced-input): Removed.
8076 (calculator-restart-other-mode): New variable.
8077 (calculator-mode-map): Set up menu.
8079 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
8081 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
8084 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
8086 * viper-cmd.el (viper-envelop-ESC-key): added the option to
8087 translate all ESC key sequences.
8088 (viper-goto-mark-subr): restore markers for files for which
8090 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
8091 * viper-util.el (viper-set-replace-overlay-glyphs,
8092 viper-set-replace-overlay): always check if the replacement
8094 * viper.el (viper-vi-state-mode-list): added major modes.
8095 * ediff-wind.el: minor comment changes.
8096 * ediff.el: copyright notice date fix.
8098 2000-02-27 Jason Rumney <jasonr@gnu.org>
8100 * faces.el (face-font-family-alternatives): Add arial to helv.
8101 (mode-line, header-line, tool-bar): Same default as x for w32.
8102 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
8103 face-font-family-alternatives from working.
8104 * term/w32-win.el (mouse-set-font): Do not build fontset from
8107 2000-02-25 Sam Steingold <sds@goems.com>
8109 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
8112 2000-02-25 Richard M. Stallman <rms@gnu.org>
8114 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
8116 2000-02-25 Gerd Moellmann <gerd@gnu.org>
8118 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
8121 * frame.el (busy-cursor-delay-seconds): New option.
8123 2000-02-24 Gerd Moellmann <gerd@gnu.org>
8125 * frame.el (show-cursor-in-non-selected-windows): New option.
8127 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
8129 * diary-lib.el (include-other-diary-files): Undo the selective
8130 display in any included file and don't kill it.
8132 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
8134 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
8135 bar. Menu items converted to (menu-item format, help strings
8137 [downcase, upcase]: Don't enable on MS-DOS.
8138 [symlink, symlinks]: Don't show if make-symbolic-link is not
8140 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
8142 2000-02-23 Dave Love <fx@gnu.org>
8144 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
8145 (backward-kill-word): Revert addition of * to interactive spec --
8148 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
8149 (backward-kill-sentence, kill-sentence): Likewise.
8151 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
8152 scratch buffer name.
8153 (gud-format-command): Use int-to-string in ?l case. Simplify
8156 * term/w32-win.el (internal-face-interactive): Update prompt for
8159 * mail/footnote.el (footnote): Add :version to defgroup.
8160 (footnote-section-tag-regexp): Customize.
8161 (footnote-start-tag, footnote-end-tag): New option.
8162 (footnote-latin-regexp): New variable.
8163 (Footnote-latin): New function.
8164 (footnote-style-alist): Add element for latin style.
8165 (footnote-style): Moved.
8166 (Footnote-goto-footnote): Use eq to test arg.
8168 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
8170 * emacs-lisp/byte-opt.el: Change old backquote syntax.
8171 (byte-compile-trueconstp): Include keywords.
8172 (byte-optimize-quote, byte-optimize-lapcode): Use
8173 byte-compile-const-symbol-p.
8174 (byte-optimize-char-before): New optimization.
8176 * emacs-lisp/bytecomp.el: Change old backquote syntax.
8177 (byte-compile-const-symbol-p): New function.
8178 (byte-compile-constp, byte-compile-out-toplevel)
8179 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
8182 * subr.el (define-key-after): Default AFTER to t. Doc fix.
8184 2000-02-23 Kenichi Handa <handa@etl.go.jp>
8186 * international/encoded-kb.el: Be sure to update minor-mode-alist
8187 and minor-mode-map-alist.
8188 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
8189 codes SS2 and SS3 correctly.
8190 (encoded-kbd-self-insert-ccl): New function.
8191 (encoded-kbd-setup-keymap): New function.
8192 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
8193 by calling encoded-kbd-setup-keymap.
8195 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
8197 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
8200 2000-02-22 Dave Love <fx@gnu.org>
8202 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
8203 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
8205 (lisp-mode-syntax-table): Set up for #|...|# comments.
8206 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
8207 classes. Match `defface'.
8208 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
8209 (eval-defun-1): Fix for defcustom.
8210 (lisp-indent-region): Doc fix.
8212 * subr.el (when, unless, split-string): Doc fix.
8213 (read-passwd): Move call of clear-this-command-keys to the right
8215 (replace-regexps-in-string): New function.
8217 2000-02-22 Gerd Moellmann <gerd@gnu.org>
8219 * help.el (describe-variable): Set syntax table to
8220 emacs-lisp-mode-syntax-table when moving forward over the
8223 2000-02-22 Dave Love <fx@gnu.org>
8225 * xt-mouse.el: Doc fixes.
8226 (xterm-mouse-position-function): New function, replacing advice of
8228 (xterm-mouse-mode): Use it. Don't turn on under a window system.
8230 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
8232 2000-02-21 Gerd Moellmann <gerd@gnu.org>
8234 * format.el (format-annotate-single-property-change): Handle
8235 properties.with dotted-list values.
8236 (format-proper-list-p): New function.
8238 * enriched.el (enriched-face-ans): Handle '(foreground-color
8239 . COLOR) and (background-color . COLOR).
8241 2000-02-20 Dave Love <fx@gnu.org>
8243 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
8244 and assignments to it.
8245 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
8247 (make-flyspell-overlay): Use it.
8248 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
8250 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
8251 (lm-get-header-re): Defun, not defsubst.
8252 (lm-get-package-name): Defun, not defsubst. Simplify.
8253 (lm-version): Doc fix. Simplify.
8254 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
8255 (lm-crack-address, lm-last-modified-date, lm-commentary)
8256 (lm-verify, lm-synopsis): Simplify.
8257 (lm-report-bug): Require emacsbug. Use compose-mail.
8259 2000-02-20 Gerd Moellmann <gerd@gnu.org>
8261 * dired.el (dired-mode): Call propertized-buffer-identification
8262 to set mode-line-buffer-identification to something having
8263 the right text properties.
8265 * bindings.el (propertized-buffer-identification): New function.
8267 2000-02-20 Dave Love <fx@gnu.org>
8269 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
8270 check for t-mouse too.
8272 * cus-start.el: Make echo-keystrokes `number'.
8274 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
8276 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
8277 Don't call ring-empty-p unless tags-location-ring is bound.
8278 From Noah Friedman <friedman@splode.com>.
8280 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
8282 * progmodes/hideshow.el (hs-flag-region): No longer use
8283 `intangible' overlay property.
8285 (hs-toggle-hiding): New command.
8286 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
8288 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
8289 Fix omission bug: Run `hs-minor-mode-hook' for both activation
8292 2000-02-18 Gerd Moellmann <gerd@gnu.org>
8294 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
8296 2000-02-17 Gerd Moellmann <gerd@gnu.org>
8298 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
8300 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
8301 of `*' to handle `(* ... *)' comments.
8303 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
8305 * faces.el (list-faces-display): Use display-mouse-p instead of
8308 * menu-bar.el (global-map): Menu-bar items converted to the new
8309 format (menu-item..., rearranged for better CUA compliance, and
8310 their names changed for better clarity. Help strings added.
8312 * international/mule-cmds.el (mule-menu-keymap)
8313 (describe-language-environment-map, set-coding-system-map)
8314 (setup-language-environment-map): Convert to new (menu-item...
8315 form, add help strings. Change names of menu items for better
8316 clarity. "Mule" menu-bar item removed (it's now in the "Options"
8319 2000-02-17 Gerd Moellmann <gerd@gnu.org>
8321 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
8324 2000-02-16 Dave Love <fx@gnu.org>
8326 * faces.el: Don't require custom. Add more specific :groups to
8328 (set-face-attribute): Purecopy args.
8329 (read-face-name): Default to name at point and use it in prompt.
8330 Remove colon from arg in all callers.
8331 (list-faces-display): Hyperlink to face descriptions and customize
8334 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
8336 * wid-edit.el (widget-match-inline): An atom never matches a
8339 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8341 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
8342 at ':' characters by call to split-string.
8344 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8346 * textmodes/bibtex.el: Added RCS version identification.
8348 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8350 * textmodes/bibtex.el: Some temporary comments removed.
8351 (bibtex-field-name, bibtex-entry-type): Made the relationship
8353 (bibtex-field-const): Allow capital letters.
8354 (bibtex-start-of-string): Deleted because unused.
8356 * textmodes/bibtex.el: Unified some nomenclature. We no longer
8357 use the term 'reference' to describe a bibtex entry as a whole.
8358 Further, reference keys are no longer called 'labels'.
8359 (bibtex-keys): Renamed to bibtex-reference-keys.
8360 (bibtex-reformat-previous-labels): Renamed to
8361 bibtex-reformat-previous-reference-keys.
8362 (bibtex-reference-type): Renamed to bibtex-entry-type.
8363 (bibtex-reference-head): Renamed to bibtex-entry-head.
8364 (bibtex-reference-maybe-empty-head): Renamed to
8365 bibtex-entry-maybe-empty-head.
8366 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
8367 (bibtex-search-reference): Renamed to bibtex-search-entry.
8368 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
8369 bibtex-enclosing-entry-maybe-empty-head.
8370 (bibtex-entry-field-alist, bibtex-entry-head,
8371 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
8372 bibtex-map-entries, bibtex-search-entry,
8373 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
8374 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8375 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
8376 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
8377 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
8378 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
8379 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
8381 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8383 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
8385 (bibtex-format-field-delimiters): New function, functionality
8386 extracted from bibtex-format-entry.
8387 (bibtex-autokey-get-yearfield-digits): New function, functionality
8388 extracted from bibtex-autokey-get-yearfield.
8390 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
8391 entries in order to avoid stack overflow in the regexp matcher if
8392 field contents become large.
8393 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
8394 bibtex-field-string-part-not-braced,
8395 bibtex-field-string-part-no-inner-braces,
8396 bibtex-field-string-part-1-inner-brace,
8397 bibtex-field-string-part-2-inner-braces,
8398 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
8399 bibtex-field-string-quoted, bibtex-field-string,
8400 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
8401 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
8402 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
8403 as parsing is now performed by the following functions.
8404 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
8405 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
8406 bibtex-parse-field-string, bibtex-search-forward-field-string,
8407 bibtex-parse-association, bibtex-field-name-for-parsing,
8408 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
8409 bibtex-search-forward-field, bibtex-search-backward-field,
8410 bibtex-start-of-field, bibtex-end-of-field,
8411 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
8412 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
8413 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
8414 bibtex-parse-string, bibtex-search-forward-string,
8415 bibtex-search-backward-string, bibtex-start-of-string,
8416 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
8417 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
8418 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
8419 entries. Instead of reporting the results of the parsing by
8420 match-beginning or match-end, these functions return data structures
8421 that hold the corresponding positions.
8422 (bibtex-enclosing-field): Changed to also report field boundaries by
8423 return values rather than by match-beginning or match-end. The
8424 following functions have been adapted to use the new parsing
8426 (bibtex-skip-to-valid-entry, bibtex-search-reference,
8427 bibtex-enclosing-field, bibtex-format-entry,
8428 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
8429 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
8430 bibtex-print-help-message, bibtex-end-of-entry,
8431 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
8432 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8433 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
8435 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
8436 bibtex-map-entries, bibtex-flash-head,
8437 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
8438 bibtex-autokey-change, bibtex-autokey-get-namefield,
8439 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
8440 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8441 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
8442 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8443 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
8444 order to make the new binding of case-fold-search immediately
8447 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8449 * textmodes/bibtex.el: Copyright notice is up to date.
8450 Added constant 'bibtex-maintainer-salutation.
8452 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
8453 than make-temp-name, use match-string-no-properties and eliminate
8454 a quadratic behavior when building bibtex-strings.
8456 * bibtex.el (bibtex-reference-key): Accept string entries whose
8457 reference key contains upper case letters.
8459 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8461 * bibtex.el (bibtex-reference-head): Allow entries to start with
8464 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8466 * bibtex.el: Hiding of entry bodies is not longer provided by
8467 bibtex.el directly. Instead the hideshow package can be used.
8468 Added a special bibtex entry to hs-special-modes-alist.
8469 (bibtex-hs-forward-sexp): Added for hideshow.el.
8471 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8473 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
8474 at ':' characters by call to split-string.
8476 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8478 * textmodes/bibtex.el: Added RCS version identification.
8480 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8482 * textmodes/bibtex.el: Some temporary comments removed.
8483 (bibtex-field-name, bibtex-entry-type): Made the relationship
8485 (bibtex-field-const): Allow capital letters.
8486 (bibtex-start-of-string): Deleted because unused.
8488 * textmodes/bibtex.el: Unified some nomenclature. We no longer
8489 use the term 'reference' to describe a bibtex entry as a whole.
8490 Further, reference keys are no longer called 'labels'.
8491 (bibtex-keys): Renamed to bibtex-reference-keys.
8492 (bibtex-reformat-previous-labels): Renamed to
8493 bibtex-reformat-previous-reference-keys.
8494 (bibtex-reference-type): Renamed to bibtex-entry-type.
8495 (bibtex-reference-head): Renamed to bibtex-entry-head.
8496 (bibtex-reference-maybe-empty-head): Renamed to
8497 bibtex-entry-maybe-empty-head.
8498 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
8499 (bibtex-search-reference): Renamed to bibtex-search-entry.
8500 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
8501 bibtex-enclosing-entry-maybe-empty-head.
8502 (bibtex-entry-field-alist, bibtex-entry-head,
8503 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
8504 bibtex-map-entries, bibtex-search-entry,
8505 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
8506 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8507 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
8508 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
8509 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
8510 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
8511 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
8513 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8515 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
8517 (bibtex-format-field-delimiters): New function, functionality
8518 extracted from bibtex-format-entry.
8519 (bibtex-autokey-get-yearfield-digits): New function, functionality
8520 extracted from bibtex-autokey-get-yearfield.
8522 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
8523 entries in order to avoid stack overflow in the regexp matcher if
8524 field contents become large.
8525 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
8526 bibtex-field-string-part-not-braced,
8527 bibtex-field-string-part-no-inner-braces,
8528 bibtex-field-string-part-1-inner-brace,
8529 bibtex-field-string-part-2-inner-braces,
8530 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
8531 bibtex-field-string-quoted, bibtex-field-string,
8532 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
8533 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
8534 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
8535 as parsing is now performed by the following functions.
8536 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
8537 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
8538 bibtex-parse-field-string, bibtex-search-forward-field-string,
8539 bibtex-parse-association, bibtex-field-name-for-parsing,
8540 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
8541 bibtex-search-forward-field, bibtex-search-backward-field,
8542 bibtex-start-of-field, bibtex-end-of-field,
8543 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
8544 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
8545 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
8546 bibtex-parse-string, bibtex-search-forward-string,
8547 bibtex-search-backward-string, bibtex-start-of-string,
8548 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
8549 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
8550 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
8551 entries. Instead of reporting the results of the parsing by
8552 match-beginning or match-end, these functions return data structures
8553 that hold the corresponding positions.
8554 (bibtex-enclosing-field): Changed to also report field boundaries by
8555 return values rather than by match-beginning or match-end. The
8556 following functions have been adapted to use the new parsing
8558 (bibtex-skip-to-valid-entry, bibtex-search-reference,
8559 bibtex-enclosing-field, bibtex-format-entry,
8560 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
8561 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
8562 bibtex-print-help-message, bibtex-end-of-entry,
8563 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
8564 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8565 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
8567 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
8568 bibtex-map-entries, bibtex-flash-head,
8569 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
8570 bibtex-autokey-change, bibtex-autokey-get-namefield,
8571 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
8572 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8573 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
8574 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8575 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
8576 order to make the new binding of case-fold-search immediately
8579 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8581 * textmodes/bibtex.el: Copyright notice is up to date.
8582 Added constant 'bibtex-maintainer-salutation.
8584 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
8585 than make-temp-name, use match-string-no-properties and eliminate
8586 a quadratic behavior when building bibtex-strings.
8588 * bibtex.el (bibtex-reference-key): Accept string entries whose
8589 reference key contains upper case letters.
8591 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8593 * bibtex.el (bibtex-reference-head): Allow entries to start with
8596 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8598 * bibtex.el: Hiding of entry bodies is not longer provided by
8599 bibtex.el directly. Instead the hideshow package can be used.
8600 Added a special bibtex entry to hs-special-modes-alist.
8601 (bibtex-hs-forward-sexp): Added for hideshow.el.
8603 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8605 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
8606 proceedings entry type (for cross referencing). Thanks to Wagner
8607 Toledo Correa for the suggestion.
8609 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
8611 2000-02-14 Kenichi Handa <handa@etl.go.jp>
8613 * international/characters.el: Setup case table for Vietnamese.
8615 2000-02-12 Gerd Moellmann <gerd@gnu.org>
8617 * uniquify.el (toplevel): Require CL at compile time.
8618 (uniquify-push): Removed.
8620 * shadowfile.el (shadow-when): Removed.
8622 * tempo.el (tempo-dolist, tempo-mapc): Removed.
8623 (tempo-process-and-insert-string): Use dolist instead of
8626 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
8627 regexp for paragraph-start.
8629 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
8632 2000-02-10 Dave Love <fx@gnu.org>
8634 * wid-edit.el: (widgets) [defgroup]: Remove url link.
8635 (widget-color-choice-list, widget-color-history, widget-mouse-help):
8637 (widget-specify-field, widget-specify-button): Don't use
8638 widget-mouse-help as help-echo property.
8639 (default): Use #'ignore for :validate and :mouse-down-action.
8640 (checkbox): Add help-echo.
8641 (widget-sexp-validate): Rewritten to clarify error messages.
8642 (character): Use char-valid-p in :match function.
8643 (widget-color-complete): Use facemenu-color-alist.
8644 (widget-color-action): Use facemenu-read-color.
8646 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
8647 set up `caar' &c that we now have.
8649 2000-02-09 Ray Blaak <blaak@gnu.org>
8651 * delphi.el: Make resourcestring a declaration region, like const
8654 2000-02-09 Dave Love <fx@gnu.org>
8656 * bindings.el (mode-line-input-method-map): New variable.
8657 (mode-line-mule-info): Use it; fix last change.
8658 (mode-line-mode-menu): Move definition.
8659 (mode-line-mouse-sensitive-p): Deleted.
8660 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
8661 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
8664 * startup.el (command-line-1): Don't call
8665 make-mode-line-mouse-sensitive.
8667 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
8669 * mail/rmail.el (rmail-retry-failure): Use
8670 rmail-beginning-of-message before rmail-toggle-header, because the
8671 former toggles headers.
8673 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
8675 * diff-mode.el (diff-kill-junk): New interactive function.
8676 (diff-reverse-direction): Use delete-and-extract-region.
8677 (diff-post-command-hook): Restrict the area so that the hook also works
8678 outside of any diff hunk. This is necessary for the minor-mode.
8679 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
8680 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
8682 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
8683 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
8684 so that it can be used more easily in <foo>-mode-hook. Also make sure
8685 to avoid duplicate entries.
8686 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
8687 (font-lock-remove-keywords): Just as was done for `add', allow it to
8688 work even if font-lock-mode is nil. Also make sure we don't modify
8689 any pre-existing list by forcing a copy-sequence. Finally rename
8690 `major-mode' to `mode'.
8691 (font-lock-fontify-syntactic-anchored-keywords)
8692 (font-lock-fontify-anchored-keywords)
8693 (font-lock-fontify-keywords-region): Use line-end-position.
8694 Don't make `font-lock-multiline' local (it's now done in
8695 font-lock-set-defaults).
8696 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
8697 move the `font-lock-fontified' creation to inside the `unless'.
8699 2000-02-06 Andrew Innes <andrewi@gnu.org>
8701 * term/w32-win.el (x-handle-args): Comment out call to message,
8702 which occurs before window system is initialized.
8704 * makefile.nt: Add support for recompiling lisp code.
8706 2000-02-04 Dave Love <fx@gnu.org>
8708 * bindings.el (mode-line-mule-info): Fix/extend last change.
8710 * completion.el: Replace completion-dolist with dolist.
8712 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
8715 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
8717 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
8718 environment names before they go into the section regexp.
8720 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
8721 char class in regexp.
8723 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
8724 `case-fold-search' to nil.
8726 * progmodes/idlwave.el (idlwave-template): Respect
8727 `idlwave-abbrev-change-case'.
8728 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
8729 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
8730 idlwave-while): respect `idlwave-reserved-word-upcase'.
8731 (idlwave-rw-case): New function.
8732 (idlwave-statement-match): Fixed problem with assignment regexp.
8733 (idlwave-font-lock-keywords): Improved regexp for keyword
8735 (idlwave-surround): New argument LENGTH to support padding of
8736 operators longer than 1 char.
8738 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
8739 idlwave-shell-expression-overlay. Implemented printing of
8740 expressions on higher levels of the calling stack.
8741 (idlwave-shell-display-level-in-calling-stack): Restore stack
8743 (idlwave-retrieve-expression-from-level): New function.
8744 (idlwave-shell-last-calling-stack): Variable removed.
8745 (idlwave-shell-reset): Argument action reversed (`visible' to
8746 `hidden'). Also remove stop-line overlay.
8747 (idlwave-shell-calling-stack-routine): New variable.
8748 (idlwave-shell-parse-stack-and-display): Messages now display
8749 negative level numbers.
8750 (idlwave-shell-mode): Set `modeline-format'.
8751 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
8752 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
8754 (idlwave-shell-print-expression-function): New option.
8756 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
8757 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
8758 `tool-bar' instead of `toolbar'.
8760 2000-02-02 Dave Love <fx@gnu.org>
8762 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
8763 emacs-lisp-mode-hook. Don't check for defalias being defined.
8765 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
8766 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
8767 the new builtins directly.
8769 * whitespace.el (whitespace): Add :version to defgroup.
8771 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
8774 * thingatpt.el (sexp-at-point, symbol-at-point)
8775 (number-at-point, list-at-point): Add autoload cookie.
8777 * recentf.el (recentf): Add :version to defgroup.
8779 * quickurl.el (quickurl): Add :version to defgroup.
8781 * elide-head.el (elide-head): Use point-marker more.
8783 * bs.el (bs): Add :version to defgroup.
8785 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
8787 * progmodes/delphi.el (delphi): Add :version to defgroup.
8789 2000-02-02 Gerd Moellmann <gerd@gnu.org>
8791 * ange-ftp.el (ange-ftp-write-region): Handle case that
8792 succeeding process operation sets a different coding system.
8794 * calculator.el: New file.
8796 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
8798 * frame.el (frames-on-display-list, framep-on-display): New
8800 (display-mouse-p, display-popup-menus-p, display-graphic-p)
8801 (display-selections-p, display-screens, display-pixel-width)
8802 (display-pixel-height, display-mm-width, display-mm-height)
8803 (display-backing-store, display-save-under, display-planes)
8804 (display-color-cells, display-visual-class): New functions.
8806 * term/tty-colors.el (tty-color-gray-shades): New function.
8808 * faces.el (display-color-p): Use framep-on-display.
8809 (display-grayscale-p): New function.
8811 2000-01-31 Dave Love <fx@gnu.org>
8813 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
8814 (create-fontset-from-x-resource): Don't concat integers.
8816 2000-01-31 Inge Frick <inge@nada.kth.se>
8818 * view.el: Some changes in documentation. Removed some trailing
8819 whitespace. Changed some parameter names to agree with
8821 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
8822 window is not deleted. Modifies change 1998-04-26.
8824 2000-01-31 Gerd Moellmann <gerd@gnu.org>
8826 * windmove.el: New file.
8828 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
8829 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
8830 progmodes/ebnf-yac.el: Update copyright and license info.
8832 * jit-lock.el (jit-lock-function): Widen before calculating end
8834 (jit-lock-stealth-chunk-start): Rewritten.
8836 * info.el (Info-title-face-alist): Removed.
8837 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
8839 (Info-fontify-node): Use these faces.
8841 2000-01-30 Gerd Moellmann <gerd@gnu.org>
8843 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
8844 (cl-macro-list1): Recognize `&allow-other-keys' instead of
8845 `&allow-other-keywords'.
8847 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
8848 the list of directories scanned heuristically.
8850 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
8853 2000-01-30 Jason Rumney <jasonr@gnu.org>
8855 * w32-fns.el: Define w32-tty-standard-colors.
8857 * startup.el (command-line): Use w32-tty-standard-colors when in
8860 2000-01-30 Dave Love <fx@gnu.org>
8862 * jka-compr.el (jka-compr-load): Fix up load-history.
8864 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
8866 * emacs-lisp/cl-macs.el: Revert previous change.
8868 2000-01-29 Dave Love <fx@gnu.org>
8870 * facemenu.el: Purecopy various strings.
8872 * timezone.el (timezone-fix-time): Window against 69 for two-digit
8873 years. Deal with three-digit years.
8875 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
8877 (help-back-label): Purecopy it.
8879 2000-01-18 Gerd Moellmann <gerd@gnu.org>
8881 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
8882 variable. If non-nil, order the buffer list according to the
8883 currently selected frame.
8884 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
8885 non-nil, pass the selected frame to function buffer-list.
8887 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8889 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
8891 2000-01-28 Dave Love <fx@gnu.org>
8893 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
8895 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
8896 Don't use lisp-indent-hook property.
8899 * subr.el: Move out indent and edebug specs for when and unless.
8901 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
8904 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
8907 2000-01-28 Gerd Moellmann <gerd@gnu.org>
8909 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
8910 `collecting' as synonym for `collect'.
8912 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
8913 for the case it contains spaces.
8915 * simple.el (what-cursor-position): Change formatting of
8918 * frame.el (delete-other-frames): New function.
8919 (toplevel): Bind it to C-x 5 1.
8921 * sort.el (sort-numeric-base): New option.
8922 (sort-numeric-fields): If number starts with `0' or `0[xX[',
8923 interpret it as octal or hexadecimal. Use sort-numeric-base
8926 * progmodes/glasses.el: New file.
8928 2000-01-27 Gerd Moellmann <gerd@gnu.org>
8930 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
8931 userids differently.
8933 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
8934 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
8935 progmodes/ebnf-yac.el: New files.
8937 2000-01-26 Dave Love <fx@gnu.org>
8939 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
8940 on a function with an empty body. [From Eric Ludlam.]
8942 2000-01-25 Andre Spiegel <spiegel@gnu.org>
8944 * vc.el (vc-version-diff): Make sure file name is expanded.
8946 2000-01-25 Gerd Moellmann <gerd@gnu.org>
8948 * scroll-bar.el (scroll-bar-timer): Variable removed.
8949 (scroll-bar-toolkit-scroll): Don't use a timer.
8951 2000-01-25 Kenichi Handa <handa@etl.go.jp>
8953 * language/thai-util.el (thai-composition-function): Delete
8956 2000-01-24 Dave Love <fx@gnu.org>
8958 * fortran.el (fortran-mode): Use beginning-of-defun-function,
8959 end-of-defun-function.
8961 * font-lock.el (turn-on-font-lock): Don't depend on window-system
8964 2000-01-22 Jason Rumney <jasonr@gnu.org>
8966 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
8967 conflicts with new face support.
8969 2000-01-22 Richard M. Stallman <rms@gnu.org>
8971 * replace.el (query-replace): Rename last arg to DELIMITED.
8972 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
8973 (query-replace-regexp): Likewise.
8975 2000-01-20 Richard M. Stallman <rms@gnu.org>
8977 * subr.el (with-syntax-table): Use make-symbol, not gensym.
8979 * emacs-lisp/lisp.el (beginning-of-defun-function):
8980 Variable renamed from beginning-of-defun.
8981 Do not call make-variable-buffer-local.
8982 (beginning-of-defun-raw): Use new variable name; doc fix.
8983 (beginning-of-defun): Doc fix.
8984 (end-of-defun-function): Variable renamed from end-of-defun.
8985 Do not call make-variable-buffer-local.
8986 (end-of-defun): Use new variable name; doc fix.
8988 * subr.el (dolist, dotimes): Copied from cl-macs.el
8991 * mail/undigest.el (rmail-digest-end-regexps):
8992 Variable replaces rmail-digest-end-regexp.
8993 Allows multiple regexps for detecting the end line.
8994 (undigestify-rmail-message): Corresponding changes.
8996 2000-01-19 Dave Love <fx@gnu.org>
8998 * files.el (user-init-file): Don't declare here -- is primitive.
9000 * startup.el (command-line): Check for compiled user-init-file and
9001 set to uncompiled version if necessary.
9003 2000-01-18 Gerd Moellmann <gerd@gnu.org>
9005 * mail/undigest.el (rmail-digest-end-regexp): New user option.
9006 (undigestify-rmail-message): Use it.
9008 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
9010 2000-01-17 Gerd Moellmann <gerd@gnu.org>
9012 * tmm.el (tmm-goto-completions): Adapt to prompt being part
9015 2000-01-14 Gerd Moellmann <gerd@gnu.org>
9017 * emacs-lisp/copyright.el (copyright-update): Removed the
9018 requirement for a trailing space from `copyright-regexp', to
9019 support copyrights with owner specified on a separate line..
9021 * align.el: New file.
9023 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
9025 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
9027 2000-01-13 Dave Love <fx@gnu.org>
9029 * ph.el: Removed. (Obsoleted by EUDC.)
9031 2000-01-13 Gerd Moellmann <gerd@gnu.org>
9033 * net/eudc.el (toplevel): Remove autoloaded code installing
9034 menu with easymenu, because that causes build problems.
9036 * frame.el (frame-notice-user-settings): New variable.
9037 (frame-notice-user-settings): Don't modify frame parameters
9038 if called a second time.
9040 2000-01-13 Richard M. Stallman <rms@gnu.org>
9042 * frame.el (frame-notice-user-settings):
9043 Notice default-frame-parameters even for non-window frames.
9045 2000-01-13 Gerd Moellmann <gerd@gnu.org>
9047 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
9049 (eudc-bob-can-display-inline-images): Extend for Emacs.
9050 (eudc-bob-toggle-inline-display): Ditto.
9051 (eudc-bob-display-jpeg): Ditto.
9053 2000-01-12 Gerd Moellmann <gerd@gnu.org>
9055 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
9056 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
9057 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
9059 * add-log.el (add-change-log-entry): Fix error trying an `(insert
9062 * subdirs.el: Add `net' directory.
9064 * net: New directory.
9066 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
9067 eval-last-sexp. Don't bind debug-on-error here.
9068 (eval-last-sexp): New function. Bind debug-on-error if
9069 eval-expression-debug-on-error is non-nil.
9070 (eval-defun-2, eval-defun): Likewise.
9072 * simple.el (eval-expression): Don't bind debug-on-error if
9073 eval-expression-debug-on-error is nil. Detect changed
9074 debug-on-error, and propagate new value to global binding, if
9075 eval-expression-debug-on-error is non-nil,
9076 (eval-expression-debug-on-error): Change doc string.
9078 2000-01-11 Richard M. Stallman <rms@gnu.org>
9080 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
9082 * emacs-lisp/lisp-mode.el (with-syntax-table):
9083 Set up lisp-indent-function property.
9085 * subr.el (with-syntax-table): Moved from simple.el.
9087 * simple.el (with-syntax-table): Moved to subr.el.
9089 2000-01-11 Gerd Moellmann <gerd@gnu.org>
9091 * tmm.el (tmm-shortcut): Delete region after prompt instead
9094 * textmodes/fill.el (fill-common-string-prefix): New function.
9095 (fill-context-prefix): Use the longest common prefix of first
9096 and second line fill prefix, if there is one.
9098 2000-01-11 Richard M. Stallman <rms@gnu.org>
9100 * array.el (array-mode): Don't use make-variable-buffer-local.
9101 Use make-local-variable for `truncate-lines'.
9103 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
9105 * add-log.el (add-log-current-defun): Handle user-defined
9106 add-log-current-function returning nil,
9108 * add-log.el (add-change-log-entry): Insert version number
9109 if having found a current function
9111 * add-log.el (add-log-current-defun): Call
9112 `add-log-current-defun-function'. Try matches at level 0 and
9113 level 1. Strip whitespace from defun found.
9115 2000-01-10 John Wiegley <johnw@gnu.org>
9117 * allout.el (isearch-done/outline-provisions): Added `edit'
9118 argument to correspond with the current definition of
9121 2000-01-10 Dave Love <fx@gnu.org>
9123 * elide-head.el (elide-head): Use point-marker, not point.
9125 2000-01-10 Gerd Moellmann <gerd@gnu.org>
9127 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
9128 before and after the year 2000.
9130 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
9133 2000-01-10 Ken Stevens <k.stevens@ieee.org>
9135 * ispell.el: Only define dictionaries in menus when they exist.
9136 (version18p): New variable.
9137 (version20p): New variable.
9138 (xemacsp): New variable.
9139 (ispell-choices-win-default-height): Fix for XEmacs visibility.
9140 (ispell-dictionary-alist1): Added Brasileiro dictionary.
9141 (ispell-dictionary-alist6): Russian command lines no longer accept
9143 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
9144 (ispell-dictionary-alist): Add koi8-r to customize definition.
9145 (check-ispell-version): Added documentation string. Returns
9146 library path when called non-interactively.
9147 (ispell-menu-map-needed): Uses new variables.
9148 (ispell-library-path): New variable.
9149 (ispell-decode-string): XEmacs fix for bogus variable bindings.
9150 (ispell-word): Improved documentation string. Test for valid
9151 character mappings. Correctly check typed in word changes that can
9152 result in single words split into multiple words. Returns
9154 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
9155 replace in recursive query replace mode. Help message for
9156 recursive edit mode.
9157 (ispell-show-choices): Protect against bad framepop bindings.
9158 (ispell-help): Fix to work with XEmacs.
9159 (ispell-highlight-spelling-error): Use new variables.
9160 (ispell-overlay-window): Fix to work with XEmacs.
9161 (ispell-parse-output): Passed and returns location information
9162 tracking spelling corrections. Doesn't recheck same word on
9164 (ispell-init-process): Protect against bogus XEmacs variable binding.
9165 Fix call to single argument in sleep-for. Use new variables.
9166 (ispell-region): Passed and returns location information tracking
9167 spelling corrections. Doesn't check same word on current line.
9168 Improved documentation string. Doesn't resend a line already
9169 checked to the ispell process - fixes bug in LaTeX parsing.
9170 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
9171 (ispell-skip-region): No longer skips <TT> in SGML.
9172 (ispell-process-line): Tracks location information with spelling
9173 corrections. Added documentation string. Accounts for words
9174 already accepted on this line. Don't allow query-replace on line
9175 starting with math characters. Doesn't resend a line already sent
9176 to ispell process. Fixes alignment error bug.
9178 2000-01-10 Richard M. Stallman <rms@gnu.org>
9180 * dired-x.el (dired-guess-shell-alist-default):
9181 Suggest xloadimage, which is free, not xv, which isn't.
9183 * ange-ftp.el (ange-ftp-file-name-nondirectory):
9184 Don't ever include the host name or user name in the value.
9186 2000-01-09 Gerd Moellmann <gerd@gnu.org>
9188 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
9191 2000-01-09 Stephen Eglen <stephen@gnu.org>
9193 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
9196 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
9198 * cus-edit.el (custom-hook-convert-widget): Fix comment.
9200 2000-01-09 Gerd Moellmann <gerd@gnu.org>
9202 * progmodes/cperl-mode.el: Replace ^F with ^L.
9204 * sendmail.el (toplevel): Provide `sendmail' when compiling
9205 before `require'ing rmail and mailalias to prevent infinite
9208 2000-01-08 Dave Love <fx@gnu.org>
9210 * emacs-lisp/backquote.el: Remove inappropriate customization
9211 (allowing custom.el to use backquote).
9213 2000-01-07 Dave Love <fx@gnu.org>
9215 * add-log.el (add-log-debugging): Deleted.
9216 (add-change-log-entry): Treat a backup FILE-NAME as its parent
9217 file. Remove debugging code.
9218 (change-log-get-method-definition, change-log-name): Add doc.
9219 (change-log-sortable-date-at): New function.
9220 (change-log-merge): New command.
9222 * time.el (display-time-string-forms): Make the Mail string active.
9223 (display-time-update): Provide help-echo for load average.
9225 * bindings.el (make-mode-line-mouse2-map): New function.
9226 (mode-line-modified): Use it and simplify.
9227 (mode-line-mule-info): Provide help-echo info.
9228 (minor-mode-alist): Activate the strings.
9229 (make-mode-line-mouse-sensitive): Simplify for
9230 mode-line-buffer-identification.
9232 2000-01-07 Gerd Moellmann <gerd@gnu.org>
9234 * play/pong.el: New file.
9236 2000-01-06 Dave Love <fx@gnu.org>
9238 * array.el: Assorted cleanups for compiler warnings, doc strings,
9239 `array-' prefix for symbols.
9241 2000-01-05 Dave Love <fx@gnu.org>
9243 * textmodes/outline.el (outline-mode-menu-bar-map): Add
9244 outline-headers-as-kill.
9245 (outline-mode): Define imenu-generic-expression.
9246 (outline-headers-as-kill): New command.
9248 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
9249 from paragraph-start.
9250 (paragraph-indent-minor-mode): New command.
9252 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
9253 M-C-e, M-C-h, C-j, C-xnd, TAB.
9254 (fortran-mode): Set beginning-of-defun, end-of-defun.
9255 (fortran-column-ruler): Simplify.
9256 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
9257 (fortran-with-subprogram-narrowing): Likewise.
9258 (fortran-indent-subprogram): Call mark-defun.
9259 (fortran-check-for-matching-do): Change narrowing.
9261 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
9262 (cl-lucid-hash-tag): Delete.
9263 (cl-hash-table-p): Correct test for native table.
9264 (cl-hash-table-count): Use hash-table-count.
9266 * browse-url.el (browse-url): Fix case of
9267 browse-url-browser-function being an alist.
9269 2000-01-05 Carsten Dominik <cd@gnu.org>
9271 * textmodes/reftex-vars.el (reftex-parse-file-extension)
9272 (reftex-index-phrase-file-extension): New options.
9274 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
9275 Use new option `reftex-index-phrase-file-extension'.
9277 * textmodes/reftex.el (reftex-access-parse-file): Use new option
9278 `reftex-parse-file-extension'.
9280 2000-01-05 Dave Love <fx@gnu.org>
9282 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
9283 (beginning-of-defun-raw): Use it.
9284 (end-of-defun): New variable.
9285 (end-of-defun): Use it.
9286 (check-parens): New command.
9288 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
9290 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
9291 (hs-show-block): Don't use `mapcar' when not accumulating.
9293 Fix buglet in local variables initialization.
9295 2000-01-05 Andreas Schwab <schwab@suse.de>
9297 * hscroll.el (hscroll): Doc fix.
9299 2000-01-05 Carsten Dominik <cd@gnu.org>
9301 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
9304 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
9306 (idlwave-customize): load must read file idlw-shell.el.
9307 (idlwave-create-customize-menu): load must read file idlw-shell.el.
9309 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
9311 * progmodes/idlw-shell.el: Also provide idlwave-shell
9312 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
9313 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
9315 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
9316 both reftex-dcr and reftex-vcr.
9318 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
9320 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9322 * ps-print.el: PostScript code now is in separate files, doc fix.
9323 (ps-print-version): New version number (5.0.3).
9324 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
9326 (ps-spool-config): Initialization fix.
9327 (ps-print-prologue-1, ps-print-prologue-2)
9328 (ps-print-duplex-feature): PostScript code moved to separated file.
9329 (ps-background-image): Little code reformating.
9330 (ps-begin-file, ps-begin-job): Fix code.
9331 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
9332 (ps-prologue-file): New fun.
9334 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9336 * ps-vars.el: Eliminated.
9338 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
9341 * ps-print.el: ps-vars eliminated, doc fix.
9342 (ps-print-version): New version number (5.0.2).
9343 (ps-spool-config): Initialization fix.
9344 (ps-print-customize): New fun.
9346 2000-01-04 Gerd Moellmann <gerd@gnu.org>
9348 * autorevert.el (auto-revert-mode): Return value of
9351 2000-01-04 Dave Love <fx@gnu.org>
9353 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
9356 2000-01-03 Dave Love <fx@gnu.org>
9358 * elide-head.el (elide-head) [defgroup]: Add :version.
9360 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
9361 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
9362 `cl-hash-table-p', not `hash-table-p'.
9363 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
9365 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9367 * faces.el (face-read-integer, read-face-attribute)
9368 (color-defined-p, color-values): unspecified-{f,b}g are now
9371 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
9373 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
9374 at comment end, and re-insert them after filling.
9376 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9378 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
9379 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
9380 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
9382 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9384 * term/x-win.el (xw-defined-colors): Call color-supported-p,
9385 the new name of face-color-supported-p.
9387 * term/w32-win.el (xw-defined-colors): Likewise.
9389 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9391 * simple.el (completion-setup-function): Count completion-size
9392 from minibuffer-prompt-end, not from point-min.
9394 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
9396 * faces.el (read-face-attribute, defined-colors, color-defined-p):
9397 Pass the frame to tty-color-* functions.
9398 (display-color-p, frame-set-background-mode): Pass the frame to
9399 tty-display-color-p.
9401 * term/tty-colors.el (tty-defined-color-alist): Renamed from
9403 (tty-color-alist, tty-modify-color-alist): New functions.
9404 (tty-color-define, tty-color-clear, tty-color-approximate)
9405 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
9406 an optional parameter FRAME.
9408 2000-01-01 Gerd Moellmann <gerd@gnu.org>
9410 * image.el (create-image, defimage): Don't assume image data is a
9413 * image.el (defimage): Handle specifications containing :data
9415 (image-type-from-data): New function.
9416 (image-type-from-file-header): Use it.
9417 (create-image): Add parameter DATA-P.
9419 See ChangeLog.8 for earlier changes.
9422 ;; coding: iso-2022-7bit-unix