1 2000-09-18 Miles Bader <miles@gnu.org>
3 * faces.el (header-line): Change defaults to be less confusing
4 when mixed with mode-lines.
6 * info.el (Info-fontify-node): Make a few cleanups.
7 Add extra `help-echo' and `local-map' props to node xrefs.
8 Use header-specific faces for node-names & xrefs.
9 (Info-use-header-line): New variable.
10 (info-header, info-header-xref, info-header-node): New faces.
11 (Info-setup-header-line): New function.
12 (Info-select-node): Call Info-setup-header-line when enabled.
13 (Info-extract-pointer): Work even if the header line is hidden.
14 (Info-header-line): New variable.
16 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
18 * vms-patch.el (print-region-function): Don't quote lambda.
20 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
22 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
23 (lm-get-header-re): Allow spaces between the header and the colon.
24 (lm-header): Allow $ in non-RCS headers.
25 (lm-header-multiline): Put the strings back into order.
26 Stop at an empty line. Don't require two space chars if the
27 line is clearly not another header line.
29 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
30 (popup-menu-popup): Remove.
32 2000-09-15 Gerd Moellmann <gerd@gnu.org>
34 * toolbar/toolbar.el (toolbar-add-item): Use the same image
35 specification if or if not tool-bar item contains an `:enabled'
38 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
39 current buffer has no file name.
41 2000-09-15 Dave Love <fx@gnu.org>
43 * strokes.el: Sync with maintainer's current version with changes
44 for Emacs, but avoid runtime cl and levents.
45 (toplevel): Change autoloads and compilation requires.
46 (strokes-version, strokes-bug-address, strokes-lift): Values
48 (strokes-xpm-header, strokes-insinuated): New variable.
50 (strokes-mode): Customized.
51 (strokes-while-inhibiting-garbage-collector): New macro.
52 (strokes-remassoc): Avoid remove-if.
53 (strokes-fix-button2-command): Don't use ad-do-it.
54 (strokes-insinuate): New function.
55 (strokes-button-press-event-p, strokes-button-release-event-p):
56 New functions, used instead of non-`strokes-' versions..
57 (strokes-mouse-event-p): Rewritten.
58 (strokes-event-closest-point): Avoid event-point.
59 (strokes-get-grid-position): Avoid cdadr, caadr
60 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
62 (strokes-help): Use with-output-to-temp-buffer.
63 (strokes-window-configuration-changed-p): New function.
64 (strokes-update-window-configuration): Use buffer-live-p,
65 strokes-window-configuration-changed-p.
66 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
67 (strokes-char-face): New face.
68 (strokes-char-table, strokes-base64-chars): New variable.
69 (strokes-xpm-for-stroke, strokes-list-strokes)
70 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
71 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
72 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
73 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
74 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
77 2000-09-15 Gerd Moellmann <gerd@gnu.org>
79 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
81 * image.el (create-image): Doc fix.
83 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
84 instead of `:heuristic-mask t'.
86 2000-09-14 Andrew Innes <andrewi@gnu.org>
88 * makefile.w32-in: Revert to Unix line endings.
90 2000-09-14 Andrew Innes <andrewi@gnu.org>
92 * makefile.w32-in: Add bootstrap support. Also copy lisp source
95 * makefile.nt (DONTCOMPILE): Fix typo.
97 * shell.el (shell-write-history-on-exit): New function.
98 (shell-dumb-shell-regexp): New custom variable.
99 (shell-mode): Make shell-write-history-on-exit the process
100 sentinel if shell name matches shell-dumb-shell-regexp.
102 * w32-fns.el: Comment out before-init-hook function which resets
103 source-directory based; this breaks bootstrap.
105 2000-09-14 Dave Love <fx@gnu.org>
107 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
108 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
109 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
110 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
111 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
112 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
113 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
114 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
115 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
117 * toolbar/toolbar.el: New.
119 * subdirs.el: Add toolbar.
121 2000-09-14 Gerd Moellmann <gerd@gnu.org>
123 * indent.el (indent-for-tab-command): Doc fix.
125 2000-09-14 Alex Schroeder <alex@gnu.org>
127 * ansi-color.el (ansi-colors): Doc change.
128 (ansi-color-get-face): Simplified regexp.
129 (ansi-color-faces-vector): Added more faces, doc change.
130 (ansi-color-names-vector): Doc change.
131 (ansi-color-regexp): Simplified regexp.
132 (ansi-color-parameter-regexp): New regexp.
133 (ansi-color-filter-apply): Doc change.
134 (ansi-color-filter-region): Doc change.
135 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
136 deal with zero length parameters.
137 (ansi-color-apply-on-region): Doc change.
138 (ansi-color-map): Doc change.
139 (ansi-color-map-update): Removed debugging message.
140 (ansi-color-get-face-1): Added condition-case to trap
141 args-out-of-range errors.
142 (ansi-color-get-face): Doc change.
143 (ansi-color-make-face): Removed.
144 (ansi-color-for-shell-mode): New option.
146 2000-09-13 Kenichi Handa <handa@etl.go.jp>
148 * international/quail.el (quail-start-translation): Translate KEY
149 if necessary even if it doesn't have any mapping in the current
151 (quail-start-conversion): Likewise.
152 (quail-help): The output message is improved.
154 2000-09-13 Miles Bader <miles@gnu.org>
156 * comint.el (comint-output-filter): Revert to using
157 `insert-before-markers'. Add bletcherous hack to undo damage
158 caused by `insert-before-markers'. Put `front-sticky' property on
159 overlays created here so that the field code understands how the
160 overlay works. Use a let when making comint-last-prompt-overlay,
161 so that the code is easier to read.
163 2000-09-13 Dave Love <fx@gnu.org>
165 * wid-edit.el (widget-default-format-handler): DTRT when
166 doc-property is a function.
168 2000-09-12 Francesco Potorti` <pot@gnu.org>
170 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
171 filed name if it's not there.
173 2000-09-12 Dave Love <fx@gnu.org>
175 * simple.el (read-mail-command): Doc fix.
176 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
178 * vc.el (vc-dired-listing-switches): Fix :version.
180 * vc-hooks.el: Doc fixes.
182 * subr.el (add-minor-mode): Use toggle-fun arg.
184 * speedbar.el: Add :version to several defcustoms.
186 * imenu.el (imenu--truncate-items, imenu--cleanup)
187 (imenu--generic-function): Avoid mapcar.
188 (imenu--replace-spaces): Function removed.
189 (imenu--completion-buffer): Use subst-char-in-string.
190 (imenu-add-to-menubar): Use keymap inheritance.
192 2000-09-12 Miles Bader <miles@gnu.org>
194 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
195 (diff-mode-map): Bind `diff-test-hunk'.
196 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
198 2000-09-11 Gerd Moellmann <gerd@gnu.org>
200 * bytecomp.el (byte-compile-defvar): Undo last change
201 because it breaks '(make-variable-buffer-local (defvar ...)'
202 which is used at least in dired.
204 2000-09-12 Kenichi Handa <handa@etl.go.jp>
206 * international/quail.el (quail-define-package): Docstring
209 2000-09-12 Kenichi Handa <handa@etl.go.jp>
211 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
212 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
213 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
214 docstring of "chinese-py".
216 * international/quail.el (quail-translation-docstring): New
218 (quail-show-keyboard-layout): Docstring modified.
219 (quail-select-current): Likewise.
220 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
221 infinite recursive call.
222 (quail-help): Check quail-translation-docstring. Format of the
224 (quail-help-insert-keymap-description): Adjusted for the above
227 2000-09-11 Gerd Moellmann <gerd@gnu.org>
229 * bytecomp.el (byte-compile-defvar): Only cons onto
230 current-load-list in top-level forms. Else this leaks a cons cell
231 every time a defun is called.
233 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
235 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
236 Now understands non-unified diffs. Some functionality moved into
237 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
238 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
239 modify anything. Only reposition point in the patched file if the
240 patch succeeds. Only pop up another window if POPUP is true.
241 Emit a message describing what happened if successful, and at what
242 line-offset. Automatically detect reversed hunks and do something
244 (diff-hunk-text, diff-find-text): New functions.
245 (diff-filter-lines): Function removed.
246 (diff-test-hunk): New function.
247 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
249 2000-09-10 Dave Love <fx@gnu.org>
251 * textmodes/tildify.el: Minor doc/commentary fixes.
252 (tildify) <defgroup>: Add :version.
254 * faces.el (face-x-resources): Make custom type more specific.
255 (frame-background-mode): Use mapc.
256 (region) <defcustom>: Add :version.
258 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
260 * vc-sccs.el (vc-sccs-register):
261 * vc-rcs.el (vc-rcs-register):
262 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
263 * vc.el (vc-register): Clear file's properties.
265 2000-09-08 Gerd Moellmann <gerd@gnu.org>
267 * faces.el (face-spec-set): Only face-spec-reset-face when
270 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
272 * help.el (help-insert-xref-button): Fix a typo in doc string.
274 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
276 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
277 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
280 * menu-bar.el (read-mail-item-name): New function.
281 (menu-bar-tools-menu): Use it to compute and display the package
283 (menu-bar-tools-menu): Fix typo in GUD's help string.
285 2000-09-07 Dave Love <fx@gnu.org>
287 * diff-mode.el (diff-mouse-goto-source): New function.
289 * vc-sccs.el: Doc fixes.
290 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
292 * vc-rcs.el: Doc fixes.
293 (vc-rcs-register-switches, vc-rcs-checkin-switches)
294 (vc-rcs-checkout-switches, vc-rcs-header)
295 (vc-rcs-master-templates): Add or change :version.
297 * vc-cvs.el: Doc fixes.
298 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
299 (vc-cvs-stay-local): Add :version.
301 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
303 2000-09-07 Kenichi Handa <handa@etl.go.jp>
305 * international/quail.el (quail-help): Fix previous change.
307 2000-09-07 Gerd Moellmann <gerd@gnu.org>
309 * faces.el (color-values): Doc fix.
311 * faces.el (frame-set-background-mode): Use frame-parameter
312 instead of frame-parameters.
314 * frame.el (filtered-frame-list): Reduce consing.
315 (frames-on-display-list): Call frame-parameter instead of
318 2000-09-07 Kenichi Handa <handa@etl.go.jp>
320 * language/devan-util.el (devanagari-to-indian-region): In the
321 loop, change the following char, not preceding char.
323 2000-09-07 Gerd Moellmann <gerd@gnu.org>
325 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
326 instead of frame-parameters.
328 * faces.el (set-face-attribute): Simplify by calling
329 internal-set-lisp-face-attribute with FRAME being 0.
331 * vc.el: Remove `Id' version control keyword.
333 2000-09-07 Kenichi Handa <handa@etl.go.jp>
335 * help.el (help-make-xrefs): Adjusted for the change of
336 help-xref-mule-regexp.
337 (help-insert-xref-button): New function.
339 * international/mule-cmds.el (help-xref-mule-regexp-template):
340 Include the pattern for character set.
343 * international/quail.el: Don't require face.
345 (quail-other-command): Dummy command to make quail-help work better.
346 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
347 (quail-keyboard-layout-substitution): New variable.
348 (quail-update-keyboard-layout): New function.
349 (quail-keyboard-layout-type): New customizable variable.
350 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
351 (quail-keyboard-translate): Pay attention to
352 quail-keyboard-layout-substitution.
353 (quail-insert-kbd-layout): New function.
354 (quail-show-keyboard-layout): New function.
355 (quail-get-translation): If the definition is a vector of length
356 1, and the element is a string of length 1, return the character
358 (quail-update-current-translations): Fix the case of
359 relative-index out of range.
360 (quail-build-decode-map, quail-insert-decode-map): New Functions.
361 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
362 Show key sequences for all available characters.
363 (quail-help-insert-keymap-description): Don't show such verbose
364 key bindings as quail-self-insert-command.
366 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
367 Format changed, and each element now have extra documentations.
368 (tit-process-header): Delete invalid characters from TIT-PROMPT.
369 Adjusted for the change of quail-cxterm-package-ext-info.
371 2000-09-06 Gerd Moellmann <gerd@gnu.org>
373 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
374 requiring it leads to a recursive loading of vc.el and vc-hooks.el
377 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
379 * vc.el: (toplevel): Don't require `dired' at run-time.
380 (vc-dired-resynch-file): Remove autoload cookie.
382 2000-09-05 Andre Spiegel <spiegel@gnu.org>
384 * vc.el: Made several backend functions optional.
385 (vc-default-responsible-p): New function.
386 (vc-merge): Use RET for first version to trigger merge-news, not
388 (vc-annotate): Handle backends that do not support annotation.
389 (vc-default-merge-news): Removed. The existence of a merge-news
390 implementation is now checked on caller sites.
392 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
395 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
396 special case that has been removed from the default in vc-hooks.el.
398 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
400 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
402 2000-09-05 Andre Spiegel <spiegel@gnu.org>
404 * vc-hooks.el: Require vc during compilation.
405 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
406 macro `with-vc-properties' in vc.el.
407 (vc-file-getprop): Doc fix.
408 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
410 * vc.el: Require dired-aux during compilation.
411 (vc-name-assoc-file): Moved to vc-sccs.el.
412 (with-vc-properties): New macro.
413 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
414 vc-finish-steal): Use it.
415 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
416 to the backend-specific function is now supposed to do the checkout,
418 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
420 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
421 set file properties; that gets done in the generic code now.
423 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
424 Changed parameter list, added code from vc.el that does the
425 checkout, possibly with a double-take.
427 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
428 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
429 the above under the new name.
430 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
431 parameter list, added checkout command.
432 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
433 properties; that gets done in the generic code now.
435 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
437 * vc.el: Docstring fixes (courtesy of checkdoc).
439 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
441 * vc.el (vc-checkout-writable-buffer-hook)
442 (vc-checkout-writable-buffer): Remove.
443 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
444 (vc-log-mode): Make it into a clean derived major mode.
445 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
446 vc-log-mode if log-edit is not available.
447 (vc-dired-mode-map): Don't set-keymap-parent yet.
448 (vc-dired-mode): Do set-keymap-parent here.
449 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
451 2000-09-05 Gerd Moellmann <gerd@gnu.org>
453 * faces.el (set-face-attribute, face-spec-reset-face)
454 (face-spec-set): Avoid consing by removing calls to `apply'.
456 * frame.el (frame-parameter): Move to C code.
458 2000-09-05 Dave Love <fx@gnu.org>
460 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
461 insert-before-markers-and-inherit. Now checked systematically!
463 2000-09-05 Alex Schroeder <alex@gnu.org>
465 * sql.el (sql-postgres): Use sql-postgres-options.
466 (sql-postgres-options): New variable.
468 2000-09-05 Alex Schroeder <alex@gnu.org>
470 * sql.el (sql-mode-menu): Work around missing variable mark-active
472 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
473 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
476 2000-09-04 Gerd Moellmann <gerd@gnu.org>
478 * vc.el (vc-dired-resynch-file): Add autoload cookie.
480 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
482 * Makefile.in (DONTCOMPILE): Fix typo in file name.
484 2000-09-04 Andre Spiegel <spiegel@gnu.org>
486 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
487 don't support anything else under SCCS yet.
489 * vc-hooks.el: Minor doc fixes.
491 2000-09-04 Andre Spiegel <spiegel@gnu.org>
493 * vc.el (vc-next-action-on-file): Do not visit the file if it's
494 not necessary. If verbose in state `needs-patch', do the same as
495 under `up-to-date'. When NOT verbose and `needs-patch', check out
496 latest version instead of `merge-news'.
497 (vc-next-action-dired): Don't mess with default-directory here; it
498 breaks other parts of dired. It is the job of the
499 backend-specific functions to adjust it temporarily if they need it.
500 (vc-next-action): Remove a special CVS case.
501 (vc-clear-headers): New optional arg FILE.
502 (vc-checkin, vc-checkout): Set properties vc-state and
503 vc-checkout-time properly.
504 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
505 (vc-print-log): Use new backend function `show-log-entry'.
506 (vc-cancel-version): Do the checks in a different order. Added a
507 FIXME concerning RCS-only code.
509 * vc-rcs.el (vc-rcs-show-log-entry): New function.
510 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
512 * vc-cvs.el (vc-cvs-show-log-entry): New function.
514 * vc-hooks.el (vc-default-mode-line-string): Show state
515 `needs-patch' as a `-' too.
517 2000-09-04 Andre Spiegel <spiegel@gnu.org>
519 * vc.el (vc-responsible-backend): New optional arg REGISTER.
520 (vc-default-could-register): New function.
521 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
522 (vc-resynch-buffer): Call vc-dired-resynch-file.
523 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
524 vc-resynch-buffer instead of vc-resynch-window.
525 (vc-next-action-dired): Don't redisplay here, that gets done as a
526 result of the individual file operations.
527 (vc-retrieve-snapshot): Corrected prompt order.
529 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
531 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
533 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
534 hostname regexps. Updated all callers.
535 (vc-cvs-responsible-p): Handle directories as well.
536 (vc-cvs-could-register): New function.
537 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
538 properties up-to-date.
540 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
541 user whether to create one.
543 2000-09-04 Andre Spiegel <spiegel@gnu.org>
545 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
546 check out a non-existing file.
548 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
549 workfile does not exist.
551 * vc.el (vc-version-diff): Use `require' to check for existence of
554 2000-09-04 Andre Spiegel <spiegel@gnu.org>
556 * vc-cvs.el (vc-cvs-registered): Use new function
557 vc-cvs-parse-entry to do the actual work.
559 2000-09-04 Andre Spiegel <spiegel@gnu.org>
561 * vc-hooks.el (vc-find-backend-function): If function doesn't
562 exist, return nil instead of error.
563 (vc-call-backend): Doc fix.
565 * vc.el (vc-do-command): Doc fix.
566 (vc-finish-logentry): When checking in from vc-dired, choose the
567 right backend for logentry check.
568 (vc-dired-mode-map): Inherit from dired-mode-map.
569 (vc-dired-mode): Local value of dired-move-to-filename-regexp
571 (vc-dired-state-info): Removed, updated caller.
572 (vc-default-dired-state-info): Use parentheses instead of hyphens.
573 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
574 (vc-dired-listing-switches): New variable.
575 (vc-directory): Use it, instead of dired-listing-switches.
577 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
578 (vc-cvs-dir-state): New function.
579 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
580 (vc-cvs-parse-entry): New function, also to be used in
583 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
585 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
586 *or* single-window-frames.
588 2000-09-04 Andre Spiegel <spiegel@gnu.org>
590 * vc.el (vc-update-changelog): Split into generic part and default
591 implementation. Doc string adapted.
592 (vc-default-update-changelog): New function. Call the `rcs2log'
593 script in exec-directory, to fix a long-standing nuisance.
595 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
596 simply signals an error.
598 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
600 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
601 control-flow more clear and to avoid running `cvs' twice.
603 * vc.el (vc-next-action-on-file): Doc fix.
604 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
605 (vc-print-log): Eval `file' before constructing the continuation.
607 2000-09-04 Andre Spiegel <spiegel@gnu.org>
609 * vc.el (vc-next-action-on-file): Corrected several messages.
610 (vc-merge): Add prefix arg `merge-news'; handle it.
612 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
613 is not reached. It is.
614 (vc-cvs-merge): Set state to 'edited after merge.
615 (vc-cvs-merge-news): Set workfile version to nil if not known.
616 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
618 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
619 via stdout. (Merge from main line.)
621 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
623 * vc.el (vc-finish-logentry): Thinko in the "same comment"
626 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
628 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
629 against kill-all-local-variables.
630 (vc-log-edit): Don't save vc-parent-buffer any more.
631 (vc-last-comment-match): Initialize to an empty string.
632 (vc-post-command-functions): New hook.
633 (vc-do-command): Run it.
634 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
635 (vc-finish-logentry): Only add the comment to the ring if it's
636 different from the last comment entered.
637 (vc-new-comment-index): New function.
638 (vc-previous-comment): Use it. Make the minibuffer message
640 (vc-comment-search-reverse): Make it work forward as well. Don't
641 set vc-comment-ring-index if no match is found. Use
642 vc-new-comment-index.
643 (vc-comment-search-forward): Use vc-comment-search-reverse.
644 (vc-dired-mode-map): Don't inherit from dired-mode-map since
645 define-derived-mode will do it for us. Bind `v' to a keymap that
646 inherits from vc-prefix-map so that we can bind `vt' without
648 (vc-retrieve-snapshot): Parenthesis typo.
650 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
651 to 1. Make sure to switch to *vc* before looking for an error
652 message. Use vc-parse-buffer.
654 2000-09-04 Andre Spiegel <spiegel@gnu.org>
656 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
658 (vc-retrieve-snapshot): Split into two parts.
659 (vc-default-retrieve-snapshot): New function.
661 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
662 (vc-cvs-retrieve-snapshot): New function (untested).
663 (vc-cvs-stay-local): Default to t.
664 (vc-cvs-remote-p): New function and property.
665 (vc-cvs-state): Stay local only if the above is t.
666 (vc-handle-cvs): Removed.
667 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
668 done via vc-handled-backends now.
669 (vc-cvs-header): Escape Id.
671 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
673 * vc.el (vc-do-command): Remove unused commands.
674 (vc-version-diff): Make sure default-directory ends with a slash.
675 Move the window commands into a vc-exec-after.
676 (vc-print-log): Move more of the code into the `vc-exec-after'.
678 2000-09-04 Andre Spiegel <spiegel@gnu.org>
680 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
681 (vc-print-log): Search current revision from beginning of buffer.
682 (vc-revert-buffer): Clear echo area after the diff is finished.
683 (vc-prefix-map): Removed definition of "t" for terse display in vc
685 (vc-dired-mode-map): Inherit from dired-mode-map. Added
686 definition of "vt" for terse display.
687 (vc-dired-mode): Fix dired-move-to-filename-regexp.
689 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
691 * vc.el (vc-exec-after): Avoid caddr.
693 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
695 * vc.el (vc-exec-after): New function.
696 (vc-do-command): Use it to add a termination message for async
698 (vc-checkout): Try to handle a missing-backend situation.
699 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
700 of a directory with a backend using async diffs.
701 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
704 * vc-sccs.el (vc-sccs-state-heuristic): Use
705 file-ownership-preserved-p.
707 * vc-rcs.el (vc-rcs-state-heuristic): Use
708 file-ownership-preserved-p.
709 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
711 2000-09-04 Andre Spiegel <spiegel@gnu.org>
713 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
716 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
717 when there are no changes.
719 2000-09-04 Andre Spiegel <spiegel@gnu.org>
721 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
723 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
725 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
727 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
729 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
730 the `fset' outside of the defvar so that it works even if
731 vc-prefix-map was already defined.
732 (vc-setup-buffer): New function, split out of vc-do-command.
733 (vc-do-command): Allow BUFFER to be t to mean `just use the
734 current buffer without any fuss'.
735 (vc-version-diff): Change the `diff' backend operation to just put
736 the diff in the current buffer without erasing it. Always use
737 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
738 shrink-window-if-larger-than-buffer.
739 (vc-print-log): Change the `print-log' backend operation to just
740 put the log in the current buffer without erasing it. Protect
741 shrink-window-if-larger-than-buffer.
742 (vc-update-change-log): Fix setd typo.
744 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
745 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
747 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
748 (vc-rcs-diff): Insert in the current buffer and remove unused arg
751 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
752 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
753 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
755 2000-09-04 Andre Spiegel <spiegel@gnu.org>
757 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
758 not possible, use vc-BACKEND-workfile-unchanged-p.
759 (vc-default-workfile-unchanged-p): New function. Delegates to a
760 full vc-BACKEND-diff.
762 * vc-hooks.el (vc-simple-command): Removed.
764 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
765 instead of vc-simple-command.
766 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
767 avoid doing a diff when opening a file.
768 (vc-rcs-state): Added check for unlocked-changes.
769 (vc-rcs-header): Escape Id.
770 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
771 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
774 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
775 (vc-sccs-diff): Remove optional arg CMP.
776 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
777 SCCS-specific function.
779 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
782 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
784 * vc.el (vc-editable-p): Renamed from vc-writable-p.
785 (with-vc-file, vc-merge): Use vc-editable-p.
786 (vc-do-command): Remove unused var vc-file and fix the
787 doubly-defined `status' var. Add a user message when starting an
789 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
790 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
791 Use with-current-buffer.
792 (vc-buffer-sync): Use unless.
793 (vc-next-action-on-file): If the file is 'edited by read-only,
794 make it read-write instead of trying to commit.
795 (vc-version-diff, vc-update-change-log): Use `setq
796 default-directory' rather than `cd'.
797 (vc-log-edit): Don't forget to set default-directory in the
800 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
801 (vc-sccs-state-heuristic): Use file-writable-p instead of
803 (vc-sccs-checkout): Use `unless'.
805 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
806 of comparing userids.
807 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
808 Simplify the logic by eliminating unreachable code.
809 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
810 just do a recursive call if we need to retry.
811 (vc-rcs-checkout): Handle the case where rcs is missing by making
812 the buffer read-write if requested and re-signalling the error.
814 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
816 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
818 * vc-hooks.el (vc-handled-backends): Docstring change.
819 (vc-ignore-vc-files): Mark obsolete.
820 (vc-registered): Check vc-ignore-vc-files.
821 (vc-find-file-hook, vc-file-not-found-hook): Don't check
824 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
826 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
828 * vc.el (vc-checkout): Don't do anything special for ange-ftp
829 files since ange-ftp already has vc-registered return nil.
831 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
832 (vc-sccs-workfile-version): Use with-temp-buffer and new
833 vc-parse-buffer and don't bother setting the property.
834 (vc-sccs-add-triple): Use with-current-buffer and
836 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
838 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
839 derives from the old vc-parse-buffer but uses the revision number
840 rather than the date (much easier to compare robustly).
841 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
842 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
843 locking-user more directly. Check strict locking and set
844 checkout-model appropriately.
845 (vc-rcs-parse-locks): Remove.
846 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
847 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
848 (vc-rcs-system-release): Use with-current-buffer and
850 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
852 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
853 (vc-simple-command): Docstring fix.
854 (vc-registered): Align the way the file-handler is called with the
855 way the function itself works.
856 (vc-file-owner): Remove.
858 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
859 extraction of fields and call to file-attributes because of a
860 temporary bug in rcp.el.
861 (vc-cvs-fetch-status): Use with-current-buffer.
863 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
865 * vc.el (vc-do-command): Use file-relative-name.
866 (vc-responsible-backend): Use vc-backend if possible.
867 (vc-create-snapshot): Improve the `interactive' spec. Add support
868 for branches and dispatch to backend-specific `create-snapshot'.
869 (vc-default-create-snapshot): New function, containing the bulk of
870 the old vc-create-snapshot.
871 (vc-retrieve-snapshot): Improve the interactive spec.
873 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
874 (vc-backend-hook-functions): Remove.
875 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
876 (vc-backend): Reintroduce the test for `file = nil' now that I
877 know why it was there (and added a comment to better remember).
879 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
880 code from vc-sccs-hooks.el.
881 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
883 (vc-sccs-responsible-p): Use expand-file-name instead of concat
884 and file-directory-p instead of file-exists-p.
885 (vc-sccs-check-headers): Simplify the regexp.
887 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
888 from vc-rcs-hooks.el. Don't require 'vc anymore.
889 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
890 file-directory-p instead of file-exists-p.
892 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
893 from vc-cvs-hooks.el.
894 (proto vc-cvs-registered): Require 'vc-cvs instead of
895 'vc-cvs-hooks. Don't require 'vc anymore.
896 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
897 file-directory-p instead of file-exists-p.
898 (vc-cvs-create-snapshot): New function, replacing
900 (vc-cvs-assign-name): Remove.
902 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
904 * vc-cvs.el (vc-cvs-header): New var.
906 * vc-rcs.el (vc-rcs-exists): Remove.
907 (vc-rcs-header): New var.
909 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
910 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
911 (vc-sccs-header): New var.
913 * vc.el (vc-do-command): Get rid of the `last' argument.
914 (vc-header-alist): Remove, replaced by vc-X-header.
915 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
916 (vc-dired-hook): Use expand-file-name instead of concat.
917 (vc-directory): Use file-name-as-directory.
918 (vc-snapshot-precondition, vc-create-snapshot)
919 (vc-retrieve-snapshot): Allow the command to operate on any
922 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
923 just removing the 'WORKFILE argument or by removing the 'MASTER
924 argument and replacing `file' with (vc-name file).
926 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
928 * vc.el: Update Copyright and add a crude list of backend funs.
929 (vc-writable-p): New function.
930 (with-vc-file): Use vc-writable-p.
931 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
932 (vc-register): Avoid vc-name.
933 (vc-locking-user): Remove.
934 (vc-steal-lock): Make the `owner' arg non-optional.
935 (vc-merge): Use vc-writable-p instead of vc-locking-user and
937 (vc-default-dired-state-info): Use vc-state instead of
938 vc-locking-user and return special strings for special states.
939 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
940 and get rid of one of the special CVS cases.
941 (vc-cancel-version): prettify error message with \\[...].
942 (vc-rename-master): New function.
943 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
944 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
945 the CVS special case generic.
946 (vc-default-record-rename): Remove.
947 (vc-file-tree-walk-internal): Only call FUNC for files that are
948 under control of some VC backend and replace `concat' with
950 (vc-file-tree-walk): Update docstring.
951 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
952 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
954 * vc-sccs.el (vc-sccs-rename-file): Renamed from
955 vc-sccs-record-rename. Use `find-file-noselect' rather than
956 `find-file' and call `vc-rename-master' to do the actual move.
957 (vc-sccs-diff): Remove unused `backend' variable.
959 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
960 to delay loading of vc-sccs until it is really used.
961 (vc-sccs-master-templates): Preload.
962 (vc-sccs-state): Update call to vc-sccs-parse-locks.
963 (vc-sccs-project-dir): Remove (merged into
964 vc-sccs-search-project-dir).
965 (vc-sccs-search-project-dir): Rewrite using file name handling ops
966 rather than `concat', make sure it is preloaded and don't bother
967 to check that the file actually exists.
968 (vc-sccs-parse-locks): Remove unused `file' argument, remove
969 `locks' argument (use buffer's content instead) and eliminate n^2
972 * vc-rcs.el: Update Copyright.
973 (vc-rcs-rename-file): New function.
974 (vc-rcs-diff): Remove unused `backend' variable.
976 * vc-hooks.el: Update Copyright.
977 (vc-backend): Don't accept a nil argument any more.
978 (vc-up-to-date-p): Turn into a defsubst.
979 (vc-possible-master): New function.
980 (vc-check-master-templates): Use `vc-possible-master' and allow
981 funs in vc-X-master-templates to return a non-existent file.
983 * vc-cvs.el: Update Copyright.
984 (vc-cvs-diff): Remove unused `backend' variable.
985 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
987 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
989 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
991 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
992 since it can be called from vc-rcs.el.
993 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
995 2000-09-04 Andre Spiegel <spiegel@gnu.org>
997 * vc.el (vc-version-diff): Expand file name read from the
998 minibuffer. Handle the case when a previous version number can't
999 be guessed. Give suitable messages when there were no differences
1001 (vc-clear-headers): Call backend-specific implementation, if one
1003 (vc-cancel-version): Made error checks generic. When done, clear
1004 headers generically, too.
1006 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
1007 from vc-clear-headers in vc.el.
1009 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
1011 (vc-rcs-latest-on-branch-p): Made second argument VERSION
1012 optional. Handle the case when it's not there.
1014 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1016 * vc.el (vc-locking-user): Moved from vc-hooks.el.
1018 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1020 * vc-hooks.el (vc-loadup): Remove.
1021 (vc-find-backend-function): Use `require'. Also, handle the case
1022 where vc-BACKEND-hooks.el doesn't exist.
1023 (vc-call-backend): Cleanup.
1025 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1027 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
1028 vc-rcs-grab-templates)
1029 (vc-rcs-registered): Remove. The default function works as well.
1030 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
1031 vc-sccs-grab-templates)
1032 (vc-sccs-registered): Remove. The default function works as well.
1034 * vc.el (vc-version-diff): Left out a vc- in call to
1036 (vc-default-dired-state-info, vc-default-record-rename)
1037 (vc-default-merge-news): Update for the new backend argument.
1039 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
1040 using the default function.
1041 (vc-call-backend): If calling the default function, pass it the
1042 backend as first argument. Update the docstring accordingly.
1043 (vc-default-state-heuristic, vc-default-mode-line-string): Update
1044 for the new backend argument.
1045 (vc-make-backend-sym): Renamed from vc-make-backend-function.
1046 (vc-find-backend-function): Use the new name.
1047 (vc-default-registered): New function.
1049 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1051 * vc.el (vc-merge): Use vc-find-backend-function.
1053 * vc-hooks.el (vc-backend-functions): Remove.
1054 (vc-loadup): Don't setup 'vc-functions.
1055 (vc-find-backend-function): New function.
1056 (vc-call-backend): Use above fun and populate 'vc-functions
1058 (vc-backend-defines): Remove.
1060 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1062 * vc.el (vc-register): Put a FIXME note for a newly found bug.
1063 Call vc-call-backend without the leading vc-.
1064 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
1065 (vc-check-headers): Call vc-call-backend without the leading vc-.
1066 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
1067 (vc-annotate-display): Replace confusing use of `cond' with `or'.
1068 Call vc-call-backend without the leading vc-.
1070 * vc-cvs.el (tail): Provide vc-cvs.
1071 * vc-sccs.el (tail): Provide vc-sccs.
1072 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
1074 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
1075 (vc-make-backend-function, vc-call): Pass names without leading
1076 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
1077 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
1078 (vc-call-backend): Always try to load vc-X-hooks.
1079 (vc-registered): Remove vc- in call to vc-call-backend.
1081 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1083 * vc.el (vc-process-filter): New function.
1084 (vc-do-command): Setup `vc-process-filter' for the async process.
1085 (vc-maybe-resolve-conflicts): New function to reduce
1086 code-duplication. Additionally, it puts the buffer in
1087 `smerge-mode' if applicable.
1088 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
1089 calling `merge-news'.
1090 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
1091 (vc-log-edit): New function. Replacement for `vc-log-mode' by
1092 interfacing to log-edit.el.
1093 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
1094 log-edit is available.
1095 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
1097 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1099 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
1100 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
1101 defvar and the initialization.
1102 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
1104 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
1105 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
1107 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
1109 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1111 * vc.el (vc-file-clear-masterprops): Removed.
1112 (vc-checkin, vc-revert-buffer): Removed calls to the above.
1113 (vc-version-diff): Use buffer-size without argument.
1114 (vc-register): Heed vc-initial-comment.
1116 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
1119 * vc-rcs.el (vc-rcs-register): Parse command output to find master
1120 file name and workfile version.
1121 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
1123 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
1124 vc-file-clear-masterprops.
1126 * vc-sccs.el (vc-sccs-checkout): Removed call to
1127 vc-file-clear-masterprops. If writable, set vc-state to 'edited
1128 rather than user login name.
1131 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1133 * vc.el (vc-workfile-unchanged-p): Remove unused argument
1134 `want-differences-if-changed' and simplify.
1135 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
1136 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
1137 output (which is invalid for async vc-diff) to decide whether to
1138 do the revert silently or not.
1140 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1142 * vc-hooks.el (vc-loadup): Load files quietly.
1143 (vc-call-backend): Oops, brain fart.
1145 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1147 * vc-cvs.el (vc-cvs-state): Typo.
1148 (vc-cvs-merge-news): Return the status code rather than the error msg.
1150 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1152 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
1153 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
1154 vc-state or vc-up-to-date-p.
1155 (vc-merge): Use vc-backend-defines to check whether merging is
1156 possible. Set state to 'edited after successful merge.
1158 * vc-hooks.el (vc-locking-user): If locked by the calling user,
1159 return that name. Redocumented.
1161 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1163 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
1164 new `vc-state' semantics.
1165 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
1166 'vc-locking-user to the current user.
1167 (vc-merge): Inline vc-backend-merge. Comment out code that I
1168 don't understand and hence can't adapt to the new `vc-state' and
1169 `vc-locking-user' semantics.
1170 (vc-backend-merge): Remove.
1172 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
1173 rather than 'vc-locking-user.
1175 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
1177 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
1178 (vc-state): Don't use 'reserved any more. Just use the same
1179 convention as the one used for vc-<backend>-state where the
1180 locking user (as a string) is returned.
1181 (vc-locking-user): Update, based on the above convention. The
1182 'vc-locking-user property has disappeared.
1183 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
1185 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
1186 with a heuristic one.
1187 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
1188 (vc-cvs-checkin): Do a trivial parse to set the state in case of
1189 error. That allows us to get to 'needs-merge even in the
1190 stay-local case. There's still no way to detect 'needs-patch in
1191 such a setup (or to force an update for that matter).
1192 (vc-cvs-logentry-check): Remove, the default works as well.
1194 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1196 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
1198 * vc.el (vc-do-command): kill-all-local-variables, to reset any
1199 major-mode in which the buffer might have been put earlier. Use
1200 `remove' and `when'. Allow `okstatus' to be `async' and use
1201 `start-process' in this case.
1202 (vc-version-diff): Handle the case where the diff looks empty
1203 because of the use of an async process.
1205 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1207 * vc.el (vc-next-action-on-file): Removed optional parameter
1208 `simple'. Recompute state unconditionally.
1209 (vc-default-toggle-read-only): Removed.
1211 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
1212 (vc-toggle-read-only): Undid prev change.
1214 * vc-cvs.el (vc-cvs-stay-local): Renamed from
1215 vc-cvs-simple-toggle. Redocumented.
1216 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
1217 (vc-cvs-toggle-read-only): Removed.
1219 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1221 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
1222 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
1223 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
1224 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
1225 still is. So maybe it should be removed.
1226 (vc-head-version, vc-find-binary): Remove.
1227 (vc-recompute-state): Move from vc-hooks.el.
1228 (vc-next-action-on-file): Add a `simple' argument to allow
1229 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
1230 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
1231 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
1232 (vc-dired-mode-map): Properly defvar it.
1233 (vc-print-log): Call log-view-mode if available.
1234 (small-temporary-file-directory): defvar instead of use boundp.
1235 (vc-merge-news): Moved to vc-cvs.el.
1236 (vc-default-merge-news): New function.
1238 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
1239 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
1240 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
1241 unknown `vc-latest-version' function. It should probably refer to
1242 vc-workfile-version or somesuch, but it's very unclear to me and I
1243 don't have SCCS to test things.
1245 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
1246 (vc-sccs-state-heuristic): Fix typo.
1247 (vc-sccs-workfile-unchanged-p): Add missing argument.
1249 * vc-rcs.el: Require vc and vc-rcs-hooks.
1250 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
1251 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
1252 (vc-release-greater-or-equal-p): Move from vc.
1253 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
1254 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
1255 (vc-rcs-checkout): Add a missing `new-version' argument in the
1256 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
1258 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
1259 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
1260 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
1261 than the apparently unbound `workfile-version'.
1263 * vc-hooks.el (vc-master-templates): Def the obsolete var.
1264 (vc-file-prop-obarray): Use `make-vector'.
1265 (vc-backend-functions): Add new hookable functions
1266 vc-toggle-read-only, vc-record-rename and vc-merge-news.
1267 (vc-loadup): If neither backend nor default functions exist, use
1268 the backend function rather than nil.
1269 (vc-call-backend): If the function if not bound yet, try to load
1270 the non-hook file to see if it provides it.
1271 (vc-call): New macro plus use it wherever possible.
1272 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
1273 nor `vc-find-binary' since it's only called from
1274 vc-mistrust-permission which is only used once the backend is known.
1275 (vc-checkout-model): Fix parenthesis.
1276 (vc-recompute-state, vc-prefix-map): Move to vc.el.
1278 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
1279 (vc-cvs-release, vc-cvs-system-release): Remove.
1280 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
1281 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
1283 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
1284 (vc-cvs-toggle-read-only): First cut at a function to allow a
1285 cvs-status-free vc-toggle-read-only.
1286 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
1287 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
1288 vc-cvs-status. Also set vc-state rather than vc-locking-user.
1289 (vc-cvs-checkout): Modify access rights directly if the user
1290 requested not to use `cvs edit'. And refresh the mode line.
1292 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
1293 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
1295 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1297 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
1298 workfile' that got lost when the code was extracted from vc.el.
1299 And merged the tail with the rest of the code (not possible in the
1300 old vc.el where the tail was shared among all backends). And
1301 explicitly set the state to 'edited if `writable' is set.
1303 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
1304 (vc-cvs-state): Be careful to return the value from
1306 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
1307 property but return it instead. Also be careful to handle a nil
1308 or "" `rev' when workfile is non-nil (it was handled properly when
1311 * vc.el: Removed those pesky unnecessary `(function' quotes.
1312 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
1313 directly in the defvar.
1314 (vc-do-command): Bind inhibit-read-only so as to properly handle
1315 the case where the destination buffer has been made read-only.
1316 (vc-diff): Delegate to vc-version-diff in all cases.
1317 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
1318 (vc-annotate-mode-variables): Removed (code moved partly to
1319 defvars and partly to vc-annotate-add-menu).
1320 (vc-annotate-mode): Turned into a derived-mode.
1321 (vc-annotate-add-menu): Moved in code in
1322 vc-annotate-mode-variables.
1323 (vc-update-change-log): Use make-temp-file if available.
1325 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
1327 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
1328 `vc-checkout-model' updated to `vc-cvs-update-model'.
1330 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1332 * vc.el (vc-next-action-on-file): Added handling of state
1334 (vc-checkout-carefully): Is now practically obsolete, unless the
1335 above is too slow to be enabled unconditionally.
1336 (vc-update-change-log): Fixed typo.
1338 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
1340 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
1341 Now handles state `unlocked-changes'.
1342 (vc-sccs-workfile-unchanged-p): New function, to support the above.
1344 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
1346 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
1347 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
1349 (vc-rcs-workfile-unchanged-p): Renamed from
1350 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
1351 function yet, but supposed to become one soon.
1353 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
1355 (vc-call-backend): Changed error message.
1356 (vc-state): Added description of state `unlocked-changes'.
1358 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1360 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
1361 always return t in CVS-controlled directories.
1363 * vc.el (vc-responsible-backend): New function.
1364 (vc-register): Largely rewritten.
1365 (vc-admin): Removed (implementation moved into vc-register).
1366 (vc-checkin): Redocumented.
1367 (vc-finish-logentry): If no backend defined yet (because we are in
1368 the process of registering), use the responsible backend.
1370 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
1371 Updated function lists.
1372 (vc-call-backend): Fixed typo.
1374 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
1376 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
1377 Removed query option. Redocumented.
1379 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1381 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
1383 * vc.el: Updated callers of `vc-checkout-required' to use
1384 `vc-checkout-model'.
1386 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1388 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
1389 stuff updated to reference this function instead of the old
1390 `vc-backend-release-p'.
1392 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1394 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
1395 vc-checkout-model. Return appropriate values. Updated callers.
1397 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1399 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
1400 (vc-backend-revert): Function moved into `vc-revert';
1401 `vc-next-action' must be updated to accomodate this change.
1402 (vc-backend-steal): Function moved into `vc-finish-steal'.
1403 (vc-backend-logentry-check): Function moved into
1404 `vc-finish-logentry'.
1405 (vc-backend-printlog): Function moved into `vc-print-log'.
1406 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
1407 (vc-backend-assign-name): Function moved into
1408 `vc-create-snapshot'.
1410 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1412 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
1413 Rename to vc-checkout-model. Return appropriate values.
1416 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
1417 to vc-checkout-model.
1418 (vc-checkout-required): Rename to vc-checkout-model.
1419 Re-implement and re-comment.
1420 (vc-after-save): Use vc-checkout-model.
1422 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1424 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
1425 Update to use the vc-BACKEND-diff functions instead.
1426 `vc-diff' is now working.
1428 * vc-rcs.el (vc-rcs-logentry-check): New function.
1430 * vc-cvs.el (vc-cvs-logentry-check): New function.
1432 * vc-sccs.el (vc-sccs-diff): Function changed name from
1433 `vc-backend-diff'. This makes `vc-diff' work.
1435 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
1436 of functions possibly implemented in a vc-BACKEND library.
1437 (vc-checkout-required): Fix bug that caused an error to be
1438 signaled during `vc-after-save'.
1441 This checkin is made with our new VC code base for the very first time.
1442 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
1444 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
1445 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
1447 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
1448 updated to `vc-uses-locking'.
1449 (vc-checkout-required): Call to backend function.
1450 `vc-checkout-required' updated to `vc-uses-locking' instead.
1452 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
1453 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
1455 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
1456 to match the split into various backends.
1457 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
1458 (vc-retrieve-snapshot): Bug fix.
1460 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1462 * vc-sccs.el (vc-sccs-release): Doc fix.
1464 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1466 * vc.el (vc-next-action-on-file): Bug found and fixed.
1467 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
1468 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
1470 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
1471 (vc-rcs-checkout): Name space cleaned up. No more revision number
1472 crunching function names that are not prefixed with vc-rcs.
1473 (vc-rcs-checkout-model): Function added. References to
1474 `vc-checkout-model' replaced.
1476 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1478 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
1479 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
1480 still need to be split, and implemented for RCS).
1482 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1484 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
1486 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
1487 required by the vc.el file.
1489 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
1490 required by the vc.el file.
1491 (vc-rcs-exists): Function added.
1493 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
1494 required by the vc.el file.
1496 * vc.el (vc-admin): Updated to handle selection of appropriate
1497 backend. Current implementation is crufty and need re-thinking.
1499 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
1501 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1503 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
1504 beginning of annotate buffers correctly.
1506 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
1507 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
1508 functionality updated quite a lot to support multiple backends.
1509 Variables `vc-annotate-mode', `vc-annotate-buffers',
1510 `vc-annotate-backend' added.
1512 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
1513 `vc-annotate-difference' added to supported backend functions.
1515 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1517 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
1518 Use with-temp-file instead of /bin/sh. Merged from mainline
1520 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1522 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
1524 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
1526 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
1528 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1530 * vc-hooks.el: vc-state-heuristic added to
1531 vc-backend-hook-functions.
1533 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
1535 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
1537 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
1538 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
1539 state to `reserved'.
1541 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
1542 `vc-checkout-required'. Rename the `locked' state to `reserved'.
1544 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1546 * vc-rcs-hooks.el: Implement new state model. Hardly anything
1549 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
1551 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
1552 if defined. (Merged from main line, slightly adapted.)
1554 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
1555 millenium problem (merged from mainline).
1557 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1559 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
1560 part and moved the non-BACKEND stuff to vc.el.
1562 * vc.el: Split the annotate feature into a BACKEND specific part
1563 and moved it from the vc-cvs.el file to this one.
1565 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1567 * vc-hooks.el: Implement new state model.
1568 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
1569 (vc-locking-user): Simplify. Now only needed if the file is
1570 locked by somebody else.
1571 (vc-lock-from-permissions): Remove. Functionality is in
1572 vc-sccs-hooks.el and vc-rcs-hooks.el now.
1573 (vc-mode-line-string): New name for former vc-status. Adapted.
1574 (vc-mode-line): Adapt to use the above. Remove optional parameter.
1576 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
1577 Various simplifications and adaptations all over the place.
1579 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
1580 Simplify and adapt the rest.
1582 * vc.el (vc-resynch-window): Add TODO comment: check for
1583 interaction with view mode according to recent RCS change.
1584 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
1586 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1588 * vc.el: Convert the remaining function comments to docstrings.
1590 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1592 * vc.el (vc-backend-release, vc-release-greater-or-equal)
1593 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
1594 (vc-minor-part, vc-previous-version): Functions that operate and
1595 compare revision numbers got proper documentation. Comments added
1596 about their possible removal.
1598 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1600 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
1601 the vc-backend.el files.
1603 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
1605 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
1606 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
1607 (vc-rcs-previous-version): Functions added.
1609 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
1611 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
1613 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1615 * vc-hooks.el (vc-master-templates): Is really obsolete.
1616 Comment out the definition for now. What is the right procedure
1618 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
1620 (vc-default-registered): Remove.
1621 (vc-check-master-templates): New function; does mostly what the
1623 (vc-locking-user): Don't rely on the backend to set the property.
1625 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
1626 Rewrite documentation.
1627 (vc-rcs-templates-grabbed): New variable.
1628 (vc-rcs-grab-templates): New function.
1629 (vc-rcs-registered): Rewrite to use above mechanism.
1631 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
1632 Rewrite documentation.
1633 (vc-sccs-templates-grabbed): New variable.
1634 (vc-sccs-grab-templates): New function.
1635 (vc-sccs-registered): Rewrite to use above mechanism.
1636 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
1637 Don't throw the result, simply return it.
1639 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
1640 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
1641 (vc-cvs-registered): Does the check itself now. Simplify.
1643 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
1646 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1648 * vc-cvs.el (vc-cvs-diff): New function.
1650 * vc-sccs.el (vc-sccs-diff): New function.
1652 * vc-rcs.el (vc-rcs-diff): New function.
1653 (vc-rcs-checkout): Bug (typo) found and fixed.
1654 (vc-rcs-register-switches): New variable.
1656 * vc.el (vc-backend-diff): Function removed and placed in the
1659 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1661 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
1663 * vc.el (vc-backend-checkout): Function removed and replaced in
1664 the vc-backend.el files.
1666 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
1668 * vc.el (vc-backend-admin): Removed and replaced in the
1669 vc-backend.el files.
1671 * vc.el (Martin): Removed all the annotate functionality since it
1672 is CVS backend specific.
1674 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1676 * spec.txt: Added specification of vc-state.
1678 * vc-sccs-hooks.el (vc-sccs-master-properties):
1679 Remove handling of vc-latest-version and
1680 vc-your-latest-version. What used to be vc-latest-version, is now
1681 returned as vc-workfile-version.
1682 (vc-sccs-workfile-version): Adapt.
1684 2000-09-04 Dave Love <fx@gnu.org>
1686 * vc.el: [Merged from mainline.]
1687 (vc-dired-mode): Make the dired-move-to-filename-regexp
1688 regexp match the date, to avoid treating date as file size.
1689 Add YYYY S option to WESTERN/
1691 2000-09-04 Dave Love <fx@gnu.org>
1693 * vc.el: Require `compile' when compiling.
1694 (vc-logentry-check-hook): New option.
1695 (vc-steal-lock): Use compose-mail.
1696 (vc-dired-mode-map): Defvar when compiling.
1697 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
1698 vc-sccs.el and renamed. Callers changed.
1699 (vc-backend-checkout, vc-backend-logentry-check)
1700 (vc-backend-merge-news): Doc fix.
1701 (vc-default-logentry-check): New function.
1702 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
1703 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
1704 (vc-backend-merge): Doc fix. Use backend functions.
1705 (vc-check-headers): Use backend functions.
1707 * vc-cvs.el: Require vc when compiling.
1708 (vc-cvs-register-switches): Doc fix.
1709 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
1710 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
1711 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
1712 New functions (code from vc.el).
1713 (vc-annotate-display-default): Fix interactive spec.
1714 (vc-annotate-time-span): Doc fix.
1716 * vc-rcs.el: Require vc when compiling.
1717 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
1718 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
1719 (vc-rcs-checkin): New functions (code from vc.el).
1720 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
1722 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
1724 * vc-sccs.el: Require vc when compiling.
1725 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
1726 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
1728 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
1730 (vc-sccs-add-triple, vc-sccs-record-rename)
1731 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
1732 (vc-sccs-admin): Doc fix.
1734 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1736 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
1737 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
1738 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
1741 * vc-sccs.el (vc-admin-sccs): Added from vc.el
1743 * vc-cvs.el: Moved the annotate functionality from vc.el.
1744 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
1746 2000-09-04 Dave Love <fx@gnu.org>
1748 * vc.el (vc-backend-release): Call vc-system-release.
1750 * vc-sccs.el (vc-sccs-system-release):
1751 Renamed from vc-sccs-backend-release.
1753 * vc-rcs.el (vc-rcs-system-release):
1754 Renamed from vc-rcs-backend-release.
1756 * vc-cvs.el (vc-cvs-system-release):
1757 Renamed from vc-cvs-backend-release.
1759 2000-09-04 Dave Love <fx@gnu.org>
1761 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
1763 (vc-backend-release): Dispatch to backend functions.
1764 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
1765 probably needs attention.]
1767 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
1768 (vc-sccs-backend-release): New function.
1770 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
1771 (vc-cvs-backend-release): New function.
1773 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
1775 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
1776 (vc-default-dired-state-info): New function.
1777 (vc-dired-state-info): Dispatch to backends.
1778 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
1780 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
1781 from vc.el and renamed.
1783 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1785 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
1786 (vc-version-other-window, vc-backend-assign-name): Removed
1787 references to vc-latest-version; sometimes changed into
1788 vc-workfile-version.
1790 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
1791 vc-rcs-master-workfile-version.
1792 (vc-rcs-workfile-version): Use the above. Don't call
1793 vc-latest-version (that was unreachable code, anyway).
1794 (vc-rcs-fetch-master-properties): Doc fix.
1796 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
1797 (vc-backend-hook-functions): Removed them from this list, too.
1798 (vc-fetch-properties): Removed.
1799 (vc-workfile-version): Doc fix.
1801 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
1802 (vc-rcs-workfile-version, vc-rcs-locking-user)
1803 (vc-rcs-uses-locking): Use it.
1805 * vc-hooks.el (vc-consult-rcs-headers):
1806 Moved into vc-rcs-hooks.el, under the name
1807 vc-rcs-consult-headers.
1809 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
1811 (vc-cvs-find-master): Use this name only; correct different
1812 versions of the name.
1814 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
1816 (vc-sccs-locking-user): Use the latter.
1818 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
1821 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
1823 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
1824 functions are implementation details of those two backends.
1826 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1828 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
1829 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
1831 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
1832 (vc-sccs-parse-locks): SCCS-specific code moved here from
1835 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
1836 code moved here from vc-hooks.
1838 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
1839 into back-end specific parts and removed. Callers not updated
1840 yet; because I guess these callers will disappear into back-end
1841 specific files anyway.
1843 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1845 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
1846 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
1849 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
1850 Store yes/no in the property, and return t/nil. Updated all
1853 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
1854 vc-sccs-uses-locking. Don't set property.
1855 (vc-sccs-locking-user): Don't set property.
1857 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
1858 vc-cvs-uses-locking. Don't set property here; leave that to
1860 (vc-cvs-locking-user): Reflect above change. Streamlined.
1862 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
1863 vc-rcs-uses-locking.
1864 (vc-rcs-locking-user): Reflect above change.
1866 2000-09-04 Dave Love <fx@gnu.org>
1868 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
1870 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
1872 * vc-hooks.el (vc-checkout-model): Punt to backends.
1874 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
1876 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
1878 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
1881 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
1884 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
1885 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
1887 * vc-hooks.el (vc-default-locking-user): New function.
1888 (vc-locking-user, vc-workfile-version): Punt to backends.
1890 2000-09-04 Dave Love <fx@gnu.org>
1892 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
1893 (vc-master-workfile-version): Moved from vc-hooks.
1895 * vc-rcs-hooks.el: Fix duplicate code in last change.
1897 * vc-rcs-hooks.el: Require vc-hooks when compiling.
1898 (vc-rcs-master-templates): Improve :type.
1899 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
1900 vc-master-workfile-version): Moved from vc-hooks.
1902 * vc-sccs-hooks.el: Require vc-hooks when compiling.
1903 (vc-sccs-master-templates): Improve :type.
1904 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
1906 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
1908 * vc-cvs-hooks.el: Require vc-hooks when compiling.
1909 (vc-cvs-master-templates): Improve :type. Use
1910 vc-cvs-find-cvs-master.
1911 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
1913 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
1915 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
1916 Moved to vc-cvs-hooks.
1918 * vc-hooks.el: Add doc strings in various places. Simplify the
1920 (vc-handled-backends): New user variable.
1921 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
1924 2000-09-04 Dave Love <fx@gnu.org>
1926 * vc.el: Some doc fixes for autoloaded and interactive functions.
1927 Fix compilation warnings from ediff stuff.
1928 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
1930 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
1932 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
1934 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
1936 2000-09-04 Dave Love <fx@gnu.org>
1938 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
1940 (vc-make-backend-function, vc-loadup, vc-call-backend)
1941 (vc-backend-defines): New functions.
1943 * vc-hooks.el: Various doc fixes.
1944 (vc-default-back-end, vc-follow-symlinks): Custom fix.
1945 (vc-match-substring): Function removed. Callers changed to use
1947 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
1950 2000-09-04 Dave Love <fx@gnu.org>
1952 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
1954 (vc-sccs-project-dir, vc-search-sccs-project-dir)
1955 (vc-sccs-registered): Doc fix.
1957 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
1958 (vc-cvs-registered): Doc fix.
1960 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
1961 (vc-rcs-registered): Doc fix.
1963 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1965 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
1967 * vc-hooks.el: vc-registered has been renamed
1968 vc-default-registered. Some functions have been moved to the
1969 backend specific files. they all support the
1970 vc-BACKEND-registered functions.
1972 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1974 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
1976 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
1978 2000-09-04 Dave Love <fx@gnu.org>
1980 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
1981 menu-bar-update-hook.
1983 * help.el (help-manyarg-func-alist): Add
1984 find-operation-coding-system.
1986 * wid-edit.el (widget-sexp-validate): Fix garbled code.
1988 * custom.el (custom-set-variables): Print message about errors in
1991 2000-09-03 Andrew Innes <andrewi@gnu.org>
1993 * makefile.w32-in: Change to DOS line endings.
1995 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
1997 * mouse.el (mouse-popup-menubar): Supply the prompt string for
1998 minor-mode keymaps, if they don't have one.
2000 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2002 * eshell/esh-module.el (eval-when-compile): Don't lose if
2003 esh-module.el's file name is truncated to DOS 8+3 limits.
2005 2000-09-01 John Wiegley <johnw@gnu.org>
2007 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
2008 predicate, which caused entries in the completion list to be
2011 2000-08-30 John Wiegley <johnw@gnu.org>
2013 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
2014 sending to subprocesses. Also, hook pre-command-hook if
2015 `eshell-send-direct-to-subprocesses' is non-nil.
2016 (eshell-send-direct-to-subprocesses): New config variable. If t,
2017 subprocess input is send immediately.
2018 (eshell-toggle-direct-send): New function.
2019 (eshell-self-insert-command): New function.
2020 (eshell-intercept-commands): New function.
2021 (eshell-send-input): If direct subprocess sending is enabled,
2022 don't echo any input to the Eshell buffer. Let the subprocess
2023 handle that. This requires "stty echo" in bash, for example.
2025 2000-08-28 John Wiegley <johnw@gnu.org>
2027 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
2028 completion function for Eshell's implementation of `unset'.
2030 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2032 * info.el (Info-directory-list): Doc fix.
2034 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
2036 * filecache.el (file-cache-add-directory-using-find): Don't quote
2037 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
2039 2000-08-31 Kenichi Handa <handa@etl.go.jp>
2041 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
2044 2000-08-30 Andrew Innes <andrewi@gnu.org>
2046 * timer.el (run-with-idle-timer): Undo last change, so that timer
2047 is not activated immediately if Emacs is already idle. Some
2048 existing code relies on this behaviour.
2050 2000-08-30 Miles Bader <miles@gnu.org>
2052 * frame.el (set-frame-font): Do completion of font-name for
2055 2000-08-30 Kenichi Handa <handa@etl.go.jp>
2057 * international/quail.el (quail-start-translation): Bind locally
2058 last-command-event, last-command, and this-command.
2059 (quail-start-conversion): Likewise.
2060 (quail-self-insert-command): Fix docstring.
2062 2000-08-29 Gerd Moellmann <gerd@gnu.org>
2064 * progmodes/executable.el
2065 (executable-make-buffer-file-executable-if-script-p): Check that
2066 buffer contains at least 2 characters.
2068 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2070 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
2072 2000-08-29 Dave Love <fx@gnu.org>
2074 * diff-mode.el (diff-mode) <defgroup>: Add :version.
2075 (diff-mode-shared-map): Bind mouse-2.
2076 (diff-imenu-generic-expression): New variable.
2077 (diff-mode): Use it.
2079 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
2080 (mouse-popup-menubar): Add minor mode menus.
2081 (popup-menu): Check for lookup-key returning number.
2083 2000-08-29 Miles Bader <miles@gnu.org>
2085 * comint.el (comint-send-input): Create overlays using the proper
2086 front/read-advance arguments.
2088 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
2090 * ps-print.el: Even/odd pages printing. Doc fix.
2091 (ps-print-version): New version number (6.0).
2092 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
2093 (ps-background, ps-begin-file, ps-begin-job): Code fix.
2094 (ps-print-duplex-feature): Variable eliminated.
2095 (ps-even-or-odd-pages): New variable.
2097 * progmodes/ebnf2ps.el: Doc fix.
2098 (ebnf-version): New version (3.3).
2099 (ebnf-user-arrow): Change variable customization to sexp.
2100 (ebnf-user-arrow): Function eliminated.
2101 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
2103 2000-08-29 Kenichi Handa <handa@etl.go.jp>
2105 * help.el (help-xref-mule-regexp): New variable.
2106 (help-make-xrefs): Handle help-xref-mule-regexp.
2108 * international/mule-cmds.el (help-xref-mule-regexp-template): New
2110 (describe-input-method): Temporarily activate the specfied input
2111 method to display the information.
2112 (describe-language-environment): Hyperlinks to mule related items.
2114 * international/mule-diag.el (charset-multibyte-form-string): New
2116 (list-character-sets-1): Use charset-multibyte-form-string.
2117 (describe-character-set): New function.
2118 (describe-coding-system): Hyperlinks to safe character sets.
2120 * international/quail.el (quail-help): New arg PACKAGE.
2121 Hyperlinks to mule related items.
2122 (quail-help-insert-keymap-description): Use
2123 substitute-command-keys instead of describe-bindings.
2124 (quail-translation-help): Hyperlinks to mule related items.
2126 2000-08-28 John Wiegley <johnw@gnu.org>
2128 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
2129 have a defsubst call itself. Made `eshell-flatten-list' back into
2132 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
2133 catch, in case re-centering point at bottom messes up the display.
2134 This happens frequently in Emacs 21, due I believe to variable
2137 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
2138 to call `find-tag-interactive'.
2140 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
2141 the list of remember directories.
2143 2000-08-28 John Wiegley <johnw@gnu.org>
2145 * align.el: Test align-region-separate to see if it's a symbol.
2147 2000-08-28 John Wiegley <johnw@gnu.org>
2149 * eshell/esh-util.el (eshell-flatten-list): Made this function
2150 into a defsubst form. It gets used very frequently, although
2151 calls don't occur all that often.
2153 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
2156 * eshell/esh-cmd.el (eshell-rewrite-while-command):
2157 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
2159 (eshell-copy-handles): Created a new macro for duplicating the
2160 current set of open handles. This is needed by the looping
2162 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
2163 is not incorrectly stomped on.
2165 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
2166 declaration for pcomplete-use-paring.
2167 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
2168 value of eshell-cmpl-use-paring.
2169 * pcomplete.el (pcomplete-use-paring): New config variable, to
2170 indicate whether paring should be used.
2171 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
2172 completion alternatives that have already been used.
2174 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
2175 bound to C-c C-y, which will repeat the previous N arguments
2176 (based on prefix argument).
2177 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
2179 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
2180 if there is no *Help* buffer. This is for XEmacs, which renames
2181 its help buffers uniquely. TODO: Find out what the current buffer
2184 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
2185 first entry that correlates to a passwd/group number. Later
2186 entries (used for group/user name aliasing to multiple IDs) are
2189 * eshell/em-xtra.el (eshell/expr):
2190 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
2191 (eshell-grep, eshell/diff, eshell/locate):
2192 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
2193 argument list, before passing it to the system command.
2195 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
2196 `find-tag' for use at final position in Eshell buffers (which
2197 otherwise triggers an error on Emacs 21).
2198 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
2199 buffer, if it is currently bound to `find-tag'.
2201 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
2202 in the list of matched Makefile names.
2203 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
2204 directory, prefer its contents to Makefile.
2206 * eshell/em-dirs.el (eshell/cd): cd commands that look up
2207 directory parts (like "cd old new", or "cd =regexp"), are now case
2208 sensitive on non-Windows/DOS platforms.
2210 * eshell/esh-mode.el (eshell-parse-command-input): When a user
2211 types RET after an open delimiter (like "), display a message
2212 indicating that Eshell is waiting for the closing delimiter.
2214 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
2215 environment variables.
2217 * eshell/em-unix.el (eshell/diff): Added logic to fail more
2218 gracefully if the user enters incorrect arguments.
2220 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
2223 * eshell/esh-var.el (eshell-interpolate-variable):
2224 * eshell/esh-mode.el (eshell-move-argument):
2225 * eshell/em-unix.el (eshell-du-sum-directory):
2226 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
2227 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
2230 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
2231 to ensure the `preserve' flag gets propagated when doing recursive
2234 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
2236 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
2237 Don't convert \n into \0177 in memory.
2238 (eshell-read-history, eshell-write-history): Convert \n to \0177,
2239 and back again, when reading and writing.
2241 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
2243 * eshell/esh-util.el (eshell-processp): Added to relieve constant
2244 testing of `fboundp' on `processp'.
2246 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
2247 (eshell/jobs): Don't call process-list if it is not bound.
2248 (eshell-gather-process-output): Support systems where async
2249 subprocesses aren't supported.
2250 (eshell-scratch-buffer, eshell-last-sync-output-start): New
2253 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
2254 eshell-do-eval returns t.
2255 (eshell-do-pipelines-synchronously): New defmacro.
2256 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
2257 when async subprocesses aren't supported.
2258 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
2259 if async subprocesses aren't supported.
2260 (eshell-resume-command): Don't assume STATUS is a string.
2262 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
2264 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
2265 (eshell-close-target, eshell-get-target): Use eshell-processp.
2266 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
2268 (eshell-get-target, eshell-create-handles): Doc fix.
2270 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
2272 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
2273 criterion to include commands that output something, as long as it
2274 leaves both the command and the end-of-buffer visible when the
2276 (eshell-review-quick-commands): Adjust the help doc string
2279 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
2281 * locate.el (locate): Cleaned up locate command's interactive prompting
2282 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
2284 * filecache.el (file-cache-case-fold-search): New variable
2285 (file-cache-assoc-function): New variable
2286 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
2287 Use file-cache-case-fold-search variable
2288 (file-cache-add-file): Use file-cache-assoc-function
2289 (file-cache-delete-file): likewise
2290 (file-cache-directory-name): likewise
2291 (file-cache-debug-read-from-minibuffer): likewise
2293 2000-08-28 Gerd Moellmann <gerd@gnu.org>
2295 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
2296 (abbrev-table-name): New function.
2297 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
2298 If non-nil list local abbrev, only.
2300 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
2302 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
2303 from Gnus support code, and use special article copy buffer
2304 `(gnus-original-article-buffer)' instead. This allows to get rid
2305 of article-hide-headers usage (which breaks in the latest Gnus
2306 version). Thanks to Detlev Zundel.
2308 2000-08-28 Kenichi Handa <handa@etl.go.jp>
2310 * international/quail.el (quail-use-package): Hide "... loaded"
2312 (quail-start-translation, quail-start-conversion): Likewise.
2314 * international/kkc.el (kkc-region): Hide "... loaded" message.
2316 2000-08-27 Dave Love <fx@gnu.org>
2318 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
2320 2000-08-27 Miles Bader <miles@gnu.org>
2322 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
2324 2000-08-27 Kenichi Handa <handa@etl.go.jp>
2326 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
2327 'ja-dic-cnv), not (require 'skkdic-cnv).
2329 2000-08-26 Miles Bader <miles@gnu.org>
2331 * faces.el (face-x-resources): Add entry for :inherit.
2332 * cus-face.el (custom-face-attributes): Add support for :inherit
2333 attribute. Add support for relative face heights.
2334 (custom-face-attributes-get): Treat `nil' as being a default value
2335 for :inherit (as well as `unspecified').
2337 * faces.el (set-face-attribute): Update doc string.
2338 (face-attribute-name-alist): Add :inherit.
2339 (face-valid-attribute-values): Handle :inherit.
2340 (face-read-string): Rephrase prompt to be less confusing.
2341 Assume that DEFAULT is a string, since we must return a string.
2342 (face-read-integer): Use `format' to turn DEFAULT into an
2343 acceptable default for face-read-string. Match NEW-VALUE against
2344 the string "unspecified", not the symbol `unspecified', since
2345 that's what face-read-string returns.
2346 (read-face-attribute): Lookup a name for old-value in valid, and
2347 use it as a default if we find one. Treat all values from
2348 face-read-string as strings. If the default is used, don't do any
2349 more processing on the value, just use the old value directly.
2350 (read-face-and-attribute, modify-face): Tweak prompt.
2351 (read-face-name): Don't assume prompt ends with a space.
2353 * faces.el (describe-face): Add support for :inherit attribute.
2355 2000-08-25 Kenichi Handa <handa@etl.go.jp>
2357 * terminal.el (terminal-emulator): Fix args to `concat'. Now
2358 concat doesn't accept interger.
2360 * international/kkc.el: Remove SKK from Keywords. Require
2361 ja-dic-utl instead of skkdic-utl.
2363 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
2364 Provide ja-dic-cnv instead of skkdic-cnv.
2365 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
2366 (iso-2022-7bit-short): Add safe-charsets property.
2367 (skkdic-convert-postfix): Search Japanese chou-on character in
2368 addition to Hiragana character.
2369 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
2370 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
2371 (batch-skkdic-convert): Likewise.
2373 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
2374 Provide ja-dic-utl instead of skkdic-utl.
2375 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
2377 2000-08-24 Dave Love <fx@gnu.org>
2379 * disp-table.el (standard-display-default): Make the test of `l'
2382 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
2385 * international/iso-ascii.el: Make pilcrow convenient string
2386 consistent with section.
2387 (iso-ascii-display): Set up multibyte characters as well as
2390 2000-08-24 Kenichi Handa <handa@etl.go.jp>
2392 * international/mule-cmds.el (reset-language-environment): Set
2393 default-process-coding-system to '(undecided . iso-latin-1), which
2394 makes process I/O almost consistent with file I/O. Call this
2395 function when mule-cmds.el[c] is loaded.
2397 2000-08-22 Andrew Innes <andrewi@gnu.org>
2399 * makefile.w32-in: New file.
2401 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
2403 * comint.el (comint-output-filter): Compare end of
2404 comint-last-output-overlay with the start of the newly inserted
2405 text, not the end, when deciding whether to extend it.
2406 Set saved-point's insertion type to advance after insertion.
2408 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
2409 since this is now done independently of font-lock mode.
2411 2000-08-21 Gerd Moellmann <gerd@gnu.org>
2413 * server.el (server-kill-new-buffers): New user option.
2414 (server-existing-buffer): New buffer-local variable.
2415 (server-visit-files): When using an existing buffer, set
2416 server-existing-buffer to t.
2417 (server-buffer-done): If server-kill-new-buffers is t, kill the
2418 buffer, unless it was already present before visiting it with
2421 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
2423 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
2424 even if the display doesn't support colors: some displays will
2425 support bold/underline faces.
2427 2000-08-21 Gerd Moellmann <gerd@gnu.org>
2429 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
2431 * startup.el (command-line): If user's init file had an error,
2432 add explanatory text to *Messages*.
2434 2000-08-21 Kenichi Handa <handa@etl.go.jp>
2436 * man.el (Man-getpage-in-background): Decode the process output by
2437 the system locale coding system.
2439 2000-08-20 Dave Love <fx@gnu.org>
2441 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
2442 Don't test x-popup-menu.
2443 (function) <complete-function>: Complete only fbound symbols.
2444 <validate, value>: New.
2445 (variable) <complete-function>: Complete only bound symbols.
2446 (coding-system): Add :base-only, :complete-function, :validate,
2447 :value, :prompt-match.
2448 (widget-coding-system-prompt-value): Use read-coding-system and
2450 (editable-field): Add :help-echo.
2451 (widget-push-button-gui, widget-push-button-cache)
2452 (widget-gui-action, widget-editable-list-gui): COmment out, along
2454 (widget-at): Make arg optional.
2455 (widget-echo-help): Adjust for current help-echo calling sequence.
2456 (widget-specify-field, widget-specify-button)
2457 (widget-specify-insert, widget-get-sibling, widget-image-find)
2458 (widget-convert, widget-insert, widget-leave-text)
2459 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
2460 (widget-setup, widget-field-find, widget-before-change)
2461 (widget-after-change, widget-default-complete)
2462 (widget-default-create, widget-default-delete)
2463 (widget-push-button-value-create, editable-field)
2464 (widget-field-prompt-value, widget-field-validate)
2465 (widget-choice-value-create, widget-choice-action)
2466 (widget-choice-validate, widget-checklist-add-item)
2467 (widget-radio-add-item, widget-radio-chosen)
2468 (widget-radio-value-inline, widget-editable-list-value-create)
2469 (widget-editable-list-entry-create)
2470 (widget-documentation-link-add)
2471 (widget-documentation-string-value-create)
2472 (widget-regexp-validate, widget-file-complete)
2473 (widget-sexp-validate, widget-plist-convert-widget)
2474 (widget-plist-convert-widget, widget-alist-convert-widget)
2475 (widget-alist-convert-widget, widget-color-complete): Simplify,
2476 particularly to avoid bindings which aren't optimized out.
2478 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
2480 (down-list, backward-up-list, up-list, kill-sexp)
2481 (backward-kill-sexp, mark-sexp): Make arg optional.
2482 (lisp-complete-symbol): Add optional arg PREDICATE.
2484 * cus-start.el: Add display-buffer-reuse-frames,
2485 file-coding-system-alist.
2487 2000-08-20 Gerd Moellmann <gerd@gnu.org>
2489 * startup.el (command-line): Clear realized faces after
2490 modifying TTY color mappings.
2492 2000-08-20 Miles Bader <miles@gnu.org>
2494 * faces.el (face-attr-match-p): Don't return true if ATTRS are
2495 merely a subset of FACE's attributes.
2497 2000-08-19 Miles Bader <miles@gnu.org>
2499 * comint.el (comint-output-filter): Save the point with a marker,
2500 not just a buffer position.
2502 * international/mule.el (set-buffer-process-coding-system): Make
2503 interactive prompt less confusing.
2505 2000-08-19 Gerd Moellmann <gerd@gnu.org>
2507 * hilit-chg.el: General cleanup of doc strings, comments and
2510 2000-08-19 Miles Bader <miles@gnu.org>
2512 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
2513 Compiler macro removed; beginning-of-line is no longer always
2514 equivalent to forward-line, in the presence of fields.
2516 * comint.el (comint-output-filter): Remove ad-hoc saving of
2517 restriction, and just use save-restriction, now that it works
2518 correctly. Don't adjust comint-last-input-start to account for
2519 our insertion; it shouldn't have moved because we don't use
2520 insert-before-markers anymore. Comment out call to
2521 `force-mode-line-update'; why is it here?
2523 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
2524 while checking for prompt to delete. Use `forward-line 0'
2525 instead of beginning-of-line.
2526 (gud-filter): Temporarily widen gud comint buffer while
2529 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
2531 * progmodes/sh-script.el: Big bag of typos.
2533 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
2534 check since ispell-process is not bound when ispell is not yet loaded.
2536 2000-08-18 Dave Love <fx@gnu.org>
2538 * image.el (find-image): Copy `spec' before using plist-put.
2540 2000-08-18 Gerd Moellmann <gerd@gnu.org>
2542 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
2545 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
2546 backward-kill-sexp, analogous to kill-sexp.
2548 * progmodes/icon.el (icon-indent-line)
2549 (icon-is-continuation-line): Handle comments specially.
2551 2000-08-17 Ken Stevens <k.stevens@ieee.org>
2553 * ispell.el: Set to standard author/maintainer/keyword fields.
2554 Fine tuning to menu map appearance and operation, and added help.
2555 Remove `start' and `end' error messages when compiling.
2556 (ispell-choices-win-default-height): Fixed comment string.
2557 (ispell-dictionary-alist-1): Fixed regexp in castellano and
2558 castellano8 dictionaries.
2559 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
2560 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
2561 dictionary, added italiano dictionary.
2562 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
2564 (ispell-tex-skip-alists): Added psfig support.
2565 (ispell-skip-html): Renamed from ispell-skip-sgml.
2566 (ispell-begin-skip-region-regexp, ispell-skip-region)
2567 (ispell-minor-check): Improved html skipping support to skip across
2568 code, and recognize `&' commands without propper `;' syntax;
2569 (ispell-process-line): Fix alignment error when manually
2570 correcting spelling.
2571 (ispell): Fix comment string.
2572 (ispell-add-per-file-word-list): Always put word list on new line.
2574 2000-08-17 Gerd Moellmann <gerd@gnu.org>
2576 * format.el (format-encode-run-method): Fix error message to say
2577 `encode' instead of `decode'. Use save-window-excursion around
2578 shell-command-on-region as in format-decode-run-method because
2579 shell-command-on-region can display a buffer with error output.
2580 (format-decode): Don't record undo information for the decoding.
2581 (format-annotate-function): Add parameter FORMAT-COUNT. Make
2582 that number part of the temporary buffer name so that more than
2583 one decoding using a temporary buffer can happen safely.
2585 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
2586 of `A-z' in the regexp.
2588 * hilit-chg.el: Fix typos in commentary.
2590 * help.el (view-emacs-news): Rewritten for new naming scheme
2593 * startup.el (command-line): Pop to *Messages* in case an error
2594 is signaled while loading user-init-file.
2596 2000-08-17 Andreas Schwab <schwab@suse.de>
2598 * files.el (insert-directory): Don't lose original file name,
2599 undoing an undocumented change.
2601 2000-08-17 Alex Schroeder <alex@gnu.org>
2603 * sql.el (sql-magic-go): Use comint-bol.
2604 (sql-copy-column): Use comint-line-beginning-position.
2605 (comint-line-beginning-position): Define a replacement for
2606 comint-line-beginning-position if it is not fboundp.
2608 2000-08-17 Alex Schroeder <alex@gnu.org>
2610 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
2611 it didn't have any effect anyway.
2613 2000-08-17 Alex Schroeder <alex@gnu.org>
2615 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
2616 --pset and pager=off instead of sending \\o|cat at the beginning
2619 2000-08-17 Miles Bader <miles@gnu.org>
2621 * progmodes/octave-inf.el: Add compatibility definition of
2622 comint-line-beginning-position.
2624 2000-08-17 Kenichi Handa <handa@etl.go.jp>
2626 * startup.el (normal-top-level): Look in each dir in load-path for
2627 a leim-list.el file too. This assures of loading leim-list.el
2628 that is created at Emacs installation time even if a user have his
2631 2000-08-17 Miles Bader <miles@gnu.org>
2633 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
2634 foreground color to black if the background is dark.
2636 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
2638 * loadhist.el (unload-feature): Typo.
2640 * finder.el (finder-compile-keywords):
2641 * cus-dep.el (custom-make-dependencies): Add local-variable settings
2642 to the generated file.
2644 * mail/mh-e.el (mh-make-local-vars):
2645 Replace make-variable-buffer-local with make-local-variable.
2648 * options.el (Edit-options-{set,toggle,t,nil}):
2649 * mail/mailabbrev.el (mail-abbrevs-mode):
2650 * textmodes/tex-mode.el (tex-expand-files):
2651 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
2653 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
2655 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
2656 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
2657 Allow going past the last element.
2658 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
2659 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
2660 (cvs-mouse-toggle-mark): Don't move point.
2661 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
2663 * progmodes/compile.el (grep): Provide a default set of files.
2664 (next-error): Docstring fix.
2665 (compilation-find-file): Avoid find-file (fails in a dedicated window).
2667 * emacs-lisp/easy-mmode.el (define-minor-mode):
2668 Use `symbol-value' to keep the byte-compiler quiet.
2670 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
2671 (diff-find-source-location): New fun, extracted from diff-goto-source.
2672 (diff-goto-source): Use it.
2673 (diff-next-complex-hunk, diff-filter-lines): New function.
2674 (diff-apply-hunk): New command.
2676 * smerge-mode.el (smerge-mode-menu): Doc fix.
2678 * msb.el (msb-mode): Define it in terms of define-minor-mode.
2680 2000-08-16 Dave Love <fx@gnu.org>
2682 * windmove.el (windmove) <defgroup>: Add :version.
2684 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
2685 (goto-address-fontify-p, goto-address-highlight-p)
2686 (goto-address-url-face, goto-address-url-mouse-face)
2687 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
2688 (goto-address-url-regexp): Use thing-at-point-url-regexp.
2689 (goto-address-fontify, goto-address-at-mouse): Simplify,
2690 (goto-address-at-point): browse-url-url-at-point,
2691 goto-address-find-address-at-point can return nil.
2692 (goto-address-find-address-at-point): Return nil on failure.
2694 * align.el (align) <defgroup>: Add :version.
2696 * calculator.el (calculator): Add :version.
2697 (calculator): Use two lines for calculator window if `modeline'
2700 * play/5x5.el: Doc fixes.
2701 (5x5) <defgroup>: Add :version.
2703 * play/fortune.el (fortune) <defgroup>: Add :version.
2704 (fortune-append): Fix error message.
2705 (fortune-from-region): Doc fix.
2707 * play/pong.el (pong): Doc fix.
2709 * play/morse.el: Keywords, commentary, autoloads.
2711 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
2713 * desktop.el (desktop-save): Don't look at symbol-value of a
2714 member of minor-mode-alist, unless it is boundp.
2716 2000-08-16 Sam Steingold <sds@gnu.org>
2718 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
2719 `while'; use `with-current-buffer' instead of `save-excursion'.
2720 Removed unnecessary kludges now that "*Buffer List*" is excluded.
2722 2000-08-16 Kenichi Handa <handa@etl.go.jp>
2724 * international/ccl.el (declare-ccl-program): Docstring modified.
2725 (ccl-execute-with-args): Likewise.
2727 2000-08-16 Miles Bader <miles@gnu.org>
2729 * progmodes/sql.el: Add compatibility definition of
2730 comint-line-beginning-position.
2732 2000-08-15 Gerd Moellmann <gerd@gnu.org>
2734 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
2735 'buffer-menu' property.
2736 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
2738 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
2739 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
2742 * buff-menu.el (list-buffers-noselect): Don't display the
2743 *Buffer List* buffer.
2745 * font-lock.el: Require jit-lock to prevent a very late
2746 `Loading jit-lock' message.
2748 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
2749 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
2752 2000-08-15 Miles Bader <miles@gnu.org>
2754 * textmodes/ispell.el (ispell-graphic-p): New constant.
2755 (ispell-choices-win-default-height, ispell-help): Use
2756 `ispell-graphic-p' instead of `xemacsp'.
2758 2000-08-15 Dave Love <fx@gnu.org>
2760 * simple.el: Autoload widget-convert when compiling.
2761 (mail-user-agent): Doc fix.
2763 * help.el (function-called-at-point, variable-at-point): Use
2765 (help-manyarg-func-alist): Add insert-and-inherit.
2767 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
2769 * delsel.el (delsel-unload-hook): New function.
2771 * find-file.el: Doc fixes. Move provide to end.
2772 (ff) <defgroup>: Add :link.
2773 (ff-goto-click): Deleted.
2774 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
2775 Use mouse-set-point.
2777 * textmodes/tildify.el: Doc fixes.
2778 (tildify) <defgroup>: Add:version.
2780 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
2781 (glasses-custom-set): Use set-default, not set.
2782 (minor-mode-alist): Propertize the lighter.
2783 (glasses-mode): Provide optional arg.
2785 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
2786 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
2787 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
2788 option. Provide :type.
2789 (cwarn-configuration): Provide :type.
2790 (cwarn-mode): Doc fix.
2792 * add-log.el (change-log-merge): Doc fix.
2793 (change-log-redate): New command.
2795 * net/browse-url.el (browse-url-filename-alist): Add a clause for
2797 (browse-url): Use dolist, not mapcar.
2798 (browse-url-at-point): Check for null url.
2799 (browse-url-event-buffer, browse-url-event-point): Functions
2801 (browse-url-at-mouse, browse-url-netscape): Simplify.
2803 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
2805 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
2806 Fix previous change to mapcan.
2807 (msb--init-file-alist, msb--add-separators)
2808 (msb--make-keymap-menu): Simplify.
2809 (msb--choose-file-menu): Use copy-sequence.
2810 (msb-mode-map): Add title to keymap.
2811 (msb-unload-hook): New function.
2813 * bs.el: Fix indentation.
2814 (bs) <defgroup>: Add :links.
2816 (bs-apply-sort-faces): Don't use window-system.
2817 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
2819 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
2821 * calendar/timeclock.el (timeclock-file): Run .timelog through
2822 convert-standard-filename.
2824 2000-08-14 Gerd Moellmann <gerd@gnu.org>
2826 * emacs-lisp/authors.el: New file.
2828 * paren.el (show-paren-priority): New user option.
2829 (show-paren-function): Set overlay priorities to
2830 show-paren-priority.
2832 2000-08-14 Miles Bader <miles@gnu.org>
2834 * comint.el (comint-bol): Use `forward-line 0' instead of calling
2835 beginning-of-line with inhibit-field-text-motion bound.
2837 2000-08-14 Gerd Moellmann <gerd@gnu.org>
2839 * calendar/timeclock.el: New file.
2841 2000-08-14 David Ponce <david@dponce.com>
2843 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
2844 `widget-button-click'. so that one can use left mouse button to
2845 click on dialog buttons.
2847 2000-08-14 Emmanuel Briot <briot@gnat.com>
2849 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
2850 identifiers, since XML is case sensitive
2852 2000-08-12 Miles Bader <miles@gnu.org>
2854 * comint.el (comint-output-filter): Don't bother frobbing
2855 window-start, it doesn't seem to be necessary.
2857 * comint.el (comint-send-string, comint-send-region): Make into
2858 real functions. Snapshot the prompt before sending.
2860 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
2862 * info.el (Info-find-emacs-command-nodes): Rewrite to use
2863 technique similar to Info-index, instead of relying on specific
2864 names of relevant Index nodes.
2865 (Info-goto-emacs-command-node): Bind Info-history to nil when
2866 going to the first node found by Info-find-emacs-command-nodes.
2868 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
2870 * menu-bar.el (menu-bar-help-menu): Add a :help string.
2872 2000-08-10 Miles Bader <miles@gnu.org>
2874 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
2876 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
2878 * info.el (Info-file-list-for-emacs): More elements for the
2879 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
2882 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
2884 * comint.el (comint-send-input): Make the newline boundary overlay
2885 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
2886 (comint-output-filter): Use `insert' instead of
2887 `insert-before-markers'. Extend comint-last-output-overlay when
2888 necessary since we can't rely on insert-before-markers to do it.
2889 * gud.el (gud-filter): Use `with-current-buffer' instead of
2890 save-excursion when inserting the output, so that point gets
2891 updated correctly; the old method relied on a rather dodgy
2892 side-effect of comint-output-filter to avoid the effect of
2895 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
2897 * files.el (recover-file): Call insert-directory instead of
2898 invoking `ls' directly.
2900 2000-08-10 Miles Bader <miles@gnu.org>
2902 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
2903 (comint-last-prompt-overlay): New variables.
2904 (comint-output-filter): Implement prompt highlighting.
2905 (comint-snapshot-last-prompt): New function.
2906 (comint-send-input): Snapshot the last prompt.
2907 Use comint-highlight-input-face.
2908 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
2909 Use defface instead of defcustom.
2910 (send-invisible, comint-send-eof): Snapshot the last prompt.
2911 (comint-delchar-or-maybe-eof): Use comint-send-eof.
2912 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
2914 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
2916 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
2917 (regexp-opt-group): Use a list of chars for `letters'.
2918 (regexp-opt-charset): `chars' is now a list of chars.
2919 Use a char-table rather than a vector so it works for multibyte chars.
2921 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
2922 Set cvs-minor-current-files to the selected fileinfo.
2923 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
2924 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
2926 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
2928 * files.el (insert-directory): Don't call access-file on
2929 directories on DOS and Windows.
2931 2000-08-09 Kenichi Handa <handa@etl.go.jp>
2933 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
2934 longer if necessary.
2935 (ccl-embed-code): Call ccl-embed-data to store CODE in
2938 2000-08-09 Miles Bader <miles@gnu.org>
2940 * comint.el (comint-output-filter): Properly handle the case where
2941 the text surrounded by comint-last-output-overlay was deleted.
2943 2000-08-08 Gerd Moellmann <gerd@gnu.org>
2945 * info.el (Info-insert-dir): Use Info-additional-directory-list if
2947 (Info-file-list-for-emacs): Remove "info" from the list because
2948 that leads to trying to use the documentation from file `info'
2949 in various situations where it isn't appropriate, for instance
2952 * ffap.el (ffap-read-file-or-url-internal): Handle case that
2953 DIR and/or STRING are nil.
2955 * progmodes/compile.el (compilation-setup): Make variable
2956 compilation-error-screen-columns buffer-local, as some comment
2957 in the code suggests it should be.
2959 * files.el (auto-mode-interpreter-regexp): New variable.
2960 (set-auto-mode): Use it.
2962 * indent.el (indent-for-tab-command): Doc fix.
2964 * mouse-sel.el (mouse-sel-mode): Doc fix.
2966 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
2969 * help.el (print-help-return-message): When
2970 display-buffer-reuse-frames is set, let the help window been quit,
2971 instead of deleting it, which might delete a reused frame.
2973 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
2975 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
2976 rename a directory to a name that differs only by its letter case.
2978 2000-08-08 Kenichi Handa <handa@etl.go.jp>
2980 * international/quail.el (quail-define-rules): Handle Quail decode
2981 map correctly. Add code for supporting annotations.
2982 (quail-install-decode-map): New function.
2983 (quail-defrule-internal): New optional arguments decode-map and
2985 (quail-advice): New function.
2987 2000-08-07 Sam Steingold <sds@gnu.org>
2989 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
2990 `defconst', `define-condition', `with-slots'.
2991 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
2993 2000-08-03 Miles Bader <miles@gnu.org>
2995 * comint.el (comint-use-prompt-regexp-instead-of-fields):
2997 (comint-prompt-regexp, comint-get-old-input): Document dependence on
2998 comint-use-prompt-regexp-instead-of-fields.
2999 (comint-send-input): Add `input' field property to stuff we send to
3000 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
3001 (comint-output-filter): Add `output' field property to process
3002 output, if comint-use-prompt-regexp-instead-of-fields is nil.
3003 (comint-replace-by-expanded-history)
3004 (comint-get-old-input-default, comint-show-output)
3005 (comint-backward-matching-input, comint-forward-matching-input)
3006 (comint-next-prompt, comint-previous-prompt): Use field
3007 properties if comint-use-prompt-regexp-instead-of-fields is nil.
3008 (comint-line-beginning-position): New function.
3009 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
3010 (comint-replace-by-expanded-history-before-point): Use
3011 comint-line-beginning-position and line-end-position.
3012 (comint-last-output-overlay): New variable.
3013 (comint-mode): Make `comint-last-output-overlay' buffer-local.
3015 * shell.el (shell-prompt-pattern): Doc change.
3016 (shell-backward-command): Use line-beginning-position.
3018 * gud.el (gud-gdb-complete-command): Use
3019 comint-line-beginning-position.
3021 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
3022 comint-bol doesn't actually go to the beginning of the line.
3024 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
3025 if comint-use-prompt-regexp-instead-of-fields is non-nil.
3026 (try-expand-line-all-buffers): Likewise.
3028 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
3029 explicitly matching comint-prompt-regexp.
3030 (sql-copy-column): Use comint-line-beginning-position instead of
3031 explicitly matching comint-prompt-regexp.
3033 * progmodes/octave-inf.el (inferior-octave-complete): Use
3034 comint-line-beginning-position.
3036 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
3038 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
3039 looking for a prompt, use `forward-line 0' instead of
3040 `beginning-of-line', to avoid getting caught by an input field.
3042 2000-08-07 Gerd Moellmann <gerd@gnu.org>
3044 * files.el (shell-quote-wildcard-pattern): Make sure to return
3045 PATTERN, in the Unix case.
3047 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
3049 * play/zone.el (zone): Discard any pending input before running
3050 the randomly-chosen pgm.
3052 2000-08-07 Kenichi Handa <handa@etl.go.jp>
3054 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
3055 checking the existence of any multibyte characters.
3057 2000-08-06 Gerd Moellmann <gerd@gnu.org>
3059 * help.el (describe-mode): Test minor-mode symbol for being
3060 bound before testing its value for being nil.
3062 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
3063 `first', `second', and `third'.
3065 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
3066 (second): Make it an alias for `cadr'.
3068 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
3070 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
3071 types of display support faces now.
3073 2000-08-05 Gerd Moellmann <gerd@gnu.org>
3075 * pcvs.el (require): Require `cl' during compilation, only.
3077 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
3078 (toplevel): Remove `remq' and `remove' from autoloads.
3079 (cl-fake-autoloads): New variable. If set, arrange for an error
3080 when CL functions etc. are autoloaded.
3082 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
3084 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
3086 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
3087 popped up, but the user clicks outside the menu, return an empty
3088 regexp (that causes unhighlight-regexp to have no effect).
3090 * menu-bar.el (menu-bar-games-menu): Add Zone.
3092 * hi-lock.el (toplevel): Require font-lock.
3094 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3096 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
3097 (ebnf-8-bit-chars): New var for bug fix.
3098 (ebnf-string): Bug fix.
3100 2000-08-03 Sam Steingold <sds@gnu.org>
3102 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
3103 instead of `buffer-string'.
3104 (require 'cl): Always, not just when compiling.
3105 `ignore-errors' in `interactive', `list*', `defun*' &c make this
3108 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
3110 * international/mule-cmds.el (select-safe-coding-system): Make
3111 the message text about selecting a safe coding system more clear.
3113 2000-08-02 Gerd Moellmann <gerd@gnu.org>
3115 * hi-lock.el: New file.
3117 * play/zone.el: New file.
3119 * replace.el (occur): Set tab-width in the *Occur* buffer to the
3120 value of tab-width in the original buffer. Choose a line number
3121 format that's a multiple of the original buffer's tab width, so
3122 that lines appear right.
3124 * textmodes/ispell.el (ispell): New function, replacing an alias.
3125 Spell-check active region if in transient-mark-mode and mark
3126 is active; otherwise spell-check buffer.
3128 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3130 * ps-mule.el: Fix a customization problem on
3131 ps-mule-font-info-database-default.
3133 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
3135 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
3136 display-mouse-p instead of window-system.
3137 (ebrowse-member-mode-map): Ditto.
3139 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3141 * progmodes/ebnf2ps.el: Update ps-print functions call.
3142 Indentation fix. Doc fix.
3143 (ebnf-version): New version number (3.2).
3144 (ebnf-format-color, ebnf-begin-job): Code fix.
3146 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
3148 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
3149 font lock support on window-system.
3150 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
3152 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
3153 display-color-p, if fboundp, instead of window-system.
3155 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
3157 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
3158 instead of window-system.
3160 * wid-edit.el (widget-choose): Use display-mouse-p instead of
3162 (widget-choice-mouse-down-action): Use display-popup-menus-p
3163 instead of window-system.
3165 * strokes.el (strokes-file): Run the file name through
3166 convert-standard-filename.
3167 (strokes-mode): Call display-mouse-p instead of looking at
3168 window-system. Change the error message accordingly.
3170 * progmodes/cpp.el (toplevel): Support faces on tty's.
3172 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
3173 (lm-plot-square, lm-init-display): Don't use window-system.
3175 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
3176 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
3178 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
3179 instead of looking at window-system.
3181 2000-07-30 Gerd Moellmann <gerd@gnu.org>
3183 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
3184 of testing if iswitchb-prepost-hooks is bound, because the
3185 latter will always be true when invoking a recursive minibuffer
3186 from an active Iswitchb buffer.
3188 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
3190 * files.el (shell-quote-wildcard-pattern): New function.
3191 (insert-directory): Call it. Only prepend "\" to command on Unix
3192 and GNU/Linux systems.
3194 2000-07-30 Gerd Moellmann <gerd@gnu.org>
3196 * eshell/esh-groups.el: Change custom :link file names
3197 from `eshell.info' to `eshell'.
3199 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
3201 * dired.el (dired-build-subdir-alist): Expand subdirectory names
3202 correctly in recursive ange-ftp listings.
3204 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3206 * ps-print.el: Fix bug 1: if ps-font-size-internal,
3207 ps-header-font-size-internal and
3208 ps-header-title-font-size-internal variables are not set,
3209 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
3210 face text property is (foreground-color . COLOR) or
3211 `(background-color . COLOR)', ps-print crashes. Doc fix.
3212 (ps-print-version): New version number (5.2.4).
3213 (ps-plot-region): Code fix.
3214 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
3215 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
3218 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
3220 * glasses.el (glasses-make-readable): Fix uncapitalization of
3221 identifiers like `myXMLDocument'.
3223 2000-07-28 Karl Fogel <kfogel@red-bean.com>
3225 * mail/mail-hist.el (mail-hist-previous-input)
3226 (mail-hist-next-input): Do the obvious code factorization.
3227 (mail-hist-retrieve-and-insert): New func, contains common
3229 If inserting a message body, leave point at top.
3231 2000-07-28 Sam Steingold <sds@gnu.org>
3233 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
3234 Use `<=', not `<' to compare times!
3235 (ange-ftp-ls): Remove.
3237 2000-07-27 Gerd Moellmann <gerd@gnu.org>
3239 * play/cookie1.el: Add explanation of how to make cookie.el
3240 compatible with strfile(1) to comment.
3242 * subr.el (remove, remq): New functions.
3244 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
3245 escape `*' in regexps.
3246 (midnight-find): Reverse order of arguments in the funcall of
3249 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
3252 * play/meese.el: Add Commentary section.
3254 2000-07-27 Alex Schroeder <alex@gnu.org>
3256 * sql.el (sql-ms): Added autoload cookie.
3257 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
3258 (sql-oracle): Ditto.
3259 (sql-help): Doc change.
3261 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
3262 types and exceptions.
3264 2000-07-27 Alex Schroeder <alex@gnu.org>
3266 * sql.el (sql-placeholder-history): New variable.
3267 (sql-query-placeholders-and-send): New function that will query
3268 the user and replace placeholders with user input.
3269 (sql-oracle): If running on NT, set comint-input-sender to
3270 sql-query-placeholders-and-send.
3272 (sql-stop): If in the SQLi buffer, insert stop notification, else
3273 present it as a message.
3275 2000-07-27 Alex Schroeder <alex@gnu.org>
3277 * sql.el (sql-input-ring-separator): Doc change.
3278 (sql-input-ring-file-name): Doc change.
3279 (sql-interactive-mode): Use `sql-input-ring-separator' and
3280 `sql-input-ring-file-name' to set the comint-mode equivalents
3281 without making them local variables.
3282 (sql-stop): Don't bind `sql-input-ring-separator' and
3283 `sql-input-ring-file-name' dynamically to their comint-mode
3286 2000-07-27 Kenichi Handa <handa@etl.go.jp>
3288 * international/mule.el (register-char-codings): New function.
3289 (make-coding-system): Handle `safe-chars' specification in the arg
3292 * international/mule-cmds.el
3293 (find-coding-systems-region-subset-p): This function deleted.
3294 (sort-coding-systems-predicate): New variable.
3295 (sort-coding-systems): New function.
3296 (find-coding-systems-region): Use
3297 find-coding-systems-region-internal.
3298 (find-coding-systems-string): Use find-coding-systems-region.
3299 (find-coding-systems-for-charsets): Check
3300 char-coding-system-table.
3301 (select-safe-coding-system-accept-default-p): New variable.
3302 (select-safe-coding-system): Mostly rewritten. New argument
3304 (select-message-coding-system): Call select-safe-coding-system
3305 with ACCEPT-DEFAULT-P arg.
3306 (reset-language-environment): Reset default-sendmail-coding-system
3307 to the default value iso-latin-1.
3308 (set-language-environment): Don't set the obsolete variable
3309 charset-origin-alist.
3311 * international/codepage.el (cp-coding-system-for-codepage-1):
3312 Give `safe-chars' property to make-coding-system.
3314 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
3315 calling select-message-coding-system twice.
3317 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
3318 instead of `safe-charsets'.
3319 (cyrillic-alternativnyj): Likewise.
3320 (ccl-encode-alternativnyj): Don't check the charset
3323 2000-07-27 Kenichi Handa <handa@etl.go.jp>
3325 * composite.el (compose-chars-after): Preserve match data.
3327 2000-07-26 Sam Steingold <sds@gnu.org>
3329 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
3330 (ange-ftp-real-file-newer-than-file-p): New function.
3331 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
3332 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
3334 * tooltip.el (tooltip-float-time): Removed (use `float-time').
3335 * midnight.el (midnight-float-time): Ditto.
3337 2000-07-26 Andreas Schwab <schwab@suse.de>
3339 * files.el (normal-backup-enable-predicate): Correct
3340 interpretation of the return value of compare-strings.
3342 2000-07-26 Gerd Moellmann <gerd@gnu.org>
3344 * isearch.el (isearch-resume): New function.
3345 (isearch-done): Add something to command-history to resume
3347 (isearch-yank-line, isearch-yank-word): Use
3348 buffer-substring-no-properties instead of buffer-substring.
3350 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
3351 of flyspell-mouse-map.
3353 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
3354 duplicate definition.
3355 (makefile-mode): Remove duplicate setting of local-abbrev-table.
3357 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
3358 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
3360 2000-07-25 Sam Steingold <sds@gnu.org>
3362 * net/ange-ftp.el: Get modtime over the net.
3363 (ange-ftp-file-modtime): New function.
3364 (ange-ftp-write-region, ange-ftp-insert-file-contents)
3365 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
3367 (ange-ftp-dot-to-slash): New function.
3368 (ange-ftp-fix-name-for-vms): Use it.
3370 * midnight.el (midnight-buffer-display-time): Use
3371 `with-current-buffer'.
3373 2000-07-25 Gerd Moellmann <gerd@gnu.org>
3375 * find-dired.el: Update copyright notice.
3376 (find-dired): Offer to kill a running `find'.
3378 * enriched.el (enriched-face-ans): For a `foreground-color'
3379 property, return '(("x-color" COLOR))' so that COLOR will be
3380 output as a parameter of the x-color annotation. Likewise for the
3381 `background-color' property. In the case of normal face
3382 properties, don't return annotations for unspecified foreground
3383 and background face attributes.
3385 2000-07-25 Kenichi Handa <handa@etl.go.jp>
3387 * language/japan-util.el (japanese-katakana-region): Fix handling
3390 2000-07-25 Miles Bader <miles@gnu.org>
3392 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
3393 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
3396 2000-07-24 Andrew Innes <andrewi@gnu.org>
3398 * timer.el (timer-activate-when-idle): Add optional parameter
3399 DONT-WAIT. Update docstring.
3400 (run-with-idle-timer): Specify extra parameter to
3401 timer-activate-when-idle, so that timer will be activated
3402 immediately if Emacs is already idle.
3404 * w32-fns.el (w32-using-nt): Fix docstring.
3406 2000-07-24 Dave Love <fx@gnu.org>
3408 * mouse.el (popup-menu): Set last-command-event.
3409 (mouse-major-mode-menu-prefix): Declare.
3411 2000-07-24 Gerd Moellmann <gerd@gnu.org>
3413 * textmodes/flyspell.el: Update to author's version 1.5d.
3415 * progmodes/hideshow.el: Update copyright notice.
3417 * vcursor.el: Set maintainer to FSF, since author cannot
3420 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
3422 * info.el (Info-goto-emacs-key-command-node): Leave a space after
3425 * mouse.el (popup-menu): Run the keymap through indirect-function,
3426 in case it was defined with define-prefix-key. If the menu is a
3427 list of keymaps, look up the binding of user's choice in each one
3429 (mouse-popup-menubar): If the global and local menu-bar keymaps
3430 don't have a prompt string, create one and insert it into the
3431 keymap. Don't barf if current-local-map returns nil.
3433 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
3435 * dired.el (dired-sort-R-check): Added to allow recursive listing
3437 (dired-sort-other): Use it.
3439 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3441 * Release of cc-mode 5.27
3443 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3445 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
3446 c-beginning-of-statement-1 that caused a bad case of recursion
3447 which could consume a lot of CPU in large classes in languages
3448 that have in-expression classes (i.e. Java and Pike).
3450 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
3451 statements before top level constructs (i.e. case 6 is moved
3452 before case 5 and is now case 4) to catch in-expression
3453 classes in top level expressions correctly.
3455 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3457 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
3458 objc-method-intro. Case 4 removed and case 5I added.
3460 * cc-langs.el (c-append-paragraph-start): New variable used by
3461 c-common-init to get paragraph-start correct.
3462 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
3463 initialize paragraph-start to make it correct both with and
3464 without the javadoc special case.
3466 * cc-mode.el (java-mode): Use c-append-paragraph-start to
3467 initialize paragraph-start for javadoc markup.
3469 * cc-vars.el (c-style-variables-are-local-p): Incompatible
3470 change by defaulting this to t. It's motivated by the
3471 confusing behavior that otherwise arise from the style system
3472 when editing both java and non-java files at the same time
3473 (see the comments about style setting in c-common-init).
3475 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3477 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
3478 similar to the one in c-fill-paragraph to check the fill
3479 prefix from the adaptive fill function for sanity.
3481 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3483 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
3486 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3488 * cc-mode.texi Documented the change of cpp-macro.
3490 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3492 * cc-align.el (c-lineup-multi-inher): Handle lines with
3493 leading comma nicely. Extended to handle member initializers
3496 * cc-engine.el: (c-beginning-of-inheritance-list,
3497 c-guess-basic-syntax): Fixed recognition of inheritance lists
3498 when the lines begins with a comma.
3500 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
3502 * cc-vars.el (c-offsets-alist): Changed default for
3503 member-init-cont to c-lineup-multi-inher since it now handles
3504 member initializers and indents better for leading commas.
3506 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3508 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
3509 handling that caused class open lines to be recognized as
3510 statement-conts in some cases.
3512 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
3513 guessed by the adaptive fill function unless point is on the
3514 first line of a block comment.
3516 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
3517 when the buffer ends with a macro continuation char.
3519 * cc-engine.el (c-guess-basic-syntax): Added support for
3520 function definitions as statements in Pike. The first
3521 statement in a lambda block is now labeled defun-block-intro
3522 instead of statement-block-intro.
3524 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
3525 so that the class surrounding point is selected, not the one
3526 innermost in the state.
3528 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
3529 recognition of switch labels having hanging multiline
3532 * cc-engine.el (c-beginning-of-member-init-list): Broke out
3533 some code in c-guess-basic-syntax to a separate function.
3534 * cc-engine.el (c-just-after-func-arglist-p): Fixed
3535 recognition of member inits with multiple line arglists.
3536 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
3537 member-init-cont when the commas are in funny places.
3539 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3541 * cc-defs.el (c-auto-newline): Removed this macro since it's
3544 * cc-engine.el (c-looking-at-bos): New helper function.
3545 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
3546 inexpr and toplevel classes apart in Pike.
3548 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
3551 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
3552 constant, since "class" can introduce an in-expression class
3555 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3557 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
3558 indentation on cpp-macro lines.
3560 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
3561 a syntax modifier like comment-intro, to make it possible to
3562 get syntactic indentation for preprocessor directives. It's
3563 incompatible wrt to lineup functions on cpp-macro, but it has
3564 no observable effect in the 99.9% common case where cpp-macro
3567 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3569 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
3570 member-init-cont when the preceding arglist is several lines.
3572 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3574 * cc-styles.el (c-style-alist): The basic offset for the BSD
3575 style corrected to 8.
3577 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3579 * cc-styles.el (c-style-alist): Adjusted the indentation of
3580 brace list openers in the gnu style.
3582 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3584 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
3586 * cc-cmds.el (c-electric-brace, c-electric-slash,
3587 c-electric-star, c-electric-semi&comma, c-electric-colon,
3588 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
3589 when c-syntactic-indentation is nil.
3591 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
3592 we were left at comments preceding the first statement when
3593 reaching the beginning of the buffer.
3595 * cc-vars.el (c-syntactic-indentation): New variable to turn
3596 off all syntactic indentation.
3598 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3600 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
3601 between the text and the block comment ender when it hangs,
3602 depending on how many there are before the fill.
3604 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3606 * cc-engine.el (c-beginning-of-closest-statement): New helper
3607 function to go back to the closest preceding statement start,
3608 which could be inside a conditional statement.
3609 * cc-engine.el (c-guess-basic-syntax): Use
3610 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
3612 * cc-engine.el (c-guess-basic-syntax): Better handling of
3613 arglist-intro, arglist-cont-nonempty and arglist-close when
3614 the arglist is nested inside parens. Cases 7A, 7C and 7F
3617 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
3618 up-to-date with javadoc 1.2.
3620 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3622 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
3623 multiline Pike type decls.
3625 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3627 * cc-cmds.el (c-indent-new-comment-line): Always break
3628 multiline comments in multiline mode, regardless of
3631 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3633 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
3634 fully::qualified::names in C++ member init lists. Preamble in
3637 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3639 * cc-langs.el (c-common-init): Handling of obsolete variables
3640 moved to c-initialize-cc-mode. More compatible style override
3641 when using global style variables.
3642 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
3643 variables moved here.
3645 * cc-mode.texi: Documented the special behavior of
3646 c-special-indent-hook as a style variable. Don't talk about
3647 doing (c-make-styles-buffer-local t) in a mode hook, since
3648 that's already too late to work right.
3650 * cc-styles.el (c-make-styles-buffer-local): Flag style
3651 variable localness in c-style-variables-are-local-p to make
3652 the compatibility measure in c-common-init work well.
3654 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
3655 longer contain set-from-style.
3656 * cc-styles.el (c-initialize-builtin-style): Don't check for
3657 set-from-style on c-special-indent-hook.
3658 * cc-styles.el (c-copy-tree): Obsolete. The standard function
3659 copy-alist is sufficient now.
3661 * cc-styles.el (c-set-style, c-set-style-1,
3662 c-get-style-variables): Fixes to variable initialization so
3663 that duplicate entries in styles have the same effect
3664 regardless of DONT-OVERRIDE.
3666 * cc-styles.el (c-set-style-2): Fixed bug where the
3667 initialization of inheriting styles failed when the
3668 dont-override flag is set.
3670 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
3673 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
3675 * cc-defs.el (c-forward-comment): Removed the workaround
3676 introduced in 5.38 since it had worse side-effects. If a line
3677 contains the string "//\"", it regarded the // as a comment
3678 start since the \ temporarily doesn't have escape syntax.
3680 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
3682 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
3683 ada-xref.el before ada-prj.el, so that the Project menu is created
3684 when ada-prj tries to add to it.
3685 (ada-activate-keys-for-case): Suppress the characters that are not
3686 part of the Ada syntax. Better compatibility with else-mode
3687 (ada-adjust-case-interactive): When auto-casing is not active,
3688 correctly insert newlines (used to insert only ^M). Prevent the
3689 syntax table from being changed in case of an error
3690 (or '_' becomes part of a word and some commands are confused).
3691 Do nothing if ada-auto-case is nil.
3692 (ada-after-keyword-p): Ignore keywords that are also attributes
3693 (ada-batch-reformat): Update usage comment
3694 (ada-call-from-contextual-menu): New function
3695 (ada-case-read-exceptions): Reinitialize the casing exception list
3696 first to nil first, so that the casing exception file can be
3698 (ada-check-defun-name): Handles "configure" keyword for gnatdist
3700 (ada-compile-goto-error): Fix regexp used to detect a file:line
3701 anywhere in the error message
3702 (ada-contextual-menu-last-point): New variable
3703 (ada-create-keymap): If the variable delete-key-deletes-forward is
3704 t on XEmacs, it means that DEL should delete one character
3706 (ada-create-menu): Use :included instead of :visible for XEmacs.
3707 New submenu "Options".
3708 (ada-end-stmt-re): Correctly indent "select ... then abort"
3710 (ada-fill-comment-paragraph): Correctly delete all leading '--'
3711 even if they don't match ada-fill-comment-prefix Fix handling of
3712 paragraphs on the first or last line of a file.
3713 (ada-format-paramlist): Fix handling of default parameter values.
3714 (ada-get-body-name): New function.
3715 (ada-get-current-indent): Optimized by searchling directly for an
3716 existing generic part or a statement outside of it. Handle
3717 ada-indent-align-comments when indenting comments Replaced some
3718 regexps by testing directly the next character. This results in a
3719 huge speedup on some files. New indentation scheme for renames
3720 statements. Stop looking for the 'while' or 'for' associated with
3721 a 'loop' at the first semicolon encountered. A "return" can also
3722 match an anonymous access subprogram declaration.
3723 (ada-get-indent-noindent): Ignore strings and comments when
3724 looking for the keywords "record" and "private".
3725 (ada-goto-matching-decl-start): When matching "if", make sure we
3726 are not in fact seeing "end if". Ignore "when" statements except
3727 when initial keyword was "begin". Fix handling of nested
3728 procedures. Add a recursive call to this function to skip over
3729 other 'end' statmts. Fix indentation for "when .. => begin"
3730 (ada-in-open-paren-p): Fix indentation for complex boolean
3731 expressions, where 'and then', 'or else' and parenthesis
3732 statements are mixed up.
3733 (ada-in-paramlist-p): Skip comments while searching for the
3734 beginning Fix handling of operator declarations.
3735 (ada-indent-align-comments): New variable
3736 (ada-indent-current): Change the syntax table only in the
3737 protected section, so that we are sure it is restored correctly.
3738 (ada-indent-on-previous-lines): Use ada-use-indent and
3739 ada-with-indent Correctly indent "select ... then"
3740 (ada-indent-region): Slight speedup.
3741 (ada-indent-renames): New variable.
3742 (ada-last-which-function-subprog, ada-last-which-function-line):
3744 (ada-looking-at-semi-private): Correctly indent the 'private'
3745 keyword when it is the first word in a package declaration.
3746 (ada-loose-case-word): Stop searching if at the end of the buffer.
3747 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
3748 even if point is not initially at the end of the word.
3749 (ada-matching-decl-start-re): Add "when".
3750 (ada-mode): Add support for abbrev-mode, outline-mode and
3751 which-func-mode Override the old find-file.el entry in
3752 ff-special-constructs since it is using the obsolete
3753 ada-spec-suffix variable
3754 (ada-no-auto-case): New function
3755 (ada-scan-paramlist): When parsing the argument type, accept
3756 spaces (as in "X 'Class", generated by Rational Rose).
3757 (ada-other-file-name): No longer loads the other file.
3758 (ada-popup-menu): Save and restore the current buffer and cursor
3759 position before and after displaying the menu.
3760 (ada-search-ignore-complex-boolean): New function.
3761 (ada-uncomment-region): Emacs21 already knows how to delete
3762 comments not starting in the first column.
3763 (ada-use-indent): New variable
3764 (ada-which-function): New function.
3765 (ada-with-indent): New variable
3766 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
3767 can be batch-compiled from the command line.
3769 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
3770 Add to the menu when the file is loaded, not in ada-mode-hook.
3771 Add -toolbar to the default ddd command Switches moved from
3772 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
3773 ada-prj-default-comp-opt
3774 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
3775 Reference Manual to the menu
3776 (ada-check-current): rewritten as a call to ada-compile-current
3777 (ada-compile): Removed.
3778 (ada-compile-application, ada-compile-current, ada-check-current):
3779 Set the compilation-search-path so that compile.el automatically
3780 finds the sources in src_dir. Automatic scrollong of the
3781 compilation buffer. C-uC-cC-c asks for confirmation before
3783 (ada-compile-current): New parameter, prj-field
3784 (ada-complete-identifier): Load the .ali file before doing
3786 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
3787 conform to gnatmake's behavior.
3788 (ada-find-file-in-dir): New function
3789 (ada-find-references): Set the environment variables for gnatfind
3790 (ada-find-src-file-in-dir): New function.
3791 (ada-first-non-nil): Removed
3792 (ada-gdb-application): Add support for jdb, the java debugger.
3793 (ada-get-ada-file-name): Load the original-file first if not done
3795 (ada-get-all-references): Handles the new ali syntax (parent types
3796 are found between <>).
3797 (ada-initialize-runtime-library): New function
3798 (ada-mode-hook): Always load a project file when a file is opened,
3799 so that the casing exceptions are correctly read.
3800 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
3801 (ada-parse-prj-file): Use find-file-noselect instead of find-file
3802 to open the project file, since the latter does not work with
3803 speedbar Get default values before loading the prj file, or the
3804 default executable file name is wrong. Use the absolute value of
3805 src_dir to initialize ada-search-directories and
3806 compilation-search-path,... Add the standard runtime library to
3807 the search path for find-file.
3808 (ada-prj-default-debugger): Was missing an opening '{'
3809 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
3811 (ada-prj-default-gnatmake-opt): New variable
3812 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
3813 buffers, the project file is the default one Save the windows
3814 configuration before displaying the menu.
3815 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
3816 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
3817 ...) regexp-quote identifiers names to support operators +,
3819 (ada-remote): New function.
3820 (ada-run-application): Erase the output buffer before starting the
3821 run Support remote execution of the application. Use
3822 call-process, or the arguments are incorrectly parsed
3823 (ada-set-default-project-file): Reread the content of the active
3824 project file, not the one from the current buffer When a project
3825 file is set as the default project, all directories are
3826 automatically associated with it.
3827 (ada-set-environment): New function
3828 (ada-treat-cmd-string): New special variable ${current}
3829 (ada-treat-cmd-string): Revised. The substitution is now done for
3830 any ${...} substring
3831 (ada-xref-current): If no body was found, compiles the spec
3832 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
3833 compiler to get rid of command line length limitations.
3834 (ada-xref-get-project-field): New function
3835 (ada-xref-project-files): New variable
3836 (ada-xref-runtime-library-specs-path)
3837 (ada-xref-runtime-library-ali-path): New variables
3838 (ada-xref-set-default-prj-values): Default run command now does a
3839 cd to the build directory. New field: main_unit Provide a default
3840 file name even if the current buffer has no prj file.
3843 Rewritten to show a tabbed-dialog.
3844 (ada-prj-add-ada-menu): Remove the map and name parameters.
3845 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
3847 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
3848 (ada-prj-load-from-file): New function
3849 (ada-prj-save): Always save fields that depend on the current buffer
3850 (ada-prj-show-value): New function
3852 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
3853 Ada mode. This will allow us to display the Ada menu in any buffer
3854 we want (for project items).
3855 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
3856 number of spaces in the header.
3858 2000-07-24 Dave Love <fx@gnu.org>
3860 * ediff-init.el (ediff-region-help-echo): Bind face-help.
3862 2000-07-23 Noah Friedman <friedman@splode.com>
3864 * type-break.el (type-break): perform autosave.
3865 Suggested by Stephen Gildea <gildea@intouchsys.com>.
3866 (type-break-do-query): Cancel query schedule while performing
3867 actual query, to avoid possibility of a second query being made
3868 while first one is already in progress.
3869 (type-break-time-stamp-format): New variable.
3870 (type-break-time-stamp): New function.
3871 (type-break-time-warning): Use it.
3872 (type-break-keystroke-warning): Use it.
3873 (type-break-noninteractive-query): Use it.
3875 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
3877 Use add-minor-mode to set minor-mode-alist, if available.
3878 (eldoc-echo-area-use-multiline-p): New user option.
3879 (eldoc-echo-area-multiline-supported-p): New variable.
3880 (eldoc-docstring-format-sym-doc): Use them.
3881 (eldoc-mode): If not using idle timers, append to local post and
3882 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
3883 (eldoc-display-message-no-interference-p): Don't interfere with
3885 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
3886 (eldoc-function-arglist): New function.
3887 (eldoc-function-argstring): Use it.
3889 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
3890 auto save directory exists before calling directory-files.
3892 2000-07-23 Dave Love <fx@gnu.org>
3894 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
3897 2000-07-21 Dave Love <fx@gnu.org>
3899 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
3900 now passed to the function. It now works properly.
3902 * smerge-mode.el (smerge-mode-menu): Fill it out.
3904 2000-07-20 Gerd Moellmann <gerd@gnu.org>
3906 * info-look.el (info-lookup): If *info* is shown in another frame
3907 on the same display, select that frame, instead of switching to
3908 the Info buffer in another window of the selected frame.
3910 * simple.el (universal-argument-map): Bind numeric keypad keys
3911 kp-0 to kp-9 and kp-subtract.
3912 (digit-argument): Handle these keys.
3914 2000-07-20 Dave Love <fx@gnu.org>
3916 * net/goto-addr.el (goto-address-fontify): Don't bother with
3917 buffer-modified and read-only stuff -- irrelevant with overlays.
3918 Put an extra property on the overlays and use it to clean up in
3919 case goto-address is re-run.
3921 2000-07-19 Richard M. Stallman <rms@gnu.org>
3923 * timer.el (run-with-idle-timer): Doc fix.
3925 * mail/mail-utils.el (mail-strip-quoted-names):
3926 Handle case where <...> appears inside "...".
3927 Use replace-match to edit the string more simply.
3928 (rmail-dont-reply-to): Cope with an unmatched ".
3930 2000-07-19 Dave Love <fx@gnu.org>
3932 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
3935 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
3936 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
3937 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
3939 2000-07-19 Gerd Moellmann <gerd@gnu.org>
3941 * textmodes/refer.el: Correct maintainer's email address.
3943 * progmodes/hideif.el: Correct author's email address.
3944 Fix typo in comment.
3948 * mail/mailheader.el: Correct author's mail address.
3950 * gnus/parse-time.el: Correct author's mail address.
3952 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
3954 * comint.el (comint-highlight-input, comint-highlight-face):
3956 (comint-input-ring-file-name): Change custom type.
3957 (comint-mode-map): Bind mouse-2.
3958 (comint-insert-clicked-input): New function.
3959 (comint-send-input): Handle input highlighting.
3961 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
3963 * mouse.el (popup-menu): New function.
3964 (mouse-major-mode-menu): Use it.
3966 2000-07-18 Dave Love <fx@gnu.org>
3968 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
3971 2000-07-18 Gerd Moellmann <gerd@gnu.org>
3973 * faces.el (face-font-selection-order)
3974 (face-font-family-alternatives): Add custom type.
3976 2000-07-18 Dave Love <fx@gnu.org>
3978 * cus-edit.el (custom-variable-reset-saved)
3979 (custom-variable-reset-standard): Remove unused bindings.
3981 * rect.el (open-rectangle-line): Remove unused let.
3983 * hl-line.el (hl-line-highlight): Check hl-line-mode.
3985 2000-07-18 Gerd Moellmann <gerd@gnu.org>
3987 * cdl.el: Fix `Maintainer' keyword.
3989 * play/pong.el: Add author's email address.
3991 2000-07-17 Sam Steingold <sds@gnu.org>
3993 * files.el (insert-directory): Call `split-string' instead of
3996 2000-07-18 Gerd Moellmann <gerd@gnu.org>
3998 * mail/vms-pmail.el: Change maintainer to FSF.
4000 * net/goto-addr.el: Change maintainer to FSF.
4002 * recentf.el: Update from author.
4004 * info.el (Info-title-face-alist): Removed.
4006 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
4008 * eshell/eshell.el (eshell): Replace links to eshell.info with
4009 links to eshell, to avoid problems on systems where the manual is
4010 installed as `eshell'.
4011 * eshell/esh-cmd.el (eshell-cmd): Ditto.
4012 * eshell/em-smart.el (eshell-smart): Ditto.
4013 * eshell/em-banner.el (eshell-banner): Ditto.
4014 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
4016 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
4017 same-file check in the MS-DOS version (it does support inodes).
4019 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
4021 * eshell/eshell.el (eshell-directory-name):
4022 Run default directory name through convert-standard-filename.
4024 2000-07-18 Kenichi Handa <handa@etl.go.jp>
4026 * international/mule-cmds.el (select-safe-coding-system):
4027 Fix typo in the comment.
4029 * language/european.el (compound-text):
4030 Force katakana-jisx0201 to be designated to G1.
4032 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
4033 Don't translate some national variant characters of latin-jisx0201.
4034 (x-ctext): Force katakana-jisx0201 to be designated to G1.
4036 * international/kkc.el (kkc-after-update-conversion-functions):
4038 (kkc-update-conversion): Run functions in it at the tail.
4040 2000-07-16 John Wiegley <johnw@gnu.org>
4042 * lisp/align.el (align-newline-and-indent):
4043 Adding new function. for auto-aligning blocks of code on RET.
4044 (align-region): Fixed badly formatted minibuffer message.
4046 2000-07-17 Kenichi Handa <handa@etl.go.jp>
4048 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
4049 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
4050 the conversion list at first if appropriate.
4051 (kkc-next): Don't update kkc-next-count here.
4052 (kkc-prev): Don't update kkc-prev-count here.
4053 (kkc-show-conversion-list-update): Fix setting up of conversion
4056 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
4058 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
4060 2000-07-16 Dave Love <fx@gnu.org>
4062 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
4063 function to be more specific.
4065 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
4066 non-string help-echo.
4067 (widget-types-convert-widget): Defsubst it.
4068 (widget-echo-help): Try to cope with a help-echo function of two
4071 2000-07-15 Jason Rumney <jasonr@gnu.org>
4073 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
4074 Declare as obsolete.
4076 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
4078 2000-07-14 Gerd Moellmann <gerd@gnu.org>
4080 * hilit-chg.el: Fix typo.
4082 2000-07-14 Dave Love <fx@gnu.org>
4084 * info.el (Info-mode-menu): Fix use of :help, :enable.
4086 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
4088 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
4090 2000-07-13 Dave Love <fx@gnu.org>
4092 * emacs-lisp/easymenu.el: Doc fixes.
4093 (easy-menu-remove): Defalias to ignore.
4095 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
4096 Call throw correctly.
4098 2000-07-13 Gerd Moellmann <gerd@gnu.org>
4100 * faces.el (frame-background-mode): Doc fix.
4102 * simple.el (eval-expression-print-length): Change custom type to
4103 allow entering nil as value.
4105 2000-07-13 Dave Love <fx@gnu.org>
4107 * progmodes/fortran.el (fortran-imenu-generic-expression):
4108 Change definition layout.
4109 (fortran-mode-menu): Reinstate customize entries.
4111 * cus-edit.el (custom-group-menu-create, customize-menu-create):
4112 Use :filter, per old XEmacs code.
4114 2000-07-12 Gerd Moellmann <gerd@gnu.org>
4116 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
4117 event when deciding what to send to the terminal.
4119 2000-07-12 Dave Love <fx@gnu.org>
4121 * cus-start.el: Add optional version as 4th element of specs and
4122 use it for several things new in v21. Remove load-path. Fix type
4123 of line-number-display-limit.
4125 2000-07-11 Dave Love <fx@gnu.org>
4127 * progmodes/fortran.el: Don't require easymenu.
4128 Use repeat counts in various regexps.
4129 (fortran-mode-syntax-table): Defvar directly.
4130 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
4131 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
4132 Use defvar, not defconst.
4133 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
4134 (fortran-mode): Set fortran-comment-line-start-skip,
4135 fortran-comment-line-start-skip, dabbrev-case-fold-search.
4136 (fortran-comment-indent): Use defsubst.
4137 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
4138 Use fortran-comment-indent, not fortran-comment-indent-function.
4139 (fortran-comment-region, fortran-electric-line-number): Simplify.
4140 (fortran-auto-fill): New function.
4141 (fortran-do-auto-fill): Deleted.
4142 (fortran-find-comment-start-skip):
4143 Check for non-null comment-start-skip.
4144 (fortran-auto-fill-mode, fortran-fill-statement):
4145 Use fortran-auto-fill.
4146 (fortran-fill): Use fortran-auto-fill. Check for null
4147 comment-start-skip. Simplify final clause and use end-of-line finally.
4149 * widget.el (widget-plist-member): New alias.
4151 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
4153 * eshell/esh-module.el (toplevel): Reference
4154 byte-compile-current-file only if it is bound.
4156 2000-07-10 Gerd Moellmann <gerd@gnu.org>
4158 * dired.el: Don't require `dired-aux'.
4160 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
4162 * dired-aux.el (dired-show-file-type): New function.
4163 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
4164 (dired-show-file-type): Add autoload.
4166 2000-07-10 Kenichi Handa <handa@etl.go.jp>
4168 * international/mule-diag.el (describe-font): Adjusted for the
4169 change of fontset-info.
4170 (print-fontset): Likewise.
4172 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
4174 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
4176 2000-07-07 Gerd Moellmann <gerd@gnu.org>
4178 * bindings.el: Bind `[delete]' to delete-char.
4180 * dired.el (dired-find-alternate-file): New function.
4181 (dired-mode-map): Bind `a' to dired-find-alternate-file.
4182 (toplevel): Require dired-aux when compiling.
4183 (dired-buffers): Move defvar within file to avoid compiler warning.
4185 * info.el (Info-last-search): Variable removed.
4186 (Info-search-history): New variable.
4187 (Info-search): New Info-search-history.
4189 * battery.el, info-look.el: Change author's mail address.
4191 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4193 * mail/rmail.el (rmail-clear-headers): Don't throw an error
4194 if rmail-ignored-headers is nil.
4195 (rmail-retry-failure): Bind rmail-ignored-headers and
4196 rmail-displayed-headers to nil.
4198 2000-07-06 Gerd Moellmann <gerd@gnu.org>
4200 * lpr.el (lpr-page-header-switches): Add `-h' switch.
4201 (print-region-1): Don't hard code `-h' here.
4203 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
4205 2000-07-01 Francesco Potorti` <pot@gnu.org>
4207 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
4208 exim can use "your message" instead of "the message".
4210 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
4212 * facemenu.el: Docstrings fixes.
4213 (facemenu-get-face): Don't use internal-find-face.
4214 (facemenu-iterate): Rename arg to match the docstring.
4216 * newcomment.el (uncomment-region): Be more careful when skipping
4217 backwards over `=' not to bump into BOBP.
4219 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
4221 * ediff-diff.el (ediff-wordify): Use syntax table.
4222 * ediff-init.el (ediff-has-face-support-p): Use
4223 ediff-color-display-p.
4224 (ediff-color-display-p): Use display-color-p, changed to defun
4226 Got rid of special cases for NeXT and OS/2.
4227 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
4230 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
4232 * emacs-lisp/lucid.el: Require CL.
4233 (copy-tree, remprop): Remove, it's provided by CL.
4234 (map-keymap): Define in terms of cl-map-keymap.
4235 (extent-property, set-extent-end-glyph): New functions.
4237 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
4239 2000-07-05 Gerd Moellmann <gerd@gnu.org>
4241 * Makefile.in (DONTCOMPILE): Add comment that the name may
4242 not be changed without changing the make-dist script.
4244 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
4245 (cl-mapc): Use mapc instead of cl-old-mapc.
4247 2000-07-05 Andrew Innes <andrewi@gnu.org>
4249 * makefile.nt: Add support for `bootstrap' and related targets.
4251 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
4253 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
4254 (easy-menu-do-define): Use `menu-item' format.
4255 Handle case where easy-menu-create-menu returns a symbol.
4256 Manually call the potential top-level filter in the function binding.
4257 (easy-menu-filter-return): New arg NAME.
4258 Convert to a keymap if MENU is an XEmacs menu.
4259 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
4260 (easy-menu-converted-items-table, easy-menu-convert-item):
4261 New var and fun to memoize easy-menu-convert-item-1.
4262 (easy-menu-do-add-item): Use it.
4263 (easy-menu-create-menu): Use easy-menu-convert-item.
4264 Wrap easy-menu-filter-return around any :filter specification.
4265 Don't convert the menu if a filter was specified.
4266 Tell easy-menu-make-symbol not to check for MENU being an expression.
4267 (easy-menu-make-symbol): New arg NOEXP.
4269 2000-07-05 Gerd Moellmann <gerd@gnu.org>
4271 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
4272 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
4273 (eval-defun): If called with prefix arg, instrument code for
4276 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
4277 similar to that of eval-defun.
4279 2000-07-04 Dave Love <fx@gnu.org>
4281 * hl-line.el (hl-line-overlay): Make it permanent-local.
4283 * calendar/todo-mode.el: Replaced with a working version, based on
4284 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
4286 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
4288 * paths.el (prune-directory-list): New function.
4289 (Info-default-directory-list): Rewritten to more methodically
4290 enumerate a big list of possible info directories (based on the
4291 list used by the standalone info reader).
4293 * info.el (info-initialize): Use prune-directory-list to remove
4294 non-existent directories from Info-directory-list.
4296 * paths.el (Info-default-directory-list): Try a list of possible
4297 info-directories instead of a single one. Add the possible
4298 info directory "/usr/share/info".
4300 * woman.el (woman-man.conf-path): Explicitly include the debian
4301 man-db config file "/etc/manpath.config".
4302 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
4303 are present in `manpath.config'.
4304 (woman-manpath): Include "/usr/share/man".
4306 2000-07-03 Gerd Moellmann <gerd@gnu.org>
4308 * frame.el (blink-cursor-mode): Don't hide cursor initially.
4310 * startup.el (command-line): Initialize blink-cursor based
4313 * frame.el (blink-cursor): Default to nil if not running under
4316 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
4317 (face-x-resources): Remove duplicate entry for :font.
4319 * textmodes/refer.el (refer-find-entry-internal): Use some-window
4320 instead of cycling through windows with next-window.
4322 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
4323 of cycling through windows with next-window.
4325 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
4326 of cycling through windows with next-window.
4328 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
4329 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
4330 instead of cycling through windows with next-window.
4332 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
4333 instead of cycling through windows with next-window.
4335 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
4336 of cycling through windows with next-window.
4338 * terminal.el (te-process-output): Use walk-windows instead of
4339 cycling through windows with next-window.
4341 * server.el (server-switch-buffer): Use some-window instead of
4342 cycling through windows with next-window.
4344 * window.el (some-window): New function.
4345 (walk-windows): Remove reference to walk-windows-start.
4347 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
4349 2000-07-03 Richard Stallman <rms@gnu.org>
4351 * window.el (walk-windows): Guarantee termination by keeping a list
4352 of all the windows already handled.
4354 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
4356 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
4359 * man.el (Man-notify-when-ready): Don't use window-system. If
4360 Man-notify-method is newframe, and the display is not
4361 multi-frame, select the frame created for the man page.
4362 (Man-init-defvars): Doc fix.
4364 2000-06-28 Gerd Moellmann <gerd@gnu.org>
4366 * faces.el (region): Change background color for light background.
4368 * ediff-wind.el (ediff-setup-control-frame): Remove :box
4369 attribute from mode-line face of Ediff control frame.
4371 * replace.el (query-replace-map): Bind `e' like `E'.
4373 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
4375 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
4376 Change name to "Select All".
4378 * dos-fns.el (convert-standard-filename): Fix last change.
4380 2000-06-27 Gerd Moellmann <gerd@gnu.org>
4382 * help.el (describe-variable): Don't insert a second `'s' in front
4383 of the string `value is shown below'. Since the syntax-table is
4384 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
4385 an existing `'s', so that this won't be deleted.
4387 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
4388 * pcmpl-unix.el: New files.
4390 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
4392 * wid-edit.el (widget-member): Use the new plist-member.
4394 2000-06-26 Gerd Moellmann <gerd@gnu.org>
4396 * replace.el (perform-replace): Undo change of 2000-04-04.
4397 Instead, move backward 1 character at the end of the loop when
4400 * faces.el (fringe): Change face for different backgrounds.
4402 * eshell/esh-module.el (toplevel): Load defgroup's differently;
4405 * eshell/*.el: Change spelling of the Free Software Foundation.
4407 * eshell/esh-toggle.el: Removed.
4409 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
4411 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
4414 2000-06-26 Alex Schroeder <alex@gnu.org>
4416 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
4417 `define-key'; instead of checking `(emacs-version)' check for
4418 `set-keymap-parent' and `set-keymap-name' directly. Add entries
4419 for `;' and `o' which might be electric.
4421 (sql-electric-stuff): New user option.
4422 (sql-magic-go): New function which uses `sql-electric-stuff'.
4423 (sql-magic-semicolon): New function which uses
4424 `sql-electric-stuff'.
4426 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
4429 (sql-oracle-options): New variable.
4430 (sql-oracle): Use it.
4432 (sql-imenu-generic-expression): Doc change.
4433 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
4436 (sql-informix): Added command line parameter "-" to force
4437 sql-informix-program to use stdout.
4439 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
4441 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
4442 (cp864-decode-table): Doc fix.
4443 (cp720-decode-table): New variable, supports the Arabic OEM
4444 codepage used by Windows.
4445 (cp737-decode-table): New, Greek OEM codepage used by Windows.
4447 2000-06-23 Dave Love <fx@gnu.org>
4449 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
4450 (font-lock-fontify-anchored-keywords): Use
4451 line-beginning-position.
4452 (global-font-lock-mode): Use mapc.
4454 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
4456 * eshell/esh-module.el: Require CL when compiling.
4458 2000-06-23 Gerd Moellmann <gerd@gnu.org>
4460 * comint.el (comint-substitute-in-file-name): Call replace-match
4461 with second and third arg t.
4463 * cus-edit.el (custom-button-face, custom-button-pressed-face):
4464 Specify foreground color.
4466 * faces.el (tool-bar, mode-line, header-line): Specify foreground
4469 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
4471 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
4472 cddr instead of cdddr.
4474 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
4475 instead of copy-list.
4477 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
4480 * subdirs.el: Add eshell subdirectory.
4482 * eshell: New subdirectory containing the Eshell package.
4484 * pcomplete.el: New file.
4486 2000-06-23 Paul Eggert <eggert@twinsun.com>
4488 * mail/mailpost.el (post-mail-send-it): Make sure file has
4489 proper permissions from birth.
4491 * files.el (basic-save-buffer-2): When temporarily setting
4492 file modes, set them to current modes plus 0200, not to 0777.
4494 * emerge.el (emerge-make-temp-file): Make sure file has proper
4495 permissions from birth.
4497 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
4499 * files.el (make-backup-file-name-1): On DOS/Windows, run the
4500 backup file name through convert-standard-filename.
4502 * dos-fns.el (convert-standard-filename): Convert leading
4503 directories as well. When long file names are supported, convert
4504 characters that are invalid in Windows file names.
4506 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4508 * ps-print.el: Fix bug: if ^L is the very first buffer character,
4509 ps-print crashes. New feature: page selection for printing. Create
4510 raw-text-unix coding system for XEmacs. Doc fix.
4511 (ps-print-version): New version number (5.2.3).
4512 (ps-plot-region): Bug fix.
4513 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
4514 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
4515 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
4517 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
4518 (ps-last-page): New vars.
4520 2000-06-21 Gerd Moellmann <gerd@gnu.org>
4522 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
4523 empty option string.
4525 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
4527 * man.el (man): Doc fix.
4529 2000-06-21 Kenichi Handa <handa@etl.go.jp>
4531 * international/mule-cmds.el (set-language-info-alist): Docstring
4534 2000-06-20 Gerd Moellmann <gerd@gnu.org>
4536 * version.el (emacs-version): Use ISO date format.
4538 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
4539 instead of `M-backspace'.
4541 * simple.el (turn-off-auto-fill): New function.
4543 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
4545 * jit-lock.el (with-buffer-prepared-for-jit-lock):
4546 Renamed from with-buffer-prepared-for-font-lock and use
4547 inhibit-modification-hooks rather than setting *-change-functions.
4548 Update all functions to use the new name.
4549 (jit-lock-first-unfontify-pos): New semantics (and doc).
4550 (jit-lock-mode): Make non-interactive.
4551 Don't automatically turn on font-lock.
4552 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
4553 Always use jit-lock-after-change.
4554 Remove and restore font-lock-after-change-function.
4555 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
4556 (jit-lock-after-unfontify-buffer): Remove.
4557 (jit-lock-stealth-fontify):
4558 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
4559 (jit-lock-after-change): Set the `fontified' text-prop to nil.
4561 2000-06-20 Sam Steingold <sds@gnu.org>
4563 * emacs-lisp/cl-indent.el (toplevel): Indent
4564 `print-unreadable-object' properly. Untabify.
4566 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
4568 * textmodes/reftex.el (reftex-find-citation-regexp-format):
4569 Support for bibentry.
4570 (reftex-compile-variables): Fixed problem with end of section-re.
4572 * texmodes/reftex-dcr.el (reftex-view-crossref,
4573 reftex-view-crossref-from-bibtex):
4574 Deal with changed `reftex-find-citation-regexp-format'.
4575 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
4576 Replaced `remprop' with `put'.
4577 (reftex-view-crossref, reftex-view-crossref-when-idle):
4578 Support for bibentry.
4580 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
4581 New entry for bibentry package.
4583 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
4584 Regexp also matches "\nobibliography".
4586 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
4587 Call `reftex-ensure-write-access' before doing anything.
4588 (reftex-ensure-write-access): New function.
4590 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
4592 * progmodes/idlwave.el: File re-installed (update to version 4.2)
4594 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
4596 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
4598 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
4601 2000-06-20 Dave Love <fx@gnu.org>
4603 * faces.el (frame-background-mode): Use set-default, not set, in
4605 (frame-update-faces, frame-update-face-colors): Define with
4608 * enriched.el (enriched-decode-foreground)
4609 (enriched-decode-background): Don't use internal-find-face.
4611 * apropos.el: Doc fixes.
4613 * cus-edit.el (customize-changed-options): Check arg.
4614 (customize-version-lessp): Don't require decimal point.
4616 * custom.el (defcustom, defgroup): Doc fix.
4618 * newcomment.el (comment) <defgroup>: Add :version.
4619 (comment-multi-line): Doc fix.
4621 * emulation/mlsupport.el (define-hooked-local-abbrev,
4622 define-hooked-global-abbrev): Fix, using define-abbrev.
4624 2000-06-19 Gerd Moellmann <gerd@gnu.org>
4626 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
4629 2000-06-19 Dave Love <fx@gnu.org>
4631 * menu-bar.el (menu-bar-options-save): New function.
4632 (menu-bar-options-menu): Use it.
4633 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
4636 2000-06-19 Andreas Schwab <schwab@suse.de>
4638 * progmodes/etags.el (tags-query-replace): Put new parameters
4639 START and END at the end, for backward compatibility.
4641 2000-06-19 Kenichi Handa <handa@etl.go.jp>
4643 * international/codepage.el:
4644 (cp-coding-system-for-codepage-1): Delete special codes for
4645 generating xxx-dos coding system because now a CCL based coding
4646 system can handle EOL conversion by default.
4648 * international/mule.el (make-coding-system): Generate subsidiary
4649 coding systems for EOL handling variants even for a CCL based
4652 2000-06-19 Kenichi Handa <handa@etl.go.jp>
4654 * international/isearch-x.el (isearch-minibuffer-input-method)
4655 (isearch-minibuffer-input-method-function): These variables
4657 (isearch-with-input-method): Don't use the above variables.
4658 (isearch-process-search-multibyte-characters): Likewise. Call
4659 read-string with the arg INHERIT-INPUT-METHOD t.
4661 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
4663 * font-lock.el (font-lock-after-fontify-buffer)
4664 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
4666 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
4667 Use consistent make-local-variable style for font-lock-fontified.
4668 (jit-lock-fontify-buffer):
4669 Don't bother checking for font-lock-mode and jit-lock-mode.
4671 * time.el: Remove trailing ^M that prevent CVS-merging.
4673 2000-06-16 Gerd Moellmann <gerd@gnu.org>
4675 * Makefile.in (distclean): New target.
4677 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
4679 * Makefile.in (srcdir): Define for update-subdirs.
4681 2000-06-16 Gerd Moellmann <gerd@gnu.org>
4683 * find-lisp.el: New file.
4685 2000-06-16 Andrew Innes <andrewi@gnu.org>
4687 * time.el (display-time-mail-function): New variable, to allow
4688 external packages to indicate when new mail is available.
4689 (display-time-update): Use it.
4691 2000-06-16 Kenichi Handa <handa@etl.go.jp>
4693 * international/mule.el (mule-version): Change version name to
4694 SAKAKI. AOI has already been used by Meadow.
4696 * international/quail.el (quail-show-guidance-buf): To find the
4697 bottom window (but minibuffer), pay attention to the height of
4700 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
4702 * arc-mode.el (archive-mode-map): Use the new menu-item format for
4703 menu-bar menus. Add help strings. Don't remove the Edit menu
4704 from the menu bar, as the menu bar has enough space now.
4706 * Makefile.in (SHELL): Make sure /bin/sh is used.
4708 * woman.el (woman-man-buffer): Fix bold and underlined CJK
4709 characters, which use series of two ^H characters instead of one.
4711 2000-06-15 Gerd Moellmann <gerd@gnu.org>
4713 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
4714 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
4716 (Info-find-node-2): Try a case-sensitive search first, then
4717 do a case-insensitive search.
4719 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
4722 * complete.el (PC-env-vars-alist): New variable.
4723 (PC-complete-as-file-name): New function.
4724 (partial-completion-mode): Initialize PC-env-vars-alist from
4725 process-environment.
4726 (PC-do-completion): Handle completion of env vars.
4728 * info.el (Info-set-mode-line): Show file name in mode line,
4729 use `*Info*' instead of `Info:'.
4731 * startup.el (command-line-1): Change copyright messages to year
4734 2000-06-15 Dave Love <fx@gnu.org>
4736 * net/goto-addr.el (goto-address-fontify): Use keymap property,
4739 2000-06-15 Kenichi Handa <handa@etl.go.jp>
4741 * international/mule.el (set-buffer-file-coding-system): Almost
4742 rewritten to handle `undecided' as no-op.
4744 2000-06-14 Gerd Moellmann <gerd@gnu.org>
4746 * Makefile.in: New file.
4748 * Makefile: Removed.
4750 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
4751 (goto-address-highlight-keymap): Bind C-c RET.
4753 2000-06-14 Kenichi Handa <handa@etl.go.jp>
4755 * mail/sendmail.el (sendmail-send-it): The temporary buffer
4756 inherits buffer-file-coding-system of the current buffer.
4758 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
4759 0. Give correct argument to set-auto-coding-function.
4760 (tar-expunge): For goto-char, use (point-min), not 0.
4761 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
4762 (tar-subfile-save-buffer): Likewize.
4764 * international/mule.el
4765 (after-insert-file-set-buffer-file-coding-system): Call
4766 set-buffer-file-coding-system with the arg FORCE t.
4768 2000-06-13 Gerd Moellmann <gerd@gnu.org>
4770 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
4771 nil. Contemporary sendmails issue an X-Authentication-Warning if
4772 the sender is set with `-f'.
4774 2000-06-13 Dave Love <fx@gnu.org>
4776 * help.el (describe-function-1): Kluge around cases of functions
4777 fset to subrs whose doc doesn't match their symbol-name.
4779 * image.el (insert-image): Default STRING to a space.
4781 * info.el Doc fixes.
4782 (Info-build-node-completions): Match Ref tags.
4784 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
4786 * frame.el (display-multi-frame-p, display-multi-font-p): New
4787 defaliases for display-graphic-p.
4789 * hl-line.el: Fixed a typo in commentary.
4791 2000-06-13 Kenichi Handa <handa@etl.go.jp>
4793 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
4796 2000-06-12 Dave Love <fx@gnu.org>
4798 * image.el (insert-image): Save a little consing.
4800 2000-06-12 Kenichi Handa <handa@etl.go.jp>
4802 * language/tibet-util.el: Convert all tibetan-1-column characters
4803 to the corresponding tibetan characters.
4804 (tibetan-add-components): Delete code for the special treatment of
4807 * language/tibetan.el (tibetan-composable-pattern): Fix previous
4809 (tibetan-vowel-transcription-alist): More rules added.
4810 (tibetan-composite-vowel-alist): New variable.
4811 (tibetan-precomposition-rule-alist): More rules added.
4813 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
4815 * startup.el (command-line): Only call menu-bar-mode if interactive.
4817 * thingatpt.el (toplevel symbol-properties):
4818 * textmodes/makeinfo.el (makeinfo-compile):
4819 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
4820 * progmodes/hideif.el (hif-compress-define-list)
4821 (hide-ifdef-use-define-alist):
4822 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
4823 (ange-ftp-vms-add-file-entry):
4824 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
4825 * man.el (Man-build-man-command):
4826 * mail/rnewspost.el (news-reply-header-hook):
4827 * info.el (Info-insert-dir):
4828 * emulation/mlconvert.el (backward-word, forward-word, setq):
4829 * emacs-lisp/gulp.el (gulp-send-requests):
4830 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
4831 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
4832 (byte-optimize-apply, end of file):
4833 * emacs-lisp/advice.el (ad-advice-class-completion-table)
4834 (ad-make-freeze-definition):
4835 * startup.el (command-line, command-line-1): Don't quote lambdas.
4837 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
4838 (cvs-cleanup-removed): New function.
4839 (cvs-cleanup-functions): New var.
4840 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
4841 some flexibility in specifying additional entries to auto-cleanup.
4842 (cvs-quickdir): New function.
4843 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
4844 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
4845 (cvs-mode-find-file): Check that we are on a filename or dirname
4846 when invoked through a mouse-click.
4847 (cvs-full-path): Remove.
4848 (cvs-dired-action): Re-introduced.
4849 (cvs-dired-noselect): Use it.
4850 (vc-post-command-functions): use this new hook if available.
4852 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
4853 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
4854 (cvs-filename-map, cvs-dirname-map): Remove.
4855 (cvs-default-action): Remove.
4856 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
4857 if the arg is really a keymap.
4858 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
4859 Don't hardcode the mapping from state (aka type) to face, but check
4860 the var cvs-fi-<type>-face instead.
4861 (cvs-fileinfo-from-entries): New function.
4863 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
4865 (cvs-find-file-and-jump): Change default to be safer.
4866 (cvs-mode-diff-map): Define it as a function as well.
4867 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
4868 Bind mouse-2 in this global map rather than with text-properties.
4870 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
4871 file to resolve the ambiguity between C(conflict) and C(need-merge).
4873 2000-06-12 Kenichi Handa <handa@etl.go.jp>
4875 * international/mule.el (set-buffer-file-coding-system): If
4876 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
4879 2000-06-12 Dave Love <fx@gnu.org>
4881 * wid-edit.el (widget-specify-button): Really suppress the face if
4884 2000-06-11 Gerd Moellmann <gerd@gnu.org>
4886 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
4888 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
4890 * imenu.el (imenu-generic-expression): Docstring fix.
4892 * composite.el (composition-function-table): Move the `put'
4893 below the autoload cookie so we can load the file before loaddefs.
4895 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
4897 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
4898 Handle easy-mmode-define-global-mode.
4899 For complex macros like define-minor-mode that can generate
4900 several autoload entries, try to autoload entries in the
4903 * emacs-lisp/easy-mmode.el (define-minor-mode):
4904 If KEYMAP is a symbol, just use it.
4905 Use byte-compile-current-file and load-file-name to infer the
4906 proper :require to pass to defcustom.
4907 Wrap the hook var into `progn' so as not to autoload it.
4908 Add a :autoload-end cookie.
4909 Be more careful about the evaluation of KEYMAP.
4910 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
4911 (define-derived-mode): Move define-abbrev-table outside of defvar.
4913 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
4915 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
4916 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
4917 (backup-compiled-files): Ignore errors during `tar'.
4918 (bootstrap): Make autoloads before elc files.
4920 2000-06-10 Kenichi Handa <handa@etl.go.jp>
4922 * international/mule.el (set-buffer-file-coding-system): If one of
4923 undecided-XXX is specified, change only EOL conversion.
4925 * international/mule-conf.el (unix): New alias for the coding
4926 system undecided-unix.
4928 2000-06-09 Dave Love <fx@gnu.org>
4930 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
4932 * progmodes/executable.el: Byte compile dynamic.
4933 (executable-insert): Change custom type.
4934 (executable-find): Add autoload cookie.
4935 (executable-make-buffer-file-executable-if-script-p): New
4936 function. After Noah Friedman.
4938 * files.el (after-save-hook): Customize, with
4939 executable-make-buffer-file-executable-if-script-p as an option.
4941 2000-06-09 Kenichi Handa <handa@etl.go.jp>
4943 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
4944 "tib24p-mule.bdf" for Tibetan.
4946 * composite.el (decompose-composite-char): Declare it as obsolete.
4948 * man.el (Man-fontify-manpage): Pay attention to underline and
4949 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
4951 2000-06-08 Gerd Moellmann <gerd@gnu.org>
4953 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
4954 Set maintainer to FSF since author isn't reachable.
4956 2000-06-08 Dave Love <fx@gnu.org>
4958 * international/mule-cmds.el (select-safe-coding-system): If
4959 DEFAULT-CODING-SYSTEM is not specified, also check the most
4960 preferred coding-system if buffer-file-coding-system is
4961 `undecided'. From Handa.
4963 2000-06-08 Kenichi Handa <handa@etl.go.jp>
4965 * international/mule.el
4966 (after-insert-file-set-buffer-file-coding-system): If the buffer
4967 size is greater than INSERTED, judget that we are not visiting.
4969 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
4971 * whitespace.el (defgroup whitespace): Comment out `:version'.
4972 XEmacs 20.4 has problems defining the group with this present.
4973 We'll have this commented out till get resolve the problem.
4975 2000-06-07 Gerd Moellmann <gerd@gnu.org>
4977 * align.el: Update from author.
4979 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
4981 * apropos.el (apropos-mode-hook): New user variable.
4982 (apropos-mode): Run apropos-mode-hook.
4984 2000-06-07 David Ponce <david@dponce.com>
4986 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
4987 commands. Require `wid-edit' at run-time.
4989 2000-06-07 David Ponce <david@dponce.com>
4991 * recentf.el: Added some "Commentary".
4992 (recentf-open-more-files, recentf-edit-list): Minor changes to
4993 move the point at the top of the file list. This behaviour is
4994 consistent with the menu one when the list contains a lot of
4996 (recentf-cleanup): Now displays the number of items removed from
4998 (recentf-relative-filter) New menu filter to show filenames
4999 relative to `default-directory'.
5001 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5003 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
5004 with/without giving an error if PostScript printer doesn't have this
5005 kind of page size. Zebra Stripe continues or restarts on next page.
5006 Manual/automatic paper feeding. Switch or not the header.
5007 (ps-print-version): New version number (5.2.2).
5008 (ps-windows-system): Include emx as a Windows system.
5009 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
5010 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
5011 (ps-background-text): Code fix.
5012 (ps-error-handler-message, ps-user-defined-prologue)
5013 (ps-print-prologue-header, ps-printer-name)
5014 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
5015 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
5016 (ps-use-face-background): Customization fix.
5017 (ps-n-up-database): Data fix.
5018 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
5019 (ps-switch-header): New vars.
5020 (ps-xemacs-color-name, ps-face-foreground-name)
5021 (ps-face-background-name, ps-boolean-constant): New funs.
5023 2000-06-07 Dave Love <fx@gnu.org>
5025 * allout.el: New version from Manheimer.
5027 2000-06-07 Kenichi Handa <handa@etl.go.jp>
5029 * textmodes/fill.el (fill-find-break-point): Check the validity of
5032 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
5034 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
5035 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
5036 Call display-color-p and display-mouse-p instead of looking at
5039 2000-06-06 Dave Love <fx@gnu.org>
5041 * image.el (find-image): Doc fix. Return nil if image not found.
5042 (put-image, insert-image): Make STRING arg optional.
5044 2000-06-06 Kenichi Handa <handa@etl.go.jp>
5046 * language/vietnamese.el: Remove eval-when-compile.
5047 (viet-viscii-nonascii-translation-table): Define it as a
5048 translation table made from viet-viscii-decode-table.
5049 (viet-viscii-encode-table): Define it as a translation table made
5050 from the reverse map of above.
5051 (viet-vscii-nonascii-translation-table): Define it as a
5052 translation table made from viet-vscii-decode-table.
5053 (viet-vscii-encode-table): Define it as a translation table made
5054 from the reverse map of above.
5055 (ccl-decode-viscii): Use translate-character.
5056 (ccl-encode-viscii, ccl-encode-viscii-font)
5057 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
5060 * language/cyrillic.el: Remove eval-when-compile.
5061 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
5062 translation table made from cyrillic-koi8-r-decode-table.
5063 (cyrillic-koi8-r-encode-table): Define it as a translation table
5064 made from the reverse map of above.
5065 (ccl-decode-koi8): Use translate-character.
5066 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
5067 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
5068 a translation table made from cyrillic-alternativnyj-decode-table.
5069 (cyrillic-alternativnyj-encode-table): Define it as a translation
5070 table made from the reverse map of above.
5071 (ccl-decode-alternativnyj): Use translate-character.
5072 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
5075 * international/mule-diag.el (non-iso-charset-alist): Specify
5076 translation table symbol instead of translation table itself.
5077 (list-block-of-chars): CHARSET may be a translation table symbol.
5079 * international/mule.el (make-coding-system): If CODING-SYSTEM
5080 already exists, override it.
5082 * international/fontset.el: Use family `proportional' for Tibetan
5085 * international/ccl.el (ccl-compile-translate-character): Don't
5086 check if Rrr has property translation-table.
5087 (ccl-compile-map-multiple): Modified to avoid compiler warning.
5089 2000-06-05 Gerd Moellmann <gerd@gnu.org>
5091 * info.el: Bind case-fold-search to t when searching in case
5092 a user sets it to nil in a hook.
5094 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
5096 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5097 * hl-line.el (hl-line-mode): Use the new :global key argument.
5099 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
5100 (tar-clip-time-string): Prepend a space.
5101 (tar-grind-file-mode): Construct a string rather than modifying one.
5102 (tar-header-block-summarize): Fix docstring.
5103 Use `format' rather than an error-prone set of copy-loops.
5105 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
5106 (diff-goto-source, diff-unified->context, diff-context->unified)
5107 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
5108 understand the format output by the `-p' argument to diff.
5110 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
5111 (sh-re-done): Use defconst.
5112 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
5113 (sh-help-string-for-variable, sh-guess-basic-offset):
5114 Don't quote lambdas.
5115 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
5116 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
5118 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
5119 (mh-letter-mode): Derive from text-mode.
5120 This implicitly means that it now calls kill-all-local-variables.
5121 Also remove the Emacs-18 compatibility code.
5123 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
5124 Make use of symbol-property doc-string-elt.
5125 Use memq rather than a sequence of eq.
5126 (doc-string-elt): Fix the wrong or missing previously unused values.
5127 (autoload-print-form): New function extracted from
5128 generate-file-autoloads to allow recursion when handling progn
5129 so that defvar's and defun's docstrings are properly printed.
5130 (generate-file-autoloads): Use it.
5132 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
5133 Use find-file-hooks in the minor-mode function.
5134 Be careful not to loop indefinitely in the post-command-hook function.
5136 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
5138 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
5140 * ediff-diff.el (ediff-exec-process): Use --binary for fine
5141 differences whenever appropriate.
5142 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
5143 * viper.el (find-file, find-file-other-window): Get viper to do
5146 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
5148 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
5149 (jit-lock-fontify-buffer): New function for JIT refontification.
5150 (jit-lock-mode): Fix docstring.
5151 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
5152 Remove jit-lock-after-change from the _local_ hook.
5153 (jit-lock-function-1): Fix docstring.
5155 * info.el (Info-on-current-buffer): Initialize info.
5157 * newcomment.el (comment-indent): Ignore comment-indent-hook.
5159 * progmodes/tcl.el (tcl-indent-for-comment):
5160 Ignore comment-indent-hook.
5162 * emacs-lisp/easy-mmode.el: Require CL during compilation.
5163 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
5164 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
5165 and improve to use the lighter to guess the capitalization.
5166 (define-minor-mode): Inline code from easy-mmode-define-toggle.
5167 Add keyword arguments to specify global-ness or the custom group.
5168 Add local-map and help-echo properties to the lighter.
5169 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
5170 (easy-mmode-define-global-mode): New macro.
5172 2000-06-02 Dave Love <fx@gnu.org>
5174 * wid-edit.el: byte-compile-dynamic since we typically don't use
5175 all the widgets. Don't require cl or widget. Remove
5176 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
5177 (widget-read-event): Removed. Callers changed to use read-event.
5178 (widget-button-release-event-p): Renamed from
5179 button-release-event-p.
5180 (widget-field-add-space, widget-field-use-before-change):
5182 (widget-specify-field): Use keymap property, not local-map.
5183 (widget-specify-button): Obey :suppress-face.
5184 (widget-specify-insert): Use modern backquote syntax.
5185 (widget-image-directory): Renamed from widget-glyph-directory.
5186 (widget-image-enable): Renamed from widget-glyph-enable.
5187 (widget-image-find): Replaces widget-glyph-find.
5188 (widget-button-pressed-face): Move defvar.
5189 (widget-image-insert): Replaces widget-glyph-insert.
5190 (widget-convert): Use keywordp.
5191 (widget-leave-text, widget-children-value-delete): Use mapc.
5192 (widget-keymap): Remove XEmacs stuff.
5193 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
5194 (widget-button-click): Don't set point at the click, but re-centre
5195 if we scroll out of window. Rewritten for images v. glyphs &c.
5196 (widget-tabable-at): Use POS arg, not point.
5197 (widget-beginning-of-line, widget-end-of-line)
5198 (widget-item-value-create, widget-sublist, widget-princ-to-string)
5199 (widget-sexp-prompt-value, widget-echo-help): Simplify.
5200 (widget-default-create): Use widget-image-insert; some rewriting.
5201 (widget-visibility-value-create)
5202 (widget-push-button-value-create, widget-toggle-value-create): Use
5203 widget-image-insert.
5204 (checkbox): Create on and off images dynamically.
5205 (documentation-link): Change :help-echo.
5206 (widget-documentation-link-echo-help): Remove.
5208 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
5210 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
5212 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
5213 (easy-mmode-define-toggle, define-minor-mode): Use it.
5214 (easy-mmode-define-keymap): Docstring fix.
5215 (define-derived-mode): Default PARENT to fundamental-mode.
5216 Add the derived-mode-parent symbol-property.
5217 (easy-mmode-derived-mode-p): New function.
5219 2000-06-02 Dave Love <fx@gnu.org>
5221 * files.el (convert-standard-filename): Doc fix.
5222 (normal-backup-enable-predicate): New function.
5223 (backup-enable-predicate): Use it to replace the lambda form.
5225 * calendar/todo-mode.el: [This needs more work on the outline
5227 (todo) <defgroup>: Add :version.
5228 (todo-add-category): Don't use pushnew.
5229 (todo-cmd-raise): Fix typo.
5230 (todo-top-priorities): Change temp buffer name.
5231 (todo-category-alist): Avoid redundant lambda.
5232 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
5233 Use outline-next-heading.
5235 * autoarg.el: Rewritten to use define-minor-mode.
5236 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
5237 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
5239 2000-06-02 Kenichi Handa <handa@etl.go.jp>
5241 * isearch.el (isearch-other-meta-char): Fix previous change.
5243 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
5245 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
5246 (log-edit-done): Only add the comment to the ring if it's different
5247 from the last comment entered.
5249 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
5251 2000-06-01 Dave Love <fx@gnu.org>
5253 * hl-line.el: Rewritten using define-minor-mode.
5255 * help.el (describe-function-1): Distinguish special form from
5256 builtin function. Sanity-check presence of arglist for builtins.
5258 2000-06-01 Kenichi Handa <handa@etl.go.jp>
5260 * international/characters.el: Fix syntax/category setting of
5263 * language/tibet-util.el (tibetan-add-components): Fixes for new
5264 encoding of Tibetan characters.
5265 (tibetan-decompose-precomposition-alist): New variable.
5266 (tibetan-decompose-region): Convert precomposed characters to
5267 non-precomposed characters.
5268 (tibetan-decompose-string): Likewise.
5269 (tibetan-composition-function): Fix args to
5270 thibetan-compose-string.
5272 * language/tibetan.el (tibetan-composable-pattern): More
5273 characters included.
5274 (tibetan-consonant-transcription-alist): Rule for "R" added.
5275 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
5277 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
5279 * language/lao-util.el (lao-composition-function): Fix args to
5282 * language/thai-util.el (thai-composition-function): Fix args to
5285 * isearch.el (isearch-update): Set disable-point-adjustment to t
5286 to prevent the point moving to the end of a composition when a
5287 part of a composition is searched.
5288 (isearch-other-meta-char): If the key invoking this command can be
5289 mapped by function-key-map to a printing char, call
5290 isearch-process-search-char directly.
5292 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
5294 * emacs-lisp/bytecomp.el:
5296 * international/mule-cmds.el:
5297 * international/mule-util.el:
5298 * international/mule.el:
5301 * faces.el: Update calls to make-obsolete with a WHEN argument.
5303 * byte-run.el (make-obsolete, make-obsolete-variable):
5304 Add an optional WHEN argument and change the format of the
5305 symbol-property information.
5306 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
5307 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
5308 new obsolete-symbol-property format and print WHEN if it is provided.
5310 2000-05-31 Dave Love <fx@gnu.org>
5312 * loadhist.el (loadhist-hook-functions): Remove
5313 before-change-function, after-change-function.
5314 (unload-feature): Deal with symbols which are both bound and
5317 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
5318 before-change-function, after-change-function.
5320 * simple.el (newline): Don't bind before-change-function,
5321 after-change-function.
5323 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
5325 * whitespace.el (whitespace-rescan-timer-time): Update interval
5326 set to 600 seconds (10 minutes) instead of 60 seconds since
5327 a large number of whitespace buffers causes emacs to `freeze'
5328 for a considerable amount of time.
5330 * whitespace.el: Updated email address
5332 2000-05-31 Dave Love <fx@gnu.org>
5334 * add-log.el (change-log-font-lock-keywords) <function>: Add
5335 pattern for function of change.
5336 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
5337 acknowledgements patterns.
5339 2000-05-31 Kenichi Handa <handa@etl.go.jp>
5341 * isearch.el (isearch-printing-char): If keyboard coding system is
5342 being used, call isearch-process-search-multibyte-characters.
5344 * international/isearch-x.el: Mostly rewritten.
5346 * international/quail.el (quail-start-conversion): Don't include
5347 unhandled events in the returned events, but set them in
5348 unread-command-events. Exit if all inputs are deleted.
5350 2000-05-30 Jason Rumney <jasonr@gnu.org>
5352 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
5354 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
5355 Reenable code to create initial fontsets.
5356 Use set-fontset-font in place of put-charset-property.
5358 2000-05-30 Gerd Moellmann <gerd@gnu.org>
5360 * progmodes/perl-mode.el (perl-indent-line): When looking for a
5361 label, ensure that the first colon isn't followed by another.
5363 * paths.el (Info-default-directory-list): Doc fix.
5365 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
5366 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
5367 send a query containing USER only, not USER@HOST.
5369 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
5370 and rmail-msgend to compute the restriction at the end, instead of
5373 2000-05-29 Gerd Moellmann <gerd@gnu.org>
5375 * dabbrev.el (dabbrev-expand): Don't display messages in the
5376 echo area if the minibuffer window is active.
5378 * jit-lock.el (jit-lock-mode): Add after change function to
5381 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
5383 * antlr-mode.el: New commands: hide/unhide actions,
5384 upcase/downcase literals.
5385 (antlr-tiny-action-length): New user option.
5386 (antlr-hide-actions): New command. Suggested by
5387 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
5388 (antlr-mode-map): New binding [C-c C-v].
5389 (antlr-mode-menu): New entries.
5390 (antlr-downcase-literals): New command.
5391 (antlr-upcase-literals): Ditto.
5393 * antlr-mode.el: Minor changes: indendation, mode-name.
5394 (antlr-indent-line): Indent cpp directive at column 0.
5395 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
5397 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
5398 (antlr-font-lock-additional-keywords): Workaround for intentional
5399 bug in XEmacs version of font-lock.
5400 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
5401 be used by a smarter version of `buffers-menu-grouping-function'.
5403 2000-05-29 Gerd Moellmann <gerd@gnu.org>
5405 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
5406 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
5408 2000-05-29 Kenichi Handa <handa@etl.go.jp>
5410 * international/encoded-kb.el
5411 (encoded-kbd-iso2022-designation-map): Pay attention to that
5412 charset-iso-final-char return -1 for eight-bit-control and
5415 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
5417 * speedbar.el (speedbar-use-images, speedbar-update-flag)
5418 (speedbar-easymenu-definition-base): Use display-graphic-p where
5419 available, instead of window-system.
5421 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
5423 * international/codepage.el (cp-coding-system-for-codepage-1): Add
5424 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
5427 2000-05-26 Dave Love <fx@gnu.org>
5429 * disp-table.el (standard-display-underline): Don't use
5432 * mail/reporter.el: Maintainer change. Doc fixes.
5433 (reporter-version): Deleted.
5435 * emacs-lisp/elp.el: Maintainer change.
5436 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
5438 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
5440 * add-log.el (add-change-log-entry): Merge the current entry with the
5441 previous one if the previous one is empty.
5443 2000-05-26 Dave Love <fx@gnu.org>
5445 * loadhist.el (unload-feature): Fix interactive spec [from
5446 lijnzaad@ebi.ac.uk].
5448 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
5449 subr-arity to check primitives.
5450 (byte-compile-flush-pending, byte-compile-file-form-progn)
5451 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
5452 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
5455 2000-05-26 Kenichi Handa <handa@etl.go.jp>
5457 * international/fontset.el: Set family names of non-latin charsets
5458 in default fontset to "*".
5460 * international/mule-diag.el (print-fontset): Combine family part
5461 and registry part of the fontname by "-*-" instead of "-".
5463 * international/mule-cmds.el (encode-coding-char): Make strings
5464 multibyte before calling encode-coding-string.
5466 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
5468 * derived.el: Fix keywords.
5469 (define-derived-mode): Only define if needed.
5471 * simple.el (fill-comment, comment-column, comment-start)
5472 (comment-start-skip, comment-end, comment-indent-function)
5473 (block-comment-start, block-comment-end, indent-for-comment)
5474 (set-comment-column, kill-comment, comment-padding, comment-region)
5475 (comment-multi-line, indent-new-comment-line): Remove.
5477 * bindings.el (esc-map): Change ; to comment-dwim and use the new
5478 function names for comment operations.
5480 * newcomment.el: Add abundant autoload cookies.
5481 (comment-style): Don't depend on runtime data at compile-time.
5482 (comment-indent-hook): Remove.
5483 (comment-indent): Check if comment-indent-hook is bound.
5484 (comment-region): Docstring fix.
5486 2000-05-25 Dave Love <fx@gnu.org>
5488 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
5489 byte-code-function-p.
5491 * mail/rmailsum.el: Add provide.
5493 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
5495 * smerge-mode.el (smerge-diff-switches): Don't use list* in
5498 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
5500 * ediff-diff.el (ediff-exec-process): delete --binary option from
5501 non-buffer ediff jobs.
5503 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
5505 * hilit-chg.el (highlight-changes-mode): Ask about color or
5506 grayscale support, not about window-system.
5508 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
5510 (ffap-highlight): Always default to t.
5512 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
5513 display-popup-menus-p instead of looking at window-system.
5515 * disp-table.el (standard-display-g1, standard-display-graphic):
5516 Only refuse to use string glyphs on X and MS-Windows.
5518 * avoid.el: Remove window-system from commentary, suggest to use
5519 display-*-p instead.
5521 * apropos.el (apropos-print): Use display-mouse-p instead of
5524 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
5526 * international/codepage.el (cp-decoding-vector-for-codepage):
5527 Fill up unsupported characters with their own codes. From Kenichi
5530 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
5532 * international/mule-diag.el (describe-char-after): Use
5533 display-graphic-p instead of window-system, so that this function
5536 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
5538 * international/codepage.el (cp-make-coding-systems-for-codepage):
5539 Remove the eight-bit-graphic and eight-bit-control charsets from
5540 the list of charsets which we convert into `?'.
5542 2000-05-25 Kenichi Handa <handa@etl.go.jp>
5544 * international/mule-conf.el: Specify CHARSET-ID explicitely for
5546 (mule-unicode-0100-24ff, japanese-jisx0213-1,
5547 japanese-jisx0213-2): New charsets.
5549 * international/fontset.el: Setup default fontset for new charsets.
5551 2000-05-24 Dave Love <fx@gnu.org>
5553 * info.el (Info-find-node-2): Restructure [following "Vadim
5554 S. Solomin" <sovs@uic.nnov.ru>].
5556 * icomplete.el: Fix header for Finder.
5558 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
5560 * rmailout.el (rmail-output-to-rmail-file): Added optional param
5563 * rmail.el (rmail-automatic-folder-directives): New user variable.
5564 (rmail-show-message): Add call to `rmail-auto-file' during
5566 (rmail-auto-file): New function.
5568 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
5570 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
5572 (ediff-test-utility,ediff-diff-mandatory-option)
5573 (ediff-reset-diff-options): Utilities for proper initialization of
5574 ediff-diff-options and ediff-diff3-options on Windows.
5576 * ediff-init.el (ediff-merge-filename-prefix): New customizable
5579 * ediff-mult.el (ediff-filegroup-action): Use
5580 ediff-merge-filename-prefix.
5582 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
5584 * viper-ex.el (ex-write): Set selective display to nil.
5586 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
5588 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
5589 aliases for hebrew-iso-8bit.
5591 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
5593 * woman.el: New version from Francis J. Wright
5594 <F.J.Wright@Maths.QMW.ac.uk>.
5595 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
5596 names in environment variables regardless of the path separator.
5597 (woman-topic-all-completions-1): Don't call file-name-directory-p
5598 on all files, since woman-file-regexp already filters out any
5601 2000-05-24 Kenichi Handa <handa@etl.go.jp>
5603 * international/quail.el (quail-start-translation): Don't change
5604 modified-p of the current buffer.
5605 (quail-start-conversion): Likewise.
5607 * international/kkc.el (kkc-region): Don't change modified-p of
5610 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
5612 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
5614 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
5616 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
5617 (speedbar-insert-button): Invisible text property fix.
5618 (speedbar-directory-plus): Renamed from speedbar-directory-+
5619 (speedbar-directory-minus): Renamed from speedbar-directory--
5620 (speedbar-page-plus): Renamed from speedbar-file-+
5621 (speedbar-page-minus): Renamed from speedbar-file--
5622 (speedbar-page): Renamed from speedbar-file-
5623 (speedbar-tag): Renamed from speedbar-tag-
5624 (speedbar-tag-plus): Renamed from speedbar-tag-+
5625 (speedbar-tag-minus): Renamed from speedbar-tag--
5626 (speedbar-expand-image-button-alist): Use above renames.
5628 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
5629 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
5630 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
5631 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
5632 * sb-pg.xpm: Renamed from sb-file.xpm
5633 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
5634 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
5636 2000-05-24 Kenichi Handa <handa@etl.go.jp>
5638 * international/quail.el (quail-show-guidance-buf): Set
5639 current-input-method of the guidance buffer to the name of the
5640 curren input method.
5642 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
5644 * progmodes/compile.el (compile-internal): Style typo.
5646 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
5647 quote vars and functions in the docstring.
5649 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
5651 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
5652 Don't quote lambdas.
5654 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
5656 2000-05-23 Gerd Moellmann <gerd@gnu.org>
5658 * startup.el (command-line): Determine source file of compiled
5659 user init file differently. Warn if compiled user init file
5660 is older than its source file.
5662 * ffap.el (ffap-url-regexp): Add `https'.
5664 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
5666 * files.el (make-backup-file-name-1): Replace slashes with `!'
5667 rather than `|' (which is not allowed on Windows). Replace the
5668 drive letters with a string "drive_X".
5670 2000-05-23 Gerd Moellmann <gerd@gnu.org>
5672 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
5674 * files.el (interpreter-mode-alist): Add `bash2'.
5676 2000-05-22 Dave Love <fx@gnu.org>
5678 * loadhist.el (feature-symbols, file-provides, file-requires): Use
5680 (feature-file): Avoid calling symbol-name. Doc fix.
5681 (file-set-intersect, file-dependents): Use dolist, not mapcar.
5682 (loadhist-hook-functions): Add mouse-position-function.
5683 (unload-feature): Change uses of mapcar.
5685 * files.el (parse-colon-path): Doc fix.
5686 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
5687 (set-auto-mode): Use mapc.
5689 * complete.el (PC-look-for-include-file): Use :alnum: character
5691 (partial-completion-mode): Add autoload cookie.
5693 2000-05-22 Sam Steingold <sds@gnu.org>
5695 * info.el (Info-fontify-node): Fixed the call to
5696 `add-text-properties' (bug introduced on 2000-05-18).
5698 2000-05-22 Dave Love <fx@gnu.org>
5700 * bindings.el: Remove debug-ignored-errors set in other files.
5702 * progmodes/etags.el: Add to debug-ignored-errors.
5703 (visit-tags-table-buffer): Clear out buffers holding old tables
5704 when making a new list.
5705 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
5708 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
5710 (cmpl-string-case-type): Use character classes.
5713 * textmodes/ispell.el:
5716 * progmodes/compile.el: Add to debug-ignored-errors.
5718 * dabbrev.el: Add to debug-ignored-errors.
5719 (dabbrev-completion): Use mapc.
5721 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
5723 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
5724 (woman-mapcan, woman-parse-man.conf)
5725 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
5726 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
5727 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
5729 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
5730 (woman-manpath): Call woman-parse-man.conf.
5731 (woman-emulation): New defcustom, defaults to nroff.
5732 (woman-font-support): New defconst.
5733 (woman-use-symbol-font): New defcustom.
5734 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
5736 Many functions: Doc fix.
5738 2000-05-22 Kenichi Handa <handa@etl.go.jp>
5740 * international/quail.el (quail-simple-translation-keymap): Map
5741 128..255 to quail-self-insert-command.
5742 (quail-keyboard-layout-alist): Add definition for "pc102-de".
5744 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
5746 * help.el (help-manyarg-func-alist): Typo.
5748 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
5749 intervals which makes it heaps simpler.
5751 * newcomment.el (comment-region-internal): Go back to BEG after quoting
5752 the nested comment markers.
5754 * subr.el (remove-hook): Don't turn the hook's value into a list.
5756 2000-05-21 Dave Love <fx@gnu.org>
5758 * edmacro.el (edmacro-parse-keys): Return vector if any elements
5759 are invalid characters.
5761 * international/mule-util.el (detect-coding-with-priority): Use
5762 mapc. Remove redundant lambda.
5764 * international/mule-diag.el (list-non-iso-charset-chars)
5765 (describe-fontset): Remove redundant lambda.
5767 * emulation/crisp.el (brief-mode): New alias.
5769 * emacs-lisp/ring.el (ring-elements): New function.
5771 * emacs-lisp/easymenu.el (easy-menu-create-menu)
5772 (easy-menu-do-add-item): Use keywordp.
5774 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
5776 * replace.el: Doc and error message fixes.
5777 (replace-highlight): Use facep, not internal-find-face.
5779 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
5781 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
5783 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
5784 (log-edit-insert-changelog): Drop `:' as well.
5786 * log-view.el: Fix file description.
5787 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
5789 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
5790 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
5792 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
5793 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
5794 Print a status message if the toggle is called interactively.
5795 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
5796 for global minor modes and use `defcustom' for them.
5798 (easy-mmode-define-derived-mode): Remove.
5799 (define-derived-mode): Fancier default docstring.
5800 (easy-mmode-define-navigation): Signal an error rather than (ding).
5802 * newcomment.el (comment-styles): New `box-multi'.
5803 (comment-normalize-vars): Better default for comment-continue to
5804 avoid whitespace-only continuations.
5805 (comment-search-forward): Always move even in the no-syntax case.
5806 (comment-padright): Only obey N if it's only obeyed for padleft.
5807 (comment-make-extra-lines): Better handling of empty continuations.
5808 Use `=' for the filler if comment-start has only one character.
5809 (uncomment-region): Try handling the special `=' filler.
5810 (comment-region): Allow LINES even if MULTI is nil.
5811 (comment-box): Choose box style based on comment-style.
5813 2000-05-20 Kenichi Handa <handa@etl.go.jp>
5815 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
5816 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
5818 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
5820 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
5821 and insert, not subst-char-in-region.
5823 * international/mule-diag.el (list-character-sets-1): Handle
5824 charsets eight-bit-control and eight-bit-graphic.
5825 (list-iso-charset-chars): Likewise.
5826 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
5827 charactes as is. Use indent-to to align characters.
5829 * international/mule-cmds.el (find-multibyte-characters): Never
5830 exclude charsets eight-bit-control and eight-bit-graphic.
5832 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
5834 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
5835 Don't quote lambdas.
5837 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
5839 2000-05-19 Gerd Moellmann <gerd@gnu.org>
5841 * gud.el (gud-jdb-directories): Doc fix.
5843 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
5845 * newcomment.el: New file.
5847 2000-05-19 Gerd Moellmann <gerd@gnu.org>
5849 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
5851 2000-05-18 Andreas Schwab <schwab@suse.de>
5853 * dired.el (dired-between-files): Also skip lines beginning with
5856 2000-05-18 Gerd Moellmann <gerd@gnu.org>
5858 * msb.el (msb-menu-cond): Add choice `user'.
5860 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5862 * ps-print.el: Compatibility, customization and doc fix.
5863 (ps-printer-name-option): Replace defconst by defvar.
5864 (ps-postscript-code-directory): XEmacs compatibility.
5865 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
5867 (ps-user-defined-prologue, ps-print-prologue-header)
5868 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
5869 compatibility and code fix.
5870 (ps-print-background-image, ps-print-background-text):
5872 (ps-line-number-start, ps-n-up-on): New vars.
5874 2000-05-18 Espen Skoglund <esk@ira.uka.de>
5876 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
5877 the indent-comment function to just return the appropriate indent.
5879 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
5881 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
5882 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
5883 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
5885 2000-05-18 Dave Love <fx@gnu.org>
5887 * info.el (Info-fontify-node): Add intangible property as well as
5890 * calendar/appt.el (appt-make-list): Match all lines of entry.
5891 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
5893 2000-05-18 Kenichi Handa <handa@etl.go.jp>
5895 * international/mule-diag.el (describe-char-after): Call
5896 internal-char-font, not char-font. If internal-char-font returns
5897 nil, display "-- none --".
5899 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
5901 * image.el (image-type-available-p): Don't reference image-types
5904 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
5906 * autoarg.el (autoarg-mode): Typo in the :set argument.
5908 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
5910 * startup.el (command-line-1): Don't signal an error if the
5911 directory for auto-save-list files does not yet exist.
5913 2000-05-17 Kenichi Handa <handa@etl.go.jp>
5915 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
5917 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
5919 * subr.el (remove-hook): `setq' hook-value, not `set'.
5921 2000-05-16 Sam Steingold <sds@gnu.org>
5923 * info.el (debug-ignored-errors): More errors to ignore.
5925 2000-05-16 Dave Love <fx@gnu.org>
5927 * cus-edit.el: Don't require cl or easymenu.
5928 (custom-variable-prompt): Test standard-value property, not
5931 2000-05-16 Sam Steingold <sds@gnu.org>
5933 * subr.el (add-hook): `setq' hook-value, not `set'.
5935 2000-05-16 Gerd Moellmann <gerd@gnu.org>
5937 * startup.el (command-line-1): Mention the FAQ in the startup
5940 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
5942 * progmodes/compile.el (compilation-parse-errors): Collect
5943 `nomessage' regexps last.
5945 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
5947 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
5948 to the function name.
5950 2000-05-15 Dave Love <fx@gnu.org>
5952 * speedbar.el (speedbar-recenter): Typo.
5953 (speedbar-expand-line): Make arg optional.
5954 (speedbar-mode): Avoid a compiler warning.
5956 2000-05-15 Gerd Moellmann <gerd@gnu.org>
5958 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
5959 user-specified option string is empty.
5961 * mouse.el (mouse-yank-at-click): Doc fix.
5963 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
5965 * term/internal.el (IT-character-translations): More updates of
5966 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
5969 2000-05-15 Gerd Moellmann <gerd@gnu.org>
5971 * env.el (getenv): New function, interactively callable.
5972 (setenv, getenv): Remove autoload cookies.
5974 * loadup.el: Load `env'.
5976 * progmodes/f90.el: Change author's mail address.
5978 2000-05-14 Dave Love <fx@gnu.org>
5980 * mail/rmail.el (rmail-show-message-hook): Customize and offer
5981 goto-addr as an option.
5983 * help.el (help-xref-stack): Doc fix.
5984 (help-xref-following): New variable.
5985 (help-make-xrefs): Use it.
5986 (help-xref-go-back): Use position information from stack element.
5987 (help-follow): Make position in stack element a pair. Use
5988 help-xref-following.
5990 * autoarg.el: New file.
5992 * faces.el: Declare more functions obsolete.
5994 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
5995 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
5996 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
5997 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
5998 Remove all the setup-...-environment functions.
6000 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
6002 * speedbar.el: Updated the commentary section. xemacs20p now uses
6003 >= when detecting. Require `defimage' safely.
6004 (speedbar-easymenu-definition-base): Add toggle for images.
6005 (speedbar-easymenu-definition-special): Add flush cache & expand.
6006 (speedbar-visiting-tag-hook): Set new defaults. Added options.
6007 (speedbar-reconfigure-keymaps-hook): New variable.
6008 (speedbar-frame-parameters): Updated documentation.
6009 (speedbar-use-imenu-flag): Updated custom tag
6010 (speedbar-dynamic-tags-function-list): New variable.
6011 (speedbar-tag-hierarchy-method): Updated doc & custom.
6012 (speedbar-indentation-width, speedbar-indentation-width) New
6014 (speedbar-hide-button-brackets-flag): Customizable.
6015 (speedbar-vc-indicator): Doc update.
6016 (speedbar-ignored-path-expressions): Updated default value.
6017 (speedbar-supported-extension-expressions): Updated default value.
6018 (speedbar-syntax-table): Remove {} paren status.
6019 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
6020 as "+". Added overlay aliases.
6021 (speedbar-mode): Use `speedbar-mode-line-update' instead of
6022 `force-mode-line-update'.
6023 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
6024 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
6026 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
6027 (speedbar-item-info-tag-helper): Revamped to handle a wider range
6028 of arbitrary text, and new helper functions.
6029 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
6031 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
6032 (speedbar-directory-buttons): Update path search/expansion.
6033 (speedbar-make-tag-line): Pay attention to
6034 `speedbar-indentation-width'. Use more care w/ invisible
6036 (speedbar-change-expand-button-char): Call
6037 `speedbar-insert-image-button-maybe'.
6038 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
6039 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
6040 (speedbar-trim-words-tag-hierarchy)
6041 (speedbar-simple-group-tag-hierarchy): New functions
6042 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
6043 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
6045 (speedbar-mouse-set-point): New function
6046 (speedbar-power-click): Updated documentation.
6047 (speedbar-line-token, speedbar-goto-this-file): Handle more types
6049 (speedbar-expand-line, speedbar-contract-line): Make more robust
6051 (speedbar-expand-line): Takes universal argument to flush the
6053 (speedbar-flush-expand-line): New function.
6054 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
6055 Use new generator insertion method.
6056 (speedbar-fetch-dynamic-tags): New function.
6057 (speedbar-fetch-dynamic-imenu): Removed code now handled in
6058 `speedbar-fetch-dynamic-imenu'.
6059 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
6060 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
6061 "Revert Buffer" menu items.
6062 (speedbar-buffer-buttons-engine): Be smarter when creating a
6063 filename tag (for expansion purposes.).
6064 (speedbar-highlight-one-tag-line,
6065 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
6066 (speedbar-recenter): New functions.
6067 (defimage-speedbar): Image loading abstraction.
6068 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
6069 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
6070 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
6071 (speedbar-tag-type, speedbar-tag-mail): New images.
6072 (speedbar-expand-image-button-alist): New variable.
6073 (speedbar-insert-image-button-maybe): Insert an image over some
6076 2000-05-13 Kenichi Handa <handa@etl.go.jp>
6078 * international/mule-cmds.el (encode-coding-char): An ASCII
6079 character is always encodable.
6081 * international/mule-conf.el: Add more information in descriptions
6084 * international/mule-diag.el (describe-char-after): New function.
6085 (describe-font-internal): Adjusted for the change of font-info.
6086 (describe-font): Likewise.
6087 (print-fontset): Rewritten for the new fontset implementation.
6088 (describe-fontset): Include fontset alias names in completion.
6089 (list-fontsets): Adjusted for the change of print-fontset.
6091 * simple.el (what-cursor-position): If DETAIL is non-nil, call
6092 describe-char-after instead of displaying the detail in the echo
6094 (syntax-code-table): Format changed.
6095 (string-to-syntax): Adjusted for the above change.
6097 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
6099 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
6101 2000-05-12 Dave Love <fx@gnu.org>
6103 * calendar/todo-mode.el: Remove some compatibility stuff and CL
6104 dependence. Use line-{beginning,end}-position, not
6105 point-at{b,e}ol. Some doc fixes.
6106 (todo-position): New function. Fix callers of position to use it.
6107 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
6109 2000-05-12 Gerd Moellmann <gerd@gnu.org>
6111 * time.el (display-time-mail-icon): Use `:ascent center'.
6113 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
6114 handling FTP security extensions.
6116 2000-05-11 Dave Love <fx@gnu.org>
6118 * calendar/todo-mode.el: New file.
6120 2000-05-11 Gerd Moellmann <gerd@gnu.org>
6122 * comint.el (comint-read-input-ring): Move reference to
6123 comint-input-ring-size outside of the save-excursion. It was
6124 causing the default value to be the only one ever seen.
6126 * font-lock.el: Update copyright. Remove Simon Marshall's email
6127 address on request from him.
6129 * subr.el (substitute-key-definition): Add comment describing
6130 the meaning of PREFIX.
6132 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
6134 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
6136 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
6137 (add-minor-mode): Don't make the variable buffer-local and add a
6138 reference to define-minor-mode in the docstring.
6140 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
6141 HEADER/FOOTER and fix bug with trailing empty directory.
6142 (cvs-append-to-ignore): Use vc-editable-p if available.
6143 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
6144 (vc-do-command): Tweak advice to handle the new VC.
6146 * log-view.el (log-view-goto-rev): New function for the new VC.
6147 (log-view-minor-wrap): Use mark-active.
6149 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
6150 (log-edit-changelog-full-paragraphs): New var.
6151 (log-edit-insert-changelog): Remove a lonely leading `* file'.
6152 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
6153 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
6154 (log-edit-changelog-ours-p, log-edit-changelog-entries)
6155 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
6156 Replace the `cvs' prefix with `log-edit'.
6158 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
6160 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
6161 (diff-font-lock-defaults): Explicitly turn off multiline.
6162 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
6163 (diff-ediff-patch): Fix call to ediff-patch-file.
6164 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
6167 * frame.el (automatic-hscrolling): Typo.
6169 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
6171 2000-05-09 Sam Steingold <sds@goems.com>
6173 * apropos.el (apropos-print): use `describe-face' instead of
6174 `customize-face-other-window'.
6176 2000-05-09 Dave Love <fx@gnu.org>
6178 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
6180 * help.el (describe-variable): Have customize button pop the
6181 help-xref stack when invoked.
6182 (help-xref-symbol-regexp): Add `face'.
6183 (help-make-xrefs): Check for quoted face names and adapt regexp
6184 submatch numbers to cope.
6185 (help-xref-interned): Maybe insert face doc too. Separate
6186 sections with a line of hyphens.
6188 * faces.el: Some doc fixes. Declare some functions obsolete.
6189 (describe-face): Add customize button. Return the help
6192 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
6194 * term/internal.el (IT-character-translations): Fix last change.
6196 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
6198 * woman.el: New file
6199 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
6201 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
6203 * term/internal.el (IT-character-translations): Update ASCII
6204 simulations for greek-iso8859-7, add latin-iso8859-14 and
6207 * international/mule-cmds.el (set-language-info-alist): Call
6208 define-prefix-command with 3 arguments, to make the map suitable
6211 2000-05-07 Dave Love <fx@gnu.org>
6213 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
6215 2000-05-05 Dave Love <fx@gnu.org>
6217 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
6218 list in doc string. Don't quote keyword symbols.
6219 * emacs-lisp/cl.el: Likewise
6220 * emacs-lisp/cl-seq.el: Likewise
6222 2000-05-05 Gerd Moellmann <gerd@gnu.org>
6224 * abbrev.el (abbrev-mode): Make ARG optional.
6226 2000-05-04 Gerd Moellmann <gerd@gnu.org>
6228 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
6230 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
6232 * subr.el (substitute-key-definition): Clarify documentation.
6234 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
6236 * glasses.el (glasses-convert-to-unreadable): Use
6237 `glasses-separator' instead of the hard-wired "_".
6238 (glasses-mode): Call `glasses-make-unreadable' only in a single
6241 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
6243 * term/internal.el (cjk-codepages-alist): Add associations for
6244 Chinese and Korean codepages. Remove FIXME comment.
6246 2000-05-03 Dave Love <fx@gnu.org>
6248 * time.el (display-time-mail-face, display-time-use-mail-icon):
6250 (display-time-mail-icon): New variable.
6251 (display-time-string-forms): Use the above. Fix the local-map.
6253 2000-05-03 Gerd Moellmann <gerd@gnu.org>
6255 * replace.el (query-replace-map): Add binding for `E'.
6256 (query-replace-help): Extend help text.
6257 (perform-replace): Allow editing the replacement string.
6259 * make-mode.el (makefile-mode-abbrev-table): New variable.
6260 (makefile-mode): Set local abbrev table to
6261 makefile-mode-abbrev-table.
6262 (makefile-font-lock-keywords): Fontify includes and conditionals.
6264 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
6267 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
6268 mail-interactive-insert-alias.
6269 (mail-abbrev-complete-alias): New command.
6270 (mail-mode-map): Bind it to `M-TAB'.
6272 2000-05-03 Kenichi Handa <handa@etl.go.jp>
6274 * language/lao-util.el (lao-compose-region): New function.
6276 2000-05-02 Gerd Moellmann <gerd@gnu.org>
6278 * files.el (recover-session): Make directories as necessary
6279 if they don't exist yet.
6281 * calendar/cal-french.el
6282 (french-calendar-multibyte-special-days-array)
6283 (french-calendar-special-days-array): Change French text.
6284 (calendar-french-date-string): Change output.
6285 (calendar-goto-french-date): Likewise.
6287 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
6289 * wid-edit.el (widget-default-active): Obey `:always-active'.
6290 (widget-documentation-string-value-create): Set `:always-active'.
6292 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
6294 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
6295 default prefix to `~/_emacs.d/auto-save.list/_s'.
6296 (normal-top-level): Create the directory for auto-save files, if
6297 it doesn't already exist (in the ms-dos case only).
6299 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
6301 * international/mule-cmds.el (set-language-environment): Don't
6302 concat an integer (dos-codepage), use format instead.
6304 2000-05-02 Dave Love <fx@gnu.org>
6306 * help.el (help-xref-on-pp): Check for constant symbols.
6308 2000-04-29 Gerd Moellmann <gerd@gnu.org>
6310 * startup.el (normal-top-level): Put a condition-case around
6311 the code loading subdirs.el.
6313 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6315 * ps-print.el: Upside-down and face background color printing,
6316 line number step, doc fix.
6317 (ps-print-version): New version number (5.2).
6318 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
6319 (ps-face-attribute-list, ps-plot-with-face): Code fix.
6320 (ps-spool-config): Var fix.
6321 (ps-printer-name-option): Const fix.
6322 (ps-print-upside-down, ps-use-face-background)
6323 (ps-line-number-step): New vars.
6324 (ps-window-system, ps-lp-system): New consts.
6325 (ps-face-background): New fun.
6327 2000-04-28 Richard Stallman <rms@gnu.org>
6329 * files.el (make-auto-save-file-name):
6330 Apply auto-save-file-name-transforms to visited file name
6331 before generating auto save file name.
6332 (auto-save-file-name-transforms): New variable.
6334 * files.el (backup-enable-predicate):
6335 Correctly test for a file under a temporary directory.
6337 2000-04-28 Gerd Moellmann <gerd@gnu.org>
6339 * subr.el (add-minor-mode): Rewritten.
6341 2000-04-28 Kenichi Handa <handa@etl.go.jp>
6343 * mail/sendmail.el (sendmail-send-it): Set
6344 buffer-file-coding-system to the selected coding system for MIME
6347 2000-04-27 Gerd Moellmann <gerd@gnu.org>
6349 * dired.el (dired-move-to-filename-regexp): Allow format where
6350 YYYY is followed by two spaces.
6352 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
6353 in the second character class of the regexp.
6355 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
6358 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
6361 * subr.el (add-minor-mode): Use `set' instead of `setq'.
6363 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
6366 2000-04-27 Sen Nagata <sen@eccosys.com>
6368 * emacs-lisp/crm.el (crm-completion-table): New variable.
6369 (crm-collection-fn, crm-test-completion)
6370 (completing-read-multiple): Use it.
6372 2000-04-27 Dave Love <fx@gnu.org>
6374 * help.el (locate-library): Use mapc.
6375 (help-manyarg-func-alist): Add call-process-region.
6377 2000-04-26 Gerd Moellmann <gerd@gnu.org>
6379 * subr.el (add-minor-mode): Make argument MAP optional.
6381 * desktop.el (desktop-save): Save list of minor modes.
6382 (desktop-create-buffer): Restore minor modes.
6383 (desktop-minor-mode-table): New user-option.
6385 * subr.el (add-minor-mode): New function.
6387 * image.el (find-image): New function.
6388 (defimage): Rewritten to find image at load time.
6390 * startup.el (normal-top-level-add-to-load-path): Handle
6391 case that the default directory is not in load-path.
6393 * help.el: Old patch from Stefan Monnier.
6394 (help-xref-on-pp): New function.
6395 (describe-variable): Use it to display xrefs in a symbol's value.
6397 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
6399 * cus-edit.el (custom-face): Fix parenthesis.
6401 2000-04-26 Kenichi Handa <handa@etl.go.jp>
6403 * mail/rmail.el (rmail-expunge): When there are no deleted
6404 messages, do nothing.
6406 2000-04-26 Dave Love <fx@gnu.org>
6408 * international/mule-cmds.el (locale-translation-file-name):
6410 (set-locale-environment): Set it here (at runtime).
6412 2000-04-25 Gerd Moellmann <gerd@gnu.org>
6414 * replace.el (perform-replace): Add parameters START and END. Use
6415 them instead of the check for a region in Transient Mark mode.
6416 (query-replace-read-args): Return two more list elements for the
6417 start and end of the region in Transient Mark mode.
6418 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6419 (map-query-replace-regexp, replace-string, replace-regexp): Add
6420 optional last arguments START and END and pass them to
6423 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
6424 form with additional arguments for perform-replace.
6426 * progmodes/etags.el (tags-query-replace): Add parameters START
6427 and END. Construct a form with additional arguments for
6430 * simple.el (shell-command): Set default directory for "*Shell
6431 Command Output" buffer.
6433 * language/european.el (iso-latin-4): Fix typo.
6435 * emacs-lisp/crm.el: New file.
6437 2000-04-24 Dave Love <fx@gnu.org>
6439 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
6440 (Custom-reset-saved, Custom-reset-standard)
6441 (custom-group-value-create, custom-group-set, custom-group-save)
6442 (custom-group-reset-current, custom-group-reset-saved)
6443 (custom-group-reset-standard): Use mapc.
6444 (custom-buffer-create-internal): Disable undo when creating items.
6446 (custom-face): Avoid redundant lambda.
6448 2000-04-24 Gerd Moellmann <gerd@gnu.org>
6450 * startup.el (auto-save-list-file-prefix): Set default to
6451 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
6453 2000-04-24 Sam Steingold <sds@gnu.org>
6455 * time-stamp.el (time-stamp-string-preprocess): Always convert
6456 `field-result' to a string.
6458 2000-04-24 Gerd Moellmann <gerd@gnu.org>
6460 * frame.el (scrolling): New group.
6461 (automatic-hscrolling): New user-option.
6463 * startup.el (command-line-x-option-alist): Add `-lsp' and
6466 2000-04-19 Dave Love <fx@gnu.org>
6468 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
6469 (cl-mapc): Rename from mapc. Fix the funcall.
6471 2000-04-19 Gerd Moellmann <gerd@gnu.org>
6473 * simple.el (clone-indirect-buffer-other-window): New command.
6474 (clone-indirect-buffer): Add optional arg NORECROD.
6475 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
6477 * help.el (resize-temp-buffer-window): Use count-screen-lines.
6479 * window.el (count-screen-lines): New function.
6480 (shrink-window-if-larger-than-buffer): Use count-screen-lines
6481 instead of window-buffer-height.
6483 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
6484 non-existing variable comint-input-sentinel.
6485 (inferior-lisp-args-to-list): Removed.
6486 (inferior-lisp): Use split-string instead of
6487 inferior-lisp-args-to-list.
6489 * hexl.el (hexl-insert-hex-string): New command.
6491 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
6494 2000-04-18 Gerd Moellmann <gerd@gnu.org>
6496 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
6497 at the start of an existing but empty folder.
6499 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6501 * ps-mule.el: Customization fix, doc fix.
6502 (ps-multibyte-buffer): Customization fix.
6504 2000-04-17 Richard M. Stallman <rms@gnu.org>
6506 * subr.el (read-passwd): Use read-char-exclusive.
6508 2000-04-17 Gerd Moellmann <gerd@gnu.org>
6510 * textmodes/texinfo.el (texinfo-insert-@email)
6511 (texinfo-insert-@emph, texinfo-insert-@quotation)
6512 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
6513 (texinfo-mode-map): Add key bindings for them.
6515 * files.el (basic-save-buffer-2): Use a template with `$'
6516 instead of `#' for VMS.
6518 * simple.el (clone-indirect-buffer): New function.
6520 2000-04-16 Stephen Eglen <stephen@gnu.org>
6522 * iswitchb.el (iswitchb-case): New function. If the user input
6523 contains any upper-case characters, the search is made
6526 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
6528 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
6530 (texinfo-font-lock-syntactic-keywords): New var.
6531 (texinfo-font-lock-keywords): Remove comment regexp.
6532 (texinfo-insert-block): New function.
6533 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
6534 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
6535 and font-lock-defaults. Use regexp-opt for outline-regexp.
6536 (texinfo-environments): New var.
6537 (texinfo-environment-regexp): Use regexp-opt and
6538 texinfo-environments.
6540 * textmodes/ispell.el (ispell-menu-map-needed): Check that
6541 ispell-process is bound since this might be eval'd before ispell
6543 (ispell-message): Use a tiny bit less magic and a bit more hard
6544 data to figure out what kind of sc-cite-regexp to use.
6546 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
6548 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
6549 (insert-cyclic-diary-entry): Unquote the lambda.
6551 * gud.el (gud-jdb-build-source-files-list): Fix typo.
6553 * files.el (backup-enable-predicate): Unquote the lambda.
6555 * cus-edit.el (custom-face, face): Unquote the lambda.
6557 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6559 * ps-print.el: Check for line-beginning-position definition.
6561 * ps-print.el: Fix counting lines in a region.
6562 (ps-print-version): New version number (5.1.5).
6563 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
6564 (ps-printing-region): Fun code fix.
6566 2000-04-15 Gerd Moellmann <gerd@gnu.org>
6568 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
6569 to file-directory-p.
6571 2000-04-14 Gerd Moellmann <gerd@gnu.org>
6573 * gud.el (gud-jdb-build-source-files-list): Check that directory
6574 exists before calling directory-files.
6576 2000-04-13 Dave Love <fx@gnu.org>
6578 * emacs-lisp/trace.el: Change maintainer. Use new backquote
6581 * emacs-lisp/cl-specs.el: Remove when, unless.
6583 * emacs-lisp/cl-extra.el: Don't quote keywords.
6584 (cl-old-mapc): New variable.
6586 (cl-map-intervals): Use with-current-buffer. Don't check for
6587 next-property-change.
6588 (cl-map-overlays): Use with-current-buffer.
6590 (copy-tree, remprop): Define unconditionally.
6592 * emacs-lisp/cl-compat.el (keywordp): Remove.
6594 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
6596 (edebug-spec): Enable keywordp.
6598 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
6601 * cus-start.el: Use keywordp.
6603 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
6605 * diary-lib.el (include-other-diary-files): Fix the fix of
6606 2000-02-18 by doing a save-excursion.
6608 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6610 * ps-print.el: Customization fix, doc fix.
6611 (ps-print-version): New version number (5.1.4).
6612 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
6613 (ps-print-preprint): Adjust code.
6614 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
6615 (ps-print-prologue-header, ps-print-control-characters)
6616 (ps-spool-config): Customization fix.
6618 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
6620 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
6621 converted to the new menu-item format, names silightly changed,
6624 Support for spelling without async subprocesses:
6626 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
6627 (ispell-session-buffer): New variables.
6628 (ispell-start-process, ispell-process-status,
6629 ispell-accept-output, ispell-send-string): New functions, for
6630 Ispell invocation when async subprocesses aren't supported.
6631 (ispell-word, ispell-pdict-save, ispell-command-loop,
6632 ispell-process-line, ispell-buffer-local-parsing): Replace calls
6633 to process-send-string with calls to ispell-send-string, and
6634 accept-process-output with ispell-accept-output.
6635 (ispell-init-process): Call ispell-process-status instead of
6636 process-status with.
6637 (ispell-init-process): Call ispell-start-process. Call
6638 ispell-accept-output and ispell-send-string. Don't call
6639 process-kill-without-query and kill-process if they are unbound.
6640 (ispell-async-processp): New function.
6642 2000-04-12 Dave Love <fx@gnu.org>
6644 * info.el: Add debug-ignored-errors.
6645 (Info-mode-menu): Add some items.
6646 (Info-directory): Add autoload cookie.
6648 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
6649 Modify `truncate-lines'. Make `describe-language-environment'
6650 always visible and add help. Modify `describe-key' help. Invoke
6651 Info-directory from `info'. New entry `emacs-manual'.
6653 2000-04-10 Gerd Moellmann <gerd@gnu.org>
6655 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
6656 propertized-buffer-identification.
6657 (ebrowse-update-member-buffer-mode-line): Likewise.
6658 (ebrowse--mode-strings): Removed.
6659 (ebrowse--mode-line-props): Removed.
6661 * files.el (auto-mode-alist): Add `EBROWSE'.
6663 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
6664 space before testing for end of buffer.
6665 (ebrowse-load): Removed.
6666 (ebrowse-revert-tree-buffer-from-file): Rewritten.
6667 (ebrowse-create-tree-buffer): Rewritten.
6668 (ebrowse-tree-mode): Read tree from buffer.
6670 * progmodes/ebrowse-ffh.el: Removed.
6672 2000-04-10 Kenichi Handa <handa@etl.go.jp>
6674 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
6676 2000-04-10 Gerd Moellmann <gerd@gnu.org>
6678 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
6681 2000-04-09 Dave Love <fx@gnu.org>
6683 * files.el (backup-enable-predicate): Use
6684 temporary-file-directory, small-temporary-file-directory.
6685 (make-backup-file-name-function, backup-directory-alist): New
6687 (make-backup-file-name-1): New function.
6688 (make-backup-file-name): Use it.
6689 (find-backup-file-name): Likewise. Use format for clarity, not
6691 (file-newest-backup): Use make-backup-file-name.
6693 2000-04-09 Gerd Moellmann <gerd@gnu.org>
6695 * progmodes/ebrowse-ffh.el: New file.
6697 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
6699 (ebrowse-load): Add autoload.
6701 * finder.el (finder-commentary): Add autoload cookie.
6703 * mail/rfc2368.el: Correct author's email address.
6705 * progmodes/ebrowse.el: New file.
6707 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
6709 (easy-menu-do-add-item): Ditto.
6710 (easy-menu-define): Extend doc string.
6712 * jit-lock.el (with-buffer-unmodified): Use
6713 restore-buffer-modified-p.
6714 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
6715 (jit-lock-function, jit-lock-stealth-fontify): Don't use
6716 with-buffer-unmodified.
6718 2000-04-08 Dave Love <fx@gnu.org>
6720 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
6723 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
6725 * viper-util.el (viper-put-on-search-overlay): New subroutine.
6726 (viper-flash-search-pattern): No operation when using Emacs
6727 doesn't support face.
6728 Use `viper-put-on-search-overlay'.
6730 2000-04-04 Gerd Moellmann <gerd@gnu.org>
6732 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
6735 * progmodes/make-mode.el: Some doc fixes.
6736 (makefile-mode-abbrev-table): New variable.
6737 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
6738 (makefile-font-lock-keywords): Fontify includes and conditionals.
6739 (toplevel): Require `dabbrev' and `add-log' when compiling.
6741 * replace.el (perform-replace): Don't move forward one char
6742 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
6743 to do that because it leaves point 1 position after the last
6744 replacement, after everything has been replaced.
6746 * jit-lock.el (with-buffer-unmodified): New macro.
6747 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
6749 (jit-lock-function-1): Extracted from jit-lock-function; not
6750 preserving buffer's modified state.
6751 (jit-lock-function, jit-lock-stealth-fontify): Call
6752 jit-lock-function-1.
6754 * mail/rfc2368.el: Remove supernumerary copyright line.
6756 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
6758 * glasses.el: Provide facilities for inserting space before left
6759 parentheses and uncapitalization of identifiers.
6760 (glasses-mode): Try to remove old overlays in all cases.
6762 2000-04-03 Gerd Moellmann <gerd@gnu.org>
6764 * progmodes/compile.el (compile-internal): Display the compilation
6765 buffer in a different frame, if it's already displayed there.
6767 * mail/rfc2368.el: New file.
6769 * simple.el (sendmail-user-agent-compose): Recognize a `body'
6770 header and insert its value as mail body.
6772 * subr.el (member-ignore-case): New function.
6774 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
6775 (dabbrev--find-expansion): Ignore buffers matching a regexp
6776 from dabbrev-ignored-regexps.
6778 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
6779 to extensions handled by gzip.
6781 2000-04-03 Richard M. Stallman <rms@gnu.org>
6783 * files.el (insert-directory): List the total free space
6784 along with the used space.
6786 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
6787 line is followed by one that matches CITATION-REGEXP, end the
6790 2000-04-03 Markus Rost <rost@delysid.gnu.org>
6792 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
6793 (rmail-make-basic-summary-line): Use that option.
6795 2000-04-03 Kenichi Handa <handa@etl.go.jp>
6797 * international/mule-cmds.el (encoded-string-description):
6798 Rewritten. Try pretty description for ISO 2022 escape sequences
6799 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
6800 for hexadecimal format.
6802 2000-04-01 Dave Love <fx@gnu.org>
6804 * cpp.el: Change customization group to `c' from `C'.
6806 * vcursor.el (vcursor-move): Use display-color-p.
6808 * international/mule-util.el: Provide mule-utils.
6809 (string-to-sequence): Simplify and speed up.
6811 * international/mule.el (make-coding-system): Purecopy doc-string.
6813 * international/mule-cmds.el: Various menu changes.
6814 (describe-specified-language-support): Handle `Default'.
6815 (set-language-info): Purecopy `info'.
6817 2000-03-31 Andrew Innes <andrewi@gnu.org>
6819 * vc.el (vc-backend-diff): Return the correct status if we had to
6820 retry the rcsdiff command without the --brief option.
6822 2000-03-31 Dave Love <fx@gnu.org>
6824 * help.el (help-manyarg-func-alist): Correct several omissions.
6826 * add-log.el: Don't require cl, fortran.
6827 (add-log-current-defun-function): Doc fix.
6828 (change-log-version-number-regexp-list): Remove SCCS part. Doc
6830 (change-log-version-rcs): Function deleted.
6831 (change-log-version-number-search): Doc fix. Use
6832 vc-workfile-version. Avoid CL dolist.
6833 (add-change-log-entry): Just call add-log-current-defun to get
6834 defun. Simplify somewhat.
6835 (change-log-get-method-definition-1): Likewise.
6836 (add-log-current-defun): Return nil if calling
6837 add-log-current-defun-function does so. Move Fortran stuff to
6838 fortran.el. Return string without properties.
6840 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
6841 and :alpha: char classes.
6843 * mail/supercite.el: Defvar curline when compiling.
6844 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
6845 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
6846 rather than a-zA-Z0-9 to allow non-ASCII characters.
6848 2000-03-31 Gerd Moellmann <gerd@gnu.org>
6850 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
6852 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6855 * lpr.el (print-region-1): Use -d to specify printer name for
6856 systems `usg-unix-v*, `dgux', `hpux', `irix'.
6858 2000-03-31 Dave Love <fx@gnu.org>
6860 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
6861 for function definition in symbol's function value slot first
6862 instead of first consulting byte-compile-function-environment.
6864 2000-03-31 Kenichi Handa <handa@etl.go.jp>
6866 * language/european.el ("Polish"): New language environment.
6867 (setup-polish-environment): New function.
6869 2000-03-30 Gerd Moellmann <gerd@gnu.org>
6871 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6874 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
6875 trying to `load' the symbol of an autoload instead of the file
6876 recorded in the autoload. Fix error messages.
6878 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6880 * ps-print.el: PostScript programming fix for ghostview, doc fix.
6881 (ps-print-version): New version number (5.1.3).
6882 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
6883 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
6884 (ps-generate-postscript-with-faces): Code fix.
6885 (ps-color-values): XEmacs compatibility.
6886 (ps-print-background-image, ps-print-background-text, ps-printer-name)
6887 (ps-default-fg, ps-default-bg): Adjust customization.
6888 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
6889 (ps-color-scale): Renaming old ps-color-value fun.
6890 (ps-print-headers): Replace ps-print-header group to avoid conflict
6891 with ps-print-header variable.
6892 (ps-print-miscellany): New group.
6893 (ps-format-color, ps-rgb-color): New funs.
6894 (ps-default-foreground): New var.
6895 (ps-printer-name-option): New const.
6897 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
6900 (network-connection-host, network-connection-service): New variables
6901 (network-connection-mode): New mode, derived from comint-mode
6902 (network-connection-mode-setup): New function, saves host and
6903 service information in local variables.
6906 (locate-word-at-point): Added this function
6907 (locate): Default to using locate-word-at-point as input
6910 2000-03-29 Dave Love <fx@gnu.org>
6912 * calendar/appt.el: Doc fixes.
6913 (appt-check): Convert min-to-app to a string before passing to
6914 appt-disp-window-function or concat.
6915 (appt-delete-window): Remove test for frame-root-window.
6916 (appt-select-lowest-window, appt-convert-time): Simplify.
6918 * emacs-lisp/bytecomp.el: Doc fixes.
6919 (byte-compile-file-form-autoload): Update
6920 byte-compile-function-environment.
6922 2000-03-29 Andreas Schwab <schwab@suse.de>
6924 * emacs-lisp/autoload.el: Also print defsubst doc string
6927 * dired.el (dired-insert-directory): If dired-free-space-program
6928 failed just delete its output.
6930 2000-03-29 Dave Love <fx@gnu.org>
6932 * international/iso-cvt.el: Move provide to end. Doc fixes.
6933 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
6934 (iso-iso2sgml, iso-sgml2iso): New functions.
6935 (iso-cvt-define-menu): Fix some entries and use backquote for
6938 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
6940 2000-03-28 Gerd Moellmann <gerd@gnu.org>
6942 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
6943 ISO-DATE. If non-nil, return date in ISO 8601 format.
6945 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
6947 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
6948 if it ever becomes used.
6949 (log-edit-mode-hook): Default to vc-log-mode-hook.
6950 (log-edit-mode): Fix the docstring.
6952 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
6955 2000-03-26 Dave Love <fx@gnu.org>
6957 * net/browse-url.el (browse-url): Re-fix case of
6958 browse-url-browser-function being an alist.
6959 (browse-url): Add :link to defgroup.
6961 * files.el: Doc fixes.
6962 (file-truename): Include `[' in wildcard characters.
6963 (automount-dir-prefix): Customize.
6964 (find-file-wildcards): Add :version.
6965 (find-file-noselect): Simplify a mapcar call.
6967 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
6968 compatible with inf-lisp version.
6969 (eval-defun-1): Fix custom-declare-variable case.
6971 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
6973 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
6975 2000-03-24 Gerd Moellmann <gerd@gnu.org>
6977 * Makefile (COMPILE_FIRST): New macro.
6978 (compile-files): Compile files from COMPILE_FIRST first.
6980 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
6983 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
6984 matching open parenthesis in column 0 to defun-prompt-regexp
6985 only if open-paren-in-column-0-is-defun-start is set.
6987 * sun-curs.el: Require CL at compile-time only.
6989 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
6990 instead of copy-list which is a function from CL.
6991 (msb--choose-menu, msb--mode-menu-cond)
6992 (msb--create-buffer-menu-2): Use dolist instead of mapc.
6993 (msb--init-file-alist): Use mapcar instead of mapcan.
6994 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
6995 `(' in column 0 in doc string.
6996 (msb--add-separators): Use mapcar instead of mapcan.
6998 * cus-dep.el: Require CL at compile-time only.
7000 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
7002 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
7003 (byte-compile-warnings): New warning `noruntime'.
7004 (byte-compile-constants, byte-compile-variables): Fix docstring.
7005 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
7006 execute `eval-whenc-compile's body.
7007 (byte-compile-unresolved-functions): Fix docstring.
7008 (byte-compile-eval): New function.
7009 (byte-compile-callargs-warn): Check if the function will be available
7010 at runtime (via property `byte-compile-noruntime').
7011 (byte-compile-print-syms): New function.
7012 (byte-compile-warn-about-unresolved-functions): Also warn about
7013 `noruntime' functions (and use `byte-compile-print-syms').
7014 (byte-compile-file): Capitalize the message.
7016 2000-03-24 Gerd Moellmann <gerd@gnu.org>
7018 * mail/rmail.el (rmail-confirm-expunge): New user-option.
7019 (rmail-expunge): Ask for confirmation depending on the setting
7020 of rmail-confirm-expunge.
7022 2000-03-23 Gerd Moellmann <gerd@gnu.org>
7024 * Makefile (bootstrap-clean): If $(emacs) exists, build
7025 loaddefs.el first. A loaddefs.el that's not up-to-date might
7026 cause a bootstrap failure because things don't autoload as
7029 2000-03-23 Dave Love <fx@gnu.org>
7031 * net/browse-url.el: Restore previous use of
7032 browse-url-maybe-new-window.
7034 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7036 * ps-print.el: Skip banner page fix.
7037 (ps-print-version): New version number (5.1.2).
7038 (ps-begin-file, ps-end-file, ps-generate): Code fix.
7040 2000-03-23 Dave Pearson <davep@davep.org>
7042 * net/quickurl.el Changed the type of parameter passed to the
7043 function defined by `quickurl-format-function'. Before only the
7044 text of the URL was passed. Now the whole URL structure is passed
7045 and the function is responsible for extracting the parts it
7046 requires. Changed the default of `quickurl-format-function'
7048 (quickurl-insert): Changed the `funcall' of
7049 `quickurl-format-function' to match the above change.
7050 (quickurl-list-insert): Changed the `url' case so that it makes
7051 use of `quickurl-format-function', previous to this the format was
7054 2000-03-22 Gerd Moellmann <gerd@gnu.org>
7056 * startup.el: Change some spellings for the X Window System.
7058 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
7060 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
7061 up the code and the regexp and make sure the cursor is temporarily
7062 moved to the suspicious line while querying the user.
7064 2000-03-22 Jason Rumney <jasonr@gnu.org>
7066 * w32-fns.el (w32-charset-info-alist): Initialize.
7068 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7070 * ps-print.el: N-up last page fix.
7071 (ps-print-version): New version number (5.1.1).
7072 (ps-end-file, ps-end-job, ps-generate): Code fix.
7074 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
7076 * files.el (find-file-run-dired): Update docstring.
7077 (find-directory-functions): New hook.
7078 (find-file-noselect): Run find-directory-functions rather than
7079 calling dired directly.
7081 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
7083 * pcvs.el: Add a minimal leading commentary.
7084 (cvs-make-cvs-buffer): Change the header part by removing the startup
7085 message and adding a `Module' entry. Also replace the FOOTER and
7086 HEADER special fileinfos with the new support in ewoc for updating
7087 its own footer and header.
7088 (cvs-update-header): Update to use the header/footer of the ewoc.
7089 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
7090 (cvs-is-within-p): New function.
7091 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
7092 to only examine some subset of the buffers.
7094 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
7095 `format' instead of our own ad-hoc functions.
7096 Remove HEADER and FOOTER cases, now handled in the EWOC.
7097 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
7099 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
7100 output to avoid scaring the user.
7101 (cvs-parse-table): Catch message for non-up-to-date commits.
7103 * pcvs-defs.el (cvs-startup-message): Remove.
7104 (cvs-global-menu): New autoloaded menu.
7106 * pcvs-util.el (cvs-string-fill): Remove.
7108 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
7109 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
7110 PP part of it and also make it work for footers and headers.
7111 (ewoc-create): Drop POS and BUFFER arguments.
7112 Use the DLL's dummy node to store the end-of-footer position.
7113 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
7114 (ewoc-refresh): Remove unused `header' variable.
7115 (ewoc-(get|set)-hf): New functions.
7117 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
7118 log-view-*-(message|file) and use easy-mmode-define-navigation.
7119 (log-view-message-re): Match SCCS format as well.
7120 And match the revision line rather than the dashed separator line.
7121 (log-view-mode): Use the new define-derived-mode.
7122 (log-view-current-tag): Fill in with an actual implementation.
7124 * cvs-status.el (cvs-status-(prev|next)): Rename from
7125 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
7126 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
7127 to let the output "breathe" a little more (more readable).
7128 (cvs-status-mode): Use the new define-derived-mode.
7130 * smerge-mode.el (smerge-auto-leave): New function and variable.
7131 (smerge-basic-map): Rename from smerge-basic-keymap.
7132 Change the bindings for smerge-diff-*.
7133 (smerge-*-map): Use easy-mmode-defmap.
7134 (smerge-(next|prev)): Use easy-mmode-define-navigation.
7135 (smerge-keep-*): Use smerge-auto-leave.
7137 2000-03-21 Jason Rumney <jasonr@gnu.org>
7139 * cus-edit.el (custom-button-face): Use 3D look for w32.
7140 (custom-button-pressed-face): Likewise.
7142 2000-03-21 Gerd Moellmann <gerd@gnu.org>
7144 * progmodes/etags.el (tags-case-fold-search): New user-option.
7145 (tags-loop-eval): New function. Bind case-fold-search around eval
7146 depending on the value of tags-case-fold-search.
7147 (tags-loop-continue): Use tags-loop-eval.
7148 (find-tag-in-order): Bind case-fold-search depending on the value
7149 of tags-case-fold-search.
7151 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
7153 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
7154 (diff-end-of-hunk): Return the end position for use in
7155 `easy-mmode-define-navigation'.
7156 (diff-recenter): Remove.
7157 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
7158 of `easy-mmode-define-navigation'.
7159 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
7160 previous renaming) and fix to use new names.
7161 (diff-merge-strings): Use \n as separator: simpler, faster.
7162 (diff-mode): Use `define-derived-mode'.
7164 * derived.el (define-derived-mode): Don't autoload anymore.
7165 Prefer the macro-only version provided by easy-mmode.el.
7167 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
7168 `easy-mmode-define-derived-mode'.
7169 Use `combine-run-hooks'.
7170 (easy-mmode-define-navigation): New macro.
7172 * subr.el (combine-run-hooks): New function.
7174 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
7176 * term/x-win.el: Fontsets related initialization is simplified.
7178 * international/mule-diag.el (describe-font): Don't refer to
7179 global-fontset-alist, instead call font-list.
7180 (describe-fontset, list-fontsets, mule-diag): Likewise.
7181 (print-fontset): Adjusted for the change of fontset
7184 * international/fontset.el (x-charset-registries): Variable
7185 removed, instead the corresponding data is stored in the default
7187 (register-alternate-fontnames): Function removed.
7188 (resolved-ascii-font): Variable removed.
7189 (x-compose-font-name): Ignore the second argument REDOCE.
7190 (x-complement-fontset-spec): Complement only an ASCII font and
7191 element for those charsets than can use that ASCII font.
7192 (generate-fontset-menu): Don't refer to global-fontset-alist,
7193 instead call fontset-list.
7194 (uninstantiated-fontset-alist): Variable removed.
7195 (x-style-funcs-alist): Likewise.
7196 (fontset-default-styles): Likewise.
7197 (x-modify-font-name): Function removed.
7198 (create-fontset-from-fontset-spec): Ignore the argument
7200 (create-fontset-from-ascii-font): Docsting adjusted for the above
7202 (instantiate-fontset, resolve-fontset-name): Functions removed.
7203 (fontset-list): Now implemented by C code.
7205 * faces.el (read-face-font): Fix TABLE arg to completing-read.
7206 (describe-face): Include `font' attribute in the description.
7208 2000-03-21 Kenichi Handa <handa@etl.go.jp>
7210 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
7212 2000-03-20 Gerd Moellmann <gerd@gnu.org>
7214 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
7215 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
7216 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
7218 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
7219 about behavior of set-buffer-modified-p wrt redisplay.
7221 2000-03-19 Richard M. Stallman <rms@gnu.org>
7223 * view.el (view-mode-disable): Kill local binding of view-read-only.
7225 2000-03-18 Gerd Moellmann <gerd@gnu.org>
7227 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
7228 is a string, convert it to a syntax cell using string-to-syntax.
7230 * simple.el (syntax-code-table, syntax-flag-table): New variables.
7231 (string-to-syntax): New function.
7233 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
7234 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
7235 try to use passive ftp mode.
7237 2000-03-17 Gerd Moellmann <gerd@gnu.org>
7239 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
7241 * simple.el (append-to-buffer): Update point of windows after
7244 * abbrev.el (inverse-add-abbrev): Identify word by first moving
7245 forward then moving backward. Reindent.
7247 * frame.el (other-frame): Call x-focus-frame only if
7248 focus-follows-mouse is off.
7250 2000-03-17 Dave Love <fx@gnu.org>
7252 * pcvs-util.el (cvs-strings->string): Rename
7253 replace-regexps-in-string.
7255 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
7257 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
7258 regexp for labels cannot span several lines.
7260 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
7261 `(setq :<key> ':<key>)' to the macro expansion.
7263 2000-03-16 Dave Love <fx@gnu.org>
7265 * progmodes/f90.el (f90): Put custom group under `languages', not
7267 (f90-mode-hook): Customize.
7268 (f90-mode): Set add-log-current-defun-function.
7269 (f90-current-defun): New function.
7271 2000-03-16 Gerd Moellmann <gerd@gnu.org>
7273 * cus-edit.el (custom-variable-tag-face): Handle case that
7274 default face's height is not a number.
7275 (custom-face-tag-face, custom-group-tag-face-1)
7276 (custom-group-tag-face): Ditto.
7277 (custom-group-tag-face-1): Add :group.
7279 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
7281 2000-03-15 Gerd Moellmann <gerd@gnu.org>
7283 * pcvs-defs.el (toplevel): Remove autoload cookie for form
7286 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7288 * ps-print.el: PostScript user-defined prologue, PostScript error
7290 (ps-print-version): New version number (5.1).
7291 (ps-user-defined-prologue, ps-error-handler-message)
7292 (ps-print-prologue-0, ps-error-handler-alist): New vars.
7293 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
7294 (ps-insert-string): New function.
7296 2000-03-15 Kenichi Handa <handa@etl.go.jp>
7298 * international/ccl.el (ccl-compile-expression): Don't generate
7299 invalid self-assignment code.
7301 2000-03-14 Dave Love <fx@gnu.org>
7303 * subr.el (replace-regexp-in-string): Renamed from
7304 replace-regexps-in-string. Doc fix.
7306 2000-03-12 Dave Love <fx@gnu.org>
7308 * cus-edit.el: Doc fixes.
7309 (customize-set-variable, customize-save-variable): Rename args for
7311 (custom-variable-tag-face, custom-face-tag-face)
7312 (custom-group-tag-face-1, custom-group-tag-face): Modify from
7313 style which user identify as hyperlink.
7314 (hook): Don't add undefined functions to the hook.
7315 (debug-ignored-errors): Transfer message from bindings.el.
7317 2000-03-12 Gerd Moellmann <gerd@gnu.org>
7319 * recentf.el (recentf-keep-non-readable-files-p): Remove
7320 double/nested definition.
7322 2000-03-12 Dave Love <fx@gnu.org>
7324 * facemenu.el (facemenu-get-face): Use display-color-p.
7325 * enriched.el (enriched-decode-foreground): Likewise.
7326 (enriched-decode-background): Likewise.
7327 * isearch.el (isearch-highlight): Likewise.
7328 * info-look.el (info-lookup): Likewise.
7329 * simple.el (completion-setup-function): Likewise.
7331 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
7334 * bindings.el (mode-line-format): Fix line-number and
7335 column-number items. Add help-echo for the background.
7336 (mode-line-mule-info): Modify help-echo.
7338 * avoid.el (mouse-avoidance-mode): Add autoload cookie to
7341 * files.el (load-file): Allow completion to .elc.
7343 * man.el: Doc fixes.
7344 (Man-init-defvars): Use display-color-p to set fontification.
7346 * play/hanoi.el (hanoi-internal): Don't use oddp.
7348 2000-03-12 Gerd Moellmann <gerd@gnu.org>
7350 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
7352 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
7354 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
7356 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
7359 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
7361 * font-lock.el (font-lock-keywords): Fix the doc now that
7362 regexp-opt-depth is unnecessary.
7363 (save-buffer-state): Set an edebug spec.
7364 (font-lock-fontify-anchored-keywords): Properly handle the case when
7365 the matcher goes past the limit.
7367 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
7368 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
7370 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
7371 dll.el and cookie.el (from Elib) with heavy renaming and other
7374 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
7375 Autoload the functions used.
7376 (easy-mmode-define-syntax): Fix CL typo.
7377 (easy-mmode-define-derived-mode): Improve the docstring generation.
7379 2000-03-10 Gerd Moellmann <gerd@gnu.org>
7381 * textmodes/texinfo.el (texinfo-version): Variable and function
7384 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
7386 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
7387 allow more flexibility.
7388 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
7390 (easy-mmode-defmap, easy-mmode-defsyntax)
7391 (easy-mmode-define-derived-mode): New macros.
7393 2000-03-09 Didier Verna <didier@xemacs.org>
7395 * rect.el (replace-rectangle): New function.
7397 2000-03-09 Dave Love <fx@gnu.org>
7399 * progmodes/fortran.el (fortran-comment-line-start): Define as
7401 (fortran-comment-line-start-skip): Don't match cpp stuff.
7402 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
7403 (fortran-mode-map): Remove over-eager custom-menu-create for now.
7404 (fortran-mode): Don't set fortran-comment-line-start-skip,
7405 fortran-comment-line-start here. Set comment-start,
7406 add-log-current-defun.
7407 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
7408 (fortran-current-defun): New function.
7410 2000-03-09 Gerd Moellmann <gerd@gnu.org>
7412 * emacs-lisp/re-builder.el: New file.
7414 * mouse.el (mouse-drag-region): Don't run up-event handler
7415 if hscroll has changed.
7417 * octave-mod.el (octave-font-lock-keywords): To font-lock the
7418 builtin operators, use `font-lock-builtin-face' for Emacs and
7419 `font-lock-preprocessor-face' otherwise.
7421 * font-lock.el (lisp-font-lock-keywords-1): Highlight
7422 `(defun (setf foo)' differently.
7424 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
7426 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
7427 (regexp-opt): Update comment and adapt the code the new meaning of
7428 the `paren' argument of regex-opt-group for shy-groups.
7429 (regexp-opt-depth): Handle shy groups as well as backslashed
7431 (regexp-opt-group): Turn the leading comment into a docstring.
7432 Allow `paren' to be a string (the string to use to open a group).
7433 Remove open-presuf and close-presuf. Instead of checking for `all
7434 one-char' and then later on check for `several one-char', handle
7435 both cases close together. Also apply a more generic algorithm
7436 for suffixes (the mirror image of the algorithm used for
7437 prefixes). Use shy-groups. Use nreverse rather than reverse.
7438 (regexp-opt-try-suffix): Removed.
7440 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
7441 from comint-mode-map, so we can just inherit from it. Also, move
7442 the initialization into the `defvar' since there's no docstring
7443 anyway and it's fairly short.
7444 (inferior-scheme-mode): Define it as derived-mode: the code is
7445 shorter and this way we inherit from comint-mode-map rather than
7448 * subr.el (replace-regexps-in-string): Properly handle the case
7449 where we match an empty string.
7451 * comint.el (comint-exec-1): Add the current-dir to the exec-path
7452 when the command has a directory component (such as "./testml").
7453 Also fix a typo in the comment.
7455 2000-03-08 Gerd Moellmann <gerd@gnu.org>
7457 * Makefile (compile-files): Compile files one by one because
7458 that's the only way to ensure a clean compilation environment for
7459 each individual file.
7461 * frame.el (other-frame): Call x-focus-frame.
7463 2000-03-07 Dave Love <fx@gnu.org>
7465 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
7466 :require to defcustom.
7468 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
7471 * files.el (auto-mode-alist): Add configure.in.
7473 * progmodes/autoconf.el: New file.
7475 2000-03-07 Gerd Moellmann <gerd@gnu.org>
7477 * mail/mh-e.el: Change maintainer to `none'.
7479 * recentf.el (recentf-keep-non-readable-files-p): Quote args
7480 to remove-hook and add-hook.
7482 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
7484 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
7486 (mail-send): Test mail-send-nonascii also for the new `mime' value.
7487 (sendmail-send-it): Conditionally add MIME headers specifying the
7490 2000-03-07 Dave Love <fx@gnu.org>
7492 * winner.el: Fix keywords, autoload cookies. Split
7493 eval-when-compile form to avoid compilation failure.
7495 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
7497 * international/mule.el: Modify comment about coding system
7498 property `coding-category'.
7499 (make-coding-system): New argument EOL-TYPE. Pay attention to
7500 coding-category property of PROPERTIES.
7502 * international/mule-conf.el (coding-category-utf-8,
7503 coding-category-utf-16-be, coding-category-utf-16-le): New coding
7504 categories. Include them in the argument for set-coding-priority.
7506 * international/mule-cmds.el (reset-language-environment): Include
7507 coding-category-utf-8, coding-category-utf-16-be, and
7508 coding-category-utf-16-le in the argument for set-coding-priority.
7509 (reset-language-environment): Initialize coding-category-utf-8,
7510 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
7512 2000-03-06 Karl Fogel <kfogel@red-bean.com>
7514 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
7515 code abstracted out of `bookmark-jump-noselect'. Now tries info
7516 extensions as well as compression extensions.
7517 (bookmark-jump-noselect): Use above new func.
7519 2000-03-03 Gerd Moellmann <gerd@gnu.org>
7521 * strokes.el: Change maintainer's mail address.
7523 2000-03-03 Kenichi Handa <handa@etl.go.jp>
7525 * international/mule-diag.el (list-character-sets): Make help-echo
7526 string by substitute-command-keys.
7527 (list-character-sets): Likewise.
7528 (sort-listed-character-sets): Call help-setup-xref.
7530 2000-03-02 Gerd Moellmann <gerd@gnu.org>
7532 * time.el (display-time-mail-file): Add `none' to the list of
7535 2000-03-01 Dave Love <fx@gnu.org>
7537 * help.el (help-xref-go-back): Don't try to set position.
7539 * international/mule-diag.el (list-character-sets): Call
7540 help-setup-xref. Add help-echo to xrefs.
7541 (list-character-sets-1): Add help-echo to xrefs.
7543 2000-03-02 Gerd Moellmann <gerd@gnu.org>
7545 * frame.el (blink-cursor-mode): Switch cursor on when turning
7548 * add-log.el (add-log-current-defun): Add support for
7551 * mail/rmail.el (rmail-quit-hook): New variable.
7553 2000-03-01 Dave Love <fx@gnu.org>
7555 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
7557 * help.el (help-xref-button): Add help-echo arg.
7558 (describe-function-1, describe-variable, help-make-xrefs): Use it.
7560 * faces.el (list-faces-display): Supply help-echo with
7563 * facemenu.el (list-text-properties-at): Set help-xref-stack to
7566 2000-03-01 Gerd Moellmann <gerd@gnu.org>
7568 * image.el (defimage): Look for image files in load-path.
7570 * frame.el (busy-cursor-delay-seconds): Change type to
7573 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
7575 * recentf.el (recentf): Added version tag to the defgroup of
7578 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
7580 * recentf.el (recentf-cleanup): Changed to remove excluded file
7582 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
7583 action to select/unselect a file.
7584 (recentf-edit-list): Code cleanup and improvement.
7585 (recentf-open-more-files-action): `recentf-open-more-files' button
7586 widget action to open a file.
7587 (recentf-open-more-files): No more use standard completion but
7589 (recentf-more-collection): Deleted.
7590 (recentf-more-history): Deleted.
7591 (recentf-setup-more-completion): Deleted.
7593 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
7595 * recentf.el (recentf-mode): No more needs that Emacs is running
7596 under a window-system.
7598 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
7600 * recentf.el (recentf-edit-list): New command to edit the recent
7601 list which allow the user to remove files.
7602 (recentf-edit-selected-items): New global variable, used by
7603 `recentf-edit-list' to hold the list of files to be removed from
7605 (recentf-make-menu-items): Updated to display a "Edit list..."
7606 menu item. Minor code cleanup.
7608 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
7610 * recentf.el (recentf-open-more-files): New command to open files
7611 that are not displayed in the menu.
7612 (recentf-more-collection): New global variable holding the set of
7613 permissible completions used by `recentf-open-more-files'.
7614 (recentf-more-history): New global variable holding the history list
7615 used by `recentf-open-more-files' completion.
7616 (recentf-setup-more-completion): New function to setup completion for
7617 `recentf-open-more-files'.
7618 (recentf-make-menu-items): Updated to display a "More..." menu item.
7620 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
7622 * recentf.el (recentf-menu-action): Doc fixed.
7624 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
7626 * recentf.el (recentf-menu-filter): Doc updated.
7627 (recentf-update-menu-hook): Allow menu filters to force menu update.
7628 (recentf-make-menu-items): New menu filter handling.
7629 (recentf-make-menu-item): New helper function.
7630 (recentf-menu-elements): New menu handling function.
7631 (recentf-sort-ascending): Updated to new menu filter handling.
7632 (recentf-sort-descending): Updated to new menu filter handling.
7633 (recentf-sort-basenames-ascending): New menu filter function.
7634 (recentf-sort-basenames-descending): New menu filter function.
7635 (recentf-show-basenames): New menu filter function.
7636 (recentf-show-basenames-ascending): New menu filter function.
7637 (recentf-show-basenames-descending): New menu filter function.
7639 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
7641 * diary-lib.el (list-diary-entries): Don't try to go forward at
7642 the end of the buffer.
7644 2000-02-29 Kenichi Handa <handa@etl.go.jp>
7646 * international/mule-diag.el (list-character-sets): Completely
7648 (sort-listed-character-sets): New function.
7649 (list-character-sets-1): Completely rewritten.
7650 (list-character-sets-2): New function.
7651 (non-iso-charset-alist): New variable.
7652 (decode-codepage-char): New function.
7653 (charset-history): New variable.
7654 (read-charset) (list-block-of-chars)
7655 (list-iso-charset-chars)
7656 (list-non-iso-charset-chars)
7657 (list-charset-chars): New functions.
7658 (mule-diag): Call list-character-sets-2, not
7659 list-character-sets-2.
7660 (dump-charsets): Likewise.
7662 2000-02-29 Gerd Moellmann <gerd@gnu.org>
7664 * dired-x.el (dired-filename-at-point): Add `@' to valid
7665 file name characters.
7666 (dired-filename-at-point): Handle ange-ftp file names.
7668 * frame.el (frame-notice-user-settings): Use assq-delete-all
7669 instead of assoc-delete-all.
7670 (frame-notice-user-settings): Ditto.
7672 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
7675 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
7677 * calculator.el (calculator-use-menu): New option.
7678 (calculator-initial-bindings): Changed some bindings to work as
7680 (calculator-forced-input): Removed.
7681 (calculator-restart-other-mode): New variable.
7682 (calculator-mode-map): Set up menu.
7684 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
7686 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
7689 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
7691 * viper-cmd.el (viper-envelop-ESC-key): added the option to
7692 translate all ESC key sequences.
7693 (viper-goto-mark-subr): restore markers for files for which
7695 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
7696 * viper-util.el (viper-set-replace-overlay-glyphs,
7697 viper-set-replace-overlay): always check if the replacement
7699 * viper.el (viper-vi-state-mode-list): added major modes.
7700 * ediff-wind.el: minor comment changes.
7701 * ediff.el: copyright notice date fix.
7703 2000-02-27 Jason Rumney <jasonr@gnu.org>
7705 * faces.el (face-font-family-alternatives): Add arial to helv.
7706 (mode-line, header-line, tool-bar): Same default as x for w32.
7707 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
7708 face-font-family-alternatives from working.
7709 * term/w32-win.el (mouse-set-font): Do not build fontset from
7712 2000-02-25 Sam Steingold <sds@goems.com>
7714 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
7717 2000-02-25 Richard M. Stallman <rms@gnu.org>
7719 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
7721 2000-02-25 Gerd Moellmann <gerd@gnu.org>
7723 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
7726 * frame.el (busy-cursor-delay-seconds): New option.
7728 2000-02-24 Gerd Moellmann <gerd@gnu.org>
7730 * frame.el (show-cursor-in-non-selected-windows): New option.
7732 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
7734 * diary-lib.el (include-other-diary-files): Undo the selective
7735 display in any included file and don't kill it.
7737 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
7739 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
7740 bar. Menu items converted to (menu-item format, help strings
7742 [downcase, upcase]: Don't enable on MS-DOS.
7743 [symlink, symlinks]: Don't show if make-symbolic-link is not
7745 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
7747 2000-02-23 Dave Love <fx@gnu.org>
7749 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
7750 (backward-kill-word): Revert addition of * to interactive spec --
7753 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
7754 (backward-kill-sentence, kill-sentence): Likewise.
7756 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
7757 scratch buffer name.
7758 (gud-format-command): Use int-to-string in ?l case. Simplify
7761 * term/w32-win.el (internal-face-interactive): Update prompt for
7764 * mail/footnote.el (footnote): Add :version to defgroup.
7765 (footnote-section-tag-regexp): Customize.
7766 (footnote-start-tag, footnote-end-tag): New option.
7767 (footnote-latin-regexp): New variable.
7768 (Footnote-latin): New function.
7769 (footnote-style-alist): Add element for latin style.
7770 (footnote-style): Moved.
7771 (Footnote-goto-footnote): Use eq to test arg.
7773 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
7775 * emacs-lisp/byte-opt.el: Change old backquote syntax.
7776 (byte-compile-trueconstp): Include keywords.
7777 (byte-optimize-quote, byte-optimize-lapcode): Use
7778 byte-compile-const-symbol-p.
7779 (byte-optimize-char-before): New optimization.
7781 * emacs-lisp/bytecomp.el: Change old backquote syntax.
7782 (byte-compile-const-symbol-p): New function.
7783 (byte-compile-constp, byte-compile-out-toplevel)
7784 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
7787 * subr.el (define-key-after): Default AFTER to t. Doc fix.
7789 2000-02-23 Kenichi Handa <handa@etl.go.jp>
7791 * international/encoded-kb.el: Be sure to update minor-mode-alist
7792 and minor-mode-map-alist.
7793 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
7794 codes SS2 and SS3 correctly.
7795 (encoded-kbd-self-insert-ccl): New function.
7796 (encoded-kbd-setup-keymap): New function.
7797 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
7798 by calling encoded-kbd-setup-keymap.
7800 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
7802 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
7805 2000-02-22 Dave Love <fx@gnu.org>
7807 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
7808 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
7810 (lisp-mode-syntax-table): Set up for #|...|# comments.
7811 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
7812 classes. Match `defface'.
7813 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
7814 (eval-defun-1): Fix for defcustom.
7815 (lisp-indent-region): Doc fix.
7817 * subr.el (when, unless, split-string): Doc fix.
7818 (read-passwd): Move call of clear-this-command-keys to the right
7820 (replace-regexps-in-string): New function.
7822 2000-02-22 Gerd Moellmann <gerd@gnu.org>
7824 * help.el (describe-variable): Set syntax table to
7825 emacs-lisp-mode-syntax-table when moving forward over the
7828 2000-02-22 Dave Love <fx@gnu.org>
7830 * xt-mouse.el: Doc fixes.
7831 (xterm-mouse-position-function): New function, replacing advice of
7833 (xterm-mouse-mode): Use it. Don't turn on under a window system.
7835 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
7837 2000-02-21 Gerd Moellmann <gerd@gnu.org>
7839 * format.el (format-annotate-single-property-change): Handle
7840 properties.with dotted-list values.
7841 (format-proper-list-p): New function.
7843 * enriched.el (enriched-face-ans): Handle '(foreground-color
7844 . COLOR) and (background-color . COLOR).
7846 2000-02-20 Dave Love <fx@gnu.org>
7848 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
7849 and assignments to it.
7850 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
7852 (make-flyspell-overlay): Use it.
7853 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
7855 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
7856 (lm-get-header-re): Defun, not defsubst.
7857 (lm-get-package-name): Defun, not defsubst. Simplify.
7858 (lm-version): Doc fix. Simplify.
7859 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
7860 (lm-crack-address, lm-last-modified-date, lm-commentary)
7861 (lm-verify, lm-synopsis): Simplify.
7862 (lm-report-bug): Require emacsbug. Use compose-mail.
7864 2000-02-20 Gerd Moellmann <gerd@gnu.org>
7866 * dired.el (dired-mode): Call propertized-buffer-identification
7867 to set mode-line-buffer-identification to something having
7868 the right text properties.
7870 * bindings.el (propertized-buffer-identification): New function.
7872 2000-02-20 Dave Love <fx@gnu.org>
7874 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
7875 check for t-mouse too.
7877 * cus-start.el: Make echo-keystrokes `number'.
7879 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
7881 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
7882 Don't call ring-empty-p unless tags-location-ring is bound.
7883 From Noah Friedman <friedman@splode.com>.
7885 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
7887 * progmodes/hideshow.el (hs-flag-region): No longer use
7888 `intangible' overlay property.
7890 (hs-toggle-hiding): New command.
7891 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
7893 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
7894 Fix omission bug: Run `hs-minor-mode-hook' for both activation
7897 2000-02-18 Gerd Moellmann <gerd@gnu.org>
7899 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
7901 2000-02-17 Gerd Moellmann <gerd@gnu.org>
7903 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
7905 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
7906 of `*' to handle `(* ... *)' comments.
7908 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
7910 * faces.el (list-faces-display): Use display-mouse-p instead of
7913 * menu-bar.el (global-map): Menu-bar items converted to the new
7914 format (menu-item..., rearranged for better CUA compliance, and
7915 their names changed for better clarity. Help strings added.
7917 * international/mule-cmds.el (mule-menu-keymap)
7918 (describe-language-environment-map, set-coding-system-map)
7919 (setup-language-environment-map): Convert to new (menu-item...
7920 form, add help strings. Change names of menu items for better
7921 clarity. "Mule" menu-bar item removed (it's now in the "Options"
7924 2000-02-17 Gerd Moellmann <gerd@gnu.org>
7926 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
7929 2000-02-16 Dave Love <fx@gnu.org>
7931 * faces.el: Don't require custom. Add more specific :groups to
7933 (set-face-attribute): Purecopy args.
7934 (read-face-name): Default to name at point and use it in prompt.
7935 Remove colon from arg in all callers.
7936 (list-faces-display): Hyperlink to face descriptions and customize
7939 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
7941 * wid-edit.el (widget-match-inline): An atom never matches a
7944 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
7946 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
7947 at ':' characters by call to split-string.
7949 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
7951 * textmodes/bibtex.el: Added RCS version identification.
7953 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
7955 * textmodes/bibtex.el: Some temporary comments removed.
7956 (bibtex-field-name, bibtex-entry-type): Made the relationship
7958 (bibtex-field-const): Allow capital letters.
7959 (bibtex-start-of-string): Deleted because unused.
7961 * textmodes/bibtex.el: Unified some nomenclature. We no longer
7962 use the term 'reference' to describe a bibtex entry as a whole.
7963 Further, reference keys are no longer called 'labels'.
7964 (bibtex-keys): Renamed to bibtex-reference-keys.
7965 (bibtex-reformat-previous-labels): Renamed to
7966 bibtex-reformat-previous-reference-keys.
7967 (bibtex-reference-type): Renamed to bibtex-entry-type.
7968 (bibtex-reference-head): Renamed to bibtex-entry-head.
7969 (bibtex-reference-maybe-empty-head): Renamed to
7970 bibtex-entry-maybe-empty-head.
7971 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
7972 (bibtex-search-reference): Renamed to bibtex-search-entry.
7973 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
7974 bibtex-enclosing-entry-maybe-empty-head.
7975 (bibtex-entry-field-alist, bibtex-entry-head,
7976 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
7977 bibtex-map-entries, bibtex-search-entry,
7978 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
7979 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
7980 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
7981 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
7982 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
7983 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
7984 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
7986 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
7988 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
7990 (bibtex-format-field-delimiters): New function, functionality
7991 extracted from bibtex-format-entry.
7992 (bibtex-autokey-get-yearfield-digits): New function, functionality
7993 extracted from bibtex-autokey-get-yearfield.
7995 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
7996 entries in order to avoid stack overflow in the regexp matcher if
7997 field contents become large.
7998 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
7999 bibtex-field-string-part-not-braced,
8000 bibtex-field-string-part-no-inner-braces,
8001 bibtex-field-string-part-1-inner-brace,
8002 bibtex-field-string-part-2-inner-braces,
8003 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
8004 bibtex-field-string-quoted, bibtex-field-string,
8005 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
8006 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
8007 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
8008 as parsing is now performed by the following functions.
8009 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
8010 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
8011 bibtex-parse-field-string, bibtex-search-forward-field-string,
8012 bibtex-parse-association, bibtex-field-name-for-parsing,
8013 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
8014 bibtex-search-forward-field, bibtex-search-backward-field,
8015 bibtex-start-of-field, bibtex-end-of-field,
8016 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
8017 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
8018 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
8019 bibtex-parse-string, bibtex-search-forward-string,
8020 bibtex-search-backward-string, bibtex-start-of-string,
8021 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
8022 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
8023 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
8024 entries. Instead of reporting the results of the parsing by
8025 match-beginning or match-end, these functions return data structures
8026 that hold the corresponding positions.
8027 (bibtex-enclosing-field): Changed to also report field boundaries by
8028 return values rather than by match-beginning or match-end. The
8029 following functions have been adapted to use the new parsing
8031 (bibtex-skip-to-valid-entry, bibtex-search-reference,
8032 bibtex-enclosing-field, bibtex-format-entry,
8033 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
8034 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
8035 bibtex-print-help-message, bibtex-end-of-entry,
8036 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
8037 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8038 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
8040 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
8041 bibtex-map-entries, bibtex-flash-head,
8042 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
8043 bibtex-autokey-change, bibtex-autokey-get-namefield,
8044 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
8045 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8046 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
8047 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8048 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
8049 order to make the new binding of case-fold-search immediately
8052 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8054 * textmodes/bibtex.el: Copyright notice is up to date.
8055 Added constant 'bibtex-maintainer-salutation.
8057 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
8058 than make-temp-name, use match-string-no-properties and eliminate
8059 a quadratic behavior when building bibtex-strings.
8061 * bibtex.el (bibtex-reference-key): Accept string entries whose
8062 reference key contains upper case letters.
8064 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8066 * bibtex.el (bibtex-reference-head): Allow entries to start with
8069 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8071 * bibtex.el: Hiding of entry bodies is not longer provided by
8072 bibtex.el directly. Instead the hideshow package can be used.
8073 Added a special bibtex entry to hs-special-modes-alist.
8074 (bibtex-hs-forward-sexp): Added for hideshow.el.
8076 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8078 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
8079 at ':' characters by call to split-string.
8081 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8083 * textmodes/bibtex.el: Added RCS version identification.
8085 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8087 * textmodes/bibtex.el: Some temporary comments removed.
8088 (bibtex-field-name, bibtex-entry-type): Made the relationship
8090 (bibtex-field-const): Allow capital letters.
8091 (bibtex-start-of-string): Deleted because unused.
8093 * textmodes/bibtex.el: Unified some nomenclature. We no longer
8094 use the term 'reference' to describe a bibtex entry as a whole.
8095 Further, reference keys are no longer called 'labels'.
8096 (bibtex-keys): Renamed to bibtex-reference-keys.
8097 (bibtex-reformat-previous-labels): Renamed to
8098 bibtex-reformat-previous-reference-keys.
8099 (bibtex-reference-type): Renamed to bibtex-entry-type.
8100 (bibtex-reference-head): Renamed to bibtex-entry-head.
8101 (bibtex-reference-maybe-empty-head): Renamed to
8102 bibtex-entry-maybe-empty-head.
8103 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
8104 (bibtex-search-reference): Renamed to bibtex-search-entry.
8105 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
8106 bibtex-enclosing-entry-maybe-empty-head.
8107 (bibtex-entry-field-alist, bibtex-entry-head,
8108 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
8109 bibtex-map-entries, bibtex-search-entry,
8110 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
8111 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8112 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
8113 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
8114 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
8115 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
8116 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
8118 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8120 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
8122 (bibtex-format-field-delimiters): New function, functionality
8123 extracted from bibtex-format-entry.
8124 (bibtex-autokey-get-yearfield-digits): New function, functionality
8125 extracted from bibtex-autokey-get-yearfield.
8127 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
8128 entries in order to avoid stack overflow in the regexp matcher if
8129 field contents become large.
8130 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
8131 bibtex-field-string-part-not-braced,
8132 bibtex-field-string-part-no-inner-braces,
8133 bibtex-field-string-part-1-inner-brace,
8134 bibtex-field-string-part-2-inner-braces,
8135 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
8136 bibtex-field-string-quoted, bibtex-field-string,
8137 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
8138 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
8139 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
8140 as parsing is now performed by the following functions.
8141 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
8142 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
8143 bibtex-parse-field-string, bibtex-search-forward-field-string,
8144 bibtex-parse-association, bibtex-field-name-for-parsing,
8145 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
8146 bibtex-search-forward-field, bibtex-search-backward-field,
8147 bibtex-start-of-field, bibtex-end-of-field,
8148 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
8149 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
8150 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
8151 bibtex-parse-string, bibtex-search-forward-string,
8152 bibtex-search-backward-string, bibtex-start-of-string,
8153 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
8154 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
8155 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
8156 entries. Instead of reporting the results of the parsing by
8157 match-beginning or match-end, these functions return data structures
8158 that hold the corresponding positions.
8159 (bibtex-enclosing-field): Changed to also report field boundaries by
8160 return values rather than by match-beginning or match-end. The
8161 following functions have been adapted to use the new parsing
8163 (bibtex-skip-to-valid-entry, bibtex-search-reference,
8164 bibtex-enclosing-field, bibtex-format-entry,
8165 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
8166 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
8167 bibtex-print-help-message, bibtex-end-of-entry,
8168 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
8169 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8170 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
8172 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
8173 bibtex-map-entries, bibtex-flash-head,
8174 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
8175 bibtex-autokey-change, bibtex-autokey-get-namefield,
8176 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
8177 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8178 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
8179 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8180 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
8181 order to make the new binding of case-fold-search immediately
8184 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8186 * textmodes/bibtex.el: Copyright notice is up to date.
8187 Added constant 'bibtex-maintainer-salutation.
8189 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
8190 than make-temp-name, use match-string-no-properties and eliminate
8191 a quadratic behavior when building bibtex-strings.
8193 * bibtex.el (bibtex-reference-key): Accept string entries whose
8194 reference key contains upper case letters.
8196 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8198 * bibtex.el (bibtex-reference-head): Allow entries to start with
8201 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8203 * bibtex.el: Hiding of entry bodies is not longer provided by
8204 bibtex.el directly. Instead the hideshow package can be used.
8205 Added a special bibtex entry to hs-special-modes-alist.
8206 (bibtex-hs-forward-sexp): Added for hideshow.el.
8208 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8210 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
8211 proceedings entry type (for cross referencing). Thanks to Wagner
8212 Toledo Correa for the suggestion.
8214 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
8216 2000-02-14 Kenichi Handa <handa@etl.go.jp>
8218 * international/characters.el: Setup case table for Vietnamese.
8220 2000-02-12 Gerd Moellmann <gerd@gnu.org>
8222 * uniquify.el (toplevel): Require CL at compile time.
8223 (uniquify-push): Removed.
8225 * shadowfile.el (shadow-when): Removed.
8227 * tempo.el (tempo-dolist, tempo-mapc): Removed.
8228 (tempo-process-and-insert-string): Use dolist instead of
8231 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
8232 regexp for paragraph-start.
8234 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
8237 2000-02-10 Dave Love <fx@gnu.org>
8239 * wid-edit.el: (widgets) [defgroup]: Remove url link.
8240 (widget-color-choice-list, widget-color-history, widget-mouse-help):
8242 (widget-specify-field, widget-specify-button): Don't use
8243 widget-mouse-help as help-echo property.
8244 (default): Use #'ignore for :validate and :mouse-down-action.
8245 (checkbox): Add help-echo.
8246 (widget-sexp-validate): Rewritten to clarify error messages.
8247 (character): Use char-valid-p in :match function.
8248 (widget-color-complete): Use facemenu-color-alist.
8249 (widget-color-action): Use facemenu-read-color.
8251 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
8252 set up `caar' &c that we now have.
8254 2000-02-09 Ray Blaak <blaak@gnu.org>
8256 * delphi.el: Make resourcestring a declaration region, like const
8259 2000-02-09 Dave Love <fx@gnu.org>
8261 * bindings.el (mode-line-input-method-map): New variable.
8262 (mode-line-mule-info): Use it; fix last change.
8263 (mode-line-mode-menu): Move definition.
8264 (mode-line-mouse-sensitive-p): Deleted.
8265 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
8266 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
8269 * startup.el (command-line-1): Don't call
8270 make-mode-line-mouse-sensitive.
8272 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
8274 * mail/rmail.el (rmail-retry-failure): Use
8275 rmail-beginning-of-message before rmail-toggle-header, because the
8276 former toggles headers.
8278 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
8280 * diff-mode.el (diff-kill-junk): New interactive function.
8281 (diff-reverse-direction): Use delete-and-extract-region.
8282 (diff-post-command-hook): Restrict the area so that the hook also works
8283 outside of any diff hunk. This is necessary for the minor-mode.
8284 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
8285 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
8287 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
8288 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
8289 so that it can be used more easily in <foo>-mode-hook. Also make sure
8290 to avoid duplicate entries.
8291 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
8292 (font-lock-remove-keywords): Just as was done for `add', allow it to
8293 work even if font-lock-mode is nil. Also make sure we don't modify
8294 any pre-existing list by forcing a copy-sequence. Finally rename
8295 `major-mode' to `mode'.
8296 (font-lock-fontify-syntactic-anchored-keywords)
8297 (font-lock-fontify-anchored-keywords)
8298 (font-lock-fontify-keywords-region): Use line-end-position.
8299 Don't make `font-lock-multiline' local (it's now done in
8300 font-lock-set-defaults).
8301 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
8302 move the `font-lock-fontified' creation to inside the `unless'.
8304 2000-02-06 Andrew Innes <andrewi@gnu.org>
8306 * term/w32-win.el (x-handle-args): Comment out call to message,
8307 which occurs before window system is initialized.
8309 * makefile.nt: Add support for recompiling lisp code.
8311 2000-02-04 Dave Love <fx@gnu.org>
8313 * bindings.el (mode-line-mule-info): Fix/extend last change.
8315 * completion.el: Replace completion-dolist with dolist.
8317 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
8320 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
8322 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
8323 environment names before they go into the section regexp.
8325 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
8326 char class in regexp.
8328 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
8329 `case-fold-search' to nil.
8331 * progmodes/idlwave.el (idlwave-template): Respect
8332 `idlwave-abbrev-change-case'.
8333 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
8334 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
8335 idlwave-while): respect `idlwave-reserved-word-upcase'.
8336 (idlwave-rw-case): New function.
8337 (idlwave-statement-match): Fixed problem with assignment regexp.
8338 (idlwave-font-lock-keywords): Improved regexp for keyword
8340 (idlwave-surround): New argument LENGTH to support padding of
8341 operators longer than 1 char.
8343 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
8344 idlwave-shell-expression-overlay. Implemented printing of
8345 expressions on higher levels of the calling stack.
8346 (idlwave-shell-display-level-in-calling-stack): Restore stack
8348 (idlwave-retrieve-expression-from-level): New function.
8349 (idlwave-shell-last-calling-stack): Variable removed.
8350 (idlwave-shell-reset): Argument action reversed (`visible' to
8351 `hidden'). Also remove stop-line overlay.
8352 (idlwave-shell-calling-stack-routine): New variable.
8353 (idlwave-shell-parse-stack-and-display): Messages now display
8354 negative level numbers.
8355 (idlwave-shell-mode): Set `modeline-format'.
8356 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
8357 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
8359 (idlwave-shell-print-expression-function): New option.
8361 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
8362 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
8363 `tool-bar' instead of `toolbar'.
8365 2000-02-02 Dave Love <fx@gnu.org>
8367 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
8368 emacs-lisp-mode-hook. Don't check for defalias being defined.
8370 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
8371 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
8372 the new builtins directly.
8374 * whitespace.el (whitespace): Add :version to defgroup.
8376 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
8379 * thingatpt.el (sexp-at-point, symbol-at-point)
8380 (number-at-point, list-at-point): Add autoload cookie.
8382 * recentf.el (recentf): Add :version to defgroup.
8384 * quickurl.el (quickurl): Add :version to defgroup.
8386 * elide-head.el (elide-head): Use point-marker more.
8388 * bs.el (bs): Add :version to defgroup.
8390 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
8392 * progmodes/delphi.el (delphi): Add :version to defgroup.
8394 2000-02-02 Gerd Moellmann <gerd@gnu.org>
8396 * ange-ftp.el (ange-ftp-write-region): Handle case that
8397 succeeding process operation sets a different coding system.
8399 * calculator.el: New file.
8401 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
8403 * frame.el (frames-on-display-list, framep-on-display): New
8405 (display-mouse-p, display-popup-menus-p, display-graphic-p)
8406 (display-selections-p, display-screens, display-pixel-width)
8407 (display-pixel-height, display-mm-width, display-mm-height)
8408 (display-backing-store, display-save-under, display-planes)
8409 (display-color-cells, display-visual-class): New functions.
8411 * term/tty-colors.el (tty-color-gray-shades): New function.
8413 * faces.el (display-color-p): Use framep-on-display.
8414 (display-grayscale-p): New function.
8416 2000-01-31 Dave Love <fx@gnu.org>
8418 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
8419 (create-fontset-from-x-resource): Don't concat integers.
8421 2000-01-31 Inge Frick <inge@nada.kth.se>
8423 * view.el: Some changes in documentation. Removed some trailing
8424 whitespace. Changed some parameter names to agree with
8426 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
8427 window is not deleted. Modifies change 1998-04-26.
8429 2000-01-31 Gerd Moellmann <gerd@gnu.org>
8431 * windmove.el: New file.
8433 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
8434 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
8435 progmodes/ebnf-yac.el: Update copyright and license info.
8437 * jit-lock.el (jit-lock-function): Widen before calculating end
8439 (jit-lock-stealth-chunk-start): Rewritten.
8441 * info.el (Info-title-face-alist): Removed.
8442 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
8444 (Info-fontify-node): Use these faces.
8446 2000-01-30 Gerd Moellmann <gerd@gnu.org>
8448 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
8449 (cl-macro-list1): Recognize `&allow-other-keys' instead of
8450 `&allow-other-keywords'.
8452 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
8453 the list of directories scanned heuristically.
8455 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
8458 2000-01-30 Jason Rumney <jasonr@gnu.org>
8460 * w32-fns.el: Define w32-tty-standard-colors.
8462 * startup.el (command-line): Use w32-tty-standard-colors when in
8465 2000-01-30 Dave Love <fx@gnu.org>
8467 * jka-compr.el (jka-compr-load): Fix up load-history.
8469 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
8471 * emacs-lisp/cl-macs.el: Revert previous change.
8473 2000-01-29 Dave Love <fx@gnu.org>
8475 * facemenu.el: Purecopy various strings.
8477 * timezone.el (timezone-fix-time): Window against 69 for two-digit
8478 years. Deal with three-digit years.
8480 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
8482 (help-back-label): Purecopy it.
8484 2000-01-18 Gerd Moellmann <gerd@gnu.org>
8486 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
8487 variable. If non-nil, order the buffer list according to the
8488 currently selected frame.
8489 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
8490 non-nil, pass the selected frame to function buffer-list.
8492 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8494 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
8496 2000-01-28 Dave Love <fx@gnu.org>
8498 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
8500 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
8501 Don't use lisp-indent-hook property.
8504 * subr.el: Move out indent and edebug specs for when and unless.
8506 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
8509 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
8512 2000-01-28 Gerd Moellmann <gerd@gnu.org>
8514 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
8515 `collecting' as synonym for `collect'.
8517 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
8518 for the case it contains spaces.
8520 * simple.el (what-cursor-position): Change formatting of
8523 * frame.el (delete-other-frames): New function.
8524 (toplevel): Bind it to C-x 5 1.
8526 * sort.el (sort-numeric-base): New option.
8527 (sort-numeric-fields): If number starts with `0' or `0[xX[',
8528 interpret it as octal or hexadecimal. Use sort-numeric-base
8531 * progmodes/glasses.el: New file.
8533 2000-01-27 Gerd Moellmann <gerd@gnu.org>
8535 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
8536 userids differently.
8538 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
8539 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
8540 progmodes/ebnf-yac.el: New files.
8542 2000-01-26 Dave Love <fx@gnu.org>
8544 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
8545 on a function with an empty body. [From Eric Ludlam.]
8547 2000-01-25 Andre Spiegel <spiegel@gnu.org>
8549 * vc.el (vc-version-diff): Make sure file name is expanded.
8551 2000-01-25 Gerd Moellmann <gerd@gnu.org>
8553 * scroll-bar.el (scroll-bar-timer): Variable removed.
8554 (scroll-bar-toolkit-scroll): Don't use a timer.
8556 2000-01-25 Kenichi Handa <handa@etl.go.jp>
8558 * language/thai-util.el (thai-composition-function): Delete
8561 2000-01-24 Dave Love <fx@gnu.org>
8563 * fortran.el (fortran-mode): Use beginning-of-defun-function,
8564 end-of-defun-function.
8566 * font-lock.el (turn-on-font-lock): Don't depend on window-system
8569 2000-01-22 Jason Rumney <jasonr@gnu.org>
8571 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
8572 conflicts with new face support.
8574 2000-01-22 Richard M. Stallman <rms@gnu.org>
8576 * replace.el (query-replace): Rename last arg to DELIMITED.
8577 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
8578 (query-replace-regexp): Likewise.
8580 2000-01-20 Richard M. Stallman <rms@gnu.org>
8582 * subr.el (with-syntax-table): Use make-symbol, not gensym.
8584 * emacs-lisp/lisp.el (beginning-of-defun-function):
8585 Variable renamed from beginning-of-defun.
8586 Do not call make-variable-buffer-local.
8587 (beginning-of-defun-raw): Use new variable name; doc fix.
8588 (beginning-of-defun): Doc fix.
8589 (end-of-defun-function): Variable renamed from end-of-defun.
8590 Do not call make-variable-buffer-local.
8591 (end-of-defun): Use new variable name; doc fix.
8593 * subr.el (dolist, dotimes): Copied from cl-macs.el
8596 * mail/undigest.el (rmail-digest-end-regexps):
8597 Variable replaces rmail-digest-end-regexp.
8598 Allows multiple regexps for detecting the end line.
8599 (undigestify-rmail-message): Corresponding changes.
8601 2000-01-19 Dave Love <fx@gnu.org>
8603 * files.el (user-init-file): Don't declare here -- is primitive.
8605 * startup.el (command-line): Check for compiled user-init-file and
8606 set to uncompiled version if necessary.
8608 2000-01-18 Gerd Moellmann <gerd@gnu.org>
8610 * mail/undigest.el (rmail-digest-end-regexp): New user option.
8611 (undigestify-rmail-message): Use it.
8613 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
8615 2000-01-17 Gerd Moellmann <gerd@gnu.org>
8617 * tmm.el (tmm-goto-completions): Adapt to prompt being part
8620 2000-01-14 Gerd Moellmann <gerd@gnu.org>
8622 * emacs-lisp/copyright.el (copyright-update): Removed the
8623 requirement for a trailing space from `copyright-regexp', to
8624 support copyrights with owner specified on a separate line..
8626 * align.el: New file.
8628 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
8630 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
8632 2000-01-13 Dave Love <fx@gnu.org>
8634 * ph.el: Removed. (Obsoleted by EUDC.)
8636 2000-01-13 Gerd Moellmann <gerd@gnu.org>
8638 * net/eudc.el (toplevel): Remove autoloaded code installing
8639 menu with easymenu, because that causes build problems.
8641 * frame.el (frame-notice-user-settings): New variable.
8642 (frame-notice-user-settings): Don't modify frame parameters
8643 if called a second time.
8645 2000-01-13 Richard M. Stallman <rms@gnu.org>
8647 * frame.el (frame-notice-user-settings):
8648 Notice default-frame-parameters even for non-window frames.
8650 2000-01-13 Gerd Moellmann <gerd@gnu.org>
8652 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
8654 (eudc-bob-can-display-inline-images): Extend for Emacs.
8655 (eudc-bob-toggle-inline-display): Ditto.
8656 (eudc-bob-display-jpeg): Ditto.
8658 2000-01-12 Gerd Moellmann <gerd@gnu.org>
8660 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
8661 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
8662 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
8664 * add-log.el (add-change-log-entry): Fix error trying an `(insert
8667 * subdirs.el: Add `net' directory.
8669 * net: New directory.
8671 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
8672 eval-last-sexp. Don't bind debug-on-error here.
8673 (eval-last-sexp): New function. Bind debug-on-error if
8674 eval-expression-debug-on-error is non-nil.
8675 (eval-defun-2, eval-defun): Likewise.
8677 * simple.el (eval-expression): Don't bind debug-on-error if
8678 eval-expression-debug-on-error is nil. Detect changed
8679 debug-on-error, and propagate new value to global binding, if
8680 eval-expression-debug-on-error is non-nil,
8681 (eval-expression-debug-on-error): Change doc string.
8683 2000-01-11 Richard M. Stallman <rms@gnu.org>
8685 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
8687 * emacs-lisp/lisp-mode.el (with-syntax-table):
8688 Set up lisp-indent-function property.
8690 * subr.el (with-syntax-table): Moved from simple.el.
8692 * simple.el (with-syntax-table): Moved to subr.el.
8694 2000-01-11 Gerd Moellmann <gerd@gnu.org>
8696 * tmm.el (tmm-shortcut): Delete region after prompt instead
8699 * textmodes/fill.el (fill-common-string-prefix): New function.
8700 (fill-context-prefix): Use the longest common prefix of first
8701 and second line fill prefix, if there is one.
8703 2000-01-11 Richard M. Stallman <rms@gnu.org>
8705 * array.el (array-mode): Don't use make-variable-buffer-local.
8706 Use make-local-variable for `truncate-lines'.
8708 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
8710 * add-log.el (add-log-current-defun): Handle user-defined
8711 add-log-current-function returning nil,
8713 * add-log.el (add-change-log-entry): Insert version number
8714 if having found a current function
8716 * add-log.el (add-log-current-defun): Call
8717 `add-log-current-defun-function'. Try matches at level 0 and
8718 level 1. Strip whitespace from defun found.
8720 2000-01-10 John Wiegley <johnw@gnu.org>
8722 * allout.el (isearch-done/outline-provisions): Added `edit'
8723 argument to correspond with the current definition of
8726 2000-01-10 Dave Love <fx@gnu.org>
8728 * elide-head.el (elide-head): Use point-marker, not point.
8730 2000-01-10 Gerd Moellmann <gerd@gnu.org>
8732 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
8733 before and after the year 2000.
8735 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
8738 2000-01-10 Ken Stevens <k.stevens@ieee.org>
8740 * ispell.el: Only define dictionaries in menus when they exist.
8741 (version18p): New variable.
8742 (version20p): New variable.
8743 (xemacsp): New variable.
8744 (ispell-choices-win-default-height): Fix for XEmacs visibility.
8745 (ispell-dictionary-alist1): Added Brasileiro dictionary.
8746 (ispell-dictionary-alist6): Russian command lines no longer accept
8748 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
8749 (ispell-dictionary-alist): Add koi8-r to customize definition.
8750 (check-ispell-version): Added documentation string. Returns
8751 library path when called non-interactively.
8752 (ispell-menu-map-needed): Uses new variables.
8753 (ispell-library-path): New variable.
8754 (ispell-decode-string): XEmacs fix for bogus variable bindings.
8755 (ispell-word): Improved documentation string. Test for valid
8756 character mappings. Correctly check typed in word changes that can
8757 result in single words split into multiple words. Returns
8759 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
8760 replace in recursive query replace mode. Help message for
8761 recursive edit mode.
8762 (ispell-show-choices): Protect against bad framepop bindings.
8763 (ispell-help): Fix to work with XEmacs.
8764 (ispell-highlight-spelling-error): Use new variables.
8765 (ispell-overlay-window): Fix to work with XEmacs.
8766 (ispell-parse-output): Passed and returns location information
8767 tracking spelling corrections. Doesn't recheck same word on
8769 (ispell-init-process): Protect against bogus XEmacs variable binding.
8770 Fix call to single argument in sleep-for. Use new variables.
8771 (ispell-region): Passed and returns location information tracking
8772 spelling corrections. Doesn't check same word on current line.
8773 Improved documentation string. Doesn't resend a line already
8774 checked to the ispell process - fixes bug in LaTeX parsing.
8775 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
8776 (ispell-skip-region): No longer skips <TT> in SGML.
8777 (ispell-process-line): Tracks location information with spelling
8778 corrections. Added documentation string. Accounts for words
8779 already accepted on this line. Don't allow query-replace on line
8780 starting with math characters. Doesn't resend a line already sent
8781 to ispell process. Fixes alignment error bug.
8783 2000-01-10 Richard M. Stallman <rms@gnu.org>
8785 * dired-x.el (dired-guess-shell-alist-default):
8786 Suggest xloadimage, which is free, not xv, which isn't.
8788 * ange-ftp.el (ange-ftp-file-name-nondirectory):
8789 Don't ever include the host name or user name in the value.
8791 2000-01-09 Gerd Moellmann <gerd@gnu.org>
8793 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
8796 2000-01-09 Stephen Eglen <stephen@gnu.org>
8798 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
8801 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
8803 * cus-edit.el (custom-hook-convert-widget): Fix comment.
8805 2000-01-09 Gerd Moellmann <gerd@gnu.org>
8807 * progmodes/cperl-mode.el: Replace ^F with ^L.
8809 * sendmail.el (toplevel): Provide `sendmail' when compiling
8810 before `require'ing rmail and mailalias to prevent infinite
8813 2000-01-08 Dave Love <fx@gnu.org>
8815 * emacs-lisp/backquote.el: Remove inappropriate customization
8816 (allowing custom.el to use backquote).
8818 2000-01-07 Dave Love <fx@gnu.org>
8820 * add-log.el (add-log-debugging): Deleted.
8821 (add-change-log-entry): Treat a backup FILE-NAME as its parent
8822 file. Remove debugging code.
8823 (change-log-get-method-definition, change-log-name): Add doc.
8824 (change-log-sortable-date-at): New function.
8825 (change-log-merge): New command.
8827 * time.el (display-time-string-forms): Make the Mail string active.
8828 (display-time-update): Provide help-echo for load average.
8830 * bindings.el (make-mode-line-mouse2-map): New function.
8831 (mode-line-modified): Use it and simplify.
8832 (mode-line-mule-info): Provide help-echo info.
8833 (minor-mode-alist): Activate the strings.
8834 (make-mode-line-mouse-sensitive): Simplify for
8835 mode-line-buffer-identification.
8837 2000-01-07 Gerd Moellmann <gerd@gnu.org>
8839 * play/pong.el: New file.
8841 2000-01-06 Dave Love <fx@gnu.org>
8843 * array.el: Assorted cleanups for compiler warnings, doc strings,
8844 `array-' prefix for symbols.
8846 2000-01-05 Dave Love <fx@gnu.org>
8848 * textmodes/outline.el (outline-mode-menu-bar-map): Add
8849 outline-headers-as-kill.
8850 (outline-mode): Define imenu-generic-expression.
8851 (outline-headers-as-kill): New command.
8853 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
8854 from paragraph-start.
8855 (paragraph-indent-minor-mode): New command.
8857 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
8858 M-C-e, M-C-h, C-j, C-xnd, TAB.
8859 (fortran-mode): Set beginning-of-defun, end-of-defun.
8860 (fortran-column-ruler): Simplify.
8861 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
8862 (fortran-with-subprogram-narrowing): Likewise.
8863 (fortran-indent-subprogram): Call mark-defun.
8864 (fortran-check-for-matching-do): Change narrowing.
8866 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
8867 (cl-lucid-hash-tag): Delete.
8868 (cl-hash-table-p): Correct test for native table.
8869 (cl-hash-table-count): Use hash-table-count.
8871 * browse-url.el (browse-url): Fix case of
8872 browse-url-browser-function being an alist.
8874 2000-01-05 Carsten Dominik <cd@gnu.org>
8876 * textmodes/reftex-vars.el (reftex-parse-file-extension)
8877 (reftex-index-phrase-file-extension): New options.
8879 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
8880 Use new option `reftex-index-phrase-file-extension'.
8882 * textmodes/reftex.el (reftex-access-parse-file): Use new option
8883 `reftex-parse-file-extension'.
8885 2000-01-05 Dave Love <fx@gnu.org>
8887 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
8888 (beginning-of-defun-raw): Use it.
8889 (end-of-defun): New variable.
8890 (end-of-defun): Use it.
8891 (check-parens): New command.
8893 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
8895 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
8896 (hs-show-block): Don't use `mapcar' when not accumulating.
8898 Fix buglet in local variables initialization.
8900 2000-01-05 Andreas Schwab <schwab@suse.de>
8902 * hscroll.el (hscroll): Doc fix.
8904 2000-01-05 Carsten Dominik <cd@gnu.org>
8906 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
8909 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
8911 (idlwave-customize): load must read file idlw-shell.el.
8912 (idlwave-create-customize-menu): load must read file idlw-shell.el.
8914 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
8916 * progmodes/idlw-shell.el: Also provide idlwave-shell
8917 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
8918 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
8920 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
8921 both reftex-dcr and reftex-vcr.
8923 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
8925 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8927 * ps-print.el: PostScript code now is in separate files, doc fix.
8928 (ps-print-version): New version number (5.0.3).
8929 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
8931 (ps-spool-config): Initialization fix.
8932 (ps-print-prologue-1, ps-print-prologue-2)
8933 (ps-print-duplex-feature): PostScript code moved to separated file.
8934 (ps-background-image): Little code reformating.
8935 (ps-begin-file, ps-begin-job): Fix code.
8936 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
8937 (ps-prologue-file): New fun.
8939 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8941 * ps-vars.el: Eliminated.
8943 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
8946 * ps-print.el: ps-vars eliminated, doc fix.
8947 (ps-print-version): New version number (5.0.2).
8948 (ps-spool-config): Initialization fix.
8949 (ps-print-customize): New fun.
8951 2000-01-04 Gerd Moellmann <gerd@gnu.org>
8953 * autorevert.el (auto-revert-mode): Return value of
8956 2000-01-04 Dave Love <fx@gnu.org>
8958 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
8961 2000-01-03 Dave Love <fx@gnu.org>
8963 * elide-head.el (elide-head) [defgroup]: Add :version.
8965 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
8966 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
8967 `cl-hash-table-p', not `hash-table-p'.
8968 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
8970 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
8972 * faces.el (face-read-integer, read-face-attribute)
8973 (color-defined-p, color-values): unspecified-{f,b}g are now
8976 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
8978 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
8979 at comment end, and re-insert them after filling.
8981 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
8983 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
8984 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
8985 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
8987 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
8989 * term/x-win.el (xw-defined-colors): Call color-supported-p,
8990 the new name of face-color-supported-p.
8992 * term/w32-win.el (xw-defined-colors): Likewise.
8994 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
8996 * simple.el (completion-setup-function): Count completion-size
8997 from minibuffer-prompt-end, not from point-min.
8999 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
9001 * faces.el (read-face-attribute, defined-colors, color-defined-p):
9002 Pass the frame to tty-color-* functions.
9003 (display-color-p, frame-set-background-mode): Pass the frame to
9004 tty-display-color-p.
9006 * term/tty-colors.el (tty-defined-color-alist): Renamed from
9008 (tty-color-alist, tty-modify-color-alist): New functions.
9009 (tty-color-define, tty-color-clear, tty-color-approximate)
9010 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
9011 an optional parameter FRAME.
9013 2000-01-01 Gerd Moellmann <gerd@gnu.org>
9015 * image.el (create-image, defimage): Don't assume image data is a
9018 * image.el (defimage): Handle specifications containing :data
9020 (image-type-from-data): New function.
9021 (image-type-from-file-header): Use it.
9022 (create-image): Add parameter DATA-P.
9024 See ChangeLog.8 for earlier changes.
9027 ;; coding: iso-2022-7bit-unix