1 2000-10-26 Miles Bader <miles@lsi.nec.co.jp>
3 * simple.el (undo): Correctly distinguish between numeric and
4 non-numeric prefix args in non-transient-mark-mode, as per the doc
5 string. When in transient-mark-mode, treat all prefix-args as
8 * simple.el (previous-matching-history-element): Position point on
9 match. Handle N == 0 correctly. Miscellaneous cleanup.
11 * comint.el (comint-mode): Locally set `next-line-add-newlines' to nil.
12 (comint-mode-map): Reverse order of `comint-write-output' and
13 `comint-append-output-to-file'.
14 (comint-append-output-to-file): Reinstate this function, for the
17 2000-10-25 Stefan Monnier <monnier@cs.yale.edu>
19 * vc.el (vc-version-other-window): Bind `file'.
21 2000-10-25 Gerd Moellmann <gerd@gnu.org>
23 * Makefile.in (update-authors): New target for maintenance
26 * emacs-lisp/authors.el (batch-update-authors): New function.
27 (authors-fixed-entries): New defconst.
28 (authors-add-fixed-entries): New function.
29 (authors): Call it.: Don't process lispref/.
31 2000-10-25 Jason Rumney <jasonr@gnu.org>
33 * cus-edit.el (custom-button-face, custom-button-pressed-face):
34 Merge x w32 and mac definitions.
36 2000-10-25 Gerd Moellmann <gerd@gnu.org>
38 * menu-bar.el (menu-bar-options-menu): Add a help string for
41 2000-10-25 Stephen Gildea <gildea@alum.mit.edu>
43 * time-stamp.el (time-stamp-string-preprocess): Fix a wrong
46 2000-10-25 Miles Bader <miles@gnu.org>
48 * recentf.el (recentf-mode): Variable removed.
49 (recentf-mode): Use `define-minor-mode'.
51 * mwheel.el (mouse-wheel-mode): New global minor mode.
52 (mwheel-install): Use `mouse-wheel-mode'.
54 2000-10-25 Dave Love <fx@gnu.org>
56 * progmodes/cperl-mode.el (cperl-mode): Set
57 normal-auto-fill-function correctly.
59 * wid-edit.el (widget-field-keymap, widget-text-keymap): Don't
60 inherit from global-map and don't nullify menu-bar and tool-bar
61 bindings since keymap properties DTRT.
63 2000-10-25 Miles Bader <miles@lsi.nec.co.jp>
65 * wid-edit.el (widget-field-at): New function.
66 (widget-at, widget-field-activate): Use it.
67 (widget-tabable-at): Use `widget-at'.
68 (widget-specify-field): If the terminating character of the widget
69 field (which is read-only) is a newline, put it into a special
70 `boundary' field so that C-n/C-p act more naturally.
71 (widget-field-end): Also don't subtract one if a special
72 `boundary' field has been added after the widget field.
74 * comint.el (comint-output-filter, comint-send-input): Don't
75 bother adding stickiness fields to overlays to fool the field
76 code, since it should notice the overlay insertion-types now.
78 * wid-edit.el (widget-beginning-of-line, widget-end-of-line):
79 Replace with aliases of the normal emacs b-o-l/e-o-l functions.
80 (widget-field-keymap, widget-text-keymap): Don't bind C-a/C-e.
82 2000-10-24 Gerd Moellmann <gerd@gnu.org>
84 * emacs-lisp/authors.el (authors-aliases): Add some more aliases.
85 (authors): Set file coding system to iso-2022-7bit. Add
86 file-local variables to output buffer.
88 * files.el (after-find-file): Don't print any warnings if
91 2000-10-24 Vinicius Jose Latorre <vinicius@cpqd.com.br>
93 * ps-print.el (ps-generate): Fix odd/even pages printing bug.
95 * delim-col.el: Now there is a column formatting mechanism.
96 Modified to customization mechanisms convention. Doc fix.
97 (columns): New group for delim-col.
98 (delimit-columns-before, delimit-columns-after)
99 (delimit-columns-format, delimit-columns-extra, delimit-columns-start)
100 (delimit-columns-end): New vars.
101 (delimit-columns-customize, delimit-columns-format): New funs.
102 (delimit-columns-region, delimit-columns-rectangle)
103 (delimit-columns-rectangle-line): Modified to support column
106 2000-10-24 Dave Love <fx@gnu.org>
108 * log-edit.el (log-edit): Add :version and a :group for vc.
110 2000-10-24 Gerd Moellmann <gerd@gnu.org>
112 * files.el (after-find-file): Don't print a message ``New file''
115 * wid-edit.el (widget-field-keymap, widget-text-keymap): Define
116 the tool-bar map as nil, as for the menu-bar. Otherwise, we'll
117 get duplicate tool-bar entries because we'll see the global ones
118 on more than one path through keymaps.
120 * emacs-lisp/lisp.el (defun-prompt-regexp): Doc fix.
122 * progmodes/cmacexp.el: Change Francesco's email address.
124 2000-10-24 Kenichi Handa <handa@etl.go.jp>
126 * window.el (fit-window-to-buffer): Adjust point of the window
127 buffer, not that of the current buffer.
129 2000-10-24 Eli Zaretskii <eliz@is.elta.co.il>
131 * progmodes/cmacexp.el: Update the euthor's email address.
133 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
135 * faces.el (face-spec-set-match-display): Add `graphic' display
136 type (the inverse of `tty'). Use `display-graphic-p' instead of
137 the window-system variable.
139 2000-10-24 Kenichi Handa <handa@etl.go.jp>
141 * international/isearch-x.el (isearch-with-input-method): Call
142 input-method-function with the first event in
143 unread-command-events.
145 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
147 * faces.el (face-default-spec, face-user-default-spec): Make
150 2000-10-24 Andrew Choi <akochoi@i-cable.com>
152 * international/mule-conf.el (mac-roman-lower, mac-roman-upper):
155 * term/mac-win.el: Remove definitions of mac-roman-lower and
156 mac-roman-upper, require dired, and define instead of set
157 mac-ready-for-drag-n-drop to avoid compilation error.
159 2000-10-23 Andrew Innes <andrewi@gnu.org>
161 * files.el (make-backup-file-name-1) [windowsnt, ms-dos]: Remove
162 superfluous calls to subst-char-in-string; instead apply
163 expand-file-name after convert-standard-filename to ensure
164 expected directory separators are used.
166 2000-10-23 Eli Zaretskii <eliz@is.elta.co.il>
168 * info.el (Info-file-list-for-emacs): Add an entry for Eshell.
170 2000-10-23 Dave Love <fx@gnu.org>
172 * toolbar/tool-bar.el (tool-bar-add-item-from-menu)
173 (tool-bar-add-item): Set foreground and background for XBM icons.
175 * international/latin1-disp.el (latin1-char-displayable-p): New
176 function (from Handa).
177 (latin1-display-check-font): Use it.
179 * imenu.el (imenu--create-keymap-2): Build menu with menu-item
180 using :key-sequence, making it much more usable. Use nconc, not
182 (imenu--create-keymap-1): Avoid append.
184 * textmodes/refill.el: Remove bits redundant with define-minor-mode.
186 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
188 [the following changes fix a bug where `define-minor-mode' didn't
189 correctly generate :require clauses for defcustoms in compiled files]
190 * emacs-lisp/bytecomp.el (byte-compile-last-logged-file): New variable.
191 (byte-compile-log-file, byte-compile-log-1): Don't set
192 `byte-compile-current-file' to nil. Instead set
193 `byte-compile-last-logged-file' to it. Test whether
194 byte-compile-current-file equals byte-compile-last-logged-file
195 instead of whether its nil.
196 (byte-compile-file): Bind `byte-compile-last-logged-file' to nil.
198 2000-10-23 Stefan Monnier <monnier@cs.yale.edu>
200 * textmodes/refill.el: Fix var names in doc.
201 (refill-mode): Don't bother with make-local-hook anymore.
203 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
205 * faces.el (face-user-default-spec, face-default-spec): New functions.
206 (face-spec-choose, face-spec-set): Document nil-SPEC behavior.
207 (frame-set-background-mode, face-set-after-frame-default):
208 Use `face-user-default-spec'. Simplify code slightly.
210 * woman.el (woman-italic-face, woman-bold-face)
211 (woman-unknown-face): Add dark-background variants.
212 (woman-default-faces): Renamed from `woman-colour-faces'.
213 Set using the stored defaults, rather than using hard-wired colors.
214 (woman-monochrome-faces): Renamed from `woman-black-faces'.
215 Just make the foreground `unspecified' rather than "black".
216 (woman-menu): Rename menu entries accordingly.
218 * faces.el (header-line): Make more reasonable on mono/grayscale
221 2000-10-23 Andrew Choi <akochoi@i-cable.com>
223 * cus-edit.el (custom-button-face): Use 3D look for mac.
224 (custom-button-pressed-face): Likewise.
226 * faces.el (set-face-attributes-from-resources): Handle mac frames
227 in the same way as x and w32 frames.
228 (face-valid-attribute-values): Likewise.
229 (read-face-attribute): Likewise.
230 (defined-colors): Likewise.
231 (color-defined-p): Likewise.
232 (color-values): Likewise.
233 (display-grayscale-p): Likewise.
234 (face-set-after-frame-default): Likewise.
235 (mode-line): Same default face as for x and w32.
236 (tool-bar): Likewise.
238 * frame.el: Remove call to frame-notice-user-settings at end of
241 * info.el (Info-fontify-node): make underlines invisible for mac
242 as for x, pc, and w32 frame types.
244 * term/mac-win.el: New file.
246 2000-10-22 Dave Love <fx@gnu.org>
248 * textmodes/refill.el: New file.
250 2000-10-22 Andre Spiegel <spiegel@gnu.org>
252 * vc-hooks.el (vc-version-backup-file-name): New optional args
254 (vc-delete-automatic-version-backups, vc-make-version-backup):
256 (vc-before-save): Use the latter.
257 (vc-default-make-version-backups-p): Added `-p' suffix to avoid
260 * vc-cvs.el (vc-cvs-make-version-backups-p): Added `-p' suffix as
261 expected by vc[-hooks].el.
263 * vc.el (vc-checkout): Added `-p' suffix in call to
264 vc-make-version-backups-p; use vc-make-version-backup to actually
266 (vc-version-other-window, vc-version-backup-file): Handle both
267 automatic and manual backups.
268 (vc-revert-file): Use vc-delete-automatic-version-backups to get rid
271 2000-10-22 Miles Bader <miles@gnu.org>
273 * comint.el (comint-highlight-input, comint-highlight-prompt):
274 Renamed, `-face' at end removed.
275 (comint-send-input, comint-output-filter): Use renamed faces.
277 * window.el (fit-window-to-buffer): Change defaulting of
280 * faces.el (color-values, color-defined-p): Use `member', not
281 `memq', because it works correctly for strings.
282 (frame-set-background-mode): Actually, "unspecified-fg" and
283 "unspecified-bg" *are* strings. Use `member', not `memq', and
284 `equal', not `eq', when a string value is possible.
286 2000-10-21 Eli Zaretskii <eliz@is.elta.co.il>
288 * info.el (Info-file-list-for-emacs): Add an entry for Speedbar.
290 2000-10-21 Stefan Monnier <monnier@cs.yale.edu>
292 * progmodes/sh-script.el (sh-mode-map): Remove bindings for
293 sh-electric-rparen, sh-electric-less and sh-electric-hash.
294 (sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
295 (sh-font-lock-heredoc, sh-font-lock-paren): New funs.
296 (sh-font-lock-syntactic-keywords): Use them.
297 (sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
298 (sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
299 (sh-mode): Don't override font-lock-unfontify-region-function.
300 Use a copy of sh-font-lock-syntactic-keywords.
301 (sh-set-shell): Don't set sh-electric-rparen-needed-here.
302 Don't call sh-scan-buffer since font-lock does it on the fly.
303 (sh-get-indent-info): Use `face' rather than `syntax-table'
304 text-property to detect here-documents.
305 Replace sh-special-syntax with sh-st-punc.
306 (sh-prev-line): Use `face' rather than `syntax-table'
307 text-property to skip over here-documents.
308 (sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
309 (sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
310 (sh-electric-less, sh-set-here-doc-region)
311 (sh-remove-our-text-properties, sh-search-word, sh-scan-case)
312 (sh-scan-buffer, sh-rescan-buffer): Remove.
314 2000-10-21 Andrew Innes <andrewi@gnu.org>
316 * w32-fns.el (make-auto-save-file-name): Don't apply conversion to
317 remote (ange-ftp) file names.
319 2000-10-21 Miles Bader <miles@gnu.org>
321 * window.el (fit-window-to-buffer): New function.
322 (shrink-window-if-larger-than-buffer): Use it.
323 (window-text-height): Don't expect minibuffers to have mode-lines.
325 * help.el (resize-temp-buffer-window): Use `fit-window-to-buffer'.
326 * international/quail.el (quail-update-guidance): Use
327 `fit-window-to-buffer' instead of `set-window-text-height'.
329 * international/quail.el (quail-show-guidance-buf): Make sure
330 guidance window really has enough room.
331 (quail-update-guidance): If quail-guidance-win is already shown,
332 make sure its height is OK.
334 * window.el (window-text-height, set-window-text-height):
336 (shrink-window-if-larger-than-buffer): Use `window-text-height'
337 instead of `window-height' & `mode-line-window-height-fudge'.
338 (mode-line-window-height-fudge): Add FACE parameter.
339 * help.el (resize-temp-buffer-window): Use `set-window-text-height'
340 instead of `enlarge-window' & `mode-line-window-height-fudge'.
342 2000-10-20 Miles Bader <miles@gnu.org>
344 * window.el (height-affecting-face-attributes): Use `defconst'.
346 * textmodes/ispell.el (ispell-mode-line-window-height-fudge):
347 New function, conditionally aliased to `mode-line-window-height-fudge'.
348 (ispell-help): Use it.
349 (ispell-choices-win-default-height): Don't include mode-line fudge.
350 (ispell-choices-win-default-height): New function.
351 (ispell-show-choices, ispell-command-loop): Use function
352 `ispell-choices-win-default-height' instead of variable.
354 2000-10-20 Miles Bader <miles@lsi.nec.co.jp>
356 * window.el (mode-line-window-height-fudge): New variable.
357 (height-affecting-face-attributes): New variable.
358 (mode-line-window-height-fudge): New function.
359 (shrink-window-if-larger-than-buffer): Use it.
360 * help.el (resize-temp-buffer-window): Likewise.
362 * info.el (Info-fontify-node): Add support for @subsubsection
363 titles, which use `Info-title-4-face'.
364 (Info-title-4-face): New face.
365 (Info-title-3-face): Inherit from Info-title-4-face instead of
368 2000-10-19 Jason Rumney <jasonr@gnu.org>
370 * dired.el (dired-insert-directory): Do not let errors signalled by
371 attempt to run dired-free-space-program prevent dired from working.
373 2000-10-19 Stefan Monnier <monnier@cs.yale.edu>
375 * diff-mode.el (diff-find-file-name): Fix regex subgroup number.
377 2000-10-19 Gerd Moellmann <gerd@gnu.org>
379 * dirtrack.el (dirtrack): Fix call to run-hooks.
381 * cmuscheme.el (cmuscheme-program-name): Renamed from
382 scheme-program-name because xscheme.el contains a defcustom with
383 the same name. As a consequence, customizing group `cmuscheme'
384 loaded `xscheme' which redefined run-scheme.
385 (run-scheme): Use cmuscheme-program-name.
387 * ps-print.el (ps-print-emacs-type): Move into the
390 * play/doctor.el (doctor-death): Update the Samaritans'
391 anonymous address, and add a website for Befrienders International.
393 2000-10-19 Vinicius Jose Latorre <vinicius@cpqd.com.br>
395 * ps-print.el: Even/odd pages fix. Fix little bug on XEmacs.
396 Avoid compilation gripes. Doc fix.
397 (ps-print-version): New version number (6.2).
398 (ps-x-color-instance-p, ps-x-color-instance-rgb-components)
399 (ps-x-color-name, ps-x-color-specifier-p, ps-x-copy-coding-system)
400 (ps-x-device-class, ps-x-extent-end-position, ps-x-extent-face)
401 (ps-x-extent-priority, ps-x-extent-start-position)
402 (ps-x-face-font-instance, ps-x-find-coding-system)
403 (ps-x-font-instance-properties, ps-x-make-color-instance)
404 (ps-x-map-extents): Alias for functions without the prefix `ps-x-', to
405 avoid compilation gripes without defining functions.
406 (ps-e-find-composition): Alias for function find-composition, to have a
407 suitable function depending on Emacs version.
408 (ps-color-device, ps-color-values, ps-face-foreground-name)
409 (ps-face-background-name, ps-face-bold-p, ps-face-italic-p, ps-mapper)
410 (ps-extent-sorter, ps-xemacs-face-kind-p, ps-xemacs-color-name)
411 (ps-print-ensure-fontified): Function definitions surrounded by
412 `eval-and-compile' to avoid compilation gripes.
413 (ps-font-lock-face-attributes): `font-lock-face-attributes' evaluated
414 by symbol-value to avoid compilation gripes.
415 (ps-end-file, ps-header-sheet, ps-plot-region): Even/odd pages fix.
416 (ps-generate-postscript-with-faces): Fix little bug on XEmacs.
418 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
420 * startup.el (normal-top-level): Call `frame-set-background-mode'
421 after `frame-notice-user-settings' because the latter doesn't call
424 * faces.el (frame-set-background-mode): `unspecified' &c are
425 symbols, not strings.
427 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
429 * term/tty-colors.el (color-name-rgb-alist): Add a comment explaining
430 why some "light*" colors are deliberately absent from the alist.
432 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face):
433 Change colors for tty's, as suggested by Miles Bader.
435 2000-10-19 Kenichi Handa <handa@etl.go.jp>
437 * international/fontset.el: Use registry "MuleTibetan-2" for Tibetan.
438 (ccl-encode-mule-unicode-0100-24ff): New CCL program. Register it
439 for ISO10646-1 fonts.
440 (x-font-name-charset-alist): Add an entry for "iso10646-1".
442 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
444 * faces.el (frame-set-background-mode): If a tty frame defines a
445 background color, use that to compute the background mode, instead
446 of always defaulting to "dark".
448 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
450 * comint.el (comint-write-output): New function.
451 (comint-mode-map): Add it to the menu.
452 Bind `C-c C-s' to comint-write-output.
454 2000-10-18 Gerd Moellmann <gerd@gnu.org>
456 * startup.el (fancy-splash-screens): Set buffer-undo-list to t.
457 Use fancy-splash-delay.
459 2000-10-18 Alex Schroeder <alex@gnu.org>
461 * progmodes/sql.el (sql-sybase-options): New option.
462 (sql-sybase): Use it. Add sql-database to the list of parameters
463 provided for login. The options -w 2048 -n are not used any more.
465 * comint.el (comint-read-input-ring): Bugfix such that the first
466 and the last entry of the input ring file are not lost.
468 2000-10-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
470 * ps-print.el: Internal variable changes to defcustom,
471 make-local-hook changes to defvar. Doc fix.
472 (ps-print-version): New version number (6.1).
473 (ps-setup, ps-do-despool): Code fix.
474 (ps-printer-name): Customization fix.
475 (ps-printer-name-option): Now is a defcustom instead of an
477 (ps-print-hook, ps-print-begin-sheet-hook, ps-print-begin-page-hook)
478 (ps-print-begin-column-hook): Now are defvar instead of
481 2000-10-18 Miles Bader <miles@gnu.org>
483 * comint.el (comint-delete-output): Renamed from `comint-kill-output'.
484 (comint-kill-output): Changed into an alias for `comint-delete-output',
486 (comint-mode-map): Rename references to comint-kill-output.
488 2000-10-18 Eli Zaretskii <eliz@is.elta.co.il>
490 * diff-mode.el (diff-header-face, diff-file-header-face)
491 (diff-changed-face): Add bold and italic attributes to tty faces.
492 (diff-function-face): New face.
493 (diff-font-lock-keywords): Use it.
495 2000-10-18 Miles Bader <miles@lsi.nec.co.jp>
497 * comint.el (comint-output-filter): Fixup comint-last-input-end too.
498 Remove commented-out call to force-mode-line-update.
499 (comint-kill-output): Use `forward-line 0' instead of
500 beginning-of-line to make sure we get past the prompt.
502 2000-10-17 Stefan Monnier <monnier@cs.yale.edu>
504 * diff-mode.el (diff-header-face, diff-file-header-face):
505 Add specific setting for dark background.
506 (diff-context-face): Renamed from diff-comment-face.
507 Set explicitly rather than inheriting from font-lock-comment-face.
509 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
511 * startup.el (command-line): Move the code which sets the default
512 TTY colors to before before-init-hook.
514 2000-10-17 Gerd Moellmann <gerd@gnu.org>
516 * jit-lock.el (jit-lock-stealth-time): Doc fix.
518 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
520 * files.el (auto-mode-alist): Add .dif and .pat as diff-mode
521 extensions, for MS-DOS.
523 * diff-mode.el (diff-header-face, diff-file-header-face)
524 (diff-changed-face): Define tty-specific colors.
526 2000-10-17 Gerd Moellmann <gerd@gnu.org>
528 * startup.el (fancy-splash-text): Realign the text.
530 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
532 * font-lock.el (font-lock-comment-face): Define a separate default
533 for dark-background tty's.
535 2000-10-17 Miles Bader <miles@gnu.org>
537 * help.el (resize-temp-buffer-window): Add hack to avoid last line
538 being obscured by whizzy mode-lines on graphics displays.
540 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
542 * info.el (Info-title-1-face, Info-title-2-face)
543 (Info-title-3-face): Define colors for tty's.
544 (info-header-node): Remove unneeded tty-specific definition.
546 2000-10-16 Eli Zaretskii <eliz@is.elta.co.il>
548 * term/pc-win.el (msdos-handle-reverse-video): Don't remove
549 reverse from the frame parameters, and don't invert foreground and
552 2000-10-16 Miles Bader <miles@gnu.org>
554 * info.el (Info-set-mode-line): Use `%b' instead of hardwired
555 string "*Info*". Call propertized-buffer-identification to spruce
558 2000-10-16 Gerd Moellmann <gerd@gnu.org>
560 * help.el: Provide `help' for the sake of define-minor-mode
561 which generates defcustoms with requires.
563 * jit-lock.el (jit-lock-after-change): If we're in text that
564 matches a multi-line font-lock pattern, make sure the whole text
567 * emacs-lisp/authors.el (authors-add): Don't add an entry if
568 author's name is unknown.
570 * eshell/esh-var.el, eshell/esh-util.el, eshell/esh-test.el,
571 * eshell/esh-proc.el, eshell/esh-opt.el, eshell/esh-mode.el,
572 * eshell/esh-maint.el, eshell/esh-io.el, eshell/esh-ext.el,
573 * eshell/esh-cmd.el, eshell/esh-arg.el, eshell/em-xtra.el,
574 * eshell/em-unix.el, eshell/em-term.el, eshell/em-smart.el,
575 * eshell/em-script.el, eshell/em-rebind.el, eshell/em-prompt.el,
576 * eshell/em-pred.el, eshell/em-ls.el, eshell/em-hist.el,
577 * eshell/em-glob.el, shell/em-dirs.el, eshell/em-cmpl.el,
578 * eshell/em-basic.el, eshell/em-banner.el, eshell/em-alias.el:
579 Add author information.
581 2000-10-16 Miles Bader <miles@lsi.nec.co.jp>
583 * toolbar/up_arrow.xpm, toolbar/right_arrow.xpm:
584 * toolbar/left_arrow.xpm, toolbar/home.xpm: Re-convert from
585 full-color version (using the Gimp) to eliminate dithering artifacts.
587 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
589 * font-lock.el (font-lock-syntactic-keywords): Fix docstring.
591 * simple.el (syntax-flag-table, string-to-syntax): Remove.
593 2000-10-15 Dave Love <fx@gnu.org>
595 * progmodes/sh-script.el: Require skeleton and comint when
598 * pcomplete.el (pcomplete) <defgroup>: Add :version.
600 * whitespace.el: Doc fixes.
601 (top-level): Don't add hooks here.
602 (whitespace-running-emacs): Deleted.
603 (timer): Don't require.
604 (whitespace): Add back :version conditional on xemacs test.
605 (whitespace-spacetab-regexp, whitespace-indent-regexp)
606 (whitespace-ateol-regexp, whitespace-modes): Fix custom type.
607 (whitespace-force-mode-line-update, whitespace-refresh-rescan-list)
608 (whitespace-tickle-timer, whitespace-rescan-files-in-buffers):
609 Avoid specific xemacs test.
610 (whitespace-global-mode): New option.
611 (whitespace-global-mode): New command.
612 (whitespace-unload-hook): New function.
614 * info.el (Info-mouse-follow-nearest-node): Use mouse-set-point.
615 (Info-fontify-node, Info-goto-node, Info-mode-menu)
616 (Info-fontify-node): `Goto' goes to `Go to'.
617 (Info-fontify-node): Add help-echo to xref links.
619 2000-10-15 Eli Zaretskii <eliz@is.elta.co.il>
621 * eshell/em-unix.el (eshell-du-prefer-over-ange): Doc fix.
623 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
625 * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
626 Use plist-get and allow :inherit.
628 * emacs-lisp/cl-macs.el (cl-do-arglist):
629 Use plist-get and plist-member instead of memq.
631 * emacs-lisp/ewoc.el (ewoc-location): New function.
632 (ewoc-enter-after, ewoc-enter-before): Document return value.
633 * pcvs.el (cvs-make-cvs-buffer, cvs-run-process):
634 Don't need make-local-hook any more.
635 (cvs-addto-collection): Return the new tin.
636 (cvs-mode-insert): Jump to the new line.
638 * jit-lock.el (jit-lock-fontify-buffer): Remove.
640 * arc-mode.el (archive-zoo-summarize): Fix from gnu.emacs.bug.
642 * font-lock.el (font-lock-syntactically-fontified): New var.
643 (font-lock-fontify-syntactic-keywords-region): Use it.
644 (font-lock-mode): Fix docstring. Don't need make-local-hook anymore.
646 * diff-mode.el (diff-find-file-name): Fix regexp.
648 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
649 (cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.
651 * progmodes/sh-script.el (sh-imenu-generic-expression): Fix.
652 (sh-mode-syntax-table): Add punctuation syntax for < and >.
653 (sh-mode): Don't make all vars local here.
655 (sh-set-shell): Use dolist. Don't set indent-region-function.
656 (sh-mode-syntax-table): Use pop.
657 (sh-remember-variable): Use push.
658 (sh-help-string-for-variable): Use memq.
659 (sh-safe-backward-sexp): Remove.
660 (sh-safe-forward-sexp): Add ARG.
661 (sh-get-indent-info, sh-prev-stmt): Use it.
662 (sh-prev-line): Simplify by using forward-comment.
663 (sh-this-is-a-continuation): Simplify.
664 (sh-learn-buffer-indent): Use dolist.
665 (sh-do-nothing): Remove.
666 (sh-set-char-syntax, sh-set-here-doc-region):
667 Use inhibit-modification-hooks.
668 (sh-name-style): Use mapcar and push.
669 (sh-load-style): Use dolist.
670 (sh-save-styles-to-buffer): Use with-current-buffer and pp.
671 (sh-case, sh-while-getopts): Use propertize directly rather
672 than sh-electric-rparen.
674 2000-10-14 Stefan Monnier <monnier@cs.yale.edu>
676 * textmodes/tex-mode.el: Require CL when compiling.
677 (tex-mode-syntax-table): Init immediately.
678 (tex-mode-map): Bind M-RET to latex-insert-item.
679 (latex-mode): Set indent-line-function to latex-indent.
680 (tex-common-initialization): Don't setup the syntax-table any more.
681 (latex-insert-item): New skeleton.
682 (tex-next-unmatched-end): Fix copy/paste braino.
683 (latex-syntax-after, latex-skip-close-parens, latex-down-list)
684 (latex-indent, latex-find-indent): New functions.
685 (tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table)
686 (tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
687 (tex-compilation-parse-errors): Use with-syntax-table.
689 2000-10-15 Miles Bader <miles@gnu.org>
691 * font-lock.el (font-lock-comment-face): Change dark-background,
692 color, non-tty, default to `chocolate1'.
694 2000-10-13 John Wiegley <johnw@gnu.org>
696 * eshell/esh-util.el (require): Added a missing `require' form,
697 needed when compiling (for an ange-ftp macro definition).
699 2000-10-13 Dave Love <fx@gnu.org>
701 * toolbar/paste.pbm, toolbar/saveas.pbm: Retouch.
703 2000-10-13 Gerd Moellmann <gerd@gnu.org>
705 * emacs-lisp/lisp.el (down-list, backward-up-list, up-list): Doc
708 * toolbar/*.xpm: Reduce to max. 8 colors (mogrify -colorspace
709 transparent -colors 8).
711 2000-10-13 Stephen Gildea <gildea@alum.mit.edu>
713 * time-stamp.el (time-stamp): Fixed bug in new multi-line code
714 that breaks with old list format timestamps.
715 (time-stamp-warn-inactive, time-stamp-old-format-warn)
716 (time-stamp-count, time-stamp-conversion-warn): Improved doc
719 2000-10-13 John Wiegley <johnw@gnu.org>
721 * align.el, pcomplete.el, calendar/timeclock.el,
722 eshell/esh-module.el, eshell/eshell.el: Removed URL reference.
724 * calendar/timeclock.el (timeclock-find-discrep): A fix to same
725 faulty math, where holiday hours were being computing as seconds.
727 2000-10-13 John Wiegley <johnw@gnu.org>
729 * desktop.el (desktop-buffer-modes-to-save): Added a global for
730 specifying what "other" kinds of buffers should be saved. This
731 used to be hard-coded.
732 (desktop-buffer-misc-functions): A global for specifying how
733 auxiliary data should be determined for special buffer types.
734 (desktop-save-buffer-p): Use `desktop-buffer-modes-to-save',
735 instead of hard-coding the special buffer types.
736 (desktop-save): Run `desktop-buffer-misc-functions' to gather
737 auxiliary data, instead of hard-coding for Info buffers and dired.
738 (desktop-buffer-info-misc-data): Aux function for determining Info
739 buffer auxiliary info.
740 (desktop-buffer-dired-misc-data): Likewise, but for dired buffers.
741 (desktop-buffer-info): Changed this function to use the info
743 (desktop-create-buffer): Be a little more careful about what
744 `minor-mode' means before calling it. This is important for some
747 2000-10-13 John Wiegley <johnw@gnu.org>
749 * eshell/esh-util.el: Added a global form which declares an
750 autoload for `parse-time-string', if that function is not already
751 defined, and if parse-time.el is available on the user's system.
753 * eshell/em-ls.el (eshell-ls-applicable): Extended this function
754 to be aware of ange-ftp user info.
755 (eshell-do-ls): Bind `ange-cache'. Also, use
756 `eshell-file-attributes'.
757 (eshell-ls-annotate): Use `eshell-file-attributes'.
758 (eshell-ls-file): Made the user-id printing code a bit smarter.
760 * eshell/esh-util.el (eshell-ange-ls-uids): Added variable, to
761 allow identification of alias user ids in remote directories.
762 It's manual, but there's no other way to know when the current
763 user on the local machine, is also the owning user on the remote
765 (fboundp): Bind `ange-cache'.
766 (eshell-directory-files-and-attributes): Re-organized the logic a
767 bit to use `eshell-file-attributes' instead of `file-attributes'.
768 The former is more sensitive to directories that are read via FTP,
769 and knows how to use ange-ftp to determine full attribute
770 information, instead of just the name and last modtime.
771 (eshell-current-ange-uids): Return the current user id when in a
773 (eshell-parse-ange-ls): Parse a full directory listing that has
774 been returned by ange-ftp.
775 (eshell-file-attributes): This beefed up version of
776 `file-attributes' is only special if the user is currently in a
777 remote directory, in which case it does a lot of work to find out
778 what the real attributes of a file are, as they appear on the
779 remote machine. This makes usage of remote directories (i.e.,
780 ange-ftp pathnames) much more useful. You can now use Eshell as a
781 full-fledged FTP client, with much more manipulation ability than
784 * eshell/em-unix.el (eshell-du-prefer-over-ange): Added a new
785 variable, which means that Eshell's du should always be preferred
786 in remote directories.
787 (eshell-shuffle-files): Use `eshell-file-attributes', rather than
788 just `file-attributes'.
789 (eshell-mvcp-template): Bind `ange-cache', to improve performance
790 when reading remote directories. This is an Eshell-specific
791 variable (not part of ange-ftp).
792 (eshell/ln): Bind `ange-cache'.
793 (eshell/du): Added some extra logic for determining when to use
794 Eshell's du (which is slow), and when to use the external version
795 (which may or may not exist).
797 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof): Call
798 `eshell-interactive-process', rather than using
799 `get-buffer-process', since backgrounded processes don't count in
800 the context of this function's logic.
802 * eshell/esh-arg.el (eshell-parse-double-quote): Moved a call to
803 `forward-char', so that null strings are parsed correctly.
805 2000-09-13 John Wiegley <johnw@gnu.org>
807 * eshell/em-pred.el (eshell-pred-file-type,
808 eshell-pred-file-links, eshell-pred-file-size): Use
809 `eshell-file-attributes'. This is more correct over ange-ftp.
811 * eshell/em-glob.el (eshell-extended-glob): Bind `ange-cache', so
812 that remote file globbing is more efficient.
814 * eshell/em-ls.el (eshell-ls-dir): Use `expand-file-name' when
815 gathering the files and attributes within a directory.
817 * eshell/em-unix.el (eshell/cat): If any of the files passed on
818 the command line is a special file (not a regular file, directory
819 or symlink), always attempt to call the external version of cat.
821 2000-09-13 John Wiegley <johnw@gnu.org>
823 * eshell/esh-mode.el (eshell-find-tag): Corrections to the
824 Eshell-friendly version of find-tag.
826 2000-10-13 Miles Bader <miles@lsi.nec.co.jp>
828 * image-file.el (image-file-name-extensions)
829 (image-file-name-regexps): Add autoload cookies.
831 2000-10-13 Kenichi Handa <handa@etl.go.jp>
833 * international/mule-cmds.el (select-safe-coding-system): If FROM
834 is string, show it in *Warning* buffer.
836 2000-10-13 Eli Zaretskii <eliz@is.elta.co.il>
838 * startup.el (normal-top-level): Use display-popup-menus-p instead
840 (command-line): Use display-graphic-p instead of window-system.
841 (command-line-1): Use display-popup-menus-p and display-mouse-p
842 instead of window-system.
844 2000-10-12 Sam Steingold <sds@gnu.org>
846 * tooltip.el (tooltip-use-echo-area): New user variable.
847 (tooltip-show): Use it to choose between `x-show-tip' and `message'.
849 2000-10-12 Dave Love <fx@gnu.org>
851 * recentf.el: Maintainer's checkdoc fixes.
853 * startup.el (normal-top-level-add-subdirs-to-load-path): Use
854 character class, not ASCII when matching file names.
855 (fancy-splash-head): Add trailing slash to URL.
856 (command-line): Don't require XPM support for toolbar.
858 * progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
859 (cperl-invalid-face): Revert last change.
860 (cperl-init-faces): Quote cperl-invalid-face.
862 2000-10-12 Kenichi Handa <handa@etl.go.jp>
864 * startup.el (fancy-splash-text): Remove superfluous quote.
866 2000-10-12 Gerd Moellmann <gerd@gnu.org>
868 * startup.el (fancy-splash-screens): Don't add a pre-command hook.
869 (fancy-splash-pre-command, fancy-splash-pending-command): Removed.
870 (command-line-1): Don't use fancy-splash-pending-command.
871 (fancy-splash-screens-1): Goto point-min after inserting text.
873 * calendar/diary-lib.el (diary-cyclic): Doc fix from Ed Reingold.
875 * progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
876 instead of shared-lisp-mode-map.
878 2000-10-12 Miles Bader <miles@lsi.nec.co.jp>
880 * faces.el (header-line): Change tty-variant to use underlining.
882 * isearch.el (isearch-set-lazy-highlight-faces-at): New function.
883 (isearch-highlight): Restore lazy-isearch face properties at old
884 position, and suppress them at new position.
885 (isearch-dehighlight): Restore lazy-isearch face properties.
886 (isearch-lazy-highlight-update): Add lazy-isearch overlays even
887 over the real isearch overlay, but in that case, don't give it a
888 face property. Use `push'.
890 2000-10-12 Kenichi Handa <handa@etl.go.jp>
892 * man.el (Man-getpage-in-background): Fix previous change.
893 Decode the process output only when we are in multibyte mode.
895 2000-10-11 Dave Love <fx@gnu.org>
897 * info.el (Info-mode-menu): Fix some help.
898 (info-tool-bar-map): Add entry for Info-last.
900 * toolbar/cancel.xpm, toolbar/jump_to.xpm, toolbar/right_arrow.xpm:
901 * toolbar/close.xpm, toolbar/left_arrow.xpm, toolbar/save.xpm:
902 * toolbar/copy.xpm, toolbar/mail.xpm, toolbar/saveas.xpm:
903 * toolbar/cut.xpm, toolbar/mail_compose.xpm:
904 * toolbar/search-replace.xpm, toolbar/exit.xpm:
905 * toolbar/mail_send.xpm, toolbar/search.xpm, toolbar/fld_open.xpm:
906 * toolbar/new.xpm, toolbar/spell.xpm, toolbar/help.xpm:
907 * toolbar/open.xpm, toolbar/undo.xpm, toolbar/home.xpm:
908 * toolbar/paste.xpm, toolbar/up_arrow.xpm, toolbar/index.xpm:
909 * toolbar/preferences.xpm, toolbar/info.xpm, toolbar/print.xpm:
910 Reduce colour requirements to 25 overall. (Probably wants
911 revisiting from the originals to reduce further.)
913 2000-10-11 Eli Zaretskii <eliz@is.elta.co.il>
915 * hexl.el (hexlify-buffer): Bind coding-system-for-write to
916 buffer-file-coding-system, instead of raw-text.
917 (dehexlify-buffer): Bind coding-system-for-read to
918 buffer-file-coding-system, instead of raw-text.
920 2000-10-11 Sam Steingold <sds@gnu.org>
922 * progmodes/cperl-mode.el (cperl-invalid-face): double-quote
923 `underline' - fixes the bug introduced on 2000-09-21.
925 2000-10-11 Dave Love <fx@gnu.org>
927 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Avoid
929 (scheme-mode): Doc fix.
930 (scheme-font-lock-keywords-1): Match `define-syntax'.
932 2000-10-11 Miles Bader <miles@lsi.nec.co.jp>
934 * faces.el (frame-set-background-mode): Pay attention to saved
935 face specs as well as default ones. Only do anything if the
936 bg-mode or display-type has actually changed. Use `dolist'.
937 (region): Make dark-background `region' face less in-your-face.
939 2000-10-10 Sam Steingold <sds@gnu.org>
941 * chistory.el, ielm.el, ledit.el:
942 * progmodes/inf-lisp.el, progmodes/scheme.el:
943 Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
945 2000-10-10 Stefan Monnier <monnier@cs.yale.edu>
947 * textmodes/texinfo.el: Update copyright and fix typo.
949 * desktop.el (desktop-modes-not-to-save): New var.
950 (desktop-save-buffer-p): Use it.
951 Also, obey desktop-buffers-not-to-save even for non-file buffers.
952 (desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
954 2000-10-10 Dave Love <fx@gnu.org>
956 * toolbar/tool-bar.el (tool-bar-add-item)
957 (tool-bar-add-item-from-menu): Don't favour XPM icons on mono
960 * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
961 * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
962 * toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
963 * toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
964 * toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
965 * toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
966 * toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
967 * toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
968 * toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
969 * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
970 the .xpms; probably need retouching.
972 2000-10-10 Miles Bader <miles@lsi.nec.co.jp>
974 * subr.el (add-to-list): Add optional argument APPEND.
975 * battery.el (display-battery): Use `add-to-list'.
977 2000-10-09 Thien-Thi Nguyen <ttn@gnu.org>
979 * play/zone.el (zone-timer, zone-wc-tbl): Rework
980 these vars as symbol properties.
981 (zone, zone-when-idle, zone-leave-me-alone)
982 (zone-pgm-whack-chars): Use new symbol properties.
984 * battery.el (display-battery): Doc spelling fix.
986 * vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
989 2000-10-09 Dave Love <fx@gnu.org>
991 * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
992 has been initialized before calling tool-bar-setup.
993 (tool-bar-add-item-from-menu): Add autoload cookie.
995 2000-10-09 Eli Zaretskii <eliz@is.elta.co.il>
997 * menu-bar.el (send-mail-item-name): New function.
998 (menu-bar-tools-menu) <compose-mail>: Use it to display the value
999 of mail-user-agent in the menu. Don't display the "Send Mail"
1000 item if mail-user-agent is nil or its value is ignore.
1001 (menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
1002 if read-mail-command is nil or its value is ignore.
1004 * mouse.el ([header-line mouse-1]): Bind to mouse-select-window.
1006 2000-10-09 Miles Bader <miles@gnu.org>
1008 * toolbar/up_arrow.xpm: Flip to put highlight in correct place.
1010 * toolbar/left_arrow.xpm: Correct image size.
1012 * jka-compr.el: Don't call `jka-compr-install' when loading (it
1013 will be done by the definition of `auto-compression-mode' if
1014 necessary. Move code to uninstall existing file-name handler
1015 before definition of `auto-compression-mode'.
1017 * image-file.el (auto-image-file-mode): Move to the end of the
1018 file, because `define-minor-mode' actually calls the mode-function
1019 if the associated variable is non-nil, which requires that all
1020 needed functions be already defined.
1022 * mouse.el (popup-menu): Balance parens.
1024 2000-10-08 Stefan Monnier <monnier@cs.yale.edu>
1026 * mouse.el (popup-menu): Move the command call outside the loop
1027 so that popup-menu returns whatever the command returns.
1029 * progmodes/etags.el: Docstring fixes. Maintainer line updated.
1030 (initialize-new-tags-table): Use run-hook-with-args-until-success.
1031 (find-tag): Use pop-to-buffer if switch-to-buffer failed.
1032 (tags-table-format-functions): Renamed from tags-table-format-hooks.
1034 * vc.el (vc-version-diff): diff-switches can be a list.
1035 Use relative filenames for prettier output.
1037 * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
1038 (vc-post-command-functions): Remove old-VC compatibility code.
1040 * newcomment.el (comment-indent-default): Autoload.
1042 * font-lock.el (font-lock-defaults): Make buffer-local.
1043 (font-lock-turn-on-thing-lock): Use jit-lock-refontify.
1044 (font-lock-choose-keywords):
1045 Ignore LEVEL unless KEYWORDS is a list of syms.
1046 (c-keywords, c++-keywords, objc-keywords, java-keywords):
1047 Don't wrap regexp-opt things in \(...\) unnecessarily.
1049 * jit-lock.el: Don't require font-lock any more.
1050 (jit-lock-functions): Make buffer-local.
1051 (jit-lock-saved-fontify-buffer-function): Remove.
1052 (jit-lock-mode): Remove autoload cookie.
1053 Remove font-lock specific code.
1054 (jit-lock-unregister): Don't bother handling complex hooks any more.
1055 (jit-lock-refontify): New function.
1056 (jit-lock-fontify-buffer): Use it.
1057 (jit-lock-function-1): Replaced by jit-lock-fontify-now.
1058 (jit-lock-fontify-now): Renamed from jit-lock-function-1.
1059 Add optional args START and END.
1060 Never call font-lock-fontify-region directly.
1061 (jit-lock-function, jit-lock-stealth-fontify): Use it.
1063 * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.
1065 2000-10-08 Dave Love <fx@gnu.org>
1067 * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
1069 * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
1071 * play/studly.el (studlify-region, studlify-word): Add autoload
1074 * play/morse.el (morse-region, unmorse-region): Add autoload
1077 * play/spook.el (spook-phrases-file): Use expand-file-name, not
1080 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
1081 insist on symbols starting with word syntax.
1082 (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
1083 (eval-defun-1): Doc fix.
1084 (indent-sexp): Use nconc to build up indent-stack.
1086 * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
1087 Gnus with little use.
1088 (mail-setup-hook): Add mail-abbrevs-setup to options.
1090 * recentf.el: Doc fixes.
1092 * vcursor.el (vcursor-cs-binding): Remove compatibility code.
1095 * timezone.el (timezone-parse-date): Doc fix. Fix regexps for (5)
1096 without timezone and (8) with timezone to enforce some whitespace.
1097 Simplify code somewhat.
1099 * options.el (list-options): Doc that you should use customize.
1101 * iswitchb.el (iswitchb-mode): Add :require.
1103 * info.el (Info-goto-node, Info-menu): Doc fix.
1104 (Info-mode-menu): Bind beginning-of-buffer, Info-edit
1105 (info-tool-bar-map): New variable.
1106 (Info-mode): Use it.
1107 (Info-edit-map): Define all in defvar.
1108 (speedbar-attached-frame): Avoid compiler warning.
1110 * toolbar/tool-bar.el (tool-bar-map): Define it empty.
1111 (global-map): Bind [tool-bar] to a filtered map.
1112 (tool-bar-add-item): Remove MAP arg. Allow PBM icons.
1113 (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
1115 (tool-bar-setup): Adjust calls of tool-bar-add-item.
1117 * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
1118 * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
1119 * toolbar/right_arrow.xpm: New files. Renamed from tigert's
1120 icons, except up_arrow, which is left-arrow rotated.
1122 * imenu.el (imenu-add-to-menubar): Fix last change.
1124 2000-10-08 Peter Breton <pbreton@ne.mediaone.net>
1126 * generic-x.el (rul-generic-mode): Remove eval-when-compile
1127 statements. Suggested by Stefan Monnier <monnier@cs.yale.edu>.
1129 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
1131 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
1132 typos in doc strings.
1134 * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
1135 the doc strings how to customize Font Lock faces.
1137 * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
1138 computing growth when dragging the header line.
1140 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
1142 * simple.el (kill-line): Doc fix.
1144 2000-10-08 Miles Bader <miles@gnu.org>
1146 * faces.el (secondary-selection): Make foreground visible on tty.
1148 * jka-compr.el (auto-compression-mode): Move to the end of the
1149 file, because `define-minor-mode' actually calls the mode-function
1150 if the associated variable is non-nil, which requires that all
1151 needed functions be already defined.
1152 (with-auto-compression-mode): Add autoload cookie.
1154 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il>
1156 * files.el (find-backup-file-name) [ms-dos]: If support for long
1157 file names is not available, behave as if version-control were set
1160 2000-10-07 Dave Love <fx@gnu.org>
1162 * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
1163 (browse-url-gnome-moz): New function.
1164 (browse-url-browser-function): Use it.
1165 Suggested by Colin Walters <walters@cis.ohio-state.edu>.
1167 2000-10-07 Stefan Monnier <monnier@cs.yale.edu>
1169 * indent.el (tab-always-indent): New var.
1170 (indent-for-tab-command): Use it.
1172 * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
1173 raise an error. This way it can still default to a sane value.
1175 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
1177 * startup.el (fancy-splash-screens): Use local rather than global map.
1178 Don't use `update-menu-bindings' any more.
1179 Get rid of assumptions about keymap representation.
1181 2000-10-06 Dave Love <fx@gnu.org>
1183 * textmodes/fill.el (sentence-end-double-space)
1184 (sentence-end-without-period): Doc fix.
1185 (adaptive-fill-regexp): Purecopy.
1186 (unjustify-current-line): Use line-end-position.
1187 (fill-individual-paragraphs-prefix): Use line-beginning-position.
1189 * net/eudc-vars.el (eudc): Add :version, :link.
1191 * international/mule-conf.el (file-coding-system-alist): Use \', not $.
1193 * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
1194 Fix for define-minor-mode.
1195 (function-at-point): Alias to function-called-at-point.
1197 * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
1199 * simple.el (backward-word): Doc fix.
1201 * image-file.el (image-file-name-regexp): image-file-regexps ->
1202 image-file-name-regexps.
1203 (image-file-name-extensions): Add pbm.
1205 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
1207 * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
1208 and add filename to the names so that diff-mode can jump to source.
1210 * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
1211 (tex-font-lock-keywords, tex-font-lock-keywords-2)
1212 (tex-font-lock-keywords-1): Remove.
1213 (font-lock-turn-on-thing-lock): Use jit-lock-register.
1214 (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
1215 (font-lock-default-fontify-region):
1216 Expand beg..end correctly when just following a multiline region.
1217 (font-lock-fontify-anchored-keywords):
1218 Include the anchor text as part of the multiline.
1220 2000-10-06 Gerd Moellmann <gerd@gnu.org>
1222 * loadup.el (toplevel): Load `loaddefs' before `help' because the
1223 latter needs the autoloaded define-minor-mode macro during the
1226 * startup.el (command-line): For now, activate tool-bar-mode only
1227 if XPM images are supported.
1229 * mouse.el (mouse-drag-header-line): Don't allow resizing a
1230 window by dragging a header-line at the top of the frame; that's
1231 confusing because the header-line doesn't move.
1232 (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
1233 of treating the event as a list. Some cleanup.
1235 2000-10-06 Miles Bader <miles@gnu.org>
1237 * simple.el (display-message-or-buffer): New function.
1238 (shell-command-on-region): Use `display-message-or-buffer'.
1240 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
1243 * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
1244 (smbclient-prompt-regexp): Add usage note to doc string.
1245 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
1246 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
1247 Use add-hook for adding the comint filter function, and only do so
1248 if it's not already in the global hook list.
1249 (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
1250 to `make-local-variable'.
1251 (nslookup-font-lock-keywords): Remove prompt entry.
1252 (nslookup): Don't set the process-filter.
1253 (finger): Exit the loop correctly when the regexps list runs out.
1254 (ftp, smbclient, smbclient-list-shares):
1255 Set the real major mode immediately, not after execing.
1256 Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
1258 * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
1260 2000-10-05 Stefan Monnier <monnier@cs.yale.edu>
1262 * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
1264 * which-func.el (which-func-format): Remove spurious space.
1265 (which-func-mode): Don't make it permanent-local.
1266 (which-func-ff-hook): Allow which-func-maxout to be nil.
1267 (which-func-update): Simplify a bit. Only run if which-func-mode is t.
1268 (which-func-mode): Simplify.
1269 Use post-command-idle-hook rather than post-command-hook.
1270 Go through all buffers and update their state.
1271 (which-function): Also try add-log-current-defun-function.
1273 * vc.el (with-vc-properties): Use conses rather than length-2 lists.
1274 (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
1275 Update call to with-vc-properties accordingly.
1276 (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
1277 (vc-revert-buffer): More careful about window selection and deletion.
1278 (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
1280 * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
1281 (cvs-retrieve-revision): Reuse a pre-existing buffer.
1282 (cvs-dired-action): Change the default to quickdir.
1284 * newcomment.el (comment-indent): Delegate to indent-according-to-mode
1285 if comment-indent-function returns nil.
1286 (comment-indent-default): New function.
1287 (comment-indent-function): Use it and document the new semantics.
1289 * image-file.el: Docstring fixes.
1291 * help.el (help-xref-on-pp): Use match-string.
1292 (describe-variable): New arg BUFFER.
1293 Store the current buffer in the help-xref-stack.
1294 (temp-buffer-resize-mode): Use define-minor-mode.
1296 * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
1297 consistently with its docstring.
1298 Set jit-lock-first-unfontify-pos in an idempotent way.
1299 (jit-lock-register): Autoload and add arg CONTEXTUAL.
1301 2000-10-05 Alex Schroeder <alex@gnu.org>
1303 * sql.el (sql-mysql-options): New variable.
1304 (sql-mysql): Use it.
1306 2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
1308 * image.el (image): New group.
1310 * smerge-mode.el (smerge-mine-face, smerge-other-face)
1311 (smerge-base-face, smerge-markers-face): Add dark-background variants.
1313 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
1315 * net/net-utils.el (nslookup-font-lock-keywords)
1316 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
1317 Ignore the value of wqindow-system; always define keywords
1319 2000-10-05 Kenichi Handa <handa@etl.go.jp>
1321 * startup.el (fancy-splash-screens): Remove the code for
1322 debugging; `(trace-to-stderr "EXITTT\n")'.
1324 2000-10-05 Miles Bader <miles@gnu.org>
1326 * diff-mode.el (diff-goto-source): Update call to
1327 `diff-hunk-status-msg' to reflect new REV variable.
1329 2000-10-04 Stefan Monnier <monnier@cs.yale.edu>
1331 * progmodes/icon.el (icon-mode):
1332 Don't gratuitously override the default for comment-column.
1334 * vc-hooks.el (vc-mode-line): Fix interactive spec.
1336 * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
1337 (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
1338 (jit-lock-functions): New var.
1339 (jit-lock-function-1): Use it if non-nil.
1340 Don't switch the syntax-table. Don't set parse-sexp-lookup-properties.
1341 Set the `fontified' property before doing the fontification to avoid
1342 repeatedly going through the same error.
1343 Don't turn errors into messages.
1344 (jit-lock-register, jit-lock-unregister): New functions.
1346 * dired.el (dired-mark-pop-up): Turn comment into docstring.
1347 Use with-current-buffer.
1349 * dired-aux.el (dired-do-create-files, dired-kill-tree):
1350 Turn comment into docstring.
1352 * apropos.el (apropos-mode): Use define-derived-mode.
1354 2000-10-04 Gerd Moellmann <gerd@gnu.org>
1356 * startup.el (fancy-splash-pending-command): New variable.
1357 (fancy-splash-pre-command): New function.
1358 (fancy-splash-screens): Rewritten.
1359 (command-line-1): If fancy-splash-pending-command is set, call it
1362 2000-10-04 Dave Love <fx@gnu.org>
1364 * toolbar/tool-bar.el (tool-bar-setup): New function.
1365 (tool-bar-mode): Use it.
1367 * subr.el (substitute-key-definition): Doc fix.
1368 (play-sound-file): New command.
1370 2000-10-04 Andre Spiegel <spiegel@gnu.org>
1372 * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
1373 vc-version-backup-file-name): New functions.
1375 * files.el (basic-save-buffer): Call vc-before-save before saving.
1377 * vc-cvs.el (vc-cvs-make-version-backups): Return t if
1378 vc-cvs-stay-local-p.
1380 * vc.el (vc-revert-buffer): Handle empty diff properly.
1381 (vc-version-backup-file): New function.
1382 (vc-checkout): Create a version backup if necessary.
1383 (vc-checkin): If a version backup file exists, delete it.
1384 (vc-version-diff): Diff locally using version backups, if available.
1385 (vc-revert-file): If there's a version backup, revert locally.
1386 (vc-transfer-file): Use version backup for base version, if
1387 available. If not, ask for confirmation whether to get it from the
1388 server. Update mode line before check-in.
1390 2000-10-04 Dave Love <fx@gnu.org>
1392 * toolbar/tool-bar.el (tool-bar-setup): New function.
1393 (tool-bar-mode): Use it.
1395 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
1397 * net/net-utils.el (nslookup-font-lock-keywords)
1398 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
1399 Only set if window-system is non-nil
1400 (net-utils-run-program): Returns buffer.
1401 (network-connection-reconnect): Added this function.
1404 Incorporates extensive cleanup and docfixes by
1405 Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
1406 Uses cl compile-time macros.
1407 (generic-mode-name, generic-comment-list)
1408 (generic-keywords-list, generic-font-lock-expressions)
1409 (generic-mode-function-list, generic-mode-syntax-table):
1411 (generic-mode-alist): Renamed to generic-mode-list.
1412 (generic-find-file-regexp): Default changed to "^#".
1413 (generic-read-type): Uses completing read on generic-mode-list.
1414 (generic-mode-sanity-check): removed this function.
1415 (generic-add-to-auto-mode): Removed this function
1416 (generic-mode-internal): Bind mode-specific definitions
1417 into function instead of putting them in alist.
1418 (generic-mode-set-comments): Reworked extensively.
1419 (generic-mode-find-file-hook): Simplified regexp searching
1420 (generic-make-keywords-list): Omit extra pair of parens
1422 * find-lisp.el (find-lisp-find-files-internal):
1423 Make sure directory name ends with "/".
1425 * generic-x.el (apache-conf-generic-mode):
1426 Regexp now allows leading whitespace.
1427 (rc-generic-mode): Added eval-when-compile
1428 around generic-make-keywords-list.
1429 Deleted duplicate regexp
1430 (rul-generic-mode): Added eval-when-compile
1431 around generic-make-keywords-list.
1432 (etc-fstab-generic-mode): New generic mode.
1433 (rul-generic-mode): Removed one eval-when-compile
1434 which caused a max-specpdl-size exceeded error.
1436 2000-10-04 Miles Bader <miles@gnu.org>
1438 * simple.el (minibuffer-temporary-goal-position): New variable.
1439 (next-history-element): Try to keep the position of point in the
1440 input string constant.
1442 * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
1443 (dired-do-create-files): If there's only one file, pass it in as
1444 the DEFAULT arg to dired-mark-read-file-name.
1446 2000-10-03 Stefan Monnier <monnier@cs.yale.edu>
1448 * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
1449 (diff-goto-source): Be smarter when choosing REVERSE or not.
1451 * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
1452 (texinfo-mode-menu): Add an explicit shortcut for update all.
1454 2000-10-03 Andre Spiegel <spiegel@gnu.org>
1456 * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
1457 factorize backend-specific code cleanly (this was essentially
1458 conceived by Stefan Monnier).
1459 (vc-unregister): Function removed.
1460 (vc-revert-file): New function.
1461 (vc-revert-buffer): Delegate some of the work to it.
1463 * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
1464 default branch unconditionally.
1465 (vc-rcs-set-default-branch): New function.
1466 (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
1467 (vc-rcs-checkin): If an appropriate default branch has been set,
1468 force creation of that branch.
1469 (vc-rcs-receive-file): Rewritten to contain only backend-specific
1470 code (as suggested by Stefan Monnier).
1472 2000-10-02 Gerd Moellmann <gerd@gnu.org>
1474 * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
1475 highlighting overlay with a different face over the overlay
1476 isearch uses to highlight the current match because that can lead
1477 to bad face combinations.
1479 * loadup.el (toplevel): Load faces before isearch.
1481 * isearch.el (isearch-faces): New custom group.
1482 (isearch): New defface; was already tested for in the code.
1483 (isearch-lazy-highlight-face): Changed to defface from defcustom.
1484 (isearch-highlight): Always use face `isearch'.
1486 2000-10-02 Dave Love <fx@gnu.org>
1488 * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
1489 unused vars. Treat byte-constant2 like byte-constant. Fix bogus
1490 comparison of opcode with operand.
1492 2000-10-03 Miles Bader <miles@gnu.org>
1494 * play/yow.el (yow): Don't display multi-line quotations in a *Help*
1495 buffer, since the echo area will now grow to accommodate them.
1497 2000-10-02 Andre Spiegel <spiegel@gnu.org>
1499 * vc-hooks.el (vc-registered): If FILE used to be registered under
1500 a certain backend, try that one first.
1502 * vc.el (vc-responsible-backend): Undo the previous change in the
1503 argument list. Handle multiple backends correctly.
1504 (vc-find-new-backend): Function removed.
1505 (vc-register): Use vc-responsible-backend, as before.
1506 (vc-next-action-on-file): Do use vc-registered, not vc-backend.
1508 2000-10-02 Gerd Moellmann <gerd@gnu.org>
1510 * startup.el (fancy-splash-head): Change message below the
1513 2000-10-02 Miles Bader <miles@lsi.nec.co.jp>
1515 * diff-mode.el (diff-goto-source): Emit a status message.
1516 (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
1517 (diff-test-hunk): Fix doc string.
1518 (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
1519 (diff-advance-after-apply-hunk): New variable.
1520 (diff-apply-hunk): Don't return a value.
1522 2000-10-01 Stefan Monnier <monnier@cs.yale.edu>
1524 * vc.el (vc-editable-p): Minor optimization.
1525 (edit-vc-file, vc-next-action-on-file): Don't use find-file.
1526 (vc-find-new-backend): New function split from vc-responsible-backend.
1527 (vc-register): Use it.
1528 (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
1529 (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
1530 (vc-default-unregister, vc-revert-buffer): Docstring fix.
1531 (vc-clear-headers): Don't use find-file.
1532 (vc-revert-buffer): Use `and' again (must have been a braino).
1533 (vc-switch-backend): Only prompt if requested.
1534 Short circuit if nothing is to be done.
1535 Don't use vc-resynch-buffer which could lose unsaved editing.
1536 (vc-default-receive-file): Update call to vc-unregister.
1537 (with-vc-file, vc-next-action-on-file):
1538 Use vc-backend rather than vc-registered.
1539 (vc-next-action-on-file): Use intern-soft.
1540 Deal with read-only *vc-diff* buffer.
1541 (vc-transfer-file): Docstring fix.
1543 * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
1544 (vc-rcs-receive-file): Avoid with-vc-properties.
1545 Update call to vc-unregister.
1546 Use constant `RCS' rather than (dynamically bound) var `backend'.
1548 2000-10-01 Andre Spiegel <spiegel@gnu.org>
1550 * vc.el (vc-next-action-on-file): Update mode line only if file
1552 (vc-start-entry): New argument initial-contents. Don't visit the file
1553 if it isn't already visited. Brought documentation up-to-date.
1554 (vc-next-action, vc-register): Updated calls to vc-start-entry.
1555 (vc-checkin): New optional arg initial-contents, which is passed to
1557 (vc-finish-logentry): Make sure to bury log buffer only if there
1558 really is one. Call `vc-resynch-buffer' on log-file, not
1560 (vc-default-comment-history, vc-default-wash-log): New functions.
1561 (vc-index-of): Removed.
1562 (vc-transfer-file): Make do without the above.
1563 (vc-default-receive-file): Call comment-history unconditionally. Pass
1564 the resulting string to vc-checkin, instead of inserting it into the
1567 * vc-rcs.el (vc-rcs-receive-file): Call comment-history
1568 unconditionally. Use the comments as initial contents of the log
1569 entry buffer. Document the trick to force branch creation with no
1572 2000-10-01 Miles Bader <miles@gnu.org>
1574 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
1575 `recenter' with an arg to prevent redrawing the display.
1577 2000-09-30 Stefan Monnier <monnier@cs.yale.edu>
1579 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
1581 * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
1583 * progmodes/c-mode.el (c-mode):
1584 Don't gratuitously override the default for comment-column.
1586 * textmodes/tex-mode.el (latex-metasection-list): New var.
1587 (latex-imenu-create-index): Use it.
1588 Move the regexp construction outside loops (and use push).
1589 (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
1590 (tex-font-lock-keywords): Moved from font-lock.el.
1591 (tex-comment-indent): Remove.
1592 (tex-common-initialization): Don't set comment-indent-function.
1593 (latex-block-default): New var.
1594 (tex-latex-block): Use it to provide a default choice.
1595 Add any unknown choice to latex-block-names.
1596 Insert [...] after {...}.
1597 (tex-last-unended-begin): Simplify regexp.
1598 (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
1599 (latex-forward-sexp-1, latex-forward-sexp): New functions.
1600 (latex-mode): Set forward-sexp-function.
1602 * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
1603 Add regexp for @ignore ... @end ignore.
1604 (texinfo-heading-face): New face.
1605 (texinfo-font-lock-keywords): Use it.
1606 (texinfo-mode-menu): New menu.
1607 (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
1609 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
1610 (texinfo-section-types-regexp, texinfo-section-level-regexp)
1611 (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
1613 (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
1615 * delsel.el (delete-selection-mode): Use define-minor-mode.
1617 * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
1619 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
1621 * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
1623 2000-09-30 Gerd Moellmann <gerd@gnu.org>
1625 * replace.el (keep-lines-read-args): New function.
1626 (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
1627 read arguments interactively. Add parameters RSTART and REND.
1628 Operate on the active region in Transient Mark mode.
1630 * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
1632 * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
1633 (authors-obsolete-files-regexps): New variable.
1634 (authors-add): Don't record changes in obsolete files.
1636 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
1638 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
1640 * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
1641 (comment-indent): Make sure there's a space between code and comment.
1642 Shift comments left to avoid going past fill-column.
1644 2000-09-29 Gerd Moellmann <gerd@gnu.org>
1646 * startup.el (startup-echo-area-message): New function.
1647 (display-startup-echo-area-message): Use it.
1648 (fancy-splash-screens): Rewritten to use keymaps and a timer.
1649 (fancy-splash-default-action): New function.
1650 (fancy-splash-screens-1): New function.
1651 (fancy-splash-head): Put a help-echo and a keymap under the image.
1653 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
1655 * diff-mode.el (diff-add-log-file-name): Remove.
1656 (diff-mode): Use add-log-buffer-file-name-function.
1658 * add-log.el (find-change-log): New arg BUFFER-FILE.
1659 (add-log-file-name): Obey add-log-file-name-function.
1660 (add-log-buffer-file-name-function): New var.
1661 (add-change-log-entry): Use it.
1663 2000-09-29 Miles Bader <miles@gnu.org>
1665 * image-file.el (image-file-name-extensions): New variable.
1666 (image-file-name-regexps): Renamed from `image-file-regexps'.
1667 New default value is nil. Call `auto-image-file-mode'.
1668 (image-file-name-regexp): New function.
1669 (auto-image-file-mode): New minor mode.
1670 (insert-image-file): Don't make conditional on the image-file
1671 handler being enabled.
1672 (image-file-handler): Make the call here conditional instead.
1673 (set-image-file-handler-enabled, enable-image-file-handler)
1674 (disable-image-file-handler): Functions removed.
1676 * emacs-lisp/authors.el (authors-print): Rephrase many-files
1679 2000-09-29 Gerd Moellmann <gerd@gnu.org>
1681 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
1682 it's a function from CL.
1683 (latex-imenu-create-index): Replace eval-when-compile with progn
1684 because latex-section-alist is not bound while compiling.
1686 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
1688 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
1689 (outline-mode): Use define-derived-mode.
1691 * progmodes/perl-mode.el (perl-mode):
1692 * progmodes/awk-mode.el (awk-mode):
1693 * progmodes/asm-mode.el (asm-mode):
1694 Don't gratuitously override the default for comment-column.
1696 * emacs-lisp/lisp.el (lisp-complete-symbol):
1697 Distinguish the let-binding case from the funcall case.
1698 (forward-sexp-function): New variable.
1699 (forward-sexp): Use it.
1701 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
1702 (easy-mmode-defmap): Remove the now useless autoload.
1704 * time.el (display-time-mode): Use define-minor-mode.
1706 * subr.el (add-minor-mode): Don't eval NAME.
1707 Don't depend on the presence of TOGGLE-FUN for any special behavior.
1708 Use if rather than cond.
1710 * simple.el (read-expression-map): Define more properly.
1711 (comment-indent-hook): Remove.
1712 (string-to-syntax): Bug fix.
1714 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
1715 (cvs-ediff-diff): Fix typo.
1716 (cvs-revert-if-needed): Don't bother preserving read-only.
1718 * paren.el (show-paren-mode): Use define-minor-mode.
1720 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
1721 (toggle-auto-compression): Remove.
1722 (jka-compr-build-file-regexp): Remove useless grouping.
1724 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
1725 Avoid user-reserved bindings.
1726 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
1727 (diff-header-face): Revert to grey85.
1729 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
1731 * complete.el (partial-completion-mode) <defcustom>: Remove.
1732 (partial-completion-mode): Use define-minor-mode.
1733 (PC-do-completion): Understand `completion-auto-help = delay'
1734 to mean to popup the completion buffer only the second time.
1735 (PC-include-file-all-completions, PC-include-file-all-completions)
1736 (PC-include-file-all-completions): Don't quote lambda.
1738 * comint.el (comint-mode-hook): Docstring fix.
1739 (comint-mode): Use define-derived-mode.
1740 (comint-mode-map): Remove obsolete comment.
1741 (make-comint): Minor stylistic change.
1742 (comint-insert-clicked-input): Be more careful to find the overlay.
1743 Use this-command-keys rather than hardcoding mouse-2.
1745 * font-lock.el: Replace confusing (,@ with ,
1746 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
1747 Don't use regexp-opt-depth. Spice up the regexp for args.
1748 Don't distinguish between cmds that can take an opt arg or not.
1749 Use `append' and `prepend' rather than `keep'.
1751 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
1752 (latex-outline-regexp): New var.
1753 (latex-outline-level): New fun.
1754 (latex-section-alist): New var.
1755 (latex-imenu-create-index): Use it. Use `push' as well.
1756 (tex-shell-map): Initialize it properly.
1757 (tex-mode): Minor stylistic change.
1758 (plain-tex-mode): Use define-derived-mode.
1759 (latex-mode): Use define-derived-mode.
1760 Construct the paragraph regexps in a more readable way.
1761 Set the buffer-local outline-{level,regexp} vars.
1762 (slitex-mode): Derive from latex-mode.
1763 (tex-common-initialization): Don't kill-all-vars anymore.
1764 Add setting for comment-add and font-lock-defaults.
1765 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
1766 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
1767 (tex-start-tex): New arg DIR (and send a chdir command for it).
1768 Also display the shell buffer and save it in tex-last-buffer-texed.
1769 (tex-region): Use expand-file-name rather than concat.
1770 Remove code made useless by changes in tex-start-tex.
1771 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
1773 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
1775 2000-09-28 Dave Love <fx@gnu.org>
1777 * eshell/eshell.el (eshell) <defgroup>: Add :version.
1779 2000-09-28 Gerd Moellmann <gerd@gnu.org>
1781 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
1784 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
1786 * info.el (Info-extract-pointer): Undo last change.
1787 Instead, fix the position of the `bound' arg to re-search-backward.
1789 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
1791 * info.el (Info-extract-pointer):
1792 Widen more carefully, to avoid finding pointers in other nodes.
1793 (Info-index): Use push.
1795 2000-09-27 Gerd Moellmann <gerd@gnu.org>
1797 * frame.el (set-frame-font): Remove call to obsolete function
1799 (set-foreground-color, set-background-color): Likewise for
1800 frame-update-face-colors.
1802 2000-09-27 Miles Bader <miles@gnu.org>
1804 * image-file.el: New file.
1806 2000-09-27 Gerd Moellmann <gerd@gnu.org>
1808 * frame.el (frame-notice-user-settings): Don't call
1809 frame-update-faces, which is a no-op now.
1811 * ediff-wind.el (ediff-control-frame-parameters): Add zero
1814 2000-09-27 Dave Love <fx@gnu.org>
1816 * mouse.el: Fix last change.
1818 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
1820 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
1822 2000-09-22 Kenichi Handa <handa@etl.go.jp>
1824 * international/quail.el (quail-help): The output message is
1827 2000-09-26 Dave Love <fx@gnu.org>
1829 * mouse.el (popup-menu): If POSITION is nil, set it using
1832 2000-09-25 Sam Steingold <sds@gnu.org>
1834 * net/browse-url.el (browse-url-file-url): Check for null maps.
1836 2000-09-26 Gerd Moellmann <gerd@gnu.org>
1838 * frame.el (frame-notice-user-settings): Don't add a
1839 tool-bar-lines frame parameter to default-frame-alist in batch mode.
1841 * frame.el (frame-notice-user-settings):
1842 Make tool-bar-mode and default-frame-alist consistent.
1844 * toolbar/tool-bar.el (tool-bar-help): New function.
1846 2000-09-25 Gerd Moellmann <gerd@gnu.org>
1848 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
1849 current-load-list in top-level forms. Else this leaks a cons cell
1850 every time a defun is called.
1852 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
1854 2000-09-25 Dave Love <fx@gnu.org>
1856 * startup.el (fancy-splash-head): Check XPM is available.
1858 * autoinsert.el (auto-insert): Doc fix.
1859 (auto-insert-alist): Following GNU notices, don't say `copyright
1860 _by_'. Use line-beginning-position.
1861 (auto-insert): Check buffer-file-name is non-nil before use.
1863 2000-09-25 Gerd Moellmann <gerd@gnu.org>
1865 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
1866 starting with `@def' or `@multitable', in addition to ones
1867 specified by the user in auto-fill-inhibit-regexp.
1869 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
1871 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
1872 rmail-dont-reply-to-names matches the empty string.
1874 2000-09-25 Gerd Moellmann <gerd@gnu.org>
1876 * startup.el (command-line-1, fancy-splash-text): Change the
1877 text to sound more friendly.
1879 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
1881 * progmodes/hideshow.el: Update author email address.
1882 Generally, sync w/ maintainer version 5.22.
1883 (hs-hide-all-non-comment-function): New var.
1884 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
1885 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
1886 (hs-show-region): Delete this command.
1887 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
1889 2000-09-22 Dave Love <fx@gnu.org>
1891 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
1892 (hl-line-highlight): Specify buffer when moving overlay.
1894 * progmodes/fortran.el (fortran-mode): Locally set
1895 normal-auto-fill-function.
1896 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
1897 (fortran-mode-map): Adjust auto-fill menu entry.
1899 2000-09-22 Gerd Moellmann <gerd@gnu.org>
1901 * vc-rcs.el (toplevel): Require `vc' when compiling.
1903 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
1905 2000-09-22 Andre Spiegel <spiegel@gnu.org>
1907 * vc.el (vc-switch-backend): Signal an error if the file is not
1908 registered under the new backend.
1910 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
1911 without explicit revision number.
1913 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
1915 * diff-mode.el (diff-file-header-face): Reset to its previous value.
1916 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
1917 (diff-xor): New function.
1918 (diff-find-source-location): Use it. Fix a stupid name clash.
1919 (diff-hunk-status-msg): New function.
1920 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
1921 (diff-test-hunk): Use diff-find-source-location.
1922 (diff-goto-source): Favor the `reverse'.
1923 (diff-hunk-text): Properly handle one-sided context diffs.
1924 (diff-apply-hunk): When done, advance to the next hunk.
1926 2000-09-21 Gerd Moellmann <gerd@gnu.org>
1928 * startup.el (command-line): If frame was created with a non-zero
1929 tool-bar-lines parameter, switch tool-bar-mode on.
1931 * add-log.el (change-log-date-face, change-log-name-face)
1932 (change-log-email-face, change-log-file-face)
1933 (change-log-list-face, change-log-conditionals-face)
1934 (change-log-function-face, change-log-acknowledgement-face):
1935 New faces, inheriting from font-lock faces.
1936 (change-log-font-lock-keywords): Use them.
1938 2000-09-21 Dave Love <fx@gnu.org>
1940 * progmodes/cperl-mode.el (top-level): Clean up
1941 `eval-when-compile's and assorted defvars.
1942 (cperl-invalid-face): Don't double-quote value. Change custom
1944 (cperl-mode): Set normal-auto-fill-function and don't zap
1946 (cperl-imenu--function-name-regexp-perl): Renamed from
1947 imenu-example--function-name-regexp-perl.
1948 (cperl-imenu--create-perl-index): Renamed from
1949 imenu-example--create-perl-index.
1950 (cperl-xsub-scan): Don't require cl.
1952 * msb.el (msb-mode-map): Use substitute-key-definition.
1953 (msb-mode): Use msb-mode-map.
1955 2000-09-21 Andre Spiegel <spiegel@gnu.org>
1957 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
1959 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
1960 (vc-switch-backend): New function.
1961 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
1962 (vc-register): Fix prompt.
1963 (vc-unregister, vc-default-unregister): New functions.
1964 (vc-version-diff): Handle empty buffer in sentinel.
1966 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
1967 (vc-rcs-state-heuristic): Use it to guess the state of files with
1969 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
1970 been set with -b, but not created yet.
1971 (vc-rcs-fetch-master-state): With non-strict locking, compare file
1972 contents in order to find the state.
1973 (vc-rcs-checkin): Allow creation of branches with no changes.
1974 (vc-rcs-unregister, vc-rcs-receive-file)
1975 (vc-rcs-set-non-strict-locking): New functions.
1977 * vc-hooks.el (vc-name): Force correct computation of the value
1978 in case it is missing.
1980 2000-09-21 Gerd Moellmann <gerd@gnu.org>
1982 * startup.el (fancy-splash-tail): Use a different foreground
1983 color on a dark frame background.
1985 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
1987 * info.el: Use the correct capitalization when making Info-mode
1988 and Info-edit-mode `special' modes.
1990 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
1992 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
1993 (diff-mode): Add support for add-log.el.
1994 (diff-hunk-text): Use char offsets rather than line offsets.
1995 (diff-find-source-location): Replace LINE with line-offset (nil
1996 if not found) and always set POS to a meaningful position.
1997 Adapt to the new char-offsets.
1998 (diff-apply-hunk): Drop support for the unused `select' POPUP.
1999 Adapt to the new diff-find-source-location.
2000 (diff-goto-source): Adapt to the new diff-find-source-location.
2002 * add-log.el (add-log-file-name): New function (split out of
2003 add-change-log-entry).
2004 (add-change-log-entry): Use it.
2005 Call add-log-file-name-function with the changelog file name if
2006 the current buffer is not associated with any file.
2007 Avoid find-file if the selected window is dedicated.
2009 * diff-mode.el (diff-find-source-location):
2010 Move code from diff-apply-hunk. Return buffer rather than file.
2011 (diff-apply-hunk): Use the new result from diff-find-source-location.
2012 (diff-goto-source): Use the new diff-find-source-location.
2014 2000-09-20 Dave Love <fx@gnu.org>
2016 * iswitchb.el: Some doc fixes.
2017 (iswitchb-mode-map): Define completely initially. Inherit
2018 minibuffer-local-map.
2019 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
2021 (iswitchb-global-map): New variable.
2022 (iswitchb-summaries-to-end): Amalgamate regexps.
2023 (iswitchb-mode): New.
2024 (iswitchb-mode-hook): New variable.
2025 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
2028 2000-09-20 Gerd Moellmann <gerd@gnu.org>
2030 * ehelp.el (electric-help): New defgroup.
2031 (electric-help-shrink-window): New user-option.
2032 (with-electric-help): Use it.
2034 * window.el (shrink-window-if-larger-than-buffer): If face
2035 `mode-line' has a :box, and we're on a graphical frame, add 1
2036 to the needed window height.
2038 * frame.el (frame-notice-user-settings): Add a last parameter nil
2039 to a call to `append', because the last list passed to `append' is
2040 not copied, and so subsequent calls to assq-delete-all will modify
2041 default-frame-alist.
2043 * startup.el (fancy-splash-image): Change :type.
2044 (fancy-splash-head): Use an XBM image if appropriate.
2045 (command-line-1): Show splash screens in more cases.
2047 * startup.el (fancy-splash-text): Don't quote faces.
2049 * dired.el (dired-font-lock-keywords): Undo last change.
2050 (dired-readin): Bind indent-tabs-mode to nil.
2052 * startup.el (fancy-splash-head): If frame's background mode
2053 is `dark', change the black background of the image to gray.
2054 (fancy-splash-screens): Display startup echo area message.
2055 (display-startup-echo-area-message): New function.
2057 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
2059 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
2061 * info.el (info-header-node): Tweak for color ttys.
2063 * faces.el (face-valid-attribute-values): Make sure directories we
2064 search for stipples both exist and are readable before trying to
2067 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
2068 in the dry-run case.
2070 * jka-compr.el (with-auto-compression-mode): New macro.
2072 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
2073 (custom-group-tag-face, custom-variable-tag-face): Use relative
2074 :height and inherit from `variable-pitch' face instead of
2076 * hi-lock.el (hi-black-hb): Likewise.
2078 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
2079 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
2080 toolbar-add-item, if image doesn't have a mask add a `:mask
2083 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
2085 * diff-mode.el: Docstring fixes.
2086 (diff-header-face, diff-comment-face): New faces.
2087 (diff-font-lock-keywords): Highlight a bit differently.
2088 (diff-find-source-location): Don't return SPAN any more.
2089 (diff-hunk-text): Don't bother erasing the temp buffer.
2090 (diff-find-text): Drop argument LINE.
2091 (diff-apply-hunk): Update calls to diff-find-text.
2092 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
2094 * calendar/calendar.el: Docstring fixes.
2095 (calendar-make-alist): Don't quote lambda.
2096 (calendar-star-date): Use make-local-variable.
2098 2000-09-19 Dave Love <fx@gnu.org>
2100 * toolbar/tool-bar.el: Renamed from toolbar.el.
2101 Change `toolbar' to `tool-bar' generally in symbols.
2102 Make some items invisible in `special' major modes.
2103 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
2106 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
2108 (fancy-splash-delay, fancy-splash-image): Remove :version here.
2110 2000-09-19 Gerd Moellmann <gerd@gnu.org>
2112 * progmodes/sh-script.el (sh-search-word): Remove call to `debug'.
2114 * files.el (find-file-suppress-same-file-warnings): New user-option.
2115 (find-file-noselect): Use it.
2117 * startup.el (fancy-splash-delay, fancy-splash-image): Add :version.
2118 (fancy-splash-screen): Defgroup.
2120 * add-log.el (change-log-font-lock-keywords): Match names
2121 more exactly for the case that font-lock-constant-face is
2124 2000-09-19 Richard M. Stallman <rms@gnu.org>
2126 * progmodes/sh-script.el (sh-search-word): Rewritten for speed.
2128 2000-09-19 Andre Spiegel <spiegel@gnu.org>
2130 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
2132 2000-09-19 Gerd Moellmann <gerd@gnu.org>
2134 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
2135 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
2136 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
2137 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
2138 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
2139 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
2140 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
2141 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
2142 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
2143 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
2144 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
2145 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
2147 * startup.el (fancy-splash-text): New variable.
2148 (fancy-splash-delay, fancy-splash-image): New user-options.
2149 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
2150 (fancy-splash-screens): New functions.
2151 (command-line-1): If display has a `display' frame parameter, has
2152 colors, and we have XPM support, show more fancy splash screens.
2154 2000-09-19 Dave Love <fx@gnu.org>
2156 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
2157 with null `help'. Use modern backquote syntax.
2159 2000-09-19 Gerd Moellmann <gerd@gnu.org>
2161 * font-lock.el (font-lock-mode): Change message telling the user
2162 that ``the buffer is too big''.
2164 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
2165 for instance for the case that tab-width is 2.
2167 2000-09-18 Gerd Moellmann <gerd@gnu.org>
2169 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
2170 toolbar-add-item, if image doesn't have a mask add a `:mask
2173 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
2175 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
2176 and return a cons if it's non-nil.
2177 (diff-apply-hunk): Try to jump to the line in the source text
2178 corresponding to the position of point in the in the hunk.
2180 * info.el (Info-title-3-face, Info-title-2-face)
2181 (Info-title-1-face): Use face inheritance and relative sizes
2182 instead of hard-wiring things.
2184 * faces.el (secondary-selection): Make dark-background variant sane.
2186 2000-09-16 Andrew Innes <andrewi@gnu.org>
2188 * makefile.w32-in (compile-files-CMD): No need to make .elc files
2189 read-only, since they aren't under VC now.
2191 2000-09-17 Dave Love <fx@gnu.org>
2193 * tmm.el: Replace mapcar with mapc in several places.
2195 * loadhist.el (unload-feature): Maybe call elp-restore-list and
2198 * international/latin1-disp.el: New file.
2200 * calendar/cal-move.el (scroll-calendar-left)
2201 (scroll-calendar-right): Make arg optional (for active mode line).
2203 * calendar/calendar.el (calendar-mode-line-format): Make fields
2205 (calendar-read-date, calendar-read-date, calendar-window-list):
2207 (calendar-month-name): Use aref, not sref.
2209 * view.el (minor-mode-alist): Propertize the string.
2211 * international/characters.el (standard-case-table): Add entries
2214 2000-09-18 Miles Bader <miles@gnu.org>
2216 * info.el (info-node, info-xref): Add dark-background variants.
2218 * faces.el (header-line): Change defaults to be less confusing
2219 when mixed with mode-lines.
2221 * info.el (Info-fontify-node): Make a few cleanups.
2222 Add extra `help-echo' and `local-map' props to node xrefs.
2223 Use header-specific faces for node-names & xrefs.
2224 (Info-use-header-line): New variable.
2225 (info-header-xref, info-header-node): New faces.
2226 (Info-setup-header-line): New function.
2227 (Info-select-node): Call Info-setup-header-line when enabled.
2228 (Info-extract-pointer): Work even if the header line is hidden.
2229 (Info-header-line): New variable.
2231 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
2233 * vms-patch.el (print-region-function): Don't quote lambda.
2235 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
2237 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
2238 (lm-get-header-re): Allow spaces between the header and the colon.
2239 (lm-header): Allow $ in non-RCS headers.
2240 (lm-header-multiline): Put the strings back into order.
2241 Stop at an empty line. Don't require two space chars if the
2242 line is clearly not another header line.
2244 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
2245 (popup-menu-popup): Remove.
2247 2000-09-15 Gerd Moellmann <gerd@gnu.org>
2249 * toolbar/toolbar.el (toolbar-add-item): Use the same image
2250 specification if or if not tool-bar item contains an `:enabled'
2253 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
2254 current buffer has no file name.
2256 2000-09-15 Dave Love <fx@gnu.org>
2258 * strokes.el: Sync with maintainer's current version with changes
2259 for Emacs, but avoid runtime cl and levents.
2260 (toplevel): Change autoloads and compilation requires.
2261 (strokes-version, strokes-bug-address, strokes-lift): Values
2263 (strokes-xpm-header, strokes-insinuated): New variable.
2264 (strokes): Add :link.
2265 (strokes-mode): Customized.
2266 (strokes-while-inhibiting-garbage-collector): New macro.
2267 (strokes-remassoc): Avoid remove-if.
2268 (strokes-fix-button2-command): Don't use ad-do-it.
2269 (strokes-insinuate): New function.
2270 (strokes-button-press-event-p, strokes-button-release-event-p):
2271 New functions, used instead of non-`strokes-' versions..
2272 (strokes-mouse-event-p): Rewritten.
2273 (strokes-event-closest-point): Avoid event-point.
2274 (strokes-get-grid-position): Avoid cdadr, caadr
2275 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
2277 (strokes-help): Use with-output-to-temp-buffer.
2278 (strokes-window-configuration-changed-p): New function.
2279 (strokes-update-window-configuration): Use buffer-live-p,
2280 strokes-window-configuration-changed-p.
2281 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
2282 (strokes-char-face): New face.
2283 (strokes-char-table, strokes-base64-chars): New variable.
2284 (strokes-xpm-for-stroke, strokes-list-strokes)
2285 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
2286 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
2287 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
2288 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
2289 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
2292 2000-09-15 Gerd Moellmann <gerd@gnu.org>
2294 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
2296 * image.el (create-image): Doc fix.
2298 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
2299 instead of `:heuristic-mask t'.
2301 2000-09-14 Andrew Innes <andrewi@gnu.org>
2303 * makefile.w32-in: Revert to Unix line endings.
2305 2000-09-14 Andrew Innes <andrewi@gnu.org>
2307 * makefile.w32-in: Add bootstrap support. Also copy lisp source
2310 * makefile.nt (DONTCOMPILE): Fix typo.
2312 * shell.el (shell-write-history-on-exit): New function.
2313 (shell-dumb-shell-regexp): New custom variable.
2314 (shell-mode): Make shell-write-history-on-exit the process
2315 sentinel if shell name matches shell-dumb-shell-regexp.
2317 * w32-fns.el: Comment out before-init-hook function which resets
2318 source-directory based; this breaks bootstrap.
2320 2000-09-14 Dave Love <fx@gnu.org>
2322 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
2323 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
2324 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
2325 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
2326 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
2327 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
2328 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
2329 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
2330 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
2332 * toolbar/toolbar.el: New.
2334 * subdirs.el: Add toolbar.
2336 2000-09-14 Gerd Moellmann <gerd@gnu.org>
2338 * indent.el (indent-for-tab-command): Doc fix.
2340 2000-09-14 Alex Schroeder <alex@gnu.org>
2342 * ansi-color.el (ansi-colors): Doc change.
2343 (ansi-color-get-face): Simplified regexp.
2344 (ansi-color-faces-vector): Added more faces, doc change.
2345 (ansi-color-names-vector): Doc change.
2346 (ansi-color-regexp): Simplified regexp.
2347 (ansi-color-parameter-regexp): New regexp.
2348 (ansi-color-filter-apply): Doc change.
2349 (ansi-color-filter-region): Doc change.
2350 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
2351 deal with zero length parameters.
2352 (ansi-color-apply-on-region): Doc change.
2353 (ansi-color-map): Doc change.
2354 (ansi-color-map-update): Removed debugging message.
2355 (ansi-color-get-face-1): Added condition-case to trap
2356 args-out-of-range errors.
2357 (ansi-color-get-face): Doc change.
2358 (ansi-color-make-face): Removed.
2359 (ansi-color-for-shell-mode): New option.
2361 2000-09-13 Kenichi Handa <handa@etl.go.jp>
2363 * international/quail.el (quail-start-translation): Translate KEY
2364 if necessary even if it doesn't have any mapping in the current
2366 (quail-start-conversion): Likewise.
2367 (quail-help): The output message is improved.
2369 2000-09-13 Miles Bader <miles@gnu.org>
2371 * comint.el (comint-output-filter): Revert to using
2372 `insert-before-markers'. Add bletcherous hack to undo damage
2373 caused by `insert-before-markers'. Put `front-sticky' property on
2374 overlays created here so that the field code understands how the
2375 overlay works. Use a let when making comint-last-prompt-overlay,
2376 so that the code is easier to read.
2378 2000-09-13 Dave Love <fx@gnu.org>
2380 * wid-edit.el (widget-default-format-handler): DTRT when
2381 doc-property is a function.
2383 2000-09-12 Francesco Potorti` <pot@gnu.org>
2385 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
2386 filed name if it's not there.
2388 2000-09-12 Dave Love <fx@gnu.org>
2390 * simple.el (read-mail-command): Doc fix.
2391 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
2393 * vc.el (vc-dired-listing-switches): Fix :version.
2395 * vc-hooks.el: Doc fixes.
2397 * subr.el (add-minor-mode): Use toggle-fun arg.
2399 * speedbar.el: Add :version to several defcustoms.
2401 * imenu.el (imenu--truncate-items, imenu--cleanup)
2402 (imenu--generic-function): Avoid mapcar.
2403 (imenu--replace-spaces): Function removed.
2404 (imenu--completion-buffer): Use subst-char-in-string.
2405 (imenu-add-to-menubar): Use keymap inheritance.
2407 2000-09-12 Miles Bader <miles@gnu.org>
2409 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
2410 (diff-mode-map): Bind `diff-test-hunk'.
2411 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
2413 2000-09-11 Gerd Moellmann <gerd@gnu.org>
2415 * bytecomp.el (byte-compile-defvar): Undo last change
2416 because it breaks '(make-variable-buffer-local (defvar ...)'
2417 which is used at least in dired.
2419 2000-09-12 Kenichi Handa <handa@etl.go.jp>
2421 * international/quail.el (quail-define-package): Docstring
2424 2000-09-12 Kenichi Handa <handa@etl.go.jp>
2426 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
2427 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
2428 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
2429 docstring of "chinese-py".
2431 * international/quail.el (quail-translation-docstring): New
2433 (quail-show-keyboard-layout): Docstring modified.
2434 (quail-select-current): Likewise.
2435 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
2436 infinite recursive call.
2437 (quail-help): Check quail-translation-docstring. Format of the
2439 (quail-help-insert-keymap-description): Adjusted for the above
2442 2000-09-11 Gerd Moellmann <gerd@gnu.org>
2444 * bytecomp.el (byte-compile-defvar): Only cons onto
2445 current-load-list in top-level forms. Else this leaks a cons cell
2446 every time a defun is called.
2448 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
2450 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
2451 Now understands non-unified diffs. Some functionality moved into
2452 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
2453 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
2454 modify anything. Only reposition point in the patched file if the
2455 patch succeeds. Only pop up another window if POPUP is true.
2456 Emit a message describing what happened if successful, and at what
2457 line-offset. Automatically detect reversed hunks and do something
2459 (diff-hunk-text, diff-find-text): New functions.
2460 (diff-filter-lines): Function removed.
2461 (diff-test-hunk): New function.
2462 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
2464 2000-09-10 Dave Love <fx@gnu.org>
2466 * textmodes/tildify.el: Minor doc/commentary fixes.
2467 (tildify) <defgroup>: Add :version.
2469 * faces.el (face-x-resources): Make custom type more specific.
2470 (frame-background-mode): Use mapc.
2471 (region) <defcustom>: Add :version.
2473 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
2475 * vc-sccs.el (vc-sccs-register):
2476 * vc-rcs.el (vc-rcs-register):
2477 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
2478 * vc.el (vc-register): Clear file's properties.
2480 2000-09-08 Gerd Moellmann <gerd@gnu.org>
2482 * faces.el (face-spec-set): Only face-spec-reset-face when
2485 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
2487 * help.el (help-insert-xref-button): Fix a typo in doc string.
2489 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
2491 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2492 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
2495 * menu-bar.el (read-mail-item-name): New function.
2496 (menu-bar-tools-menu): Use it to compute and display the package
2498 (menu-bar-tools-menu): Fix typo in GUD's help string.
2500 2000-09-07 Dave Love <fx@gnu.org>
2502 * diff-mode.el (diff-mouse-goto-source): New function.
2504 * vc-sccs.el: Doc fixes.
2505 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
2507 * vc-rcs.el: Doc fixes.
2508 (vc-rcs-register-switches, vc-rcs-checkin-switches)
2509 (vc-rcs-checkout-switches, vc-rcs-header)
2510 (vc-rcs-master-templates): Add or change :version.
2512 * vc-cvs.el: Doc fixes.
2513 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
2514 (vc-cvs-stay-local): Add :version.
2516 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
2518 2000-09-07 Kenichi Handa <handa@etl.go.jp>
2520 * international/quail.el (quail-help): Fix previous change.
2522 2000-09-07 Gerd Moellmann <gerd@gnu.org>
2524 * faces.el (color-values): Doc fix.
2526 * faces.el (frame-set-background-mode): Use frame-parameter
2527 instead of frame-parameters.
2529 * frame.el (filtered-frame-list): Reduce consing.
2530 (frames-on-display-list): Call frame-parameter instead of
2533 2000-09-07 Kenichi Handa <handa@etl.go.jp>
2535 * language/devan-util.el (devanagari-to-indian-region): In the
2536 loop, change the following char, not preceding char.
2538 2000-09-07 Gerd Moellmann <gerd@gnu.org>
2540 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
2541 instead of frame-parameters.
2543 * faces.el (set-face-attribute): Simplify by calling
2544 internal-set-lisp-face-attribute with FRAME being 0.
2546 * vc.el: Remove `Id' version control keyword.
2548 2000-09-07 Kenichi Handa <handa@etl.go.jp>
2550 * help.el (help-make-xrefs): Adjusted for the change of
2551 help-xref-mule-regexp.
2552 (help-insert-xref-button): New function.
2554 * international/mule-cmds.el (help-xref-mule-regexp-template):
2555 Include the pattern for character set.
2558 * international/quail.el: Don't require face.
2560 (quail-other-command): Dummy command to make quail-help work better.
2561 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
2562 (quail-keyboard-layout-substitution): New variable.
2563 (quail-update-keyboard-layout): New function.
2564 (quail-keyboard-layout-type): New customizable variable.
2565 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
2566 (quail-keyboard-translate): Pay attention to
2567 quail-keyboard-layout-substitution.
2568 (quail-insert-kbd-layout): New function.
2569 (quail-show-keyboard-layout): New function.
2570 (quail-get-translation): If the definition is a vector of length
2571 1, and the element is a string of length 1, return the character
2573 (quail-update-current-translations): Fix the case of
2574 relative-index out of range.
2575 (quail-build-decode-map, quail-insert-decode-map): New Functions.
2576 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
2577 Show key sequences for all available characters.
2578 (quail-help-insert-keymap-description): Don't show such verbose
2579 key bindings as quail-self-insert-command.
2581 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2582 Format changed, and each element now have extra documentations.
2583 (tit-process-header): Delete invalid characters from TIT-PROMPT.
2584 Adjusted for the change of quail-cxterm-package-ext-info.
2586 2000-09-06 Gerd Moellmann <gerd@gnu.org>
2588 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
2589 requiring it leads to a recursive loading of vc.el and vc-hooks.el
2592 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
2594 * vc.el: (toplevel): Don't require `dired' at run-time.
2595 (vc-dired-resynch-file): Remove autoload cookie.
2597 2000-09-05 Andre Spiegel <spiegel@gnu.org>
2599 * vc.el: Made several backend functions optional.
2600 (vc-default-responsible-p): New function.
2601 (vc-merge): Use RET for first version to trigger merge-news, not
2603 (vc-annotate): Handle backends that do not support annotation.
2604 (vc-default-merge-news): Removed. The existence of a merge-news
2605 implementation is now checked on caller sites.
2607 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
2610 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
2611 special case that has been removed from the default in vc-hooks.el.
2613 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
2615 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
2617 2000-09-05 Andre Spiegel <spiegel@gnu.org>
2619 * vc-hooks.el: Require vc during compilation.
2620 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
2621 macro `with-vc-properties' in vc.el.
2622 (vc-file-getprop): Doc fix.
2623 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
2625 * vc.el: Require dired-aux during compilation.
2626 (vc-name-assoc-file): Moved to vc-sccs.el.
2627 (with-vc-properties): New macro.
2628 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
2629 vc-finish-steal): Use it.
2630 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
2631 to the backend-specific function is now supposed to do the checkout,
2633 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
2635 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
2636 set file properties; that gets done in the generic code now.
2638 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
2639 Changed parameter list, added code from vc.el that does the
2640 checkout, possibly with a double-take.
2642 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
2643 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
2644 the above under the new name.
2645 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
2646 parameter list, added checkout command.
2647 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
2648 properties; that gets done in the generic code now.
2650 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
2652 * vc.el: Docstring fixes (courtesy of checkdoc).
2654 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
2656 * vc.el (vc-checkout-writable-buffer-hook)
2657 (vc-checkout-writable-buffer): Remove.
2658 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
2659 (vc-log-mode): Make it into a clean derived major mode.
2660 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
2661 vc-log-mode if log-edit is not available.
2662 (vc-dired-mode-map): Don't set-keymap-parent yet.
2663 (vc-dired-mode): Do set-keymap-parent here.
2664 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
2666 2000-09-05 Gerd Moellmann <gerd@gnu.org>
2668 * faces.el (set-face-attribute, face-spec-reset-face)
2669 (face-spec-set): Avoid consing by removing calls to `apply'.
2671 * frame.el (frame-parameter): Move to C code.
2673 2000-09-05 Dave Love <fx@gnu.org>
2675 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
2676 insert-before-markers-and-inherit. Now checked systematically!
2678 2000-09-05 Alex Schroeder <alex@gnu.org>
2680 * sql.el (sql-postgres): Use sql-postgres-options.
2681 (sql-postgres-options): New variable.
2683 2000-09-05 Alex Schroeder <alex@gnu.org>
2685 * sql.el (sql-mode-menu): Work around missing variable mark-active
2687 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
2688 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
2691 2000-09-04 Gerd Moellmann <gerd@gnu.org>
2693 * vc.el (vc-dired-resynch-file): Add autoload cookie.
2695 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
2697 * Makefile.in (DONTCOMPILE): Fix typo in file name.
2699 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2701 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
2702 don't support anything else under SCCS yet.
2704 * vc-hooks.el: Minor doc fixes.
2706 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2708 * vc.el (vc-next-action-on-file): Do not visit the file if it's
2709 not necessary. If verbose in state `needs-patch', do the same as
2710 under `up-to-date'. When NOT verbose and `needs-patch', check out
2711 latest version instead of `merge-news'.
2712 (vc-next-action-dired): Don't mess with default-directory here; it
2713 breaks other parts of dired. It is the job of the
2714 backend-specific functions to adjust it temporarily if they need it.
2715 (vc-next-action): Remove a special CVS case.
2716 (vc-clear-headers): New optional arg FILE.
2717 (vc-checkin, vc-checkout): Set properties vc-state and
2718 vc-checkout-time properly.
2719 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
2720 (vc-print-log): Use new backend function `show-log-entry'.
2721 (vc-cancel-version): Do the checks in a different order. Added a
2722 FIXME concerning RCS-only code.
2724 * vc-rcs.el (vc-rcs-show-log-entry): New function.
2725 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
2727 * vc-cvs.el (vc-cvs-show-log-entry): New function.
2729 * vc-hooks.el (vc-default-mode-line-string): Show state
2730 `needs-patch' as a `-' too.
2732 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2734 * vc.el (vc-responsible-backend): New optional arg REGISTER.
2735 (vc-default-could-register): New function.
2736 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
2737 (vc-resynch-buffer): Call vc-dired-resynch-file.
2738 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
2739 vc-resynch-buffer instead of vc-resynch-window.
2740 (vc-next-action-dired): Don't redisplay here, that gets done as a
2741 result of the individual file operations.
2742 (vc-retrieve-snapshot): Corrected prompt order.
2744 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
2746 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
2748 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
2749 hostname regexps. Updated all callers.
2750 (vc-cvs-responsible-p): Handle directories as well.
2751 (vc-cvs-could-register): New function.
2752 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
2753 properties up-to-date.
2755 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
2756 user whether to create one.
2758 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2760 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
2761 check out a non-existing file.
2763 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
2764 workfile does not exist.
2766 * vc.el (vc-version-diff): Use `require' to check for existence of
2769 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2771 * vc-cvs.el (vc-cvs-registered): Use new function
2772 vc-cvs-parse-entry to do the actual work.
2774 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2776 * vc-hooks.el (vc-find-backend-function): If function doesn't
2777 exist, return nil instead of error.
2778 (vc-call-backend): Doc fix.
2780 * vc.el (vc-do-command): Doc fix.
2781 (vc-finish-logentry): When checking in from vc-dired, choose the
2782 right backend for logentry check.
2783 (vc-dired-mode-map): Inherit from dired-mode-map.
2784 (vc-dired-mode): Local value of dired-move-to-filename-regexp
2786 (vc-dired-state-info): Removed, updated caller.
2787 (vc-default-dired-state-info): Use parentheses instead of hyphens.
2788 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
2789 (vc-dired-listing-switches): New variable.
2790 (vc-directory): Use it, instead of dired-listing-switches.
2792 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
2793 (vc-cvs-dir-state): New function.
2794 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
2795 (vc-cvs-parse-entry): New function, also to be used in
2798 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2800 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
2801 *or* single-window-frames.
2803 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2805 * vc.el (vc-update-changelog): Split into generic part and default
2806 implementation. Doc string adapted.
2807 (vc-default-update-changelog): New function. Call the `rcs2log'
2808 script in exec-directory, to fix a long-standing nuisance.
2810 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
2811 simply signals an error.
2813 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2815 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
2816 control-flow more clear and to avoid running `cvs' twice.
2818 * vc.el (vc-next-action-on-file): Doc fix.
2819 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
2820 (vc-print-log): Eval `file' before constructing the continuation.
2822 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2824 * vc.el (vc-next-action-on-file): Corrected several messages.
2825 (vc-merge): Add prefix arg `merge-news'; handle it.
2827 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
2828 is not reached. It is.
2829 (vc-cvs-merge): Set state to 'edited after merge.
2830 (vc-cvs-merge-news): Set workfile version to nil if not known.
2831 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
2833 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
2834 via stdout. (Merge from main line.)
2836 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2838 * vc.el (vc-finish-logentry): Thinko in the "same comment"
2841 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2843 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
2844 against kill-all-local-variables.
2845 (vc-log-edit): Don't save vc-parent-buffer any more.
2846 (vc-last-comment-match): Initialize to an empty string.
2847 (vc-post-command-functions): New hook.
2848 (vc-do-command): Run it.
2849 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
2850 (vc-finish-logentry): Only add the comment to the ring if it's
2851 different from the last comment entered.
2852 (vc-new-comment-index): New function.
2853 (vc-previous-comment): Use it. Make the minibuffer message
2854 slightly less terse.
2855 (vc-comment-search-reverse): Make it work forward as well. Don't
2856 set vc-comment-ring-index if no match is found. Use
2857 vc-new-comment-index.
2858 (vc-comment-search-forward): Use vc-comment-search-reverse.
2859 (vc-dired-mode-map): Don't inherit from dired-mode-map since
2860 define-derived-mode will do it for us. Bind `v' to a keymap that
2861 inherits from vc-prefix-map so that we can bind `vt' without
2863 (vc-retrieve-snapshot): Parenthesis typo.
2865 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
2866 to 1. Make sure to switch to *vc* before looking for an error
2867 message. Use vc-parse-buffer.
2869 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2871 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
2873 (vc-retrieve-snapshot): Split into two parts.
2874 (vc-default-retrieve-snapshot): New function.
2876 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
2877 (vc-cvs-retrieve-snapshot): New function (untested).
2878 (vc-cvs-stay-local): Default to t.
2879 (vc-cvs-remote-p): New function and property.
2880 (vc-cvs-state): Stay local only if the above is t.
2881 (vc-handle-cvs): Removed.
2882 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
2883 done via vc-handled-backends now.
2884 (vc-cvs-header): Escape Id.
2886 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2888 * vc.el (vc-do-command): Remove unused commands.
2889 (vc-version-diff): Make sure default-directory ends with a slash.
2890 Move the window commands into a vc-exec-after.
2891 (vc-print-log): Move more of the code into the `vc-exec-after'.
2893 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2895 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
2896 (vc-print-log): Search current revision from beginning of buffer.
2897 (vc-revert-buffer): Clear echo area after the diff is finished.
2898 (vc-prefix-map): Removed definition of "t" for terse display in vc
2900 (vc-dired-mode-map): Inherit from dired-mode-map. Added
2901 definition of "vt" for terse display.
2902 (vc-dired-mode): Fix dired-move-to-filename-regexp.
2904 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2906 * vc.el (vc-exec-after): Avoid caddr.
2908 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2910 * vc.el (vc-exec-after): New function.
2911 (vc-do-command): Use it to add a termination message for async
2913 (vc-checkout): Try to handle a missing-backend situation.
2914 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
2915 of a directory with a backend using async diffs.
2916 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
2919 * vc-sccs.el (vc-sccs-state-heuristic): Use
2920 file-ownership-preserved-p.
2922 * vc-rcs.el (vc-rcs-state-heuristic): Use
2923 file-ownership-preserved-p.
2924 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
2926 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2928 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
2931 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
2932 when there are no changes.
2934 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2936 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
2938 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
2940 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2942 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
2944 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
2945 the `fset' outside of the defvar so that it works even if
2946 vc-prefix-map was already defined.
2947 (vc-setup-buffer): New function, split out of vc-do-command.
2948 (vc-do-command): Allow BUFFER to be t to mean `just use the
2949 current buffer without any fuss'.
2950 (vc-version-diff): Change the `diff' backend operation to just put
2951 the diff in the current buffer without erasing it. Always use
2952 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
2953 shrink-window-if-larger-than-buffer.
2954 (vc-print-log): Change the `print-log' backend operation to just
2955 put the log in the current buffer without erasing it. Protect
2956 shrink-window-if-larger-than-buffer.
2957 (vc-update-change-log): Fix setd typo.
2959 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
2960 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
2962 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
2963 (vc-rcs-diff): Insert in the current buffer and remove unused arg
2966 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
2967 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
2968 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
2970 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2972 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
2973 not possible, use vc-BACKEND-workfile-unchanged-p.
2974 (vc-default-workfile-unchanged-p): New function. Delegates to a
2975 full vc-BACKEND-diff.
2977 * vc-hooks.el (vc-simple-command): Removed.
2979 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
2980 instead of vc-simple-command.
2981 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
2982 avoid doing a diff when opening a file.
2983 (vc-rcs-state): Added check for unlocked-changes.
2984 (vc-rcs-header): Escape Id.
2985 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
2986 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
2989 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
2990 (vc-sccs-diff): Remove optional arg CMP.
2991 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
2992 SCCS-specific function.
2994 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
2997 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2999 * vc.el (vc-editable-p): Renamed from vc-writable-p.
3000 (with-vc-file, vc-merge): Use vc-editable-p.
3001 (vc-do-command): Remove unused var vc-file and fix the
3002 doubly-defined `status' var. Add a user message when starting an
3004 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
3005 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
3006 Use with-current-buffer.
3007 (vc-buffer-sync): Use unless.
3008 (vc-next-action-on-file): If the file is 'edited by read-only,
3009 make it read-write instead of trying to commit.
3010 (vc-version-diff, vc-update-change-log): Use `setq
3011 default-directory' rather than `cd'.
3012 (vc-log-edit): Don't forget to set default-directory in the
3015 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
3016 (vc-sccs-state-heuristic): Use file-writable-p instead of
3018 (vc-sccs-checkout): Use `unless'.
3020 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
3021 of comparing userids.
3022 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
3023 Simplify the logic by eliminating unreachable code.
3024 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
3025 just do a recursive call if we need to retry.
3026 (vc-rcs-checkout): Handle the case where rcs is missing by making
3027 the buffer read-write if requested and re-signalling the error.
3029 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
3031 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3033 * vc-hooks.el (vc-handled-backends): Docstring change.
3034 (vc-ignore-vc-files): Mark obsolete.
3035 (vc-registered): Check vc-ignore-vc-files.
3036 (vc-find-file-hook, vc-file-not-found-hook): Don't check
3039 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
3041 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3043 * vc.el (vc-checkout): Don't do anything special for ange-ftp
3044 files since ange-ftp already has vc-registered return nil.
3046 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
3047 (vc-sccs-workfile-version): Use with-temp-buffer and new
3048 vc-parse-buffer and don't bother setting the property.
3049 (vc-sccs-add-triple): Use with-current-buffer and
3051 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
3053 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
3054 derives from the old vc-parse-buffer but uses the revision number
3055 rather than the date (much easier to compare robustly).
3056 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
3057 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
3058 locking-user more directly. Check strict locking and set
3059 checkout-model appropriately.
3060 (vc-rcs-parse-locks): Remove.
3061 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
3062 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
3063 (vc-rcs-system-release): Use with-current-buffer and
3065 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
3067 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
3068 (vc-simple-command): Docstring fix.
3069 (vc-registered): Align the way the file-handler is called with the
3070 way the function itself works.
3071 (vc-file-owner): Remove.
3073 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
3074 extraction of fields and call to file-attributes because of a
3075 temporary bug in rcp.el.
3076 (vc-cvs-fetch-status): Use with-current-buffer.
3078 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3080 * vc.el (vc-do-command): Use file-relative-name.
3081 (vc-responsible-backend): Use vc-backend if possible.
3082 (vc-create-snapshot): Improve the `interactive' spec. Add support
3083 for branches and dispatch to backend-specific `create-snapshot'.
3084 (vc-default-create-snapshot): New function, containing the bulk of
3085 the old vc-create-snapshot.
3086 (vc-retrieve-snapshot): Improve the interactive spec.
3088 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
3089 (vc-backend-hook-functions): Remove.
3090 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
3091 (vc-backend): Reintroduce the test for `file = nil' now that I
3092 know why it was there (and added a comment to better remember).
3094 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
3095 code from vc-sccs-hooks.el.
3096 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
3098 (vc-sccs-responsible-p): Use expand-file-name instead of concat
3099 and file-directory-p instead of file-exists-p.
3100 (vc-sccs-check-headers): Simplify the regexp.
3102 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
3103 from vc-rcs-hooks.el. Don't require 'vc anymore.
3104 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
3105 file-directory-p instead of file-exists-p.
3107 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
3108 from vc-cvs-hooks.el.
3109 (proto vc-cvs-registered): Require 'vc-cvs instead of
3110 'vc-cvs-hooks. Don't require 'vc anymore.
3111 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
3112 file-directory-p instead of file-exists-p.
3113 (vc-cvs-create-snapshot): New function, replacing
3115 (vc-cvs-assign-name): Remove.
3117 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3119 * vc-cvs.el (vc-cvs-header): New var.
3121 * vc-rcs.el (vc-rcs-exists): Remove.
3122 (vc-rcs-header): New var.
3124 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
3125 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
3126 (vc-sccs-header): New var.
3128 * vc.el (vc-do-command): Get rid of the `last' argument.
3129 (vc-header-alist): Remove, replaced by vc-X-header.
3130 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
3131 (vc-dired-hook): Use expand-file-name instead of concat.
3132 (vc-directory): Use file-name-as-directory.
3133 (vc-snapshot-precondition, vc-create-snapshot)
3134 (vc-retrieve-snapshot): Allow the command to operate on any
3137 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
3138 just removing the 'WORKFILE argument or by removing the 'MASTER
3139 argument and replacing `file' with (vc-name file).
3141 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3143 * vc.el: Update Copyright and add a crude list of backend funs.
3144 (vc-writable-p): New function.
3145 (with-vc-file): Use vc-writable-p.
3146 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
3147 (vc-register): Avoid vc-name.
3148 (vc-locking-user): Remove.
3149 (vc-steal-lock): Make the `owner' arg non-optional.
3150 (vc-merge): Use vc-writable-p instead of vc-locking-user and
3152 (vc-default-dired-state-info): Use vc-state instead of
3153 vc-locking-user and return special strings for special states.
3154 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
3155 and get rid of one of the special CVS cases.
3156 (vc-cancel-version): prettify error message with \\[...].
3157 (vc-rename-master): New function.
3158 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
3159 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
3160 the CVS special case generic.
3161 (vc-default-record-rename): Remove.
3162 (vc-file-tree-walk-internal): Only call FUNC for files that are
3163 under control of some VC backend and replace `concat' with
3165 (vc-file-tree-walk): Update docstring.
3166 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
3167 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
3169 * vc-sccs.el (vc-sccs-rename-file): Renamed from
3170 vc-sccs-record-rename. Use `find-file-noselect' rather than
3171 `find-file' and call `vc-rename-master' to do the actual move.
3172 (vc-sccs-diff): Remove unused `backend' variable.
3174 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
3175 to delay loading of vc-sccs until it is really used.
3176 (vc-sccs-master-templates): Preload.
3177 (vc-sccs-state): Update call to vc-sccs-parse-locks.
3178 (vc-sccs-project-dir): Remove (merged into
3179 vc-sccs-search-project-dir).
3180 (vc-sccs-search-project-dir): Rewrite using file name handling ops
3181 rather than `concat', make sure it is preloaded and don't bother
3182 to check that the file actually exists.
3183 (vc-sccs-parse-locks): Remove unused `file' argument, remove
3184 `locks' argument (use buffer's content instead) and eliminate n^2
3187 * vc-rcs.el: Update Copyright.
3188 (vc-rcs-rename-file): New function.
3189 (vc-rcs-diff): Remove unused `backend' variable.
3191 * vc-hooks.el: Update Copyright.
3192 (vc-backend): Don't accept a nil argument any more.
3193 (vc-up-to-date-p): Turn into a defsubst.
3194 (vc-possible-master): New function.
3195 (vc-check-master-templates): Use `vc-possible-master' and allow
3196 funs in vc-X-master-templates to return a non-existent file.
3198 * vc-cvs.el: Update Copyright.
3199 (vc-cvs-diff): Remove unused `backend' variable.
3200 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
3202 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
3204 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3206 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
3207 since it can be called from vc-rcs.el.
3208 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
3210 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3212 * vc.el (vc-version-diff): Expand file name read from the
3213 minibuffer. Handle the case when a previous version number can't
3214 be guessed. Give suitable messages when there were no differences
3216 (vc-clear-headers): Call backend-specific implementation, if one
3218 (vc-cancel-version): Made error checks generic. When done, clear
3219 headers generically, too.
3221 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
3222 from vc-clear-headers in vc.el.
3224 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
3226 (vc-rcs-latest-on-branch-p): Made second argument VERSION
3227 optional. Handle the case when it's not there.
3229 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3231 * vc.el (vc-locking-user): Moved from vc-hooks.el.
3233 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3235 * vc-hooks.el (vc-loadup): Remove.
3236 (vc-find-backend-function): Use `require'. Also, handle the case
3237 where vc-BACKEND-hooks.el doesn't exist.
3238 (vc-call-backend): Cleanup.
3240 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3242 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
3243 vc-rcs-grab-templates)
3244 (vc-rcs-registered): Remove. The default function works as well.
3245 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
3246 vc-sccs-grab-templates)
3247 (vc-sccs-registered): Remove. The default function works as well.
3249 * vc.el (vc-version-diff): Left out a vc- in call to
3251 (vc-default-dired-state-info, vc-default-record-rename)
3252 (vc-default-merge-news): Update for the new backend argument.
3254 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
3255 using the default function.
3256 (vc-call-backend): If calling the default function, pass it the
3257 backend as first argument. Update the docstring accordingly.
3258 (vc-default-state-heuristic, vc-default-mode-line-string): Update
3259 for the new backend argument.
3260 (vc-make-backend-sym): Renamed from vc-make-backend-function.
3261 (vc-find-backend-function): Use the new name.
3262 (vc-default-registered): New function.
3264 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3266 * vc.el (vc-merge): Use vc-find-backend-function.
3268 * vc-hooks.el (vc-backend-functions): Remove.
3269 (vc-loadup): Don't setup 'vc-functions.
3270 (vc-find-backend-function): New function.
3271 (vc-call-backend): Use above fun and populate 'vc-functions
3273 (vc-backend-defines): Remove.
3275 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3277 * vc.el (vc-register): Put a FIXME note for a newly found bug.
3278 Call vc-call-backend without the leading vc-.
3279 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
3280 (vc-check-headers): Call vc-call-backend without the leading vc-.
3281 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
3282 (vc-annotate-display): Replace confusing use of `cond' with `or'.
3283 Call vc-call-backend without the leading vc-.
3285 * vc-cvs.el (tail): Provide vc-cvs.
3286 * vc-sccs.el (tail): Provide vc-sccs.
3287 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
3289 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
3290 (vc-make-backend-function, vc-call): Pass names without leading
3291 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
3292 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
3293 (vc-call-backend): Always try to load vc-X-hooks.
3294 (vc-registered): Remove vc- in call to vc-call-backend.
3296 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3298 * vc.el (vc-process-filter): New function.
3299 (vc-do-command): Setup `vc-process-filter' for the async process.
3300 (vc-maybe-resolve-conflicts): New function to reduce
3301 code-duplication. Additionally, it puts the buffer in
3302 `smerge-mode' if applicable.
3303 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
3304 calling `merge-news'.
3305 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
3306 (vc-log-edit): New function. Replacement for `vc-log-mode' by
3307 interfacing to log-edit.el.
3308 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
3309 log-edit is available.
3310 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
3312 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3314 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
3315 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
3316 defvar and the initialization.
3317 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
3319 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
3320 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
3322 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
3324 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3326 * vc.el (vc-file-clear-masterprops): Removed.
3327 (vc-checkin, vc-revert-buffer): Removed calls to the above.
3328 (vc-version-diff): Use buffer-size without argument.
3329 (vc-register): Heed vc-initial-comment.
3331 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
3334 * vc-rcs.el (vc-rcs-register): Parse command output to find master
3335 file name and workfile version.
3336 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
3338 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
3339 vc-file-clear-masterprops.
3341 * vc-sccs.el (vc-sccs-checkout): Removed call to
3342 vc-file-clear-masterprops. If writable, set vc-state to 'edited
3343 rather than user login name.
3346 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3348 * vc.el (vc-workfile-unchanged-p): Remove unused argument
3349 `want-differences-if-changed' and simplify.
3350 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
3351 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
3352 output (which is invalid for async vc-diff) to decide whether to
3353 do the revert silently or not.
3355 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3357 * vc-hooks.el (vc-loadup): Load files quietly.
3358 (vc-call-backend): Oops, brain fart.
3360 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3362 * vc-cvs.el (vc-cvs-state): Typo.
3363 (vc-cvs-merge-news): Return the status code rather than the error msg.
3365 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3367 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
3368 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
3369 vc-state or vc-up-to-date-p.
3370 (vc-merge): Use vc-backend-defines to check whether merging is
3371 possible. Set state to 'edited after successful merge.
3373 * vc-hooks.el (vc-locking-user): If locked by the calling user,
3374 return that name. Redocumented.
3376 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3378 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
3379 new `vc-state' semantics.
3380 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
3381 'vc-locking-user to the current user.
3382 (vc-merge): Inline vc-backend-merge. Comment out code that I
3383 don't understand and hence can't adapt to the new `vc-state' and
3384 `vc-locking-user' semantics.
3385 (vc-backend-merge): Remove.
3387 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
3388 rather than 'vc-locking-user.
3390 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
3392 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
3393 (vc-state): Don't use 'reserved any more. Just use the same
3394 convention as the one used for vc-<backend>-state where the
3395 locking user (as a string) is returned.
3396 (vc-locking-user): Update, based on the above convention. The
3397 'vc-locking-user property has disappeared.
3398 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
3400 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
3401 with a heuristic one.
3402 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
3403 (vc-cvs-checkin): Do a trivial parse to set the state in case of
3404 error. That allows us to get to 'needs-merge even in the
3405 stay-local case. There's still no way to detect 'needs-patch in
3406 such a setup (or to force an update for that matter).
3407 (vc-cvs-logentry-check): Remove, the default works as well.
3409 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3411 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
3413 * vc.el (vc-do-command): kill-all-local-variables, to reset any
3414 major-mode in which the buffer might have been put earlier. Use
3415 `remove' and `when'. Allow `okstatus' to be `async' and use
3416 `start-process' in this case.
3417 (vc-version-diff): Handle the case where the diff looks empty
3418 because of the use of an async process.
3420 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3422 * vc.el (vc-next-action-on-file): Removed optional parameter
3423 `simple'. Recompute state unconditionally.
3424 (vc-default-toggle-read-only): Removed.
3426 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
3427 (vc-toggle-read-only): Undid prev change.
3429 * vc-cvs.el (vc-cvs-stay-local): Renamed from
3430 vc-cvs-simple-toggle. Redocumented.
3431 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
3432 (vc-cvs-toggle-read-only): Removed.
3434 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3436 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
3437 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
3438 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
3439 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
3440 still is. So maybe it should be removed.
3441 (vc-head-version, vc-find-binary): Remove.
3442 (vc-recompute-state): Move from vc-hooks.el.
3443 (vc-next-action-on-file): Add a `simple' argument to allow
3444 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
3445 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
3446 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
3447 (vc-dired-mode-map): Properly defvar it.
3448 (vc-print-log): Call log-view-mode if available.
3449 (small-temporary-file-directory): defvar instead of use boundp.
3450 (vc-merge-news): Moved to vc-cvs.el.
3451 (vc-default-merge-news): New function.
3453 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
3454 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
3455 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
3456 unknown `vc-latest-version' function. It should probably refer to
3457 vc-workfile-version or somesuch, but it's very unclear to me and I
3458 don't have SCCS to test things.
3460 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
3461 (vc-sccs-state-heuristic): Fix typo.
3462 (vc-sccs-workfile-unchanged-p): Add missing argument.
3464 * vc-rcs.el: Require vc and vc-rcs-hooks.
3465 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
3466 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
3467 (vc-release-greater-or-equal-p): Move from vc.
3468 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
3469 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
3470 (vc-rcs-checkout): Add a missing `new-version' argument in the
3471 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
3473 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
3474 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
3475 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
3476 than the apparently unbound `workfile-version'.
3478 * vc-hooks.el (vc-master-templates): Def the obsolete var.
3479 (vc-file-prop-obarray): Use `make-vector'.
3480 (vc-backend-functions): Add new hookable functions
3481 vc-toggle-read-only, vc-record-rename and vc-merge-news.
3482 (vc-loadup): If neither backend nor default functions exist, use
3483 the backend function rather than nil.
3484 (vc-call-backend): If the function if not bound yet, try to load
3485 the non-hook file to see if it provides it.
3486 (vc-call): New macro plus use it wherever possible.
3487 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
3488 nor `vc-find-binary' since it's only called from
3489 vc-mistrust-permission which is only used once the backend is known.
3490 (vc-checkout-model): Fix parenthesis.
3491 (vc-recompute-state, vc-prefix-map): Move to vc.el.
3493 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
3494 (vc-cvs-release, vc-cvs-system-release): Remove.
3495 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
3496 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
3498 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
3499 (vc-cvs-toggle-read-only): First cut at a function to allow a
3500 cvs-status-free vc-toggle-read-only.
3501 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
3502 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
3503 vc-cvs-status. Also set vc-state rather than vc-locking-user.
3504 (vc-cvs-checkout): Modify access rights directly if the user
3505 requested not to use `cvs edit'. And refresh the mode line.
3507 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
3508 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
3510 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3512 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
3513 workfile' that got lost when the code was extracted from vc.el.
3514 And merged the tail with the rest of the code (not possible in the
3515 old vc.el where the tail was shared among all backends). And
3516 explicitly set the state to 'edited if `writable' is set.
3518 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
3519 (vc-cvs-state): Be careful to return the value from
3521 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
3522 property but return it instead. Also be careful to handle a nil
3523 or "" `rev' when workfile is non-nil (it was handled properly when
3526 * vc.el: Removed those pesky unnecessary `(function' quotes.
3527 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
3528 directly in the defvar.
3529 (vc-do-command): Bind inhibit-read-only so as to properly handle
3530 the case where the destination buffer has been made read-only.
3531 (vc-diff): Delegate to vc-version-diff in all cases.
3532 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
3533 (vc-annotate-mode-variables): Removed (code moved partly to
3534 defvars and partly to vc-annotate-add-menu).
3535 (vc-annotate-mode): Turned into a derived-mode.
3536 (vc-annotate-add-menu): Moved in code in
3537 vc-annotate-mode-variables.
3538 (vc-update-change-log): Use make-temp-file if available.
3540 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
3542 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
3543 `vc-checkout-model' updated to `vc-cvs-update-model'.
3545 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3547 * vc.el (vc-next-action-on-file): Added handling of state
3549 (vc-checkout-carefully): Is now practically obsolete, unless the
3550 above is too slow to be enabled unconditionally.
3551 (vc-update-change-log): Fixed typo.
3553 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
3555 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
3556 Now handles state `unlocked-changes'.
3557 (vc-sccs-workfile-unchanged-p): New function, to support the above.
3559 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
3561 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
3562 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
3564 (vc-rcs-workfile-unchanged-p): Renamed from
3565 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
3566 function yet, but supposed to become one soon.
3568 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
3570 (vc-call-backend): Changed error message.
3571 (vc-state): Added description of state `unlocked-changes'.
3573 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3575 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
3576 always return t in CVS-controlled directories.
3578 * vc.el (vc-responsible-backend): New function.
3579 (vc-register): Largely rewritten.
3580 (vc-admin): Removed (implementation moved into vc-register).
3581 (vc-checkin): Redocumented.
3582 (vc-finish-logentry): If no backend defined yet (because we are in
3583 the process of registering), use the responsible backend.
3585 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
3586 Updated function lists.
3587 (vc-call-backend): Fixed typo.
3589 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
3591 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
3592 Removed query option. Redocumented.
3594 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3596 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
3598 * vc.el: Updated callers of `vc-checkout-required' to use
3599 `vc-checkout-model'.
3601 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3603 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
3604 stuff updated to reference this function instead of the old
3605 `vc-backend-release-p'.
3607 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3609 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
3610 vc-checkout-model. Return appropriate values. Updated callers.
3612 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3614 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
3615 (vc-backend-revert): Function moved into `vc-revert';
3616 `vc-next-action' must be updated to accomodate this change.
3617 (vc-backend-steal): Function moved into `vc-finish-steal'.
3618 (vc-backend-logentry-check): Function moved into
3619 `vc-finish-logentry'.
3620 (vc-backend-printlog): Function moved into `vc-print-log'.
3621 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
3622 (vc-backend-assign-name): Function moved into
3623 `vc-create-snapshot'.
3625 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3627 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
3628 Rename to vc-checkout-model. Return appropriate values.
3631 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
3632 to vc-checkout-model.
3633 (vc-checkout-required): Rename to vc-checkout-model.
3634 Re-implement and re-comment.
3635 (vc-after-save): Use vc-checkout-model.
3637 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3639 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
3640 Update to use the vc-BACKEND-diff functions instead.
3641 `vc-diff' is now working.
3643 * vc-rcs.el (vc-rcs-logentry-check): New function.
3645 * vc-cvs.el (vc-cvs-logentry-check): New function.
3647 * vc-sccs.el (vc-sccs-diff): Function changed name from
3648 `vc-backend-diff'. This makes `vc-diff' work.
3650 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
3651 of functions possibly implemented in a vc-BACKEND library.
3652 (vc-checkout-required): Fix bug that caused an error to be
3653 signaled during `vc-after-save'.
3656 This checkin is made with our new VC code base for the very first time.
3657 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
3659 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
3660 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
3662 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
3663 updated to `vc-uses-locking'.
3664 (vc-checkout-required): Call to backend function.
3665 `vc-checkout-required' updated to `vc-uses-locking' instead.
3667 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
3668 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
3670 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
3671 to match the split into various backends.
3672 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
3673 (vc-retrieve-snapshot): Bug fix.
3675 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3677 * vc-sccs.el (vc-sccs-release): Doc fix.
3679 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3681 * vc.el (vc-next-action-on-file): Bug found and fixed.
3682 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
3683 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
3685 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
3686 (vc-rcs-checkout): Name space cleaned up. No more revision number
3687 crunching function names that are not prefixed with vc-rcs.
3688 (vc-rcs-checkout-model): Function added. References to
3689 `vc-checkout-model' replaced.
3691 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3693 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
3694 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
3695 still need to be split, and implemented for RCS).
3697 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3699 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
3701 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
3702 required by the vc.el file.
3704 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
3705 required by the vc.el file.
3706 (vc-rcs-exists): Function added.
3708 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
3709 required by the vc.el file.
3711 * vc.el (vc-admin): Updated to handle selection of appropriate
3712 backend. Current implementation is crufty and need re-thinking.
3714 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
3716 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3718 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
3719 beginning of annotate buffers correctly.
3721 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
3722 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
3723 functionality updated quite a lot to support multiple backends.
3724 Variables `vc-annotate-mode', `vc-annotate-buffers',
3725 `vc-annotate-backend' added.
3727 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
3728 `vc-annotate-difference' added to supported backend functions.
3730 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3732 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
3733 Use with-temp-file instead of /bin/sh. Merged from mainline
3735 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3737 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
3739 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
3741 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
3743 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3745 * vc-hooks.el: vc-state-heuristic added to
3746 vc-backend-hook-functions.
3748 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
3750 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
3752 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
3753 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
3754 state to `reserved'.
3756 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
3757 `vc-checkout-required'. Rename the `locked' state to `reserved'.
3759 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3761 * vc-rcs-hooks.el: Implement new state model. Hardly anything
3764 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
3766 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
3767 if defined. (Merged from main line, slightly adapted.)
3769 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
3770 millenium problem (merged from mainline).
3772 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3774 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
3775 part and moved the non-BACKEND stuff to vc.el.
3777 * vc.el: Split the annotate feature into a BACKEND specific part
3778 and moved it from the vc-cvs.el file to this one.
3780 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3782 * vc-hooks.el: Implement new state model.
3783 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
3784 (vc-locking-user): Simplify. Now only needed if the file is
3785 locked by somebody else.
3786 (vc-lock-from-permissions): Remove. Functionality is in
3787 vc-sccs-hooks.el and vc-rcs-hooks.el now.
3788 (vc-mode-line-string): New name for former vc-status. Adapted.
3789 (vc-mode-line): Adapt to use the above. Remove optional parameter.
3791 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
3792 Various simplifications and adaptations all over the place.
3794 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
3795 Simplify and adapt the rest.
3797 * vc.el (vc-resynch-window): Add TODO comment: check for
3798 interaction with view mode according to recent RCS change.
3799 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
3801 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3803 * vc.el: Convert the remaining function comments to docstrings.
3805 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3807 * vc.el (vc-backend-release, vc-release-greater-or-equal)
3808 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
3809 (vc-minor-part, vc-previous-version): Functions that operate and
3810 compare revision numbers got proper documentation. Comments added
3811 about their possible removal.
3813 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3815 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
3816 the vc-backend.el files.
3818 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
3820 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
3821 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
3822 (vc-rcs-previous-version): Functions added.
3824 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
3826 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
3828 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3830 * vc-hooks.el (vc-master-templates): Is really obsolete.
3831 Comment out the definition for now. What is the right procedure
3833 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
3835 (vc-default-registered): Remove.
3836 (vc-check-master-templates): New function; does mostly what the
3838 (vc-locking-user): Don't rely on the backend to set the property.
3840 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
3841 Rewrite documentation.
3842 (vc-rcs-templates-grabbed): New variable.
3843 (vc-rcs-grab-templates): New function.
3844 (vc-rcs-registered): Rewrite to use above mechanism.
3846 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
3847 Rewrite documentation.
3848 (vc-sccs-templates-grabbed): New variable.
3849 (vc-sccs-grab-templates): New function.
3850 (vc-sccs-registered): Rewrite to use above mechanism.
3851 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
3852 Don't throw the result, simply return it.
3854 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
3855 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
3856 (vc-cvs-registered): Does the check itself now. Simplify.
3858 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
3861 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3863 * vc-cvs.el (vc-cvs-diff): New function.
3865 * vc-sccs.el (vc-sccs-diff): New function.
3867 * vc-rcs.el (vc-rcs-diff): New function.
3868 (vc-rcs-checkout): Bug (typo) found and fixed.
3869 (vc-rcs-register-switches): New variable.
3871 * vc.el (vc-backend-diff): Function removed and placed in the
3874 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3876 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
3878 * vc.el (vc-backend-checkout): Function removed and replaced in
3879 the vc-backend.el files.
3881 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
3883 * vc.el (vc-backend-admin): Removed and replaced in the
3884 vc-backend.el files.
3886 * vc.el (Martin): Removed all the annotate functionality since it
3887 is CVS backend specific.
3889 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3891 * spec.txt: Added specification of vc-state.
3893 * vc-sccs-hooks.el (vc-sccs-master-properties):
3894 Remove handling of vc-latest-version and
3895 vc-your-latest-version. What used to be vc-latest-version, is now
3896 returned as vc-workfile-version.
3897 (vc-sccs-workfile-version): Adapt.
3899 2000-09-04 Dave Love <fx@gnu.org>
3901 * vc.el: [Merged from mainline.]
3902 (vc-dired-mode): Make the dired-move-to-filename-regexp
3903 regexp match the date, to avoid treating date as file size.
3904 Add YYYY S option to WESTERN/
3906 2000-09-04 Dave Love <fx@gnu.org>
3908 * vc.el: Require `compile' when compiling.
3909 (vc-logentry-check-hook): New option.
3910 (vc-steal-lock): Use compose-mail.
3911 (vc-dired-mode-map): Defvar when compiling.
3912 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
3913 vc-sccs.el and renamed. Callers changed.
3914 (vc-backend-checkout, vc-backend-logentry-check)
3915 (vc-backend-merge-news): Doc fix.
3916 (vc-default-logentry-check): New function.
3917 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
3918 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
3919 (vc-backend-merge): Doc fix. Use backend functions.
3920 (vc-check-headers): Use backend functions.
3922 * vc-cvs.el: Require vc when compiling.
3923 (vc-cvs-register-switches): Doc fix.
3924 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
3925 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
3926 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
3927 New functions (code from vc.el).
3928 (vc-annotate-display-default): Fix interactive spec.
3929 (vc-annotate-time-span): Doc fix.
3931 * vc-rcs.el: Require vc when compiling.
3932 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
3933 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
3934 (vc-rcs-checkin): New functions (code from vc.el).
3935 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
3937 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
3939 * vc-sccs.el: Require vc when compiling.
3940 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
3941 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
3943 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
3945 (vc-sccs-add-triple, vc-sccs-record-rename)
3946 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
3947 (vc-sccs-admin): Doc fix.
3949 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3951 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
3952 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
3953 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
3956 * vc-sccs.el (vc-admin-sccs): Added from vc.el
3958 * vc-cvs.el: Moved the annotate functionality from vc.el.
3959 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
3961 2000-09-04 Dave Love <fx@gnu.org>
3963 * vc.el (vc-backend-release): Call vc-system-release.
3965 * vc-sccs.el (vc-sccs-system-release):
3966 Renamed from vc-sccs-backend-release.
3968 * vc-rcs.el (vc-rcs-system-release):
3969 Renamed from vc-rcs-backend-release.
3971 * vc-cvs.el (vc-cvs-system-release):
3972 Renamed from vc-cvs-backend-release.
3974 2000-09-04 Dave Love <fx@gnu.org>
3976 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
3978 (vc-backend-release): Dispatch to backend functions.
3979 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
3980 probably needs attention.]
3982 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
3983 (vc-sccs-backend-release): New function.
3985 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
3986 (vc-cvs-backend-release): New function.
3988 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
3990 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
3991 (vc-default-dired-state-info): New function.
3992 (vc-dired-state-info): Dispatch to backends.
3993 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
3995 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
3996 from vc.el and renamed.
3998 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4000 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
4001 (vc-version-other-window, vc-backend-assign-name): Removed
4002 references to vc-latest-version; sometimes changed into
4003 vc-workfile-version.
4005 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
4006 vc-rcs-master-workfile-version.
4007 (vc-rcs-workfile-version): Use the above. Don't call
4008 vc-latest-version (that was unreachable code, anyway).
4009 (vc-rcs-fetch-master-properties): Doc fix.
4011 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
4012 (vc-backend-hook-functions): Removed them from this list, too.
4013 (vc-fetch-properties): Removed.
4014 (vc-workfile-version): Doc fix.
4016 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
4017 (vc-rcs-workfile-version, vc-rcs-locking-user)
4018 (vc-rcs-uses-locking): Use it.
4020 * vc-hooks.el (vc-consult-rcs-headers):
4021 Moved into vc-rcs-hooks.el, under the name
4022 vc-rcs-consult-headers.
4024 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
4026 (vc-cvs-find-master): Use this name only; correct different
4027 versions of the name.
4029 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
4031 (vc-sccs-locking-user): Use the latter.
4033 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
4036 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
4038 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
4039 functions are implementation details of those two backends.
4041 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4043 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
4044 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
4046 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
4047 (vc-sccs-parse-locks): SCCS-specific code moved here from
4050 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
4051 code moved here from vc-hooks.
4053 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
4054 into back-end specific parts and removed. Callers not updated
4055 yet; because I guess these callers will disappear into back-end
4056 specific files anyway.
4058 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4060 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
4061 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
4064 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
4065 Store yes/no in the property, and return t/nil. Updated all
4068 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
4069 vc-sccs-uses-locking. Don't set property.
4070 (vc-sccs-locking-user): Don't set property.
4072 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
4073 vc-cvs-uses-locking. Don't set property here; leave that to
4075 (vc-cvs-locking-user): Reflect above change. Streamlined.
4077 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
4078 vc-rcs-uses-locking.
4079 (vc-rcs-locking-user): Reflect above change.
4081 2000-09-04 Dave Love <fx@gnu.org>
4083 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
4085 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
4087 * vc-hooks.el (vc-checkout-model): Punt to backends.
4089 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
4091 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
4093 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
4096 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
4099 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
4100 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
4102 * vc-hooks.el (vc-default-locking-user): New function.
4103 (vc-locking-user, vc-workfile-version): Punt to backends.
4105 2000-09-04 Dave Love <fx@gnu.org>
4107 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
4108 (vc-master-workfile-version): Moved from vc-hooks.
4110 * vc-rcs-hooks.el: Fix duplicate code in last change.
4112 * vc-rcs-hooks.el: Require vc-hooks when compiling.
4113 (vc-rcs-master-templates): Improve :type.
4114 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
4115 vc-master-workfile-version): Moved from vc-hooks.
4117 * vc-sccs-hooks.el: Require vc-hooks when compiling.
4118 (vc-sccs-master-templates): Improve :type.
4119 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
4121 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
4123 * vc-cvs-hooks.el: Require vc-hooks when compiling.
4124 (vc-cvs-master-templates): Improve :type. Use
4125 vc-cvs-find-cvs-master.
4126 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
4128 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
4130 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
4131 Moved to vc-cvs-hooks.
4133 * vc-hooks.el: Add doc strings in various places. Simplify the
4135 (vc-handled-backends): New user variable.
4136 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
4139 2000-09-04 Dave Love <fx@gnu.org>
4141 * vc.el: Some doc fixes for autoloaded and interactive functions.
4142 Fix compilation warnings from ediff stuff.
4143 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
4145 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
4147 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
4149 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
4151 2000-09-04 Dave Love <fx@gnu.org>
4153 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
4155 (vc-make-backend-function, vc-loadup, vc-call-backend)
4156 (vc-backend-defines): New functions.
4158 * vc-hooks.el: Various doc fixes.
4159 (vc-default-back-end, vc-follow-symlinks): Custom fix.
4160 (vc-match-substring): Function removed. Callers changed to use
4162 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
4165 2000-09-04 Dave Love <fx@gnu.org>
4167 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
4169 (vc-sccs-project-dir, vc-search-sccs-project-dir)
4170 (vc-sccs-registered): Doc fix.
4172 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
4173 (vc-cvs-registered): Doc fix.
4175 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
4176 (vc-rcs-registered): Doc fix.
4178 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4180 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
4182 * vc-hooks.el: vc-registered has been renamed
4183 vc-default-registered. Some functions have been moved to the
4184 backend specific files. they all support the
4185 vc-BACKEND-registered functions.
4187 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4189 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
4191 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
4193 2000-09-04 Dave Love <fx@gnu.org>
4195 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
4196 menu-bar-update-hook.
4198 * help.el (help-manyarg-func-alist): Add
4199 find-operation-coding-system.
4201 * wid-edit.el (widget-sexp-validate): Fix garbled code.
4203 * custom.el (custom-set-variables): Print message about errors in
4206 2000-09-03 Andrew Innes <andrewi@gnu.org>
4208 * makefile.w32-in: Change to DOS line endings.
4210 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4212 * mouse.el (mouse-popup-menubar): Supply the prompt string for
4213 minor-mode keymaps, if they don't have one.
4215 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4217 * eshell/esh-module.el (eval-when-compile): Don't lose if
4218 esh-module.el's file name is truncated to DOS 8+3 limits.
4220 2000-09-01 John Wiegley <johnw@gnu.org>
4222 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
4223 predicate, which caused entries in the completion list to be
4226 2000-08-30 John Wiegley <johnw@gnu.org>
4228 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
4229 sending to subprocesses. Also, hook pre-command-hook if
4230 `eshell-send-direct-to-subprocesses' is non-nil.
4231 (eshell-send-direct-to-subprocesses): New config variable. If t,
4232 subprocess input is send immediately.
4233 (eshell-toggle-direct-send): New function.
4234 (eshell-self-insert-command): New function.
4235 (eshell-intercept-commands): New function.
4236 (eshell-send-input): If direct subprocess sending is enabled,
4237 don't echo any input to the Eshell buffer. Let the subprocess
4238 handle that. This requires "stty echo" in bash, for example.
4240 2000-08-28 John Wiegley <johnw@gnu.org>
4242 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
4243 completion function for Eshell's implementation of `unset'.
4245 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4247 * info.el (Info-directory-list): Doc fix.
4249 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
4251 * filecache.el (file-cache-add-directory-using-find): Don't quote
4252 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
4254 2000-08-31 Kenichi Handa <handa@etl.go.jp>
4256 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
4259 2000-08-30 Andrew Innes <andrewi@gnu.org>
4261 * timer.el (run-with-idle-timer): Undo last change, so that timer
4262 is not activated immediately if Emacs is already idle. Some
4263 existing code relies on this behaviour.
4265 2000-08-30 Miles Bader <miles@gnu.org>
4267 * frame.el (set-frame-font): Do completion of font-name for
4270 2000-08-30 Kenichi Handa <handa@etl.go.jp>
4272 * international/quail.el (quail-start-translation): Bind locally
4273 last-command-event, last-command, and this-command.
4274 (quail-start-conversion): Likewise.
4275 (quail-self-insert-command): Fix docstring.
4277 2000-08-29 Gerd Moellmann <gerd@gnu.org>
4279 * progmodes/executable.el
4280 (executable-make-buffer-file-executable-if-script-p): Check that
4281 buffer contains at least 2 characters.
4283 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
4285 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
4287 2000-08-29 Dave Love <fx@gnu.org>
4289 * diff-mode.el (diff-mode) <defgroup>: Add :version.
4290 (diff-mode-shared-map): Bind mouse-2.
4291 (diff-imenu-generic-expression): New variable.
4292 (diff-mode): Use it.
4294 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
4295 (mouse-popup-menubar): Add minor mode menus.
4296 (popup-menu): Check for lookup-key returning number.
4298 2000-08-29 Miles Bader <miles@gnu.org>
4300 * comint.el (comint-send-input): Create overlays using the proper
4301 front/read-advance arguments.
4303 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4305 * ps-print.el: Even/odd pages printing. Doc fix.
4306 (ps-print-version): New version number (6.0).
4307 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
4308 (ps-background, ps-begin-file, ps-begin-job): Code fix.
4309 (ps-print-duplex-feature): Variable eliminated.
4310 (ps-even-or-odd-pages): New variable.
4312 * progmodes/ebnf2ps.el: Doc fix.
4313 (ebnf-version): New version (3.3).
4314 (ebnf-user-arrow): Change variable customization to sexp.
4315 (ebnf-user-arrow): Function eliminated.
4316 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
4318 2000-08-29 Kenichi Handa <handa@etl.go.jp>
4320 * help.el (help-xref-mule-regexp): New variable.
4321 (help-make-xrefs): Handle help-xref-mule-regexp.
4323 * international/mule-cmds.el (help-xref-mule-regexp-template): New
4325 (describe-input-method): Temporarily activate the specfied input
4326 method to display the information.
4327 (describe-language-environment): Hyperlinks to mule related items.
4329 * international/mule-diag.el (charset-multibyte-form-string): New
4331 (list-character-sets-1): Use charset-multibyte-form-string.
4332 (describe-character-set): New function.
4333 (describe-coding-system): Hyperlinks to safe character sets.
4335 * international/quail.el (quail-help): New arg PACKAGE.
4336 Hyperlinks to mule related items.
4337 (quail-help-insert-keymap-description): Use
4338 substitute-command-keys instead of describe-bindings.
4339 (quail-translation-help): Hyperlinks to mule related items.
4341 2000-08-28 John Wiegley <johnw@gnu.org>
4343 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
4344 have a defsubst call itself. Made `eshell-flatten-list' back into
4347 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
4348 catch, in case re-centering point at bottom messes up the display.
4349 This happens frequently in Emacs 21, due I believe to variable
4352 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
4353 to call `find-tag-interactive'.
4355 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
4356 the list of remember directories.
4358 2000-08-28 John Wiegley <johnw@gnu.org>
4360 * align.el: Test align-region-separate to see if it's a symbol.
4362 2000-08-28 John Wiegley <johnw@gnu.org>
4364 * eshell/esh-util.el (eshell-flatten-list): Made this function
4365 into a defsubst form. It gets used very frequently, although
4366 calls don't occur all that often.
4368 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
4371 * eshell/esh-cmd.el (eshell-rewrite-while-command):
4372 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
4374 (eshell-copy-handles): Created a new macro for duplicating the
4375 current set of open handles. This is needed by the looping
4377 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
4378 is not incorrectly stomped on.
4380 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
4381 declaration for pcomplete-use-paring.
4382 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
4383 value of eshell-cmpl-use-paring.
4384 * pcomplete.el (pcomplete-use-paring): New config variable, to
4385 indicate whether paring should be used.
4386 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
4387 completion alternatives that have already been used.
4389 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
4390 bound to C-c C-y, which will repeat the previous N arguments
4391 (based on prefix argument).
4392 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
4394 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
4395 if there is no *Help* buffer. This is for XEmacs, which renames
4396 its help buffers uniquely. TODO: Find out what the current buffer
4399 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
4400 first entry that correlates to a passwd/group number. Later
4401 entries (used for group/user name aliasing to multiple IDs) are
4404 * eshell/em-xtra.el (eshell/expr):
4405 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
4406 (eshell-grep, eshell/diff, eshell/locate):
4407 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
4408 argument list, before passing it to the system command.
4410 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
4411 `find-tag' for use at final position in Eshell buffers (which
4412 otherwise triggers an error on Emacs 21).
4413 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
4414 buffer, if it is currently bound to `find-tag'.
4416 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
4417 in the list of matched Makefile names.
4418 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
4419 directory, prefer its contents to Makefile.
4421 * eshell/em-dirs.el (eshell/cd): cd commands that look up
4422 directory parts (like "cd old new", or "cd =regexp"), are now case
4423 sensitive on non-Windows/DOS platforms.
4425 * eshell/esh-mode.el (eshell-parse-command-input): When a user
4426 types RET after an open delimiter (like "), display a message
4427 indicating that Eshell is waiting for the closing delimiter.
4429 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
4430 environment variables.
4432 * eshell/em-unix.el (eshell/diff): Added logic to fail more
4433 gracefully if the user enters incorrect arguments.
4435 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
4438 * eshell/esh-var.el (eshell-interpolate-variable):
4439 * eshell/esh-mode.el (eshell-move-argument):
4440 * eshell/em-unix.el (eshell-du-sum-directory):
4441 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
4442 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
4445 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
4446 to ensure the `preserve' flag gets propagated when doing recursive
4449 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
4451 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
4452 Don't convert \n into \0177 in memory.
4453 (eshell-read-history, eshell-write-history): Convert \n to \0177,
4454 and back again, when reading and writing.
4456 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
4458 * eshell/esh-util.el (eshell-processp): Added to relieve constant
4459 testing of `fboundp' on `processp'.
4461 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
4462 (eshell/jobs): Don't call process-list if it is not bound.
4463 (eshell-gather-process-output): Support systems where async
4464 subprocesses aren't supported.
4465 (eshell-scratch-buffer, eshell-last-sync-output-start): New
4468 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
4469 eshell-do-eval returns t.
4470 (eshell-do-pipelines-synchronously): New defmacro.
4471 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
4472 when async subprocesses aren't supported.
4473 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
4474 if async subprocesses aren't supported.
4475 (eshell-resume-command): Don't assume STATUS is a string.
4477 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
4479 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
4480 (eshell-close-target, eshell-get-target): Use eshell-processp.
4481 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
4483 (eshell-get-target, eshell-create-handles): Doc fix.
4485 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
4487 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
4488 criterion to include commands that output something, as long as it
4489 leaves both the command and the end-of-buffer visible when the
4491 (eshell-review-quick-commands): Adjust the help doc string
4494 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
4496 * locate.el (locate): Cleaned up locate command's interactive prompting
4497 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
4499 * filecache.el (file-cache-case-fold-search): New variable
4500 (file-cache-assoc-function): New variable
4501 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
4502 Use file-cache-case-fold-search variable
4503 (file-cache-add-file): Use file-cache-assoc-function
4504 (file-cache-delete-file): likewise
4505 (file-cache-directory-name): likewise
4506 (file-cache-debug-read-from-minibuffer): likewise
4508 2000-08-28 Gerd Moellmann <gerd@gnu.org>
4510 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
4511 (abbrev-table-name): New function.
4512 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
4513 If non-nil list local abbrev, only.
4515 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
4517 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
4518 from Gnus support code, and use special article copy buffer
4519 `(gnus-original-article-buffer)' instead. This allows to get rid
4520 of article-hide-headers usage (which breaks in the latest Gnus
4521 version). Thanks to Detlev Zundel.
4523 2000-08-28 Kenichi Handa <handa@etl.go.jp>
4525 * international/quail.el (quail-use-package): Hide "... loaded"
4527 (quail-start-translation, quail-start-conversion): Likewise.
4529 * international/kkc.el (kkc-region): Hide "... loaded" message.
4531 2000-08-27 Dave Love <fx@gnu.org>
4533 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
4535 2000-08-27 Miles Bader <miles@gnu.org>
4537 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
4539 2000-08-27 Kenichi Handa <handa@etl.go.jp>
4541 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
4542 'ja-dic-cnv), not (require 'skkdic-cnv).
4544 2000-08-26 Miles Bader <miles@gnu.org>
4546 * faces.el (face-x-resources): Add entry for :inherit.
4547 * cus-face.el (custom-face-attributes): Add support for :inherit
4548 attribute. Add support for relative face heights.
4549 (custom-face-attributes-get): Treat `nil' as being a default value
4550 for :inherit (as well as `unspecified').
4552 * faces.el (set-face-attribute): Update doc string.
4553 (face-attribute-name-alist): Add :inherit.
4554 (face-valid-attribute-values): Handle :inherit.
4555 (face-read-string): Rephrase prompt to be less confusing.
4556 Assume that DEFAULT is a string, since we must return a string.
4557 (face-read-integer): Use `format' to turn DEFAULT into an
4558 acceptable default for face-read-string. Match NEW-VALUE against
4559 the string "unspecified", not the symbol `unspecified', since
4560 that's what face-read-string returns.
4561 (read-face-attribute): Lookup a name for old-value in valid, and
4562 use it as a default if we find one. Treat all values from
4563 face-read-string as strings. If the default is used, don't do any
4564 more processing on the value, just use the old value directly.
4565 (read-face-and-attribute, modify-face): Tweak prompt.
4566 (read-face-name): Don't assume prompt ends with a space.
4568 * faces.el (describe-face): Add support for :inherit attribute.
4570 2000-08-25 Kenichi Handa <handa@etl.go.jp>
4572 * terminal.el (terminal-emulator): Fix args to `concat'. Now
4573 concat doesn't accept interger.
4575 * international/kkc.el: Remove SKK from Keywords. Require
4576 ja-dic-utl instead of skkdic-utl.
4578 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
4579 Provide ja-dic-cnv instead of skkdic-cnv.
4580 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
4581 (iso-2022-7bit-short): Add safe-charsets property.
4582 (skkdic-convert-postfix): Search Japanese chou-on character in
4583 addition to Hiragana character.
4584 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
4585 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
4586 (batch-skkdic-convert): Likewise.
4588 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
4589 Provide ja-dic-utl instead of skkdic-utl.
4590 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
4592 2000-08-24 Dave Love <fx@gnu.org>
4594 * disp-table.el (standard-display-default): Make the test of `l'
4597 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
4600 * international/iso-ascii.el: Make pilcrow convenient string
4601 consistent with section.
4602 (iso-ascii-display): Set up multibyte characters as well as
4605 2000-08-24 Kenichi Handa <handa@etl.go.jp>
4607 * international/mule-cmds.el (reset-language-environment): Set
4608 default-process-coding-system to '(undecided . iso-latin-1), which
4609 makes process I/O almost consistent with file I/O. Call this
4610 function when mule-cmds.el[c] is loaded.
4612 2000-08-22 Andrew Innes <andrewi@gnu.org>
4614 * makefile.w32-in: New file.
4616 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
4618 * comint.el (comint-output-filter): Compare end of
4619 comint-last-output-overlay with the start of the newly inserted
4620 text, not the end, when deciding whether to extend it.
4621 Set saved-point's insertion type to advance after insertion.
4623 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
4624 since this is now done independently of font-lock mode.
4626 2000-08-21 Gerd Moellmann <gerd@gnu.org>
4628 * server.el (server-kill-new-buffers): New user option.
4629 (server-existing-buffer): New buffer-local variable.
4630 (server-visit-files): When using an existing buffer, set
4631 server-existing-buffer to t.
4632 (server-buffer-done): If server-kill-new-buffers is t, kill the
4633 buffer, unless it was already present before visiting it with
4636 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
4638 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
4639 even if the display doesn't support colors: some displays will
4640 support bold/underline faces.
4642 2000-08-21 Gerd Moellmann <gerd@gnu.org>
4644 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
4646 * startup.el (command-line): If user's init file had an error,
4647 add explanatory text to *Messages*.
4649 2000-08-21 Kenichi Handa <handa@etl.go.jp>
4651 * man.el (Man-getpage-in-background): Decode the process output by
4652 the system locale coding system.
4654 2000-08-20 Dave Love <fx@gnu.org>
4656 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
4657 Don't test x-popup-menu.
4658 (function) <complete-function>: Complete only fbound symbols.
4659 <validate, value>: New.
4660 (variable) <complete-function>: Complete only bound symbols.
4661 (coding-system): Add :base-only, :complete-function, :validate,
4662 :value, :prompt-match.
4663 (widget-coding-system-prompt-value): Use read-coding-system and
4665 (editable-field): Add :help-echo.
4666 (widget-push-button-gui, widget-push-button-cache)
4667 (widget-gui-action, widget-editable-list-gui): COmment out, along
4669 (widget-at): Make arg optional.
4670 (widget-echo-help): Adjust for current help-echo calling sequence.
4671 (widget-specify-field, widget-specify-button)
4672 (widget-specify-insert, widget-get-sibling, widget-image-find)
4673 (widget-convert, widget-insert, widget-leave-text)
4674 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
4675 (widget-setup, widget-field-find, widget-before-change)
4676 (widget-after-change, widget-default-complete)
4677 (widget-default-create, widget-default-delete)
4678 (widget-push-button-value-create, editable-field)
4679 (widget-field-prompt-value, widget-field-validate)
4680 (widget-choice-value-create, widget-choice-action)
4681 (widget-choice-validate, widget-checklist-add-item)
4682 (widget-radio-add-item, widget-radio-chosen)
4683 (widget-radio-value-inline, widget-editable-list-value-create)
4684 (widget-editable-list-entry-create)
4685 (widget-documentation-link-add)
4686 (widget-documentation-string-value-create)
4687 (widget-regexp-validate, widget-file-complete)
4688 (widget-sexp-validate, widget-plist-convert-widget)
4689 (widget-plist-convert-widget, widget-alist-convert-widget)
4690 (widget-alist-convert-widget, widget-color-complete): Simplify,
4691 particularly to avoid bindings which aren't optimized out.
4693 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
4695 (down-list, backward-up-list, up-list, kill-sexp)
4696 (backward-kill-sexp, mark-sexp): Make arg optional.
4697 (lisp-complete-symbol): Add optional arg PREDICATE.
4699 * cus-start.el: Add display-buffer-reuse-frames,
4700 file-coding-system-alist.
4702 2000-08-20 Gerd Moellmann <gerd@gnu.org>
4704 * startup.el (command-line): Clear realized faces after
4705 modifying TTY color mappings.
4707 2000-08-20 Miles Bader <miles@gnu.org>
4709 * faces.el (face-attr-match-p): Don't return true if ATTRS are
4710 merely a subset of FACE's attributes.
4712 2000-08-19 Miles Bader <miles@gnu.org>
4714 * comint.el (comint-output-filter): Save the point with a marker,
4715 not just a buffer position.
4717 * international/mule.el (set-buffer-process-coding-system): Make
4718 interactive prompt less confusing.
4720 2000-08-19 Gerd Moellmann <gerd@gnu.org>
4722 * hilit-chg.el: General cleanup of doc strings, comments and
4725 2000-08-19 Miles Bader <miles@gnu.org>
4727 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
4728 Compiler macro removed; beginning-of-line is no longer always
4729 equivalent to forward-line, in the presence of fields.
4731 * comint.el (comint-output-filter): Remove ad-hoc saving of
4732 restriction, and just use save-restriction, now that it works
4733 correctly. Don't adjust comint-last-input-start to account for
4734 our insertion; it shouldn't have moved because we don't use
4735 insert-before-markers anymore. Comment out call to
4736 `force-mode-line-update'; why is it here?
4738 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
4739 while checking for prompt to delete. Use `forward-line 0'
4740 instead of beginning-of-line.
4741 (gud-filter): Temporarily widen gud comint buffer while
4744 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
4746 * progmodes/sh-script.el: Big bag of typos.
4748 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
4749 check since ispell-process is not bound when ispell is not yet loaded.
4751 2000-08-18 Dave Love <fx@gnu.org>
4753 * image.el (find-image): Copy `spec' before using plist-put.
4755 2000-08-18 Gerd Moellmann <gerd@gnu.org>
4757 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
4760 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
4761 backward-kill-sexp, analogous to kill-sexp.
4763 * progmodes/icon.el (icon-indent-line)
4764 (icon-is-continuation-line): Handle comments specially.
4766 2000-08-17 Ken Stevens <k.stevens@ieee.org>
4768 * ispell.el: Set to standard author/maintainer/keyword fields.
4769 Fine tuning to menu map appearance and operation, and added help.
4770 Remove `start' and `end' error messages when compiling.
4771 (ispell-choices-win-default-height): Fixed comment string.
4772 (ispell-dictionary-alist-1): Fixed regexp in castellano and
4773 castellano8 dictionaries.
4774 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
4775 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
4776 dictionary, added italiano dictionary.
4777 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
4779 (ispell-tex-skip-alists): Added psfig support.
4780 (ispell-skip-html): Renamed from ispell-skip-sgml.
4781 (ispell-begin-skip-region-regexp, ispell-skip-region)
4782 (ispell-minor-check): Improved html skipping support to skip across
4783 code, and recognize `&' commands without propper `;' syntax;
4784 (ispell-process-line): Fix alignment error when manually
4785 correcting spelling.
4786 (ispell): Fix comment string.
4787 (ispell-add-per-file-word-list): Always put word list on new line.
4789 2000-08-17 Gerd Moellmann <gerd@gnu.org>
4791 * format.el (format-encode-run-method): Fix error message to say
4792 `encode' instead of `decode'. Use save-window-excursion around
4793 shell-command-on-region as in format-decode-run-method because
4794 shell-command-on-region can display a buffer with error output.
4795 (format-decode): Don't record undo information for the decoding.
4796 (format-annotate-function): Add parameter FORMAT-COUNT. Make
4797 that number part of the temporary buffer name so that more than
4798 one decoding using a temporary buffer can happen safely.
4800 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
4801 of `A-z' in the regexp.
4803 * hilit-chg.el: Fix typos in commentary.
4805 * help.el (view-emacs-news): Rewritten for new naming scheme
4808 * startup.el (command-line): Pop to *Messages* in case an error
4809 is signaled while loading user-init-file.
4811 2000-08-17 Andreas Schwab <schwab@suse.de>
4813 * files.el (insert-directory): Don't lose original file name,
4814 undoing an undocumented change.
4816 2000-08-17 Alex Schroeder <alex@gnu.org>
4818 * sql.el (sql-magic-go): Use comint-bol.
4819 (sql-copy-column): Use comint-line-beginning-position.
4820 (comint-line-beginning-position): Define a replacement for
4821 comint-line-beginning-position if it is not fboundp.
4823 2000-08-17 Alex Schroeder <alex@gnu.org>
4825 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
4826 it didn't have any effect anyway.
4828 2000-08-17 Alex Schroeder <alex@gnu.org>
4830 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
4831 --pset and pager=off instead of sending \\o|cat at the beginning
4834 2000-08-17 Miles Bader <miles@gnu.org>
4836 * progmodes/octave-inf.el: Add compatibility definition of
4837 comint-line-beginning-position.
4839 2000-08-17 Kenichi Handa <handa@etl.go.jp>
4841 * startup.el (normal-top-level): Look in each dir in load-path for
4842 a leim-list.el file too. This assures of loading leim-list.el
4843 that is created at Emacs installation time even if a user have his
4846 2000-08-17 Miles Bader <miles@gnu.org>
4848 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
4849 foreground color to black if the background is dark.
4851 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
4853 * loadhist.el (unload-feature): Typo.
4855 * finder.el (finder-compile-keywords):
4856 * cus-dep.el (custom-make-dependencies): Add local-variable settings
4857 to the generated file.
4859 * mail/mh-e.el (mh-make-local-vars):
4860 Replace make-variable-buffer-local with make-local-variable.
4863 * options.el (Edit-options-{set,toggle,t,nil}):
4864 * mail/mailabbrev.el (mail-abbrevs-mode):
4865 * textmodes/tex-mode.el (tex-expand-files):
4866 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
4868 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
4870 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
4871 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
4872 Allow going past the last element.
4873 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
4874 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
4875 (cvs-mouse-toggle-mark): Don't move point.
4876 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
4878 * progmodes/compile.el (grep): Provide a default set of files.
4879 (next-error): Docstring fix.
4880 (compilation-find-file): Avoid find-file (fails in a dedicated window).
4882 * emacs-lisp/easy-mmode.el (define-minor-mode):
4883 Use `symbol-value' to keep the byte-compiler quiet.
4885 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
4886 (diff-find-source-location): New fun, extracted from diff-goto-source.
4887 (diff-goto-source): Use it.
4888 (diff-next-complex-hunk, diff-filter-lines): New function.
4889 (diff-apply-hunk): New command.
4891 * smerge-mode.el (smerge-mode-menu): Doc fix.
4893 * msb.el (msb-mode): Define it in terms of define-minor-mode.
4895 2000-08-16 Dave Love <fx@gnu.org>
4897 * windmove.el (windmove) <defgroup>: Add :version.
4899 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
4900 (goto-address-fontify-p, goto-address-highlight-p)
4901 (goto-address-url-face, goto-address-url-mouse-face)
4902 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
4903 (goto-address-url-regexp): Use thing-at-point-url-regexp.
4904 (goto-address-fontify, goto-address-at-mouse): Simplify,
4905 (goto-address-at-point): browse-url-url-at-point,
4906 goto-address-find-address-at-point can return nil.
4907 (goto-address-find-address-at-point): Return nil on failure.
4909 * align.el (align) <defgroup>: Add :version.
4911 * calculator.el (calculator): Add :version.
4912 (calculator): Use two lines for calculator window if `modeline'
4915 * play/5x5.el: Doc fixes.
4916 (5x5) <defgroup>: Add :version.
4918 * play/fortune.el (fortune) <defgroup>: Add :version.
4919 (fortune-append): Fix error message.
4920 (fortune-from-region): Doc fix.
4922 * play/pong.el (pong): Doc fix.
4924 * play/morse.el: Keywords, commentary, autoloads.
4926 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
4928 * desktop.el (desktop-save): Don't look at symbol-value of a
4929 member of minor-mode-alist, unless it is boundp.
4931 2000-08-16 Sam Steingold <sds@gnu.org>
4933 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
4934 `while'; use `with-current-buffer' instead of `save-excursion'.
4935 Removed unnecessary kludges now that "*Buffer List*" is excluded.
4937 2000-08-16 Kenichi Handa <handa@etl.go.jp>
4939 * international/ccl.el (declare-ccl-program): Docstring modified.
4940 (ccl-execute-with-args): Likewise.
4942 2000-08-16 Miles Bader <miles@gnu.org>
4944 * progmodes/sql.el: Add compatibility definition of
4945 comint-line-beginning-position.
4947 2000-08-15 Gerd Moellmann <gerd@gnu.org>
4949 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
4950 'buffer-menu' property.
4951 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
4953 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
4954 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
4957 * buff-menu.el (list-buffers-noselect): Don't display the
4958 *Buffer List* buffer.
4960 * font-lock.el: Require jit-lock to prevent a very late
4961 `Loading jit-lock' message.
4963 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
4964 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
4967 2000-08-15 Miles Bader <miles@gnu.org>
4969 * textmodes/ispell.el (ispell-graphic-p): New constant.
4970 (ispell-choices-win-default-height, ispell-help): Use
4971 `ispell-graphic-p' instead of `xemacsp'.
4973 2000-08-15 Dave Love <fx@gnu.org>
4975 * simple.el: Autoload widget-convert when compiling.
4976 (mail-user-agent): Doc fix.
4978 * help.el (function-called-at-point, variable-at-point): Use
4980 (help-manyarg-func-alist): Add insert-and-inherit.
4982 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
4984 * delsel.el (delsel-unload-hook): New function.
4986 * find-file.el: Doc fixes. Move provide to end.
4987 (ff) <defgroup>: Add :link.
4988 (ff-goto-click): Deleted.
4989 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
4990 Use mouse-set-point.
4992 * textmodes/tildify.el: Doc fixes.
4993 (tildify) <defgroup>: Add:version.
4995 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
4996 (glasses-custom-set): Use set-default, not set.
4997 (minor-mode-alist): Propertize the lighter.
4998 (glasses-mode): Provide optional arg.
5000 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
5001 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
5002 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
5003 option. Provide :type.
5004 (cwarn-configuration): Provide :type.
5005 (cwarn-mode): Doc fix.
5007 * add-log.el (change-log-merge): Doc fix.
5008 (change-log-redate): New command.
5010 * net/browse-url.el (browse-url-filename-alist): Add a clause for
5012 (browse-url): Use dolist, not mapcar.
5013 (browse-url-at-point): Check for null url.
5014 (browse-url-event-buffer, browse-url-event-point): Functions
5016 (browse-url-at-mouse, browse-url-netscape): Simplify.
5018 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
5020 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
5021 Fix previous change to mapcan.
5022 (msb--init-file-alist, msb--add-separators)
5023 (msb--make-keymap-menu): Simplify.
5024 (msb--choose-file-menu): Use copy-sequence.
5025 (msb-mode-map): Add title to keymap.
5026 (msb-unload-hook): New function.
5028 * bs.el: Fix indentation.
5029 (bs) <defgroup>: Add :links.
5031 (bs-apply-sort-faces): Don't use window-system.
5032 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
5034 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
5036 * calendar/timeclock.el (timeclock-file): Run .timelog through
5037 convert-standard-filename.
5039 2000-08-14 Gerd Moellmann <gerd@gnu.org>
5041 * emacs-lisp/authors.el: New file.
5043 * paren.el (show-paren-priority): New user option.
5044 (show-paren-function): Set overlay priorities to
5045 show-paren-priority.
5047 2000-08-14 Miles Bader <miles@gnu.org>
5049 * comint.el (comint-bol): Use `forward-line 0' instead of calling
5050 beginning-of-line with inhibit-field-text-motion bound.
5052 2000-08-14 Gerd Moellmann <gerd@gnu.org>
5054 * calendar/timeclock.el: New file.
5056 2000-08-14 David Ponce <david@dponce.com>
5058 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
5059 `widget-button-click'. so that one can use left mouse button to
5060 click on dialog buttons.
5062 2000-08-14 Emmanuel Briot <briot@gnat.com>
5064 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
5065 identifiers, since XML is case sensitive
5067 2000-08-12 Miles Bader <miles@gnu.org>
5069 * comint.el (comint-output-filter): Don't bother frobbing
5070 window-start, it doesn't seem to be necessary.
5072 * comint.el (comint-send-string, comint-send-region): Make into
5073 real functions. Snapshot the prompt before sending.
5075 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
5077 * info.el (Info-find-emacs-command-nodes): Rewrite to use
5078 technique similar to Info-index, instead of relying on specific
5079 names of relevant Index nodes.
5080 (Info-goto-emacs-command-node): Bind Info-history to nil when
5081 going to the first node found by Info-find-emacs-command-nodes.
5083 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
5085 * menu-bar.el (menu-bar-help-menu): Add a :help string.
5087 2000-08-10 Miles Bader <miles@gnu.org>
5089 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
5091 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
5093 * info.el (Info-file-list-for-emacs): More elements for the
5094 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
5097 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
5099 * comint.el (comint-send-input): Make the newline boundary overlay
5100 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
5101 (comint-output-filter): Use `insert' instead of
5102 `insert-before-markers'. Extend comint-last-output-overlay when
5103 necessary since we can't rely on insert-before-markers to do it.
5104 * gud.el (gud-filter): Use `with-current-buffer' instead of
5105 save-excursion when inserting the output, so that point gets
5106 updated correctly; the old method relied on a rather dodgy
5107 side-effect of comint-output-filter to avoid the effect of
5110 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
5112 * files.el (recover-file): Call insert-directory instead of
5113 invoking `ls' directly.
5115 2000-08-10 Miles Bader <miles@gnu.org>
5117 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
5118 (comint-last-prompt-overlay): New variables.
5119 (comint-output-filter): Implement prompt highlighting.
5120 (comint-snapshot-last-prompt): New function.
5121 (comint-send-input): Snapshot the last prompt.
5122 Use comint-highlight-input-face.
5123 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
5124 Use defface instead of defcustom.
5125 (send-invisible, comint-send-eof): Snapshot the last prompt.
5126 (comint-delchar-or-maybe-eof): Use comint-send-eof.
5127 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
5129 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
5131 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
5132 (regexp-opt-group): Use a list of chars for `letters'.
5133 (regexp-opt-charset): `chars' is now a list of chars.
5134 Use a char-table rather than a vector so it works for multibyte chars.
5136 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
5137 Set cvs-minor-current-files to the selected fileinfo.
5138 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
5139 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
5141 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
5143 * files.el (insert-directory): Don't call access-file on
5144 directories on DOS and Windows.
5146 2000-08-09 Kenichi Handa <handa@etl.go.jp>
5148 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
5149 longer if necessary.
5150 (ccl-embed-code): Call ccl-embed-data to store CODE in
5153 2000-08-09 Miles Bader <miles@gnu.org>
5155 * comint.el (comint-output-filter): Properly handle the case where
5156 the text surrounded by comint-last-output-overlay was deleted.
5158 2000-08-08 Gerd Moellmann <gerd@gnu.org>
5160 * info.el (Info-insert-dir): Use Info-additional-directory-list if
5162 (Info-file-list-for-emacs): Remove "info" from the list because
5163 that leads to trying to use the documentation from file `info'
5164 in various situations where it isn't appropriate, for instance
5167 * ffap.el (ffap-read-file-or-url-internal): Handle case that
5168 DIR and/or STRING are nil.
5170 * progmodes/compile.el (compilation-setup): Make variable
5171 compilation-error-screen-columns buffer-local, as some comment
5172 in the code suggests it should be.
5174 * files.el (auto-mode-interpreter-regexp): New variable.
5175 (set-auto-mode): Use it.
5177 * indent.el (indent-for-tab-command): Doc fix.
5179 * mouse-sel.el (mouse-sel-mode): Doc fix.
5181 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
5184 * help.el (print-help-return-message): When
5185 display-buffer-reuse-frames is set, let the help window been quit,
5186 instead of deleting it, which might delete a reused frame.
5188 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
5190 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
5191 rename a directory to a name that differs only by its letter case.
5193 2000-08-08 Kenichi Handa <handa@etl.go.jp>
5195 * international/quail.el (quail-define-rules): Handle Quail decode
5196 map correctly. Add code for supporting annotations.
5197 (quail-install-decode-map): New function.
5198 (quail-defrule-internal): New optional arguments decode-map and
5200 (quail-advice): New function.
5202 2000-08-07 Sam Steingold <sds@gnu.org>
5204 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
5205 `defconst', `define-condition', `with-slots'.
5206 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
5208 2000-08-03 Miles Bader <miles@gnu.org>
5210 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5212 (comint-prompt-regexp, comint-get-old-input): Document dependence on
5213 comint-use-prompt-regexp-instead-of-fields.
5214 (comint-send-input): Add `input' field property to stuff we send to
5215 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
5216 (comint-output-filter): Add `output' field property to process
5217 output, if comint-use-prompt-regexp-instead-of-fields is nil.
5218 (comint-replace-by-expanded-history)
5219 (comint-get-old-input-default, comint-show-output)
5220 (comint-backward-matching-input, comint-forward-matching-input)
5221 (comint-next-prompt, comint-previous-prompt): Use field
5222 properties if comint-use-prompt-regexp-instead-of-fields is nil.
5223 (comint-line-beginning-position): New function.
5224 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
5225 (comint-replace-by-expanded-history-before-point): Use
5226 comint-line-beginning-position and line-end-position.
5227 (comint-last-output-overlay): New variable.
5228 (comint-mode): Make `comint-last-output-overlay' buffer-local.
5230 * shell.el (shell-prompt-pattern): Doc change.
5231 (shell-backward-command): Use line-beginning-position.
5233 * gud.el (gud-gdb-complete-command): Use
5234 comint-line-beginning-position.
5236 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
5237 comint-bol doesn't actually go to the beginning of the line.
5239 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
5240 if comint-use-prompt-regexp-instead-of-fields is non-nil.
5241 (try-expand-line-all-buffers): Likewise.
5243 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
5244 explicitly matching comint-prompt-regexp.
5245 (sql-copy-column): Use comint-line-beginning-position instead of
5246 explicitly matching comint-prompt-regexp.
5248 * progmodes/octave-inf.el (inferior-octave-complete): Use
5249 comint-line-beginning-position.
5251 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
5253 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
5254 looking for a prompt, use `forward-line 0' instead of
5255 `beginning-of-line', to avoid getting caught by an input field.
5257 2000-08-07 Gerd Moellmann <gerd@gnu.org>
5259 * files.el (shell-quote-wildcard-pattern): Make sure to return
5260 PATTERN, in the Unix case.
5262 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
5264 * play/zone.el (zone): Discard any pending input before running
5265 the randomly-chosen pgm.
5267 2000-08-07 Kenichi Handa <handa@etl.go.jp>
5269 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
5270 checking the existence of any multibyte characters.
5272 2000-08-06 Gerd Moellmann <gerd@gnu.org>
5274 * help.el (describe-mode): Test minor-mode symbol for being
5275 bound before testing its value for being nil.
5277 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
5278 `first', `second', and `third'.
5280 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
5281 (second): Make it an alias for `cadr'.
5283 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
5285 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
5286 types of display support faces now.
5288 2000-08-05 Gerd Moellmann <gerd@gnu.org>
5290 * pcvs.el (require): Require `cl' during compilation, only.
5292 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
5293 (toplevel): Remove `remq' and `remove' from autoloads.
5294 (cl-fake-autoloads): New variable. If set, arrange for an error
5295 when CL functions etc. are autoloaded.
5297 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
5299 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
5301 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
5302 popped up, but the user clicks outside the menu, return an empty
5303 regexp (that causes unhighlight-regexp to have no effect).
5305 * menu-bar.el (menu-bar-games-menu): Add Zone.
5307 * hi-lock.el (toplevel): Require font-lock.
5309 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5311 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
5312 (ebnf-8-bit-chars): New var for bug fix.
5313 (ebnf-string): Bug fix.
5315 2000-08-03 Sam Steingold <sds@gnu.org>
5317 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
5318 instead of `buffer-string'.
5319 (require 'cl): Always, not just when compiling.
5320 `ignore-errors' in `interactive', `list*', `defun*' &c make this
5323 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
5325 * international/mule-cmds.el (select-safe-coding-system): Make
5326 the message text about selecting a safe coding system more clear.
5328 2000-08-02 Gerd Moellmann <gerd@gnu.org>
5330 * hi-lock.el: New file.
5332 * play/zone.el: New file.
5334 * replace.el (occur): Set tab-width in the *Occur* buffer to the
5335 value of tab-width in the original buffer. Choose a line number
5336 format that's a multiple of the original buffer's tab width, so
5337 that lines appear right.
5339 * textmodes/ispell.el (ispell): New function, replacing an alias.
5340 Spell-check active region if in transient-mark-mode and mark
5341 is active; otherwise spell-check buffer.
5343 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5345 * ps-mule.el: Fix a customization problem on
5346 ps-mule-font-info-database-default.
5348 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
5350 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
5351 display-mouse-p instead of window-system.
5352 (ebrowse-member-mode-map): Ditto.
5354 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5356 * progmodes/ebnf2ps.el: Update ps-print functions call.
5357 Indentation fix. Doc fix.
5358 (ebnf-version): New version number (3.2).
5359 (ebnf-format-color, ebnf-begin-job): Code fix.
5361 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
5363 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
5364 font lock support on window-system.
5365 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
5367 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
5368 display-color-p, if fboundp, instead of window-system.
5370 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
5372 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
5373 instead of window-system.
5375 * wid-edit.el (widget-choose): Use display-mouse-p instead of
5377 (widget-choice-mouse-down-action): Use display-popup-menus-p
5378 instead of window-system.
5380 * strokes.el (strokes-file): Run the file name through
5381 convert-standard-filename.
5382 (strokes-mode): Call display-mouse-p instead of looking at
5383 window-system. Change the error message accordingly.
5385 * progmodes/cpp.el (toplevel): Support faces on tty's.
5387 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
5388 (lm-plot-square, lm-init-display): Don't use window-system.
5390 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
5391 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
5393 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
5394 instead of looking at window-system.
5396 2000-07-30 Gerd Moellmann <gerd@gnu.org>
5398 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
5399 of testing if iswitchb-prepost-hooks is bound, because the
5400 latter will always be true when invoking a recursive minibuffer
5401 from an active Iswitchb buffer.
5403 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
5405 * files.el (shell-quote-wildcard-pattern): New function.
5406 (insert-directory): Call it. Only prepend "\" to command on Unix
5407 and GNU/Linux systems.
5409 2000-07-30 Gerd Moellmann <gerd@gnu.org>
5411 * eshell/esh-groups.el: Change custom :link file names
5412 from `eshell.info' to `eshell'.
5414 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
5416 * dired.el (dired-build-subdir-alist): Expand subdirectory names
5417 correctly in recursive ange-ftp listings.
5419 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5421 * ps-print.el: Fix bug 1: if ps-font-size-internal,
5422 ps-header-font-size-internal and
5423 ps-header-title-font-size-internal variables are not set,
5424 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
5425 face text property is (foreground-color . COLOR) or
5426 `(background-color . COLOR)', ps-print crashes. Doc fix.
5427 (ps-print-version): New version number (5.2.4).
5428 (ps-plot-region): Code fix.
5429 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
5430 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
5433 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
5435 * glasses.el (glasses-make-readable): Fix uncapitalization of
5436 identifiers like `myXMLDocument'.
5438 2000-07-28 Karl Fogel <kfogel@red-bean.com>
5440 * mail/mail-hist.el (mail-hist-previous-input)
5441 (mail-hist-next-input): Do the obvious code factorization.
5442 (mail-hist-retrieve-and-insert): New func, contains common
5444 If inserting a message body, leave point at top.
5446 2000-07-28 Sam Steingold <sds@gnu.org>
5448 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
5449 Use `<=', not `<' to compare times!
5450 (ange-ftp-ls): Remove.
5452 2000-07-27 Gerd Moellmann <gerd@gnu.org>
5454 * play/cookie1.el: Add explanation of how to make cookie.el
5455 compatible with strfile(1) to comment.
5457 * subr.el (remove, remq): New functions.
5459 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
5460 escape `*' in regexps.
5461 (midnight-find): Reverse order of arguments in the funcall of
5464 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
5467 * play/meese.el: Add Commentary section.
5469 2000-07-27 Alex Schroeder <alex@gnu.org>
5471 * sql.el (sql-ms): Added autoload cookie.
5472 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
5473 (sql-oracle): Ditto.
5474 (sql-help): Doc change.
5476 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
5477 types and exceptions.
5479 2000-07-27 Alex Schroeder <alex@gnu.org>
5481 * sql.el (sql-placeholder-history): New variable.
5482 (sql-query-placeholders-and-send): New function that will query
5483 the user and replace placeholders with user input.
5484 (sql-oracle): If running on NT, set comint-input-sender to
5485 sql-query-placeholders-and-send.
5487 (sql-stop): If in the SQLi buffer, insert stop notification, else
5488 present it as a message.
5490 2000-07-27 Alex Schroeder <alex@gnu.org>
5492 * sql.el (sql-input-ring-separator): Doc change.
5493 (sql-input-ring-file-name): Doc change.
5494 (sql-interactive-mode): Use `sql-input-ring-separator' and
5495 `sql-input-ring-file-name' to set the comint-mode equivalents
5496 without making them local variables.
5497 (sql-stop): Don't bind `sql-input-ring-separator' and
5498 `sql-input-ring-file-name' dynamically to their comint-mode
5501 2000-07-27 Kenichi Handa <handa@etl.go.jp>
5503 * international/mule.el (register-char-codings): New function.
5504 (make-coding-system): Handle `safe-chars' specification in the arg
5507 * international/mule-cmds.el
5508 (find-coding-systems-region-subset-p): This function deleted.
5509 (sort-coding-systems-predicate): New variable.
5510 (sort-coding-systems): New function.
5511 (find-coding-systems-region): Use
5512 find-coding-systems-region-internal.
5513 (find-coding-systems-string): Use find-coding-systems-region.
5514 (find-coding-systems-for-charsets): Check
5515 char-coding-system-table.
5516 (select-safe-coding-system-accept-default-p): New variable.
5517 (select-safe-coding-system): Mostly rewritten. New argument
5519 (select-message-coding-system): Call select-safe-coding-system
5520 with ACCEPT-DEFAULT-P arg.
5521 (reset-language-environment): Reset default-sendmail-coding-system
5522 to the default value iso-latin-1.
5523 (set-language-environment): Don't set the obsolete variable
5524 charset-origin-alist.
5526 * international/codepage.el (cp-coding-system-for-codepage-1):
5527 Give `safe-chars' property to make-coding-system.
5529 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
5530 calling select-message-coding-system twice.
5532 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
5533 instead of `safe-charsets'.
5534 (cyrillic-alternativnyj): Likewise.
5535 (ccl-encode-alternativnyj): Don't check the charset
5538 2000-07-27 Kenichi Handa <handa@etl.go.jp>
5540 * composite.el (compose-chars-after): Preserve match data.
5542 2000-07-26 Sam Steingold <sds@gnu.org>
5544 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
5545 (ange-ftp-real-file-newer-than-file-p): New function.
5546 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
5547 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
5549 * tooltip.el (tooltip-float-time): Removed (use `float-time').
5550 * midnight.el (midnight-float-time): Ditto.
5552 2000-07-26 Andreas Schwab <schwab@suse.de>
5554 * files.el (normal-backup-enable-predicate): Correct
5555 interpretation of the return value of compare-strings.
5557 2000-07-26 Gerd Moellmann <gerd@gnu.org>
5559 * isearch.el (isearch-resume): New function.
5560 (isearch-done): Add something to command-history to resume
5562 (isearch-yank-line, isearch-yank-word): Use
5563 buffer-substring-no-properties instead of buffer-substring.
5565 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
5566 of flyspell-mouse-map.
5568 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
5569 duplicate definition.
5570 (makefile-mode): Remove duplicate setting of local-abbrev-table.
5572 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
5573 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
5575 2000-07-25 Sam Steingold <sds@gnu.org>
5577 * net/ange-ftp.el: Get modtime over the net.
5578 (ange-ftp-file-modtime): New function.
5579 (ange-ftp-write-region, ange-ftp-insert-file-contents)
5580 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
5582 (ange-ftp-dot-to-slash): New function.
5583 (ange-ftp-fix-name-for-vms): Use it.
5585 * midnight.el (midnight-buffer-display-time): Use
5586 `with-current-buffer'.
5588 2000-07-25 Gerd Moellmann <gerd@gnu.org>
5590 * find-dired.el: Update copyright notice.
5591 (find-dired): Offer to kill a running `find'.
5593 * enriched.el (enriched-face-ans): For a `foreground-color'
5594 property, return '(("x-color" COLOR))' so that COLOR will be
5595 output as a parameter of the x-color annotation. Likewise for the
5596 `background-color' property. In the case of normal face
5597 properties, don't return annotations for unspecified foreground
5598 and background face attributes.
5600 2000-07-25 Kenichi Handa <handa@etl.go.jp>
5602 * language/japan-util.el (japanese-katakana-region): Fix handling
5605 2000-07-25 Miles Bader <miles@gnu.org>
5607 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
5608 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
5611 2000-07-24 Andrew Innes <andrewi@gnu.org>
5613 * timer.el (timer-activate-when-idle): Add optional parameter
5614 DONT-WAIT. Update docstring.
5615 (run-with-idle-timer): Specify extra parameter to
5616 timer-activate-when-idle, so that timer will be activated
5617 immediately if Emacs is already idle.
5619 * w32-fns.el (w32-using-nt): Fix docstring.
5621 2000-07-24 Dave Love <fx@gnu.org>
5623 * mouse.el (popup-menu): Set last-command-event.
5624 (mouse-major-mode-menu-prefix): Declare.
5626 2000-07-24 Gerd Moellmann <gerd@gnu.org>
5628 * textmodes/flyspell.el: Update to author's version 1.5d.
5630 * progmodes/hideshow.el: Update copyright notice.
5632 * vcursor.el: Set maintainer to FSF, since author cannot
5635 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
5637 * info.el (Info-goto-emacs-key-command-node): Leave a space after
5640 * mouse.el (popup-menu): Run the keymap through indirect-function,
5641 in case it was defined with define-prefix-key. If the menu is a
5642 list of keymaps, look up the binding of user's choice in each one
5644 (mouse-popup-menubar): If the global and local menu-bar keymaps
5645 don't have a prompt string, create one and insert it into the
5646 keymap. Don't barf if current-local-map returns nil.
5648 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
5650 * dired.el (dired-sort-R-check): Added to allow recursive listing
5652 (dired-sort-other): Use it.
5654 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5656 * Release of cc-mode 5.27
5658 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5660 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
5661 c-beginning-of-statement-1 that caused a bad case of recursion
5662 which could consume a lot of CPU in large classes in languages
5663 that have in-expression classes (i.e. Java and Pike).
5665 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
5666 statements before top level constructs (i.e. case 6 is moved
5667 before case 5 and is now case 4) to catch in-expression
5668 classes in top level expressions correctly.
5670 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5672 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
5673 objc-method-intro. Case 4 removed and case 5I added.
5675 * cc-langs.el (c-append-paragraph-start): New variable used by
5676 c-common-init to get paragraph-start correct.
5677 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
5678 initialize paragraph-start to make it correct both with and
5679 without the javadoc special case.
5681 * cc-mode.el (java-mode): Use c-append-paragraph-start to
5682 initialize paragraph-start for javadoc markup.
5684 * cc-vars.el (c-style-variables-are-local-p): Incompatible
5685 change by defaulting this to t. It's motivated by the
5686 confusing behavior that otherwise arise from the style system
5687 when editing both java and non-java files at the same time
5688 (see the comments about style setting in c-common-init).
5690 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5692 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
5693 similar to the one in c-fill-paragraph to check the fill
5694 prefix from the adaptive fill function for sanity.
5696 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5698 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
5701 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5703 * cc-mode.texi Documented the change of cpp-macro.
5705 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5707 * cc-align.el (c-lineup-multi-inher): Handle lines with
5708 leading comma nicely. Extended to handle member initializers
5711 * cc-engine.el: (c-beginning-of-inheritance-list,
5712 c-guess-basic-syntax): Fixed recognition of inheritance lists
5713 when the lines begins with a comma.
5715 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
5717 * cc-vars.el (c-offsets-alist): Changed default for
5718 member-init-cont to c-lineup-multi-inher since it now handles
5719 member initializers and indents better for leading commas.
5721 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5723 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
5724 handling that caused class open lines to be recognized as
5725 statement-conts in some cases.
5727 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
5728 guessed by the adaptive fill function unless point is on the
5729 first line of a block comment.
5731 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
5732 when the buffer ends with a macro continuation char.
5734 * cc-engine.el (c-guess-basic-syntax): Added support for
5735 function definitions as statements in Pike. The first
5736 statement in a lambda block is now labeled defun-block-intro
5737 instead of statement-block-intro.
5739 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
5740 so that the class surrounding point is selected, not the one
5741 innermost in the state.
5743 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
5744 recognition of switch labels having hanging multiline
5747 * cc-engine.el (c-beginning-of-member-init-list): Broke out
5748 some code in c-guess-basic-syntax to a separate function.
5749 * cc-engine.el (c-just-after-func-arglist-p): Fixed
5750 recognition of member inits with multiple line arglists.
5751 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
5752 member-init-cont when the commas are in funny places.
5754 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5756 * cc-defs.el (c-auto-newline): Removed this macro since it's
5759 * cc-engine.el (c-looking-at-bos): New helper function.
5760 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
5761 inexpr and toplevel classes apart in Pike.
5763 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
5766 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
5767 constant, since "class" can introduce an in-expression class
5770 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5772 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
5773 indentation on cpp-macro lines.
5775 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
5776 a syntax modifier like comment-intro, to make it possible to
5777 get syntactic indentation for preprocessor directives. It's
5778 incompatible wrt to lineup functions on cpp-macro, but it has
5779 no observable effect in the 99.9% common case where cpp-macro
5782 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5784 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
5785 member-init-cont when the preceding arglist is several lines.
5787 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5789 * cc-styles.el (c-style-alist): The basic offset for the BSD
5790 style corrected to 8.
5792 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5794 * cc-styles.el (c-style-alist): Adjusted the indentation of
5795 brace list openers in the gnu style.
5797 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5799 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
5801 * cc-cmds.el (c-electric-brace, c-electric-slash,
5802 c-electric-star, c-electric-semi&comma, c-electric-colon,
5803 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
5804 when c-syntactic-indentation is nil.
5806 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
5807 we were left at comments preceding the first statement when
5808 reaching the beginning of the buffer.
5810 * cc-vars.el (c-syntactic-indentation): New variable to turn
5811 off all syntactic indentation.
5813 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5815 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
5816 between the text and the block comment ender when it hangs,
5817 depending on how many there are before the fill.
5819 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5821 * cc-engine.el (c-beginning-of-closest-statement): New helper
5822 function to go back to the closest preceding statement start,
5823 which could be inside a conditional statement.
5824 * cc-engine.el (c-guess-basic-syntax): Use
5825 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
5827 * cc-engine.el (c-guess-basic-syntax): Better handling of
5828 arglist-intro, arglist-cont-nonempty and arglist-close when
5829 the arglist is nested inside parens. Cases 7A, 7C and 7F
5832 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
5833 up-to-date with javadoc 1.2.
5835 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5837 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
5838 multiline Pike type decls.
5840 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5842 * cc-cmds.el (c-indent-new-comment-line): Always break
5843 multiline comments in multiline mode, regardless of
5846 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5848 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
5849 fully::qualified::names in C++ member init lists. Preamble in
5852 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5854 * cc-langs.el (c-common-init): Handling of obsolete variables
5855 moved to c-initialize-cc-mode. More compatible style override
5856 when using global style variables.
5857 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
5858 variables moved here.
5860 * cc-mode.texi: Documented the special behavior of
5861 c-special-indent-hook as a style variable. Don't talk about
5862 doing (c-make-styles-buffer-local t) in a mode hook, since
5863 that's already too late to work right.
5865 * cc-styles.el (c-make-styles-buffer-local): Flag style
5866 variable localness in c-style-variables-are-local-p to make
5867 the compatibility measure in c-common-init work well.
5869 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
5870 longer contain set-from-style.
5871 * cc-styles.el (c-initialize-builtin-style): Don't check for
5872 set-from-style on c-special-indent-hook.
5873 * cc-styles.el (c-copy-tree): Obsolete. The standard function
5874 copy-alist is sufficient now.
5876 * cc-styles.el (c-set-style, c-set-style-1,
5877 c-get-style-variables): Fixes to variable initialization so
5878 that duplicate entries in styles have the same effect
5879 regardless of DONT-OVERRIDE.
5881 * cc-styles.el (c-set-style-2): Fixed bug where the
5882 initialization of inheriting styles failed when the
5883 dont-override flag is set.
5885 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
5888 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5890 * cc-defs.el (c-forward-comment): Removed the workaround
5891 introduced in 5.38 since it had worse side-effects. If a line
5892 contains the string "//\"", it regarded the // as a comment
5893 start since the \ temporarily doesn't have escape syntax.
5895 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
5897 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
5898 ada-xref.el before ada-prj.el, so that the Project menu is created
5899 when ada-prj tries to add to it.
5900 (ada-activate-keys-for-case): Suppress the characters that are not
5901 part of the Ada syntax. Better compatibility with else-mode
5902 (ada-adjust-case-interactive): When auto-casing is not active,
5903 correctly insert newlines (used to insert only ^M). Prevent the
5904 syntax table from being changed in case of an error
5905 (or '_' becomes part of a word and some commands are confused).
5906 Do nothing if ada-auto-case is nil.
5907 (ada-after-keyword-p): Ignore keywords that are also attributes
5908 (ada-batch-reformat): Update usage comment
5909 (ada-call-from-contextual-menu): New function
5910 (ada-case-read-exceptions): Reinitialize the casing exception list
5911 first to nil first, so that the casing exception file can be
5913 (ada-check-defun-name): Handles "configure" keyword for gnatdist
5915 (ada-compile-goto-error): Fix regexp used to detect a file:line
5916 anywhere in the error message
5917 (ada-contextual-menu-last-point): New variable
5918 (ada-create-keymap): If the variable delete-key-deletes-forward is
5919 t on XEmacs, it means that DEL should delete one character
5921 (ada-create-menu): Use :included instead of :visible for XEmacs.
5922 New submenu "Options".
5923 (ada-end-stmt-re): Correctly indent "select ... then abort"
5925 (ada-fill-comment-paragraph): Correctly delete all leading '--'
5926 even if they don't match ada-fill-comment-prefix Fix handling of
5927 paragraphs on the first or last line of a file.
5928 (ada-format-paramlist): Fix handling of default parameter values.
5929 (ada-get-body-name): New function.
5930 (ada-get-current-indent): Optimized by searchling directly for an
5931 existing generic part or a statement outside of it. Handle
5932 ada-indent-align-comments when indenting comments Replaced some
5933 regexps by testing directly the next character. This results in a
5934 huge speedup on some files. New indentation scheme for renames
5935 statements. Stop looking for the 'while' or 'for' associated with
5936 a 'loop' at the first semicolon encountered. A "return" can also
5937 match an anonymous access subprogram declaration.
5938 (ada-get-indent-noindent): Ignore strings and comments when
5939 looking for the keywords "record" and "private".
5940 (ada-goto-matching-decl-start): When matching "if", make sure we
5941 are not in fact seeing "end if". Ignore "when" statements except
5942 when initial keyword was "begin". Fix handling of nested
5943 procedures. Add a recursive call to this function to skip over
5944 other 'end' statmts. Fix indentation for "when .. => begin"
5945 (ada-in-open-paren-p): Fix indentation for complex boolean
5946 expressions, where 'and then', 'or else' and parenthesis
5947 statements are mixed up.
5948 (ada-in-paramlist-p): Skip comments while searching for the
5949 beginning Fix handling of operator declarations.
5950 (ada-indent-align-comments): New variable
5951 (ada-indent-current): Change the syntax table only in the
5952 protected section, so that we are sure it is restored correctly.
5953 (ada-indent-on-previous-lines): Use ada-use-indent and
5954 ada-with-indent Correctly indent "select ... then"
5955 (ada-indent-region): Slight speedup.
5956 (ada-indent-renames): New variable.
5957 (ada-last-which-function-subprog, ada-last-which-function-line):
5959 (ada-looking-at-semi-private): Correctly indent the 'private'
5960 keyword when it is the first word in a package declaration.
5961 (ada-loose-case-word): Stop searching if at the end of the buffer.
5962 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
5963 even if point is not initially at the end of the word.
5964 (ada-matching-decl-start-re): Add "when".
5965 (ada-mode): Add support for abbrev-mode, outline-mode and
5966 which-func-mode Override the old find-file.el entry in
5967 ff-special-constructs since it is using the obsolete
5968 ada-spec-suffix variable
5969 (ada-no-auto-case): New function
5970 (ada-scan-paramlist): When parsing the argument type, accept
5971 spaces (as in "X 'Class", generated by Rational Rose).
5972 (ada-other-file-name): No longer loads the other file.
5973 (ada-popup-menu): Save and restore the current buffer and cursor
5974 position before and after displaying the menu.
5975 (ada-search-ignore-complex-boolean): New function.
5976 (ada-uncomment-region): Emacs21 already knows how to delete
5977 comments not starting in the first column.
5978 (ada-use-indent): New variable
5979 (ada-which-function): New function.
5980 (ada-with-indent): New variable
5981 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
5982 can be batch-compiled from the command line.
5984 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
5985 Add to the menu when the file is loaded, not in ada-mode-hook.
5986 Add -toolbar to the default ddd command Switches moved from
5987 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
5988 ada-prj-default-comp-opt
5989 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
5990 Reference Manual to the menu
5991 (ada-check-current): rewritten as a call to ada-compile-current
5992 (ada-compile): Removed.
5993 (ada-compile-application, ada-compile-current, ada-check-current):
5994 Set the compilation-search-path so that compile.el automatically
5995 finds the sources in src_dir. Automatic scrollong of the
5996 compilation buffer. C-uC-cC-c asks for confirmation before
5998 (ada-compile-current): New parameter, prj-field
5999 (ada-complete-identifier): Load the .ali file before doing
6001 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
6002 conform to gnatmake's behavior.
6003 (ada-find-file-in-dir): New function
6004 (ada-find-references): Set the environment variables for gnatfind
6005 (ada-find-src-file-in-dir): New function.
6006 (ada-first-non-nil): Removed
6007 (ada-gdb-application): Add support for jdb, the java debugger.
6008 (ada-get-ada-file-name): Load the original-file first if not done
6010 (ada-get-all-references): Handles the new ali syntax (parent types
6011 are found between <>).
6012 (ada-initialize-runtime-library): New function
6013 (ada-mode-hook): Always load a project file when a file is opened,
6014 so that the casing exceptions are correctly read.
6015 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
6016 (ada-parse-prj-file): Use find-file-noselect instead of find-file
6017 to open the project file, since the latter does not work with
6018 speedbar Get default values before loading the prj file, or the
6019 default executable file name is wrong. Use the absolute value of
6020 src_dir to initialize ada-search-directories and
6021 compilation-search-path,... Add the standard runtime library to
6022 the search path for find-file.
6023 (ada-prj-default-debugger): Was missing an opening '{'
6024 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
6026 (ada-prj-default-gnatmake-opt): New variable
6027 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
6028 buffers, the project file is the default one Save the windows
6029 configuration before displaying the menu.
6030 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
6031 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
6032 ...) regexp-quote identifiers names to support operators +,
6034 (ada-remote): New function.
6035 (ada-run-application): Erase the output buffer before starting the
6036 run Support remote execution of the application. Use
6037 call-process, or the arguments are incorrectly parsed
6038 (ada-set-default-project-file): Reread the content of the active
6039 project file, not the one from the current buffer When a project
6040 file is set as the default project, all directories are
6041 automatically associated with it.
6042 (ada-set-environment): New function
6043 (ada-treat-cmd-string): New special variable ${current}
6044 (ada-treat-cmd-string): Revised. The substitution is now done for
6045 any ${...} substring
6046 (ada-xref-current): If no body was found, compiles the spec
6047 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
6048 compiler to get rid of command line length limitations.
6049 (ada-xref-get-project-field): New function
6050 (ada-xref-project-files): New variable
6051 (ada-xref-runtime-library-specs-path)
6052 (ada-xref-runtime-library-ali-path): New variables
6053 (ada-xref-set-default-prj-values): Default run command now does a
6054 cd to the build directory. New field: main_unit Provide a default
6055 file name even if the current buffer has no prj file.
6058 Rewritten to show a tabbed-dialog.
6059 (ada-prj-add-ada-menu): Remove the map and name parameters.
6060 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
6062 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
6063 (ada-prj-load-from-file): New function
6064 (ada-prj-save): Always save fields that depend on the current buffer
6065 (ada-prj-show-value): New function
6067 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
6068 Ada mode. This will allow us to display the Ada menu in any buffer
6069 we want (for project items).
6070 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
6071 number of spaces in the header.
6073 2000-07-24 Dave Love <fx@gnu.org>
6075 * ediff-init.el (ediff-region-help-echo): Bind face-help.
6077 2000-07-23 Noah Friedman <friedman@splode.com>
6079 * type-break.el (type-break): perform autosave.
6080 Suggested by Stephen Gildea <gildea@intouchsys.com>.
6081 (type-break-do-query): Cancel query schedule while performing
6082 actual query, to avoid possibility of a second query being made
6083 while first one is already in progress.
6084 (type-break-time-stamp-format): New variable.
6085 (type-break-time-stamp): New function.
6086 (type-break-time-warning): Use it.
6087 (type-break-keystroke-warning): Use it.
6088 (type-break-noninteractive-query): Use it.
6090 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
6092 Use add-minor-mode to set minor-mode-alist, if available.
6093 (eldoc-echo-area-use-multiline-p): New user option.
6094 (eldoc-echo-area-multiline-supported-p): New variable.
6095 (eldoc-docstring-format-sym-doc): Use them.
6096 (eldoc-mode): If not using idle timers, append to local post and
6097 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
6098 (eldoc-display-message-no-interference-p): Don't interfere with
6100 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
6101 (eldoc-function-arglist): New function.
6102 (eldoc-function-argstring): Use it.
6104 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
6105 auto save directory exists before calling directory-files.
6107 2000-07-23 Dave Love <fx@gnu.org>
6109 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
6112 2000-07-21 Dave Love <fx@gnu.org>
6114 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
6115 now passed to the function. It now works properly.
6117 * smerge-mode.el (smerge-mode-menu): Fill it out.
6119 2000-07-20 Gerd Moellmann <gerd@gnu.org>
6121 * info-look.el (info-lookup): If *info* is shown in another frame
6122 on the same display, select that frame, instead of switching to
6123 the Info buffer in another window of the selected frame.
6125 * simple.el (universal-argument-map): Bind numeric keypad keys
6126 kp-0 to kp-9 and kp-subtract.
6127 (digit-argument): Handle these keys.
6129 2000-07-20 Dave Love <fx@gnu.org>
6131 * net/goto-addr.el (goto-address-fontify): Don't bother with
6132 buffer-modified and read-only stuff -- irrelevant with overlays.
6133 Put an extra property on the overlays and use it to clean up in
6134 case goto-address is re-run.
6136 2000-07-19 Richard M. Stallman <rms@gnu.org>
6138 * timer.el (run-with-idle-timer): Doc fix.
6140 * mail/mail-utils.el (mail-strip-quoted-names):
6141 Handle case where <...> appears inside "...".
6142 Use replace-match to edit the string more simply.
6143 (rmail-dont-reply-to): Cope with an unmatched ".
6145 2000-07-19 Dave Love <fx@gnu.org>
6147 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
6150 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
6151 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
6152 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
6154 2000-07-19 Gerd Moellmann <gerd@gnu.org>
6156 * textmodes/refer.el: Correct maintainer's email address.
6158 * progmodes/hideif.el: Correct author's email address.
6159 Fix typo in comment.
6163 * mail/mailheader.el: Correct author's mail address.
6165 * gnus/parse-time.el: Correct author's mail address.
6167 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
6169 * comint.el (comint-highlight-input, comint-highlight-face):
6171 (comint-input-ring-file-name): Change custom type.
6172 (comint-mode-map): Bind mouse-2.
6173 (comint-insert-clicked-input): New function.
6174 (comint-send-input): Handle input highlighting.
6176 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
6178 * mouse.el (popup-menu): New function.
6179 (mouse-major-mode-menu): Use it.
6181 2000-07-18 Dave Love <fx@gnu.org>
6183 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
6186 2000-07-18 Gerd Moellmann <gerd@gnu.org>
6188 * faces.el (face-font-selection-order)
6189 (face-font-family-alternatives): Add custom type.
6191 2000-07-18 Dave Love <fx@gnu.org>
6193 * cus-edit.el (custom-variable-reset-saved)
6194 (custom-variable-reset-standard): Remove unused bindings.
6196 * rect.el (open-rectangle-line): Remove unused let.
6198 * hl-line.el (hl-line-highlight): Check hl-line-mode.
6200 2000-07-18 Gerd Moellmann <gerd@gnu.org>
6202 * cdl.el: Fix `Maintainer' keyword.
6204 * play/pong.el: Add author's email address.
6206 2000-07-17 Sam Steingold <sds@gnu.org>
6208 * files.el (insert-directory): Call `split-string' instead of
6211 2000-07-18 Gerd Moellmann <gerd@gnu.org>
6213 * mail/vms-pmail.el: Change maintainer to FSF.
6215 * net/goto-addr.el: Change maintainer to FSF.
6217 * recentf.el: Update from author.
6219 * info.el (Info-title-face-alist): Removed.
6221 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
6223 * eshell/eshell.el (eshell): Replace links to eshell.info with
6224 links to eshell, to avoid problems on systems where the manual is
6225 installed as `eshell'.
6226 * eshell/esh-cmd.el (eshell-cmd): Ditto.
6227 * eshell/em-smart.el (eshell-smart): Ditto.
6228 * eshell/em-banner.el (eshell-banner): Ditto.
6229 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
6231 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
6232 same-file check in the MS-DOS version (it does support inodes).
6234 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
6236 * eshell/eshell.el (eshell-directory-name):
6237 Run default directory name through convert-standard-filename.
6239 2000-07-18 Kenichi Handa <handa@etl.go.jp>
6241 * international/mule-cmds.el (select-safe-coding-system):
6242 Fix typo in the comment.
6244 * language/european.el (compound-text):
6245 Force katakana-jisx0201 to be designated to G1.
6247 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
6248 Don't translate some national variant characters of latin-jisx0201.
6249 (x-ctext): Force katakana-jisx0201 to be designated to G1.
6251 * international/kkc.el (kkc-after-update-conversion-functions):
6253 (kkc-update-conversion): Run functions in it at the tail.
6255 2000-07-16 John Wiegley <johnw@gnu.org>
6257 * lisp/align.el (align-newline-and-indent):
6258 Adding new function. for auto-aligning blocks of code on RET.
6259 (align-region): Fixed badly formatted minibuffer message.
6261 2000-07-17 Kenichi Handa <handa@etl.go.jp>
6263 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
6264 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
6265 the conversion list at first if appropriate.
6266 (kkc-next): Don't update kkc-next-count here.
6267 (kkc-prev): Don't update kkc-prev-count here.
6268 (kkc-show-conversion-list-update): Fix setting up of conversion
6271 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
6273 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
6275 2000-07-16 Dave Love <fx@gnu.org>
6277 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
6278 function to be more specific.
6280 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
6281 non-string help-echo.
6282 (widget-types-convert-widget): Defsubst it.
6283 (widget-echo-help): Try to cope with a help-echo function of two
6286 2000-07-15 Jason Rumney <jasonr@gnu.org>
6288 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
6289 Declare as obsolete.
6291 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
6293 2000-07-14 Gerd Moellmann <gerd@gnu.org>
6295 * hilit-chg.el: Fix typo.
6297 2000-07-14 Dave Love <fx@gnu.org>
6299 * info.el (Info-mode-menu): Fix use of :help, :enable.
6301 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
6303 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
6305 2000-07-13 Dave Love <fx@gnu.org>
6307 * emacs-lisp/easymenu.el: Doc fixes.
6308 (easy-menu-remove): Defalias to ignore.
6310 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
6311 Call throw correctly.
6313 2000-07-13 Gerd Moellmann <gerd@gnu.org>
6315 * faces.el (frame-background-mode): Doc fix.
6317 * simple.el (eval-expression-print-length): Change custom type to
6318 allow entering nil as value.
6320 2000-07-13 Dave Love <fx@gnu.org>
6322 * progmodes/fortran.el (fortran-imenu-generic-expression):
6323 Change definition layout.
6324 (fortran-mode-menu): Reinstate customize entries.
6326 * cus-edit.el (custom-group-menu-create, customize-menu-create):
6327 Use :filter, per old XEmacs code.
6329 2000-07-12 Gerd Moellmann <gerd@gnu.org>
6331 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
6332 event when deciding what to send to the terminal.
6334 2000-07-12 Dave Love <fx@gnu.org>
6336 * cus-start.el: Add optional version as 4th element of specs and
6337 use it for several things new in v21. Remove load-path. Fix type
6338 of line-number-display-limit.
6340 2000-07-11 Dave Love <fx@gnu.org>
6342 * progmodes/fortran.el: Don't require easymenu.
6343 Use repeat counts in various regexps.
6344 (fortran-mode-syntax-table): Defvar directly.
6345 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
6346 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
6347 Use defvar, not defconst.
6348 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
6349 (fortran-mode): Set fortran-comment-line-start-skip,
6350 fortran-comment-line-start-skip, dabbrev-case-fold-search.
6351 (fortran-comment-indent): Use defsubst.
6352 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
6353 Use fortran-comment-indent, not fortran-comment-indent-function.
6354 (fortran-comment-region, fortran-electric-line-number): Simplify.
6355 (fortran-auto-fill): New function.
6356 (fortran-do-auto-fill): Deleted.
6357 (fortran-find-comment-start-skip):
6358 Check for non-null comment-start-skip.
6359 (fortran-auto-fill-mode, fortran-fill-statement):
6360 Use fortran-auto-fill.
6361 (fortran-fill): Use fortran-auto-fill. Check for null
6362 comment-start-skip. Simplify final clause and use end-of-line finally.
6364 * widget.el (widget-plist-member): New alias.
6366 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
6368 * eshell/esh-module.el (toplevel): Reference
6369 byte-compile-current-file only if it is bound.
6371 2000-07-10 Gerd Moellmann <gerd@gnu.org>
6373 * dired.el: Don't require `dired-aux'.
6375 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
6377 * dired-aux.el (dired-show-file-type): New function.
6378 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
6379 (dired-show-file-type): Add autoload.
6381 2000-07-10 Kenichi Handa <handa@etl.go.jp>
6383 * international/mule-diag.el (describe-font): Adjusted for the
6384 change of fontset-info.
6385 (print-fontset): Likewise.
6387 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
6389 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
6391 2000-07-07 Gerd Moellmann <gerd@gnu.org>
6393 * bindings.el: Bind `[delete]' to delete-char.
6395 * dired.el (dired-find-alternate-file): New function.
6396 (dired-mode-map): Bind `a' to dired-find-alternate-file.
6397 (toplevel): Require dired-aux when compiling.
6398 (dired-buffers): Move defvar within file to avoid compiler warning.
6400 * info.el (Info-last-search): Variable removed.
6401 (Info-search-history): New variable.
6402 (Info-search): New Info-search-history.
6404 * battery.el, info-look.el: Change author's mail address.
6406 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
6408 * mail/rmail.el (rmail-clear-headers): Don't throw an error
6409 if rmail-ignored-headers is nil.
6410 (rmail-retry-failure): Bind rmail-ignored-headers and
6411 rmail-displayed-headers to nil.
6413 2000-07-06 Gerd Moellmann <gerd@gnu.org>
6415 * lpr.el (lpr-page-header-switches): Add `-h' switch.
6416 (print-region-1): Don't hard code `-h' here.
6418 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
6420 2000-07-01 Francesco Potorti` <pot@gnu.org>
6422 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
6423 exim can use "your message" instead of "the message".
6425 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
6427 * facemenu.el: Docstrings fixes.
6428 (facemenu-get-face): Don't use internal-find-face.
6429 (facemenu-iterate): Rename arg to match the docstring.
6431 * newcomment.el (uncomment-region): Be more careful when skipping
6432 backwards over `=' not to bump into BOBP.
6434 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
6436 * ediff-diff.el (ediff-wordify): Use syntax table.
6437 * ediff-init.el (ediff-has-face-support-p): Use
6438 ediff-color-display-p.
6439 (ediff-color-display-p): Use display-color-p, changed to defun
6441 Got rid of special cases for NeXT and OS/2.
6442 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
6445 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
6447 * emacs-lisp/lucid.el: Require CL.
6448 (copy-tree, remprop): Remove, it's provided by CL.
6449 (map-keymap): Define in terms of cl-map-keymap.
6450 (extent-property, set-extent-end-glyph): New functions.
6452 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
6454 2000-07-05 Gerd Moellmann <gerd@gnu.org>
6456 * Makefile.in (DONTCOMPILE): Add comment that the name may
6457 not be changed without changing the make-dist script.
6459 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
6460 (cl-mapc): Use mapc instead of cl-old-mapc.
6462 2000-07-05 Andrew Innes <andrewi@gnu.org>
6464 * makefile.nt: Add support for `bootstrap' and related targets.
6466 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
6468 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
6469 (easy-menu-do-define): Use `menu-item' format.
6470 Handle case where easy-menu-create-menu returns a symbol.
6471 Manually call the potential top-level filter in the function binding.
6472 (easy-menu-filter-return): New arg NAME.
6473 Convert to a keymap if MENU is an XEmacs menu.
6474 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
6475 (easy-menu-converted-items-table, easy-menu-convert-item):
6476 New var and fun to memoize easy-menu-convert-item-1.
6477 (easy-menu-do-add-item): Use it.
6478 (easy-menu-create-menu): Use easy-menu-convert-item.
6479 Wrap easy-menu-filter-return around any :filter specification.
6480 Don't convert the menu if a filter was specified.
6481 Tell easy-menu-make-symbol not to check for MENU being an expression.
6482 (easy-menu-make-symbol): New arg NOEXP.
6484 2000-07-05 Gerd Moellmann <gerd@gnu.org>
6486 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
6487 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
6488 (eval-defun): If called with prefix arg, instrument code for
6491 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
6492 similar to that of eval-defun.
6494 2000-07-04 Dave Love <fx@gnu.org>
6496 * hl-line.el (hl-line-overlay): Make it permanent-local.
6498 * calendar/todo-mode.el: Replaced with a working version, based on
6499 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
6501 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
6503 * paths.el (prune-directory-list): New function.
6504 (Info-default-directory-list): Rewritten to more methodically
6505 enumerate a big list of possible info directories (based on the
6506 list used by the standalone info reader).
6508 * info.el (info-initialize): Use prune-directory-list to remove
6509 non-existent directories from Info-directory-list.
6511 * paths.el (Info-default-directory-list): Try a list of possible
6512 info-directories instead of a single one. Add the possible
6513 info directory "/usr/share/info".
6515 * woman.el (woman-man.conf-path): Explicitly include the debian
6516 man-db config file "/etc/manpath.config".
6517 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
6518 are present in `manpath.config'.
6519 (woman-manpath): Include "/usr/share/man".
6521 2000-07-03 Gerd Moellmann <gerd@gnu.org>
6523 * frame.el (blink-cursor-mode): Don't hide cursor initially.
6525 * startup.el (command-line): Initialize blink-cursor based
6528 * frame.el (blink-cursor): Default to nil if not running under
6531 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
6532 (face-x-resources): Remove duplicate entry for :font.
6534 * textmodes/refer.el (refer-find-entry-internal): Use some-window
6535 instead of cycling through windows with next-window.
6537 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
6538 of cycling through windows with next-window.
6540 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
6541 of cycling through windows with next-window.
6543 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
6544 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
6545 instead of cycling through windows with next-window.
6547 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
6548 instead of cycling through windows with next-window.
6550 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
6551 of cycling through windows with next-window.
6553 * terminal.el (te-process-output): Use walk-windows instead of
6554 cycling through windows with next-window.
6556 * server.el (server-switch-buffer): Use some-window instead of
6557 cycling through windows with next-window.
6559 * window.el (some-window): New function.
6560 (walk-windows): Remove reference to walk-windows-start.
6562 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
6564 2000-07-03 Richard Stallman <rms@gnu.org>
6566 * window.el (walk-windows): Guarantee termination by keeping a list
6567 of all the windows already handled.
6569 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
6571 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
6574 * man.el (Man-notify-when-ready): Don't use window-system. If
6575 Man-notify-method is newframe, and the display is not
6576 multi-frame, select the frame created for the man page.
6577 (Man-init-defvars): Doc fix.
6579 2000-06-28 Gerd Moellmann <gerd@gnu.org>
6581 * faces.el (region): Change background color for light background.
6583 * ediff-wind.el (ediff-setup-control-frame): Remove :box
6584 attribute from mode-line face of Ediff control frame.
6586 * replace.el (query-replace-map): Bind `e' like `E'.
6588 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
6590 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
6591 Change name to "Select All".
6593 * dos-fns.el (convert-standard-filename): Fix last change.
6595 2000-06-27 Gerd Moellmann <gerd@gnu.org>
6597 * help.el (describe-variable): Don't insert a second `'s' in front
6598 of the string `value is shown below'. Since the syntax-table is
6599 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
6600 an existing `'s', so that this won't be deleted.
6602 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
6603 * pcmpl-unix.el: New files.
6605 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
6607 * wid-edit.el (widget-member): Use the new plist-member.
6609 2000-06-26 Gerd Moellmann <gerd@gnu.org>
6611 * replace.el (perform-replace): Undo change of 2000-04-04.
6612 Instead, move backward 1 character at the end of the loop when
6615 * faces.el (fringe): Change face for different backgrounds.
6617 * eshell/esh-module.el (toplevel): Load defgroup's differently;
6620 * eshell/*.el: Change spelling of the Free Software Foundation.
6622 * eshell/esh-toggle.el: Removed.
6624 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
6626 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
6629 2000-06-26 Alex Schroeder <alex@gnu.org>
6631 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
6632 `define-key'; instead of checking `(emacs-version)' check for
6633 `set-keymap-parent' and `set-keymap-name' directly. Add entries
6634 for `;' and `o' which might be electric.
6636 (sql-electric-stuff): New user option.
6637 (sql-magic-go): New function which uses `sql-electric-stuff'.
6638 (sql-magic-semicolon): New function which uses
6639 `sql-electric-stuff'.
6641 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
6644 (sql-oracle-options): New variable.
6645 (sql-oracle): Use it.
6647 (sql-imenu-generic-expression): Doc change.
6648 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
6651 (sql-informix): Added command line parameter "-" to force
6652 sql-informix-program to use stdout.
6654 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
6656 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
6657 (cp864-decode-table): Doc fix.
6658 (cp720-decode-table): New variable, supports the Arabic OEM
6659 codepage used by Windows.
6660 (cp737-decode-table): New, Greek OEM codepage used by Windows.
6662 2000-06-23 Dave Love <fx@gnu.org>
6664 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
6665 (font-lock-fontify-anchored-keywords): Use
6666 line-beginning-position.
6667 (global-font-lock-mode): Use mapc.
6669 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
6671 * eshell/esh-module.el: Require CL when compiling.
6673 2000-06-23 Gerd Moellmann <gerd@gnu.org>
6675 * comint.el (comint-substitute-in-file-name): Call replace-match
6676 with second and third arg t.
6678 * cus-edit.el (custom-button-face, custom-button-pressed-face):
6679 Specify foreground color.
6681 * faces.el (tool-bar, mode-line, header-line): Specify foreground
6684 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
6686 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
6687 cddr instead of cdddr.
6689 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
6690 instead of copy-list.
6692 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
6695 * subdirs.el: Add eshell subdirectory.
6697 * eshell: New subdirectory containing the Eshell package.
6699 * pcomplete.el: New file.
6701 2000-06-23 Paul Eggert <eggert@twinsun.com>
6703 * mail/mailpost.el (post-mail-send-it): Make sure file has
6704 proper permissions from birth.
6706 * files.el (basic-save-buffer-2): When temporarily setting
6707 file modes, set them to current modes plus 0200, not to 0777.
6709 * emerge.el (emerge-make-temp-file): Make sure file has proper
6710 permissions from birth.
6712 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
6714 * files.el (make-backup-file-name-1): On DOS/Windows, run the
6715 backup file name through convert-standard-filename.
6717 * dos-fns.el (convert-standard-filename): Convert leading
6718 directories as well. When long file names are supported, convert
6719 characters that are invalid in Windows file names.
6721 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6723 * ps-print.el: Fix bug: if ^L is the very first buffer character,
6724 ps-print crashes. New feature: page selection for printing. Create
6725 raw-text-unix coding system for XEmacs. Doc fix.
6726 (ps-print-version): New version number (5.2.3).
6727 (ps-plot-region): Bug fix.
6728 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
6729 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
6730 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
6732 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
6733 (ps-last-page): New vars.
6735 2000-06-21 Gerd Moellmann <gerd@gnu.org>
6737 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
6738 empty option string.
6740 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
6742 * man.el (man): Doc fix.
6744 2000-06-21 Kenichi Handa <handa@etl.go.jp>
6746 * international/mule-cmds.el (set-language-info-alist): Docstring
6749 2000-06-20 Gerd Moellmann <gerd@gnu.org>
6751 * version.el (emacs-version): Use ISO date format.
6753 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
6754 instead of `M-backspace'.
6756 * simple.el (turn-off-auto-fill): New function.
6758 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
6760 * jit-lock.el (with-buffer-prepared-for-jit-lock):
6761 Renamed from with-buffer-prepared-for-font-lock and use
6762 inhibit-modification-hooks rather than setting *-change-functions.
6763 Update all functions to use the new name.
6764 (jit-lock-first-unfontify-pos): New semantics (and doc).
6765 (jit-lock-mode): Make non-interactive.
6766 Don't automatically turn on font-lock.
6767 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
6768 Always use jit-lock-after-change.
6769 Remove and restore font-lock-after-change-function.
6770 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
6771 (jit-lock-after-unfontify-buffer): Remove.
6772 (jit-lock-stealth-fontify):
6773 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
6774 (jit-lock-after-change): Set the `fontified' text-prop to nil.
6776 2000-06-20 Sam Steingold <sds@gnu.org>
6778 * emacs-lisp/cl-indent.el (toplevel): Indent
6779 `print-unreadable-object' properly. Untabify.
6781 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
6783 * textmodes/reftex.el (reftex-find-citation-regexp-format):
6784 Support for bibentry.
6785 (reftex-compile-variables): Fixed problem with end of section-re.
6787 * texmodes/reftex-dcr.el (reftex-view-crossref,
6788 reftex-view-crossref-from-bibtex):
6789 Deal with changed `reftex-find-citation-regexp-format'.
6790 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
6791 Replaced `remprop' with `put'.
6792 (reftex-view-crossref, reftex-view-crossref-when-idle):
6793 Support for bibentry.
6795 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
6796 New entry for bibentry package.
6798 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
6799 Regexp also matches "\nobibliography".
6801 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
6802 Call `reftex-ensure-write-access' before doing anything.
6803 (reftex-ensure-write-access): New function.
6805 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
6807 * progmodes/idlwave.el: File re-installed (update to version 4.2)
6809 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
6811 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
6813 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
6816 2000-06-20 Dave Love <fx@gnu.org>
6818 * faces.el (frame-background-mode): Use set-default, not set, in
6820 (frame-update-faces, frame-update-face-colors): Define with
6823 * enriched.el (enriched-decode-foreground)
6824 (enriched-decode-background): Don't use internal-find-face.
6826 * apropos.el: Doc fixes.
6828 * cus-edit.el (customize-changed-options): Check arg.
6829 (customize-version-lessp): Don't require decimal point.
6831 * custom.el (defcustom, defgroup): Doc fix.
6833 * newcomment.el (comment) <defgroup>: Add :version.
6834 (comment-multi-line): Doc fix.
6836 * emulation/mlsupport.el (define-hooked-local-abbrev,
6837 define-hooked-global-abbrev): Fix, using define-abbrev.
6839 2000-06-19 Gerd Moellmann <gerd@gnu.org>
6841 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
6844 2000-06-19 Dave Love <fx@gnu.org>
6846 * menu-bar.el (menu-bar-options-save): New function.
6847 (menu-bar-options-menu): Use it.
6848 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
6851 2000-06-19 Andreas Schwab <schwab@suse.de>
6853 * progmodes/etags.el (tags-query-replace): Put new parameters
6854 START and END at the end, for backward compatibility.
6856 2000-06-19 Kenichi Handa <handa@etl.go.jp>
6858 * international/codepage.el:
6859 (cp-coding-system-for-codepage-1): Delete special codes for
6860 generating xxx-dos coding system because now a CCL based coding
6861 system can handle EOL conversion by default.
6863 * international/mule.el (make-coding-system): Generate subsidiary
6864 coding systems for EOL handling variants even for a CCL based
6867 2000-06-19 Kenichi Handa <handa@etl.go.jp>
6869 * international/isearch-x.el (isearch-minibuffer-input-method)
6870 (isearch-minibuffer-input-method-function): These variables
6872 (isearch-with-input-method): Don't use the above variables.
6873 (isearch-process-search-multibyte-characters): Likewise. Call
6874 read-string with the arg INHERIT-INPUT-METHOD t.
6876 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
6878 * font-lock.el (font-lock-after-fontify-buffer)
6879 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
6881 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
6882 Use consistent make-local-variable style for font-lock-fontified.
6883 (jit-lock-fontify-buffer):
6884 Don't bother checking for font-lock-mode and jit-lock-mode.
6886 * time.el: Remove trailing ^M that prevent CVS-merging.
6888 2000-06-16 Gerd Moellmann <gerd@gnu.org>
6890 * Makefile.in (distclean): New target.
6892 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
6894 * Makefile.in (srcdir): Define for update-subdirs.
6896 2000-06-16 Gerd Moellmann <gerd@gnu.org>
6898 * find-lisp.el: New file.
6900 2000-06-16 Andrew Innes <andrewi@gnu.org>
6902 * time.el (display-time-mail-function): New variable, to allow
6903 external packages to indicate when new mail is available.
6904 (display-time-update): Use it.
6906 2000-06-16 Kenichi Handa <handa@etl.go.jp>
6908 * international/mule.el (mule-version): Change version name to
6909 SAKAKI. AOI has already been used by Meadow.
6911 * international/quail.el (quail-show-guidance-buf): To find the
6912 bottom window (but minibuffer), pay attention to the height of
6915 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
6917 * arc-mode.el (archive-mode-map): Use the new menu-item format for
6918 menu-bar menus. Add help strings. Don't remove the Edit menu
6919 from the menu bar, as the menu bar has enough space now.
6921 * Makefile.in (SHELL): Make sure /bin/sh is used.
6923 * woman.el (woman-man-buffer): Fix bold and underlined CJK
6924 characters, which use series of two ^H characters instead of one.
6926 2000-06-15 Gerd Moellmann <gerd@gnu.org>
6928 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
6929 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
6931 (Info-find-node-2): Try a case-sensitive search first, then
6932 do a case-insensitive search.
6934 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
6937 * complete.el (PC-env-vars-alist): New variable.
6938 (PC-complete-as-file-name): New function.
6939 (partial-completion-mode): Initialize PC-env-vars-alist from
6940 process-environment.
6941 (PC-do-completion): Handle completion of env vars.
6943 * info.el (Info-set-mode-line): Show file name in mode line,
6944 use `*Info*' instead of `Info:'.
6946 * startup.el (command-line-1): Change copyright messages to year
6949 2000-06-15 Dave Love <fx@gnu.org>
6951 * net/goto-addr.el (goto-address-fontify): Use keymap property,
6954 2000-06-15 Kenichi Handa <handa@etl.go.jp>
6956 * international/mule.el (set-buffer-file-coding-system): Almost
6957 rewritten to handle `undecided' as no-op.
6959 2000-06-14 Gerd Moellmann <gerd@gnu.org>
6961 * Makefile.in: New file.
6963 * Makefile: Removed.
6965 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
6966 (goto-address-highlight-keymap): Bind C-c RET.
6968 2000-06-14 Kenichi Handa <handa@etl.go.jp>
6970 * mail/sendmail.el (sendmail-send-it): The temporary buffer
6971 inherits buffer-file-coding-system of the current buffer.
6973 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
6974 0. Give correct argument to set-auto-coding-function.
6975 (tar-expunge): For goto-char, use (point-min), not 0.
6976 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
6977 (tar-subfile-save-buffer): Likewize.
6979 * international/mule.el
6980 (after-insert-file-set-buffer-file-coding-system): Call
6981 set-buffer-file-coding-system with the arg FORCE t.
6983 2000-06-13 Gerd Moellmann <gerd@gnu.org>
6985 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
6986 nil. Contemporary sendmails issue an X-Authentication-Warning if
6987 the sender is set with `-f'.
6989 2000-06-13 Dave Love <fx@gnu.org>
6991 * help.el (describe-function-1): Kluge around cases of functions
6992 fset to subrs whose doc doesn't match their symbol-name.
6994 * image.el (insert-image): Default STRING to a space.
6996 * info.el Doc fixes.
6997 (Info-build-node-completions): Match Ref tags.
6999 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
7001 * frame.el (display-multi-frame-p, display-multi-font-p): New
7002 defaliases for display-graphic-p.
7004 * hl-line.el: Fixed a typo in commentary.
7006 2000-06-13 Kenichi Handa <handa@etl.go.jp>
7008 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
7011 2000-06-12 Dave Love <fx@gnu.org>
7013 * image.el (insert-image): Save a little consing.
7015 2000-06-12 Kenichi Handa <handa@etl.go.jp>
7017 * language/tibet-util.el: Convert all tibetan-1-column characters
7018 to the corresponding tibetan characters.
7019 (tibetan-add-components): Delete code for the special treatment of
7022 * language/tibetan.el (tibetan-composable-pattern): Fix previous
7024 (tibetan-vowel-transcription-alist): More rules added.
7025 (tibetan-composite-vowel-alist): New variable.
7026 (tibetan-precomposition-rule-alist): More rules added.
7028 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
7030 * startup.el (command-line): Only call menu-bar-mode if interactive.
7032 * thingatpt.el (toplevel symbol-properties):
7033 * textmodes/makeinfo.el (makeinfo-compile):
7034 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
7035 * progmodes/hideif.el (hif-compress-define-list)
7036 (hide-ifdef-use-define-alist):
7037 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
7038 (ange-ftp-vms-add-file-entry):
7039 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
7040 * man.el (Man-build-man-command):
7041 * mail/rnewspost.el (news-reply-header-hook):
7042 * info.el (Info-insert-dir):
7043 * emulation/mlconvert.el (backward-word, forward-word, setq):
7044 * emacs-lisp/gulp.el (gulp-send-requests):
7045 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
7046 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
7047 (byte-optimize-apply, end of file):
7048 * emacs-lisp/advice.el (ad-advice-class-completion-table)
7049 (ad-make-freeze-definition):
7050 * startup.el (command-line, command-line-1): Don't quote lambdas.
7052 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
7053 (cvs-cleanup-removed): New function.
7054 (cvs-cleanup-functions): New var.
7055 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
7056 some flexibility in specifying additional entries to auto-cleanup.
7057 (cvs-quickdir): New function.
7058 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
7059 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
7060 (cvs-mode-find-file): Check that we are on a filename or dirname
7061 when invoked through a mouse-click.
7062 (cvs-full-path): Remove.
7063 (cvs-dired-action): Re-introduced.
7064 (cvs-dired-noselect): Use it.
7065 (vc-post-command-functions): use this new hook if available.
7067 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
7068 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
7069 (cvs-filename-map, cvs-dirname-map): Remove.
7070 (cvs-default-action): Remove.
7071 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
7072 if the arg is really a keymap.
7073 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
7074 Don't hardcode the mapping from state (aka type) to face, but check
7075 the var cvs-fi-<type>-face instead.
7076 (cvs-fileinfo-from-entries): New function.
7078 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
7080 (cvs-find-file-and-jump): Change default to be safer.
7081 (cvs-mode-diff-map): Define it as a function as well.
7082 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
7083 Bind mouse-2 in this global map rather than with text-properties.
7085 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
7086 file to resolve the ambiguity between C(conflict) and C(need-merge).
7088 2000-06-12 Kenichi Handa <handa@etl.go.jp>
7090 * international/mule.el (set-buffer-file-coding-system): If
7091 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
7094 2000-06-12 Dave Love <fx@gnu.org>
7096 * wid-edit.el (widget-specify-button): Really suppress the face if
7099 2000-06-11 Gerd Moellmann <gerd@gnu.org>
7101 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
7103 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
7105 * imenu.el (imenu-generic-expression): Docstring fix.
7107 * composite.el (composition-function-table): Move the `put'
7108 below the autoload cookie so we can load the file before loaddefs.
7110 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
7112 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
7113 Handle easy-mmode-define-global-mode.
7114 For complex macros like define-minor-mode that can generate
7115 several autoload entries, try to autoload entries in the
7118 * emacs-lisp/easy-mmode.el (define-minor-mode):
7119 If KEYMAP is a symbol, just use it.
7120 Use byte-compile-current-file and load-file-name to infer the
7121 proper :require to pass to defcustom.
7122 Wrap the hook var into `progn' so as not to autoload it.
7123 Add a :autoload-end cookie.
7124 Be more careful about the evaluation of KEYMAP.
7125 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
7126 (define-derived-mode): Move define-abbrev-table outside of defvar.
7128 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
7130 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
7131 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
7132 (backup-compiled-files): Ignore errors during `tar'.
7133 (bootstrap): Make autoloads before elc files.
7135 2000-06-10 Kenichi Handa <handa@etl.go.jp>
7137 * international/mule.el (set-buffer-file-coding-system): If one of
7138 undecided-XXX is specified, change only EOL conversion.
7140 * international/mule-conf.el (unix): New alias for the coding
7141 system undecided-unix.
7143 2000-06-09 Dave Love <fx@gnu.org>
7145 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
7147 * progmodes/executable.el: Byte compile dynamic.
7148 (executable-insert): Change custom type.
7149 (executable-find): Add autoload cookie.
7150 (executable-make-buffer-file-executable-if-script-p): New
7151 function. After Noah Friedman.
7153 * files.el (after-save-hook): Customize, with
7154 executable-make-buffer-file-executable-if-script-p as an option.
7156 2000-06-09 Kenichi Handa <handa@etl.go.jp>
7158 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
7159 "tib24p-mule.bdf" for Tibetan.
7161 * composite.el (decompose-composite-char): Declare it as obsolete.
7163 * man.el (Man-fontify-manpage): Pay attention to underline and
7164 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
7166 2000-06-08 Gerd Moellmann <gerd@gnu.org>
7168 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
7169 Set maintainer to FSF since author isn't reachable.
7171 2000-06-08 Dave Love <fx@gnu.org>
7173 * international/mule-cmds.el (select-safe-coding-system): If
7174 DEFAULT-CODING-SYSTEM is not specified, also check the most
7175 preferred coding-system if buffer-file-coding-system is
7176 `undecided'. From Handa.
7178 2000-06-08 Kenichi Handa <handa@etl.go.jp>
7180 * international/mule.el
7181 (after-insert-file-set-buffer-file-coding-system): If the buffer
7182 size is greater than INSERTED, judget that we are not visiting.
7184 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
7186 * whitespace.el (defgroup whitespace): Comment out `:version'.
7187 XEmacs 20.4 has problems defining the group with this present.
7188 We'll have this commented out till get resolve the problem.
7190 2000-06-07 Gerd Moellmann <gerd@gnu.org>
7192 * align.el: Update from author.
7194 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
7196 * apropos.el (apropos-mode-hook): New user variable.
7197 (apropos-mode): Run apropos-mode-hook.
7199 2000-06-07 David Ponce <david@dponce.com>
7201 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
7202 commands. Require `wid-edit' at run-time.
7204 2000-06-07 David Ponce <david@dponce.com>
7206 * recentf.el: Added some "Commentary".
7207 (recentf-open-more-files, recentf-edit-list): Minor changes to
7208 move the point at the top of the file list. This behaviour is
7209 consistent with the menu one when the list contains a lot of
7211 (recentf-cleanup): Now displays the number of items removed from
7213 (recentf-relative-filter) New menu filter to show filenames
7214 relative to `default-directory'.
7216 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7218 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
7219 with/without giving an error if PostScript printer doesn't have this
7220 kind of page size. Zebra Stripe continues or restarts on next page.
7221 Manual/automatic paper feeding. Switch or not the header.
7222 (ps-print-version): New version number (5.2.2).
7223 (ps-windows-system): Include emx as a Windows system.
7224 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
7225 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
7226 (ps-background-text): Code fix.
7227 (ps-error-handler-message, ps-user-defined-prologue)
7228 (ps-print-prologue-header, ps-printer-name)
7229 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
7230 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
7231 (ps-use-face-background): Customization fix.
7232 (ps-n-up-database): Data fix.
7233 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
7234 (ps-switch-header): New vars.
7235 (ps-xemacs-color-name, ps-face-foreground-name)
7236 (ps-face-background-name, ps-boolean-constant): New funs.
7238 2000-06-07 Dave Love <fx@gnu.org>
7240 * allout.el: New version from Manheimer.
7242 2000-06-07 Kenichi Handa <handa@etl.go.jp>
7244 * textmodes/fill.el (fill-find-break-point): Check the validity of
7247 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7249 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
7250 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
7251 Call display-color-p and display-mouse-p instead of looking at
7254 2000-06-06 Dave Love <fx@gnu.org>
7256 * image.el (find-image): Doc fix. Return nil if image not found.
7257 (put-image, insert-image): Make STRING arg optional.
7259 2000-06-06 Kenichi Handa <handa@etl.go.jp>
7261 * language/vietnamese.el: Remove eval-when-compile.
7262 (viet-viscii-nonascii-translation-table): Define it as a
7263 translation table made from viet-viscii-decode-table.
7264 (viet-viscii-encode-table): Define it as a translation table made
7265 from the reverse map of above.
7266 (viet-vscii-nonascii-translation-table): Define it as a
7267 translation table made from viet-vscii-decode-table.
7268 (viet-vscii-encode-table): Define it as a translation table made
7269 from the reverse map of above.
7270 (ccl-decode-viscii): Use translate-character.
7271 (ccl-encode-viscii, ccl-encode-viscii-font)
7272 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
7275 * language/cyrillic.el: Remove eval-when-compile.
7276 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
7277 translation table made from cyrillic-koi8-r-decode-table.
7278 (cyrillic-koi8-r-encode-table): Define it as a translation table
7279 made from the reverse map of above.
7280 (ccl-decode-koi8): Use translate-character.
7281 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
7282 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
7283 a translation table made from cyrillic-alternativnyj-decode-table.
7284 (cyrillic-alternativnyj-encode-table): Define it as a translation
7285 table made from the reverse map of above.
7286 (ccl-decode-alternativnyj): Use translate-character.
7287 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
7290 * international/mule-diag.el (non-iso-charset-alist): Specify
7291 translation table symbol instead of translation table itself.
7292 (list-block-of-chars): CHARSET may be a translation table symbol.
7294 * international/mule.el (make-coding-system): If CODING-SYSTEM
7295 already exists, override it.
7297 * international/fontset.el: Use family `proportional' for Tibetan
7300 * international/ccl.el (ccl-compile-translate-character): Don't
7301 check if Rrr has property translation-table.
7302 (ccl-compile-map-multiple): Modified to avoid compiler warning.
7304 2000-06-05 Gerd Moellmann <gerd@gnu.org>
7306 * info.el: Bind case-fold-search to t when searching in case
7307 a user sets it to nil in a hook.
7309 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
7311 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7312 * hl-line.el (hl-line-mode): Use the new :global key argument.
7314 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
7315 (tar-clip-time-string): Prepend a space.
7316 (tar-grind-file-mode): Construct a string rather than modifying one.
7317 (tar-header-block-summarize): Fix docstring.
7318 Use `format' rather than an error-prone set of copy-loops.
7320 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
7321 (diff-goto-source, diff-unified->context, diff-context->unified)
7322 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
7323 understand the format output by the `-p' argument to diff.
7325 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
7326 (sh-re-done): Use defconst.
7327 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
7328 (sh-help-string-for-variable, sh-guess-basic-offset):
7329 Don't quote lambdas.
7330 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
7331 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
7333 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
7334 (mh-letter-mode): Derive from text-mode.
7335 This implicitly means that it now calls kill-all-local-variables.
7336 Also remove the Emacs-18 compatibility code.
7338 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
7339 Make use of symbol-property doc-string-elt.
7340 Use memq rather than a sequence of eq.
7341 (doc-string-elt): Fix the wrong or missing previously unused values.
7342 (autoload-print-form): New function extracted from
7343 generate-file-autoloads to allow recursion when handling progn
7344 so that defvar's and defun's docstrings are properly printed.
7345 (generate-file-autoloads): Use it.
7347 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
7348 Use find-file-hooks in the minor-mode function.
7349 Be careful not to loop indefinitely in the post-command-hook function.
7351 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
7353 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
7355 * ediff-diff.el (ediff-exec-process): Use --binary for fine
7356 differences whenever appropriate.
7357 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
7358 * viper.el (find-file, find-file-other-window): Get viper to do
7361 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
7363 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
7364 (jit-lock-fontify-buffer): New function for JIT refontification.
7365 (jit-lock-mode): Fix docstring.
7366 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
7367 Remove jit-lock-after-change from the _local_ hook.
7368 (jit-lock-function-1): Fix docstring.
7370 * info.el (Info-on-current-buffer): Initialize info.
7372 * newcomment.el (comment-indent): Ignore comment-indent-hook.
7374 * progmodes/tcl.el (tcl-indent-for-comment):
7375 Ignore comment-indent-hook.
7377 * emacs-lisp/easy-mmode.el: Require CL during compilation.
7378 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
7379 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
7380 and improve to use the lighter to guess the capitalization.
7381 (define-minor-mode): Inline code from easy-mmode-define-toggle.
7382 Add keyword arguments to specify global-ness or the custom group.
7383 Add local-map and help-echo properties to the lighter.
7384 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
7385 (easy-mmode-define-global-mode): New macro.
7387 2000-06-02 Dave Love <fx@gnu.org>
7389 * wid-edit.el: byte-compile-dynamic since we typically don't use
7390 all the widgets. Don't require cl or widget. Remove
7391 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
7392 (widget-read-event): Removed. Callers changed to use read-event.
7393 (widget-button-release-event-p): Renamed from
7394 button-release-event-p.
7395 (widget-field-add-space, widget-field-use-before-change):
7397 (widget-specify-field): Use keymap property, not local-map.
7398 (widget-specify-button): Obey :suppress-face.
7399 (widget-specify-insert): Use modern backquote syntax.
7400 (widget-image-directory): Renamed from widget-glyph-directory.
7401 (widget-image-enable): Renamed from widget-glyph-enable.
7402 (widget-image-find): Replaces widget-glyph-find.
7403 (widget-button-pressed-face): Move defvar.
7404 (widget-image-insert): Replaces widget-glyph-insert.
7405 (widget-convert): Use keywordp.
7406 (widget-leave-text, widget-children-value-delete): Use mapc.
7407 (widget-keymap): Remove XEmacs stuff.
7408 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
7409 (widget-button-click): Don't set point at the click, but re-centre
7410 if we scroll out of window. Rewritten for images v. glyphs &c.
7411 (widget-tabable-at): Use POS arg, not point.
7412 (widget-beginning-of-line, widget-end-of-line)
7413 (widget-item-value-create, widget-sublist, widget-princ-to-string)
7414 (widget-sexp-prompt-value, widget-echo-help): Simplify.
7415 (widget-default-create): Use widget-image-insert; some rewriting.
7416 (widget-visibility-value-create)
7417 (widget-push-button-value-create, widget-toggle-value-create): Use
7418 widget-image-insert.
7419 (checkbox): Create on and off images dynamically.
7420 (documentation-link): Change :help-echo.
7421 (widget-documentation-link-echo-help): Remove.
7423 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
7425 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
7427 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
7428 (easy-mmode-define-toggle, define-minor-mode): Use it.
7429 (easy-mmode-define-keymap): Docstring fix.
7430 (define-derived-mode): Default PARENT to fundamental-mode.
7431 Add the derived-mode-parent symbol-property.
7432 (easy-mmode-derived-mode-p): New function.
7434 2000-06-02 Dave Love <fx@gnu.org>
7436 * files.el (convert-standard-filename): Doc fix.
7437 (normal-backup-enable-predicate): New function.
7438 (backup-enable-predicate): Use it to replace the lambda form.
7440 * calendar/todo-mode.el: [This needs more work on the outline
7442 (todo) <defgroup>: Add :version.
7443 (todo-add-category): Don't use pushnew.
7444 (todo-cmd-raise): Fix typo.
7445 (todo-top-priorities): Change temp buffer name.
7446 (todo-category-alist): Avoid redundant lambda.
7447 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
7448 Use outline-next-heading.
7450 * autoarg.el: Rewritten to use define-minor-mode.
7451 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
7452 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
7454 2000-06-02 Kenichi Handa <handa@etl.go.jp>
7456 * isearch.el (isearch-other-meta-char): Fix previous change.
7458 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
7460 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
7461 (log-edit-done): Only add the comment to the ring if it's different
7462 from the last comment entered.
7464 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
7466 2000-06-01 Dave Love <fx@gnu.org>
7468 * hl-line.el: Rewritten using define-minor-mode.
7470 * help.el (describe-function-1): Distinguish special form from
7471 builtin function. Sanity-check presence of arglist for builtins.
7473 2000-06-01 Kenichi Handa <handa@etl.go.jp>
7475 * international/characters.el: Fix syntax/category setting of
7478 * language/tibet-util.el (tibetan-add-components): Fixes for new
7479 encoding of Tibetan characters.
7480 (tibetan-decompose-precomposition-alist): New variable.
7481 (tibetan-decompose-region): Convert precomposed characters to
7482 non-precomposed characters.
7483 (tibetan-decompose-string): Likewise.
7484 (tibetan-composition-function): Fix args to
7485 thibetan-compose-string.
7487 * language/tibetan.el (tibetan-composable-pattern): More
7488 characters included.
7489 (tibetan-consonant-transcription-alist): Rule for "R" added.
7490 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
7492 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
7494 * language/lao-util.el (lao-composition-function): Fix args to
7497 * language/thai-util.el (thai-composition-function): Fix args to
7500 * isearch.el (isearch-update): Set disable-point-adjustment to t
7501 to prevent the point moving to the end of a composition when a
7502 part of a composition is searched.
7503 (isearch-other-meta-char): If the key invoking this command can be
7504 mapped by function-key-map to a printing char, call
7505 isearch-process-search-char directly.
7507 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
7509 * emacs-lisp/bytecomp.el:
7511 * international/mule-cmds.el:
7512 * international/mule-util.el:
7513 * international/mule.el:
7516 * faces.el: Update calls to make-obsolete with a WHEN argument.
7518 * byte-run.el (make-obsolete, make-obsolete-variable):
7519 Add an optional WHEN argument and change the format of the
7520 symbol-property information.
7521 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
7522 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
7523 new obsolete-symbol-property format and print WHEN if it is provided.
7525 2000-05-31 Dave Love <fx@gnu.org>
7527 * loadhist.el (loadhist-hook-functions): Remove
7528 before-change-function, after-change-function.
7529 (unload-feature): Deal with symbols which are both bound and
7532 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
7533 before-change-function, after-change-function.
7535 * simple.el (newline): Don't bind before-change-function,
7536 after-change-function.
7538 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
7540 * whitespace.el (whitespace-rescan-timer-time): Update interval
7541 set to 600 seconds (10 minutes) instead of 60 seconds since
7542 a large number of whitespace buffers causes emacs to `freeze'
7543 for a considerable amount of time.
7545 * whitespace.el: Updated email address
7547 2000-05-31 Dave Love <fx@gnu.org>
7549 * add-log.el (change-log-font-lock-keywords) <function>: Add
7550 pattern for function of change.
7551 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
7552 acknowledgements patterns.
7554 2000-05-31 Kenichi Handa <handa@etl.go.jp>
7556 * isearch.el (isearch-printing-char): If keyboard coding system is
7557 being used, call isearch-process-search-multibyte-characters.
7559 * international/isearch-x.el: Mostly rewritten.
7561 * international/quail.el (quail-start-conversion): Don't include
7562 unhandled events in the returned events, but set them in
7563 unread-command-events. Exit if all inputs are deleted.
7565 2000-05-30 Jason Rumney <jasonr@gnu.org>
7567 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
7569 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
7570 Reenable code to create initial fontsets.
7571 Use set-fontset-font in place of put-charset-property.
7573 2000-05-30 Gerd Moellmann <gerd@gnu.org>
7575 * progmodes/perl-mode.el (perl-indent-line): When looking for a
7576 label, ensure that the first colon isn't followed by another.
7578 * paths.el (Info-default-directory-list): Doc fix.
7580 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
7581 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
7582 send a query containing USER only, not USER@HOST.
7584 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
7585 and rmail-msgend to compute the restriction at the end, instead of
7588 2000-05-29 Gerd Moellmann <gerd@gnu.org>
7590 * dabbrev.el (dabbrev-expand): Don't display messages in the
7591 echo area if the minibuffer window is active.
7593 * jit-lock.el (jit-lock-mode): Add after change function to
7596 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
7598 * antlr-mode.el: New commands: hide/unhide actions,
7599 upcase/downcase literals.
7600 (antlr-tiny-action-length): New user option.
7601 (antlr-hide-actions): New command. Suggested by
7602 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
7603 (antlr-mode-map): New binding [C-c C-v].
7604 (antlr-mode-menu): New entries.
7605 (antlr-downcase-literals): New command.
7606 (antlr-upcase-literals): Ditto.
7608 * antlr-mode.el: Minor changes: indendation, mode-name.
7609 (antlr-indent-line): Indent cpp directive at column 0.
7610 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
7612 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
7613 (antlr-font-lock-additional-keywords): Workaround for intentional
7614 bug in XEmacs version of font-lock.
7615 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
7616 be used by a smarter version of `buffers-menu-grouping-function'.
7618 2000-05-29 Gerd Moellmann <gerd@gnu.org>
7620 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
7621 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
7623 2000-05-29 Kenichi Handa <handa@etl.go.jp>
7625 * international/encoded-kb.el
7626 (encoded-kbd-iso2022-designation-map): Pay attention to that
7627 charset-iso-final-char return -1 for eight-bit-control and
7630 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
7632 * speedbar.el (speedbar-use-images, speedbar-update-flag)
7633 (speedbar-easymenu-definition-base): Use display-graphic-p where
7634 available, instead of window-system.
7636 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
7638 * international/codepage.el (cp-coding-system-for-codepage-1): Add
7639 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
7642 2000-05-26 Dave Love <fx@gnu.org>
7644 * disp-table.el (standard-display-underline): Don't use
7647 * mail/reporter.el: Maintainer change. Doc fixes.
7648 (reporter-version): Deleted.
7650 * emacs-lisp/elp.el: Maintainer change.
7651 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
7653 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
7655 * add-log.el (add-change-log-entry): Merge the current entry with the
7656 previous one if the previous one is empty.
7658 2000-05-26 Dave Love <fx@gnu.org>
7660 * loadhist.el (unload-feature): Fix interactive spec [from
7661 lijnzaad@ebi.ac.uk].
7663 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
7664 subr-arity to check primitives.
7665 (byte-compile-flush-pending, byte-compile-file-form-progn)
7666 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
7667 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
7670 2000-05-26 Kenichi Handa <handa@etl.go.jp>
7672 * international/fontset.el: Set family names of non-latin charsets
7673 in default fontset to "*".
7675 * international/mule-diag.el (print-fontset): Combine family part
7676 and registry part of the fontname by "-*-" instead of "-".
7678 * international/mule-cmds.el (encode-coding-char): Make strings
7679 multibyte before calling encode-coding-string.
7681 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
7683 * derived.el: Fix keywords.
7684 (define-derived-mode): Only define if needed.
7686 * simple.el (fill-comment, comment-column, comment-start)
7687 (comment-start-skip, comment-end, comment-indent-function)
7688 (block-comment-start, block-comment-end, indent-for-comment)
7689 (set-comment-column, kill-comment, comment-padding, comment-region)
7690 (comment-multi-line, indent-new-comment-line): Remove.
7692 * bindings.el (esc-map): Change ; to comment-dwim and use the new
7693 function names for comment operations.
7695 * newcomment.el: Add abundant autoload cookies.
7696 (comment-style): Don't depend on runtime data at compile-time.
7697 (comment-indent-hook): Remove.
7698 (comment-indent): Check if comment-indent-hook is bound.
7699 (comment-region): Docstring fix.
7701 2000-05-25 Dave Love <fx@gnu.org>
7703 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
7704 byte-code-function-p.
7706 * mail/rmailsum.el: Add provide.
7708 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
7710 * smerge-mode.el (smerge-diff-switches): Don't use list* in
7713 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
7715 * ediff-diff.el (ediff-exec-process): delete --binary option from
7716 non-buffer ediff jobs.
7718 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7720 * hilit-chg.el (highlight-changes-mode): Ask about color or
7721 grayscale support, not about window-system.
7723 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
7725 (ffap-highlight): Always default to t.
7727 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
7728 display-popup-menus-p instead of looking at window-system.
7730 * disp-table.el (standard-display-g1, standard-display-graphic):
7731 Only refuse to use string glyphs on X and MS-Windows.
7733 * avoid.el: Remove window-system from commentary, suggest to use
7734 display-*-p instead.
7736 * apropos.el (apropos-print): Use display-mouse-p instead of
7739 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7741 * international/codepage.el (cp-decoding-vector-for-codepage):
7742 Fill up unsupported characters with their own codes. From Kenichi
7745 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7747 * international/mule-diag.el (describe-char-after): Use
7748 display-graphic-p instead of window-system, so that this function
7751 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7753 * international/codepage.el (cp-make-coding-systems-for-codepage):
7754 Remove the eight-bit-graphic and eight-bit-control charsets from
7755 the list of charsets which we convert into `?'.
7757 2000-05-25 Kenichi Handa <handa@etl.go.jp>
7759 * international/mule-conf.el: Specify CHARSET-ID explicitely for
7761 (mule-unicode-0100-24ff, japanese-jisx0213-1,
7762 japanese-jisx0213-2): New charsets.
7764 * international/fontset.el: Setup default fontset for new charsets.
7766 2000-05-24 Dave Love <fx@gnu.org>
7768 * info.el (Info-find-node-2): Restructure [following "Vadim
7769 S. Solomin" <sovs@uic.nnov.ru>].
7771 * icomplete.el: Fix header for Finder.
7773 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
7775 * rmailout.el (rmail-output-to-rmail-file): Added optional param
7778 * rmail.el (rmail-automatic-folder-directives): New user variable.
7779 (rmail-show-message): Add call to `rmail-auto-file' during
7781 (rmail-auto-file): New function.
7783 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
7785 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
7787 (ediff-test-utility,ediff-diff-mandatory-option)
7788 (ediff-reset-diff-options): Utilities for proper initialization of
7789 ediff-diff-options and ediff-diff3-options on Windows.
7791 * ediff-init.el (ediff-merge-filename-prefix): New customizable
7794 * ediff-mult.el (ediff-filegroup-action): Use
7795 ediff-merge-filename-prefix.
7797 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
7799 * viper-ex.el (ex-write): Set selective display to nil.
7801 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
7803 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
7804 aliases for hebrew-iso-8bit.
7806 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
7808 * woman.el: New version from Francis J. Wright
7809 <F.J.Wright@Maths.QMW.ac.uk>.
7810 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
7811 names in environment variables regardless of the path separator.
7812 (woman-topic-all-completions-1): Don't call file-name-directory-p
7813 on all files, since woman-file-regexp already filters out any
7816 2000-05-24 Kenichi Handa <handa@etl.go.jp>
7818 * international/quail.el (quail-start-translation): Don't change
7819 modified-p of the current buffer.
7820 (quail-start-conversion): Likewise.
7822 * international/kkc.el (kkc-region): Don't change modified-p of
7825 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
7827 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
7829 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
7831 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
7832 (speedbar-insert-button): Invisible text property fix.
7833 (speedbar-directory-plus): Renamed from speedbar-directory-+
7834 (speedbar-directory-minus): Renamed from speedbar-directory--
7835 (speedbar-page-plus): Renamed from speedbar-file-+
7836 (speedbar-page-minus): Renamed from speedbar-file--
7837 (speedbar-page): Renamed from speedbar-file-
7838 (speedbar-tag): Renamed from speedbar-tag-
7839 (speedbar-tag-plus): Renamed from speedbar-tag-+
7840 (speedbar-tag-minus): Renamed from speedbar-tag--
7841 (speedbar-expand-image-button-alist): Use above renames.
7843 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
7844 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
7845 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
7846 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
7847 * sb-pg.xpm: Renamed from sb-file.xpm
7848 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
7849 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
7851 2000-05-24 Kenichi Handa <handa@etl.go.jp>
7853 * international/quail.el (quail-show-guidance-buf): Set
7854 current-input-method of the guidance buffer to the name of the
7855 curren input method.
7857 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
7859 * progmodes/compile.el (compile-internal): Style typo.
7861 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
7862 quote vars and functions in the docstring.
7864 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
7866 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
7867 Don't quote lambdas.
7869 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
7871 2000-05-23 Gerd Moellmann <gerd@gnu.org>
7873 * startup.el (command-line): Determine source file of compiled
7874 user init file differently. Warn if compiled user init file
7875 is older than its source file.
7877 * ffap.el (ffap-url-regexp): Add `https'.
7879 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
7881 * files.el (make-backup-file-name-1): Replace slashes with `!'
7882 rather than `|' (which is not allowed on Windows). Replace the
7883 drive letters with a string "drive_X".
7885 2000-05-23 Gerd Moellmann <gerd@gnu.org>
7887 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
7889 * files.el (interpreter-mode-alist): Add `bash2'.
7891 2000-05-22 Dave Love <fx@gnu.org>
7893 * loadhist.el (feature-symbols, file-provides, file-requires): Use
7895 (feature-file): Avoid calling symbol-name. Doc fix.
7896 (file-set-intersect, file-dependents): Use dolist, not mapcar.
7897 (loadhist-hook-functions): Add mouse-position-function.
7898 (unload-feature): Change uses of mapcar.
7900 * files.el (parse-colon-path): Doc fix.
7901 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
7902 (set-auto-mode): Use mapc.
7904 * complete.el (PC-look-for-include-file): Use :alnum: character
7906 (partial-completion-mode): Add autoload cookie.
7908 2000-05-22 Sam Steingold <sds@gnu.org>
7910 * info.el (Info-fontify-node): Fixed the call to
7911 `add-text-properties' (bug introduced on 2000-05-18).
7913 2000-05-22 Dave Love <fx@gnu.org>
7915 * bindings.el: Remove debug-ignored-errors set in other files.
7917 * progmodes/etags.el: Add to debug-ignored-errors.
7918 (visit-tags-table-buffer): Clear out buffers holding old tables
7919 when making a new list.
7920 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
7923 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
7925 (cmpl-string-case-type): Use character classes.
7928 * textmodes/ispell.el:
7931 * progmodes/compile.el: Add to debug-ignored-errors.
7933 * dabbrev.el: Add to debug-ignored-errors.
7934 (dabbrev-completion): Use mapc.
7936 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
7938 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
7939 (woman-mapcan, woman-parse-man.conf)
7940 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
7941 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
7942 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
7944 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
7945 (woman-manpath): Call woman-parse-man.conf.
7946 (woman-emulation): New defcustom, defaults to nroff.
7947 (woman-font-support): New defconst.
7948 (woman-use-symbol-font): New defcustom.
7949 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
7951 Many functions: Doc fix.
7953 2000-05-22 Kenichi Handa <handa@etl.go.jp>
7955 * international/quail.el (quail-simple-translation-keymap): Map
7956 128..255 to quail-self-insert-command.
7957 (quail-keyboard-layout-alist): Add definition for "pc102-de".
7959 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
7961 * help.el (help-manyarg-func-alist): Typo.
7963 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
7964 intervals which makes it heaps simpler.
7966 * newcomment.el (comment-region-internal): Go back to BEG after quoting
7967 the nested comment markers.
7969 * subr.el (remove-hook): Don't turn the hook's value into a list.
7971 2000-05-21 Dave Love <fx@gnu.org>
7973 * edmacro.el (edmacro-parse-keys): Return vector if any elements
7974 are invalid characters.
7976 * international/mule-util.el (detect-coding-with-priority): Use
7977 mapc. Remove redundant lambda.
7979 * international/mule-diag.el (list-non-iso-charset-chars)
7980 (describe-fontset): Remove redundant lambda.
7982 * emulation/crisp.el (brief-mode): New alias.
7984 * emacs-lisp/ring.el (ring-elements): New function.
7986 * emacs-lisp/easymenu.el (easy-menu-create-menu)
7987 (easy-menu-do-add-item): Use keywordp.
7989 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
7991 * replace.el: Doc and error message fixes.
7992 (replace-highlight): Use facep, not internal-find-face.
7994 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
7996 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
7998 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
7999 (log-edit-insert-changelog): Drop `:' as well.
8001 * log-view.el: Fix file description.
8002 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
8004 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
8005 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
8007 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
8008 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
8009 Print a status message if the toggle is called interactively.
8010 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
8011 for global minor modes and use `defcustom' for them.
8013 (easy-mmode-define-derived-mode): Remove.
8014 (define-derived-mode): Fancier default docstring.
8015 (easy-mmode-define-navigation): Signal an error rather than (ding).
8017 * newcomment.el (comment-styles): New `box-multi'.
8018 (comment-normalize-vars): Better default for comment-continue to
8019 avoid whitespace-only continuations.
8020 (comment-search-forward): Always move even in the no-syntax case.
8021 (comment-padright): Only obey N if it's only obeyed for padleft.
8022 (comment-make-extra-lines): Better handling of empty continuations.
8023 Use `=' for the filler if comment-start has only one character.
8024 (uncomment-region): Try handling the special `=' filler.
8025 (comment-region): Allow LINES even if MULTI is nil.
8026 (comment-box): Choose box style based on comment-style.
8028 2000-05-20 Kenichi Handa <handa@etl.go.jp>
8030 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
8031 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
8033 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
8035 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
8036 and insert, not subst-char-in-region.
8038 * international/mule-diag.el (list-character-sets-1): Handle
8039 charsets eight-bit-control and eight-bit-graphic.
8040 (list-iso-charset-chars): Likewise.
8041 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
8042 charactes as is. Use indent-to to align characters.
8044 * international/mule-cmds.el (find-multibyte-characters): Never
8045 exclude charsets eight-bit-control and eight-bit-graphic.
8047 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
8049 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
8050 Don't quote lambdas.
8052 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
8054 2000-05-19 Gerd Moellmann <gerd@gnu.org>
8056 * gud.el (gud-jdb-directories): Doc fix.
8058 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
8060 * newcomment.el: New file.
8062 2000-05-19 Gerd Moellmann <gerd@gnu.org>
8064 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
8066 2000-05-18 Andreas Schwab <schwab@suse.de>
8068 * dired.el (dired-between-files): Also skip lines beginning with
8071 2000-05-18 Gerd Moellmann <gerd@gnu.org>
8073 * msb.el (msb-menu-cond): Add choice `user'.
8075 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8077 * ps-print.el: Compatibility, customization and doc fix.
8078 (ps-printer-name-option): Replace defconst by defvar.
8079 (ps-postscript-code-directory): XEmacs compatibility.
8080 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
8082 (ps-user-defined-prologue, ps-print-prologue-header)
8083 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
8084 compatibility and code fix.
8085 (ps-print-background-image, ps-print-background-text):
8087 (ps-line-number-start, ps-n-up-on): New vars.
8089 2000-05-18 Espen Skoglund <esk@ira.uka.de>
8091 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
8092 the indent-comment function to just return the appropriate indent.
8094 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
8096 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
8097 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
8098 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
8100 2000-05-18 Dave Love <fx@gnu.org>
8102 * info.el (Info-fontify-node): Add intangible property as well as
8105 * calendar/appt.el (appt-make-list): Match all lines of entry.
8106 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
8108 2000-05-18 Kenichi Handa <handa@etl.go.jp>
8110 * international/mule-diag.el (describe-char-after): Call
8111 internal-char-font, not char-font. If internal-char-font returns
8112 nil, display "-- none --".
8114 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
8116 * image.el (image-type-available-p): Don't reference image-types
8119 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
8121 * autoarg.el (autoarg-mode): Typo in the :set argument.
8123 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
8125 * startup.el (command-line-1): Don't signal an error if the
8126 directory for auto-save-list files does not yet exist.
8128 2000-05-17 Kenichi Handa <handa@etl.go.jp>
8130 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
8132 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
8134 * subr.el (remove-hook): `setq' hook-value, not `set'.
8136 2000-05-16 Sam Steingold <sds@gnu.org>
8138 * info.el (debug-ignored-errors): More errors to ignore.
8140 2000-05-16 Dave Love <fx@gnu.org>
8142 * cus-edit.el: Don't require cl or easymenu.
8143 (custom-variable-prompt): Test standard-value property, not
8146 2000-05-16 Sam Steingold <sds@gnu.org>
8148 * subr.el (add-hook): `setq' hook-value, not `set'.
8150 2000-05-16 Gerd Moellmann <gerd@gnu.org>
8152 * startup.el (command-line-1): Mention the FAQ in the startup
8155 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
8157 * progmodes/compile.el (compilation-parse-errors): Collect
8158 `nomessage' regexps last.
8160 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
8162 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
8163 to the function name.
8165 2000-05-15 Dave Love <fx@gnu.org>
8167 * speedbar.el (speedbar-recenter): Typo.
8168 (speedbar-expand-line): Make arg optional.
8169 (speedbar-mode): Avoid a compiler warning.
8171 2000-05-15 Gerd Moellmann <gerd@gnu.org>
8173 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
8174 user-specified option string is empty.
8176 * mouse.el (mouse-yank-at-click): Doc fix.
8178 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
8180 * term/internal.el (IT-character-translations): More updates of
8181 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
8184 2000-05-15 Gerd Moellmann <gerd@gnu.org>
8186 * env.el (getenv): New function, interactively callable.
8187 (setenv, getenv): Remove autoload cookies.
8189 * loadup.el: Load `env'.
8191 * progmodes/f90.el: Change author's mail address.
8193 2000-05-14 Dave Love <fx@gnu.org>
8195 * mail/rmail.el (rmail-show-message-hook): Customize and offer
8196 goto-addr as an option.
8198 * help.el (help-xref-stack): Doc fix.
8199 (help-xref-following): New variable.
8200 (help-make-xrefs): Use it.
8201 (help-xref-go-back): Use position information from stack element.
8202 (help-follow): Make position in stack element a pair. Use
8203 help-xref-following.
8205 * autoarg.el: New file.
8207 * faces.el: Declare more functions obsolete.
8209 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
8210 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
8211 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
8212 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
8213 Remove all the setup-...-environment functions.
8215 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
8217 * speedbar.el: Updated the commentary section. xemacs20p now uses
8218 >= when detecting. Require `defimage' safely.
8219 (speedbar-easymenu-definition-base): Add toggle for images.
8220 (speedbar-easymenu-definition-special): Add flush cache & expand.
8221 (speedbar-visiting-tag-hook): Set new defaults. Added options.
8222 (speedbar-reconfigure-keymaps-hook): New variable.
8223 (speedbar-frame-parameters): Updated documentation.
8224 (speedbar-use-imenu-flag): Updated custom tag
8225 (speedbar-dynamic-tags-function-list): New variable.
8226 (speedbar-tag-hierarchy-method): Updated doc & custom.
8227 (speedbar-indentation-width, speedbar-indentation-width) New
8229 (speedbar-hide-button-brackets-flag): Customizable.
8230 (speedbar-vc-indicator): Doc update.
8231 (speedbar-ignored-path-expressions): Updated default value.
8232 (speedbar-supported-extension-expressions): Updated default value.
8233 (speedbar-syntax-table): Remove {} paren status.
8234 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
8235 as "+". Added overlay aliases.
8236 (speedbar-mode): Use `speedbar-mode-line-update' instead of
8237 `force-mode-line-update'.
8238 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
8239 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
8241 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
8242 (speedbar-item-info-tag-helper): Revamped to handle a wider range
8243 of arbitrary text, and new helper functions.
8244 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
8246 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
8247 (speedbar-directory-buttons): Update path search/expansion.
8248 (speedbar-make-tag-line): Pay attention to
8249 `speedbar-indentation-width'. Use more care w/ invisible
8251 (speedbar-change-expand-button-char): Call
8252 `speedbar-insert-image-button-maybe'.
8253 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
8254 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
8255 (speedbar-trim-words-tag-hierarchy)
8256 (speedbar-simple-group-tag-hierarchy): New functions
8257 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
8258 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
8260 (speedbar-mouse-set-point): New function
8261 (speedbar-power-click): Updated documentation.
8262 (speedbar-line-token, speedbar-goto-this-file): Handle more types
8264 (speedbar-expand-line, speedbar-contract-line): Make more robust
8266 (speedbar-expand-line): Takes universal argument to flush the
8268 (speedbar-flush-expand-line): New function.
8269 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
8270 Use new generator insertion method.
8271 (speedbar-fetch-dynamic-tags): New function.
8272 (speedbar-fetch-dynamic-imenu): Removed code now handled in
8273 `speedbar-fetch-dynamic-imenu'.
8274 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
8275 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
8276 "Revert Buffer" menu items.
8277 (speedbar-buffer-buttons-engine): Be smarter when creating a
8278 filename tag (for expansion purposes.).
8279 (speedbar-highlight-one-tag-line,
8280 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
8281 (speedbar-recenter): New functions.
8282 (defimage-speedbar): Image loading abstraction.
8283 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
8284 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
8285 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
8286 (speedbar-tag-type, speedbar-tag-mail): New images.
8287 (speedbar-expand-image-button-alist): New variable.
8288 (speedbar-insert-image-button-maybe): Insert an image over some
8291 2000-05-13 Kenichi Handa <handa@etl.go.jp>
8293 * international/mule-cmds.el (encode-coding-char): An ASCII
8294 character is always encodable.
8296 * international/mule-conf.el: Add more information in descriptions
8299 * international/mule-diag.el (describe-char-after): New function.
8300 (describe-font-internal): Adjusted for the change of font-info.
8301 (describe-font): Likewise.
8302 (print-fontset): Rewritten for the new fontset implementation.
8303 (describe-fontset): Include fontset alias names in completion.
8304 (list-fontsets): Adjusted for the change of print-fontset.
8306 * simple.el (what-cursor-position): If DETAIL is non-nil, call
8307 describe-char-after instead of displaying the detail in the echo
8309 (syntax-code-table): Format changed.
8310 (string-to-syntax): Adjusted for the above change.
8312 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
8314 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
8316 2000-05-12 Dave Love <fx@gnu.org>
8318 * calendar/todo-mode.el: Remove some compatibility stuff and CL
8319 dependence. Use line-{beginning,end}-position, not
8320 point-at{b,e}ol. Some doc fixes.
8321 (todo-position): New function. Fix callers of position to use it.
8322 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
8324 2000-05-12 Gerd Moellmann <gerd@gnu.org>
8326 * time.el (display-time-mail-icon): Use `:ascent center'.
8328 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
8329 handling FTP security extensions.
8331 2000-05-11 Dave Love <fx@gnu.org>
8333 * calendar/todo-mode.el: New file.
8335 2000-05-11 Gerd Moellmann <gerd@gnu.org>
8337 * comint.el (comint-read-input-ring): Move reference to
8338 comint-input-ring-size outside of the save-excursion. It was
8339 causing the default value to be the only one ever seen.
8341 * font-lock.el: Update copyright. Remove Simon Marshall's email
8342 address on request from him.
8344 * subr.el (substitute-key-definition): Add comment describing
8345 the meaning of PREFIX.
8347 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
8349 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
8351 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
8352 (add-minor-mode): Don't make the variable buffer-local and add a
8353 reference to define-minor-mode in the docstring.
8355 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
8356 HEADER/FOOTER and fix bug with trailing empty directory.
8357 (cvs-append-to-ignore): Use vc-editable-p if available.
8358 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
8359 (vc-do-command): Tweak advice to handle the new VC.
8361 * log-view.el (log-view-goto-rev): New function for the new VC.
8362 (log-view-minor-wrap): Use mark-active.
8364 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
8365 (log-edit-changelog-full-paragraphs): New var.
8366 (log-edit-insert-changelog): Remove a lonely leading `* file'.
8367 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
8368 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
8369 (log-edit-changelog-ours-p, log-edit-changelog-entries)
8370 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
8371 Replace the `cvs' prefix with `log-edit'.
8373 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
8375 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
8376 (diff-font-lock-defaults): Explicitly turn off multiline.
8377 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
8378 (diff-ediff-patch): Fix call to ediff-patch-file.
8379 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
8382 * frame.el (automatic-hscrolling): Typo.
8384 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
8386 2000-05-09 Sam Steingold <sds@goems.com>
8388 * apropos.el (apropos-print): use `describe-face' instead of
8389 `customize-face-other-window'.
8391 2000-05-09 Dave Love <fx@gnu.org>
8393 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
8395 * help.el (describe-variable): Have customize button pop the
8396 help-xref stack when invoked.
8397 (help-xref-symbol-regexp): Add `face'.
8398 (help-make-xrefs): Check for quoted face names and adapt regexp
8399 submatch numbers to cope.
8400 (help-xref-interned): Maybe insert face doc too. Separate
8401 sections with a line of hyphens.
8403 * faces.el: Some doc fixes. Declare some functions obsolete.
8404 (describe-face): Add customize button. Return the help
8407 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
8409 * term/internal.el (IT-character-translations): Fix last change.
8411 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
8413 * woman.el: New file
8414 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
8416 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
8418 * term/internal.el (IT-character-translations): Update ASCII
8419 simulations for greek-iso8859-7, add latin-iso8859-14 and
8422 * international/mule-cmds.el (set-language-info-alist): Call
8423 define-prefix-command with 3 arguments, to make the map suitable
8426 2000-05-07 Dave Love <fx@gnu.org>
8428 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
8430 2000-05-05 Dave Love <fx@gnu.org>
8432 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
8433 list in doc string. Don't quote keyword symbols.
8434 * emacs-lisp/cl.el: Likewise
8435 * emacs-lisp/cl-seq.el: Likewise
8437 2000-05-05 Gerd Moellmann <gerd@gnu.org>
8439 * abbrev.el (abbrev-mode): Make ARG optional.
8441 2000-05-04 Gerd Moellmann <gerd@gnu.org>
8443 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
8445 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
8447 * subr.el (substitute-key-definition): Clarify documentation.
8449 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
8451 * glasses.el (glasses-convert-to-unreadable): Use
8452 `glasses-separator' instead of the hard-wired "_".
8453 (glasses-mode): Call `glasses-make-unreadable' only in a single
8456 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
8458 * term/internal.el (cjk-codepages-alist): Add associations for
8459 Chinese and Korean codepages. Remove FIXME comment.
8461 2000-05-03 Dave Love <fx@gnu.org>
8463 * time.el (display-time-mail-face, display-time-use-mail-icon):
8465 (display-time-mail-icon): New variable.
8466 (display-time-string-forms): Use the above. Fix the local-map.
8468 2000-05-03 Gerd Moellmann <gerd@gnu.org>
8470 * replace.el (query-replace-map): Add binding for `E'.
8471 (query-replace-help): Extend help text.
8472 (perform-replace): Allow editing the replacement string.
8474 * make-mode.el (makefile-mode-abbrev-table): New variable.
8475 (makefile-mode): Set local abbrev table to
8476 makefile-mode-abbrev-table.
8477 (makefile-font-lock-keywords): Fontify includes and conditionals.
8479 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
8482 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
8483 mail-interactive-insert-alias.
8484 (mail-abbrev-complete-alias): New command.
8485 (mail-mode-map): Bind it to `M-TAB'.
8487 2000-05-03 Kenichi Handa <handa@etl.go.jp>
8489 * language/lao-util.el (lao-compose-region): New function.
8491 2000-05-02 Gerd Moellmann <gerd@gnu.org>
8493 * files.el (recover-session): Make directories as necessary
8494 if they don't exist yet.
8496 * calendar/cal-french.el
8497 (french-calendar-multibyte-special-days-array)
8498 (french-calendar-special-days-array): Change French text.
8499 (calendar-french-date-string): Change output.
8500 (calendar-goto-french-date): Likewise.
8502 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
8504 * wid-edit.el (widget-default-active): Obey `:always-active'.
8505 (widget-documentation-string-value-create): Set `:always-active'.
8507 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
8509 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
8510 default prefix to `~/_emacs.d/auto-save.list/_s'.
8511 (normal-top-level): Create the directory for auto-save files, if
8512 it doesn't already exist (in the ms-dos case only).
8514 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
8516 * international/mule-cmds.el (set-language-environment): Don't
8517 concat an integer (dos-codepage), use format instead.
8519 2000-05-02 Dave Love <fx@gnu.org>
8521 * help.el (help-xref-on-pp): Check for constant symbols.
8523 2000-04-29 Gerd Moellmann <gerd@gnu.org>
8525 * startup.el (normal-top-level): Put a condition-case around
8526 the code loading subdirs.el.
8528 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8530 * ps-print.el: Upside-down and face background color printing,
8531 line number step, doc fix.
8532 (ps-print-version): New version number (5.2).
8533 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
8534 (ps-face-attribute-list, ps-plot-with-face): Code fix.
8535 (ps-spool-config): Var fix.
8536 (ps-printer-name-option): Const fix.
8537 (ps-print-upside-down, ps-use-face-background)
8538 (ps-line-number-step): New vars.
8539 (ps-window-system, ps-lp-system): New consts.
8540 (ps-face-background): New fun.
8542 2000-04-28 Richard Stallman <rms@gnu.org>
8544 * files.el (make-auto-save-file-name):
8545 Apply auto-save-file-name-transforms to visited file name
8546 before generating auto save file name.
8547 (auto-save-file-name-transforms): New variable.
8549 * files.el (backup-enable-predicate):
8550 Correctly test for a file under a temporary directory.
8552 2000-04-28 Gerd Moellmann <gerd@gnu.org>
8554 * subr.el (add-minor-mode): Rewritten.
8556 2000-04-28 Kenichi Handa <handa@etl.go.jp>
8558 * mail/sendmail.el (sendmail-send-it): Set
8559 buffer-file-coding-system to the selected coding system for MIME
8562 2000-04-27 Gerd Moellmann <gerd@gnu.org>
8564 * dired.el (dired-move-to-filename-regexp): Allow format where
8565 YYYY is followed by two spaces.
8567 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
8568 in the second character class of the regexp.
8570 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
8573 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
8576 * subr.el (add-minor-mode): Use `set' instead of `setq'.
8578 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
8581 2000-04-27 Sen Nagata <sen@eccosys.com>
8583 * emacs-lisp/crm.el (crm-completion-table): New variable.
8584 (crm-collection-fn, crm-test-completion)
8585 (completing-read-multiple): Use it.
8587 2000-04-27 Dave Love <fx@gnu.org>
8589 * help.el (locate-library): Use mapc.
8590 (help-manyarg-func-alist): Add call-process-region.
8592 2000-04-26 Gerd Moellmann <gerd@gnu.org>
8594 * subr.el (add-minor-mode): Make argument MAP optional.
8596 * desktop.el (desktop-save): Save list of minor modes.
8597 (desktop-create-buffer): Restore minor modes.
8598 (desktop-minor-mode-table): New user-option.
8600 * subr.el (add-minor-mode): New function.
8602 * image.el (find-image): New function.
8603 (defimage): Rewritten to find image at load time.
8605 * startup.el (normal-top-level-add-to-load-path): Handle
8606 case that the default directory is not in load-path.
8608 * help.el: Old patch from Stefan Monnier.
8609 (help-xref-on-pp): New function.
8610 (describe-variable): Use it to display xrefs in a symbol's value.
8612 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
8614 * cus-edit.el (custom-face): Fix parenthesis.
8616 2000-04-26 Kenichi Handa <handa@etl.go.jp>
8618 * mail/rmail.el (rmail-expunge): When there are no deleted
8619 messages, do nothing.
8621 2000-04-26 Dave Love <fx@gnu.org>
8623 * international/mule-cmds.el (locale-translation-file-name):
8625 (set-locale-environment): Set it here (at runtime).
8627 2000-04-25 Gerd Moellmann <gerd@gnu.org>
8629 * replace.el (perform-replace): Add parameters START and END. Use
8630 them instead of the check for a region in Transient Mark mode.
8631 (query-replace-read-args): Return two more list elements for the
8632 start and end of the region in Transient Mark mode.
8633 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8634 (map-query-replace-regexp, replace-string, replace-regexp): Add
8635 optional last arguments START and END and pass them to
8638 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
8639 form with additional arguments for perform-replace.
8641 * progmodes/etags.el (tags-query-replace): Add parameters START
8642 and END. Construct a form with additional arguments for
8645 * simple.el (shell-command): Set default directory for "*Shell
8646 Command Output" buffer.
8648 * language/european.el (iso-latin-4): Fix typo.
8650 * emacs-lisp/crm.el: New file.
8652 2000-04-24 Dave Love <fx@gnu.org>
8654 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
8655 (Custom-reset-saved, Custom-reset-standard)
8656 (custom-group-value-create, custom-group-set, custom-group-save)
8657 (custom-group-reset-current, custom-group-reset-saved)
8658 (custom-group-reset-standard): Use mapc.
8659 (custom-buffer-create-internal): Disable undo when creating items.
8661 (custom-face): Avoid redundant lambda.
8663 2000-04-24 Gerd Moellmann <gerd@gnu.org>
8665 * startup.el (auto-save-list-file-prefix): Set default to
8666 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
8668 2000-04-24 Sam Steingold <sds@gnu.org>
8670 * time-stamp.el (time-stamp-string-preprocess): Always convert
8671 `field-result' to a string.
8673 2000-04-24 Gerd Moellmann <gerd@gnu.org>
8675 * frame.el (scrolling): New group.
8676 (automatic-hscrolling): New user-option.
8678 * startup.el (command-line-x-option-alist): Add `-lsp' and
8681 2000-04-19 Dave Love <fx@gnu.org>
8683 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
8684 (cl-mapc): Rename from mapc. Fix the funcall.
8686 2000-04-19 Gerd Moellmann <gerd@gnu.org>
8688 * simple.el (clone-indirect-buffer-other-window): New command.
8689 (clone-indirect-buffer): Add optional arg NORECROD.
8690 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
8692 * help.el (resize-temp-buffer-window): Use count-screen-lines.
8694 * window.el (count-screen-lines): New function.
8695 (shrink-window-if-larger-than-buffer): Use count-screen-lines
8696 instead of window-buffer-height.
8698 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
8699 non-existing variable comint-input-sentinel.
8700 (inferior-lisp-args-to-list): Removed.
8701 (inferior-lisp): Use split-string instead of
8702 inferior-lisp-args-to-list.
8704 * hexl.el (hexl-insert-hex-string): New command.
8706 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
8709 2000-04-18 Gerd Moellmann <gerd@gnu.org>
8711 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
8712 at the start of an existing but empty folder.
8714 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8716 * ps-mule.el: Customization fix, doc fix.
8717 (ps-multibyte-buffer): Customization fix.
8719 2000-04-17 Richard M. Stallman <rms@gnu.org>
8721 * subr.el (read-passwd): Use read-char-exclusive.
8723 2000-04-17 Gerd Moellmann <gerd@gnu.org>
8725 * textmodes/texinfo.el (texinfo-insert-@email)
8726 (texinfo-insert-@emph, texinfo-insert-@quotation)
8727 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
8728 (texinfo-mode-map): Add key bindings for them.
8730 * files.el (basic-save-buffer-2): Use a template with `$'
8731 instead of `#' for VMS.
8733 * simple.el (clone-indirect-buffer): New function.
8735 2000-04-16 Stephen Eglen <stephen@gnu.org>
8737 * iswitchb.el (iswitchb-case): New function. If the user input
8738 contains any upper-case characters, the search is made
8741 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
8743 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
8745 (texinfo-font-lock-syntactic-keywords): New var.
8746 (texinfo-font-lock-keywords): Remove comment regexp.
8747 (texinfo-insert-block): New function.
8748 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
8749 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
8750 and font-lock-defaults. Use regexp-opt for outline-regexp.
8751 (texinfo-environments): New var.
8752 (texinfo-environment-regexp): Use regexp-opt and
8753 texinfo-environments.
8755 * textmodes/ispell.el (ispell-menu-map-needed): Check that
8756 ispell-process is bound since this might be eval'd before ispell
8758 (ispell-message): Use a tiny bit less magic and a bit more hard
8759 data to figure out what kind of sc-cite-regexp to use.
8761 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
8763 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
8764 (insert-cyclic-diary-entry): Unquote the lambda.
8766 * gud.el (gud-jdb-build-source-files-list): Fix typo.
8768 * files.el (backup-enable-predicate): Unquote the lambda.
8770 * cus-edit.el (custom-face, face): Unquote the lambda.
8772 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8774 * ps-print.el: Check for line-beginning-position definition.
8776 * ps-print.el: Fix counting lines in a region.
8777 (ps-print-version): New version number (5.1.5).
8778 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
8779 (ps-printing-region): Fun code fix.
8781 2000-04-15 Gerd Moellmann <gerd@gnu.org>
8783 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
8784 to file-directory-p.
8786 2000-04-14 Gerd Moellmann <gerd@gnu.org>
8788 * gud.el (gud-jdb-build-source-files-list): Check that directory
8789 exists before calling directory-files.
8791 2000-04-13 Dave Love <fx@gnu.org>
8793 * emacs-lisp/trace.el: Change maintainer. Use new backquote
8796 * emacs-lisp/cl-specs.el: Remove when, unless.
8798 * emacs-lisp/cl-extra.el: Don't quote keywords.
8799 (cl-old-mapc): New variable.
8801 (cl-map-intervals): Use with-current-buffer. Don't check for
8802 next-property-change.
8803 (cl-map-overlays): Use with-current-buffer.
8805 (copy-tree, remprop): Define unconditionally.
8807 * emacs-lisp/cl-compat.el (keywordp): Remove.
8809 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
8811 (edebug-spec): Enable keywordp.
8813 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
8816 * cus-start.el: Use keywordp.
8818 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
8820 * diary-lib.el (include-other-diary-files): Fix the fix of
8821 2000-02-18 by doing a save-excursion.
8823 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8825 * ps-print.el: Customization fix, doc fix.
8826 (ps-print-version): New version number (5.1.4).
8827 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
8828 (ps-print-preprint): Adjust code.
8829 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
8830 (ps-print-prologue-header, ps-print-control-characters)
8831 (ps-spool-config): Customization fix.
8833 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
8835 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
8836 converted to the new menu-item format, names silightly changed,
8839 Support for spelling without async subprocesses:
8841 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
8842 (ispell-session-buffer): New variables.
8843 (ispell-start-process, ispell-process-status,
8844 ispell-accept-output, ispell-send-string): New functions, for
8845 Ispell invocation when async subprocesses aren't supported.
8846 (ispell-word, ispell-pdict-save, ispell-command-loop,
8847 ispell-process-line, ispell-buffer-local-parsing): Replace calls
8848 to process-send-string with calls to ispell-send-string, and
8849 accept-process-output with ispell-accept-output.
8850 (ispell-init-process): Call ispell-process-status instead of
8851 process-status with.
8852 (ispell-init-process): Call ispell-start-process. Call
8853 ispell-accept-output and ispell-send-string. Don't call
8854 process-kill-without-query and kill-process if they are unbound.
8855 (ispell-async-processp): New function.
8857 2000-04-12 Dave Love <fx@gnu.org>
8859 * info.el: Add debug-ignored-errors.
8860 (Info-mode-menu): Add some items.
8861 (Info-directory): Add autoload cookie.
8863 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
8864 Modify `truncate-lines'. Make `describe-language-environment'
8865 always visible and add help. Modify `describe-key' help. Invoke
8866 Info-directory from `info'. New entry `emacs-manual'.
8868 2000-04-10 Gerd Moellmann <gerd@gnu.org>
8870 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
8871 propertized-buffer-identification.
8872 (ebrowse-update-member-buffer-mode-line): Likewise.
8873 (ebrowse--mode-strings): Removed.
8874 (ebrowse--mode-line-props): Removed.
8876 * files.el (auto-mode-alist): Add `EBROWSE'.
8878 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
8879 space before testing for end of buffer.
8880 (ebrowse-load): Removed.
8881 (ebrowse-revert-tree-buffer-from-file): Rewritten.
8882 (ebrowse-create-tree-buffer): Rewritten.
8883 (ebrowse-tree-mode): Read tree from buffer.
8885 * progmodes/ebrowse-ffh.el: Removed.
8887 2000-04-10 Kenichi Handa <handa@etl.go.jp>
8889 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
8891 2000-04-10 Gerd Moellmann <gerd@gnu.org>
8893 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
8896 2000-04-09 Dave Love <fx@gnu.org>
8898 * files.el (backup-enable-predicate): Use
8899 temporary-file-directory, small-temporary-file-directory.
8900 (make-backup-file-name-function, backup-directory-alist): New
8902 (make-backup-file-name-1): New function.
8903 (make-backup-file-name): Use it.
8904 (find-backup-file-name): Likewise. Use format for clarity, not
8906 (file-newest-backup): Use make-backup-file-name.
8908 2000-04-09 Gerd Moellmann <gerd@gnu.org>
8910 * progmodes/ebrowse-ffh.el: New file.
8912 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
8914 (ebrowse-load): Add autoload.
8916 * finder.el (finder-commentary): Add autoload cookie.
8918 * mail/rfc2368.el: Correct author's email address.
8920 * progmodes/ebrowse.el: New file.
8922 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
8924 (easy-menu-do-add-item): Ditto.
8925 (easy-menu-define): Extend doc string.
8927 * jit-lock.el (with-buffer-unmodified): Use
8928 restore-buffer-modified-p.
8929 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
8930 (jit-lock-function, jit-lock-stealth-fontify): Don't use
8931 with-buffer-unmodified.
8933 2000-04-08 Dave Love <fx@gnu.org>
8935 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
8938 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
8940 * viper-util.el (viper-put-on-search-overlay): New subroutine.
8941 (viper-flash-search-pattern): No operation when using Emacs
8942 doesn't support face.
8943 Use `viper-put-on-search-overlay'.
8945 2000-04-04 Gerd Moellmann <gerd@gnu.org>
8947 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
8950 * progmodes/make-mode.el: Some doc fixes.
8951 (makefile-mode-abbrev-table): New variable.
8952 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
8953 (makefile-font-lock-keywords): Fontify includes and conditionals.
8954 (toplevel): Require `dabbrev' and `add-log' when compiling.
8956 * replace.el (perform-replace): Don't move forward one char
8957 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
8958 to do that because it leaves point 1 position after the last
8959 replacement, after everything has been replaced.
8961 * jit-lock.el (with-buffer-unmodified): New macro.
8962 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
8964 (jit-lock-function-1): Extracted from jit-lock-function; not
8965 preserving buffer's modified state.
8966 (jit-lock-function, jit-lock-stealth-fontify): Call
8967 jit-lock-function-1.
8969 * mail/rfc2368.el: Remove supernumerary copyright line.
8971 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
8973 * glasses.el: Provide facilities for inserting space before left
8974 parentheses and uncapitalization of identifiers.
8975 (glasses-mode): Try to remove old overlays in all cases.
8977 2000-04-03 Gerd Moellmann <gerd@gnu.org>
8979 * progmodes/compile.el (compile-internal): Display the compilation
8980 buffer in a different frame, if it's already displayed there.
8982 * mail/rfc2368.el: New file.
8984 * simple.el (sendmail-user-agent-compose): Recognize a `body'
8985 header and insert its value as mail body.
8987 * subr.el (member-ignore-case): New function.
8989 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
8990 (dabbrev--find-expansion): Ignore buffers matching a regexp
8991 from dabbrev-ignored-regexps.
8993 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
8994 to extensions handled by gzip.
8996 2000-04-03 Richard M. Stallman <rms@gnu.org>
8998 * files.el (insert-directory): List the total free space
8999 along with the used space.
9001 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
9002 line is followed by one that matches CITATION-REGEXP, end the
9005 2000-04-03 Markus Rost <rost@delysid.gnu.org>
9007 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
9008 (rmail-make-basic-summary-line): Use that option.
9010 2000-04-03 Kenichi Handa <handa@etl.go.jp>
9012 * international/mule-cmds.el (encoded-string-description):
9013 Rewritten. Try pretty description for ISO 2022 escape sequences
9014 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
9015 for hexadecimal format.
9017 2000-04-01 Dave Love <fx@gnu.org>
9019 * cpp.el: Change customization group to `c' from `C'.
9021 * vcursor.el (vcursor-move): Use display-color-p.
9023 * international/mule-util.el: Provide mule-utils.
9024 (string-to-sequence): Simplify and speed up.
9026 * international/mule.el (make-coding-system): Purecopy doc-string.
9028 * international/mule-cmds.el: Various menu changes.
9029 (describe-specified-language-support): Handle `Default'.
9030 (set-language-info): Purecopy `info'.
9032 2000-03-31 Andrew Innes <andrewi@gnu.org>
9034 * vc.el (vc-backend-diff): Return the correct status if we had to
9035 retry the rcsdiff command without the --brief option.
9037 2000-03-31 Dave Love <fx@gnu.org>
9039 * help.el (help-manyarg-func-alist): Correct several omissions.
9041 * add-log.el: Don't require cl, fortran.
9042 (add-log-current-defun-function): Doc fix.
9043 (change-log-version-number-regexp-list): Remove SCCS part. Doc
9045 (change-log-version-rcs): Function deleted.
9046 (change-log-version-number-search): Doc fix. Use
9047 vc-workfile-version. Avoid CL dolist.
9048 (add-change-log-entry): Just call add-log-current-defun to get
9049 defun. Simplify somewhat.
9050 (change-log-get-method-definition-1): Likewise.
9051 (add-log-current-defun): Return nil if calling
9052 add-log-current-defun-function does so. Move Fortran stuff to
9053 fortran.el. Return string without properties.
9055 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
9056 and :alpha: char classes.
9058 * mail/supercite.el: Defvar curline when compiling.
9059 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
9060 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
9061 rather than a-zA-Z0-9 to allow non-ASCII characters.
9063 2000-03-31 Gerd Moellmann <gerd@gnu.org>
9065 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
9067 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9070 * lpr.el (print-region-1): Use -d to specify printer name for
9071 systems `usg-unix-v*, `dgux', `hpux', `irix'.
9073 2000-03-31 Dave Love <fx@gnu.org>
9075 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
9076 for function definition in symbol's function value slot first
9077 instead of first consulting byte-compile-function-environment.
9079 2000-03-31 Kenichi Handa <handa@etl.go.jp>
9081 * language/european.el ("Polish"): New language environment.
9082 (setup-polish-environment): New function.
9084 2000-03-30 Gerd Moellmann <gerd@gnu.org>
9086 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9089 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
9090 trying to `load' the symbol of an autoload instead of the file
9091 recorded in the autoload. Fix error messages.
9093 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9095 * ps-print.el: PostScript programming fix for ghostview, doc fix.
9096 (ps-print-version): New version number (5.1.3).
9097 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
9098 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
9099 (ps-generate-postscript-with-faces): Code fix.
9100 (ps-color-values): XEmacs compatibility.
9101 (ps-print-background-image, ps-print-background-text, ps-printer-name)
9102 (ps-default-fg, ps-default-bg): Adjust customization.
9103 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
9104 (ps-color-scale): Renaming old ps-color-value fun.
9105 (ps-print-headers): Replace ps-print-header group to avoid conflict
9106 with ps-print-header variable.
9107 (ps-print-miscellany): New group.
9108 (ps-format-color, ps-rgb-color): New funs.
9109 (ps-default-foreground): New var.
9110 (ps-printer-name-option): New const.
9112 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
9115 (network-connection-host, network-connection-service): New variables
9116 (network-connection-mode): New mode, derived from comint-mode
9117 (network-connection-mode-setup): New function, saves host and
9118 service information in local variables.
9121 (locate-word-at-point): Added this function
9122 (locate): Default to using locate-word-at-point as input
9125 2000-03-29 Dave Love <fx@gnu.org>
9127 * calendar/appt.el: Doc fixes.
9128 (appt-check): Convert min-to-app to a string before passing to
9129 appt-disp-window-function or concat.
9130 (appt-delete-window): Remove test for frame-root-window.
9131 (appt-select-lowest-window, appt-convert-time): Simplify.
9133 * emacs-lisp/bytecomp.el: Doc fixes.
9134 (byte-compile-file-form-autoload): Update
9135 byte-compile-function-environment.
9137 2000-03-29 Andreas Schwab <schwab@suse.de>
9139 * emacs-lisp/autoload.el: Also print defsubst doc string
9142 * dired.el (dired-insert-directory): If dired-free-space-program
9143 failed just delete its output.
9145 2000-03-29 Dave Love <fx@gnu.org>
9147 * international/iso-cvt.el: Move provide to end. Doc fixes.
9148 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
9149 (iso-iso2sgml, iso-sgml2iso): New functions.
9150 (iso-cvt-define-menu): Fix some entries and use backquote for
9153 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
9155 2000-03-28 Gerd Moellmann <gerd@gnu.org>
9157 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
9158 ISO-DATE. If non-nil, return date in ISO 8601 format.
9160 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
9162 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
9163 if it ever becomes used.
9164 (log-edit-mode-hook): Default to vc-log-mode-hook.
9165 (log-edit-mode): Fix the docstring.
9167 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
9170 2000-03-26 Dave Love <fx@gnu.org>
9172 * net/browse-url.el (browse-url): Re-fix case of
9173 browse-url-browser-function being an alist.
9174 (browse-url): Add :link to defgroup.
9176 * files.el: Doc fixes.
9177 (file-truename): Include `[' in wildcard characters.
9178 (automount-dir-prefix): Customize.
9179 (find-file-wildcards): Add :version.
9180 (find-file-noselect): Simplify a mapcar call.
9182 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
9183 compatible with inf-lisp version.
9184 (eval-defun-1): Fix custom-declare-variable case.
9186 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
9188 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
9190 2000-03-24 Gerd Moellmann <gerd@gnu.org>
9192 * Makefile (COMPILE_FIRST): New macro.
9193 (compile-files): Compile files from COMPILE_FIRST first.
9195 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
9198 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
9199 matching open parenthesis in column 0 to defun-prompt-regexp
9200 only if open-paren-in-column-0-is-defun-start is set.
9202 * sun-curs.el: Require CL at compile-time only.
9204 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
9205 instead of copy-list which is a function from CL.
9206 (msb--choose-menu, msb--mode-menu-cond)
9207 (msb--create-buffer-menu-2): Use dolist instead of mapc.
9208 (msb--init-file-alist): Use mapcar instead of mapcan.
9209 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
9210 `(' in column 0 in doc string.
9211 (msb--add-separators): Use mapcar instead of mapcan.
9213 * cus-dep.el: Require CL at compile-time only.
9215 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
9217 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
9218 (byte-compile-warnings): New warning `noruntime'.
9219 (byte-compile-constants, byte-compile-variables): Fix docstring.
9220 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
9221 execute `eval-whenc-compile's body.
9222 (byte-compile-unresolved-functions): Fix docstring.
9223 (byte-compile-eval): New function.
9224 (byte-compile-callargs-warn): Check if the function will be available
9225 at runtime (via property `byte-compile-noruntime').
9226 (byte-compile-print-syms): New function.
9227 (byte-compile-warn-about-unresolved-functions): Also warn about
9228 `noruntime' functions (and use `byte-compile-print-syms').
9229 (byte-compile-file): Capitalize the message.
9231 2000-03-24 Gerd Moellmann <gerd@gnu.org>
9233 * mail/rmail.el (rmail-confirm-expunge): New user-option.
9234 (rmail-expunge): Ask for confirmation depending on the setting
9235 of rmail-confirm-expunge.
9237 2000-03-23 Gerd Moellmann <gerd@gnu.org>
9239 * Makefile (bootstrap-clean): If $(emacs) exists, build
9240 loaddefs.el first. A loaddefs.el that's not up-to-date might
9241 cause a bootstrap failure because things don't autoload as
9244 2000-03-23 Dave Love <fx@gnu.org>
9246 * net/browse-url.el: Restore previous use of
9247 browse-url-maybe-new-window.
9249 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9251 * ps-print.el: Skip banner page fix.
9252 (ps-print-version): New version number (5.1.2).
9253 (ps-begin-file, ps-end-file, ps-generate): Code fix.
9255 2000-03-23 Dave Pearson <davep@davep.org>
9257 * net/quickurl.el Changed the type of parameter passed to the
9258 function defined by `quickurl-format-function'. Before only the
9259 text of the URL was passed. Now the whole URL structure is passed
9260 and the function is responsible for extracting the parts it
9261 requires. Changed the default of `quickurl-format-function'
9263 (quickurl-insert): Changed the `funcall' of
9264 `quickurl-format-function' to match the above change.
9265 (quickurl-list-insert): Changed the `url' case so that it makes
9266 use of `quickurl-format-function', previous to this the format was
9269 2000-03-22 Gerd Moellmann <gerd@gnu.org>
9271 * startup.el: Change some spellings for the X Window System.
9273 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
9275 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
9276 up the code and the regexp and make sure the cursor is temporarily
9277 moved to the suspicious line while querying the user.
9279 2000-03-22 Jason Rumney <jasonr@gnu.org>
9281 * w32-fns.el (w32-charset-info-alist): Initialize.
9283 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9285 * ps-print.el: N-up last page fix.
9286 (ps-print-version): New version number (5.1.1).
9287 (ps-end-file, ps-end-job, ps-generate): Code fix.
9289 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
9291 * files.el (find-file-run-dired): Update docstring.
9292 (find-directory-functions): New hook.
9293 (find-file-noselect): Run find-directory-functions rather than
9294 calling dired directly.
9296 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
9298 * pcvs.el: Add a minimal leading commentary.
9299 (cvs-make-cvs-buffer): Change the header part by removing the startup
9300 message and adding a `Module' entry. Also replace the FOOTER and
9301 HEADER special fileinfos with the new support in ewoc for updating
9302 its own footer and header.
9303 (cvs-update-header): Update to use the header/footer of the ewoc.
9304 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
9305 (cvs-is-within-p): New function.
9306 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
9307 to only examine some subset of the buffers.
9309 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
9310 `format' instead of our own ad-hoc functions.
9311 Remove HEADER and FOOTER cases, now handled in the EWOC.
9312 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
9314 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
9315 output to avoid scaring the user.
9316 (cvs-parse-table): Catch message for non-up-to-date commits.
9318 * pcvs-defs.el (cvs-startup-message): Remove.
9319 (cvs-global-menu): New autoloaded menu.
9321 * pcvs-util.el (cvs-string-fill): Remove.
9323 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
9324 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
9325 PP part of it and also make it work for footers and headers.
9326 (ewoc-create): Drop POS and BUFFER arguments.
9327 Use the DLL's dummy node to store the end-of-footer position.
9328 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
9329 (ewoc-refresh): Remove unused `header' variable.
9330 (ewoc-(get|set)-hf): New functions.
9332 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
9333 log-view-*-(message|file) and use easy-mmode-define-navigation.
9334 (log-view-message-re): Match SCCS format as well.
9335 And match the revision line rather than the dashed separator line.
9336 (log-view-mode): Use the new define-derived-mode.
9337 (log-view-current-tag): Fill in with an actual implementation.
9339 * cvs-status.el (cvs-status-(prev|next)): Rename from
9340 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
9341 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
9342 to let the output "breathe" a little more (more readable).
9343 (cvs-status-mode): Use the new define-derived-mode.
9345 * smerge-mode.el (smerge-auto-leave): New function and variable.
9346 (smerge-basic-map): Rename from smerge-basic-keymap.
9347 Change the bindings for smerge-diff-*.
9348 (smerge-*-map): Use easy-mmode-defmap.
9349 (smerge-(next|prev)): Use easy-mmode-define-navigation.
9350 (smerge-keep-*): Use smerge-auto-leave.
9352 2000-03-21 Jason Rumney <jasonr@gnu.org>
9354 * cus-edit.el (custom-button-face): Use 3D look for w32.
9355 (custom-button-pressed-face): Likewise.
9357 2000-03-21 Gerd Moellmann <gerd@gnu.org>
9359 * progmodes/etags.el (tags-case-fold-search): New user-option.
9360 (tags-loop-eval): New function. Bind case-fold-search around eval
9361 depending on the value of tags-case-fold-search.
9362 (tags-loop-continue): Use tags-loop-eval.
9363 (find-tag-in-order): Bind case-fold-search depending on the value
9364 of tags-case-fold-search.
9366 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
9368 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
9369 (diff-end-of-hunk): Return the end position for use in
9370 `easy-mmode-define-navigation'.
9371 (diff-recenter): Remove.
9372 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
9373 of `easy-mmode-define-navigation'.
9374 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
9375 previous renaming) and fix to use new names.
9376 (diff-merge-strings): Use \n as separator: simpler, faster.
9377 (diff-mode): Use `define-derived-mode'.
9379 * derived.el (define-derived-mode): Don't autoload anymore.
9380 Prefer the macro-only version provided by easy-mmode.el.
9382 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
9383 `easy-mmode-define-derived-mode'.
9384 Use `combine-run-hooks'.
9385 (easy-mmode-define-navigation): New macro.
9387 * subr.el (combine-run-hooks): New function.
9389 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
9391 * term/x-win.el: Fontsets related initialization is simplified.
9393 * international/mule-diag.el (describe-font): Don't refer to
9394 global-fontset-alist, instead call font-list.
9395 (describe-fontset, list-fontsets, mule-diag): Likewise.
9396 (print-fontset): Adjusted for the change of fontset
9399 * international/fontset.el (x-charset-registries): Variable
9400 removed, instead the corresponding data is stored in the default
9402 (register-alternate-fontnames): Function removed.
9403 (resolved-ascii-font): Variable removed.
9404 (x-compose-font-name): Ignore the second argument REDOCE.
9405 (x-complement-fontset-spec): Complement only an ASCII font and
9406 element for those charsets than can use that ASCII font.
9407 (generate-fontset-menu): Don't refer to global-fontset-alist,
9408 instead call fontset-list.
9409 (uninstantiated-fontset-alist): Variable removed.
9410 (x-style-funcs-alist): Likewise.
9411 (fontset-default-styles): Likewise.
9412 (x-modify-font-name): Function removed.
9413 (create-fontset-from-fontset-spec): Ignore the argument
9415 (create-fontset-from-ascii-font): Docsting adjusted for the above
9417 (instantiate-fontset, resolve-fontset-name): Functions removed.
9418 (fontset-list): Now implemented by C code.
9420 * faces.el (read-face-font): Fix TABLE arg to completing-read.
9421 (describe-face): Include `font' attribute in the description.
9423 2000-03-21 Kenichi Handa <handa@etl.go.jp>
9425 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
9427 2000-03-20 Gerd Moellmann <gerd@gnu.org>
9429 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
9430 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
9431 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
9433 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
9434 about behavior of set-buffer-modified-p wrt redisplay.
9436 2000-03-19 Richard M. Stallman <rms@gnu.org>
9438 * view.el (view-mode-disable): Kill local binding of view-read-only.
9440 2000-03-18 Gerd Moellmann <gerd@gnu.org>
9442 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
9443 is a string, convert it to a syntax cell using string-to-syntax.
9445 * simple.el (syntax-code-table, syntax-flag-table): New variables.
9446 (string-to-syntax): New function.
9448 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
9449 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
9450 try to use passive ftp mode.
9452 2000-03-17 Gerd Moellmann <gerd@gnu.org>
9454 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
9456 * simple.el (append-to-buffer): Update point of windows after
9459 * abbrev.el (inverse-add-abbrev): Identify word by first moving
9460 forward then moving backward. Reindent.
9462 * frame.el (other-frame): Call x-focus-frame only if
9463 focus-follows-mouse is off.
9465 2000-03-17 Dave Love <fx@gnu.org>
9467 * pcvs-util.el (cvs-strings->string): Rename
9468 replace-regexps-in-string.
9470 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
9472 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
9473 regexp for labels cannot span several lines.
9475 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
9476 `(setq :<key> ':<key>)' to the macro expansion.
9478 2000-03-16 Dave Love <fx@gnu.org>
9480 * progmodes/f90.el (f90): Put custom group under `languages', not
9482 (f90-mode-hook): Customize.
9483 (f90-mode): Set add-log-current-defun-function.
9484 (f90-current-defun): New function.
9486 2000-03-16 Gerd Moellmann <gerd@gnu.org>
9488 * cus-edit.el (custom-variable-tag-face): Handle case that
9489 default face's height is not a number.
9490 (custom-face-tag-face, custom-group-tag-face-1)
9491 (custom-group-tag-face): Ditto.
9492 (custom-group-tag-face-1): Add :group.
9494 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
9496 2000-03-15 Gerd Moellmann <gerd@gnu.org>
9498 * pcvs-defs.el (toplevel): Remove autoload cookie for form
9501 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9503 * ps-print.el: PostScript user-defined prologue, PostScript error
9505 (ps-print-version): New version number (5.1).
9506 (ps-user-defined-prologue, ps-error-handler-message)
9507 (ps-print-prologue-0, ps-error-handler-alist): New vars.
9508 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
9509 (ps-insert-string): New function.
9511 2000-03-15 Kenichi Handa <handa@etl.go.jp>
9513 * international/ccl.el (ccl-compile-expression): Don't generate
9514 invalid self-assignment code.
9516 2000-03-14 Dave Love <fx@gnu.org>
9518 * subr.el (replace-regexp-in-string): Renamed from
9519 replace-regexps-in-string. Doc fix.
9521 2000-03-12 Dave Love <fx@gnu.org>
9523 * cus-edit.el: Doc fixes.
9524 (customize-set-variable, customize-save-variable): Rename args for
9526 (custom-variable-tag-face, custom-face-tag-face)
9527 (custom-group-tag-face-1, custom-group-tag-face): Modify from
9528 style which user identify as hyperlink.
9529 (hook): Don't add undefined functions to the hook.
9530 (debug-ignored-errors): Transfer message from bindings.el.
9532 2000-03-12 Gerd Moellmann <gerd@gnu.org>
9534 * recentf.el (recentf-keep-non-readable-files-p): Remove
9535 double/nested definition.
9537 2000-03-12 Dave Love <fx@gnu.org>
9539 * facemenu.el (facemenu-get-face): Use display-color-p.
9540 * enriched.el (enriched-decode-foreground): Likewise.
9541 (enriched-decode-background): Likewise.
9542 * isearch.el (isearch-highlight): Likewise.
9543 * info-look.el (info-lookup): Likewise.
9544 * simple.el (completion-setup-function): Likewise.
9546 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
9549 * bindings.el (mode-line-format): Fix line-number and
9550 column-number items. Add help-echo for the background.
9551 (mode-line-mule-info): Modify help-echo.
9553 * avoid.el (mouse-avoidance-mode): Add autoload cookie to
9556 * files.el (load-file): Allow completion to .elc.
9558 * man.el: Doc fixes.
9559 (Man-init-defvars): Use display-color-p to set fontification.
9561 * play/hanoi.el (hanoi-internal): Don't use oddp.
9563 2000-03-12 Gerd Moellmann <gerd@gnu.org>
9565 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
9567 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
9569 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
9571 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
9574 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
9576 * font-lock.el (font-lock-keywords): Fix the doc now that
9577 regexp-opt-depth is unnecessary.
9578 (save-buffer-state): Set an edebug spec.
9579 (font-lock-fontify-anchored-keywords): Properly handle the case when
9580 the matcher goes past the limit.
9582 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
9583 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
9585 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
9586 dll.el and cookie.el (from Elib) with heavy renaming and other
9589 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
9590 Autoload the functions used.
9591 (easy-mmode-define-syntax): Fix CL typo.
9592 (easy-mmode-define-derived-mode): Improve the docstring generation.
9594 2000-03-10 Gerd Moellmann <gerd@gnu.org>
9596 * textmodes/texinfo.el (texinfo-version): Variable and function
9599 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
9601 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
9602 allow more flexibility.
9603 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
9605 (easy-mmode-defmap, easy-mmode-defsyntax)
9606 (easy-mmode-define-derived-mode): New macros.
9608 2000-03-09 Didier Verna <didier@xemacs.org>
9610 * rect.el (replace-rectangle): New function.
9612 2000-03-09 Dave Love <fx@gnu.org>
9614 * progmodes/fortran.el (fortran-comment-line-start): Define as
9616 (fortran-comment-line-start-skip): Don't match cpp stuff.
9617 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
9618 (fortran-mode-map): Remove over-eager custom-menu-create for now.
9619 (fortran-mode): Don't set fortran-comment-line-start-skip,
9620 fortran-comment-line-start here. Set comment-start,
9621 add-log-current-defun.
9622 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
9623 (fortran-current-defun): New function.
9625 2000-03-09 Gerd Moellmann <gerd@gnu.org>
9627 * emacs-lisp/re-builder.el: New file.
9629 * mouse.el (mouse-drag-region): Don't run up-event handler
9630 if hscroll has changed.
9632 * octave-mod.el (octave-font-lock-keywords): To font-lock the
9633 builtin operators, use `font-lock-builtin-face' for Emacs and
9634 `font-lock-preprocessor-face' otherwise.
9636 * font-lock.el (lisp-font-lock-keywords-1): Highlight
9637 `(defun (setf foo)' differently.
9639 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
9641 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
9642 (regexp-opt): Update comment and adapt the code the new meaning of
9643 the `paren' argument of regex-opt-group for shy-groups.
9644 (regexp-opt-depth): Handle shy groups as well as backslashed
9646 (regexp-opt-group): Turn the leading comment into a docstring.
9647 Allow `paren' to be a string (the string to use to open a group).
9648 Remove open-presuf and close-presuf. Instead of checking for `all
9649 one-char' and then later on check for `several one-char', handle
9650 both cases close together. Also apply a more generic algorithm
9651 for suffixes (the mirror image of the algorithm used for
9652 prefixes). Use shy-groups. Use nreverse rather than reverse.
9653 (regexp-opt-try-suffix): Removed.
9655 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
9656 from comint-mode-map, so we can just inherit from it. Also, move
9657 the initialization into the `defvar' since there's no docstring
9658 anyway and it's fairly short.
9659 (inferior-scheme-mode): Define it as derived-mode: the code is
9660 shorter and this way we inherit from comint-mode-map rather than
9663 * subr.el (replace-regexps-in-string): Properly handle the case
9664 where we match an empty string.
9666 * comint.el (comint-exec-1): Add the current-dir to the exec-path
9667 when the command has a directory component (such as "./testml").
9668 Also fix a typo in the comment.
9670 2000-03-08 Gerd Moellmann <gerd@gnu.org>
9672 * Makefile (compile-files): Compile files one by one because
9673 that's the only way to ensure a clean compilation environment for
9674 each individual file.
9676 * frame.el (other-frame): Call x-focus-frame.
9678 2000-03-07 Dave Love <fx@gnu.org>
9680 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
9681 :require to defcustom.
9683 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
9686 * files.el (auto-mode-alist): Add configure.in.
9688 * progmodes/autoconf.el: New file.
9690 2000-03-07 Gerd Moellmann <gerd@gnu.org>
9692 * mail/mh-e.el: Change maintainer to `none'.
9694 * recentf.el (recentf-keep-non-readable-files-p): Quote args
9695 to remove-hook and add-hook.
9697 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
9699 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
9701 (mail-send): Test mail-send-nonascii also for the new `mime' value.
9702 (sendmail-send-it): Conditionally add MIME headers specifying the
9705 2000-03-07 Dave Love <fx@gnu.org>
9707 * winner.el: Fix keywords, autoload cookies. Split
9708 eval-when-compile form to avoid compilation failure.
9710 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
9712 * international/mule.el: Modify comment about coding system
9713 property `coding-category'.
9714 (make-coding-system): New argument EOL-TYPE. Pay attention to
9715 coding-category property of PROPERTIES.
9717 * international/mule-conf.el (coding-category-utf-8,
9718 coding-category-utf-16-be, coding-category-utf-16-le): New coding
9719 categories. Include them in the argument for set-coding-priority.
9721 * international/mule-cmds.el (reset-language-environment): Include
9722 coding-category-utf-8, coding-category-utf-16-be, and
9723 coding-category-utf-16-le in the argument for set-coding-priority.
9724 (reset-language-environment): Initialize coding-category-utf-8,
9725 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
9727 2000-03-06 Karl Fogel <kfogel@red-bean.com>
9729 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
9730 code abstracted out of `bookmark-jump-noselect'. Now tries info
9731 extensions as well as compression extensions.
9732 (bookmark-jump-noselect): Use above new func.
9734 2000-03-03 Gerd Moellmann <gerd@gnu.org>
9736 * strokes.el: Change maintainer's mail address.
9738 2000-03-03 Kenichi Handa <handa@etl.go.jp>
9740 * international/mule-diag.el (list-character-sets): Make help-echo
9741 string by substitute-command-keys.
9742 (list-character-sets): Likewise.
9743 (sort-listed-character-sets): Call help-setup-xref.
9745 2000-03-02 Gerd Moellmann <gerd@gnu.org>
9747 * time.el (display-time-mail-file): Add `none' to the list of
9750 2000-03-01 Dave Love <fx@gnu.org>
9752 * help.el (help-xref-go-back): Don't try to set position.
9754 * international/mule-diag.el (list-character-sets): Call
9755 help-setup-xref. Add help-echo to xrefs.
9756 (list-character-sets-1): Add help-echo to xrefs.
9758 2000-03-02 Gerd Moellmann <gerd@gnu.org>
9760 * frame.el (blink-cursor-mode): Switch cursor on when turning
9763 * add-log.el (add-log-current-defun): Add support for
9766 * mail/rmail.el (rmail-quit-hook): New variable.
9768 2000-03-01 Dave Love <fx@gnu.org>
9770 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
9772 * help.el (help-xref-button): Add help-echo arg.
9773 (describe-function-1, describe-variable, help-make-xrefs): Use it.
9775 * faces.el (list-faces-display): Supply help-echo with
9778 * facemenu.el (list-text-properties-at): Set help-xref-stack to
9781 2000-03-01 Gerd Moellmann <gerd@gnu.org>
9783 * image.el (defimage): Look for image files in load-path.
9785 * frame.el (busy-cursor-delay-seconds): Change type to
9788 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
9790 * recentf.el (recentf): Added version tag to the defgroup of
9793 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
9795 * recentf.el (recentf-cleanup): Changed to remove excluded file
9797 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
9798 action to select/unselect a file.
9799 (recentf-edit-list): Code cleanup and improvement.
9800 (recentf-open-more-files-action): `recentf-open-more-files' button
9801 widget action to open a file.
9802 (recentf-open-more-files): No more use standard completion but
9804 (recentf-more-collection): Deleted.
9805 (recentf-more-history): Deleted.
9806 (recentf-setup-more-completion): Deleted.
9808 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
9810 * recentf.el (recentf-mode): No more needs that Emacs is running
9811 under a window-system.
9813 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9815 * recentf.el (recentf-edit-list): New command to edit the recent
9816 list which allow the user to remove files.
9817 (recentf-edit-selected-items): New global variable, used by
9818 `recentf-edit-list' to hold the list of files to be removed from
9820 (recentf-make-menu-items): Updated to display a "Edit list..."
9821 menu item. Minor code cleanup.
9823 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9825 * recentf.el (recentf-open-more-files): New command to open files
9826 that are not displayed in the menu.
9827 (recentf-more-collection): New global variable holding the set of
9828 permissible completions used by `recentf-open-more-files'.
9829 (recentf-more-history): New global variable holding the history list
9830 used by `recentf-open-more-files' completion.
9831 (recentf-setup-more-completion): New function to setup completion for
9832 `recentf-open-more-files'.
9833 (recentf-make-menu-items): Updated to display a "More..." menu item.
9835 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9837 * recentf.el (recentf-menu-action): Doc fixed.
9839 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9841 * recentf.el (recentf-menu-filter): Doc updated.
9842 (recentf-update-menu-hook): Allow menu filters to force menu update.
9843 (recentf-make-menu-items): New menu filter handling.
9844 (recentf-make-menu-item): New helper function.
9845 (recentf-menu-elements): New menu handling function.
9846 (recentf-sort-ascending): Updated to new menu filter handling.
9847 (recentf-sort-descending): Updated to new menu filter handling.
9848 (recentf-sort-basenames-ascending): New menu filter function.
9849 (recentf-sort-basenames-descending): New menu filter function.
9850 (recentf-show-basenames): New menu filter function.
9851 (recentf-show-basenames-ascending): New menu filter function.
9852 (recentf-show-basenames-descending): New menu filter function.
9854 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
9856 * diary-lib.el (list-diary-entries): Don't try to go forward at
9857 the end of the buffer.
9859 2000-02-29 Kenichi Handa <handa@etl.go.jp>
9861 * international/mule-diag.el (list-character-sets): Completely
9863 (sort-listed-character-sets): New function.
9864 (list-character-sets-1): Completely rewritten.
9865 (list-character-sets-2): New function.
9866 (non-iso-charset-alist): New variable.
9867 (decode-codepage-char): New function.
9868 (charset-history): New variable.
9869 (read-charset) (list-block-of-chars)
9870 (list-iso-charset-chars)
9871 (list-non-iso-charset-chars)
9872 (list-charset-chars): New functions.
9873 (mule-diag): Call list-character-sets-2, not
9874 list-character-sets-2.
9875 (dump-charsets): Likewise.
9877 2000-02-29 Gerd Moellmann <gerd@gnu.org>
9879 * dired-x.el (dired-filename-at-point): Add `@' to valid
9880 file name characters.
9881 (dired-filename-at-point): Handle ange-ftp file names.
9883 * frame.el (frame-notice-user-settings): Use assq-delete-all
9884 instead of assoc-delete-all.
9885 (frame-notice-user-settings): Ditto.
9887 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
9890 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
9892 * calculator.el (calculator-use-menu): New option.
9893 (calculator-initial-bindings): Changed some bindings to work as
9895 (calculator-forced-input): Removed.
9896 (calculator-restart-other-mode): New variable.
9897 (calculator-mode-map): Set up menu.
9899 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
9901 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
9904 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
9906 * viper-cmd.el (viper-envelop-ESC-key): added the option to
9907 translate all ESC key sequences.
9908 (viper-goto-mark-subr): restore markers for files for which
9910 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
9911 * viper-util.el (viper-set-replace-overlay-glyphs,
9912 viper-set-replace-overlay): always check if the replacement
9914 * viper.el (viper-vi-state-mode-list): added major modes.
9915 * ediff-wind.el: minor comment changes.
9916 * ediff.el: copyright notice date fix.
9918 2000-02-27 Jason Rumney <jasonr@gnu.org>
9920 * faces.el (face-font-family-alternatives): Add arial to helv.
9921 (mode-line, header-line, tool-bar): Same default as x for w32.
9922 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
9923 face-font-family-alternatives from working.
9924 * term/w32-win.el (mouse-set-font): Do not build fontset from
9927 2000-02-25 Sam Steingold <sds@goems.com>
9929 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
9932 2000-02-25 Richard M. Stallman <rms@gnu.org>
9934 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
9936 2000-02-25 Gerd Moellmann <gerd@gnu.org>
9938 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
9941 * frame.el (busy-cursor-delay-seconds): New option.
9943 2000-02-24 Gerd Moellmann <gerd@gnu.org>
9945 * frame.el (show-cursor-in-non-selected-windows): New option.
9947 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
9949 * diary-lib.el (include-other-diary-files): Undo the selective
9950 display in any included file and don't kill it.
9952 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
9954 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
9955 bar. Menu items converted to (menu-item format, help strings
9957 [downcase, upcase]: Don't enable on MS-DOS.
9958 [symlink, symlinks]: Don't show if make-symbolic-link is not
9960 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
9962 2000-02-23 Dave Love <fx@gnu.org>
9964 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
9965 (backward-kill-word): Revert addition of * to interactive spec --
9968 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
9969 (backward-kill-sentence, kill-sentence): Likewise.
9971 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
9972 scratch buffer name.
9973 (gud-format-command): Use int-to-string in ?l case. Simplify
9976 * term/w32-win.el (internal-face-interactive): Update prompt for
9979 * mail/footnote.el (footnote): Add :version to defgroup.
9980 (footnote-section-tag-regexp): Customize.
9981 (footnote-start-tag, footnote-end-tag): New option.
9982 (footnote-latin-regexp): New variable.
9983 (Footnote-latin): New function.
9984 (footnote-style-alist): Add element for latin style.
9985 (footnote-style): Moved.
9986 (Footnote-goto-footnote): Use eq to test arg.
9988 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
9990 * emacs-lisp/byte-opt.el: Change old backquote syntax.
9991 (byte-compile-trueconstp): Include keywords.
9992 (byte-optimize-quote, byte-optimize-lapcode): Use
9993 byte-compile-const-symbol-p.
9994 (byte-optimize-char-before): New optimization.
9996 * emacs-lisp/bytecomp.el: Change old backquote syntax.
9997 (byte-compile-const-symbol-p): New function.
9998 (byte-compile-constp, byte-compile-out-toplevel)
9999 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
10002 * subr.el (define-key-after): Default AFTER to t. Doc fix.
10004 2000-02-23 Kenichi Handa <handa@etl.go.jp>
10006 * international/encoded-kb.el: Be sure to update minor-mode-alist
10007 and minor-mode-map-alist.
10008 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
10009 codes SS2 and SS3 correctly.
10010 (encoded-kbd-self-insert-ccl): New function.
10011 (encoded-kbd-setup-keymap): New function.
10012 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
10013 by calling encoded-kbd-setup-keymap.
10015 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
10017 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
10020 2000-02-22 Dave Love <fx@gnu.org>
10022 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
10023 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
10025 (lisp-mode-syntax-table): Set up for #|...|# comments.
10026 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
10027 classes. Match `defface'.
10028 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
10029 (eval-defun-1): Fix for defcustom.
10030 (lisp-indent-region): Doc fix.
10032 * subr.el (when, unless, split-string): Doc fix.
10033 (read-passwd): Move call of clear-this-command-keys to the right
10035 (replace-regexps-in-string): New function.
10037 2000-02-22 Gerd Moellmann <gerd@gnu.org>
10039 * help.el (describe-variable): Set syntax table to
10040 emacs-lisp-mode-syntax-table when moving forward over the
10043 2000-02-22 Dave Love <fx@gnu.org>
10045 * xt-mouse.el: Doc fixes.
10046 (xterm-mouse-position-function): New function, replacing advice of
10048 (xterm-mouse-mode): Use it. Don't turn on under a window system.
10050 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
10052 2000-02-21 Gerd Moellmann <gerd@gnu.org>
10054 * format.el (format-annotate-single-property-change): Handle
10055 properties.with dotted-list values.
10056 (format-proper-list-p): New function.
10058 * enriched.el (enriched-face-ans): Handle '(foreground-color
10059 . COLOR) and (background-color . COLOR).
10061 2000-02-20 Dave Love <fx@gnu.org>
10063 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
10064 and assignments to it.
10065 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
10067 (make-flyspell-overlay): Use it.
10068 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
10070 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
10071 (lm-get-header-re): Defun, not defsubst.
10072 (lm-get-package-name): Defun, not defsubst. Simplify.
10073 (lm-version): Doc fix. Simplify.
10074 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
10075 (lm-crack-address, lm-last-modified-date, lm-commentary)
10076 (lm-verify, lm-synopsis): Simplify.
10077 (lm-report-bug): Require emacsbug. Use compose-mail.
10079 2000-02-20 Gerd Moellmann <gerd@gnu.org>
10081 * dired.el (dired-mode): Call propertized-buffer-identification
10082 to set mode-line-buffer-identification to something having
10083 the right text properties.
10085 * bindings.el (propertized-buffer-identification): New function.
10087 2000-02-20 Dave Love <fx@gnu.org>
10089 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
10090 check for t-mouse too.
10092 * cus-start.el: Make echo-keystrokes `number'.
10094 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
10096 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
10097 Don't call ring-empty-p unless tags-location-ring is bound.
10098 From Noah Friedman <friedman@splode.com>.
10100 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
10102 * progmodes/hideshow.el (hs-flag-region): No longer use
10103 `intangible' overlay property.
10105 (hs-toggle-hiding): New command.
10106 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
10108 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
10109 Fix omission bug: Run `hs-minor-mode-hook' for both activation
10112 2000-02-18 Gerd Moellmann <gerd@gnu.org>
10114 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
10116 2000-02-17 Gerd Moellmann <gerd@gnu.org>
10118 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
10120 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
10121 of `*' to handle `(* ... *)' comments.
10123 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
10125 * faces.el (list-faces-display): Use display-mouse-p instead of
10128 * menu-bar.el (global-map): Menu-bar items converted to the new
10129 format (menu-item..., rearranged for better CUA compliance, and
10130 their names changed for better clarity. Help strings added.
10132 * international/mule-cmds.el (mule-menu-keymap)
10133 (describe-language-environment-map, set-coding-system-map)
10134 (setup-language-environment-map): Convert to new (menu-item...
10135 form, add help strings. Change names of menu items for better
10136 clarity. "Mule" menu-bar item removed (it's now in the "Options"
10139 2000-02-17 Gerd Moellmann <gerd@gnu.org>
10141 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
10144 2000-02-16 Dave Love <fx@gnu.org>
10146 * faces.el: Don't require custom. Add more specific :groups to
10148 (set-face-attribute): Purecopy args.
10149 (read-face-name): Default to name at point and use it in prompt.
10150 Remove colon from arg in all callers.
10151 (list-faces-display): Hyperlink to face descriptions and customize
10154 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
10156 * wid-edit.el (widget-match-inline): An atom never matches a
10159 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10161 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
10162 at ':' characters by call to split-string.
10164 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10166 * textmodes/bibtex.el: Added RCS version identification.
10168 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10170 * textmodes/bibtex.el: Some temporary comments removed.
10171 (bibtex-field-name, bibtex-entry-type): Made the relationship
10173 (bibtex-field-const): Allow capital letters.
10174 (bibtex-start-of-string): Deleted because unused.
10176 * textmodes/bibtex.el: Unified some nomenclature. We no longer
10177 use the term 'reference' to describe a bibtex entry as a whole.
10178 Further, reference keys are no longer called 'labels'.
10179 (bibtex-keys): Renamed to bibtex-reference-keys.
10180 (bibtex-reformat-previous-labels): Renamed to
10181 bibtex-reformat-previous-reference-keys.
10182 (bibtex-reference-type): Renamed to bibtex-entry-type.
10183 (bibtex-reference-head): Renamed to bibtex-entry-head.
10184 (bibtex-reference-maybe-empty-head): Renamed to
10185 bibtex-entry-maybe-empty-head.
10186 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
10187 (bibtex-search-reference): Renamed to bibtex-search-entry.
10188 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
10189 bibtex-enclosing-entry-maybe-empty-head.
10190 (bibtex-entry-field-alist, bibtex-entry-head,
10191 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
10192 bibtex-map-entries, bibtex-search-entry,
10193 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
10194 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10195 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
10196 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
10197 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
10198 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
10199 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
10201 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10203 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
10205 (bibtex-format-field-delimiters): New function, functionality
10206 extracted from bibtex-format-entry.
10207 (bibtex-autokey-get-yearfield-digits): New function, functionality
10208 extracted from bibtex-autokey-get-yearfield.
10210 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
10211 entries in order to avoid stack overflow in the regexp matcher if
10212 field contents become large.
10213 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
10214 bibtex-field-string-part-not-braced,
10215 bibtex-field-string-part-no-inner-braces,
10216 bibtex-field-string-part-1-inner-brace,
10217 bibtex-field-string-part-2-inner-braces,
10218 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
10219 bibtex-field-string-quoted, bibtex-field-string,
10220 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
10221 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
10222 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
10223 as parsing is now performed by the following functions.
10224 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
10225 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
10226 bibtex-parse-field-string, bibtex-search-forward-field-string,
10227 bibtex-parse-association, bibtex-field-name-for-parsing,
10228 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
10229 bibtex-search-forward-field, bibtex-search-backward-field,
10230 bibtex-start-of-field, bibtex-end-of-field,
10231 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
10232 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
10233 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
10234 bibtex-parse-string, bibtex-search-forward-string,
10235 bibtex-search-backward-string, bibtex-start-of-string,
10236 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
10237 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
10238 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
10239 entries. Instead of reporting the results of the parsing by
10240 match-beginning or match-end, these functions return data structures
10241 that hold the corresponding positions.
10242 (bibtex-enclosing-field): Changed to also report field boundaries by
10243 return values rather than by match-beginning or match-end. The
10244 following functions have been adapted to use the new parsing
10246 (bibtex-skip-to-valid-entry, bibtex-search-reference,
10247 bibtex-enclosing-field, bibtex-format-entry,
10248 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
10249 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
10250 bibtex-print-help-message, bibtex-end-of-entry,
10251 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
10252 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10253 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
10254 method for parsing.
10255 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
10256 bibtex-map-entries, bibtex-flash-head,
10257 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
10258 bibtex-autokey-change, bibtex-autokey-get-namefield,
10259 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
10260 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10261 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
10262 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10263 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
10264 order to make the new binding of case-fold-search immediately
10267 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10269 * textmodes/bibtex.el: Copyright notice is up to date.
10270 Added constant 'bibtex-maintainer-salutation.
10272 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
10273 than make-temp-name, use match-string-no-properties and eliminate
10274 a quadratic behavior when building bibtex-strings.
10276 * bibtex.el (bibtex-reference-key): Accept string entries whose
10277 reference key contains upper case letters.
10279 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10281 * bibtex.el (bibtex-reference-head): Allow entries to start with
10284 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10286 * bibtex.el: Hiding of entry bodies is not longer provided by
10287 bibtex.el directly. Instead the hideshow package can be used.
10288 Added a special bibtex entry to hs-special-modes-alist.
10289 (bibtex-hs-forward-sexp): Added for hideshow.el.
10291 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10293 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
10294 at ':' characters by call to split-string.
10296 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10298 * textmodes/bibtex.el: Added RCS version identification.
10300 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10302 * textmodes/bibtex.el: Some temporary comments removed.
10303 (bibtex-field-name, bibtex-entry-type): Made the relationship
10305 (bibtex-field-const): Allow capital letters.
10306 (bibtex-start-of-string): Deleted because unused.
10308 * textmodes/bibtex.el: Unified some nomenclature. We no longer
10309 use the term 'reference' to describe a bibtex entry as a whole.
10310 Further, reference keys are no longer called 'labels'.
10311 (bibtex-keys): Renamed to bibtex-reference-keys.
10312 (bibtex-reformat-previous-labels): Renamed to
10313 bibtex-reformat-previous-reference-keys.
10314 (bibtex-reference-type): Renamed to bibtex-entry-type.
10315 (bibtex-reference-head): Renamed to bibtex-entry-head.
10316 (bibtex-reference-maybe-empty-head): Renamed to
10317 bibtex-entry-maybe-empty-head.
10318 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
10319 (bibtex-search-reference): Renamed to bibtex-search-entry.
10320 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
10321 bibtex-enclosing-entry-maybe-empty-head.
10322 (bibtex-entry-field-alist, bibtex-entry-head,
10323 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
10324 bibtex-map-entries, bibtex-search-entry,
10325 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
10326 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10327 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
10328 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
10329 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
10330 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
10331 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
10333 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10335 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
10337 (bibtex-format-field-delimiters): New function, functionality
10338 extracted from bibtex-format-entry.
10339 (bibtex-autokey-get-yearfield-digits): New function, functionality
10340 extracted from bibtex-autokey-get-yearfield.
10342 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
10343 entries in order to avoid stack overflow in the regexp matcher if
10344 field contents become large.
10345 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
10346 bibtex-field-string-part-not-braced,
10347 bibtex-field-string-part-no-inner-braces,
10348 bibtex-field-string-part-1-inner-brace,
10349 bibtex-field-string-part-2-inner-braces,
10350 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
10351 bibtex-field-string-quoted, bibtex-field-string,
10352 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
10353 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
10354 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
10355 as parsing is now performed by the following functions.
10356 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
10357 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
10358 bibtex-parse-field-string, bibtex-search-forward-field-string,
10359 bibtex-parse-association, bibtex-field-name-for-parsing,
10360 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
10361 bibtex-search-forward-field, bibtex-search-backward-field,
10362 bibtex-start-of-field, bibtex-end-of-field,
10363 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
10364 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
10365 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
10366 bibtex-parse-string, bibtex-search-forward-string,
10367 bibtex-search-backward-string, bibtex-start-of-string,
10368 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
10369 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
10370 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
10371 entries. Instead of reporting the results of the parsing by
10372 match-beginning or match-end, these functions return data structures
10373 that hold the corresponding positions.
10374 (bibtex-enclosing-field): Changed to also report field boundaries by
10375 return values rather than by match-beginning or match-end. The
10376 following functions have been adapted to use the new parsing
10378 (bibtex-skip-to-valid-entry, bibtex-search-reference,
10379 bibtex-enclosing-field, bibtex-format-entry,
10380 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
10381 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
10382 bibtex-print-help-message, bibtex-end-of-entry,
10383 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
10384 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10385 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
10386 method for parsing.
10387 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
10388 bibtex-map-entries, bibtex-flash-head,
10389 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
10390 bibtex-autokey-change, bibtex-autokey-get-namefield,
10391 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
10392 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
10393 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
10394 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
10395 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
10396 order to make the new binding of case-fold-search immediately
10399 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10401 * textmodes/bibtex.el: Copyright notice is up to date.
10402 Added constant 'bibtex-maintainer-salutation.
10404 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
10405 than make-temp-name, use match-string-no-properties and eliminate
10406 a quadratic behavior when building bibtex-strings.
10408 * bibtex.el (bibtex-reference-key): Accept string entries whose
10409 reference key contains upper case letters.
10411 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10413 * bibtex.el (bibtex-reference-head): Allow entries to start with
10416 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10418 * bibtex.el: Hiding of entry bodies is not longer provided by
10419 bibtex.el directly. Instead the hideshow package can be used.
10420 Added a special bibtex entry to hs-special-modes-alist.
10421 (bibtex-hs-forward-sexp): Added for hideshow.el.
10423 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
10425 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
10426 proceedings entry type (for cross referencing). Thanks to Wagner
10427 Toledo Correa for the suggestion.
10429 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
10431 2000-02-14 Kenichi Handa <handa@etl.go.jp>
10433 * international/characters.el: Setup case table for Vietnamese.
10435 2000-02-12 Gerd Moellmann <gerd@gnu.org>
10437 * uniquify.el (toplevel): Require CL at compile time.
10438 (uniquify-push): Removed.
10440 * shadowfile.el (shadow-when): Removed.
10442 * tempo.el (tempo-dolist, tempo-mapc): Removed.
10443 (tempo-process-and-insert-string): Use dolist instead of
10446 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
10447 regexp for paragraph-start.
10449 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
10452 2000-02-10 Dave Love <fx@gnu.org>
10454 * wid-edit.el: (widgets) [defgroup]: Remove url link.
10455 (widget-color-choice-list, widget-color-history, widget-mouse-help):
10457 (widget-specify-field, widget-specify-button): Don't use
10458 widget-mouse-help as help-echo property.
10459 (default): Use #'ignore for :validate and :mouse-down-action.
10460 (checkbox): Add help-echo.
10461 (widget-sexp-validate): Rewritten to clarify error messages.
10462 (character): Use char-valid-p in :match function.
10463 (widget-color-complete): Use facemenu-color-alist.
10464 (widget-color-action): Use facemenu-read-color.
10466 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
10467 set up `caar' &c that we now have.
10469 2000-02-09 Ray Blaak <blaak@gnu.org>
10471 * delphi.el: Make resourcestring a declaration region, like const
10474 2000-02-09 Dave Love <fx@gnu.org>
10476 * bindings.el (mode-line-input-method-map): New variable.
10477 (mode-line-mule-info): Use it; fix last change.
10478 (mode-line-mode-menu): Move definition.
10479 (mode-line-mouse-sensitive-p): Deleted.
10480 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
10481 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
10484 * startup.el (command-line-1): Don't call
10485 make-mode-line-mouse-sensitive.
10487 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
10489 * mail/rmail.el (rmail-retry-failure): Use
10490 rmail-beginning-of-message before rmail-toggle-header, because the
10491 former toggles headers.
10493 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
10495 * diff-mode.el (diff-kill-junk): New interactive function.
10496 (diff-reverse-direction): Use delete-and-extract-region.
10497 (diff-post-command-hook): Restrict the area so that the hook also works
10498 outside of any diff hunk. This is necessary for the minor-mode.
10499 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
10500 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
10502 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
10503 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
10504 so that it can be used more easily in <foo>-mode-hook. Also make sure
10505 to avoid duplicate entries.
10506 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
10507 (font-lock-remove-keywords): Just as was done for `add', allow it to
10508 work even if font-lock-mode is nil. Also make sure we don't modify
10509 any pre-existing list by forcing a copy-sequence. Finally rename
10510 `major-mode' to `mode'.
10511 (font-lock-fontify-syntactic-anchored-keywords)
10512 (font-lock-fontify-anchored-keywords)
10513 (font-lock-fontify-keywords-region): Use line-end-position.
10514 Don't make `font-lock-multiline' local (it's now done in
10515 font-lock-set-defaults).
10516 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
10517 move the `font-lock-fontified' creation to inside the `unless'.
10519 2000-02-06 Andrew Innes <andrewi@gnu.org>
10521 * term/w32-win.el (x-handle-args): Comment out call to message,
10522 which occurs before window system is initialized.
10524 * makefile.nt: Add support for recompiling lisp code.
10526 2000-02-04 Dave Love <fx@gnu.org>
10528 * bindings.el (mode-line-mule-info): Fix/extend last change.
10530 * completion.el: Replace completion-dolist with dolist.
10532 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
10535 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
10537 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
10538 environment names before they go into the section regexp.
10540 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
10541 char class in regexp.
10543 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
10544 `case-fold-search' to nil.
10546 * progmodes/idlwave.el (idlwave-template): Respect
10547 `idlwave-abbrev-change-case'.
10548 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
10549 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
10550 idlwave-while): respect `idlwave-reserved-word-upcase'.
10551 (idlwave-rw-case): New function.
10552 (idlwave-statement-match): Fixed problem with assignment regexp.
10553 (idlwave-font-lock-keywords): Improved regexp for keyword
10555 (idlwave-surround): New argument LENGTH to support padding of
10556 operators longer than 1 char.
10558 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
10559 idlwave-shell-expression-overlay. Implemented printing of
10560 expressions on higher levels of the calling stack.
10561 (idlwave-shell-display-level-in-calling-stack): Restore stack
10563 (idlwave-retrieve-expression-from-level): New function.
10564 (idlwave-shell-last-calling-stack): Variable removed.
10565 (idlwave-shell-reset): Argument action reversed (`visible' to
10566 `hidden'). Also remove stop-line overlay.
10567 (idlwave-shell-calling-stack-routine): New variable.
10568 (idlwave-shell-parse-stack-and-display): Messages now display
10569 negative level numbers.
10570 (idlwave-shell-mode): Set `modeline-format'.
10571 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
10572 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
10574 (idlwave-shell-print-expression-function): New option.
10576 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
10577 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
10578 `tool-bar' instead of `toolbar'.
10580 2000-02-02 Dave Love <fx@gnu.org>
10582 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
10583 emacs-lisp-mode-hook. Don't check for defalias being defined.
10585 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
10586 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
10587 the new builtins directly.
10589 * whitespace.el (whitespace): Add :version to defgroup.
10591 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
10594 * thingatpt.el (sexp-at-point, symbol-at-point)
10595 (number-at-point, list-at-point): Add autoload cookie.
10597 * recentf.el (recentf): Add :version to defgroup.
10599 * quickurl.el (quickurl): Add :version to defgroup.
10601 * elide-head.el (elide-head): Use point-marker more.
10603 * bs.el (bs): Add :version to defgroup.
10605 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
10607 * progmodes/delphi.el (delphi): Add :version to defgroup.
10609 2000-02-02 Gerd Moellmann <gerd@gnu.org>
10611 * ange-ftp.el (ange-ftp-write-region): Handle case that
10612 succeeding process operation sets a different coding system.
10614 * calculator.el: New file.
10616 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
10618 * frame.el (frames-on-display-list, framep-on-display): New
10620 (display-mouse-p, display-popup-menus-p, display-graphic-p)
10621 (display-selections-p, display-screens, display-pixel-width)
10622 (display-pixel-height, display-mm-width, display-mm-height)
10623 (display-backing-store, display-save-under, display-planes)
10624 (display-color-cells, display-visual-class): New functions.
10626 * term/tty-colors.el (tty-color-gray-shades): New function.
10628 * faces.el (display-color-p): Use framep-on-display.
10629 (display-grayscale-p): New function.
10631 2000-01-31 Dave Love <fx@gnu.org>
10633 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
10634 (create-fontset-from-x-resource): Don't concat integers.
10636 2000-01-31 Inge Frick <inge@nada.kth.se>
10638 * view.el: Some changes in documentation. Removed some trailing
10639 whitespace. Changed some parameter names to agree with
10641 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
10642 window is not deleted. Modifies change 1998-04-26.
10644 2000-01-31 Gerd Moellmann <gerd@gnu.org>
10646 * windmove.el: New file.
10648 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
10649 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
10650 progmodes/ebnf-yac.el: Update copyright and license info.
10652 * jit-lock.el (jit-lock-function): Widen before calculating end
10654 (jit-lock-stealth-chunk-start): Rewritten.
10656 * info.el (Info-title-face-alist): Removed.
10657 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
10659 (Info-fontify-node): Use these faces.
10661 2000-01-30 Gerd Moellmann <gerd@gnu.org>
10663 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
10664 (cl-macro-list1): Recognize `&allow-other-keys' instead of
10665 `&allow-other-keywords'.
10667 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
10668 the list of directories scanned heuristically.
10670 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
10673 2000-01-30 Jason Rumney <jasonr@gnu.org>
10675 * w32-fns.el: Define w32-tty-standard-colors.
10677 * startup.el (command-line): Use w32-tty-standard-colors when in
10680 2000-01-30 Dave Love <fx@gnu.org>
10682 * jka-compr.el (jka-compr-load): Fix up load-history.
10684 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
10686 * emacs-lisp/cl-macs.el: Revert previous change.
10688 2000-01-29 Dave Love <fx@gnu.org>
10690 * facemenu.el: Purecopy various strings.
10692 * timezone.el (timezone-fix-time): Window against 69 for two-digit
10693 years. Deal with three-digit years.
10695 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
10696 defconst, purecopy.
10697 (help-back-label): Purecopy it.
10699 2000-01-18 Gerd Moellmann <gerd@gnu.org>
10701 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
10702 variable. If non-nil, order the buffer list according to the
10703 currently selected frame.
10704 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
10705 non-nil, pass the selected frame to function buffer-list.
10707 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10709 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
10711 2000-01-28 Dave Love <fx@gnu.org>
10713 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
10715 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
10716 Don't use lisp-indent-hook property.
10719 * subr.el: Move out indent and edebug specs for when and unless.
10721 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
10724 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
10727 2000-01-28 Gerd Moellmann <gerd@gnu.org>
10729 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
10730 `collecting' as synonym for `collect'.
10732 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
10733 for the case it contains spaces.
10735 * simple.el (what-cursor-position): Change formatting of
10738 * frame.el (delete-other-frames): New function.
10739 (toplevel): Bind it to C-x 5 1.
10741 * sort.el (sort-numeric-base): New option.
10742 (sort-numeric-fields): If number starts with `0' or `0[xX[',
10743 interpret it as octal or hexadecimal. Use sort-numeric-base
10746 * progmodes/glasses.el: New file.
10748 2000-01-27 Gerd Moellmann <gerd@gnu.org>
10750 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
10751 userids differently.
10753 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
10754 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
10755 progmodes/ebnf-yac.el: New files.
10757 2000-01-26 Dave Love <fx@gnu.org>
10759 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
10760 on a function with an empty body. [From Eric Ludlam.]
10762 2000-01-25 Andre Spiegel <spiegel@gnu.org>
10764 * vc.el (vc-version-diff): Make sure file name is expanded.
10766 2000-01-25 Gerd Moellmann <gerd@gnu.org>
10768 * scroll-bar.el (scroll-bar-timer): Variable removed.
10769 (scroll-bar-toolkit-scroll): Don't use a timer.
10771 2000-01-25 Kenichi Handa <handa@etl.go.jp>
10773 * language/thai-util.el (thai-composition-function): Delete
10776 2000-01-24 Dave Love <fx@gnu.org>
10778 * fortran.el (fortran-mode): Use beginning-of-defun-function,
10779 end-of-defun-function.
10781 * font-lock.el (turn-on-font-lock): Don't depend on window-system
10784 2000-01-22 Jason Rumney <jasonr@gnu.org>
10786 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
10787 conflicts with new face support.
10789 2000-01-22 Richard M. Stallman <rms@gnu.org>
10791 * replace.el (query-replace): Rename last arg to DELIMITED.
10792 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
10793 (query-replace-regexp): Likewise.
10795 2000-01-20 Richard M. Stallman <rms@gnu.org>
10797 * subr.el (with-syntax-table): Use make-symbol, not gensym.
10799 * emacs-lisp/lisp.el (beginning-of-defun-function):
10800 Variable renamed from beginning-of-defun.
10801 Do not call make-variable-buffer-local.
10802 (beginning-of-defun-raw): Use new variable name; doc fix.
10803 (beginning-of-defun): Doc fix.
10804 (end-of-defun-function): Variable renamed from end-of-defun.
10805 Do not call make-variable-buffer-local.
10806 (end-of-defun): Use new variable name; doc fix.
10808 * subr.el (dolist, dotimes): Copied from cl-macs.el
10811 * mail/undigest.el (rmail-digest-end-regexps):
10812 Variable replaces rmail-digest-end-regexp.
10813 Allows multiple regexps for detecting the end line.
10814 (undigestify-rmail-message): Corresponding changes.
10816 2000-01-19 Dave Love <fx@gnu.org>
10818 * files.el (user-init-file): Don't declare here -- is primitive.
10820 * startup.el (command-line): Check for compiled user-init-file and
10821 set to uncompiled version if necessary.
10823 2000-01-18 Gerd Moellmann <gerd@gnu.org>
10825 * mail/undigest.el (rmail-digest-end-regexp): New user option.
10826 (undigestify-rmail-message): Use it.
10828 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
10830 2000-01-17 Gerd Moellmann <gerd@gnu.org>
10832 * tmm.el (tmm-goto-completions): Adapt to prompt being part
10835 2000-01-14 Gerd Moellmann <gerd@gnu.org>
10837 * emacs-lisp/copyright.el (copyright-update): Removed the
10838 requirement for a trailing space from `copyright-regexp', to
10839 support copyrights with owner specified on a separate line..
10841 * align.el: New file.
10843 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
10845 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
10847 2000-01-13 Dave Love <fx@gnu.org>
10849 * ph.el: Removed. (Obsoleted by EUDC.)
10851 2000-01-13 Gerd Moellmann <gerd@gnu.org>
10853 * net/eudc.el (toplevel): Remove autoloaded code installing
10854 menu with easymenu, because that causes build problems.
10856 * frame.el (frame-notice-user-settings): New variable.
10857 (frame-notice-user-settings): Don't modify frame parameters
10858 if called a second time.
10860 2000-01-13 Richard M. Stallman <rms@gnu.org>
10862 * frame.el (frame-notice-user-settings):
10863 Notice default-frame-parameters even for non-window frames.
10865 2000-01-13 Gerd Moellmann <gerd@gnu.org>
10867 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
10869 (eudc-bob-can-display-inline-images): Extend for Emacs.
10870 (eudc-bob-toggle-inline-display): Ditto.
10871 (eudc-bob-display-jpeg): Ditto.
10873 2000-01-12 Gerd Moellmann <gerd@gnu.org>
10875 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
10876 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
10877 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
10879 * add-log.el (add-change-log-entry): Fix error trying an `(insert
10882 * subdirs.el: Add `net' directory.
10884 * net: New directory.
10886 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
10887 eval-last-sexp. Don't bind debug-on-error here.
10888 (eval-last-sexp): New function. Bind debug-on-error if
10889 eval-expression-debug-on-error is non-nil.
10890 (eval-defun-2, eval-defun): Likewise.
10892 * simple.el (eval-expression): Don't bind debug-on-error if
10893 eval-expression-debug-on-error is nil. Detect changed
10894 debug-on-error, and propagate new value to global binding, if
10895 eval-expression-debug-on-error is non-nil,
10896 (eval-expression-debug-on-error): Change doc string.
10898 2000-01-11 Richard M. Stallman <rms@gnu.org>
10900 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
10902 * emacs-lisp/lisp-mode.el (with-syntax-table):
10903 Set up lisp-indent-function property.
10905 * subr.el (with-syntax-table): Moved from simple.el.
10907 * simple.el (with-syntax-table): Moved to subr.el.
10909 2000-01-11 Gerd Moellmann <gerd@gnu.org>
10911 * tmm.el (tmm-shortcut): Delete region after prompt instead
10914 * textmodes/fill.el (fill-common-string-prefix): New function.
10915 (fill-context-prefix): Use the longest common prefix of first
10916 and second line fill prefix, if there is one.
10918 2000-01-11 Richard M. Stallman <rms@gnu.org>
10920 * array.el (array-mode): Don't use make-variable-buffer-local.
10921 Use make-local-variable for `truncate-lines'.
10923 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
10925 * add-log.el (add-log-current-defun): Handle user-defined
10926 add-log-current-function returning nil,
10928 * add-log.el (add-change-log-entry): Insert version number
10929 if having found a current function
10931 * add-log.el (add-log-current-defun): Call
10932 `add-log-current-defun-function'. Try matches at level 0 and
10933 level 1. Strip whitespace from defun found.
10935 2000-01-10 John Wiegley <johnw@gnu.org>
10937 * allout.el (isearch-done/outline-provisions): Added `edit'
10938 argument to correspond with the current definition of
10941 2000-01-10 Dave Love <fx@gnu.org>
10943 * elide-head.el (elide-head): Use point-marker, not point.
10945 2000-01-10 Gerd Moellmann <gerd@gnu.org>
10947 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
10948 before and after the year 2000.
10950 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
10951 Add ispell- prefix.
10953 2000-01-10 Ken Stevens <k.stevens@ieee.org>
10955 * ispell.el: Only define dictionaries in menus when they exist.
10956 (version18p): New variable.
10957 (version20p): New variable.
10958 (xemacsp): New variable.
10959 (ispell-choices-win-default-height): Fix for XEmacs visibility.
10960 (ispell-dictionary-alist1): Added Brasileiro dictionary.
10961 (ispell-dictionary-alist6): Russian command lines no longer accept
10962 run-together words.
10963 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
10964 (ispell-dictionary-alist): Add koi8-r to customize definition.
10965 (check-ispell-version): Added documentation string. Returns
10966 library path when called non-interactively.
10967 (ispell-menu-map-needed): Uses new variables.
10968 (ispell-library-path): New variable.
10969 (ispell-decode-string): XEmacs fix for bogus variable bindings.
10970 (ispell-word): Improved documentation string. Test for valid
10971 character mappings. Correctly check typed in word changes that can
10972 result in single words split into multiple words. Returns
10974 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
10975 replace in recursive query replace mode. Help message for
10976 recursive edit mode.
10977 (ispell-show-choices): Protect against bad framepop bindings.
10978 (ispell-help): Fix to work with XEmacs.
10979 (ispell-highlight-spelling-error): Use new variables.
10980 (ispell-overlay-window): Fix to work with XEmacs.
10981 (ispell-parse-output): Passed and returns location information
10982 tracking spelling corrections. Doesn't recheck same word on
10984 (ispell-init-process): Protect against bogus XEmacs variable binding.
10985 Fix call to single argument in sleep-for. Use new variables.
10986 (ispell-region): Passed and returns location information tracking
10987 spelling corrections. Doesn't check same word on current line.
10988 Improved documentation string. Doesn't resend a line already
10989 checked to the ispell process - fixes bug in LaTeX parsing.
10990 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
10991 (ispell-skip-region): No longer skips <TT> in SGML.
10992 (ispell-process-line): Tracks location information with spelling
10993 corrections. Added documentation string. Accounts for words
10994 already accepted on this line. Don't allow query-replace on line
10995 starting with math characters. Doesn't resend a line already sent
10996 to ispell process. Fixes alignment error bug.
10998 2000-01-10 Richard M. Stallman <rms@gnu.org>
11000 * dired-x.el (dired-guess-shell-alist-default):
11001 Suggest xloadimage, which is free, not xv, which isn't.
11003 * ange-ftp.el (ange-ftp-file-name-nondirectory):
11004 Don't ever include the host name or user name in the value.
11006 2000-01-09 Gerd Moellmann <gerd@gnu.org>
11008 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
11011 2000-01-09 Stephen Eglen <stephen@gnu.org>
11013 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
11016 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
11018 * cus-edit.el (custom-hook-convert-widget): Fix comment.
11020 2000-01-09 Gerd Moellmann <gerd@gnu.org>
11022 * progmodes/cperl-mode.el: Replace ^F with ^L.
11024 * sendmail.el (toplevel): Provide `sendmail' when compiling
11025 before `require'ing rmail and mailalias to prevent infinite
11028 2000-01-08 Dave Love <fx@gnu.org>
11030 * emacs-lisp/backquote.el: Remove inappropriate customization
11031 (allowing custom.el to use backquote).
11033 2000-01-07 Dave Love <fx@gnu.org>
11035 * add-log.el (add-log-debugging): Deleted.
11036 (add-change-log-entry): Treat a backup FILE-NAME as its parent
11037 file. Remove debugging code.
11038 (change-log-get-method-definition, change-log-name): Add doc.
11039 (change-log-sortable-date-at): New function.
11040 (change-log-merge): New command.
11042 * time.el (display-time-string-forms): Make the Mail string active.
11043 (display-time-update): Provide help-echo for load average.
11045 * bindings.el (make-mode-line-mouse2-map): New function.
11046 (mode-line-modified): Use it and simplify.
11047 (mode-line-mule-info): Provide help-echo info.
11048 (minor-mode-alist): Activate the strings.
11049 (make-mode-line-mouse-sensitive): Simplify for
11050 mode-line-buffer-identification.
11052 2000-01-07 Gerd Moellmann <gerd@gnu.org>
11054 * play/pong.el: New file.
11056 2000-01-06 Dave Love <fx@gnu.org>
11058 * array.el: Assorted cleanups for compiler warnings, doc strings,
11059 `array-' prefix for symbols.
11061 2000-01-05 Dave Love <fx@gnu.org>
11063 * textmodes/outline.el (outline-mode-menu-bar-map): Add
11064 outline-headers-as-kill.
11065 (outline-mode): Define imenu-generic-expression.
11066 (outline-headers-as-kill): New command.
11068 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
11069 from paragraph-start.
11070 (paragraph-indent-minor-mode): New command.
11072 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
11073 M-C-e, M-C-h, C-j, C-xnd, TAB.
11074 (fortran-mode): Set beginning-of-defun, end-of-defun.
11075 (fortran-column-ruler): Simplify.
11076 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
11077 (fortran-with-subprogram-narrowing): Likewise.
11078 (fortran-indent-subprogram): Call mark-defun.
11079 (fortran-check-for-matching-do): Change narrowing.
11081 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
11082 (cl-lucid-hash-tag): Delete.
11083 (cl-hash-table-p): Correct test for native table.
11084 (cl-hash-table-count): Use hash-table-count.
11086 * browse-url.el (browse-url): Fix case of
11087 browse-url-browser-function being an alist.
11089 2000-01-05 Carsten Dominik <cd@gnu.org>
11091 * textmodes/reftex-vars.el (reftex-parse-file-extension)
11092 (reftex-index-phrase-file-extension): New options.
11094 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
11095 Use new option `reftex-index-phrase-file-extension'.
11097 * textmodes/reftex.el (reftex-access-parse-file): Use new option
11098 `reftex-parse-file-extension'.
11100 2000-01-05 Dave Love <fx@gnu.org>
11102 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
11103 (beginning-of-defun-raw): Use it.
11104 (end-of-defun): New variable.
11105 (end-of-defun): Use it.
11106 (check-parens): New command.
11108 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
11110 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
11111 (hs-show-block): Don't use `mapcar' when not accumulating.
11113 Fix buglet in local variables initialization.
11115 2000-01-05 Andreas Schwab <schwab@suse.de>
11117 * hscroll.el (hscroll): Doc fix.
11119 2000-01-05 Carsten Dominik <cd@gnu.org>
11121 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
11124 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
11125 file idlw-rinfo.el.
11126 (idlwave-customize): load must read file idlw-shell.el.
11127 (idlwave-create-customize-menu): load must read file idlw-shell.el.
11129 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
11131 * progmodes/idlw-shell.el: Also provide idlwave-shell
11132 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
11133 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
11135 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
11136 both reftex-dcr and reftex-vcr.
11138 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
11140 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11142 * ps-print.el: PostScript code now is in separate files, doc fix.
11143 (ps-print-version): New version number (5.0.3).
11144 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
11146 (ps-spool-config): Initialization fix.
11147 (ps-print-prologue-1, ps-print-prologue-2)
11148 (ps-print-duplex-feature): PostScript code moved to separated file.
11149 (ps-background-image): Little code reformating.
11150 (ps-begin-file, ps-begin-job): Fix code.
11151 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
11152 (ps-prologue-file): New fun.
11154 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11156 * ps-vars.el: Eliminated.
11158 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
11161 * ps-print.el: ps-vars eliminated, doc fix.
11162 (ps-print-version): New version number (5.0.2).
11163 (ps-spool-config): Initialization fix.
11164 (ps-print-customize): New fun.
11166 2000-01-04 Gerd Moellmann <gerd@gnu.org>
11168 * autorevert.el (auto-revert-mode): Return value of
11171 2000-01-04 Dave Love <fx@gnu.org>
11173 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
11176 2000-01-03 Dave Love <fx@gnu.org>
11178 * elide-head.el (elide-head) [defgroup]: Add :version.
11180 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
11181 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
11182 `cl-hash-table-p', not `hash-table-p'.
11183 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
11185 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
11187 * faces.el (face-read-integer, read-face-attribute)
11188 (color-defined-p, color-values): unspecified-{f,b}g are now
11191 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
11193 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
11194 at comment end, and re-insert them after filling.
11196 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
11198 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
11199 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
11200 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
11202 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
11204 * term/x-win.el (xw-defined-colors): Call color-supported-p,
11205 the new name of face-color-supported-p.
11207 * term/w32-win.el (xw-defined-colors): Likewise.
11209 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
11211 * simple.el (completion-setup-function): Count completion-size
11212 from minibuffer-prompt-end, not from point-min.
11214 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
11216 * faces.el (read-face-attribute, defined-colors, color-defined-p):
11217 Pass the frame to tty-color-* functions.
11218 (display-color-p, frame-set-background-mode): Pass the frame to
11219 tty-display-color-p.
11221 * term/tty-colors.el (tty-defined-color-alist): Renamed from
11223 (tty-color-alist, tty-modify-color-alist): New functions.
11224 (tty-color-define, tty-color-clear, tty-color-approximate)
11225 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
11226 an optional parameter FRAME.
11228 2000-01-01 Gerd Moellmann <gerd@gnu.org>
11230 * image.el (create-image, defimage): Don't assume image data is a
11233 * image.el (defimage): Handle specifications containing :data
11235 (image-type-from-data): New function.
11236 (image-type-from-file-header): Use it.
11237 (create-image): Add parameter DATA-P.
11239 See ChangeLog.8 for earlier changes.
11241 ;; Local Variables:
11242 ;; coding: iso-2022-7bit